]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unused include
[thirdparty/glibc.git] / ChangeLog
CommitLineData
97827bfc
AS
12014-11-04 Andreas Schwab <schwab@suse.de>
2
3 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4
5e4df284
AZ
52014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6
7 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8 mtvsrd instruction in binary form.
9
04b76b5a
AS
102014-11-03 Andreas Schwab <schwab@suse.de>
11
12 [BZ #17522]
13 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14 for less than MB_LEN_MAX use a local buffer of that size.
15 * libio/tst-fputws.c: New file.
16 * libio/Makefile (tests): Add tst-fputws.
17
4c6da7da
JM
182014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
19
20 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21 the size of the fpu_fr.fpu_dregs[] array.
22
1679ba8e
JM
232014-11-01 Joseph Myers <joseph@codesourcery.com>
24
25 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26 (__nanosleep): Do not define as alias.
27 (nanosleep): Define as alias of __nanosleep.
28 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29 __libc_nanosleep name.
30
2626c183
JM
312014-10-31 Joseph Myers <joseph@codesourcery.com>
32
33 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34 install.texi in comment.
35
7f981fc2
TR
362014-10-31 Torvald Riegel <triegel@redhat.com>
37
38 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40 ... add here and use lwsync or sync ...
41 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42 ... and add here using lwsync.
43
d6f373d2
MF
442014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
45
46 * elf/dl-machine-reject-phdr.h: New file.
47 * elf/dl-load.c: #include that.
48 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
49 if that returned true.
50
67c37987
RM
512014-10-31 Roland McGrath <roland@hack.frob.com>
52
53 [BZ #17496]
54 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
55 gen-as-const-headers chunk. Add a big scare comment after the last
56 safe place to touch before-compile.
57
94a42455 582014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 59
f3f5d895
JM
60 * manual/install.texi (Tools for Compilation): Update autoconf
61 version requirements.
62 * INSTALL: Regenerated.
63
f62ff286
JM
64 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
65 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
66 (__libc_pselect): Likewise.
94a42455
JM
67
68 [BZ #14138]
69 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
70 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73
ff9dbdc0
TR
742014-10-31 Torvald Riegel <triegel@redhat.com>
75
76 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
77 correct barrier instruction.
78 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
79 Likewise.
80 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
81 Likewise.
82
b4f66884
RM
832014-10-30 Roland McGrath <roland@hack.frob.com>
84
85 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
86 after defining inlines. Instead, just use parens to defeat macro
87 expansion of __isctype in its declaration.
88
e19c95fd
JM
892014-10-30 Joseph Myers <joseph@codesourcery.com>
90
91 * include/sys/uio.h (__libc_readv): Remove declaration.
92 (__libc_writev): Likewise.
93 * misc/readv.c (__libc_readv): Rename to __readv.
94 (__readv): Do not define as alias.
95 (readv): Define as alias of __readv.
96 * misc/writev.c (__libc_writev): Rename to __writev.
97 (__writev): Do not define as alias.
98 (writev): Define as alias of __writev.
99 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
100 (__readv): Do not define as alias.
101 (readv): Define unconditionally as alias of __readv.
102 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
103 (__writev): Do not define as alias.
104 (writev): Define unconditionally as alias of __writev.
105 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
106 name.
107 (writev): Do not define __libc_writev name.
108
65b00b6c
RM
1092014-10-30 Roland McGrath <roland@hack.frob.com>
110
111 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
112 (convert_charseq): New function, broken out of ...
113 (use_from_charmap): ... here. Call it.
114 (use_to_charmap): Use convert_charseq and free instead of duplicating
115 its code with a variable-length stack struct.
116
d4e157aa
JM
1172014-10-30 Joseph Myers <joseph@codesourcery.com>
118
119 * include/fcntl.h (__libc_creat): Remove declaration.
120 * io/creat.c (__libc_creat): Rename to creat.
121 (creat): Do not define as alias.
122 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
123 of creat instead of __libc_creat.
124 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
125 to creat.
126 (creat): Do not define as alias.
127 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
128 __libc_creat.
129 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
130 __libc_creat name.
131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
132 Likewise.
133
0c6891a0
CD
1342014-10-29 Carlos O'Donell <carlos@redhat.com>
135
136 * manual/llio.texi: Add comments discussing why write() may be
137 considered MT-unsafe on Linux.
138
cc00cece
CD
1392014-10-28 Carlos O'Donell <carlos@redhat.com>
140
141 * dl-load.c (local_strdup): Remove.
142 (expand_dynamic_string_token): Use __strdup.
143 (decompose_rpath): Likewise.
144 (_dl_map_object): Likewise.
145
51e623f2
JM
1462014-10-28 Joseph Myers <joseph@codesourcery.com>
147
148 [BZ #14132]
149 * sysdeps/generic/unwind-dw2-fde.c
150 (__register_frame_info_bases_internal): Do not declare.
151 (__register_frame_info_table_bases_internal): Likewise.
152 (__deregister_frame_info_bases_internal): Likewise.
153 (__register_frame_info_bases): Declare and use hidden_proto before
154 definition. Use hidden_def instead of INTDEF.
155 (__register_frame_info_table_bases): Likewise.
156 (__deregister_frame_info_bases): Likewise.
157 (__register_frame_info): Do not use INTUSE.
158 (__register_frame): Likewise.
159 (__register_frame_info_table): Likewise.
160 (__register_frame_table): Likewise.
161 (__deregister_frame_info): Likewise.
162 (__deregister_frame): Likewise.
163
03d41216
GC
1642014-10-27 Gratian Crisan <gratian.crisan@ni.com>
165
166 * sysdeps/unix/sysv/linux/arm/kernel-features.h
167 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
168 not undefine.
169 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
170 Likewise.
171 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
172 Likewise.
173
a4b3624d
JM
1742014-10-27 Joseph Myers <joseph@codesourcery.com>
175
176 [BZ #14138]
177 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
178 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
179 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
180 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
181 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
182 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
183 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
184 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
185 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
186 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
187 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
188 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
189 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
190 syscall.
191 (setfsuid): Likewise.
192 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
193 (setfsuid): Likewise.
194 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
195 (setfsuid): Likewise.
196 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
197 Likewise.
198 (setfsuid): Likewise.
199 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
200 (setfsuid): Likewise.
201 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
202 Likewise.
203 (setfsuid): Likewise.
204
3574f2fd
AS
2052014-10-27 Andreas Schwab <schwab@suse.de>
206
207 [BZ #17501]
208 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
209 check for Slow_SSE4_2 feature bit.
210 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
211 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
212 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
213 Likewise. Fix check for Fast_Unaligned_Load feature bit.
214
70996a37
RM
2152014-10-24 Roland McGrath <roland@hack.frob.com>
216
461a7b1e
RM
217 * configure.ac: Validate compiler version with a empirical test of
218 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
219 $CC -v output.
220 * configure: Regenerated.
221
70996a37
RM
222 * inet/htons.c (htons): Prototypify.
223 * inet/htonl.c (htonl): Likewise.
224
e80514b5
WD
2252014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
226
227 * string/strncat.c (strncat): Improve performance by using strlen.
228
6e46de42
WD
2292014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
230
231 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
232
6a9ad2fa
WD
2332014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
234
235 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
236 Call libc_fetestexcept_aarch64.
237
1c8810ed
WD
2382014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
239
240 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
241 Call libc_feholdexcept_aarch64.
242
8b1af712
WD
2432014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
244
245 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
246 Call get_rounding_mode.
247
a7b00c11
WD
2482014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
249
250 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
251 Simplify logic.
252
3a84f1a6
WD
2532014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
254
255 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
256 Simplify logic.
257
48eb7a94
JM
2582014-10-24 Joseph Myers <joseph@codesourcery.com>
259
c8bc4038
JM
260 [BZ #14138]
261 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
262 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
263 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
264 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
265 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
266 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
267 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
268 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
269 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
270 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
271 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
272 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
273 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
274 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
275 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
276 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
277 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
278 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
279 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
280 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
281 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
282 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
283 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
284 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
285 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
286 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
287 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
288 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
289 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
290 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
291 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
292 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
293 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
294 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
295 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
297 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
298 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
299 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
300 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
301 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
302 syscall.
303 (geteuid): Likewise.
304 (getgid): Likewise.
305 (getuid): Likewise.
306 (getresgid): Likewise.
307 (getresuid): Likewise.
308 (getgroups): Likewise.
309 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
310 (geteuid): Likewise.
311 (getgid): Likewise.
312 (getuid): Likewise.
313 (getresgid): Likewise.
314 (getresuid): Likewise.
315 (getgroups): Likewise.
316 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
317 (geteuid): Likewise.
318 (getgid): Likewise.
319 (getuid): Likewise.
320 (getresgid): Likewise.
321 (getresuid): Likewise.
322 (getgroups): Likewise.
323 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
324 Likewise.
325 (geteuid): Likewise.
326 (getgid): Likewise.
327 (getuid): Likewise.
328 (getresgid): Likewise.
329 (getresuid): Likewise.
330 (getgroups): Likewise.
331 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
332 (geteuid): Likewise.
333 (getgid): Likewise.
334 (getuid): Likewise.
335 (getresgid): Likewise.
336 (getresuid): Likewise.
337 (getgroups): Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
339 Likewise.
340 (geteuid): Likewise.
341 (getgid): Likewise.
342 (getuid): Likewise.
343 (getgroups): Likewise.
344
48eb7a94
JM
345 [BZ #14138]
346 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
347 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
348 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
349 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
350 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
351 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
352 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
353 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
354 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
355 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
356 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
357 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
358 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
359 __chown.
360 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
361 (lchown): Likewise.
362 (fchown): Likewise.
363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
364 Likewise.
365 (lchown): Likewise.
366 (fchown): Likewise.
367 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
368 (lchown): Likewise.
369 (fchown): Likewise.
370 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
371 Likewise.
372 (lchown): Likewise.
373 (fchown): Likewise.
374
ea9a7c8b
WD
3752014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
376
377 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
378 Simplify logic.
379
e226de33
WD
3802014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
381
382 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
383 Cleanup logic.
384
6e3d8ed3
WD
3852014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
386
387 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
388 Remove unused include.
389
eb04247d
WD
3902014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
391
392 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
393 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
394 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
395 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
396
13d84554
CD
3972014-10-23 Carlos O'Donell <carlos@systemhalted.org>
398 Helge Deller <deller@gmx.de>
399
400 [BZ #17508]
401 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
402 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
403 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
404
15f9c5df
JM
4052014-10-23 Joseph Myers <joseph@codesourcery.com>
406
407 [BZ #14132]
408 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
409 Remove macro definition.
410 (__ashrdi3_v_glibc20): Likewise.
411 (__lshrdi3_v_glibc20): Likewise.
412 (__cmpdi2_v_glibc20): Likewise.
413 (__ucmpdi2_v_glibc20): Likewise.
414 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
415 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
416 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
417 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
418 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
419 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
420
c6dfed24
RM
4212014-10-22 Roland McGrath <roland@hack.frob.com>
422
423 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
424 old GNU extension [0] syntax.
425 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
426 alloca rather than an array member with variable length.
427 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
428 * nscd/nscd.c (invalidate_db): New function, broken out of ...
429 (parse_opt): ... here. Likewise use alloca there.
430 Validate the -i argument before checking for rootness.
431 (send_shutdown): New function, broken out of ...
432 (parse_opt): ... here.
433
8c2b1ed8
RM
4342014-10-22 Roland McGrath <roland@hack.frob.com>
435
436 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
437 macro to get at the _rt_local_ro field.
438 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
439 ([PIC] case) or _dl_hwcap ([!PIC] case).
440 * sysdeps/arm/setjmp.S: Likewise.
441
442 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
443 * sysdeps/arm/configure.ac: New check to define it.
444 * sysdeps/arm/configure: Regenerated.
445 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
446 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
447 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
448 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
449 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
450 Use move/movt pair instead of a load.
451 (LDST_GLOBAL): Macro removed.
452 (LDR_GLOBAL): New macro replaces it.
453 (LDR_HIDDEN): New macro.
454 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
455 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
456
457 * setjmp/tst-setjmp-static.c: New file.
458 * setjmp/Makefile (tests): Add it.
459 (tests-static): New variable.
460
b5af9297
MR
4612014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
462
463 [BZ #17485]
464 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
465
a13d0d74
JM
4662014-10-21 Joseph Myers <joseph@codesourcery.com>
467
468 [BZ #14132]
469 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
470
f05e73f6
RM
4712014-10-21 Roland McGrath <roland@hack.frob.com>
472
473 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
474
6ab1d1ea
RM
4752014-10-20 Roland McGrath <roland@hack.frob.com>
476
477 * io/fts.c (dirent_not_directory): New function.
478 (fts_build): Call it.
479
ab49e763
RM
4802014-10-20 Roland McGrath <roland@hack.frob.com>
481
e436eb79
RM
482 * nptl/version.c (__nptl_main): Use normal __write rather than
483 INTERNAL_SYSCALL.
484 (banner): Update copyright years.
485
6af246cf
RM
486 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
487 gettimeofday.
488 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
489 * nptl/pthread_cond_timedwait.c: Likewise.
490 * nptl/pthread_mutex_timedlock.c: Likewise.
491 * nptl/sem_timedwait.c: Likewise.
492
ab49e763
RM
493 * sysdeps/nptl/bits/libc-lock.h
494 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
495 (__libc_lock_init_recursive): Return void, not 0.
496 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
497 (__libc_rwlock_init): Likewise.
498 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
499
f50277c1
TR
5002014-10-20 Torvald Riegel <triegel@redhat.com>
501
502 [BZ #15215]
503 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
504 (__pthread_once_slow): ... here.
505 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
506 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
507
63668b70
TR
5082014-10-20 Torvald Riegel <triegel@redhat.com>
509
510 [BZ #15215]
511 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
512 __PTHREAD_ONCE_FORK_GEN_INCR): New.
513 * sysdeps/nptl/fork.c (__libc_fork): Use them.
514 * nptl/pthread_once.c (__pthread_once): Likewise.
515 Update comments.
516
42b7f5d4
JM
5172014-10-20 Joseph Myers <joseph@codesourcery.com>
518
519 [BZ #14138]
520 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
521 name.
522 (writev): Use __libc_writev as strong name.
523 * sysdeps/unix/sysv/linux/readv.c: Remove file.
524 * sysdeps/unix/sysv/linux/writev.c: Likewise.
525
b0643088
RM
5262014-10-17 Roland McGrath <roland@hack.frob.com>
527
114c4e09
RM
528 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
529
674b8978
RM
530 * sysdeps/i386/nptl/tls.h
531 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
532 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
533 New macros.
534 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
535 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
536 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
537 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
538 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
539 Call CHECK_THREAD_SYSINFO instead of doing an assert.
540
184ee940
RM
541 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
542 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
543 on [__NR_futex].
544 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
545 broken out of ...
546 (__pthread_mutex_init): ... here. Call it.
547 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
548 Conditionalize PI cases on [__NR_futex].
549 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
550 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
551 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
552
327ae257
RM
553 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
554 conditional on [SIGSETXID].
555 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
556 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
557 is defined. Likewise for SIGSETXID.
558 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
559 Conditionalize definitions on [SIGSETXID].
560 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
561 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
562 unblocking on [SIGCANCEL].
563
b0643088
RM
564 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
565 [__NR_set_robust_list].
566
33cc770b
SP
5672014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
568
569 * string/strcoll_l.c (get_next_seq): Fix up formatting.
570 (do_compare): Likewise.
571
0742aef6
LH
5722014-10-17 Leonhard Holz <leonhard.holz@web.de>
573
574 [BZ #15884]
575 * string/strcoll_l.c: Don't include stdio.h.
576 (coll_seq): Remove members idxarr and rulearr.
577 (get_next_seq_cached): Remove function.
578 (get_next_seq): Likewise.
579 (get_next_seq_nocache): Rename to get_next_seq.
580 (do_compare): Remove function.
581 (do_compare_nocache): Rename to do_compare.
582 (STRCOLL): Remove weight and rules cache.
583
ee54ce44
RM
5842014-10-16 Roland McGrath <roland@hack.frob.com>
585
586 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
587 * sysdeps/arm/sfp-machine.h: ... to here.
588 * sysdeps/arm/Implies: Remove arm/soft-fp.
589
a75d3b02
JM
5902014-10-14 Joseph Myers <joseph@codesourcery.com>
591
592 * conform/data/sys/utsname.h-data (*_t): Allow.
593 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
594 [POSIX] (WEXITED): Do not expect constant.
595 [POSIX] (WSTOPPED): Likewise.
596 [POSIX] (WNOHANG): Likewise.
597 [POSIX] (WNOWAIT): Likewise.
598 [POSIX] (siginfo_t): Do not expect type or elements.
599 [POSIX] (pid_t): Do not expect type.
600 [POSIX] (signal.h): Do not allow header.
601 [POSIX] (sys/resource.h): Likewise.
602 [POSIX] (si_*): Do not allow pattern.
603 [POSIX] (W*): Likewise.
604 [POSIX] (P_*): Likewise.
605 [POSIX] (BUS_*): Likewise.
606 [POSIX] (CLD_*): Likewise.
607 [POSIX] (FPE_*): Likewise.
608 [POSIX] (ILL_*): Likewise.
609 [POSIX] (POLL_*): Likewise.
610 [POSIX] (SEGV_*): Likewise.
611 [POSIX] (SI_*): Likewise.
612 [POSIX] (TRAP_*): Likewise.
613 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
614 variable.
615
fda389c8
SP
6162014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
617
618 [BZ #12926]
619 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
620 infinite loop when __recvmsg returns 0.
621
6bc6bd3b
JM
6222014-10-10 Joseph Myers <joseph@codesourcery.com>
623
fcb32af1
JM
624 * CANCEL-FCT-WAIVE: Remove file.
625 * CANCEL-FILE-WAIVE: Likewise.
626
6bc6bd3b
JM
627 [BZ #14132]
628 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
629 instead of INTVARDEF.
630 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
631 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
632 rtld_hidden_data_def instead of INTVARDEF.
633 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
634 * elf/dl-deps.c (expand_dst): Likewise.
635 * elf/dl-load.c (_dl_dst_count): Likewise.
636 (_dl_dst_substitute): Likewise.
637 (decompose_rpath): Likewise.
638 (_dl_init_paths): Likewise.
639 (open_path): Likewise.
640 (_dl_map_object): Likewise.
641 * elf/rtld.c (dl_main): Likewise.
642 (process_dl_audit): Likewise.
643 (process_envvars): Likewise.
644 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
645 Remove declaration.
646 (__libc_enable_secure): Use rtld_hidden_proto.
647
b8c80a7e
KS
6482014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
649
650 * elf/dl-load.c
651 (add_path): New function broken out of _dl_rtld_di_serinfo.
652 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
653
ff12c11f
JM
6542014-10-09 Joseph Myers <joseph@codesourcery.com>
655
5c0508a3
JM
656 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
657 parentheses around macro arguments.
658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
659 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
661 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
662 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
663 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
664 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
665 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
666 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
667 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
668 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
669 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
670 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
671 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
672 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
673 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
674 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
675 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
679 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
680 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
681 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
683 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
684 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
685 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
687 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
688 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
689 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
690 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
691 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
692 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
693 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
694 Likewise.
695 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
696 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
697 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
698 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
699 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
700 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
701 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
702 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
703 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
704 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
705 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
706 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
707 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
708 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
709 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
710 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
711 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
712 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
713 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
714 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
715 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
716 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
717 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
718 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
719 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
720 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
721 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
722 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
723 (_FP_FRAC_SRS_1): Likewise.
724 (_FP_FRAC_CLZ_1): Likewise.
725 (_FP_MUL_MEAT_1_imm): Likewise.
726 (_FP_MUL_MEAT_1_wide): Likewise.
727 (_FP_MUL_MEAT_1_hard): Likewise.
728 (_FP_SQRT_MEAT_1): Likewise.
729 (_FP_FRAC_ASSEMBLE_1): Likewise.
730 (_FP_FRAC_DISASSEMBLE_1): Likewise.
731 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
732 (__FP_CLZ_2): Likewise.
733 (_FP_MUL_MEAT_2_wide): Likewise.
734 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
735 (_FP_MUL_MEAT_2_gmp): Likewise.
736 (_FP_MUL_MEAT_2_120_240_double): Likewise.
737 (_FP_SQRT_MEAT_2): Likewise.
738 (_FP_FRAC_ASSEMBLE_2): Likewise.
739 (_FP_FRAC_DISASSEMBLE_2): Likewise.
740 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
741 (_FP_FRAC_CLZ_4): Likewise.
742 (_FP_MUL_MEAT_4_wide): Likewise.
743 (_FP_MUL_MEAT_4_gmp): Likewise.
744 (_FP_SQRT_MEAT_4): Likewise.
745 (_FP_FRAC_ASSEMBLE_4): Likewise.
746 (_FP_FRAC_DISASSEMBLE_4): Likewise.
747 * soft-fp/op-common.h (_FP_CMP): Likewise.
748 (_FP_CMP_EQ): Likewise.
749 (_FP_CMP_UNORD): Likewise.
750 (_FP_TO_INT): Likewise.
751 (_FP_FROM_INT): Likewise.
752 [!__FP_CLZ] (__FP_CLZ): Likewise.
753 (_FP_DIV_HELP_imm): Likewise.
754 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
755 Likewise.
756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
760 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
761 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
764 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
767 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
768 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
769 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
770 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
771 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
772 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
779 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
780 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
783 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
784 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
785 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
787 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
788 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
789 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
790 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
791 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
792 (FP_UNPACK_RAW_SP): Likewise.
793 (FP_PACK_RAW_S): Likewise.
794 (FP_PACK_RAW_SP): Likewise.
795 (FP_UNPACK_S): Likewise.
796 (FP_UNPACK_SP): Likewise.
797 (FP_UNPACK_SEMIRAW_S): Likewise.
798 (FP_UNPACK_SEMIRAW_SP): Likewise.
799 (FP_PACK_S): Likewise.
800 (FP_PACK_SP): Likewise.
801 (FP_PACK_SEMIRAW_S): Likewise.
802 (FP_PACK_SEMIRAW_SP): Likewise.
803 (_FP_SQRT_MEAT_S): Likewise.
804 (FP_CMP_S): Likewise.
805 (FP_CMP_EQ_S): Likewise.
806 (FP_CMP_UNORD_S): Likewise.
807 (FP_TO_INT_S): Likewise.
808 (FP_FROM_INT_S): Likewise.
809
a736ec37
JM
810 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
811
ff12c11f
JM
812 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
813 (FP_EX_INVALID_IMZ): Likewise.
814 (FP_EX_INVALID_IMZ_FMA): Likewise.
815 (FP_EX_INVALID_ISI): Likewise.
816 (FP_EX_INVALID_ZDZ): Likewise.
817 (FP_EX_INVALID_IDI): Likewise.
818 (FP_EX_INVALID_SQRT): Likewise.
819 (FP_EX_INVALID_CVI): Likewise.
820 (FP_EX_INVALID_VC): Likewise.
821 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
822 "invalid" exceptions.
823 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
824 (_FP_ADD_INTERNAL): Likewise.
825 (_FP_MUL): Likewise.
826 (_FP_FMA): Likewise.
827 (_FP_DIV): Likewise.
828 (_FP_CMP_CHECK_NAN): Likewise.
829 (_FP_SQRT): Likewise.
830 (_FP_TO_INT): Likewise.
831 (FP_EXTEND): Likewise.
832
b6dcfe8c
AM
8332014-10-09 Allan McRae <allan@archlinux.org>
834
835 * po/fr.po: Update French translation from translation project.
836
2d6a47ba
JM
8372014-10-09 Joseph Myers <joseph@codesourcery.com>
838
cb831245
JM
839 [BZ #14132]
840 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
841 of INTDEF.
842 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
843 (__cxa_atexit): Use libc_hidden_proto.
844 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
845
5deeb190
JM
846 [BZ #14132]
847 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
848 declaration.
849 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
850 [!_ISOMAC] (__iswspace_l_internal): Likewise.
851 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
852 [!_ISOMAC] (__iswctype_internal): Likewise.
853 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
854 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
855 alias.
856 (fcntl): Remove __fcntl_internal alias.
857 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
858 __connect_internal alias.
859 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
860 Likewise.
861
454ac701
JM
862 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
863 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
864 FP_DENORM_ZERO.
865 (_FP_CHECK_FLUSH_ZERO): New macro.
866 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
867 (_FP_CMP): Likewise.
868 (_FP_CMP_EQ): Likewise.
869 (_FP_TO_INT): Do not set inexact for subnormal arguments if
870 FP_DENORM_ZERO.
871 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
872 (FP_TRUNC): Likewise.
873
0022e688
JM
874 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
875 treated as invalid conversion, not as normal exponent.
876
73e28d9c
JM
877 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
878 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
879 (_FP_CMP_EQ): Likewise.
880 (_FP_CMP_UNORD): Likewise.
881 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
882 (FP_CMP_EQ_D): Likewise.
883 (FP_CMP_UNORD_D): Likewise.
884 * soft-fp/extended.h (FP_CMP_E): Likewise.
885 (FP_CMP_EQ_E): Likewise.
886 (FP_CMP_UNORD_E): Likewise.
887 * soft-fp/quad.h (FP_CMP_Q): Likewise.
888 (FP_CMP_EQ_Q): Likewise.
889 (FP_CMP_UNORD_Q): Likewise.
890 * soft-fp/single.h (FP_CMP_S): Likewise.
891 (FP_CMP_EQ_S): Likewise.
892 (FP_CMP_UNORD_S): Likewise.
893 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
894 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
895 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
896 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
897 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
898 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
899 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
900 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
901 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
902 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
903 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
904 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
905 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
906 to FP_CMP_Q.
907 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
908 FP_CMP_Q.
909 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
910 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
911 FP_CMP_EQ_Q.
912 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
913 FP_CMP_Q.
914 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
915 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
916 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
917 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
918 FP_CMP_EQ_Q.
919 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
920 FP_CMP_Q.
921 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
922 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
923 FP_CMP_EQ_Q.
924 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
925 FP_CMP_Q.
926 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
927 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
928 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
929 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
930 FP_CMP_EQ_Q.
931
43059f42
JM
932 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
933 a subnormal result, set the underflow exception if trapping on
934 underflow is enabled.
935 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
936 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
937 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
938 redefine to 0.
939 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
940 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
941 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
942 * soft-fp/extendxftf2.c (__extendxftf2): Use
943 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
944
2d6a47ba
JM
945 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
946 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
947 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
948 FP_HANDLE_EXCEPTIONS.
949 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
950 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
951 FP_HANDLE_EXCEPTIONS.
952 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
953 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
954 FP_HANDLE_EXCEPTIONS.
955 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
956 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
957 FP_HANDLE_EXCEPTIONS.
958
620f462e
JM
9592014-10-08 Joseph Myers <joseph@codesourcery.com>
960
961 [BZ #14132]
962 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
963 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
964 use INTUSE.
965 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
966 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
967 Remove alias.
968 (__adjtimex): Define using libc_hidden_ver.
969 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
970 Remove declaration.
971 (ntp_gettime): Call __adjtimex directly.
972 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
973 Remove declaration.
974 (ntp_gettimex): Call __adjtimex directly.
975 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
976 __adjtimex_internal alias.
977
c763c5d2
RM
9782014-10-08 Roland McGrath <roland@hack.frob.com>
979
980 [BZ #17460]
981 * nscd/nscd.c (more_help): Rewrite list of tables collection
982 using xstrdup and asprintf.
983
984 * nscd/nscd_conf.c: Remove local xstrdup declaration.
985
7b8fb2b8
RM
9862014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
987 Roland McGrath <roland@hack.frob.com>
988
989 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
990 (do_lookup_unique): ... local function 'enter' here; update callers.
991
abb280f7
JM
9922014-10-06 Joseph Myers <joseph@codesourcery.com>
993
f7b42517
JM
994 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
995 compat_symbol calls on [SHARED].
996 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
997 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
998 Remove.
999 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1000 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1001 (oldsetrlimit): Remove.
1002 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1004 (lchown): New syscall entry.
1005 (oldsetrlimit): Remove.
1006 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1007 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1008 (oldsetrlimit): Remove.
1009 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1010
abb280f7
JM
1011 [BZ #14138]
1012 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1013 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1014 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1015 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1016 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1017 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1018 (fchown): Likewise.
1019 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1020 (fchown): Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1022 Likewise.
1023
47d46237
AZ
10242014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1025
1026 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1027 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1028 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1029 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1030 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1031 Likewise.
1032 (__old_sem_post): Likewise.
1033
10342014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1035
845a7343
CM
1036 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1037 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1038 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1039 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1040 Use INLINE_VSYSCALL macro.
1041 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1042 __vdso_clock_gettime.
1043 * sysdeps/unix/sysv/linux/tile/init-first.c
1044 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1045 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1046 __vdso_clock_gettime.
1047
83d641ef
CM
1048 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1049 to set up frame more cleanly.
1050
d9cd52e6
CM
1051 * sysdeps/tile/memcmp.c: New file.
1052
4b68ea11
CM
1053 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1054
c86f7b80
CM
1055 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1056 * sysdeps/tile/tilegx/strcasestr.c: New file.
1057 * sysdeps/tile/tilegx/strnlen.c: New file.
1058 * sysdeps/tile/tilegx/strstr.c: New file.
1059
1c4c1a6f
CM
1060 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1061
99d86ea3
AS
10622014-10-06 Arjun Shankar <arjun.is@lostca.se>
1063
1064 * nptl/tst-setuid3.c: Write errors to stdout.
1065
06210a44
KS
10662014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1067
1068 * elf/dl-deps.c
1069 (preload): New functions broken out of _dl_map_object_deps.
1070 (_dl_map_object_deps): Remove a nested function. Update call sites.
1071
6268f532
JM
10722014-10-01 Joseph Myers <joseph@codesourcery.com>
1073
1074 [BZ #14138]
1075 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1076 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1077
b925285f
SE
10782014-10-01 Steve Ellcey <sellcey@mips.com>
1079
1080 * sysdeps/mips/strcmp.S: New.
1081
754a15c6
JM
10822014-09-30 Joseph Myers <joseph@codesourcery.com>
1083
1084 [BZ #14138]
1085 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1086 (linkat): Likewise.
1087 (mkdirat): Likewise.
1088 (readlinkat): Likewise.
1089 (renameat): Likewise.
1090 (symlinkat): Likewise.
1091 (unlinkat): Likewise.
1092 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1093 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1094 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1095 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1096 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1097 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1098 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1099
85bb81c9
WN
11002014-09-30 Will Newton <will.newton@linaro.org>
1101
dc6fe23b
WN
1102 * math/math.h: Define long double math functions if
1103 _LIBC_TEST is defined.
1104 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1105
85bb81c9
WN
1106 * localedata/Makefile: Move assignment to tests-special
1107 into an ifdef testing run-built-tests.
1108 * timezone/Makefile: Likewise.
1109
b7e02da4
JM
11102014-09-29 Joseph Myers <joseph@codesourcery.com>
1111
1112 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1113 with $(BASH) not $(SHELL).
1114
62058ce6
CD
11152014-09-29 Carlos O'Donell <carlos@redhat.com>
1116 Matthew LeGendre <legendre1@llnl.gov>
1117
1118 [BZ #17411]
1119 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1120 l_reloc_result.
1121
8e257a29
KS
11222014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1123
1124 * stdio-common/printf_fp.c
1125 (hack_digit): New function, broken out of ...
1126 (__printf_fp): ... local function here. Update call sites.
1127 hack_digit now takes an additional parameter that is a pointer
1128 to a struct of the referenced locals. Those locals moved inside
1129 the struct and references updated.
1130
f4a58f0d
L
11312014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1132
1133 * aclocal.m4: Require autoconf 2.69.
1134 * configure: Regenerated.
1135 * sysdeps/aarch64/configure: Likewise.
1136 * sysdeps/alpha/configure: Likewise.
1137 * sysdeps/arm/armv7/configure: Likewise.
1138 * sysdeps/arm/configure: Likewise.
1139 * sysdeps/ia64/configure: Likewise.
1140 * sysdeps/mach/configure: Likewise.
1141 * sysdeps/mips/configure: Likewise.
1142 * sysdeps/s390/configure: Likewise.
1143 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1145
1146 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1147 file.
1148 * sysdeps/ia64/configure.ac: Likewise.
1149
93ae1eba
JM
11502014-09-26 Joseph Myers <joseph@codesourcery.com>
1151
1810d3ab
JM
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1153 specify symbol version for ld.so. Do not include entry for
1154 libpthread.
1155 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1157 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1158
93ae1eba
JM
1159 [BZ #14171]
1160 * Makeconfig [$(build-shared) = yes]
1161 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1162 makefiles.
1163 [$(build-shared) = yes && $(soversions.mk-done) = t]
1164 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1165 [$(build-shared) = yes && $(soversions.mk-done) = t]
1166 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1167 to Makerules.
1168 [$(build-shared) = yes && $(soversions.mk-done) = t]
1169 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1170 here.
1171 [$(build-shared) = yes && $(soversions.mk-done) = t]
1172 (common-generated): Don't append gnu/lib-names.h and
1173 gnu/lib-names.stmp here.
1174 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1175 (lib-names-h-abi): New variable.
1176 [$(build-shared) = yes && $(soversions.mk-done) = t]
1177 (lib-names-stmp-abi): Likewise.
1178 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1179 abi-variants] (before-compile): Append
1180 $(common-objpfx)$(lib-names-h-abi).
1181 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1182 abi-variants] (common-generated): Append gnu/lib-names.h.
1183 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1184 abi-variants] (install-others-nosubdir): Depend on
1185 $(inst_includedir)/$(lib-names-h-abi).
1186 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1187 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1188 [$(build-shared) = yes && $(soversions.mk-done) = t]
1189 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1190 [$(build-shared) = yes && $(soversions.mk-done) = t]
1191 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1192 [$(build-shared) = yes && $(soversions.mk-done) = t]
1193 (common-generated): Append $(lib-names-h-abi) and
1194 $(lib-names-stmp-abi).
1195 * scripts/lib-names.awk: Do not handle multi being set.
1196 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1197 Remove variable.
1198 (abi-lp64_be-ld-soname): Likewise.
1199 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1200 Likewise.
1201 (abi-hard-ld-soname): Likewise.
1202 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1203 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1204 Remove variable.
1205 (abi-o32_hard-ld-soname): Likewise.
1206 (abi-o32_soft_2008-ld-soname): Likewise.
1207 (abi-o32_hard_2008-ld-soname): Likewise.
1208 (abi-n32_soft-ld-soname): Likewise.
1209 (abi-n32_hard-ld-soname): Likewise.
1210 (abi-n32_soft_2008-ld-soname): Likewise.
1211 (abi-n32_hard_2008-ld-soname): Likewise.
1212 (abi-n64_soft-ld-soname): Likewise.
1213 (abi-n64_hard-ld-soname): Likewise.
1214 (abi-n64_soft_2008-ld-soname): Likewise.
1215 (abi-n64_hard_2008-ld-soname): Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1217 Likewise.
1218 (abi-64-v2-ld-soname): Likewise.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1220 ld.so entries.
1221 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1222 variable.
1223 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1224 entry.
1225 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1226 variable.
1227 (abi-64-ld-soname): Likewise.
1228 (abi-x32-ld-soname): Likewise.
1229 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1230 entry.
1231 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1232
68870f12
JM
12332014-09-23 Joseph Myers <joseph@codesourcery.com>
1234
1235 [BZ #14138]
1236 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1237 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1238 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1240 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1241 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1242 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1243 syscall entry for GLIBC_2.2 symbol version.
1244 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1245 Likewise.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1247 (setrlimit): Likewise.
1248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1249 Likewise.
1250
ea58f202
WN
12512014-09-23 Will Newton <will.newton@linaro.org>
1252
1253 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1254 _LINUX_ARM_SYSDEP_H include guard too.
1255 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1256 define.
1257
69eb9a18
RV
12582014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1259
1260 * sysdeps/unix/sysv/linux/eventfd.c:
1261 Make first argument unsigned.
1262 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1263 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1264
20e5a5f7
OB
12652014-09-20 Ondřej Bílka <neleai@seznam.cz>
1266
1267 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1268 * socket/sys/socket.h: Likewise
1269 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1270
d3c827e7
AK
12712014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1272
1273 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1274
fe1cc35a
AS
12752014-09-17 Arjun Shankar <arjun.is@lostca.se>
1276
1277 * time/tst-ftime.c: New test.
1278 * time/Makefile (tests): Add tst-ftime.
1279
4e8afe69
JM
12802014-09-17 Joseph Myers <joseph@codesourcery.com>
1281
c4fe3ea7
JM
1282 * soft-fp/extended.h: Fix comment formatting.
1283 * soft-fp/op-1.h: Likewise.
1284 * soft-fp/op-2.h: Likewise.
1285 * soft-fp/op-4.h: Likewise.
1286 * soft-fp/op-8.h: Likewise.
1287 * soft-fp/op-common.h: Likewise.
1288 * soft-fp/soft-fp.h: Likewise.
1289
4e8afe69
JM
1290 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1291
af296fcd
JM
12922014-09-16 Joseph Myers <joseph@codesourcery.com>
1293
1294 [BZ #6652]
1295 * Makeconfig (soversions-default-setname): Remove variable.
1296 ($(common-objpfx)soversions.i): Don't pass default_setname to
1297 soversions.awk.
1298 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1299 oldest_abi to abi-versions.awk.
1300 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1301 * config.make.in (oldest-abi): Remove variable.
1302 * configure.ac (--enable-oldest-abi): Remove configure option.
1303 * configure: Regenerated.
1304 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1305 text.
1306 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1307 * scripts/soversions.awk: Do not handle default_setname variable.
1308 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1309 variable.
1310 * sysdeps/mach/hurd/configure: Regenerated.
1311 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1312 variable.
1313 * sysdeps/unix/sysv/linux/configure: Regenerated.
1314
545583d6
SP
13152014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1316
d330b980
SP
1317 * elf/Makefile (CFLAGS-interp.c): Remove.
1318 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1319 path string.
1320 * elf/interp.c: Include generated runtime-linker.h
1321
02657da2
SP
1322 * Makerules (lib%.so): Don't include $(+interp) in
1323 prerequisites.
1324 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1325 * dlfcn/eval.c: Remove file.
1326
653b1080
SP
1327 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1328 macros.
1329
602f80ec
SP
1330 [BZ #17266]
1331 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1332 4.2 and newer.
1333
545583d6
SP
1334 [BZ #17370]
1335 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1336
884ddc50
SP
13372014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1338 Jakub Jelinek <jakub@redhat.com>
1339
1340 [BZ #17266]
1341 * libio/stdio.h: Check definition of __fortify_function
1342 instead of __extern_always_inline to include bits/stdio2.h.
1343 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1344 check if __extern_always_inline is defined.
1345 [__USE_MISC || __USE_XOPEN]: Likewise.
1346 [__USE_ISOC99] Likewise.
1347 * misc/sys/cdefs.h (__fortify_function): Define only if
1348 __extern_always_inline is defined.
1349 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1350 __extern_always_inline and __extern_inline only for g++-4.3
1351 and newer or a compatible gcc.
1352
a7b87268
AS
13532014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1354
1355 [BZ #17371]
1356 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1357 last change to handle zero prefix length.
1358
3f41521d
SP
13592014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
61fe374a
SP
1361 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1362 _SC_REGEX_VERSION.
1363
3f41521d
SP
1364 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1365 _POSIX_RAW_SOCKETS.
1366
d8f879ee
AM
13672014-09-13 Allan McRae <allan@archlinux.org>
1368
1369 * po/ru.po: Update Russian translation from translation project.
1370
c079afb7
RM
13712014-09-12 Roland McGrath <roland@hack.frob.com>
1372
a62b3c15
RM
1373 * locale/programs/locale.c (show_locale_vars): Inline local function
1374 into its sole call site. Clean up some style nits.
1375 (print_item): New function, broken out of ...
1376 (show_info): ... local function here. Clean up style nits.
1377
d7e49b19
RM
1378 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1379 out of ...
1380 (set_class_defaults): ... local function set_default here.
1381 Define set_default as a macro locally to pass constant parameters.
1382 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1383 rather than a shared local.
1384
c079afb7
RM
1385 * stdlib/rpmatch.c (try): New function, broken out of ...
1386 (rpmatch): ... local function here. Also, prototypify definition.
1387
0bd72468
JM
13882014-09-12 Joseph Myers <joseph@codesourcery.com>
1389
ba90e050
JM
1390 * scripts/soversions.awk: Do not handle configuration names.
1391 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1392 vendor and os variables to soversions.awk.
1393 * configure.ac: Do not modify gnu-* host_os.
1394 * configure: Regenerated
1395 * shlib-versions: Remove first column with configuration names.
1396 * nptl/shlib-versions: Likewise.
1397 * nptl_db/shlib-versions: Likewise.
1398 * sysdeps/hppa/shlib-versions: Likewise.
1399 * sysdeps/m68k/shlib-versions: Likewise.
1400 * sysdeps/mach/hurd/shlib-versions: Likewise.
1401 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1402 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1403 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1404 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1405 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1406 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1407 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1408 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1412 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1413 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1414 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1416 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1419
73a39112
JM
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1421 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1423 Regenerated.
1424 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1426 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1427
c729e7c1
JM
1428 * shlib-versions: Remove OS-specific entries. Moved to files in
1429 sysdeps.
1430 * sysdeps/mach/hurd/shlib-versions: New file.
1431 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1432
dc932a24
JM
1433 * nptl/shlib-versions: Remove architecture-specific entries.
1434 Moved to files in sysdeps.
1435 * shlib-versions: Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1437 file.
1438 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1439 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1440 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1441 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1442
0bd72468
JM
1443 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1444 (UDP_NO_CHECK6_RX): Likewise.
1445
920238e0
SP
14462014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1447
1448 * sysdeps/posix/sysconf.c (__sysconf): Spell
1449 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1450
ba7b4d29
FW
14512014-08-12 Florian Weimer <fweimer@redhat.com>
1452
1453 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1454 loading.
1455 * iconv/Versions (__gconv_transliterate): Export for use from
1456 gconv modules.
1457 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1458 (struct __gconv_trans_data, __gconv_trans_fct,
1459 __gconv_trans_context_fct, __gconv_trans_query_fct,
1460 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1461 definitions.
1462 (struct __gconv_step_data): Remove __trans member.
1463 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1464 longer hidden. Remove unused trans_data argument.
1465 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1466 (__gconv_translit_find): Remove declaration.
1467 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1468 prototype.
1469 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1470 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1471 trans_data argument. Add hidden definition.
1472 (__gconv_translit_find): Remove.
1473 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1474 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1475 * iconv/skeleton.c: Remove transliteration initialization.
1476 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1477 __gconv_step_data initialization.
1478 * libio/iofwide.c (__libio_translit_): Remove.
1479 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1480 * wcsmbs/btowc.c (__btowc): Likewise.
1481 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1482 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1483 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1484 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1485 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1486 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1487 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1488 * wcsmbs/wctob.c (wctob): Likewise.
1489
5379aebd
SP
14902014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1491
1492 [BZ #16194]
1493 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1494 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1495 register usage.
1496 * sysdeps/x86/Makefile: Adjust.
1497
8c0ab919
RM
14982014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1499 Roland McGrath <roland@hack.frob.com>
1500
1501 * locale/weight.h: Add include guard.
1502 (findidx): Make static rather than auto; take new parameters
1503 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1504 * locale/weightwc.h: Likewise.
1505 * posix/fnmatch_loop.c
1506 (FCT): Change type of EXTRA from int32_t to wint_t.
1507 Don't include either header inside the function.
1508 Call FINDIDX rather than findidx, and pass new arguments.
1509 #undef FINDIDX at the end of the file.
1510 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1511 FINDIDX before including fnmatch_loop.c for the non-wide version.
1512 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1513 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1514 for the wide version.
1515 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1516 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1517 Pass new arguments to findidx.
1518 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1519 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1520 Don't #include it inside the function. Pass new arguments to findidx.
1521 * posix/regex_internal.h
1522 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1523 (re_string_elem_size_at): Don't #include it inside the function.
1524 Pass new arguments to findidx.
1525 * string/strcoll_l.c: #include WEIGHT_H at top level.
1526 (get_next_seq): Don't #include it inside the function.
1527 Pass new arguments to findidx.
1528 (get_next_seq_nocache): Likewise.
1529 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1530 (STRXFRM): Don't #include it inside the function.
1531 Pass new arguments to findidx.
1532
52ffbdf2
FW
15332014-09-11 Florian Weimer <fweimer@redhat.com>
1534
1535 [BZ #17344]
1536 * malloc/malloc.c (unlink): Turn asserts into a call to
1537 malloc_printerr.
1538
984c0ea9
TL
15392014-09-11 Tim Lammens <tim.lammens@gmail.com>
1540
1541 [BZ #17370]
1542 * libio/wfileops (do_ftell_wide): Free OUT.
1543
3daee107
CM
15442014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1545
1546 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1547
58b930ae
SP
15482014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1549
1550 [BZ #17363]
1551 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1552 group if the current group is empty.
1553
3b473fec
AZ
15542014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555
71ae8647
AZ
1556 * benchtests/bench-memset.c (test_main): Add more test from size
1557 from 32 to 512 bytes.
1558 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1559 Add POWER8 memset object.
1560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1561 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1562 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1563 implementation.
1564 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1565 Likewise.
1566 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1567 multiarch POWER8 memset optimization.
1568 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1569 POWER8 memset optimization.
1570
3b473fec
AZ
1571 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1572 Remove bzero multiarch objects.
1573 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1574 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1575 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1576 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1577 Remove define.
1578 [__bzero]: Redefine to specific name.
1579 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1580 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1581 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1582 define.
1583 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1584 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1585
e6fb9587
FW
15862014-09-10 Florian Weimer <fweimer@redhat.com>
1587
1588 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1589 warnings into errors.
1590
1591 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1592 __cxa_thread_atexit_impl prototype.
1593
9d3a350b
SE
15942014-09-09 Steve Ellcey <sellcey@mips.com>
1595
1596 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1597 Fix capitalization of error message.
1598
0febba23
SE
15992014-09-09 Steve Ellcey <sellcey@mips.com>
1600
1601 * sysdeps/mips/preconfigure: Modify ABI tests.
1602
645a0e9c
CD
16032014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1604
1605 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1606
d83f0734
CD
16072014-09-07 Roland McGrath <roland@hack.frob.com>
1608 Carlos O'Donell <carlos@systemhalted.org>
1609
1610 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1611 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1612 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1613 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1614 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1615 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1616 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1617 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1618 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1619 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1620 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1621 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1622 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1623 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1624 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1625 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1626 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1627 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1628 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1629 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1630 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1631 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1632 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1633 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1634 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1635 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1636 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1637 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1638 Deconditionalize the code that was previously under [RESET_PID].
1639 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1640 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1641 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1642 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1643 include sysdep.h.
1644
21c83793
AM
16452014-09-08 Allan McRae <allan@archlinux.org>
1646
1647 * version.h (RELEASE): Set to "development".
1648 (VERSION): Set to "2.20.90"
1649
1cd9b65c
AM
16502014-09-07 Allan McRae <allan@archlinux.org
1651
b8079dd0
AM
1652 * version.h (RELEASE): Set to "stable".
1653 (VERSION): Set to "2.20"
1654 * include/features.h (__GLIBC_MINOR__): Set to 20.
1655
c46303ef
AM
1656 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1657 Liebler.
1658
1cd9b65c
AM
1659 * po/ko.po: Update Korean translation from translation project.
1660
8622092d
CM
16612014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1662
1663 [BZ #17354]
1664 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1665 macro for handling signed relocations.
1666
41488498
FW
16672014-09-03 Florian Weimer <fweimer@redhat.com>
1668
1669 [BZ #17325]
1670 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1671 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1672 assert.
1673 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1674 * iconvdata/ibm935.c (BODY): Likewise.
1675 * iconvdata/ibm937.c (BODY): Likewise.
1676 * iconvdata/ibm939.c (BODY): Likewise.
1677 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1678 assert.
1679 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1680 script.
1681 * iconvdata/run-iconv-test.sh: New test loop for checking for
1682 decoder crashers.
1683
a78b712d
KR
16842014-09-02 Khem Raj <raj.khem@gmail.com>
1685
1686 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1687 libm_hidden_ver.
1688
cb08abc6
AM
16892014-09-01 Allan McRae <allan@archlinux.org>
1690
2c31e102
AM
1691 * po/eo.po: Update Esperanto translation from translation project.
1692
cb08abc6
AM
1693 * po/ca.po: Update Catalan translation from translation project.
1694
17a62de1
ST
16952014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1696
1697 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1698 __proc_dostop call.
1699
9570bc53
MW
17002014-08-27 Mark Wielaard <mjw@redhat.com>
1701
1702 [BZ #17319]
1703 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1704 to call set_thread_area instead of hand written asm.
1705 (__NR_set_thread_area): Removed define.
1706 (TLS_FLAG_WRITABLE): Likewise.
1707 (__ASSUME_SET_THREAD_AREA): Remove check.
1708 (TLS_EBX_ARG): Remove define.
1709 (TLS_LOAD_EBX): Likewise.
1710
b0f955c9
ST
17112014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1712
1713 Simplify atomicity of socket creation in bind.
1714
1715 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1716 looking up the name after linking the file.
1717
529bf515
AM
17182014-08-27 Allan McRae <allan@archlinux.org>
1719
1720 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1721
a1a6a401
FW
17222014-08-26 Florian Weimer <fweimer@redhat.com>
1723
1724 [BZ #17187]
1725 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1726 trans_compare, open_translit, __gconv_translit_find):
1727 Remove module loading code.
1728
686ab290
AM
17292014-08-26 Allan McRae <allan@archlinux.org>
1730
e4e7cfd2
AM
1731 * po/vi.po: Update Vietnamese translation from translation project.
1732
6aa09f71
AM
1733 * po/uk.po: Update Ukrainian translation from translation project.
1734
edc0660e
AM
1735 * po/fr.po: Update French translation from translation project.
1736
7eea72ac
AM
1737 * po/ru.po: Update Russian translation from translation project.
1738
93c49eff
AM
1739 * po/pl.po: Update Polish translation from translation project.
1740
46acaf63
AM
1741 * po/cs.po: Update Czech translation from translation project.
1742
a9f5ce98
AM
1743 * po/de.po: Update German translation from translation project.
1744
373f2b78
AM
1745 * po/bg.po: Update Bulgarian translation from translation project.
1746
e7548bd8
AM
1747 * po/sv.po: Update Sweedish translation from translation project.
1748
c526bf4d
AM
1749 * po/nl.po: Update Dutch translation from translation project.
1750
686ab290
AM
1751 * po/es.po: Update Spanish translation from translation project.
1752
eb72478a
SP
17532014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1754
dd763fdb
SP
1755 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1756
318c7a58
SP
1757 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1758 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1759 (CPPFLAGS-iconvconfig): Likewise.
1760 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1761
eb72478a
SP
1762 * include/libc-symbols.h: Remove unnecessary check for
1763 NOT_IN_libc.
1764 * nptl/pthreadP.h: Likewise.
1765 * sysdeps/aarch64/setjmp.S: Likewise.
1766 * sysdeps/alpha/setjmp.S: Likewise.
1767 * sysdeps/arm/sysdep.h: Likewise.
1768 * sysdeps/i386/setjmp.S: Likewise.
1769 * sysdeps/m68k/setjmp.c: Likewise.
1770 * sysdeps/posix/getcwd.c: Likewise.
1771 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1772 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1773 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1774 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1775 * sysdeps/sh/sh3/setjmp.S: Likewise.
1776 * sysdeps/sh/sh4/setjmp.S: Likewise.
1777 * sysdeps/unix/alpha/sysdep.h: Likewise.
1778 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1780 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1781 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1786 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1789 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1791 * sysdeps/x86_64/setjmp.S: Likewise.
1792
d44a052c
JM
17932014-08-13 Joseph Myers <joseph@codesourcery.com>
1794
1795 [BZ #17263]
1796 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1797 <stdint.h>.
1798 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1799 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1800
508ce3ac
SP
18012014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1802
e44c8b0e
SP
1803 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1804
508ce3ac
SP
1805 [BZ #17262]
1806 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1807 and __x86_64__ when disabling x87 inline functions.
1808
b4acef1f
L
18092014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 [BZ #17259]
1812 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1813 asm statement with __cpuid_count.
1814
61b1ef6e
MF
18152014-08-12 Mike Frysinger <vapier@gentoo.org>
1816
1817 * configure.ac: Change __ehdr_start code to dereference the struct.
1818 Run readelf on the output to look for relocations.
1819 * configure: Regenerated.
1820
898c62f4
JM
18212014-08-12 Joseph Myers <joseph@codesourcery.com>
1822
1823 [BZ #17261]
1824 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1825 value to 0.
1826 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1827
9a8a5720
RM
18282014-08-12 Roland McGrath <roland@hack.frob.com>
1829
1830 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1831
4e75751c
BO
18322014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1833
1834 [BZ #16892]
1835 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1836 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1837
bb2ce416
SA
18382014-08-12 Sean Anderson <seanga2@gmail.com>
1839
1840 * malloc/malloc.c: Fix typo in comment.
1841
7950a4ee
AM
18422014-08-09 Allan McRae <allan@archlinux.org>
1843
1844 * Regenerate libc.po.
1845
f469c49f
MF
18462014-08-08 Mike Frysinger <vapier@gentoo.org>
1847
1848 * intl/tst-gettext2.sh: Check every lang file for creation.
1849
656b84c2
WD
18502014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1851
1852 * sysdeps/aarch64/fpu/math_private.h
1853 (libc_feholdsetround_noex_aarch64_ctx): New function.
1854
538e9e45
W
18552014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1856
1857 * sysdeps/arm/armv6/strcpy.S (strcpy):
1858 Fix performance issue in misaligned cases.
1859
d4795e4a
AZ
18602014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1861
1862 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1863 Move definition from termios.h.
1864 (struct termio): Likewise.
1865 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1866 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1867 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1868 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1869 Likewise.
1870 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1871 Move definition to ioctl-types.h
1872 (struct termio): Likewise.
1873 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1874 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1875 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1876 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1877 Likewise.
1878
64accb62
RH
18792014-08-05 Richard Henderson <rth@redhat.com>
1880
27bb6dc0
RH
1881 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1882 exceptions.
1883 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1884 Add fraiseexcpt.
1885 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1886 Use __feraiseexcept.
1887 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1888 Protect libm symbols with IS_IN_libm.
1889
64accb62
RH
1890 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1891
e5292691
BO
18922014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1893
1894 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1895
5b4bd2d4
WN
18962014-08-04 Will Newton <will.newton@linaro.org>
1897
1898 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1899 file.
1900
fcadaeef
MF
19012014-08-04 Mike Frysinger <vapier@gentoo.org>
1902
1903 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1904 variants for each function.
1905
43a94c64
RM
19062014-08-04 Roland McGrath <roland@hack.frob.com>
1907
1908 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1909 appended ...
1910 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1911 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1912 appended ...
1913 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1914 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1915 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1916 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1917 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1918 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1919 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1920 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1921 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1922 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1945 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1947 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1949 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1950 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1951 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1952 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1953 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1954 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1955 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1956 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1957 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1959 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1960 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1961 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1962 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1963 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1964 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1965 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1966 Update #include.
1967 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1968 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1969
8f3c1fa4
RM
19702014-08-04 Roland McGrath <roland@hack.frob.com>
1971
1972 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1973 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1974 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1975 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1976 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1977 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1978
ca08746f
RM
19792014-08-04 Roland McGrath <roland@hack.frob.com>
1980
1981 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1982 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1983 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1984 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1985
9c925ff9
RM
19862014-08-04 Roland McGrath <roland@hack.frob.com>
1987
1988 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1989 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1990 (__libc_vfork): Define function under this name.
1991 (__vfork): Define as an alias.
1992 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1993 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1994
e641054c
RM
19952014-08-04 Roland McGrath <roland@hack.frob.com>
1996
1997 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1998 that was previously under [RESET_PID].
1999 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2000
dacdc867
AS
20012014-08-04 Andreas Schwab <schwab@suse.de>
2002
2003 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2004
41f725ff
MF
20052014-08-03 Mike Frysinger <vapier@gentoo.org>
2006
2007 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2008 (main): Likewise.
2009
277cfb31
RM
20102014-08-01 Roland McGrath <roland@hack.frob.com>
2011
2012 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2013
4896f049
RH
20142014-08-01 Richard Henderon <rth@redhat.com>
2015
2016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2017 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2018 typo in exact zero test.
2019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2022
6f64e7d7
RM
20232014-08-01 Roland McGrath <roland@hack.frob.com>
2024
2025 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2026 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2027 * sysdeps/arm/sysdep.h: ... here.
2028 [!__ASSEMBLER__]: Include <stdint.h>.
2029
3f3dd810
SP
20302014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2031
a476ac4b
SP
2032 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2033 (HAVE_WCTYPE_H): Likewise.
2034 (HAVE_ISWCTYPE): Likewise.
2035 (ENABLE_NLS): Likewise.
2036 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2037 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2038
78dd658a
SP
2039 * posix/regex_internal.c: Check if DEBUG is defined and is
2040 set.
2041
3f3dd810
SP
2042 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2043 (HAVE_MBSRTOWCS): Likewise.
2044 * posix/fnmatch.c: Include string.h unconditionally.
2045
95ee7fb1
SL
20462014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2047
2048 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2049 reversal.
2050
23fe486b
RM
20512014-07-31 Roland McGrath <roland@hack.frob.com>
2052
f61a113f
RM
2053 * sysdeps/generic/safe-fatal.h: New file.
2054 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2055 * nptl/forward.c: Include it.
2056 (__pthread_unwind): Use __safe_fatal as default action, rather
2057 than a bogus use of INTERNAL_SYSCALL that could never work.
2058
9fe7e787
RM
2059 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2060 * configure.ac (libc_cv_builtin_trap): New test.
2061 * configure: Regenerated.
2062 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2063 (ABORT_INSTRUCTION): Define using __builtin_trap.
2064
23fe486b
RM
2065 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2066 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2067 * sysdeps/nptl/nptl-signals.h: New file.
2068 * nptl/pthreadP.h: Include <nptl-signals.h>.
2069
f349489e
SL
20702014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2071
2072 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2073 (ONE_DIRECTION): Define.
2074 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2075 (ONE_DIRECTION): Define.
2076 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2077 (ONE_DIRECTION): Define.
2078
2f438e20
SL
20792014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2080
2081 * sysdeps/s390/Makefile: Delete file.
2082 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2083 * sysdeps/s390/__longjmp.c: Delete file.
2084 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2085 Remove fields __flags and __reserved.
2086 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2087 and add versioning.
2088 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2089 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2090 * sysdeps/s390/rtld-setjmp.S: Likewise.
2091 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2092 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2093 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2094 * sysdeps/s390/s390-32/setjmp.S: ... here.
2095 Add versioning.
2096 (__sigsetjmp): Remove setting __flags field.
2097 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2098 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2099 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2100 * sysdeps/s390/s390-64/setjmp.S: ... here.
2101 Add versioning.
2102 (__sigsetjmp): Remove setting __flags field.
2103 * sysdeps/s390/setjmp.S: Delete file.
2104 * sysdeps/s390/sigjmp.c: Likewise.
2105 * sysdeps/s390/v1-longjmp.c: Likewise.
2106 * sysdeps/s390/v1-setjmp.h: Likewise.
2107 * sysdeps/s390/v1-sigjmp.c: Likewise.
2108 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2109 Remove v1-longjmp_chk.
2110 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2111 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2112 Include debug/longjmp_chk.c and add versioning.
2113 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2114 Include nptl/pt-longjmp.c and add versioning.
2115 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2117 Include __longjmp.c.
2118 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2119 Move to ...
2120 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2121 (__getcontext): Remove setting __flags field.
2122 Add versioning.
2123 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2124 Don't restore upper high grps.
2125 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2126 Likewise.
2127 (__swapcontext): Remove setting uc_flags field.
2128 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2129 Delete file.
2130 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2131 Include __longjmp.c.
2132 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2133 Move to ...
2134 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2135 (__getcontext): Remove setting __flags field.
2136 Add versioning.
2137 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2138 (__swapcontext): Remove setting uc_flags field.
2139 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2141 Remove fields uc_high_gprs and __reserved.
2142 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2143 New file with reverted content.
2144 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2145 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2146 Regenerated.
2147 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2148 Regenerated.
2149
6c9578a2
AS
21502014-07-31 Andreas Schwab <schwab@suse.de>
2151
2152 * config.h.in (HAVE_IFUNC): Define to 0.
2153 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2154 definedness.
2155
05f3633d
LM
21562014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2157
2158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2159 memmove-avx-unaligned, memcpy-avx-unaligned and
2160 mempcpy-avx-unaligned.
2161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2162 Add tests for AVX memcpy functions.
2163 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2164 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2165 memcpy_chk.
2166 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2167 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2168 memmove_chk.
2169 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2170 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2171 mempcpy_chk.
2172 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2173 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2174 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2175
a53fbd8e
AZ
21762013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 [BZ #17213]
2179 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2180 powerpc64le.
2181
0961f7e1
JL
21822014-07-29 Jeff Layton <jlayton@poochiereds.net>
2183
2184 [BZ #16839]
2185 * manual/llio.texi: Add section about open file description locks.
2186 * manual/examples/ofdlocks.c: Example of open file description
2187 lock usage.
2188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2189 F_OFD_SETLK, and F_OFD_SETLKW.
2190
cc5fb300
AM
21912014-07-23 Allan McRae <allan@archlinux.org>
2192
2193 * po/es.po: Update Spanish translation from translation project.
2194
23329dca
AS
21952014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2196
2197 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2198
9c82da17
MR
21992014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2200
2201 [BZ #17078]
2202 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2203 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2204 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2205
29c4f53e
JM
22062014-07-17 Joseph Myers <joseph@codesourcery.com>
2207
831b9896
JM
2208 [BZ #17088]
2209 * math/fesetenv.c (__fesetenv)
2210 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2211 * math/feupdateenv.c (__feupdateenv)
2212 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2213
b21c2d50
JM
2214 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2216 (__ASSUME_SOCKETCALL): Do not define.
2217
067764ef
JM
2218 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2219 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2220 (__ASSUME_SOCKETCALL): Do not define.
2221 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2222 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2223 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2224 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2225 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2226 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2227 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2228 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2229
642530c1
JM
2230 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2231 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2232 (__ASSUME_SOCKETCALL): Do not define.
2233 (__ASSUME_IPC64): Define unconditionally.
2234 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2235 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2236 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2237 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2238 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2239 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2240 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2241 Likewise.
2242
03f77315
JM
2243 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2244 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2245 (__ASSUME_SOCKETCALL): Do not define.
2246 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2247 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2248 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2249 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2250 (__ASSUME_REQUEUE_PI): Define unconditionally.
2251 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2252 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2253 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2254 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2255 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2256 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2257
083b1f7c
JM
2258 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2259 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2260 (__ASSUME_SOCKETCALL): Do not define.
2261 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2262 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2263 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2264 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2265 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2266 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2267
5be44ea6
JM
2268 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2269 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2270 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2271 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2272 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2273 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2274 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2275 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2276 (__ASSUME_GETCPU_SYSCALL): Likewise.
2277
d95ffd4c
JM
2278 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2279 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2280 cases for individual architectures.
2281 * sysdeps/gnu/configure: Regenerated.
2282 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2283 LIBC_SLIBDIR_RTLDDIR.
2284 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2285 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2286 LIBC_SLIBDIR_RTLDDIR.
2287 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2289 LIBC_SLIBDIR_RTLDDIR.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2291 Regenerated.
2292 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2293 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2294 file.
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2296 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2297 file.
2298 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2299 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2300 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2301 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2302
29c4f53e
JM
2303 * sysdeps/aarch64/shlib-versions: Move to ...
2304 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2305 * sysdeps/alpha/shlib-versions: Move to ...
2306 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2307 * sysdeps/arm/shlib-versions: Move to ...
2308 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2309 * sysdeps/hppa/shlib-versions: Move all contents except for
2310 libgcc_s entry to ...
2311 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2312 entry from ...
2313 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2314 * sysdeps/ia64/shlib-versions: Move to ...
2315 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2316 entry from ...
2317 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2318 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2319 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2320 * sysdeps/microblaze/shlib-versions: Move to ...
2321 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2322 * sysdeps/mips/shlib-versions: Move to ...
2323 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2324 entry from ...
2325 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2326 * sysdeps/tile/shlib-versions: Move to ...
2327 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2328 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2329 from ...
2330 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2331 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2332 entry from ...
2333 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2334
32bead5b
WN
23352014-07-17 Will Newton <will.newton@linaro.org>
2336
57977c4b
WN
2337 * sysdeps/arm/bits/atomic.h
2338 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2339 (__arch_compare_and_exchange_bool_16_int): Likewise.
2340 (__arch_compare_and_exchange_bool_64_int): Likewise.
2341
32bead5b
WN
2342 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2343 into an #else block.
2344
37fccd41
RM
23452014-07-16 Roland McGrath <roland@hack.frob.com>
2346
2347 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2348 just Linux configurations. Test empirically that the compiler sets
2349 __ARM_EABI__, rather than using the tuple to decide.
2350 * sysdeps/arm/preconfigure: Regenerated.
2351 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2352 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2353 contents appended ...
2354 * sysdeps/arm/configure.ac: ... here.
2355 * sysdeps/arm/configure: Regenerated.
2356
b365f3ec
RM
23572014-07-15 Roland McGrath <roland@hack.frob.com>
2358
8badf496
RM
2359 * nptl/pthread_kill.c: New file.
2360 * nptl/pthread_sigmask.c: New file.
2361 * nptl/pthread_sigqueue.c: New file.
2362
3df6f22e
RM
2363 * sysdeps/nptl/lowlevellock.h: New file.
2364 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2365 * sysdeps/nptl/lowlevellock-futex.h: New file.
2366
b365f3ec
RM
2367 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2368 Remove dead declarations.
2369
f2fef657
L
23702014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2371
2372 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2373 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2374 config-cflags-avx2.
2375 * sysdeps/x86_64/configure.ac: Likewise.
2376 * sysdeps/i386/configure: Regenerated.
2377 * sysdeps/x86_64/configure: Likewise.
2378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2379 memset-avx2 only if config-cflags-avx2 is yes.
2380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2381 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2382 defined.
2383 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2384 only if HAVE_AVX2_SUPPORT is defined.
2385 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2386
f6c44d47
AM
23872014-07-14 Alan Modra <amodra@gmail.com>
2388
2389 [BZ #17153]
2390 * elf/elf.h (DT_PPC64_NUM): Correct value.
2391 * NEWS: Add to fixed bug list.
2392
7ee03f00
JM
23932014-07-13 Jim Meyering <meyering@fb.com>
2394
2395 [BZ 17150]
2396 regex: don't deref NULL upon heap allocation failure
2397 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2398 failure in one more place.
2399 To trigger the segfault, configure grep -with-included-regex,
2400 build it, and run these commands:
2401 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2402
9d39d517
AS
24032014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2404
2405 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2406
a75b89b7
RH
24072014-07-11 Richard Henderson <rth@redhat.com>
2408
2409 * sysdeps/aarch64/libm-test-ulps: Update.
2410
771eb141
FW
24112014-07-10 Florian Weimer <fweimer@redhat.com>
2412
2413 [BZ #17135]
2414 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2415 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2416 (__nptl_setxid): Initialize error member. Call
2417 __nptl_setxid_error.
2418 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2419 * nptl/descr.h (struct xid_command): Add error member.
2420 * nptl/tst-setuid3.c: New file.
2421 * nptl/Makefile (tests): Add it.
2422
bc1da176
AZ
24232014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2424
2425 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2426 New define.
2427 (__lll_trylock): Use __lll_base_trylock.
2428 (__lll_cond_trylock): Likewise.
2429
887865fc
RM
24302014-07-10 Roland McGrath <roland@hack.frob.com>
2431
c0c6bac9
RM
2432 * nptl/pthread_create.c (start_thread): Use atomic_or and
2433 lll_futex_wake directly rather than lll_robust_dead.
2434 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2435 (lll_robust_dead): Macro removed.
6a42be57 2436 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2437 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2438 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2439 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2440 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2441 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2442 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2443 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2444 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2446 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2447 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2448 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2449 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2451
887865fc
RM
2452 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2453 Use atomic_compare_and_exchange_val_acq directly rather than
2454 lll_robust_trylock.
2455 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2456 (__lll_robust_trylock, lll_robust_trylock): Removed.
2457 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2458 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2459 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2460 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2461 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2462 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2463 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2464 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2465 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2466 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2467 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2468 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2469 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2470 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2471
58536726
FW
24722014-07-02 Florian Weimer <fweimer@redhat.com>
2473
2474 * manual/locale.texi (Locale Names): New section documenting
2475 locale name syntax. Adjust menu and node chaining accordingly.
2476 (Choosing Locale): Reference Locale Names, Locale Categories.
2477 Mention setting LC_ALL=C. Reflect that name syntax is now
2478 documented.
2479 (Locale Categories): New section title. Reference Locale Names.
2480 LC_ALL is an environment variable, but not a category.
2481 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2482 description, now in Locale Name. Reference that section. Locale
2483 name syntax is now documented.
2484
4e8f95a0
FW
24852014-07-02 Florian Weimer <fweimer@redhat.com>
2486
2487 [BZ #17137]
2488 * locale/findlocale.c (name_present, valid_locale_name): New
2489 functions.
2490 (_nl_find_locale): Use the loc_name variable to store name
2491 candidates. Call name_present and valid_locale_name to check and
2492 validate locale names. Return an error if the locale is invalid.
2493
d1836456
FW
24942014-07-02 Florian Weimer <fweimer@redhat.com>
2495
2496 * locale/setlocale.c (setlocale): Use strdup for allocating
2497 composite name copy.
2498
d69b7f5a
SP
24992014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2500
888c679b
SP
2501 Sync up with gnulib.
2502 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2503 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2504 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2505 and _GL_ARG_NONNULL.
2506 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2507 [!_LIBC]: Include code for Windows and Cygwin.
2508 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2509 Include prototype for int strerror_r.
2510 [!_LIBC] (is_open): New function.
2511 (flush_stdout): New function.
2512 (print_errno_message): Use it.
2513 (error): Likewise.
2514 (error_at_line): Likewise.
2515 (error_tail) Add function attribute macros. Use
2516 __builtin_expect.
2517
180e0e4b
SP
2518 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2519
d22f1fe2
SP
2520 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2521
12f2254b
SP
2522 * io/ftw.c: Include sys/param.h unconditionally.
2523
c3c7c360
SP
2524 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2525
d62aa75a
SP
2526 [BZ #17125]
2527 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2528 libc_freeres_ptr.
2529 (freecache): New function to free CACHE on exit.
2530
d69b7f5a
SP
2531 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2532 initialization.
2533
5efe06a1
DM
25342014-07-09 David S. Miller <davem@davemloft.net>
2535
2536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2537
7000d82e
DM
2538 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2539 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2540 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2541 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2542 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2543 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2544 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2545 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2546 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2547 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2548 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2549 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2550 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2551
c213442d
AS
25522014-07-09 Andreas Schwab <schwab@suse.de>
2553
4a2552c3
AS
2554 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2555 output.
2556 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2557 (do_test): Likewise.
2558
c213442d
AS
2559 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2560
82374e65
WN
25612014-07-09 Will Newton <will.newton@linaro.org>
2562
2563 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2564 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2565 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2566 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2567 * sysdeps/hppa/start.S (_start): Likewise.
2568
6680738a
SP
25692014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2570
6ee3eab4
SP
2571 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2572
6680738a
SP
2573 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2574 defined.
2575
80b5c505
SP
25762014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2577
e35c53e3
SP
2578 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2579 after checking that it is non-NULL.
2580
80b5c505
SP
2581 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2582
91f4b564
AZ
25832014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584
27b75f56
AZ
2585 * sysdeps/powerpc/memmove.c: Remove file.
2586 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2587 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2588 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2589 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2590 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2591 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2592 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2593 string memmove instead of removed powerpc one.
2594
e7f95bb5
AZ
2595 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2596 [weak_alias]: Fix compiler warning due trailing data.
2597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2598 [weak_alias]: Likewise.
2599 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2600 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2601
91f4b564
AZ
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2603 (__libc_ifunc_impl_list): Add memmove functions.
2604
7c33f1e5
SP
26052014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2606
2607 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2608 Remove code.
2609 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2610 Likewise
2611 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2612 Likewise
2613 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2614 Likewise
2615 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2616 Likewise
2617 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2618 Likewise
2619 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2620 Likewise
2621 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2622 Likewise
2623 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2624 Likewise
2625 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2626 Likewise
2627 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2628 Likewise
2629 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2630 Likewise
2631 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2632 Likewise
2633 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2634 Likewise
2635 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2636 Likewise
2637 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2638 Likewise
2639 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2640 Likewise
2641
3f17b03b
AZ
26422014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2643
87868c24
AZ
2644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2645 to avoid alignment traps in non-cacheable memory.
2646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2647
07aedd78
AZ
2648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2649 multiarch objects.
2650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2651 file: multiarch power7 memmove.
2652 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2653 multiarch default memmove.
2654 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2655 multiarch memove for powerpc32/power4.
2656
17762f66
AZ
2657 * string/bcopy.c: Use full path to include memmove.c.
2658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2659 multiarch objects.
2660 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2661 bcopy for powerpc64.
2662 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2663 bcopy for powerpc64.
2664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2665 and memmove implementations.
2666 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2667 optimized multiarch memmove for POWER7/powerpc64.
2668 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2669 default multiarch memmove for powerpc64.
2670 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2671 multiarch for powerpc64.
2672 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2673 for POWER7/powerpc64.
2674 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2675 memmove for POWER7/powerpc64.
2676
d6f68bbe
AZ
2677 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2678 glibc default one.
2679
3f17b03b
AZ
2680 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2681 __ELF_NATIVE_CLASS equal to 64.
2682
08192659
RM
26832014-07-07 Roland McGrath <roland@hack.frob.com>
2684
f4c4021b
RM
2685 * sysdeps/nptl/lowlevellock.h: File removed.
2686
f083450f
RM
2687 * NEWS: NPTL is no longer an add-on!
2688 * nptl/internaltypes.h: Moved ...
2689 * sysdeps/nptl/internaltypes.h: ... here.
2690 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2691 * sysdeps/nptl/fork.c: Likewise.
2692 * sysdeps/nptl/gai_misc.h: Likewise.
2693 * sysdeps/nptl/librt-cancellation.c: Likewise.
2694 * sysdeps/nptl/jmp-unwind.c: Likewise.
2695 * sysdeps/nptl/setxid.h: Likewise.
2696 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2697 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2698 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2699 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2700 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2701 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2702 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2703 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2704 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2705 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2706 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2707 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2708 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2709 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2710 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2711 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2712 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2713 * nptl/Makeconfig: Moved ...
2714 * sysdeps/nptl/Makeconfig: ... here.
2715 * nptl/configure: File removed.
2716 * nptl/ANNOUNCE: File removed.
2717 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2718 * sysdeps/unix/sysv/linux/configure: Regenerated.
2719
08192659
RM
2720 * nptl/Makefile (routines): Add libc_pthread_init,
2721 libc_multiple_threads, register-atfork and unregister-atfork.
2722 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2723 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2724 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2725 pthread-pi-defines.sym, structsem.sym.
2726 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2727 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2728 [$(subdir) = nptl] (tests): Add tst-setgetname.
2729 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2730 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2731 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2732 [!LIBC_SIGACTION]: Remove aliases.
2733 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2734 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2735 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2736 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2737 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2738 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2741 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2742 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2743 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2744 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2745 __libc_allocate_rtsig_private.
2746 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2747 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2748 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2749 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2750 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2751 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2752 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2753 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2754 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2755 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2756 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2757 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2758 * nptl/internaltypes.h: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2760 * sysdeps/nptl/jmp-unwind.c: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2762 * nptl/libc-lowlevellock.c: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2764 * nptl/libc_multiple_threads.c: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2766 * nptl/libc_pthread_init.c: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2768 * nptl/lowlevelbarrier.sym: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2770 * nptl/lowlevelcond.sym: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2772 * nptl/lowlevellock.c: ... here.
2773 * nptl/lowlevellock.h: Moved ...
2774 * sysdeps/nptl/lowlevellock.h: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2776 * nptl/lowlevelrobustlock.c: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2778 * nptl/lowlevelrobustlock.sym: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2780 * nptl/lowlevelrwlock.sym: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2782 * nptl/pt-fork.c: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2784 * nptl/pthread-pi-defines.sym: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2786 * nptl/pthread_attr_getaffinity.c: ... here.
2787 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2788 * nptl/pthread_attr_setaffinity.c: ... here.
2789 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2790 * nptl/pthread_mutex_cond_lock.c: ... here.
2791 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2792 Update #include.
2793 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2794 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2795 * nptl/pthread_once.c: ... here, replacing old file.
2796 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2797 * nptl/pthread_yield.c: ... here.
2798 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2799 * nptl/register-atfork.c: ... here.
2800 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2801 * nptl/sem_post.c: ... here.
2802 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2803 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2804 * nptl/sem_timedwait.c: ... here.
2805 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2806 * nptl/sem_trywait.c: ... here.
2807 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2808 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2809 * nptl/sem_wait.c: ... here.
2810 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2811 * nptl/structsem.sym: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2813 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2814 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2815 * nptl/unregister-atfork.c: ... here.
2816 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2817 * nptl/unwindbuf.sym: ... here.
2818 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2819 * sysdeps/nptl/fork.c: ... here.
2820 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2821 * sysdeps/nptl/fork.h: ... here.
2822 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2823 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2824 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2825 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2826 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2827 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2828 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2830 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2831 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2832 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2833 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2834 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2835 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2836 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2837 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2838 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2840 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2842 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2844 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2846 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2848 * sysdeps/unix/sysv/linux/raise.c: ... here.
2849 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2850 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2852 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2853 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2854 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2855 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2856 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2858 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2859 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2860 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2862 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2863 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2864
96baf6ff
SP
28652014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2866
2867 * sysdeps/generic/memcopy.h: Add comment for
2868 MEMCPY_OK_FOR_FWD_MEMMOVE.
2869
6b7b14b2
WN
28702014-07-04 Will Newton <will.newton@linaro.org>
2871
1570a72b
WN
2872 * string/memchr.c: Merge from gnulib.
2873 [_LIBC]: Remove conditionals.
2874 (__ptr_t): Remove define.
2875 (LONG_MAX_32_BITS): Likewise.
2876 (LONG_MAX): Likewise.
2877 (MEMCHR): Use ANSI prototype and optimize algorithm.
2878
6b7b14b2
WN
2879 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2880
38851324
SP
28812014-07-03 Roland McGrath <roland@hack.frob.com>
2882
3d9eb57c
RM
2883 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2884 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2885
78b984ae
RM
2886 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2887 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2888 in a bare environment with no <stdlib.h> installed.
2889 * sysdeps/nptl/configure: Regenerated.
2890
2d5976a5
RM
2891 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2892
c1f5acd4
RM
2893 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2894 AC_EGREP_CPP for kernel header checks, so they only succeed if
2895 including <linux/version.h> actually works right.
2896 * sysdeps/unix/sysv/linux/configure: Regenerated.
2897
4d614fe5
RM
2898 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2899 value so it's not diagnosed as unused.
2900
38851324
SP
2901 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2902 thing) with "ifeq ($(subdir),rt)".
2903
b3ec00e5
RH
29042014-07-03 Richard Henderson <rth@redhat.com>
2905
69862e25
RH
2906 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2907 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2908 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2909
d5e16ade
RH
2910 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2911 (math_force_eval): New.
2912
ca7b945c
RH
2913 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2914 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2915
cd1175a3
RH
2916 * sysdeps/alpha/fpu/s_round.c: Remove file.
2917 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2918
b3ec00e5
RH
2919 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2920 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2921 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2922 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2923 (_dl_start, print_statistics): Likewise.
2924 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2925 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2926
2927 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2928 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2929 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2930 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2932 (HP_SMALL_TIMING_AVAIL): Define.
2933 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2934 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2935 (HP_SMALL_TIMING_AVAIL): Define.
2936 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2937 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2938
2939 * sysdeps/aarch64/hp-timing.h: New file.
2940
2941 * sysdeps/generic/hp-timing.h: Remove dead comment.
2942 * sysdeps/generic/hp-timing-common.h: New file.
2943 * sysdeps/alpha/hp-timing.h: Include it.
2944 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2945 * sysdeps/i386/i686/hp-timing.h: Likewise.
2946 * sysdeps/ia64/hp-timing.h: Likewise.
2947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2948 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2950 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2951 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2952 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2953 (hp_timing_t): New.
2954
2955 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2956 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2957 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2958 * elf/rtld.c (_dl_start_final): Likewise.
2959 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2960 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2961 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2962 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2963 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2965 (HP_TIMING_DIFF_INIT): Remove.
2966 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2967 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2968 (HP_TIMING_DIFF_INIT): Remove.
2969 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2970 * sysdeps/i386/i686/hp-timing.c: Remove file.
2971 * sysdeps/x86_64/hp-timing.c: Remove file.
2972 * sysdeps/ia64/hp-timing.c: Remove file.
2973 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2974 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2975 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2976 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2977
2978 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2979 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2980 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2981 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2983 (HP_TIMING_ACCUM): Remove.
2984 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2985 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2986 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2987
2988 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2989 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2990 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2991 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2993 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2995 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2996
2997 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2998
225f410f
MR
29992014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3000
3001 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3002
3247f285
SP
30032014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
3005 Sync up with gettext.
3006 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3007 [_MSC_VER]: Include malloc.h
3008 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3009 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3010 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3011 TEMP_FAILURE_RETRY. Cast return of alloca.
3012 [!_LIBC] Call gl_rwlock_init.
3013 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3014
d12704c7
SP
30152014-07-02 Roland McGrath <roland@hack.frob.com>
3016
3017 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3018 before checking its value.
3019
99f8dc92
SP
30202014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
05fdac77
SP
3022 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3023
99f8dc92
SP
3024 * debug/memcpy_chk.c: Don't include pagecopy.h.
3025 * debug/mempcpy_chk.c: Likewise.
3026 * string/memcpy.c: Likewise.
3027 * string/memmove.c: Likewise.
3028 * sysdeps/powerpc/memmove.c: Likewise.
3029 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3030 definition of PAGE_COPY_FWD_MAYBE here...
3031 * sysdeps/generic/pagecopy.h: ... from here.
3032 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3033
bc8ea385
VR
30342014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3035 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3036
3037 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3039 optimizations.
3040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3041 (__libc_ifunc_impl_list): Likewise.
3042 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3043 multiarch strcat for PPC64.
3044 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3045 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3046
fe5f34e4
RM
30472014-07-02 Roland McGrath <roland@hack.frob.com>
3048
3049 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3050
256aa665
SP
30512014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3052
d4eb8195
SP
3053 * intl/loadmsgcat.c: Remove declaration of
3054 get_sysdep_segment_value.
3055 (get_sysdep_segment_value): Use ISO C style.
3056 (_nl_load_domain): Use ISO C style. Get rid of redundant
3057 semicolon. Fix typo and formatting in comment.
3058 (_nl_unload_domain): Use ISO C style.
3059
256aa665
SP
3060 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3061
b100f9aa
WN
30622014-07-02 Will Newton <will.newton@linaro.org>
3063
3064 * malloc/obstack.c: Merge from gnulib master.
3065 [HAVE_CONFIG_H]: Remove conditional code.
3066 [!_LIBC]: Include config.h.
3067 [!ELIDE_CODE]: Don't include inttypes.h, include
3068 stdint.h unconditionally.
3069 (print_and_abort): Mark as _Noreturn.
3070 (_obstack_allocated_p): Mark as __attribute_pure__.
3071 (obstack_free): Rename to __obstack_free.
3072 [!__attribute__]: Remove conditional code.
3073 * malloc/obstack.h: Merge from gnulib master.
3074 [__cplusplus]: Move conditional down.
3075 [!__attribute_pure__]: Define __attribute_pure__ here
3076 if it is not already defined.
3077 (_obstack_memory_used): Mark as __attribute_pure__.
3078 [!__obstack_free]: Define as obstack_free.
3079 [__GNUC__]: Remove check for ancient NeXT gcc.
3080
c4c41244
PE
30812014-07-02 Will Newton <will.newton@linaro.org>
3082 Paul Eggert <eggert@cs.ucla.edu>
3083
3084 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3085
e1e041c4
SP
30862014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3087
3088 * resolv/gethnamaddr.c: Add comment warning that the file is
3089 not maintained.
3090
ccf431ff
CD
30912014-07-01 Carlos O'Donell <carlos@redhat.com>
3092
d34570a6
CD
3093 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3094 entries.
3095
ccf431ff
CD
3096 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3097 entry for aio_cancel and aio_cancel64.
3098 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3099 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3100 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3101 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3102 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3103 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3105 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3106 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3107 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3108 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3109 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3110 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3111
ca06321d
RM
31122014-07-01 Roland McGrath <roland@hack.frob.com>
3113
3114 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3115 * nptl/pthread_mutex_lock.c: Likewise.
3116 * nptl/pthread_mutex_timedlock.c: Likewise.
3117 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3118
a1ac3184
RH
31192014-07-01 Richard henderson <rth@redhat.com>
3120
631021e0
RH
3121 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3122 (__isnan, __isnanl): Remove.
3123 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3124
a1ac3184
RH
3125 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3126
0c1d731f
SL
31272014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3128
3129 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3130
76985d3e
SP
31312014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3132
3133 * resolv/nss_dns/dns-host.c (getanswer_r)
3134 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3135
b0cb3096
JM
31362014-07-01 Joseph Myers <joseph@codesourcery.com>
3137
3138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3139 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3140 undefine.
3141 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3142 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3143
4d76cb39
RM
31442014-07-01 Roland McGrath <roland@hack.frob.com>
3145
3146 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3147 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3148
3149 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3150 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3151
3152 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3153 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3154 ... here.
3155 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3156 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3157
3158 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3159 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3160 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3161 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3162
3163 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3164 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3165 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3166 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3168 Moved ...
3169 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3170 ... here.
3171 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3172 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3174 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3175 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3176 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3178 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3179 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3180 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3182 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3183 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3184 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3185 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3186 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3187 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3188 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3189 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3190 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3191 ... here.
3192 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3193 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3194 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3195 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3196 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3197 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3198 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3199 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3200
0cdcad17
DH
32012014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3202
3203 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3204 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3205 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3206 Add sysdep.
3207
9b71d0e3
AZ
32082014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3209
3210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3211
665390c2
JM
32122014-06-30 Joseph Myers <joseph@codesourcery.com>
3213
ae05a9d7
JM
3214 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3215 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3216
a7672a2f
JM
3217 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3218
665390c2
JM
3219 * sysdeps/arm/libm-test-ulps: Regenerated.
3220
d7a05d07
MR
32212014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3222 Roland McGrath <roland@hack.frob.com>
3223
3224 * test-skeleton.c (signal_handler): Kill the whole process group
3225 before killing the child individually.
3226 (main): Report any failure on `setpgid'.
3227
46f1d8a6
RM
32282014-06-30 Roland McGrath <roland@hack.frob.com>
3229
3230 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3231 from _TLS_H to _ARM_NPTL_TLS_H.
3232 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3233 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3234
9c37ec0b
JM
32352014-06-30 Joseph Myers <joseph@codesourcery.com>
3236
ce9c5b3e
JM
3237 [BZ #16539]
3238 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3239 (__expm1l): Return argument unchanged when small but not
3240 subnormal.
3241
3a6e9887
JM
3242 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3243 include macro name.
3244 (_FP_UNPACK_RAW_1_P): Likewise.
3245 (_FP_PACK_RAW_1): Likewise.
3246 (_FP_PACK_RAW_1_P): Likewise.
3247 (_FP_MUL_MEAT_1_wide): Likewise.
3248 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3249 (_FP_MUL_MEAT_1_hard): Likewise.
3250 (_FP_DIV_MEAT_1_imm): Likewise.
3251 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3252 (_FP_DIV_MEAT_1_udiv): Likewise.
3253 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3254 (_FP_UNPACK_RAW_2): Likewise.
3255 (_FP_UNPACK_RAW_2_P): Likewise.
3256 (_FP_PACK_RAW_2): Likewise.
3257 (_FP_PACK_RAW_2_P): Likewise.
3258 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3259 (_FP_MUL_MEAT_2_wide): Likewise.
3260 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3261 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3262 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3263 (_FP_MUL_MEAT_2_gmp): Likewise.
3264 (_FP_DIV_MEAT_2_udiv): Likewise.
3265 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3266 (_FP_FRAC_SRL_4): Likewise.
3267 (_FP_FRAC_SRST_4): Likewise.
3268 (_FP_FRAC_SRS_4): Likewise.
3269 (_FP_UNPACK_RAW_4): Likewise.
3270 (_FP_UNPACK_RAW_4_P): Likewise.
3271 (_FP_PACK_RAW_4): Likewise.
3272 (_FP_PACK_RAW_4_P): Likewise.
3273 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3274 (_FP_MUL_MEAT_4_wide): Likewise.
3275 (_FP_MUL_MEAT_4_gmp): Likewise.
3276 (umul_ppppmnnn): Likewise.
3277 (_FP_DIV_MEAT_4_udiv): Likewise.
3278 (__FP_FRAC_ADD_4): Likewise.
3279 (__FP_FRAC_SUB_3): Likewise.
3280 (__FP_FRAC_SUB_4): Likewise.
3281 (__FP_FRAC_DEC_3): Likewise.
3282 (__FP_FRAC_DEC_4): Likewise.
3283 (__FP_FRAC_ADDI_4): Likewise.
3284 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3285 (_FP_FRAC_SRL_8): Likewise.
3286 (_FP_FRAC_SRS_8): Likewise.
3287
9c37ec0b
JM
3288 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3289 include macro name.
3290 (FP_UNPACK_RAW_EP): Likewise.
3291 (FP_PACK_RAW_E): Likewise.
3292 (FP_PACK_RAW_EP): Likewise.
3293 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3294 (_FP_ISSIGNAN): Likewise.
3295 (_FP_ADD_INTERNAL): Likewise.
3296 (_FP_FMA): Likewise.
3297 (_FP_CMP): Likewise.
3298 (_FP_SQRT): Likewise.
3299 (_FP_TO_INT): Likewise.
3300 (_FP_FROM_INT): Likewise.
3301 (FP_EXTEND): Likewise.
3302 (_FP_DIV_MEAT_N_loop): Likewise.
3303
2125f674
MR
33042014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3305
3306 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3307 throughout.
3308
edea4028
JM
33092014-06-29 Joseph Myers <joseph@codesourcery.com>
3310
3311 [BZ #17097]
3312 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3313 result with correct sign in case of exponents that produce
3314 overflow except for X very close to 1.
3315
dd0ba018
PE
33162014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3317
3318 mktime: merge #if/#ifdef usage from glibc
3319 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3320 as that works with both Glibc's and Gnulib's style.
3321 See thread starting at Siddhesh Poyarekar's bug report at:
3322 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3323
64df73c2
SP
33242014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3325
3326 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3327 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3328 * sysdeps/tile/tilegx/memmove.c: Remove file.
3329
f1eafb41
JM
33302014-06-27 Joseph Myers <joseph@codesourcery.com>
3331
3332 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3333 abi-name definition.
3334 * scripts/soversions.awk: Do not handle or generate ABI lines.
3335 * shlib-versions: Remove ABI entries.
3336 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3337 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3338
58eb0862
RM
33392014-06-27 Roland McGrath <roland@hack.frob.com>
3340
37caf178
RM
3341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3342 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3343 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3344 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3346 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3348 Moved ...
3349 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3350 ... here.
3351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3352 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3354 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3356 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3358 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3360 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3362 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3364 Moved ...
3365 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3371 Moved ...
3372 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3374 Moved ...
3375 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3377 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3379 Moved ...
3380 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3386 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3388 Moved ...
3389 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3391 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3392 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3393 Moved ...
3394 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3396 Moved ...
3397 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3399 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3401 Moved ...
3402 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3403 ... here.
3404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3405 Identical file removed.
3406 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3407 Moved ...
3408 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3410 Identical file removed.
3411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3412 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3414 Moved ...
3415 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3417 Identical file removed.
3418 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3419 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3421 Identical file removed.
3422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3423 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3425 Identical file removed.
3426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3427 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3428 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3429 Identical file removed.
3430 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3431 Moved ...
3432 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3434 Identical file removed.
3435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3436 Moved ...
3437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3438 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3439 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3440 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3441 Identical file removed.
3442 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3443 Moved ...
3444 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3445 ... here.
3446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3447 Identical file removed.
3448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3449 Moved ...
3450 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3452 Identical file removed.
3453 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3454 Moved ...
3455 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3457 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3461 Moved ...
3462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3463 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3464 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3465
58eb0862
RM
3466 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3467 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3468 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3469 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3470 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3471
6f12d062
AS
34722014-06-27 Arjun Shankar <arjun.is@lostca.se>
3473
3474 [BZ #17092]
3475 * nscd/nscd.c (monitor_child): Return exit status of child
3476 instead of return value from wait syscall.
3477
be254932
JM
34782014-06-27 Joseph Myers <joseph@codesourcery.com>
3479
cb403c34
JM
3480 * configure.ac (libc_commonpagesize): Remove variable.
3481 (libc_relro_required): Likewise.
3482 (libc_cv_z_relro): Remove configure test.
3483 * configure: Regenerated.
3484 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3485 variable.
3486 (libc_relro_required): Likewise.
3487 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3488 (libc_relro_required): Likewise.
3489 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3490 (libc_relro_required): Likewise.
3491 * sysdeps/arm/preconfigure: Regenerated.
3492 * sysdeps/ia64/preconfigure: Remove file.
3493 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3494 variable.
3495 (libc_relro_required): Likewise.
3496
be254932
JM
3497 [BZ #16561]
3498 [BZ #16562]
3499 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3500 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3501 recompute overflowing results in original rounding mode.
3502 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3503 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3504 recompute overflowing results in original rounding mode.
3505 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3506 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3507 recompute overflowing results in original rounding mode.
3508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3509 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3510 recompute overflowing results in original rounding mode.
3511 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3512 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3513 recompute overflowing results in original rounding mode.
3514 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3515 (libc_feholdsetround_ctx): New macro.
3516 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3517 * sysdeps/i386/fpu/libm-test-ulps: Update.
3518 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3519
b351d85a
JM
35202014-06-26 Joseph Myers <joseph@codesourcery.com>
3521
3522 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3523 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3524 corresponding .cpsetup call.
3525
3cb4de47
RM
35262014-06-26 Roland McGrath <roland@hack.frob.com>
3527
3528 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3529 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3530 * sysdeps/arm/Makefile [$(subdir) = csu]
3531 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3532 (static-only-routines): Add aeabi_read_tp here.
3533 (shared-only-routines): Add libc-aeabi_read_tp here.
3534 (CFLAGS-libc-start.c): Add -fexceptions here.
3535 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3536 (sysdep_routines, static-only-routines, shared-only-routines):
3537 Don't add to these here.
3538 (CFLAGS-libc-start.c): Likewise.
3539
3540 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3541 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3542 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3543 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3544 * sysdeps/arm/Makefile [$(subdir) = rt]
3545 (librt-sysdep_routines, librt-shared-only-routines):
3546 Append rt-aeabi_unwind_cpp_pr1 here.
3547 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3548 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3549 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3550 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3551 Append nptl-aeabi_unwind_cpp_pr1 here.
3552 (tests): Filter out tst-cleanupx4 here.
3553 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3554 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3555 Don't do those here.
3556
354426bb
JM
35572014-06-26 Joseph Myers <joseph@codesourcery.com>
3558
3559 * scripts/list-sources.sh: Do not handle ports specially.
3560
28b0a8c9
RM
35612014-06-26 Roland McGrath <roland@hack.frob.com>
3562
a3dd035d
RM
3563 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3564 * sysdeps/arm/feupdateenv.c: Likewise.
3565
28b0a8c9
RM
3566 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3567
e66a8203
JM
35682014-06-26 Joseph Myers <joseph@codesourcery.com>
3569
3570 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3571 trailing whitespace removed.
3572 * scripts/config.guess: Update to version 2014-03-23.
3573 * scripts/config.sub: Update to version 2014-05-01
3574 * scripts/install-sh: Update to version 2013-12-25.23.
3575 * scripts/move-if-change: Update from gnulib.
3576
74171115
SP
35772014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3578
b97c9ce5
SP
3579 * debug/memmove_chk.c: Remove pagecopy.h include.
3580
4000f892
SP
35812014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3582
74171115
SP
3583 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3584 identical to gnulib mktime.
3585
a8779c28
JM
35862014-06-26 Joseph Myers <joseph@codesourcery.com>
3587
e64708de
JM
3588 * configure.ac: Do not test for machine being rs6000. Do not test
3589 for powerpc*-*soft.
3590 * configure: Regenerated.
3591
a8779c28
JM
3592 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3593 test.
3594 * configure: Regenerated.
3595 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3596 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3597 Remove configure test.
3598 * sysdeps/arm/configure: Regenerated.
3599 * sysdeps/nptl/configure.ac: Do not check
3600 libc_cv_asm_cfi_directives.
3601 * sysdeps/nptl/configure: Regenerated.
3602 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3603 * sysdeps/x86_64/nptl/configure: Remove generated file.
3604 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3605 unconditional.
3606 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3607
2aac0a86
SP
36082014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3609
059bf913
SP
3610 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3611 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3612 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3613 it is defined.
3614
4cf5b6d0
SP
3615 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3616 instead of whether it is defined.
3617 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3618 * sysdeps/hppa/dl-machine.h: Likewise.
3619 * sysdeps/ia64/dl-machine.h: Likewise.
3620 * sysdeps/m68k/dl-machine.h: Likewise.
3621 * sysdeps/microblaze/dl-machine.h: Likewise.
3622 * sysdeps/mips/dl-machine.: Likewise.
3623 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3624 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3625 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3626 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3627 * sysdeps/sh/dl-machine.h: Likewise.
3628 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3629 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3630 * sysdeps/tile/dl-machine.h: Likewise.
3631 * sysdeps/x86_64/dl-machine.h: Likewise.
3632
2aac0a86
SP
3633 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3634 code.
3635 (verify_persistent_db): Likewise.
3636
6ad2df0b
RM
36372014-06-26 Roland McGrath <roland@hack.frob.com>
3638
d8a483f3
RM
3639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3640 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3642 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3644 Moved ...
3645 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3646 ... here.
3647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3650 Identical file removed.
3651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3652 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3656 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3658 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3660 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3662 Moved ...
3663 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3669 Moved ...
3670 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3674 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3676 Identical file removed.
3677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3678 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3680 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3682 Moved ...
3683 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3684 ... here.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3688 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3696 Moved ...
3697 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3699 Moved ...
3700 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3702 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3704 Moved ...
3705 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3707 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3708
52ae23b4
RM
3709 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3710 folded into ...
3711 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3712 * sysdeps/unix/sysv/linux/s390/Versions
3713 (libpthread: GLIBC_2.19): New version set.
3714 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3715 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3716 (librt: GLIBC_2.3.3): New version set.
3717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3718 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3719 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3721 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3722 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3723 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3725 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3727 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3729 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3731 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3733 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3735 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3737 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3739 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3743 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3745 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3747 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3753 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3759 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3761 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3762
39507e4a
RM
3763 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3764 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3765 (__libc_vfork): Define the function under this name.
3766 [!NOT_IN_libc] (__vfork): Make this an alias.
3767 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3769 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3770 (__libc_vfork): Define the function under this name.
3771 [!NOT_IN_libc] (__vfork): Make this an alias.
3772 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3773 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3774 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3777 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3778
e549ee56
RM
3779 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3780 code that was previously under [RESET_PID].
3781 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3782 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3784
6ad2df0b
RM
3785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3786 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3787 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3788 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3789 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3790 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3791 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3792 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3793 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3794 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3795 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3796 Moved ...
3797 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3798 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3799 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3800 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3801 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3803 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3804 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3805 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3806 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3807 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3809 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3810 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3811 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3812 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3813 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3815 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3816 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3817 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3818 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3819 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3820 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3821 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3822 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3823 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3824 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3825 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3826
7c1c1d8e
RM
38272014-06-25 Roland McGrath <roland@hack.frob.com>
3828
3829 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3830 that was previously under [RESET_PID].
3831 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3832
3e239be6
JM
38332014-06-25 Joseph Myers <joseph@codesourcery.com>
3834
74385da5
JM
3835 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3836 not undefine and redefine.
3837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3838 [O_CLOEXEC]: Make code unconditional.
3839 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3840 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3841 <kernel-features.h>.
3842 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3843 conditional variable definition.
3844 (shm_open) [O_CLOEXEC]: Make code unconditional.
3845 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3846 code.
3847
c2570a0b
JM
3848 * configure.ac (USE_REGPARMS): Don't define here.
3849 * configure: Regenerated.
3850 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3851 * sysdeps/i386/configure: Regenerated.
3852
11b076bb
JM
3853 * nptl/createthread.c: Don't include kernel-features.h.
3854 * nptl/pthread_cancel.c: Likewise.
3855 * nptl/pthread_condattr_setclock.c: Likewise.
3856 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3857 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3858 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3859 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3860 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3861 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3862 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3865 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3866 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3867 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3868 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3869 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3870 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3871 * nscd/gai.c: Likewise.
3872 * nss/nss_db/db-open.c: Likewise.
3873 * sysdeps/generic/ldsodefs.h: Likewise.
3874 * sysdeps/sh/nptl/tls.h: Likewise.
3875 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3876 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3877 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3878 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3879 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3880 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3881 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3882 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3884 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3885 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3886 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3887 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3888 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3889 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3890 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3891 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3892 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3893 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3894 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3897 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3898 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3899 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3902 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3903 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3904 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3905 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3906 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3907 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3908 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3909 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3910 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3911 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3912 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3913 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3914 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3915 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3916 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3917 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3918 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3919 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3920 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3921 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3922 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3923 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3924 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3925 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3926 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3927 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3928 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3929 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3930 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3955 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3956 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3957 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3958 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3959 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3960 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3962 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3963 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3964 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3965 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3966 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3967 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3968 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3969 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3970 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3971 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3972 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3973 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3974 * sysdeps/unix/sysv/linux/system.c: Likewise.
3975 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3976 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3977 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3978 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3979 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3980 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3981 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3982
92072d57
JM
3983 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3984 * configure: Regenerated.
3985 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3986
3e239be6
JM
3987 * configure.ac (base_machine): Do not set specially for particular
3988 machines here.
3989 * configure: Regenerated.
3990 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3991 settings from configure.ac.
3992 * sysdeps/i386/preconfigure: New file.
3993 * sysdeps/s390/preconfigure: Likewise.
3994 * sysdeps/sh/preconfigure: Likewise.
3995 * sysdeps/sparc/preconfigure: Likewise.
3996
06d50baa
RM
39972014-06-25 Roland McGrath <roland@hack.frob.com>
3998
74836003
RM
3999 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4000 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4001 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4002 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4003 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4004 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4005 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4006 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4007 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4008 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4009 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4010 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4011 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4012 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4013 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4014 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4015 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4016 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4017 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4018
4019 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4020 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4021 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4022 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4023 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4024 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4025 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4026 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4027 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4028 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4029 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4030 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4031 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4032 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4033 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4034 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4035 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4036 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4037 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4038 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4040 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4042 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4048 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4050 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4052 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4054 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4056 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4057
06d50baa
RM
4058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4061 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4063 Moved ...
4064 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4065 ... here.
4066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4071 Moved ...
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4078 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4080 Moved ...
4081 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4083 Moved ...
4084 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4088 Moved ...
4089 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4091 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4093 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4095 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4099 Moved ...
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4101 ... here.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4107 Moved ...
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4112 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4114 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4116 Moved ...
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4119 Moved ...
4120 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4129 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4130
a4ccbc9b
JM
41312014-06-25 Joseph Myers <joseph@codesourcery.com>
4132
0828edbf
JM
4133 * timezone/checktab.awk: Update from tzcode 2014e.
4134 * timezone/private.h: Likewise.
4135 * timezone/tzfile.h: Likewise.
4136 * timezone/zdump.c: Likewise.
4137 * timezone/zic.c: Likewise.
4138
a4ccbc9b
JM
4139 * sysdeps/unix/sysv/linux/kernel-features.h
4140 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4142 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4143 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4144 Remove conditional code.
4145
9aea0cb8
WN
41462014-06-25 Will Newton <will.newton@linaro.org>
4147
4148 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4149 (_dl_arm_cap_flags): Add HWCAP2 values.
4150 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4151 (_DL_HWCAP_COUNT): Increase to 37.
4152 (_DL_HWCAP_LAST): New define.
4153 (_DL_HWCAP2_LAST): New define.
4154 (_dl_procinfo): Add support for printing
4155 AT_HWCAP2 entries.
4156 (_dl_string_hwcap): Use _dl_hwcap_string.
4157
6eaa65ce
AZ
41582014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4159
4160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4161
0f5b7185
JM
41622014-06-25 Joseph Myers <joseph@codesourcery.com>
4163
cfd2ea50
JM
4164 * README: Do not mention ports directory.
4165
cecf2ed4
JM
4166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4167 Remove macro.
4168 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4169 <kernel-features.h>.
4170 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4171 conditional variable definition.
4172 (__futimes): Update comment.
4173 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4174 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4175
a638de82
JM
4176 [BZ #16560]
4177 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4178 arguments close to 0.
4179 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4180 Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4182 Likewise.
4183 * math/auto-libm-test-in: Add more tests of exp10.
4184 * math/auto-libm-test-out: Regenerated.
4185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4186
0f5b7185
JM
4187 * sysdeps/unix/sysv/linux/kernel-features.h
4188 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4189 * sysdeps/unix/sysv/linux/readv.c: Do not include
4190 <kernel-features.h>.
4191 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4192 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4193 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4194 unconditional.
4195 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4196 conditional code.
4197 * sysdeps/unix/sysv/linux/writev.c: Do not include
4198 <kernel-features.h>.
4199 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4200 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4201 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4202 unconditional.
4203 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4204 conditional code.
4205
c7aec4be
WN
42062014-06-25 Will Newton <will.newton@linaro.org>
4207
4208 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4209 comment changes throughout the file. Remove checks
4210 for HAVE_*_H definitions that are not required.
4211 (__gen_tempname): Call abort if an unknown kind value is
4212 passed.
4213
c5241f95
AS
42142014-06-25 Andreas Schwab <schwab@suse.de>
4215
4216 [BZ #17086]
4217 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4218 scalbln, scalblnf, scalblnl in libc.
4219
911422da
SP
42202014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4221
4222 [BZ #17086]
4223 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4224 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4225 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4226
0d749bbe
RM
42272014-06-24 Roland McGrath <roland@hack.frob.com>
4228
4229 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4230 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4231 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4232 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4233 Update #include.
4234 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4235 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4236 Update #include.
4237 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4238 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4239 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4240 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4241 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4242 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4243 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4244 * sysdeps/x86/bits/semaphore.h: ... here.
4245 * sysdeps/x86/nptl/elide.h: Moved ...
4246 * sysdeps/x86/elide.h: ... here.
4247 * sysdeps/x86_64/nptl/Implies: File removed.
4248 * sysdeps/i386/nptl/Implies: File removed.
4249
0ea5d373
JM
42502014-06-24 Joseph Myers <joseph@codesourcery.com>
4251
4060283d
JM
4252 [BZ #16539]
4253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4254 return the argument for normal arguments with exponent below -64.
4255 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4256 Likewise.
4257 * math/auto-libm-test-in: Add another test of expm1.
4258 * math/auto-libm-test-out: Regenerated.
4259
e7dd3c8c
JM
4260 [BZ #16287]
4261 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4262 calling __erfcl for arguments at least 16.
4263 * math/auto-libm-test-in: Add more tests of erf.
4264 * math/auto-libm-test-out: Regenerated.
4265
0ea5d373
JM
4266 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4267 individual architectures.
4268 * sysdeps/unix/sysv/linux/configure: Regenerated.
4269 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4270 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4271 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4272 (ldd_rewrite_script): Define variable.
4273 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4275 file.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4277 generated file.
4278 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4279 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4280 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4281 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4282 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4283 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4284 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4285 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4286
2307e126
SP
42872014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4288
4289 [BZ #17084]
4290 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4291 Rename member __data.d to __data.__elision_data.
4292
c0a4ed77
W
42932014-06-24 Wilco <wdijkstr@arm.com>
4294
4295 * NEWS: Add 16918 to fixed bug list.
4296
b8c00573
W
42972014-06-24 Wilco <wdijkstr@arm.com>
4298
4299 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4300
b5570d92
W
43012014-06-24 Wilco <wdijkstr@arm.com>
4302
4303 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4304 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4305 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4306 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4307 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4308 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4309 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4310 Use _FPU_MASK_RM.
4311
947bdca2
W
43122014-06-24 Wilco <wdijkstr@arm.com>
4313
4314 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4315
00f669ed
W
43162014-06-24 Wilco <wdijkstr@arm.com>
4317
4318 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4319 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4320 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4321 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4322
db59bad3
W
43232014-06-24 Wilco <wdijkstr@arm.com>
4324
4325 [BZ #16918]
4326 * sysdeps/arm/feupdateenv.c (feupdateenv):
4327 Rewrite to reduce FPSCR accesses and fix return value.
4328
001f7b77
W
43292014-06-24 Wilco <wdijkstr@arm.com>
4330
4331 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4332 Optimize to avoid unnecessary FPSCR writes.
4333 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4334 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4335 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4336 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4337
4841e6a6
W
43382014-06-24 Wilco <wdijkstr@arm.com>
4339
4340 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4341 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4342 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4343 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4344 Call libc_fetestexcept_vfp.
4345 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4346 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4347 __SOFTFP__ ifdef so that they can be built for softfp.
4348
0813022c
SP
43492014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4350
08e5862f
SP
4351 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4352 argument type signed char.
4353
0813022c
SP
4354 * Makerules (check-abi): Dump diff of symlist if the test
4355 fails.
4356
3fc7236a
RM
43572014-06-23 Roland McGrath <roland@hack.frob.com>
4358
aba8ef95
RM
4359 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4360 using abort.
4361
3fc7236a
RM
4362 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4363 Remove unused variable ST.
4364
4da6db51
JM
43652014-06-23 Joseph Myers <joseph@codesourcery.com>
4366
4648909d
JM
4367 [BZ #16354]
4368 [BZ #17061]
4369 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4370 small arguments before calling __expm1.
4371 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4372 small arguments before calling __expm1f.
4373 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4374 small arguments before calling __expm1l.
4375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4376 Likewise.
4377 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4378 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4379 spurious underflow for some cosh tests.
4380 * math/auto-libm-test-out: Regenerated.
4381 * sysdeps/i386/fpu/libm-test-ulps: Update.
4382
46a3d3c7
JM
4383 [BZ #17050]
4384 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4385 (__ieee754_y1): Set errno if return value overflows.
4386 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4387 (__ieee754_y1f): Set errno if return value overflows.
4388 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4389 (__ieee754_y1l): Set errno if return value overflows.
4390 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4391 (__ieee754_y1l): Set errno if return value overflows.
4392 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4393 * math/auto-libm-test-out: Regenerated.
4394
863893ec
JM
4395 * math/gen-auto-libm-tests.c: Document use of
4396 ignore-zero-inf-sign.
4397 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4398 (input_flags): Add ignore-zero-inf-sign.
4399 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4400 * math/gen-libm-test.pl (generate_testfile): Handle
4401 ignore-zero-inf-sign.
4402 * math/auto-libm-test-in: Mark some cpow tests with
4403 ignore-zero-inf-sign and some with xfail-rounding.
4404 * math/auto-libm-test-out: Regenerated.
4405 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4406 * sysdeps/i386/fpu/libm-test-ulps: Update.
4407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408
4da6db51
JM
4409 [BZ #16315]
4410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4411 overflowing or underflowing operations take place with sign of
4412 result.
4413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4414 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4415 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4416 (__ieee754_pow): Recompute overflowing and underflowing results in
4417 original rounding mode.
4418 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4419 (__powl_helper): Allow negative argument X and scale negated value
4420 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4422 overflowing or underflowing operations take place with sign of
4423 result.
4424 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4425 Include <math.h>.
4426 * math/auto-libm-test-in: Add more tests of pow.
4427 * math/auto-libm-test-out: Regenerated.
4428 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4429 (pow_tonearest_test_data): Remove.
4430 (pow_test_tonearest): Likewise.
4431 (pow_towardzero_test_data): Likewise.
4432 (pow_test_towardzero): Likewise.
4433 (pow_downward_test_data): Likewise.
4434 (pow_test_downward): Likewise.
4435 (pow_upward_test_data): Likewise.
4436 (pow_test_upward): Likewise.
4437 (main): Don't call removed functions.
4438 * sysdeps/i386/fpu/libm-test-ulps: Update.
4439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440
5686b236
RM
44412014-06-23 Roland McGrath <roland@hack.frob.com>
4442
4443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4444 Moved ...
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4447 Moved ...
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4450 Moved ...
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4453 Moved ...
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4456 File removed.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4458 File removed.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4460 File removed.
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4462 File removed.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4464 File removed.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4466 File removed.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4468 File removed.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4470 File removed.
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4472 File removed.
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4474 File removed.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4476 File removed.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4478 File removed.
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4480 Moved ...
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4483 Moved ...
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4485 ... here.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4487 Moved ...
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4490 Moved ...
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4493 Moved ...
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4496 Moved ...
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4499 Moved ...
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4502 Moved ...
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4505 Moved ...
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4509 ... here.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4511 Moved ...
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4514 Moved ...
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4516 ... here.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4518 Moved ...
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4520 ... here.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4522 Moved ...
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4524 ... here.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4526 Moved ...
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4529 Moved ...
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4534 Moved ...
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4536 ... here.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4538 Moved ...
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4540 ... here.
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4542 Moved ...
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4545 Moved ...
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4548 Moved ...
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4551 Moved ...
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4554 Moved ...
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4556 ... here.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4558 Moved ...
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4561 Moved ...
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4564 Moved ...
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4567 Moved ...
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4572 Moved ...
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4575 Moved ...
4576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4578 Moved ...
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4580 ... here.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4582 Moved ...
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4584 ... here.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4586 Moved ...
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4588 ... here.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4590 Moved ...
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4593 Moved ...
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4596 Moved ...
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4599 Moved ...
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4601 ... here.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4603 Moved ...
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4605 ... here.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4607 Moved ...
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4609 ... here.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4611 Moved ...
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4614 Moved ...
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4616
e6d90d67
WD
46172014-06-23 Will Newton <will.newton@linaro.org>
4618 Wilco <wdijkstr@arm.com>
4619
4620 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4621 implementation. Include get-rounding-mode.h.
4622 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4623 [!libc_feholdsetround_noex_ctx]: Define
4624 libc_feholdsetround_noex_ctx.
4625 [!libc_feholdsetround_noexf_ctx]: Define
4626 libc_feholdsetround_noexf_ctx.
4627 [!libc_feholdsetround_noexl_ctx]: Define
4628 libc_feholdsetround_noexl_ctx.
4629 (libc_feholdsetround_ctx): New function.
4630 (libc_feresetround_ctx): New function.
4631 (libc_feholdsetround_noex_ctx): New function.
4632 (libc_feresetround_noex_ctx): New function.
4633
d42df555
RM
46342014-06-23 Roland McGrath <roland@hack.frob.com>
4635
88a46474
RM
4636 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4637 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4638 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4639 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4640 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4641 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4642
15bed472
RM
4643 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4644 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4645 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4646 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4647 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4648 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4650 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4652 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4654 Moved ...
4655 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4656 ... here.
4657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4658 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4660 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4662 Moved ...
4663 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4671 Moved ...
4672 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4674 Moved ...
4675 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4679 Moved ...
4680 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4682 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4683 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4684 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4685 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4686 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4687 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4688 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4690 Moved ...
4691 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4692 ... here.
4693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4706 Moved ...
4707 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4711 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4713 Moved ...
4714 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4718 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4719
d42df555
RM
4720 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4721 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4722 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4747 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4748
76e5216e
JM
47492014-06-23 Joseph Myers <joseph@codesourcery.com>
4750
4751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4752 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4753 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4754 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4755 (IPV6_PMTUDISC_INTERFACE): Likewise.
4756 (IPV6_PMTUDISC_OMIT): Likewise.
4757
7a81cbcc
AS
47582014-06-23 Andreas Schwab <schwab@suse.de>
4759
4760 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4761 Remove unused errout label.
4762
db224009
AZ
47632014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764
4765 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4766 macro: hardware supports Vector Crypto instructions.
4767
f393b4aa
WN
47682014-06-23 Will Newton <will.newton@linaro.org>
4769
cc7d0447
WN
4770 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4771 rather than __builtin_expect.
4772
d6d06225
WN
4773 * elf/dl-lookup.c (undefined_msg): Remove variable.
4774 (_dl_lookup_symbol_x): Replace undefined_msg with string
4775 literal.
4776
f393b4aa
WN
4777 * elf/dl-lookup.c (do_lookup_unique): New function.
4778 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4779 to a separate function.
4780
ac60763e
AS
47812014-06-23 Andreas Schwab <schwab@suse.de>
4782
4783 [BZ #17079]
4784 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4785 before reading the next line.
4786
c5c13355
WN
47872014-06-23 Will Newton <will.newton@linaro.org>
4788
4789 * test-skeleton.c (signal_handler): Use printf and %m
4790 rather than perror. Use printf rather than fprintf to
4791 stderr. Use puts rather than fputs to stderr.
4792 (main): Likewise.
4793
bd3675f9
LC
47942014-06-22 Ludovic Courtès <ludo@gnu.org>
4795
4796 * nscd/nscd.c (thread_info_t): Remove typedef.
4797 (thread_info): Remove variable.
4798
d03efb2f
AM
47992014-06-21 Allan McRae <allan@archlinux.org>
4800
4801 * NEWS: Mention CVE-2014-4043.
4802
bc4a86fa
RM
48032014-06-20 Roland McGrath <roland@hack.frob.com>
4804
dc9a54f8
RM
4805 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4806 * nptl/smp.h: ... here.
4807
bd7022c4
RM
4808 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4809
26ffd5e6
RM
4810 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4811 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4812 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4813 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4814
93a6d082
RM
4815 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4816 * nptl/stack-aliasing.h: New file.
4817 * sysdeps/i386/i686/stack-aliasing.h: New file.
4818 * sysdeps/i386/i686/nptl/Makefile: File removed.
4819 * sysdeps/x86_64/stack-aliasing.h: New file.
4820 * sysdeps/x86_64/nptl/Makefile
4821 (CFLAGS-pthread_create.c): Variable removed.
4822
bc4a86fa
RM
4823 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4824 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4825 old file.
4826 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4827 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4828 old file.
4829
2272ffc1
JM
48302014-06-21 Joseph Myers <joseph@codesourcery.com>
4831
4832 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4833 (__ASSUME_SIGFRAME_V2): Remove macro.
4834 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4835 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4836 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4837 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4838 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4839 Declare as function. Remove conditional macro definitions.
4840 (__default_rt_sa_restorer): Likewise.
4841 (__default_sa_restorer_v1): Remove declaration.
4842 (__default_sa_restorer_v2): Likewise.
4843 (__default_rt_sa_restorer_v1): Likewise.
4844 (__default_rt_sa_restorer_v2): Likewise.
4845 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4846 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4847 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4848
4b88139b
RM
48492014-06-20 Roland McGrath <roland@hack.frob.com>
4850
4851 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4852 (libpthread-routines): Add sysdep.
4853 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4854 * sysdeps/unix/sysv/linux/sparc/Versions
4855 (libpthread: GLIBC_2.3.3): New version set.
4856 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4857 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4858 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4860 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4861 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4862 Moved ...
4863 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4865 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4867 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4869 * sysdeps/sparc/nptl/sem_init.c: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4871 * sysdeps/sparc/nptl/sem_post.c: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4873 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4875 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4877 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4878 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4879 (libpthread-routines): Add cpu_relax.
4880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4881 File removed.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4883 (librt: GLIBC_2.3.3): New version set.
4884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4885 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4887 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4890 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4892 Moved ...
4893 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4895 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4897 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4899 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4901 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4903 Moved ...
4904 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4905 Update #include.
4906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4907 Moved ...
4908 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4909 Update #include.
4910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4911 Moved ...
4912 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4913 Update #include.
4914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4915 Moved ...
4916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4917 Update #include.
4918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4919 Moved ...
4920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4921 Update #include.
4922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4923 Moved ...
4924 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4925 Update #include.
4926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4927 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4933 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4935 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4937 Moved ...
4938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4940 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4943
d7109027
JM
49442014-06-20 Joseph Myers <joseph@codesourcery.com>
4945
9bc6103d
JM
4946 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4947 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4948 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4949 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4950 * nscd/nscd.c: Likewise.
4951 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4952 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4953 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4954 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4955
d7109027
JM
4956 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4957 <kernel-features.h>.
4958 (init_mq_netlink): Remove conditional have_sock_cloexec
4959 definitions. Remove code conditional on have_sock_cloexec < 0.
4960 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4961 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4962 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4963 <kernel-features.h>.
4964 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4965 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4966
d92d8f8a
L
49672014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4968
4969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4970 Add tests for memset_chk and memset.
4971
4972 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4973 with AVX2_Usable.
4974
4e6d2347
MR
49752014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4976
257ce712
MR
4977 [BZ #16046]
4978 * elf/tst-dl-iter-static.c: New file.
4979 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4980
4e6d2347
MR
4981 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4982 error.
4983
a2a76afe
JM
49842014-06-20 Joseph Myers <joseph@codesourcery.com>
4985
7fd00f99
JM
4986 * sysdeps/unix/sysv/linux/kernel-features.h
4987 (__ASSUME_F_GETOWN_EX): Remove macro.
4988 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4989 <kernel-features.h>.
4990 (miss_F_GETOWN_EX): Remove variable or macro.
4991 (do_fcntl): Do not check miss_F_GETOWN_EX.
4992 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4993
4a103975
JM
4994 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4995 Remove macro.
4996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4997 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4998 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4999
a2a76afe
JM
5000 * sysdeps/unix/sysv/linux/kernel-features.h
5001 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5002 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5003 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5004 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5005
90e5dd48
MR
50062014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5007
5008 [BZ #17075]
5009 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5010 Fix calculation of the symbol's value.
5011 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5012 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5013 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5014 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5015 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5016 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5017 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5018 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5019 (modules-names): Add `tst-armtlsdescmod',
5020 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5021 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5022 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5023 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5024 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5025 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5026 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5027 ($(objpfx)tst-armtlsdescloc): New dependency.
5028 ($(objpfx)tst-armtlsdescextnow): Likewise.
5029 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5030 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5031 TLS scheme support.
5032 * sysdeps/arm/configure: Regenerate.
5033
809fdf0d
JM
50342014-06-20 Joseph Myers <joseph@codesourcery.com>
5035
5036 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5037 (__atfct_seterrno_2): Likewise.
5038 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5039 <kernel-features.h>.
5040 (__ASSUME_ATFCTS): Do not undefine and redefine.
5041 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5042 (__have_atfcts): Remove conditional definition.
5043 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5044 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5045 unreachable if [__ASSUME_ATFCTS].
5046 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5047 not undefine and redefine.
5048 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5049 <kernel-features.h>.
5050 (faccessat) [__NR_faccessat]: Make code unconditional.
5051 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5052 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5053 <kernel-features.h>.
5054 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5055 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5056 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5057 <kernel-features.h>.
5058 (fchownat) [__NR_fchownat]: Make code unconditional.
5059 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5061 <kernel-features.h>.
5062 (futimesat) [__NR_futimesat]: Make code unconditional.
5063 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5065 <kernel-features.h>.
5066 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5067 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5068 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5069 <kernel-features.h>.
5070 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5071 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5072 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5073 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5074 <kernel-features.h>.
5075 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5076 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5077 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5078 <kernel-features.h>.
5079 (linkat) [__NR_linkat]: Make code unconditional.
5080 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5081 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5082 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5083 <kernel-features.h>.
5084 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5085 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5086 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5087 <kernel-features.h>.
5088 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5089 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5090 * sysdeps/unix/sysv/linux/openat.c: Do not include
5091 <kernel-features.h>.
5092 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5093 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5094 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5095 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5096 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5097 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5098 <kernel-features.h>.
5099 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5100 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5101 result of INLINE_SYSCALL directly, not via int variable.
5102 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5103 <kernel-features.h>.
5104 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5105 (renameat) [__NR_renameat]: Make code unconditional.
5106 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5107 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5108 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5109 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5110 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5111 (__ASSUME_ATFCTS): Do not undefine and redefine.
5112 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5113 <kernel-features.h>.
5114 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5115 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5116 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5117 <kernel-features.h>.
5118 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5119 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5120 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5121 (__ASSUME_ATFCTS): Do not undefine and redefine.
5122 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5123 <kernel-features.h>.
5124 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5125 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5126 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5127 <kernel-features.h>.
5128 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5129 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5130
224c6c51
L
51312014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5132
5133 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5134
aa6ec754
AS
51352014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5136
5137 [BZ #17069]
5138 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5139 constructed tree before returning error.
5140 * posix/bug-regexp36.c: Expand test case.
5141
d8c2869d
SL
51422014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5143
3ef6b850
SL
5144 [BZ #6803]
5145 * math/libm-test.inc (scalbln_test_date):
5146 Add errno expectations.
5147 * math/w_scalblnf.c: New File.
5148 Add wrapper which checks for setting errno to ERANGE.
5149 Add weak_alias for corresponding scalbln function.
5150 * math/w_scalbln.c: Likewise.
5151 * math/w_scalblnl.c: Likewise.
5152 * math/Makefile (libm-calls): Add w_scalbln.
5153 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5154 Remove weak_alias for corresponding scalbln function.
5155 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5157 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5159 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5160 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5161 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5162 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5163 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5164 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5165 Remove long_double_symbol for scalblnl function in libm, libc.
5166 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5167 Add wrapper which checks for setting errno to ERANGE.
5168 Add long_double_symbol for scalblnl function in libm, libc.
5169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5170 Remove long_double_symbol for scalblnl in libm.
5171 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5172 Add wrapper which checks for setting errno to ERANGE.
5173 Add long_double_symbol for scalblnl function in libm.
5174 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5175 Do not use wrapper because of own implementation.
5176
c8daec5c
L
51772014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5180 3 bytes for __pad1 for x32.
5181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5182
5c74e47c
LM
51832014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5184 H.J. Lu <hongjiu.lu@intel.com>
5185
5186 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5187 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5188 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5189 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5190 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5191
4d43ef1e
AS
51922014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5193
5194 [BZ #17069]
5195 * posix/regcomp.c (parse_expression): Deallocate partially
5196 constructed tree before returning error.
5197 * posix/Makefile.c (tests): Add bug-regex36.
5198 (generated): Add bug-regex36.mtrace.
5199 (tests-special): Add $(objpfx)bug-regex36-mem.out
5200 (bug-regex36-ENV): New variable.
5201 ($(objpfx)bug-regex36-mem.out): New rule.
5202 * posix/bug-regex36.c: New file.
5203
51a7380b
WN
52042014-06-19 Will Newton <will.newton@linaro.org>
5205
5206 * malloc/malloc.c (systrim): If extra is zero then return
5207 early.
5208
91b84fe5
SP
52092014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5210
5211 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5212
f940b965
RE
52132014-06-19 Richard Earnshaw <rearnsha@arm.com>
5214
5215 * sysdeps/aarch64/strchr.S: New file.
5216
4ba7a00f
JM
52172014-06-18 Joseph Myers <joseph@codesourcery.com>
5218
5219 [BZ #17022]
5220 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5221 from arguments -2 or below.
5222 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5223 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5224
b3a9f56b
AS
52252014-06-18 Andreas Schwab <schwab@suse.de>
5226
5227 [BZ #17062]
5228 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5229 of a bracket expr not to run off the end of the string.
5230 * posix/Makefile (tests): Add tst-fnmatch3.
5231 * posix/tst-fnmatch3.c: New file.
5232
85d89278
JM
52332014-06-18 Joseph Myers <joseph@codesourcery.com>
5234
5235 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5236 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5237 [$(cross-compiling) = no]: Likewise.
5238 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5239 [$(cross-compiling) = no]: Likewise.
5240
754c5a08
RS
52412014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5242
5243 [BZ #17031]
5244 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5245 double, adjusted for any remainder from the high double.
5246 * math/libm-test.inc (nearbyint): Add tests.
5247 (rint): Likewise.
5248
556f529d
AZ
52492014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5250
5251 * nptl/sysdeps/powerpc/Makefile: Moved ...
5252 * sysdeps/powerpc/nptl/Makefile: ... here.
5253 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5254 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5255 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5256 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5257 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5258 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5259 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5260 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5261 * nptl/sysdeps/powerpc/tls.h: Moved ...
5262 * sysdeps/powerpc/nptl/tls.h: ... here.
5263
91c03c53
JM
52642014-06-16 Joseph Myers <joseph@codesourcery.com>
5265
5266 [BZ #16681]
5267 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5268 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5269 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5270 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5271 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5272 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5273 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5274 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5275 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5276
a76e63c5
AS
52772014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5278
5279 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5280
f2f6d82f
AS
52812014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5282
ea8a15f6
AS
5283 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5284 defined operator.
5285
f2f6d82f
AS
5286 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5287 $TIMEOUTFACTOR.
5288
a7291117
FW
52892014-06-16 Florian Weimer <fweimer@redhat.com>
5290
5291 [BZ #17058]
5292 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5293 non-executed part of the test.
5294
3d7c00e3
AS
52952014-06-16 Andreas Schwab <schwab@suse.de>
5296
5297 * string/bits/string2.h (strdup, strndup): Update feature guard.
5298
6957fb31
DM
52992014-06-14 David S. Miller <davem@davemloft.net>
5300
5301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5302
11b9e55b
AS
53032014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5304
1d2a0492
AS
5305 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5306 that was previously under [RESET_PID].
5307 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5308
11b9e55b
AS
5309 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5310 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5311 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5312 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5313 (__libc_vfork): New strong alias.
5314 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5315
0f6901d0
AK
53162014-06-14 Andi Kleen <ak@linux.intel.com>
5317
5318 * sysdeps/generic/elide.h: New file.
5319
38bbbb9f
SL
53202014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5321
5322 * Makefile (installed-headers): Adjust path of pthread.h header.
5323
45193bb8
RM
53242014-06-13 Roland McGrath <roland@hack.frob.com>
5325
9a25fd1e
RM
5326 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5327 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5328 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5329 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5330
4004f7e4
RM
5331 * nptl/sysdeps/s390/Makefile: Moved ...
5332 * sysdeps/s390/nptl/Makefile: ... here.
5333 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5334 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5335 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5336 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5337 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5338 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5339 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5340 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5341 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5342 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5343 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5344 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5345 * nptl/sysdeps/s390/tls.h: Moved ...
5346 * sysdeps/s390/nptl/tls.h: ... here.
5347
45193bb8
RM
5348 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5349 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5350
f6fdf533
DM
53512014-06-13 David S. Miller <davem@davemloft.net>
5352
5353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5356 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5360 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5361 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5362 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5363 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5364 Remove RESET_PID cpp guards.
5365 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5366 Remove RESET_PID cpp guards.
5367 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5368
f5d71e14
AS
53692014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5370
5371 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5372 __sp to uintptr_t.
5373
b7aa8caa
AK
53742014-06-13 Andi Kleen <ak@linux.intel.com>
5375
4b266200
AZ
5376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5377 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5378 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5387 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5396
5397 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5398 (pthread_rwlock_rdlock): Add elision.
5399 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5400 (pthread_rwlock_wrlock): Add elision.
5401 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5402 (pthread_rwlock_trywrlock): Add elision.
5403 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5404 (pthread_rwlock_tryrdlock): Add elision.
5405 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5406 (pthread_rwlock_tryrdlock): Add elision unlock.
5407 * nptl/sysdeps/pthread/pthread.h:
5408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5409 (PTHREAD_RWLOCK_INITIALIZER,
5410 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5411 Handle new elision field.
5412 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5413 * sysdeps/arm/nptl/bits/pthreadtypes.h
5414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5415 * sysdeps/sh/nptl/bits/pthreadtypes.h
5416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5417 * sysdeps/tile/nptl/bits/pthreadtypes.h
5418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5419 * sysdeps/a/nptl/bits/pthreadtypes.h
5420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5421 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5425 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5429 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5431 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5433 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5435 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5437 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5438 (elision_init): Set try_xbegin to zero when no RTM.
5439 * sysdeps/x86/nptl/bits/pthreadtypes.h
5440 (pthread_rwlock_t): Change __pad1 to __rwelision.
5441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5442
a832bdd3
AK
54432014-06-13 Andi Kleen <ak@linux.intel.com>
5444
5445 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5446 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5447 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5448 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5449
995a46bb
MI
54502014-06-13 Meador Inge <meadori@codesourcery.com>
5451
5452 [BZ #16996]
03ed7738 5453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5454 that the cached result has been set before returning it.
5455
45262aee
RM
54562014-06-12 Roland McGrath <roland@hack.frob.com>
5457
febf6cc5
RM
5458 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5459 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5460 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5461 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5463 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5464
e2682246
RM
5465 * nptl/sysdeps/sparc/Makefile: Moved ...
5466 * sysdeps/sparc/nptl/Makefile: ... here.
5467 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5468 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5469 * nptl/sysdeps/sparc/tls.h: Moved ...
5470 * sysdeps/sparc/nptl/tls.h: ... here.
5471 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5472 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5473 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5474 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5475 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5476 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5477 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5478 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5479 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5480 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5481 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5482 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5483 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5484 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5485 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5486 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5487 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5488 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5489 Update #include.
5490 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5491 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5492 Update #include.
5493 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5495 Update #include.
5496 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5497 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5498 Update #include.
5499
b0725f43
RM
5500 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5501
b14368b8
RM
5502 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5503 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5504
c5620eb3
RM
5505 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5506 (struct list_links): Type removed.
5507 (struct thread_node, struct timer_node): Replace struct list_links
5508 with struct list_head.
5509 (list_unlink_ip): Likewise.
5510 * sysdeps/pthread/timer_routines.c
5511 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5512 (list_append, list_insbefore): Likewise.
5513 (list_init): Function removed.
5514 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5515 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5516 * sysdeps/pthread/Makefile: ... here, new file.
5517
5518 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5519 * sysdeps/nptl/Implies: ... here.
5520 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5521 * nptl/sysdeps/pthread/list.h: Moved ...
5522 * include/list.h: ... here.
5523 * nptl/sysdeps/pthread/createthread.c: Moved ...
5524 * nptl/createthread.c: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5526 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5527 * nptl/pt-longjmp.c: ... here.
5528 * nptl/sysdeps/pthread/Makefile: Moved ...
5529 * sysdeps/nptl/Makefile: ... here.
5530 * nptl/sysdeps/pthread/Subdirs: Moved ...
5531 * sysdeps/nptl/Subdirs: ... here.
5532 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5533 * sysdeps/nptl/aio_misc.h: ... here.
5534 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5535 * sysdeps/nptl/bits/libc-lock.h: ... here.
5536 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5537 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5538 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5539 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5540 * nptl/sysdeps/pthread/configure: Moved ...
5541 * sysdeps/nptl/configure: ... here.
5542 * nptl/sysdeps/pthread/configure.ac: Moved ...
5543 * sysdeps/nptl/configure.ac: ... here.
5544 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5545 * sysdeps/nptl/gai_misc.h: ... here.
5546 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5547 * sysdeps/nptl/librt-cancellation.c: ... here.
5548 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5549 * sysdeps/nptl/malloc-machine.h: ... here.
5550 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5551 * sysdeps/nptl/pthread-functions.h: ... here.
5552 * nptl/sysdeps/pthread/pthread.h: Moved ...
5553 * sysdeps/nptl/pthread.h: ... here.
5554 * nptl/sysdeps/pthread/setxid.h: Moved ...
5555 * sysdeps/nptl/setxid.h: ... here.
5556 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5557 * sysdeps/nptl/sigfillset.c: ... here.
5558 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5559 * sysdeps/nptl/tcb-offsets.h: ... here.
5560 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5561 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5562 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5563 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5564 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5565 * sysdeps/pthread/allocalim.h: ... here.
5566 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5567 * sysdeps/pthread/bits/sigthread.h: ... here.
5568 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5569 * sysdeps/pthread/flockfile.c: ... here.
5570 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5571 * sysdeps/pthread/ftrylockfile.c: ... here.
5572 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5573 * sysdeps/pthread/funlockfile.c: ... here.
5574 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5575 * sysdeps/pthread/posix-timer.h: ... here.
5576 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5577 * sysdeps/pthread/timer_create.c: ... here.
5578 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5579 * sysdeps/pthread/timer_delete.c: ... here.
5580 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5581 * sysdeps/pthread/timer_getoverr.c: ... here.
5582 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5583 * sysdeps/pthread/timer_gettime.c: ... here.
5584 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5585 * sysdeps/pthread/timer_routines.c: ... here.
5586 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5587 * sysdeps/pthread/timer_settime.c: ... here.
5588 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5589 * sysdeps/pthread/tst-timer.c: ... here.
5590 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5591 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5592
e876b090
RM
5593 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5594 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5595
f6b07b3d
RM
5596 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5597 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5598 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5599 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5600 Update #include target.
5601 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5602 * sysdeps/i386/i686/nptl/Makefile: ... here.
5603 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5604 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5605 Update #include target.
5606 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5607 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5608 * nptl/sysdeps/i386/Makefile: Moved ...
5609 * sysdeps/i386/nptl/Makefile: ... here.
5610 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5611 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5612 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5613 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5614 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5615 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5616 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5617 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5618 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5619 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5620 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5621 * nptl/sysdeps/i386/tls.h: Moved ...
5622 * sysdeps/i386/nptl/tls.h: ... here.
5623
45262aee
RM
5624 * sysdeps/sh/Makefile [$(subdir) = csu]
5625 (gen-as-const-headers): Add tcb-offsets.sym.
5626 * nptl/sysdeps/sh/Makefile: File removed.
5627 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5628 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5629 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5630 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5631 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5632 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5633 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5634 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5635 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5636 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5637 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5638 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5639 * nptl/sysdeps/sh/tls.h: Moved ...
5640 * sysdeps/sh/nptl/tls.h: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5642 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5643 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5644 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5646 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5648 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5649 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5650 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5652 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5654 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5656 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5658 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5660 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5662 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5664 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5666 Moved ...
5667 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5669 Moved ...
5670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5676 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5677 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5678 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5680 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5681 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5682 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5684 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5685 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5686 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5687 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5688 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5689
35a5e3e3
SL
56902014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5691
5692 * posix/spawn_faction_addopen.c: Include string.h.
5693
14642b85
RM
56942014-06-11 Roland McGrath <roland@hack.frob.com>
5695
5696 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5697 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5698 * nptl/sysdeps/x86_64/Makefile: Moved ...
5699 * sysdeps/x86_64/nptl/Makefile: ... here.
5700 * nptl/sysdeps/x86_64/configure: Moved ...
5701 * sysdeps/x86_64/nptl/configure: ... here.
5702 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5703 * sysdeps/x86_64/nptl/configure.ac: ... here.
5704 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5705 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5706 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5707 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5708 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5709 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5710 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5711 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5712 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5713 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5714 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5715 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5716 * nptl/sysdeps/x86_64/tls.h: Moved ...
5717 * sysdeps/x86_64/nptl/tls.h: ... here.
5718 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5719 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5720 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5721 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5722
5723 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5724
31c44fea
AZ
57252014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5726
5727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5728
e81a4f9a
JM
57292014-06-11 Joseph Myers <joseph@codesourcery.com>
5730
5731 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5732 type.
5733 [POSIX] (off_t): Likewise.
5734 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5735 [POSIX] (S_ISBLK): Require macro.
5736 [POSIX] (S_ISCHR): Likewise.
5737 [POSIX] (S_ISDIR): Likewise.
5738 [POSIX] (S_ISFIFO): Likewise.
5739 [POSIX] (S_ISREG): Likewise.
5740 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5741 optional-macro.
5742 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5743 type.
5744 [POSIX] (time_t): Likewise.
5745 [POSIX] (timer_t): Likewise.
5746
89e435f3
FW
57472014-06-11 Florian Weimer <fweimer@redhat.com>
5748
5749 [BZ #17048]
5750 * posix/spawn_int.h (struct __spawn_action): Make the path string
5751 non-const to support deallocation.
5752 * posix/spawn_faction_addopen.c
5753 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5754 * posix/spawn_faction_destroy.c
5755 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5756 path in all spawn_do_open actions.
5757 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5758 posix_spawn_file_actions_addopen.
5759
c3a2ebe1
CM
57602014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5761
5762 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5763 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5764 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5765 conditional code always true.
5766 (__libc_vfork): New alias.
5767
9503784a
RM
57682014-06-11 Roland McGrath <roland@hack.frob.com>
5769
c9cab3d2
RM
5770 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5771 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5772
d3996c79
RM
5773 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5774
ba5ec611
RM
5775 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5776 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5777
f12b4814
RM
5778 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5779 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5780
9503784a
RM
5781 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5782 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5783
e23d3d26
VR
57842014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5785
5786 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5787 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5788 multiarch strcmp for PPC64.
5789 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5790 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5792 multiarch optimizations.
5793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5794 (__libc_ifunc_impl_list): Likewise.
5795
42b1161e
SP
57962014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5797
5798 * benchtests/scripts/validate_benchout.py: New script.
5799 * benchtests/Makefile (bench-func): Call it.
5800 * benchtests/scripts/benchout.schema.json: New file.
5801
2d0fc4dc
CM
58022014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5803
4a594c34
AZ
5804 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5805 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5806 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5807 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5808 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5809 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5810 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5811 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5812 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5813 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5814 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5815 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5816 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5817 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5818 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5819 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5821 Moved ...
4a594c34 5822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5823 ... here.
4a594c34 5824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5825 Moved ...
4a594c34
AZ
5826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5828 Moved ...
4a594c34 5829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5830 ... here.
4a594c34 5831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5832 Moved ...
4a594c34 5833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5834 ... here.
4a594c34 5835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5836 Moved ...
4a594c34
AZ
5837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5839 Moved ...
4a594c34 5840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5841 ... here.
4a594c34 5842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5843 Moved ...
4a594c34 5844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5845 ... here.
4a594c34 5846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5847 Moved ...
4a594c34
AZ
5848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5850 Moved ...
4a594c34 5851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5852 ... here.
4a594c34 5853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5854 Moved ...
4a594c34 5855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5856 ... here.
4a594c34 5857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5858 Moved ...
4a594c34 5859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5860 ... here.
4a594c34 5861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5862 Moved ...
4a594c34
AZ
5863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5865 Moved ...
4a594c34 5866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5867 ... here.
4a594c34 5868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5869 Moved ...
4a594c34 5870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5871 ... here.
4a594c34 5872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5873 Moved ...
4a594c34 5874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5875 ... here.
4a594c34 5876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5877 Moved ...
4a594c34
AZ
5878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5880 Moved ...
4a594c34 5881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5882 ... here.
4a594c34 5883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5884 Moved ...
4a594c34 5885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5886 ... here.
4a594c34 5887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5888 Moved ...
4a594c34
AZ
5889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5891 Moved ...
4a594c34 5892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5893 ... here.
4a594c34 5894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5895 Moved ...
4a594c34
AZ
5896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5898 Moved ...
4a594c34
AZ
5899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5901 Moved ...
4a594c34 5902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5903 ... here.
4a594c34 5904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5905 Moved ...
4a594c34 5906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5907 ... here.
4a594c34 5908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5909 Moved ...
4a594c34 5910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5911 ... here.
4a594c34 5912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5913 Moved ...
4a594c34
AZ
5914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5916 Moved ...
4a594c34 5917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5918 ... here.
4a594c34 5919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5920 Moved ...
4a594c34 5921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5922 ... here.
4a594c34
AZ
5923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5924 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5926 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5928 Moved ...
4a594c34 5929 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5930 ... here.
4a594c34
AZ
5931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5932 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5934 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5936 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5940 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5942 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5944 Moved ...
4a594c34
AZ
5945 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5947 Moved ...
4a594c34
AZ
5948 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5952 Moved ...
4a594c34
AZ
5953 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5955 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5956 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5957 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5958 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5959 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5960
0570cfed
W
59612014-06-10 Wilco <wdijkstr@arm.com>
5962
5963 * math/test-fenv-return.c: New file.
5964 * math/Makefile: Add new test test-fenv-return.
5965
f8ba1b56
JM
59662014-06-10 Joseph Myers <joseph@codesourcery.com>
5967
5968 [BZ #17042]
5969 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5970 when x - 1 is zero.
5971 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5972 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5973 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5974 0.0L for an argument of 1.0L.
5975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5976 Likewise.
5977 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5978 value when x - 1 is zero.
5979 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5980 * sysdeps/i386/fpu/libm-test-ulps: Update.
5981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5982
2c3520d9
BO
59832014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5984
5985 [BZ #15119]
5986 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5987
acaa4d24
RM
59882014-06-09 Roland McGrath <roland@hack.frob.com>
5989
5990 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5991 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5992
962b744d
RM
59932014-06-09 Roland McGrath <roland@hack.frob.com>
5994
d752f0cc
RM
5995 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5996 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5997
34eda6d1
RM
5998 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5999 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6000
50f0a637
RM
6001 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6002 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6003
08f41f04
RM
6004 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6005 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6006
962b744d
RM
6007 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6008 if not already defined.
6009 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6010 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6011 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6012 (TLS_INIT_TP): Use it.
6013 (TLS_DEFINE_INIT_TP): New macro.
6014 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6015
09f19b05
JM
60162014-06-09 Joseph Myers <joseph@codesourcery.com>
6017
6018 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6019 constant.
6020 [POSIX] (IXANY): Likewise.
6021 [POSIX] (OLCUC): Likewise.
6022 [POSIX || POSIX2008] (CBAUD): Do not allow.
6023 [POSIX || POSIX2008] (DEFECHO): Likewise.
6024 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6025 [POSIX || POSIX2008] (ECHOKE): Likewise.
6026 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6027 [POSIX || POSIX2008] (EXTA): Likewise.
6028 [POSIX || POSIX2008] (EXTB): Likewise.
6029 [POSIX || POSIX2008] (FLUSHO): Likewise.
6030 [POSIX || POSIX2008] (LOBLK): Likewise.
6031 [POSIX || POSIX2008] (PENDIN): Likewise.
6032 [POSIX || POSIX2008] (SWTCH): Likewise.
6033 [POSIX || POSIX2008] (VDISCARD): Likewise.
6034 [POSIX || POSIX2008] (VDSUSP): Likewise.
6035 [POSIX || POSIX2008] (VLNEXT): Likewise.
6036 [POSIX || POSIX2008] (VREPRINT): Likewise.
6037 [POSIX || POSIX2008] (VSTATUS): Likewise.
6038 [POSIX || POSIX2008] (VWERASE): Likewise.
6039 (B*): Change to B[0123456789]*.
6040 * conform/data/time.h-data [POSIX || UNIX98]
6041 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6042 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6043 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6044 [POSIX] (tm_*): Do not allow.
6045
686554bf
JM
60462014-06-07 Joseph Myers <joseph@codesourcery.com>
6047
6048 * Makefile (install): Don't set LANGUAGE.
6049 * Makefile.in (install): Likewise.
6050 * assert/Makefile (test-assert-ENV): Remove variable.
6051 (test-assert-perr-ENV): Likewise.
6052 * elf/Makefile (neededtest4-ENV): Likewise.
6053 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6054 [$(cross-compiling) = no]: Don't set LANGUAGE.
6055 * io/ftwtest-sh (LANG): Remove variable.
6056 * libio/Makefile (tst-widetext-ENV): Likewise.
6057 * manual/install.texi (Running make install): Don't refer to
6058 environment settings for make install.
6059 * INSTALL: Regenerated.
6060 * nptl/tst-tls6.sh: Don't set LANG.
6061 * posix/globtest.sh (LANG): Remove variable.
6062 * string/Makefile (tester-ENV): Likewise.
6063 (inl-tester-ENV): Likewise.
6064 (noinl-tester-ENV): Likewise.
6065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6066 [$(cross-compiling) = no]: Don't set LANGUAGE.
6067 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6068 without explicit environment settings.
6069
68e6b6b1
RM
60702014-06-06 Roland McGrath <roland@hack.frob.com>
6071
6072 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6073 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6075 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6076
4d3ae034
CM
60772014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6078
6079 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6080 other files in the crypt directory.
6081 * crypt/crypt.c: Remove duplicate includes.
6082 * crypt/crypt-entry.c: Likewise.
6083 * crypt/crypt_util.c: Likewise.
6084
8540f6d2
JM
60852014-06-06 Joseph Myers <joseph@codesourcery.com>
6086
6087 * Makeconfig (run-program-env): New variable.
6088 (run-program-prefix-before-env): Likewise.
6089 (run-program-prefix-after-env): Likewise.
6090 (run-program-prefix): Define in terms of new variables.
6091 (built-program-cmd-before-env): New variable.
6092 (built-program-cmd-after-env): Likewise.
6093 (built-program-cmd): Define in terms of new variables.
6094 (test-program-prefix-before-env): New variable.
6095 (test-program-prefix-after-env): Likewise.
6096 (test-program-prefix): Define in terms of new variables.
6097 (test-program-cmd-before-env): New variable.
6098 (test-program-cmd-after-env): Likewise.
6099 (test-program-cmd): Define in terms of new variables.
6100 * Rules (make-test-out): Use $(run-program-env).
6101 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6102 (help): Do not mention environment variables. Mention
6103 --timeoutfactor option.
6104 (timeoutfactor): New variable.
6105 (blacklist_exports): Remove function.
6106 (exports): Remove variable.
6107 (command): Do not include ${exports}.
6108 * manual/install.texi (Configuring and compiling): Do not mention
6109 test wrappers preserving environment variables. Mention that last
6110 assignment to a variable must take precedence.
6111 * INSTALL: Regenerated.
6112 * benchtests/Makefile (run-bench): Use $(run-program-env).
6113 * catgets/Makefile ($(objpfx)test1.cat): Use
6114 $(built-program-cmd-before-env), $(run-program-env) and
6115 $(built-program-cmd-after-env).
6116 ($(objpfx)test2.cat): Do not specify environment variables
6117 explicitly.
6118 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6119 $(run-program-env) and $(built-program-cmd-after-env).
6120 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6121 $(run-program-env) and $(test-program-cmd-after-env).
6122 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6123 explicitly.
6124 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6125 run_program_env and test_program_cmd_after_env arguments.
6126 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6127 * elf/tst-pathopt.sh: Use run_program_env argument.
6128 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6129 $(test-wrapper-env) and $(run-program-env).
6130 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6131 run_program_env arguments.
6132 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6133 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6134 $(test-program-prefix-before-env), $(run-program-env) and
6135 $(test-program-prefix-after-env).
6136 ($(objpfx)tst-gettext2.out): Likewise.
6137 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6138 run_program_env and test_program_prefix_after_env arguments.
6139 * intl/tst-gettext2.sh: Likewise.
6140 * intl/tst-gettext4.sh: Do not set environment variables
6141 explicitly.
6142 * intl/tst-gettext6.sh: Likewise.
6143 * intl/tst-translit.sh: Likewise.
6144 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6145 $(test-program-prefix-before-env), $(run-program-env) and
6146 $(test-program-prefix-after-env).
6147 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6148 run_program_env and test_program_prefix_after_env arguments.
6149 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6150 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6151 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6152 explicitly with each use of ${test_wrapper_env}.
6153 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6154 $(test-program-prefix-before-env), $(run-program-env) and
6155 $(test-program-prefix-after-env).
6156 * posix/tst-getconf.sh: Do not set environment variables
6157 explicitly.
6158 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6159 run_program_env and test_program_prefix_after_env arguments.
6160 * stdio-common/tst-printf.sh: Do not set environment variables
6161 explicitly.
6162 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6163 $(test-program-prefix-before-env), $(run-program-env) and
6164 $(test-program-prefix-after-env).
6165 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6166 run_program_env and test_program_prefix_after_env arguments.
6167 Split $test calls into $test_pre and $test.
6168 * timezone/Makefile (build-testdata): Use
6169 $(built-program-cmd-before-env), $(run-program-env) and
6170 $(built-program-cmd-after-env).
6171
ed36bfa1
AZ
61722014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173
6174 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6175 strlen for non SHARED builds.
6176
fc75bf46
SP
61772014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6178
6179 * nptl/allocatestack.c (check_list): Inlined function...
6180 (__reclaim_stacks): ... here.
6181
d89b3d80
OB
61822014-06-05 Ondřej Bílka <neleai@seznam.cz>
6183
6184 [BZ #15698]
6185 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6186 memory overrun.
6187
2bf18041
JM
61882014-06-05 Joseph Myers <joseph@codesourcery.com>
6189
6190 * Rules (make-test-out): Include
6191 LOCPATH=$(common-objpfx)localedata in default environment.
6192 * debug/Makefile (tst-chk1-ENV): Remove variable.
6193 (tst-chk2-ENV): Likewise.
6194 (tst-chk3-ENV): Likewise.
6195 (tst-chk4-ENV): Likewise.
6196 (tst-chk5-ENV): Likewise.
6197 (tst-chk6-ENV): Likewise.
6198 (tst-lfschk1-ENV): Likewise.
6199 (tst-lfschk2-ENV): Likewise.
6200 (tst-lfschk3-ENV): Likewise.
6201 (tst-lfschk4-ENV): Likewise.
6202 (tst-lfschk5-ENV): Likewise.
6203 (tst-lfschk6-ENV): Likewise.
6204 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6205 (tst-iconv7-ENV): Likewise.
6206 * intl/Makefile (LOCPATH-ENV): Likewise.
6207 (tst-codeset-ENV): Likewise.
6208 (tst-gettext3-ENV): Likewise.
6209 (tst-gettext5-ENV): Likewise.
6210 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6211 (tst-fopenloc-ENV): Likewise.
6212 (tst-fgetws-ENV): Remove variable.
6213 (tst-ungetwc1-ENV): Likewise.
6214 (tst-ungetwc2-ENV): Likewise.
6215 (bug-ungetwc2-ENV): Likewise.
6216 (tst-swscanf-ENV): Likewise.
6217 (bug-ftell-ENV): Likewise.
6218 (tst-fgetwc-ENV): Likewise.
6219 (tst-fseek-ENV): Likewise.
6220 (tst-ftell-partial-wide-ENV): Likewise.
6221 (tst-ftell-active-handler-ENV): Likewise.
6222 (tst-ftell-append-ENV): Likewise.
6223 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6224 (tst-regexloc-ENV): Likewise.
6225 (bug-regex1-ENV): Likewise.
6226 (tst-regex-ENV): Likewise.
6227 (tst-regex2-ENV): Likewise.
6228 (bug-regex5-ENV): Likewise.
6229 (bug-regex6-ENV): Likewise.
6230 (bug-regex17-ENV): Likewise.
6231 (bug-regex18-ENV): Likewise.
6232 (bug-regex19-ENV): Likewise.
6233 (bug-regex20-ENV): Likewise.
6234 (bug-regex22-ENV): Likewise.
6235 (bug-regex23-ENV): Likewise.
6236 (bug-regex25-ENV): Likewise.
6237 (bug-regex26-ENV): Likewise.
6238 (bug-regex30-ENV): Likewise.
6239 (bug-regex32-ENV): Likewise.
6240 (bug-regex33-ENV): Likewise.
6241 (bug-regex34-ENV): Likewise.
6242 (bug-regex35-ENV): Likewise.
6243 (tst-rxspencer-ENV): Likewise.
6244 (tst-rxspencer-no-utf8-ENV): Likewise.
6245 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6246 (tst-sscanf-ENV): Likewise.
6247 (tst-swprintf-ENV): Likewise.
6248 (tst-swscanf-ENV): Likewise.
6249 (test-vfprintf-ENV): Likewise.
6250 (scanf13-ENV): Likewise.
6251 (bug14-ENV): Likewise.
6252 (tst-grouping-ENV): Likewise.
6253 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6254 (tst-strtod3-ENV): Likewise.
6255 (tst-strtod4-ENV): Likewise.
6256 (tst-strtod5-ENV): Likewise.
6257 (testmb2-ENV): Likewise./
6258 * string/Makefile (tst-strxfrm-ENV): Likewise.
6259 (tst-strxfrm2-ENV): Likewise.
6260 (bug-strcoll1-ENV): Likewise.
6261 (test-strcasecmp-ENV): Likewise.
6262 (test-strncasecmp-ENV): Likewise.
6263 * time/Makefile (tst-strptime-ENV): Likewise.
6264 (tst-ftime_l-ENV): Likewise.
6265 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6266 (tst-mbrtowc-ENV): Likewise.
6267 (tst-wcrtomb-ENV): Likewise.
6268 (tst-mbrtowc2-ENV): Likewise.
6269 (tst-c16c32-1-ENV): Likewise.
6270 (tst-mbsnrtowcs-ENV): Likewise.
6271
cd1fb604
OB
62722014-06-05 Ondřej Bílka <neleai@seznam.cz>
6273
6274 * manual/resource.texi (How to get information about the memory
6275 subsystem?): Fix typo.
6276 Reported by Peon de la Parra Ivan <peon@keba.com>
6277
b42eca7d
GY
62782014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6279
6280 [BZ #16882]
6281 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6282 (pthread_spin_lock): Branch out of spin loop to proper location.
6283 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6284 (pthread_spin_lock): Likewise.
6285
902b71f9
DM
6286 * nptl/tst-spin4.c: New test.
6287 * nptl/Makefile (tests): Add tst-spin4.
6288
f9d2d032
AS
62892014-06-03 Andreas Schwab <schwab@suse.de>
6290
6291 [BZ #15946]
6292 * resolv/res_send.c (send_dg): Reload file descriptor after
6293 calling reopen.
6294
cf7bfd28
SL
62952014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6296
6297 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6298
111cc714
RH
62992014-06-03 Richard Henderson <rth@redhat.com>
6300
89b4bd6b
RH
6301 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6302 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6303 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6304 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6305 in the SAVE_PID block.
6306 (__libc_vfork): New alias.
71840409 6307 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6308
111cc714
RH
6309 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6310 child in registers, not on the stack. Remove RESET_PID conditionals.
6311 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6312
ccc39911
MS
63132014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6314
6315 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6316
693096cc
W
63172014-06-03 Wilco <wdijkstr@arm.com>
6318
6319 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6320 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6321 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6322 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6323 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6324 Likewise.
6325
0b4366bc
W
63262014-06-03 Wilco <wdijkstr@arm.com>
6327
6328 * sysdeps/aarch64/fpu/math_private.h
6329 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6330 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6331 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6332 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6333 Fix declarations.
6334
8747cd03
KS
63352014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6336
6337 * crypt/crypt-private.h: Include ufc-crypt.h.
6338 (__b64_from_24bit): Declare extern.
6339 * crypt/crypt_util.c(__b64_from_24bit): New function.
6340 (b64t): New static const variable.
6341 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6342 (b64t): Remove variable.
6343 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6344 * crypt/sha256-crypt.c: Include crypt-private.h.
6345 (b64t): Remove variable.
6346 (__sha256_crypt_r): Remove b64_from_24bit and replace
6347 with __b64_from_24bit.
6348 * crypt/sha512-crypt.c: Likewise.
6349
d936d379
RM
63502014-06-02 Roland McGrath <roland@hack.frob.com>
6351
6352 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6353 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6354 Label the code __libc_vfork rather than __vfork.
6355 [!NOT_IN_libc] (vfork): Define as weak alias.
6356 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6357 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6358 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6359
9fa76613
SP
63602014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6361
6362 * malloc/malloc.c (malloc_info): Fix format specifier for
6363 n_mmaps.
6364
a88dadbe
W
63652014-06-02 Wilco <wdijkstr@arm.com>
6366
6367 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6368 FPCR write.
6369
c95b3011
W
63702014-06-02 Wilco <wdijkstr@arm.com>
6371
6372 [BZ #17009]
6373 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6374 Rewrite to reduce FPCR/FPSR accesses.
6375
6b4d7a90
DM
63762014-06-01 David S. Miller <davem@davemloft.net>
6377
6378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6379
30f3d07c
DM
63802014-05-31 David S. Miller <davem@davemloft.net>
6381
6382 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6383 to occur in round to nearest mode when |x| >= 2.0
6384
74f31c18
RH
63852014-05-30 Richard Henderson <rth@twiddle.net>
6386
f0712b54
RH
6387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6388 (PSEUDO_RET_NOERRNO): Remove.
6389 (ret): Don't redefine.
6390 (ret_NOERRNO): Define in terms of ret.
6391 (ret_ERRVAL): Likewise.
6392
74f31c18
RH
6393 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6394 use of PSEUDO_RET; perform the error check directly.
6395
30477995
MM
63962014-05-30 Marko Myllynen <myllynen@redhat.com>
6397
6398 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6399 with __int128_t.
6400
62a58816
SP
64012014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6402
6403 * malloc/malloc (malloc_info): Fix formatting.
6404
4d653a59
SP
64052014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6406 Roland McGrath <roland@hack.frob.com>
6407
6408 * malloc/malloc (malloc_info): Also print mmapped statistics.
6409
5190c17f
RM
64102014-05-30 Roland McGrath <roland@hack.frob.com>
6411
6412 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6413 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6414
987c0269
OB
64152014-05-30 Ondřej Bílka <neleai@seznam.cz>
6416
6417 * malloc/malloc.c (malloc_info): Inline mi_arena.
6418
af4e8ef9
RH
64192014-05-29 Richard Henderson <rth@twiddle.net>
6420
1670e207
RH
6421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6422 Remove comma before expanding ASM_ARGS_##nr.
6423 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6424 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6425 of ASM_ARGS_##nr.
6426 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6427 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6428 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6429 (ASM_ARGS_1): Add leading comma.
6430
11a28aee
RH
6431 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6432 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6433 to __errno_location.
6434 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6435 Remove the expected plt for __errno_location.
6436
a17e5ffb 6437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6438 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6439 call to __read_tp.
6440
b5be4597
RH
6441 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6442 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6443 it and break it down.
6444 (DOCARGS_0, DOCARGS_1): Do nothing.
6445 (DOCARGS_2): Update to store into the new stack frame.
6446 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6447 (UNDOCARGS_1): Update to restore from the new stack frame.
6448 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6449 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6450
645d44ab
RH
6451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6452 (SINGLE_THREAD_P): New parameter for result regno.
6453 (PSEUDO): Update to match; use cbz instead of beq.
6454
a8b4f04a
RH
6455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6456 Use ENTRY to define the _nocancel entry point. Share the syscall
6457 and syscall error check paths with the cancel path.
6458 (PSEUDO_END): New.
6459
af4e8ef9
RH
6460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6461 whitespace; tabs before and after asm mnemonics.
6462
26b0d2e1
EW
64632014-05-29 Eric Wong <normalperson@yhbt.net>
6464
6465 [BZ #15132]
6466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6467 Call fstat64 or stat64 internally, depending on arguments passed.
6468 Replace stat buffer argument with file descriptor argument.
6469 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6470 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6471 Pass fd to __internal_statvfs instead of calling fstat64.
6472 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6473 Pass fd to __internal_statvfs64 instead of calling fstat64.
6474 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6475 Pass -1 to __internal_statvfs instead of calling stat64.
6476 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6477 Pass -1 to __internal_statvfs64 instead of calling stat64.
6478
1efe2bd9
RM
64792014-05-28 Roland McGrath <roland@hack.frob.com>
6480
0d3b7a19
RM
6481 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6482 that was previously under [RESET_PID].
6483 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6484
1efe2bd9
RM
6485 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6486 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6487
a6bea3ca
RM
64882014-05-27 Roland McGrath <roland@hack.frob.com>
6489
30b6629e
RM
6490 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6491
a6bea3ca
RM
6492 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6493 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6494
3dfb9a5c
OB
64952014-05-27 Ondřej Bílka <neleai@seznam.cz>
6496
6497 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6498
774f9285
AS
64992014-05-27 Andreas Schwab <schwab@suse.de>
6500
6501 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6502 TLS_INIT_TP macro.
6503 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6504 * elf/rtld.c (init_tls, dl_main): Likewise.
6505 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6506 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6507 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6508 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6509 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6510 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6511 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6512 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6513 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6514 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6515 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6516 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6517 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6518 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6519 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6520 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6521 * sysdeps/generic/tls.h: Update description.
6522
36ffe739
WN
65232014-05-27 Will Newton <will.newton@linaro.org>
6524
6525 [BZ #16990]
6526 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6527 and restore r2 rather than just restoring.
6528
2482ae43
SP
65292014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6530
6531 [BZ #16724]
6532 * libio/tst-ftell-append.c: New test case.
6533 * libio/Makefile (tests): Add test case.
6534 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6535 append mode.
6536 * libio/wfileops.c (do_ftell_wide): Likewise.
6537
3d1024e8
AZ
65382014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539
bab90016
AZ
6540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6541
c7a8d667
AZ
6542 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6543 ...
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6546 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6547 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6548 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6549 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6550 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6551 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6552 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6553 Moved ...
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6556 Moved ...
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6558 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6559 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6560 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6561 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6562 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6563 ...
6564 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6566 Moved ...
6567 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6568 here.
6569 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6570 ...
6571 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6572 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6573 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6574
daee7851
AZ
6575 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6576 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6578 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6579
50a40819
AZ
6580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6581 merge into ...
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6584 ...
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6587 ...
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6590 Moved ...
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6592 here.
6593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6594 Moved ...
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6597 Moved ...
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6599
8464c2a1
AZ
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6601 conditional [RESET_PID].
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6604 removed.
6605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6606 removed.
6607
3d1024e8
AZ
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6609 <tcb-offsets.h>.
6610 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6611 (__libc_vfork): New strong alias.
6612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6613 removed.
6614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6615 Removed.
6616
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6618 <tcb-offsets.h>.
6619 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6620 (__libc_vfork): New strong alias.
6621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6622 removed.
6623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6624 removed.
6625
fdfd175d
CD
66262014-05-26 Carlos O'Donell <carlos@redhat.com>
6627
6628 * malloc/malloc.c (mi_arena): New function.
6629 (malloc_info): Remove nested function mi_arena. Call non-nosted
6630 function mi_arena.
6631
d298c416
AZ
66322014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633
6634 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6635 by insrwi.
6636 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6637 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6638 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6639 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6640 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6641 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6642 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6643
b60ea6ff
AS
66442014-05-26 Andreas Schwab <schwab@suse.de>
6645
6646 [BZ #16984]
6647 * locale/programs/repertoire.c (repertoire_read): Add slash
6648 between I18NPATH element and file name.
6649 * locale/programs/locfile.c (locfile_read): Likewise.
6650
67365926
SL
66512014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6652
6653 * nptl/pthread_mutexattr_settype.c
6654 (__pthread_mutexattr_settype):
6655 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6656
f8bdf1f0
SL
66572014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6658
6659 * nptl/tst-mutex5 (do_test):
6660 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6661
15eaf6ff
SP
66622014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6663
6664 * benchtests/README: Document 'init' directive.
6665 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6666 BENCH_INIT.
6667 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6668 (parse_file): Recognize 'init' directive.
6669
75f11331
KM
66702014-05-26 Kyle McMartin <kyle@redhat.com>
6671
6672 [BZ #16796]
6673 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6674 alignment of struct pthread.
6675
c3ec475c
SP
66762014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6677
6678 [BZ #16878]
6679 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6680 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6681 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6682 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6683
82aab97c
RH
66842014-05-25 Richard Henderson <rth@twiddle.net>
6685
aa2f176d
RH
6686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6687 (SINGLE_THREAD_P_PIC): Remove.
6688 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6689 (SINGLE_THREAD_P_PIC): Remove.
6690
ca3cfa40
RH
6691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6692 branch to syscall error ...
6693 (PSEUDO): ... here.
6694 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6695 from __local_syscall_error to .Lsyscall_error.
6696 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6697 (SYSCALL_ERROR): Update label name.
6698
6e6c2d01
RH
6699 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6700 Do not use DOARGS/UNDOARGS.
6701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6702 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6703 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6704 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6705 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6706
c69abcee
RH
6707 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6708 block comment.
6709
82aab97c
RH
6710 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6711 define if !NOT_IN_libc.
6712 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6713 define with non-default symbol versions.
6714
8820e3ac
RH
67152014-05-23 Richard Henderson <rth@twiddle.net>
6716
900e445f
RH
6717 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6718 (vfork, __vfork): Define via compat_symbol.
6719
8820e3ac
RH
6720 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6721 [!HAVE_IFUNC] (vfork_compat): Remove.
6722 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6723
e59252a5
JM
67242014-05-23 Joseph Myers <joseph@codesourcery.com>
6725
6726 [BZ #16978]
6727 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6728 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6729 variable.
6730
132c7f5f
RH
67312014-05-23 Richard Henderson <rth@twiddle.net>
6732
bc89e962
RH
6733 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6734 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6735 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6736 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6737
6738 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6739 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6741 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6742 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6743 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6745 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6746 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6747 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6748 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6749 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6750 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6751 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6753 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6754 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6755 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6756 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6757 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6758 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6759 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6760 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6761 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6763 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6764 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6765 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6766 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6767 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6771 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6773 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6774 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6775 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6776 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6777 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6778 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6779 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6780 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6781 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6782 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6783 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6785 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6787 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6789 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6791 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6793 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6794
e2fa4bc2
RH
6795 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6796 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6797 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6798 before exiting on error.
6799 (__libc_vfork): New strong alias.
6800 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6801 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6802
279b24e2
RH
6803 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6804 that was previously under [RESET_PID].
6805 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6806
132c7f5f
RH
6807 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6808
b72592e7
JM
68092014-05-23 Joseph Myers <joseph@codesourcery.com>
6810
6811 [BZ #16977]
6812 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6813 value when x - 1 is zero.
6814 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6815 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6816 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6817 0.0L for an argument of 1.0L.
6818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6819 Likewise.
6820 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6821 value when x - 1 is zero.
6822 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6823 * sysdeps/i386/fpu/libm-test-ulps: Update.
6824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6825
2302d679
RV
68262014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6827
6828 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6829 alphasort and versionsort.
6830
32999d63
AZ
68312014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832
6833 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6834 macro.
6835 [copysignf]: Likewise.
6836
019324d0
SP
68372014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6838
6839 * crypt/md5-crypt.c: Fix formatting.
6840
34fff5c2
KS
68412014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6842
6843 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6844 (b64_from_24bit): New function.
6845
3d2badac
AZ
68462014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847
6848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6849 libc_hidden_builtin_def to ifunc.
6850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6851 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6852
f7bb179f 68532014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6854
6855 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6856 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6857
4134b50d
JM
68582014-05-21 Joseph Myers <joseph@codesourcery.com>
6859
bb7d0337
JM
6860 * nscd/Depend (linuxthreads): Remove.
6861 (nptl): Add.
6862 * resolv/Depend (linuxthreads): Remove.
6863 * rt/Depend (linuxthreads): Remove.
6864
4134b50d
JM
6865 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6866 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6867 $(common-objpfx)elf/.
6868 (link-libc-before-gnulib): Likewise.
6869 (elfobjdir): Remove variable.
6870 * Makefile (install): Use $(elf-objpfx) instead of
6871 $(common-objpfx)elf/.
6872 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6873 $(elfobjdir)/.
6874 (link-libc-deps): Likewise.
6875 ($(common-objpfx)libc.so): Likewise.
6876 ($(common-objpfx)linkobj/libc.so): Likewise.
6877 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6878 instead of $(common-objpfx)elf/.
6879 (symbolic-link-list): Likewise.
6880 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6881 [$(cross-compiling) = no]: Likewise.
6882 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6883 $(elfobjdir)/.
6884 (static-gnulib-arch): Likewise.
6885 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6886 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6887 $(common-objpfx)elf/.
6888
3612eb8f
RH
68892014-05-21 Richard Henderson <rth@redhat.com>
6890
a6b3657b
RH
6891 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6892 (SINGLE_THREAD_P): Use the correct width load. Fold
6893 into the ldr offset.
6894
3612eb8f
RH
6895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6896 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6897
175cef41
JM
68982014-05-20 Joseph Myers <joseph@codesourcery.com>
6899
6900 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6901 (libgcc_s_resume): Use __attribute_used__.
6902 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6903 Likewise.
6904
e13bccd3
AZ
69052014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6908 optimization when used with float constants.
6909
7c112a38
AZ
6910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6911
ae75a883
AJ
69122014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6913
6914 [BZ #16915]
6915 * locale/nl_langinfo_l.c: Make direct reference to every
6916 _nl_current_CATEGORY symbol.
6917 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6918 (tests-static): Add tst-langinfo-static.
6919 (tests-special): Add tst-langinfo-static.out.
6920 ($(objpfx)tst-langinfo.out): Redirect output.
6921 ($(objpfx)tst-langinfo-static.out): New.
6922 * localedata/tst-langinfo.sh: Send output to stdout.
6923 * localedata/tst-langinfo-static.c: New file.
6924
4406c41c
AJ
6925 [BZ #16965]
6926 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6927 when the shift amount is modulo the limb size.
6928
4c0a1e63
RH
69292014-05-20 Richard Henderson <rth@redhat.com>
6930
de9d8f20
RH
6931 [BZ #16967]
6932 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6933 Change type of sa_flags from unsigned int to int.
6934
4c0a1e63
RH
6935 [BZ #16966]
6936 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6937
6938 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6939
a60339aa
WN
69402014-05-20 Will Newton <will.newton@linaro.org>
6941
6942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6943 Test the return value of the system call in the nocancel case.
6944
7d05a816
YR
69452014-05-20 Will Newton <will.newton@linaro.org>
6946 Yvan Roux <yvan.roux@linaro.org>
6947
6948 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6949 #include of asm/ptrace.h.
6950 (PTRACE_GET_THREAD_AREA): Remove #undef.
6951 (PTRACE_GETHBPREGS): Likewise.
6952 (PTRACE_SETHBPREGS): Likewise.
6953 (struct user_regs_struct): New structure.
6954 (struct user_fpsimd_struct): New structure.
6955 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6956 #include of asm/ptrace.h and second #include of sys/user.h.
6957 (PTRACE_GET_THREAD_AREA): Remove #undef.
6958 (PTRACE_GETHBPREGS): Likewise.
6959 (PTRACE_SETHBPREGS): Likewise.
6960 (ELF_NGREG): Use new struct user_regs_struct.
6961 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6962
af121e37
AZ
69632014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6964
6965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6967
834caf06
JM
69682014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6969
6970 [BZ #16958]
6971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6972 membar to avoid block loads/stores to overlap previous stores.
6973
e184a918
RH
69742014-05-17 Richard Henderson <rth@redhat.com>
6975
6976 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6977 Create the __##syscall_name##_nocancel entry point.
6978 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6979 Remove; let the sysdep-cancel.h code create it.
6980
f56c7a6a
DM
69812014-05-17 David S. Miller <davem@davemloft.net>
6982
6983 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6984 Protect with __USE_GNU.
6985 (TIOCSET_TEMPT): Likewise.
6986 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6987 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6988 these are already provided in bits/ioctl-types.h
6989
f75616b2
RM
69902014-05-16 Roland McGrath <roland@hack.frob.com>
6991
3edeca86
RM
6992 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6993 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6994
f75616b2
RM
6995 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6996 Use wait4 regardless of [__NR_waitpid].
6997
deb0f7f6
MR
69982014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6999
7000 PR libgcc/60166
7001 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7002 (_FP_NANSIGN_Q): Set the quiet bit.
7003
79520f4b
JM
70042014-05-16 Joseph Myers <joseph@codesourcery.com>
7005
7006 * benchtests/Makefile
7007 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7008 not $(common-objpfx)math/libm.so.
7009 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7010 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7011 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7012 $(common-objpfx)dlfcn/libdl.so.
7013 ($(objpfx)tst-audit8): Depend on $(libm), not
7014 $(common-objpfx)math/libm.so.
7015 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7016 not $(common-objpfx)dlfcn/libdl.so.
7017 * math/Makefile
7018 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7019 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7020 [$(build-shared) = yes].
7021 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7022 $(common-objpfx)nptl/libpthread.so.
7023 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7024 $(common-objpfx)math/libm.so$(libm.so-version) or
7025 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7026 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7027 $(common-objpfx)dlfcn/libdl.so.
7028 * setjmp/Makefile (link-libm): Remove variable.
7029 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7030 * stdio-common/Makefile (link-libm): Remove variable.
7031 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7032 * stdlib/Makefile (link-libm): Remove variable.
7033 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7034 ($(objpfx)tst-strtod-round): Likewise.
7035 ($(objpfx)tst-tininess): Likewise.
7036 ($(objpfx)tst-strtod-underflow): Likewise.
7037 ($(objpfx)tst-strtod6): Likewise.
7038 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7039 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7040 $(common-objpfx)dlfcn/libdl.so.
7041
026b0fe4
AZ
70422014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7043
7044 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7045 BSD terminal modes definitions.
7046
def4bcb2
RM
70472014-05-16 Roland McGrath <roland@hack.frob.com>
7048
fe39b021
RM
7049 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7050 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7051
1d1fc46e 7052 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7053 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7054 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7055 Don't do #include_next.
7056 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7057 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7058 Don't do #include_next.
7059 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7060 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7061 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7062 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7063
c72399fb
AM
70642014-05-16 Allan McRae <allan@archlinux.org>
7065
d51d659d
AM
7066 * po/sv.po: Update Swedish translation from translation project.
7067
c72399fb
AM
7068 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7069 in sed expression.
7070
d0583c40
AJ
70712014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7072
7073 [BZ #16917]
7074 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7075 errno if the TIOCGPTN ioctl fails with an error different than
7076 EINVAL.
7077 * login/tst-ptsname.c: New file.
7078 * login/Makefile (tests): Add tst-ptsname.
7079
d16e6ec7
AJ
7080 [BZ #16943]
7081 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7082 and prlimit64.
7083
cf26a0cb
SP
70842014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 [BZ #16849]
7087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7088 herrno to return EAI_AGAIN.
7089
5675da1e
RM
70902014-05-14 Roland McGrath <roland@hack.frob.com>
7091
a5d87b3d
RM
7092 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7093 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7094 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7095 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7096 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7097 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7098 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7099 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7101 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7102 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7103 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7104 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7107 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7108 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7109 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7111 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7117 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7118 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7119 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7120 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7121 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7123 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7125 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7127 Moved ...
7128 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7134 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7136 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7138 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7140 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7142 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7144 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7146 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7148 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7150 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7152 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7154 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7156 Moved ...
7157 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7159 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7177 Moved ...
7178 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7180 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7181
039890a6
RM
7182 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7183 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7184 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7185 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7186 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7187 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7188 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7189 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7190 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7191 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7192 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7193 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7194 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7195 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7196 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7197 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7198 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7199 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7200 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7201 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7202 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7203 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7204 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7213
65c89320
RM
7214 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7215 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7216
348f8e8c
RM
7217 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7218 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7219 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7220 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7221 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7222 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7223 Moved ...
7224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7225 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7226 Moved ...
7227 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7229 Moved ...
7230 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7232 Moved ...
7233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7234 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7235 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7236 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7237 Moved ...
7238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7240 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7242 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7243 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7244 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7246 Moved ...
7247 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7249 Moved ...
7250 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7251 ... here.
7252 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7253 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7255 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7257 Moved ...
7258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7259 ... here.
7260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7261 Moved ...
7262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7264 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7265 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7266 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7267 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7268 Moved ...
7269 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7270 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7271 Moved ...
7272 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7274 Moved ...
7275 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7277 Moved ...
7278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7279 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7280 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7281 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7282 Moved ...
7283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7285 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7287 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7288 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7289 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7291 Moved ...
7292 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7294 Moved ...
7295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7296 ... here.
7297 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7298 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7300 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7302 Moved ...
7303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7304 ... here.
7305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7306 Moved ...
7307 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7309 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7311 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7314 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7315 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7316 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7317 Moved ...
7318 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7320 Moved ...
7321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7323 Moved ...
7324 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7326 Moved ...
7327 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7328 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7329 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7330 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7331 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7332 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7333 Moved ...
7334 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7336 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7338 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7339 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7340 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7342 Moved ...
7343 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7344 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7345 Moved ...
7346 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7347 ... here.
7348 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7349 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7350 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7351 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7353 Moved ...
7354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7355 ... here.
7356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7357 Moved ...
7358 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7359 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7360 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7361 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7362 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7363 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7364 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7365 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7366 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7367 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7368 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7369
5085af05
RM
7370 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7371 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7372
708f0813
RM
7373 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7374 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7375
c96067bc
RM
7376 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7377 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7378 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7379 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7380 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7382 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7383 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7384 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7386 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7390 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7392 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7394 Moved ...
7395 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7399 Moved ...
7400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7404 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7406 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7408 Moved ...
7409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7411 Moved ...
7412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7418 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7420 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7422 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7424 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7426 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7427 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7429
ec136444
RM
7430 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7431 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7432 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7433 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7434 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7435
2fbdf533
RM
7436 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7437 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7438 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7439 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7440 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7441 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7442 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7443 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7444 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7445 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7446
4c68138b
RM
7447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7449
4eaae765
RM
7450 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7451 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7452 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7453 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7455 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7457 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7459 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7461 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7463 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7465 Update #include.
7466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7467 Likewise.
7468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7469 Likewise.
7470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7471 Likewise.
7472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7473 Likewise.
7474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7475 Likewise.
7476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7477 Likewise.
7478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7479 Likewise.
7480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7481 Likewise.
7482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7483 Likewise.
4ef6befa
RM
7484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7490 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7495 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7499
941d7dfd
RM
7500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7501 that was previously under [RESET_PID].
7502 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7503 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7504 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7505
1b731c35
RM
7506 * sysdeps/i386/nptl/Implies: New file.
7507 * sysdeps/x86_64/nptl/Implies: New file.
7508 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7509 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7510 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7511 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7512
e2787137
RM
7513 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7514 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7515 (__libc_vfork): New strong alias.
7516 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7517 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7518
7519 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7520 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7521 (__libc_vfork): New strong alias.
7522 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7523 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7524
5675da1e
RM
7525 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7526 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7527 (__libc_vfork): New strong alias.
7528 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7529 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7530 * nptl/pt-vfork.c: New file.
7531 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7532 (libpthread: GLIBC_2.20): New version set (empty).
7533
4f02e2b8
WN
75342014-05-14 Will Newton <will.newton@linaro.org>
7535
7536 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7537 rather than #if.
7538
0bf061d3
JM
75392014-05-14 Joseph Myers <joseph@codesourcery.com>
7540
1a84c3d6
JM
7541 [BZ #16564]
7542 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7543 arguments with exponent 65 or above.
7544 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7545 arguments 0x1p113L or above.
7546 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7547 to arguments 0x1p107L or above.
7548 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7549 positive arguments with exponent 65 or above.
7550 * math/auto-libm-test-in: Add more tests of log1p.
7551 * math/auto-libm-test-out: Regenerated.
7552
01dbacd2
JM
7553 [BZ #16928]
7554 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7555 non-finite arguments is +0.
7556 * math/s_cacosf.c (__cacosf): Likewise.
7557 * math/s_cacosl.c (__cacosl): Likewise.
7558 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7559 * sysdeps/i386/fpu/libm-test-ulps: Update.
7560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7561
913d03c8
JM
7562 [BZ #16927]
7563 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7564 value.
7565 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7566 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7567 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7568 for explicit high bit of mantissa when testing for argument equal
7569 to 1.
7570 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7571 * sysdeps/i386/fpu/libm-test-ulps: Update.
7572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7573
0bf061d3
JM
7574 [BZ #16516]
7575 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7576 (__erf): Scale by 16 instead of 8 in potentially underflowing
7577 case. Ensure exception if result actually underflows.
7578 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7579 (__erff): Scale by 16 instead of 8 in potentially underflowing
7580 case. Ensure exception if result actually underflows.
7581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7582 (efx8): Remove variable.
7583 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7584 case. Ensure exception if result actually underflows.
7585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7586 (efx8): Remove variable.
7587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7588 case. Ensure exception if result actually underflows.
7589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7590 (efx8): Remove variable.
7591 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7592 case. Ensure exception if result actually underflows.
7593 * math/auto-libm-test-in: Add more tests of erf.
7594 * math/auto-libm-test-out: Regenerated.
7595
73ba67cb
AS
75962014-05-14 Andreas Schwab <schwab@suse.de>
7597
3d8c8bff
AS
7598 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7599 Remove code conditionalized on USE___THREAD.
7600
73ba67cb
AS
7601 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7602 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7603 not definedness.
7604
5c521ecd
JM
76052014-05-14 Joseph Myers <joseph@codesourcery.com>
7606
5e7698c6
JM
7607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7608 Define unconditionally.
7609 (__ASSUME_O_CLOEXEC): Likewise.
7610 (__ASSUME_SOCK_CLOEXEC): Likewise.
7611 (__ASSUME_IN_NONBLOCK): Likewise.
7612 (__ASSUME_PIPE2): Likewise.
7613 (__ASSUME_EVENTFD2): Likewise.
7614 (__ASSUME_SIGNALFD4): Likewise.
7615 (__ASSUME_DUP3): Likewise.
7616 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7617 (__ASSUME_DUP3): Do not define.
7618 (__ASSUME_EVENTFD2): Likewise.
7619 (__ASSUME_IN_NONBLOCK): Likewise.
7620 (__ASSUME_O_CLOEXEC): Likewise.
7621 (__ASSUME_PIPE2): Likewise.
7622 (__ASSUME_SIGNALFD4): Likewise.
7623 (__ASSUME_SOCK_CLOEXEC): Likewise.
7624 (__ASSUME_UTIMES): Undefine.
7625 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7626 (__ASSUME_UTIMES): Do not define.
7627 (__ASSUME_O_CLOEXEC): Likewise.
7628 (__ASSUME_SOCK_CLOEXEC): Likewise.
7629 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7630 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7631 0x020621].
7632 (__ASSUME_PIPE2): Likewise.
7633 (__ASSUME_EVENTFD2): Likewise.
7634 (__ASSUME_SIGNALFD4): Likewise.
7635 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7636 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7637 Do not define.
7638 (__ASSUME_EVENTFD2): Likewise.
7639 (__ASSUME_SIGNALFD4): Likewise.
7640 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7641 (__ASSUME_32BITUIDS): Likewise.
7642 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7643 (__ASSUME_IPC64): Likewise.
7644 (__ASSUME_ST_INO_64_BIT): Likewise.
7645 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7646 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7647 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7648 (__ASSUME_UTIMES): Do not define.
7649 (__ASSUME_PSELECT): Likewise.
7650 (__ASSUME_PPOLL): Likewise.
7651 (__ASSUME_O_CLOEXEC): Likewise.
7652 (__ASSUME_SOCK_CLOEXEC): Likewise.
7653 (__ASSUME_IN_NONBLOCK): Likewise.
7654 (__ASSUME_PIPE2): Likewise.
7655 (__ASSUME_EVENTFD2): Likewise.
7656 (__ASSUME_SIGNALFD4): Likewise.
7657 (__ASSUME_DUP3): Likewise.
7658 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7659 (__ASSUME_UTIMES): Likewise.
7660 (__ASSUME_O_CLOEXEC): Likewise.
7661 (__ASSUME_SOCK_CLOEXEC): Likewise.
7662 (__ASSUME_IN_NONBLOCK): Likewise.
7663 (__ASSUME_PIPE2): Likewise.
7664 (__ASSUME_EVENTFD2): Likewise.
7665 (__ASSUME_SIGNALFD4): Likewise.
7666 (__ASSUME_DUP3): Likewise.
7667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7668 (__ASSUME_UTIMES): Likewise.
7669 (__ASSUME_O_CLOEXEC): Likewise.
7670 (__ASSUME_SOCK_CLOEXEC): Likewise.
7671 (__ASSUME_IN_NONBLOCK): Likewise.
7672 (__ASSUME_PIPE2): Likewise.
7673 (__ASSUME_EVENTFD2): Likewise.
7674 (__ASSUME_SIGNALFD4): Likewise.
7675 (__ASSUME_DUP3): Likewise.
7676 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7677 Likewise.
7678 (__ASSUME_UTIMES): Likewise.
7679 (__ASSUME_EVENTFD2): Likewise.
7680 (__ASSUME_SIGNALFD4): Likewise.
7681 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7682 (__ASSUME_O_CLOEXEC): Likewise.
7683 (__ASSUME_SOCK_CLOEXEC): Likewise.
7684 (__ASSUME_IN_NONBLOCK): Likewise.
7685 (__ASSUME_PIPE2): Likewise.
7686 (__ASSUME_EVENTFD2): Likewise.
7687 (__ASSUME_SIGNALFD4): Likewise.
7688 (__ASSUME_DUP3): Likewise.
7689 (__ASSUME_UTIMES): Undefine.
7690
5c521ecd
JM
7691 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7692 feclearexcept. Remove symbol versioning code.
7693 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7694 symbol versioning code.
7695 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7696 symbol versioning code.
7697 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7698 feupdateenv. Remove symbol versioning code.
7699 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7700 fegetexceptflag. Remove symbol versioning code.
7701 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7702 fesetexceptflag. Remove symbol versioning code.
7703 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7704 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7705 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7706 (__posix_fadvise64_l32): Remove prototype.
7707 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7708 code.
7709
5da9dfad
RM
77102014-05-13 Roland McGrath <roland@hack.frob.com>
7711
7712 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7713 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7714 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7715 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7716
893b4f37
SK
77172014-05-13 Sami Kerola <kerolasa@iki.fi>
7718
7719 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7720 current working directory
7721
e0db6517
RM
77222014-05-13 Roland McGrath <roland@hack.frob.com>
7723
58aa195d
RM
7724 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7725 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7726 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7727 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7728 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7729 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7730 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7731 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7753 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7757 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7758 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7759 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7760 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7761 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7762 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7763 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7764 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7765 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7766
8c6d01f0
RM
7767 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7768 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7769
7770 * sysdeps/unix/sysv/linux/arm/Makefile
7771 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7772 Add rt-aeabi_unwind_cpp_pr1.
7773 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7774 Add nptl-aeabi_unwind_cpp_pr1.
7775 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7776 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7777 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7778 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7779 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7780 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7781
7782 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7783 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7784 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7785 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7786
bba6da4e
RM
7787 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7788 Deconditionalize the code that was previously under [RESET_PID].
7789 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7790
e0db6517
RM
7791 * sysdeps/generic/exit-thread.h: New file.
7792 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7793 * include/unistd.h (__exit_thread): Remove declaration.
7794 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7795 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7796 * csu/libc-start.c: Include <exit-thread.h>.
7797 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7798 * nptl/pthread_create.c: Include <exit-thread.h>.
7799 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7800 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7801 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7802 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7803 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7804 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7805 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7806 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7807 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7808 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7809 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7810 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7811 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7812 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7813 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7814 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7815 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7816
01eb16fd
AS
78172014-05-13 Andreas Schwab <schwab@suse.de>
7818
7819 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7820
637461d9
JM
78212014-05-12 Joseph Myers <joseph@codesourcery.com>
7822
7823 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7824 (__ASSUME_UTIMES): Do not condition on kernel version.
7825 (__ASSUME_PSELECT): Define unconditionally.
7826 (__ASSUME_PPOLL): Likewise.
7827 (__ASSUME_ATFCTS): Likewise.
7828 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7829 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7830 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7831 (__ASSUME_UTIMENSAT): Define unconditionally.
7832 (__ASSUME_PRIVATE_FUTEX): Likewise.
7833 (__ASSUME_FALLOCATE): Likewise.
7834 (__ASSUME_O_CLOEXEC): Likewise.
7835 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7836 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7837 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7838 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7839 (__ASSUME_IN_NONBLOCK): Likewise.
7840 (__ASSUME_PIPE2): Likewise.
7841 (__ASSUME_EVENTFD2): Likewise.
7842 (__ASSUME_SIGNALFD4): Likewise.
7843 (__ASSUME_DUP3): Likewise.
7844 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7845 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7846 (__ASSUME_AT_RANDOM): Likewise.
7847 (__ASSUME_PREADV): Likewise.
7848 (__ASSUME_PWRITEV): Likewise.
7849 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7850 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7851 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7853 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7854 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7855 (__ASSUME_O_CLOEXEC): Define unconditionally.
7856 (__ASSUME_PSELECT): Do not undefine conditionally.
7857 (__ASSUME_PPOLL): Likewise.
7858 (__ASSUME_ATFCTS): Likewise.
7859 (__ASSUME_SET_ROBUST_LIST): Likewise.
7860 (__ASSUME_UTIMENSAT): Likewise.
7861 (__ASSUME_FDATASYNC): Define unconditionally.
7862 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7863 (__ASSUME_SIGFRAME_V2): Likewise.
7864 )__ASSUME_EVENTFD2): Likewise.
7865 (__ASSUME_SIGNALFD4): Likewise.
7866 (__ASSUME_PSELECT): Do not undefine conditionally.
7867 (__ASSUME_PPOLL): Likewise.
7868 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7869 (__ASSUME_PSELECT): Define unconditionally.
7870 (__ASSUME_PPOLL): Likewise.
7871 (__ASSUME_O_CLOEXEC): Likewise.
7872 (__ASSUME_SOCK_CLOEXEC): Likewise.
7873 (__ASSUME_IN_NONBLOCK): Likewise.
7874 (__ASSUME_PIPE2): Likewise.
7875 (__ASSUME_EVENTFD2): Likewise.
7876 (__ASSUME_SIGNALFD4): Likewise.
7877 (__ASSUME_DUP3): Likewise.
7878 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7879 (__ASSUME_O_CLOEXEC): Likewise.
7880 (__ASSUME_SOCK_CLOEXEC): Likewise.
7881 (__ASSUME_IN_NONBLOCK): Likewise.
7882 (__ASSUME_PIPE2): Likewise.
7883 (__ASSUME_EVENTFD2): Likewise.
7884 (__ASSUME_SIGNALFD4): Likewise.
7885 (__ASSUME_DUP3): Likewise.
7886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7887 (__ASSUME_EVENTFD2): Likewise.
7888 (__ASSUME_SIGNALFD4): Likewise.
7889 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7890
315eb1d8
AS
78912014-05-12 Andreas Schwab <schwab@suse.de>
7892
7893 [BZ #16932]
7894 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7895 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7896 than maximum RPC packet size.
7897 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7898 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7899 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7900 (_nss_nis_getservbyport_r): Likewise.
7901
91df99f7
WN
79022014-05-12 Will Newton <will.newton@linaro.org>
7903
7904 * malloc/Makefile (tests): Add tst-mallopt.
7905 * malloc/tst-mallopt.c: New file.
7906
0a982a29
RM
79072014-05-09 Roland McGrath <roland@hack.frob.com>
7908
7909 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7910 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7911
0ded08a5
AZ
79122014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7913
7914 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7915 (tst-tlsmod6.so): Likewise.
7916
55d4d550
RM
79172014-05-09 Roland McGrath <roland@hack.frob.com>
7918
7919 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7920
77d08aca
JM
79212014-05-09 Joseph Myers <joseph@codesourcery.com>
7922
7923 [BZ #16064]
7924 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7925 and <dl-procinfo.h>.
7926 (__fegetenv): Save SSE state in envp->__eip if supported.
7927 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7928 envp->__eip if supported.
7929 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7930 and <dl-procinfo.h>.
7931 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7932 __data_offset and __data_selector in environment to 0. Set SSE
7933 state if supported.
7934 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7935 test-fenv-sse.
7936 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7937 -mfpmath=sse.
7938 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7939
28162f4d
WN
79402014-05-09 Will Newton <will.newton@linaro.org>
7941
7942 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7943 and libc_relro_required for ARM.
7944 * sysdeps/arm/preconfigure: Regenerate.
7945
5a414ff7
DV
79462014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7947 Stefan Liebler <stli@linux.vnet.ibm.com>
7948
7949 * config.make.in (enable-lock-elision): New Makefile variable.
7950 * configure.ac: Likewise.
7951 * configure: Regenerate.
7952 * sysdeps/s390/configure.ac:
7953 Add check for gcc transactions support.
7954 * sysdeps/s390/configure: Regenerate.
7955 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7956 Build elision files if enabled.
7957 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7958 Add lock elision support for s390.
7959 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7960 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7961 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7962 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7963 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7964 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7966 Likewise.
7967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7968 Likewise.
7969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7970 Likewise.
7971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7972 Likewise.
7973 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7974 (__lll_timedlock_elision, __lll_lock_elision)
7975 (__lll_unlock_elision, __lll_trylock_elision)
7976 (lll_timedlock_elision, lll_lock_elision)
7977 (lll_unlock_elision, lll_trylock_elision): Add.
7978 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7979 (pthread_mutex_t): Add lock elision support for s390.
7980
1a2f40e5
W
79812014-05-14 Wilco <wdijkstr@arm.com>
7982
7983 * sysdeps/arm/fclrexcpt.c: Cleanup.
7984 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7985 * sysdeps/arm/feenablxcpt.c: Cleanup.
7986 * sysdeps/arm/fegetenv.c: Cleanup.
7987 * sysdeps/arm/fegetexcept.c: Cleanup.
7988 * sysdeps/arm/fegetround.c: Cleanup.
7989 * sysdeps/arm/feholdexcpt.c: Cleanup.
7990 * sysdeps/arm/fesetenv.c: Cleanup.
7991 * sysdeps/arm/fesetround.c: Cleanup.
7992 * sysdeps/arm/feupdateenv.c: Cleanup.
7993 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7994 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7995 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7996 * sysdeps/arm/ftestexcept.c: Cleanup.
7997 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7998 * sysdeps/arm/setfpucw.c: Cleanup.
7999
f63c86fe
WN
80002014-05-09 Will Newton <will.newton@linaro.org>
8001
8002 * sysdeps/arm/armv7/strcmp.S: New file.
8003 * NEWS: Mention addition of ARMv7 optimized strcmp.
8004
7a1a51b5
RM
80052014-05-08 Roland McGrath <roland@hack.frob.com>
8006
95afbbe5
RM
8007 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8008 look for %.ac rather than %.in.
8009
8010 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8011 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8012 * sysdeps/mach/hurd/configure: Regenerated.
8013 * sysdeps/unix/sysv/linux/configure: Regenerated.
8014
7a1a51b5
RM
8015 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8016
5057ad3b
SE
80172014-05-07 Steve Ellcey <sellcey@mips.com>
8018
8019 [BZ# 16922]
8020 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8021 (LONG_SUB): Ditto.
8022 (PTR_SUB): Ditto.
8023
8dc97517
AS
80242014-05-07 Andreas Schwab <schwab@suse.de>
8025
8026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8027 when skipping over non-matching result from nscd.
8028
ce0c5b8f
OB
80292014-05-07 Ondřej Bílka <neleai@seznam.cz>
8030
8031 [BZ #16876]
8032 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8033
a1189263
OB
8034 [BZ #16877]
8035 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8036 nscd security class.
ce0c5b8f 8037
0f58d252
RM
80382014-05-06 Roland McGrath <roland@hack.frob.com>
8039
8040 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8041 * sysdeps/arm/unwind.h: ... here.
8042
83df9ad0
AJ
80432014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8044
ce0c5b8f
OB
8045 [BZ# 16916]
8046 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8047 Define.
83df9ad0 8048
f360f94a
VR
80492014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8050
8051 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8052 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8053 multiarch strncpy for PPC64.
8054 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8055 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8057 multiarch optimizations.
8058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8059 (__libc_ifunc_impl_list): Likewise.
8060 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8061 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8062 multiarch stpncpy for PPC64.
8063 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8064 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8065
978a41c3
AS
80662014-05-06 Andreas Schwab <schwab@suse.de>
8067
8068 [BZ #16912]
8069 * gmon/mcount.c (_MCOUNT_DECL): Use
8070 atomic_compare_and_exchange_bool_acq instead of
8071 catomic_compare_and_exchange_bool_acq.
8072
eb1ed03d
RM
80732014-05-05 Roland McGrath <roland@hack.frob.com>
8074
fe658845
RM
8075 * elf/Makefile (others, install-bin): Remove pldd.
8076 (pldd-modules): Variable removed.
8077 ($(objpfx)pldd): Target removed.
8078 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8079 (others, install-bin): Append pldd here.
8080 ($(objpfx)pldd): New target.
8081
eb1ed03d
RM
8082 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8083 to 0, so the first #if test emitted later doesn't see it undefined.
8084 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8085 * sysdeps/gnu/errlist.c: Regenerated.
8086
19c4bec0
AZ
80872014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8088
8089 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8090 [libc_hidden_builtin_def]: Define to empty value.
8091 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8092 [libc_hidden_builtin_def]: Likewise.
8093 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8094 [libc_hidden_builtin_def]: Likewise.
8095 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8096 [libc_hidden_builtin_def]: Likewise.
8097 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8098 __redirect_memcpy and define ifunc as default hidden symbol.
8099 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8100 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8101
7776e669
AC
81022014-05-04 Adam Conrad <adconrad@0c3.net>
8103
8104 * locale/iso-4217.def: Reintroduce XDR currency.
8105
d69aeb12
AM
81062014-05-04 Allan McRae <allan@archlinux.org>
8107
8108 * po/eo.po: Update Esperanto translation from translation project.
8109
8f1df5cf
CD
81102014-05-02 Carlos O'Donell <carlos@redhat.com>
8111
8112 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8113 and FEATURE_INDEX_MAX to 1.
8114 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8115
13e402e7
SE
81162014-05-01 Steve Ellcey <sellcey@mips.com>
8117
8118 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8119 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8120 * iconvdata/big5.c (ONE_DIRECTION): Define.
8121 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8122 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8123 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8124 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8125 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8126 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8127 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8128 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8129 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8130 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8131 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8132 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8133 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8134 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8135 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8136 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8137 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8138 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8139 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8140 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8141 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8142 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8143 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8144 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8145 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8146 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8147 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8148 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8149 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8150 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8151 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8152 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8153 * iconvdata/johab.c (ONE_DIRECTION): Define.
8154 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8155 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8156 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8157 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8158 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8159 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8160 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8161 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8162 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8163 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8164
c727f032
RM
81652014-05-01 Roland McGrath <roland@hack.frob.com>
8166
8f2f08d0
RM
8167 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8168 (_IO_JUMPS_OFFSET): Define to 0.
8169
c727f032
RM
8170 * nptl/sysdeps/pthread/bits/libc-lock.h
8171 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8172 (__libc_lock_define_initialized_recursive): Always define using
8173 initializer. Modern compilers treat uninitialized (implicit zero) and
8174 explicit zero initializers the same (i.e. put the datum in bss).
8175
a849e800
AS
81762014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8177
8178 * nscd/nscd-client.h: Include <string.h>.
8179
5331255b
DM
81802014-05-01 David S. Miller <davem@davemloft.net>
8181
8182 [BZ #16885]
8183 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8184 multiple zero bytes exist at the end of a string.
8185 Reported by Aurelien Jarno <aurelien@aurel32.net>
8186
8187 * string/test-strcmp.c (check): Add explicit test for situations where
8188 there are multiple zero bytes after the first.
8189
4fdfe821
AS
81902014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8191
8192 [BZ #16890]
8193 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8194 when compiling wprintf.
8195 * stdio-common/tstdiomisc.c (t3): New function.
8196 (main): Call it.
8197
0cdddc25
SE
81982014-05-01 Steve Ellcey <sellcey@mips.com>
8199
8200 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8201 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8202 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8203 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8204
6426d77e
SE
82052014-05-01 Steve Ellcey <sellcey@mips.com>
8206
8207 * stdlib/longlong.h: Updated from GCC.
8208
6d96f5e4
WN
82092014-05-01 Will Newton <will.newton@linaro.org>
8210 Bernard Ogden <bernie.ogden@linaro.org>
8211
7470db0c
WN
8212 * NEWS: Update fixed bug list.
8213
6d96f5e4
WN
8214 [BZ #15119]
8215 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8216
211d653c
DM
82172014-04-30 David S. Miller <davem@davemloft.net>
8218
4fa262fa
DM
8219 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8220 (libc_feholdexcept_setround_sparc_ctx): New function.
8221 (libc_fesetenv_sparc_ctx): Likewise.
8222 (libc_feupdateenv_sparc_ctx): Likewise.
8223 (libc_feholdsetround_sparc_ctx): Likewise.
8224 (libc_feholdexcept_setround_ctx): Define.
8225 (libc_feholdexcept_setroundf_ctx): Likewise.
8226 (libc_feholdexcept_setroundl_ctx): Likewise.
8227 (libc_fesetenv_ctx): Likewise.
8228 (libc_fesetenvf_ctx): Likewise.
8229 (libc_fesetenvl_ctx): Likewise.
8230 (libc_feupdateenv_ctx): Likewise.
8231 (libc_feupdateenvf_ctx): Likewise.
8232 (libc_feupdateenvl_ctx): Likewise.
8233 (libc_feresetround_ctx): Likewise.
8234 (libc_feresetroundf_ctx): Likewise.
8235 (libc_feresetroundl_ctx): Likewise.
8236 (libc_feholdsetround_ctx): Likewise.
8237 (libc_feholdsetroundf_ctx): Likewise.
8238 (libc_feholdsetroundl_ctx): Likewise.
8239
1d3d93ef
DM
8240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8241 with __USE_GNU instead of XOPEN cpp guards.
8242
8aa583c3
DM
8243 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8244 0.
8245
211d653c
DM
8246 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8247 with XOPEN cpp guards.
8248
60c8f1f6
JB
82492014-04-30 Julian Brown <julian@codesourcery.com>
8250
8251 [BZ #16888]
8252 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8253 handling.
8254
9a461d46
JM
82552014-04-30 Joseph Myers <joseph@codesourcery.com>
8256
d0f5b3f8
JM
8257 [BZ #9894]
8258 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8259 Change to 2.6.32.
8260 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8261 * sysdeps/unix/sysv/linux/configure: Regenerated.
8262 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8263 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8264 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8265 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8266 * README: Update reference to required Linux kernel version.
8267 * manual/install.texi (Linux): Update reference to required Linux
8268 kernel headers version.
8269 * INSTALL: Regenerated.
8270
9a461d46
JM
8271 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8272 header inclusion.
8273 [POSIX] (limits.h): Likewise.
8274 [POSIX] (math.h): Likewise.
8275 [POSIX] (sys/wait.h): Likewise.
8276 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8277 function.
8278 [POSIX] (stddef.h): Do not allow header inclusion.
8279
1775babf
AZ
82802014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8281
57f41c40 8282 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8283
8f630cca
YY
82842014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8285
8286 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8287 Return immediately after lll_futex_wake.
8288
1cdeb237
SP
82892014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8290
bc8f194c
SP
8291 [BZ #16791]
8292 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8293 structure.
8294 (datahead_init_pos): Call datahead_init_common early.
8295 (datahead_init_neg): Likewise.
8296
1cdeb237
SP
8297 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8298 datahead_init_neg): New functions.
8299 * nscd/aicache.c (addhstaiX): Use them.
8300 * nscd/grpcache.c (cache_addgr): Likewise.
8301 * nscd/hstcache.c (cache_addhst): Likewise.
8302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8303 * nscd/netgroupcache.c (do_notfound): Likewise.
8304 (addgetnetgrentX): Likewise.
8305 (addinnetgrX): Likewise.
8306 * nscd/pwdcache.c (cache_addpw): Likewise.
8307 * nscd/servicescache.c (cache_addserv): Likewise.
8308
16b293a7
SP
83092014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8310 Atsushi Onoe <atsushi@onoe.org>
8311
8312 [BZ #14308]
8313 [BZ #12994]
8314 [BZ #13651]
8315 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8316 one response is valid.
8317 * resolv/res_send.c (send_dg): Check for validity of other
8318 response if the current response is a referral.
8319
a28a9b94
SE
83202014-04-29 Steve Ellcey <sellcey@mips.com>
8321
8322 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8323
2ca180e9
SL
83242014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8325
8326 [BZ #16823]
8327 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8328 Always divide by positive zero when computing -Inf result.
8329 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8330 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8331
18f2945a
AZ
83322014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8333
8334 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8335 FPSCR if value do not change.
8336 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8337 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8338 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8339 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8340 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8341 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8342 function.
8343
5abebba4
CD
83442014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8345
8346 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8347 * sysdeps/unix/sysv/linux/hppa: Move directory from
8348 ports/systeps/unix/sysv/linux/hppa.
8349 * README: Update listing for hppa-*-linux-gnu.
8350
f7ed60c2
OB
83512014-04-28 Ondřej Bílka <neleai@seznam.cz>
8352
fff763a5
OB
8353 [BZ #16754]
8354 * manual/stdio.texi (Hook functions): Fix types of stream hook
8355 functions.
f7ed60c2
OB
8356 [BZ #16854]
8357 * socket/sys/socket.h: Fix typo in comment.
8358
df639d73
WD
83592014-04-28 Wilco <wdijkstr@arm.com>
8360
f7ed60c2 8361 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8362 * sysdeps/arm/math_private.h: New file.
8363 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8364
48332d82
L
83652014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8366
8367 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8368 with __int128_t.
8369 (La_x86_64_retval): Likewise.
8370
e5e0d9a4
IB
83712014-04-24 Ian Bolton <ian.bolton@arm.com>
8372
8373 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8374 fpsr if value didn't change.
8375 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8376 to fpcr if value didn't change.
8377 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8378 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8379 fpsr or fpcr if value didn't change.
8380 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8381 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8382 fpcr if value didn't change.
8383 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8384 to fpsr if value didn't change.
8385
bacc75f7
SP
83862014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8387
8388 * nptl/tst-sem3.c: Use test-skeleton.c
8389 (main): Rename to do_test. Use return instead of
8390 exit.
8391 * nptl/tst-sem4.c: Use test-skeleton.c
8392 (main): Rename to do_test.
8393
a059d359
DM
83942014-04-22 David S. Miller <davem@davemloft.net>
8395
8396 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8397 (struct sigaction): New struct member __glibc_reserved0, change
8398 type of sa_flags to int.
8399
ea6c92f3
YZ
84002014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8401
8402 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8403 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8404
766c4a36
SP
84052014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8406
8407 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8408 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8409
140cc7ab
VK
84102014-04-22 Will Newton <will.newton@linaro.org>
8411 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8412
8413 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8414 (__longjmp): Add longjmp and longjmp_target SystemTap
8415 probes.
8416 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8417 (__sigsetjmp): Add setjmp SystemTap probe.
8418
c54e5cf7
CD
84192014-04-17 Carlos O'Donell <carlos@redhat.com>
8420
8421 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8422 match manual order.
8423
75ffb047
AZ
84242014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8425
8426 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8427
2cd925f7
AZ
8428 * sysdeps/powerpc/fpu/fenv_private.h
8429 (libc_feholdexcept_setroundl_ctx): Define to
8430 libc_feholdexcept_setround_ppc_ctx.
8431 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8432 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8433 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8434 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8435
39e6cd8d
IB
84362014-04-17 Ian Bolton <ian.bolton@arm.com>
8437
8438 * sysdeps/aarch64/math-tests.h: New file.
8439
f9281df9
SY
84402014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8441
8442 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8443 New.
8444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8445 Check and set bit_AVX2_Usable.
8446 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8447 macro.
8448 (bit_AVX2): Likewise.
8449 (index_AVX2_Usable): Likewise.
8450 (CPUID_AVX2): Likewise.
8451 (HAS_AVX2): Likewise.
8452
37d35007
WN
84532014-04-17 Will Newton <will.newton@linaro.org>
8454
7c677662
WN
8455 * manual/setjmp.texi (System V contexts): Add note that
8456 calling setcontext on a context created by a call to a
8457 signal handler is undefined. Update text to note that
8458 setcontext from a signal handler is possible but not
8459 recommended.
8460
37d35007 8461 [BZ #16629]
e04a4e9d
WN
8462 * stdlib/tst-setcontext.c: Include signal.h.
8463 (main): Check that the signal stack before and
8464 after swapcontext is the same.
8465
37d35007
WN
8466 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8467 Re-implement to restore registers in user code and avoid
8468 rt_sigreturn system call.
8469
423a7160
W
84702014-04-17 Wilco <wdijkstr@arm.com>
8471
8472 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8473 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8474 * math/test-fenv.c: Skip exception trap tests on targets which only
8475 support non-stop mode.
8476
bc93ab29
IB
84772014-04-17 Ian Bolton <ian.bolton@arm.com>
8478 Wilco Dijkstra <wilco.dijkstra@arm.com>
8479
8480 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8481 (libc_feholdsetround_aarch64_ctx)
8482 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8483 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8484 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8485 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8486 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8487 (libc_feresetround_noexl_ctx): Define.
8488
95fc5fa3
RH
84892014-04-16 Richard Henderson <rth@redhat.com>
8490
ddb04724
RH
8491 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8492
d77c0899
RH
8493 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8494 unwind tables.
8495
a3df56fc
RH
8496 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8497 const from the non-libc, non-ldso copy.
8498
95fc5fa3
RH
8499 * sysdeps/alpha/libm-test-ulps: Regenerate.
8500
7e0b6763
IB
85012014-04-16 Ian Bolton <ian.bolton@arm.com>
8502 Wilco Dijkstra <wilco.dijkstra@arm.com>
8503
8504 * sysdeps/aarch64/fpu/math_private.h: New file.
8505
a9ea2e0c
MS
85062014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8507
8508 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8509
ea8ba7cd
IZ
85102014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8511
7e54fd04 8512 [BZ #16275]
ea8ba7cd
IZ
8513 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8514 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8516 Intel MPX bound registers before _dl_profile_fixup.
8517 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8518 registers after _dl_profile_fixup. Save and restore bound
8519 registers bnd0/bnd1 when calling _dl_call_pltexit.
8520 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8521 (LR_BND_OFFSET): Likewise.
8522 (LRV_BND0_OFFSET): Likewise.
8523 (LRV_BND1_OFFSET): Likewise.
8524
9f2a4fbc
ST
85252014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8526
8527 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8528 to...
8529 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8530 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8531 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8532 fields.
9f2a4fbc 8533
fd15a59b
ST
85342014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8535
8536 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8537
f19dfa0a
SL
85382014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8539
8540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8541
4fa8bc3b
SL
85422014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8543
8544 [BZ #14770]
8545 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8546 * sysdeps/s390/configure: Regenerate.
8547
8ea587db
SL
8548 [BZ #16824]
8549 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8550 Set round-to-nearest internally to reduce error accumulation.
8551
aa5f0ff1
AM
85522014-04-16 Alan Modra <amodra@gmail.com>
8553
8554 [BZ #16740]
8555 [BZ #16619]
8556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8557 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8558 * NEWS: Update fixed bug list.
aa5f0ff1 8559
bb9c256f
SP
85602014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8561
8562 * benchtests/Makefile: Depend on libraries in build directory.
8563 (bench-math): Separate out math tests.
8564 (bench-pthread): Separate out pthread tests.
8565 (bench): Include math and pthread tests.
8566
f737dfd0
CD
85672014-04-14 Carlos O'Donell <carlos@redhat.com>
8568
8569 [BZ #16831]
8570 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8571 _dl_debug_initialize.
8572
0699f766
CD
8573 * configure.ac: Remove SELinux header check.
8574 * configure: Regenerate.
8575 * nscd/selinux.c (perms): Array of const char* to permission names.
8576 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8577 default policy. Call string_to_security_class and string_to_av_perm to
8578 translate strings. Enforce default policy and call avs_has_perm with
8579 results of translated strings.
8580
809bd45f
DM
85812014-04-13 David S. Miller <davem@davemloft.net>
8582
8583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8584
89e691f2
AM
85852014-04-12 Allan McRae <allan@archlinux.org>
8586
8587 [BZ #16838]
8588 * manual/string.texi (Collation Functions): Fix qsort argument
8589 order in example.
8590 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8591
9c9daaeb
CM
85922014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8593
8594 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8595 Make the test a no-op if there are no exceptions defined.
8596
95561fb9
PP
85972014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8598
fe8d072c 8599 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8600 enable-hardcoded-path-in-tests
8601
970c602a
WN
86022014-04-11 Will Newton <will.newton@linaro.org>
8603
8604 * benchtests/Makefile (extra-objs): Add json-lib.o.
8605 (bench-func): Tidy up JSON output.
8606 * benchtests/bench-skeleton.c: Include json-lib.h.
8607 (main): Use JSON library functions to do output of
8608 benchmark results.
8609 * benchtests/bench-timing-type.c (main): Output the
8610 timing type simply, leaving formatting to the user.
8611 * benchtests/json-lib.c: New file.
8612 * benchtests/json-lib.h: Likewise.
8613
36875b06
TR
86142014-04-11 Torvald Riegel <triegel@redhat.com>
8615
8616 [BZ #15215]
8617 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8618 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8619 memory barriers. Add comments.
8620 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8621 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8622 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8623 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8624 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8625 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8626
579db35a
SL
86272014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8628
8629 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8630 * sysdeps/s390/s390-64/configure.ac: ... this ...
8631 * sysdeps/s390/configure.ac: ... to here.
8632 * sysdeps/s390/s390-32/configure: Delete file.
8633 * sysdeps/s390/s390-64/configure: Delete file.
8634 * sysdeps/s390/configure: Regenerate.
8635
c12e9f37
JAPH
86362014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8637
8638 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8639
439bda32
WN
86402014-04-11 Will Newton <will.newton@linaro.org>
8641
8642 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8643 to zero if it is not defined elsewhere. (mtrim): Test
8644 the value of MALLOC_DEBUG with #if rather than #ifdef.
8645
6a5d6ea1
TR
86462014-04-10 Torvald Riegel <triegel@redhat.com>
8647
8648 * benchtests/pthread_once-inputs: New file.
8649 * benchtests/pthread_once-source.c: New file.
8650 * benchtests/README: Update documentation.
8651
a4c75cfd
IZ
86522014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8653 H.J. Lu <hongjiu.lu@intel.com>
8654
7e54fd04 8655 [BZ #16275]
a4c75cfd
IZ
8656 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8657 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8658 * sysdeps/x86_64/configure: Regenerated.
8659 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8660 macro.
8661 (REGISTER_SAVE_RAX): Likewise.
8662 (REGISTER_SAVE_RCX): Likewise.
8663 (REGISTER_SAVE_RDX): Likewise.
8664 (REGISTER_SAVE_RSI): Likewise.
8665 (REGISTER_SAVE_RDI): Likewise.
8666 (REGISTER_SAVE_R8): Likewise.
8667 (REGISTER_SAVE_R9): Likewise.
8668 (REGISTER_SAVE_BND0): Likewise.
8669 (REGISTER_SAVE_BND1): Likewise.
8670 (REGISTER_SAVE_BND2): Likewise.
8671 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8672 bound registers when calling _dl_fixup.
8673
27822ce6
AZ
86742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8675
8676 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8677 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8678 of its definition.
27822ce6
AZ
8679 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8680 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8681 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8682 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8683 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8684 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8685 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8686
a88ddc90
PTB
86872014-04-09 Peter Brett <peter@peter-b.co.uk>
8688
8689 [BZ #15514]
8690 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8691 pathconf(_PC_NAME_MAX).
8692
01f8eac2
AZ
86932014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8694
8695 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8696 Remove macro usage.
8697 (__PTHREAD_SPINS): Move definition to ...
8698 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8699 (__PTHREAD_SPINS): ... here.
8700 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8701 (__PTHREAD_SPIN): Likewise.
8702 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8703 (__PTHREAD_SPIN): Likewise.
8704 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8705 (__PTHREAD_SPIN): Likewise.
8706 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8707 (__PTHREAD_SPIN): Likewise.
8708 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8709 (__PTHREAD_SPIN): Likewise.
8710 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8711 (__PTHREAD_SPIN): Likewise.
8712 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8713 (__PTHREAD_SPIN): Likewise.
8714 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8715 (__PTHREAD_SPIN): Likewise.
8716 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8717 (__PTHREAD_SPIN): Likewise.
8718 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8719 (__PTHREAD_SPIN): Likewise.
8720 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8721 (__PTHREAD_SPIN): Likewise.
8722 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8723 (__PTHREAD_SPIN): Likewise.
8724
de21c33c
AZ
8725 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8726 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8727 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8729 imply folder.
8730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8731 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8732 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8733 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8734 correct imply path.
8735 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8736 strlen symbol for non multi-arch builds.
8737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8738 missing hidden_def and weak_alias.
8739
862c472e
CD
87402014-04-08 Carlos O'Donell <carlos@redhat.com>
8741
8742 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8743
8667f90e
WN
87442014-04-07 Will Newton <will.newton@linaro.org>
8745
8746 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8747 and contents. [!_LIBC] Remove #ifndef and contents.
8748 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8749 * string/memccpy.c (__memccpy): Use ANSI prototype.
8750 * string/memfrob.c (memfrob): Likewise.
8751 * string/strcoll.c (STRCOLL): Likewise.
8752 * string/strlen.c (strlen): Likewise.
8753 * string/strtok.c (STRTOK): Likewise.
8754 * string/strcat.c: Remove unused #include of memcopy.h.
8755 (strcat): Use ANSI prototype.
8756 * string/strchr.c: Remove unused #include of memcopy.h.
8757 (strchr): Use ANSI prototype.
8758 * string/strcmp.c: Remove unused #include of memcopy.h.
8759 (strcmp): Use ANSI prototype.
8760 * string/strcpy.c: Remove unused #include of memcopy.h.
8761 (strcpy): Use ANSI prototype.
8762
7ffa9423
AZ
87632014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8764
8765 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8766 * config.make.in (config-extra-cppflags): Set it from
8767 libc_extra_cppflags.
8768 * configure.ac (libc_extra_cflags): Make it accumulate over
8769 configure fragments.
8770 (libc_extra_cppflags): New flag.
8771 * configure. Regenerate.
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8773 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8774 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8776
8bd70862
AZ
8777 [BZ #16815]
8778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8779 result for FE_DOWNWARD rounding mode.
8780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8781 Likewise.
8782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8783
d42f3448
CM
87842014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8785
8786 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8787 in function argument name.
8788
1c21d115
DS
87892014-04-03 David Svoboda <svoboda@cert.org>
8790
8791 [BZ #5666]
8792 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8793 explicitly.
8794
fcccd512
RM
87952014-04-03 Roland McGrath <roland@hack.frob.com>
8796
8797 * elf/dl-unmap-segments.h: New file.
8798 * sysdeps/generic/ldsodefs.h
8799 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8800 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8801 * elf/dl-fptr.c: Likewise.
8802 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8803 * sysdeps/aarch64/tlsdesc.c: Likewise.
8804 * sysdeps/arm/tlsdesc.c: Likewise.
8805 * sysdeps/i386/tlsdesc.c: Likewise.
8806 * sysdeps/tile/dl-runtime.c: Likewise.
8807 * sysdeps/x86_64/tlsdesc.c: Likewise.
8808 * elf/dl-load.h: New file.
8809 * elf/dl-load.c: Include it.
8810 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8811 Macros moved to dl-load.h.
8812 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8813 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8814 Use _dl_unmap_segments in place of __munmap.
8815 Break out segment-mapping loop into ...
8816 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8817
f6488e2b
WN
88182014-04-03 Will Newton <will.newton@linaro.org>
8819
8820 * elf/dl-lookup.c (do_lookup_x): Remove comment
8821 referring to nested function and move variable
8822 declarations down to before first use.
8823
6f05bafe
JM
88242014-04-02 Joseph Myers <joseph@codesourcery.com>
8825
a84e78c8
JM
8826 [BZ #16799]
8827 [BZ #16800]
8828 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8829 with 0 numerator.
8830 * math/s_catanf.c (__catanf): Likewise.
8831 * math/s_catanh.c (__catanh): Likewise.
8832 * math/s_catanhf.c (__catanhf): Likewise.
8833 * math/s_catanhl.c (__catanhl): Likewise.
8834 * math/s_catanl.c (__catanl): Likewise.
8835 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8836 by positive zero when computing -Inf result.
8837 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8838 (catanh_test): Likewise.
8839 * sysdeps/i386/fpu/libm-test-ulps: Update.
8840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8841
6f05bafe
JM
8842 [BZ #16789]
8843 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8844 instead of using underflowing value in computing result.
8845 * math/s_clog10.c (__clog10): Likewise.
8846 * math/s_clog10f.c (__clog10f): Likewise.
8847 * math/s_clog10l.c (__clog10l): Likewise.
8848 * math/s_clogf.c (__clogf): Likewise.
8849 * math/s_clogl.c (__clogl): Likewise.
8850 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8851 (clog10_test): Likewise.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update.
8853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8854
b0abbc21
AM
88552014-04-02 Alan Modra <amodra@gmail.com>
8856
8857 [BZ #16739]
8858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8859 output when value is near a power of two. Use int64_t for lx and
8860 remove casts. Use decimal rather than hex exponent constants.
8861 Don't use long double multiplication when double will suffice.
8862 * math/libm-test.inc (nextafter_test_data): Add tests.
8863 * NEWS: Add 16739 and 16786 to bug list.
8864
af6b1797
AM
8865 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8866
483818d7
AM
8867 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8868
f6c55796
WN
88692014-04-01 Will Newton <will.newton@linaro.org>
8870
8871 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8872 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8873
13f7fe35
FW
88742014-04-01 Florian Weimer <fweimer@redhat.com>
8875
8876 [BZ #13347]
8877 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8878 * nptl/tst-setuid2.c: New file.
8879 * nptl/Makefile (xtests): Add tst-setuid2.
8880
c859b32e
AM
88812014-04-01 Alan Modra <amodra@gmail.com>
8882
8883 [BZ #16786]
8884 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8885
54fa2475
JM
88862014-03-31 Joseph Myers <joseph@codesourcery.com>
8887
8795b4a4
JM
8888 [BZ #6803]
8889 [BZ #6804]
8890 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8891 set errno as appropriate.
8892 * math/w_scalbf.c (__scalbf): Likewise.
8893 * math/w_scalbl.c (__scalbl): Likewise.
8894 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8895 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8896 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8897 Add more NaN tests.
8898
54fa2475
JM
8899 [BZ #16349]
8900 * math/w_atan2.c: Include <errno.h>.
8901 (__atan2): Set errno for result underflowing to zero.
8902 * math/w_atan2f.c: Include <errno.h>.
8903 (__atan2f): Set errno for result underflowing to zero.
8904 * math/w_atan2l.c: Include <errno.h>.
8905 (__atan2l): Set errno for result underflowing to zero.
8906 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8907 tests.
8908 * math/auto-libm-test-out: Regenerated.
8909
757d9dd5
AZ
89102014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8911
8912 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8913 Encode instruction correctly in little endian.
8914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8915 Likewise.
8916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8917 Likewise.
8918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8919 Likewise.
8920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8921 Likewise.
8922
d7a68734
JM
89232014-03-31 Joseph Myers <joseph@codesourcery.com>
8924
47c5adeb
JM
8925 [BZ #9894]
8926 * sysdeps/unix/sysv/linux/kernel-features.h
8927 [__sparc__ && !__arch64__ && !__sparc_v9__]
8928 (__ASSUME_SET_ROBUST_LIST): Do not define.
8929 [__sparc__ && !__arch64__ && !__sparc_v9__]
8930 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8931 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8932 Likewise.
8933 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8934 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8935 (__ASSUME_REQUEUE_PI): Likewise.
8936 (__ASSUME_SET_ROBUST_LIST): Likewise.
8937 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8938 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8939 Undefine.
8940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8942 Likewise.
8943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8944 Likewise.
8945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8946 Likewise.
8947 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8948 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8949 Undefine.
8950 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8951 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8952 Likewise.
8953
d7a68734
JM
8954 [BZ #16648]
8955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8957 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8958
c760f5c2
WN
89592014-03-31 Will Newton <will.newton@linaro.org>
8960
8961 * benchtests/Makefile (bench): Add ffs and ffsll to list
8962 of tests.
8963 * benchtests/ffs-inputs: New file.
8964 * benchtests/ffsll-inputs: Likewise.
8965
ea6029b1
JM
89662014-03-29 Joseph Myers <joseph@codesourcery.com>
8967
8968 [BZ #16770]
8969 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8970 too large before casting to int.
8971 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8972 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8973 * math/libm-test.inc (scalb_test_data): Add more tests.
8974
cf806aff
SP
89752014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8976
56737508
SP
8977 * benchtests/Makefile (DETAILED_OPT): New make option.
8978 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8979 set.
8980 * benchtests/bench-skeleton.c: Include stdbool.h.
8981 (main): Store and print timings per input.
8982 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8983 member to each argument value.
8984 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8985 (_print_arg_data): Initialize per-input timing to 0.
8986
cb5e4aad
SP
8987 * benchtests/Makefile (timing-type): New binary.
8988 (bench-clean): Also remove bench-timing-type.
8989 (bench): New target for timing-type.
8990 (bench-func): Print output in JSON format.
8991 * benchtests/bench-skeleton.c (main): Print output in JSON
8992 format.
8993 * benchtests/bench-timing-type.c: New file.
8994 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8995 (TIMING_PRINT_STATS): Remove.
8996 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8997 name separately.
8998
cf806aff
SP
8999 * benchtests/bench-modf.c: Remove.
9000 * benchtests/modf-inputs: New inputs file.
9001
289e0779
JM
90022014-03-28 Joseph Myers <joseph@codesourcery.com>
9003
9004 [BZ #16362]
9005 * math/s_clog10.c (M_PI_LOG10E): New macro.
9006 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9007 imaginary parts are 0.
9008 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9009 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9010 imaginary parts are 0.
9011 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9012 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9013 imaginary parts are 0.
9014 * math/libm-test.inc (clog10_test_data): Update expected results
9015 for when real and imaginary parts are 0.
9016
277ae3f1
PP
90172014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9018
9019 * elf/dl-load.c: Finish conversion of __builtin_expect into
9020 __glibc_{un}likely.
9021
03a7091f
JM
90222014-03-27 Joseph Myers <joseph@codesourcery.com>
9023
9024 [BZ #16348]
9025 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9026 1+x for argument with exponent below -67.
9027 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9028 Likewise.
9029 * math/auto-libm-test-in: Add more tests of exp.
9030 * math/auto-libm-test-out: Regenerated.
9031
ea7d8b95
SP
90322014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9033
dd3022d7
SP
9034 [BZ #16759]
9035 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9036 (nscd_getnetgrent): Use it.
9037
ea7d8b95
SP
9038 [BZ #16760]
9039 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9040 of stpcpy.
9041
df5b85da
AK
90422014-03-27 Andi Kleen <ak@linux.intel.com>
9043
57f41c40
AS
9044 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9045 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9046 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9047 (lll_robust_unlock): Remove out of line section. Use cfi
9048 intrinsics.
df5b85da 9049 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9050 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9051 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9052 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9053 (lll_robust_unlock): Remove out of line section. Use cfi
9054 intrinsics.
df5b85da
AK
9055 (LLL_STUB_UNWIND_INFO*): Remove.
9056
fbd6b5a4
SP
90572014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9058
9059 [BZ #16758]
9060 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9061 blank values.
9062
1b26b855
PP
90632014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9064
9065 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9066
9be36fb8
JM
90672014-03-26 Joseph Myers <joseph@codesourcery.com>
9068
9069 [BZ #16198]
9070 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9071 fnstenv.
9072 * math/test-fenv-preserve.c: New file.
9073 * math/Makefile (tests): Add test-fenv-preserve.
9074
60a2f3c1
WN
90752014-03-26 Will Newton <will.newton@linaro.org>
9076
9077 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9078
a5e5f1e2
RM
90792014-03-25 Roland McGrath <roland@hack.frob.com>
9080
9081 * scripts/versionlist.awk: Partition the version sets and emit all
9082 GLIBC_* (sorted) before all others (sorted).
9083
00f4012a
JM
90842014-03-25 Joseph Myers <joseph@codesourcery.com>
9085
9086 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9087 GLIBC_2.2.5 version.
9088
7bc5a741
AZ
90892014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090
9091 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9092 calls.
9093
7578473b
AZ
9094 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9095 previous change.
9096
f3f1dab3
AZ
9097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9098
6da36183
AS
90992014-03-25 Andreas Schwab <schwab@suse.de>
9100
9101 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9102 label to be used after in6ailist is initialized.
9103
f3f1dab3 91042014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9105
7578473b 9106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9107 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9108
046651c1
JM
91092014-03-25 Joseph Myers <joseph@codesourcery.com>
9110
9111 [BZ #16357]
9112 [BZ #16599]
9113 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9114 min_plus_half.
9115 (fp_formats): Update initializers.
9116 (init_fp_formats): Initialize new field.
9117 (output_for_one_input_case): Allow underflow for results up to
9118 min_plus_half.
9119 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9120 * math/auto-libm-test-in: Don't mark some underflows from asin and
9121 atanh as spurious.
9122 * math/auto-libm-test-out: Regenerated.
9123 * sysdeps/i386/fpu/libm-test-ulps: Update.
9124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9125
003e49ed
AS
91262014-03-25 Andreas Schwab <schwab@suse.de>
9127
9128 * libio/Makefile (tst-ftell-partial-wide-ENV)
9129 (tst-ftell-active-handler-ENV): Define.
9130
de031874
SL
91312014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9132
9133 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9134
55a81e3b
PP
91352014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9136
9137 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9138
f3426898
JM
91392014-03-24 Joseph Myers <joseph@codesourcery.com>
9140
9141 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9142 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9143 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9144
a42faf59
PP
91452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9146
9147 [BZ #16634]
a42faf59 9148 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9149 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9150 (open_path): Change from boolean 'secure' to complete flag 'mode'
9151 (_dl_map_object): Adjust.
a42faf59
PP
9152 * elf/Makefile (tests): Add tst-dlopen-aout.
9153 * elf/tst-dlopen-aout.c: New test.
9154
50936127
SL
91552014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9156
9157 [BZ #16714]
9158 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9159 (struct stat): Rename member pad0 to __glibc_reserved0.
9160
26011b5c
SL
9161 [BZ #16712]
9162 * sysdeps/s390/s390-32/bits/wordsize.h
9163 (__WORDSIZE32_SIZE_ULONG): New define.
9164 * sysdeps/s390/s390-64/bits/wordsize.h
9165 (__WORDSIZE32_SIZE_ULONG): Likewise.
9166 * sysdeps/generic/stdint.h (SIZE_MAX):
9167 Define as UL if __WORDSIZE32_SIZE_ULONG.
9168
a2d86bf1
SL
9169 [BZ #16713]
9170 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9171 (__glibc_reserved0): New variable.
9172 (sa_flags): Change type to int.
9173
78b6eebc
SL
9174 * posix/Makefile (before-compile): Use += before-compile instead
9175 of a :=.
9176
f1399b5a
SL
9177 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9178 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9179
a071766e
AS
91802014-03-20 Andreas Schwab <schwab@suse.de>
9181
9182 [BZ #16743]
9183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9184 non-matching result from nscd.
9185
27c673b8
SP
91862014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9187
9188 * scripts/bench.py: Moved to ...
9189 * benchtests/scripts/bench.py: ... here.
9190 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9191
44152e4b
AS
91922014-03-24 Andreas Schwab <schwab@suse.de>
9193
9194 [BZ #16002]
9195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9196 alloca_account and account alloca use for struct in6ailist.
9197
b376a11a
JM
91982014-03-24 Joseph Myers <joseph@codesourcery.com>
9199
9200 [BZ #16284]
9201 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9202 rounding mode to recompute results that overflow to infinity or
9203 underflow to zero.
9204 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9205 bug 16284.
9206 * math/auto-libm-test-out: Regenerated.
9207 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9208 (ccosh_test): Likewise.
9209 (csin_test_data): Use plus_oflow.
9210 (csin_test): Use ALL_RM_TEST.
9211 (csinh_test_data): Use plus_oflow.
9212 (csinh_test): Use ALL_RM_TEST.
9213 * sysdeps/i386/fpu/libm-test-ulps: Update.
9214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9215
f7be7376
JM
92162014-03-21 Joseph Myers <joseph@codesourcery.com>
9217
1ca2d03e
JM
9218 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9219 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9220 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9221
f7be7376
JM
9222 [BZ #16731]
9223 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9224 when x - 1 is zero.
9225 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9226 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9227 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9229 argument is 1.
9230 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9231 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9232 zero.
9233 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9234 * sysdeps/i386/fpu/libm-test-ulps: Update.
9235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9236
fdf4534d
SP
92372014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9238
df26ea53
SP
9239 * scripts/bench.pl: Remove file.
9240 * scripts/bench.py: New benchmark script.
9241 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9242 * benchtests/README: Mention python dependency.
9243 * scripts/pylintrc: New file.
9244 * scripts/pylint: New file.
9245
fdf4534d
SP
9246 * bits/mathdef.h: Use #ifdef instead of #if.
9247 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9249 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9250 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9251 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9252 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9253
6f23d093
AZ
92542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9255 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9256
9257 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9259 and strpbrk-ppc64 objects.
9260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9261 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9263 multiarch strpbrk for POWER7.
9264 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9265 multiarch strpbrk for PPC64.
9266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9267 ifunc selector.
9268 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9269 strpbrk for POWER7.
9270
8c92dfff
JM
92712014-03-20 Joseph Myers <joseph@codesourcery.com>
9272
9273 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9274 (atan_test): Likewise.
9275 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9276 (atanh_test): Use ALL_RM_TEST.
9277 (atan2_test_data): Likewise.
9278 (cabs_test): Likewise.
9279 (cacosh_test): Likewise.
9280 (carg_test): Likewise.
9281 (casin_test): Likewise.
9282 (casinh_test): Likewise.
9283 (cbrt_test): Likewise.
9284 (csqrt_test): Likewise.
9285 (erf_test): Likewise.
9286 (erfc_test): Likewise.
9287 (pow10_test): Likewise.
9288 (exp2_test): Likewise.
9289 (hypot_test): Likewise.
9290 (j0_test): Likewise.
9291 (j1_test): Likewise.
9292 (lgamma_test): Likewise.
9293 (gamma_test): Likewise.
9294 (sincos_test): Likewise.
9295 (tanh_test): Likewise.
9296 (y0_test): Likewise.
9297 (y1_test): Likewise.
9298 * sysdeps/i386/fpu/libm-test-ulps: Update.
9299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9300
6eaf95cb
AZ
93012014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9302
a387428c
SP
9303 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9305 and strcspn-ppc64 objects.
9306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9307 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9308 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9309 multiarch strcspn for POWER7.
9310 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9311 multiarch strcspn for PPC64.
9312 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9313 ifunc selector.
9314 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9315 strcspn for POWER7.
9316
ae3a5dff
JM
93172014-03-20 Joseph Myers <joseph@codesourcery.com>
9318
9319 * math/gen-libm-test.pl (generate_testfile): Expect only function
9320 name as argument to AUTO_TESTS_* and pass results for all rounding
9321 modes to parse_args.
9322 (parse_auto_input): Separate inputs of automatic tests from
9323 outputs before storing in %auto_tests.
9324 * math/libm-test.inc (acos_test_data): Update call to
9325 AUTO_TESTS_f_f.
9326 (acos_test): Use ALL_RM_TEST.
9327 (acos_tonearest_test_data): Remove.
9328 (acos_test_tonearest): Likewise.
9329 (acos_towardzero_test_data): Likewise.
9330 (acos_test_towardzero): Likewise.
9331 (acos_downward_test_data): Likewise.
9332 (acos_test_downward): Likewise.
9333 (acos_upward_test_data): Likewise.
9334 (acos_test_upward): Likewise.
9335 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9336 (asin_test_data): Likewise.
9337 (asin_test): Use ALL_RM_TEST.
9338 (asin_tonearest_test_data): Remove.
9339 (asin_test_tonearest): Likewise.
9340 (asin_towardzero_test_data): Likewise.
9341 (asin_test_towardzero): Likewise.
9342 (asin_downward_test_data): Likewise.
9343 (asin_test_downward): Likewise.
9344 (asin_upward_test_data): Likewise.
9345 (asin_test_upward): Likewise.
9346 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9347 (atan_test_data): Likewise.
9348 (atanh_test_data): Likewise.
9349 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9350 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9351 (carg_test_data): Likewise.
9352 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9353 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9354 (ccosh_test_data): Likewise.
9355 (cexp_test_data): Likewise.
9356 (clog_test_data): Likewise.
9357 (clog10_test_data): Likewise.
9358 (cos_test_data): Update call to AUTO_TESTS_f_f.
9359 (cos_test): Use ALL_RM_TEST.
9360 (cos_tonearest_test_data): Remove.
9361 (cos_test_tonearest): Likewise.
9362 (cos_towardzero_test_data): Likewise.
9363 (cos_test_towardzero): Likewise.
9364 (cos_downward_test_data): Likewise.
9365 (cos_test_downward): Likewise.
9366 (cos_upward_test_data): Likewise.
9367 (cos_test_upward): Likewise.
9368 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9369 (cosh_test): Use ALL_RM_TEST.
9370 (cosh_tonearest_test_data): Remove.
9371 (cosh_test_tonearest): Likewise.
9372 (cosh_towardzero_test_data): Likewise.
9373 (cosh_test_towardzero): Likewise.
9374 (cosh_downward_test_data): Likewise.
9375 (cosh_test_downward): Likewise.
9376 (cosh_upward_test_data): Likewise.
9377 (cosh_test_upward): Likewise.
9378 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9379 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9380 (ctan_test_data): Likewise.
9381 (ctan_test): Use ALL_RM_TEST.
9382 (ctan_tonearest_test_data): Remove.
9383 (ctan_test_tonearest): Likewise.
9384 (ctan_towardzero_test_data): Likewise.
9385 (ctan_test_towardzero): Likewise.
9386 (ctan_downward_test_data): Likewise.
9387 (ctan_test_downward): Likewise.
9388 (ctan_upward_test_data): Likewise.
9389 (ctan_test_upward): Likewise.
9390 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9391 (ctanh_test): Use ALL_RM_TEST.
9392 (ctanh_tonearest_test_data): Remove.
9393 (ctanh_test_tonearest): Likewise.
9394 (ctanh_towardzero_test_data): Likewise.
9395 (ctanh_test_towardzero): Likewise.
9396 (ctanh_downward_test_data): Likewise.
9397 (ctanh_test_downward): Likewise.
9398 (ctanh_upward_test_data): Likewise.
9399 (ctanh_test_upward): Likewise.
9400 (erf_test_data): Update call to AUTO_TESTS_f_f.
9401 (erfc_test_data): Likewise.
9402 (exp_test_data): Likewise.
9403 (exp_test): Use ALL_RM_TEST.
9404 (exp_tonearest_test_data): Remove.
9405 (exp_test_tonearest): Likewise.
9406 (exp_towardzero_test_data): Likewise.
9407 (exp_test_towardzero): Likewise.
9408 (exp_downward_test_data): Likewise.
9409 (exp_test_downward): Likewise.
9410 (exp_upward_test_data): Likewise.
9411 (exp_test_upward): Likewise.
9412 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9413 (exp10_test): Use ALL_RM_TEST.
9414 (exp10_tonearest_test_data): Remove.
9415 (exp10_test_tonearest): Likewise.
9416 (exp10_towardzero_test_data): Likewise.
9417 (exp10_test_towardzero): Likewise.
9418 (exp10_downward_test_data): Likewise.
9419 (exp10_test_downward): Likewise.
9420 (exp10_upward_test_data): Likewise.
9421 (exp10_test_upward): Likewise.
9422 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9423 (expm1_test_data): Likewise.
9424 (expm1_test): Use ALL_RM_TEST.
9425 (expm1_tonearest_test_data): Remove.
9426 (expm1_test_tonearest): Likewise.
9427 (expm1_towardzero_test_data): Likewise.
9428 (expm1_test_towardzero): Likewise.
9429 (expm1_downward_test_data): Likewise.
9430 (expm1_test_downward): Likewise.
9431 (expm1_upward_test_data): Likewise.
9432 (expm1_test_upward): Likewise.
9433 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9434 (fma_test): Use ALL_RM_TEST.
9435 (fma_towardzero_test_data): Remove.
9436 (fma_test_towardzero): Likewise.
9437 (fma_downward_test_data): Likewise.
9438 (fma_test_downward): Likewise.
9439 (fma_upward_test_data): Likewise.
9440 (fma_test_upward): Likewise.
9441 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9442 (j0_test_data): Update call to AUTO_TESTS_f_f.
9443 (j1_test_data): Likewise.
9444 (jn_test_data): Update call to AUTO_TESTS_if_f.
9445 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9446 (log_test_data): Update call to AUTO_TESTS_f_f.
9447 (log10_test_data): Likewise.
9448 (log1p_test_data): Likewise.
9449 (log2_test_data): Likewise.
9450 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9451 (pow_tonearest_test_data): Likewise.
9452 (sin_test_data): Update call to AUTO_TESTS_f_f.
9453 (sin_test): Use ALL_RM_TEST.
9454 (sin_tonearest_test_data): Remove.
9455 (sin_test_tonearest): Likewise.
9456 (sin_towardzero_test_data): Likewise.
9457 (sin_test_towardzero): Likewise.
9458 (sin_downward_test_data): Likewise.
9459 (sin_test_downward): Likewise.
9460 (sin_upward_test_data): Likewise.
9461 (sin_test_upward): Likewise.
9462 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9463 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9464 (sinh_test): Use ALL_RM_TEST.
9465 (sinh_tonearest_test_data): Remove.
9466 (sinh_test_tonearest): Likewise.
9467 (sinh_towardzero_test_data): Likewise.
9468 (sinh_test_towardzero): Likewise.
9469 (sinh_downward_test_data): Likewise.
9470 (sinh_test_downward): Likewise.
9471 (sinh_upward_test_data): Likewise.
9472 (sinh_test_upward): Likewise.
9473 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9474 (sqrt_test): Use ALL_RM_TEST.
9475 (sqrt_tonearest_test_data): Remove.
9476 (sqrt_test_tonearest): Likewise.
9477 (sqrt_towardzero_test_data): Likewise.
9478 (sqrt_test_towardzero): Likewise.
9479 (sqrt_downward_test_data): Likewise.
9480 (sqrt_test_downward): Likewise.
9481 (sqrt_upward_test_data): Likewise.
9482 (sqrt_test_upward): Likewise.
9483 (tan_test_data): Update call to AUTO_TESTS_f_f.
9484 (tan_test): Use ALL_RM_TEST.
9485 (tan_tonearest_test_data): Remove.
9486 (tan_test_tonearest): Likewise.
9487 (tan_towardzero_test_data): Likewise.
9488 (tan_test_towardzero): Likewise.
9489 (tan_downward_test_data): Likewise.
9490 (tan_test_downward): Likewise.
9491 (tan_upward_test_data): Likewise.
9492 (tan_test_upward): Likewise.
9493 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9494 (tgamma_test_data): Likewise.
9495 (y0_test_data): Likewise.
9496 (y1_test_data): Likewise.
9497 (yn_test_data): Update call to AUTO_TESTS_if_f.
9498 (main): Do not call removed functions.
9499
d71aeee8
JM
95002014-03-19 Joseph Myers <joseph@codesourcery.com>
9501
9502 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9503 (ldexp_test_data): Remove.
9504 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9505 scalbn_test_data.
9506 (scalb_test): Use ALL_RM_TEST.
9507
baaf1ded
AS
95082014-03-19 Andreas Schwab <schwab@suse.de>
9509
9510 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9511
b1115e91
JM
95122014-03-19 Joseph Myers <joseph@codesourcery.com>
9513
9514 [BZ #16649]
9515 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9516 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9517 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9519 (__ASSUME_PREADV): Undefine.
9520 (__ASSUME_PWRITEV): Likewise.
9521
0283ecca
RM
95222014-03-18 Roland McGrath <roland@hack.frob.com>
9523
7d375303
RM
9524 * bits/mman-linux.h: Add comment about non-Linux use.
9525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9526 bits/mman-linux.h resting place.
9527
0283ecca
RM
9528 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9529 * bits/mman-linux.h: ... here.
9530
aebe1003
AZ
95312014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9532
9533 * conform/conformtest.pl: Add standard definition when calling C
9534 preprocessor on data files.
9535 (checknamespace): Remove unused variable.
9536
b29b6bb8
JM
95372014-03-18 Joseph Myers <joseph@codesourcery.com>
9538
9539 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9540 minus_oflow, plus_uflow and minus_uflow in expected results.
9541 * math/libm-test.inc (scalbn_test_data): Add more tests of
9542 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9543 minus_uflow.
9544 (scalbn_test): Use ALL_RM_TEST.
9545 (scalbln_test_data): Add more tests of negative arguments. Use
9546 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9547 (scalbln_test): Use ALL_RM_TEST.
9548
c8f8fa15
RM
95492014-03-18 Roland McGrath <roland@hack.frob.com>
9550
9551 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9552
fede7a5f
WN
95532014-03-18 Will Newton <will.newton@linaro.org>
9554
9555 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9556 inaccurate comment.
9557
80cf0a58
JM
95582014-03-18 Joseph Myers <joseph@codesourcery.com>
9559
9560 * Makerules [!subdir] (check-abi): Exit with error status if a
9561 test failed.
9562
b3620862
JM
95632014-03-17 Joseph Myers <joseph@codesourcery.com>
9564
9565 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9566 for rint. Include results for all rounding modes.
9567 (nearbyint_test): Use ALL_RM_TEST.
9568 (rint_test_data): Include all tests used for nearbyint.
9569
788bba36
WN
95702014-03-17 Will Newton <will.newton@linaro.org>
9571
04ec140a
WN
9572 * nptl/sysdeps/pthread/pthread.h: Revert previous
9573 change.
9574
7579d8d5
WN
9575 * sysdeps/generic/ldsodefs.h: Revert previous
9576 change.
9577
c15cf13a
WN
9578 * libio/genops.c: Revert previous change.
9579 * libio/libioP.h: Likewise.
9580 * stdio-common/vfprintf.c: Likewise.
9581
d0ac1324
WN
9582 * sysdeps/generic/math_private.h: Revert previous
9583 change.
9584
9290130a
WN
9585 * sysdeps/generic/math_private.h: Check whether
9586 HAVE_RM_CTX is defined with #ifdef rather
9587 than #if.
9588
afb466fc
WN
9589 * argp/argp-fmtstream.h: Check whether
9590 __STRICT_ANSI__ is defined with #ifdef rather
9591 than #if.
9592 * argp/argp.h: Likewise.
9593
f7efd7c3
WN
9594 * libio/genops.c: Check whether
9595 _IO_JUMPS_OFFSET is defined with #ifdef rather
9596 than #if.
9597 * libio/libioP.h: Likewise.
9598 * stdio-common/vfprintf.c: Likewise.
9599
53f1bed3
WN
9600 * sysdeps/generic/ldsodefs.h: Check whether
9601 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9602 than #if.
9603
788bba36
WN
9604 * nptl/sysdeps/pthread/pthread.h: Check
9605 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9606 its value.
9607
fcd89ebe
SP
96082014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9609
ae42bbc5
SP
9610 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9611 setting O_APPEND.
9612 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9613 test case.
9614
ea33158c
SP
9615 [BZ #16680]
9616 * libio/fileops.c (_IO_file_open): Seek to end of file but
9617 don't cache the offset.
9618 (get_file_offset): Remove function.
9619 (do_ftell): Use cached offset when available.
9620 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9621 don't cache the offset.
9622 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9623 case.
9624 (do_one_test): Call it.
9625 (do_ftell_test): Fix up expected old offset for a+ mode.
9626 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9627 available.
9628
b1dbb426
SP
9629 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9630 up test status with function return status.
9631 (do_write_test): Likewise.
9632 (do_append_test): Likewise.
9633
fcd89ebe
SP
9634 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9635 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9636 Remove.
9637
9962a2d3
JM
96382014-03-17 Joseph Myers <joseph@codesourcery.com>
9639
9640 * math/gen-libm-test.pl (parse_args): Handle results specified for
9641 each rounding mode separately.
9642 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9643 tests and results from lrint_tonearest_test_data,
9644 lrint_towardzero_test_data, lrint_downward_test_data and
9645 lrint_upward_test_data.
9646 (lrint_test): Use ALL_RM_TEST.
9647 (lrint_tonearest_test_data): Remove.
9648 (lrint_test_tonearest): Likewise.
9649 (lrint_towardzero_test_data): Likewise.
9650 (lrint_test_towardzero): Likewise.
9651 (lrint_downward_test_data): Likewise.
9652 (lrint_test_downward): Likewise.
9653 (lrint_upward_test_data): Likewise.
9654 (lrint_test_upward): Likewise.
9655 (llrint_test_data): Merge in per-rounding-mode tests and results
9656 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9657 llrint_downward_test_data and llrint_upward_test_data.
9658 (llrint_test): Use ALL_RM_TEST.
9659 (llrint_tonearest_test_data): Remove.
9660 (llrint_test_tonearest): Likewise.
9661 (llrint_towardzero_test_data): Likewise.
9662 (llrint_test_towardzero): Likewise.
9663 (llrint_downward_test_data): Likewise.
9664 (llrint_test_downward): Likewise.
9665 (llrint_upward_test_data): Likewise.
9666 (llrint_test_upward): Likewise.
9667 (rint_test_data): Merge in per-rounding-mode tests and results
9668 from rint_tonearest_test_data, rint_towardzero_test_data,
9669 rint_downward_test_data and rint_upward_test_data. Add
9670 per-rounding-mode results for tests not in those arrays.
9671 (rint_test): Use ALL_RM_TEST.
9672 (rint_tonearest_test_data): Remove.
9673 (rint_test_tonearest): Likewise.
9674 (rint_towardzero_test_data): Likewise.
9675 (rint_test_towardzero): Likewise.
9676 (rint_downward_test_data): Likewise.
9677 (rint_test_downward): Likewise.
9678 (rint_upward_test_data): Likewise.
9679 (rint_test_upward): Likewise.
9680 (main): Don't call removed functions.
9681
5006148e
RM
96822014-03-14 Roland McGrath <roland@hack.frob.com>
9683
9684 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9685 "Compiled on ..." crapola. It is anti-useful.
9686
d6fe5e58
JM
96872014-03-14 Joseph Myers <joseph@codesourcery.com>
9688
9689 * scripts/evaluate-test.sh: Handle fourth argument to determine
9690 whether test run should stop on failure.
9691 * Makeconfig (stop-on-test-failure): New variable.
9692 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9693 $(stop-on-test-failure).
9694 * Makefile (tests): Give a summary of results from testing and
9695 exit with failure status if they include an ERROR or FAIL.
9696 (xtests): Likewise.
9697 * manual/install.texi (Configuring and compiling): Mention
9698 stop-on-test-failure=y.
9699 * INSTALL: Regenerated.
9700
498a2233
RM
97012014-03-14 Roland McGrath <roland@hack.frob.com>
9702
22dbc19d
RM
9703 * scripts/versionlist.awk: New file.
9704 * Makerules [$(build-shared) = yes]
9705 (postclean-generated): Add Versions.def, not Versions.def.v and
9706 Versions.def.v.i.
9707 ($(common-objpfx)Versions.def.v.i): Target removed.
9708 ($(common-objpfx)Versions.def): New target.
9709 ($(common-objpfx)Versions.all): Depend on that rather that
9710 $(common-objpfx)Versions.def.v.
9711 * Versions.def: File removed.
9712
498a2233
RM
9713 * Makeconfig (+gccwarn): Add -Wundef.
9714 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9715 a dl-sysdep.h breaking its contract.
9716 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9717 * include/stackinfo.h: New file.
9718 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9719 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9720 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9721 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9722 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9723 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9724 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9725 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9726 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9727 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9728 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9729 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9730 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9731 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9732 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9733
c7de5025
AZ
97342014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9735
9736 [BZ #16707]
9737 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9738 implementation.
9739 * math/libm-test.inc (round_test_data): Add more tests.
9740
98fb27a3
AZ
9741 [BZ #16706]
9742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9743 implementation.
9744 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9745
374f7f61
AZ
9746 [BZ #16701]
9747 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9748 implementation.
9749 * math/libm-test.inc (ceil_test_data): Add more tests.
9750
4655c291
AZ
9751 * math/libm-test.inc (trunc_test_data): Add more tests related to
9752 BZ#16414.
9753
d7329d4b
RM
97542014-03-14 Roland McGrath <roland@hack.frob.com>
9755
9756 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9757 with #if rather than #ifdef.
9758 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9759
aa4de9ce
L
97602014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9763 first. Disable AVX-512 GCC support if assembler doesn't support
9764 it.
9765 * sysdeps/x86_64/configure: Regenerated.
9766
2e03fae7
CD
97672014-03-13 Carlos O'Donell <carlos@redhat.com>
9768
9769 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9770 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9771 (__old_pthread_attr_setstack): Likewise.
9772 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9773 [!_STACK_GROWS_DOWN]: Likewise.
9774
43ca83ec
MF
97752014-03-13 Mike Frysinger <vapier@gentoo.org>
9776
9777 * config.make.in (have-bash2): Delete.
9778 * configure.ac (libc_cv_have_bash2): Delete.
9779 * configure: Regenerate.
9780 * elf/Makefile (common-ldd-rewrite): Rename to ...
9781 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9782 (sh-ldd-rewrite): Delete.
9783 (bash-ldd-rewrite): Delete.
9784 (have-bash2): Delete checks.
57f41c40
AS
9785 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9786 ldd-rewrite.
c66e48b4
MF
9787
9788 * config.make.in (have-ksh): Delete.
9789 (KSH): Delete.
9790 * configure.ac (libc_cv_have_ksh): Delete.
9791 * configure: Regenerate.
9792
b93834ef
MF
9793 * elf/Makefile: Delete $(have-ksh) check.
9794 ($(objpfx)sotruss): Change KSH to BASH.
9795 * elf/sotruss.ksh: Rename to ...
9796 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9797 function style to match POSIX. Drop ksh vim mode setting.
9798
f3a4632a
MF
9799 * manual/time.texi (Specifying the Time Zone with TZ): Change
9800 Tuesday to Thursday.
9801
5896c8bd
MF
9802 * debug/tst-longjmp_chk2.c: Update header comment.
9803 (stackoverflow_handler): Add comment. Call assert on pass value.
9804
2d63a517
IZ
98052014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9806
7e54fd04 9807 [BZ #16194]
2d63a517
IZ
9808 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9809 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9810 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9811 (La_x86_64_vector): Add zmm.
9812 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9813 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9814 ($(objpfx)tst-audit10): New target.
9815 ($(objpfx)tst-audit10.out): Likewise.
9816 (tst-audit10-ENV): New.
9817 (AVX512-CFLAGS): Likewise.
9818 (CFLAGS-tst-audit10.c): Likewise.
9819 (CFLAGS-tst-auditmod10a.c): Likewise.
9820 (CFLAGS-tst-auditmod10b.c): Likewise.
9821 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9822 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9823 * sysdeps/x86_64/configure: Regenerated.
9824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9825 AVX-512 zmm register support.
9826 (_dl_x86_64_save_sse): Likewise.
9827 (_dl_x86_64_restore_sse): Likewise.
9828 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9829 size vector registers.
9830 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9831 (ZMM_SIZE): Likewise.
9832 * sysdeps/x86_64/tst-audit10.c: New file.
9833 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9834 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9835
44c4e5d5
RM
98362014-03-13 Roland McGrath <roland@hack.frob.com>
9837
9838 * configure.ac (HAVE_EHDR_START): New check.
9839 * configure: Regenerated.
9840 * config.h.in (HAVE_EHDR_START): New #undef.
9841 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9842 assuming the lowest-addressed segment maps the start of the file.
9843
acd6e389
JM
98442014-03-13 Joseph Myers <joseph@codesourcery.com>
9845
9846 * INSTALL: Regenerated.
9847
6f918f36
WN
98482014-03-13 Will Newton <will.newton@linaro.org>
9849
9850 * manual/setjmp.texi (System V contexts): Improve
9851 clarity and grammar of documentation.
9852
798212a0
PP
98532014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9854
9855 [BZ #16381]
798212a0 9856 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9857 (tests-pie): Add tst-pie2.
798212a0
PP
9858 * elf/tst-pie2.c: New file.
9859 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9860 for ET_EXEC.
9861 * elf/rtld.c (map_doit): Load executable as lt_executable.
9862 (dl_main): Likewise.
9863
abe6d90c
JM
98642014-03-12 Joseph Myers <joseph@codesourcery.com>
9865
9866 [BZ #16642]
9867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9868 (__ASSUME_PSELECT): Undefine.
9869
dd3946c6
AZ
98702014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9871
9872 [BZ #16689]
9873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9874 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9875 static build.
9876 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9877 selector for static builds.
9878
c44496df
SP
98792014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9880
9881 [BZ #16695]
9882 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9883 key in the buffer.
9884
27c7220a
AZ
98852014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9886
57f41c40
AS
9887 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9888 IFUNC selector for static builds.
27c7220a 9889
600fa361
JM
98902014-03-11 Joseph Myers <joseph@codesourcery.com>
9891
76c96cf7
JM
9892 * sysdeps/mips/math_private.h [__mips_hard_float]
9893 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9894 libc_feresetround_mips_ctx.
9895 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9896 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9897 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9898
600fa361
JM
9899 [BZ #16677]
9900 * math/s_nextafter.c (__nextafter): Do not return value from
9901 overflowing computation.
9902 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9903 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9905 Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9907 Likewise.
9908 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9909 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9910
d7706c32
RM
99112014-03-11 Roland McGrath <roland@hack.frob.com>
9912
9913 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9914 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9915 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9916 the new mov targetting sp.
9917
4facea47
AZ
99182014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9919
9920 [BZ #16683]
9921 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9922 Define it for static builds as well.
9923 (NO_BZERO_IMPL): Likewise.
9924
e65caf1f
VR
99252014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9926
9927 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9928 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9929 multiarch strspn for PPC64.
9930 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9931 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9933 (__libc_ifunc_impl_list): Likewise.
9934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9935 multiarch optimizations
9936 * string/strspn.c (strspn): Using macro to redefine symbol name.
9937
ba9cc071
AZ
99382014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9939 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940
9941 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9942 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9943 multiarch strncat for PPC64.
9944 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9945 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9947 (__libc_ifunc_impl_list): Likewise.
9948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9949 multiarch optimizations
9950
8b4ff974
SP
99512014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9952
9953 [BZ #16639]
9954 * nscd/nscd.service: Make service type forking.
9955
54b46a4b
AZ
99562014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9957
9958 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9959 sign in non default rounding modes.
9960 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9961
e9996ef7
JM
99622014-03-08 Joseph Myers <joseph@codesourcery.com>
9963
9964 * math/libm-test.inc (ALL_RM_TEST): New macro.
9965 (ceil_test): Use ALL_RM_TEST.
9966 (cimag_test): Likewise.
9967 (conj_test): Likewise.
9968 (copysign_test): Likewise.
9969 (cproj_test): Likewise.
9970 (creal_test): Likewise.
9971 (fabs_test): Likewise.
9972 (floor_test): Likewise.
9973 (fmax_test): Likewise.
9974 (fmin_test): Likewise.
9975 (fmod_test): Likewise.
9976 (fpclassify_test): Likewise.
9977 (frexp_test): Likewise.
9978 (ilogb_test): Likewise.
9979 (isfinite_test): Likewise.
9980 (finite_test): Likewise.
9981 (isgreater_test): Likewise.
9982 (isgreaterequal_test): Likewise.
9983 (isinf_test): Likewise.
9984 (isless_test): Likewise.
9985 (islessequal_test): Likewise.
9986 (islessgreater_test): Likewise.
9987 (isnan_test): Likewise.
9988 (isnormal_test): Likewise.
9989 (issignaling_test): Likewise.
9990 (isunordered_test): Likewise.
9991 (logb_test): Likewise.
9992 (logb_downward_test_data): Remove.
9993 (logb_test_downward): Likewise.
9994 (lround_test): Use ALL_RM_TEST.
9995 (llround_test): Likewise.
9996 (modf_test): Likewise.
9997 (nexttoward_test): Likewise.
9998 (remainder_test): Likewise.
9999 (drem_test): Likewise.
10000 (remainder_tonearest_test_data): Likewise.
10001 (remainder_test_tonearest): Likewise.
10002 (drem_test_tonearest): Likewise.
10003 (remainder_towardzero_test_data): Likewise.
10004 (remainder_test_towardzero): Likewise.
10005 (drem_test_towardzero): Likewise.
10006 (remainder_downward_test_data): Likewise.
10007 (remainder_test_downward): Likewise.
10008 (drem_test_downward): Likewise.
10009 (remainder_upward_test_data): Likewise.
10010 (remainder_test_upward): Likewise.
10011 (drem_test_upward): Likewise.
10012 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10013 (round_test): Use ALL_RM_TEST.
10014 (signbit_test): Likewise.
10015 (trunc_test): Likewise.
10016 (significand_test): Likewise.
10017 (main): Don't call removed functions.
10018
bc61d27c
JM
100192014-03-07 Joseph Myers <joseph@codesourcery.com>
10020
5c780849
JM
10021 [BZ #16674]
10022 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10023 || __USE_XOPEN2K8].
10024 (ILL_ILLOPN): Likewise.
10025 (ILL_ILLADR): Likewise.
10026 (ILL_ILLTRP): Likewise.
10027 (ILL_PRVOPC): Likewise.
10028 (ILL_PRVREG): Likewise.
10029 (ILL_COPROC): Likewise.
10030 (ILL_BADSTK): Likewise.
10031 (FPE_INTDIV): Likewise.
10032 (FPE_INTOVF): Likewise.
10033 (FPE_FLTDIV): Likewise.
10034 (FPE_FLTOVF): Likewise.
10035 (FPE_FLTUND): Likewise.
10036 (FPE_FLTRES): Likewise.
10037 (FPE_FLTINV): Likewise.
10038 (FPE_FLTSUB): Likewise.
10039 (SEGV_MAPERR): Likewise.
10040 (SEGV_ACCERR): Likewise.
10041 (BUS_ADRALN): Likewise.
10042 (BUS_ADRERR): Likewise.
10043 (BUS_OBJERR): Likewise.
10044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10045 (TRAP_TRACE): Likewise.
10046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10047 __USE_XOPEN2K8].
10048 (CLD_KILLED): Likewise.
10049 (CLD_DUMPED): Likewise.
10050 (CLD_TRAPPED): Likewise.
10051 (CLD_STOPPED): Likewise.
10052 (CLD_CONTINUED): Likewise.
10053 (POLL_IN): Likewise.
10054 (POLL_OUT): Likewise.
10055 (POLL_MSG): Likewise.
10056 (POLL_ERR): Likewise.
10057 (POLL_PRI): Likewise.
10058 (POLL_HUP): Likewise.
10059 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10060 Likewise.
10061 (ILL_ILLOPN): Likewise.
10062 (ILL_ILLADR): Likewise.
10063 (ILL_ILLTRP): Likewise.
10064 (ILL_PRVOPC): Likewise.
10065 (ILL_PRVREG): Likewise.
10066 (ILL_COPROC): Likewise.
10067 (ILL_BADSTK): Likewise.
10068 (FPE_INTDIV): Likewise.
10069 (FPE_INTOVF): Likewise.
10070 (FPE_FLTDIV): Likewise.
10071 (FPE_FLTOVF): Likewise.
10072 (FPE_FLTUND): Likewise.
10073 (FPE_FLTRES): Likewise.
10074 (FPE_FLTINV): Likewise.
10075 (FPE_FLTSUB): Likewise.
10076 (SEGV_MAPERR): Likewise.
10077 (SEGV_ACCERR): Likewise.
10078 (BUS_ADRALN): Likewise.
10079 (BUS_ADRERR): Likewise.
10080 (BUS_OBJERR): Likewise.
10081 (BUS_MCEERR_AR): Likewise.
10082 (BUS_MCEERR_AO): Likewise.
10083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10084 (TRAP_TRACE): Likewise.
10085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10086 __USE_XOPEN2K8].
10087 (CLD_KILLED): Likewise.
10088 (CLD_DUMPED): Likewise.
10089 (CLD_TRAPPED): Likewise.
10090 (CLD_STOPPED): Likewise.
10091 (CLD_CONTINUED): Likewise.
10092 (POLL_IN): Likewise.
10093 (POLL_OUT): Likewise.
10094 (POLL_MSG): Likewise.
10095 (POLL_ERR): Likewise.
10096 (POLL_PRI): Likewise.
10097 (POLL_HUP): Likewise.
10098 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10099 (ILL_ILLOPN): Likewise.
10100 (ILL_ILLADR): Likewise.
10101 (ILL_ILLTRP): Likewise.
10102 (ILL_PRVOPC): Likewise.
10103 (ILL_PRVREG): Likewise.
10104 (ILL_COPROC): Likewise.
10105 (ILL_BADSTK): Likewise.
10106 (FPE_INTDIV): Likewise.
10107 (FPE_INTOVF): Likewise.
10108 (FPE_FLTDIV): Likewise.
10109 (FPE_FLTOVF): Likewise.
10110 (FPE_FLTUND): Likewise.
10111 (FPE_FLTRES): Likewise.
10112 (FPE_FLTINV): Likewise.
10113 (FPE_FLTSUB): Likewise.
10114 (SEGV_MAPERR): Likewise.
10115 (SEGV_ACCERR): Likewise.
10116 (BUS_ADRALN): Likewise.
10117 (BUS_ADRERR): Likewise.
10118 (BUS_OBJERR): Likewise.
10119 (BUS_MCEERR_AR): Likewise.
10120 (BUS_MCEERR_AO): Likewise.
10121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10122 (TRAP_TRACE): Likewise.
10123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10124 __USE_XOPEN2K8].
10125 (CLD_KILLED): Likewise.
10126 (CLD_DUMPED): Likewise.
10127 (CLD_TRAPPED): Likewise.
10128 (CLD_STOPPED): Likewise.
10129 (CLD_CONTINUED): Likewise.
10130 (POLL_IN): Likewise.
10131 (POLL_OUT): Likewise.
10132 (POLL_MSG): Likewise.
10133 (POLL_ERR): Likewise.
10134 (POLL_PRI): Likewise.
10135 (POLL_HUP): Likewise.
10136 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10137 Likewise.
10138 (ILL_ILLOPN): Likewise.
10139 (ILL_ILLADR): Likewise.
10140 (ILL_ILLTRP): Likewise.
10141 (ILL_PRVOPC): Likewise.
10142 (ILL_PRVREG): Likewise.
10143 (ILL_COPROC): Likewise.
10144 (ILL_BADSTK): Likewise.
10145 (ILL_BADIADDR): Likewise.
10146 (ILL_BREAK): Likewise.
10147 (FPE_INTDIV): Likewise.
10148 (FPE_INTOVF): Likewise.
10149 (FPE_FLTDIV): Likewise.
10150 (FPE_FLTOVF): Likewise.
10151 (FPE_FLTUND): Likewise.
10152 (FPE_FLTRES): Likewise.
10153 (FPE_FLTINV): Likewise.
10154 (FPE_FLTSUB): Likewise.
10155 (FPE_DECOVF): Likewise.
10156 (FPE_DECDIV): Likewise.
10157 (FPE_DECERR): Likewise.
10158 (FPE_INVASC): Likewise.
10159 (FPE_INVDEC): Likewise.
10160 (SEGV_MAPERR): Likewise.
10161 (SEGV_ACCERR): Likewise.
10162 (SEGV_PSTKOVF): Likewise.
10163 (BUS_ADRALN): Likewise.
10164 (BUS_ADRERR): Likewise.
10165 (BUS_OBJERR): Likewise.
10166 (BUS_MCEERR_AR): Likewise.
10167 (BUS_MCEERR_AO): Likewise.
10168 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10169 (TRAP_TRACE): Likewise.
10170 (TRAP_BRANCH): Likewise.
10171 (TRAP_HWBKPT): Likewise.
10172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10173 __USE_XOPEN2K8].
10174 (CLD_KILLED): Likewise.
10175 (CLD_DUMPED): Likewise.
10176 (CLD_TRAPPED): Likewise.
10177 (CLD_STOPPED): Likewise.
10178 (CLD_CONTINUED): Likewise.
10179 (POLL_IN): Likewise.
10180 (POLL_OUT): Likewise.
10181 (POLL_MSG): Likewise.
10182 (POLL_ERR): Likewise.
10183 (POLL_PRI): Likewise.
10184 (POLL_HUP): Likewise.
10185 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10186 (ILL_ILLOPN): Likewise.
10187 (ILL_ILLADR): Likewise.
10188 (ILL_ILLTRP): Likewise.
10189 (ILL_PRVOPC): Likewise.
10190 (ILL_PRVREG): Likewise.
10191 (ILL_COPROC): Likewise.
10192 (ILL_BADSTK): Likewise.
10193 (FPE_INTDIV): Likewise.
10194 (FPE_INTOVF): Likewise.
10195 (FPE_FLTDIV): Likewise.
10196 (FPE_FLTOVF): Likewise.
10197 (FPE_FLTUND): Likewise.
10198 (FPE_FLTRES): Likewise.
10199 (FPE_FLTINV): Likewise.
10200 (FPE_FLTSUB): Likewise.
10201 (SEGV_MAPERR): Likewise.
10202 (SEGV_ACCERR): Likewise.
10203 (BUS_ADRALN): Likewise.
10204 (BUS_ADRERR): Likewise.
10205 (BUS_OBJERR): Likewise.
10206 (BUS_MCEERR_AR): Likewise.
10207 (BUS_MCEERR_AO): Likewise.
10208 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10209 (TRAP_TRACE): Likewise.
10210 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10211 __USE_XOPEN2K8].
10212 (CLD_KILLED): Likewise.
10213 (CLD_DUMPED): Likewise.
10214 (CLD_TRAPPED): Likewise.
10215 (CLD_STOPPED): Likewise.
10216 (CLD_CONTINUED): Likewise.
10217 (POLL_IN): Likewise.
10218 (POLL_OUT): Likewise.
10219 (POLL_MSG): Likewise.
10220 (POLL_ERR): Likewise.
10221 (POLL_PRI): Likewise.
10222 (POLL_HUP): Likewise.
10223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10224 (ILL_ILLOPN): Likewise.
10225 (ILL_ILLADR): Likewise.
10226 (ILL_ILLTRP): Likewise.
10227 (ILL_PRVOPC): Likewise.
10228 (ILL_PRVREG): Likewise.
10229 (ILL_COPROC): Likewise.
10230 (ILL_BADSTK): Likewise.
10231 (FPE_INTDIV): Likewise.
10232 (FPE_INTOVF): Likewise.
10233 (FPE_FLTDIV): Likewise.
10234 (FPE_FLTOVF): Likewise.
10235 (FPE_FLTUND): Likewise.
10236 (FPE_FLTRES): Likewise.
10237 (FPE_FLTINV): Likewise.
10238 (FPE_FLTSUB): Likewise.
10239 (SEGV_MAPERR): Likewise.
10240 (SEGV_ACCERR): Likewise.
10241 (BUS_ADRALN): Likewise.
10242 (BUS_ADRERR): Likewise.
10243 (BUS_OBJERR): Likewise.
10244 (BUS_MCEERR_AR): Likewise.
10245 (BUS_MCEERR_AO): Likewise.
10246 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10247 (TRAP_TRACE): Likewise.
10248 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10249 __USE_XOPEN2K8].
10250 (CLD_KILLED): Likewise.
10251 (CLD_DUMPED): Likewise.
10252 (CLD_TRAPPED): Likewise.
10253 (CLD_STOPPED): Likewise.
10254 (CLD_CONTINUED): Likewise.
10255 (POLL_IN): Likewise.
10256 (POLL_OUT): Likewise.
10257 (POLL_MSG): Likewise.
10258 (POLL_ERR): Likewise.
10259 (POLL_PRI): Likewise.
10260 (POLL_HUP): Likewise.
10261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10262 (ILL_ILLOPN): Likewise.
10263 (ILL_ILLADR): Likewise.
10264 (ILL_ILLTRP): Likewise.
10265 (ILL_PRVOPC): Likewise.
10266 (ILL_PRVREG): Likewise.
10267 (ILL_COPROC): Likewise.
10268 (ILL_BADSTK): Likewise.
10269 (FPE_INTDIV): Likewise.
10270 (FPE_INTOVF): Likewise.
10271 (FPE_FLTDIV): Likewise.
10272 (FPE_FLTOVF): Likewise.
10273 (FPE_FLTUND): Likewise.
10274 (FPE_FLTRES): Likewise.
10275 (FPE_FLTINV): Likewise.
10276 (FPE_FLTSUB): Likewise.
10277 (SEGV_MAPERR): Likewise.
10278 (SEGV_ACCERR): Likewise.
10279 (BUS_ADRALN): Likewise.
10280 (BUS_ADRERR): Likewise.
10281 (BUS_OBJERR): Likewise.
10282 (BUS_MCEERR_AR): Likewise.
10283 (BUS_MCEERR_AO): Likewise.
10284 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10285 (TRAP_TRACE): Likewise.
10286 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10287 __USE_XOPEN2K8].
10288 (CLD_KILLED): Likewise.
10289 (CLD_DUMPED): Likewise.
10290 (CLD_TRAPPED): Likewise.
10291 (CLD_STOPPED): Likewise.
10292 (CLD_CONTINUED): Likewise.
10293 (POLL_IN): Likewise.
10294 (POLL_OUT): Likewise.
10295 (POLL_MSG): Likewise.
10296 (POLL_ERR): Likewise.
10297 (POLL_PRI): Likewise.
10298 (POLL_HUP): Likewise.
10299 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10300 (ILL_ILLOPN): Likewise.
10301 (ILL_ILLADR): Likewise.
10302 (ILL_ILLTRP): Likewise.
10303 (ILL_PRVOPC): Likewise.
10304 (ILL_PRVREG): Likewise.
10305 (ILL_COPROC): Likewise.
10306 (ILL_BADSTK): Likewise.
10307 (ILL_DBLFLT): Likewise.
10308 (ILL_HARDWALL): Likewise.
10309 (FPE_INTDIV): Likewise.
10310 (FPE_INTOVF): Likewise.
10311 (FPE_FLTDIV): Likewise.
10312 (FPE_FLTOVF): Likewise.
10313 (FPE_FLTUND): Likewise.
10314 (FPE_FLTRES): Likewise.
10315 (FPE_FLTINV): Likewise.
10316 (FPE_FLTSUB): Likewise.
10317 (SEGV_MAPERR): Likewise.
10318 (SEGV_ACCERR): Likewise.
10319 (BUS_ADRALN): Likewise.
10320 (BUS_ADRERR): Likewise.
10321 (BUS_OBJERR): Likewise.
10322 (BUS_MCEERR_AR): Likewise.
10323 (BUS_MCEERR_AO): Likewise.
10324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10325 (TRAP_TRACE): Likewise.
10326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10327 __USE_XOPEN2K8].
10328 (CLD_KILLED): Likewise.
10329 (CLD_DUMPED): Likewise.
10330 (CLD_TRAPPED): Likewise.
10331 (CLD_STOPPED): Likewise.
10332 (CLD_CONTINUED): Likewise.
10333 (POLL_IN): Likewise.
10334 (POLL_OUT): Likewise.
10335 (POLL_MSG): Likewise.
10336 (POLL_ERR): Likewise.
10337 (POLL_PRI): Likewise.
10338 (POLL_HUP): Likewise.
10339 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10340 (ILL_ILLOPN): Likewise.
10341 (ILL_ILLADR): Likewise.
10342 (ILL_ILLTRP): Likewise.
10343 (ILL_PRVOPC): Likewise.
10344 (ILL_PRVREG): Likewise.
10345 (ILL_COPROC): Likewise.
10346 (ILL_BADSTK): Likewise.
10347 (FPE_INTDIV): Likewise.
10348 (FPE_INTOVF): Likewise.
10349 (FPE_FLTDIV): Likewise.
10350 (FPE_FLTOVF): Likewise.
10351 (FPE_FLTUND): Likewise.
10352 (FPE_FLTRES): Likewise.
10353 (FPE_FLTINV): Likewise.
10354 (FPE_FLTSUB): Likewise.
10355 (SEGV_MAPERR): Likewise.
10356 (SEGV_ACCERR): Likewise.
10357 (BUS_ADRALN): Likewise.
10358 (BUS_ADRERR): Likewise.
10359 (BUS_OBJERR): Likewise.
10360 (BUS_MCEERR_AR): Likewise.
10361 (BUS_MCEERR_AO): Likewise.
10362 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10363 (TRAP_TRACE): Likewise.
10364 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10365 __USE_XOPEN2K8].
10366 (CLD_KILLED): Likewise.
10367 (CLD_DUMPED): Likewise.
10368 (CLD_TRAPPED): Likewise.
10369 (CLD_STOPPED): Likewise.
10370 (CLD_CONTINUED): Likewise.
10371 (POLL_IN): Likewise.
10372 (POLL_OUT): Likewise.
10373 (POLL_MSG): Likewise.
10374 (POLL_ERR): Likewise.
10375 (POLL_PRI): Likewise.
10376 (POLL_HUP): Likewise.
10377 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10378 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10379
bc61d27c
JM
10380 [BZ #16670]
10381 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10382 before #include of <time.h>.
10383 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10384 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10385 (test-xfail-UNIX98/sched.h/conform): Likewise.
10386
302949e2
MS
103872014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10388
10389 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10390 error absence of trapping exception support.
10391 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10392
a00f522a
JM
103932014-03-07 Joseph Myers <joseph@codesourcery.com>
10394
6f99f280
JM
10395 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10396 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10397 * timezone/Makefile (testdata): Move definition above include of
10398 Rules.
10399 (test-zones): New variable.
10400 (tests-special): Add zone files.
10401 (build-testdata): Use $(evaluate-test).
10402
0b20a9e8
JM
10403 * elf/Makefile (tests-special): Rename tests to end with .out.
10404 ($(objpfx)noload-mem): Likewise.
10405 ($(objpfx)tst-leaks1-mem): Likewise.
10406 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10407 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10408 $(objpfx)test-iconvconfig.out.
10409 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10410 set -e inside subshell and redirect output to file.
10411 * iconvdata/Makefile (generated): Rename tests to end with .out.
10412 Correct type.
10413 (tests-special): Rename tests to end with .out.
10414 ($(objpfx)mtrace-tst-loading): Likewise.
10415 * intl/Makefile (generated): Likewise.
10416 (tests-special): Likewise.
10417 ($(objpfx)mtrace-tst-gettext): Likewise.
10418 * misc/Makefile (generated): Likewise.
10419 (tests-special): Likewise.
10420 ($(objpfx)tst-error1-mem): Likewise.
10421 * nptl/Makefile (tests-special): Likewise.
10422 ($(objpfx)tst-stack3-mem): Likewise.
10423 (generated): Likewise.
10424 * posix/Makefile (generated): Likewise.
10425 (tests-special): Likewise.
10426 (xtests-special): Likewise.
10427 ($(objpfx)tst-fnmatch-mem): Likewise.
10428 ($(objpfx)bug-regex2-mem): Likewise.
10429 ($(objpfx)bug-regex14-mem): Likewise.
10430 ($(objpfx)bug-regex21-mem): Likewise.
10431 ($(objpfx)bug-regex31-mem): Likewise.
10432 ($(objpfx)tst-vfork3-mem): Likewise.
10433 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10434 ($(objpfx)tst-pcre-mem): Likewise.
10435 ($(objpfx)tst-boost-mem): Likewise.
10436 ($(objpfx)bug-ga2-mem): Likewise.
10437 ($(objpfx)bug-glob2-mem): Likewise.
10438 * resolv/Makefile (generate): Likewise.
10439 (tests-special): Likewise.
10440 (xtests-special): Likewise.
10441 (generated): Likewise.
10442 ($(objpfx)mtrace-tst-leaks): Likewise.
10443 ($(objpfx)mtrace-tst-leaks2): Likewise.
10444
265d52ab
JM
10445 * scripts/merge-test-results.sh: New file.
10446 * Makefile (tests-special-notdir): New variable.
10447 (tests): Run merge-test-results.sh.
10448 (xtests): Likewise.
10449 * Rules (tests-special-notdir): New variable.
10450 (xtests-special-notdir): Likewise.
10451 (tests): Run merge-test-results.sh
10452 (xtests): Likewise.
10453
54ee292d
JM
10454 * Makeconfig (test-xfail-name): New variable.
10455 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10456 compute variable name for expected failures.
10457 * conform/Makefile (conformtest-headers-data): New variable.
10458 (conformtest-standards): Likewise.
10459 (conformtest-headers-ISO): Likewise.
10460 (conformtest-headers-ISO99): Likewise.
10461 (conformtest-headers-ISO11): Likewise.
10462 (conformtest-headers-POSIX): Likewise.
10463 (conformtest-headers-XPG3): Likewise.
10464 (conformtest-headers-XPG4): Likewise.
10465 (conformtest-headers-UNIX98): Likewise.
10466 (conformtest-headers-XOPEN2K): Likewise.
10467 (conformtest-headers-POSIX2008): Likewise.
10468 (conformtest-headers-XOPEN2K8): Likewise.
10469 (conformtest-header-list-base): Likewise.
10470 (conformtest-header-list-tests): Likewise.
10471 (conformtest-header-base): Likewise.
10472 (conformtest-header-tests): Likewise.
10473 (tests-special): Add $(conformtest-header-list-tests). If
10474 [$(fast-check) && !$(cross-compiling)], add
10475 $(conformtest-header-tests) instead of
10476 $(objpfx)run-conformtest.out.
10477 (generated): Add $(conformtest-header-list-base). If
10478 [$(fast-check) && !$(cross-compiling)], add
10479 $(conformtest-header-base). Remove previous setting.
10480 ($(conformtest-header-list-tests)): New target.
10481 (test-xfail-run-conformtest): Remove variable.
10482 ($(objpfx)run-conformtest.out): Remove target.
10483 (test-xfail-ISO11/complex.h/conform): New variable.
10484 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10485 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10486 (test-xfail-XPG3/varargs.h/conform): Likewise.
10487 (test-xfail-XPG4/varargs.h/conform): Likewise.
10488 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10489 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10490 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10491 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10492 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10493 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10494 (test-xfail-XPG3/ftw.h/conform): Likewise.
10495 (test-xfail-XPG3/grp.h/conform): Likewise.
10496 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10497 (test-xfail-XPG3/limits.h/conform): Likewise.
10498 (test-xfail-XPG3/pwd.h/conform): Likewise.
10499 (test-xfail-XPG3/search.h/conform): Likewise.
10500 (test-xfail-XPG3/signal.h/conform): Likewise.
10501 (test-xfail-XPG3/stdio.h/conform): Likewise.
10502 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10503 (test-xfail-XPG3/string.h/conform): Likewise.
10504 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10505 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10506 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10507 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10508 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10509 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10510 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10511 (test-xfail-XPG3/termios.h/conform): Likewise.
10512 (test-xfail-XPG3/time.h/conform): Likewise.
10513 (test-xfail-XPG3/unistd.h/conform): Likewise.
10514 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10515 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10516 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10517 (test-xfail-XPG4/netdb.h/conform): Likewise.
10518 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10519 (test-xfail-XPG4/signal.h/conform): Likewise.
10520 (test-xfail-XPG4/stdio.h/conform): Likewise.
10521 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10522 (test-xfail-XPG4/stropts.h/conform): Likewise.
10523 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10524 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10525 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10526 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10527 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10528 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10529 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10530 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10531 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10532 (test-xfail-XPG4/termios.h/conform): Likewise.
10533 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10534 (test-xfail-XPG4/unistd.h/conform): Likewise.
10535 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10536 (test-xfail-POSIX/sched.h/conform): Likewise.
10537 (test-xfail-POSIX/signal.h/conform): Likewise.
10538 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10539 (test-xfail-POSIX/tar.h/conform): Likewise.
10540 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10541 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10542 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10543 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10544 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10545 (test-xfail-UNIX98/sched.h/conform): Likewise.
10546 (test-xfail-UNIX98/signal.h/conform): Likewise.
10547 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10548 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10549 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10550 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10551 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10552 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10553 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10554 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10555 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10556 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10557 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10558 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10559 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10560 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10561 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10562 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10563 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10564 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10565 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10566 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10567 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10568 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10569 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10570 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10571 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10572 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10573 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10574 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10575 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10576 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10577 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10578 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10579 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10580 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10581 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10582 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10583 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10584 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10585 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10586 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10587 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10588 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10589 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10590 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10591 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10592 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10593 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10594 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10595 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10596 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10597 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10598 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10599 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10600 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10601 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10602 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10603 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10604 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10605 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10606 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10607 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10608 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10609 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10610 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10611 (conformtest-cc-flags): Likewise.
10612 ($(conformtest-header-tests): New target.
10613 * conform/check-header-lists.sh: New file.
10614 * conform/run-conformtest.sh: Remove.
10615
a00f522a
JM
10616 * conform/conformtest.pl: Allow ' and \ in values given for
10617 constants.
10618 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10619 inclusion.
10620 [POSIX] (sys/types.h): Likewise.
10621 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10622 inclusion.
10623 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10624 inclusion.
10625 * conform/data/signal.h-data (SIGIO): Remove expectation.
10626 [XPG3] (SIGBUS): Do not expect.
10627 [POSIX || XPG3] (SIGPOLL): Likewise.
10628 [POSIX || XPG3] (SIGPROF): Likewise.
10629 [POSIX || XPG3] (SIGSYS): Likewise.
10630 [XPG3] (SIGTRAP): Likewise.
10631 [POSIX || XPG3] (SIGURG): Likewise.
10632 [POSIX || XPG3] (SIGVTALRM): Likewise.
10633 [POSIX || XPG3] (SIGXCPU): Likewise.
10634 [POSIX || XPG3] (SIGXFSZ): Likewise.
10635 [POSIX] (SA_SIGINFO): Expect.
10636 [XPG3] (siginfo_t): Do not expect type or contents.
10637 [POSIX] (si_pid): Do not expect element.
10638 [POSIX] (si_uid): Likewise.
10639 [POSIX] (si_addr): Likewise.
10640 [POSIX] (si_status): Likewise.
10641 [POSIX] (si_band): Likewise.
10642 [XPG4] (si_value): Likewise.
10643 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10644 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10645 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10646 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10647 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10648 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10649 [POSIX || XPG3] (ILL_COPROC): Likewise.
10650 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10651 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10652 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10653 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10654 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10655 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10656 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10657 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10658 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10659 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10660 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10661 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10662 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10663 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10664 [POSIX || XPG3] (CLD_EXITED): Likewise.
10665 [POSIX || XPG3] (CLD_KILLED): Likewise.
10666 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10667 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10668 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10669 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10670 [POSIX || XPG3] (POLL_IN): Likewise.
10671 [POSIX || XPG3] (POLL_OUT): Likewise.
10672 [POSIX || XPG3] (POLL_MSG): Likewise.
10673 [POSIX || XPG3] (POLL_ERR): Likewise.
10674 [POSIX || XPG3] (POLL_PRI): Likewise.
10675 [POSIX || XPG3] (POLL_HUP): Likewise.
10676 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10677 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10678 (SIG*): Do not allow.
10679 [XPG3] (si_*): Likewise.
10680 [XPG3] (SI_*): Likewise.
10681 [XPG3 || XPG4] (sigev_*): Likewise.
10682 [XPG3 || XPG4] (SIGEV_*): Likewise.
10683 [XPG3 || XPG4] (sival_*): Likewise.
10684 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10685 [POSIX || XPG3] (BUS_*): Likewise.
10686 [POSIX || XPG3] (CLD_*): Likewise.
10687 [POSIX || XPG3] (FPE_*): Likewise.
10688 [POSIX || XPG3] (ILL_*): Likewise.
10689 [POSIX || XPG3] (POLL_*): Likewise.
10690 [POSIX || XPG3] (SEGV_*): Likewise.
10691 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10692 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10693 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10694 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10695 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10696 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10697 Specify type and value.
10698 (TVERSLEN): Likewise.
10699 (REGTYPE): Likewise.
10700 (AREGTYPE): Likewise.
10701 (LNKTYPE): Likewise.
10702 (SYMTYPE): Likewise.
10703 (CHRTYPE): Likewise.
10704 (BLKTYPE): Likewise.
10705 (DIRTYPE): Likewise.
10706 (FIFOTYPE): Likewise.
10707 (CONTTYPE): Likewise.
10708 (TSUID): Likewise.
10709 (TSGID): Likewise.
10710 (TSVTX): Likewise.
10711 (TUREAD): Likewise.
10712 (TUWRITE): Likewise.
10713 (TUEXEC): Likewise.
10714 (TGREAD): Likewise.
10715 (TGWRITE): Likewise.
10716 (TGEXEC): Likewise.
10717 (TOREAD): Likewise.
10718 (TOWRITE): Likewise.
10719 (TOEXEC): Likewise.
10720 [POSIX] (TSVTX): Expect constant.
10721
aa97dee1
JM
107222014-03-06 Joseph Myers <joseph@codesourcery.com>
10723
f214606a
JM
10724 * Makefile (tests): Change dependencies to ....
10725 (tests-special): ... additions to this variable.
10726 (tests): Depend on $(tests-special).
10727 * Makerules (check-abi-list): New variable.
10728 (check-abi): Depend on $(check-abi-list).
10729 [$(subdir) = elf] (tests-special): Add
10730 $(objpfx)check-abi-libc.out.
10731 [$(build-shared) = yes && subdir] (tests-special): Add
10732 $(check-abi-list).
10733 [$(build-shared) = yes && subdir] (tests): Do not depend on
10734 check-abi.
10735 * Rules (tests): Depend on $(tests-special).
10736 (xtests): Depend on $(xtests-special).
10737 * catgets/Makefile (tests): Change dependencies to ....
10738 (tests-special): ... additions to this variable.
10739 * conform/Makefile (tests): Change dependencies to ....
10740 (tests-special): ... additions to this variable.
10741 * elf/Makefile (tests): Change dependencies to ....
10742 (tests-special): ... additions to this variable.
10743 * grp/Makefile (tests): Change dependencies to ....
10744 (tests-special): ... additions to this variable.
10745 * iconv/Makefile (xtests): Change dependencies to ....
10746 (xtests-special): ... additions to this variable.
10747 * iconvdata/Makefile (tests): Change dependencies to ....
10748 (tests-special): ... additions to this variable.
10749 * intl/Makefile (tests): Change dependencies to ....
10750 (tests-special): ... additions to this variable. Also add
10751 $(objpfx)tst-gettext.out.
10752 * io/Makefile (tests): Change dependencies to ....
10753 (tests-special): ... additions to this variable.
10754 * libio/Makefile (tests): Change dependencies to ....
10755 (tests-special): ... additions to this variable.
10756 * malloc/Makefile (tests): Change dependencies to ....
10757 (tests-special): ... additions to this variable.
10758 * misc/Makefile (tests): Change dependencies to ....
10759 (tests-special): ... additions to this variable.
10760 * nptl/Makefile (tests): Change dependencies to ....
10761 (tests-special): ... additions to this variable.
10762 * nptl_db/Makefile (tests): Change dependencies to ....
10763 (tests-special): ... additions to this variable.
10764 * posix/Makefile (tests): Change dependencies to ....
10765 (tests-special): ... additions to this variable.
10766 (xtests): Change dependencies to ....
10767 (xtests-special): ... additions to this variable.
10768 * resolv/Makefile (tests): Change dependencies to ....
10769 (tests-special): ... additions to this variable.
10770 (xtests): Change dependencies to ....
10771 (xtests-special): ... additions to this variable.
10772 * stdio-common/Makefile (tests): Change dependencies to ....
10773 (tests-special): ... additions to this variable.
10774 (do-tst-unbputc): Remove target.
10775 (do-tst-printf): Likewise.
10776 * stdlib/Makefile (tests): Change dependencies to ....
10777 (tests-special): ... additions to this variable.
10778 * string/Makefile (tests): Change dependencies to ....
10779 (tests-special): ... additions to this variable.
10780 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10781 (tests-special): ... additions to this variable.
10782
81700b53
JM
10783 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10784 whole file.
10785 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10786 whole file.
10787 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10788 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10789
2ea18461
JM
10790 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10791 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10792 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10793 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10794 * conform/data/libgen.h-data [XPG3]: Likewise.
10795 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10796 * conform/data/ndbm.h-data [XPG3]: Likewise.
10797 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10798 * conform/data/netdb.h-data [XPG3]: Likewise.
10799 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10800 * conform/data/poll.h-data [XPG3]: Likewise.
10801 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10802 * conform/data/strings.h-data [XPG3]: Likewise.
10803 * conform/data/stropts.h-data [XPG3]: Likewise.
10804 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10805 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10806 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10807 Likewise.
10808 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10809 * conform/data/sys/time.h-data [XPG3]: Likewise.
10810 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10811 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10812 * conform/data/sys/un.h-data [XPG3]: Likewise.
10813 * conform/data/syslog.h-data [XPG3]: Likewise.
10814 * conform/data/ucontext.h-data [XPG3]: Likewise.
10815 * conform/data/utmpx.h-data [XPG3]: Likewise.
10816 * conform/data/varargs.h-data [UNIX98]: Enable file.
10817
355bc986
JM
10818 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10819
215db402
JM
10820 * math/libm-test.inc (struct test_f_f_data): Move expected results
10821 into structure for each rounding mode.
10822 (struct test_ff_f_data): Likewise.
10823 (struct test_ff_f_data_nexttoward): Likewise.
10824 (struct test_fi_f_data): Likewise.
10825 (struct test_fl_f_data): Likewise.
10826 (struct test_if_f_data): Likewise.
10827 (struct test_fff_f_data): Likewise.
10828 (struct test_c_f_data): Likewise.
10829 (struct test_f_f1_data): Likewise.
10830 (struct test_fF_f1_data): Likewise.
10831 (struct test_ffI_f1_data): Likewise.
10832 (struct test_c_c_data): Likewise.
10833 (struct test_cc_c_data): Likewise.
10834 (struct test_f_i_data): Likewise.
10835 (struct test_ff_i_data): Likewise.
10836 (struct test_f_l_data): Likewise.
10837 (struct test_f_L_data): Likewise.
10838 (struct test_fFF_11_data): Likewise.
10839 (RM_): New macro.
10840 (RM_FE_DOWNWARD): Likewise.
10841 (RM_FE_TONEAREST): Likewise.
10842 (RM_FE_TOWARDZERO): Likewise.
10843 (RM_FE_UPWARD): Likewise.
10844 (RUN_TEST_LOOP_f_f): Update references to expected results.
10845 (RUN_TEST_LOOP_2_f): Likewise.
10846 (RUN_TEST_LOOP_fff_f): Likewise.
10847 (RUN_TEST_LOOP_c_f): Likewise.
10848 (RUN_TEST_LOOP_f_f1): Likewise.
10849 (RUN_TEST_LOOP_fF_f1): Likewise.
10850 (RUN_TEST_LOOP_fI_f1): Likewise.
10851 (RUN_TEST_LOOP_ffI_f1): Likewise.
10852 (RUN_TEST_LOOP_c_c): Likewise.
10853 (RUN_TEST_LOOP_cc_c): Likewise.
10854 (RUN_TEST_LOOP_f_i): Likewise.
10855 (RUN_TEST_LOOP_f_i_tg): Likewise.
10856 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10857 (RUN_TEST_LOOP_f_b): Likewise.
10858 (RUN_TEST_LOOP_f_b_tg): Likewise.
10859 (RUN_TEST_LOOP_f_l): Likewise.
10860 (RUN_TEST_LOOP_f_L): Likewise.
10861 (RUN_TEST_LOOP_fFF_11): Likewise.
10862 * math/gen-libm-test.pl (parse_args): Output four copies of
10863 expected results for each test.
10864
67737b8f
JM
10865 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10866 (__ASSUME_UTIMES): Remove.
10867 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10868 (__ASSUME_UTIMES): Likewise.
10869
aa97dee1
JM
10870 * math/gen-auto-libm-tests.c: Update comment on output format.
10871 (output_for_one_input_case): Generate before-rounding and
10872 after-rounding information as conditions on output flags not
10873 floating-point format.
10874 * math/auto-libm-test-out: Regenerated.
10875 * math/gen-libm-test.pl (cond_value): New function.
10876 (or_cond_value): Use cond_value.
10877 (generate_testfile): Handle conditional exceptions.
10878
e6b6a857
JM
108792014-03-05 Joseph Myers <joseph@codesourcery.com>
10880
2f0a0f44
JM
10881 * math/libm-test.inc (max_valid_error): New variable.
10882 (init_max_error): Take new argument specifying whether function
10883 results are exactly determined. Set max_valid_error and bound
10884 other variables for errors based on this argument.
10885 (set_max_error): Do not record results above max_valid_error.
10886 (check_float_internal): Only accept errors of up to 0.5ulps if
10887 also at most max_valid_error.
10888 (START): Take new argument EXACT and pass it to init_max_error.
10889 (acos_test): Update call to START.
10890 (acos_test_tonearest): Likewise.
10891 (acos_test_towardzero): Likewise.
10892 (acos_test_downward): Likewise.
10893 (acos_test_upward): Likewise.
10894 (acosh_test): Likewise.
10895 (asin_test): Likewise.
10896 (asin_test_tonearest): Likewise.
10897 (asin_test_towardzero): Likewise.
10898 (asin_test_downward): Likewise.
10899 (asin_test_upward): Likewise.
10900 (asinh_test): Likewise.
10901 (atan_test): Likewise.
10902 (atanh_test): Likewise.
10903 (atan2_test): Likewise.
10904 (cabs_test): Likewise.
10905 (cacos_test): Likewise.
10906 (cacosh_test): Likewise.
10907 (carg_test): Likewise.
10908 (casin_test): Likewise.
10909 (casinh_test): Likewise.
10910 (catan_test): Likewise.
10911 (catanh_test): Likewise.
10912 (cbrt_test): Likewise.
10913 (ccos_test): Likewise.
10914 (ccosh_test): Likewise.
10915 (ceil_test): Likewise.
10916 (cexp_test): Likewise.
10917 (cimag_test): Likewise.
10918 (clog_test): Likewise.
10919 (clog10_test): Likewise.
10920 (conj_test): Likewise.
10921 (copysign_test): Likewise.
10922 (cos_test): Likewise.
10923 (cos_test_tonearest): Likewise.
10924 (cos_test_towardzero): Likewise.
10925 (cos_test_downward): Likewise.
10926 (cos_test_upward): Likewise.
10927 (cosh_test): Likewise.
10928 (cosh_test_tonearest): Likewise.
10929 (cosh_test_towardzero): Likewise.
10930 (cosh_test_downward): Likewise.
10931 (cosh_test_upward): Likewise.
10932 (cpow_test): Likewise.
10933 (cproj_test): Likewise.
10934 (creal_test): Likewise.
10935 (csin_test): Likewise.
10936 (csinh_test): Likewise.
10937 (csqrt_test): Likewise.
10938 (ctan_test): Likewise.
10939 (ctan_test_tonearest): Likewise.
10940 (ctan_test_towardzero): Likewise.
10941 (ctan_test_downward): Likewise.
10942 (ctan_test_upward): Likewise.
10943 (ctanh_test): Likewise.
10944 (ctanh_test_tonearest): Likewise.
10945 (ctanh_test_towardzero): Likewise.
10946 (ctanh_test_downward): Likewise.
10947 (ctanh_test_upward): Likewise.
10948 (erf_test): Likewise.
10949 (erfc_test): Likewise.
10950 (exp_test): Likewise.
10951 (exp_test_tonearest): Likewise.
10952 (exp_test_towardzero): Likewise.
10953 (exp_test_downward): Likewise.
10954 (exp_test_upward): Likewise.
10955 (exp10_test): Likewise.
10956 (exp10_test_tonearest): Likewise.
10957 (exp10_test_towardzero): Likewise.
10958 (exp10_test_downward): Likewise.
10959 (exp10_test_upward): Likewise.
10960 (pow10_test): Likewise.
10961 (exp2_test): Likewise.
10962 (expm1_test): Likewise.
10963 (expm1_test_tonearest): Likewise.
10964 (expm1_test_towardzero): Likewise.
10965 (expm1_test_downward): Likewise.
10966 (expm1_test_upward): Likewise.
10967 (fabs_test): Likewise.
10968 (fdim_test): Likewise.
10969 (floor_test): Likewise.
10970 (fma_test): Likewise.
10971 (fma_test_towardzero): Likewise.
10972 (fma_test_downward): Likewise.
10973 (fma_test_upward): Likewise.
10974 (fmax_test): Likewise.
10975 (fmin_test): Likewise.
10976 (fmod_test): Likewise.
10977 (fpclassify_test): Likewise.
10978 (frexp_test): Likewise.
10979 (hypot_test): Likewise.
10980 (ilogb_test): Likewise.
10981 (isfinite_test): Likewise.
10982 (finite_test): Likewise.
10983 (isgreater_test): Likewise.
10984 (isgreaterequal_test): Likewise.
10985 (isinf_test): Likewise.
10986 (isless_test): Likewise.
10987 (islessequal_test): Likewise.
10988 (islessgreater_test): Likewise.
10989 (isnan_test): Likewise.
10990 (isnormal_test): Likewise.
10991 (issignaling_test): Likewise.
10992 (isunordered_test): Likewise.
10993 (j0_test): Likewise.
10994 (j1_test): Likewise.
10995 (jn_test): Likewise.
10996 (ldexp_test): Likewise.
10997 (lgamma_test): Likewise.
10998 (gamma_test): Likewise.
10999 (lrint_test): Likewise.
11000 (lrint_test_tonearest): Likewise.
11001 (lrint_test_towardzero): Likewise.
11002 (lrint_test_downward): Likewise.
11003 (lrint_test_upward): Likewise.
11004 (llrint_test): Likewise.
11005 (llrint_test_tonearest): Likewise.
11006 (llrint_test_towardzero): Likewise.
11007 (llrint_test_downward): Likewise.
11008 (llrint_test_upward): Likewise.
11009 (log_test): Likewise.
11010 (log10_test): Likewise.
11011 (log1p_test): Likewise.
11012 (log2_test): Likewise.
11013 (logb_test): Likewise.
11014 (logb_test_downward): Likewise.
11015 (lround_test): Likewise.
11016 (llround_test): Likewise.
11017 (modf_test): Likewise.
11018 (nearbyint_test): Likewise.
11019 (nextafter_test): Likewise.
11020 (nexttoward_test): Likewise.
11021 (pow_test): Likewise.
11022 (pow_test_tonearest): Likewise.
11023 (pow_test_towardzero): Likewise.
11024 (pow_test_downward): Likewise.
11025 (pow_test_upward): Likewise.
11026 (remainder_test): Likewise.
11027 (drem_test): Likewise.
11028 (remainder_test_tonearest): Likewise.
11029 (drem_test_tonearest): Likewise.
11030 (remainder_test_towardzero): Likewise.
11031 (drem_test_towardzero): Likewise.
11032 (remainder_test_downward): Likewise.
11033 (drem_test_downward): Likewise.
11034 (remainder_test_upward): Likewise.
11035 (drem_test_upward): Likewise.
11036 (remquo_test): Likewise.
11037 (rint_test): Likewise.
11038 (rint_test_tonearest): Likewise.
11039 (rint_test_towardzero): Likewise.
11040 (rint_test_downward): Likewise.
11041 (rint_test_upward): Likewise.
11042 (round_test): Likewise.
11043 (scalb_test): Likewise.
11044 (scalbn_test): Likewise.
11045 (scalbln_test): Likewise.
11046 (signbit_test): Likewise.
11047 (sin_test): Likewise.
11048 (sin_test_tonearest): Likewise.
11049 (sin_test_towardzero): Likewise.
11050 (sin_test_downward): Likewise.
11051 (sin_test_upward): Likewise.
11052 (sincos_test): Likewise.
11053 (sinh_test): Likewise.
11054 (sinh_test_tonearest): Likewise.
11055 (sinh_test_towardzero): Likewise.
11056 (sinh_test_downward): Likewise.
11057 (sinh_test_upward): Likewise.
11058 (sqrt_test): Likewise.
11059 (sqrt_test_tonearest): Likewise.
11060 (sqrt_test_towardzero): Likewise.
11061 (sqrt_test_downward): Likewise.
11062 (sqrt_test_upward): Likewise.
11063 (tan_test): Likewise.
11064 (tan_test_tonearest): Likewise.
11065 (tan_test_towardzero): Likewise.
11066 (tan_test_downward): Likewise.
11067 (tan_test_upward): Likewise.
11068 (tanh_test): Likewise.
11069 (tgamma_test): Likewise.
11070 (trunc_test): Likewise.
11071 (y0_test): Likewise.
11072 (y1_test): Likewise.
11073 (yn_test): Likewise.
11074 (significand_test): Likewise.
11075
e6b6a857
JM
11076 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11077 individual tests in comment.
11078 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11079 (prev_max_error): New variable.
11080 (prev_real_max_error): Likewise.
11081 (prev_imag_max_error): Likewise.
11082 (compare_ulp_data): Don't refer to test names in comment.
11083 (find_test_ulps): Remove function.
11084 (find_function_ulps): Likewise.
11085 (find_complex_function_ulps): Likewise.
11086 (init_max_error): Take function name as argument. Look up ulps
11087 for that function.
11088 (print_ulps): Remove function.
11089 (print_max_error): Use prev_max_error instead of calling
11090 find_function_ulps.
11091 (print_complex_max_error): Use prev_real_max_error and
11092 prev_imag_max_error instead of calling find_complex_function_ulps.
11093 (check_float_internal): Take max_ulp parameter instead of calling
11094 find_test_ulps. Don't call print_ulps.
11095 (check_float): Update call to check_float_internal.
11096 (check_complex): Update calls to check_float_internal.
11097 (START): Pass argument to init_max_error.
11098 * math/gen-libm-test.pl (%results): Don't include "kind"
11099 information.
11100 (parse_ulps): Don't handle ulps of individual tests.
11101 (print_ulps_file): Likewise.
11102 (output_ulps): Likewise.
11103 * math/README.libm-test: Update.
11104 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11105 individual tests.
11106 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11107 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11108 * sysdeps/arm/libm-test-ulps: Likewise.
11109 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11110 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11111 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11112 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11113 * sysdeps/microblaze/libm-test-ulps: Likewise.
11114 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11115 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11117 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11118 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11119 * sysdeps/sh/libm-test-ulps: Likewise.
11120 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11121 * sysdeps/tile/libm-test-ulps: Likewise.
11122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11123
45adef3c
JM
111242014-03-04 Joseph Myers <joseph@codesourcery.com>
11125
11126 * math/libm-test.inc (print_complex_max_error): Check separately
11127 whether real and imaginary errors are within allowed range and
11128 pass 0 to print_complex_function_ulps instead of value within
11129 allowed range.
11130
000232b9
SP
111312014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11132
d4b17258
SP
11133 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11134 formatting.
11135 (get_handles_fopen): Likewise.
11136 (do_write_test): Likewise.
11137
091eff71
SP
11138 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11139
fa3cd248
SP
11140 * libio/fileops.c (do_ftell): Use cached offset when
11141 available.
11142 * libio/iofwide.c (do_ftell_wide): Likewise.
11143 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11144 _IO_file_attach.
11145 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11146
000232b9
SP
11147 [BZ #16532]
11148 * libio/libioP.h (get_file_offset): New function.
11149 * libio/fileops.c (get_file_offset): Likewise.
11150 (do_ftell): Likewise.
11151 (_IO_new_file_seekoff): Split out ftell logic.
11152 * libio/wfileops.c (do_ftell_wide): Likewise.
11153 (_IO_wfile_seekoff): Split out ftell logic.
11154 * libio/tst-ftell-active-handler.c: New test case.
11155 * libio/Makefile (tests): Add it.
11156
116f4d1a
RM
111572014-03-03 Roland McGrath <roland@hack.frob.com>
11158
11159 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11160 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11161
532a6035
SP
111622014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11163
11164 [BZ #16639]
11165 * nscd/connections.c (nscd_init): Call do_exit.
11166 (start_threads): Call do_exit and notify_parent.
11167 (begin_drop_privileges): Call do_exit.
11168 (finish_drop_privileges): Likewise.
11169 * nscd/selinux.c (preserve_capabilities): Likewise.
11170 (install_real_capabilities): Likewise.
11171 (nscd_selinux_enabled): Likewise.
11172 (avc_create_thread): Likewise.
11173 (avc_alloc_lock): Likewise.
11174 (nscd_avc_init): Likewise.
11175 * nscd/nscd.c (parent_fd): New static variable.
11176 (main): Create a pipe between parent and child processes.
11177 Skip closing parent_fd.
11178 (monitor_child): New function.
11179 (do_exit): Likewise.
11180 (notify_parent): Likewise.
11181 * nscd/nscd.h (notify_parent): Likewise.
11182 (do_exit): Likewise.
11183
d6285c9f
CD
111842014-03-03 Carlos O'Donell <carlos@redhat.com>
11185
11186 * malloc/malloc.c (__libc_calloc): Revert last change.
11187
2b85d2a0
AZ
111882014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11189
11190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11191
c7debbdf
RS
111922014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11193
11194 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11196 implementation.
11197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11198 (__libc_ifunc_impl_list): Likewise.
11199 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11200 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11201 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11202 * string/strrchr.c: Define STRRCHR.
11203
235eed86
OB
112042014-02-28 Ondřej Bílka <neleai@seznam.cz>
11205
11206 * benchtest/bench-strtok.c (simple_strtok): Delete.
11207 (strtok_string): Use as benchmark.
11208 * string/strtok (STRTOK): New macro.
11209
8e25d1e7
CD
112102014-02-28 Carlos O'Donell <carlos@redhat.com>
11211
ef563f92
CD
11212 * manual/threads.texi: Add header and standard comments to all
11213 functions.
11214
8e25d1e7
CD
11215 * elf/dl-lookup.c (check_match): New function.
11216 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11217 (do_lookup_x): Remove nested function check_match. Use non-nested
11218 function check_match.
11219
ff71cc37
RM
112202014-02-28 Roland McGrath <roland@hack.frob.com>
11221
f08e9a26
RM
11222 * csu/Makefile (generated, before-compile): Use += rather than =.
11223 * catgets/Makefile (generated, generated-dirs): Likewise.
11224 * debug/Makefile (generated): Likewise.
11225 * dlfcn/Makefile (generated): Likewise.
11226 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11227 * iconvdata/Makefile (before-compile, generated): Likewise.
11228 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11229 * libio/Makefile (generated): Likewise.
11230 * malloc/Makefile (generated): Likewise.
11231 * manual/Makefile (generated, generated-dirs): Likewise.
11232 * misc/Makefile (generated): Likewise.
11233 * posix/Makefile (generated): Likewise.
11234 * resolv/Makefile (generated): Likewise.
11235 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11236 * timezone/Makefile (generated, generated-dirs): Likewise.
11237
ff71cc37
RM
11238 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11239
fe13a20c
AZ
112402014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11241
57f41c40
AS
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11243 power8 implementation.
11244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11245 file: POWER8 llround ifunc implementation.
11246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11247 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11248 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11249 POWER8 llround implementation.
11250
57f41c40
AS
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11252 power8 implementation.
11253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11254 file: POWER8 llrint ifunc implementation.
11255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11256 Add POWER8 implementation.
1ad8950a
AZ
11257 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11258 POWER8 llrint implementation.
11259
57f41c40
AS
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11261 power8 implementation.
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11263 file: POWER8 finite ifunc implementation.
11264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11265 Add POWER8 implementation.
cac626d6
AZ
11266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11267 Likewise.
11268 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11269 POWER8 finite implementation.
11270 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11271
57f41c40
AS
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11273 power8 implementation.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11275 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11277 POWER8 implementation.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11279 Likewise.
57f41c40
AS
11280 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11281 isinf implementation.
4393fc11
AZ
11282 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11283
57f41c40
AS
11284 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11285 (INIT_ARCH): Add hwcap2 initialization.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11287 power8 implementation.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11289 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11291 POWER8 implementation.
11292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11293 Likewise.
57f41c40
AS
11294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11295 isnan implementation.
487972ae
AZ
11296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11297
7d92b787
JY
112982014-02-27 Joey Ye <joey.ye@arm.com>
11299
11300 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11301 (_FP_NANFRAC_Q): Set to zero.
11302
1cadc858
SP
113032014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11304
11305 [BZ #16623]
11306 * math/auto-libm-test-in: New test inputs.
11307 * math/auto-libm-test-out: Regenerate.
11308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11309 and DA.
11310 (__cos): Likewise.
11311 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11312
f8c17e79
JM
113132014-02-27 Joseph Myers <joseph@codesourcery.com>
11314
11315 * scripts/evaluate-test.sh: Take new argument indicating whether
11316 failure is expected.
11317 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11318 indicating whether failure is expected.
11319 * conform/Makefile (test-xfail-run-conformtest): New variable.
11320 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11321 level.
11322 * posix/Makefile (test-xfail-annexc): New variable.
11323 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11324
a5f891ac
JM
113252014-02-26 Joseph Myers <joseph@codesourcery.com>
11326
11327 * argp/Makefile: Include Makeconfig immediately after defining
11328 subdir.
11329 * assert/Makefile: Likewise.
11330 * benchtests/Makefile: Likewise.
11331 * catgets/Makefile: Likewise.
11332 * conform/Makefile: Likewise.
11333 * crypt/Makefile: Likewise.
11334 * csu/Makefile: Likewise.
11335 (all): Remove target.
11336 * ctype/Makefile: Include Makeconfig immediately after defining
11337 subdir.
11338 * debug/Makefile: Likewise.
11339 * dirent/Makefile: Likewise.
11340 * dlfcn/Makefile: Likewise.
11341 * gmon/Makefile: Likewise.
11342 * gnulib/Makefile: Likewise.
11343 * grp/Makefile: Likewise.
11344 * gshadow/Makefile: Likewise.
11345 * hesiod/Makefile: Likewise.
11346 * hurd/Makefile: Likewise.
11347 (all): Remove target.
11348 * iconvdata/Makefile: Include Makeconfig immediately after
11349 defining subdir.
11350 * inet/Makefile: Likewise.
11351 * intl/Makefile: Likewise.
11352 * io/Makefile: Likewise.
11353 * libio/Makefile: Likewise.
11354 (all): Remove target.
11355 * locale/Makefile: Include Makeconfig immediately after defining
11356 subdir.
11357 * login/Makefile: Likewise.
11358 * mach/Makefile: Likewise.
11359 (all): Remove target.
11360 * malloc/Makefile: Include Makeconfig immediately after defining
11361 subdir.
11362 (all): Remove target.
11363 * manual/Makefile: Include Makeconfig immediately after defining
11364 subdir.
11365 * math/Makefile: Likewise.
11366 * misc/Makefile: Likewise.
11367 * nis/Makefile: Likewise.
11368 * nss/Makefile: Likewise.
11369 * po/Makefile: Likewise.
11370 (all): Remove target.
11371 * posix/Makefile: Include Makeconfig immediately after defining
11372 subdir.
11373 * pwd/Makefile: Likewise.
11374 * resolv/Makefile: Likewise.
11375 * resource/Makefile: Likewise.
11376 * rt/Makefile: Likewise.
11377 * setjmp/Makefile: Likewise.
11378 * shadow/Makefile: Likewise.
11379 * signal/Makefile: Likewise.
11380 * socket/Makefile: Likewise.
11381 * soft-fp/Makefile: Likewise.
11382 * stdio-common/Makefile: Likewise.
11383 * stdlib/Makefile: Likewise.
11384 * streams/Makefile: Likewise.
11385 * string/Makefile: Likewise.
11386 * sunrpc/Makefile: Likewise.
11387 (all): Remove target.
11388 * sysvipc/Makefile: Include Makeconfig immediately after defining
11389 subdir.
11390 * termios/Makefile: Likewise.
11391 * time/Makefile: Likewise.
11392 * timezone/Makefile: Likewise.
11393 (all): Remove target.
11394 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11395 subdir.
11396 * wctype/Makefile: Likewise.
11397
5b456e9d
SE
113982014-02-26 Steve Ellcey <sellcey@mips.com>
11399
11400 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11401 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11402 (libc_feholdexcept_setround_mips): Ditto.
11403 (libc_feholdsetround): New.
11404 (libc_feholdsetroundf): New.
11405 (libc_feholdsetroundl): New.
11406 (libc_feupdateenv_test_mips): New.
11407 (libc_feupdateenv_test): New.
11408 (libc_feupdateenv_testf): New.
11409 (libc_feupdateenv_testl): New.
11410 (libc_feresetround): New.
11411 (libc_feresetroundf): New.
11412 (libc_feresetroundl): New.
11413 (libc_fetestexcept_mips): New.
11414 (libc_fetestexcept): New.
11415 (libc_fetestexceptf): New.
11416 (libc_fetestexceptl): New.
11417 (HAVE_RM_CTX): New.
11418 (libc_feholdexcept_setround_mips_ctx): New.
11419 (libc_feholdexcept_setround_ctx): New.
11420 (libc_feholdexcept_setroundf_ctx): New.
11421 (libc_feholdexcept_setroundl_ctx): New.
11422 (libc_fesetenv_mips_ctx): New.
11423 (libc_fesetenv_ctx): New.
11424 (libc_fesetenv_ctxf): New.
11425 (libc_fesetenv_ctxl): New.
11426 (libc_feupdateenv_mips_ctx): New.
11427 (libc_feupdateenv_ctx): New.
11428 (libc_feupdateenvf_ctx): New.
11429 (libc_feupdateenvl_ctx): New.
11430 (libc_feholdsetround_mips_ctx): New.
11431 (libc_feholdsetround_ctx): New.
11432 (libc_feholdsetroundf_ctx): New.
11433 (libc_feholdsetroundl_ctx): New.
11434 (libc_feresetround_mips_ctx): New.
11435 (libc_feresetround_ctx): New.
11436 (libc_feresetroundf_ctx): New.
11437 (libc_feresetroundl_ctx): New.
11438
085d0e35
CD
114392014-02-26 Carlos O'Donell <carlos@redhat.com>
11440
f067bf1f
CD
11441 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11442
085d0e35
CD
11443 * manual/ipc.texi: New file.
11444 * manual/Makefile (chapters): Add ipc.
11445 * manual/job.texi: Add "Inter-Process Communication" to next.
11446 * manual/process.texi: Add "Inter-Process Communication" to prev.
11447
86e58c08
AZ
114482014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11449
11450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11451
4248f0da
OB
114522014-02-26 Ondřej Bílka <neleai@seznam.cz>
11453
11454 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11455
cf822e3c
OB
11456 * manual/arith.texi: Fix spaces after sentences.
11457 * manual/charset.texi: Likewise.
11458 * manual/errno.texi: Likewise.
11459 * manual/install.texi: Likewise.
11460 * manual/llio.texi: Likewise.
11461 * manual/locale.texi: Likewise.
11462 * manual/maint.texi: Likewise.
11463 * manual/math.texi: Likewise.
11464 * manual/memory.texi: Likewise.
11465 * manual/message.texi: Likewise.
11466 * manual/probes.texi: Likewise.
11467 * manual/resource.texi: Likewise.
11468 * manual/signal.texi: Likewise.
11469 * manual/socket.texi: Likewise.
11470 * manual/stdio.texi: Likewise.
11471 * manual/string.texi: Likewise.
11472 * manual/time.texi: Likewise.
11473 * manual/users.texi: Likewise.
11474
ade40b10
CD
114752014-02-25 Carlos O'Donell <carlos@redhat.com>
11476
11477 [BZ #16632]
11478 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11479 _DEFAULT_SOURCE is defined.
11480
d0503676
CD
114812014-02-25 Ulrich Drepper <drepper@gmail.com>
11482 Carlos O'Donell <carlos@redhat.com>
11483
11484 [BZ #16613]
11485 * elf/dl-tls.c (_dl_count_modids): New function.
11486 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11487 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11488 audit library and increment generation counter.
11489 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11490 * elf/tst-audit9.c: New file.
11491 * elf/tst-auditmod9a.c: New file.
11492 * elf/tst-auditmod9b.c: New file.
11493 * elf/Makefile: Add rules to build and run tst-audit9.
11494
4cbf380c
FW
114952014-02-25 Florian Weimer <fweimer@redhat.com>
11496
11497 [BZ #15347]
11498 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11499
80a56cc3
WN
115002014-02-25 Will Newton <will.newton@linaro.org>
11501
11502 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11503 (__longjmp): Restore sp and lr before restoring callee
11504 saved registers. Add longjmp and longjmp_target
11505 SystemTap probe point.
11506 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11507 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11508 Define to zero to match jmpbuf layout.
11509 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11510 (__sigsetjmp): Save sp and lr before saving callee
11511 saved registers. Add setjmp SystemTap probe point.
11512
3ea0f74e
SL
115132014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11514
11515 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11516
b04acb26
AS
115172014-02-24 Andreas Schwab <schwab@suse.de>
11518
11519 [BZ #15804]
11520 * elf/pldd.c (wait_for_ptrace_stop): New function.
11521 (main): Call it after attaching.
11522
098ad55c
RM
115232014-02-22 Roland McGrath <roland@hack.frob.com>
11524
d4ec6ae1
RM
11525 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11526 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11527 Versions files is now verboten.
11528 * hurd/Versions (libc: GLIBC_2.0):
11529 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11530 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11531 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11532 * mach/Versions: Likewise.
11533
098ad55c
RM
11534 * csu/Versions: Remove unused %include.
11535 * resolv/Versions: Likewise.
11536
acd7f096
JM
115372014-02-21 Joseph Myers <joseph@codesourcery.com>
11538
f0881698
JM
11539 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11540 ($(objpfx)check-local-headers.out): Likewise.
11541 ($(objpfx)begin-end-check.out): Likewise.
11542 * Makerules (check-abi-%.out): Likewise.
11543 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11544 ($(objpfx)test2.cat): Likewise.
11545 ($(objpfx)de/libc.cat): Likewise.
11546 ($(objpfx)test-gencat.out): Likewise.
11547 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11548 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11549 ($(objpfx)noload-mem): Likewise.
11550 ($(objpfx)tst-pathopt.out): Likewise.
11551 ($(objpfx)tst-rtld-load-self.out): Likewise.
11552 ($(objpfx)tst-array1-cmp.out): Likewise.
11553 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11554 ($(objpfx)tst-array2-cmp.out): Likewise.
11555 ($(objpfx)tst-array3-cmp.out): Likewise.
11556 ($(objpfx)tst-array4-cmp.out): Likewise.
11557 ($(objpfx)tst-array5-cmp.out): Likewise.
11558 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11559 ($(objpfx)check-textrel.out): Likewise.
11560 ($(objpfx)check-execstack.out): Likewise.
11561 ($(objpfx)check-localplt.out): Likewise.
11562 ($(objpfx)order2-cmp.out): Likewise.
11563 ($(objpfx)tst-leaks1-mem): Likewise.
11564 ($(objpfx)tst-leaks1-static-mem): Likewise.
11565 ($(objpfx)tst-initorder-cmp.out): Likewise.
11566 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11567 ($(objpfx)tst-unused-dep.out): Likewise.
11568 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11569 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11570 * iconv/Makefile (test-iconvconfig): Likewise.
11571 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11572 ($(objpfx)iconv-test.out): Likewise.
11573 ($(objpfx)tst-tables.out): Likewise.
11574 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11575 ($(objpfx)tst-gettext.out): Likewise.
11576 ($(objpfx)tst-translit.out): Likewise.
11577 ($(objpfx)tst-gettext2.out): Likewise.
11578 ($(objpfx)tst-gettext4.out): Likewise.
11579 ($(objpfx)tst-gettext6.out): Likewise.
11580 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11581 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11582 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11583 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11584 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11585 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11586 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11587 ($(objpfx)wordexp-tst.out): Likewise.
11588 ($(objpfx)annexc.out): Likewise.
11589 ($(objpfx)tst-fnmatch-mem): Likewise.
11590 ($(objpfx)bug-regex2-mem): Likewise.
11591 ($(objpfx)bug-regex14-mem): Likewise.
11592 ($(objpfx)bug-regex21-mem): Likewise.
11593 ($(objpfx)bug-regex31-mem): Likewise.
11594 ($(objpfx)tst-vfork3-mem): Likewise.
11595 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11596 ($(objpfx)tst-pcre-mem): Likewise.
11597 ($(objpfx)tst-boost-mem): Likewise.
11598 ($(objpfx)tst-getconf.out): Likewise.
11599 ($(objpfx)bug-ga2-mem): Likewise.
11600 ($(objpfx)bug-glob2-mem): Likewise.
11601 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11602 ($(objpfx)mtrace-tst-leaks2): Likewise.
11603 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11604 ($(objpfx)tst-printf.out): Likewise.
11605 ($(objpfx)tst-setvbuf1.out): Likewise.
11606 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11607 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11608 ($(objpfx)tst-fmtmsg.out): Likewise.
11609 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11610 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11611
acd7f096
JM
11612 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11613 * bits/sigaction.h [__USE_MISC]: Likewise.
11614 * bits/waitstatus.h: Update #endif comments.
11615 * ctype/ctype.h: Likewise.
11616 * dirent/dirent.h: Likewise.
11617 [__USE_MISC]: Remove redundant conditionals.
11618 * grp/grp.h: Update #endif comments.
11619 [__USE_GNU]: Remove redundant conditionals.
11620 [__USE_MISC]: Likewise.
11621 * inet/netinet/in.h [__USE_GNU]: Likewise.
11622 * io/sys/stat.h [__USE_MISC]: Likewise.
11623 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11624 * libio/bits/stdio.h: Update #endif comments.
11625 [__USE_MISC]: Remove redundant conditionals.
11626 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11627 * libio/stdio.h: Update #endif comments.
11628 [__USE_MISC]: Remove redundant conditionals.
11629 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11630 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11631 * math/math.h: Update #else and #endif comments.
11632 [__USE_MISC]: Remove redundant conditionals.
11633 * misc/sys/uio.h: Update #endif comments.
11634 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11635 * posix/glob.h [__USE_MISC]: Likewise.
11636 * posix/sys/types.h: Update #endif comments.
11637 [__USE_MISC]: Remove redundant conditionals.
11638 * posix/sys/wait.h: Update #endif comments.
11639 [__USE_MISC]: Remove redundant conditionals.
11640 * posix/unistd.h: Update #endif comments.
11641 [__USE_MISC]: Remove redundant conditionals.
11642 * pwd/pwd.h [__USE_GNU]: Likewise.
11643 [__USE_MISC]: Likewise.
11644 * resolv/netdb.h [__USE_GNU]: Likewise.
11645 * signal/signal.h: Update #endif comments.
11646 [__USE_MISC]: Remove redundant conditionals.
11647 * stdlib/stdlib.h: Update #else and #endif comments.
11648 [__USE_MISC]: Remove redundant conditionals.
11649 [__USE_GNU]: Likewise.
11650 * string/bits/string2.h [__USE_MISC]: Likewise.
11651 * string/string.h: Update #endif comments.
11652 [__USE_MISC]: Remove redundant conditionals.
11653 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11654 Likewise.
11655 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11656 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11657 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11658 Likewise.
11659 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11660 Likewise.
11661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11662 comments.
11663 [__USE_MISC]: Remove redundant conditionals.
11664 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11665 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11666 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11667 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11668 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11669 Likewise.
11670 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11671 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11672 Likewise.
11673 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11674 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11675 Likewise.
11676 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11677 Likewise.
11678 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11680 Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11682 Likewise.
11683 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11684 * sysdeps/x86/bits/string.h: Update #endif comments.
11685 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11686 conditionals.
11687 * time/sys/time.h: Update #endif comments.
11688 * time/time.h: Likewise.
11689 [__USE_MISC]: Remove redundant conditionals.
11690
a5d82e4e
YG
116912014-02-21 Yury Gribov <y.gribov@samsung.com>
11692
11693 [BZ #16600]
11694 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11695
9a80491d
AS
116962014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11697
11698 * Versions.def (librt): Add GLIBC_2.17.
11699
105fa381
AC
117002014-02-21 Adam Conrad <adconrad@0c3.net>
11701
11702 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11703 synonym for _SYS_AUXV_H to allow direct inclusion.
11704 * sysdeps/sparc/bits/hwcap.h: Likewise.
11705 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11706 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11707 * sysdeps/sparc/sysdep.h: Likewise.
11708
b8cd1c4e
SP
117092014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11710
11711 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11712
bd939d23
RS
117132014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11714
11715 * benchtests/bench-strrchr.c: Print length instead of position.
11716
5d7b57ca
JM
117172014-02-20 Joseph Myers <joseph@codesourcery.com>
11718
bc688c10
JM
11719 [BZ #16611]
11720 * sysdeps/unix/sysv/linux/kernel-features.h
11721 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11722 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11723 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11724 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11725 Likewise.
11726 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11727 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11728 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11729 (__ASSUME_SENDMMSG): Define instead of using previous
11730 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11731 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11732 (__ASSUME_SENDMMSG_SYSCALL): Define.
11733 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11734 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11735 Likewise.
11736 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11737 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11738 Likewise.
11739 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11740 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11741 Likewise.
11742 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11743 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11744 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11745 [__ASSUME_SENDMMSG]: Change conditionals to
11746 [__ASSUME_SENDMMSG_SOCKETCALL].
11747 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11748 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11749 Define.
11750 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11751 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11752 Likewise.
11753 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11754 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11755 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11756 [!__ASSUME_SENDMMSG]: Change conditional to
11757 [!__ASSUME_SENDMMSG_SOCKETCALL].
11758 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11759 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11760 Define.
11761
0e31b18c
JM
11762 [BZ #16610]
11763 * sysdeps/unix/sysv/linux/kernel-features.h
11764 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11765 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11766 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11767 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11768 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11769 [__i386__ || __sparc__]
11770 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11771 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11772 (__ASSUME_RECVMMSG): Define instead of using previous
11773 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11774 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11775 (__ASSUME_RECVMMSG_SYSCALL): Define.
11776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11777 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11778 Likewise.
11779 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11781 Likewise.
11782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11783 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11784 Likewise.
11785 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11786 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11787 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11788 [__ASSUME_RECVMMSG]: Change condition to
11789 [__ASSUME_RECVMMSG_SOCKETCALL].
11790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11792 Define.
11793 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11794 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11796 Likewise.
11797 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11798 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11799 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11800 [!__ASSUME_RECVMMSG]: Change condition to
11801 [!__ASSUME_RECVMMSG_SOCKETCALL].
11802 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11803 (__ASSUME_RECVMMSG_SYSCALL): Define.
11804
dd481ccf
JM
11805 [BZ #16609]
11806 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11807 __powerpc__ || __s390__ || __sh__ || __sparc__]
11808 (__ASSUME_SOCKETCALL): Define.
11809 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11810 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11811 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11812 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11813 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11814 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11815 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11816 (__ASSUME_ACCEPT4): Define instead of using previous
11817 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11818 __powerpc__ || __sparc__ || __s390__)] condition.
11819 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11821 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11822 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11823 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11824 [!__ASSUME_ACCEPT4]: Change condition to
11825 [!__ASSUME_ACCEPT4_SOCKETCALL].
11826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11827 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11828 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11830 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11831 __ASSUME_ACCEPT4_SYSCALL.
11832 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11833 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11834 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11835 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11836 __ASSUME_ACCEPT4_SYSCALL.
11837 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11838 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11839 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11840 [__ASSUME_ACCEPT4]: Change condition to
11841 [__ASSUME_ACCEPT4_SOCKETCALL].
11842 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11843 (__ASSUME_SOCKETCALL): Define.
11844 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11845 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11846 (__ASSUME_SOCKETCALL): Define.
11847 (__ASSUME_ACCEPT4): Remove.
11848 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11849 Define.
11850 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11851 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11852 Likewise.
11853 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11854 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11855
5d7b57ca
JM
11856 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11857 macro.
11858 (HWCAP_ARM_LPAE): Likewise.
11859 (HWCAP_ARM_EVTSTRM): Likewise.
11860 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11861 Add vpfd32, lpae and evtstrm.
11862 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11863 Increase to 22.
11864
63689d61
JM
118652014-02-19 Joseph Myers <joseph@codesourcery.com>
11866
11867 * math/auto-libm-test-in: Add tests of clog10.
11868 * math/auto-libm-test-out: Regenerated.
11869 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11870 * sysdeps/i386/fpu/libm-test-ulps: Update.
11871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11872
ab09bf61
AS
118732014-02-18 Andreas Schwab <schwab@suse.de>
11874
11875 [BZ #16574]
11876 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11877 Store non-zero if the second buffer was newly allocated.
11878 (send_dg): Likewise.
11879 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11880 to send_vc and send_dg.
11881 (res_nsend): Pass NULL for ansp2_malloced.
11882 * resolv/res_query.c (__libc_res_nquery): Add parameter
11883 answerp2_malloced and pass it down to __libc_res_nsend.
11884 (res_nquery): Pass additional NULL to __libc_res_nquery.
11885 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11886 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11887 second answer buffer if answerp2_malloced was set.
11888 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11889 (__libc_res_nquerydomain): Add parameter
11890 answerp2_malloced and pass it down to __libc_res_nquery.
11891 (res_nquerydomain): Pass additional NULL to
11892 __libc_res_nquerydomain.
11893 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11894 additional NULL to __libc_res_nsend and __libc_res_nquery.
11895 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11896 additional NULL to __libc_res_nsearch.
11897 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11898 parameter of __libc_res_nsearch to check for separately allocated
11899 second buffer.
11900 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11901 __libc_res_nquery.
11902 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11903 additional NULL to __libc_res_nquery.
11904 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11905 __libc_res_nsearch.
11906 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11907 * include/resolv.h: Update prototypes of __libc_res_nquery,
11908 __libc_res_nsearch, __libc_res_nsend.
11909
a4fb7861
JM
119102014-02-18 Joseph Myers <joseph@codesourcery.com>
11911
c6af2d89
JM
11912 * math/auto-libm-test-in: Add tests of fma.
11913 * math/auto-libm-test-out: Regenerated.
11914 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11915 (fma_towardzero_test_data): Likewise.
11916 (fma_downward_test_data): Likewise.
11917 (fma_upward_test_data): Likewise.
11918 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11919 mpc_mode.
11920 (rounding_modes): Add values for new field.
11921 (func_calc_method): Add value mpfr_fff_f.
11922 (func_calc_desc): Add mpfr_fff_f union field.
11923 (test_function): Add field exact_args.
11924 (FUNC): Add macro argument EXACT_ARGS.
11925 (FUNC_mpfr_f_f): Update call to FUNC.
11926 (FUNC_mpfr_f_f): Likewise.
11927 (FUNC_mpfr_ff_f): Likewise.
11928 (FUNC_mpfr_if_f): Likewise.
11929 (FUNC_mpc_c_f): Likewise.
11930 (FUNC_mpc_c_c): Likewise.
11931 (test_functions): Add fma. Update calls to FUNC.
11932 (handle_input_arg): Add argument exact_args.
11933 (add_test): Update call to handle_input_arg.
11934 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11935 (output_for_one_input_case): Update call to calc_generic_results.
11936 Recalculate exact zero results in each rounding mode.
11937
a4fb7861
JM
11938 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11939 non-negative before setting low bit.
11940 * math/auto-libm-test-in: Mark one asin test possibly having
11941 spurious underflow.
11942 * math/auto-libm-test-out: Regenerated.
11943 * sysdeps/i386/fpu/libm-test-ulps: Update.
11944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11945
ef114eaf
DH
119462014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11947
2b7f4f2c
SP
11948 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11949 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11950 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11951 * README: Add missing listing for microblaze*-*-linux-gnu.
11952
8125aedc
AM
119532014-02-16 Ondřej Bílka <neleai@seznam.cz>
11954
11955 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11956 duplicate code
11957
c70a4b1d
MF
119582014-02-16 Mike Frysinger <vapier@gentoo.org>
11959
11960 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11961 * sysdeps/unix/sysv/linux/ia64: Move directory from
11962 ports/sysdeps/unix/sysv/linux/ia64.
11963 * README: Update listing for ia64-*-linux-gnu.
11964
591aeaf7
TD
119652014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11966 Joseph Myers <joseph@codesourcery.com>
11967
11968 * Makeconfig (test-name): New variable.
11969 (evaluate-test): Likewise.
11970 * Makerules (do-test-clean): Remove .test-result files.
11971 (common-mostlyclean): Likewise.
11972 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11973 * scripts/evaluate-test.sh: New file.
11974
6e89caf1
JM
119752014-02-14 Joseph Myers <joseph@codesourcery.com>
11976
7f98f180
JM
11977 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11978 separate $(objpfx)tst-fopenloc-cmp.out and
11979 $(objpfx)tst-fopenloc-mem.out targets.
11980 (tests): Update dependencies.
11981 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11982 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11983 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11984 (tst-rxspencer-no-utf8-ARGS): New variable.
11985 (tst-rxspencer-no-utf8-ENV): Likewise.
11986 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11987 instead of $(objpfx)tst-rxspencer-mem.
11988 ($(objpfx)tst-rxspencer-mem): Change target to
11989 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11990 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11991 * posix/tst-rxspencer-no-utf8.c: New file.
11992
6e89caf1
JM
11993 * elf/Makefile ($(objpfx)order.out): Remove rule.
11994 [$(run-built-tests) = yes] (tests): Depend on
11995 $(objpfx)order-cmp.out.
11996 ($(objpfx)order-cmp.out): New rule.
11997 [$(run-built-tests) = yes] (tests): Depend on
11998 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11999 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12000 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12001 $(objpfx)tst-array5-static-cmp.out.
12002 ($(objpfx)tst-array1.out): Remove rule.
12003 ($(objpfx)tst-array1-cmp.out): New rule.
12004 ($(objpfx)tst-array1-static.out): Remove rule.
12005 ($(objpfx)tst-array1-static-cmp.out): New rule.
12006 ($(objpfx)tst-array2.out): Remove rule.
12007 ($(objpfx)tst-array2-cmp.out): New rule.
12008 ($(objpfx)tst-array3.out): Remove rule.
12009 ($(objpfx)tst-array3-cmp.out): New rule.
12010 ($(objpfx)tst-array4.out): Remove rule.
12011 ($(objpfx)tst-array4-cmp.out): New rule.
12012 ($(objpfx)tst-array5.out): Remove rule.
12013 ($(objpfx)tst-array5-cmp.out): New rule.
12014 ($(objpfx)tst-array5-static.out): Remove rule.
12015 ($(objpfx)tst-array5-static-cmp.out): New rule.
12016 [$(run-built-tests) = yes] (tests): Depend on
12017 $(objpfx)order2-cmp.out.
12018 ($(objpfx)order2.out): Remove rule.
12019 ($(objpfx)order2-cmp.out): New rule.
12020 ($(objpfx)tst-initorder.out): Remove rule.
12021 [$(run-built-tests) = yes] (tests): Depend on
12022 $(objpfx)tst-initorder-cmp.out.
12023 ($(objpfx)tst-initorder-cmp.out): New rule.
12024 ($(objpfx)tst-initorder2.out): Remove rule.
12025 [$(run-built-tests) = yes] (tests): Depend on
12026 $(objpfx)tst-initorder2-cmp.out.
12027 ($(objpfx)tst-initorder2-cmp.out): New rule.
12028 [$(run-built-tests) = yes] (tests): Depend on
12029 $(objpfx)tst-unused-dep-cmp.out.
12030 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12031 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12032 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12033 on $(objpfx)tst-setvbuf1-cmp.out.
12034 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12035 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12036 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12037 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12038 ($(objpfx)tst-svc.out): Remove rule.
12039 ($(objpfx)tst-svc-cmp.out): New rule.
12040
ed9a38e2
JM
120412014-02-13 Joseph Myers <joseph@codesourcery.com>
12042
12043 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12044 * ctype/ctype.h [__USE_MISC]: Likewise.
12045 * dirent/dirent.h [__USE_MISC]: Likewise.
12046 * grp/grp.h [__USE_MISC]: Likewise.
12047 * io/fcntl.h [__USE_MISC]: Likewise.
12048 * io/sys/stat.h [__USE_MISC]: Likewise.
12049 * libio/stdio.h [__USE_MISC]: Likewise.
12050 * posix/unistd.h [__USE_MISC]: Likewise.
12051 * pwd/pwd.h [__USE_MISC]: Likewise.
12052 * stdlib.h [__USE_MISC]: Likewise.
12053 * string/bits/string2.h [__USE_MISC]: Likewise.
12054 * string/string.h [__USE_MISC]: Likewise.
12055 * time/time.h [__USE_MISC]: Likewise.
12056
d6680619
AS
120572014-02-13 Andreas Schwab <schwab@suse.de>
12058
12059 [BZ #16574]
12060 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12061 second answer buffer if it was separately allocated.
12062
ace614b8
JM
120632014-02-12 Joseph Myers <joseph@codesourcery.com>
12064
743151ae
JM
12065 * sysdeps/mips/math-tests.h: Include <features.h>.
12066 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12067 (ROUNDING_TESTS_long_double): Do not define.
12068 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12069 (EXCEPTION_TESTS_long_double): Likewise.
12070 * sysdeps/mips/mips64/libm-test-ulps: Update.
12071
498afc54
JM
12072 * include/features.h (__USE_BSD): Remove macro definitions.
12073 (__USE_SVID): Likewise.
12074 (_BSD_SOURCE): Likewise.
12075 (_SVID_SOURCE): Likewise.
12076 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12077 from definition of _DEFAULT_SOURCE.
12078 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12079 [_DEFAULT_SOURCE].
12080 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12081 * bits/mman.h [__USE_BSD]: Likewise.
12082 * bits/termios.h [__USE_BSD]: Likewise.
12083 * bits/waitstatus.h [__USE_BSD]: Likewise.
12084 * ctype/ctype.h [__USE_SVID]: Likewise.
12085 * dirent/dirent.h [__USE_BSD]: Likewise.
12086 * grp/grp.h [__USE_SVID]: Likewise.
12087 [__USE_BSD]: Likewise.
12088 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12089 * io/fcntl.h [__USE_BSD]: Likewise.
12090 * io/ftw.h [__USE_BSD]: Likewise.
12091 * io/sys/stat.h [__USE_BSD]: Likewise.
12092 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12093 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12094 * libio/stdio.h [__USE_SVID]: Likewise.
12095 [__USE_BSD]: Likewise.
12096 * math/math.h [__USE_SVID]: Likewise.
12097 [__USE_BSD]: Likewise.
12098 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12099 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12100 * misc/search.h [__USE_SVID]: Likewise.
12101 * misc/sys/mman.h [__USE_BSD]: Likewise.
12102 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12103 * misc/sys/uio.h [__USE_BSD]: Likewise.
12104 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12105 * posix/glob.h [__USE_BSD]: Likewise.
12106 * posix/regex.h [__USE_BSD]: Likewise.
12107 * posix/sys/types.h [__USE_BSD]: Likewise.
12108 [__USE_SVID]: Likewise.
12109 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12110 * posix/sys/wait.h [__USE_BSD]: Likewise.
12111 [__USE_SVID]: Likewise.
12112 * posix/unistd.h [__USE_BSD]: Likewise.
12113 [__USE_SVID]: Likewise.
12114 * pwd/pwd.h [__USE_SVID]: Likewise.
12115 * resolv/netdb.h [__USE_BSD]: Likewise.
12116 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12117 * signal/signal.h [__USE_BSD]: Likewise.
12118 [__USE_SVID]: Likewise.
12119 * socket/sys/socket.h [__USE_BSD]: Likewise.
12120 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12121 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12122 [__USE_SVID]: Likewise.
12123 * string/bits/string2.h [__USE_BSD]: Likewise.
12124 [__USE_SVID]: Likewise.
12125 * string/bits/string3.h [__USE_BSD]: Likewise.
12126 * string/endian.h [__USE_BSD]: Likewise.
12127 * string/string.h [__USE_SVID]: Likewise.
12128 [__USE_BSD]: Likewise.
12129 * string/strings.h [__USE_BSD]: Likewise.
12130 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12131 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12132 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12133 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12134 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12135 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12136 Likewise.
12137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12138 Likewise.
12139 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12140 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12141 Likewise.
12142 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12143 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12144 Likewise.
12145 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12146 Likewise.
12147 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12148 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12150 Likewise.
12151 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12152 Likewise.
12153 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12154 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12155 * termios/termios.h [__USE_BSD]: Likewise.
12156 * time/sys/time.h [__USE_BSD]: Likewise.
12157 * time/time.h [__USE_BSD]: Likewise.
12158 [__USE_SVID]: Likewise.
12159
dd7b064c
JM
12160 * Makefile (subdir_targets): Remove subdir_lint.out.
12161
a2c4c199
JM
12162 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12163 (do-tst-printf): Likewise.
12164 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12165 $(objpfx)tst-printf.out.
12166
8756f740
JM
12167 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12168
1b6dd3f1
JM
12169 * Makerules (check-abi-%): Change target to
12170 $(objpfx)check-abi-%.out.
12171 (check-abi target): Update dependencies.
12172 (check-abi-pattern variable): Redirect output of diff to $@.
12173 (check-abi variable): Likewise.
12174 * elf/Makefile (check-abi): Update dependencies.
12175
ace614b8
JM
12176 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12177 unused.
12178 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12179 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12180 subnormal range.
12181 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12182 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12183 value has largest subnormal exponent.
12184 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12185 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12186 * sysdeps/aarch64/soft-fp/sfp-machine.h
12187 (_FP_TININESS_AFTER_ROUNDING): New macro.
12188 * sysdeps/alpha/soft-fp/sfp-machine.h
12189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12190 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12191 Likewise.
12192 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12194 * sysdeps/mips/soft-fp/sfp-machine.h
12195 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12196 * sysdeps/powerpc/soft-fp/sfp-machine.h
12197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12198 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12199 Likewise.
12200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12201 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12204 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12205 Likewise.
12206
fbfdf9cb
DAS
122072014-02-12 Dylan Alex Simon <dylan@dylex.net>
12208
12209 [BZ #16545]
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12211 model 1.
12212
68b7efaa
RH
122132014-02-12 Richard Henderson <rth@redhat.com>
12214
c70a4b1d 12215 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12216 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12217 * sysdeps/unix/sysv/linux/alpha: Move directory from
12218 ports/sysdeps/unix/sysv/linux/alpha.
12219 * README: Update listing for alpha-*-linux-gnu.
12220
cb4a2928
JM
122212014-02-11 Joseph Myers <joseph@codesourcery.com>
12222
c941736c
JM
12223 * include/features.h: Update comment documenting feature test
12224 macros.
12225 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12226 _DEFAULT_SOURCE.
12227 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12228 (_SVID_SOURCE): Likewise.
12229 (_DEFAULT_SOURCE): Update description of default features.
12230 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12231 with _GNU_SOURCE.
12232 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12233 (S_ISVTX): Likewise.
12234 * manual/math.texi (Mathematical Constants): Likewise.
12235 * manual/signal.texi (Interrupted Primitives): Likewise.
12236 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12237 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12238 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12239 Don't refer to _SVID_SOURCE in warning text.
12240
e8d8d7ec
JM
12241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12242
cb4a2928
JM
12243 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12244 already defined.
12245 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12246 * sysdeps/mips/dl-lookup.c: Remove.
12247 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12248
7e6424e3
AK
122492014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12250
12251 [BZ #16447]
12252 * math/auto-libm-test-in: Add testcase for expl.
12253 * math/auto-libm-test-out: Regenerate.
12254 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12255 calculation of unsafe.
12256 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12257
75eff3fe
MS
122582014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12259
12260 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12261 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12262 ports/sysdeps/unix/sysv/linux/aarch64.
12263 * README: Update listing for aarch64*-*-linux-gnu.
12264
d35f1e80
WN
122652014-02-11 Will Newton <will.newton@linaro.org>
12266
12267 * manual/probes.texi (Mathematical Function Probes): Use
12268 "triggered" instead of "hit".
12269
7b3436d4
WN
12270 * manual/probes.texi (Internal Probes): Add documentation
12271 of setjmp, longjmp and longjmp_target probes.
12272
b4f12ca3
WN
12273 * include/stap-probe.h: Add comment about probe argument
12274 format.
12275
c13a72b7
WN
12276 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12277 definition. (tr_where, tr_freehook, tr_mallochook,
12278 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12279
195b8165
DM
122802014-02-11 David S. Miller <davem@davemloft.net>
12281
12282 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12283 processing int_tests.
12284
2ad7600b
JM
122852014-02-10 Joseph Myers <joseph@codesourcery.com>
12286
12287 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12288 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12289 * sysdeps/unix/sysv/linux/mips: Move directory from
12290 ports/sysdeps/unix/sysv/linux/mips.
12291 * README: Update listing for mips-*-linux-gnu and
12292 mips64-*-linux-gnu.
12293
73588a72
AS
122942014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12295
12296 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12297 * sysdeps/unix/sysv/linux/m68k: Move directory from
12298 ports/sysdeps/unix/sysv/linux/m68k.
12299 * README: Update listing for m68k-*-linux-gnu.
12300
4372980f
CM
123012014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12302
12303 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12304 * sysdeps/unix/sysv/linux/generic: Move directory from
12305 ports/sysdeps/unix/sysv/linux/generic.
12306 * sysdeps/unix/sysv/linux/tile: Move directory from
12307 ports/sysdeps/unix/sysv/linux/tile.
12308 * README: Update listing for tile*-*-linux-gnu.
12309
a1ffb40e
OB
123102014-02-10 Ondřej Bílka <neleai@seznam.cz>
12311
57f41c40
AS
12312 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12313 __builtin_expect.
a1ffb40e
OB
12314 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12315 * catgets/open_catalog.c (__open_catalog): Likewise.
12316 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12317 * debug/confstr_chk.c: Likewise.
12318 * debug/fread_chk.c (__fread_chk): Likewise.
12319 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12320 * debug/getgroups_chk.c: Likewise.
12321 * debug/mbsnrtowcs_chk.c: Likewise.
12322 * debug/mbsrtowcs_chk.c: Likewise.
12323 * debug/mbstowcs_chk.c: Likewise.
12324 * debug/memcpy_chk.c: Likewise.
12325 * debug/memmove_chk.c: Likewise.
12326 * debug/mempcpy_chk.c: Likewise.
12327 * debug/memset_chk.c: Likewise.
12328 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12329 * debug/strcat_chk.c (__strcat_chk): Likewise.
12330 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12331 * debug/strncat_chk.c (__strncat_chk): Likewise.
12332 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12333 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12334 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12335 * debug/wcpncpy_chk.c: Likewise.
12336 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12337 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12338 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12339 * debug/wcsncpy_chk.c: Likewise.
12340 * debug/wcsnrtombs_chk.c: Likewise.
12341 * debug/wcsrtombs_chk.c: Likewise.
12342 * debug/wcstombs_chk.c: Likewise.
12343 * debug/wmemcpy_chk.c: Likewise.
12344 * debug/wmemmove_chk.c: Likewise.
12345 * debug/wmempcpy_chk.c: Likewise.
12346 * debug/wmemset_chk.c: Likewise.
12347 * dirent/scandirat.c (SCANDIRAT): Likewise.
12348 * dlfcn/dladdr1.c (dladdr1): Likewise.
12349 * dlfcn/dladdr.c (dladdr): Likewise.
12350 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12351 * dlfcn/dlerror.c (__dlerror): Likewise.
12352 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12353 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12354 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12355 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12356 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12357 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12358 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12359 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12360 Likewise.
12361 * elf/dl-conflict.c: Likewise.
12362 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12363 * elf/dl-dst.h: Likewise.
12364 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12365 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12367 * elf/dl-init.c (call_init, _dl_init): Likewise.
12368 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12369 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12370 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12371 Likewise.
a1ffb40e
OB
12372 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12373 Likewise.
12374 * elf/dl-minimal.c (__libc_memalign): Likewise.
12375 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12376 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12377 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12378 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12379 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12380 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12381 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12382 * elf/dl-writev.h (_dl_writev): Likewise.
12383 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12384 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12385 (dl_main): Likewise.
a1ffb40e
OB
12386 * elf/setup-vdso.h (setup_vdso): Likewise.
12387 * grp/compat-initgroups.c (compat_call): Likewise.
12388 * grp/fgetgrent.c (fgetgrent): Likewise.
12389 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12390 * grp/putgrent.c (putgrent): Likewise.
12391 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12392 Likewise.
12393 * hurd/hurdinit.c: Likewise.
12394 * iconvdata/8bit-gap.c (struct): Likewise.
12395 * iconvdata/ansi_x3.110.c : Likewise.
12396 * iconvdata/big5.c : Likewise.
12397 * iconvdata/big5hkscs.c : Likewise.
12398 * iconvdata/cp1255.c: Likewise.
12399 * iconvdata/cp1258.c : Likewise.
12400 * iconvdata/cp932.c : Likewise.
12401 * iconvdata/euc-cn.c: Likewise.
12402 * iconvdata/euc-jisx0213.c : Likewise.
12403 * iconvdata/euc-jp.c: Likewise.
12404 * iconvdata/euc-jp-ms.c : Likewise.
12405 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12406 * iconvdata/gb18030.c : Likewise.
12407 * iconvdata/gbbig5.c (const): Likewise.
12408 * iconvdata/gbgbk.c: Likewise.
12409 * iconvdata/gbk.c : Likewise.
12410 * iconvdata/ibm1364.c : Likewise.
12411 * iconvdata/ibm930.c : Likewise.
12412 * iconvdata/ibm932.c: Likewise.
12413 * iconvdata/ibm933.c : Likewise.
12414 * iconvdata/ibm935.c : Likewise.
12415 * iconvdata/ibm937.c : Likewise.
12416 * iconvdata/ibm939.c : Likewise.
12417 * iconvdata/ibm943.c: Likewise.
12418 * iconvdata/iso_11548-1.c: Likewise.
12419 * iconvdata/iso-2022-cn.c : Likewise.
12420 * iconvdata/iso-2022-cn-ext.c : Likewise.
12421 * iconvdata/iso-2022-jp-3.c: Likewise.
12422 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12423 * iconvdata/iso-2022-kr.c : Likewise.
12424 * iconvdata/iso646.c (gconv_end): Likewise.
12425 * iconvdata/iso_6937-2.c : Likewise.
12426 * iconvdata/iso_6937.c : Likewise.
12427 * iconvdata/iso8859-1.c: Likewise.
12428 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12429 * iconvdata/shift_jisx0213.c : Likewise.
12430 * iconvdata/sjis.c : Likewise.
12431 * iconvdata/t.61.c : Likewise.
12432 * iconvdata/tcvn5712-1.c : Likewise.
12433 * iconvdata/tscii.c: Likewise.
12434 * iconvdata/uhc.c : Likewise.
12435 * iconvdata/unicode.c (gconv_end): Likewise.
12436 * iconvdata/utf-16.c (gconv_end): Likewise.
12437 * iconvdata/utf-32.c (gconv_end): Likewise.
12438 * iconvdata/utf-7.c (base64): Likewise.
12439 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12440 * iconv/gconv_close.c (__gconv_close): Likewise.
12441 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12442 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12443 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12444 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12445 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12446 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12447 * iconv/iconv.c (iconv): Likewise.
12448 * iconv/iconv_close.c: Likewise.
12449 * iconv/loop.c (SINGLE): Likewise.
12450 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12451 * include/atomic.h: Likewise.
12452 * inet/inet6_option.c (option_alloc): Likewise.
12453 * intl/bindtextdom.c (set_binding_values): Likewise.
12454 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12455 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12456 * intl/localealias.c (read_alias_file): Likewise.
12457 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12458 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12459 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12460 * libio/fmemopen.c (fmemopen): Likewise.
12461 * libio/iofgets.c (_IO_fgets): Likewise.
12462 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12463 * libio/iofgetws.c (fgetws): Likewise.
12464 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12465 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12466 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12467 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12468 * locale/findlocale.c (_nl_find_locale): Likewise.
12469 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12470 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12471 Likewise.
12472 * locale/setlocale.c (setlocale): Likewise.
12473 * login/programs/pt_chown.c (main): Likewise.
12474 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12475 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12476 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12477 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12478 * math/e_exp2l.c: Likewise.
12479 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12480 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12481 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12482 * math/s_catan.c (__catan): Likewise.
12483 * math/s_catanf.c (__catanf): Likewise.
12484 * math/s_catanh.c (__catanh): Likewise.
12485 * math/s_catanhf.c (__catanhf): Likewise.
12486 * math/s_catanhl.c (__catanhl): Likewise.
12487 * math/s_catanl.c (__catanl): Likewise.
12488 * math/s_ccosh.c (__ccosh): Likewise.
12489 * math/s_ccoshf.c (__ccoshf): Likewise.
12490 * math/s_ccoshl.c (__ccoshl): Likewise.
12491 * math/s_cexp.c (__cexp): Likewise.
12492 * math/s_cexpf.c (__cexpf): Likewise.
12493 * math/s_cexpl.c (__cexpl): Likewise.
12494 * math/s_clog10.c (__clog10): Likewise.
12495 * math/s_clog10f.c (__clog10f): Likewise.
12496 * math/s_clog10l.c (__clog10l): Likewise.
12497 * math/s_clog.c (__clog): Likewise.
12498 * math/s_clogf.c (__clogf): Likewise.
12499 * math/s_clogl.c (__clogl): Likewise.
12500 * math/s_csin.c (__csin): Likewise.
12501 * math/s_csinf.c (__csinf): Likewise.
12502 * math/s_csinh.c (__csinh): Likewise.
12503 * math/s_csinhf.c (__csinhf): Likewise.
12504 * math/s_csinhl.c (__csinhl): Likewise.
12505 * math/s_csinl.c (__csinl): Likewise.
12506 * math/s_csqrt.c (__csqrt): Likewise.
12507 * math/s_csqrtf.c (__csqrtf): Likewise.
12508 * math/s_csqrtl.c (__csqrtl): Likewise.
12509 * math/s_ctan.c (__ctan): Likewise.
12510 * math/s_ctanf.c (__ctanf): Likewise.
12511 * math/s_ctanh.c (__ctanh): Likewise.
12512 * math/s_ctanhf.c (__ctanhf): Likewise.
12513 * math/s_ctanhl.c (__ctanhl): Likewise.
12514 * math/s_ctanl.c (__ctanl): Likewise.
12515 * math/w_pow.c: Likewise.
12516 * math/w_powf.c: Likewise.
12517 * math/w_powl.c: Likewise.
12518 * math/w_scalb.c (sysv_scalb): Likewise.
12519 * math/w_scalbf.c (sysv_scalbf): Likewise.
12520 * math/w_scalbl.c (sysv_scalbl): Likewise.
12521 * misc/error.c (error_tail): Likewise.
12522 * misc/pselect.c (__pselect): Likewise.
12523 * nis/nis_callback.c (__nis_create_callback): Likewise.
12524 * nis/nis_call.c (__nisfind_server): Likewise.
12525 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12526 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12527 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12528 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12529 * nis/nis_lookup.c (nis_lookup): Likewise.
12530 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12531 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12532 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12533 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12534 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12535 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12536 * nis/nss_compat/compat-initgroups.c (add_group)
12537 (internal_getgrent_r): Likewise.
12538 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12539 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12540 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12541 (internal_getspnam_r): Likewise.
12542 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12543 (_nss_nis_getaliasbyname_r): Likewise.
12544 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12545 (_nss_nis_getntohost_r): Likewise.
12546 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12547 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12548 (_nss_nis_getgrgid_r): Likewise.
12549 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12550 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12551 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12552 (_nss_nis_gethostbyname4_r): Likewise.
12553 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12554 (initgroups_netid): Likewise.
a1ffb40e 12555 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12556 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12557 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12558 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12559 (_nss_nis_getprotobynumber_r): Likewise.
12560 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12561 (_nss_nis_getsecretkey): Likewise.
12562 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12563 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12564 (_nss_nis_getpwuid_r): Likewise.
12565 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12566 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12567 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12568 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12569 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12570 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12571 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12572 Likewise.
57f41c40
AS
12573 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12574 (_nss_nisplus_getntohost_r): Likewise.
12575 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12576 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12577 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12578 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12579 Likewise.
57f41c40
AS
12580 * nis/nss_nisplus/nisplus-initgroups.c
12581 (_nss_nisplus_initgroups_dyn): Likewise.
12582 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12583 (_nss_nisplus_getnetbyaddr_r): Likewise.
12584 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12585 (_nss_nisplus_getprotobynumber_r): Likewise.
12586 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12587 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12588 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12589 Likewise.
57f41c40
AS
12590 * nis/nss_nisplus/nisplus-service.c
12591 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12592 (_nss_nisplus_getservbyport_r): Likewise.
12593 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12594 (_nss_nisplus_getspnam_r): Likewise.
12595 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12596 Likewise.
a1ffb40e
OB
12597 * nscd/aicache.c (addhstaiX): Likewise.
12598 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12599 * nscd/connections.c (register_traced_file, send_ro_fd)
12600 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12601 (main_loop_epoll): Likewise.
a1ffb40e
OB
12602 * nscd/grpcache.c (addgrbyX): Likewise.
12603 * nscd/hstcache.c (addhstbyX): Likewise.
12604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12605 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12606 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12607 (addinnetgrX): Likewise.
12608 * nscd/nscd-client.h (__nscd_acquire_maplock)
12609 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12610 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12611 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12612 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12613 Likewise.
12614 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12615 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12616 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12617 (__nscd_get_map_ref): Likewise.
a1ffb40e 12618 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12619 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12620 Likewise.
a1ffb40e
OB
12621 * nscd/pwdcache.c (addpwbyX): Likewise.
12622 * nscd/selinux.c (preserve_capabilities): Likewise.
12623 * nscd/servicescache.c (addservbyX): Likewise.
12624 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12625 * posix/fnmatch.c (fnmatch): Likewise.
12626 * posix/getopt.c (_getopt_internal_r): Likewise.
12627 * posix/glob.c (glob, glob_in_dir): Likewise.
12628 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12630 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12631 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12632 * resolv/res_init.c: Likewise.
12633 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12634 * resolv/res_query.c (__libc_res_nquery): Likewise.
12635 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12636 Likewise.
12637 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12638 * stdio-common/perror.c (perror): Likewise.
12639 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12640 * stdio-common/tmpnam.c (tmpnam): Likewise.
12641 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12642 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12643 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12644 Likewise.
a1ffb40e
OB
12645 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12646 * stdlib/putenv.c (putenv): Likewise.
12647 * stdlib/setenv.c (__add_to_environ): Likewise.
12648 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12649 * stdlib/strtol_l.c (INTERNAL): Likewise.
12650 * string/memmem.c (memmem): Likewise.
12651 * string/strerror.c (strerror): Likewise.
12652 * string/strnlen.c (__strnlen): Likewise.
12653 * string/test-memmem.c (simple_memmem): Likewise.
12654 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12655 * sunrpc/pm_getport.c (__get_socket): Likewise.
12656 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12657 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12658 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12659 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12660 Likewise.
12661 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12663 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12664 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12665 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12666 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12667 Likewise.
12668 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12669 Likewise.
a1ffb40e
OB
12670 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12671 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12673 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12674 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12676 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12677 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12678 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12679 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12680 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12682 Likewise.
12683 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12684 Likewise.
12685 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12686 Likewise.
12687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12689 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12691 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12692 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12693 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12702 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12703 Likewise.
a1ffb40e
OB
12704 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12705 Likewise.
12706 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12707 Likewise.
12708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12709 Likewise.
12710 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12712 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12713 Likewise.
12714 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12715 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12716 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12717 * sysdeps/posix/sleep.c: Likewise.
12718 * sysdeps/posix/tempname.c: Likewise.
12719 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12720 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12721 Likewise.
57f41c40
AS
12722 * sysdeps/powerpc/powerpc32/dl-machine.h
12723 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12724 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12726 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12727 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12728 Likewise.
12729 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12731 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12732 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12733 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12734 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12735 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12736 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12737 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12738 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12740 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12741 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12743 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12744 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12745 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12746 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12747 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12748 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12749 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12750 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12752 Likewise.
12753 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12754 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12755 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12756 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12757 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12758 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12759 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12760 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12761 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12762 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12763 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12764 Likewise.
12765 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12766 (__posix_fallocate64_l64): Likewise.
12767 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12768 (posix_fallocate): Likewise.
57f41c40
AS
12769 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12770 Likewise.
a1ffb40e 12771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12772 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12773 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12774 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12775 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12776 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12777 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12778 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12779 (__posix_fallocate64_l64): Likewise.
12780 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12781 Likewise.
12782 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12783 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12784 (__get_clockfreq): Likewise.
a1ffb40e
OB
12785 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12786 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12787 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12790 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12791 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12792 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12793 Likewise.
12794 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12795 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12796 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12798 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12799 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12800 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12801 Likewise.
12802 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12803 (posix_fallocate): Likewise.
12804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12805 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12806 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12807 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12808 (elf_machine_rela, elf_machine_rela_relative)
12809 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12810 * time/asctime.c (asctime_internal): Likewise.
12811 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12812 * time/tzset.c (__tzset_parse_tz): Likewise.
12813 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12814 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12815 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12816 * wcsmbs/wcsmbsload.h: Likewise.
12817
f3d338c9
OB
12818 [BZ #15894]
12819 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12820
57f41c40
AS
12821 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12822 (arena_get2): Remove THREAD_STATS conditionals.
12823 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12824 (__malloc_stats, int): Likewise.
bdfe308a 12825
d674667c
MF
128262014-02-08 Mike Frysinger <vapier@gentoo.org>
12827
12828 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12829 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12830
6349768c
MF
12831 * manual/setjmp.texi: Fix typos/grammar errors.
12832
0b7c7473
MF
12833 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12834 Only return early when n is <= 0. Delete unused return statement.
12835
ac8cc9e3
MF
12836 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12837 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12838 * debug/tst-longjmp_chk3.c: New file.
12839
c5bb8e23
MF
12840 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12841 (test_main): Replace code with set_fortify_handler call.
12842 * debug/test-strcpy_chk.c: Likewise.
12843 * debug/tst-chk1.c: Likewise.
12844 * debug/tst-longjmp_chk.c: Likewise.
12845 * test-skeleton.c: Include fcntl.h & paths.h
12846 (set_fortify_handler): Define.
12847
10444e42
MF
12848 * debug/tst-longjmp_chk.c: Add header comment and include
12849 ../test-skeleton.c.
12850 (do_test): Mark static.
12851 (TEST_FUNCTION): Define.
12852
1e805e8d
MF
12853 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12854 (IP_PMTUDISC_INTERFACE): Likewise.
12855 (IP_MULTICAST_IF): Likewise.
12856 (IP_MULTICAST_TTL): Likewise.
12857 (IP_MULTICAST_LOOP): Likewise.
12858 (IP_ADD_MEMBERSHIP): Likewise.
12859 (IP_DROP_MEMBERSHIP): Likewise.
12860 (IP_UNBLOCK_SOURCE): Likewise.
12861 (IP_BLOCK_SOURCE): Likewise.
12862 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12863 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12864 (IP_MSFILTER): Likewise.
12865 (MCAST_JOIN_GROUP): Likewise.
12866 (MCAST_BLOCK_SOURCE): Likewise.
12867 (MCAST_UNBLOCK_SOURCE): Likewise.
12868 (MCAST_LEAVE_GROUP): Likewise.
12869 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12870 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12871 (MCAST_MSFILTER): Likewise.
12872 (IP_MULTICAST_ALL): Likewise.
12873 (IP_UNICAST_IF): Likewise.
12874
73f79bb7
MF
12875 * timezone/Makefile: Delete $(have-ksh) check.
12876 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12877 * timezone/tzselect.ksh: Add +x mode bits.
12878
8da79b60
MF
12879 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12880 (ANON_INODE_FS_MAGIC): Likewise.
12881 (BDEVFS_MAGIC): Likewise.
12882 (BINFMTFS_MAGIC): Likewise.
12883 (BTRFS_TEST_MAGIC): Likewise.
12884 (CRAMFS_MAGIC_WEND): Likewise.
12885 (DEBUGFS_MAGIC): Likewise.
12886 (ECRYPTFS_SUPER_MAGIC): Likewise.
12887 (EXT3_SUPER_MAGIC): Likewise.
12888 (EXT4_SUPER_MAGIC): Likewise.
12889 (FUTEXFS_SUPER_MAGIC): Likewise.
12890 (HOSTFS_SUPER_MAGIC): Likewise.
12891 (HUGETLBFS_MAGIC): Likewise.
12892 (MINIX3_SUPER_MAGIC): Likewise.
12893 (MTD_INODE_FS_MAGIC): Likewise.
12894 (NILFS_SUPER_MAGIC): Likewise.
12895 (OPENPROM_SUPER_MAGIC): Likewise.
12896 (PIPEFS_MAGIC): Likewise.
12897 (PSTOREFS_MAGIC): Likewise.
12898 (QNX6_SUPER_MAGIC): Likewise.
12899 (RAMFS_MAGIC): Likewise.
12900 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12901 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12902 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12903 (SECURITYFS_MAGIC): Likewise.
12904 (SELINUX_MAGIC): Likewise.
12905 (SMACK_MAGIC): Likewise.
12906 (SOCKFS_MAGIC): Likewise.
12907 (SQUASHFS_MAGIC): Likewise.
12908 (STACK_END_MAGIC): Likewise.
12909 (TMPFS_MAGIC): Likewise.
12910 (USBDEVICE_SUPER_MAGIC): Likewise.
12911 (V9FS_MAGIC): Likewise.
12912 (XENFS_SUPER_MAGIC): Likewise.
12913 (CRAMFS_MAGIC): Fix typo in comment.
12914 (EXT2_SUPER_MAGIC): Update comment.
12915 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12916
464263cc
JM
129172014-02-08 Joseph Myers <joseph@codesourcery.com>
12918
c6bfe5c4
JM
12919 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12920 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12921 * sysdeps/unix/sysv/linux/arm: Move directory from
12922 ports/sysdeps/unix/sysv/linux/arm.
12923 * README: Update listing for arm-*-linux-gnueabi.
12924
464263cc
JM
12925 * README: Remove mention of am33.
12926
32749f6c
RM
129272014-02-07 Roland McGrath <roland@hack.frob.com>
12928
12929 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12930 than the comma operator, to avoid "rhs of comma has no effect"
12931 compiler warnings.
12932 (__sigfillset, __sigandset, __sigorset): Likewise.
12933 * include/signal.h (__sigemptyset): Likewise.
12934 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12935
d5b396c1
AM
129362014-02-07 Allan McRae <allan@archlinux.org>
12937
12938 * version.h (RELEASE): Set to "development".
12939 (VERSION): Set to "2.19.90"
12940 * NEWS: Add 2.20 section.
12941
3bfff2ed
CD
129422014-02-06 Carlos O'Donell <carlos@redhat.com>
12943
12944 [BZ #16529]
12945 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12946
ee7cc385
SP
129472014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12948
12949 * manual/contrib.texi: Update entry for Carlos O'Donell,
12950 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12951
f877c4f2
CD
129522014-02-05 Carlos O'Donell <carlos@rehdat.com>
12953
27e839f6
CD
12954 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12955
f877c4f2
CD
12956 * sysdeps/unix/sysv/linux/kernel-features.h
12957 [__LINUX_KERNEL_VERSION >= 0x020621]
12958 (__ASSUME_PROC_PID_TASK_COMM): Define.
12959
68159946
SP
129602014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12961
ba17cdbd
SP
12962 [BZ #16398]
12963 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12964 conversion when destination buffer does not have enough space.
12965 * libio/tst-ftell-partial-wide.c: New test case.
12966 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12967
68159946
SP
12968 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12969 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12970 Leonard and Allan McRae.
12971
2b528732
DM
129722014-02-04 David S. Miller <davem@davemloft.net>
12973
12974 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12975 32-bit.
12976
0ff82463
AZ
129772014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12978
57f41c40
AS
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12980 New file
c01603f7
AZ
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12982 New file
57f41c40
AS
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12984 New file.
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12986 New file.
c01603f7
AZ
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12988 New file.
57f41c40
AS
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12990 New file.
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12992 New file.
c01603f7
AZ
12993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12994 New file.
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12996 New file.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12998 New file.
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13000 New file.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13002 New file.
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13004 New file.
13005
130062014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13007
0ff82463
AZ
13008 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13009 * shlib-versions: Likewise.
13010
1695c773
AZ
130112014-02-04 Roland McGrath <roland@hack.frob.com>
13012 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13013
13014 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13015 (abilist-pattern): New variable, set to %-le.abilist.
13016
13017 * Makerules (abilist-pattern): New variable.
13018 (vpath): Use $(abilist-pattern) in place of %.abilist.
13019 (check-abi-% pattern rule): Likewise.
13020 (check-abi, update-abi): Likewise.
13021
6c0ce4b4
EW
130222014-02-04 Eric Wong <normalperson@yhbt.net>
13023
13024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13025
481e3524
CD
130262014-02-03 Carlos O'Donell <carlos@redhat.com>
13027
13028 * manual/startup.texi: Add next, previous, and top entries for
13029 the `Program Arguments' and `Environment Variables' nodes.
13030
375592d3
AO
130312014-02-03 Alexandre Oliva <aoliva@redhat.com>
13032
13033 * manual/macros.texi: Add comments before MTASC-safety macros.
13034
f54838ba
AO
13035 * manual/users.texi: Document MTASC-safety properties.
13036
57f41c40
AS
13037 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13038 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13039 @deftypefun, and add @safety note.
13040 * manual/signal.texi: Move comments that analyze the above
13041 functions to their home place.
13042
fd3daba4
AM
130432014-02-03 Allan McRae <allan@archlinux.org>
13044
13045 * po/sl.po: Update Slovenian translation from translation project.
13046
597636d7
AO
130472014-02-02 Alexandre Oliva <aoliva@redhat.com>
13048
13049 * manual/time.texi (timegm): Add missing blank after @c.
13050 Reported by Joseph Myers <joseph@codesourcery.com>.
13051
ee196e3c
AO
130522014-02-01 Alexandre Oliva <aoliva@redhat.com>
13053
13054 * manual/check-safety.sh: New.
13055 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13056
f8d529d5
AO
13057 * manual/terminal.texi: Document MTASC-safety properties.
13058
de55fdf4
AO
13059 * manual/filesys.texi: Document MTASC-safety properties.
13060
c3299c08
AO
13061 * manual/errno.texi: Document MTASC-safety properties.
13062
06e90b14
AO
13063 * manual/intro.texi: Document safety identifiers and
13064 conditionals.
13065
1acd4371
AO
13066 * manual/string.texi (wcstok): Fix prototype.
13067 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13068
23e5b8cb
AO
13069 * manual/time.texi: Document MTASC-safety properties.
13070
11087373
AO
13071 * manual/string.texi: Document MTASC-safety properties.
13072
5da2c93d
AO
13073 * manual/threads.texi: Document MTASC-safety properties.
13074
171e9210
AO
13075 * manual/stdio.texi: Document MTASC-safety properties.
13076
d9e02532
AO
13077 * manual/syslog.texi: Document MTASC-safety properties.
13078
6af8bab7
AO
13079 * manual/sysinfo.texi: Document MTASC-safety properties.
13080
663b02d7
AO
13081 * manual/startup.texi: Document MTASC-safety properties.
13082
973f180b
AO
13083 * manual/socket.texi: Document MTASC-safety properties.
13084
8f3c25c8
AO
13085 * manual/signal.texi: Document MTASC-safety properties.
13086
542210fb
AO
130872014-01-31 Alexandre Oliva <aoliva@redhat.com>
13088
13089 * manual/setjmp.texi: Document MTASC-safety properties.
13090
433c45a2
AO
13091 * manual/search.texi: Document MTASC-safety properties.
13092
c8ce789c
AO
13093 * manual/resource.texi: Document MTASC-safety properties.
13094
19f5d29c
AO
13095 * manual/process.texi: Document MTASC-safety properties.
13096
e2dfb7f4
AO
13097 * manual/platform.texi: Document MTASC-safety properties.
13098
8c1413f5
AO
13099 * manual/pipe.texi: Document MTASC-safety properties.
13100
03483ada
AO
13101 * manual/pattern.texi: Document MTASC-safety properties.
13102
29e7e2df
AO
13103 * manual/message.texi: Document MTASC-safety properties.
13104
9f529d7c
AO
13105 [BZ #12751]
13106 * manual/memory.texi: Document MTASC-safety properties.
13107
27aaa791
AO
13108 * manual/math.texi: Document MTASC-safety properties.
13109
f2d58726
AO
13110 * manual/locale.texi: Document MTASC-safety properties.
13111
2cc3615c
AO
13112 * manual/llio.texi: Document MTASC-safety properties.
13113
d9f0ec97
AO
13114 * manual/libdl.texi: New.
13115
e7c4409a
AO
13116 * manual/lang.texi: Document MTASC-safety properties.
13117
27bdc63c
AO
13118 * manual/job.texi: Document MTASC-safety properties.
13119
a7b90ea9
AO
13120 * manual/getopt.texi: Document MTASC-safety properties.
13121
c49130e3
AO
13122 * manual/ctype.texi: Document MTASC-safety properties.
13123
0d23a5c1
MR
131242014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13125
13126 [BZ #16046]
13127 * csu/libc-tls.c (static_map): Remove variable.
13128 (__libc_setup_tls): Use main executable's link map for TLS data.
13129 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13130 casing for LM_ID_BASE and GL(dl_nns).
13131 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13132 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13133 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13134 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13135 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13136 member.
13137 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13138 l_phnum members.
13139
0037bb60
AO
131402014-01-30 Alexandre Oliva <aoliva@redhat.com>
13141
13142 * manual/debug.texi: Document MTASC-safety properties.
13143
409e00bd
L
131442014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 [BZ #16510]
13147 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13148 of __x86_64__ when disabling x87 inline functions.
13149
86e60666
AO
131502014-01-29 Alexandre Oliva <aoliva@redhat.com>
13151
13152 * manual/charset.texi: Document MTASC-safety properties.
13153
76167637
AO
13154 * manual/crypt.texi: Document MTASC-safety properties.
13155
e567f2a0
AO
13156 * manual/conf.texi: Document MTASC-safety properties.
13157
b719dafd
AO
13158 * manual/arith.texi: Document MTASC-safety properties.
13159
4a16c662
AO
13160 * manual/argp.texi: Document MTASC-safety properties.
13161
0a57b83e
AO
13162 * manual/macros.texi: Introduce macros to document multi
13163 thread, asynchronous signal and asynchronous cancellation
13164 safety properties.
13165 * manual/intro.texi: Introduce the properties themselves.
13166
feab2397
KK
131672014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13168
13169 * sysdeps/sh/sh4/Makefile: New file.
13170
1c0d11bc
AS
131712014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13172
13173 * math/gen-libm-test.pl ($srcdir): New variable.
13174 ($auto_input): Use it.
13175
af37a8a3
SP
131762014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13177
d7b00f98
SP
13178 [BZ #16506]
13179 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13180 access beyond array bounds when parsing netgroups file.
13181
af37a8a3
SP
13182 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13183 the old buffer before realloc.
13184
0c00f062
AM
131852014-01-27 Allan McRae <allan@archlinux.org>
13186
13187 * po/fr.po: Update French translation from translation project.
13188
7d69a1b0
KK
131892014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13190
13191 * sysdeps/sh/libm-test-ulps: Regenerate.
13192
6e697ff7
DM
131932014-01-24 David S. Miller <davem@davemloft.net>
13194
13195 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13196
9cadb35c
KK
131972014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13198
13199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13200 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13201
5d41dadf
SP
132022013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13203
13204 [BZ #16474]
13205 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13206 string pointers after reallocation.
13207
0bad441c
KK
132082014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13209
13210 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13211 __SH4A__ instead of __SH_FPU_ANY__.
13212
7007c661
KK
132132014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13214
13215 * sysdeps/sh/fpu_control.h: New file.
13216 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13217 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13218 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13219 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13220 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13221 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13222 * sysdeps/sh/sys/ucontext.h: Remove.
13223 * sysdeps/sh/sys: Remove directory.
13224
0f0c35e4
AK
132252014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13226
13227 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13228 s390/sys/ucontext.h.
13229 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13230 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13231
4959e284
L
132322014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13233
13234 [BZ #15605]
13235 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13236
d98720e0
AZ
132372014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13238
13239 [BZ#16431]
13240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13241 Adjust the vDSO correctly for internal calls.
13242 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13243
91cbd0bc
AM
132442014-01-20 Allan McRae <allan@archlinux.org>
13245
13246 * po/ca.po: Update Catalan translation from translation project.
13247
7a02cfad
MF
132482014-01-16 Mike Frysinger <vapier@gentoo.org>
13249
13250 * sysdeps/s390/sotruss-lib.c: New file.
13251
736c304a
AZ
132522014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13253
13254 [BZ#16430]
6e077ee5 13255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13256 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13257 local calls issues by not having a PLT stub required for IFUNC calls.
13258 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13259
94d0cea0
JM
132602014-01-16 Joseph Myers <joseph@codesourcery.com>
13261
13262 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13263 * math/test-fpucw-static.c: Likewise.
13264
980cb518
SP
132652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13266
13267 [BZ #16453]
13268 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13269
2393fc01
AZ
132702014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13271
13272 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13273 implementation for powerpc.
13274
d359bcc2
OB
132752014-01-15 Ondřej Bílka <neleai@seznam.cz>
13276
13277 [BZ #14782]
13278 * sysdeps/posix/system.c (__libc_system): Do not enable
13279 asynchronous cancellation.
13280
7beb48cb
AK
132812014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13282
13283 [BZ #16427]
13284 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13285 handling only for numbers special also in the IEEE case.
13286
c20d5bf5
AK
132872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13288
13289 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13290
e83bd4ee
AM
132912014-01-11 Allan McRae <allan@archlinux.org>
13292
76d0ea69
AM
13293 * po/bg.po: Update Bulgarian translation from translation project.
13294
e83bd4ee
AM
13295 * po/de.po: Update German translation from translation project.
13296
bc2ba20a
RM
132972014-01-10 Roland McGrath <roland@hack.frob.com>
13298
13299 * sysdeps/generic/gcc-compat.h: New file.
13300
649ecea2
SP
133012014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13302
13303 * benchtests/asin-inputs: Correct slow inputs.
13304 * benchtests/acos-inputs: Likewise.
13305
1b19c006
AM
133062014-01-10 Allan McRae <allan@archlinux.org>
13307
a46dab08
AM
13308 * po:sv.po: Update Swedish translation from translation project.
13309
421df74a
AM
13310 * po/vi.po: Update Vietnamese translation from translation project.
13311
d61c51a7
AM
13312 * po/eo.po: Update Esperanto translation from translation project.
13313
0339a319
AM
13314 * po/cs.po: Update Czech translation from translation project.
13315
94ad3e99
AM
13316 * po/nl.po: Update Dutch translation from translation project.
13317
e349ca71
AM
13318 * po/pl.po: Update Polish translation from translation project.
13319
ddf930c1
AM
13320 * po/ru.po: Update Russian translation from translation project.
13321
1b19c006
AM
13322 * po/uk.po: Update Ukrainian translation from translation project.
13323
9f236c49
BM
133242014-01-08 Brooks Moses <bmoses@google.com>
13325
13326 * elf/dl-load.c: Fix comment typo.
13327
cd6701cf
CD
133282014-01-08 Carlos O'Donell <carlos@redhat.com>
13329
13330 * po/header.pot: Rename to...
13331 * po/pot.header: ... this.
13332 * po/Makefile: Use pot.header.
13333
66671c84
YK
133342014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13335 Maxim Kuvyrkov <maxim@kugelworks.com>
13336
13337 [BZ #16394]
cd6701cf
CD
13338 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13339 SRC and DEST against LEN.
66671c84 13340
38f34581
AZ
133412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13342
13343 [BZ #16414]
13344 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13345 implementation.
13346 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13347
133482014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13349
13350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13351
4c327f2a
JM
133522014-01-08 Joseph Myers <joseph@codesourcery.com>
13353
13354 [BZ #16408]
13355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13356 for large positive arguments.
13357
b821f414
JM
133582014-01-07 Joseph Myers <joseph@codesourcery.com>
13359
1f0f2067
JM
13360 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13361
a5a326f6
JM
13362 * math/auto-libm-test-in: Mark various tests with
13363 xfail-rounding:ldbl-128ibm.
13364 * math/auto-libm-test-out: Regenerated.
13365
b821f414
JM
13366 [BZ #16407]
13367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13368 Increase overflow threshold.
13369
94c8a4bc
OB
133702014-01-07 Ondřej Bílka <neleai@seznam.cz>
13371
13372 [BZ #14286]
13373 * stdio-common/vfprintf.c: Check for integer overflow.
13374
87ded0c3
AK
133752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13376
13377 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13378 the first argument and return value of __tls_get_addr_internal.
13379
c5eebdd0
AK
133802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13381
13382 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13383 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13384
05d138ef
AK
133852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13386
13387 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13388 * sysdeps/s390/rtld-global-offsets.sym: New file.
13389 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13390 GLIBC_2.19 symbol.
13391 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13392 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13393 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13394 ... this.
13395 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13396 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13397 ... this.
13398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13399 Regenerate.
13400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13401 Regenerate.
13402 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13403 halfs of GPRs for high_gprs contexts.
13404 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13405 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13406 field.
13407 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13408 uc_flags field.
13409 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13410 64 bit versions:
13411 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13412 for high GPRs (uc_high_gprs) and for future extensions
13413 (__reserved).
13414 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13415 for future extensions (__reserved).
13416 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13417 64 bit versions:
13418 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13419 SC_HIGHGPRS offset definition.
13420 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13421 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13422
93a45ff1
AK
13423 * Versions.def: Add GLIBC_2.19 for libpthread.
13424 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13425 siglongjmp for libpthread with GLIBC_2.19 symver.
13426 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13427 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13428 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13429 * sysdeps/s390/__longjmp.c: New file.
13430 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13431 * sysdeps/s390/longjmp.c: New file.
13432 * sysdeps/s390/setjmp.S: New file.
13433 * sysdeps/s390/sigjmp.S: New file.
13434 * sysdeps/s390/v1-longjmp.c: New file.
13435 * sysdeps/s390/v1-setjmp.h: New file.
13436 * sysdeps/s390/v1-sigjmp.c: New file.
13437 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13438 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13439 GLIBC_2.19 version.
13440 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13441 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13442 versioned symbols for ____longjmp_chk.
13443 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13444 Likewise.
13445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13446 Regenerate.
13447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13448 Regenerate.
13449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13450 Regenerate.
13451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13452 Regenerate.
13453 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13454 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13455 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13456 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13457 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13458 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13459 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13460 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13461 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13462 * sysdeps/s390/rtld-__longjmp.c: New file.
13463 * sysdeps/s390/rtld-setjmp.S: New file.
13464
eb3fc44b
JM
134652014-01-06 Joseph Myers <joseph@codesourcery.com>
13466
13467 [BZ #16400]
13468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13469 Return -__logl (x) for small positive arguments without evaluating
13470 a polynomial.
13471
9341dde4
MF
134722014-01-06 Mike Frysinger <vapier@gentoo.org>
13473
13474 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13475 Rename to ...
13476 (__ptrace_peeksiginfo_args): ... this.
13477 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13479 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13480
4cff0293
AM
134812014-01-06 Allan McRae <allan@archlinux.org>
13482
13483 * inet/netinet/in.h: Fix typo in comment.
13484
75595dcf
AJ
134852014-01-05 Andreas Jaeger <aj@suse.de>
13486
13487 * sysdeps/i386/fpu/libm-test-ulps: Update.
13488
79c1e109
AM
134892014-01-05 Allan McRae <allan@archlinux.org>
13490
dd804818
AM
13491 * po/libc.pot: Regenerated.
13492
79c1e109
AM
13493 * malloc/memusagestat.c: Fix gettext call formatting.
13494
0c813d1f
SK
134952014-01-04 Sami Kerola <kerolasa@iki.fi>
13496
13497 * nscd/nscd.c: Improve usage() output.
13498
20f4a8d9
MF
134992014-01-04 Mike Frysinger <vapier@gentoo.org>
13500
13501 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13502 * sysdeps/unix/sysv/linux/configure: Regenerated.
13503 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13504 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13505
22562bb2
JM
135062014-01-03 Joseph Myers <joseph@codesourcery.com>
13507
13508 [BZ #16390]
13509 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13510 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13511
d7ad2d9b
AZ
135122014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13513
13514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13515 extra tokens at end of #undef directive.
13516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13517 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13519
7dd009d8
JM
135202014-01-03 Joseph Myers <joseph@codesourcery.com>
13521
24db925a
JM
13522 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13523
7dd009d8
JM
13524 * math/auto-libm-test-in: Mark various tests with
13525 xfail-rounding:ldbl-128ibm.
13526 * math/auto-libm-test-out: Regenerated.
13527
396e3ecf
JM
135282014-01-02 Joseph Myers <joseph@codesourcery.com>
13529
819e5d50
JM
13530 [BZ #16386]
13531 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13532 numbers with subnormal high part when calculating exponent.
13533
90b6a1e5
JM
13534 [BZ #16385]
13535 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13536 fabs.
13537
396e3ecf
JM
13538 [BZ #16384]
13539 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13540 M_LN2l.
13541 (__ieee754_acoshl): Use __log1pl not __log1p.
13542
6c8dbf00
OB
135432013-01-02 Ondřej Bílka <neleai@seznam.cz>
13544
57f41c40
AS
13545 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13546 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13547 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13548 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13549 (reused_arena, arena_get2): Convert to GNU style.
13550 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13551 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13552 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13553 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13554 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13555 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13556 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13557 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13558 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13559 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13560 * malloc/malloc.h: Likewise.
57f41c40
AS
13561 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13562 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13563 * malloc/mcheck.h: Likewise.
57f41c40
AS
13564 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13565 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13566 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13567 * malloc/morecore.c (__default_morecore): Likewise.
13568 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13569 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13570 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13571 (print_and_abort): Likewise.
6c8dbf00
OB
13572 * malloc/obstack.h: Likewise.
13573 * malloc/set-freeres.c (__libc_freeres): Likewise.
13574 * malloc/tst-mallocstate.c (main): Likewise.
13575 * malloc/tst-mtrace.c (main): Likewise.
13576 * malloc/tst-realloc.c (do_test): Likewise.
13577
d4124212
SP
135782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13579
9a3c6a6f
SP
13580 [BZ #16366]
13581 * nscd/netgroupcache.c (do_notfound): New function.
13582 (addgetnetgrentX): Use it.
13583
d4124212
SP
13584 [BZ # 16365]
13585 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13586 NSS_STATUS_NOTFOUND.
13587
97b9a009
JM
135882014-01-01 Joseph Myers <joseph@codesourcery.com>
13589
13590 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13592
d4697bc9
AM
135932014-01-01 Allan McRae <allan@archlinux.org>
13594
ddb3687f
AM
13595 * scripts/update-copyrights: Update configure input file suffix.
13596
88726d48
AM
13597 * NEWS: Update copyright year.
13598 * catgets/gencat.c: Likewise.
13599 * csu/version.c: Likewise.
13600 * debug/catchsegv.sh: Likewise.
13601 * debug/pcprofiledump.c: Likewise.
13602 * debug/xtrace.sh: Likewise.
13603 * elf/ldconfig.c: Likewise.
13604 * elf/ldd.bash.in: Likewise.
13605 * elf/pldd.c: Likewise.
13606 * elf/sotruss.ksh: Likewise.
13607 * elf/sprof.c: Likewise.
13608 * iconv/iconv_prog.c: Likewise.
13609 * iconv/iconvconfig.c: Likewise.
13610 * locale/programs/locale.c: Likewise.
13611 * locale/programs/localedef.c: Likewise.
13612 * login/programs/pt_chown.c: Likewise.
13613 * malloc/memusage.sh: Likewise.
13614 * malloc/memusagestat.c: Likewise.
13615 * malloc/mtrace.pl: Likewise.
13616 * manual/libc.texinfo: Likewise.
13617 * nscd/nscd.c: Likewise.
13618 * nss/getent.c: Likewise.
13619 * nss/makedb.c: Likewise.
13620 * posix/getconf.c: Likewise.
13621 * scripts/test-installation.pl: Likewise.
13622
d4697bc9
AM
13623 * All files with FSF copyright notices: Update copyright dates
13624 using scripts/update-copyrights.
13625 * intl/plural.c: Regenerated.
13626 * locale/programs/charmap-kw.h: Likewise.
13627 * locale/programs/locfile-kw.h: Likewise.
13628
c8590f9d
MF
136292013-12-31 Mike Frysinger <vapier@gentoo.org>
13630
13631 * sysdeps/unix/sysv/linux/configure: Regenerated.
13632 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13633 the linux/fanotify.h header.
13634 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13635 HAVE_LINUX_FANOTIFY_H is defined.
13636
b19221b9
SP
136372013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13638
dd1d85e5
SP
13639 * benchtests/cos-inputs: New inputs.
13640 * benchtests/sin-inputs: Likewise.
13641
1acbb90f
SP
13642 * benchtests/atan-inputs: New inputs. Fix name of multiple
13643 precision fallback inputs.
13644
4c012ed3
SP
13645 * benchtests/atanh-inputs: New inputs.
13646 * benchtests/tanh-inputs: Likewise.
13647
eff98324
SP
13648 * benchtests/acosh-inputs: New inputs.
13649 * benchtests/asinh-inputs: Likewise.
13650
ce641152
SP
13651 * benchtests/cosh-inputs: New inputs.
13652 * benchtests/sinh-inputs: Likewise.
13653
b19221b9
SP
13654 * benchtests/acos-inputs: Add more inputs.
13655 * benchtests/asin-inputs: Likewise.
13656
030a4976 136572013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13658
030a4976 13659 [BZ #16375]
9dcc8f11
VS
13660 * manual/arith.texi: Fix spelling.
13661 * manual/charset.texi: Likewise.
13662 * manual/errno.texi: Likewise.
13663 * manual/filesys.texi: Likewise.
13664 * manual/lang.texi: Likewise.
13665 * manual/llio.texi: Likewise.
13666 * manual/locale.texi: Likewise.
13667 * manual/message.texi: Likewise.
13668 * manual/resource.texi: Likewise.
13669 * manual/search.texi: Likewise.
13670 * manual/setjmp.texi: Likewise.
13671 * manual/stdio.texi: Likewise.
13672 * manual/string.texi: Likewise.
13673 * manual/sysinfo.texi: Likewise.
13674 * manual/time.texi: Likewise.
13675
11520a57
CD
136762013-12-27 Carlos O'Donell <carlos@redhat.com>
13677
13678 * po/sl.po: New file.
13679
471103ae
MF
136802013-12-27 Mike Frysinger <vapier@gentoo.org>
13681
13682 * .gitignore: Add core/.gdbinit/.gdb_history.
13683
6c9642ed
AM
136842013-12-27 Allan McRae <allan@archlinux.org>
13685
13686 [BZ #16369]
13687 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13688 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13689
3f637079
BM
136902013-12-24 Brooks Moses <bmoses@google.com>
13691
13692 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13693 all compilers that claim C++98 compliance, not just GCC.
13694 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13695 Likewise.
13696
abc26e99
MK
136972013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13698
13699 * NEWS: Restore accidentally deleted bug-fix entries.
13700
362b47fe
MK
137012013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13702 Ondřej Bílka <neleai@seznam.cz>
13703
13704 [BZ #15073]
13705 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13706 have_lock.
362b47fe 13707
b9bcbbcb
OB
137082013-12-23 Ondřej Bílka <neleai@seznam.cz>
13709
13710 [BZ #12986]
13711 * manual/stdio.texi (String Input Conversions): Clarify that character
13712 classes are not supported.
13713
fb55fcd2
AZ
137142013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13715
13716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13717
ef7344f0
JM
137182013-12-22 Joseph Myers <joseph@codesourcery.com>
13719
4f40e4b3
JM
13720 [BZ #16337]
13721 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13722 Calculate results for small negative arguments directly rather
13723 than using reflection formula with special underflow handling.
13724
ef7344f0
JM
13725 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13726 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13727 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13728 (fchflags): Likewise.
13729 (revoke): Likewise.
13730 (setlogin): Likewise.
13731 (sigaltstack): Likewise.
13732 (wait4): Likewise.
13733 (sigblock): Remove.
13734 (sigsetmask): Likewise.
13735 (wait3): Likewise.
13736 (waitpid): Likewise.
13737 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13738 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13739 file.
13740 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13741 * sysdeps/unix/bsd/Makefile: ... here.
13742 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13743 * sysdeps/unix/bsd/Versions: ... here.
13744 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13745 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13746 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13747 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13748 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13749 * sysdeps/unix/bsd/sigblock.c: ... here.
13750 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13751 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13752 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13753 * sysdeps/unix/bsd/sigvec.c: ... here.
13754 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13755 * sysdeps/unix/bsd/tcdrain.c: ... here.
13756 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13757 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13758 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13759 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13760 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13761 * sysdeps/unix/bsd/wait.c: ... here.
13762 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13763 * sysdeps/unix/bsd/wait3.c: ... here.
13764 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13765 * sysdeps/unix/bsd/waitpid.c: ... here.
13766
5b0626b9
JM
137672013-12-21 Joseph Myers <joseph@codesourcery.com>
13768
13769 [BZ #16356]
13770 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13771 round-to-nearest for [!USE_AS_EXPM1L].
13772 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13773 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13774 more tests of exp and exp10. Expect some exp10 tests to miss
13775 exceptions or fail in directed rounding modes.
13776 * math/auto-libm-test-out: Regenerated.
13777 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13778 (exp10_test_tonearest): New function.
13779 (exp10_towardzero_test_data): New array.
13780 (exp10_test_towardzero): New function.
13781 (exp10_downward_test_data): New array.
13782 (exp10_test_downward): New function.
13783 (exp10_upward_test_data): New array.
13784 (exp10_test_upward): New function.
13785 (main): Call the new functions.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update.
13787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13788
7fda5682
JM
137892013-12-20 Joseph Myers <joseph@codesourcery.com>
13790
31e3a405
JM
13791 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13792 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13793 * math/auto-libm-test-out: Regenerated.
13794 * math/libm-test.inc (acosh_test_data): Add more tests.
13795 (atanh_test_data): Likewise.
13796 (ceil_test_data): Likewise.
13797 (copysign_test_data): Likewise.
13798 * sysdeps/i386/fpu/libm-test-ulps: Update.
13799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13800
85bff96a
JM
13801 * timezone/checktab.awk: Update from tzcode 2013i.
13802 * timezone/private.h: Likewise.
13803 * timezone/scheck.c: Likewise.
13804 * timezone/tzfile.h: Likewise.
13805 * timezone/tzselect.ksh: Likewise.
13806 * timezone/zdump.c: Likewise.
13807 * timezone/zic.c: Likewise.
13808
b7867a3b
JM
13809 * math/auto-libm-test-in: Add tests of cpow.
13810 * math/auto-libm-test-out: Regenerated.
13811 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13812 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13813 mpc_cc_c.
13814 (func_calc_desc): Add mpc_cc_c union field.
13815 (test_functions): Add cpow.
13816 (special_fill_2pi): New function.
13817 (special_real_inputs): Add 2pi.
13818 (calc_generic_results): Handle mpc_cc_c.
13819 * sysdeps/i386/fpu/libm-test-ulps: Update.
13820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13821
7fda5682
JM
13822 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13823 csqrt, ctan and ctanh.
13824 * math/auto-libm-test-out: Regenerated.
13825 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13826 (TEST_COND_x86): Likewise.
13827 (ccos_test_data): Use AUTO_TESTS_c_c.
13828 (ccosh_test_data): Likewise.
13829 (cexp_test_data): Likewise.
13830 (clog_test_data): Likewise.
13831 (csqrt_test_data): Likewise.
13832 (ctan_test_data): Likewise.
13833 (ctan_tonearest_test_data): Likewise.
13834 (ctan_towardzero_test_data): Likewise.
13835 (ctan_downward_test_data): Likewise.
13836 (ctan_upward_test_data): Likewise.
13837 (ctanh_test_data): Likewise.
13838 (ctanh_tonearest_test_data): Likewise.
13839 (ctanh_towardzero_test_data): Likewise.
13840 (ctanh_downward_test_data): Likewise.
13841 (ctanh_upward_test_data): Likewise.
13842 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13843 mpc_c_c.
13844 (func_calc_desc): Add mpc_c_c union field.
13845 (FUNC_mpc_c_c): New macro.
13846 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13847 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13848 ctanh.
13849 (special_fill_min_subnorm_p120): New function.
13850 (special_real_inputs): Add min_subnorm_p120.
13851 (calc_generic_results): Handle mpc_c_c.
13852 * sysdeps/i386/fpu/libm-test-ulps: Update.
13853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13854
5ff8d60e
SP
138552013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13856
57f41c40
AS
13857 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13858 (do_sin_slow): New functions.
13859 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13860 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13861
84ba214c
SP
13862 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13863 Use M to change sign of result instead of X. Assume X is
13864 positive.
13865 (csloww1): Likewise.
13866 (__sin): Adjust.
13867 (__cos): Adjust.
13868
975195e4
SP
13869 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13870 arguments A and DA.
13871 (__sin): Adjust.
13872 (__cos): Likewise.
13873
5ff8d60e
SP
13874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13875 (__cos): Likewise.
13876 (sloww1): Don't adjust sign of DX.
13877 (csloww1): Likewise.
13878 (sloww2): Use X directly and don't adjust sign of DX.
13879 (csloww2): Likewise.
13880
eb983568
JM
138812013-12-19 Joseph Myers <joseph@codesourcery.com>
13882
64a17f1a
JM
13883 * math/auto-libm-test-in: Add tests of cabs and carg.
13884 * math/auto-libm-test-out: Regenerated.
13885 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13886 (carg_test_data): Likewise.
13887 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13888 mpc_c_f.
13889 (func_calc_desc): Add mpc_c_f union field.
13890 (test_functions): Add cabs and carg.
13891 (calc_generic_results): Handle mpc_c_f.
13892
eb983568
JM
13893 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13894 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13895 as a macro and a compat symbol.
13896 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13897 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13898 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13899 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13900 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13902 not use .hidden.
13903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13904 Likewise.
13905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13906 Likewise.
13907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13908 Likewise.
13909 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13910 Likewise.
13911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13912 Likewise.
13913 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13914 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13915 from GLIBC_2.3.2.
13916
6eeb678a
AZ
139172013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13918
13919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13920
6f6fc482
JM
139212013-12-19 Joseph Myers <joseph@codesourcery.com>
13922
21fea2e2
JM
13923 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13924 trailing whitespace removed.
13925 * scripts/config.guess: Update to version 2013-11-29.
13926 * scripts/config.sub: Update to version 2013-10-01.
13927
6f6fc482
JM
13928 * math/auto-libm-test-in: Add tests of sincos.
13929 * math/auto-libm-test-out: Regenerated.
13930 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13931 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13932 mpfr_f_11.
13933 (func_calc_desc): Add mpfr_f_11 union field.
13934 (test_functions): Add sincos.
13935 (calc_generic_results): Handle mpfr_f_11.
13936 * sysdeps/i386/fpu/libm-test-ulps: Update.
13937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13938
83f5c32d
AS
139392013-12-19 Andreas Schwab <schwab@suse.de>
13940
13941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13942 CALL_MCOUNT.
13943 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13944 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13945 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13946
c688b419
JM
139472013-12-19 Joseph Myers <joseph@codesourcery.com>
13948
335ee092
JM
13949 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13952
f88acd39
JM
13953 [BZ #16293]
13954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13955 round-to-nearest mode when using frndint.
13956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13957 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13958 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13959 Likewise.
13960 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13961 sinh test to fail.
13962 * math/auto-libm-test-out: Regenerated.
13963 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13964 (TEST_COND_x86): Likewise.
13965 (expm1_tonearest_test_data): New array.
13966 (expm1_test_tonearest): New function.
13967 (expm1_towardzero_test_data): New array.
13968 (expm1_test_towardzero): New function.
13969 (expm1_downward_test_data): New array.
13970 (expm1_test_downward): New function.
13971 (expm1_upward_test_data): New array.
13972 (expm1_test_upward): New function.
13973 (main): Run the new test functions.
13974 * sysdeps/i386/fpu/libm-test-ulps: Update.
13975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13976
c688b419
JM
13977 * include/features.h: Update comment documenting feature test
13978 macros. Mention _DEFAULT_SOURCE in comment.
13979 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13980 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13981 _BSD_SOURCE and _SVID_SOURCE.
13982 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13983 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13984 !_SVID_SOURCE]: Likewise.
13985 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13986 (__USE_POSIX_IMPLICITLY): Define.
13987 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13988 (_POSIX_SOURCE): Undefine and redefine.
13989 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13990 (_POSIX_C_SOURCE): Likewise.
13991 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13992 (Feature Test Macros): Update documentation of default features.
13993
9f6e964c
RS
139942013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13995
13996 * benchtests/Makefile: Add bench-strtok.
13997 * benchtests/bench-strtok.c: New file: strtok benchtest.
13998
ee0a148a
AM
139992013-12-19 Allan McRae <allan@archlinux.org>
14000
14001 * manual/install.texi: Suppress menu for plain text output.
14002 * INSTALL: Regenerated.
14003
b9ab448f
BM
140042013-12-18 Brooks Moses <bmoses@google.com>
14005
14006 [BZ #15846]
14007 * misc/getauxval.c: Include errno.h.
14008 (__getauxval): Set errno to ENOENT if the requested type is not
14009 found.
14010 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14011 don't declare with __attribute_const__.
14012 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14013 * manual/startup.texi: Document that getauxval sets errno.
14014
23776487
JM
140152013-12-18 Joseph Myers <joseph@codesourcery.com>
14016
f889953b
JM
14017 * math/auto-libm-test-in: Add tests of jn and yn.
14018 * math/auto-libm-test-out: Regenerated.
14019 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14020 (yn_test_data): Likewise.
14021 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14022 mpfr_if_f.
14023 (func_calc_desc): Add mpfr_if_f union field.
14024 (FUNC_mpfr_if_f): New macro.
14025 (test_functions): Add jn and yn.
14026 (calc_generic_results): Assert type of second input for
14027 mpfr_ff_f. Handle mpfr_if_f.
14028 (output_for_one_input_case): Disable all checking for arguments
14029 fitting floating-point types in case of an integer argument.
14030 * sysdeps/i386/fpu/libm-test-ulps: Update.
14031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14032
23776487
JM
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14034 Don't expect fegetround reference in libm.so.
14035
cb756c6d
MS
140362013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14037
14038 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14039 $(config-cflags-nofma).
14040
2dec468f
JM
140412013-12-18 Joseph Myers <joseph@codesourcery.com>
14042
5953eb3a
JM
14043 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14044 * math/auto-libm-test-out: Regenerated.
14045
2dec468f
JM
14046 [BZ #16338]
14047 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14048 to determine exponent and adjust argument to have exponent of -1.
14049 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14050 log2.
14051 * math/auto-libm-test-out: Regenerated.
14052 * sysdeps/i386/fpu/libm-test-ulps: Update.
14053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14054
4d84e6ad
OB
140552013-12-18 Ondřej Bílka <neleai@seznam.cz>
14056
14057 * manual/probes.texi: Remove cases when per-thread arenas are
14058 disabled.
14059
1818483b
AS
140602013-12-18 Andreas Schwab <schwab@suse.de>
14061
14062 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14063 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14064 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14065 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14066 * sysdeps/i386/i686/multiarch/Makefile: Update.
14067 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14068
25de95bf
JM
140692013-12-17 Joseph Myers <joseph@codesourcery.com>
14070
14071 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14072 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14073
674762d9
PE
140742013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14075
ed27ed83 14076 [BZ #15968]
0748546f
PE
14077 Support TZ transition times < 00:00:00.
14078 This is needed for version-3 tz-format files; it supports time
14079 stamps past 2037 for America/Godthab (the only entry in the tz
14080 database for which this change is relevant).
14081 * manual/time.texi (TZ Variable): Document transition times
14082 from -167:59:59 through -00:00:01.
14083 * time/tzset.c (tz_rule): Time of day is now signed.
14084 (__tzset_parse_tz): Parse negative time of day.
14085
4480e934
PE
14086 Document TZ transition times >= 25:00:00.
14087 * manual/time.texi (TZ Variable): Document transition times from
14088 25:00:00 through 167:59:59. These are already supported, and this
14089 support will help with version-3 tz-format files.
14090
69947401
PE
14091 * manual/time.texi (TZ Variable): Modernize North America example
14092 to reflect current (i.e., 2007-and-later) daylight saving rules.
14093
674762d9
PE
14094 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14095
7011c262
JM
140962013-12-17 Joseph Myers <joseph@codesourcery.com>
14097
2fc6557e
JM
14098 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14099 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14102 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14103 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14104 * sysdeps/unix/bsd/clock.c: Likewise.
14105 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14106 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14107 * sysdeps/unix/bsd/init-posix.c: Likewise.
14108 * sysdeps/unix/bsd/poll.c: Likewise.
14109 * sysdeps/unix/bsd/ptsname.c: Likewise.
14110 * sysdeps/unix/bsd/seekdir.c: Likewise.
14111 * sysdeps/unix/bsd/setegid.c: Likewise.
14112 * sysdeps/unix/bsd/seteuid.c: Likewise.
14113 * sysdeps/unix/bsd/setgid.c: Likewise.
14114 * sysdeps/unix/bsd/setrgid.c: Likewise.
14115 * sysdeps/unix/bsd/setruid.c: Likewise.
14116 * sysdeps/unix/bsd/setsid.c: Likewise.
14117 * sysdeps/unix/bsd/setuid.c: Likewise.
14118 * sysdeps/unix/bsd/sigaction.c: Likewise.
14119 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14120 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14121 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14122 * sysdeps/unix/bsd/telldir.c: Likewise.
14123 * sysdeps/unix/bsd/times.c: Likewise.
14124 * sysdeps/unix/bsd/usleep.c: Likewise.
14125
029c7b25
JM
14126 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14127 ($(objpfx)libbsd-compat.a): Remove rule.
14128
7011c262
JM
14129 * include/features.h (__FAVOR_BSD): Do not define.
14130 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14131 features conflicting with POSIX.
14132 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14133 (_BSD_SOURCE): Remove description of not being a subset of other
14134 feature test macros.
14135 * manual/job.texi (getpgrp): Do not document BSD version.
14136 (getpgid): Do not document by reference to BSD getpgrp.
14137 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14138 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14139 * signal/signal.h [__FAVOR_BSD]: Likewise.
14140 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14141 instead of making contents conditional on [__FAVOR_BSD].
14142 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14143
affb6f78
AZ
141442013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14145
14146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14147
c88769dd
JM
141482013-12-17 Joseph Myers <joseph@codesourcery.com>
14149
6432a540
JM
14150 [BZ #16314]
14151 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14152 values below 2**-450, not 2**-500.
14153 * math/auto-libm-test-in: Don't allow spurious underflow from
14154 hypot.
14155 * math/auto-libm-test-out: Regenerated.
14156
c88769dd
JM
14157 [BZ #16316]
14158 [BZ #16330]
14159 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14160 values of ha and hb and sort them after adjusting subnormal
14161 arguments.
14162 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14163 Likewise.
14164 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14165 values of ea and eb and sort them after adjusting subnormal
14166 arguments.
14167 * math/auto-libm-test-in: Do not expect some hypot tests of
14168 subnormals to fail. Add more hypot tests.
14169 * math/auto-libm-test-out: Regenerated.
14170
29618f6b
KK
141712013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14172
14173 [BZ #13304]
14174 * sysdeps/sh/s_fma.c: New file.
14175 * sysdeps/sh/s_fmaf.c: New file.
14176 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14177 version.
14178 * sysdeps/sh/Implies: Add sh/soft-fp.
14179
eacfdfbf
RM
141802013-12-16 Roland McGrath <roland@hack.frob.com>
14181
14182 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14183 level of indirection to members `objname', `errstring', `malloced'.
14184 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14185 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14186 it as the __longjmp argument (just pass 1 instead).
14187 (_dl_catch_error): Initialize C with argument pointers and address of
14188 volatile local ERRCODE rather than copying values out of C at return.
14189
ff362e5b
JM
141902013-12-16 Joseph Myers <joseph@codesourcery.com>
14191
14192 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14193 * math/auto-libm-test-out: Regenerated.
14194 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14195 (hypot_test_data): Likewise.
14196 (pow_test_data): Likewise.
14197 (pow_tonearest_test_data): Likewise.
14198 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14199 mpfr_ff_f.
14200 (func_calc_desc): Add mpfr_ff_f union field.
14201 (FUNC_mpfr_ff_f): New macro.
14202 (test_functions): Add atan2, hypot and pow.
14203 (special_fill_min): New function.
14204 (special_fill_minus_min): Likewise.
14205 (special_fill_min_subnorm): Likewise.
14206 (special_fill_minus_min_subnorm): Likewise.
14207 (special_real_inputs): Add min, -min, min_subnorm and
14208 -min_subnorm.
14209 (calc_generic_results): Handle mpfr_ff_f.
14210 * sysdeps/i386/fpu/libm-test-ulps: Update.
14211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14212
5764c27f
WN
142132013-12-16 Will Newton <will.newton@linaro.org>
14214
14215 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14216 (Aligned Memory Blocks): Add documentation for aligned_alloc
14217 and suggest it as an alternative to posix_memalign.
14218 (Hooks for Malloc): Document __memalign_hook is also called
14219 for aligned_alloc. (Summary of Malloc): Add summary for
14220 aligned alloc. Document __memalign_hook is also called
14221 for aligned_alloc.
14222
0a096e44
WN
142232013-12-16 Will Newton <will.newton@linaro.org>
14224
14225 * manual/memory.texi (Malloc Examples): Clarify default
14226 alignment documentation. Suggest posix_memalign rather
14227 than memalign or valloc.
14228 (Aligned Memory Blocks): Remove suggestion to use memalign
14229 or valloc. Remove obsolete comment about BSD.
14230 Document memalign errno values and mark the function obsolete.
14231 Document posix_memalign returned error codes. Mark valloc
14232 as obsolete. (Hooks for Malloc): __memalign_hook is also
14233 called for posix_memalign and valloc.
14234 (Summary of Malloc): Add posix_memalign to function summary.
14235 __memalign_hook is also called for posix_memalign and valloc.
14236
8d561986
SP
142372013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14238
14239 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14240 TAYLOR_SIN.
14241 (__sin): Adjust.
14242 (__cos): Likewise.
14243 (sloww): Use mynumber union. Expand ternary operator into
14244 if-else statements.
14245 (cslow): use mynumber union.
14246
73616a74
AM
142472013-12-16 Allan McRae <allan@archlinux.org>
14248
9e8ac24b
AM
14249 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14250 * configure: Regenerated.
14251
6f8e37eb
AM
14252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14253
8894bad3
AM
14254 [BZ #14120]
14255 * configure.ac: Added --enable-maintainer-mode. Check for
14256 autoconf when enabled.
14257 * configure: Regenerated.
14258
73616a74
AM
14259 * nscd/nscd.service: New file.
14260 * nscd/nscd.tmpfiles: New file.
14261
584b18eb
OB
142622013-12-14 Ondřej Bílka <neleai@seznam.cz>
14263
14264 [BZ #12100]
14265 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14266 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14267 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14268 (strstr): Add __strstr_sse2_unaligned ifunc.
14269 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14270 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14271 (strcasestr): Remove __strcasestr_sse42 ifunc.
14272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14275
8a5c7897
KK
142762013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14277
14278 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14279 * sysdeps/sh/bits/fenv.h: ... here.
14280 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14281
fd712ef3
AZ
142822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14283
14284 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14285
42fcb46c
AZ
14286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14287 hypotf multiarch implementations.
14288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14291 multiarch hypot for PPC64.
14292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14293 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14295 multiarch hypotf for PPC64.
14296
83efded4
AZ
14297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14298 modff multiarch implementations.
14299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14302 multiarch modf for PPC64.
14303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14306 multiarch modff for PPC64.
14307
43e246d2
AZ
14308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14309 and logl multiarch implementations.
14310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14313 multiarch logb for PPC64.
14314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14317 multiarch logb for PPC64.
14318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14321 multiarch logb for PPC64.
14322
8fdad123
AZ
14323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14324 isinff multiarch implementation.
14325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14326 file.
14327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14329 multiarch isinf for PPC64.
14330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14331 file.
14332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14333 multiarch isinff for PPC64.
14334
1481d706
AZ
14335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14336 finitef multiarch implementation.
14337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14338 file.
14339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14341 multiarch finite for PPC64.
14342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14343 file.
14344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14345 multiarch finitef for PPC64.
14346
5ccd5fc8
AZ
14347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14348 lrint multiarch implementation.
14349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14350 file.
14351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14353 multiarch llrint for PPC64.
14354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14355 multiarch lrint for PPC64.
14356
2568f3fa
AZ
14357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14358 copysignf multiarch implementation.
14359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14360 file.
14361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14362 file.
14363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14364 multiarch copysign for PPC64.
14365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14366 multiarch copysignf for PPC64.
14367
1cb341fd
AZ
14368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14369 multiarch implementation.
14370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14371 file.
14372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14373 file.
14374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14375 file.
14376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14377 file.
14378 multiarch llround for PPC64.
14379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14380 multiarch trunc for PPC64.
14381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14382 multiarch truncf for PPC64.
14383
59a3e194
AZ
14384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14385 multiarch implementation.
14386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14387 file.
14388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14389 file.
14390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14391 file.
14392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14393 file.
14394 multiarch llround for PPC64.
14395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14396 multiarch round for PPC64.
14397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14398 multiarch roundf for PPC64.
14399
357fd3b4
AZ
14400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14401 multiarch implementation.
14402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14403 file.
14404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14405 file.
14406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14407 file.
14408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14409 file.
14410 multiarch llround for PPC64.
14411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14412 multiarch floor for PPC64.
14413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14414 multiarch floorf for PPC64.
14415
96770f12
AZ
14416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14417 multiarch implementation.
14418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14419 file.
14420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14421 file.
14422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14423 file.
14424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14425 file.
14426 multiarch llround for PPC64.
14427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14428 multiarch ceil for PPC64.
14429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14430 multiarch ceilf for PPC64.
14431
c3627f6e
AZ
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14433 multiarch implementation.
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14435 file.
14436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14437 file.
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14439 file.
14440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14441 multiarch llround for PPC64.
14442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14443 multiarch lround for PPC64.
14444
b2284ad7
AZ
14445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14446 multiarch implementation.
14447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14450 file.
14451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14454 multiarch isnan for PPC64.
14455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14456 multiarch isnanf for PPC64.
14457
69bbc63d
AZ
14458 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14459 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14460 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14461 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14462 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14464
c24517c9
AZ
14465 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14466 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14469
a52374e8
AZ
14470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14471 multiarch implementations.
14472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14473 (__libc_ifunc_impl_list): Likewise.
14474 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14475 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14476 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14477 multiarch stpcpy for PPC64.
14478
7f5ec113
AZ
14479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14480 multiarch implementations.
14481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14482 (__libc_ifunc_impl_list): Likewise.
14483 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14484 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14485 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14486 multiarch strcpy for PPC64.
14487
e28bcd42
AZ
14488 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14489 redefine function name.
14490 (_wordcopy_fwd_dest_aligned): Likewise.
14491 (_wordcopy_bwd_aligned): Likewise.
14492 (_wordcopy_bwd_dest_aligned): Likewise.
14493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14494 multiarch implementations.
14495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14496 (__libc_ifunc_impl_list): Likewise.
14497 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14498 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14499 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14500 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14501 multiarch wcscpy for PPC64.
14502
92cacfce
AZ
14503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14504 multiarch implementations.
14505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14506 (__libc_ifunc_impl_list): Likewise.
14507 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14508 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14509 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14510 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14511 multiarch wcscpy for PPC64.
14512
7b714620
AZ
14513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14514 multiarch implementations.
14515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14516 (__libc_ifunc_impl_list): Likewise.
14517 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14518 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14519 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14520 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14521 multiarch wcsrchr for PPC64.
14522
16fd2ae3
AZ
14523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14524 multiarch implementations.
14525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14526 (__libc_ifunc_impl_list): Likewise.
14527 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14528 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14529 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14530 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14531 multiarch wcschr for PPC64.
14532
9ee2969b
AZ
14533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14534 multiarch implementations.
14535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14536 (__libc_ifunc_impl_list): Likewise.
14537 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14538 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14539 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14540 multiarch strchrnul for PPC64.
14541
372dc060
AZ
14542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14543 implementations.
14544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14545 (__libc_ifunc_impl_list): Likewise.
14546 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14547 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14548 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14549 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14550 strchr for PPC64.
14551
24c2c3b9
AZ
14552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14553 implementations.
14554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14555 (__libc_ifunc_impl_list): Likewise.
14556 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14557 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14558 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14559 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14560 strncmp for PPC64.
14561
1c92d9a0
AZ
14562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14563 multiarch implementations.
14564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14565 (__libc_ifunc_impl_list): Likewise.
14566 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14567 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14568 strncasecmp for PPC64.
14569 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14570 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14571 multiarch strncasecmp_l for PPC64.
14572
17de3ee3
AZ
14573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14574 multiarch implementations.
14575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14576 (__libc_ifunc_impl_list): Likewise.
14577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14579 multiarch strcasecmp for PPC64.
14580 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14581 file.
14582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14583 multiarch strcasecmp_l for PPC64.
14584
62982bf9
AZ
14585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14586 implementations.
14587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14588 (__libc_ifunc_impl_list): Likewise.
14589 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14590 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14591 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14592 strnlen for PPC64.
14593
a65f4904
AZ
14594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14595 implementations.
14596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14597 (__libc_ifunc_impl_list): Likewise.
14598 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14599 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14600 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14601 strlen for PPC64.
14602
1fd005ad
AZ
14603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14604 implementations.
14605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14606 (__libc_ifunc_impl_list): Likewise.
14607 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14608 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14609 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14610 rawmemrchr for PPC64.
14611
cd05ba91
AZ
14612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14613 implementation.
14614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14615 (__libc_ifunc_impl_list): Likewise.
14616 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14617 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14618 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14619 memrchr for PPC64.
14620
870f8676
AZ
14621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14622 implementation.
14623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14624 (__libc_ifunc_impl_list): Likewise.
14625 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14626 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14627 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14628 memchr for PPC64.
14629
f00be62b
AZ
14630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14631 implementation.
14632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14633 (__libc_ifunc_impl_list): Likewise.
14634 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14635 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14636 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14637 mempcpy for PPC64.
14638
8a29a3d0
AZ
14639 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14640 avoid cretion of __bzero symbol.
14641 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14642 Likewise.
14643 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14644 Likewise.
14645 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14646 Likewise.
14647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14648 multiarch implementations.
14649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14650 (__libc_ifunc_impl_list): Likewise.
14651 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14652 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14653 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14654 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14655 bzero for PPC32.
14656 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14657 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14658 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14659 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14660 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14661 memset for PPC64.
14662 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14663
07253fcf
AZ
14664 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14666 implementations.
14667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14668 (__libc_ifunc_impl_list): Likewise.
14669 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14670 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14671 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14672 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14673 memcmp for PPC64.
14674
b5beafbc
AZ
14675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14676 multiarch for POWER/PPC64.
14677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14678 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14685 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14686 memcpy for PPC64.
14687
5e6a4d4b
AZ
14688 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14689 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14690 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14691 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14692 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14693 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14694 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14695 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14696 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14697 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14698 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14699 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14700 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14701 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14702 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14710
ddfab6dc
KK
147112013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14712
14713 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14714
19b5525e
SP
147152013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14716
14717 * benchtests/Makefile (bench): Add exp2 and log2.
14718 (LDLIBS-bench-exp2): Add -lm.
14719 (LDLIBS-bench-log2): Likewise.
14720 * benchtests/exp2-inputs: New inputs file.
14721 * benchtests/log2-inputs: New inputs file.
14722 * benchtests/log-inputs: Add new inputs.
14723 * benchtests/tan-inputs: Likewise.
14724
196f7f5d
SP
147252013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14726
7a74607f
SP
14727 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14728 definition...
57f41c40
AS
14729 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14730 (csloww2): ... from here.
7a74607f 14731
196f7f5d
SP
14732 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14733 instead of structures.
14734 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14735 (POLYNOMIAL): Likewise.
14736 (TAYLOR_SLOW): Likewise.
14737 (__sin): Likewise.
14738 (__cos): Likewise.
14739 (slow1): Likewise.
14740 (slow2): Likewise.
14741 (sloww): Likewise.
14742 (sloww1); Likewise.
14743 (sloww2): Likewise.
14744 (bsloww1): Likewise.
14745 (bsloww2): Likewise.
14746 (cslow2): Likewise.
14747 (csloww): Likewise.
14748 (csloww1): Likewise.
14749 (csloww2): Likewise.
14750
0dfa665c
OB
147512013-12-10 Ondřej Bílka <neleai@seznam.cz>
14752
14753 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14754 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14755 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14756 * malloc/hooks.c (realloc_check): Likewise.
14757
5782a80f
OB
14758 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14759 * malloc/arena.c: Remove PER_THREAD conditional.
14760 [!PER_THREAD]: Remove code.
14761 (ptmalloc_unlock_all2): Likewise.
14762 (ptmalloc_init): Likewise.
14763 (_int_new_arena): Likewise.
14764 (arena_get2): Likewise.
14765 * malloc/hooks.c (__malloc_get_state): Likewise.
14766 (__malloc_set_state): Likewise.
14767 * malloc/malloc.c: Likewise.
14768 (struct malloc_state): Likewise.
14769 (struct malloc_par): Likewise.
14770 (__libc_realloc): Likewise.
14771 (__libc_mallopt): Likewise.
14772
aeb95445
AZ
147732013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14774
14775 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14776
e8349efd
OB
147772013-12-09 Ondřej Bílka <neleai@seznam.cz>
14778
14779 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14780 macro to a function. Check for zero perturb_byte.
14781 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14782
f3eeb3fc 14783 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14784 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14785 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14786 force_reg by atomic_forced_read.
14787 * malloc/arena.c (ptmalloc_init): Likewise.
14788 * malloc/hooks.c (top_check): Likewise.
14789
be2f9009
AZ
147902013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14791
14792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14793
e7b914bd
MT
147942013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14795
14796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14797
9f0be4f8
JM
147982013-12-08 Joseph Myers <joseph@codesourcery.com>
14799
14800 * math/auto-libm-test-in: Add tests of lgamma.
14801 * math/auto-libm-test-out: Regenerated.
14802 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14803 (M_LOG_2_SQRT_PIl): Likewise.
14804 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14806 mpfr_f_f1.
14807 (func_calc_desc): Add mpfr_f_f1 union field.
14808 (ARGS1): New macro.
14809 (ARGS2): Likewise.
14810 (ARGS3): Likewise.
14811 (ARGS4): Likewise.
14812 (RET1): Likewise.
14813 (RET2): Likewise.
14814 (CALC): Likewise.
14815 (FUNC): Likewise.
14816 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14817 (test_functions): Add lgamma.
14818 (calc_generic_results): Handle mpfr_f_f1.
14819 * sysdeps/i386/fpu/libm-test-ulps: Update.
14820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14821
24eeafdb
AZ
148222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14823
14824 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14825 __mpn_add_n for PowerPC64/POWER7.
14826 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14827 __mpn_sub_n for PowerPC64/POWER7.
14828
4a2c0fd4
AZ
14829 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14830 __mpn_addmul_1 for PowerPC64.
14831 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14832 __mpn_submul_1 for PowerPC64.
14833 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14834 for PowerPC64.
14835 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14836 for PowerPC64.
14837
4b5b548c
FS
148382013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14839
14840 [BZ #15089]
14841 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14842
0a3ac0aa
AZ
148432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14844
14845 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14846
ccdc8438
AZ
14847 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14848 add multiarch folders.
14849 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14850 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14851 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14852 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14853 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14854 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14855 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14856 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14857 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14858 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14859 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14866
2e973d99
AZ
14867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14868 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14870 New file.
14871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14872 New file.
14873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14874 multiarch __ieee754_hypot for PowerPC32.
14875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14876 New file.
14877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14878 New file.
14879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14880 multiarch __ieee754_hypotf for PowerPC32.
14881
2d9470b2
AZ
14882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14883 long_double_symbol only if __logbl is defined.
14884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14885 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14887 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14889 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14891 path for implementation.
14892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14893 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14895 logb, and logbl multiarch implementations for PowerPC32.
14896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14897 file.
14898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14899 file.
14900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14901 multiarch logb for PowerPC32.
14902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14903 file.
14904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14905 file.
14906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14907 multiarch logbf for PowerPC32.
14908 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14910 file.
14911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14912 multiarch logbl implementation for PowerPC32.
14913
5212ffce
AZ
14914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14915 and modff multiarch implementations.
14916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14917 New file.
14918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14919 New file.
14920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14921 multiarch modf for PowerPC32.
14922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14923 New file.
14924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14925 New file.
14926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14927 multiarch modff for PowerPC32.
14928
79dccf31
AZ
14929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14930 and lrintf multiarch implementations.
14931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14932 New file.
14933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14934 New file.
14935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14936 multiarch lrint for PowerPC32.
14937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14938 file: multiarch lrintf for PowerPC32.
14939
deb66480
AZ
14940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14941 and lroundf multiarch implementations.
14942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14943 New file.
14944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14945 New file.
14946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14947 New file.
14948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14949 multiarch lround for PowerPC32.
14950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14951 file: multiarch lroundf for PowerPC32.
14952
264b036b
AZ
14953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14954 copysign and copysignf multiarch implementations.
14955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14956 New file.
14957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14958 New file.
14959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14960 file: multiarch copysign for PowerPC32.
14961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14962 file: multiarch copysignf for PowerPC32.
14963
d47db6c9
AZ
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14965 and truncf multiarch implementations.
14966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14967 New file.
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14969 file.
14970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14971 multiarch trunc for PowerPC32.
14972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14973 New file.
14974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14975 New file.
14976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14977 multiarch truncf for PowerPC32.
14978
ddb60b5a
AZ
14979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14980 and roundf multiarch implementations.
14981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14982 New file.
14983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14984 file.
14985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14986 multiarch round for PowerPC32.
14987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14988 New file.
14989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14990 New file.
14991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14992 multiarch roundf for PowerPC32.
14993
bedcf49b
AZ
14994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14995 and floorf multiarch implementations.
14996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14997 New file.
14998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14999 file.
15000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15001 multiarch floor for PowerPC32.
15002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15003 New file.
15004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15005 New file.
15006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15007 multiarch floorf for PowerPC32.
15008
35ae5b40
AZ
15009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15010 and ceilf multiarch implementations.
15011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15012 New file.
15013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15014 file.
15015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15016 multiarch ceil for PowerPC32.
15017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15018 New file.
15019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15020 file.
15021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15022 multiarch ceilf for PowerPC32.
15023
ae1a4cd9
AZ
15024 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15025 is defined.
15026 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15027 FINITEF is defined.
15028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15029 and finitef multiarch implementations.
15030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15031 New file.
15032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15033 file.
15034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15035 multiarch finite for PowerPC32.
15036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15037 New file.
15038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15039 file: multiarch finitef for PowerPC32.
15040
64fffd65
AZ
15041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15042 and isinff multiarch implementations.
15043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15044 file.
15045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15046 file.
15047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15048 multiarch isinf for PowerPC32.
15049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15050 New file.
15051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15052 multiarch isinff for PowerPC32.
15053
8e4e7ba2
AZ
15054 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15055 alias when __isnan is defined.
15056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15057 and isnanf multiarch implementations.
15058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15059 file.
15060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15061 file.
15062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15063 file.
15064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15065 file.
15066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15067 multiarch isnan for PowerPC32.
15068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15069 New file.
15070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15071 New file.
15072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15073 multiarch isnanf for PowerPC32.
15074
ddba588e
AZ
15075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15076 and sqrtf multiarch implementations.
15077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15078 file.
15079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15080 file.
15081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15082 multiarch sqrt for PowerPC32.
15083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15084 file.
15085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15086 file.
15087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15088 multiarch sqrtf for PowerPC32.
15089
0f96a2f0
AZ
15090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15091 and llroundf multiarch implementations.
15092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15093 New file.
15094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15095 New file.
15096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15097 New file.
15098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15099 file: multiarch llround for PowerPC32.
15100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15101 file: multiarch llroundf for PowerPC32.
15102
c9b5d79e
AZ
15103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15104 multiarch PowerPC32 fpu implementations.
15105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15106 New file.
15107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15108 New file.
15109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15110 multiarch llrint for PowerPC32.
15111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15112 New file.
15113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15114 New file.
15115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15116 file.
15117
9cbb3aab
AZ
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15119
ea5a72f8
AZ
15120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15121 file.
15122 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15123 file.
15124 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15125 file.
15126 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15127 multiarch wordcopy for PPC32.
15128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15129 wordcopy objects.
15130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15131 (__libc_ifunc_impl_list): Likewise.
15132 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15133 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15134 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15135 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15136 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15137 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15138
93be09e7
AZ
15139 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15141 file.
15142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15143 file.
15144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15145 file.
15146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15147 multiarch wcscpy for PPC32.
15148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15149 multiarch objects.
15150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15151 (__libc_ifunc_impl_list): Likewise.
15152 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15153 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15154 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15155 sysdeps/powerpc/power6/wcscpy.c.
15156
bb04e529
AZ
15157 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15159 file.
15160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15161 file.
15162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15163 file.
15164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15165 multiarch wcsrchr for PPC32.
15166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15167 multiarch objects.
15168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15169 (__libc_ifunc_impl_list): Likewise.
15170 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15171 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15172 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15173 sysdeps/powerpc/power6/wcsrchr.c.
15174
05b5cd1c
AZ
15175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15176 file.
15177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15178 file.
15179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15181 multiarch wcschr for PPc32.
15182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15183 multiarch objects.
15184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15185 (__libc_ifunc_impl_list): Likewise.
15186 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15187 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15188 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15189 sysdeps/powerpc/power6/wcschr.c.
15190
ba964147
AZ
15191 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15192 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15193 file.
15194 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15195 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15196 file: multiarch strchr for PPC32.
15197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15198 multiarch objects.
15199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15200 (__libc_ifunc_impl_list): Likewise.
15201
31c81aaa
AZ
15202 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15203 name.
15204 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15205 file.
15206 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15207 file.
15208 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15209 multiarch strchrnul for PPC32.
15210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15211 multiarch objects.
15212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15213 (__libc_ifunc_impl_list): Likewise.
15214
0d0607d9
AZ
15215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15216 file.
15217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15218 multiarch strncasecmp for PPC32.
15219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15220 file.
15221 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15222 multiarch strncasecmp_l for PPC32.
15223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15224 strncasecmp multiarch objects.
15225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15226 (__libc_ifunc_impl_list): Likewise.
15227
4dfd5c86
AZ
15228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15229 file.
15230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15231 multiarch strncasecmp for PPC32.
15232 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15233 New file.
15234 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15235 multiarch strcasecmp_l for PPC32.
15236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15237 multiarch objects.
15238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15239 (__libc_ifunc_impl_list): Likewise.
15240
a19e01a3
AZ
15241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15242 file.
15243 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15244 file.
15245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15246 multiarch strncmp for PPC32.
15247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15248 multiarch objects.
15249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15250 (__libc_ifunc_impl_list): Likewise.
15251
ae9cf7a2
AZ
15252 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15253 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15254 file.
15255 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15256 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15258 multiarch objects.
15259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15260 (__libc_ifunc_impl_list): Likewise.
15261
3148bb7d
AZ
15262 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15263 file.
15264 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15265 file.
15266 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15268 multiarch objects.
15269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15270 (__libc_ifunc_impl_list): Likewise.
15271
7af8b946
AZ
15272 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15273 file.
15274 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15275 file.
15276 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15277 multiarch rawmemchr for PPC32.
15278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15279 multiarch objects.
15280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15281 (__libc_ifunc_impl_list): Likewise.
15282
03a6aa6a
AZ
15283 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15284 file.
15285 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15286 file.
15287 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15288 file: memrchr multiarch for PPC32.
15289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15290 multiarch objects.
15291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15292 (__libc_ifunc_impl_list): Likewise.
15293
1c62e6d9
AZ
15294 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15295 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15296 file.
15297 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15298 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15299 multiarch memchr for PPC32.
15300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15301 multiarch objects.
15302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15303 (__libc_ifunc_impl_list): Likewise.
15304
87da8bdb
AZ
15305 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15306 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15307 file.
15308 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15309 file.
15310 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15311 file: multiarch mempcpy for PPC32.
15312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15313 multiarch objects.
15314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15315 (__libc_ifunc_impl_list): Likewise.
15316
20ed4714
AZ
15317 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15318 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15319 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15320 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15321 multiarch bzero for PPC32.
15322 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15323 file.
15324 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15325 file.
15326 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15327 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15328 file: multiarch memset for PPC32.
15329 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15331 memset multiarch objects.
15332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15333 (__libc_ifunc_impl_list): Likewise.
15334
ab3e3a46
AZ
15335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15336 file.
15337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15339 memcmp for PPC32.
15340 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15342 multiarch objects.
15343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15344 (__libc_ifunc_impl_list): Likewise.
15345
930de6f0
AZ
15346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15349 file.
15350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15351 file.
15352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15353 file.
15354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15355 multiarch memcpy for PPC32.
15356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15357 multiarch objects.
15358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15359 (__libc_ifunc_impl_list): Likewise.
15360
4c628e00
AZ
15361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15362 support multiarch for POWER/PPC32.
15363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15364 Likewise.
15365 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15367 Implies file to make multiarch folder appers before the fpu and
15368 default folder for power4 configuration.
15369
f4479220
SP
153702013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15371
15372 * scripts/bench.pl: Append volatile keyword to type.
15373
8517800f
KK
153742013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15375
15376 * sysdeps/sh/sotruss-lib.c: New file.
15377 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15378
180138f1
AZ
153792013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15380
15381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15382
bbf37bdc
JM
153832013-12-05 Joseph Myers <joseph@codesourcery.com>
15384
e47cc4e0
JM
15385 [BZ #6810]
15386 * math/w_tgamma.c: Include <errno.h>.
15387 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15388 * math/w_tgammaf.c: Include <errno.h>.
15389 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15390 * math/w_tgammal.c: Include <errno.h>.
15391 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15392 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15393 underflow. Add more tgamma tests.
15394 * math/auto-libm-test-out: Regenerated.
15395 * sysdeps/i386/fpu/libm-test-ulps: Update.
15396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15397
bbf37bdc
JM
15398 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15399 sin, sinh, tan, tanh, tgamma, y0 and y1.
15400 * math/auto-libm-test-out: Regenerated.
15401 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15402 (TEST_COND_x86): Likewise.
15403 (M_E2l): Remove macro.
15404 (M_E3l): Likewise.
15405 (M_2_SQRT_PIl): Likewise.
15406 (M_SQRT_PIl): Likewise.
15407 (M_1_DIV_El): Likewise.
15408 (log_test_data): Use AUTO_TESTS_f_f.
15409 (log10_test_data): Likewise.
15410 (log1p_test_data): Likewise.
15411 (log2_test_data): Likewise.
15412 (sin_test_data): Likewise.
15413 (sin_tonearest_test_data): Likewise.
15414 (sin_towardzero_test_data): Likewise.
15415 (sin_downward_test_data): Likewise.
15416 (sin_upward_test_data): Likewise.
15417 (sinh_test_data): Likewise.
15418 (sinh_tonearest_test_data): Likewise.
15419 (sinh_towardzero_test_data): Likewise.
15420 (sinh_downward_test_data): Likewise.
15421 (sinh_upward_test_data): Likewise.
15422 (tan_test_data): Likewise.
15423 (tan_tonearest_test_data): Likewise.
15424 (tan_towardzero_test_data): Likewise.
15425 (tan_downward_test_data): Likewise.
15426 (tan_upward_test_data): Likewise.
15427 (tanh_test_data): Likewise.
15428 (tgamma_test_data): Likewise.
15429 (y0_test_data): Likewise.
15430 (y1_test_data): Likewise.
15431 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15432 (special_real_inputs): Add pi/4.
15433 * sysdeps/i386/fpu/libm-test-ulps: Update.
15434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435
eb5ad6b9
AZ
154362013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15437
15438 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15439 "longjmp_target" static probes.
15440 (__longjmp): Rename to __longjmp_symbol.
15441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15442 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15443 on which longjmp to generate.
15444 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15445 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15446 probe.
15447 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15448 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15449 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15450 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15451 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15452 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15454 __longjmp_symbol based on which __longjmp to generate.
15455 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15456 probe.
15457 (setjmp): Rename to setjmp_symbol.
15458 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15459 (_setjmp): Rename to _setjmp_symbol.
15460 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15461 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15462 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15463 which setjmp to generate.
15464 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15465 "longjmp_target" static probes.
15466
d136c6dc
SP
154672013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15468
9298ecba
SP
15469 * benchtests/README: Add note about output arguments.
15470 * benchtests/bench-sincos.c: Remove file.
15471 * benchtests/sincos-inputs: New file.
15472 * scripts/bench.pl: Identify output arguments and define
15473 static variables for them.
15474
232983e9
SP
15475 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15476
d136c6dc
SP
15477 [BZ #15941]
15478 * Makefile (INSTALL): Add install-plain.texi as the primary
15479 dependency.
15480 * manual/install-plain.texi: New file.
15481 * manual/install.texi: Include node directive only for
15482 non-plaintext output.
15483
699ff837
JM
154842013-12-04 Joseph Myers <joseph@codesourcery.com>
15485
ab07cea8
JM
15486 * stdlib/longlong.h: Update from GCC.
15487
699ff837
JM
15488 [BZ #6807]
15489 [BZ #15901]
15490 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15491 * math/w_j0f.c (y0f): Likewise.
15492 * math/w_j0l.c (__y0l): Likewise.
15493 * math/w_j1.c (y1): Likewise.
15494 * math/w_j1f.c (y1f): Likewise.
15495 * math/w_j1l.c (__y1l): Likewise
15496 * math/w_jn.c (yn): Likewise.
15497 * math/w_jnf.c (ynf): Likewise.
15498 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15499 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15500 value for Bessel function domain errors outside _SVID_ mode.
15501 Adjust sign of return value for yn (negative integer, 0).
15502 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15503 by zero in return for negative x and set sign appropriately for
15504 negative n.
15505 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15506 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15507 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15508 expectations in error cases.
15509 (y1_test_data): Likewise.
15510 (yn_test_data): Likewise.
15511 * sysdeps/i386/fpu/libm-test-ulps: Update.
15512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15513
5b118558
UW
155142013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15515
15516 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15517 "64" to "64-v1". Add "64-v2".
15518 (abi-64-options): Rename to ...
15519 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15520 (abi-64-condition): Rename to ...
15521 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15522 (abi-64-ld-soname): Rename to ...
15523 (abi-64-v1-ld-soname): ... this.
15524 (abi-64-v2-options): Define.
15525 (abi-64-v2-condition): Likewise.
15526 (abi-64-v2-ld-soname): Likewise.
15527 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15528 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15532
61cd8fe4
UW
155332013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15534 Alan Modra <amodra@gmail.com>
15535
15536 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15537 New versions for use with the ELFv2 ABI.
15538 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15539 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15540 declaration.
15541 (struct La_ppc64v2_retval): Likewise.
15542 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15543 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15544 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15545 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15546 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15547 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15548 Do not save or restore CR.
15549 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15550 (_dl_profile_resolve): Do no save or restore CR. Support extended
15551 return values for ELFv2 ABI. Fix location of FPR return registers.
15552 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15553 updated values for _CALL_ELF == 2.
15554 (La_regs, La_retval, int_retval): Likewise.
15555
8b8a692c
UW
155562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15557
15558 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15559 (FRAME_MIN_SIZE_PARM): Likewise.
15560 (FRAME_BACKCHAIN): Likewise.
15561 (FRAME_CR_SAVE): Likewise.
15562 (FRAME_LR_SAVE): Likewise.
15563 (FRAME_TOC_SAVE): Likewise.
15564 (FRAME_PARM_SAVE): Likewise.
15565 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15566 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15567 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15568 (call_mcount_parm_offset): New macro.
15569 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15570 (PROF): Use symbolic stack frame offsets.
15571 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15572 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15573 Redefine in terms of FRAME_MIN_SIZE.
15574 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15575 (_dl_profile_resolve): Likewise. Update comment.
15576 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15577 symbols stack frame offsets.
15578 (__sigsetjmp): Likewise.
15579 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15580 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15581 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15582 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15583
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15585 (FRAME_BACKCHAIN): Remove.
15586 (FRAME_CR_SAVE): Likewise.
15587 (FRAME_LR_SAVE): Likewise.
15588 (FRAME_COMPILER_DW): Likewise.
15589 (FRAME_LINKER_DW): Likewise.
15590 (FRAME_TOC_SAVE): Likewise.
15591 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15592 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15593 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15594 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15596 (CHECK_SP): Use symbolic stack frame offsets.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15598 zone" instead of caller's parameter save area for temp storage.
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15600 Likewise. Also, use symbolic stack frame offsets.
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15602 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15603 our own stack frame instead of the caller's.
15604 (__socket): Use symbolic stack frame offsets.
15605
122b66de
UW
156062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15607 Alan Modra <amodra@gmail.com>
15608
15609 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15610 Define.
57f41c40
AS
15611 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15612 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15613 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15614 New function.
15615 (elf_machine_fixup_plt): Call it.
15616 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15617 reloc arguments.
15618 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15619 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15620 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15621 r2 before calling target.
15622
696caf1d
UW
156232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15624 Alan Modra <amodra@gmail.com>
15625
15626 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15627 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15628 versions of macros to support ELFv2 ABI.
15629 (LOCALENTRY): New macro.
15630 (ENTRY, EALIGN): Use it.
15631 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15632 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15633 fall through into ENTRY entry point.
15634 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15635 Only define if _CALL_ELF != 2.
15636
15637 (elf_machine_matches_host): Verify ABI version matches.
15638 (RTLD_START): Use LOCALENTRY.
15639 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15640 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15641 (PLT_ENTRY_WORDS): New macro.
15642 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15643 (elf_machine_runtime_setup): Support ELFv2 ABI.
15644 (elf_machine_fixup_plt): Likewise.
15645 (elf_machine_plt_conflict): Likewise.
15646 (resolve_ifunc): Likewise.
15647 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15648 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15649 Likewise.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15651 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15653 (makecontext): Support ELFv2 ABI.
15654 * elf/elf.h (EF_PPC64_ABI): Define.
15655
d31beafa
UW
156562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15657
57f41c40
AS
15658 * sysdeps/powerpc/powerpc64/sysdep.h
15659 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15660 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15661 (ENTRY) [ASSEMBLER]: ... but instead here ...
15662 (EALIGN) [ASSEMBLER]: ... and here.
15663 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15664 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15665 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15666 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15667 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15668 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15669 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15670 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15672 Use PPC64_LOAD_FUNCPTR.
15673
b525166b
UW
15674 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15675
7ec07d9a
AM
156762013-12-04 Alan Modra <amodra@gmail.com>
15677
15678 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15679 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15680 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15681 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15682
15683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15684 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15685 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15686 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15687 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15688 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15689
5162e7dd
UW
156902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15691
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15693 (__makecontext): Fix incorrect CFI when backtracing out of
15694 context created via makecontext.
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15696 (__setcontext): Fix incorrect CFI during switch to new context.
15697 (__novec_setcontext): Likewise.
15698
19e3372b
OB
156992013-12-04 Ondřej Bílka <neleai@seznam.cz>
15700
15701 [BZ #4772]
15702 * time/strptime_l.c (__strptime_internal): Allow modifiers
15703 in strptime.
15704 * time/tst-strptime.c (day_tests): Add testcase.
15705
ecaf142d
SP
157062013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15707
15708 * scripts/bench.pl: Skip over blank lines.
15709
fbf964ae
PE
157102013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15711
15712 [BZ #926]
15713 * manual/time.texi (Calendar Time): Clarify what timezone functions
15714 use.
15715
fa60a674
AZ
157162013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15717
15718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15719
d674f0ef
OB
157202013-12-04 Ondřej Bílka <neleai@seznam.cz>
15721
15722 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15723 implementation.
15724 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15725 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15726 * debug/memset_chk.c (__memset_chk): Likewise.
15727 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15728 * debug/strncpy_chk.c: Likewise.
15729
17dea188
JM
157302013-12-03 Joseph Myers <joseph@codesourcery.com>
15731
749008ff
JM
15732 [BZ #15268]
15733 [BZ #15425]
15734 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15735 (__ieee754_exp): For possibly underflowing results, check size of
15736 result and force underflow exception if required.
15737 * math/auto-libm-test-in: Add more tests of exp.
15738 * math/auto-libm-test-out: Regenerated.
15739 * sysdeps/i386/fpu/libm-test-ulps: Update.
15740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741
17dea188
JM
15742 [BZ #16283]
15743 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15744 * math/w_exp2f.c (__exp2f): Likewise.
15745 * math/w_exp2l.c (__exp2l): Likewise.
15746 * math/auto-libm-test-in: Do not allow missing errno on exp2
15747 underflow.
15748 * math/auto-libm-test-out: Regenerated.
15749
b20de2c3
OB
157502013-12-03 Ondřej Bílka <neleai@seznam.cz>
15751
15752 [BZ #16274]
15753 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15754 handle filename validation.
15755 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15756 (do_open): Delete.
15757
d8e2dbe3
JM
157582013-12-03 Joseph Myers <joseph@codesourcery.com>
15759
34e16df5
JM
15760 [BZ #6786]
15761 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15762 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15763 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15764 <float.h>.
15765 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15767 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15769 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15770 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15771 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15772 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15773 Add more erfc tests.
15774 * math/auto-libm-test-out: Regenerated.
15775 * sysdeps/i386/fpu/libm-test-ulps: Update.
15776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15777
d8e2dbe3
JM
15778 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15779 exp2, expm1, j0 and j1.
15780 * math/auto-libm-test-out: Regenerated.
15781 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15782 (erfc_test_data): Likewise.
15783 (exp_test_data): Likewise.
15784 (exp_tonearest_test_data): Likewise.
15785 (exp_towardzero_test_data): Likewise.
15786 (exp_downward_test_data): Likewise.
15787 (exp_upward_test_data): Likewise.
15788 (exp10_test_data): Likewise.
15789 (exp2_test_data): Likewise.
15790 (expm1_test_data): Likewise.
15791 (j0_test_data): Likewise.
15792 (j1_test_data): Likewise.
15793 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15794 (input_flag_type): Add flag_xfail_rounding.
15795 (input_flags): Add xfail-rounding.
15796 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15797 (output_for_one_input_case): Handle flag_xfail_rounding.
15798 * sysdeps/i386/fpu/libm-test-ulps: Update.
15799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15800
18d14251
AJ
158012013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15802
3d2e6075 15803 [BZ #16289]
18d14251
AJ
15804 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15805 division by 0.
15806
520d437b
SP
158072013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15808
15809 [BZ #16195]
15810 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15811 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15812 (STAP_PROBE0): New macro.
15813 (STAP_PROBE1): Likewise.
15814 (STAP_PROBE2): Likewise.
15815 (STAP_PROBE3): Likewise.
15816 (STAP_PROBE4): Likewise.
15817
416e0145
OB
158182013-12-02 Ondřej Bílka <neleai@seznam.cz>
15819
15820 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15821
9d17796a
SE
158222013-12-02 Steve Ellcey <sellcey@mips.com>
15823
15824 * benchtests/Makefile (bench): Add sqrt.
15825 (LDLIBS-bench-sqrt): New.
15826 * benchtests/sqrt-input: New.
15827
f524d6a8
PS
158282013-12-02 Pavel Simerda <psimerda@redhat.com>
15829
639a0ef8
PS
15830 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15831 (GAIH_EAI): Likewise.
15832 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15833 (gaih_inet): Likewise.
15834 (getaddrinfo): Don't use GAIH_EAI.
15835
f524d6a8
PS
15836 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15837 (struct gaih): Remove definition.
15838
df3aedaf
SP
158392013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15840
15841 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15842 Use HERRNOP directly.
15843
1ab19dec
AZ
158442013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845
b42ad38d 15846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15847
176b0c79
JM
158482013-11-30 Joseph Myers <joseph@codesourcery.com>
15849
15850 * math/gen-auto-libm-tests.c (test_functions): Add more
15851 single-argument functions.
15852 (special_fill_pi_2): New function.
15853 (special_fill_minus_pi_2): Likewise.
15854 (special_fill_pi_6): Likewise.
15855 (special_fill_minus_pi_6): Likewise.
15856 (special_fill_pi_3): Likewise.
15857 (special_fill_2pi_3): Likewise.
15858 (special_fill_e): Likewise.
15859 (special_fill_1_e): Likewise.
15860 (special_fill_e_minus_1): Likewise.
15861 (special_real_inputs): Add more special inputs.
15862 (output_for_one_input_case): Do not require ERANGE on underflow to
15863 zero if round-to-nearest result does not underflow to zero, unless
15864 exact results required.
15865 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15866 atan, atanh, cbrt, cos and cosh.
15867 * math/auto-libm-test-out: Regenerated.
15868 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15869 (acos_tonearest_test_data): Likewise.
15870 (acos_towardzero_test_data): Likewise.
15871 (acos_downward_test_data): Likewise.
15872 (acos_upward_test_data): Likewise.
15873 (acosh_test_data): Likewise.
15874 (asin_test_data): Likewise.
15875 (asin_tonearest_test_data): Likewise.
15876 (asin_towardzero_test_data): Likewise.
15877 (asin_upward_test_data): Likewise.
15878 (asinh_test_data): Likewise.
15879 (atan_test_data): Likewise.
15880 (atanh_test_data): Likewise.
15881 (cbrt_test_data): Likewise.
15882 (cos_test_data): Likewise.
15883 (cos_tonearest_test_data): Likewise.
15884 (cos_towardzero_test_data): Likewise.
15885 (cos_downward_test_data): Likewise.
15886 (cos_upward_test_data): Likewise.
15887 (cosh_test_data): Likewise.
15888 (cosh_tonearest_test_data): Likewise.
15889 (cosh_towardzero_test_data): Likewise.
15890 (cosh_downward_test_data): Likewise.
15891 (cosh_upward_test_data): Likewise.
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15894
ffb536d0
JM
158952013-11-29 Joseph Myers <joseph@codesourcery.com>
15896
2a77a467
JM
15897 [BZ #6787]
15898 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15899 * math/w_exp10f.c (__exp10f): Likewise.
15900 * math/w_exp10l.c (__exp10l): Likewise.
15901 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15902 errno settings in existing tests.
15903
ea3bc4e8
JM
15904 [BZ #14032]
15905 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15906 precision control set to double precision.
15907 * sysdeps/i386/fpu/w_sqrt.c: New file.
15908 * math/auto-libm-test-in: Add more tests.
15909 * math/auto-libm-test-out: Update.
15910
0712c9d8
JM
15911 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15912 (sqrt_test_tonearest): New function.
15913 (sqrt_towardzero_test_data): New variable.
15914 (sqrt_test_towardzero): New function.
15915 (sqrt_downward_test_data): New variable.
15916 (sqrt_test_downward): New function.
15917 (sqrt_upward_test_data): New variable.
15918 (sqrt_test_upward): New function.
15919 (main): Call the new functions.
15920
ffb536d0
JM
15921 * math/gen-auto-libm-tests.c: New file.
15922 * math/auto-libm-test-in: Likewise.
15923 * math/auto-libm-test-out: New generated file.
15924 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15925 variables.
15926 (%beautify): Add generated representations of zero.
15927 (top level): Set $auto_input and call parse_auto_input.
15928 (beautify): Remove trailing "f" from hex float constants.
15929 (parse_args): Handle XFAIL_TEST.
15930 (convert_condition): New function.
15931 (or_value): Likewise.
15932 (or_cond_value): Likewise.
15933 (generate_testfile): Handle AUTO_TESTS_* lines.
15934 (parse_auto_input): New function.
15935 * math/libm-test.inc (XFAIL_TEST): New macro.
15936 (ERRNO_UNCHANGED): Update value.
15937 (ERRNO_EDOM): Likewise.
15938 (ERRNO_ERANGE): Likewise.
15939 (IGNORE_RESULT): Likewise.
15940 (TEST_COND_flt_32): New macro.
15941 (TEST_COND_dbl_64): Likewise.
15942 (TEST_COND_ldbl_96_intel): Likewise.
15943 (TEST_COND_ldbl_96_m68k): Likewise.
15944 (TEST_COND_ldbl_128): Likewise.
15945 (TEST_COND_ldbl_128ibm): Likewise.
15946 (TEST_COND_long32): Likewise.
15947 (TEST_COND_long64): Likewise.
15948 (TEST_COND_before_rounding): Likewise.
15949 (TEST_COND_after_rounding): Likewise.
15950 (enable_test): Handle XFAIL_TEST flag.
15951 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15952 with finite results.
15953 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15954 auto-libm-test-out.
15955
acd98a8e
AK
159562013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15957 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15958
15959 [BZ #16214]
15960 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15961 __tls_get_addr_internal instead of __tls_get_offset in order to
15962 avoid GOT pointer dependency. Make rtld export
15963 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15964 __tls_get_addr since we are a __tls_get_offset platform.
15965 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15966 GOT pointer being set up before.
15967 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15968
3c1c46a6
JM
159692013-11-28 Joseph Myers <joseph@codesourcery.com>
15970
7475aef5
JM
15971 * manual/math.texi (Errors in Math Functions): Document accuracy
15972 goals.
15973
8bca7cd8
JM
15974 [BZ #15004]
15975 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15976 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15991
91a1f3fe
JM
15992 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15993 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15994 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15995 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15996 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15997 Likewise.
15998 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15999 Likewise.
16000 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16001 Likewise.
16002 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16003 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16004 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16005 atomic-feupdateenv and flt-rounds.
16006 * sysdeps/powerpc/nofpu/Versions (libc): Add
16007 __atomic_feholdexcept, __atomic_feclearexcept,
16008 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16009 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16010 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16011 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16012 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16013 here.
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16015 Update.
16016
c5df7609
JM
16017 * manual/arith.texi (FP Exceptions): Document that exceptions may
16018 not be raised when matherr is used.
16019 (Math Error Reporting): Document overflow in directed rounding
16020 modes. Document that errno may not be set when finite values are
16021 returned on overflow. Document intent to set errno on underflow
16022 only for underflow to zero.
16023
3c1c46a6
JM
16024 [BZ #16271]
16025 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16026 round-to-nearest then adjust result for other rounding modes.
16027 * include/fenv.h (fegetround): Use libm_hidden_proto.
16028 * math/fegetround.c (fegetround): Use libm_hidden_def.
16029 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16030 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16031 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16032 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16033 Likewise.
16034 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16035 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16036 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16037 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16038
5a4c6d53
SP
160392013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16040
16041 [BZ #16077]
16042 * nss/Versions (libnss_files): Add
16043 _nss_files_gethostbyname3_r.
16044 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16045 New function.
16046 (HOST_DB_LOOKUP): Remove macro.
16047 (_nss_files_gethostbyname_r): Implement function without the
16048 HOST_DB_LOOKUP macro.
16049 (_nss_files_gethostbyname2_r): Likewise.
16050
897b98ba
OB
160512013-11-28 Ondřej Bílka <neleai@seznam.cz>
16052
16053 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16054
6f476861
UB
160552013-11-26 Uros Bizjak <ubizjak@gmail.com>
16056
16057 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16058 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16059 warning.
16060
bd12ab55
AZ
160612013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16062
16063 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16064 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16065 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16066 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16067 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16068 __fe_nomask_env_priv and attribute_hidden.
16069 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16070 (libc_feupdateenv_test_ppc): Likewise.
16071 (libc_feresetround_ppc): Likewise.
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16073 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16074 compat_symbol macro.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16076 (__fe_nomask_env): Likewise.
16077 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16078
52bb6543
OB
160792013-11-26 Ondřej Bílka <neleai@seznam.cz>
16080
16081 * string/Makefile: Remove ifunc tests.
16082 * string/test-string.h: Define TEST_IFUNC.
16083 * string/test-bcopy-ifunc.c: Remove.
16084 * string/test-bzero-ifunc.c: Likewise.
16085 * string/test-memccpy-ifunc.c: Likewise.
16086 * string/test-memchr-ifunc.c: Likewise.
16087 * string/test-memcmp-ifunc.c: Likewise.
16088 * string/test-memcpy-ifunc.c: Likewise.
16089 * string/test-memmem-ifunc.c: Likewise.
16090 * string/test-memmove-ifunc.c: Likewise.
16091 * string/test-mempcpy-ifunc.c: Likewise.
16092 * string/test-memrchr-ifunc.c: Likewise.
16093 * string/test-memset-ifunc.c: Likewise.
16094 * string/test-rawmemchr-ifunc.c: Likewise.
16095 * string/test-stpcpy-ifunc.c: Likewise.
16096 * string/test-stpncpy-ifunc.c: Likewise.
16097 * string/test-strcasecmp-ifunc.c: Likewise.
16098 * string/test-strcasestr-ifunc.c: Likewise.
16099 * string/test-strcat-ifunc.c: Likewise.
16100 * string/test-strchr-ifunc.c: Likewise.
16101 * string/test-strchrnul-ifunc.c: Likewise.
16102 * string/test-strcmp-ifunc.c: Likewise.
16103 * string/test-strcpy-ifunc.c: Likewise.
16104 * string/test-strcspn-ifunc.c: Likewise.
16105 * string/test-strlen-ifunc.c: Likewise.
16106 * string/test-strncasecmp-ifunc.c: Likewise.
16107 * string/test-strncat-ifunc.c: Likewise.
16108 * string/test-strncmp-ifunc.c: Likewise.
16109 * string/test-strncpy-ifunc.c: Likewise.
16110 * string/test-strnlen-ifunc.c: Likewise.
16111 * string/test-strpbrk-ifunc.c: Likewise.
16112 * string/test-strrchr-ifunc.c: Likewise.
16113 * string/test-strspn-ifunc.c: Likewise.
16114 * string/test-strstr-ifunc.c: Likewise.
16115
ab260039 161162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16117
16118 * benchtests/Makefile: Remove ifunc tests.
16119 * benchtests/bench-string.h: Define TEST_IFUNC.
16120 * benchtests/bench-bcopy-ifunc.c: Remove.
16121 * benchtests/bench-bzero-ifunc.c: Likewise.
16122 * benchtests/bench-memccpy-ifunc.c: Likewise.
16123 * benchtests/bench-memchr-ifunc.c: Likewise.
16124 * benchtests/bench-memcmp-ifunc.c: Likewise.
16125 * benchtests/bench-memcpy-ifunc.c: Likewise.
16126 * benchtests/bench-memmem-ifunc.c: Likewise.
16127 * benchtests/bench-memmove-ifunc.c: Likewise.
16128 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16129 * benchtests/bench-memrchr-ifunc.c: Likewise.
16130 * benchtests/bench-memset-ifunc.c: Likewise.
16131 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16132 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16133 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16134 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16135 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16136 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16137 * benchtests/bench-strcat-ifunc.c: Likewise.
16138 * benchtests/bench-strchr-ifunc.c: Likewise.
16139 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16140 * benchtests/bench-strcmp-ifunc.c: Likewise.
16141 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16142 * benchtests/bench-strcpy-ifunc.c: Likewise.
16143 * benchtests/bench-strcspn-ifunc.c: Likewise.
16144 * benchtests/bench-strlen-ifunc.c: Likewise.
16145 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16146 * benchtests/bench-strncat-ifunc.c: Likewise.
16147 * benchtests/bench-strncmp-ifunc.c: Likewise.
16148 * benchtests/bench-strncpy-ifunc.c: Likewise.
16149 * benchtests/bench-strnlen-ifunc.c: Likewise.
16150 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16151 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16152 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16153 * benchtests/bench-strspn-ifunc.c: Likewise.
16154 * benchtests/bench-strstr-ifunc.c: Likewise.
16155
161562013-11-26 Ondřej Bílka <neleai@seznam.cz>
16157
ab260039
OB
16158 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16159
d1d9eaf4 161602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16161
d1d9eaf4
OB
16162 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16163 * rt/aio.h: Likewise.
16164 * sysdeps/gnu/bits/utmp.h: Likewise.
16165 * sysdeps/gnu/bits/utmpx.h: Likewise.
16166 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16167 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16168 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16169 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16170 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16171 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16172 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16173 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16174 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16175 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16176 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16177 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16178 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16180 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16181 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16183 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16184 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16185 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16186 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16187 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16188 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16189 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16190 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16193 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16194 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16195 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16197 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16198 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16199 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16200 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16201 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16202 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16203 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16204 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16205 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16206 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16207 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16208
a7624ed9
CD
162092013-11-25 Carlos O'Donell <carlos@redhat.com>
16210
16211 [BZ #16245]
16212 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16213 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16214
63cfe52b
JM
162152013-11-25 Joseph Myers <joseph@codesourcery.com>
16216
16217 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16218 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16219 Likewise.
16220
41e8926a
AZ
162212013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16222
16223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16224 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16225 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16226 (__fesetround): Remove define.
16227 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16228 rounding and exceptions handling.
16229 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16230 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16231 (__fe_nomask_env): Likewise.
16232 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16233 __fegetround instead of fegetround.
16234 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16235 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16236
6851bd4d
RM
162372013-11-21 Roland McGrath <roland@hack.frob.com>
16238
070906ff
RM
16239 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16240 it's there.
16241
6851bd4d
RM
16242 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16243
84ae135d
MI
162442013-11-21 Meador Inge <meadori@codesourcery.com>
16245
16246 [BZ #11157]
16247 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16248 (encrypt_r): Likewise.
16249 * malloc/obstack.h (obstack_free): Likewise.
16250 * posix/unistd.h (encrypt): Likewise.
16251
daf75146
GM
162522013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16253
16254 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16255 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16256 DL_CALL_DT_FINI() that call the functions directly.
16257 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16258 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16259 * elf/dl-fini.c: Likewise.
16260
10ad46bc
OB
162612013-11-20 Ondřej Bílka <neleai@seznam.cz>
16262
16263 * malloc/hooks.c (memalign_check): Add alignment rounding.
16264 * malloc/malloc.c (_mid_memalign): New function.
16265 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16266 Implement by calling _mid_memalign.
16267 * manual/probes.texi (Memory Allocation Probes): Remove
16268 memory_valloc_retry and memory_pvalloc_retry.
16269
f3fd2628
SP
162702013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16271
4712799f
SP
16272 * locale/programs/locarchive.c (open_archive): Add const
16273 qualifier to ARCHIVEFNAME and copy default fname to
16274 DEFAULT_FNAME.
16275
0417b20f
SP
16276 [BZ #15601]
16277 * libio/tst-widetext.input: Rename Oriya to Odia.
16278 * locale/iso-639.def: Likewise.
16279
f3fd2628
SP
16280 * manual/probes.texi (Mathematical Function Probes): Add
16281 documentation for sin, cos, asin and acos probes.
16282 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16283 (__sin32): Add slowasin probe.
16284 (__cos32): Add slowacos probe.
16285 (__mpsin): Add slowsin probe.
16286 (__mpcos): Add slowcos probe.
16287
73c1ce4f
JM
162882013-11-19 Joseph Myers <joseph@codesourcery.com>
16289
16290 [BZ #15483]
16291 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16292 thread-local __sim_exceptions_thread and global
16293 __sim_exceptions_global.
16294 (__sim_disabled_exceptions): Change to thread-local
16295 __sim_disabled_exceptions_thread and global
16296 __sim_disabled_exceptions_global.
16297 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16298 and global __sim_round_mode_global.
16299 (__simulate_exceptions): Use thread-local floating-point state and
16300 set global state from it as needed.
16301 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16302 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16303 __sim_round_mode_thread.
16304 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16305 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16306 and global __sim_exceptions_global.
16307 (__sim_disabled_exceptions): Change to thread-local
16308 __sim_disabled_exceptions_thread and global
16309 __sim_disabled_exceptions_global.
16310 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16311 and global __sim_round_mode_global.
16312 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16313 (SIM_SET_GLOBAL): Likewise.
16314 * sysdeps/powerpc/soft-fp/sfp-machine.h
16315 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16316 __sim_round_mode_thread.
16317 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16318 __sim_disabled_exceptions_thread.
16319 (__sim_exceptions): Change to __sim_exceptions_thread.
16320 (__sim_disabled_exceptions): Change to
16321 __sim_disabled_exceptions_thread.
16322 (__sim_round_mode): Change to __sim_round_mode_thread.
16323 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16324 thread-local floating-point state and set global state from it as
16325 needed.
16326 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16327 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16328 (__sim_disabled_exceptions): Remove extern declaration.
16329 (feenableexcept): Use thread-local floating-point state and set
16330 global state from it as needed.
16331 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16332 extern declaration.
16333 (__sim_disabled_exceptions): Likewise.
16334 (__sim_round_mode): Likewise.
16335 (__fegetenv): Use thread-local floating-point state.
16336 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16337 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16338 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16339 floating-point state and set global state from it as needed.
16340 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16341 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16342 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16343 Likewise.
16344 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16345 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16346 Likewise.
16347 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16348 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16349 Use __sim_round_mode_thread.
16350 * math/test-fenv-tls.c: New file.
16351 * math/Makefile (tests): Add test-fenv-tls.
16352 ($(objpfx)test-fenv-tls): Depend on
16353 $(common-objpfx)nptl/libpthread.so.
16354
b5449b12
AS
163552013-11-19 Andreas Schwab <schwab@suse.de>
16356
16357 * locale/programs/locale.c (show_info): Decode wordarray elements.
16358 * locale/categories.def (LC_MONETARY): Add element for
16359 _NL_MONETARY_CRNCYSTR.
16360 * locale/C-monetary.c (conversion_rate): New variable.
16361 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16362 element.
16363
e186536b
CM
163642013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16365
16366 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16367 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16368
5c349950
PP
163692013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16370
16371 * elf/Makefile (tst-auxv): New test.
16372 * elf/tst-auxv.c: New
16373 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16374
699df45b
JM
163752013-11-18 Joseph Myers <joseph@codesourcery.com>
16376
16377 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16378 (hidden_proto): Caller changed.
16379 (hidden_tls_proto): New macro.
16380 (libc_hidden_tls_proto): Likewise.
16381 (rtld_hidden_tls_proto): Likewise.
16382 (libm_hidden_tls_proto): Likewise.
16383 (libresolv_hidden_tls_proto): Likewise.
16384 (librt_hidden_tls_proto): Likewise.
16385 (libdl_hidden_tls_proto): Likewise.
16386 (libnss_files_hidden_tls_proto): Likewise.
16387 (libnsl_hidden_tls_proto): Likewise.
16388 (libnss_nisplus_hidden_tls_proto): Likewise.
16389 (libutil_hidden_tls_proto): Likewise.
16390
b7589107
OB
163912013-11-18 Ondřej Bílka <neleai@seznam.cz>
16392
16393 [BZ #10253]
16394 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16395 (decompose_rpath): Defer expansion to fillin_rpath.
16396 (_dl_init_paths): Pass linkmap to fillin_rpath.
16397
250c23bd
RS
163982013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16399
16400 * benchtests/Makefile: Add strsep.
16401 * benchtests/bench-strsep.c: New file: strsep benchtest.
16402 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16403
a7931fcf
AS
164042013-11-18 Andreas Schwab <schwab@suse.de>
16405
16406 * locale/programs/locale.c (show_info) [case byte]: Check for
16407 '\377' instead of '\177'.
16408 * locale/C-monetary.c (not_available): Always use "\377".
16409 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16410 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16411 detect unavailable sign_posn locale elements.
16412 * locale/localeconv.c (__localeconv): For grouping and
16413 mon_grouping handle "\177" and "\377" like no grouping.
16414 (INT_ELEM): New macro. Use it to set all numeric members.
16415 * locale/programs/ld-monetary.c (monetary_read)
16416 <tok_mon_grouping>: Normalize single -1 to the empty string.
16417 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16418 Likewise.
16419
728dab0e
OB
164202013-11-07 Ondřej Bílka <neleai@seznam.cz>
16421
16422 [BZ #16055]
16423 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16424 when we match (nil).
16425 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16426
66294491
JM
164272013-11-16 Joseph Myers <joseph@codesourcery.com>
16428
ce665817
JM
16429 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16430 (NO_TEST_INLINE): Update value.
16431 (ERRNO_UNCHANGED): Likewise.
16432 (ERRNO_EDOM): Likewise.
16433 (ERRNO_ERANGE): Likewise.
16434 (IGNORE_RESULT): Likewise.
16435 (check_float_internal): Check signs of NaN results if
16436 TEST_NAN_SIGN used.
16437 (check_complex): Pass TEST_NAN_SIGN flag through to second
16438 check_float_internal call.
16439 (copysign_test_data): Add tests with quiet NaNs as second
16440 argument. Use TEST_NAN_SIGN.
16441 (fabs_test_data): Add test of negative quiet NaN argument. Use
16442 TEST_NAN_SIGN.
16443 (signbit_test_data): Add tests of quiet NaN argument.
16444 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16445
ee1466a9
JM
16446 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16447 $ignore_result.
16448 (parse_args): Handle function results specified as IGNORE.
16449 * math/libm-test.inc (IGNORE_RESULT): New macro.
16450 (check_float_internal): Do not check numerical result if flag
16451 IGNORE_RESULT set.
16452 (check_complex): Pass through IGNORE_RESULT to second
16453 check_float_internal call.
16454 (check_int): Do not check numerical result if flag IGNORE_RESULT
16455 set.
16456 (check_long): Likewise.
16457 (check_bool): Likewise.
16458 (check_longlong): Likewise.
16459 (lrint_test_data): Add tests of infinite and NaN arguments.
16460 (lrint_tonearest_test_data): Likewise.
16461 (lrint_towardzero_test_data): Likewise.
16462 (lrint_downward_test_data): Likewise.
16463 (lrint_upward_test_data): Likewise.
16464 (llrint_test_data): Likewise.
16465 (llrint_tonearest_test_data): Likewise.
16466 (llrint_towardzero_test_data): Likewise.
16467 (llrint_downward_test_data): Likewise.
16468 (llrint_upward_test_data): Likewise.
16469 (lround_test_data): Likewise.
16470 (llround_test_data): Likewise.
16471
14407b7e
JM
16472 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16473 (ERRNO_UNCHANGED): Update value.
16474 (ERRNO_EDOM): Likewise.
16475 (ERRNO_ERANGE): Likewise.
16476 (NO_TEST_INLINE_FLOAT): New macro.
16477 (NO_TEST_INLINE_DOUBLE): Likewise.
16478 (enable_test): New function.
16479 (RUN_TEST_f_f): Check enable_test before running test.
16480 (RUN_TEST_2_f): Likewise.
16481 (RUN_TEST_fff_f): Likewise.
16482 (RUN_TEST_c_f): Likewise.
16483 (RUN_TEST_f_f1): Likewise.
16484 (RUN_TEST_fF_f1): Likewise.
16485 (RUN_TEST_fI_f1): Likewise.
16486 (RUN_TEST_ffI_f1): Likewise.
16487 (RUN_TEST_c_c): Likewise.
16488 (RUN_TEST_cc_c): Likewise.
16489 (RUN_TEST_f_i): Likewise.
16490 (RUN_TEST_f_i_tg): Likewise.
16491 (RUN_TEST_ff_i_tg): Likewise.
16492 (RUN_TEST_f_b): Likewise.
16493 (RUN_TEST_f_b_tg): Likewise.
16494 (RUN_TEST_f_l): Likewise.
16495 (RUN_TEST_f_L): Likewise.
16496 (RUN_TEST_fFF_11): Likewise.
16497 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16498 conditionals.
16499 (cosh_test_data): Likewise.
16500 (exp_test_data): Likewise.
16501 (expm1_test_data): Likewise.
16502 (hypot_test_data): Likewise.
16503 (pow_test_data): Likewise.
16504 (sinh_test_data): Likewise.
16505 (tanh_test_data): Likewise.
16506 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16507 flags argument.
16508
ca07f197
JM
16509 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16510 tests with quiet NaN input and output.
16511 (acosh_test_data): Likewise.
16512 (asin_test_data): Likewise.
16513 (asinh_test_data): Likewise.
16514 (atan_test_data): Likewise.
16515 (atanh_test_data): Likewise.
16516 (atan2_test_data): Likewise.
16517 (cbrt_test_data): Likewise.
16518 (cos_test_data): Likewise.
16519 (cosh_test_data): Likewise.
16520 (erf_test_data): Likewise.
16521 (erfc_test_data): Likewise.
16522 (exp_test_data): Likewise.
16523 (exp10_test_data): Likewise.
16524 (exp2_test_data): Likewise.
16525 (expm1_test_data): Likewise.
16526 (hypot_test_data): Likewise.
16527 (j0_test_data): Likewise.
16528 (j1_test_data): Likewise.
16529 (jn_test_data): Likewise.
16530 (lgamma_test_data): Likewise.
16531 (log_test_data): Likewise.
16532 (log10_test_data): Likewise.
16533 (log1p_test_data): Likewise.
16534 (log2_test_data): Likewise.
16535 (pow_test_data): Likewise.
16536 (scalb_test_data): Likewise.
16537 (sin_test_data): Likewise.
16538 (sincos_test_data): Likewise.
16539 (sinh_test_data): Likewise.
16540 (tan_test_data): Likewise.
16541 (tanh_test_data): Likewise.
16542 (tgamma_test_data): Likewise.
16543 (y0_test_data): Likewise.
16544 (y1_test_data): Likewise.
16545 (yn_test_data): Likewise.
16546
66294491
JM
16547 [BZ #16167]
16548 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16549 argument being NaN and avoid computations with second argument in
16550 that case.
16551 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16552 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16553 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16554
1820b143
CL
165552013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16556
16557 * locale/iso-639.def: Add Chitwani Tharu (the).
16558
714bd261
AS
165592013-11-14 Andreas Schwab <schwab@suse.de>
16560
16561 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16562 word instead of empty string.
16563
7ab44563
AZ
165642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16565
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16567 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16569 (__fe_nomask_env): Likewise.
16570
e8470ea2
SE
165712013-11-13 Steve Ellcey <sellcey@mips.com>
16572
16573 * benchtests/bench-timing.h: Include time.h.
16574
17c1d9f0
L
165752013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16576
16577 [BZ #15997]
16578 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16579 to 3.4.0 for x32.
16580 * sysdeps/unix/sysv/linux/configure: Regenerated.
16581
9310c284
JM
165822013-11-13 Joseph Myers <joseph@codesourcery.com>
16583
16584 [BZ #16151]
16585 * stdlib/strtod_l.c (round_and_return): Do not consider
16586 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16587 exponent one less than half the least subnormal exponent.
16588 * stdlib/test-strtod-round-data: Add more tests.
16589 * stdlib/tst-strtod-round.c (tests): Regenerated.
16590
7a2ad8cf
AZ
165912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16592
16593 [BZ #14143]
16594 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16595 (__fe_mask_env): Likewise.
16596 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16597 libm_hidden_proto and add function prototype.
16598 (__fe_mask_env): Add function prototype.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16600 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16602 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16604 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16605
50727aa7
MS
166062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16607
b2f386c1 16608 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16609 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16610
a615be46
MS
166112013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16612
16613 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16614 of htab_find_slot().
16615
7ddace62
DM
166162013-11-11 David S. Miller <davem@davemloft.net>
16617
16618 [BZ #16150]
16619 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16620 symbol in the non-vis3 case in static builds.
16621 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16622 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16623 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16624 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16625
9182aa67
JK
166262013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16627
16628 [BZ #387]
16629 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16630 it is empty.
16631
450a2e2d
AZ
166322013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16633
b2f386c1
SP
16634 * benchtests/Makefile: Add bench-strtod.
16635 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16636
8ec3f656
AS
166372013-11-11 Andreas Schwab <schwab@suse.de>
16638
16639 [BZ #16153]
16640 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16641 terminating NUL in key length.
16642
76a9b998
AZ
166432013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16644
16645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16646 Add artificial ODP entry for vDSO symbol for PPC64.
16647 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16648 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16649
e4368156
OB
166502013-11-07 Ondřej Bílka <neleai@seznam.cz>
16651
16652 [BZ #15374]
16653 * nss/getent.c (services_keys): Recognize services starting with digit.
16654
8d6bb57c
DM
166552013-11-06 David S. Miller <davem@davemloft.net>
16656
16657 [BZ #15985]
16658 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16659 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16660
e256c421
WN
166612013-11-06 Will Newton <will.newton@linaro.org>
16662
16663 * manual/memory.texi (Malloc Examples): Remove register
16664 keyword from examples.
16665
f6e12daa 166662013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16667
f6e12daa 16668 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16669
9d880655
AS
166702013-11-04 Joseph Myers <joseph@codesourcery.com>
16671
fd2f9486 16672 [BZ #6981]
9d880655
AS
16673 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16674 depending on [__GCC_IEC_559 > 0].
16675 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16676 depending on [__GCC_IEC_559_COMPLEX > 0].
16677
ae129d3c
CL
166782013-11-03 Chris Leonard <cjl@sugarlabs.org>
16679
16680 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16681 to iso-639.def.
16682
4a15c2a4 166832013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16684
16685 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16686
8b35e35d
OB
166872013-11-01 Ondřej Bílka <neleai@seznam.cz>
16688
16689 [BZ #16112]
16690 * malloc/malloc (malloc_info): Do not handle first bin as
16691 special case.
16692
1d70fd6c
CL
166932013-11-01 Chris Leonard <cjl@sugarlabs.org>
16694
16695 * locale/iso-639.def: Add Central Nahuatl (nhn).
16696
8c5c2600
BH
166972013-11-01 Bruno Haible <bruno@clisp.org>
16698
16699 [BZ #7003]
16700 * manual/math.texi (BSD Random): Specify range upper bound as
16701 in POSIX.
16702
da5579c2
CL
167032013-10-31 Chris Leonard <cjl@sugarlabs.org>
16704
16705 * locale/iso-639.def: Add Meadow Mari (mhr).
16706
5d30d853
OB
167072013-10-31 Ondřej Bílka <neleai@seznam.cz>
16708
16709 [BZ #14752], [BZ #15763]
16710 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16711 Validate name.
16712 * rt/tst_shm.c: Add test for escaping directory.
16713
a4966c61
AS
167142013-10-31 Andreas Schwab <schwab@suse.de>
16715
8a43e768 16716 [BZ #15917]
a4966c61
AS
16717 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16718 followed by 'x' as part of digit sequence.
16719 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16720
28d708c4
MAP
167212013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16722
16723 [BZ #16037]
16724 * configure.ac: allow GNU Make 4.0 and greater.
16725 * configure: Regenerated.
16726
a56ee40b
WN
167272013-10-30 Will Newton <will.newton@linaro.org>
16728
16729 [BZ #16038]
16730 * malloc/hooks.c (memalign_check): Limit alignment to the
16731 maximum representable power of two.
16732 * malloc/malloc.c (__libc_memalign): Likewise.
16733 * malloc/tst-memalign.c (do_test): Add test for very
16734 large alignment values.
16735 * malloc/tst-posix_memalign.c (do_test): Likewise.
16736
c6e4925d
OB
167372013-10-30 Ondřej Bílka <neleai@seznam.cz>
16738
16739 [BZ #11087]
16740 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16741 (munmap_chunk): Likewise.
16742 (mremap_chunk): Likewise.
16743
167442013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16745
8a43e768 16746 [BZ #15799]
bbea82f7
OB
16747 * stdlib/div.c (div): Remove obsolete code.
16748 * stdlib/ldiv.c (ldiv): Likewise.
16749 * stdlib/lldiv.c (lldiv): Likewise.
16750
977f4b31
SP
167512013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16752
16753 [BZ #16071]
16754 * nss/nss_files/files-XXX.c (get_contents_ret): New
16755 enumerator.
16756 (get_contents): New function.
16757 (internal_getent): Use it. Expand size of LINEBUFLEN.
16758
cb8a6dbd
MF
167592013-10-30 Mike Frysinger <vapier@gentoo.org>
16760
16761 * configure.in: Moved to ...
16762 * configure.ac: ... here. Change reference to configure.in
16763 to configure.ac.
16764 * sysdeps/arm/preconfigure.ac: ... here.
16765 configure.in to configure.ac.
16766 * sysdeps/gnu/configure.in: Moved to ...
16767 * sysdeps/gnu/configure.ac: ... here.
16768 * sysdeps/i386/configure.in: Moved to ...
16769 * sysdeps/i386/configure.ac: ... here.
16770 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16771 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16772 * sysdeps/mach/configure.in: Moved to ...
16773 * sysdeps/mach/configure.ac: ... here.
16774 * sysdeps/mach/hurd/configure.in: Moved to ...
16775 * sysdeps/mach/hurd/configure.ac: ... here.
16776 * sysdeps/powerpc/configure.in: Moved to ...
16777 * sysdeps/powerpc/configure.ac: ... here.
16778 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16779 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16780 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16781 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16782 * sysdeps/s390/s390-32/configure.in: Moved to ...
16783 * sysdeps/s390/s390-32/configure.ac: ... here.
16784 * sysdeps/s390/s390-64/configure.in: Moved to ...
16785 * sysdeps/s390/s390-64/configure.ac: ... here.
16786 * sysdeps/sh/configure.in: Moved to ...
16787 * sysdeps/sh/configure.ac: ... here.
16788 * sysdeps/sparc/configure.in: Moved to ...
16789 * sysdeps/sparc/configure.ac: ... here.
16790 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16791 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16792 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16793 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16794 * sysdeps/x86_64/configure.in: Moved to ...
16795 * sysdeps/x86_64/configure.ac: ... here.
16796 * sysdeps/x86_64/preconfigure.in: Moved to ...
16797 * sysdeps/x86_64/preconfigure.ac: ... here.
16798 * aclocal.m4: Change reference to configure.in to configure.ac.
16799 * config.h.in: Likewise.
16800 * manual/install.texi: Likewise.
16801 * manual/maint.texi: Likewise.
16802 * Makefile: Likewise.
16803 * malloc/Makefile: Likewise.
16804 * nscd/Makefile: Likewise.
16805 * Makeconfig: Change reference to configure.in and
16806 preconfigure.in to configure.ac and preconfigure.ac
16807 respectively.
16808 * INSTALL: Regenerated.
16809 * configure: Likewise.
16810 * sysdeps/gnu/configure: Likewise.
16811 * sysdeps/i386/configure: Likewise.
16812 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16813 * sysdeps/mach/configure: Likewise.
16814 * sysdeps/mach/hurd/configure: Likewise.
16815 * sysdeps/powerpc/configure: Likewise.
16816 * sysdeps/powerpc/powerpc32/configure: Likewise.
16817 * sysdeps/powerpc/powerpc64/configure: Likewise.
16818 * sysdeps/s390/s390-32/configure: Likewise.
16819 * sysdeps/s390/s390-64/configure: Likewise.
16820 * sysdeps/sh/configure: Likewise.
16821 * sysdeps/sparc/configure: Likewise.
16822 * sysdeps/unix/sysv/linux/configure: Likewise.
16823 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16824 * sysdeps/x86_64/configure: Likewise.
16825 * sysdeps/x86_64/preconfigure: Likewise.
16826
36a4953a
AS
168272013-10-29 Andreas Schwab <schwab@suse.de>
16828
16829 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16830
c79a1204
SP
168312013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16832
dfa1b402
SP
16833 * benchtests/pow-inputs: Add new inputs.
16834
54f73d9c
SP
16835 * benchtests/exp-inputs: Add new inputs.
16836
c79a1204
SP
16837 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16838 conditional check for return value.
16839 (__cos32): Likewise.
16840
67beb545 168412013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16842
16843 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16844 to provide a boost for large inputs with word alignment.
16845 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16846 implementation based on optimized PPC64 strcpy.
16847 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16848 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16849 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16850 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16851
151659f6
OB
168522013-10-25 Ondřej Bílka <neleai@seznam.cz>
16853
482a077e 16854 [BZ #2801]
151659f6
OB
16855 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16856
10b0f26b
OB
168572013-10-25 Ondřej Bílka <neleai@seznam.cz>
16858
16859 [BZ #14876]
16860 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16861 * time/tst-strptime.c (day_tests): Add testcase.
16862
ca42d35e
OB
168632013-10-25 Ondřej Bílka <neleai@seznam.cz>
16864
482a077e 16865 [BZ #14029]
ca42d35e
OB
16866 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16867
52e6d801
FB
168682013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16869
16870 [BZ #16074]
16871 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16872 MAP_FAILED on error.
16873
7cbcdb36
SP
168742013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16875
16876 [BZ #16072]
16877 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16878 heap for large requests.
16879
894f3f10
AM
168802013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16881
16882 [BZ #9954]
16883 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16884 result if the result has no associated interface.
16885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16886 interface for all 127.X.Y.Z addresses.
16887
b85545a6
CL
168882013-10-24 Chris Leonard <cjl@sugarlabs.org>
16889
16890 * locale/iso-639.def: Add Ligurian (lij)
16891
d1f23d46
OB
168922013-10-21 Ondřej Bílka <neleai@seznam.cz>
16893
16894 [BZ #15825]
16895 * sunrpc/rpc_main.c: Document rpcgen -5.
16896
4db5b08f
MS
168972013-10-19 Michael Stahl <mstahl@redhat.com>
16898
16899 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16900
a471e96a
OB
169012013-10-19 Ondřej Bílka <neleai@seznam.cz>
16902
d1f23d46 16903 [BZ #10278]
a471e96a
OB
16904 * posix/glob.c: Match only directories when trailing slash is present.
16905 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16906 (main): Add testcase.
16907
45c30c61
OB
169082013-10-19 Ondřej Bílka <neleai@seznam.cz>
16909
16910 [BZ #15670]
16911 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16912
484c12fb
CD
169132013-10-18 Carlos O'Donell <carlos@redhat.com>
16914
3d7dc513
CD
16915 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16916 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16917 AUTH_DES and cindex for FIPS 140-2.
16918 (DES Encryption): Add cindex FIPS 46-3.
16919
484c12fb
CD
16920 * locale/locarchive.h (struct locarhandle): Add fname.
16921 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16922 if an optional argument was specified to --list-archive,
16923 otherwise NULL.
16924 * locale/programs/locarchive.c (show_archive_content): Take new
16925 argument fname and pass it via ah.fname to open_archive.
16926 * locale/programs/localedef.h: Update decl.
16927 (open_archive): If AH->fname is non-null, open that file
16928 rather than the default file name, and don't ignore ENOENT.
16929 (create_archive): Set AH.fname to NULL.
16930 (delete_locales_from_archive): Likewise.
16931 (add_locales_to_archive): Likewise.
16932 * locale/programs/locfile.c (write_all_categories): Likewise.
16933
3c8325fb
JM
169342013-10-18 Joseph Myers <joseph@codesourcery.com>
16935 Aldy Hernandez <aldyh@redhat.com>
16936
16937 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16938 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16939 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16940 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16941 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16942 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16943 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16944 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16945 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16946 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16947 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16948 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16949 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16950 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16952 Likewise.
16953 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16954 Likewise.
16955 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16956 Likewise.
16957 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16958 Likewise.
16959 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16960 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16961 Likewise.
16962 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16963 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16964 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16965 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16966 Likewise.
16967 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16968 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16969 * sysdeps/powerpc/preconfigure: Likewise.
16970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16971 Likewise.
16972 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16973 Replace contents of file by #include of <fenv_libc.h>.
16974 * sysdeps/powerpc/soft-fp/sfp-machine.h
16975 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16976 and <sys/prctl.h>.
16977 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16983 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16985 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16990 Allow copysignl PLT reference to be missing.
16991
5abe0682
RS
169922013-10-18 Richard Sandiford <richard@codesourcery.com>
16993 Joseph Myers <joseph@codesourcery.com
16994
16995 [BZ #15948]
16996 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16997 single character.
16998 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16999
c7738d08
SP
170002013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17001
17002 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17003 * elf/tst-tls1.c: Likewise.
17004 * elf/tst-tls10.h: Likewise.
17005 * elf/tst-tls14.c: Likewise.
17006 * elf/tst-tls2.c: Likewise.
17007 * elf/tst-tls3.c: Likewise.
17008 * elf/tst-tls4.c: Likewise.
17009 * elf/tst-tls5.c: Likewise.
17010 * elf/tst-tls6.c: Likewise.
17011 * elf/tst-tls7.c: Likewise.
17012 * elf/tst-tls8.c: Likewise.
17013 * elf/tst-tls9.c: Likewise.
17014 * elf/tst-tlsmod1.c: Likewise.
17015 * elf/tst-tlsmod13.c: Likewise.
17016 * elf/tst-tlsmod13a.c: Likewise.
17017 * elf/tst-tlsmod14a.c: Likewise.
17018 * elf/tst-tlsmod16a.c: Likewise.
17019 * elf/tst-tlsmod16b.c: Likewise.
17020 * elf/tst-tlsmod2.c: Likewise.
17021 * elf/tst-tlsmod3.c: Likewise.
17022 * elf/tst-tlsmod4.c: Likewise.
17023 * elf/tst-tlsmod5.c: Likewise.
17024 * elf/tst-tlsmod6.c: Likewise.
17025
0bfcf2c7
OB
170262013-10-18 Ondřej Bílka <neleai@seznam.cz>
17027
17028 [BZ #12486]
17029 * malloc/malloc.c: remove checks for statistics.
17030
264aad1e
OB
170312013-10-17 Ondřej Bílka <neleai@seznam.cz>
17032
17033 [BZ #15277]
17034 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17035 * inet/tst-network.c: Add testcase.
17036
b957ced8
AS
170372013-10-17 Andreas Schwab <schwab@suse.de>
17038
17039 [BZ #15218]
17040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17041 to determine canonical name.
17042
c5d5d574
OB
170432013-10-17 Ondřej Bílka <neleai@seznam.cz>
17044
17045 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17046 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17069 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17070 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17075 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17102 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17103
e5c2c2d0
JM
171042013-10-17 Joseph Myers <joseph@codesourcery.com>
17105
17106 [BZ #16041]
17107 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17108 make result into a quiet NaN.
17109
51ca9e29
JM
171102013-10-16 Joseph Myers <joseph@codesourcery.com>
17111
17112 * soft-fp/adddf3.c: Fix horizontal whitespace.
17113 * soft-fp/addsf3.c: Likewise.
17114 * soft-fp/addtf3.c: Likewise.
17115 * soft-fp/divdf3.c: Likewise.
17116 * soft-fp/divsf3.c: Likewise.
17117 * soft-fp/divtf3.c: Likewise.
17118 * soft-fp/double.h: Likewise.
17119 * soft-fp/eqdf2.c: Likewise.
17120 * soft-fp/eqsf2.c: Likewise.
17121 * soft-fp/eqtf2.c: Likewise.
17122 * soft-fp/extenddftf2.c: Likewise.
17123 * soft-fp/extended.h: Likewise.
17124 * soft-fp/extendsfdf2.c: Likewise.
17125 * soft-fp/extendsftf2.c: Likewise.
17126 * soft-fp/extendxftf2.c: Likewise.
17127 * soft-fp/fixdfdi.c: Likewise.
17128 * soft-fp/fixdfsi.c: Likewise.
17129 * soft-fp/fixdfti.c: Likewise.
17130 * soft-fp/fixsfdi.c: Likewise.
17131 * soft-fp/fixsfsi.c: Likewise.
17132 * soft-fp/fixsfti.c: Likewise.
17133 * soft-fp/fixtfdi.c: Likewise.
17134 * soft-fp/fixtfsi.c: Likewise.
17135 * soft-fp/fixtfti.c: Likewise.
17136 * soft-fp/fixunsdfdi.c: Likewise.
17137 * soft-fp/fixunsdfsi.c: Likewise.
17138 * soft-fp/fixunsdfti.c: Likewise.
17139 * soft-fp/fixunssfdi.c: Likewise.
17140 * soft-fp/fixunssfsi.c: Likewise.
17141 * soft-fp/fixunssfti.c: Likewise.
17142 * soft-fp/fixunstfdi.c: Likewise.
17143 * soft-fp/fixunstfsi.c: Likewise.
17144 * soft-fp/fixunstfti.c: Likewise.
17145 * soft-fp/floatdidf.c: Likewise.
17146 * soft-fp/floatdisf.c: Likewise.
17147 * soft-fp/floatditf.c: Likewise.
17148 * soft-fp/floatsidf.c: Likewise.
17149 * soft-fp/floatsisf.c: Likewise.
17150 * soft-fp/floatsitf.c: Likewise.
17151 * soft-fp/floattidf.c: Likewise.
17152 * soft-fp/floattisf.c: Likewise.
17153 * soft-fp/floattitf.c: Likewise.
17154 * soft-fp/floatundidf.c: Likewise.
17155 * soft-fp/floatundisf.c: Likewise.
17156 * soft-fp/floatunditf.c: Likewise.
17157 * soft-fp/floatunsidf.c: Likewise.
17158 * soft-fp/floatunsisf.c: Likewise.
17159 * soft-fp/floatunsitf.c: Likewise.
17160 * soft-fp/floatuntidf.c: Likewise.
17161 * soft-fp/floatuntisf.c: Likewise.
17162 * soft-fp/floatuntitf.c: Likewise.
17163 * soft-fp/fmadf4.c: Likewise.
17164 * soft-fp/fmasf4.c: Likewise.
17165 * soft-fp/fmatf4.c: Likewise.
17166 * soft-fp/gedf2.c: Likewise.
17167 * soft-fp/gesf2.c: Likewise.
17168 * soft-fp/getf2.c: Likewise.
17169 * soft-fp/ledf2.c: Likewise.
17170 * soft-fp/lesf2.c: Likewise.
17171 * soft-fp/letf2.c: Likewise.
17172 * soft-fp/muldf3.c: Likewise.
17173 * soft-fp/mulsf3.c: Likewise.
17174 * soft-fp/multf3.c: Likewise.
17175 * soft-fp/negdf2.c: Likewise.
17176 * soft-fp/negsf2.c: Likewise.
17177 * soft-fp/negtf2.c: Likewise.
17178 * soft-fp/op-1.h: Likewise.
17179 * soft-fp/op-2.h: Likewise.
17180 * soft-fp/op-4.h: Likewise.
17181 * soft-fp/op-8.h: Likewise.
17182 * soft-fp/op-common.h: Likewise.
17183 * soft-fp/quad.h: Likewise.
17184 * soft-fp/single.h: Likewise.
17185 * soft-fp/soft-fp.h: Likewise.
17186 * soft-fp/sqrtdf2.c: Likewise.
17187 * soft-fp/sqrtsf2.c: Likewise.
17188 * soft-fp/sqrttf2.c: Likewise.
17189 * soft-fp/subdf3.c: Likewise.
17190 * soft-fp/subsf3.c: Likewise.
17191 * soft-fp/subtf3.c: Likewise.
17192 * soft-fp/truncdfsf2.c: Likewise.
17193 * soft-fp/trunctfdf2.c: Likewise.
17194 * soft-fp/trunctfsf2.c: Likewise.
17195 * soft-fp/trunctfxf2.c: Likewise.
17196 * soft-fp/unorddf2.c: Likewise.
17197 * soft-fp/unordsf2.c: Likewise.
17198 * soft-fp/unordtf2.c: Likewise.
17199
9ebb0332
JM
172002013-10-15 Joseph Myers <joseph@codesourcery.com>
17201
17202 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17203 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17204
4b1a6d8b
OB
172052013-10-15 Ondřej Bílka <neleai@seznam.cz>
17206
17207 * elf/dl-libc.c: Clear initfini list after freeing.
17208
1e145589
JM
172092013-10-14 Joseph Myers <joseph@codesourcery.com>
17210
17211 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17212 * soft-fp/addsf3.c: Likewise.
17213 * soft-fp/addtf3.c: Likewise.
17214 * soft-fp/divdf3.c: Likewise.
17215 * soft-fp/divsf3.c: Likewise.
17216 * soft-fp/divtf3.c: Likewise.
17217 * soft-fp/double.h: Likewise.
17218 * soft-fp/eqdf2.c: Likewise.
17219 * soft-fp/eqsf2.c: Likewise.
17220 * soft-fp/eqtf2.c: Likewise.
17221 * soft-fp/extenddftf2.c: Likewise.
17222 * soft-fp/extended.h: Likewise.
17223 * soft-fp/extendsfdf2.c: Likewise.
17224 * soft-fp/extendsftf2.c: Likewise.
17225 * soft-fp/extendxftf2.c: Likewise.
17226 * soft-fp/fixdfdi.c: Likewise.
17227 * soft-fp/fixdfsi.c: Likewise.
17228 * soft-fp/fixdfti.c: Likewise.
17229 * soft-fp/fixsfdi.c: Likewise.
17230 * soft-fp/fixsfsi.c: Likewise.
17231 * soft-fp/fixsfti.c: Likewise.
17232 * soft-fp/fixtfdi.c: Likewise.
17233 * soft-fp/fixtfsi.c: Likewise.
17234 * soft-fp/fixtfti.c: Likewise.
17235 * soft-fp/fixunsdfdi.c: Likewise.
17236 * soft-fp/fixunsdfsi.c: Likewise.
17237 * soft-fp/fixunsdfti.c: Likewise.
17238 * soft-fp/fixunssfdi.c: Likewise.
17239 * soft-fp/fixunssfsi.c: Likewise.
17240 * soft-fp/fixunssfti.c: Likewise.
17241 * soft-fp/fixunstfdi.c: Likewise.
17242 * soft-fp/fixunstfsi.c: Likewise.
17243 * soft-fp/fixunstfti.c: Likewise.
17244 * soft-fp/floatdidf.c: Likewise.
17245 * soft-fp/floatdisf.c: Likewise.
17246 * soft-fp/floatditf.c: Likewise.
17247 * soft-fp/floatsidf.c: Likewise.
17248 * soft-fp/floatsisf.c: Likewise.
17249 * soft-fp/floatsitf.c: Likewise.
17250 * soft-fp/floattidf.c: Likewise.
17251 * soft-fp/floattisf.c: Likewise.
17252 * soft-fp/floattitf.c: Likewise.
17253 * soft-fp/floatundidf.c: Likewise.
17254 * soft-fp/floatundisf.c: Likewise.
17255 * soft-fp/floatunsidf.c: Likewise.
17256 * soft-fp/floatunsisf.c: Likewise.
17257 * soft-fp/floatuntidf.c: Likewise.
17258 * soft-fp/floatuntisf.c: Likewise.
17259 * soft-fp/floatuntitf.c: Likewise.
17260 * soft-fp/fmadf4.c: Likewise.
17261 * soft-fp/fmasf4.c: Likewise.
17262 * soft-fp/fmatf4.c: Likewise.
17263 * soft-fp/gedf2.c: Likewise.
17264 * soft-fp/gesf2.c: Likewise.
17265 * soft-fp/getf2.c: Likewise.
17266 * soft-fp/ledf2.c: Likewise.
17267 * soft-fp/lesf2.c: Likewise.
17268 * soft-fp/letf2.c: Likewise.
17269 * soft-fp/muldf3.c: Likewise.
17270 * soft-fp/mulsf3.c: Likewise.
17271 * soft-fp/multf3.c: Likewise.
17272 * soft-fp/negdf2.c: Likewise.
17273 * soft-fp/negsf2.c: Likewise.
17274 * soft-fp/negtf2.c: Likewise.
17275 * soft-fp/op-1.h: Likewise.
17276 * soft-fp/op-2.h: Likewise.
17277 * soft-fp/op-4.h: Likewise.
17278 * soft-fp/op-8.h: Likewise.
17279 * soft-fp/op-common.h: Likewise.
17280 * soft-fp/quad.h: Likewise.
17281 * soft-fp/single.h: Likewise.
17282 * soft-fp/soft-fp.h: Likewise.
17283 * soft-fp/sqrtdf2.c: Likewise.
17284 * soft-fp/sqrtsf2.c: Likewise.
17285 * soft-fp/sqrttf2.c: Likewise.
17286 * soft-fp/subdf3.c: Likewise.
17287 * soft-fp/subsf3.c: Likewise.
17288 * soft-fp/subtf3.c: Likewise.
17289 * soft-fp/truncdfsf2.c: Likewise.
17290 * soft-fp/trunctfdf2.c: Likewise.
17291 * soft-fp/trunctfsf2.c: Likewise.
17292 * soft-fp/trunctfxf2.c: Likewise.
17293 * soft-fp/unorddf2.c: Likewise.
17294 * soft-fp/unordsf2.c: Likewise.
17295 * soft-fp/unordtf2.c: Likewise.
17296
17c48a60
OB
172972013-10-14 Ondřej Bílka <neleai@seznam.cz>
17298
17299 [BZ #15672]
17300 * misc/error.c (error_tail): Fix possible buffer overflow.
17301
cabba934
OB
173022013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17303
17304 [BZ #13028]
17305 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17306 address.
17307
94bf958a
PM
173082013-10-14 P. J. McDermott <pj@pehjota.net>
17309
17310 [BZ #832]
17311 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17312 testing pipefail option.
17313
71b4dea7
JM
173142013-10-12 Joseph Myers <joseph@codesourcery.com>
17315
17316 * soft-fp/double.h: Indent preprocessor directives inside #if.
17317 * soft-fp/extended.h: Likewise.
17318 * soft-fp/op-2.h: Likewise.
17319 * soft-fp/op-4.h: Likewise.
17320 * soft-fp/op-common.h: Likewise.
17321 * soft-fp/quad.h: Likewise.
17322 * soft-fp/single.h: Likewise.
17323 * soft-fp/soft-fp.h: Likewise.
17324
55602758
YC
173252013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17326
17327 * iconv/iconv_prog.c: Fix typos.
17328 * stdio-common/psiginfo-data.h: Likewise.
17329
9cd83302
RT
173302013-10-12 Reuben Thomas <rrt@sc3d.org>
17331
17332 [BZ #15764]
17333 * locale/setlocale.c: Fix typo.
17334
99fd9f47
JM
173352013-10-12 Joseph Myers <joseph@codesourcery.com>
17336
b7ea74f0
JM
17337 [BZ #16036]
17338 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17339 signaling NaN arguments.
17340 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17341 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17342
8a509447
JM
17343 [BZ #14910]
17344 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17345 unordered operands.
17346 * soft-fp/gesf2.c (__gesf2): Likewise.
17347 * soft-fp/getf2.c (__getf2): Likewise.
17348 * soft-fp/ledf2.c (__ledf2): Likewise.
17349 * soft-fp/lesf2.c (__lesf2): Likewise.
17350 * soft-fp/letf2.c (__letf2): Likewise.
17351
98998e9f
JM
17352 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17353 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17354 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17355 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17356 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17357 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17358 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17359 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17360 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17361 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17362 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17363 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17364 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17365 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17366 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17367 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17368 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17369 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17370 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17371 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17372 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17373 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17374 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17375 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17376 * soft-fp/floattidf.c (__floattidf): Likewise.
17377 * soft-fp/floattisf.c (__floattisf): Likewise.
17378 * soft-fp/floattitf.c (__floattitf): Likewise.
17379 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17380 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17381 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17382 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17383 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17384 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17385 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17386 * soft-fp/gesf2.c (__gesf2): Likewise.
17387 * soft-fp/getf2.c (__getf2): Likewise.
17388 * soft-fp/ledf2.c (__ledf2): Likewise.
17389 * soft-fp/lesf2.c (__lesf2): Likewise.
17390 * soft-fp/letf2.c (__letf2): Likewise.
17391
8edc4a11
JM
17392 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17393 Undefine and redefine.
17394 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17395 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17396 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17397 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17398 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17399 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17400 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17401 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17402 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17403 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17404 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17405 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17406 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17407 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17408 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17409
8399acaf
JM
17410 [BZ #16032]
17411 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17412 without decrementing exponent if mantissa >= that for the
17413 denominator, not >.
17414 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17415 denominator, not >. Decrement exponent in < case instead of
17416 incrementing in >= case.
17417 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17418 without decrementing exponent if mantissa >= that for the
17419 denominator, not >.
17420
99fd9f47
JM
17421 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17422 computing saturated result for unsigned overflow.
17423
10e1cf6b
SP
174242013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17425 Jeff Law <law@redhat.com>
17426
17427 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17428 (atan2Mp): Add systemtap probe marker.
17429 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17430 (__ieee754_log): Add systemtap probe marker.
17431 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17432 (atanMp): Add systemtap probe marker.
17433 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17434 (tanMp): Add systemtap probe marker.
17435 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17436 (__slowexp): Add systemtap probe marker.
17437 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17438 (__slowpow): Add systemtap probe marker.
17439 * manual/probes.texi: Document probes.
17440
3d110c7c
EB
174412013-10-11 Eric Biggers <ebiggers3@gmail.com>
17442
17443 [BZ #15362]
17444 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17445 written.
17446 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17447 written.
17448 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17449 written to buffer but not flushed.
17450 * libio/iofwrite_u.c: Likewise.
17451 * libio/iopadn.c: Return bytes returned even if EOF was
17452 encountered.
17453 * libio/iowpadn.c: Likewise.
17454 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17455 if _IO_padn does not write the whole buffer.
17456 [!COMPILE_WPRINTF] (PAD): Likewise.
17457
75b4202a
DM
174582013-10-10 David S. Miller <davem@davemloft.net>
17459
17460 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17461 directory block.
17462
6c6352e6
JM
174632013-10-10 Joseph Myers <joseph@codesourcery.com>
17464
33b853c3
JM
17465 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17466 instead of FSF address.
17467 * soft-fp/fixdfti.c: Likewise.
17468 * soft-fp/fixsfti.c: Likewise.
17469 * soft-fp/fixtfti.c: Likewise.
17470 * soft-fp/fixunsdfti.c: Likewise.
17471 * soft-fp/fixunssfti.c: Likewise.
17472 * soft-fp/fixunstfti.c: Likewise.
17473 * soft-fp/floattidf.c: Likewise.
17474 * soft-fp/floattisf.c: Likewise.
17475 * soft-fp/floattitf.c: Likewise.
17476 * soft-fp/floatuntidf.c: Likewise.
17477 * soft-fp/floatuntisf.c: Likewise.
17478 * soft-fp/floatuntitf.c: Likewise.
17479 * soft-fp/trunctfxf2.c: Likewise.
17480
6c6352e6
JM
17481 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17482 * soft-fp/fixdfti.c: Likewise.
17483 * soft-fp/fixsfti.c: Likewise.
17484 * soft-fp/fixtfti.c: Likewise.
17485 * soft-fp/fixunsdfti.c: Likewise.
17486 * soft-fp/fixunssfti.c: Likewise.
17487 * soft-fp/fixunstfti.c: Likewise.
17488 * soft-fp/floattidf.c: Likewise.
17489 * soft-fp/floattisf.c: Likewise.
17490 * soft-fp/floattitf.c: Likewise.
17491 * soft-fp/floatuntidf.c: Likewise.
17492 * soft-fp/floatuntisf.c: Likewise.
17493 * soft-fp/floatuntitf.c: Likewise.
17494 * soft-fp/trunctfxf2.c: Likewise.
17495
3bf78b71
DM
174962013-10-10 David S. Miller <davem@davemloft.net>
17497
17498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17499
6f10289e
JM
175002013-10-10 Joseph Myers <joseph@codsourcery.com>
17501
bd878fc0
JM
17502 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17503 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17504 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17505 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17506 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17507 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17508 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17509
6f10289e
JM
17510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17511 for NaNs before doing comparisons on argument.
17512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17513 Likewise.
17514
321e2684
WN
175152013-10-10 Will Newton <will.newton@linaro.org>
17516
17517 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17518 passed to _int_memalign does not overflow.
17519
40fefba1
TR
175202013-10-10 Torvald Riegel <triegel@redhat.com>
17521
17522 * scripts/bench.pl: Add include-sources directive.
17523 * benchtests/README: Update documentation.
17524
2ae21ed2
JM
175252013-10-10 Joseph Myers <joseph@codesourcery.com>
17526
dcc2dd3f
JM
17527 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17528 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17529 instead of FP_INIT_ROUNDMODE.
17530 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17531 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17532
2ae21ed2
JM
17533 [BZ #16034]
17534 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17535 copy class of input value.
17536 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17537 not handle exceptions.
17538 * soft-fp/negsf2.c (__negsf2): Likewise.
17539 * soft-fp/negtf2.c (__negtf2): Likewise.
17540 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17541
cb8f9562
JM
175422013-10-09 Joseph Myers <joseph@codesourcery.com>
17543
17544 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17545 semicolon. From Linux kernel.
17546
5b60c59d
AB
175472013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17548
17549 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17550
b86835ca
YC
175512013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17552
17553 [BZ #156]
17554 * manual/socket.texi: Added statement about buffer
17555 for gethostbyname2_r.
17556
e7044ea7
OB
175572013-10-08 Ondřej Bílka <neleai@seznam.cz>
17558
17559 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17560 Use .p2align directive instead, throughout.
17561 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17562 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17563 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17566 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17567 * sysdeps/x86_64/strchr.S: Likewise.
17568 * sysdeps/x86_64/strrchr.S: Likewise.
17569
09544cbc
SP
175702013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17571
88576635
SP
17572 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17573
e7b2d1dd
SP
17574 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17575
09544cbc
SP
17576 * sysdeps/generic/math_private.h (__mpsin1): Remove
17577 declaration.
17578 (__mpcos1): Likewise.
17579 (__mpsin): New argument __range_reduce.
17580 (__mpcos): Likewise.
17581 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17582 (slow): Use __mpsin and __mpcos.
17583 (slow1): Likewise.
17584 (slow2): Likewise.
17585 (sloww): Likewise.
17586 (sloww1): Likewise.
17587 (sloww2): Likewise.
17588 (bsloww): Likewise.
17589 (bsloww1): Likewise.
17590 (bsloww2): Likewise.
17591 (cslow2): Likewise.
17592 (csloww): Likewise.
17593 (csloww1): Likewise.
17594 (csloww2): Likewise.
17595 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17596 range_reduce. Merge in __mpsin1.
17597 (__mpcos): Likewise.
17598 (__mpsin1): Remove.
17599 (__mpcos1): Likewise.
17600
7602d070
JM
176012013-10-07 Joseph Myers <joseph@codesourcery.com>
17602
17603 * locale/loadlocale.c (_nl_intern_locale_data): Use
17604 LOCFILE_ALIGNED_P.
17605 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17606 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17607 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17608 obstack data is appropriately aligned.
17609 (obstack_int32_grow_fast): Likewise.
17610 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17611 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17612 (add_locale_uint32_array): Likewise.
17613
a357259b
SP
176142013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17615
17616 * benchtests/Makefile: Remove ARGLIST and RET variables.
17617 ($(objpfx)bench-%.c): Pass only function name to the script.
17618 * benchtests/README: Update documentation.
17619 * benchtests/acos-inputs: Add new directives.
17620 * benchtests/acosh-inputs: Likewise.
17621 * benchtests/asin-inputs: Likewise.
17622 * benchtests/asinh-inputs: Likewise.
17623 * benchtests/atan-inputs: Likewise.
17624 * benchtests/atanh-inputs: Likewise.
17625 * benchtests/cos-inputs: Likewise.
17626 * benchtests/cosh-inputs: Likewise.
17627 * benchtests/exp-inputs: Likewise.
17628 * benchtests/log-inputs: Likewise.
17629 * benchtests/pow-inputs: Likewise.
17630 * benchtests/rint-inputs: Likewise.
17631 * benchtests/sin-inputs: Likewise.
17632 * benchtests/sinh-inputs: Likewise.
17633 * benchtests/tan-inputs: Likewise.
17634 * benchtests/tanh-inputs: Likewise.
17635 * scripts/bench.pl: Add support for new directives.
17636
9ec1b13d
AM
176372013-10-07 Alan Modra <amodra@gmail.com>
17638
17639 * README: Fix careless merge.
17640
8b7d57cd
AM
176412013-10-05 Alan Modra <amodra@gmail.com>
17642
17643 * NEWS: Mention powerpc64le support and bugs fixed.
17644 * README: Both big-endian and little-endian powerpc64 supported.
17645
7b7bab13
ST
176462013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17647
57f41c40
AS
17648 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17649 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17650 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17651 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17652
d39baad1
RA
176532013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17654
17655 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17656 match prototype.
17657
cd78f7e7
JM
176582013-10-04 Joseph Myers <joseph@codesourcery.com>
17659
29d73d86
JM
17660 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17661 Move -mhard-float appending from
17662 ports/sysdeps/powerpc/powerpc32/Makefile.
17663 [$(with-fp) = yes] (ASFLAGS): Likewise.
17664 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17665 * sysdeps/powerpc/nofpu: Move directory from
17666 ports/sysdeps/powerpc/nofpu.
17667 * sysdeps/powerpc/soft-fp: Move directory from
17668 ports/sysdeps/powerpc/soft-fp.
17669 * sysdeps/powerpc/powerpc32/405: Move directory from
17670 ports/sysdeps/powerpc/powerpc32/405.
17671 * sysdeps/powerpc/powerpc32/440: Move directory from
17672 ports/sysdeps/powerpc/powerpc32/440.
17673 * sysdeps/powerpc/powerpc32/464: Move directory from
17674 ports/sysdeps/powerpc/powerpc32/464.
17675 * sysdeps/powerpc/powerpc32/476: Move directory from
17676 ports/sysdeps/powerpc/powerpc32/476.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17684 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17686 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17687 * README: Update for powerpc-*-linux-gnu software floating point
17688 support in libc.
17689
e246b347
JM
17690 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17691 case to powerpc/powerpc32*.
17692 * sysdeps/unix/sysv/linux/configure: Regenerated.
17693
89c2003e
JM
17694 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17695 (_FPU_MASK_OM): Define as 0x04.
17696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17698 0x00c10080.
17699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17700 0x0000003c.
17701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17702
cd78f7e7
JM
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17704 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17705 getcontext_e500.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17707 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17708 setcontext_e500.
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17710 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17711 and setcontext_e500.
17712
c755294d
CL
177132013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17714
17715 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17716
e16d221c
SP
177172013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17718
17719 * manual/threads.texi (Default Thread Attributes): Fix typo.
17720
215c7d43
WN
177212013-10-04 Will Newton <will.newton@linaro.org>
17722
17723 * malloc/Makefile: Add tst-memalign.
17724 * malloc/tst-memalign.c: New file.
17725
27d0461b
WN
17726 * malloc/tst-posix_memalign.c: Add comments.
17727 (do_test): Add comments and call free on all potentially
17728 allocated pointers. Add space after cast.
17729
1bc92709
WN
17730 * malloc/tst-pvalloc.c: Add comments.
17731 (do_test): Add comments and call free on all potentially
17732 allocated pointers. Remove duplicate check for NULL pointer.
17733 Add space after cast.
17734
66a9be9d
WN
17735 * malloc/tst-valloc.c: Add comments.
17736 (do_test): Add comments and call free on all potentially
17737 allocated pointers. Remove duplicate check for NULL pointer.
17738 Add space after cast.
17739
4cb81307
AM
177402013-10-04 Alan Modra <amodra@gmail.com>
17741
17742 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17743 Use stdint types in rather than __attribute__((mode())).
17744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17745
f8e3e9f3
AM
177462013-10-04 Alan Modra <amodra@gmail.com>
17747
17748 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17749 Correct handling of unaligned relocs for little-endian.
17750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17751
8f9ebb08
AM
177522013-10-04 Alan Modra <amodra@gmail.com>
17753
17754 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17755 * configure: Regenerate.
17756 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17757 * shlib-versions: Likewise.
17758
0edf96c2
AM
177592013-10-04 Alan Modra <amodra@gmail.com>
17760
17761 * string/tester.c (test_memrchr): Increment reported test cycle.
17762
e0f7a380
AM
177632013-10-04 Alan Modra <amodra@gmail.com>
17764
17765 * string/test-memcpy.c (do_one_test): When reporting errors, print
17766 string address and don't overrun end of string.
17767
466b0393
AM
177682013-10-04 Alan Modra <amodra@gmail.com>
17769
17770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17771 insrdi. Make better use of reg selection to speed exit slightly.
17772 Schedule entry path a little better. Remove useless "are we done"
17773 checks on entry to main loop. Handle wrapping around zero address.
17774 Correct main loop count. Handle single left-over word from main
17775 loop inline rather than by using loop_small. Remove extra word
17776 case in loop_small caused by wrong loop count. Add little-endian
17777 support.
17778 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17780 cache hint.
17781 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17782 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17783 support. Avoid rlwimi.
17784 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17785
3be87c77
AM
177862013-10-04 Alan Modra <amodra@gmail.com>
17787
17788 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17789 insrdi. Formatting.
3be87c77
AM
17790 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17791 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17792 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17793 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17794 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17795 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17796
759cfef3
AM
177972013-10-04 Alan Modra <amodra@gmail.com>
17798
17799 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17800 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17801 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17802 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17803 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17806 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17807 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17808 use of regs. Use power7 mtocrf. Tidy function tails.
17809
fe6e95d7
AM
178102013-10-04 Alan Modra <amodra@gmail.com>
17811
17812 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17813 Formatting. Consistently use rXXX register defines or rN defines.
17814 Use early exit labels that avoid restoring unused non-volatile regs.
17815 Make cr field use more consistent with rWORDn compares. Rename
17816 regs used as shift registers for unaligned loop, using rN defines
17817 for short lifetime/multiple use regs.
17818 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17820 addi 1,1,64 to pop stack frame. Simplify return value code.
17821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17822
664318c3
AM
178232013-10-04 Alan Modra <amodra@gmail.com>
17824
17825 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17826 support. Correct typos, formatting. Optimize tail. Use insrdi
17827 rather than rlwimi.
17828 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17829 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17830 little-endian support. Correct typos.
17831 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17832 rather than rlwimi.
17833 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17834 in loop and entry code to keep "and." results.
17835 (strchr): Add little-endian support. Comment. Move cntlzd
17836 earlier in tail.
17837 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17838
43b84013
AM
178392013-10-04 Alan Modra <amodra@gmail.com>
17840
17841 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17842 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17843 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17844 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17845
8a7413f9
AM
178462013-10-04 Alan Modra <amodra@gmail.com>
17847
17848 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17849 (rTMP): Define as r11.
17850 (strcmp): Add little-endian support. Optimise tail.
17851 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17852 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17853 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17854 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17855 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17856 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17858
33ee81de
AM
178592013-10-04 Alan Modra <amodra@gmail.com>
17860
17861 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17862 little-endian support. Remove unnecessary "are we done" tests.
17863 Handle "s" wrapping around zero and extremely large "size".
17864 Correct main loop count. Handle single left-over word from main
17865 loop inline rather than by using small_loop. Correct comments.
17866 Delete "zero" tail, use "end_max" instead.
17867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17868
db9b4570
AM
178692013-10-04 Alan Modra <amodra@gmail.com>
17870
17871 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17872 support. Don't branch over align.
17873 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17874 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17875 support. Rearrange tmp reg use to suit. Comment.
17876 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17877
f7c399cf
AM
178782013-10-04 Alan Modra <amodra@gmail.com>
17879
17880 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17881
0b2c2ace
AM
178822013-10-04 Alan Modra <amodra@gmail.com>
17883
17884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17885 conditional form of branch and link when obtaining pc.
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17887
02f04a6c
AM
178882013-10-04 Alan Modra <amodra@gmail.com>
17889
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17891 HIWORD/LOWORD.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17894
9b874b2f
AM
178952013-10-04 Alan Modra <amodra@gmail.com>
17896
17897 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17898 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17899 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17900 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17901 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17902 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17903 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17904 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17905 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17906 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17907
be1e5d31
AB
179082013-10-04 Anton Blanchard <anton@au1.ibm.com>
17909 Alistair Popple <alistair@ozlabs.au.ibm.com>
17910 Alan Modra <amodra@gmail.com>
17911
17912 [BZ #15723]
17913 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17914 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17915 _dl_hwcap access for little-endian.
17916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17917 destroy vmx regs when saving unaligned.
17918 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17919 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17920 destroy vmx regs when saving unaligned.
17921
fef13a78
AM
179222013-10-04 Alan Modra <amodra@gmail.com>
17923
17924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17925 Don't use a union to pack hi/low value.
17926
76a66d51
AB
179272013-10-04 Anton Blanchard <anton@au1.ibm.com>
17928
17929 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17930 for little-endian.
17931 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17932 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17933 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17934 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17936
6a31fe7f
AM
179372013-10-04 Alan Modra <amodra@gmail.com>
17938
17939 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17940 constants to usual value for .cst8 section, and remove redundant
17941 high address load.
17942 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17943 constant for 0x1p52. Load little-endian words of double from
17944 correct stack offsets.
17945
7b88401f
AM
179462013-10-04 Alan Modra <amodra@gmail.com>
17947
17948 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17949 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17950 words of double from correct stack offsets.
17951 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17952 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17953 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17954 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17955 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17957 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17958 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17959 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17960 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17963 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17964 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17965 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17966 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17967 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17968
9c008155
AM
179692013-10-04 Alan Modra <amodra@gmail.com>
17970
17971 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17972 64-bit int/double union.
17973 (_FPU_SETCW): Likewise.
17974 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17975 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17976
da13146d
AM
179772013-10-04 Alan Modra <amodra@gmail.com>
17978
17979 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17980 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17981
603e8410
AM
179822013-10-04 Alan Modra <amodra@gmail.com>
17983
17984 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17985 use vector int constants.
17986 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17987
4a28b3ca
AB
179882013-10-04 Anton Blanchard <anton@au1.ibm.com>
17989
17990 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17991 array with long long.
17992 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17993 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17994 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17995 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17996 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17997 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17998 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17999 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18000 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18001 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18002 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18003 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18004 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18005
2ca85d2b
AB
180062013-10-04 Anton Blanchard <anton@au1.ibm.com>
18007
18008 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18009 (__signbit): Likewise. Correct for little-endian.
18010 (__signbitl): Call __signbit.
18011 (lrint): Correct for little-endian.
18012 (lrintf): Call lrint.
18013
62a728ae
AM
180142013-10-04 Alan Modra <amodra@gmail.com>
18015
18016 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18017 union 32-bit int array member with 64-bit int array.
18018 (t515, tm256): Double rather than long double.
18019 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18020
32c301df
AM
180212013-10-04 Alan Modra <amodra@gmail.com>
18022
18023 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18024 Delete.
18025 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18026 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18027 version of math_ldbl.h.
18028
650ef4bd
AM
180292013-10-04 Alan Modra <amodra@gmail.com>
18030
18031 [BZ #15734], [BZ #15735]
18032 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18033 all uses of ieee875 long double macros and unions. Simplify test
18034 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18035 ldbl_extract_mantissa value for ix,iy exponents. Properly
18036 normalize after ldbl_extract_mantissa, and don't add hidden bit
18037 already handled. Don't treat low word of ieee854 mantissa like
18038 low word of IBM long double and mask off bit when testing for
18039 zero.
18040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18041 all uses of ieee875 long double macros and unions. Simplify tests
18042 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18043 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18044 two1022, instead use their values. Recognise that tests for large
18045 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18046 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18047 Rewrite all uses of ieee875 long double macros and unions. Simplify
18048 test for 0.0L and nan. Correct negation.
18049 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18050 ieee875 long double macros and unions. Correct output for large
18051 magnitude x. Correct absolute value calculation.
18052 (__erfcl): Likewise.
18053 * math/libm-test.inc: Add tests for errors discovered in IBM long
18054 double versions of fmodl, remainderl, erfl and erfcl.
18055
765714ca
AM
180562013-10-04 Alan Modra <amodra@gmail.com>
18057
18058 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18059 all uses of ieee854 long double macros and unions. Simplify tests
18060 for long doubles that are fully specified by the high double.
18061 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18062 Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18064 Remove dead code too.
18065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18066 (__ieee754_ynl): Likewise.
18067 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18068 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18070 Remove dead code too.
18071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18072 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18073 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18075 Simplify.
18076 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18077 Simplify.
18078 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18079 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18081 Comment on variable precision.
18082 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18084 Likewise.
18085 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18089 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18090
4ebd120c
AM
180912013-10-04 Alan Modra <amodra@gmail.com>
18092
18093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18095 all uses of ieee854 long double macros and unions.
18096 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18097 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18098 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18102 Likewise.
18103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18105 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18106 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18107 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18108 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18109 Simplify sign and nan test too.
18110 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18113 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18114 Likewise.
18115 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18116 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18117 Likewise.
18118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18119 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18120 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18121 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18124
1b6adf88
AM
181252013-10-04 Alan Modra <amodra@gmail.com>
18126
18127 * stdio-common/printf_size.c (__printf_size): Don't use
18128 union ieee854_long_double in fpnum union.
18129 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18130 signbit macro to retrieve sign from long double.
18131 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18132 retrieve sign from long double.
18133 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18134 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18135 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18136 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18137 * math/test-misc.c (main): Don't use union ieee854_long_double.
18138
4cf69995
AM
181392013-10-04 Alan Modra <amodra@gmail.com>
18140
18141 [BZ #15680]
18142 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18143 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18144 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18145 calculation. Remove unnecessary test for denormal exponent.
18146 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18147 Correct handling of denormals. Avoid undefined shift behaviour.
18148 Correct normalisation of low mantissa when low double is denormal.
18149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18150 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18151 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18152 Correct normalisation of low mantissa. Test for overflow of high
18153 mantissa and normalise.
18154 (ldbl_nearbyint): Use more readable constant for two52.
18155 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18156 (__mpn_construct_long_double): Fix test for overflow of high
18157 mantissa and correct normalisation. Avoid undefined shift.
18158
9605ca6c
AM
181592013-10-04 Alan Modra <amodra@gmail.com>
18160
18161 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18162 (union ibm_extended_long_double): Define as an array of ieee754_double.
18163 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18164 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18165 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18166 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18174
975569d0
JM
181752013-10-03 Joseph Myers <joseph@codesourcery.com>
18176
d3d23756
JM
18177 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18178 page size instead of calling getpagesize.
18179
975569d0
JM
18180 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18181 (LOCFILE_ALIGN_MASK): Likewise.
18182 (LOCFILE_ALIGN_UP): Likewise.
18183 (LOCFILE_ALIGNED_P): Likewise.
18184 * locale/programs/ld-collate.c (collate_output): Use the new
18185 macros instead of __alignof__ (int32_t).
18186 * locale/weight.h (findidx): Likewise.
18187
b1fe1f2b
OB
181882013-10-03 Ondřej Bílka <neleai@seznam.cz>
18189
18190 [BZ #431]
18191 * manual/string.texi: Fix strncat and wcsncat.
18192
5f855e35
BM
181932013-10-03 Brooks Moses <bmoses@google.com>
18194
18195 [BZ #15915]
18196 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18197 * Makerules: ...here, and adjust associated comments.
18198
3cef6009
WN
181992013-10-02 Will Newton <will.newton@linaro.org>
18200
18201 * malloc/Makefile: Add tst-pvalloc.
18202 * malloc/tst-pvalloc.c: New file.
18203
7815420b
WN
182042013-10-02 Will Newton <will.newton@linaro.org>
18205
18206 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18207 improve test coverage.
18208
4868b204
WN
182092013-10-02 Will Newton <will.newton@linaro.org>
18210
18211 * malloc/Makefile: Add tst-posix_memalign.
18212 * malloc/tst-posix_memalign.c: New file.
18213
29c793b3
EB
182142013-10-01 Eric Blake <eblake@redhat.com>
18215
18216 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18217 Use __THROWNL rather than __THROW on static functions.
18218
fd967522
PM
182192013-09-30 Petr Machata <pmachata@redhat.com>
18220
18221 * elf/elf.h (R_AARCH64_ABS16): New macro.
18222 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18223 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18224 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18225 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18226 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18227 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18228 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18229 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18230 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18231 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18232 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18233 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18234 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18235 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18236 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18237 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18238 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18239 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18240 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18241 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18242 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18243 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18244 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18245 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18246 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18247 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18248 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18249 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18250 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18251 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18252 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18253 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18254 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18255 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18256 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18257 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18258 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18259 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18260 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18261 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18262 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18263 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18264 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18265 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18266 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18267 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18268 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18269 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18270 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18271 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18272 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18273 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18274 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18275 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18276 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18277 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18278 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18279 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18280 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18281 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18282 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18283 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18284 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18285 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18286 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18287 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18288 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18289 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18290 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18291 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18292 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18293 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18294 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18295 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18296 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18297 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18298 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18299 (R_AARCH64_TLSDESC_LDR): Likewise.
18300 (R_AARCH64_TLSDESC_ADD): Likewise.
18301 (R_AARCH64_TLSDESC_CALL): Likewise.
18302
b2179107
AS
183032013-09-30 Andreas Schwab <schwab@suse.de>
18304
18305 [BZ #15048]
18306 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18307 the nss database lookup.
18308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18310
47f28d0a
MF
183112013-09-28 Mike Frysinger <vapier@gentoo.org>
18312
18313 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18314
183152013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18316
18317 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18318 ${Bash-specific parameter/pattern/string} parameter expansion.
18319 * sysdeps/unix/make-syscalls.sh: Likewise.
18320
f4518a17
KK
183212013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18322
18323 * sysdeps/sh/stackguard-macros.h: New file.
18324
dc1a95c7
OB
183252013-09-26 Ondřej Bílka <neleai@seznam.cz>
18326
18327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18329 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18330 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18331 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18332 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18333
5ebbff8f
AZ
183342013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18335
18336 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18337 Fix thread ID register.
18338
4fd2cf9f
JM
183392013-09-25 Joseph Myers <joseph@codesourcery.com>
18340
18341 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18342 [POSIX || UNIX98]: Require rather than permitting all symbols from
18343 <time.h>.
18344 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18345 element of struct sched_param.
18346 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18347 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18348 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18349 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18350 constant.
18351
12c22bc4
OL
183522013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18353
18354 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18355 argument calculation.
18356
a03d8ea7
JM
183572013-09-24 Joseph Myers <joseph@codesourcery.com>
18358
18359 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18360 Expect macro.
18361 [POSIX] (pthread_attr_t): Do not require type.
18362 [POSIX] (pthread_cond_t): Likewise.
18363 [POSIX] (pthread_condattr_t): Likewise.
18364 [POSIX] (pthread_key_t): Likewise.
18365 [POSIX] (pthread_mutex_t): Likewise.
18366 [POSIX] (pthread_mutexattr_t): Likewise.
18367 [POSIX] (pthread_once_t): Likewise.
18368 [POSIX] (pthread_t): Likewise.
18369 [POSIX-based standards] (pthread_atfork): Expect function.
18370
6055173a
JM
183712013-09-24 Joseph Myers <joseph@codesourcery.com>
18372 Richard Sandiford <richard@codesourcery.com>
18373
18374 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18375 (swap_endianness_p): New extern variable.
18376 (set_big_endian): New inline function.
18377 (maybe_swap_uint32): Likewise.
18378 (maybe_swap_uint32_array): Likewise.
18379 (maybe_swap_uint32_obstack): Likewise.
18380 * locale/programs/locfile.c: Include <stdbool.h>.
18381 (swap_endianness_p): New variable.
18382 (add_locale_uint32): Call maybe_swap_uint32.
18383 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18384 (write_locale_data): Call maybe_swap_uint32_array.
18385 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18386 maybe_swap_uint32.
18387 (obstack_int32_grow_fast): Likewise.
18388 (output_weightwc): Call maybe_swap_uint32_obstack.
18389 (collate_output): Likewise.
18390 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18391 (OPT_LITTLE_ENDIAN): Likewise.
18392 (options): Add --little-endian and --big-endian options.
18393 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18394 * locale/programs/locarchive.c: Include "locfile.h".
18395 (GET): New macro.
18396 (SET): Likewise.
18397 (INC): Likewise.
18398 (create_archive): Use the new macros to access fields of
18399 structures directly mapped from or written to locale archives.
18400 (oldlocrecentcmp): Likewise.
18401 (enlarge_archive): Likewise.
18402 (insert_name): Likewise.
18403 (add_alias): Likewise.
18404 (add_locale): Likewise.
18405 (delete_locales_from_archive): Likewise.
18406 (show_archive_content): Likewise.
18407 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18408 locale data.
18409
39bf0bb4
RM
184102013-09-24 Roland McGrath <roland@hack.frob.com>
18411
18412 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18413 http://www.gnu.org/doc/freemanuals.texi.
18414 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18415
f02eed10
WN
184162013-09-24 Will Newton <will.newton@linaro.org>
18417
18418 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18419 macro.
18420
a3a6c312
JM
184212013-09-23 Joseph Myers <joseph@codesourcery.com>
18422
18423 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18424 unsigned char.
18425
107375ac
MR
184262013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18427
18428 * manual/threads.texi (POSIX Threads): Fix a typo.
18429
141f3a77
SP
184302013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18431
303e567a
SP
18432 [BZ #14547]
18433 * string/tst-strcoll-overflow.c: New test case.
18434 * string/Makefile (xtests): Add tst-strcoll-overflow.
18435 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18436 cache if string sizes may cause integer overflow.
18437
141f3a77
SP
18438 [BZ #14547]
18439 * string/strcoll_l.c (coll_seq): New members rule, idx,
18440 save_idx and back_us.
18441 (get_next_seq_nocache): New function.
18442 (do_compare_nocache): New function.
18443 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18444 when malloc fails.
18445
c61b4d41
CD
184462013-09-23 Carlos O'Donell <carlos@redhat.com>
18447
0b1f8e35
CD
18448 [BZ #15754]
18449 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18450 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18451 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18452
c61b4d41
CD
18453 [BZ #15754]
18454 * elf/Makefile (tests): Add tst-ptrguard1.
18455 (tests-static): Add tst-ptrguard1-static.
18456 (tst-ptrguard1-ARGS): Define.
18457 (tst-ptrguard1-static-ARGS): Define.
18458 * elf/tst-ptrguard1.c: New file.
18459 * elf/tst-ptrguard1-static.c: New file.
18460 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18461 * sysdeps/i386/stackguard-macros.h: Likewise.
18462 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18463 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18464 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18465 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18466 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18467 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18468
184692013-09-23 Hector Marco <hecmargi@upv.es>
18470 Ismael Ripoll <iripoll@disca.upv.es>
18471 Carlos O'Donell <carlos@redhat.com>
18472
18473 [BZ #15754]
18474 * sysdeps/generic/stackguard-macros.h: Define
18475 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18476 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18477 Define __pointer_chk_guard_local.
18478 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18479 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18480
f5f4e7b4
VV
184812013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18482
18483 [BZ #15859]
18484 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18485
5bb43a43
AS
184862013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18487
18488 * include/string.h (__ffs): Declare as hidden.
18489 * string/ffs.c (__ffs): Define as hidden.
18490 * sysdeps/i386/ffs.c (__ffs): Likewise.
18491 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18492 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18493 * sysdeps/s390/ffs.c (__ffs): Likewise.
18494 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18495
3ea5be54
AO
184962013-09-20 Alexandre Oliva <aoliva@redhat.com>
18497
ffb89e53
AO
18498 * NEWS: Mention malloc probes.
18499
322dea08
AO
18500 * malloc/arena.c (new_heap): New memory_heap_new probe.
18501 (grow_heap): New memory_heap_more probe.
18502 (shrink_heap): New memory_heap_less probe.
18503 (heap_trim): New memory_heap_free probe.
18504 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18505 (systrim): New memory_sbrk_less probe.
18506 * manual/probes.texi: Document them.
18507
655673f3
AO
18508 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18509 * manual/probes.texi: Document it.
18510
35fed6f1
AO
18511 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18512 (__libc_realloc): Add memory_realloc_retry probe.
18513 (__libc_memalign): Add memory_memalign_retry probe.
18514 (__libc_valloc): Add memory_valloc_retry probe.
18515 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18516 (__libc_calloc): Add memory_calloc_retry probe.
18517 * manual/probes.texi: Document them.
18518
6999d38c
AO
18519 * malloc/arena.c (get_free_list): Add probe
18520 memory_arena_reuse_free_list.
18521 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18522 and memory_arena_reuse.
18523 (arena_get2) [!PER_THREAD]: Likewise.
18524 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18525 memory_arena_reuse_realloc.
18526 * manual/probes.texi: Document them.
18527
0653427f
AO
18528 * malloc/malloc.c (__libc_free): Add
18529 memory_mallopt_free_dyn_thresholds probe.
18530 (__libc_mallopt): Add multiple memory_mallopt probes.
18531 * manual/probes.texi: Document them.
18532
3ea5be54
AO
18533 * malloc/malloc.c: Include stap-probe.h.
18534 (__libc_mallopt): Add memory_mallopt probe.
18535 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18536 * manual/probes.texi: New.
18537 * manual/Makefile (chapters): Add probes.
18538 * manual/threads.texi: Set next node.
18539
e35696c3 185402013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18541
e35696c3
CL
18542 [BZ #15963, #13985]
18543 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18544 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18545 Add `Chinese' to `nan' entry name.
18546
4aafb73c
SP
185472013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18548
18549 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18550 (POLYNOMIAL): Likewise.
18551 (TAYLOR_SINCOS): Likewise.
18552 (TAYLOR_SLOW): Likewise.
18553 (__sin): Use TAYLOR_SINCOS.
18554 (__cos): Likewise.
18555 (slow): Use TAYLOR_SLOW.
18556 (sloww): Likewise.
18557 (bsloww): Likewise.
18558 (csloww): Likewise.
18559
d84f25c7
LD
185602013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18561
18562 * stdlib/strtod_l.c: Fix buffer overrun.
18563
5eea0404
SP
185642013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18565
7849ff93
SP
18566 * benchtests/Makefile (bench): Add sincos.
18567 * benchtests/bench-sincos.c: New file.
18568
cfa3c886
SP
18569 * math/libm-test.inc (cos_test_data): New test inputs.
18570 (sin_test_data): Likewise.
18571
b348e1e3
SP
18572 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18573 macro.
18574 (__sin): Use it.
18575 (__cos): Likewise.
18576 (slow1): Likewise.
18577 (slow2): Likewise.
18578 (sloww1): Likewise.
18579 (sloww2): Likewise.
18580 (bsloww1): Likewise.
18581 (bsloww2): Likewise.
18582 (cslow2): Likewise.
18583 (csloww1): Likewise.
18584 (csloww2): Likewise.
18585
6cce25f8
SP
18586 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18587 function.
18588 (__sin): Use it.
18589 (__cos): Likewise.
18590
5eea0404
SP
18591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18592 gotos.
18593 (__cos): Likewise.
18594
9c21573c
MR
185952013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18596
18597 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18598 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18599 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18600 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18601 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18602 * elf/cache.c (print_entry): Handle the new cache flags.
18603
24d22e65
JM
186042013-09-18 Joseph Myers <joseph@codesourcery.com>
18605 Aldy Hernandez <aldyh@redhat.com>
18606
18607 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18608 Change condition to [_SOFT_FLOAT].
18609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18621 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18624 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18625 declaration.
18626
d13ef066
JM
186272013-09-18 Joseph Myers <joseph@codesourcery.com>
18628
2e071de0
JM
18629 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18630 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18631 (__longjmp): Use LOAD_GP to load saved GPRs.
18632 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18633 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18634 (__sigsetjmp): Use SAVE_GP to save GPRs.
18635
d13ef066
JM
18636 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18637 Do not append -msoft-float.
18638 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18639
97a0650b
SP
186402013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18641
18642 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18643
11ca09e9
JM
186442013-09-17 Joseph Myers <joseph@codesourcery.com>
18645
18646 [BZ #15966]
18647 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18648 (_FPU_GETCW): Use initial "__" on variable and field names but not
18649 on macro parameter name.
18650 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18651 parentheses around reference to macro parameter.
18652
08ffcf34
RS
186532013-09-13 Richard Sandiford <richard@codesourcery.com>
18654
18655 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18656 prototype.
18657 (ctype_startup): Use uint32_t in cast and sizeof for
18658 ctype->charnames.
18659
ae7080d3
JL
186602013-09-11 Jia Liu <proljc@gmail.com>
18661
18662 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18663 __daddr_t_defined.
18664 [__FreeBSD__]: Likewise.
18665
5905e7b3
OB
186662013-09-11 Ondřej Bílka <neleai@seznam.cz>
18667
18668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18669 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18670 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18671 (strchr): Remove __strchr_sse42 ifunc selection.
18672 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18673 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18674
b987c776
WN
186752013-09-11 Will Newton <will.newton@linaro.org>
18676
18677 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18678 parameter to RES. Remove hardcoded 1000 value.
18679 * benchtests/bench-skeleton.c (main): Pass RES parameter
18680 to TIMING_INIT and multiply result by 1000.
18681
ddf985af
AZ
186822013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18683
18684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18685
ffdd3181
AS
186862013-09-11 Andreas Schwab <schwab@suse.de>
18687
18688 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18689 if not defined.
18690 (O_TMPFILE) [__USE_GNU]: Define.
18691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18692 Define.
18693
b73ed247
WN
186942013-09-11 Will Newton <will.newton@linaro.org>
18695
18696 [BZ #15857]
18697 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18698 does not overflow.
18699
55e17aad
WN
187002013-09-11 Will Newton <will.newton@linaro.org>
18701
18702 [BZ #15856]
18703 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18704 does not overflow.
18705
1159a193
WN
187062013-09-11 Will Newton <will.newton@linaro.org>
18707
18708 [BZ #15855]
18709 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18710 does not overflow.
18711
5905e7b3 187122013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18713
18714 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18719
cdfc721b
AM
187202013-09-10 Allan McRae <allan@archlinux.org>
18721
aa04af00
AM
18722 [BZ #15748]
18723 * manual/arith.texi (Parsing of Floats): Clarify
18724 cross-reference.
18725
cdfc721b
AM
18726 [BZ #15849]
18727 * manual/install.texi (Running make install): Mention
18728 --enable-pt-chown.
18729 * INSTALL: Regenerated.
18730
95e7cf29
MR
187312013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18732
18733 * csu/init-first.c (_init): Remove the !SHARED condition around
18734 FPU control word initialization.
18735 * elf/dl-support.c (_dl_fpu_control): New variable.
18736 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18737 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18738 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18739 * math/test-fpucw-static.c: New file.
18740 * math/test-fpucw-ieee.c: New file.
18741 * math/test-fpucw-ieee-static.c: New file.
18742 * math/Makefile (tests): Add `test-fpucw-ieee' and
18743 `$(tests-static)'.
18744 (tests-static): New variable.
18745 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18746 dependency to...
18747 [($(build-shared),yes)]
18748 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18749 ... this.
18750 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18751 New dependency.
18752
83e43bf0
AM
187532013-09-09 Allan McRae <allan@archlinux.org>
18754
a9f5ce09
AM
18755 [BZ #15939]
18756 * manual/string.texi (Collation Functions): Fix typo in
18757 strcoll example.
18758 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18759
34829bc2
AM
18760 [BZ #15893]
18761 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18762
3932737d
AM
18763 [BZ #15892]
18764 * libio/memstream.c (open_memstream): Fix memory leak.
18765 * libio/wmemstream.c (open_wmemstream): Likewise.
18766
83e43bf0
AM
18767 [BZ #15895]
18768 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18769
0c66b8e9
WN
187702013-09-09 Will Newton <will.newton@linaro.org>
18771
18772 * malloc/Makefile: Add tst-realloc to tests.
18773 * malloc/tst-realloc.c: New file.
18774
f6b00fd1
AM
187752013-09-09 Allan McRae <allan@archlinux.org>
18776
18777 [BZ #15844]
18778 * COPYING: Update from GNU website to fix FSF address.
18779 * COPYING.LIB: Likewise.
18780
eec55e16
DM
187812013-09-06 David S. Miller <davem@davemloft.net>
18782
18783 * po/zh_TW.po: Update Chinese (traditional) translation from
18784 translation project.
18785
1ecbb381
RS
187862013-09-06 Richard Sandiford <richard@codesourcery.com>
18787 Joseph Myers <joseph@codesourcery.com>
18788
18789 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18790 "localeinfo.h".
18791 (obstack_chunk_alloc): New macro.
18792 (obstack_chunk_free): Likewise.
18793 (record_offset): New function.
18794 (init_locale_data): Likewise.
18795 (align_locale_data): Likewise.
18796 (add_locale_empty): Likewise.
18797 (add_locale_raw_data): Likewise.
18798 (add_locale_raw_obstack): Likewise.
18799 (add_locale_string): Likewise.
18800 (add_locale_wstring): Likewise.
18801 (add_locale_uint32): Likewise.
18802 (add_locale_uint32_array): Likewise.
18803 (add_locale_char): Likewise.
18804 (start_locale_structure): Likewise.
18805 (end_locale_structure): Likewise.
18806 (start_locale_prelude): Likewise.
18807 (end_locale_prelude): Likewise.
18808 (write_locale_data): Take locale_file structure rather than an
18809 iovec.
18810 * locale/programs/locfile.h: Include "obstack.h".
18811 (struct locale_file): Change to store locale file contents instead
18812 of header.
18813 (init_locale_data): New prototype.
18814 (align_locale_data): Likewise.
18815 (add_locale_empty): Likewise.
18816 (add_locale_raw_data): Likewise.
18817 (add_locale_raw_obstack): Likewise.
18818 (add_locale_string): Likewise.
18819 (add_locale_wstring): Likewise.
18820 (add_locale_uint32): Likewise.
18821 (add_locale_uint32_array): Likewise.
18822 (add_locale_char): Likewise.
18823 (start_locale_structure): Likewise.
18824 (end_locale_structure): Likewise.
18825 (start_locale_prelude): Likewise.
18826 (end_locale_prelude): Likewise.
18827 (write_locale_data): Update prototype.
18828 * locale/programs/3level.h (struct TABLE): Remove result field.
18829 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18830 Use new locale_file interface.
18831 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18832 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18833 * locale/programs/ld-address.c (address_output): Use new
18834 locale_file interface.
18835 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18836 NO_ADD_LOCALE.
18837 (collate_finish): Don't call collseq_table_finalize.
18838 (collate_output): Use new locale_file interface.
18839 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18840 in file.
18841 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18842 (TABLE): Move defines earlier in file.
18843 (ELEMENT): Likewise.
18844 (DEFAULT): Likewise.
18845 (wctrans_table_add): Move macro and inline function earlier in
18846 file.
18847 (struct wctype_table): Move type earlier in file.
18848 (add_locale_wctype_table): New static prototype.
18849 (struct locale_ctype_t): Use logical types instead of struct iovec
18850 pointers for members.
18851 (ctype_output): Use new locale_file interface.
18852 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18853 new locale_file interface.
18854 (allocate_arrays): Update for use of new locale_file interface.
18855 * locale/programs/ld-identification.c (identification_output): Use
18856 new locale_file interface.
18857 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18858 * locale/programs/ld-messages.c (messages_output): Likewise.
18859 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18860 * locale/programs/ld-name.c (name_output): Likewise.
18861 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18862 * locale/programs/ld-paper.c (paper_output): Likewise.
18863 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18864 * locale/programs/ld-time.c (time_output): Likewise.
18865
e029e2e5
AZ
188662013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18867
18868 * benchtests/Makefile: Add memrchr benchmark.
18869 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18870 benchmark as memrchr.
18871 * benchtests/bench-memrchr-ifunc.c: New file.
18872 * benchtests/bench-memrchr.c: New file.
18873
bbf6e8e4
WN
188742013-09-06 Will Newton <will.newton@linaro.org>
18875
18876 * benchtests/Makefile (string-bench): Add memcpy.
18877
6c82a2f8
CD
188782013-09-05 Carlos O'Donell <carlos@redhat.com>
18879 Cong Wang <amwang@redhat.com>
18880
e732c5f0 18881 [BZ #15850]
6c82a2f8
CD
18882 * sysdeps/unix/sysv/linux/bits/in.h
18883 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18884 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18885 before __USE_KERNEL_IPV6_DEFS uses.
18886 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18887 IPPROTO_BEETPH.
18888 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18889 sockaddr_in6, or ipv6_mreq.
18890
5430fc65
AZ
188912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18892
18893 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18894 memory access for final bytes in some large inputs.
18895 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18896
4660856c
AZ
188972013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18898
18899 * string/test-memrchr.c: New file.
18900 * string/test-memrchr-ifunc.c: New file.
18901 * string/Makefile: Add new memrchr testcase.
18902
bb8ea713
MF
189032013-09-05 Mike Frysinger <vapier@gentoo.org>
18904
18905 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18906 fanotify_init returns EPERM.
18907
b92a20b5
JM
189082013-09-04 Joseph Myers <joseph@codesourcery.com>
18909
18910 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18911 errors.
18912 (top level): Treat second token from macro or constant entries for
18913 allowed headers as allowed.
18914 * include/complex.h: Condition internal declarations on
18915 [!_ISOMAC].
18916 * include/fenv.h: Condition include of <stdbool.h> and internal
18917 declarations on [!_ISOMAC].
7447ccd9
CL
18918
189192013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18920
3e181dda 18921 [BZ #15923]
7447ccd9
CL
18922 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18923
3f2e46a4
JM
189242013-09-04 Joseph Myers <joseph@codesourcery.com>
18925
18926 * configure.in (--enable-versioning): Remove configure option.
18927 (libc_cv_asm_symver_directive): Remove configure test.
18928 (libc_cv_ld_version_script_option): Likewise.
18929 (VERSIONING): Remove variable and AC_SUBST.
18930 (DO_VERSIONING): Remove AC_DEFINE.
18931 * configure: Regenerated.
18932 * config.h.in (DO_VERSIONING): Remove macro.
18933 * Makerules [$(versioning) = yes]: Change conditionals to
18934 [$(build-shared) = yes].
18935 * config.make.in (versioning): Remove variable.
18936 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18937 [$(build-shared) = yes].
18938 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18939 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18940 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18941 [$(build-shared) = yes].
18942 * extra-lib.mk [$(versioning) = yes]: Likewise.
18943 * hurd/Makefile [$(versioning) = yes]: Likewise.
18944 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18945 [SHARED].
18946 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18947 [SHARED].
18948 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18949 [SHARED && !NO_HIDDEN].
18950 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18951 [SHARED].
18952 [SHARED && DO_VERSIONING]: Likewise..
18953 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18954 [$(build-shared) = yes].
18955 * manual/install.texi (--disable-versioning): Remove
18956 documentation.
18957 * INSTALL: Regenerated.
18958 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18959 to [SHARED].
18960 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18961 [$(build-shared) = yes].
18962 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18963 * sysdeps/i386/i686/multiarch/strstr-c.c
18964 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18965 [SHARED && !NO_HIDDEN].
18966 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18967 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18968 * sysdeps/powerpc/powerpc32/dl-machine.c
18969 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18970 * sysdeps/powerpc/powerpc32/sysdep.h
18971 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18972 to [SHARED && PIC && !NO_HIDDEN].
18973 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18974 conditional to [SHARED].
18975
44558701
WN
189762013-09-04 Will Newton <will.newton@linaro.org>
18977
18978 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18979 * benchtests/bench-string.h: Include bench-timing.h instead
18980 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18981 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18982 call to HP_TIMING_DIFF_INIT.
18983 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18984 instead of hp-timing.h macros.
18985 * benchtests/bench-memchr.c: Likewise.
18986 * benchtests/bench-memcmp.c: Likewise.
18987 * benchtests/bench-memcpy.c: Likewise.
18988 * benchtests/bench-memmem.c: Likewise.
18989 * benchtests/bench-memmove.c: Likewise.
18990 * benchtests/bench-memset.c: Likewise.
18991 * benchtests/bench-rawmemchr.c: Likewise.
18992 * benchtests/bench-strcasecmp.c: Likewise.
18993 * benchtests/bench-strcasestr.c: Likewise.
18994 * benchtests/bench-strcat.c: Likewise.
18995 * benchtests/bench-strchr.c: Likewise.
18996 * benchtests/bench-strcmp.c: Likewise.
18997 * benchtests/bench-strcpy.c: Likewise.
18998 * benchtests/bench-strcpy_chk.c: Likewise.
18999 * benchtests/bench-strlen.c: Likewise.
19000 * benchtests/bench-strncasecmp.c: Likewise.
19001 * benchtests/bench-strncat.c: Likewise.
19002 * benchtests/bench-strncmp.c: Likewise.
19003 * benchtests/bench-strncpy.c: Likewise.
19004 * benchtests/bench-strnlen.c: Likewise.
19005 * benchtests/bench-strpbrk.c: Likewise.
19006 * benchtests/bench-strrchr.c: Likewise.
19007 * benchtests/bench-strspn.c: Likewise.
19008 * benchtests/bench-strstr.c: Likewise.
19009
cae16d66
WN
190102013-09-04 Will Newton <will.newton@linaro.org>
19011
19012 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19013
ffa3cd7f
JM
190142013-09-03 Joseph Myers <joseph@codesourcery.com>
19015
19016 [BZ #15427]
19017 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19018 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19019 * math/libm-test.inc (lgamma_test_data): Add more tests.
19020 * sysdeps/i386/fpu/libm-test-ulps: Update.
19021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19022
8f02859f
OB
190232013-09-03 Ondřej Bílka <neleai@seznam.cz>
19024
19025 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19027 Add ifunc.
19028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19029 Add strcmp-sse2-unaligned
19030 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19031
18d43716
MF
190322013-09-02 Mike Frysinger <vapier@gentoo.org>
19033
19034 * Versions.def (libc): Add GLIBC_2.19.
19035
ac444012
MF
190362013-09-02 Mike Frysinger <vapier@gentoo.org>
19037
19038 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19039 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19040
b7835e32
JM
190412013-09-02 Joseph Myers <joseph@codesourcery.com>
19042
19043 [BZ #14155]
19044 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19045 intermediate calculations in recurrence.
19046 (__ieee754_ynf): Likewise.
19047 * math/libm-test.inc (jn_test_data): Do not allow spurious
19048 underflow exception. Add more tests.
19049 (yn_test_data): Add more tests.
19050 * sysdeps/i386/fpu/libm-test-ulps: Update.
19051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19052
8220f4f0
OB
190532013-09-02 Ondřej Bílka <neleai@seznam.cz>
19054
19055 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19056
f24a6d08
OB
190572013-08-30 Ondřej Bílka <neleai@seznam.cz>
19058
19059 * csu/init-first.c: Fix then/than typos.
19060 * locale/programs/ld-collate.c: Likewise.
19061 * locale/programs/linereader.h: Likewise.
19062 * manual/charset.texi: Likewise.
19063 * manual/filesys.texi: Likewise.
19064 * manual/stdio.texi: Likewise.
19065 * manual/string.texi: Likewise.
19066 * stdlib/fmtmsg.c: Likewise.
19067 * sysdeps/i386/stpncpy.S: Likewise.
19068 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19069 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19070 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19071 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19072
382466e0
OB
190732013-08-30 Ondřej Bílka <neleai@seznam.cz>
19074
19075 * elf/dl-open.c: Fix typos.
19076 * iconvdata/gbbig5.c: Likewise.
19077 * iconvdata/iso-2022-jp.c: Likewise.
19078 * iconv/gconv_int.h: Likewise.
19079 * iconv/loop.c: Likewise.
19080 * nis/rpcsvc/nis.h: Likewise.
19081 * resolv/ns_name.c: Likewise.
19082 * stdio-common/vfscanf.c: Likewise.
19083 * streams/stropts.h: Likewise.
19084 * sunrpc/rpc_thread.c: Likewise.
19085 * sysdeps/i386/strpbrk.S: Likewise.
19086 * sysdeps/ieee754/k_standard.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19089 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19090 * sysdeps/mach/hurd/profil.c: Likewise.
19091 * sysdeps/s390/dl-procinfo.h: Likewise.
19092 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19093 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19094 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19095 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19097
0186c6e9
OB
190982013-08-30 Ondřej Bílka <neleai@seznam.cz>
19099
19100 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19102
d4e16af1
OB
191032013-08-29 Ondřej Bílka <neleai@seznam.cz>
19104
19105 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19106 aix specific files.
19107 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19108 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19110 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19111 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19112 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19113 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19114 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19115
88335980
TS
191162013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19117 Roland McGrath <roland@hack.frob.com>
19118
19119 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19120 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19121
ed479b02
ST
191222013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19123
19124 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19125 __executable_start symbol instead of _start.
19126
f1cc4c86
TS
191272013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19128
d821f07c
TS
19129 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19130 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19131 Move macros to...
19132 * sysdeps/gnu/ldsodefs.h: ... this new file.
19133
c54290cf
TS
19134 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19135 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19136 instead of ELFOSABI_LINUX.
19137
0007fc9b 19138 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19139 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19140 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19141 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19142 Likewise.
19143 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19144 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19146 Likewise.
19147 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19148 (ibm_extended_long_double): Add ieee_nan member.
19149 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19150 (do_test): New function.
19151
f1cc4c86
TS
19152 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19153 TEST_TRUNC.
19154 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19155 functions, renamed from truncdfsf_test, trunctfsf_test,
19156 trunctfdf_test.
19157 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19158 functions.
19159 (do_test): Run all these.
19160
6f65e668
OB
191612013-08-29 Ondřej Bílka <neleai@seznam.cz>
19162
19163 * argp/argp-help.c: Fix typos.
19164 * argp/argp-parse.c: Likewise.
19165 * debug/backtracesyms.c: Likewise.
19166 * elf/elf.h: Likewise.
19167 * malloc/malloc.c: Likewise.
19168 * nis/nis_print.c: Likewise.
19169 * resolv/res_comp.c: Likewise.
19170 * stdlib/stdlib.h: Likewise.
19171 * sunrpc/clnt_tcp.c: Likewise.
19172 * sunrpc/clnt_udp.c: Likewise.
19173 * sunrpc/clnt_unix.c: Likewise.
19174 * sysdeps/unix/bsd/ptsname.c: Likewise.
19175 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19176 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19178 Likewise.
19179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19180 Likewise.
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19182 Likewise.
6f65e668
OB
19183 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19184
3a309239
SP
191852013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19186
19187 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19189
3b813b29
MF
191902013-08-27 Mike Frysinger <vapier@gentoo.org>
19191
19192 [BZ #15897]
19193 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19194 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19195 ($(objpfx)bug-dl-leaf): New rule.
19196 ($(objpfx)bug-dl-leaf.so): Likewise.
19197 ($(objpfx)bug-dl-leaf.out): Likewise.
19198 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19199 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19200 * dlfcn/bug-dl-leaf.c: New test.
19201 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19202 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19203 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19204 (dlclose): Likewise.
19205 (dlmopen): Likewise.
19206
8cc3269f
RM
192072013-08-27 Roland McGrath <roland@hack.frob.com>
19208
7f9d0034
RM
19209 * include/netdb.h [!_ISOMAC]:
19210 Don't include <tls.h>.
19211 (h_errno, __libc_h_errno): Move declaration and macros out of
19212 [_LIBC_REENTRANT].
19213
fb431262
RM
19214 * include/resolv.h [_RESOLV_H_]:
19215 Don't include <tls.h>.
19216 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19217 * resolv/res_libc.c: Don't include <tls.h>.
19218 (_res): Use __attribute__ ((nocommon)) in place of
19219 __attribute__ ((section (".bss"))).
19220
bd81123a
RM
19221 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19222 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19223
c4e42566
RM
19224 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19225
f890a59b
RM
19226 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19227 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19228
19229 * resolv/res_mkquery.c: Include <sys/time.h>.
19230
5d1f0a09
RM
19231 * inet/ifreq.c: Moved to ...
19232 * sysdeps/unix/ifreq.c: ... here.
19233 * inet/ifreq.c: New file, true stub version.
19234
6fcf28b3
RM
19235 * socket/sa_len.c: New file.
19236 * socket/Makefile (aux): Add it.
19237 * sysdeps/unix/sysv/linux/Makefile
19238 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19239 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19240 and #include <socket/sa_len.c>.
19241 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19242 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19243
e041fb8b
RM
19244 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19245 * bits/socket.h: ... here.
19246
8cc3269f
RM
19247 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19248 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19249 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19250
5d228a43
AS
192512013-08-27 Andreas Schwab <schwab@suse.de>
19252
45b8accc
AS
19253 [BZ #15736]
19254 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19255 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19256 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19257 * string/test-strcasecmp.c (test_main): Run tests in several
19258 locales.
19259 * string/test-strncasecmp.c (test_main): Likewise.
19260
5d228a43
AS
19261 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19262 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19263 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19265 (__strncasecmp_ssse3) [PIC]: Likewise.
19266
59d112a4
RM
192672013-08-26 Roland McGrath <roland@hack.frob.com>
19268
53234cc3
RM
19269 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19270
59d112a4
RM
19271 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19272 instead of explicitly declaring xdecrypt.
19273 * nis/nss_nis/nis-publickey.c: Likewise.
19274
595aba70
SP
192752013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19276
19277 [BZ #15890]
19278 * nscd/aicache.c: Include res_hconf.h.
19279 (addhstaiX): Initialize res_hconf.
19280
ffabd393
AS
192812013-08-26 Andreas Schwab <schwab@suse.de>
19282
19283 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19284 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19285
e0a69f5c
SP
192862013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19287
19288 * nscd/aicache.c (addhstaiX): Fix indentation.
19289
8c12f01d
MF
192902013-08-25 Mike Frysinger <vapier@gentoo.org>
19291
19292 * configure.ac: Quote $build_pt_chown test.
19293 * configure: Regenerated.
19294
8fe89494
JM
192952013-08-23 Joseph Myers <joseph@codesourcery.com>
19296
19297 [BZ #15532]
19298 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19299 * math/s_cexpf.c (__cexpf): Likewise.
19300 * math/s_cexpl.c (__cexpl): Likewise.
19301 * math/libm-test.inc (cexp_test_data): Correct expected return
19302 value for NaN + i0. Add another test.
19303
75b181d6
DM
193042013-08-22 David S. Miller <davem@davemloft.net>
19305
19306 * po/ca.po: Update Catalan translation from translation project.
936241e4 19307 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19308
acd06bb1
JM
193092013-08-21 Joseph Myers <joseph@codesourcery.com>
19310
19311 [BZ #15797]
19312 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19313 is infinite, not alongside NaN test.
19314 * math/s_fdimf.c (__fdimf): Likewise.
19315 * math/s_fdiml.c (__fdiml): Likewise.
19316 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19317 errno is unchanged.
19318
c0c3f78a
OB
193192013-08-21 Ondřej Bílka <neleai@seznam.cz>
19320
19321 * argp/argp-help.c: Fix typos.
19322 * crypt/speeds.c: Likewise.
19323 * csu/check_fds.c: Likewise.
19324 * elf/dl-load.c: Likewise.
19325 * elf/dl-open.c: Likewise.
19326 * elf/reldep3.c: Likewise.
19327 * elf/reldep.c: Likewise.
19328 * elf/sprof.c: Likewise.
19329 * iconv/iconv_charmap.c: Likewise.
19330 * iconv/skeleton.c: Likewise.
19331 * iconv/strtab.c: Likewise.
19332 * io/lockf64.c: Likewise.
19333 * libio/libioP.h: Likewise.
19334 * resolv/gai_notify.c: Likewise.
19335 * resolv/ns_name.c: Likewise.
19336 * resolv/ns_samedomain.c: Likewise.
19337 * resolv/res_send.c: Likewise.
19338 * stdlib/random.c: Likewise.
19339 * sunrpc/rpc/xdr.h: Likewise.
19340 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19341 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19344 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19347 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19348 * sysdeps/mach/hurd/check_fds.c: Likewise.
19349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19350 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19352 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19353 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19354 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19355 * sysdeps/pthread/aio_notify.c: Likewise.
19356 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19357 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19358 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19360 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19361
46ed1038
LD
193622013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19363
19364 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19365 version if bit_Slow_SSE4_2 is set.
19366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19367 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19368
d400dcac
AZ
193692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19370
19371 [BZ #15867]
19372 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19373 trampoline stack frame information.
19374 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19375 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19376 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19377 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19378 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19379 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19380 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19381 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19382 sa_flags value.
19383 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19384 interrupting a syscall and set with option SA_SIGINFO.
19385
42c8fdd8
JM
193862013-08-20 Joseph Myers <joseph@codesourcery.com>
19387
c980f2f4
JM
19388 [BZ #15531]
19389 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19390 argument is infinite.
19391 * math/s_cprojf.c (__cprojf): Likewise.
19392 * math/s_cprojl.c (__cprojl): Likewise.
19393 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19394 * math/libm-test.inc (cproj_test_data): Add more tests.
19395
0716c4fc
JM
19396 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19397
42c8fdd8
JM
19398 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19399 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19400 size. Use __ffs to determine corresponding shift.
19401
b31469d0
JM
194022013-08-20 Joseph Myers <joseph@codesourcery.com>
19403 Roland McGrath <roland@hack.frob.com>
19404
19405 * Makefile (INSTALL): Remove trailing blank lines from output of
19406 makeinfo.
19407
4e39af6e
AK
194082013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19409
19410 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19411 Align 32 bit compat elf_greg to 8 bytes.
19412
f315524e
AA
194132013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19414
19415 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19416
1326ba1a
SP
194172013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19418
19419 * string/strcoll_l.c (coll_seq): New structure.
19420 (get_next_seq_cached): New function.
19421 (get_next_seq): New function.
19422 (do_compare): New function.
19423 (STRCOLL): Use GNU style definition. Simplify implementation
19424 by using get_next_seq, get_next_seq_cached and do_compare.
19425
91ce4085
FW
194262013-08-16 Florian Weimer <fweimer@redhat.com>
19427
19428 [BZ #14699]
19429 CVE-2013-4237
19430 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19431 member.
19432 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19433 member.
19434 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19435 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19436 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19437 conditional.
19438 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19439 GETDENTS_64BIT_ALIGNED.
19440 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19441 * manual/filesys.texi (Reading/Closing Directory): Document
19442 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19443 strongly.
19444 * manual/conf.texi (Limits for Files): Add portability note to
19445 NAME_MAX, PATH_MAX.
19446 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19447
ca0a6bc4
AS
194482013-08-13 Andreas Schwab <schwab@suse.de>
19449
19450 [BZ #15749]
19451 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19452 of fabs.
19453 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19454 LDBL_MAX_EXP >= 16384]: Add tests for it.
19455
6c1fd795
DM
194562013-08-12 David S. Miller <davem@davemloft.net>
19457
19458 * version.h (RELEASE): Set to "development".
19459 (VERSION): Set to "2.18.90".
19460 * NEWS: Add 2.19 section.
19461
31ad488d
DM
194622013-08-03 David S. Miller <davem@davemloft.net>
19463
19464 * po/ko.po: Update Korean translation from translation project.
19465
db24e684
DM
194662013-08-01 David S. Miller <davem@davemloft.net>
19467
19468 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19469 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19470 Bilka.
19471
f723285b
DM
194722013-07-30 David S. Miller <davem@davemloft.net>
19473
19474 * po/fr.po: Update French translation from translation project.
19475
3cbc52db
DM
194762013-07-28 David S. Miller <davem@davemloft.net>
19477
30bbc0cc
DM
19478 * po/cs.po: Update Czech translation from translation project.
19479
3cbc52db
DM
19480 * po/sv.po: Update Swedish translation from translation project.
19481
d492e6d0
DM
194822013-07-27 David S. Miller <davem@davemloft.net>
19483
f1a7f492
DM
19484 * po/eo.po: Update Esperanto translation from translation project.
19485
90e62a4a
DM
19486 * po/vi.po: Update Vietnamese translation from translation project.
19487
d492e6d0
DM
19488 * po/de.po: Update German translation from translation project.
19489
d4baa62d
DM
194902013-07-26 David S. Miller <davem@davemloft.net>
19491
641aa7b4
DM
19492 * po/bg.po: Update Bulgarian translation from translation project.
19493
d4baa62d
DM
19494 * po/nl.po: Update Dutch translation from translation project.
19495 * po/pl.po: Update Polish translation from translation project.
19496 * po/ru.po: Update Russian translation from translation project.
19497
61a9dcb9
DM
194982013-07-24 David S. Miller <davem@davemloft.net>
19499
19500 * po/libc.pot: Update.
19501
7b1f8b58
AZ
195022013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19503
19504 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19505 variable page size.
19506 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19507 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19508 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19509
a8fc7a03
AK
195102013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19511
19512 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19513
e4608715
CD
195142013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19515 Andreas Schwab <schwab@suse.de>
19516 Roland McGrath <roland@hack.frob.com>
19517 Joseph Myers <joseph@codesourcery.com>
19518 Carlos O'Donell <carlos@redhat.com>
19519
19520 [BZ #15755]
19521 * config.h.in: Define HAVE_PT_CHOWN.
19522 * config.make.in (build-pt-chown): New variable.
19523 * configure.in (--enable-pt_chown): New configure option.
19524 * configure: Regenerate.
19525 * login/Makefile: Include Makeconfig. Build pt_chown only if
19526 build-pt-chown is enabled.
19527 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19528 pt_chown to fix pty ownership.
19529 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19530 CLOSE_ALL_FDS.
19531 * manual/install.texi (Configuring and compiling): Mention
19532 --enable-pt_chown. Add @findex for grantpt.
19533 * INSTALL: Regenerate.
19534
da2d62df
DM
195352013-07-20 David S. Miller <davem@davemloft.net>
19536
19537 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19538 difference between 32-bit and 64-bit.
19539
d7e06450
CD
195402013-07-15 Carlos O'Donell <carlos@redhat.com>
19541
19542 [BZ #15711]
19543 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19544 Avoid system header dependency with -ffreestanding.
19545 ($(objpfx)bits/syscall%d): Likewise.
19546
f959cfd7
DM
195472013-07-13 David S. Miller <davem@davemloft.net>
19548
19549 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19550 underflows from atanl/atan2l due to bug 15319.
19551 (casinh_test_data): Likewise.
19552
c61f8513
DM
195532013-07-07 David S. Miller <davem@davemloft.net>
19554
19555 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19556
72c90ed0
JA
195572013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19558
19559 * sysdeps/i386/fpu/libm-test-ulps: Update.
19560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19561
52dfbe13
SP
195622013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19563
19564 * configure.in (--enable-lock-elision): Fix message text.
19565 * INSTALL: Regenerate.
19566 * configure: Regenerate.
19567
3f169543
AZ
195682013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19569
19570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19571
521c6785
AJ
195722013-07-03 Andreas Jaeger <aj@suse.de>
19573
19574 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19575 define.
19576 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19577 (ptrace_peeksiginfo_args): Add.
19578 (__ptrace_peeksiginfo_flags): Add.
19579 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19582
d2cc15cb
AM
195832013-07-03 Allan McRae <allan@archlinux.org>
19584
19585 * sysdeps/i386/fpu/libm-test-ulps: Update.
19586
3aaeeca7
DM
195872013-07-02 David S. Miller <davem@davemloft.net>
19588
19589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19590
5314ed1a
MT
195912013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19592
19593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19594
67338156
JM
195952013-07-02 Joseph Myers <joseph@codesourcery.com>
19596
19597 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19599
1717da59
AK
196002013-07-02 Andi Kleen <ak@linux.intel.com>
19601
19602 * config.h.in (ENABLE_LOCK_ELISION): Add.
19603 * configure.in (--enable-lock-elision): Add option.
19604 * manual/install.texi: Document --enable lock elision.
19605 * configure: Regenerate
19606 * INSTALL: Regenerate.
19607
1c81621c
L
196082013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19609
19610 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19611 SSE4.2 strcasecmp for libc.a.
19612 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19613
77f01ab5
JM
196142013-07-02 Joseph Myers <joseph@codesourcery.com>
19615
19616 [BZ #13304]
19617 * soft-fp/op-common.h (_FP_FMA): New macro.
19618 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19619 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19620 (_FP_MUL_MEAT_1_imm): ... here.
19621 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19622 (_FP_MUL_MEAT_1_wide): ... here.
19623 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19624 (_FP_MUL_MEAT_1_hard): ... here.
19625 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19626 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19627 (_FP_MUL_MEAT_2_wide): ... here.
19628 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19629 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19630 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19631 (_FP_MUL_MEAT_2_gmp): ... here.
19632 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19633 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19634 (_FP_MUL_MEAT_4_wide): ... here.
19635 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19636 (_FP_MUL_MEAT_4_gmp): ... here.
19637 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19638 (_FP_WFRACBITS_DW_S): Likewise.
19639 (_FP_WFRACXBITS_DW_S): Likewise.
19640 (_FP_HIGHBIT_DW_S): Likewise.
19641 (FP_FMA_S): Likewise.
19642 (_FP_FRAC_HIGH_DW_S): Likewise.
19643 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19644 (_FP_WFRACBITS_DW_D): Likewise.
19645 (_FP_WFRACXBITS_DW_D): Likewise.
19646 (_FP_HIGHBIT_DW_D): Likewise.
19647 (FP_FMA_D): Likewise.
19648 (_FP_FRAC_HIGH_DW_D): Likewise.
19649 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19650 (_FP_WFRACBITS_DW_E): Likewise.
19651 (_FP_WFRACXBITS_DW_E): Likewise.
19652 (_FP_HIGHBIT_DW_E): Likewise.
19653 (FP_FMA_E): Likewise.
19654 (_FP_FRAC_HIGH_DW_E): Likewise.
19655 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19656 (_FP_WFRACBITS_DW_Q): Likewise.
19657 (_FP_WFRACXBITS_DW_Q): Likewise.
19658 (_FP_HIGHBIT_DW_Q): Likewise.
19659 (FP_FMA_Q): Likewise.
19660 (_FP_FRAC_HIGH_DW_Q): Likewise.
19661 * soft-fp/fmasf4.c: New file.
19662 * soft-fp/fmadf4.c: Likewise.
19663 * soft-fp/fmatf4.c: Likewise.
19664
6308fd9a
LD
196652013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19666
19667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19668 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19669 Silvermont.
19670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19671 macro.
19672 (index_Slow_SSE4_2): Likewise.
19673 (index_Prefer_PMINUB_for_stringop): Likewise.
19674 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19675 bit_Slow_SSE4_2 is set.
19676 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19677 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19678
89cd9569
RA
196792013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19680
19681 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19682 rtld_global._dl_hwcap2.
19683 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19684 POWER8.
19685 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19686 POWER8 feature descriptions defined in _dl_hwcap2.
19687 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19688 string handling for POWER8 feature bits.
19689 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19690 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19691 _dl_powerpc_cap_flags.
19692 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19693 * sysdeps/powerpc/rtld-global-offsets.sym
19694 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19695 _dl_hwcap2 in the rtld_global_ro structure.
19696
1ae8bfe0
RA
196972013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19698
19699 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19700 hardware capabilities in support of AT_HWCAP2.
19701 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19702 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19703 GLRO(dl_hwcap2).
19704 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19705 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19706 explicitly the unknown a_type display mechanism is used.
19707 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19708 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19709 struct member.
19710 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19711 to macro prototype for AT_HWCAP2 support.
19712 * sysdeps/i386/dl-procinfo.h: Likewise.
19713 * sysdeps/s390/dl-procinfo.h: Likewise.
19714 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19715 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19716 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19717 return -1 for unknown a_type display fallback.
19718 * sysdeps/sparc/dl-procinfo.h: Likewise.
19719 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19720 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19721
8fbec010
JM
197222013-06-28 Joseph Myers <joseph@codesourcery.com>
19723
19724 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19725 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19726
0432680e
PY
197272013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19728
19729 [BZ #12492]
19730 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19731 mprotect making __stack_prot writable.
19732
ce61a2ad
NF
197332013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19734 Joseph Myers <joseph@codesourcery.com>
19735
19736 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19737 as being properly aligned.
19738
f91f1c0f
MR
197392013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19740
3d0f5d0c
MR
19741 * dlfcn/modstatic5.c: New file.
19742 * dlfcn/tststatic5.c: New file.
19743 * dlfcn/Makefile (tests): Add tststatic5.
19744 (tests-static): Likewise.
19745 (modules-names): Add modstatic5.
19746 (tststatic5-ENV): New variable.
19747 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19748
f91f1c0f
MR
19749 [BZ #15022]
19750 * elf/dl-support.c (_dl_main_map): New variable.
19751 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19752 (_dl_nns, _dl_load_adds): Set to 1.
19753 (_dl_initial_searchlist): Refer to _dl_main_map.
19754 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19755 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19756 call to _dl_get_origin.
19757 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19758 around call_map.
19759 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19760 * dlfcn/modstatic3.c: New file.
19761 * dlfcn/tststatic3.c: New file.
19762 * dlfcn/tststatic4.c: New file.
19763 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19764 (tests-static): Likewise.
19765 (modules-names): Add modstatic3.
19766 (tststatic3-ENV, tststatic4-ENV): New variables.
19767 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19768 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19769
cbe7d24b
JM
197702013-06-26 Joseph Myers <joseph@codesourcery.com>
19771
19772 * configure.in (CC): Require GCC version 4.4 or later.
19773 * configure: Regenerated.
19774 * manual/install.texi (Tools for Compilation): Update GCC version
19775 requirement.
19776 * INSTALL: Regenerated.
19777
11b8a0e1
LD
197782013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19779
19780 [BZ #15674]
bb5bb87c
L
19781 * string/test-memcmp.c (check2): New.
19782 (main): Call check2.
19783
11b8a0e1
LD
19784 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19785
b0037103
MR
197862013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19787
19788 [BZ #15022]
19789 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19790 over to...
19791 (dl_open_worker) [!SHARED]: ... here.
19792
c18c701d
RA
197932013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19794
19795 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19796
1d17fa5f
RH
197972013-06-25 Richard Henderson <rth@redhat.com>
19798
19799 * locale/programs/locarchive.c: Include <libc-internal.h>
19800
8fcb833a
JM
198012013-06-25 Joseph Myers <joseph@codesourcery.com>
19802
19803 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19804 trailing whitespace removed.
19805
17db6e8d
MF
198062013-06-24 Mike Frysinger <vapier@gentoo.org>
19807
19808 [BZ #10283]
17db6e8d
MF
19809 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19810 * locale/programs/locarchive.c: Include libc-mmap.h.
19811 (prepare_address_space): Take two new outputs (the mmap base and len).
19812 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19813 values.
19814 (create_archive): Declare new mmap base and len values for
19815 prepare_address_space, and store the result in ah.
19816 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19817 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19818 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19819 Declare new mmap base and len values for
19820 prepare_address_space, and store the result in new_ah.
19821 (open_archive): Declare new mmap base and len values for
19822 prepare_address_space, and store the result in ah.
19823 (close_archive): If ah->mmap_base is not NULL, use that and
19824 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19825 * sysdeps/generic/libc-mmap.h: New file.
19826
d605071e
MF
198272013-06-24 Mike Frysinger <vapier@gentoo.org>
19828
19829 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19830 (ALIGN_UP): Likewise.
19831 (PTR_ALIGN_DOWN): Likewise.
19832 (PTR_ALIGN_UP): Likewise.
19833
2f063a6e
RA
198342013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19835
19836 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19837 entry mapped to PPC_PLATFORM_POWER8.
19838 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19839 POWER8.
19840 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19841 (_dl_string_platform): Add case for exporting platform position for
19842 POWER8.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19844 search path to sysdeps/powerpc/powerpc32/power8 directory.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19846 search path to sysdeps/powerpc/powerpc64/power8 directory.
19847 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19848 power7 directories.
19849 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19850 power7 directories.
19851
a31ee4b3
SP
198522013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19853
a74ca98f
SP
19854 * INSTALL: Regenerate.
19855
a31ee4b3
SP
19856 * nscd/connections.c (nscd_init): Fix comment.
19857
695c378f
JM
198582013-06-22 Joseph Myers <joseph@codesourcery.com>
19859
d8412221
JM
19860 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19861
695c378f
JM
19862 [BZ #15667]
19863 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19864 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19865
d1d54715
MR
198662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19867
19868 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19869 DL_DST_REQ_STATIC.
19870 (DL_DST_REQ_STATIC): Remove macro.
19871
8fdda7af
JM
198722013-06-21 Joseph Myers <joseph@codesourcery.com>
19873
19874 [BZ #7006]
19875 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19876 with a shift of 0 bits.
19877
f3bc5e5a
MR
198782013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19879
19880 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19881 $(tststatic-ENV).
19882
be09e8c9
KK
198832013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19884
19885 [BZ #15655]
19886 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19887
85c2e611
AZ
198882013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19889
19890 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19891 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19892 accepts -fno-tree-loop-distribute-patterns.
19893 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19894 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19895 recursive call.
19896 * string/memset.c (memset): Likewise.
19897 * string/test-memmove.c (simple_memmove): Disable loop transformation
19898 to library calls.
19899 * string/test-memset.c (simple_memset): Likewise.
19900 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19901 * benchtests/bench-memset.c (simple_memset): Likewise.
19902 * configure: Regenerated.
19903
c91e0825
JM
199042013-06-20 Joseph Myers <joseph@codesourcery.com>
19905
b8c792af
JM
19906 * math/test-misc.c (main): Ignore fesetround failure when failures
19907 of subsequent rounding tests would be ignored.
19908
c91e0825
JM
19909 [BZ #15654]
19910 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19911 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19912 * math/fegetenv.c (__fegetenv): Return 0.
19913 * math/fegetexcept.c (fegetexcept): Return 0.
19914 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19915 FE_TONEAREST.
19916 * math/feholdexcpt.c (feholdexcept): Return 0.
19917 * math/fesetenv.c (__fesetenv): Return 0.
19918 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19919 argument FE_TONEAREST.
19920 * math/feupdateenv.c (__feupdateenv): Return 0.
19921 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19922
bfcacbde
RM
199232013-06-18 Roland McGrath <roland@hack.frob.com>
19924
19925 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19926 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19927 ($(objpfx)rtld-%.os rules): Use them.
19928
e55a9b25
AZ
199292013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19930
19931 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19932 fields.
19933
346d65b3
RM
199342013-06-17 Roland McGrath <roland@hack.frob.com>
19935
12086fb4
RM
19936 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19937 length of target pattern, then descending length of dependency pattern.
19938 * configure.in (AWK): Require gawk 3.1.2 or newer.
19939 * manual/install.texi (Tools for Compilation): Say that we do.
19940 * configure: Regenerated.
19941
346d65b3
RM
19942 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19943 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19944 * scripts/sysd-rules.awk: ... this new script.
19945 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19946 than a glob-style pattern.
19947
1a846317
JM
199482013-06-17 Joseph Myers <joseph@codesourcery.com>
19949
19950 * math/test-misc.c (main): Do not treat incorrectly rounded
19951 conversions as failure unless ROUNDING_TESTS passes.
19952
8fc75e6f
JM
199532013-06-15 Joseph Myers <joseph@codesourcery.com>
19954
3711a167
JM
19955 [BZ #15631]
19956 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19957 restore exception state around main square root computation, then
19958 check for inexactness explicitly.
19959
8fc75e6f
JM
19960 * math/libm-test.inc (fma_test_data): Add another test.
19961
61dd6208
SP
199622013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19963
adf23d2c
SP
19964 * manual/threads.texi (Non-POSIX Extensions): New document
19965 node. Document pthread_getattr_default_np and
19966 pthread_setattr_default_np.
19967
61dd6208
SP
19968 * Versions.def (libpthread): Add GLIBC_2.18.
19969 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19971 Likewise.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19973 Likewise.
19974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19975 Likewise.
19976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19977 Likewise.
19978 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19979 Likewise.
19980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19981 Likewise.
19982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19983 Likewise.
19984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19985 Likewise.
19986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19987 Likewise.
19988
d086fc7b
LD
199892013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19990
19991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19992 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19993
747ef469
SP
199942013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19995 H.J. Lu <hjl.tools@gmail.com>
19996
19997 [BZ #15627]
19998 * sysdeps/x86_64/rtld-memset.c: Remove file.
19999 * sysdeps/x86_64/rtld-memset.S: New file.
20000
1b2feed2
JM
200012013-06-14 Joseph Myers <joseph@codesourcery.com>
20002
20003 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20004 (test_in_one_mode): Take arguments for whether the rounding mode
20005 is supported for each floating-point type.
20006 (do_test): Pass new arguments to test_in_one_mode using
20007 ROUNDING_TESTS.
20008
a58ad3f8
RM
200092013-06-13 Roland McGrath <roland@hack.frob.com>
20010
20011 * posix/tst-waitid.c (do_test): Distinguish different instances of
20012 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20013 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20014 before entering the kernel for waitpid.
20015
c204ab28
SP
200162013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20017
20018 * NEWS: Fix note on clock function precision. Text by Roland
20019 McGrath.
20020
f4a29fba
RM
200212013-06-13 Roland McGrath <roland@hack.frob.com>
20022
20023 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20024 it into place only when and if the sanity check passes.
20025
1f24b9ad
JM
200262013-06-13 Joseph Myers <joseph@codesourcery.com>
20027
20028 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20029 output for whether conversion result is exact. Take argument
20030 indicating whether type is IBM long double.
20031 (round_for_all): Change need_exact field to ibm_ld.
20032 * stdlib/tst-strtod-round.c (struct exactness): New type.
20033 (struct test): Change bool ld_ok field to struct exactness exact.
20034 (TEST): Update all definitions for change to field.
20035 (tests): Regenerate array contents.
20036 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20037 field value. Check for IBM long double here.
20038 (do_test): Update calls to test_in_one_mode.
20039
58206c68
SP
200402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20041
20042 [BZ #12515]
20043 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20044 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20045
2d6f4c5b 200462013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20047
20048 [BZ #15605]
20049 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20050 generated by the compiler on loop optimizations.
20051 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20052 general definitions.
20053
94f2c076
JM
200542013-06-12 Joseph Myers <joseph@codesourcery.com>
20055
20056 * math/bug-nextafter.c: Include <math-tests.h>.
20057 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20058 the relevant type.
20059 * math/bug-nexttoward.c: Include <math-tests.h>.
20060 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20061 the relevant type.
20062 * math/test-misc.c: Include <math-tests.h>.
20063 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20064 the relevant type.
20065
e0e50a0a
AJ
200662013-06-12 Andreas Jaeger <aj@suse.de>
20067
20068 * po/ia.po: Update Interlingua translation from translation
20069 project.
20070
25061094
SP
200712013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20072
20073 * include/fenv.h: Include stdbool.h.
20074 (struct rm_ctx): New structure.
20075 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20076 Define macro.
20077 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20078 (SET_RESTORE_ROUNDF): Likewise.
20079 (SET_RESTORE_ROUNDL): Likewise.
20080 (SET_RESTORE_ROUND_NOEX): Likewise.
20081 (SET_RESTORE_ROUND_NOEXF): Likewise.
20082 (SET_RESTORE_ROUND_NOEXL): Likewise.
20083 (SET_RESTORE_ROUND_53BIT): Likewise.
20084 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20085 (libc_feresetround_noexf_ctx): Likewise.
20086 (libc_feresetround_noexl_ctx): Likewise.
20087 (libc_feholdsetround_53bit_ctx): Likewise.
20088 (libc_feresetround_53bit_ctx): Likewise.
20089 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20090 (libc_feholdexcept_setround_sse_ctx): New function.
20091 (libc_fesetenv_sse_ctx): Likewise.
20092 (libc_feupdateenv_sse_ctx): Likewise.
20093 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20094 (libc_feholdexcept_setround_387_ctx): Likewise.
20095 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20096 (libc_feholdsetround_387_prec_ctx): Likewise.
20097 (libc_feholdsetround_387_ctx): Likewise.
20098 (libc_feholdsetround_387_53bit_ctx): Likewise.
20099 (libc_feholdsetround_sse_ctx): Likewise.
20100 (libc_feresetround_sse_ctx): Likewise.
20101 (libc_feresetround_387_ctx): Likewise.
20102 (libc_feupdateenv_387_ctx): Likewise.
20103 (libc_feholdexcept_setroundf_ctx): Define macro.
20104 (libc_fesetenvf_ctx): Likewise.
20105 (libc_feupdateenvf_ctx): Likewise.
20106 (libc_feholdsetroundf_ctx): Likewise.
20107 (libc_feresetroundf_ctx): Likewise.
20108 (libc_feholdexcept_setround_ctx): Likewise.
20109 (libc_fesetenv_ctx): Likewise.
20110 (libc_feupdateenv_ctx): Likewise.
20111 (libc_feholdsetround_ctx): Likewise.
20112 (libc_feresetround_ctx): Likewise.
20113 (libc_feholdexcept_setroundl_ctx): Likewise.
20114 (libc_feupdateenvl_ctx): Likewise.
20115 (libc_feholdsetroundl_ctx): Likewise.
20116 (libc_feresetroundl_ctx): Likewise.
20117 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20118 (libc_feresetround_53bit_ctx): Likewise.
20119
59b30555
SP
201202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20121
20122 * locale/iso-639.def: Convert to UTF-8.
20123
f1d73d30
JM
201242013-06-11 Joseph Myers <joseph@codesourcery.com>
20125
20126 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20127 (EXCEPTION_TESTS_double): Likewise.
20128 (EXCEPTION_TESTS_long_double): Likewise.
20129 (EXCEPTION_TESTS): Likewise.
20130 * math/libm-test.inc (test_exceptions): Only test exceptions if
20131 EXCEPTION_TESTS (FLOAT).
20132
94aca5e7
SP
201332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20134
20135 * benchtests/Makefile (string-bench): Add strcpy_chk and
20136 stpcpy_chk.
20137 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20138 * benchtests/bench-stpcpy_chk.c: New file.
20139 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20140 * benchtests/bench-strcpy_chk.c: New file.
20141 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20142 code.
20143 (do_test): Likewise.
20144
fac0c5f2
RA
201452013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20146
20147 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20148 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20149 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20150 with tabs where appropriate.
20151 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20152 dl-procinfo.h.
20153 [PPC_PLATFORM_PPC440]: Likewise.
20154 [PPC_PLATFORM_PPC464]: Likewise.
20155 [PPC_PLATFORM_PPC476]: Likewise.
20156 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20157 ppc464, and ppc476 platform strings merging from ports/
20158 dl-procinfo.h.
20159
f22bc486
AS
201602013-06-11 Andreas Schwab <schwab@suse.de>
20161
20162 [BZ #14991]
20163 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20164 (from_ucs4_idx): Regenerate.
20165 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20166 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20167 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20168 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20169 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20170 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20171 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20172 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20173 from FROM_LOOP and TO_LOOP specific macros.
20174 (BODY): Handle combining characters.
20175 * iconvdata/BIG5HKSCS.irreversible: Update.
20176 * iconvdata/BIG5HKSCS.precomposed: New file.
20177 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20178 characters.
20179 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20180
c1f75dc3
SP
201812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20182
4eacded2
SP
20183 * include/sys/time.h: Fix indentation and add copyright header.
20184
fec799f8
SP
20185 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20186 (do_test): Likewise.
20187 * string/test-memchr.c (do_one_test): Likewise.
20188 (do_test): Likewise.
20189 * string/test-memcmp.c (do_one_test): Likewise.
20190 (do_test): Likewise.
20191 * string/test-memcpy.c (do_one_test): Likewise.
20192 (do_test): Likewise.
20193 * string/test-memmem.c (do_one_test): Likewise.
20194 (do_test): Likewise.
20195 (do_random_tests): Likewise.
20196 * string/test-memmove.c (do_one_test): Likewise.
20197 (do_test): Likewise.
20198 * string/test-memset.c (do_one_test): Likewise.
20199 (do_test): Likewise.
20200 * string/test-rawmemchr.c (do_one_test): Likewise.
20201 (do_test): Likewise.
20202 * string/test-strcasecmp.c (do_one_test): Likewise.
20203 (do_test): Likewise.
20204 * string/test-strcasestr.c (do_one_test): Likewise.
20205 (do_test): Likewise.
20206 * string/test-strcat.c (do_one_test): Likewise.
20207 (do_test): Likewise.
20208 * string/test-strchr.c (do_one_test): Likewise.
20209 (do_test): Likewise.
20210 * string/test-strcmp.c (do_one_test): Likewise.
20211 (do_test): Likewise.
20212 * string/test-strcpy.c (do_one_test): Likewise.
20213 (do_test): Likewise.
20214 * string/test-string.h: Likewise.
20215 (test_init): Likewise.
20216 * string/test-strlen.c (do_one_test): Likewise.
20217 (do_test): Likewise.
20218 * string/test-strncasecmp.c (do_one_test): Likewise.
20219 (do_test): Likewise.
20220 * string/test-strncat.c (do_one_test): Likewise.
20221 (do_test): Likewise.
20222 * string/test-strncmp.c (do_one_test): Likewise.
20223 (do_test_limit): Likewise.
20224 (do_test): Likewise.
20225 * string/test-strncpy.c (do_one_test): Likewise.
20226 (do_test): Likewise.
20227 * string/test-strnlen.c (do_one_test): Likewise.
20228 (do_test): Likewise.
20229 * string/test-strpbrk.c (do_one_test): Likewise.
20230 (do_test): Likewise.
20231 * string/test-strrchr.c (do_one_test): Likewise.
20232 (do_test): Likewise.
20233 * string/test-strspn.c (do_one_test): Likewise.
20234 (do_test): Likewise.
20235 * string/test-strstr.c (do_one_test): Likewise.
20236 (do_test): Likewise.
20237
97020474
SP
20238 * benchtests/Makefile (string-bench): Add string benchmarks.
20239 * benchtests/bench-bcopy-ifunc.c: New file.
20240 * benchtests/bench-bcopy.c: New file.
20241 * benchtests/bench-bzero-ifunc.c: New file.
20242 * benchtests/bench-bzero.c: New file.
20243 * benchtests/bench-memccpy-ifunc.c: New file.
20244 * benchtests/bench-memccpy.c: New file.
20245 * benchtests/bench-memchr-ifunc.c: New file.
20246 * benchtests/bench-memchr.c: New file.
20247 * benchtests/bench-memcmp-ifunc.c: New file.
20248 * benchtests/bench-memcmp.c: New file.
20249 * benchtests/bench-memmem-ifunc.c: New file.
20250 * benchtests/bench-memmem.c: New file.
20251 * benchtests/bench-memmove-ifunc.c: New file.
20252 * benchtests/bench-memmove.c: New file.
20253 * benchtests/bench-mempcpy-ifunc.c: New file.
20254 * benchtests/bench-mempcpy.c: New file.
20255 * benchtests/bench-memset-ifunc.c: New file.
20256 * benchtests/bench-memset.c: New file.
20257 * benchtests/bench-rawmemchr-ifunc.c: New file.
20258 * benchtests/bench-rawmemchr.c: New file.
20259 * benchtests/bench-stpcpy-ifunc.c: New file.
20260 * benchtests/bench-stpcpy.c: New file.
20261 * benchtests/bench-stpncpy-ifunc.c: New file.
20262 * benchtests/bench-stpncpy.c: New file.
20263 * benchtests/bench-strcasecmp-ifunc.c: New file.
20264 * benchtests/bench-strcasecmp.c: New file.
20265 * benchtests/bench-strcasestr-ifunc.c: New file.
20266 * benchtests/bench-strcasestr.c: New file.
20267 * benchtests/bench-strcat-ifunc.c: New file.
20268 * benchtests/bench-strcat.c: New file.
20269 * benchtests/bench-strchr-ifunc.c: New file.
20270 * benchtests/bench-strchr.c: New file.
20271 * benchtests/bench-strchrnul-ifunc.c: New file.
20272 * benchtests/bench-strchrnul.c: New file.
20273 * benchtests/bench-strcmp-ifunc.c: New file.
20274 * benchtests/bench-strcmp.c: New file.
20275 * benchtests/bench-strcpy-ifunc.c: New file.
20276 * benchtests/bench-strcpy.c: New file.
20277 * benchtests/bench-strcspn-ifunc.c: New file.
20278 * benchtests/bench-strcspn.c: New file.
20279 * benchtests/bench-strlen-ifunc.c: New file.
20280 * benchtests/bench-strlen.c: New file.
20281 * benchtests/bench-strncasecmp-ifunc.c: New file.
20282 * benchtests/bench-strncasecmp.c: New file.
20283 * benchtests/bench-strncat-ifunc.c: New file.
20284 * benchtests/bench-strncat.c: New file.
20285 * benchtests/bench-strncmp-ifunc.c: New file.
20286 * benchtests/bench-strncmp.c: New file.
20287 * benchtests/bench-strncpy-ifunc.c: New file.
20288 * benchtests/bench-strncpy.c: New file.
20289 * benchtests/bench-strnlen-ifunc.c: New file.
20290 * benchtests/bench-strnlen.c: New file.
20291 * benchtests/bench-strpbrk-ifunc.c: New file.
20292 * benchtests/bench-strpbrk.c: New file.
20293 * benchtests/bench-strrchr-ifunc.c: New file.
20294 * benchtests/bench-strrchr.c: New file.
20295 * benchtests/bench-strspn-ifunc.c: New file.
20296 * benchtests/bench-strspn.c: New file.
20297 * benchtests/bench-strstr-ifunc.c: New file.
20298 * benchtests/bench-strstr.c: New file.
20299
c1f75dc3
SP
20300 * benchtests/Makefile: Disable parallel execution of targets.
20301 (string-bench): Add memcpy.
20302 (benchset): New variable to store a list of benchmark sets.
20303 (bench-func): Renamed from bench.
20304 (bench-set): New target.
20305 (bench): Depend on bench-func and bench-set.
20306 * benchtests/README: Add section on benchmark sets.
20307 * benchtests/bench-memcpy-ifunc.c: New file.
20308 * benchtests/bench-memcpy.c: New file.
20309 * benchtests/bench-string.h: New file.
20310
50fd745b
AS
203112013-06-11 Andreas Schwab <schwab@suse.de>
20312
20313 [BZ #15577]
20314 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20315 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20316 values in the triple.
20317 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20318 terminator in the group key.
20319
3ee7e9fe
AJ
203202013-06-11 Andreas Jaeger <aj@suse.de>
20321
20322 * po/zh_TW.po: Update Chinese (traditional) translation from
20323 translation project.
20324
89fb6835
SP
203252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20326
20327 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20328 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20329 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20330 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20331 (clock_getcpuclockid): Likewise.
20332 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20333 Add weak_alias and libc_hidden_def.
20334 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20335 * rt/clock_gettime.c (clock_gettime): Rename to
20336 __clock_gettime. Add weak_alias and libc_hidden_def.
20337 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20338 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20339 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20340 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20341 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20342 Likewise.
20343 * rt/clock_settime.c (clock_settime): Rename to
20344 __clock_settime. Add weak_alias and libc_hidden_def.
20345 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20346
0efa6f8b
JM
203472013-06-10 Joseph Myers <joseph@codesourcery.com>
20348
b8c61b4b
JM
20349 * mach/err_boot.sub: Remove trailing whitespace.
20350 * mach/err_ipc.sub: Likewise.
20351 * mach/err_mach.sub: Likewise.
20352
0efa6f8b
JM
20353 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20354 (ROUNDING_TESTS_double): Likewise.
20355 (ROUNDING_TESTS_long_double): Likewise.
20356 (ROUNDING_TESTS): Likewise.
20357 * math/libm-test.inc: Include <math-tests.h>.
20358 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20359 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20360 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20361 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20362
50b818bf
SP
203632013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20364
20365 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20366 of assigning.
20367
60d2f8f3
JM
203682013-06-08 Joseph Myers <joseph@codesourcery.com>
20369
4902d2c3
JM
20370 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20371 otherwise empty TRANS lines.
20372 * sysdeps/gnu/errlist.c: Regenerated.
20373
60d2f8f3
JM
20374 * catgets/gencat.c (error_print): Use (void) in function
20375 definition.
20376 * crypt/crypt_util.c (__init_des): Likewise.
20377 * crypt/speeds.c (Stop): Likewise.
20378 (main): Likewise.
20379 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20380 * inet/ruserpass.c (token): Likewise.
20381 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20382 * intl/localealias.c (extend_alias_table): Likewise.
20383 * intl/plural-exp.c (init_germanic_plural): Likewise.
20384 * libio/fcloseall.c (__fcloseall): Likewise.
20385 * libio/genops.c (_IO_flush_all): Likewise.
20386 (_IO_flush_all_linebuffered): Likewise.
20387 (_IO_cleanup): Likewise.
20388 (_IO_iter_begin): Likewise.
20389 (_IO_iter_end): Likewise.
20390 (_IO_list_lock): Likewise.
20391 (_IO_list_unlock): Likewise.
20392 (_IO_list_resetlock): Likewise.
20393 * libio/getchar.c (getchar): Likewise.
20394 * libio/getchar_u.c (getchar_unlocked): Likewise.
20395 * libio/getwchar.c (getwchar): Likewise.
20396 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20397 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20398 * login/getpt.c (__getpt): Likewise.
20399 * login/tst-utmp.c (main): Likewise.
20400 * malloc/hooks.c (__malloc_check_init): Likewise.
20401 * malloc/malloc.c (__malloc_stats): Likewise.
20402 * malloc/mtrace.c (tr_break): Likewise.
20403 (mtrace): Likewise.
20404 (muntrace): Likewise.
20405 * misc/fstab.c (endfsent): Likewise.
20406 * misc/getclktck.c (__getclktck): Likewise.
20407 * misc/getdtsz.c (__getdtablesize): Likewise.
20408 * misc/gethostid.c (gethostid): Likewise.
20409 * misc/getpagesize.c (__getpagesize): Likewise.
20410 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20411 (__get_nprocs): Likewise.
20412 (__get_phys_pages): Likewise.
20413 (__get_avphys_pages): Likewise.
20414 * misc/getttyent.c (getttyent): Likewise.
20415 (setttyent): Likewise.
20416 (endttyent): Likewise.
20417 * misc/getusershell.c (getusershell): Likewise.
20418 (endusershell): Likewise.
20419 (setusershell): Likewise.
20420 (initshells): Likewise.
20421 * misc/hsearch.c (__hdestroy): Likewise.
20422 * misc/sync.c (sync): Likewise.
20423 * misc/syslog.c (closelog_internal): Likewise.
20424 (closelog): Likewise.
20425 * misc/ttyslot.c (ttyslot): Likewise.
20426 * misc/vhangup.c (vhangup): Likewise.
20427 * posix/fork.c (__fork): Likewise.
20428 * posix/getegid.c (__getegid): Likewise.
20429 * posix/geteuid.c (__geteuid): Likewise.
20430 * posix/getgid.c (__getgid): Likewise.
20431 * posix/getpid.c (__getpid): Likewise.
20432 * posix/getppid.c (__getppid): Likewise.
20433 * posix/getuid.c (__getuid): Likewise.
20434 * posix/pause.c (pause): Likewise.
20435 * posix/setpgrp.c (setpgrp): Likewise.
20436 * posix/setsid.c (__setsid): Likewise.
20437 * posix/test-vfork.c (noop): Likewise.
20438 * resolv/gethnamaddr.c (_endhtent): Likewise.
20439 (_gethtent): Likewise.
20440 (ht_endhostent): Likewise.
20441 (gethostent): Likewise.
20442 (dns_service): Likewise.
20443 * stdlib/drand48.c (drand48): Likewise.
20444 * stdlib/lrand48.c (lrand48): Likewise.
20445 * stdlib/mrand48.c (mrand48): Likewise.
20446 * stdlib/rand.c (rand): Likewise.
20447 * stdlib/random.c (__random): Likewise.
20448 * stdlib/setenv.c (clearenv): Likewise.
20449 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20450 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20451 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20452 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20453 (__get_nprocs): Likewise.
20454 (__get_phys_pages): Likewise.
20455 (__get_avphys_pages): Likewise.
20456 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20457 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20458 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20459 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20460 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20461 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20462 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20463 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20464 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20465 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20466 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20467 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20468 * sysdeps/posix/clock.c (clock): Likewise.
20469 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20470 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20471 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20472 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20473 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20475 (__get_nprocs_conf): Likewise.
20476 (__get_phys_pages): Likewise.
20477 (__get_avphys_pages): Likewise.
20478 * time/clock.c (clock): Likewise.
20479 * time/tzset.c (__tzname_max): Likewise.
20480
2e09a79a
JM
204812013-06-07 Joseph Myers <joseph@codesourcery.com>
20482
20483 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20484 (__bswap_32): Do not use "register".
20485 * crypt/crypt.c (_ufc_doit_r): Likewise.
20486 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20487 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20488 * gmon/gmon.c (__monstartup): Likewise.
20489 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20490 * hurd/hurdmalloc.c (more_memory): Likewise.
20491 (malloc): Likewise.
20492 (free): Likewise.
20493 (realloc): Likewise.
20494 (malloc_fork_prepare): Likewise.
20495 (malloc_fork_parent): Likewise.
20496 (malloc_fork_child): Likewise.
20497 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20498 (_svcauth_des): Likewise.
20499 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20500 * inet/inet_net.c (inet_network): Likewise.
20501 * inet/inet_netof.c (inet_netof): Likewise.
20502 * inet/rcmd.c (__validuser2_sa): Likewise.
20503 * io/fts.c (fts_open): Likewise.
20504 (fts_load): Likewise.
20505 (fts_close): Likewise.
20506 (fts_read): Likewise.
20507 (fts_children): Likewise.
20508 (fts_build): Likewise.
20509 (fts_stat): Likewise.
20510 (fts_sort): Likewise.
20511 (fts_alloc): Likewise.
20512 (fts_lfree): Likewise.
20513 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20514 (_IO_file_xsgetn): Likewise.
20515 (_IO_file_xsgetn_mmap): Likewise.
20516 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20517 (_IO_cookie_write): Likewise.
20518 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20519 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20520 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20521 * malloc/obstack.c (_obstack_begin): Likewise.
20522 (_obstack_begin_1): Likewise.
20523 (_obstack_newchunk): Likewise.
20524 (_obstack_allocated_p): Likewise.
20525 (obstack_free): Likewise.
20526 (_obstack_memory_used): Likewise.
20527 * misc/getttyent.c (getttynam): Likewise.
20528 (getttyent): Likewise.
20529 (skip): Likewise.
20530 (value): Likewise.
20531 * misc/getusershell.c (initshells): Likewise.
20532 * misc/syslog.c (__vsyslog_chk): Likewise.
20533 * misc/ttyslot.c (ttyslot): Likewise.
20534 * nis/nis_hash.c (__nis_hash): Likewise.
20535 * posix/fnmatch_loop.c (FCT): Likewise.
20536 * posix/getconf.c (print_all): Likewise.
20537 (main): Likewise.
20538 * posix/getopt.c (exchange): Likewise.
20539 * posix/glob.c (globfree): Likewise.
20540 (prefix_array): Likewise.
20541 (__glob_pattern_type): Likewise.
20542 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20543 (NS_GET32): Likewise.
20544 (NS_PUT16): Likewise.
20545 (NS_PUT32): Likewise.
20546 * resolv/gethnamaddr.c (getanswer): Likewise.
20547 (gethostbyname2): Likewise.
20548 (gethostbyaddr): Likewise.
20549 (_gethtent): Likewise.
20550 (_gethtbyname2): Likewise.
20551 (_gethtbyaddr): Likewise.
20552 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20553 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20554 * resolv/res_init.c (__res_vinit): Likewise.
20555 (net_mask): Likewise.
20556 * resolv/res_mkquery.c (outchar): Likewise.
20557 (PRINT): Likewise.
20558 * stdio-common/printf_fp.c (outchar): Likewise.
20559 (PRINT): Likewise.
20560 * stdio-common/printf_fphex.c (outchar): Likewise.
20561 (PRINT): Likewise.
20562 * stdio-common/printf_size.c (outchar): Likewise.
20563 (PRINT): Likewise.
20564 * stdio-common/test_rdwr.c (main): Likewise.
20565 * stdio-common/tfformat.c (matches): Likewise.
20566 * stdio-common/vfprintf.c (outchar): Likewise.
20567 (printf_unknown): Likewise.
20568 (buffered_vfprintf): Likewise.
20569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20570 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20571 (ReadFile): Likewise.
20572 * stdlib/qsort.c (SWAP): Likewise.
20573 (_quicksort): Likewise.
20574 * stdlib/setenv.c (__add_to_environ): Likewise.
20575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20576 * stdlib/strtol_l.c (__strtol_l): Likewise.
20577 * stdlib/tst-strtod.c (main): Likewise.
20578 * stdlib/tst-strtol.c (main): Likewise.
20579 * stdlib/tst-strtoll.c (main): Likewise.
20580 * string/bits/string2.h (__strcmp_cc): Likewise.
20581 (__strcmp_cg): Likewise.
20582 (__strcspn_c1): Likewise.
20583 (__strcspn_c2): Likewise.
20584 (__strcspn_c3): Likewise.
20585 (__strspn_c1): Likewise.
20586 (__strspn_c2): Likewise.
20587 (__strspn_c3): Likewise.
20588 (__strsep_1c): Likewise.
20589 (__strsep_2c): Likewise.
20590 (__strsep_3c): Likewise.
20591 * string/memccpy.c (__memccpy): Likewise.
20592 * string/stpcpy.c (__stpcpy): Likewise.
20593 * string/strcmp.c (strcmp): Likewise.
20594 * string/strrchr.c (strrchr): Likewise.
20595 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20596 Likewise.
20597 * sysdeps/mach/hurd/getcwd.c
20598 (_hurd_canonicalize_directory_name_internal): Likewise.
20599 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20600 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20601 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20602 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20603 Likewise, in both definitions.
20604 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20605 definitions.
20606 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20607 64] (__bswap_64): Likewise.
20608 * time/test_time.c (main): Likewise.
20609 * time/tzfile.c (__tzfile_read): Likewise.
20610 (__tzfile_compute): Likewise.
20611 * time/tzset.c (__tzset_parse_tz): Likewise.
20612 (tzset_internal): Likewise.
20613 (compute_change): Likewise.
20614 * wcsmbs/wcscat.c (__wcscat): Likewise.
20615 * wcsmbs/wcschr.c (wcschr): Likewise.
20616 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20617 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20618 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20619 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20620 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20621 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20622 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20623 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20624 * wcsmbs/wmemset.c (wmemset): Likewise.
20625
9e54314b
JM
206262013-06-06 Joseph Myers <joseph@codesourcery.com>
20627
20628 * scripts/config.guess: Update to version 2013-05-16.
20629 * scripts/config.sub: Update to version 2013-04-24.
20630 * scripts/install-sh: Update to version 2011-11-20.07.
20631 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20632 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20633
350635a5
OB
206342013-06-06 Ondřej Bílka <neleai@seznam.cz>
20635
20636 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20637 * elf/sln.c: Likewise.
20638 * hurd/hurd/ioctl.h: Likewise.
20639 * hurd/hurdmalloc.c: Likewise.
20640 * hurd/xattr.c: Likewise.
20641 * include/shlib-compat.h: Likewise.
20642 * inet/ruserpass.c: Likewise.
20643 * libio/iofgets_u.c: Likewise.
20644 * libio/iofgetws_u.c: Likewise.
20645 * locale/programs/ld-identification.c: Likewise.
20646 * locale/programs/ld-time.c: Likewise.
20647 * mach/msg-destroy.c: Likewise.
20648 * nss/nss_files/files-netgrp.c: Likewise.
20649 * resolv/res_data.c: Likewise.
20650 * soft-fp/op-1.h: Likewise.
20651 * soft-fp/op-2.h: Likewise.
20652 * soft-fp/op-4.h: Likewise.
20653 * soft-fp/op-common.h: Likewise.
20654 * stdio-common/printf_fphex.c: Likewise.
20655 * stdlib/strtod_l.c: Likewise.
20656 * sunrpc/rpc/clnt.h: Likewise.
20657 * sysdeps/generic/framestate.c: Likewise.
20658 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20659 * sysdeps/i386/bsd-setjmp.S: Likewise.
20660 * sysdeps/i386/__longjmp.S: Likewise.
20661 * sysdeps/i386/setjmp.S: Likewise.
20662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20665 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20667 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20669 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20670 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20671 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20672 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20673 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20674 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20675 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20676 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20678 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20679 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20680 * sysdeps/ieee754/support.c: Likewise.
20681 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20682 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20683 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20684 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20685 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20686 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20687 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20688 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20689 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20690 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20691 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20692 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20693 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20694 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20695 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20696 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20697 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20699
44a988af
OB
207002013-06-05 Ondřej Bílka <neleai@seznam.cz>
20701
25506f09 20702 * posix/transbug.c: Remove executable mode.
44a988af 20703
9c84384c
JM
207042013-06-05 Joseph Myers <joseph@codesourcery.com>
20705
20706 * crypt/speeds.c: Remove trailing whitespace.
20707 * dlfcn/default.c: Likewise.
20708 * elf/ifuncdep2.c: Likewise.
20709 * elf/ifuncmain1.c: Likewise.
20710 * elf/ifuncmain1vis.c: Likewise.
20711 * elf/testobj.h: Likewise.
20712 * elf/tst-stackguard1.c: Likewise.
20713 * gmon/sys/gmon.h: Likewise.
20714 * hurd/hurdmsg.c: Likewise.
20715 * hurd/new-fd.c: Likewise.
20716 * hurd/ports-get.c: Likewise.
20717 * iconvdata/ibm1008_420.c: Likewise.
20718 * inet/tst-getni1.c: Likewise.
20719 * inet/tst-getni2.c: Likewise.
20720 * libio/ioungetc.c: Likewise.
20721 * libio/wfiledoalloc.c: Likewise.
20722 * manual/libm-err-tab.pl: Likewise.
20723 * math/w_dremf.c: Likewise.
20724 * misc/ftruncate.c: Likewise.
20725 * posix/bug-glob2.c: Likewise.
20726 * posix/tst-pcre.c: Likewise.
20727 * posix/wait4.c: Likewise.
20728 * resolv/README: Likewise.
20729 * resolv/res_debug.h: Likewise.
20730 * resolv/tst-inet_ntop.c: Likewise.
20731 * setjmp/bug269-setjmp.c: Likewise.
20732 * soft-fp/extended.h: Likewise.
20733 * soft-fp/op-1.h: Likewise.
20734 * soft-fp/op-2.h: Likewise.
20735 * soft-fp/op-4.h: Likewise.
20736 * soft-fp/op-8.h: Likewise.
20737 * soft-fp/testit.c: Likewise.
20738 * stdio-common/bug16.c: Likewise.
20739 * stdlib/random.c: Likewise.
20740 * sunrpc/rpcsvc/rquota.x: Likewise.
20741 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20742 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20744 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20745 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20746 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20747 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20748 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20749 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20750 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20751 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20753 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20764 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20766 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20770 * sysdeps/ieee754/s_lib_version.c: Likewise.
20771 * sysdeps/mach/hurd/check_fds.c: Likewise.
20772 * sysdeps/mach/hurd/getsockname.c: Likewise.
20773 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20774 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20775 * sysdeps/powerpc/bits/link.h: Likewise.
20776 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20777 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20778 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20779 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20780 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20781 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20782 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20783 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20784 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20785 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20786 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20787 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20788 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20789 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20790 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20791 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20792 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20793 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20794 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20795 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20796 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20797 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20799 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20802 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20803 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20804 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20805 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20806 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20807 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20809 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20810 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20811 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20812 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20813 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20814 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20815 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20816 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20817 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20818 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20819 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20820 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20821 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20822 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20823 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20824 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20825 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20829 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20830 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20831 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20832 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20833 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20834 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20835 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20836 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20837 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20838 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20839 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20840 * sysdeps/powerpc/sysdep.h: Likewise.
20841 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20842 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20843 * sysdeps/sh/dl-trampoline.S: Likewise.
20844 * sysdeps/sh/memset.S: Likewise.
20845 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20846 * sysdeps/sh/strlen.S: Likewise.
20847 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20848 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20849 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20850 * sysdeps/sparc/sparc32/rem.S: Likewise.
20851 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20852 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20853 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20854 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20855 * sysdeps/sparc/sparc32/urem.S: Likewise.
20856 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20857 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20858 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20859 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20861 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20862 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20863 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20864 * sysdeps/unix/bsd/times.c: Likewise.
20865 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20866 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20870 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20871 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20872 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20873 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20874 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20875 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20876 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20877 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20878 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20879 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20880 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20881 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20882 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20883 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20884 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20885 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20886 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20887 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20888 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20889 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20890 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20891 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20892 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20893 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20894 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20895 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20896 * sysdeps/x86_64/strcspn.S: Likewise.
20897
869378a5
RA
208982013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20899
20900 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20901 generated file. Regenerate properly from gen-translit.pl.
20902 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20903 locale/C-translit.h.
20904
840e2943
AS
209052013-06-05 Andreas Schwab <schwab@suse.de>
20906
20907 [BZ #15100]
20908 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20909 week as 6 instead of -1.
20910 * time/tst-strptime.c (day_tests): Add test case.
20911
4c60cb0c
SP
209122013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20913
20914 * sysdeps/generic/math_private.h
20915 (libc_feholdexcept_setround_53bit): Replace with
20916 libc_feholdsetround_53bit.
20917 (libc_feupdateenv_53bit): Replace with
20918 libc_feresetround_53bit.
20919 (SET_RESTORE_ROUND_53BIT): Adjust.
20920
d180203e
SP
209212013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20922
96df079a
SP
20923 * string/test-strchrnul.c: Add copyright header.
20924
d180203e
SP
20925 * posix/tst-getaddrinfo4.c: Increase test timeout.
20926
8b0ccb2d
CD
209272013-06-03 Carlos O'Donell <carlos@redhat.com>
20928
20929 [BZ #15536]
20930 * math/libm-test.inc (MAX_EXP): Remove
20931 (MIN_EXP): Define.
20932 (ulp): Use MIN_EXP - MANT_DIG.
20933 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20934
3b3c4d40
CD
209352013-05-31 Carlos O'Donell <carlos@redhat.com>
20936
20937 * po/be.po: Revert last change.
20938 * po/zh_CN.po: Likewise.
20939 * po/header.pot: Likewise.
20940
fab7ce3f
JM
209412013-05-31 Joseph Myers <joseph@codesourcery.com>
20942
20943 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20944 link-libc-deps to empty as target-specific variable.
20945 * Makerules (link-libc-args): New variable.
20946 (libc-for-link): Likewise.
20947 (link-libc-deps): Likewise.
20948 (lib%.so): Depend on $(link-libc-deps). Link with
20949 $(link-libc-args).
20950 (build-module): Link with $(link-libc-args).
20951 (build-module-asneeded): Likewise.
20952 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20953 list of objects.
20954 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20955 target-specific variable.
20956 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20957 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20958 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20959 libc.
20960 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20961 libc and ld.so.
20962 ($(objpfx)libpcprofile.so): Likewise.
20963 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20964 libc_nonshared.a.
20965 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20966 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20967 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20968 $(link-libc-deps).
20969 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20970 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20971 * login/Makefile ($(objpfx)libutil.so): Likewise.
20972 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20973 * math/Makefile ($(objpfx)libm.so): Likewise.
20974 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20975 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20976 variable instead of depending directly on libc.
20977 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20978 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20979 $(link-libc-deps).
20980 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20981 libc.
20982 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20983 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20984 ($(objpfx)libanl.so): Likewise.
20985 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20986 ld.so.
20987 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20988 $(link-libc-deps).
20989 * sysdeps/i386/fpu/Makefile: Remove file.
20990 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20991 ($(objpfx)libm.so): Remove dependency on ld.so.
20992
eca5920c
PF
209932013-05-30 Patsy Franklin <pfrankli@redhat.com>
20994
20995 [BZ # 15553]
20996 * nis/yp_xdr.c (XDRMAXNAME): Define.
20997 (XDRMAXRECORD): Define.
20998 (xdr_domainname): Use XDRMAXNAME.
20999 (xdr_mapname): Likewise.
21000 (xdr_peername): Likewise.
21001 (xdr_keydat): Use XDRMAXRECORD.
21002 (xdr_valdat): Likewise.
21003
210042013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21005
21006 [BZ #14256]
21007 * manual/errno.texi (ESTALE): Update to account for more than
21008 just NFS file systems.
21009 * sysdeps/gnu/errlist.c: Regenerated.
21010
b9375348
SP
210112013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21012
21013 [BZ #15465]
21014 * elf/Makefile (tests): Add tst-null-argv.
21015 (modules-names): Add tst-null-argv-lib.
21016 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21017 (tst-null-argv-ENV): Set environment for tst-null-argv.
21018 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21019 (RTLD_PROGNAME): New macro.
21020 * elf/tst-null-argv.c: New test case.
21021 * elf/tst-null-argv-lib.c: Library for test case.
21022 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21023 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21024 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21025 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21026 * elf/dl-init.c (call_init): Likewise.
21027 (_dl_init): Likewise.
21028 * elf/dl-load.c (print_search_path): Likewise.
21029 (_dl_map_object): Likewise.
21030 * elf/dl-lookup.c (do_lookup_x): Likewise.
21031 (add_dependency): Likewise.
21032 (_dl_lookup_symbol_x): Likewise.
21033 (_dl_debug_bindings): Likewise.
21034 * elf/dl-open.c (_dl_show_scope): Likewise.
21035 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21036 * elf/dl-version.c (match_symbol): Likewise.
21037 (_dl_check_map_versions): Likewise.
21038 * elf/rtld.c (dl_main): Likewise.
21039 (print_unresolved): Use RTLD_PROGNAME.
21040 (print_missing_version): Likewise.
21041 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21042 (elf_machine_rela): Likewise.
21043 * sysdeps/powerpc/powerpc32/dl-machine.c
21044 (__process_machine_rela): Likewise.
21045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21046 Likewise.
21047 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21048 Likewise.
21049 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21050 Likewise.
21051 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21053 Likewise.
21054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21055 Likewise.
21056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21057
8a9f20c8
CD
210582013-05-28 Carlos O'Donell <carlos@redhat.com>
21059
21060 * po/be.po: Add descriptive title.
21061 * po/zh_CN.po: Likewise.
21062 * po/header.pot: Likewise.
21063
0e60d68e
MF
210642013-05-28 Mike Frysinger <vapier@gentoo.org>
21065
21066 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21067 error message.
21068 (enlarge_archive): Likewise.
21069
56b672e9
BN
210702013-05-28 Ben North <ben@redfrontdoor.org>
21071
21072 * manual/arith.texi (frexp): It is the magnitude of the return
21073 value which lies in [0.5, 1), not the return value itself.
21074
5e056687
AZ
210752013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21076
21077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21078
2b66ef5d
TS
210792013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21080
528c2405
TS
21081 * stdio-common/bug26.c (main): Correct fscanf template.
21082
07b4c13d
TS
21083 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21084 declare _dl_skip_args.
21085
ec9dd97c
TS
21086 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21087 Don't declare.
21088
2b66ef5d
TS
21089 * manual/platform.texi: Add missing @end deftypefun.
21090
4f8dfe27
JM
210912013-05-24 Joseph Myers <joseph@codesourcery.com>
21092
0323d086
JM
21093 [BZ #15529]
21094 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21095 bit of mantissa of 2^16382.
21096 * math/libm-test.inc (hypot_test_data): Add more tests.
21097
dd4259b9
JM
21098 * math/libm-test.inc: Add drem and pow10 to list of tested
21099 functions.
21100 (pow10_test): New function.
21101 (drem_test): Likewise.
21102 (drem_test_tonearest): Likewise.
21103 (drem_test_towardzero): Likewise.
21104 (drem_test_downward): Likewise.
21105 (drem_test_upward): Likewise.
21106 (main): Call the new functions.
21107
4f8dfe27
JM
21108 * math/libm-test.inc (finite_test_data): Remove.
21109 (finite_test): Run tests from isfinite_test_data.
21110 (gamma_test_data): Remove.
21111 (gamma_test): Run tests from lgamma_test_data.
21112 * sysdeps/i386/fpu/libm-test-ulps: Update.
21113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21114
d116b7c4
AZ
211152013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21116
21117 * manual/platform.texi: Add PowerPC PPR function set documentation.
21118 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21119 implementation.
21120
e96e3767
CD
211212013-05-24 Carlos O'Donell <carlos@redhat.com>
21122
21123 * math/libm-test.inc (MAX_EXP): Define.
21124 (ULPDIFF): Define.
21125 (ulp): New function.
21126 (check_float_internal): Use ULPDIFF.
21127 (cpow_test): Disable failing test.
21128 (check_ulp): Test ulp() implemetnation.
21129 (main): Call check_ulp before starting tests.
21130
b679a606
JM
211312013-05-24 Joseph Myers <joseph@codesourcery.com>
21132
e8bdba36
JM
21133 * math/gen-libm-test.pl (generate_testfile): Do not handle
21134 START_DATA and END_DATA.
21135 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21136 END_DATA.
21137 (acos_tonearest_test_data): Likewise.
21138 (acos_towardzero_test_data): Likewise.
21139 (acos_downward_test_data): Likewise.
21140 (acos_upward_test_data): Likewise.
21141 (acosh_test_data): Likewise.
21142 (asin_test_data): Likewise.
21143 (asin_tonearest_test_data): Likewise.
21144 (asin_towardzero_test_data): Likewise.
21145 (asin_downward_test_data): Likewise.
21146 (asin_upward_test_data): Likewise.
21147 (asinh_test_data): Likewise.
21148 (atan_test_data): Likewise.
21149 (atanh_test_data): Likewise.
21150 (atan2_test_data): Likewise.
21151 (cabs_test_data): Likewise.
21152 (cacos_test_data): Likewise.
21153 (cacosh_test_data): Likewise.
21154 (carg_test_data): Likewise.
21155 (casin_test_data): Likewise.
21156 (casinh_test_data): Likewise.
21157 (catan_test_data): Likewise.
21158 (catanh_test_data): Likewise.
21159 (cbrt_test_data): Likewise.
21160 (ccos_test_data): Likewise.
21161 (ccosh_test_data): Likewise.
21162 (ceil_test_data): Likewise.
21163 (cexp_test_data): Likewise.
21164 (cimag_test_data): Likewise.
21165 (clog_test_data): Likewise.
21166 (clog10_test_data): Likewise.
21167 (conj_test_data): Likewise.
21168 (copysign_test_data): Likewise.
21169 (cos_test_data): Likewise.
21170 (cos_tonearest_test_data): Likewise.
21171 (cos_towardzero_test_data): Likewise.
21172 (cos_downward_test_data): Likewise.
21173 (cos_upward_test_data): Likewise.
21174 (cosh_test_data): Likewise.
21175 (cosh_tonearest_test_data): Likewise.
21176 (cosh_towardzero_test_data): Likewise.
21177 (cosh_downward_test_data): Likewise.
21178 (cosh_upward_test_data): Likewise.
21179 (cpow_test_data): Likewise.
21180 (cproj_test_data): Likewise.
21181 (creal_test_data): Likewise.
21182 (csin_test_data): Likewise.
21183 (csinh_test_data): Likewise.
21184 (csqrt_test_data): Likewise.
21185 (ctan_test_data): Likewise.
21186 (ctan_tonearest_test_data): Likewise.
21187 (ctan_towardzero_test_data): Likewise.
21188 (ctan_downward_test_data): Likewise.
21189 (ctan_upward_test_data): Likewise.
21190 (ctanh_test_data): Likewise.
21191 (ctanh_tonearest_test_data): Likewise.
21192 (ctanh_towardzero_test_data): Likewise.
21193 (ctanh_downward_test_data): Likewise.
21194 (ctanh_upward_test_data): Likewise.
21195 (erf_test_data): Likewise.
21196 (erfc_test_data): Likewise.
21197 (exp_test_data): Likewise.
21198 (exp_tonearest_test_data): Likewise.
21199 (exp_towardzero_test_data): Likewise.
21200 (exp_downward_test_data): Likewise.
21201 (exp_upward_test_data): Likewise.
21202 (exp10_test_data): Likewise.
21203 (exp2_test_data): Likewise.
21204 (expm1_test_data): Likewise.
21205 (fabs_test_data): Likewise.
21206 (fdim_test_data): Likewise.
21207 (finite_test_data): Likewise.
21208 (floor_test_data): Likewise.
21209 (fma_test_data): Likewise.
21210 (fma_towardzero_test_data): Likewise.
21211 (fma_downward_test_data): Likewise.
21212 (fma_upward_test_data): Likewise.
21213 (fmax_test_data): Likewise.
21214 (fmin_test_data): Likewise.
21215 (fmod_test_data): Likewise.
21216 (fpclassify_test_data): Likewise.
21217 (frexp_test_data): Likewise.
21218 (gamma_test_data): Likewise.
21219 (hypot_test_data): Likewise.
21220 (ilogb_test_data): Likewise.
21221 (isfinite_test_data): Likewise.
21222 (isgreater_test_data): Likewise.
21223 (isgreaterequal_test_data): Likewise.
21224 (isinf_test_data): Likewise.
21225 (isless_test_data): Likewise.
21226 (islessequal_test_data): Likewise.
21227 (islessgreater_test_data): Likewise.
21228 (isnan_test_data): Likewise.
21229 (isnormal_test_data): Likewise.
21230 (issignaling_test_data): Likewise.
21231 (isunordered_test_data): Likewise.
21232 (j0_test_data): Likewise.
21233 (j1_test_data): Likewise.
21234 (jn_test_data): Likewise.
21235 (ldexp_test_data): Likewise.
21236 (lgamma_test_data): Likewise.
21237 (lrint_test_data): Likewise.
21238 (lrint_tonearest_test_data): Likewise.
21239 (lrint_towardzero_test_data): Likewise.
21240 (lrint_downward_test_data): Likewise.
21241 (lrint_upward_test_data): Likewise.
21242 (llrint_test_data): Likewise.
21243 (llrint_tonearest_test_data): Likewise.
21244 (llrint_towardzero_test_data): Likewise.
21245 (llrint_downward_test_data): Likewise.
21246 (llrint_upward_test_data): Likewise.
21247 (log_test_data): Likewise.
21248 (log10_test_data): Likewise.
21249 (log1p_test_data): Likewise.
21250 (log2_test_data): Likewise.
21251 (logb_test_data): Likewise.
21252 (logb_downward_test_data): Likewise.
21253 (lround_test_data): Likewise.
21254 (llround_test_data): Likewise.
21255 (modf_test_data): Likewise.
21256 (nearbyint_test_data): Likewise.
21257 (nextafter_test_data): Likewise.
21258 (nexttoward_test_data): Likewise.
21259 (pow_test_data): Likewise.
21260 (pow_tonearest_test_data): Likewise.
21261 (pow_towardzero_test_data): Likewise.
21262 (pow_downward_test_data): Likewise.
21263 (pow_upward_test_data): Likewise.
21264 (remainder_test_data): Likewise.
21265 (remainder_tonearest_test_data): Likewise.
21266 (remainder_towardzero_test_data): Likewise.
21267 (remainder_downward_test_data): Likewise.
21268 (remainder_upward_test_data): Likewise.
21269 (remquo_test_data): Likewise.
21270 (rint_test_data): Likewise.
21271 (rint_tonearest_test_data): Likewise.
21272 (rint_towardzero_test_data): Likewise.
21273 (rint_downward_test_data): Likewise.
21274 (rint_upward_test_data): Likewise.
21275 (round_test_data): Likewise.
21276 (scalb_test_data): Likewise.
21277 (scalbn_test_data): Likewise.
21278 (scalbln_test_data): Likewise.
21279 (signbit_test_data): Likewise.
21280 (sin_test_data): Likewise.
21281 (sin_tonearest_test_data): Likewise.
21282 (sin_towardzero_test_data): Likewise.
21283 (sin_downward_test_data): Likewise.
21284 (sin_upward_test_data): Likewise.
21285 (sincos_test_data): Likewise.
21286 (sinh_test_data): Likewise.
21287 (sinh_tonearest_test_data): Likewise.
21288 (sinh_towardzero_test_data): Likewise.
21289 (sinh_downward_test_data): Likewise.
21290 (sinh_upward_test_data): Likewise.
21291 (sqrt_test_data): Likewise.
21292 (tan_test_data): Likewise.
21293 (tan_tonearest_test_data): Likewise.
21294 (tan_towardzero_test_data): Likewise.
21295 (tan_downward_test_data): Likewise.
21296 (tan_upward_test_data): Likewise.
21297 (tanh_test_data): Likewise.
21298 (tgamma_test_data): Likewise.
21299 (trunc_test_data): Likewise.
21300 (y0_test_data): Likewise.
21301 (y1_test_data): Likewise.
21302 (yn_test_data): Likewise.
21303 (significand_test_data): Likewise.
21304
b679a606
JM
21305 * math/gen-libm-test.pl (@functions): Remove variable.
21306 (generate_testfile): Don't handle START and END lines.
21307 * math/libm-test.inc (START): New macro.
21308 (END): Likewise.
21309 (END_COMPLEX): Likewise.
21310 (acos_test): Use END macro without arguments.
21311 (acos_test_tonearest): Likewise.
21312 (acos_test_towardzero): Likewise.
21313 (acos_test_downward): Likewise.
21314 (acos_test_upward): Likewise.
21315 (acosh_test): Likewise.
21316 (asin_test): Likewise.
21317 (asin_test_tonearest): Likewise.
21318 (asin_test_towardzero): Likewise.
21319 (asin_test_downward): Likewise.
21320 (asin_test_upward): Likewise.
21321 (asinh_test): Likewise.
21322 (atan_test): Likewise.
21323 (atanh_test): Likewise.
21324 (atan2_test): Likewise.
21325 (cabs_test): Likewise.
21326 (cacos_test): Use END_COMPLEX macro without arguments.
21327 (cacosh_test): Likewise.
21328 (carg_test): Use END macro without arguments.
21329 (casin_test): Use END_COMPLEX macro without arguments.
21330 (casinh_test): Likewise.
21331 (catan_test): Likewise.
21332 (catanh_test): Likewise.
21333 (cbrt_test): Use END macro without arguments.
21334 (ccos_test): Use END_COMPLEX macro without arguments.
21335 (ccosh_test): Likewise.
21336 (ceil_test): Use END macro without arguments.
21337 (cexp_test): Use END_COMPLEX macro without arguments.
21338 (cimag_test): Use END macro without arguments.
21339 (clog_test): Use END_COMPLEX macro without arguments.
21340 (clog10_test): Likewise.
21341 (conj_test): Likewise.
21342 (copysign_test): Use END macro without arguments.
21343 (cos_test): Likewise.
21344 (cos_test_tonearest): Likewise.
21345 (cos_test_towardzero): Likewise.
21346 (cos_test_downward): Likewise.
21347 (cos_test_upward): Likewise.
21348 (cosh_test): Likewise.
21349 (cosh_test_tonearest): Likewise.
21350 (cosh_test_towardzero): Likewise.
21351 (cosh_test_downward): Likewise.
21352 (cosh_test_upward): Likewise.
21353 (cpow_test): Use END_COMPLEX macro without arguments.
21354 (cproj_test): Likewise.
21355 (creal_test): Use END macro without arguments.
21356 (csin_test): Use END_COMPLEX macro without arguments.
21357 (csinh_test): Likewise.
21358 (csqrt_test): Likewise.
21359 (ctan_test): Likewise.
21360 (ctan_test_tonearest): Likewise.
21361 (ctan_test_towardzero): Likewise.
21362 (ctan_test_downward): Likewise.
21363 (ctan_test_upward): Likewise.
21364 (ctanh_test): Likewise.
21365 (ctanh_test_tonearest): Likewise.
21366 (ctanh_test_towardzero): Likewise.
21367 (ctanh_test_downward): Likewise.
21368 (ctanh_test_upward): Likewise.
21369 (erf_test): Use END macro without arguments.
21370 (erfc_test): Likewise.
21371 (exp_test): Likewise.
21372 (exp_test_tonearest): Likewise.
21373 (exp_test_towardzero): Likewise.
21374 (exp_test_downward): Likewise.
21375 (exp_test_upward): Likewise.
21376 (exp10_test): Likewise.
21377 (exp2_test): Likewise.
21378 (expm1_test): Likewise.
21379 (fabs_test): Likewise.
21380 (fdim_test): Likewise.
21381 (finite_test): Likewise.
21382 (floor_test): Likewise.
21383 (fma_test): Likewise.
21384 (fma_test_towardzero): Likewise.
21385 (fma_test_downward): Likewise.
21386 (fma_test_upward): Likewise.
21387 (fmax_test): Likewise.
21388 (fmin_test): Likewise.
21389 (fmod_test): Likewise.
21390 (fpclassify_test): Likewise.
21391 (frexp_test): Likewise.
21392 (gamma_test): Likewise.
21393 (hypot_test): Likewise.
21394 (ilogb_test): Likewise.
21395 (isfinite_test): Likewise.
21396 (isgreater_test): Likewise.
21397 (isgreaterequal_test): Likewise.
21398 (isinf_test): Likewise.
21399 (isless_test): Likewise.
21400 (islessequal_test): Likewise.
21401 (islessgreater_test): Likewise.
21402 (isnan_test): Likewise.
21403 (isnormal_test): Likewise.
21404 (issignaling_test): Likewise.
21405 (isunordered_test): Likewise.
21406 (j0_test): Likewise.
21407 (j1_test): Likewise.
21408 (jn_test): Likewise.
21409 (ldexp_test): Likewise.
21410 (lgamma_test): Likewise.
21411 (lrint_test): Likewise.
21412 (lrint_test_tonearest): Likewise.
21413 (lrint_test_towardzero): Likewise.
21414 (lrint_test_downward): Likewise.
21415 (lrint_test_upward): Likewise.
21416 (llrint_test): Likewise.
21417 (llrint_test_tonearest): Likewise.
21418 (llrint_test_towardzero): Likewise.
21419 (llrint_test_downward): Likewise.
21420 (llrint_test_upward): Likewise.
21421 (log_test): Likewise.
21422 (log10_test): Likewise.
21423 (log1p_test): Likewise.
21424 (log2_test): Likewise.
21425 (logb_test): Likewise.
21426 (logb_test_downward): Likewise.
21427 (lround_test): Likewise.
21428 (llround_test): Likewise.
21429 (modf_test): Likewise.
21430 (nearbyint_test): Likewise.
21431 (nextafter_test): Likewise.
21432 (nexttoward_test): Likewise.
21433 (pow_test): Likewise.
21434 (pow_test_tonearest): Likewise.
21435 (pow_test_towardzero): Likewise.
21436 (pow_test_downward): Likewise.
21437 (pow_test_upward): Likewise.
21438 (remainder_test): Likewise.
21439 (remainder_test_tonearest): Likewise.
21440 (remainder_test_towardzero): Likewise.
21441 (remainder_test_downward): Likewise.
21442 (remainder_test_upward): Likewise.
21443 (remquo_test): Likewise.
21444 (rint_test): Likewise.
21445 (rint_test_tonearest): Likewise.
21446 (rint_test_towardzero): Likewise.
21447 (rint_test_downward): Likewise.
21448 (rint_test_upward): Likewise.
21449 (round_test): Likewise.
21450 (scalb_test): Likewise.
21451 (scalbn_test): Likewise.
21452 (scalbln_test): Likewise.
21453 (signbit_test): Likewise.
21454 (sin_test): Likewise.
21455 (sin_test_tonearest): Likewise.
21456 (sin_test_towardzero): Likewise.
21457 (sin_test_downward): Likewise.
21458 (sin_test_upward): Likewise.
21459 (sincos_test): Likewise.
21460 (sinh_test): Likewise.
21461 (sinh_test_tonearest): Likewise.
21462 (sinh_test_towardzero): Likewise.
21463 (sinh_test_downward): Likewise.
21464 (sinh_test_upward): Likewise.
21465 (sqrt_test): Likewise.
21466 (tan_test): Likewise.
21467 (tan_test_tonearest): Likewise.
21468 (tan_test_towardzero): Likewise.
21469 (tan_test_downward): Likewise.
21470 (tan_test_upward): Likewise.
21471 (tanh_test): Likewise.
21472 (tgamma_test): Likewise.
21473 (trunc_test): Likewise.
21474 (y0_test): Likewise.
21475 (y1_test): Likewise.
21476 (yn_test): Likewise.
21477 (significand_test): Likewise.
21478
bae143d2
OB
214792013-05-24 Ondřej Bílka <neleai@seznam.cz>
21480
21481 [BZ #15381]
21482 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21483
9323d39b
EM
214842013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21485
d4ea44a0 21486 [BZ #14894]
9323d39b
EM
21487 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21488 __ppc_mdoio and __ppc_mdoom.
21489 * manual/platform.texi: Document new functions __ppc_yield,
21490 __ppc_mdoio and __ppc_mdoom.
21491
13e23af7
CD
214922013-05-22 Carlos O'Donell <carlos@redhat.com>
21493
21494 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21495 (main): Mention "tls" pseudo-hwcap is legacy.
21496 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21497
351fe550
JM
214982013-05-22 Joseph Myers <joseph@codesourcery.com>
21499
21500 * math/gen-libm-test.pl (parse_args): Output only string of
21501 arguments as text for test name, not full call or descriptions of
21502 tests for extra outputs.
21503 (generate_testfile): Do not pass function name to parse_args.
21504 Generate this_func variable from START.
21505 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21506 field to arg_str.
21507 (struct test_ff_f_data): Likewise.
21508 (test_ff_f_data_nexttoward): Likewise.
21509 (struct test_fi_f_data): Likewise.
21510 (struct test_fl_f_data): Likewise.
21511 (struct test_if_f_data): Likewise.
21512 (struct test_fff_f_data): Likewise.
21513 (struct test_c_f_data): Likewise.
21514 (struct test_f_f1_data): Likewise. Remove field extra_name.
21515 (struct test_fF_f1_data): Likewise.
21516 (struct test_ffI_f1_data): Likewise.
21517 (struct test_c_c_data): Rename test_name field to arg_str.
21518 (struct test_cc_c_data): Likewise.
21519 (struct test_f_i_data): Likewise.
21520 (struct test_ff_i_data): Likewise.
21521 (struct test_f_l_data): Likewise.
21522 (struct test_f_L_data): Likewise.
21523 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21524 and extra2_name.
21525 (COMMON_TEST_SETUP): New macro.
21526 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21527 (COMMON_TEST_CLEANUP): Likewise.
21528 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21529 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21530 macros.
21531 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21532 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21533 macros.
21534 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21535 (RUN_TEST_fff_f): Take argument string. Call new setup and
21536 cleanup macros.
21537 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21538 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21539 macros.
21540 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21541 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21542 macros.
21543 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21544 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21545 cleanup macros.
21546 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21547 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21548 cleanup macros.
21549 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21550 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21551 cleanup macros.
21552 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21553 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21554 macros.
21555 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21556 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21557 macros.
21558 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21559 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21560 macros.
21561 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21562 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21563 cleanup macros.
21564 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21565 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21566 cleanup macros.
21567 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21568 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21569 macros.
21570 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21571 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21572 cleanup macros.
21573 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21574 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21575 macros.
21576 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21577 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21578 macros.
21579 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21580 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21581 cleanup macros.
21582 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21583
85118d4d
EBM
215842013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21585
21586 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21587 to _sifields.sigfault.
21588 (si_addr_lsb): Define new macro.
21589 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21591 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21592
7a44c18f
CD
215932013-05-03 Carlos O'Donell <carlos at redhat.com>
21594
21595 [BZ #15441]
21596 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21597 returns -1.
21598 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21599 null return -1.
21600 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21601 loading the domain.
21602
b50a7181
JM
216032013-05-22 Joseph Myers <joseph@codesourcery.com>
21604
21605 * math/gen-libm-test.pl (parse_args): Do not include expected
21606 result in test name.
21607 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21609 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21610 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21611 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21613
051063c8
SP
216142013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21615
3ce9e010
SP
21616 * benchtests/Makefile: Sort function entries.
21617
051063c8
SP
21618 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21619 tanh, asinh, acosh, atanh.
21620 * benchtests/acos-inputs: New file.
21621 * benchtests/acosh-inputs: New file.
21622 * benchtests/asin-inputs: New file.
21623 * benchtests/asinh-inputs: New file.
21624 * benchtests/atanh-inputs: New file.
21625 * benchtests/cosh-inputs: New file.
21626 * benchtests/log-inputs: New file.
21627 * benchtests/sinh-inputs: New file.
21628 * benchtests/tanh-inputs: New file.
21629
47c22455
DL
216302013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21631
21632 [BZ #15339]
21633 * posix/tst-getaddrinfo4.c: New test.
21634 * posix/Makefile (tests): Add it.
21635
3d04f5db
SP
216362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21637
21638 [BZ #15339]
21639 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21640 when no services were used.
21641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21642 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21643
d5dd6189
AS
216442013-05-21 Andreas Schwab <schwab@suse.de>
21645
21646 [BZ #15014]
21647 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21648 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21649 successful.
21650 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21651 redundant variable declarations and reallocation of buffer when
21652 parsing as IPv6 address. Always set NSS status when called from
21653 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21654 buffer too small. Correct computation of needed size.
21655 * nss/Makefile (tests): Add test-digits-dots.
21656 * nss/test-digits-dots.c: New test.
21657
fef94eab
SP
216582013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21659
21660 * benchtests/Makefile: Remove instructions for adding
21661 benchmark tests.
21662 * benchtests/README: New file to explain how to execute and
21663 enhance the benchmark tests.
21664
e39adf43
AS
216652013-05-21 Andreas Schwab <schwab@suse.de>
21666
21667 [BZ #15493]
21668 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21669 * setjmp/tst-sigsetjmp.c: New test.
21670
b2b671b6
OB
216712013-05-20 Ondřej Bílka <neleai@seznam.cz>
21672
21673 * sysdeps/x86_64/memset.S (memset): New implementation.
21674 (__bzero): Likewise.
21675 (__memset_tail): New function.
21676
2d48b41c
OB
216772013-05-20 Ondřej Bílka <neleai@seznam.cz>
21678
21679 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21680 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21681 __memcpy_sse2_unaligned ifunc selection.
21682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21683 Add memcpy-sse2-unaligned.S.
21684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21685 Add: __memcpy_sse2_unaligned.
21686
f16cc3eb
JM
216872013-05-19 Joseph Myers <joseph@codesourcery.com>
21688
3e694268
JM
21689 [BZ #15490]
21690 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21691 math_force_eval before restoring floating-point envrionment.
21692 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21693 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21694 Likewise.
21695 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21696 <math_private.h>.
21697 (__nearbyintl): Use math_force_eval before restoring
21698 floating-point environment.
21699 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21700
db62a907
JM
21701 * math/gen-libm-test.pl (special_functions): Remove.
21702 (parse_args): Don't handle TEST_extra. Handle functions with no
21703 return value.
21704 * math/libm-test.inc (struct test_sincos_data): Replace with
21705 struct test_fFF_11_data.
21706 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21707 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21708 (sincos_test_data): Change element type to struct
21709 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21710 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21711 RUN_TEST_LOOP_sincos.
21712 * math/README.libm-test: Don't mention special handling of
21713 individual functions.
21714 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21715 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21716 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21717 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21718 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21720
f16cc3eb
JM
21721 * math/gen-libm-test.pl (get_variable): Remove function.
21722 (parse_args): Don't show pointer parameters to call in test
21723 names. Use "extra output N" in test names for extra outputs
21724 rather than naming variables.
21725
3779b5b6
JM
217262013-05-18 Joseph Myers <joseph@codesourcery.com>
21727
2ee094ff
JM
21728 [BZ #15488]
21729 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21730 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21731 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21732 double tests.
21733 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21734 disable.
21735 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21736 check_long_double.
21737
3779b5b6
JM
21738 * math/gen-libm-test.pl (@tests): Remove variable.
21739 ($count): Likewise.
21740 (new_test): Remove function.
21741 (show_exceptions): New function.
21742 (special_functions): Use show_exceptions instead of new_test.
21743 (parse_args): Likewise.
21744 (generate_testfile): Pass only function name in generated call to
21745 print_max_error or print_complex_max_error.
21746 (get_ulps): Do not handle complex tests specially.
21747 (output_test): Rename to ...
21748 (get_all_ulps_for_test): ... this. Return a string rather than
21749 printing to a file. Require ulps to be present.
21750 (output_ulps): Generate arrays rather than #defines.
21751 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21752 (struct ulp_data): New type.
21753 (BUILD_COMPLEX_ULP): Remove macro.
21754 (compare_ulp_data): New function.
21755 (find_ulps): Likewise.
21756 (find_test_ulps): Likewise.
21757 (find_function_ulps): Likewise.
21758 (find_complex_function_ulps): Likewise.
21759 (print_max_error): Determine allowed ulps using
21760 find_function_ulps.
21761 (print_complex_max_error): Determine allowed ulps using
21762 find_complex_function_ulps.
21763 (check_float_internal): Determine max ulps using find_test_ulps.
21764 (check_float): Do not take max_ulp parameter. Update call to
21765 check_float_internal.
21766 (check_complex): Likewise.
21767 (check_int): Do not take max_ulp parameter.
21768 (check_long): Likewise.
21769 (check_bool): Likewise.
21770 (check_longlong): Likewise.
21771 (struct test_f_f_data): Remove max_ulp field.
21772 (struct test_ff_f_data): Likewise.
21773 (struct test_ff_f_data_nexttoward): Likewise.
21774 (struct test_fi_f_data): Likewise.
21775 (struct test_fl_f_data): Likewise.
21776 (struct test_if_f_data): Likewise.
21777 (struct test_fff_f_data): Likewise.
21778 (struct test_c_f_data): Likewise.
21779 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21780 (struct test_fF_f1_data): Likewise.
21781 (struct test_ffI_f1_data): Likewise.
21782 (struct test_c_c_data): Remove max_ulp field.
21783 (struct test_cc_c_data): Likewise.
21784 (struct test_f_i_data): Likewise.
21785 (struct test_ff_i_data): Likewise.
21786 (struct test_f_l_data): Likewise.
21787 (struct test_f_L_data): Likewise.
21788 (struct test_sincos_data): Likewise.
21789 (RUN_TEST_f_f): Do not handle ulps.
21790 (RUN_TEST_LOOP_f_f): Likewise.
21791 (RUN_TEST_2_f): Likewise.
21792 (RUN_TEST_LOOP_2_f): Likewise.
21793 (RUN_TEST_fff_f): Likewise.
21794 (RUN_TEST_LOOP_fff_f): Likewise.
21795 (RUN_TEST_c_f): Likewise.
21796 (RUN_TEST_LOOP_c_f): Likewise.
21797 (RUN_TEST_f_f1): Likewise.
21798 (RUN_TEST_LOOP_f_f1): Likewise.
21799 (RUN_TEST_fF_f1): Likewise.
21800 (RUN_TEST_LOOP_fF_f1): Likewise.
21801 (RUN_TEST_fI_f1): Likewise.
21802 (RUN_TEST_LOOP_fI_f1): Likewise.
21803 (RUN_TEST_ffI_f1): Likewise.
21804 (RUN_TEST_LOOP_ffI_f1): Likewise.
21805 (RUN_TEST_c_c): Likewise.
21806 (RUN_TEST_LOOP_c_c): Likewise.
21807 (RUN_TEST_cc_c): Likewise.
21808 (RUN_TEST_LOOP_cc_c): Likewise.
21809 (RUN_TEST_f_i): Likewise.
21810 (RUN_TEST_LOOP_f_i): Likewise.
21811 (RUN_TEST_f_i_tg): Likewise.
21812 (RUN_TEST_LOOP_f_i_tg): Likewise.
21813 (RUN_TEST_ff_i_tg): Likewise.
21814 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21815 (RUN_TEST_f_b): Likewise.
21816 (RUN_TEST_LOOP_f_b): Likewise.
21817 (RUN_TEST_f_b_tg): Likewise.
21818 (RUN_TEST_LOOP_f_b_tg): Likewise.
21819 (RUN_TEST_f_l): Likewise.
21820 (RUN_TEST_LOOP_f_l): Likewise.
21821 (RUN_TEST_f_L): Likewise.
21822 (RUN_TEST_LOOP_f_L): Likewise.
21823 (RUN_TEST_sincos): Likewise.
21824 (RUN_TEST_LOOP_sincos): Likewise.
21825
8269107f
JM
218262013-05-17 Joseph Myers <joseph@codesourcery.com>
21827
bb38759d
JM
21828 [BZ #15480]
21829 [BZ #15485]
21830 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21831 main case of finite arguments, set rounding mode to FE_TONEAREST
21832 and discard exceptions.
21833 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21834 exceptions.
21835 (remainder_tonearest_test_data): New variable.
21836 (remainder_test_tonearest): New function.
21837 (remainder_towardzero_test_data): New variable.
21838 (remainder_test_towardzero): New function.
21839 (remainder_downward_test_data): New variable.
21840 (remainder_test_downward): New function.
21841 (remainder_upward_test_data): New variable.
21842 (remainder_test_upward): New function.
21843 (main): Call the new test functions.
21844
a00bdcf0
JM
21845 * math/libm-test.inc (struct test_f_f1_data): Remove field
21846 extra_init.
21847 (struct test_fF_f1_data): Likewise.
21848 (struct test_ffI_f1_data): Likewise.
21849 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21850 based on value of EXTRA_EXPECTED.
21851 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21852 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21853 EXTRA_VAR based on value of EXTRA_EXPECTED.
21854 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21855 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21856 EXTRA_VAR based on value of EXTRA_EXPECTED.
21857 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21858 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21859 EXTRA_VAR based on value of EXTRA_EXPECTED.
21860 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21861 * math/gen-libm-test.pl (parse_args): Don't output initializers
21862 for extra output values.
21863
de407f79
JM
21864 * math/libm-test.inc (check_int): Expect result to be exactly
21865 equal to expected value and do not handle ulps.
21866 (check_long): Likewise.
21867 (check_longlong): Likewise.
21868
8269107f
JM
21869 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21870 exceptions.
21871 (cimag_test_data): Likewise.
21872 (conj_test_data): Likewise.
21873 (copysign_test_data): Likewise.
21874 (cproj_test_data): Likewise.
21875 (creal_test_data): Likewise.
21876 (fabs_test_data): Likewise.
21877 (fdim_test_data): Likewise.
21878 (finite_test_data): Likewise.
21879 (floor_test_data): Likewise.
21880 (fmax_test_data): Likewise.
21881 (fmin_test_data): Likewise.
21882 (fmod_test_data): Likewise.
21883 (fpclassify_test_data): Likewise.
21884 (frexp_test_data): Likewise.
21885 (ilogb_test_data): Likewise.
21886 (isfinite_test_data): Likewise.
21887 (isgreater_test_data): Likewise.
21888 (isgreaterequal_test_data): Likewise.
21889 (isinf_test_data): Likewise.
21890 (isless_test_data): Likewise.
21891 (islessequal_test_data): Likewise.
21892 (islessgreater_test_data): Likewise.
21893 (isnan_test_data): Likewise.
21894 (isnormal_test_data): Likewise.
21895 (issignaling_test_data): Likewise.
21896 (isunordered_test_data): Likewise.
21897 (ldexp_test_data): Likewise.
21898 (lrint_test_data): Likewise.
21899 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21900 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21901 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21902 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21903 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21904 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21905 test input.
21906 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21907 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21908 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21909 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21910 that test input.
21911 (lrint_downward_test_data): Test for "inexact" exceptions.
21912 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21913 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21914 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21915 test input.
21916 (lrint_upward_test_data): Test for "inexact" exceptions.
21917 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21918 test input.
21919 (llrint_test_data): Test for "inexact" exceptions.
21920 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21921 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21922 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21923 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21924 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21925 (llrint_downward_test_data): Test for "inexact" exceptions.
21926 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21927 (llrint_upward_test_data): Test for "inexact" exceptions.
21928 (logb_test_data): Likewise.
21929 (logb_downward_test_data): Likewise.
21930 (nextafter_test_data): Likewise.
21931 (nexttoward_test_data): Likewise.
21932 (remainder_test_data): Likewise.
21933 (remquo_test_data): Likewise.
21934 (scalbn_test_data): Likewise.
21935 (scalbln_test_data): Likewise.
21936 (signbit_test_data): Likewise.
21937 (sqrt_test_data): Likewise.
21938 (significand_test_data): Likewise.
21939
48a18de1
SP
219402013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21941
21942 [BZ #15424]
21943 * benchtests/bench-modf.c (struct args): Mark arg0 as
21944 volatile.
21945 * scripts/bench.pl: Mark members of struct args as volatile.
21946
13d3b41a
AZ
219472013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21948
68191c1d 21949 [BZ # 15497]
13d3b41a
AZ
21950 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21951 negative infinity on POWER6 or lower.
21952 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21953
2848b105
MR
219542013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21955
21956 [BZ #15442]
21957 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21958 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21959 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21960 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21961 (_FP_SETQNAN): New macro.
21962 (_FP_SETQNAN_SEMIRAW): Likewise.
21963 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21964 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21965 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21966 (FP_EXTEND): Use _FP_FRAC_SNANP.
21967 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21968 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21969 into account.
21970 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21971 New macro.
21972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21973 Likewise.
21974
323e5cb7
JM
219752013-05-16 Joseph Myers <joseph@codesourcery.com>
21976
c58b274f
JM
21977 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21978 with DIVIDE_BY_ZERO_EXCEPTION.
21979 (gamma_test_data): Likewise.
21980 (lgamma_test_data): Likewise.
21981 (log_test_data): Likewise.
21982 (log10_test_data): Likewise.
21983 (log2_test_data): Likewise.
21984 (tgamma_test_data): Likewise.
21985
0ab34904
JM
21986 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21987 (acos_test_tonearest): Likewise.
21988 (acos_test_towardzero): Likewise.
21989 (acos_test_downward): Likewise.
21990 (acos_test_upward): Likewise.
21991 (acosh_test): Likewise.
21992 (asin_test): Likewise.
21993 (asin_test_tonearest): Likewise.
21994 (asin_test_towardzero): Likewise.
21995 (asin_test_downward): Likewise.
21996 (asin_test_upward): Likewise.
21997 (asinh_test): Likewise.
21998 (atan_test): Likewise.
21999 (atanh_test): Likewise.
22000 (atan2_test): Likewise.
22001 (cabs_test): Likewise.
22002 (cacos_test): Likewise.
22003 (cacosh_test): Likewise.
22004 (casin_test): Likewise.
22005 (casinh_test): Likewise.
22006 (catan_test): Likewise.
22007 (catanh_test): Likewise.
22008 (cbrt_test): Likewise.
22009 (ccos_test): Likewise.
22010 (ccosh_test): Likewise.
22011 (cexp_test): Likewise.
22012 (clog_test): Likewise.
22013 (clog10_test): Likewise.
22014 (cos_test): Likewise.
22015 (cos_test_tonearest): Likewise.
22016 (cos_test_towardzero): Likewise.
22017 (cos_test_downward): Likewise.
22018 (cos_test_upward): Likewise.
22019 (cosh_test): Likewise.
22020 (cosh_test_tonearest): Likewise.
22021 (cosh_test_towardzero): Likewise.
22022 (cosh_test_downward): Likewise.
22023 (cosh_test_upward): Likewise.
22024 (cpow_test): Likewise.
22025 (csin_test): Likewise.
22026 (csinh_test): Likewise.
22027 (csqrt_test): Likewise.
22028 (ctan_test): Likewise.
22029 (ctan_test_tonearest): Likewise.
22030 (ctan_test_towardzero): Likewise.
22031 (ctan_test_downward): Likewise.
22032 (ctan_test_upward): Likewise.
22033 (ctanh_test): Likewise.
22034 (ctanh_test_tonearest): Likewise.
22035 (ctanh_test_towardzero): Likewise.
22036 (ctanh_test_downward): Likewise.
22037 (ctanh_test_upward): Likewise.
22038 (erf_test): Likewise.
22039 (erfc_test): Likewise.
22040 (exp_test): Likewise.
22041 (exp_test_tonearest): Likewise.
22042 (exp_test_towardzero): Likewise.
22043 (exp_test_downward): Likewise.
22044 (exp_test_upward): Likewise.
22045 (exp10_test): Likewise.
22046 (exp2_test): Likewise.
22047 (expm1_test): Likewise.
22048 (fmod_test): Likewise.
22049 (gamma_test): Likewise.
22050 (hypot_test): Likewise.
22051 (j0_test): Likewise.
22052 (j1_test): Likewise.
22053 (jn_test): Likewise.
22054 (lgamma_test): Likewise.
22055 (log_test): Likewise.
22056 (log10_test): Likewise.
22057 (log1p_test): Likewise.
22058 (log2_test): Likewise.
22059 (logb_test_downward): Likewise.
22060 (pow_test): Likewise.
22061 (pow_test_tonearest): Likewise.
22062 (pow_test_towardzero): Likewise.
22063 (pow_test_downward): Likewise.
22064 (pow_test_upward): Likewise.
22065 (remainder_test): Likewise.
22066 (remquo_test): Likewise.
22067 (sin_test): Likewise.
22068 (sin_test_tonearest): Likewise.
22069 (sin_test_towardzero): Likewise.
22070 (sin_test_downward): Likewise.
22071 (sin_test_upward): Likewise.
22072 (sincos_test): Likewise.
22073 (sinh_test): Likewise.
22074 (sinh_test_tonearest): Likewise.
22075 (sinh_test_towardzero): Likewise.
22076 (sinh_test_downward): Likewise.
22077 (sinh_test_upward): Likewise.
22078 (sqrt_test): Likewise.
22079 (tan_test): Likewise.
22080 (tan_test_tonearest): Likewise.
22081 (tan_test_towardzero): Likewise.
22082 (tan_test_downward): Likewise.
22083 (tan_test_upward): Likewise.
22084 (tanh_test): Likewise.
22085 (tgamma_test): Likewise.
22086 (y0_test): Likewise.
22087 (y1_test): Likewise.
22088 (yn_test): Likewise.
22089
323e5cb7
JM
22090 * math/gen-libm-test.pl (adjust_arg): Remove function.
22091 (special_function): Remove argument $in_func. Only handle
22092 generating output for tables of tests, not inside functions.
22093 (parse_args): Likewise.
22094 (generate_testfile): Remove variable $in_func. Update call to
22095 parse_args.
22096 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22097 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22098 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22099 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22100 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22101 (MAX_VALUE_INIT): Rename macro to max_value.
22102 (MIN_VALUE_INIT): Rename macro to min_value.
22103 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22104 (plus_zero): Remove variable.
22105 (minus_zero): Likewise.
22106 (plus_infty): Likewise.
22107 (minus_infty): Likewise.
22108 (qnan_value): Likewise.
22109 (max_value): Likewise.
22110 (min_value): Likewise.
22111 (min_subnorm_value): Likewise.
22112
e054f494
RA
221132013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22114
22115 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22116 uint64_t or uint32_t usage.
22117 * crypt/sha256-block.c: Likewise.
22118 * crypt/sha256-crypt.c: Likewise.
22119 * crypt/sha256.c: Likewise.
22120 * crypt/sha512-block.c: Likewise.
22121 * crypt/sha512-crypt.c: Likewise.
22122 * crypt/sha512.c: Likewise.
22123 * debug/backtrace-tst.c: Likewise.
22124 * debug/pcprofiledump.c: Likewise.
22125 * elf/cache.c: Likewise.
22126 * elf/dl-cache.c: Likewise.
22127 * elf/dl-misc.c: Likewise.
22128 * elf/dl-profile.c: Likewise.
22129 * elf/dl-support.c: Likewise.
22130 * elf/ldconfig.c: Likewise.
22131 * elf/sprof.c: Likewise.
22132 * iconv/dummy-repertoire.c: Likewise.
22133 * iconv/iconv_charmap.c: Likewise.
22134 * iconv/skeleton.c: Likewise.
22135 * iconvdata/8bit-generic.c: Likewise.
22136 * iconvdata/cp737.h: Likewise.
22137 * iconvdata/cp775.h: Likewise.
22138 * iconvdata/ibm1008.h: Likewise.
22139 * iconvdata/ibm1025.h: Likewise.
22140 * iconvdata/ibm1046.h: Likewise.
22141 * iconvdata/ibm1097.h: Likewise.
22142 * iconvdata/ibm1112.h: Likewise.
22143 * iconvdata/ibm1122.h: Likewise.
22144 * iconvdata/ibm1123.h: Likewise.
22145 * iconvdata/ibm1124.h: Likewise.
22146 * iconvdata/ibm1129.h: Likewise.
22147 * iconvdata/ibm1130.h: Likewise.
22148 * iconvdata/ibm1132.h: Likewise.
22149 * iconvdata/ibm1133.h: Likewise.
22150 * iconvdata/ibm1137.h: Likewise.
22151 * iconvdata/ibm1140.h: Likewise.
22152 * iconvdata/ibm1141.h: Likewise.
22153 * iconvdata/ibm1142.h: Likewise.
22154 * iconvdata/ibm1143.h: Likewise.
22155 * iconvdata/ibm1144.h: Likewise.
22156 * iconvdata/ibm1145.h: Likewise.
22157 * iconvdata/ibm1146.h: Likewise.
22158 * iconvdata/ibm1147.h: Likewise.
22159 * iconvdata/ibm1148.h: Likewise.
22160 * iconvdata/ibm1149.h: Likewise.
22161 * iconvdata/ibm1153.h: Likewise.
22162 * iconvdata/ibm1154.h: Likewise.
22163 * iconvdata/ibm1155.h: Likewise.
22164 * iconvdata/ibm1156.h: Likewise.
22165 * iconvdata/ibm1157.h: Likewise.
22166 * iconvdata/ibm1158.h: Likewise.
22167 * iconvdata/ibm1160.h: Likewise.
22168 * iconvdata/ibm1161.h: Likewise.
22169 * iconvdata/ibm1162.h: Likewise.
22170 * iconvdata/ibm1163.h: Likewise.
22171 * iconvdata/ibm1164.h: Likewise.
22172 * iconvdata/ibm1166.h: Likewise.
22173 * iconvdata/ibm1167.h: Likewise.
22174 * iconvdata/ibm12712.h: Likewise.
22175 * iconvdata/ibm1390.h: Likewise.
22176 * iconvdata/ibm1399.h: Likewise.
22177 * iconvdata/ibm16804.h: Likewise.
22178 * iconvdata/ibm4517.h: Likewise.
22179 * iconvdata/ibm4899.h: Likewise.
22180 * iconvdata/ibm4909.h: Likewise.
22181 * iconvdata/ibm4971.h: Likewise.
22182 * iconvdata/ibm5347.h: Likewise.
22183 * iconvdata/ibm803.h: Likewise.
22184 * iconvdata/ibm856.h: Likewise.
22185 * iconvdata/ibm901.h: Likewise.
22186 * iconvdata/ibm902.h: Likewise.
22187 * iconvdata/ibm9030.h: Likewise.
22188 * iconvdata/ibm9066.h: Likewise.
22189 * iconvdata/ibm921.h: Likewise.
22190 * iconvdata/ibm922.h: Likewise.
22191 * iconvdata/ibm9448.h: Likewise.
22192 * iconvdata/isiri-3342.h: Likewise.
22193 * iconvdata/jis0201.h: Likewise.
22194 * include/link.h: Likewise.
22195 * include/netdb.h: Likewise.
22196 * inet/check_native.c: Likewise.
22197 * inet/check_pf.c: Likewise.
22198 * inet/getipv4sourcefilter.c: Likewise.
22199 * inet/getnameinfo.c: Likewise.
22200 * inet/getsourcefilter.c: Likewise.
22201 * inet/htonl.c: Likewise.
22202 * inet/setipv4sourcefilter.c: Likewise.
22203 * inet/setsourcefilter.c: Likewise.
22204 * inet/test-inet6_opt.c: Likewise.
22205 * inet/tst-network.c: Likewise.
22206 * locale/C-collate.c: Likewise.
22207 * locale/C-ctype.c: Likewise.
22208 * locale/C-time.c: Likewise.
22209 * locale/C-translit.h: Likewise.
22210 * locale/loadarchive.c: Likewise.
22211 * locale/programs/3level.h: Likewise.
22212 * locale/programs/charmap.c: Likewise.
22213 * locale/programs/charmap.h: Likewise.
22214 * locale/programs/ld-address.c: Likewise.
22215 * locale/programs/ld-collate.c: Likewise.
22216 * locale/programs/ld-ctype.c: Likewise.
22217 * locale/programs/ld-identification.c: Likewise.
22218 * locale/programs/ld-measurement.c: Likewise.
22219 * locale/programs/ld-messages.c: Likewise.
22220 * locale/programs/ld-monetary.c: Likewise.
22221 * locale/programs/ld-name.c: Likewise.
22222 * locale/programs/ld-numeric.c: Likewise.
22223 * locale/programs/ld-paper.c: Likewise.
22224 * locale/programs/ld-telephone.c: Likewise.
22225 * locale/programs/ld-time.c: Likewise.
22226 * locale/programs/linereader.c: Likewise.
22227 * locale/programs/locale.c: Likewise.
22228 * locale/programs/locarchive.c: Likewise.
22229 * locale/programs/locfile.h: Likewise.
22230 * locale/programs/repertoire.c: Likewise.
22231 * locale/programs/simple-hash.c: Likewise.
22232 * locale/programs/simple-hash.h: Likewise.
22233 * malloc/memusage.c: Likewise.
22234 * malloc/memusagestat.c: Likewise.
22235 * nis/nis_defaults.c: Likewise.
22236 * nis/nis_hash.c: Likewise.
22237 * nis/nis_print.c: Likewise.
22238 * nis/nis_xdr.c: Likewise.
22239 * nscd/connections.c: Likewise.
22240 * nscd/hstcache.c: Likewise.
22241 * nscd/nscd_gethst_r.c: Likewise.
22242 * nscd/nscd_getserv_r.c: Likewise.
22243 * nscd/nscd_helper.c: Likewise.
22244 * nscd/servicescache.c: Likewise.
22245 * nss/makedb.c: Likewise.
22246 * nss/nss_db/db-XXX.c: Likewise.
22247 * nss/nss_db/db-initgroups.c: Likewise.
22248 * nss/nss_db/db-netgrp.c: Likewise.
22249 * nss/nss_files/files-network.c: Likewise.
22250 * nss/nss_files/files-parse.c: Likewise.
22251 * posix/bug-regex5.c: Likewise.
22252 * posix/fnmatch_loop.c: Likewise.
22253 * posix/regcomp.c: Likewise.
22254 * posix/regexec.c: Likewise.
22255 * posix/tst-rfc3484-2.c: Likewise.
22256 * posix/tst-rfc3484-3.c: Likewise.
22257 * posix/tst-rfc3484.c: Likewise.
22258 * resolv/nss_dns/dns-canon.c: Likewise.
22259 * resolv/nss_dns/dns-network.c: Likewise.
22260 * resolv/res_init.c: Likewise.
22261 * resolv/res_mkquery.c: Likewise.
22262 * resolv/tst-aton.c: Likewise.
22263 * stdlib/cxa_atexit.c: Likewise.
22264 * stdlib/cxa_finalize.c: Likewise.
22265 * stdlib/gen-fpioconst.c: Likewise.
22266 * stdlib/strtol_l.c: Likewise.
22267 * string/tst-endian.c: Likewise.
22268 * sunrpc/auth_des.c: Likewise.
22269 * sunrpc/clnt_udp.c: Likewise.
22270 * sunrpc/rtime.c: Likewise.
22271 * sunrpc/svcauth_des.c: Likewise.
22272 * sunrpc/xdr.c: Likewise.
22273 * sunrpc/xdr_intXX_t.c: Likewise.
22274 * sunrpc/xdr_rec.c: Likewise.
22275 * sysdeps/generic/ldconfig.h: Likewise.
22276 * sysdeps/generic/ldsodefs.h: Likewise.
22277 * sysdeps/generic/memusage.h: Likewise.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22281 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22285 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22286 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22288 * sysdeps/posix/getaddrinfo.c: Likewise.
22289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22291 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22292 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22293 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22294 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22295 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22296 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22297 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22298 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22299 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22300 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22301 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22302 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22303 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22304 * sysdeps/x86_64/dl-tls.h: Likewise.
22305 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22306 * time/alt_digit.c: Likewise.
22307 * time/era.c: Likewise.
22308 * wcsmbs/tst-c16c32-1.c: Likewise.
22309
8c75f674
JM
223102013-05-16 Joseph Myers <joseph@codesourcery.com>
22311
22312 * math/libm-test.inc (struct test_sincos_data): New type.
22313 (RUN_TEST_LOOP_sincos): New macro.
22314 (sincos_test_data): New variable.
22315 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22316
e6e49e59
RH
223172013-05-16 Richard Henderson <rth@redhat.com>
22318
22319 * math/atest-exp2.c (LIMB64): New macro.
22320 (CONSTSZ): New macro.
22321 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22322 (hexdig): Move ...
22323 (print_mpn_fp): ... to function scope.
22324 (read_mpn_hex): Remove.
22325 (get_log2): Remove.
22326 (exp2_mpn): Use mp_log2.
22327 (main): Use mp_exp1.
22328
15c7c18d
JM
223292013-05-16 Joseph Myers <joseph@codesourcery.com>
22330
105a07df
JM
22331 * math/libm-test.inc: Remove comment about not testing "inexact"
22332 exceptions.
22333 (INEXACT_EXCEPTION): New macro.
22334 (NO_INEXACT_EXCEPTION): Likewise.
22335 (INVALID_EXCEPTION_OK): Update value.
22336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22337 (OVERFLOW_EXCEPTION_OK): Likewise.
22338 (UNDERFLOW_EXCEPTION_OK): Likewise.
22339 (IGNORE_ZERO_INF_SIGN): Likewise.
22340 (ERRNO_UNCHANGED): Likewise.
22341 (ERRNO_EDOM): Likewise.
22342 (ERRNO_ERANGE): Likewise.
22343 (test_exceptions): Handle testing "inexact" exceptions.
22344 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22345 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22346 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22347 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22348 INEXACT_EXCEPTION.
22349 (rint_towardzero_test_data): Likewise.
22350 (rint_downward_test_data): Likewise.
22351 (rint_upward_test_data): Likewise.
22352
e9eee333
JM
22353 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22354 with OVERFLOW_EXCEPTION.
22355 (exp10_test_data): Likewise.
22356 (exp2_test_data): Likewise.
22357 (expm1_test_data): Likewise.
22358 (lgamma_test_data): Likewise.
22359 (pow_test_data): Likewise.
22360 (tgamma_test_data): Likewise.
22361 (yn_test_data): Remove duplicate test of overflow.
22362
1c38ff73
JM
22363 * math/libm-test.inc (struct test_cc_c_data): New type.
22364 (RUN_TEST_LOOP_cc_c): New macro.
22365 (cpow_test_data): New variable.
22366 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22367
15c7c18d
JM
22368 * math/libm-test.inc (struct test_f_L_data): New type.
22369 (RUN_TEST_LOOP_f_L): New macro.
22370 (llrint_test_data): New variable.
22371 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22372 (llrint_tonearest_test_data): New variable.
22373 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22374 (llrint_towardzero_test_data): New variable.
22375 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22376 (llrint_downward_test_data): New variable.
22377 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22378 (llrint_upward_test_data): New variable.
22379 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22380 (llround_test_data): New variable.
22381 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22382
f137ff13
PC
223832013-05-13 Peter Collingbourne <pcc@google.com>
22384
22385 * math/atest-exp2.c (get_log2): Remove const attribute.
22386
3608cb24
JM
223872013-05-15 Joseph Myers <joseph@codesourcery.com>
22388
22389 * math/libm-test.inc (struct test_f_l_data): New type.
22390 (RUN_TEST_LOOP_f_l): New macro.
22391 (lrint_test_data): New variable.
22392 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22393 (lrint_tonearest_test_data): New variable.
22394 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22395 (lrint_towardzero_test_data): New variable.
22396 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22397 (lrint_downward_test_data): New variable.
22398 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22399 (lrint_upward_test_data): New variable.
22400 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22401 (lround_test_data): New variable.
22402 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22403
39b1f617
PC
224042013-05-15 Peter Collingbourne <pcc@google.com>
22405
1deff3dc
PC
22406 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22407 (EXTRACT_WORDS64) Use where appropriate.
22408 (INSERT_WORDS64) Likewise.
22409
791f3ba0
PC
22410 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22411 constraints with x constraints.
22412 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22413
39b1f617
PC
22414 * malloc/obstack.c (_obstack_compat): Add initializer.
22415
12fba011
EM
224162013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22417
22418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22419 si_trapno and add si_addr_lsb to _sifields.sigfault.
22420 (si_trapno): Remove macro.
22421 (si_addr_lsb): Define new macro.
22422 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22423
d369f531
JM
224242013-05-15 Joseph Myers <joseph@codesourcery.com>
22425
b861c6c4
JM
22426 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22427 instead of TEST_f_l.
22428 (llrint_test_tonearest): Likewise.
22429 (llrint_test_towardzero): Likewise.
22430 (llrint_test_downward): Likewise.
22431 (llrint_test_upward): Likewise.
22432 (llround_test): Likewise.
22433
7abeee12
JM
22434 * math/libm-test.inc (struct test_f_i_data): Add comment.
22435 (RUN_TEST_LOOP_f_b): New macro.
22436 (RUN_TEST_LOOP_f_b_tg): Likewise.
22437 (finite_test_data): New variable.
22438 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22439 (isfinite_test_data): New variable.
22440 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22441 (isinf_test_data): New variable.
22442 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22443 (isnan_test_data): New variable.
22444 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22445 (isnormal_test_data): New variable.
22446 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22447 (issignaling_test_data): New variable.
22448 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22449 (signbit_test_data): New variable.
22450 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22451
cbe8c4d3
JM
22452 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22453 with INVALID_EXCEPTION.
22454 (acosh_test_data): Likewise.
22455 (asin_test_data): Likewise.
22456 (atanh_test_data): Likewise.
22457 (fmod_test_data): Likewise.
22458 (log_test_data): Likewise.
22459 (log10_test_data): Likewise.
22460 (log2_test_data): Likewise.
22461 (pow_test_data): Likewise.
22462 (sqrt_test_data): Likewise.
22463 (y0_test_data): Likewise.
22464 (y1_test_data): Likewise.
22465 (yn_test_data): Likewise.
22466
5575c0e5
JM
22467 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22468 function contents.
22469
d369f531
JM
22470 * math/libm-test.inc (struct test_ff_i_data): New type.
22471 (RUN_TEST_LOOP_ff_i_tg): New macro.
22472 (isgreater_test_data): New variable.
22473 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22474 (isgreaterequal_test_data): New variable.
22475 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22476 (isless_test_data): New variable.
22477 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22478 (islessequal_test_data): New variable.
22479 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22480 (islessgreater_test_data): New variable.
22481 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22482 (isunordered_test_data): New variable.
22483 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22484
781fd748
DM
224852013-05-14 David S. Miller <davem@davemloft.net>
22486
22487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22488
87aa21df
JM
224892013-05-14 Joseph Myers <joseph@codesourcery.com>
22490
5e908270
JM
22491 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22492
f71172e5
JM
22493 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22494 extra_test to int.
22495 (struct test_f_i_data): Change type of max_ulp to int.
22496
8cfa635a
JM
22497 * math/libm-test.inc (test_ffI_f1_data): New type.
22498 (RUN_TEST_LOOP_ffI_f1): New macro.
22499 (remquo_test_data): New variable.
22500 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22501
2bcb36b2
JM
22502 * setjmp/tst-setjmp-fp.c: New file.
22503 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22504 (link-libm): New variable.
22505 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22506
acbd839a
JM
22507 * math/libm-test.inc (struct test_f_i_data): New type.
22508 (RUN_TEST_LOOP_f_i): New macro.
22509 (RUN_TEST_LOOP_f_i_tg): Likewise.
22510 (fpclassify_test_data): New variable.
22511 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22512 (ilogb_test_data): New variable.
22513 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22514
e414d745
JM
22515 * math/libm-test.inc (scalbln_test): Correct function name in END
22516 call.
22517
d9c2a0fd
JM
22518 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22519 (RUN_TEST_LOOP_fI_f1): New macro.
22520 (frexp_test_data): New variable.
22521 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22522
9dc9095d
JM
22523 * math/libm-test.inc (struct test_fF_f1_data): New type.
22524 (RUN_TEST_LOOP_fF_f1): New macro.
22525 (modf_test_data): New variable.
22526 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22527
87aa21df
JM
22528 * math/libm-test.inc (struct test_f_f1_data): New type.
22529 (RUN_TEST_LOOP_f_f1): New macro.
22530 (gamma_test_data): New variable.
22531 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22532 (lgamma_test_data): New variable.
22533 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22534
141af660
CD
225352013-05-13 Carlos O'Donell <carlos@redhat.com>
22536
22537 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22538 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22539 (main): Comment "tls" pseudo-hwcap.
22540
6d33265c
JM
225412013-05-13 Joseph Myers <joseph@codesourcery.com>
22542
68fc074c
JM
22543 * math/libm-test.inc (struct test_fl_f_data): New type.
22544 (RUN_TEST_LOOP_fl_f): New variable.
22545 (scalbln_test_data): New variable.
22546 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22547
243216e1
JM
22548 * math/libm-test.inc (struct test_fi_f_data): New type.
22549 (RUN_TEST_LOOP_fi_f): New macro.
22550 (ldexp_test_data): New variable.
22551 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22552 (scalbn_test_data): New variable.
22553 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22554
6a1992e2
JM
22555 * math/libm-test.inc (struct test_c_f_data): New type.
22556 (RUN_TEST_LOOP_c_f): New macro.
22557 (cabs_test_data): New variable.
22558 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22559 (carg_test_data): New variable.
22560 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22561 (cimag_test_data): New variable.
22562 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22563 (creal_test_data): New variable.
22564 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22565
0e400df5
JM
22566 * math/libm-test.inc (struct test_if_f_data): New type.
22567 (RUN_TEST_LOOP_if_f): New macro.
22568 (jn_test_data): New variable.
22569 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22570 (yn_test_data): New variable.
22571 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22572
6d33265c
JM
22573 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22574
f98ece5f
AZ
225752013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22576
22577 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22578 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22579
0f7d347b
SP
225802013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22581
43fe811b
SP
22582 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22583 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22584 (bench-deps): Add bench-timing.h.
22585 * benchtests-bench-skeleton.c: Include bench-timing.h.
22586 (main): Use TIMING_* macros instead of clock_gettime.
22587 * benchtests/bench-timing.h: New file.
22588
0f7d347b
SP
22589 [BZ #14582]
22590 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22591 Renamed from _LIB_VERSION.
22592 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22593
601a3a5f
JM
225942013-05-12 Joseph Myers <joseph@codesourcery.com>
22595
4f184d30
JM
22596 * math/libm-test.inc (struct test_fff_f_data): New type.
22597 (RUN_TEST_LOOP_fff_f): New macro.
22598 (fma_test_data): New variable.
22599 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22600 (fma_towardzero_test_data): New variable.
22601 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22602 (fma_downward_test_data): New variable.
22603 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22604 (fma_upward_test_data): New variable.
22605 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22606
08198877
JM
22607 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22608 (struct test_c_c_data): New type.
22609 (RUN_TEST_LOOP_c_c): New macro.
22610 (cacos_test_data): New variable.
22611 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22612 (cacosh_test_data): New variable.
22613 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22614 (casin_test_data): New variable.
22615 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22616 (casinh_test_data): New variable.
22617 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22618 (catan_test_data): New variable.
22619 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22620 (catanh_test_data): New variable.
22621 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22622 (ccos_test_data): New variable.
22623 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22624 (ccosh_test_data): New variable.
22625 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22626 (cexp_test_data): New variable.
22627 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22628 (clog_test_data): New variable.
22629 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22630 (clog10_test_data): New variable.
22631 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22632 (conj_test_data): New variable.
22633 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22634 (cproj_test_data): New variable.
22635 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22636 (csin_test_data): New variable.
22637 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22638 (csinh_test_data): New variable.
22639 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22640 (csqrt_test_data): New variable.
22641 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22642 (ctan_test_data): New variable.
22643 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22644 (ctan_tonearest_test_data): New variable.
22645 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22646 (ctan_towardzero_test_data): New variable.
22647 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22648 (ctan_downward_test_data): New variable.
22649 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22650 (ctan_upward_test_data): New variable.
22651 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22652 (ctanh_test_data): New variable.
22653 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22654 (ctanh_tonearest_test_data): New variable.
22655 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22656 (ctanh_towardzero_test_data): New variable.
22657 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22658 (ctanh_downward_test_data): New variable.
22659 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22660 (ctanh_upward_test_data): New variable.
22661 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22662 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22663 of BUILD_COMPLEX.
22664
601a3a5f
JM
22665 * math/libm-test.inc (struct test_ff_f_data): New type.
22666 (struct test_ff_f_data_nexttoward): Likewise.
22667 (RUN_TEST_LOOP_2_f): New macro.
22668 (RUN_TEST_LOOP_ff_f): Likewise.
22669 (atan2_test_data): New variable.
22670 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22671 (copysign_test_data): New variable.
22672 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22673 (fdim_test_data): New variable.
22674 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22675 (fmax_test_data): New variable.
22676 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22677 (fmin_test_data): New variable.
22678 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22679 (fmod_test_data): New variable.
22680 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22681 (hypot_test_data): New variable.
22682 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22683 (nextafter_test_data): New variable.
22684 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22685 (nexttoward_test_data): New variable.
22686 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22687 (pow_test_data): New variable.
22688 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22689 (pow_tonearest_test_data): New variable.
22690 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22691 (pow_towardzero_test_data): New variable.
22692 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22693 (pow_downward_test_data): New variable.
22694 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22695 (pow_upward_test_data): New variable.
22696 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22697 (remainder_test_data): New variable.
22698 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22699 (scalb_test_data): New variable.
22700 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22701 * sysdeps/i386/fpu/libm-test-ulps: Update.
22702
74c57478
JM
227032013-05-11 Joseph Myers <joseph@codesourcery.com>
22704
8329e4da
JM
22705 * math/libm-test.inc (fma_test): Use max_value instead of local
22706 variable fltmax.
22707 (nextafter_test): Likewise.
22708
74c57478
JM
22709 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22710 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22711 (acos_downward_test_data): New variable.
22712 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22713 (acos_upward_test_data): New variable.
22714 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22715 (acosh_test_data): New variable.
22716 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22717 (asin_test_data): New variable.
22718 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22719 (asin_tonearest_test_data): New variable.
22720 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22721 (asin_towardzero_test_data): New variable.
22722 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22723 (asin_downward_test_data): New variable.
22724 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22725 (asin_upward_test_data): New variable.
22726 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22727 (asinh_test_data): New variable.
22728 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22729 (atan_test_data): New variable.
22730 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22731 (atanh_test_data): New variable.
22732 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22733 (cbrt_test_data): New variable.
22734 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22735 (ceil_test_data): New variable.
22736 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22737 (cos_test_data): New variable.
22738 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22739 (cos_tonearest_test_data): New variable.
22740 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22741 (cos_towardzero_test_data): New variable.
22742 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22743 (cos_downward_test_data): New variable.
22744 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22745 (cos_upward_test_data): New variable.
22746 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22747 (cosh_test_data): New variable.
22748 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22749 (cosh_tonearest_test_data): New variable.
22750 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22751 (cosh_towardzero_test_data): New variable.
22752 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22753 (cosh_downward_test_data): New variable.
22754 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22755 (cosh_upward_test_data): New variable.
22756 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22757 (erf_test_data): New variable.
22758 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22759 (erfc_test_data): New variable.
22760 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22761 (exp_test_data): New variable.
22762 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22763 (exp_tonearest_test_data): New variable.
22764 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22765 (exp_towardzero_test_data): New variable.
22766 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22767 (exp_downward_test_data): New variable.
22768 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22769 (exp_upward_test_data): New variable.
22770 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22771 (exp10_test_data): New variable.
22772 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22773 (exp2_test_data): New variable.
22774 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22775 (expm1_test_data): New variable.
22776 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22777 (fabs_test_data): New variable.
22778 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22779 (floor_test_data): New variable.
22780 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22781 (j0_test_data): New variable.
22782 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22783 (j1_test_data): New variable.
22784 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22785 (log_test_data): New variable.
22786 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22787 (log10_test_data): New variable.
22788 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22789 (log1p_test_data): New variable.
22790 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22791 (log2_test_data): New variable.
22792 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22793 (logb_test_data): New variable.
22794 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22795 (logb_downward_test_data): New variable.
22796 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22797 (nearbyint_test_data): New variable.
22798 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22799 (rint_test_data): New variable.
22800 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22801 (rint_tonearest_test_data): New variable.
22802 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22803 (rint_towardzero_test_data): New variable.
22804 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22805 (rint_downward_test_data): New variable.
22806 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22807 (rint_upward_test_data): New variable.
22808 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22809 (round_test_data): New variable.
22810 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22811 (sin_test_data): New variable.
22812 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22813 (sin_tonearest_test_data): New variable.
22814 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22815 (sin_towardzero_test_data): New variable.
22816 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22817 (sin_downward_test_data): New variable.
22818 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22819 (sin_upward_test_data): New variable.
22820 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22821 (sinh_test_data): New variable.
22822 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22823 (sinh_tonearest_test_data): New variable.
22824 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22825 (sinh_towardzero_test_data): New variable.
22826 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22827 (sinh_downward_test_data): New variable.
22828 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22829 (sinh_upward_test_data): New variable.
22830 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22831 (sqrt_test_data): New variable.
22832 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22833 (tan_test_data): New variable.
22834 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22835 (tan_tonearest_test_data): New variable.
22836 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22837 (tan_towardzero_test_data): New variable.
22838 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22839 (tan_downward_test_data): New variable.
22840 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22841 (tan_upward_test_data): New variable.
22842 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22843 (tanh_test_data): New variable.
22844 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22845 (tgamma_test_data): New variable.
22846 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22847 (trunc_test_data): New variable.
22848 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22849 (y0_test_data): New variable.
22850 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22851 (y1_test_data): New variable.
22852 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22853 (significand_test_data): New variable.
22854 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22855
7187d844
CG
228562013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22857
22858 [BZ #12387]
22859 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22860
f63fae73
PT
228612013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22862
22863 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22864
8a67a4b3
AJ
228652013-05-10 Andreas Jaeger <aj@suse.de>
22866
22867 [BZ #15448]
22868 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22869 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22870
51df539d
JM
228712013-05-10 Joseph Myers <joseph@codesourcery.com>
22872
22873 * math/gen-libm-test.pl (adjust_arg): New function.
22874 (special_functions): Handle generating output in both functions
22875 and arrays.
22876 (parse_args): Likewise.
22877 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22878 $in_func argument to parse_args.
22879 * math/libm-test.inc (struct test_f_f_data): New type.
22880 (IF_ROUND_INIT_): New macro.
22881 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22882 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22883 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22884 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22885 (ROUND_RESTORE_): Likewise.
22886 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22887 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22888 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22889 (ROUND_RESTORE_FE_UPWARD): Likewise.
22890 (RUN_TEST_LOOP_f_f): New macro.
22891 (acos_test_data): New variable.
22892 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22893 (acos_tonearest_test_data): New variable.
22894 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22895
5c637fe5
SP
228962013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22897
22898 * benchtests/bench-skeleton.c (startup): Fix coding style.
22899
ab2b9461
JM
229002013-05-10 Joseph Myers <joseph@codesourcery.com>
22901
22902 [BZ #6809]
22903 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22904 negative infinity argument.
22905 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22906 negative infinity argument.
22907 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22908 negative infinity argument.
22909 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22910 domain errors.
22911
4c0fe6fe
FW
229122013-05-10 Florian Weimer <fweimer@redhat.com>
22913
22914 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22915 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22916 * iconv/iconv_prog.c (main): Likewise.
22917 * locale/programs/charmap-dir.c (charmap_readdir)
22918 (fopen_uncompressed): Likewise.
22919 * locale/programs/locfile.c (siblings_uncached)
22920 (write_locale_data): Use lstat64 instead of lstat.
22921 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22922 stat.
22923
a3375d29
AJ
229242013-05-10 Andreas Jaeger <aj@suse.de>
22925
22926 [BZ #15395]
22927 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22928 localization.
22929 Include <locale.h>.
22930
36129722
CD
229312013-05-09 Carlos O'Donell <carlos@redhat.com>
22932
22933 * elf/dl-close.c (_dl_close_worker): Add comments.
22934
faa7f811
JM
229352013-05-09 Joseph Myers <joseph@codesourcery.com>
22936
ed41ffef
JM
22937 [BZ #15359]
22938 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22939 high part of pi/2.
22940 (__ieee754_rem_pio2l): Update comments.
22941
d0213cd0
JM
22942 [BZ #15429]
22943 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22944 high part of pi/2.
22945 (__ieee754_rem_pio2l): Update comments.
22946
0d3e777a
JM
22947 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22948 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22949
24f56066
JM
22950 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22951 M_PI_4l.
22952
faa7f811
JM
22953 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22954 (M_PI_34_LOG10El): Likewise.
22955 (M_PI2_LOG10El): Likewise.
22956 (M_PI4_LOG10El): Likewise.
22957 (M_PI_LOG10El): Likewise.
22958
e9a5e0fd
AZ
229592013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22960
22961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22962
d8cd06db
JM
229632013-05-08 Joseph Myers <joseph@codesourcery.com>
22964
a0d9f9d7
JM
22965 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22966 (MINUS_ZERO_INIT): Likewise.
22967 (PLUS_INFTY_INIT): Likewise.
22968 (MINUS_INFTY_INIT): Likewise.
22969 (QNAN_VALUE_INIT): Likewise.
22970 (MAX_VALUE_INIT): Likewise.
22971 (MIN_VALUE_INIT): Likewise.
22972 (MIN_SUBNORM_VALUE_INIT): Likewise.
22973 (plus_zero): Initialize with PLUS_ZERO_INIT.
22974 (minus_zero): Initialize with MINUS_ZERO_INIT.
22975 (plus_infty): Initialize with PLUS_INFTY_INIT.
22976 (minus_infty): Initialize with MINUS_INFTY_INIT.
22977 (qnan_value): Initialize with QNAN_VALUE_INIT.
22978 (max_value): Initialize with MAX_VALUE_INIT.
22979 (min_value): Initialize with MIN_VALUE_INIT.
22980 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22981
ae08db3b
JM
22982 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22983 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22984 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22985 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22986
f44bf14a
JM
22987 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22988 (RUN_TEST_2_f): Likewise.
22989 (RUN_TEST_ff_f): Likewise.
22990 (RUN_TEST_fi_f): Likewise.
22991 (RUN_TEST_fl_f): Likewise.
22992 (RUN_TEST_fff_f): Likewise.
22993 (RUN_TEST_c_f): Likewise.
22994 (RUN_TEST_f_f1): Likewise.
22995 (RUN_TEST_fF_f1): Likewise.
22996 (RUN_TEST_fI_f1): Likewise.
22997 (RUN_TEST_ffI_f1): Likewise.
22998 (RUN_TEST_c_c): Likewise.
22999 (RUN_TEST_cc_c): Likewise.
23000 (RUN_TEST_f_i): Likewise.
23001 (RUN_TEST_f_i_tg): Likewise.
23002 (RUN_TEST_ff_i_tg): Likewise.
23003 (RUN_TEST_f_b): Likewise.
23004 (RUN_TEST_f_b_tg): Likewise.
23005 (RUN_TEST_f_l): Likewise.
23006 (RUN_TEST_f_L): Likewise.
23007 (RUN_TEST_sincos): Likewise.
23008 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23009 whether to show exceptions. Do not include ");\n" in return
23010 value.
23011 (special_functions): Output call to RUN_TEST_sincos instead of
23012 check_float calls. Update calls to new_test.
23013 (parse_args): Output call to single RUN_TEST_* macro instead of
23014 check_* calls and other assignments. Update calls to new_test.
23015
d8cd06db
JM
23016 [BZ #2546]
23017 [BZ #2560]
23018 [BZ #5159]
23019 [BZ #15426]
23020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23021 input to result for tgamma overflow.
23022 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23023 (gamma_coeff): New variable.
23024 (NCOEFF): New macro.
23025 (gamma_positive): New function.
23026 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23027 underflow here. Use gamma_positive instead of exp (lgamma) for
23028 other arguments.
23029 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23030 (gamma_coeff): New variable.
23031 (NCOEFF): New macro.
23032 (gammaf_positive): New function.
23033 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23034 underflow here. Use gamma_positive instead of exp (lgamma) for
23035 other arguments.
23036 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23037 (gamma_coeff): New variable.
23038 (NCOEFF): New macro.
23039 (gammal_positive): New function.
23040 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23041 underflow here. Use gamma_positive instead of exp (lgamma) for
23042 other arguments.
23043 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23044 (gamma_coeff): New variable.
23045 (NCOEFF): New macro.
23046 (gammal_positive): New function.
23047 (__ieee754_gammal_r): Handle positive infinity, overflow and
23048 underflow here. Handle NaN the same as positive infinity. Remove
23049 check x < 0xffffffff for negative integers. Use gamma_positive
23050 instead of exp (lgamma) for other arguments.
23051 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23052 (gamma_coeff): New variable.
23053 (NCOEFF): New macro.
23054 (gammal_positive): New function.
23055 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23056 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23057 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23058 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23059 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23060 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23061 * sysdeps/generic/math_private.h (__gamma_productf): New
23062 prototype.
23063 (__gamma_product): Likewise.
23064 (__gamma_productl): Likewise.
23065 * math/Makefile (libm-calls): Add gamma_product.
23066 * math/libm-test.inc (tgamma_test): Add more tests.
23067 * sysdeps/i386/fpu/libm-test-ulps: Update.
23068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23069
bb7cf681
OB
230702013-05-08 Ondřej Bílka <neleai@seznam.cz>
23071
23072 * benchtests/bench-skeleton.c (main): Preheat CPU.
23073
ba853947
AJ
230742013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23075
23076 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23077
8347c74c
RM
230782013-05-07 Roland McGrath <roland@hack.frob.com>
23079
23080 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23081 and _dl_skip_args_internal.
23082
e8dd4791
CD
230832013-05-07 Carlos O'Donell <carlos@redhat.com>
23084
23085 * manual/message.texi (Message Translation): Talk about users.
23086 Message to key mapping impacts design.
23087
c7405830
RM
230882013-05-06 Roland McGrath <roland@hack.frob.com>
23089
a9173057
RM
23090 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23091
976e2f03
RM
23092 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23093
9723ffc5
RM
23094 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23095 * sysdeps/wordsize-64/glob64.c: ... here.
23096
962e6658
RM
23097 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23098 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23099 New macros.
23100
ee586a6d
RM
23101 * debug/getlogin_r_chk.c: Moved to ...
23102 * login/getlogin_r_chk.c: ... here.
23103 * debug/Makefile (routines): Move getlogin_r_chk to ...
23104 * login/Makefile (routines): ... here.
23105 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23106 * login/Versions (libc: GLIBC_2.4): ... here.
23107
355f9165
RM
23108 * io/poll.c (__poll): Renamed from poll.
23109 Add libc_hidden_def.
23110 (poll): Define as weak alias.
23111
bd9ffde6
RM
23112 * debug/ptsname_r_chk.c: Moved to ...
23113 * login/ptsname_r_chk.c: ... here.
23114 * debug/Makefile (routines): Move ptsname_r_chk to ...
23115 * login/Makefile (routines): ... here.
23116 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23117 * login/Versions (libc: GLIBC_2.4): ... here.
23118
8fb16a04
RM
23119 * posix/getlogin.c: Moved to ...
23120 * login/getlogin.c: ... here.
23121 * posix/getlogin_r.c: Moved to ...
23122 * login/getlogin_r.c: ... here.
23123 * posix/getlogin_r.c: Moved to ...
23124 * login/getlogin_r.c: ... here.
23125 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23126 * login/Makefile (routines): ... here.
23127 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23128 * login/Versions (libc: GLIBC_2.0): ... here.
23129
b99b892f
RM
23130 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23131 (setrlimit): Define as weak alias.
23132
c7405830
RM
23133 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23134 Call __ names for open, ftruncate, and close.
23135 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23136 (truncate): Define as weak alias.
23137
5bf96de5
JM
231382013-05-06 Joseph Myers <joseph@codesourcery.com>
23139
9ea3513c
JM
23140 * math/gen-libm-test.pl (parse_args): Initialize x before each
23141 test of frexp, modf and remquo.
23142
5bf96de5
JM
23143 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23144 test signgam value.
23145
16e616a7
AZ
231462013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23147
23148 [BZ #15418]
23149 [BZ #15419]
23150 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23151 internal tests.
23152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23153
d5e82754
RM
231542013-05-06 Roland McGrath <roland@hack.frob.com>
23155
23156 * elf/dl-writev.h: New file.
23157 * elf/dl-misc.c: Include it.
23158 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23159 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23160
a7548d41
JM
231612013-05-04 Joseph Myers <joseph@codesourcery.com>
23162
b7dab1e4
JM
23163 * math/libm-test.inc (noXFails): Remove variable.
23164 (noXPasses): Likewise.
23165 (BUILD_COMPLEX_INT): Remove macro.
23166 (print_screen): Remove xfail argument.
23167 (print_screen_max_error): Likewise.
23168 (update_stats): Likewise.
23169 (print_max_error): Likewise. Update calls to other affected
23170 functions.
23171 (print_complex_max_error): Likewise.
23172 (test_single_exception): Update calls to print_screen.
23173 (test_single_errno): Likewise.
23174 (check_float_internal): Remove xfail argument. Update calls to
23175 other affected functions.
23176 (check_float): Likewise.
23177 (check_complex): Likewise.
23178 (check_int): Likewise.
23179 (check_long): Likewise.
23180 (check_bool): Likewise.
23181 (check_longlong): Likewise.
23182 (main): Don't print noXFails and noXPasses.
23183 * math/gen-libm-test.pl (top level): Don't mention expected
23184 failure handling in comment.
23185 (new_test): Don't handle expected failures.
23186 (parse_args): Don't mention expected failure handling in comment.
23187 (generate_testfile): Don't handle expected failures.
23188 (parse_ulps): Likewise.
23189 (print_ulps_file): Likewise.
23190 (get_failure): Remove function.
23191 (output_test): Don't handle expected failures.
23192 * make/README.libm-test: Don't mention expected failure handling.
23193
a7548d41
JM
23194 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23195 (minus_zero): Likewise.
23196 (plus_infty): Likewise.
23197 (minus_infty): Likewise.
23198 (qnan_value): Likewise.
23199 (max_value): Likewise.
23200 (min_value): Likewise.
23201 (min_subnorm_value): Likewise.
23202 (initialize): Do not initialize those variables dynamically.
23203
60bfd54c
RM
232042013-05-03 Roland McGrath <roland@hack.frob.com>
23205
cc0e6ed8
RM
23206 * io/open.c (__open_2): Moved to ...
23207 * io/open_2.c: ... this new file.
23208 * io/open64.c (__open64_2): Moved to ...
23209 * io/open64_2.c: ... this new file.
23210 * io/openat.c (__openat_2): Moved to ...
23211 * io/openat_2.c: ... this new file.
23212 * io/openat64.c (__openat64_2): Moved to ...
23213 * io/openat64_2.c: ... this new file.
23214 * io/Makefile (routines): Add them.
23215 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23216 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23217 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23218 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23219 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23220 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23221 (__openat64): Add hidden_ver.
23222 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23223 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23224
60bfd54c
RM
23225 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23226 Separately conditionalize setting of GLRO(dl_sysinfo) so
23227 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23228 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23229
83e7640f
AZ
232302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23231
23232 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23234 definition.
23235 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23236 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23237 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23238 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23239 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23240
d5dc2af3
JM
232412013-05-03 Joseph Myers <joseph@codesourcery.com>
23242
c31a5b1e
JM
23243 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23244 test signgam value.
23245
d5dc2af3
JM
23246 * math/libm-test.inc (hypot_test): Do not use
23247 IGNORE_ZERO_INF_SIGN.
23248
164fd39d
AJ
232492013-05-03 Andreas Jaeger <aj@suse.de>
23250
23251 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23252 Linux 3.9.
23253 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23254 (PF_MAX): Adjust for VSOCK change.
23255
8237f48c
AZ
232562013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23257
23258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23259
9df02941
CD
232602013-05-02 Carlos O'Donell <carlos@redhat.com>
23261
23262 [BZ #15264]
23263 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23264 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23265 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23266
d422395e
DM
232672013-05-02 David S. Miller <davem@davemloft.net>
23268
23269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23270
a07c5731
OB
232712013-05-01 Ondřej Bílka <neleai@seznam.cz>
23272
23273 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23274
1324e37f
RM
232752013-05-01 Roland McGrath <roland@hack.frob.com>
23276
23277 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23278
0695940b
RS
232792013-05-01 Richard Smith <richard@metafoo.co.uk>
23280
bb5f27ad 23281 [BZ #14952]
0695940b
RS
23282 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23283 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23284 Use __attribute__ ((__gnu_inline__)).
23285 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23286 Don't use __attribute__ ((__gnu_inline__)).
23287
10de07f5
JM
232882013-05-01 Joseph Myers <joseph@codesourcery.com>
23289
23290 [BZ #15423]
23291 * math/s_catan.c (__catan): Handle small real or imaginary part of
23292 input specially to avoid spurious underflow.
23293 * math/s_catanf.c (__catanf): Likewise.
23294 * math/s_catanh.c (__catanh): Likewise.
23295 * math/s_catanhf.c (__catanhf): Likewise.
23296 * math/s_catanhl.c (__catanhl): Likewise.
23297 * math/s_catanl.c (__catanl): Likewise.
23298 * math/libm-test.inc (catan_test): Add more tests.
23299 (catanh_test): Likewise.
23300 * sysdeps/i386/fpu/libm-test-ulps: Update.
23301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23302
cb4d5414
AZ
233032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23304
23305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23306
caf84319
JM
233072013-04-30 Joseph Myers <joseph@codesourcery.com>
23308
23309 [BZ #15416]
23310 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23311 accurately for denominator in atan2.
23312 * math/s_catanf.c (__catanf): Likewise.
23313 * math/s_catanh.c (__catanh): Likewise.
23314 * math/s_catanhf.c (__catanhf): Likewise.
23315 * math/s_catanhl.c (__catanhl): Likewise.
23316 * math/s_catanl.c (__catanl): Likewise.
23317 * math/libm-test.inc (catan_test): Add more tests.
23318 (catanh_test): Likewise.
23319 * sysdeps/i386/fpu/libm-test-ulps: Update.
23320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23321
d569c6ee
SP
233222013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23323
6dbe713d
SP
23324 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23325
f0ee064b
SP
23326 * benchtests/Makefile (bench): Remove slow benchmarks.
23327 * benchtests/atan-inputs: Add slow benchmark inputs.
23328 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23329 (BENCH_FUNC): Accept variant offset.
23330 (VARIANT): Define.
23331 * benchtests/bench-skeleton.c (main): Run benchmark for each
23332 variant.
23333 * benchtests/cos-inputs: Add slow benchmark inputs.
23334 * benchtests/exp-inputs: Likewise.
23335 * benchtests/pow-inputs: Likewise.
23336 * benchtests/sin-inputs: Likewise.
23337 * benchtests/slowatan-inputs: Remove.
23338 * benchtests/slowatan.c: Remove.
23339 * benchtests/slowcos-inputs: Remove.
23340 * benchtests/slowcos.c: Remove.
23341 * benchtests/slowexp-inputs: Remove.
23342 * benchtests/slowexp.c: Remove.
23343 * benchtests/slowpow-inputs: Remove.
23344 * benchtests/slowpow.c: Remove.
23345 * benchtests/slowsin-inputs: Remove.
23346 * benchtests/slowsin.c: Remove.
23347 * benchtests/slowtan-inputs: Remove.
23348 * benchtests/slowtan.c: Remove.
23349 * benchtests/tan-inputs: Add slow benchmark inputs.
23350 * scripts/bench.pl: Parse comments and directives.
23351
d569c6ee
SP
23352 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23353 in CPPFLAGS.
23354 ($(objpfx)bench-%.c): Remove *-ITER.
23355 * benchtests/bench-modf.c: Remove definition of ITER.
23356 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23357 (main): Loop for DURATION seconds instead of fixed number of
23358 iterations.
23359 * scripts/bench.pl: Don't expect iterations in parameters.
23360
a6a242fe
RM
233612013-04-29 Roland McGrath <roland@hack.frob.com>
23362
23363 * io/fchdir.c (__fchdir): Renamed from fchdir.
23364 (fchdir): Define as weak alias.
23365
f2da7793
JM
233662013-04-29 Joseph Myers <joseph@codesourcery.com>
23367
23368 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23369 (ERRNO_EDOM): Likewise.
23370 (ERRNO_ERANGE): Likewise.
23371 (noErrnoTests): New variable.
23372 (init_max_error): Set errno to 0.
23373 (test_single_errno): New function.
23374 (test_errno): Likewise.
23375 (check_float_internal): Call test_errno. Set errno to 0.
23376 (check_complex): Refer to errno tests in comment.
23377 (check_int): Call test_errno. Set errno to 0.
23378 (check_long): Likewise.
23379 (check_bool): Likewise.
23380 (check_longlong): Likewise.
23381 (cos_test): Use ERRNO_* flags for errno tests instead of
23382 check_int.
23383 (expm1_test): Likewise.
23384 (fmod_test): Likewise.
23385 (ilogb_test): Likewise.
23386 (lgamma_test): Likewise.
23387 (pow_test): Likewise.
23388 (remainder_test): Likewise.
23389 (sin_test): Likewise.
23390 (tan_test): Likewise.
23391 (yn_test): Likewise.
23392 (initialize): Set errno to 0.
23393 (main): Print number of errno tests.
23394 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23395
b1a36ceb
AJ
233962013-04-29 Andreas Jaeger <aj@suse.de>
23397
c3ed8088
AJ
23398 [BZ #15084]
23399 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23400 and RES_USEVC.
23401
f1a24198
AJ
23402 [BZ #15085]
23403 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23404 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23405 unimplemented.
23406
9ce3b2cb
AJ
23407 [BZ #15380]
23408 * stdlib/random.c (__initstate): Return NULL if
23409 __initstate fails.
23410
f1a24198 23411 [BZ #15086]
b1a36ceb
AJ
23412 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23413 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23414 RES_SNGLKUPREOP.
23415
7e7b6f36
AZ
234162013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23417
23418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23419
4d14f449
JM
234202013-04-29 Joseph Myers <joseph@codesourcery.com>
23421
23422 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23423 of individual tests.
23424 (casin_test): Likewise.
23425 (casinh_test): Likewise.
23426
5b4217d7
JM
234272013-04-27 Joseph Myers <joseph@codesourcery.com>
23428
23429 [BZ #15409]
23430 * math/s_catan.c (__catan): Handle arguments with large real or
23431 imaginary part separately without squaring.
23432 * math/s_catanf.c (__catanf): Likewise.
23433 * math/s_catanh.c (__catanh): Likewise.
23434 * math/s_catanhf.c (__catanhf): Likewise.
23435 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23436 and redefine.
23437 (__catanhl): Handle arguments with large real or imaginary part
23438 separately without squaring.
23439 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23440 and redefine.
23441 (__catanl): Handle arguments with large real or imaginary part
23442 separately without squaring.
23443 * math/libm-test.inc (catan_test): Add more tests.
23444 (catanh_test): Likewise.
23445 * sysdeps/i386/fpu/libm-test-ulps: Update.
23446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23447
4220c3ef
AJ
234482013-04-27 Andreas Jaeger <aj@suse.de>
23449
23450 [BZ #15007]
23451 * stdlib/stdlib.h: Update guards for qecvt.
23452 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23453 <stdlib.h>.
23454
4721b2d1
AM
234552013-04-27 Allan McRae <allan@archlinux.org>
23456
23457 * sysdeps/i386/fpu/libm-test-ulps: Update.
23458
f0302940
JM
234592013-04-26 Joseph Myers <joseph@codesourcery.com>
23460
9457fd95
JM
23461 [BZ #15406]
23462 * math/s_catan.c: Include <float.h>.
23463 (__catan): Ensure underflow exception occurs for underflowed
23464 result.
23465 * math/s_catanf.c: Include <float.h>.
23466 (__catanf): Ensure underflow exception occurs for underflowed
23467 result.
23468 * math/s_catanh.c: Include <float.h>.
23469 (__catanh): Ensure underflow exception occurs for underflowed
23470 result.
23471 * math/s_catanhf.c: Include <float.h>.
23472 (__catanhf): Ensure underflow exception occurs for underflowed
23473 result.
23474 * math/s_catanhl.c: Include <float.h>.
23475 (__catanhl): Ensure underflow exception occurs for underflowed
23476 result.
23477 * math/s_catanl.c: Include <float.h>.
23478 (__catanl): Ensure underflow exception occurs for underflowed
23479 result.
23480 * math/libm-test.inc (catan_test): Add more tests.
23481 (catanh_test): Likewise.
23482
f0302940
JM
23483 [BZ #15405]
23484 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23485 underflowed result.
23486 * math/s_ccoshf.c (__ccoshf): Likewise.
23487 * math/s_ccoshl.c (__ccoshl): Likewise.
23488 * math/s_csin.c (__csin): Likewise.
23489 * math/s_csinf.c (__csinf): Likewise.
23490 * math/s_csinh.c (__csinh): Likewise.
23491 * math/s_csinhf.c (__csinhf): Likewise.
23492 * math/s_csinhl.c (__csinhl): Likewise.
23493 * math/s_csinl.c (__csinl): Likewise.
23494 * math/libm-test.inc (ccos_test): Add more tests.
23495 (ccosh_test): Likewise.
23496 (csin_test): Likewise.
23497 (csinh_test): Likewise.
23498
aa630f59
AZ
234992013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23500
23501 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23502 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23503 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23504 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23505 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23506 powerpc/power5+/fpu folders.
23507 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23508
23509
1b835983
MT
235102013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23511
23512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23513
73709b26
JM
235142013-04-25 Joseph Myers <joseph@codesourcery.com>
23515
23516 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23517 additions to variable.
23518 [$(config-machine) = x86_64] (modules-names): Likewise.
23519 ($(objpfx)tst-audit3): Remove dependency.
23520 ($(objpfx)tst-audit3.out): Likewise.
23521 ($(objpfx)tst-audit4): Likewise.
23522 ($(objpfx)tst-audit4.out): Likewise.
23523 ($(objpfx)tst-audit5): Likewise.
23524 ($(objpfx)tst-audit5.out): Likewise.
23525 ($(objpfx)tst-audit6): Likewise.
23526 ($(objpfx)tst-audit6.out): Likewise.
23527 ($(objpfx)tst-audit7): Likewise.
23528 ($(objpfx)tst-audit7.out): Likewise.
23529 (tst-audit3-ENV): Remove variable.
23530 (tst-audit4-ENV): Likewise.
23531 (tst-audit5-ENV): Likewise.
23532 (tst-audit6-ENV): Likewise.
23533 (tst-audit7-ENV): Likewise.
23534 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23535 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23536 addition to variable.
23537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23538 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23539 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23540 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23541 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23542 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23543 tst-audit3, tst-audit4 and tst-audit5.
23544 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23545 tst-audit6 and tst-audit7.
23546 [$(subdir) = elf] (modules-names): Add audit modules for those
23547 tests.
23548 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23549 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23550 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23551 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23552 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23553 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23554 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23555 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23556 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23557 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23558 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23559 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23560 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23561 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23562 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23563 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23564 Likewise.
23565 [$(subdir) = elf && $(config-cflags-avx) = yes]
23566 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23567 [$(subdir) = elf && $(config-cflags-avx) = yes]
23568 (CFLAGS-tst-auditmod4a.c): Likewise.
23569 [$(subdir) = elf && $(config-cflags-avx) = yes]
23570 (CFLAGS-tst-auditmod4b.c): Likewise.
23571 [$(subdir) = elf && $(config-cflags-avx) = yes]
23572 (CFLAGS-tst-auditmod6b.c): Likewise.
23573 [$(subdir) = elf && $(config-cflags-avx) = yes]
23574 (CFLAGS-tst-auditmod6c.c): Likewise.
23575 [$(subdir) = elf && $(config-cflags-avx) = yes]
23576 (CFLAGS-tst-auditmod7b.c): Likewise.
23577 * elf/tst-audit3.c: Move to ...
23578 * sysdeps/x86_64/tst-audit3.c: ... here.
23579 * elf/tst-audit4.c: Move to ...
23580 * sysdeps/x86_64/tst-audit4.c: ... here.
23581 * elf/tst-audit5.c: Move to ...
23582 * sysdeps/x86_64/tst-audit5.c: ... here.
23583 * elf/tst-audit6.c: Move to ...
23584 * sysdeps/x86_64/tst-audit6.c: ... here.
23585 * elf/tst-audit7.c: Move to ...
23586 * sysdeps/x86_64/tst-audit7.c: ... here.
23587 * elf/tst-auditmod3a.c: Move to ...
23588 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23589 * elf/tst-auditmod3b.c: Move to ...
23590 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23591 * elf/tst-auditmod4a.c: Move to ...
23592 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23593 * elf/tst-auditmod4b.c: Move to ...
23594 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23595 * elf/tst-auditmod5a.c: Move to ...
23596 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23597 * elf/tst-auditmod5b.c: Move to ...
23598 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23599 * elf/tst-auditmod6a.c: Move to ...
23600 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23601 * elf/tst-auditmod6b.c: Move to ...
23602 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23603 * elf/tst-auditmod6c.c: Move to ...
23604 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23605 * elf/tst-auditmod7a.c: Move to ...
23606 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23607 * elf/tst-auditmod7b.c: Move to ...
23608 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23609
1ef74943
PP
236102013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23611
23612 [BZ #15366]
23613 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23614 define unconditionally.
23615 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23616 define unconditionally.
23617 (INT8_C, INT16_C, etc.): Likewise.
23618
93fd48c5
MR
236192013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23620
ae9552cf
MR
23621 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23622 __ehdr_start with hidden visibility.
23623
93fd48c5
MR
23624 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23625
418601aa
CD
236262013-04-24 Carlos O'Donell <carlos@redhat.com>
23627
23628 * math/libm-test.inc (cos_test): Use accurate hex constants.
23629 (sincost_test): Likewise.
23630
2f38fbfe
JM
236312013-04-24 Joseph Myers <joseph@codesourcery.com>
23632
5e221800
JM
23633 * math/libm-test.inc (catan_test): Add more tests.
23634 (catanh_test): Likewise.
23635
77f143fd
JM
23636 * math/s_catanf.c (__catanf): Use suffixed floating-point
23637 constants.
23638 * math/s_catanhf.c (__catanhf): Likewise.
23639 * math/s_catanhl.c (__catanhl): Likewise.
23640 * math/s_catanl.c (__catanl): Likewise.
23641
2f38fbfe
JM
23642 [BZ #15394]
23643 * math/s_catan.c (__catan): Calculate imaginary part of result
23644 with log1p not log unless computing log of number close to 0.
23645 * math/s_catanf.c (__catanf): Likewise.
23646 * math/s_catanl.c (__catanl): Likewise.
23647 * math/s_catanh.c (__catanh): Calculate real part of result with
23648 log1p not log unless computing log of number close to 0.
23649 * math/s_catanhf.c (__catanhf): Likewise.
23650 * math/s_catanhl.c (__catanhl): Likewise.
23651 * math/libm-test.inc (catan_test): Add more tests.
23652 (catanh_test): Likewise.
23653 * sysdeps/i386/fpu/libm-test-ulps: Update.
23654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23655
45d69176
SP
236562013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23657
23658 * benchtests/Makefile: Mention files in which fast and slow
23659 paths of math functions are implemented.
23660
87f51853
RM
236612013-04-23 Roland McGrath <roland@hack.frob.com>
23662
23663 * sysdeps/posix/timespec_get.c: New file.
23664
3c026539
AZ
236652013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23666
23667 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23668 POWER.
23669 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23670 for POWER.
23671 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23672 powerpc/power5/fpu folders.
23673 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23674 * benchtests/Makefile: Add modf testcase.
23675 * benchtests/bench-modf.c: New file: Benchmark test for mo
23676
ff491d14
SP
236772013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23678
23679 [BZ #14888]
23680 * time/Makefile (tests): Add tst-strptime-whitespace.
23681 * time/strptime_l.c (get_number): Use ISSPACE.
23682 (__strptime_internal): Likewise.
23683 * time/tst-strptime-whitespace.c: New test case.
23684
7ed3f4e8
AS
236852013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23686
23687 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23688 member.
23689 (_nss_files_init): Set it here.
23690
5c95f7b6
HC
236912013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23692
23693 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23694 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23695 unsigned.
23696
d34c9158
JBG
236972013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23698
23699 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23700
2169712d
SP
237012013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23702
23703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23704 size just once.
23705
29c5de99
DM
237062013-04-21 David S. Miller <davem@davemloft.net>
23707
23708 * po/ru.po: Update Russion translation from translation project.
23709
ccdad15d
AC
237102013-04-17 Adam Conrad <adconrad@0c3.net>
23711
23712 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23713 and setfsgid.
23714
0f122b8d
CD
237152013-04-17 Carlos O'Donell <carlos@redhat.com>
23716
5c5b07da 23717 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23718 * configure: Regenerate.
5c5b07da 23719 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23720 Add example to error message.
23721 * sysdeps/i386/configure: Regenerate.
23722
037714dd
SP
237232013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23724
23725 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23726 slowtan.
23727 * benchtests/cos-inputs: New file.
23728 * benchtests/slowcos-inputs: New file.
23729 * benchtests/slowcos.c: New file.
23730 * benchtests/slowtan-inputs: New file.
23731 * benchtests/slowtan.c: New file.
23732 * benchtests/tan-inputs: New file.
23733
e913141d
RM
237342013-04-16 Roland McGrath <roland@hack.frob.com>
23735
23736 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23737 considered kosher.
23738
a2964074
SP
237392013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23740
4856bcd2
SP
23741 * benchtests/Makefile: Include cppflags-iterator.mk to add
23742 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23743
a2964074
SP
23744 * Makefile.in (bench-clean): New target.
23745 * benchtests/Makefile (bench-clean): Likewise.
23746
9fbf9aca
DH
237472013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23748
23749 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23750
207d1e2a
TS
237512013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23752
23753 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23754
306dfba9
AS
237552013-04-15 Andreas Schwab <schwab@suse.de>
23756
23757 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23759 * nscd/pwdcache.c (cache_addpw): Likewise.
23760 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23761 more than recsize.
23762
206a6699
SP
237632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23764
23765 * benchtests/Makefile (bench): Write all output to
23766 bench-out.tmp together.
23767
0582f6b3
AS
237682013-04-15 Andreas Schwab <schwab@suse.de>
23769
23770 * nscd/nscd.c (main): Don't fork again after closing files.
23771
acb4325f
SP
237722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23773
5cb26d0a
SP
23774 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23775
acb4325f
SP
23776 * benchtests/Rules (bench-deps): Collect dependencies into a
23777 single variable. Add Makefile to dependencies.
23778 ($(objpfx)bench-%.c): Depend on bench-deps.
23779
47792506
RM
237802013-04-12 Roland McGrath <roland@hack.frob.com>
23781 Xavier Roche <roche+kml2@exalead.com>
23782
23783 [BZ #15361]
23784 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23785 just that it's a file descriptor.
23786 * manual/llio.texi (Synchronizing AIO Operations): Update description
23787 for EBADF error from aio_fsync.
23788
8fc1bee5
SP
237892013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23790
23791 * Rules (bench): Move target definition...
23792 * benchtests/Makefile: ... here.
23793
aba5e333
CD
237942013-04-11 Carlos O'Donell <carlos@redhat.com>
23795
23796 * math/libm-test.inc (cos_test): Fix PI/2 test.
23797 (sincos_test): Likewise.
23798 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23799 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23800
273cdee8
AS
238012013-04-11 Andreas Schwab <schwab@suse.de>
23802
6ecec3b6
AS
23803 [BZ #13988]
23804 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23805 accept exponent character only when digits were seen.
23806 * stdio-common/Makefile (tests): Add bug26.
23807 * stdio-common/bug26.c: New file.
23808
273cdee8
AS
23809 [BZ #14293]
23810 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23811 non-freeable.
23812
8da491f5
SP
238132013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23814
01dc6df9
SP
23815 * Makeconfig (rtld-prefix): Define built linker prefix.
23816 * Rules (run-bench): Use it.
23817 * math/Makefile (run-regen-ulps): Likewise.
23818
8da491f5
SP
23819 * Rules (bench): Remove eval.
23820
abe7f530
SP
238212013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23822 Roland McGrath <roland@hack.frob.com>
23823 Ondrej Bilka <neleai@seznam.cz>
23824
23825 [BZ #15346]
23826 * time/getdate.c: Include ctype.h and alloca.h.
23827 (__getdate_r): Trim leading and trailing spaces of input.
23828 * time/tst-getdate.c (tests): Add tests with leading and
23829 trailing spaces.
23830
61c23e62
RM
238312013-04-08 Roland McGrath <roland@hack.frob.com>
23832
23833 [BZ #14280]
23834 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23835 when computing value.
23836
7208a313
CD
238372013-04-06 Carlos O'Donell <carlos@redhat.com>
23838
085b2d41
CD
23839 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23840 Use testrun.sh to run libm tests.
23841
7208a313
CD
23842 [BZ #15309]
23843 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23844
872c0acd
MM
238452013-04-06 Marko Myllynen <myllynen@redhat.com>
23846
23847 [BZ #15264]
23848 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23849
26510bdd
CD
238502013-04-06 Carlos O'Donell <carlos@redhat.com>
23851
23852 * Makefile.in (regen-ulps): New target.
23853 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23854 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23855 [ifneq (no,$(PERL)] (regen-ulps): New target.
23856 [ifeq (no,$(PERL)] (regen-ulps): New target.
23857 * math/libm-test.inc (ulps_file_name): Define.
23858 (output_dir): New variable.
23859 (options): Add "output-dir" option.
23860 (parse_opt): Handle 'o' case.
23861 (main): If output_dir is non-NULL use it as a prefix
23862 otherwise use "".
23863 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23864
a01f19c8
CD
238652013-04-06 Carlos O'Donell <carlos@redhat.com>
23866
23867 [BZ #10060, #10062]
23868 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23869 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23870 fail configure if __sync_val_compare_and_swap is not inlined.
23871 * sysdeps/i386/configure: Regenerate.
23872 * configure.in: Build for i686 when configured for i386.
23873 * configure: Regenerate.
23874 * README: Remove i386 reference.
23875
b7a329a5
CD
238762013-04-06 Carlos O'Donell <carlos@redhat.com>
23877
23878 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23880
bf0f50df
TS
238812013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23882
ee091edf
TS
23883 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23884 (lmsnanval): New variables.
23885 (F): Add conversion tests.
23886 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23887 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23888
a8b792d6
TS
23889 * stdio-common/tstdiomisc.c (F): Properly collect individual
23890 tests' results.
23891
a1cbf437
TS
23892 [BZ #14686, #15336]
23893 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23894 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23895 Instead, use input NaN values or generate a qNaN by arithmetic
23896 operation. Also fix bugs to comply with the standard.
23897 * math/libm-test.inc (remainder_test): Add more tests.
23898
8b43a0c9
TS
23899 [BZ #15335, #15342]
23900 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23902 input NaN values or generate a qNaN by arithmetic operation.
23903
d91da4ce
TS
23904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23905 unreachable code.
23906
bf0f50df
TS
23907 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23908 definitions.
23909
05e166c8
JM
239102013-04-03 Joseph Myers <joseph@codesourcery.com>
23911
23912 [BZ #14478]
23913 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23914 underflowed result.
23915 * math/s_cexpf.c (__cexpf): Likewise.
23916 * math/s_cexpl.c (__cexpl): Likewise.
23917 * math/libm-test.inc (cexp_test): Add more tests.
23918
1cef1b19
AS
239192013-04-03 Andreas Schwab <schwab@suse.de>
23920
23921 [BZ #15330]
23922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23923 order arrays from heap if bigger than alloca cutoff.
23924
74d87055
TS
239252013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23926
23927 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23928 (SNAN_TESTS_double): Refer to GCC PR56831.
23929 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23930 GCC PR56828.
23931
d755bba4
SP
239322013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23933
90d5d5bb
SP
23934 * Rules (bench): Move bench.out after the run is complete.
23935
73e0cd5d
SP
23936 * Rules (bench): Echo currently running benchmark.
23937
64aabd4b
SP
23938 * benchtests/Makefile (bench): Add atan and slowatan.
23939 * benchtests/atan-inputs: New file.
23940 * benchtests/slowatan-inputs: New file.
23941 * benchtests/slowatan.c: New file.
23942
c871eccd
SP
23943 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23945 its value.
23946
d755bba4
SP
23947 [BZ #15305]
23948 * sysdeps/unix/sysv/linux/kernel-features.h
23949 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23950 __ASSUME_XFS_RESTRICTED_CHOWN.
23951 * sysdeps/unix/sysv/linux/pathconf.c
23952 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23953 Save and restore errno.
23954
52ce4860
JM
239552013-04-02 Joseph Myers <joseph@codesourcery.com>
23956
23957 [BZ #15327]
23958 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23959 arguments using __kernel_casinh.
23960 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23961 arguments using __kernel_casinhf.
23962 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23963 arguments using __kernel_casinhl.
23964 * math/libm-test.inc (cacosh_test): Add more tests.
23965 * sysdeps/i386/fpu/libm-test-ulps: Update.
23966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23967
81f311c2
SP
239682013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23969
e7906a47
SP
23970 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23972
92e3664b
SP
23973 * bench/Makefile (bench): Add sin and slowsin.
23974 * benchtests/sin-inputs: New file.
23975 * benchtests/slowsin-inputs: New file.
23976 * benchtests/slowsin.c: New file.
23977
81f311c2
SP
23978 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23979 (bench): Add slowexp and slowpow.
23980 (exp-ITER): Increase iterations.
23981 (pow-ITER): Likewise.
23982 * benchtests/exp-inputs: Change input.
23983 * benchtests/pow-inputs: Likewise.
23984 * benchtests/slowexp-inputs: New file.
23985 * benchtests/slowexp.c: New file.
23986 * benchtests/slowpow-inputs: New file.
23987 * benchtests/slowpow.c: New file.
23988
ab0f1aa9
AZ
239892013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23990
23991 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23992 instructions.
23993 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23995 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23996 * benchtests/Makefile: Add rint benchtest.
23997 * benchtests/rint-inputs: Input for rint benchtest.
23998
57267616
TS
239992013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24000
24001 * Versions.def (libm): Add GLIBC_2.18.
24002 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24003 hidden libm prototypes.
24004 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24005 * math/Makefile (libm-calls): Add s_issignaling.
24006 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24007 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24008 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24009 declaration.
24010 * math/math.h [__USE_GNU] (issignaling): New macro.
24011 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24012 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24013 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24014 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24017 * manual/arith.texi (issignaling): New section.
24018 * manual/libm-err-tab.pl (@all_functions): Update comment.
24019 * math/gen-libm-test.pl (parse_args): Apply special handling for
24020 issignaling.
24021 * math/libm-test.inc (print_float, issignaling_test): New
24022 functions.
24023 (check_float_internal): Add issignaling checks.
24024 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24025 default definition.
24026 * sysdeps/powerpc/math-tests.h: New file.
24027 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24028 tests.
24029 * math/test-snan.c (TEST_FUNC): Likewise.
24030
6142896d
DM
240312013-03-30 David S. Miller <davem@davemloft.net>
24032
24033 * po/de.po: Update from translation team.
24034
ccc8cadf
JM
240352013-03-30 Joseph Myers <joseph@codesourcery.com>
24036
24037 [BZ #10357]
24038 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24039 imaginary part less than 1.0 and real part less than 0.5
24040 specially.
24041 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24042 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24043 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24044 (cacos_test): Add more tests.
24045 (casin_test): Likewise.
24046 (casinh_test): Likewise.
24047 * sysdeps/i386/fpu/libm-test-ulps: Update.
24048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24049
0f6a8d4b
SP
240502013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24051
0d1029de
SP
24052 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24053 ONE with its value.
24054
c2d94018
SP
24055 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24056 (__pow_mp): Replace ONE and MONE with their values.
24057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24059 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24060 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24061 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24063
27ec37f1
SP
24064 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24065
a64d7e0e
SP
24066 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24067 (__pow_mp): Replace ZERO and MZERO with their values.
24068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24069 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24070 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24072 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24073 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24074 (__sqr): Likewise.
24075
d26dd3eb
SP
24076 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24077
0f6a8d4b
SP
24078 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24079
e57b0c61
RM
240802013-03-28 Roland McGrath <roland@hack.frob.com>
24081
24082 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24083 Declare with __attribute__ ((weak)).
24084 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24085 Call __call_tls_dtors only if it's not NULL.
24086
356b3480
RM
240872013-03-28 Roland McGrath <roland@hack.frob.com>
24088
288f7d79
RM
24089 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24090 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24091 magic __ehdr_start linker symbol if it's defined.
24092 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24093 them up here if it was already done.
24094
dc0a0263
RM
24095 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24096 (_dl_aux_init): Use const in cast when setting it.
24097 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24098 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24099 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24100
3d3436ae
RM
24101 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24102 Declare them here.
24103 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24104 * csu/libc-tls.c: Nor here.
24105 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24106
356b3480
RM
24107 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24108 (__libc_message): Never call vsyslog.
24109
b0f1246a
AM
241102013-03-28 Alan Modra <amodra@gmail.com>
24111
24112 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24113 Define as empty.
24114 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24115 Likewise.
24116
fbbe2b9a
AZ
241172013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24118
24119 [BZ #15214]
24120 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24121 underflow.
24122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24123
1728ab37
SP
241242013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24125
7a86be6e
SP
24126 [BZ #15304]
24127 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24128 Don't add gid passed as argument.
24129
1728ab37
SP
24130 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24131
3a7182a1
JM
241322013-03-27 Joseph Myers <joseph@codesourcery.com>
24133
24134 [BZ #15307]
24135 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24136 imaginary part between 1.0 and 1.5 and real part less than 0.5
24137 specially.
24138 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24139 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24140 * math/libm-test.inc (cacos_test): Add more tests.
24141 (casin_test): Likewise.
24142 (casinh_test): Likewise.
24143 * sysdeps/i386/fpu/libm-test-ulps: Update.
24144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24145
6f2e90e7
SP
241462013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24147
5739f705
SP
24148 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24149 constants.
24150 (norm): Likewise.
24151 (denorm): Likewise.
24152 (__dbl_mp): Likewise.
24153 (add_magnitudes): Likewise.
24154 (sub_magnitudes): Likewise.
24155 (__add): Likewise.
24156 (__sub): Likewise.
24157 (__mul): Likewise.
24158 (__sqr): Likewise.
24159 (__inv): Likewise.
24160 (__dvd): Likewise.
24161
e375e83d
SP
24162 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24163 commented code.
24164 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24165 (__dubcos): Likewise.
24166 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24167 (__ieee754_acos): Likewise.
24168 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24169 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24170 (__exp1): Likewise.
24171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24173 (log1): Likewise.
24174 (my_log2): Likewise.
24175 (checkint): Likewise.
24176 * sysdeps/ieee754/dbl-64/e_remainder.c
24177 (__ieee754_remainder): Likewise.
24178 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24180 (bsloww): Likewise.
24181 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24182
6f2e90e7
SP
24183 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24184 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24185 MANTISSA_STORE_T to store computations on mantissa. Use
24186 macros for rounding and division.
24187 (denorm): Likewise.
24188 (__dbl_mp): Likewise.
24189 (add_magnitudes): Likewise.
24190 (sub_magnitudes): Likewise.
24191 (__mul): Likewise.
24192 (__sqr): Likewise.
24193 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24194 powers of two in terms of TWOPOW macro.
24195 (mp_no): Make type of mantissa as MANTISSA_T.
24196 [!RADIXI]: Define RADIXI.
24197 [!TWO52]: Define TWO52.
24198 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24199
fce14d4e
AZ
242002013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24201
24202 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24203 llroundl symbol when building for PPC32.
24204
9ad027fb
MW
242052013-03-24 Mark H Weaver <mhw@netris.org>
24206
24207 * manual/arith.texi (Normalization Functions): Fix prototypes for
24208 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24209
e42a38dd
AZ
242102013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24211
24212 [BZ #13889]
24213 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24214 high value to check if expl overflow.
24215 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24216 to check for underflow and overflow.
24217 * math/libm-test.inc: Add exp test.
24218
2e0fb521
DL
242192013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24220
24221 [BZ #11120]
24222 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24223 with NOT_IN_libc.
24224
b5784d95
AZ
242252013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24226
24227 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24228 symbol.
24229
5aa4a1a1
TS
242302013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24231
bdef0be7
TS
24232 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24233 wrap blocks consisting of several statements.
24234
5aa4a1a1
TS
24235 * sysdeps/generic/math-tests.h: New file.
24236 * sysdeps/i386/fpu/math-tests.h: Likewise.
24237 * math/test-snan.c: Include it.
24238 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24239
98c48fe5
JM
242402013-03-21 Joseph Myers <joseph@codesourcery.com>
24241
24242 [BZ #15285]
24243 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24244 (__ieee754_j0l): Do not improve calculations using cos of twice
24245 input for inputs above LDBL_MAX / 2.0L.
24246 (__ieee754_y0l): Likewise.
24247 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24248 (__ieee754_j1l): Do not improve calculations using cos of twice
24249 input for inputs above LDBL_MAX / 2.0L.
24250 (__ieee754_y1l): Likewise.
24251 * math/libm-test.inc (j0_test): Add another test.
24252 (j1_test): Likewise.
24253 (y0_test): Likewise.
24254 (y1_test): Likewise.
24255 * sysdeps/i386/fpu/libm-test-ulps: Update.
24256
3775a8bc
SP
242572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24258
24259 * Rules ($(objpfx)bench-%.c): Include code from a C source
24260 file.
24261
0a1b2ae6
JM
242622013-03-21 Joseph Myers <joseph@codesourcery.com>
24263
24264 [BZ #15287]
24265 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24266 imaginary part 1.0 and real part less than 0.5 specially.
24267 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24268 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24269 * math/libm-test.inc (cacos_test): Add more tests.
24270 (casin_test): Likewise.
24271 (casinh_test): Likewise.
24272 * sysdeps/i386/fpu/libm-test-ulps: Update.
24273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24274
b33d4ce4
SP
242752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24276
24277 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24278 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24279
bef0b507
JM
242802013-03-20 Joseph Myers <joseph@codesourcery.com>
24281
24282 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24283 * config.make.in (config-cflags-sse4): Remove variable.
24284 (config-cflags-avx): Likewise.
24285 (config-cflags-sse2avx): Likewise.
24286 (config-cflags-novzeroupper): Likewise.
24287 (config-asflags-i686): Likewise.
24288 (have-mfma4): Likewise.
24289 (have-as-vis3): Likewise.
24290 (MIG): Likewise.
24291 * configure.in (MIG): Do not AC_SUBST.
24292 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24293 (libc_cv_cc_sse4): Do not AC_SUBST.
24294 (libc_cv_cc_avx): Likewise.
24295 (libc_cv_cc_sse2avx): Likewise.
24296 (libc_cv_cc_novzeroupper): Likewise.
24297 (libc_cv_cc_fma4): Likewise.
24298 (libc_cv_as_i686): Likewise.
24299 (libc_cv_sparc_as_vis3): Likewise.
24300 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24301 LIBC_CONFIG_VAR.
24302 (config-asflags-i686): Likewise.
24303 (config-cflags-avx): Likewise.
24304 (config-cflags-sse2avx): Likewise.
24305 (have-mfma4): Likewise.
24306 (config-cflags-novzeroupper): Likewise.
24307 * sysdeps/mach/configure.in (MIG): Likewise.
24308 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24309 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24310 LIBC_CONFIG_VAR.
24311 (config-cflags-avx): Likewise.
24312 (config-cflags-sse2avx): Likewise.
24313 (have-mfma4): Likewise.
24314 (config-cflags-novzeroupper): Likewise.
24315 * configure: Regenerated.
24316 * sysdeps/i386/configure: Likewise.
24317 * sysdeps/mach/configure: Likewise.
24318 * sysdeps/sparc/configure: Likewise.
24319 * sysdeps/x86_64/configure: Likewise.
24320
912cc4b3
RM
243212013-03-20 Roland McGrath <roland@hack.frob.com>
24322
24323 [BZ #14812]
24324 * locale/programs/localedef.c (options): Put N_ translation marker
24325 on argument names, not just descriptions.
24326
04eed2b0
MS
243272013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24328
24329 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24330
a065ceff
OB
243312013-03-20 Ondřej Bílka <neleai@seznam.cz>
24332
9bb2a810 24333 [BZ #14176]
a065ceff
OB
24334 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24335
a600e5ce
RM
243362013-03-19 Roland McGrath <roland@hack.frob.com>
24337
24338 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24339 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24340 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24341 [!BEFORE_ABORT] (before_abort): New function.
24342 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24343 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24344 (writev_for_fatal): New function.
24345 (WRITEV_FOR_FATAL): New macro; call that.
24346 (backtrace_and_maps): New function.
24347 (BEFORE_ABORT): New macro; call that.
24348 (struct str_list): Type removed.
24349 (__libc_message, __libc_fatal): Functions removed.
24350 Include <sysdeps/posix/libc_fatal.c> instead.
24351
6b18bea6
JM
243522013-03-19 Joseph Myers <joseph@codesourcery.com>
24353
24354 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24355 constants.
24356 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24357 double constants.
24358
aaa8cb4b
AS
243592013-03-19 Andreas Schwab <schwab@suse.de>
24360
44673770
AS
24361 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24362 * sysdeps/gnu/configure: Regenerate.
24363
aaa8cb4b
AS
24364 * configure.in: Substitute libc_cv_rtlddir.
24365 * configure: Regenerate.
24366 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24367 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24368 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24369 * elf/Makefile (install-others, CFLAGS-interp.c)
24370 (ldso_install, common-ldd-rewrite): Likewise.
24371 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24372 $(inst_slibdir)/$(rtld-installed-name).
24373 * scripts/rellns-sh: Add -p option.
24374 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24375 for source.
24376
d3cfc668
SP
243772013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24378
24379 * manual/nptl.texi: Renamed to ...
24380 * manual/threads.texi: ... this.
24381 * manual/Makefile (chapters): Update.
24382
0e2b9cdd
RM
243832013-03-18 Roland McGrath <roland@hack.frob.com>
24384
24385 [BZ #14812]
24386 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24387 on argument names, not just descriptions.
0e2b9cdd
RM
24388 * malloc/memusagestat.c (options): Likewise.
24389 * nss/getent.c (options): Likewise.
63270c24
RM
24390
243912013-03-18 Benno Schulenberg <bensberg@justemail.net>
24392
24393 [BZ #14812]
24394 * iconv/iconv_prog.c (options): Put N_ translation marker
24395 on argument names, not just descriptions.
24396 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24397
b2e1393c
OB
243982013-03-18 Ondrej Bilka <neleai@seznam.cz>
24399
24400 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24401 implementation which is faster on all x86_64 architectures.
24402 Tested on AMD, Intel Nehalem, SNB, IVB.
24403 * sysdeps/x86_64/strnlen.S: Likewise.
24404
24405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24406 Remove all multiarch strlen and strnlen versions.
24407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24408 Remove strlen and strnlen related parts.
24409
24410 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24411 Inline strlen part.
24412 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24413
24414 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24415 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24416 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24417 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24418 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24419 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24420
ec4ff04d
CD
244212013-03-17 Carlos O'Donell <carlos@redhat.com>
24422
24423 * manual/memory.texi (Malloc Tunable Parameters):
24424 Sort parameters alphabetically. Add comments for missing entries.
24425
cd18e90a
DM
244262013-03-17 David S. Miller <davem@davemloft.net>
24427
24428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24429
2a185d32
JM
244302013-03-16 Joseph Myers <joseph@codesourcery.com>
24431
d2f9799e
JM
24432 [BZ #15283]
24433 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24434 for arguments at most half maximum finite value.
24435 * math/libm-test.inc (j0_test): Add more tests.
24436 (j1_test): Likewise.
24437 (y0_test): Likewise.
24438 (y1_test): Likewise.
24439 * sysdeps/i386/fpu/libm-test-ulps: Update.
24440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24441
2a185d32
JM
24442 [BZ #14155]
24443 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24444 1 / x and functions P and Q for arguments above 0x1p256L.
24445 (__ieee754_y0l): Likewise.
24446 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24447 (__ieee754_y1l): Likewise.
24448 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24449 (j1_test): Likewise.
24450 (y0_test): Likewise.
24451 (y1_test): Likewise.
24452
6cbec759
TS
244532013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24454
24455 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24456 variable.
24457
bc16e260
RM
244582013-03-15 Roland McGrath <roland@hack.frob.com>
24459
aefc9b8c
RM
24460 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24461 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24462 zero since it's initialized to EXEC_PAGESIZE.
24463
bc16e260
RM
24464 * sysdeps/unix/sysv/linux/ldsodefs.h
24465 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24466 * sysdeps/generic/ldsodefs.h: ... here.
24467
a57da955
TS
244682013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24469
af00a34d
TS
24470 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24471
495ded2c
TS
24472 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24473 math/test-snan.c.
24474 * math/test-snan.c: Renamed from
24475 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24476 * math/Makefile (tests): Add test-snan.
24477 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24478 test-powerpc-snan.
24479
777b0332
TS
24480 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24481 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24482 functions.
24483 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24484 __builtin_nan family of functions.
24485 * math/libm-test.inc (initialize): Initialize qnan_value with
24486 __builtin_nan family of functions.
24487 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24488 Remove variables.
24489 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24490 Remove functions.
24491 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24492 storage class. Initialize qNaN_var and sNaN_var with
24493 __builtin_nan and __builtin_nans families of functions,
24494 respectively.
24495
64d063b8
TS
24496 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24497 (sqrt_test): Remove duplicate test with qNaN input.
24498 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24499 (round_test, signbit_test, significand_test): Note missing +/-Inf
24500 as well as qNaN tests.
24501
67e971f1
TS
24502 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24503 qNaN_var. Fix a few strings, too.
24504 * math/libm-test.inc (nan_value): Rename to qnan_value.
24505 * math/gen-libm-test.pl (%beautify): Adjust to that.
24506 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24507 * math/test-misc.c (main): Likewise.
24508 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24509 to __qnan_bytes, and __qnan_union, respectively.
24510 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24511 Likewise.
24512 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24513 and lqnanval, respectively.
24514 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24515 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24516 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24517 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24518
64487e12
TS
24519 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24520 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24521 doubles.
24522
e015e27b
TS
24523 * math/test-misc.c (main): Fix copy'n'pastos.
24524 * misc/tst-efgcvt.c (special): Likewise.
24525
a57da955
TS
24526 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24527 Remove declarations.
24528
1e380345
SP
245292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24530
24531 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24532 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24533 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24534 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24535
ef26eece
AZ
245362013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24537
24538 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24539 macro to return vdso values correctly in IFUNC implementations.
24540 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24541 Optimization by using IFUNC.
24542
8cfdb7e0
SP
245432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24544 Richard Henderson <rth@redhat.com>
24545 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24546
24547 * Makefile.in (bench): New target.
24548 * NEWS: Mention the benchmark framework.
24549 * Rules (bench): Likewise.
24550 (binaries-bench): Generate binaries for functions to
24551 benchmark.
24552 * benchtests/Makefile: New makefile for benchmark tests.
24553 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24554 programs.
24555 * benchtests/exp-inputs: New input file for EXP function.
24556 * benchtests/pow-inputs: New input file for POW function.
24557 * scripts/bench.pl: New script to generate source files for
24558 benchmark programs.
24559
bcda9880
SP
245602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24561
d22ca8cd
SP
24562 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24563 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24564 computations on mantissa. Use macros for rounding and
24565 division.
24566 (denorm): Likewise.
24567 (__dbl_mp): Likewise.
24568 (add_magnitudes): Likewise.
24569 (sub_magnitudes): Likewise.
24570 (__mul): Likewise.
24571 (__sqr): Likewise.
24572 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24573 powers of two in terms of TWOPOW macro.
24574 (mp_no): Make type of mantissa as MANTISSA_T.
24575 [!RADIXI]: Define RADIXI.
24576 [!TWO52]: Define TWO52.
24577 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24578
bcda9880
SP
24579 * manual/nptl.texi (cindex): Modify threads to pthreads.
24580
06d5adfb
JM
245812013-03-15 Joseph Myers <joseph@codesourcery.com>
24582
24583 * sysdeps/x86_64/preconfigure: Regenerated.
24584
41c7328e
JM
245852013-03-14 Joseph Myers <joseph@codesourcery.com>
24586
24587 [BZ #14155]
24588 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24589 0x1p28 and above.
24590 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24591 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24592 0x1p28 and above.
24593 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24594 * math/libm-test.inc (j0_test): Do not allow one spurious
24595 underflow exception.
24596 (y1_test): Likewise.
24597
e25cfa60
SP
245982013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24599
0409959c
SP
24600 * manual/Makefile (chapters): Add nptl.
24601 * manual/debug.texi (Debugging Support): Add link to Threads
24602 chapter.
24603 * manual/nptl.texi: New file.
24604
e25cfa60
SP
24605 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24606
58a1335e
PB
246072013-03-14 Petr Baudis <pasky@ucw.cz>
24608
24609 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24610 for non-NULL pointer before the memory validity test. Pointed
24611 out by Holger Brunck <holger.brunck@keymile.com>.
24612
9dc7c64f
AS
246132013-03-13 Andreas Schwab <schwab@suse.de>
24614
24615 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24616 instead of .os.
24617
54206aa6
JM
246182013-03-13 Joseph Myers <joseph@codesourcery.com>
24619
24620 * timezone/zic.c: Update from tzcode 2013b.
24621
e98cdb38
CD
246222013-03-12 Carlos O'Donell <carlos@redhat.com>
24623
24624 * manual/install.texi (Configuring and compiling):
24625 Mention i686 and i586.
24626 * INSTALL: Regenerate.
24627
9967e003
RM
246282013-03-12 Roland McGrath <roland@hack.frob.com>
24629
24630 * sysdeps/init_array/elf-init.c: New file.
24631 * csu/elf-init.c
24632 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24633 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24634
24635 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24636 __gmon_start__ as global, but as static with a .preinit_array pointer.
24637 * sysdeps/init_array/gmon-start.c: New file. Use that.
24638 * sysdeps/init_array/crti.S: New file, empty except for comments.
24639 * sysdeps/init_array/crtn.S: Likewise.
24640
e6b5a293 246412013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24642
24643 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24644 definining bcopy.
80f844c9
OB
24645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24646 Remove Prefer_SSE_for_memop.
24647 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24648 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24649 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24651 memset-x86-64.
80f844c9 24652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24653 Remove bzero, memset ifunc support.
80f844c9
OB
24654 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24655 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24656 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24657 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24658
fb6b0fcb
AS
246592013-03-11 Andreas Schwab <schwab@suse.de>
24660
24661 [BZ #15234]
24662 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24663 by SHLIB_COMPAT.
24664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24665 (GLIBC_2.16): Remove pthread_atfork.
24666
3e6bd4b1
PP
246672013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24668
24669 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24670 (ptestcases.h): Likewise.
24671
222d7f00
RM
246722013-03-08 Roland McGrath <roland@hack.frob.com>
24673
24674 * Makeconfig ($(common-objpfx)config.status): Depend on
24675 sysdeps/*/preconfigure{,.in} too.
24676
1ba4f030
JM
246772013-03-08 Joseph Myers <joseph@codesourcery.com>
24678
a222d91a
JM
24679 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24680 (__free_hook): Use void * instead of __malloc_ptr_t.
24681 (__malloc_hook): Likewise.
24682 (__realloc_hook): Likewise.
24683 (__memalign_hook): Likewise.
24684 (__after_morecore_hook): Likewise.
24685 * malloc/arena.c (save_malloc_hook): Likewise.
24686 (save_free_hook): Likewise.
24687 * malloc/hooks.c (malloc_hook_ini): Likewise.
24688 (realloc_hook_ini): Likewise.
24689 (memalign_hook_ini): Likewise.
24690 * malloc/malloc.c (malloc_hook_ini): Likewise.
24691 (realloc_hook_ini): Likewise.
24692 (memalign_hook_ini): Likewise.
24693 (__free_hook): Likewise.
24694 (__malloc_hook): Likewise.
24695 (__realloc_hook): Likewise.
24696 (__memalign_hook): Likewise.
24697 (__libc_malloc): Likewise.
24698 (__libc_free): Likewise.
24699 (__libc_realloc): Likewise.
24700 (__libc_memalign): Likewise.
24701 (__libc_valloc): Likewise.
24702 (__libc_pvalloc): Likewise.
24703 (__libc_calloc): Likewise.
24704 (__posix_memalign): Likewise.
24705 * malloc/morecore.c (__sbrk): Likewise.
24706 (__default_morecore): Likewise.
24707
5cc45e10
JM
24708 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24709
dd54b864
JM
24710 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24711 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24712 __malloc_ptrdiff_t.
24713
1ba4f030
JM
24714 * malloc/malloc.h (__malloc_size_t): Remove macro.
24715 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24716 __malloc_size_t.
24717 (old_memalign_hook): Likewise.
24718 (old_realloc_hook): Likewise.
24719 (struct hdr): Likewise.
24720 (flood): Likewise.
24721 (mallochook): Likewise.
24722 (memalignhook): Likewise.
24723 (reallochook): Likewise.
24724 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24725 (tr_old_realloc_hook): Likewise.
24726 (tr_old_memalign_hook): Likewise.
24727 (tr_mallochook): Likewise.
24728 (tr_reallochook): Likewise.
24729 (tr_memalignhook): Likewise.
24730
edf66e57
AZ
247312013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24732
24733 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24734 default_ldbl_pack and using as default implementation.
24735 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24736 implementation.
24737 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24738 redundant definition.
24739 (ldbl_insert_mantissa): Likewise.
24740 (ldbl_canonicalize): Likewise.
24741 (ldbl_nearbyint): Likewise.
24742 (ldbl_pack): Rename to ldbl_pack_ppc.
24743 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24744 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24745 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24746
6d9145d8
SP
247472013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24748
24749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24750 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24752 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24754 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24755 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24756 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24757
4dd4e157
AJ
247582013-03-07 Andreas Jaeger <aj@suse.de>
24759
24760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24761 bits/mman-linux.h.
24762
adbb8027
SP
247632013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24764
ce544b5b
SP
24765 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24766 Include mpa.h and declare __MPEXP.
24767 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24768 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24769 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24770 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24772 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24773 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24774
4cc149fd
SP
24775 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24776 (__slowpow): Use long double EXPL and LOGL functions to
24777 compute POW.
24778 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24779 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24781 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24782 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24783 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24784
e6ebd4a7
SP
24785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24786 intermediate variable to calculate exponent.
24787 (__sqr): Likewise.
24788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24789 Likewise.
24790 (__sqr): Likewise.
24791
82a9811d
SP
24792 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24793 [!NO__SQR]: Define __sqr.
24794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24795 and NO__SQR. Remove all code except __mul and __sqr. Include
24796 sysdeps/ieee754/dbl-64/mpa.c.
24797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24798
adbb8027
SP
24799 [BZ #12723]
24800 * posix/Makefile (tests): Add tst-pathconf.
24801 * posix/tst-pathconf.c: New test case.
24802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24803 _PC_PIPE_BUF.
24804 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24805
39120df9
PF
248062013-03-06 Patsy Franklin <pfrankli@redhat.com>
24807
24808 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24809
67525cb8
AJ
248102013-03-06 Andreas Jaeger <aj@suse.de>
24811
664a9ce4
AJ
24812 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24813 definition via __MAP_ANONYMOUS.
24814
8e39047d
AJ
24815 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24816 it's not part of Linux headers.
24817
67525cb8
AJ
24818 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24819 (MAP_HUGE_MASK): Define.
24820
24821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24822 Define.
24823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24824 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24825 Define.
24826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24827 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24828 Define.
24829 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24831 Define.
24832 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24833
24834 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24835 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24836 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24837 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24838 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24839 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24840
24841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24842 Handle f2fs.
24843
24844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24845 Handle f2fs and efivarfs.
24846
24847 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24848 f2fs.
24849
24850 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24851 (EFIVARFS_MAGIC): Add.
24852 (F2FS_LINK_MAX): Add.
24853
e1b42695
PP
248542013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24855
24856 * stdio-common/vfprintf.c: Replace __builtin_expect with
24857 __glibc_unlikely.
24858
2d67d91a
JM
248592013-03-06 Joseph Myers <joseph@codesourcery.com>
24860
24861 [BZ #13550]
24862 * sysdeps/generic/bp-sym.h: Remove file.
24863 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24864 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24865 <bp-sym.h> and <bp-asm.h>.
24866 (__longjmp): Don't use BP_SYM.
24867 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24868 and <bp-asm.h>.
24869 (memcpy): Don't use BP_SYM.
24870 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24871 <bp-sym.h> and <bp-asm.h>.
24872 (memcpy): Don't use BP_SYM.
24873 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24874 <bp-asm.h>.
24875 (memcpy): Don't use BP_SYM.
24876 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24877 <bp-asm.h>.
24878 (memset): Don't use BP_SYM.
24879 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24880 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24881 (__bzero): Don't use BP_SYM.
24882 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24883 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24884 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24885 <bp-sym.h> and <bp-asm.h>.
24886 (memcmp): Don't use BP_SYM. Remove comment about bounded
24887 pointers.
24888 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24889 <bp-sym.h> and <bp-asm.h>.
24890 (memcpy): Don't use BP_SYM.
24891 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24892 <bp-sym.h> and <bp-asm.h>.
24893 (memset): Don't use BP_SYM.
24894 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24895 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24896 (__bzero): Don't use BP_SYM.
24897 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24898 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24899 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24900 <bp-sym.h> and <bp-asm.h>.
24901 (strncmp): Don't use BP_SYM. Remove comment about bounded
24902 pointers.
24903 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24904 <bp-sym.h> and <bp-asm.h>.
24905 (memcpy): Don't use BP_SYM.
24906 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24907 <bp-sym.h> and <bp-asm.h>.
24908 (memset): Don't use BP_SYM.
24909 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24910 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24911 (__bzero): Don't use BP_SYM.
24912 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24913 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24915 <bp-sym.h> and <bp-asm.h>.
24916 (__memchr): Don't use BP_SYM.
24917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24918 <bp-sym.h> and <bp-asm.h>.
24919 (memcmp): Don't use BP_SYM. Remove comment about bounded
24920 pointers.
24921 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24922 <bp-sym.h> and <bp-asm.h>.
24923 (memcpy): Don't use BP_SYM.
24924 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24925 <bp-sym.h> and <bp-asm.h>.
24926 (__mempcpy): Don't use BP_SYM.
24927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24928 <bp-sym.h> and <bp-asm.h>.
24929 (__memrchr): Don't use BP_SYM.
24930 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24931 <bp-sym.h> and <bp-asm.h>.
24932 (memset): Don't use BP_SYM.
24933 (__bzero): Likewise.
24934 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24935 <bp-sym.h> and <bp-asm.h>.
24936 (__rawmemchr): Don't use BP_SYM.
24937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24938 <bp-sym.h> and <bp-asm.h>.
24939 (__STRCMP): Don't use BP_SYM.
24940 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24941 <bp-sym.h> and <bp-asm.h>.
24942 (strchr): Don't use BP_SYM.
24943 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24944 <bp-sym.h> and <bp-asm.h>.
24945 (__strchrnul): Don't use BP_SYM.
24946 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24947 <bp-sym.h> and <bp-asm.h>.
24948 (strlen): Don't use BP_SYM.
24949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24950 <bp-sym.h> and <bp-asm.h>.
24951 (strncmp): Don't use BP_SYM. Remove comment about bounded
24952 pointers.
24953 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24954 <bp-sym.h> and <bp-asm.h>.
24955 (__strnlen): Don't use BP_SYM.
24956 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24957 <bp-sym.h> and <bp-asm.h>.
24958 (__GI__setjmp): Don't use BP_SYM.
24959 (_setjmp): Likewise.
24960 (__sigsetjmp): Likewise.
24961 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24962 (L(start_addresses)): Don't use BP_SYM.
24963 (_start): Likewise.
24964 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24965 <bp-asm.h>.
24966 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24967 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24968 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24969 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24970 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24971 <bp-asm.h>.
24972 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24973 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24974 about bounded pointers.
24975 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24976 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24977 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24978 <bp-asm.h>.
24979 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24980 about bounded pointers. Remove GKM FIXME comments.
24981 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24982 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24983 <bp-asm.h>.
24984 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24985 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24986 Remove GKM FIXME comments.
24987 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24988 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24989 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24990 <bp-asm.h>.
24991 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24992 about bounded pointers. Remove GKM FIXME comment.
24993 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24994 and <bp-asm.h>.
24995 (strncmp): Don't use BP_SYM. Remove comment about bounded
24996 pointers.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24998 <bp-sym.h> and <bp-asm.h>.
24999 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25001 <bp-sym.h> and <bp-asm.h>.
25002 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25003 comment.
25004
cdcf361f
PP
250052013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25006
25007 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25008 call free(NULL).
25009
3c4a2b15
DM
250102013-03-05 David S. Miller <davem@davemloft.net>
25011
25012 * po/es.po: Update from translation team.
25013
cdcf361f 250142013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25015
25016 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25017 <bits/mman-linux.h>.
25018 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25019 is fine.
25020 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25021 <bits/mman-linux.h> to end of file.
25022 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25023 is fine.
25024 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25025 <bits/mman-linux.h> to end of file.
25026 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25027 is fine.
25028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25029 <bits/mman-linux.h> to end of file.
25030
25031 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25032 (MCL_CURRENT, MCL_FUTURE): Define here.
25033
5f67c04f
AK
250342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25035
8a4473cc 25036 [BZ #15232]
5f67c04f
AK
25037 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25038 attribute_hidden.
25039 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25040
c3e94a95
AK
250412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25042
25043 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25044 fourth parameter needed for rt_sigprocmask syscall.
25045 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25046 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25047 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25048 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25049 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25050 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25051
cfb6382a
JM
250522013-03-04 Joseph Myers <joseph@codesourcery.com>
25053
25054 [BZ #13550]
25055 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25056 comment about bounded pointers.
25057 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25058 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25059
539d8e01
AJ
250602013-03-04 Andreas Jaeger <aj@suse.de>
25061
25062 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25063 common definitions.
25064
25065 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25066 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25067 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25068 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25069 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25070 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25071
2e167a70 250722013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25073
25074 [BZ #15055]
25075 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25076 __ieee754_sqrl instead of __sqrl.
25077
68508633
JM
250782013-03-01 Joseph Myers <joseph@codesourcery.com>
25079
25080 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25081 * sysdeps/powerpc/fpu_control.h: ... here.
25082 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25083 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25084 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25085 * sysdeps/powerpc/bits/mathinline.h: ... here.
25086
7775448e
RM
250872013-03-01 Roland McGrath <roland@hack.frob.com>
25088
25089 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25090 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25091 to just [NEED_DL_SYSINFO_DSO].
25092 * elf/dl-support.c: Likewise.
25093 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25094 * elf/rtld.c (dl_main): Likewise.
25095 * elf/setup-vdso.h (setup_vdso): Likewise.
25096 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25097 * sysdeps/unix/sysv/linux/dl-sysdep.c
25098 (_dl_discover_osversion): Likewise.
25099
4e9b5995
CD
251002013-03-01 Carlos O'Donell <carlos@redhat.com>
25101
25102 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25103 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25104
e23872c8
SP
251052013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25106
e5c74c63
SP
25107 * NEWS: Mention libm performance improvements and non-x86 PI
25108 futex support.
25109
e23872c8
SP
25110 * csu/libc-start.c (__pthread_initialize_minimal): Change
25111 function arguments.
25112 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25113
b5510883
JM
251142013-02-28 Joseph Myers <joseph@codesourcery.com>
25115
25116 [BZ #13550]
25117 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25118 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25119 <bp-sym.h> and <bp-asm.h>.
25120 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25121 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25122 and <bp-asm.h>.
25123 (memcpy): Don't use BP_SYM.
25124 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25125 <bp-asm.h>.
25126 (__mpn_add_n): Don't use BP_SYM.
25127 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25128 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25129 and <bp-asm.h>.
25130 (__mpn_addmul_1): Don't use BP_SYM.
25131 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25132 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25133 <bp-sym.h>.
25134 (_setjmp): Don't use BP_SYM.
25135 (__novmx_setjmp): Likewise.
25136 (__GI__setjmp): Likewise.
25137 (__vmx_setjmp): Likewise.
25138 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25139 <bp-sym.h>.
25140 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25141 (__bzero): Don't use BP_SYM.
25142 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25143 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25144 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25145 <bp-sym.h> and <bp-asm.h>.
25146 (memcpy): Don't use BP_SYM.
25147 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25148 <bp-sym.h> and <bp-asm.h>.
25149 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25150 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25151 <bp-sym.h> and <bp-asm.h>.
25152 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25153 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25154 <bp-asm.h>.
25155 (__mpn_lshift): Don't use BP_SYM.
25156 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25157 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25158 <bp-asm.h>.
25159 (memset): Don't use BP_SYM.
25160 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25161 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25162 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25163 <bp-asm.h>.
25164 (__mpn_mul_1): Don't use BP_SYM.
25165 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25166 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25167 <bp-sym.h> and <bp-asm.h>.
25168 (memcmp): Don't use BP_SYM.
25169 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25170 <bp-sym.h> and <bp-asm.h>.
25171 (memcpy): Don't use BP_SYM.
25172 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25173 <bp-sym.h> and <bp-asm.h>.
25174 (memset): Don't use BP_SYM.
25175 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25176 <bp-sym.h> and <bp-asm.h>.
25177 (strncmp): Don't use BP_SYM.
25178 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25179 <bp-sym.h> and <bp-asm.h>.
25180 (memcpy): Don't use BP_SYM.
25181 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25182 <bp-sym.h> and <bp-asm.h>.
25183 (memset): Don't use BP_SYM.
25184 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25185 <bp-sym.h> and <bp-asm.h>.
25186 (__memchr): Don't use BP_SYM.
25187 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25188 <bp-sym.h> and <bp-asm.h>.
25189 (memcmp): Don't use BP_SYM.
25190 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25191 <bp-sym.h> and <bp-asm.h>.
25192 (memcpy): Don't use BP_SYM.
25193 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25194 <bp-sym.h> and <bp-asm.h>.
25195 (__mempcpy): Don't use BP_SYM.
25196 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25197 <bp-sym.h> and <bp-asm.h>.
25198 (__memrchr): Don't use BP_SYM.
25199 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25200 <bp-sym.h> and <bp-asm.h>.
25201 (memset): Don't use BP_SYM.
25202 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25203 <bp-sym.h> and <bp-asm.h>.
25204 (__rawmemchr): Don't use BP_SYM.
25205 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25206 <bp-sym.h> and <bp-asm.h>.
25207 (__STRCMP): Don't use BP_SYM.
25208 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25209 <bp-sym.h> and <bp-asm.h>.
25210 (strchr): Don't use BP_SYM.
25211 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25212 <bp-sym.h> and <bp-asm.h>.
25213 (__strchrnul): Don't use BP_SYM.
25214 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25215 <bp-sym.h> and <bp-asm.h>.
25216 (strlen): Don't use BP_SYM.
25217 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25218 <bp-sym.h> and <bp-asm.h>.
25219 (strncmp): Don't use BP_SYM.
25220 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25221 <bp-sym.h> and <bp-asm.h>.
25222 (__strnlen): Don't use BP_SYM.
25223 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25224 <bp-asm.h>.
25225 (__mpn_rshift): Don't use BP_SYM.
25226 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25227 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25228 <bp-sym.h> and <bp-asm.h>.
25229 (__sigsetjmp): Don't use BP_SYM.
25230 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25231 (L(start_addresses)): Don't use BP_SYM.
25232 (_start): Likewise.
25233 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25234 <bp-asm.h>.
25235 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25236 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25237 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25238 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25239 <bp-asm.h>.
25240 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25241 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25242 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25243 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25244 <bp-asm.h>.
25245 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25246 comments.
25247 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25248 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25249 <bp-asm.h>.
25250 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25251 FIXME comments.
25252 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25253 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25254 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25255 <bp-asm.h>.
25256 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25257 comment.
25258 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25259 and <bp-asm.h>.
25260 (strncmp): Don't use BP_SYM,
25261 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25262 <bp-asm.h>.
25263 (__mpn_sub_n): Don't use BP_SYM.
25264 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25265 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25266 and <bp-asm.h>.
25267 (__mpn_submul_1): Don't use BP_SYM.
25268 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25270 <bp-sym.h> and <bp-asm.h>.
25271 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25273 <bp-sym.h> and <bp-asm.h>.
25274 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25275 comment.
25276
8d19fe64
SP
252772013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25278
25279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25280 Use ZK to minimize writes to Z.
25281 (sub_magnitudes): Simplify code a bit.
25282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25283 Use ZK to minimize writes to Z.
25284 (sub_magnitudes): Simplify code a bit.
25285
85bd816a
RM
252862013-02-27 Roland McGrath <roland@hack.frob.com>
25287
25288 * csu/gmon-start.c: Add special exception to license text.
25289
b5977bf2
RH
252902013-02-27 Richard Henderson <rth@redhat.com>
25291
25292 * scripts/config.guess: Update from config.git.
25293 * scripts/config.sub: Likewise.
25294
11d6e2f2
SP
252952013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25296
09c14ed2
SP
25297 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25298
a688864e
SP
25299 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25300
6295157a
SP
25301 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25302
b8de2202
SP
25303 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25304
11d6e2f2
SP
25305 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25306
7e80ddb8
RM
253072013-02-26 Roland McGrath <roland@hack.frob.com>
25308
25309 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25310 [$(build-shared = yes].
7e80ddb8 25311
7da6d9ed
SP
253122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25313
45f05884
SP
25314 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25315 (__mul): Reduce iterations for calculating mantissa.
25316
2236d359
SP
25317 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25318 MPTWO.
25319 (__mpranred): Likewise.
25320
7da6d9ed
SP
25321 [BZ #15160]
25322 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25323 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25324
b7688c42
PE
253252013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25326
25327 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25328 Define __attribute__.
25329
53a5c423
SP
253302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25331
25332 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25333 unused.
25334 * posix/regex_internal.h (__attribute): Remove.
25335 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25336 (re_string_context_at): Likewise.
25337 (bitset_not): Use __attribute__ and mark function as possibly
25338 unused.
25339 (bitset_merge): Likewise.
25340 (bitset_mask): Likewise.
25341 (re_string_char_size_at): Likewise.
25342 (re_string_wchar_at): Likewise.
25343 (re_string_elem_size_at): Likewise.
25344
60f5a8b5
SP
253452013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25346
2a983a2e
SP
25347 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25348 code.
25349 (cc32): Likewise.
25350
e69804d1
SP
25351 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25352 (__acr): Likewise.
25353 (__cpy): Likewise.
25354 (norm): Likewise.
25355 (denorm): Likewise.
25356 (__dbl_mp): Likewise.
25357 (add_magnitudes): Likewise.
25358 (sub_magnitudes): Likewise.
25359 (__mul): Likewise.
25360 (__inv): Likewise.
25361
2f22a1e8
SP
25362 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25363 style.
25364
8930ddc7
SP
25365 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25366 style.
25367
dc60cb11
SP
25368 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25369 code.
25370
60f5a8b5
SP
25371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25372 up changes with default code.
25373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25374 Likewise.
25375
b4d1fd33
AM
253762013-02-24 Allan McRae <allan@archlinux.org>
25377
faf6f8bc
AM
25378 * manual/socket.texi (The Internet Namespace): Order menu items
25379 to match that in the file.
25380
b4d1fd33
AM
25381 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25382 node listing of the info page menu.
25383
2366713d
JM
253842013-02-21 Joseph Myers <joseph@codesourcery.com>
25385
25386 [BZ #13550]
25387 * sysdeps/i386/bp-asm.h: Remove file.
25388 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25389 (PARMS): Do not use macros from bp-asm.h.
25390 (S1): Likewise.
25391 (S2): Likewise.
25392 (SIZE): Likewise.
25393 (__mpn_add_n): Do not use BP_SYM
25394 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25395 "bp-asm.h".
25396 (PARMS): Do not use macros from bp-asm.h.
25397 (S1): Likewise.
25398 (SIZE): Likewise.
25399 (__mpn_addmul_1): Do not use BP_SYM
25400 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25401 "bp-asm.h".
25402 (PARMS): Do not use macros from bp-asm.h.
25403 (SIGMSK): Likewise.
25404 (_setjmp): Likewise. Do not use BP_SYM.
25405 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25406 "bp-asm.h".
25407 (PARMS): Do not use macros from bp-asm.h.
25408 (SIGMSK): Likewise.
25409 (setjmp): Likewise. Do not use BP_SYM.
25410 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25411 "bp-asm.h".
25412 (PARMS): Do not use macros from bp-asm.h.
25413 (__frexp): Do not use BP_SYM.
25414 (frexp): Likewise.
25415 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25416 "bp-asm.h".
25417 (PARMS): Do not use macros from bp-asm.h.
25418 (__frexpf): Do not use BP_SYM.
25419 (frexpf): Likewise.
25420 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25421 "bp-asm.h".
25422 (PARMS): Do not use macros from bp-asm.h.
25423 (__frexpl): Do not use BP_SYM.
25424 (frexpl): Likewise.
25425 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25426 "bp-asm.h".
25427 (PARMS): Do not use macros from bp-asm.h.
25428 (__remquo): Do not use BP_SYM.
25429 (remquo): Likewise.
25430 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25431 "bp-asm.h".
25432 (PARMS): Do not use macros from bp-asm.h.
25433 (__remquof): Do not use BP_SYM.
25434 (remquof): Likewise.
25435 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25436 "bp-asm.h".
25437 (PARMS): Do not use macros from bp-asm.h.
25438 (__remquol): Do not use BP_SYM.
25439 (remquol): Likewise.
25440 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25441 "bp-asm.h".
25442 (PARMS): Do not use macros from bp-asm.h.
25443 (DEST): Likewise.
25444 (SRC): Likewise.
25445 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25446 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25447 "bp-asm.h".
25448 (PARMS): Do not use macros from bp-asm.h.
25449 (strlen): Do not use BP_SYM.
25450 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25451 "bp-asm.h".
25452 (PARMS): Do not use macros from bp-asm.h.
25453 (S1): Likewise.
25454 (S2): Likewise.
25455 (SIZE): Likewise.
25456 (__mpn_add_n): Do not use BP_SYM.
25457 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25458 "bp-asm.h".
25459 (PARMS): Do not use macros from bp-asm.h.
25460 (S1): Likewise.
25461 (SIZE): Likewise.
25462 (__mpn_addmul_1): Do not use BP_SYM.
25463 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25464 weak_alias.
25465 (bzero): Likewise.
25466 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25467 "bp-asm.h".
25468 (PARMS): Do not use macros from bp-asm.h.
25469 (S): Likewise.
25470 (SIZE): Likewise.
25471 (__mpn_lshift): Do not use BP_SYM.
25472 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25473 "bp-asm.h".
25474 (PARMS): Do not use macros from bp-asm.h.
25475 (DEST): Likewise.
25476 (SRC): Likewise.
25477 (LEN): Likewise.
25478 (memcpy): Likewise. Do not use BP_SYM.
25479 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25480 libc_hidden_def and weak_alias.
25481 (mempcpy): Do not use BP_SYM in weak_alias.
25482 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25483 "bp-asm.h".
25484 (PARMS): Do not use macros from bp-asm.h.
25485 (DEST): Likewise.
25486 (LEN): Likewise.
25487 [!BZERO_P] (CHR): Likewise.
25488 (memset): Likewise. Do not use BP_SYM.
25489 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25490 "bp-asm.h".
25491 (PARMS): Do not use macros from bp-asm.h.
25492 (S1): Likewise.
25493 (SIZE): Likewise.
25494 (__mpn_mul_1): Do not use BP_SYM.
25495 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25496 "bp-asm.h".
25497 (PARMS): Do not use macros from bp-asm.h.
25498 (S): Likewise.
25499 (SIZE): Likewise.
25500 (__mpn_rshift): Do not use BP_SYM.
25501 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25502 "bp-asm.h".
25503 (PARMS): Do not use macros from bp-asm.h.
25504 (STR): Likewise.
25505 (CHR): Likewise.
25506 (strchr): Likewise. Do not use BP_SYM.
25507 (index): Do not use BP_SYM in weak_alias.
25508 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25509 "bp-asm.h".
25510 (PARMS): Do not use macros from bp-asm.h.
25511 (DEST): Likewise.
25512 (SRC): Likewise.
25513 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25514 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25515 "bp-asm.h".
25516 (PARMS): Do not use macros from bp-asm.h.
25517 (strlen): Do not use BP_SYM.
25518 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25519 "bp-asm.h".
25520 (PARMS): Do not use macros from bp-asm.h.
25521 (S1): Likewise.
25522 (S2): Likewise.
25523 (SIZE): Likewise.
25524 (__mpn_sub_n): Do not use BP_SYM.
25525 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25526 "bp-asm.h".
25527 (PARMS): Do not use macros from bp-asm.h.
25528 (S1): Likewise.
25529 (SIZE): Likewise.
25530 (__mpn_submul_1): Do not use BP_SYM.
25531 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25532 "bp-asm.h".
25533 (PARMS): Do not use macros from bp-asm.h.
25534 (S1): Likewise.
25535 (S2): Likewise.
25536 (SIZE): Likewise.
25537 (__mpn_add_n): Do not use BP_SYM.
25538 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25539 weak_alias.
25540 (bzero): Likewise.
25541 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25542 "bp-asm.h".
25543 (PARMS): Do not use macros from bp-asm.h.
25544 (BLK2): Likewise.
25545 (LEN): Likewise.
25546 (memcmp): Do not use BP_SYM.
25547 (bcmp): Do not use BP_SYM in weak_alias.
25548 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25549 "bp-asm.h".
25550 (PARMS): Do not use macros from bp-asm.h.
25551 (DEST): Likewise.
25552 (SRC): Likewise.
25553 (LEN): Likewise.
25554 (memcpy): Likewise. Do not use BP_SYM.
25555 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25556 "bp-asm.h".
25557 (PARMS): Do not use macros from bp-asm.h.
25558 (DEST): Likewise.
25559 (SRC): Likewise.
25560 (LEN): Likewise.
25561 (memmove): Likewise. Do not use BP_SYM.
25562 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25563 "bp-asm.h".
25564 (PARMS): Do not use macros from bp-asm.h.
25565 (DEST): Likewise.
25566 (SRC): Likewise.
25567 (LEN): Likewise.
25568 (__mempcpy): Likewise. Do not use BP_SYM.
25569 (mempcpy): Do not use BP_SYM in weak_alias.
25570 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
25575 [!BZERO_P] (CHR): Likewise.
25576 (memset): Likewise. Do not use BP_SYM.
25577 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25578 "bp-asm.h".
25579 (PARMS): Do not use macros from bp-asm.h.
25580 (STR2): Likewise.
25581 (strcmp): Do not use BP_SYM.
25582 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25583 "bp-asm.h".
25584 (PARMS): Do not use macros from bp-asm.h.
25585 (STR): Likewise.
25586 (DELIM): Likewise.
25587 [USE_AS_STRTOK_R] (SAVE): Likewise.
25588 (FUNCTION): Likewise. Do not use BP_SYM.
25589 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25590 aliases.
25591 (strtok_r): Likewise.
25592 (__GI___strtok_r): Likewise.
25593 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25594 (PARMS): Do not use macros from bp-asm.h.
25595 (S): Likewise.
25596 (SIZE): Likewise.
25597 (__mpn_lshift): Do not use BP_SYM.
25598 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25599 (PARMS): Do not use macros from bp-asm.h.
25600 (STR): Likewise.
25601 (CHR): Likewise.
25602 (__memchr): Do not use BP_SYM.
25603 (memchr): Do not use BP_SYM in weak_alias.
25604 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "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/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25611 (PARMS): Do not use macros from bp-asm.h.
25612 (S1): Likewise.
25613 (SIZE): Likewise.
25614 (__mpn_mul_1): Do not use BP_SYM.
25615 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25616 "bp-asm.h".
25617 (PARMS): Do not use macros from bp-asm.h.
25618 (STR): Likewise.
25619 (CHR): Likewise.
25620 (__rawmemchr): Do not use BP_SYM.
25621 (rawmemchr): Do not use BP_SYM in weak_alias.
25622 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25623 (PARMS): Do not use macros from bp-asm.h.
25624 (S): Likewise.
25625 (SIZE): Likewise.
25626 (__mpn_rshift): Do not use BP_SYM.
25627 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25628 (PARMS): Do not use macros from bp-asm.h.
25629 (SIGMSK): Likewise.
25630 (__sigsetjmp): Likewise. Do not use BP_SYM.
25631 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25632 (_start): Do not use BP_SYM.
25633 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25634 (PARMS): Do not use macros from bp-asm.h.
25635 (DEST): Likewise.
25636 (SRC): Likewise.
25637 (__stpcpy): Likewise. Do not use BP_SYM.
25638 (stpcpy): Do not use BP_SYM in weak_alias.
25639 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25640 "bp-asm.h".
25641 (PARMS): Do not use macros from bp-asm.h.
25642 (DEST): Likewise.
25643 (SRC): Likewise.
25644 (LEN): Likewise.
25645 (__stpncpy): Likewise. Do not use BP_SYM.
25646 (stpncpy): Do not use BP_SYM in weak_alias.
25647 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25648 (PARMS): Do not use macros from bp-asm.h.
25649 (STR): Likewise.
25650 (CHR): Likewise.
25651 (strchr): Likewise. Do not use BP_SYM.
25652 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25653 "bp-asm.h".
25654 (PARMS): Do not use macros from bp-asm.h.
25655 (STR): Likewise.
25656 (CHR): Likewise.
25657 (__strchrnul): Likewise. Do not use BP_SYM.
25658 (strchrnul): Do not use BP_SYM in weak_alias.
25659 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25660 "bp-asm.h".
25661 (PARMS): Do not use macros from bp-asm.h.
25662 (STOP): Likewise.
25663 (strcspn): Do not use BP_SYM.
25664 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25665 "bp-asm.h".
25666 (PARMS): Do not use macros from bp-asm.h.
25667 (STR): Likewise.
25668 (STOP): Likewise.
25669 (strpbrk): Likewise. Do not use BP_SYM.
25670 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25671 "bp-asm.h".
25672 (PARMS): Do not use macros from bp-asm.h.
25673 (STR): Likewise.
25674 (CHR): Likewise.
25675 (strrchr): Likewise. Do not use BP_SYM.
25676 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25677 (PARMS): Do not use macros from bp-asm.h.
25678 (SKIP): Likewise.
25679 (strspn): Do not use BP_SYM.
25680 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25681 (PARMS): Do not use macros from bp-asm.h.
25682 (STR): Likewise.
25683 (DELIM): Likewise.
25684 (SAVE): Likewise.
25685 (FUNCTION): Likewise. Do not use BP_SYM.
25686 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25687 aliases.
25688 (strtok_r): Likewise.
25689 (__GI___strtok_r): Likewise.
25690 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25691 (PARMS): Do not use macros from bp-asm.h.
25692 (S1): Likewise.
25693 (S2): Likewise.
25694 (SIZE): Likewise.
25695 (__mpn_sub_n): Do not use BP_SYM.
25696 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25697 "bp-asm.h".
25698 (PARMS): Do not use macros from bp-asm.h.
25699 (S1): Likewise.
25700 (SIZE): Likewise.
25701 (__mpn_submul_1): Do not use BP_SYM.
25702 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25703 <bp-sym.h>.
25704 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25705 and <bp-asm.h>.
25706 (PARMS): Do not use macros from bp-asm.h.
25707 (FLAGS): Likewise.
25708 (PTID): Likewise.
25709 (TLS): Likewise.
25710 (CTID): Likewise.
25711 (__clone): Do not use BP_SYM.
25712 (clone): Do not use BP_SYM in weak_alias.
25713 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25714 and <bp-asm.h>.
25715 (PARMS): Do not use macros from bp-asm.h.
25716 (LEN): Likewise.
25717 (__mmap64): Do not use BP_SYM.
25718 (mmap64): Do not use BP_SYM in weak_alias.
25719 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25720 <bp-sym.h> and <bp-asm.h>.
25721 (PARMS): Do not use macros from bp-asm.h.
25722 (__posix_fadvise64_l64): Do not use BP_SYM.
25723 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25724 (PARMS): Do not use macros from bp-asm.h.
25725 (NSOPS): Likewise.
25726 (semtimedop): Do not use BP_SYM.
25727 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25728 and <bp-asm.h>.
25729
582a3cff
AM
257302013-02-21 Allan McRae <allan@archlinux.org>
25731
25732 * manual/message.texi (Charset conversion in gettext):
25733 Move @end statement to beginning of line.
25734
bab8a695
SP
257352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25736
80945231
SP
25737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25738 static.
25739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25740 Likewise.
25741
bab8a695
SP
25742 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25743 (denorm): Likewise.
25744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25746
e21d7aa7
AK
257472013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25748
25749 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25750 tail-call to the resolved function if pltexit isn't needed.
25751
4c7a4263
SP
257522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25753
25754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25755 or Y being zero as being unlikely.
25756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25757 Likewise.
25758
41f49342
CD
257592013-02-20 Carlos O'Donell <carlos@redhat.com>
25760
25761 * manual/nss.texi (System Databases and Name Service Switch):
25762 Remove frobnicate @pxref.
25763
50022a93
TS
257642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25765
25766 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25767 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25768
08cbd996
PM
257692013-02-20 Petr Machata <pmachata@redhat.com>
25770
25771 * elf/elf.h (R_ARM_TARGET1): New macro.
25772 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25773 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25774 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25775 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25776 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25777 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25778 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25779 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25780 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25781 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25782 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25783 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25784 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25785 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25786 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25787 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25788 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25789 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25790 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25791 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25792 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25793 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25794 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25795 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25796 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25797 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25798 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25799 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25800 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25801 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25802 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25803 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25804 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25805 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25806 (R_ARM_THM_GOT_BREL12): Likewise.
25807 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25808 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25809 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25810 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25811 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25812 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25813 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25814 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25815 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25816
c7b275d6
TS
258172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25818
25819 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25820 __attribute_used__ to __attribute__ ((unused)).
25821
20cd7fb3
SP
258222013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25823
25824 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25825 powerpc mpa.c.
25826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25827 comment formatting.
25828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25829
92945b52
JM
258302013-02-19 Joseph Myers <joseph@codesourcery.com>
25831
25832 [BZ #13550]
25833 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25834 Remove macro.
25835 (ENTER): Remove both macro definitions.
25836 (LEAVE): Likewise.
25837 (CHECK_BOUNDS_LOW): Likewise.
25838 (CHECK_BOUNDS_HIGH): Likewise.
25839 (CHECK_BOUNDS_BOTH): Likewise.
25840 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25841 (RETURN_BOUNDED_POINTER): Likewise.
25842 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25843 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25844 (POP_ERRNO_LOCATION_RETURN): Likewise.
25845 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25846 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25847 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25848 macros.
25849 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25850 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25851 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25852 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25853 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25854 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25855 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25856 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25857 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25858 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25859 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25860 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25861 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25862 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25863 removed macros.
25864 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25865 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25866 macros.
25867 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25868 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25869 * sysdeps/i386/i586/memset.S (memset): Likewise.
25870 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25871 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25872 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25873 macros.
25874 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25875 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25876 Change uses of L(2) to L(out).
25877 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25878 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25879 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25880 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25881 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25882 removed macros.
25883 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25884 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25885 macros.
25886 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25887 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25888 (RETURN): Do not use macro LEAVE.
25889 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25890 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25891 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25892 * sysdeps/i386/i686/memset.S (memset): Likewise.
25893 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25894 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25896 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25897 Likewise.
25898 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25899 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25900 L(1_2) and L(1_3) into L(1).
25901 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25902 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25903 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25904 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25905 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25906 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25907 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25908 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25909 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25910 macros.
25911 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25912 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25913 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25914 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25915 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25916 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25917 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25918 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25919 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25920 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25921 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25922 * sysdeps/i386/strspn.S (strspn): Likewise.
25923 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25924 conditional code.
25925 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25926 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25927 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25928 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25929 L(1_3) into L(1_1).
25930 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25931 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25932 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25933 macros.
25934 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25935
2389741a
JJ
259362013-02-19 Jakub Jelinek <jakub@redhat.com>
25937
25938 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25939 macro.
25940
2016b3cd
SP
259412013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25942
e4f22324
SP
25943 * math/atest-exp.c (exp_mpn): Remove ROUND.
25944 * math/atest-exp2.c (exp_mpn): Likewise.
25945 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25946
2016b3cd
SP
25947 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25948 * stdlib/tst-tls-atexit-lib.c: Likewise.
25949 * stdlib/tst-tls-atexit.c: Likewise.
25950
4be9b544
MF
259512013-02-18 Mike Frysinger <vapier@gentoo.org>
25952
25953 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25954 and __attribute_alloc_size__.
25955
2f62b9ee
MF
259562013-02-18 Mike Frysinger <vapier@gentoo.org>
25957
25958 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25959 __attribute_alloc_size__.
25960 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25961 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25962
6ff444c4
MF
259632013-02-18 Mike Frysinger <vapier@gentoo.org>
25964
25965 * include/programs/xmalloc.h: New file.
25966 * catgets/gencat.c: Include it.
25967 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25968 * elf/pldd.c: Likewise.
25969 * iconv/iconv_charmap.c: Likewise.
25970 * iconv/iconvconfig.c: Likewise.
25971 * iconv/strtab.c: Likewise.
25972 * locale/programs/locale.c: Likewise.
25973 * locale/programs/localedef.h: Likewise.
25974 * locale/programs/simple-hash.c: Likewise.
25975 * nscd/nscd.h: Likewise.
25976 * nss/makedb.c: Likewise.
25977 * sysdeps/generic/ldconfig.h: Likewise.
25978
be179c8a
SP
259792013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25980
ba384f6e
SP
25981 * Versions.def: Add GLIBC_2.18.
25982 * include/link.h (struct link_map): New member l_tls_dtor_count.
25983 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25984 (__call_tls_dtors): Likewise.
25985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25986 __cxa_thread_atexit_impl.
25987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25988 Likewise.
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25990 Likewise.
25991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25992 Likewise.
25993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25994 Likewise.
25995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25997 Likewise.
25998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25999 Likewise.
26000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26002 Likewise.
26003 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26004 (tests): Add test case tst-tls-atexit.
26005 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26006 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26007 (GLIBC_PRIVATE): Add __call_tls_dtors.
26008 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26009 for libstdc++.
26010 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26011 * stdlib/tst-tls-atexit.c: New test case.
26012 * stdlib/tst-tls-atexit-lib.c: New test case.
26013
ffaa74cf 26014 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26015
be179c8a
SP
26016 * elf/Versions (ld): Add _dl_find_dso_for_object.
26017 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26018 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26019 (dl_open_worker): Use _dl_find_dso_for_object.
26020 * elf/dl-sym.c (do_sym): Likewise.
26021 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26022
f78b5caa
AK
260232013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26024
26025 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26026 Syntactic changes only.
26027 (_dl_runtime_profile): Do a tail-call to the resolved function.
26028
29691210
JM
260292013-02-17 Joseph Myers <joseph@codesourcery.com>
26030
26031 [BZ #13550]
26032 * sysdeps/x86_64/bp-asm.h: Remove file.
26033 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26034 <bp-sym.h> and <bp-asm.h>.
26035 (__clone): Do not use BP_SYM.
26036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26037 <bp-sym.h> and <bp-asm.h>.
26038 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26039 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26040 "bp-asm.h".
26041 (_setjmp): Do not use BP_SYM.
26042 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26043 "bp-asm.h".
26044 (setjmp): Do not use BP_SYM.
26045 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26046 libc_hidden_def.
26047 (mempcpy): Do not use BP_SYM in weak_alias.
26048 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26049 "bp-asm.h".
26050 (strchr): Do not use BP_SYM.
26051 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26052 "bp-asm.h".
26053 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26054 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26055 (_start): Do not use BP_SYM.
26056 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26057 "bp-asm.h".
26058 (strcat): Do not use BP_SYM.
26059 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26060 "bp-asm.h".
26061 (STRCMP): Do not use BP_SYM.
26062 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26063 "bp-asm.h".
26064 (STRCPY): Do not use BP_SYM.
26065 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26066 "bp-asm.h".
26067 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26068 "bp-asm.h".
26069 (FUNCTION): Do not use BP_SYM.
26070 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26071 weak_alias.
26072 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26073
f238fd19
AJ
260742013-02-17 Andreas Jaeger <aj@suse.de>
26075
26076 * time/Versions: Sort entries.
26077 * string/Versions: Likewise.
26078 * resolv/Versions: Likewise.
26079 * posix/Versions: Likewise.
26080 * iconv/Versions: Likewise.
26081 * elf/Versions: Likewise.
26082 * wcsmbs/Versions: Likewise.
26083
bd07f23c 260842013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26085
22af19f9
SP
26086 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26087 loop termination condition.
26088
4709fe76
SP
26089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26090 variable to calculate EZ.
26091 (__sqr): Likewise.
2d0e0f29
SP
26092
26093 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26094 the lower precision input.
26095
daaa7713
JM
260962013-02-15 Joseph Myers <joseph@codesourcery.com>
26097
26098 [BZ #13550]
26099 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26100 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26101 (run-via-rtld-prefix): Do not handle %-bp tests.
26102 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26103 (all-object-suffixes): Remove .ob.
26104 (bppfx): Remove variable.
26105 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26106 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26107 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26108 [$(build-bounded) = yes] (libtype.ob): Likewise.
26109 * Makerules (elide-routines.ob): Remove variable.
26110 (do-tests-clean): Do not handle *-bp.out.
26111 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26112 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26113 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26114 (tests): Do not include $(tests-bp.out).
26115 (xtests): Do not include $(xtests-bp.out).
26116 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26117 [$(build-bounded) = yes] ($(addprefix
26118 $(objpfx),$(binaries-bounded))): Remove rule.
26119 ($(objpfx)%-bp.out): Remove rule.
26120 * config.make.in (build-bounded): Remove variable.
26121 * crypt/Makefile [$(build-bounded) = yes]
26122 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26123 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26124 append to variable.
26125 [$(build-bounded) = yes] (install-lib): Likewise.
26126 [$(build-bounded) = yes] (generated): Likewise.
26127 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26128 Remove rule.
26129 * intl/Makefile [$(build-bounded) = yes]
26130 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26131 * math/Makefile [$(build-bounded) = yes]
26132 ($(tests:%=$(objpfx)%-bp): Likewise.
26133 * misc/Makefile [$(build-bounded) = yes]
26134 ($(objpfx)tst-tsearch-bp): Likewise.
26135 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26136 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26137 Remove dependency.
26138 * string/Makefile (o-objects.ob): Remove variable.
26139 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26140 (CFLAGS-.ob): Remove variable.
26141 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26142 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26143 both definitions of variable.
26144 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26145 (ASFLAGS-.ob): Remove variable.
26146
e97ed6dd
JM
261472013-02-14 Joseph Myers <joseph@codesourcery.com>
26148
2bdd4ca6
JM
26149 [BZ #13550]
26150 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26151 Remove __BOUNDED_POINTERS__ from condition.
26152 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26153 * string/bits/string2.h [!__NO_STRING_INLINES &&
26154 !__BOUNDED_POINTERS__]: Likewise.
26155 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26156 Likewise.
26157 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26158 Remove conditional code.
26159 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26160 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26161 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26162 condition.
26163
e97ed6dd
JM
26164 [BZ #13550]
26165 * csu/libc-start.c: Do not include <bp-sym.h>.
26166 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26167 * elf/dl-open.c: Do not include <bp-sym.h>.
26168 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26169 * math/fegetenv.c: Do not include <bp-sym.h>.
26170 (fegetenv): Do not use BP_SYM in versioned symbols.
26171 * nptl/sysdeps/pthread/bits/libc-lockP.h
26172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26173 <bp-sym.h>.
26174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26175 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26177 (__pthread_mutex_destroy): Likewise.
26178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26179 (__pthread_mutex_lock): Likewise.
26180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26181 (__pthread_mutex_trylock): Likewise.
26182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26183 (__pthread_mutex_unlock): Likewise.
26184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26185 (__pthread_mutexattr_init): Likewise.
26186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26187 (__pthread_mutexattr_destroy): Likewise.
26188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26189 (__pthread_mutexattr_settype): Likewise.
26190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26191 (__pthread_rwlock_init): Likewise.
26192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26193 (__pthread_rwlock_destroy): Likewise.
26194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26195 (__pthread_rwlock_rdlock): Likewise.
26196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26197 (__pthread_rwlock_tryrdlock): Likewise.
26198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26199 (__pthread_rwlock_wrlock): Likewise.
26200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26201 (__pthread_rwlock_trywrlock): Likewise.
26202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26203 (__pthread_rwlock_unlock): Likewise.
26204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26205 (__pthread_key_create): Likewise.
26206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26207 (__pthread_setspecific): Likewise.
26208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26209 (__pthread_getspecific): Likewise.
26210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26211 Likewise.
26212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26213 (_pthread_cleanup_push_defer): Likewise.
26214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26215 (_pthread_cleanup_pop_restore): Likewise.
26216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26217 (pthread_setcancelstate): Likewise.
26218 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26219 <bp-sym.h>.
26220 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26221 (memchr): Do not use BP_SYM in weak_alias.
26222 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26223 (fegetenv): Do not use BP_SYM in versioned symbols.
26224 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26225 (fesetenv): Do not use BP_SYM in versioned symbols.
26226 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26227 (feupdateenv): Do not use BP_SYM in versioned symbols.
26228 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26229 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26230 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26231 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26232 (open64): Do not use BP_SYM in weak_alias.
26233 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26234 (fegetenv): Do not use BP_SYM in versioned symbols.
26235 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26236 (fesetenv): Do not use BP_SYM in versioned symbols.
26237 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26238 (feupdateenv): Do not use BP_SYM in versioned symbols.
26239 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26240 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26241 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26242 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26243 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26244 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26245 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26246 <bp-sym.h>.
26247 (__libc_start_main): Do not use BP_SYM.
26248
d6752ccd
SP
262492013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26250
cb57ce60
SP
26251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26252 redundant return line.
26253 (norm): Likewise.
26254 (denorm): Likewise.
26255 (dbl_mp): Likewise.
26256 (sub_magnitudes): Likewise.
26257 (__add): Likewise.
26258 (__sub): Likewise.
26259 (__mul): Likewise.
26260 (__inv): Likewise.
26261 (__dvd): Likewise.
26262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26263 (norm): Likewise.
26264 (denorm): Likewise.
26265 (dbl_mp): Likewise.
26266 (sub_magnitudes): Likewise.
26267 (__add): Likewise.
26268 (__sub): Likewise.
26269 (__mul): Likewise.
26270 (__inv): Likewise.
26271 (__dvd): Likewise.
26272
f414520d
SP
26273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26274 instead of __mul.
26275 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26276 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26277 (cc32): Likewise.
26278
d6752ccd
SP
26279 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26280 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26282 of __mul for squares.
26283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26284 function
26285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26286 Likewise.
26287 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26288 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26289
70d9946a
JM
262902013-02-13 Joseph Myers <joseph@codesourcery.com>
26291
26292 [BZ #13550]
26293 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26294 code.
26295 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26296 prototype or function definition. Rename ubp_* variables and
26297 parameters. Remove argv definitions conditional on
26298 [__BOUNDED_POINTERS__].
26299 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26300 * elf/dl-runtime.c (_dl_fixup): Likewise.
26301 * include/set-hooks.h (RUN_HOOK): Likewise.
26302 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26303 definition.
26304 * string/strcpy.c (strcpy): Do not use __unbounded.
26305 * sysdeps/generic/frame.h (struct layout): Likewise.
26306 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26307 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26308 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26309 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26310 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26311 (__backtrace): Likewise.
26312 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26313 use __ptrvalue.
26314 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26315 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26316 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26317 Likewise.
26318 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26319 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26320 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26321 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26322 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26323 Do not use __unbounded.
26324 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26325 Rename __unboundedrlimits parameter to rlimits in prototype.
26326 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26327 Do not use __unbounded.
26328 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26329 not use __ptrvalue.
26330 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26331 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26332 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26333 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26334 __ptrvalue or __unbounded.
26335 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26336 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26337 use __unbounded.
26338 (__new_msgctl): Do not use __ptrvalue.
26339 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26340 __unbounded.
26341 (__libc_msgrcv): Do not use __ptrvalue.
26342 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26343 startup_info): Do not use __unbounded.
26344 (__libc_start_main): Likewise. Rename ubp_* variables and
26345 parameters. Remove argv definitions conditional on
26346 [__BOUNDED_POINTERS__].
26347 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26348 __ptrvalue.
26349 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26350 use __unbounded.
26351 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26352 or __ptrvalue.
26353 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26354 use __unbounded.
26355 (__new_shmctl): Do not use __ptrvalue.
26356 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26357 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26358 Likewise.
26359 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26360 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26361 (__libc_sigaction): Likewise.
26362 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26363 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26364 Likewise.
26365 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26366
cc7834d6
OB
263672013-02-13 Ondřej Bílka <neleai@seznam.cz>
26368
ffb1ec7b 26369 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26370
26371 * string/mempcpy.c: Implement by calling memcpy.
26372
bdf02814
SP
263732013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26374
c2af38aa
SP
26375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26376
4e92d59e
SP
26377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26378 evaluation.
26379
909279a5
SP
26380 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26381 values in the mantissa.
26382
bdf02814
SP
26383 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26384 minimize writes to Z.
26385 (sub_magnitudes): Simplify code a bit.
26386
cd525923
RM
263872013-02-12 Roland McGrath <roland@hack.frob.com>
26388
26389 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26390 from the message. The linker prefixes all warnings with that already.
26391
7e2f0d2d
AS
263922013-02-12 Andreas Schwab <schwab@suse.de>
26393
a445af0b
AS
26394 [BZ #15078]
26395 * posix/regexec.c (extend_buffers): Add parameter min_len.
26396 (check_matching): Pass minimum needed length.
26397 (clean_state_log_if_needed): Likewise.
26398 (get_subexp): Likewise.
26399 * posix/Makefile (tests): Add bug-regex34.
26400 (bug-regex34-ENV): Define.
26401 * posix/bug-regex34.c: New file.
26402
7e2f0d2d
AS
26403 [BZ #11561]
26404 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26405 elements compare against the byte sequence of it, not its name.
26406 * posix/Makefile (tests): Add bug-regex35.
26407 (bug-regex35-ENV): Define.
26408 * posix/bug-regex35.c: New file.
26409
a175b684
TV
264102013-02-11 Tom de Vries <tom@codesourcery.com>
26411
26412 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26413 comment.
26414 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26415 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26416 (CHECK_EOL): Add undef.
26417
310998fe 264182013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26419
26420 * bits/stdlib-bsearch.h: New file.
26421 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26422 * stdlib/stdlib.h: Likewise.
41eda41d 26423
8ded91fb
RM
264242013-02-11 Roland McGrath <roland@hack.frob.com>
26425
26426 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26427 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26428 declaration.
26429 * manual/search.texi (Array Search Function): Add missing const in
26430 lfind prototype.
26431 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26432 declaration to use rlim_t.
26433 (Basic Scheduling Functions): Remove erroneous const from
26434 sched_getparam prototype. Remove erroneous * from
26435 sched_get_priority_max and sched_get_priority_min prototypes.
26436 (Resource Usage): Fix summary @comment on vtimes to refer to
26437 sys/vtimes.h rather than vtimes.h.
26438 Add missing *s in vtimes prototype.
26439 (Limits on Resources): Fix ulimit prototype to return long int.
26440 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26441 prototypes to use long int rather than double.
26442 (BSD Random): Fix initstate and setstate to use char *, not void *.
26443 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26444 prototype to make second argument 'struct aiocb64 *const[]'.
26445 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26446 (Status of AIO Operations): Remove erroneous const in aio_return and
26447 aio_return64 prototypes.
26448 (Synchronizing I/O): Fix sync prototype to return void.
26449 * manual/startup.texi (Suboptions): Remove an erroneous const in
26450 getsubopt prototype.
26451 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26452 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26453 use size_t rather than int.
26454 (Scanning All Users): Likewise for getpwent_r.
26455 (Setting Groups): Add missing const to setgroups prototype.
26456 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26457 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26458 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26459 'const void *' rather than 'const char *'.
26460 (Host Address Functions): Likewise for inet_ntop.
26461 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26462 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26463 ssize_t for return value.
26464 (Sending Data): Likewise for send, sendto, sendmsg.
26465 (Socket Option Functions): Add a missing const in setsockopt prototype.
26466 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26467 use wchar_t for the argument.
26468 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26469 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26470 take no arguments.
26471 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26472 double/float/long double for second argument.
26473 Fix return types of significand, significandf, significandl.
26474 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26475 argument in fchmod prototype.
26476 (File Owner): Use uid_t and gid_t in fchown prototype.
26477 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26478 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26479 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26480 use 'const struct dirent **' as argument types to CMP function pointer
26481 argument.
26482 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26483 (File Times): Fix summary magic @comment for struct utimbuf and utime
26484 to refer to utime.h, not time.h.
26485 * manual/string.texi (Argz Functions): Add missing const in
26486 argz_extract and argz_next prototypes.
26487 (Finding Tokens in a String): Likewise for basename.
26488 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26489 (Copying and Concatenation): Fix typo in wmemmove prototype.
26490 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26491 (Signal Stack): Remove erroneous const in sigstack prototype.
26492 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26493 prototype.
26494 (Simple Calendar Time): Likewise for stime.
26495 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26496 prototype.
26497 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26498 say sys/sysctl.h instead.
26499 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26500 and vsyslog prototypes.
26501
fe77fe6d
TV
265022013-02-11 Tom de Vries <tom@codesourcery.com>
26503
26504 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26505 Remove.
26506
3a09b620
RM
265072013-02-11 Roland McGrath <roland@hack.frob.com>
26508
26509 * misc/sys/mman.h: Fix typo in mremap comment.
26510
550a0b89
RM
265112013-02-08 Roland McGrath <roland@hack.frob.com>
26512
26513 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26514 the '\0' terminator.
26515
a2da1673
JM
265162013-02-08 Joseph Myers <joseph@codesourcery.com>
26517
26518 [BZ #13550]
26519 * debug/segfault.c: Don't include <bp-checks.h>.
26520 * sysdeps/generic/bp-checks.h: Remove file.
26521 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26522 (__GETDENTS): Don't use CHECK_N.
26523 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26524 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26525 (__getgroups): Don't use CHECK_N.
26526 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26527 (setgroups): Don't use CHECK_N.
26528 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26529 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26530 (__libc_msgrcv): Don't use CHECK_N.
26531 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26532 (__libc_msgsnd): Don't use CHECK_N.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26534 <bp-checks.h>.
26535 (__libc_pread): Don't use CHECK_N.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26537 include <bp-checks.h>.
26538 (__libc_pread64): Don't use CHECK_N.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26540 include <bp-checks.h>.
26541 (__libc_pwrite): Don't use CHECK_N.
26542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26543 include <bp-checks.h>.
26544 (__libc_pwrite64): Don't use CHECK_N.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26546 <bp-checks.h>.
26547 (__libc_pread): Don't use CHECK_N.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26549 include <bp-checks.h>.
26550 (__libc_pread64): Don't use CHECK_N.
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26552 include <bp-checks.h>.
26553 (__libc_pwrite): Don't use CHECK_N.
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26555 include <bp-checks.h>.
26556 (__libc_pwrite64): Don't use CHECK_N.
26557 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26558 (do_pread): Don't use CHECK_N.
26559 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26560 (do_pread64): Don't use CHECK_N.
26561 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26562 (do_pwrite): Don't use CHECK_N.
26563 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26564 (do_pwrite64): Don't use CHECK_N.
26565 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26566 (__libc_readv): Don't use CHECK_N.
26567 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26568 (semop): Don't use CHECK_N.
26569 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26570 <bp-checks.h>.
26571 (semtimedop): Don't use CHECK_N.
26572 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26573 (__libc_pread): Don't use CHECK_N.
26574 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26575 <bp-checks.h>.
26576 (__libc_pread64): Don't use CHECK_N.
26577 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26578 <bp-checks.h>.
26579 (__libc_pwrite): Don't use CHECK_N.
26580 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26581 <bp-checks.h>.
26582 (__libc_pwrite64): Don't use CHECK_N.
26583 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26584 <bp-checks.h>.
26585 (__libc_msgrcv): Don't use CHECK_N.
26586 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26587 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26588 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26589 (__libc_writev): Don't use CHECK_N.
26590
b84660a8
RM
265912013-02-08 Roland McGrath <roland@hack.frob.com>
26592
7f3e75f8
RM
26593 * string/strcpy.c: Removed unused variable.
26594
b84660a8
RM
26595 * Makeconfig (+sysdep-includes): Define with := rather than =.
26596 Use an existing include/ subdir of each sysdeps dir before it.
26597
471514d3
CD
265982013-02-08 Carlos O'Donell <carlos@redhat.com>
26599
26600 * nscd/connection.c (register_traced_file): Comment function.
26601 [HAVE_INOTIFY] (union __inev): Define.
26602 [HAVE_INOTIFY] (inotify_check_files): New function.
26603 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26604 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26605 clear_db_cache.
26606 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26607
b2d3c3be
CD
266082013-02-08 Carlos O'Donell <carlos@redhat.com>
26609
26610 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26611 loaded if not already and that a failure is permanent.
26612
b39949d2
CD
266132013-02-08 Carlos O'Donell <carlos@redhat.com>
26614
ddacd1db 26615 [BZ #15006]
b39949d2
CD
26616 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26617 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26618
b2c9eff4
JM
266192013-02-08 Joseph Myers <joseph@codesourcery.com>
26620
f3aae3f3
JM
26621 [BZ #13550]
26622 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26623 (CHECK_1_NULL_OK): Likewise.
26624 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26625 (__fxstat): Do not use CHECK_1.
26626 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26627 <bp-checks.h>.
26628 (___fxstat64): Do not use CHECK_1.
26629 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26630 <bp-checks.h>.
26631 (__fxstatat): Do not use CHECK_1.
26632 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26633 <bp-checks.h>.
26634 (__fxstatat64): Do not use CHECK_1.
26635 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26636 <bp-checks.h>.
26637 (__fxstat): Do not use CHECK_1.
26638 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26639 <bp-checks.h>.
26640 (__fxstatat): Do not use CHECK_1.
26641 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26642 <bp-checks.h>.
26643 (__getresgid): Do not use CHECK_1.
26644 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26645 <bp-checks.h>.
26646 (__getresuid): Do not use CHECK_1.
26647 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26648 <bp-checks.h>.
26649 (__lxstat): Do not use CHECK_1.
26650 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26651 <bp-checks.h>.
26652 (__old_msgctl): Do not use CHECK_1.
26653 (__new_msgctl): Likewise.
26654 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26655 <bp-checks.h>.
26656 (__new_setrlimit): Do not use CHECK_1.
26657 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26658 <bp-checks.h>.
26659 (__old_shmctl): Do not use CHECK_1.
26660 (__new_shmctl): Likewise.
26661 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26662 <bp-checks.h>.
26663 (__xstat): Do not use CHECK_1.
26664 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26665 (__lxstat): Do not use CHECK_1.
26666 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26667 <bp-checks.h>.
26668 (___lxstat64): Do not use CHECK_1.
26669 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26670 (__old_msgctl): Do not use CHECK_1.
26671 (__new_msgctl): Likewise.
26672 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26673 <bp-checks.h>.
26674 (__gettimeofday): Do not use CHECK_1.
26675 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26676 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26677 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26678 <bp-checks.h>.
26679 (__gettimeofday): Do not use CHECK_1.
26680 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26681 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26682 (__new_shmctl): Do not use CHECK_1.
26683 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26684 <bp-checks.h>.
26685 (do_sigtimedwait): Do not use CHECK_1.
26686 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26687 <bp-checks.h>.
26688 (do_sigwaitinfo): Do not use CHECK_1.
26689 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26690 <bp-checks.h>.
26691 (msgctl): Do not use CHECK_1.
26692 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26693 <bp-checks.h>.
26694 (shmctl): Do not use CHECK_1.
26695 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26696 (ustat): Do not use CHECK_1.
26697 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26698 <bp-checks.h>.
26699 (__fxstat): Do not use CHECK_1.
26700 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26701 <bp-checks.h>.
26702 (__fxstatat): Do not use CHECK_1.
26703 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26704 <bp-checks.h>.
26705 (__lxstat): Do not use CHECK_1.
26706 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26707 <bp-checks.h>.
26708 (__xstat): Do not use CHECK_1.
26709 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26710 (__xstat): Do not use CHECK_1.
26711 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26712 (___xstat64): Do not use CHECK_1.
26713
b2c9eff4
JM
26714 [BZ #13550]
26715 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26716 definitions.
26717 (CHECK_BOUNDS_HIGH): Likewise.
26718 * string/strcpy.c: Do not include <bp-checks.h>.
26719 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26720
f1d70dad
RM
267212013-02-07 Roland McGrath <roland@hack.frob.com>
26722
26723 * nscd/nscd-client.h (__nscd_drop_map_ref):
26724 Add __attribute__ ((unused)).
26725 * nis/nss-nisplus.h (niserr2nss): Likewise.
26726
26727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26728 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26729
26730 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26731 Remove inline keyword.
26732 * include/rounding-mode.h (round_away): Likewise.
26733 * libio/wfileops.c (adjust_wide_data): Likewise.
26734 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26735 (__m128i_strloadu_tolower): Likewise.
26736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26737 (__m128i_strloadu_tolower): Likewise.
26738 * time/mktime.c (ydhms_diff): Likewise.
26739 * locale/elem-hash.h (elem_hash): Likewise.
26740 * locale/setlocale.c (setdata): Likewise.
26741 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26742 (re_string_wchar_at): Likewise.
26743 (bitset_not, bitset_merge, bitset_mask): Likewise.
26744 [!(__GNUC__ > 3)] (inline): Remove macro.
26745 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26746 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26747 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26748 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26749 * string/memcmp.c (memcmp_bytes): Likewise.
26750 * locale/programs/locarchive.c (compute_hashval): Likewise.
26751 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26752 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26753 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26754 * nss/getent.c (print_rpc, print_protocols): Likewise.
26755 (print_passwd, print_group, print_aliases): Likewise.
26756 * nis/nss-nisplus.h (niserr2nss): Likewise.
26757 * nscd/connections.c (restart_p): Likewise.
26758 Change return type to bool.
26759
eab55bfb
RM
267602013-02-05 Roland McGrath <roland@hack.frob.com>
26761
7bd642f5
RM
26762 * Makeconfig (all-Depend-files): Add existing
26763 $(sorted-subdirs:=/Depend) files.
26764 (all-subdirs): Remove nss.
26765 * sysdeps/unix/inet/Subdirs: Add it here instead.
26766 * hesiod/Depend: New file.
26767
573c29b2
RM
26768 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26769 instead of calling alloca.
26770
b2e25af0
RM
26771 * io/lseek.c (__lseek): Rename to __libc_lseek.
26772 Define __lseek as an alias.
26773
eab55bfb
RM
26774 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26775
9a0d1941
CD
267762013-02-04 Carlos O'Donell <carlos@redhat.com>
26777
26778 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26779 else clause and remove check for non-standard endianness.
26780
b83bbec4
DM
267812013-02-04 David S. Miller <davem@davemloft.net>
26782
26783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26784
6277fdab
JM
267852013-02-04 Joseph Myers <joseph@codesourcery.com>
26786
26787 [BZ #13550]
26788 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26789 (__ubp_memchr): Remove prototype.
26790 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26791 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26792 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26793 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26794 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26795 Remove alias.
26796 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26797 (__ubp_memchr): Likewise.
26798 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26799 (__ubp_memchr): Likewise.
26800 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26801 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26802 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26803 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26804 CHECK_STRING.
26805 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26806 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26807 (__getcwd): Do not use CHECK_STRING.
26808 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26809 <bp-checks.h>.
26810 (__real_chown): Do not use CHECK_STRING.
26811 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26812 <bp-checks.h>.
26813 (fchownat): Do not use CHECK_STRING.
26814 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26815 CHECK_STRING.
26816 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26817 <bp-checks.h>.
26818 (__lchown): Do not use CHECK_STRING.
26819 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26820 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26821 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26822 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26824 include <bp-checks.h>.
26825 (truncate64): Do not use CHECK_STRING.
26826 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26827 <bp-checks.h>.
26828 (__real_chown): Do not use CHECK_STRING.
26829 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26830 <bp-checks.h>.
26831 (__lchown): Do not use CHECK_STRING.
26832 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26833 <bp-checks.h>.
26834 (__chown): Do not use CHECK_STRING.
26835 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26836 <bp-checks.h>.
26837 (truncate64): Do not use CHECK_STRING.
26838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26839 Likewise.
26840 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26841 (__xmknod): Do not use CHECK_STRING.
26842 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26843 <bp-checks.h>.
26844 (__xmknodat): Do not use CHECK_STRING.
26845 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26846 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26847
903ae060
AS
268482013-02-04 Andreas Schwab <schwab@suse.de>
26849
26850 [BZ #14142]
26851 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26852 * include/netdb.h: Likewise for h_errno.
26853 * elf/tst-stackguard1.c: Include <tls.h>.
26854
542f9466
JK
268552013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26856
26857 * elf/link.h (struct link_map): Extend the l_addr comment.
26858 * include/link.h (struct link_map): Likewise.
26859
e782a927
JM
268602013-02-01 Joseph Myers <joseph@codesourcery.com>
26861
26862 [BZ #13550]
26863 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26864 (BOUNDED_1): Remove macro.
26865 * debug/backtrace.c: Don't include <bp-checks.h>.
26866 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26867 (__backtrace): Likewise.
26868 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26869 <bp-checks.h>.
26870 (__backtrace): Don't use BOUNDED_1.
26871 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26872 <bp-checks.h>.
26873 (__backtrace): Don't use BOUNDED_1.
26874 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26875 (__backtrace): Don't use BOUNDED_1.
26876 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26877 (shmat): Don't use BOUNDED_N.
26878
8cf28c5e
JM
268792013-01-31 Joseph Myers <joseph@codesourcery.com>
26880
3a7ac8a0
JM
26881 [BZ #13550]
26882 * sysdeps/generic/bp-start.h: Remove file.
26883 * csu/libc-start.c: Don't include <bp-start.h>.
26884 (LIBC_START_MAIN): Set up __environ directly instead of using
26885 INIT_ARGV_and_ENVIRON.
26886 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26887 <bp-start.h>.
26888
f3499f95
JM
26889 [BZ #13550]
26890 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26891 definitions.
26892 (CHECK_FCNTL): Likewise.
26893 (CHECK_N_PAGES): Likewise.
26894
32a45bea
JM
26895 [BZ #13550]
26896 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26897 definitions.
26898 (CHECK_SIGSET_NULL_OK): Likewise.
26899 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26900 <bp-checks.h>.
26901 (sigpending): Don't use CHECK_SIGSET.
26902 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26903 <bp-checks.h>.
26904 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26905 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26906 <bp-checks.h>.
26907 (do_sigsuspend): Don't use CHECK_SIGSET.
26908 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26909 use CHECK_SIGSET.
26910 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26911 (do_sigwait): Don't use CHECK_SIGSET.
26912 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26913 use CHECK_SIGSET.
26914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26915 include <bp-checks.h>.
26916 (sigpending): Don't use CHECK_SIGSET.
26917 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26918 include <bp-checks.h>.
26919 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26920 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26921 <bp-checks.h>.
26922 (sigpending): Don't use CHECK_SIGSET.
26923 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26924 <bp-checks.h>.
26925 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26926
2e8a5c8c
JM
26927 [BZ #13550]
26928 * sysdeps/generic/bp-semctl.h: Remove file.
26929 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26930 <bp-checks.h> and <bp-semctl.h>.
26931 (__old_semctl): Don't use CHECK_SEMCTL.
26932 (__new_semctl): Likewise.
26933 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26934 and <bp-semctl.h>.
26935 (__old_semctl): Don't use CHECK_SEMCTL.
26936 (__new_semctl): Likewise.
26937 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26938 <bp-checks.h> and <bp-semctl.h>.
26939 (__old_semctl): Don't use CHECK_SEMCTL.
26940 (__new_semctl): Likewise.
26941 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26942 <bp-checks.h> and <bp-semctl.h>.
26943 (semctl): Don't use CHECK_SEMCTL.
26944
c2d54929
JM
26945 [BZ #13550]
26946 * Makerules (elide-bp-thunks): Remove variable.
26947 (elide-routines.oS): Don't use $(elide-bp-thunks).
26948 (elide-routines.os): Likewise.
26949 (elide-routines.o): Likewise.
26950 (elide-routines.op): Likewise.
26951 (elide-routines.og): Likewise.
26952 (objects): Don't use $(bp-thunks).
26953 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26954 include.
26955 (common-generated): Do not add s-proto-bp.d.
26956 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26957 (int): Likewise.
26958 (typ): Likewise.
26959 Do not generate makefile rules for bounded-pointer thunks.
26960 * sysdeps/generic/bp-thunks.h: Remove file.
26961 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26962 * sysdeps/unix/s-proto-bp.S: Likewise.
26963
8cf28c5e
JM
26964 [BZ #15062]
26965 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26966 parts of result separately when argument is not close to line from
26967 -i to i and one part of argument is small.
26968 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26969 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26970 * math/libm-test.inc (cacos_test): Add more tests.
26971 (casin_test): Likewise.
26972 (casinh_test): Likewise.
26973 * sysdeps/i386/fpu/libm-test-ulps: Update.
26974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26975
c4e33b8d
DM
269762013-01-31 David S. Miller <davem@davemloft.net>
26977
26978 * po/de.po: Update from translation team.
26979
3b60b421
MK
269802013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26981
26982 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26983
bb931195
TS
269842013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26985
b5a5da23
TS
26986 * configure.in (_AC_PROG_CC_C89): New definition.
26987 * configure: Regenerate.
26988
bb931195
TS
26989 * configure.in (AC_PROG_CPP): New definition.
26990 * configure: Regenerate.
26991
8c53a12c
JM
269922013-01-23 Joseph Myers <joseph@codesourcery.com>
26993
26994 * debug/tst-backtrace.h: New file.
26995 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26996 (ret): Remove variable.
26997 (x): Likewise.
26998 (FAIL): Remove macro.
26999 (NO_INLINE): Likewise.
27000 (fn1): Use match function instead of strstr.
27001 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27002 (ret): Remove variable.
27003 (x): Likewise.
27004 (FAIL): Remove macro.
27005 (NO_INLINE): Likewise.
27006 (fn): Use match function instead of strstr.
27007 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27008 (ret): Remove variable.
27009 (x): Likewise.
27010 (FAIL): Remove macro.
27011 (NO_INLINE): Likewise.
27012 (handle_signal): Use match function instead of strstr.
27013 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27014 (ret): Remove variable.
27015 (x): Likewise.
27016 (FAIL): Remove macro.
27017 (NO_INLINE): Likewise.
27018 (handle_signal): Use match function instead of strstr.
27019
4858fa2a
RM
270202013-01-23 Roland McGrath <roland@hack.frob.com>
27021
27022 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27023
bae8e7f5
DM
270242013-01-23 David S. Miller <davem@davemloft.net>
27025
27026 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27027 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27028 argument of CAS if possible.
27029 * sysdeps/sparc/sparc64/bits/atomic.h
27030 (__arch_compare_and_exchange_val_32_acq): Likewise.
27031 (__arch_compare_and_exchange_val_64_acq): Likewise.
27032
9cbbc4ae
PT
270332013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27034
27035 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27036 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27037 Include <limits.h>.
67b3f58c 27038 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27039
5655a0b5
AC
270402013-01-23 Adam Conrad <adconrad@0c3.net>
27041
27042 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27043 (LDFLAGS-tst-array5): Likewise.
27044
052aff95
JM
270452013-01-23 Joseph Myers <joseph@codesourcery.com>
27046
27047 [BZ #15036]
27048 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27049 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27050 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27051 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27052
7c1e01aa
DM
270532013-01-21 David S. Miller <davem@davemloft.net>
27054
27055 * sysdeps/sparc/backtrace.c: New file.
27056 * sysdeps/sparc/sparc32/backtrace.h: New file.
27057 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27058 * sysdeps/sparc/sparc64/backtrace.h: New file.
27059 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27060 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27061 -funwind-tables.
27062
ab087e0a
AS
270632013-01-21 Andreas Schwab <schwab@suse.de>
27064
27065 [BZ #15020]
27066 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27067 closed its stdout.
27068
ed689c2f
AS
270692013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27070
27071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27072 "mpa2.h".
27073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27074
31d470ac
JM
270752013-01-18 Joseph Myers <joseph@codesourcery.com>
27076 Mark Mitchell <mark@codesourcery.com>
27077 Tom de Vries <tom@codesourcery.com>
27078 Paul Pluzhnikov <ppluzhnikov@google.com>
27079
27080 * debug/tst-backtrace2.c: New file.
27081 * debug/tst-backtrace3.c: Likewise.
27082 * debug/tst-backtrace4.c: Likewise.
27083 * debug/tst-backtrace5.c: Likewise.
27084 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27085 (CFLAGS-tst-backtrace3.c): Likewise.
27086 (CFLAGS-tst-backtrace4.c): Likewise.
27087 (CFLAGS-tst-backtrace5.c): Likewise.
27088 (LDFLAGS-tst-backtrace2): Likewise.
27089 (LDFLAGS-tst-backtrace3): Likewise.
27090 (LDFLAGS-tst-backtrace4): Likewise.
27091 (LDFLAGS-tst-backtrace5): Likewise.
27092 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27093 tst-backtrace4 and tst-backtrace5.
27094
90567f30 270952013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27096 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27097
27098 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27099 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27100 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27101 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27103 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27104 "+r" and remove output regs list as redundant. Add explicit inline
27105 asm to specify register of return val to work around compiler codegen
27106 bug. Remove (int) cast on return value. Add return type parameter to
27107 use in macro so that this macro does not truncate return value for
27108 64-bit values.
27109 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27110 pass to INTERNAL_VSYSCALL_NCS.
27111 (INLINE_VSYSCALL): Add 'long int' as return type to
27112 INTERNAL_VSYSCALL_NCS macro invocation.
27113 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27114 INTERNAL_VSYSCALL_NCS macro invocation.
27115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27116
d3b9ea61
SP
271172013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27118
0b57daeb
SP
27119 [BZ #14496]
27120 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27121 Fix application of SIMD FP exception mask.
27122
caa99d06
SP
27123 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27124 mp_no from a power of two.
27125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27126 __mpexp_twomm1. Use __pow_mp.
27127
d3b9ea61
SP
27128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27129 multiplication.
27130
1dbaee3c
DM
271312013-01-17 David S. Miller <davem@davemloft.net>
27132
27133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27134
728d7b43
JM
271352013-01-17 Joseph Myers <joseph@codesourcery.com>
27136
27137 [BZ #15023]
27138 * include/complex.h: Condition contents on [!_COMPLEX_H].
27139 (__kernel_casinhf): New prototype.
27140 (__kernel_casinh): Likewise.
27141 (__kernel_casinhl): Likewise.
27142 * math/Makefile (libm_calls): Add k_casinh.
27143 * math/k_casinh.c: New file.
27144 * math/k_casinhf.c: Likewise.
27145 * math/k_casinhl.c: Likewise.
27146 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27147 finite nonzero arguments.
27148 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27149 finite nonzero arguments.
27150 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27151 finite nonzero arguments.
27152 * math/s_casinh.c: Do not include <float.h>.
27153 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27154 * math/s_casinhf.c: Do not include <float.h>.
27155 (__casinhf): Move code for finite nonzero arguments to
27156 k_casinhf.c.
27157 * math/s_casinhl.c: Do not include <float.h>.
27158 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27159 redefine.
27160 (__casinhl): Move code for finite nonzero arguments to
27161 k_casinhl.c.
27162 * math/libm-test.inc (cacos_test): Add more tests.
27163 * sysdeps/i386/fpu/libm-test-ulps: Update.
27164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27165
2a26ef3a
PT
271662013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27167
27168 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27169 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27170 [!HAVE_MREMAP]: Remove [defined linux] case.
27171 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27172
a897655d
SP
271732013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27174
27175 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27176
881ebe89 271772013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27178
27179 * elf/elf.h (R_386_SIZE32): New relocation.
27180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27181 R_386_SIZE32.
27182 (elf_machine_rela): Likewise.
27183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27184 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27185
59981e9b
JM
271862013-01-17 Joseph Myers <joseph@codesourcery.com>
27187
27188 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27189 (FP_FAST_FMA): Do not define.
27190 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27191 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27192 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27193 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27194 !_SOFT_FLOAT]: Likewise.
27195 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27197 value.
27198 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27199 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27200 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27201 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27202 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27203 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27204 file.
27205
cfa8054f
AS
272062013-01-16 Andreas Schwab <schwab@suse.de>
27207
27208 [BZ #14327]
27209 * include/stdlib.h (__mktemp): Add declaration.
27210 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27211 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27212
dd930cc5
SP
272132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27214
881ebe89
SP
27215 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27216 definitions.
27217 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27218 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27219 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27220 definitions here.
27221 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27222 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27223 definitions.
27224 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27225 and ONE.
27226 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27227 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27228 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27229 definitions.
27230 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27231 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27232 definitions.
27233 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27234
dd930cc5
SP
27235 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27236
c19a9f89
DM
272372013-01-15 David S. Miller <davem@davemloft.net>
27238
1aa61767
DM
27239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27240 trunc{,f} to libm-sysdep_routes.
27241 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27243 file.
27244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27246 file.
27247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27248 file.
27249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27251 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27252 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27253 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27254 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27255 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27256 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27257
c42d5e98
DM
27258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27259 nearbyint{,f} to libm-sysdep_routes.
27260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27262 New file.
27263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27264 file.
27265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27266 New file.
27267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27268 file.
27269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27272 file.
27273 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27274 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27275 file.
27276 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27277 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27278 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27279
c19a9f89
DM
27280 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27281 libc_feholdexcept and libc_fesetenv.
27282
357679d2
MF
272832013-01-15 Mike Frysinger <vapier@gentoo.org>
27284
27285 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27286
65a82e3d
DM
272872013-01-14 David S. Miller <davem@davemloft.net>
27288
8b954ab9
DM
27289 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27290 (SPARC_ASM_VIS2_IFUNC): Likewise.
27291 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27293 use of 'siam' instruction.
27294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27295 Likewise.
27296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27297 Likewise.
27298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27299 Likewise.
27300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27305 file.
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27307 file.
27308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27309 file.
27310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27311 file.
27312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27317 new VIS2 routines.
27318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27321 Likewise.
27322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27327 routines to libm-sysdep_routines.
27328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27329
65a82e3d
DM
27330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27331 fdim/fdimf to libm-sysdep_routines.
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27333 file.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27336 file.
27337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27340 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27341 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27342 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27343 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27344
e34ab705
SP
273452013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27346
2a91b573
SP
27347 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27348 to optimize copies.
27349
1066a534
SP
27350 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27353
e34ab705
SP
27354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27355 local variable MPTWO.
27356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27357 Likewise.
27358
aba5e596
MF
273592013-01-13 Mike Frysinger <vapier@gentoo.org>
27360
27361 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27362 GLOB_NOESCAPE.
27363
e557e9e5
MF
273642013-01-13 Mike Frysinger <vapier@gentoo.org>
27365
27366 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27367
0428cec9
MF
273682013-01-13 Mike Frysinger <vapier@gentoo.org>
27369
27370 * manual/pattern.texi (glob_t): Document gl_flags.
27371 (glob64_t): Likewise.
27372
8794a964
DM
273732013-01-11 David S. Miller <davem@davemloft.net>
27374
66438c3f
RM
27375 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27376 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27377 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27378 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27379 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27380 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27381 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27382 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27383 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27384 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27385 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27386 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27387 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27388
4ae4244d
DM
27389 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27390 sparc V9 rather than using V8 code.
27391 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27392 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27393
8794a964
DM
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27395 Move to...
27396 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27397 Here.
27398
6270516e
RM
273992013-01-11 Roland McGrath <roland@hack.frob.com>
27400
27401 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27402 not in the main loop.
27403 * configure: Regenerated.
27404
6a57d931
JM
274052013-01-11 Joseph Myers <joseph@codesourcery.com>
27406
27407 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27408 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27409 to just #else.
27410 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27411 [!__GLIBC_HAVE_LONG_LONG] case.
27412 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27413 condition to just #else.
27414 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27415 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27416 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27417 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27418 unconditional.
27419 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27420 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27421 #elif condition to just #else.
27422 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27423 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27424 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27425 #elif condition to just #else.
27426
0e8529e9
SE
274272013-01-11 Steve Ellcey <sellcey@mips.com>
27428
27429 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27430 (EF_MIPS_ARCH_64): Fix value.
27431 (EF_MIPS_ARCH_32R2): New.
27432 (EF_MIPS_ARCH_64R2): New.
27433
740b3dbe
L
274342013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27435
27436 * Makeconfig (+link-pie-before-libc): New.
27437 (+link-pie-after-libc): Likewise.
27438 (+link-pie-tests): Likewise.
27439 (+link-pie): Rewritten.
27440 (link-before-libc): Remove $(config-LDFLAGS).
27441 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27442 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27443 (config-LDFLAGS): Renamed to ...
27444 (rtld-LDFLAGS): This.
27445 (rtld-tests-LDFLAGS): New macro.
27446 (link-libc-rpath-link): Likewise.
27447 (link-libc-tests-rpath-link): Likewise.
27448 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27449 (link-libc): Prepand $(link-libc-rpath-link).
27450 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27451 (test-program-prefix): New macro.
27452 (test-via-rtld-prefix): Likewise.
27453 (test-program-cmd): Likewise.
27454 (host-test-program-cmd): Likewise.
27455 * Makefile ($(common-objpfx)testrun.sh): Replace
27456 $(run-program-prefix) with $(test-program-prefix).
27457 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27458 $(rtld-LDFLAGS).
27459 ($(common-objpfx)shlib.lds): Likewise.
27460 (build-module-helper): Likewise.
27461 ($(common-objpfx)format.lds): Likewise.
27462 * Rules (binaries-pie-tests): New.
27463 (binaries-pie-notests): Likewise.
27464 (binaries-pie): Rewritten.
27465 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27466 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27467 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27468 (make-test-out): Replace $(host-built-program-cmd) with
27469 $(host-test-program-cmd).
27470 * config.make.in (build-hardcoded-path-in-tests): New variable.
27471 * configure.in (--enable-hardcoded-path-in-tests): New configure
27472 option.
27473 (hardcoded_path_in_tests): New AC_SUBST.
27474 * configure: Regenerated.
27475 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27476 $(built-program-cmd) with $(test-program-cmd).
27477 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27478 (test_program_cmd): This.
27479 * elf/Makefile ($(objpfx)order.out): Run test with
27480 $(test-program-prefix).
27481 ($(objpfx)order2.out): Likewise.
27482 ($(objpfx)tst-initorder.out): Likewise.
27483 ($(objpfx)tst-initorder2.out): Likewise.
27484 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27485 $(test-program-cmd).
27486 ($(objpfx)tst-array1-static.out): Likewise.
27487 ($(objpfx)tst-array2.out): Likewise.
27488 ($(objpfx)tst-array3.out): Likewise.
27489 ($(objpfx)tst-array4.out): Likewise.
27490 ($(objpfx)tst-array5.out): Likewise.
27491 ($(objpfx)tst-array5-static.out): Likewise.
27492 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27493 $(test-program-cmd).
27494 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27495 $(run-program-prefix) with $(test-program-prefix).
27496 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27497 (test_program_prefix): This.
27498 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27499 $(run-program-prefix) with $(test-program-prefix).
27500 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27501 (test_program_prefix): This.
27502 * iconvdata/tst-tables.sh: Likewise.
27503 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27504 $(run-program-prefix) with $(test-program-prefix).
27505 ($(objpfx)tst-translit.out): Likewise.
27506 ($(objpfx)tst-gettext2.out): Likewise.
27507 ($(objpfx)tst-gettext4.out): Likewise.
27508 ($(objpfx)tst-gettext6.out): Likewise.
27509 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27510 (test_program_prefix): This.
27511 * intl/tst-gettext2.sh: Likewise.
27512 * intl/tst-gettext4.sh Likewise.
27513 * intl/tst-gettext6.sh: Likewise.
27514 * intl/tst-translit.sh: Likewise.
27515 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27516 with $(test-program-cmd).
27517 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27518 $(run-program-prefix) with $(test-program-prefix).
27519 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27520 (test_program_prefix): This.
27521 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27522 $(run-program-prefix) with $(test-program-prefix).
27523 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27524 (test_program_prefix): This.
27525 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27526 * posix/Makefile ($(objpfx)globtest.out): Replace
27527 $(run-via-rtld-prefix) and $(test-wrapper) with
27528 $(test-program-prefix) and $(test-via-rtld-prefix).
27529 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27530 $(test-program-prefix).
27531 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27532 $(host-test-program-cmd).
27533 (tst-spawn-ARGS): Likewise.
27534 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27535 $(test-program-prefix).
27536 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27537 (test_via_rtld_prefix): This.
27538 (test_wrapper): Renamed to ...
27539 (test_program_prefix): This.
27540 (run_program_prefix): Replaced by test_program_prefix.
27541 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27542 (test_program_prefix): This.
27543 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27544 with $(host-test-program-cmd).
27545 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27546 $(run-program-prefix) with $(test-program-prefix).
27547 ($(objpfx)tst-printf.out): Likewise.
27548 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27549 $(test-program-cmd).
27550 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27551 (test_program_prefix): This.
27552 * stdio-common/tst-unbputc.sh: Likewise.
27553 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27554 $(run-program-prefix) with $(test-program-prefix).
27555 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27556 (test_program_prefix): This.
27557 * string/Makefile ($(objpfx)tst-svc.out): Replace
27558 $(built-program-cmd) with $(test-program-cmd).
27559
c6fe55cf
AJ
275602013-01-11 Andreas Jaeger <aj@suse.de>
27561
27562 [BZ #15003]
27563 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27564 value. Sync with Linux 3.7.
27565
9e6919c8
DM
275662013-01-10 David S. Miller <davem@davemloft.net>
27567
27568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27569 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27570 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27571
1c9f1a02
RM
275722013-01-10 Roland McGrath <roland@hack.frob.com>
27573
27574 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27575 never set.
27576 * configure: Regenerated.
27577
b9de2dde
DM
275782013-01-10 David S. Miller <davem@davemloft.net>
27579
27580 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27581 sparc V9 rather than using V8 code.
27582 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27583 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27584
e7f68ef4
RM
275852013-01-10 Roland McGrath <roland@hack.frob.com>
27586
27587 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27588 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27589 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27590 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27591 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27592 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27593 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27594 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27595 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27596 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27597 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27598 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27599 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27600 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27601 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27602 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27603 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27604 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27605 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27606 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27607 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27608 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27609 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27610 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27611 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27612 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27613 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27614
5a47cc9c
DM
276152013-01-10 David S. Miller <davem@davemloft.net>
27616
27617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27618
4cf8f209
L
276192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27620
27621 * posix/Makefile (tests-static): New variable.
27622 (tests): Add $(tests-static).
27623 (tst-exec-static-ARGS): New variable.
27624 (tst-spawn-static-ARGS): Likewise.
27625 * posix/tst-exec-static.c: New file.
27626 * posix/tst-spawn-static.c: Likewise.
27627 * posix/tst-exec.c: Support run directly.
27628 * posix/tst-spawn.c: Likewise.
27629
fed0faa1
JM
276302013-01-10 Joseph Myers <joseph@codesourcery.com>
27631
828beb13
JM
27632 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27633 long.
27634 * math/bits/mathcalls.h (llrint): Likewise.
27635 (llround): Likewise.
27636 * stdlib/stdlib.h (struct drand48_data): Likewise.
27637 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27638 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27639 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27640 Likewise.
27641 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27642 Likewise.
27643 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27644 (elf_greg_t): Likewise.
27645 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27646 (__jmp_buf): Likewise.
27647 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27648 definitions.
27649 (llrint): Likewise, for all definitions.
27650 (llrintl): Likewise.
27651
fed0faa1
JM
27652 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27653 Remove [__GNUC__] condition.
27654 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27655 condition to just [__USE_ISOC99].
27656 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27657
1a20cb20
L
276582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27659
27660 [BZ #14200]
27661 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27662 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27663 defined.
27664 (_POSIX_V6_ILP32_OFF32): Likewise.
27665 (_XBS5_ILP32_OFF32): Likewise.
27666 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27667 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27668
751b85f7
SP
276692013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27670
7490eb81
SP
27671 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27672
751b85f7
SP
27673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27674 doubles __mpexp_twomm1. Adjust usage.
27675 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27676 Remove.
27677
988197f0
AS
276782013-01-10 Andreas Schwab <schwab@suse.de>
27679
27680 [BZ #14964]
27681 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27682 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27683
e83d7298
DM
276842013-01-09 David S. Miller <davem@davemloft.net>
27685
034ed64b 27686 [BZ #15003]
57f41c40
AS
27687 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27688 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27689 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27690 (TCP_FASTOPEN): Define.
e83d7298
DM
27691 (tcp_repair_opt): New structure.
27692 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27693 enum values.
57f41c40
AS
27694 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27695 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27696 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27697 (tcp_cookie_transactions): New structure.
27698
d5e0b9bd
AB
276992013-01-09 Anton Blanchard <anton@samba.org>
27700
27701 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27702 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27703 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27705
0c07e3ea
JM
277062013-01-09 Joseph Myers <joseph@codesourcery.com>
27707
27708 * include/features.h (__USE_ANSI): Remove.
27709
232f7002
RM
277102013-01-09 Roland McGrath <roland@hack.frob.com>
27711
ad98e30c
RM
27712 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27713
232f7002
RM
27714 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27715
950c99ca
SP
277162013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27717
b5792741
SP
27718 * sysdeps/s390/fpu/libm-test-ulps: Update.
27719
47cf2278
SP
27720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27721
950c99ca
SP
27722 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27723 (__acr): Likewise.
27724 (__cpy): Likewise.
27725 (norm): Likewise.
27726 (denorm): Likewise.
27727 (__mp_dbl): Likewise.
27728 (__dbl_mp): Likewise.
27729 (add_magnitudes): Likewise.
27730 (sub_magnitudes): Likewise.
27731 (__add): Likewise.
27732 (__sub): Likewise.
27733 (__mul): Likewise.
27734 (__inv): Likewise.
27735 (__dvd): Likewise.
27736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27737 (__acr): Likewise.
27738 (__cpy): Likewise.
27739 (norm): Likewise.
27740 (denorm): Likewise.
27741 (__mp_dbl): Likewise.
27742 (__dbl_mp): Likewise.
27743 (add_magnitudes): Likewise.
27744 (sub_magnitudes): Likewise.
27745 (__add): Likewise.
27746 (__sub): Likewise.
27747 (__mul): Likewise.
27748 (__inv): Likewise.
27749 (__dvd): Likewise.
27750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27751 (__acr): Likewise.
27752 (__cpy): Likewise.
27753 (norm): Likewise.
27754 (denorm): Likewise.
27755 (__mp_dbl): Likewise.
27756 (__dbl_mp): Likewise.
27757 (add_magnitudes): Likewise.
27758 (sub_magnitudes): Likewise.
27759 (__add): Likewise.
27760 (__sub): Likewise.
27761 (__mul): Likewise.
27762 (__inv): Likewise.
27763 (__dvd): Likewise.
27764
eede9df9
JM
277652013-01-08 Joseph Myers <joseph@codesourcery.com>
27766
27767 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27768 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27769 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27770 2 && __USE_EXTERN_INLINES]: Likewise.
27771
c40ea3d9
AJ
277722013-01-08 Andreas Jaeger <aj@suse.de>
27773
27774 [BZ# 14985]
27775 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27776 Remove.
27777 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27778 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27779
2ccdea26
AB
277802013-01-07 Anton Blanchard <anton@samba.org>
27781
27782 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27783 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27784 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27785 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27786 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27787 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27788 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27789 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27791 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27793 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27795 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27796 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27799 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27800 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27801 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27802 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27803 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27804 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27805 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27806 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27807 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27809 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27811 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27812 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27815 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27816 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27818 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27819 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27820 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27821 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27822 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27823 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27824 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27825
a9708fed
JM
278262013-01-07 Joseph Myers <joseph@codesourcery.com>
27827
375607b9
JM
27828 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27829 (__MALLOC_PMT): Likewise.
27830 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27831 [__GNUC__], only on [_LIBC].
27832 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27833 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27834 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27835 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27836 forward declaration.
27837 (realloc_hook_ini): Likewise.
27838 (memalign_hook_ini): Likewise.
27839 (__libc_memalign): Do not use __MALLOC_PMT in variable
27840 declaration.
27841 (__libc_valloc): Likewise.
27842 (__libc_pvalloc): Likewise.
27843 (__libc_calloc): Likewise.
27844 (__posix_memalign): Likewise.
27845
a9708fed
JM
27846 [BZ #14996]
27847 * math/s_casinh.c: Include <float.h>.
27848 (__casinh): Do not do computation with squaring and square root
27849 for large arguments.
27850 * math/s_casinhf.c: Include <float.h>.
27851 (__casinhf): Do not do computation with squaring and square root
27852 for large arguments.
27853 * math/s_casinhl.c: Include <float.h>.
27854 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27855 (__casinhl): Do not do computation with squaring and square root
27856 for large arguments.
27857 * math/libm-test.inc (casin_test): Add more tests.
27858 (casinh_test): Likewise.
27859 * sysdeps/i386/fpu/libm-test-ulps: Update.
27860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27861
afec409a
L
278622013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27863
27864 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27865 (__x86_64_raw_data_cache_size): Likewise.
27866 (__x86_64_data_cache_size_half): Likewise.
27867 (__x86_64_raw_data_cache_size_half): Likewise.
27868 (__x86_64_shared_cache_size): Likewise.
27869 (__x86_64_raw_shared_cache_size): Likewise.
27870 (__x86_64_shared_cache_size_half): Likewise.
27871 (__x86_64_raw_shared_cache_size_half): Likewise.
27872 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27873 to ...
27874 (__x86_data_cache_size): This.
27875 (__x86_64_raw_data_cache_size): Renamed to ...
27876 (__x86_raw_data_cache_size): This.
27877 (__x86_64_data_cache_size_half): Renamed to ...
27878 (__x86_data_cache_size_half): This.
27879 (__x86_64_raw_data_cache_size_half): Renamed to ...
27880 (__x86_raw_data_cache_size_half): This.
27881 (__x86_64_shared_cache_size): Renamed to ...
27882 (__x86_shared_cache_size): This.
27883 (__x86_64_raw_shared_cache_size): Renamed to ...
27884 (__x86_raw_shared_cache_size): This.
27885 (__x86_64_shared_cache_size_half): Renamed to ...
27886 (__x86_shared_cache_size_half): This.
27887 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27888 (__x86_raw_shared_cache_size_half): This.
27889 * sysdeps/x86_64/memcpy.S: Updated.
27890 * sysdeps/x86_64/memset.S: Likewise.
27891 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27892 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27893 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27894
0b3986d0
DM
278952013-01-04 David S. Miller <davem@davemloft.net>
27896
27897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27898
e47686e9
AS
278992013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27900
d643bac1
AS
27901 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27902 1 to avoid redefinition warning.
27903 (__USE_GNU): Don't define.
27904 (init_signaling_nan): Protoize.
27905
e47686e9
AS
27906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27907
b18decba
SP
279082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27909
fffb407f
SP
27910 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27912 (__cpymn): Likewise.
27913 (norm): Remove commented code.
27914 (denorm): Likewise.
27915 (__mp_dbl): Likewise.
27916 (__inv): Likewise.
27917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27918 (__cpymn): Likewise.
27919 (norm): Remove commented code.
27920 (denorm): Likewise.
27921 (__mp_dbl): Likewise.
27922 (__inv): Likewise.
27923
b18decba
SP
27924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27925 mp_no value for 1.0 and 2.0.
27926 (norm): Use RADIXI instead of radixi.d.
27927 (denorm): Likewise.
27928 (__mul): Use 0.0 instead of zero.d.
27929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27930 mp_no value for 1.0 and 2.0.
27931 (norm): Use RADIXI instead of radixi.d.
27932 (denorm): Likewise.
27933 (__mul): Use 0.0 instead of zero.d.
27934
cdc1c96f
JM
279352013-01-04 Joseph Myers <joseph@codesourcery.com>
27936
27937 [BZ #14994]
27938 * math/s_casinh.c (__casinh): Reduce finite argument to first
27939 quadrant then set signs of results at the end.
27940 * math/s_casinhf.c (__casinhf): Likewise.
27941 * math/s_casinhl.c (__casinhl): Likewise.
27942 * math/libm-test.inc (casin_test): Add more tests.
27943 (casinh_test): Likewise.
27944 * sysdeps/i386/fpu/libm-test-ulps: Update.
27945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27946
302913e1
SP
279472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27948
6420d207
SP
27949 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27950
a9e48ab4
SP
27951 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27952
b7837264
SP
27953 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27954 declarations.
27955 (denorm): Likewise.
27956 (__mp_dbl): Likewise.
27957 (__inv): Likewise.
27958
f8af25d2
SP
27959 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27960 and adjust the header comment.
27961
302913e1
SP
27962 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27963 variable name from declaration.
27964
5d7dd1ca
L
279652013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27966
27967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27968 Initialize COMMON_CPUID_INDEX_7 element.
27969 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27970 (CPUID_RTM): Likewise.
27971 (HAS_RTM): Likewise.
27972 (COMMON_CPUID_INDEX_7): New enum.
27973
2f5f40f4
AS
279742013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27975
27976 [BZ #14981]
27977 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27978 size is zero, record memory as freed.
27979
4056f4a0
AJ
279802013-01-03 Andreas Jaeger <aj@suse.de>
27981
27982 * po/ia.po: Add new Interlingua translation.
27983
ab15736f 279842012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27985
27986 * locale/programs/localedef.c: Fix description of '--posix' flag.
27987
568035b7
JM
279882013-01-02 Joseph Myers <joseph@codesourcery.com>
27989
e6898b8d
JM
27990 * NEWS: Update dates in second copyright notice.
27991 * README: Update copyright dates in example.
27992 * manual/libc.texinfo: Update copyright dates.
27993 * scripts/test-installation.pl: Update copyright date in --version
27994 output.
27995
0e2f9562
JM
27996 * hurd/ctty-input.c: Fix copyright notice formatting.
27997 * hurd/ctty-output.c: Likewise.
27998 * hurd/dtable.c: Likewise.
27999 * hurd/hurd-raise.c: Likewise.
28000 * hurd/hurdprio.c: Likewise.
28001 * hurd/msgportdemux.c: Likewise.
28002 * misc/sys/file.h: Likewise.
28003 * misc/sys/ioctl.h: Likewise.
28004 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28005 * sysdeps/mach/hurd/chdir.c: Likewise.
28006 * sysdeps/mach/hurd/fchdir.c: Likewise.
28007 * sysdeps/mach/hurd/rename.c: Likewise.
28008 * sysdeps/mach/hurd/rmdir.c: Likewise.
28009 * sysdeps/mach/hurd/seekdir.c: Likewise.
28010 * sysdeps/mach/hurd/setsid.c: Likewise.
28011 * sysdeps/posix/wait3.c: Likewise.
28012
568035b7
JM
28013 * All files with FSF copyright notices: Update copyright dates
28014 using scripts/update-copyrights.
28015 * intl/plural.c: Regenerated.
28016 * locale/programs/charmap-kw.h: Likewise.
28017 * locale/programs/locfile-kw.h: Likewise.
28018
da08f647
SP
280192013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28020
0f5477af
SP
28021 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28022 four values.
28023
44e0d4c2
SP
28024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28025 calculation loop and add branch prediction.
28026
4d55b4e5
SP
28027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28028 check access beyond bounds of m1np.
28029
da08f647
SP
28030 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28031 MPTWO.
28032 (__inv): Remove local variable MPTWO to use the global
28033 constant.
28034 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28035 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28036 variable MPTWO.
28037 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28038 MP3HALFS static const.
28039
8e051029
DM
280402013-01-01 David S. Miller <davem@davemloft.net>
28041
28042 * po/ca.po: Update from translation team.
28043
f4cf5f2d
JM
280442013-01-01 Joseph Myers <joseph@codesourcery.com>
28045
28046 * scripts/update-copyrights: New file.
28047 * Makeconfig: Reformat copyright notice.
28048 * ctype/ctype.h: Likewise.
28049 * debug/swprintf_chk.c: Likewise.
28050 * elf/dl-cache.c: Likewise.
28051 * elf/dl-debug.c: Likewise.
28052 * elf/dl-object.c: Likewise.
28053 * grp/initgroups.c: Likewise.
28054 * hurd/Makefile: Likewise.
28055 * hurd/hurd/signal.h: Likewise.
28056 * hurd/hurdfault.c: Likewise.
28057 * hurd/hurdioctl.c: Likewise.
28058 * hurd/hurdlookup.c: Likewise.
28059 * hurd/intr-msg.c: Likewise.
28060 * iconv/gconv_open.c: Likewise.
28061 * libio/swprintf.c: Likewise.
28062 * locale/lc-ctype.c: Likewise.
28063 * locale/nl_langinfo.c: Likewise.
28064 * mach/Machrules: Likewise.
28065 * mach/Makefile: Likewise.
28066 * malloc/obstack.h: Likewise.
28067 * manual/Makefile: Likewise.
28068 * manual/tsort.awk: Likewise.
28069 * misc/bits/stab.def: Likewise.
28070 * nis/nis_print_group_entry.c: Likewise.
28071 * nis/nis_table.c: Likewise.
28072 * nis/nss_compat/compat-pwd.c: Likewise.
28073 * nis/nss_compat/compat-spwd.c: Likewise.
28074 * po/Makefile: Likewise.
28075 * posix/fnmatch.c: Likewise.
28076 * posix/regex.h: Likewise.
28077 * resolv/Makefile: Likewise.
28078 * resolv/nss_dns/dns-network.c: Likewise.
28079 * resolv/res_hconf.c: Likewise.
28080 * scripts/gen-sorted.awk: Likewise.
28081 * soft-fp/soft-fp.h: Likewise.
28082 * stdio-common/printf.h: Likewise.
28083 * stdlib/monetary.h: Likewise.
28084 * stdlib/random.c: Likewise.
28085 * stdlib/random_r.c: Likewise.
28086 * sysdeps/generic/Makefile: Likewise.
28087 * sysdeps/gnu/Makefile: Likewise.
28088 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28095 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28098 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28099 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28100 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28101 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28102 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28111 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28112 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28113 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28116 * sysdeps/mach/hurd/errnos.awk: Likewise.
28117 * sysdeps/mach/hurd/fork.c: Likewise.
28118 * sysdeps/mach/hurd/getcwd.c: Likewise.
28119 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28120 * sysdeps/mach/hurd/mmap.c: Likewise.
28121 * sysdeps/mach/hurd/utimes.c: Likewise.
28122 * sysdeps/mach/hurd/xmknod.c: Likewise.
28123 * sysdeps/posix/profil.c: Likewise.
28124 * sysdeps/posix/readdir_r.c: Likewise.
28125 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28126 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28127 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28128 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28130 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28131 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28132 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28134 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28135 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28136 * sysdeps/pthread/lio_listio.c: Likewise.
28137 * sysdeps/sparc/dl-procinfo.h: Likewise.
28138 * sysdeps/unix/i386/sysdep.S: Likewise.
28139 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28140 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28141 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28142 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28144 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28145 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28146 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28147 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28148 * sysdeps/wordsize-32/divdi3.c: Likewise.
28149 * time/sys/time.h: Likewise.
28150 * wcsmbs/Makefile: Likewise.
28151
0549fbba
DM
281522013-01-01 David S. Miller <davem@davemloft.net>
28153
a141f1a7
DM
28154 * po/fr.po: Update from translation team.
28155
0549fbba
DM
28156 * catgets/gencat.c: Update copyright year.
28157 * csu/version.c: Likewise.
28158 * debug/catchsegv.sh: Likewise.
28159 * debug/pcprofiledump.c: Likewise.
28160 * debug/xtrace.sh: Likewise.
28161 * elf/ldconfig.c: Likewise.
28162 * elf/ldd.bash.in: Likewise.
28163 * elf/pldd.c: Likewise.
28164 * elf/sotruss.ksh: Likewise.
28165 * elf/sprof.c: Likewise.
28166 * iconv/iconv_prog.c: Likewise.
28167 * iconv/iconvconfig.c: Likewise.
28168 * locale/programs/locale.c: Likewise.
28169 * locale/programs/localedef.c: Likewise.
28170 * login/programs/pt_chown.c: Likewise.
28171 * malloc/memusage.sh: Likewise.
28172 * malloc/memusagestat.c: Likewise.
28173 * malloc/mtrace.pl: Likewise.
28174 * nscd/nscd.c: Likewise.
28175 * nss/getent.c: Likewise.
28176 * nss/makedb.c: Likewise.
28177 * posix/getconf.c: Likewise.
28178
18ea052c
SP
281792012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28180
28181 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28182 numbers.
28183
9c89fca6
MF
281842012-12-30 Mike Frysinger <vapier@gentoo.org>
28185
28186 * math/bits/mathcalls.h (modf): Use __nonnull.
28187
085ec079
SP
281882012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28189
28190 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28191 (split): Use macro CN instead of the bare value.
28192 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28193 could be used.
28194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28195 instead of the bare value.
28196 (power1): Likewise.
28197
6d9f97e1
SP
281982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28199
d63f73be
SP
28200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28201 __ATAN_TWOM.
28202 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28203
6d9f97e1
SP
28204 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28205 their values.
28206 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28208 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28209 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28210
4c4febf5
AJ
282112012-12-28 Andreas Jaeger <aj@suse.de>
28212
af5843ef
AJ
28213 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28214 values are from Linux 3.7.
28215
4c4febf5
AJ
28216 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28217 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28218
99136f82
SP
282192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28220
2f216c3c 28221 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28222 TRUE case.
28223
99136f82
SP
28224 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28225 (norm): Likewise.
28226 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28227 variables with preprocessor constants.
28228 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28229 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28230 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28231
7fffbdff
BH
282322012-12-27 Bruno Haible <bruno@clisp.org>
28233
28234 [BZ #14317]
28235 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28236 only if needed.
28237
b76eb5f0
SP
282382012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28239
31a7fe5c
SP
28240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28241 and use variable directly.
28242 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28243
b76eb5f0
SP
28244 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28245 MPONE.
28246 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28247 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28248 variable MPONE.
28249 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28251 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28252 include directive. Remove local variable MPONE.
28253 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28254 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28255 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28256
2c8bfe7d
DM
282572012-12-25 David S. Miller <davem@davemloft.net>
28258
28259 * version.h (RELEASE): Set to "development".
28260 (VERSION): Set to "2.17.90".
28261 * NEWS: Add 2.18 section.
28262
147d03b0
DM
282632012-12-21 David S. Miller <davem@davemloft.net>
28264
28265 * po/hr.po: Update from translation team.
28266
a8ebb2b9
AK
282672012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28268
28269 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28270
95b4f1b6
SE
282712012-12-19 Steve Ellcey <sellcey@mips.com>
28272
b2d94007 28273 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28274
cedb2a90
MS
282752012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28276
28277 * manual/contrib.texi (Contributors): Spelling correction.
28278
bbf527d6
DM
282792012-12-15 David S. Miller <davem@davemloft.net>
28280
28281 * po/ru.po: Update from translation team.
28282
bc38c906
DM
282832012-12-13 David S. Miller <davem@davemloft.net>
28284
85429b1a
DM
28285 * NEWS: Mention IFUNC testsuite enhancements.
28286
d283e353
DM
28287 * po/pl.po: Update from translation team.
28288 * po/bg.po: Likewise.
28289
bc38c906
DM
28290 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28291 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28292
a181b0d7
DM
282932012-12-11 David S. Miller <davem@davemloft.net>
28294
4641d57e
DM
28295 * po/sv.po: Update from translation team.
28296
f7bc6495
DM
28297 * po/vi.po: Update from translation team.
28298
6fc9048f
DM
28299 * po/cs.po: Update from translation team.
28300
a181b0d7
DM
28301 * po/de.po: Update from translation team.
28302 * po/eo.po: Likewise.
28303 * po/nl.po: Likewise.
28304
f70bfe80
SP
283052012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28306
3c8b4190
SP
28307 [BZ #14246]
28308 * manual/argp.texi (Argp Helper Functions): Move node to follow
28309 Argp Parsing State.
28310
f70bfe80
SP
28311 [BZ #14872]
28312 * manual/conf.texi (Limits on File System Capacity): Mention if
28313 terminating null is included in the max size.
28314
188f0adf
AJ
283152012-12-10 Andreas Jaeger <aj@suse.de>
28316
28317 * po/cs.po: Update from translation team.
28318
56e7d3ad
SP
283192012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28320
28321 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28322 void pointer and cast to uintptr_t.
28323 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28324 path.
28325 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28326 * sysdeps/s390/s390-64/memset.S: Likewise.
28327
76f2d2ea 283282012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28329
28330 [BZ #14833]
28331 * menual/message.texi (Message Translation): Fix typos.
28332 (Helper programs for gettext): Likewise.
28333
67cbf9a2
AS
283342012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28335
28336 [BZ #14898]
28337 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28338 Change to -1.
28339
682d0e9a
DM
283402012-12-07 David S. Miller <davem@davemloft.net>
28341
28342 * po/libc.pot: Update.
28343
573cd484
RH
283442012-12-07 Richard Henderson <rth@redhat.com>
28345
7e9da188 28346 [BZ #10114]
573cd484
RH
28347 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28348 normal/normal case to before the switch.
28349 (_FP_DIV): Likewise.
28350
e933a943
MF
283512012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28352 Mike Frysinger <vapier@gentoo.org>
28353
28354 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28355 check for __NR_fadvise64_64.
28356
82123268
CM
283572012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28358
28359 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28360 0, not just to plain "0" as a statement.
28361 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28362 with cw.
28363
d9814526
JM
283642012-12-06 Joseph Myers <joseph@codesourcery.com>
28365
28366 * NEWS: Use sourceware.org in Bugzilla URL.
28367
7728c574
SP
283682012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28369
f16946dd
SP
28370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28371 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28372
5704bbcb
SP
28373 * stdio-common/tst-put-error.c (do_test): Add newline to the
28374 padded test to ensure flush.
28375
17aa0516
JL
283762012-12-05 Jeff Law <law@redhat.com>
28377
28378 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28379
363313b5
JM
283802012-12-05 Joseph Myers <joseph@codesourcery.com>
28381
effbd42a
JM
28382 * README: Don't refer to ports add-on as distributed separately.
28383 Mention AArch64 in list of systems supported in the ports add-on.
28384
87600365
JM
28385 * LICENSES: Add more non-FSF copyright and license notices.
28386
a0d7066a
JM
28387 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28388 ((unused)).
28389
66ca5a5b
JM
28390 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28391
363313b5
JM
28392 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28393 10000 as width of padded output.
28394
b37984ad
JM
283952012-12-04 Joseph Myers <joseph@codesourcery.com>
28396
9003570a
JM
28397 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28398
b37984ad
JM
28399 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28400 variable LX with __attribute__ ((unused)).
28401 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28402 Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28405 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28406 with __attribute__ ((unused)).
28407
c8df52ec
DM
284082012-12-04 David S. Miller <davem@abraco.davemloft.net>
28409
28410 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28411
b3b099af
JM
284122012-12-04 Joseph Myers <joseph@codesourcery.com>
28413
c33aa6e3
JM
28414 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28415 (CFLAGS-nldbl-acos.c): New variable.
28416 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28417 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28418 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28419 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28420 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28421 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28422 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28423 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28424 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28425 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28426 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28427 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28428 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28429 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28430 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28431 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28432 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28433 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28434 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28435 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28436 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28437 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28438 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28439 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28440 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28441 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28442 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28443 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28444 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28445 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28446 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28447 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28448 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28449 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28450 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28451 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28452 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28453 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28454 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28455 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28456 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28457 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28458 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28459 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28460 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28461 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28462 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28463 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28464 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28465 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28466 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28467 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28468 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28469 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28470 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28471 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28472 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28473 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28474 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28475 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28476 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28477 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28478 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28479 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28480 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28481 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28482 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28483 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28484 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28485 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28486 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28487 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28488 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28489 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28490 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28491 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28492 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28493 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28494 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28495 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28496 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28497 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28498 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28499 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28500 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28501 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28502 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28503 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28504 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28505 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28506 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28507 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28508 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28509 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28510 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28511 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28512 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28513
20f0018d
JM
28514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28515 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28516
b3b099af
JM
28517 [BZ #14914]
28518 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28519 whole low double instead of just low 47 bits when splitting values
28520 into two parts.
28521
029264d1
AM
285222012-12-03 Allan McRae <allan@archlinux.org>
28523
28524 * manual/stdio.texi (Predefined Printf Handlers): Remove
28525 @hsep and @vsep usage.
28526
c9d6789e
MF
285272012-12-03 Mike Frysinger <vapier@gentoo.org>
28528
28529 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28530 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28531
4b7634a5
JL
285322012-12-03 Jeff Law <law@redhat.com>
28533
28534 * time/sys/time.h (settimeofday): Do not mark TV argument
28535 as __nonnull.
28536
eb6cbd24
MF
285372012-12-01 Mike Frysinger <vapier@gentoo.org>
28538
28539 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28540 when currently writing and seek to current position when not.
28541 * libio/Makefile (tests): Remove bug-fclose1.
28542 * libio/bug-fclose1.c: Delete.
28543
f638872a
JM
285442012-12-01 Joseph Myers <joseph@codesourcery.com>
28545
28546 * manual/arith.texi (feenableexcept): Fix typo.
28547 (fedisableexcept): Likewise.
28548
48085d14
RM
285492012-11-30 Roland McGrath <roland@hack.frob.com>
28550
28551 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28552 second, differently-typed declaration, rather than a cast.
28553
1a538b9f
SP
285542012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28555
28556 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28557 * include/rpc/svc.h: ... here.
28558
d07f2ff1 285592012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28560
28561 [BZ #13013]
28562 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28563 depending n and resplen2 to catch cases where answer
28564 equals answerp2.
28565
c93ec1f0
CD
285662012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28567
28568 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28569 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28570
37db69de
MF
285712012-11-29 Mike Frysinger <vapier@gentoo.org>
28572
28573 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28574
e10c4e4f
RM
285752012-11-29 Roland McGrath <roland@hack.frob.com>
28576
28577 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28578
2af1b328
JL
285792012-11-28 Jeff Law <law@redhat.com>
28580
28581 [BZ #13761]
28582 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28583 dataset_temporary. Track alloca usage into alloca_used.
28584 If dataset is large allocate and release it via malloc/free.
28585
111db5b1
FW
285862012-06-04 Florian Weimer <fweimer@redhat.com>
28587
f06cc227 28588 [BZ #14197]
111db5b1
FW
28589 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28590
dd694abd
DM
285912012-11-28 David S. Miller <davem@davemloft.net>
28592
28593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28594
9984dd01
JM
285952012-11-28 Joseph Myers <joseph@codesourcery.com>
28596
28597 [BZ #14803]
28598 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28599 of pi/2 rounded to nearest to 64 bits.
28600 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28601 nearest to 64 bits.
28602 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28603 bits.
28604
14bc93a9
JL
286052012-11-28 Jeff Law <law@redhat.com>
28606 Martin Osvald <mosvald@redhat.com>
28607
28608 [BZ #14889]
28609 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28610 * sunrpc/svc.c: Include time.h.
28611 (__svc_accept_failed): New function.
28612 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28613 any reason other than EINTR, call __svc_accept_failed.
28614 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28615 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28616
e3c6aa3a
AS
286172012-11-28 Andreas Schwab <schwab@suse.de>
28618
28619 * scripts/abilist.awk: Also handle indirect functions in .opd
28620 section.
28621
1bead169
JM
286222012-11-28 Joseph Myers <joseph@codesourcery.com>
28623
28624 [BZ #13881]
28625 * sysdeps/x86/fpu/powl_helper.c: New file.
28626 * sysdeps/x86/fpu/Makefile: Likewise.
28627 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28628 (p3): New object.
28629 (__ieee754_powl): Use __powl_helper for finite arguments except
28630 integer exponents below 8.
28631 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28632 (p3): New object.
28633 (__ieee754_powl): Use __powl_helper for finite arguments except
28634 integer exponents below 8.
28635 * math/libm-test.inc (pow_test): Add more tests and enable some
28636 previously disabled tests.
28637 * sysdeps/i386/fpu/libm-test-ulps: Update.
28638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28639
0817d63d
SP
286402012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28641 Carlos O'Donell <carlos_odonell@mentor.com>
28642
28643 * nss/makedb.c (is_prime): Assert that input is odd and greater
28644 than 4. Note that fact in a comment too.
28645 (next_prime): Add 4 to input.
28646
de2fd463
SP
286472012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28648
28649 [BZ #11741]
28650 * libio/Makefile (tests): Add test case tst-fwrite-error.
28651 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28652 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28653 * libio/tst-fwrite-error.c: New test case.
28654
c515fb51
L
286552012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28656
28657 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28658 before casting to void *.
28659 * include/libc-internal.h (__pointer_type): New macro.
28660 (__integer_if_pointer_type_sub): Likewise.
28661 (__integer_if_pointer_type): Likewise.
28662 (cast_to_integer): Likewise.
28663 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28664 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28665 before casting to atomic64_t.
28666 (atomic_exchange_acq): Likewise.
28667 (__arch_exchange_and_add_body): Likewise.
28668 (__arch_add_body): Likewise.
28669 (atomic_add_negative): Likewise.
28670 (atomic_add_zero): Likewise.
28671
4cf77aa9
JM
286722012-11-26 Joseph Myers <joseph@codesourcery.com>
28673
28674 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28675 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28676 (add_fdes): Likewise.
28677 (linear_search_fdes): Likewise.
28678 (binary_search_unencoded_fdes): Likewise.
28679
d260b3b4
AS
286802012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28681
28682 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28683
67060746
AC
286842012-11-24 Adam Conrad <adconrad@0c3.net>
28685
28686 * configure.in: Autodetect C++ header directories.
28687 * configure: Regenerated.
28688
800938a1
MF
286892012-11-23 Mike Frysinger <vapier@gentoo.org>
28690
28691 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28692
4e6e34e6
AS
286932012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28694
28695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28696
7c7feb47
JM
286972012-11-22 Joseph Myers <joseph@codesourcery.com>
28698
7184dcdf
JM
28699 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28700 LDBL_MANT_DIG == 106]: Disable some tests.
28701 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28702 Likewise.
28703 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28704 Likewise.
28705
0a42601f
JM
28706 [BZ #14871]
28707 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28708 input for small inputs. Return +/- pi/2 for large inputs.
28709 * math/libm-test.inc (atan_test): Add more tests.
28710
79c9b9fe
JM
28711 * sysdeps/generic/unwind-dw2-fde-glibc.c
28712 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28713 __attribute__ ((unused)).
28714
c60d3bf2
JM
28715 [BZ #14645]
28716 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28717 x * y if x and y are nonzero and z is zero.
28718
ef1e0867
JM
28719 [BZ #14811]
28720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28721 nonzero exponents with absolute value below 0x1p-117 to +/-
28722 0x1p-117.
28723
1468ded3
JM
28724 [BZ #14869]
28725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28726 up arguments below 2**-450, not just those below 2**-500.
28727 * math/libm-test.inc (hypot_test): Add another test.
28728
8e27e3cc
JM
28729 [BZ #14868]
28730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28731 Return a+b for ratio over 2**120, not 2**60.
28732 * math/libm-test.inc (hypot_test): Add another test.
28733
c9c0279b
JM
28734 * math/libm-test.inc (clog_test): Use
28735 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28736 (clog10_test): Likewise.
28737
7c7feb47
JM
28738 [BZ #6778]
28739 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28740
fff1530e
AS
287412012-11-22 Andreas Schwab <schwab@suse.de>
28742
28743 * sysdeps/i386/fpu/libm-test-ulps: Update.
28744
94558d30
PT
287452012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28746
28747 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28748 printf output with newline.
28749
7e1be741
L
287502012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28751
6bfea974
L
28752 [BZ #14865]
28753 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28754 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28755 -z nodlopen, -z initfirst and -z execstack support.
28756 * configure: Regenerated.
28757
7e1be741
L
28758 * elf/elf.h (DF_1_NODIRECT): New macro.
28759 (DF_1_IGNMULDEF): Likewise.
28760 (DF_1_NOKSYMS): Likewise.
28761 (DF_1_NOHDR): Likewise.
28762 (DF_1_EDITED): Likewise.
28763 (DF_1_NORELOC): Likewise.
28764 (DF_1_SYMINTPOSE): Likewise.
28765 (DF_1_GLOBAUDIT): Likewise.
28766 (DF_1_SINGLETON): Likewise.
28767 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28768 DT_1_SUPPORTED_MASK bits.
28769 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28770
105ce2ce
CD
287712012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28772
28773 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28774
123be9de
TS
287752012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28776
d072f3f7
TS
28777 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28778 macro.
28779
123be9de
TS
28780 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28781 (sendmmsg): Move declarations...
28782 * socket/sys/socket.h: ... here.
28783 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28784 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28785 include it from...
28786 * socket/recvmmsg.c: ... this new file.
28787 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28788 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28789 definition of __sendmmsg hidden.
28790 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28791 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28792 Move ENOSYS stub into and include it from...
28793 * socket/sendmmsg.c: ... this new file.
28794 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28795 (sysdep_routines): Move recvmmsg and sendmmsg...
28796 * socket/Makefile (routines): ... here.
28797 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28798 (GLIBC_PRIVATE): Add __sendmmsg.
28799 * include/sys/socket.h (__sendmmsg): Add declarations.
28800 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28801 sendmmsg.
28802
cf9a5d18
JM
288032012-11-20 Joseph Myers <joseph@codesourcery.com>
28804
28805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28806 variable I1 with __attribute__ ((unused)).
28807 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28808
ecd4caf9
JM
288092012-11-19 Joseph Myers <joseph@codesourcery.com>
28810
be14d48f
JM
28811 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28812 DUMMY variables with __attribute__ ((unused)).
28813
ecd4caf9
JM
28814 * bits/byteswap.h: Include <bits/types.h>.
28815 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28816
986cab95
PT
288172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28818
28819 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28820 string_t. Do not manually set errno.
28821 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28822 length with __strnlen. Make sure to both set errno and return it on
28823 failure.
28824
6d33cc9d
DM
288252012-11-19 David S. Miller <davem@davemloft.net>
28826
28827 With help from Joseph Myers.
28828 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28829 very large arguments properly.
28830 * math/libm-test.inc (atan_test): New tests.
28831 (atan2_test): New tests.
28832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28834
ee663277
JM
288352012-11-19 Joseph Myers <joseph@codesourcery.com>
28836
877f2d8e
JM
28837 [BZ #14856]
28838 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28839 Define to 3.
28840
116fc08a
JM
28841 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28842 [POSIX] (EADDRNOTAVAIL): Likewise.
28843 [POSIX] (EAFNOSUPPORT): Likewise.
28844 [POSIX] (EALREADY): Likewise.
28845 [POSIX] (ECONNABORTED): Likewise.
28846 [POSIX] (ECONNREFUSED): Likewise.
28847 [POSIX] (ECONNRESET): Likewise.
28848 [POSIX] (EDESTADDRREQ): Likewise.
28849 [POSIX] (EDQUOT): Likewise.
28850 [POSIX] (EHOSTUNREACH): Likewise.
28851 [POSIX] (EIDRM): Likewise.
28852 [POSIX] (EISCONN): Likewise.
28853 [POSIX] (ELOOP): Likewise.
28854 [POSIX] (EMULTIHOP): Likewise.
28855 [POSIX] (ENETDOWN): Likewise.
28856 [POSIX] (ENETUNREACH): Likewise.
28857 [POSIX] (ENOBUFS): Likewise.
28858 [POSIX] (ENODATA): Likewise.
28859 [POSIX] (ENOLINK): Likewise.
28860 [POSIX] (ENOMSG): Likewise.
28861 [POSIX] (ENOPROTOOPT): Likewise.
28862 [POSIX] (ENOSR): Likewise.
28863 [POSIX] (ENOSTR): Likewise.
28864 [POSIX] (ENOTCONN): Likewise.
28865 [POSIX] (ENOTSOCK): Likewise.
28866 [POSIX] (EOPNOTSUPP): Likewise.
28867 [POSIX] (EOVERFLOW): Likewise.
28868 [POSIX] (EPROTO): Likewise.
28869 [POSIX] (EPROTONOSUPPORT): Likewise.
28870 [POSIX] (EPROTOTYPE): Likewise.
28871 [POSIX] (ESTALE): Likewise.
28872 [POSIX] (ETIME): Likewise.
28873 [POSIX] (ETXTBSY): Likewise.
28874 [POSIX] (EWOULDBLOCK): Likewise.
28875 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28876 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28877 [POSIX] (SEEK_CUR): Likewise.
28878 [POSIX] (SEEK_END): Likewise.
28879 [POSIX || UNIX98] (mode_t): Do not require.
28880 [POSIX] (off_t): Likewise.
28881 [POSIX] (pid_t): Likewise.
28882 [POSIX] (sys/stat.h): Do not allow header.
28883 [POSIX] (unistd.h): Likewise.
28884 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28885 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28886 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28887 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28888 require.
28889 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28890 sigevent): Specify elements.
28891 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28892 entry.
28893 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28894 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28895
a483863f
JM
28896 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28897 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28898 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28899 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28900 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28901 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28902 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28903 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28904 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28905 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28906 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28907 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28908 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28910 Likewise.
28911 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28912 Likewise.
28913 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28914 Likewise.
28915 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28916 Likewise.
28917 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28918 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28919 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28920 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28921 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28922 Specify lower bound on value.
28923 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28924 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28925 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28926 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28927 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28928 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28929 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28930 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28931 value.
28932 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28933 as optional.
28934 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28935 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28936 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28937 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28938 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28939 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28940 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28941 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28942 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28943 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28944 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28945 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28946 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28947 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28948 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28949 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28950 entry.
28951 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28952 optional.
28953 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28954 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28955 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28956 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28957 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28958 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28959 Likewise.
28960 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28961 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28962 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28963 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28964 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28965 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28967 as optional.
28968 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28969 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28970 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28971 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28972 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28973 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28974 specify as optional.
28975 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28976 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28977 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28978 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28979 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28980 [XPG3] (NL_LANGMAX): Likewise.
28981 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28982 [POSIX || XPG3] (NL_NMAX): Likewise.
28983 [POSIX || XPG3] (NL_SETMAX): Likewise.
28984 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28985 [XPG3] (NZERO): Likewise.
28986 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28987 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28988 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28989 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28990 (REG_ERANGE): Expect.
28991 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28992 optional-constant.
28993 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28994 Use (void) in prototype.
28995 [POSIX] (*_t): Allow.
28996 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28997 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28998 (WRDE_BADVAL): Expect.
28999
5ba924e3
JM
29000 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29001 expect.
29002 [XPG3 || XPG4] (O_RSYNC): Likewise.
29003 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29004 Likewise.
29005 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29006 [XPG3 || XPG4] (sigqueue): Likewise.
29007 [XPG3 || XPG4] (sigtimedwait): Likewise.
29008 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29009 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29010 [XPG3 || XPG4] (vsnprintf): Likewise.
29011 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29012 Likewise.
29013 [XPG3 || XPG4] (blksize_t): Likewise.
29014 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29015 Likewise.
29016 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29017 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29018 [XPG3 || XPG4] (struct itimerspec): Likewise.
29019 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29020 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29021 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29022 [XPG3 || XPG4] (clockid_t): Likewise.
29023 [XPG3 || XPG4] (timer_t): Likewise.
29024 [XPG3 || XPG4] (clock_getres): Likewise.
29025 [XPG3 || XPG4] (clock_gettime): Likewise.
29026 [XPG3 || XPG4] (clock_settime): Likewise.
29027 [XPG3 || XPG4] (nanosleep): Likewise.
29028 [XPG3 || XPG4] (timer_create): Likewise.
29029 [XPG3 || XPG4] (timer_delete): Likewise.
29030 [XPG3 || XPG4] (timer_gettime): Likewise.
29031 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29032 [XPG3 || XPG4] (timer_settime): Likewise.
29033 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29034 [XPG3 || XPG4] (getlogin_r): Likewise.
29035 [XPG3 || XPG4] (pread): Likewise.
29036 [XPG3 || XPG4] (pthread_atfork): Likewise.
29037 [XPG3 || XPG4] (pwrite): Likewise.
29038
ee663277
JM
29039 [BZ #14835]
29040 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29041 <bits/siginfo.h>.
29042
942caa16
PT
290432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29044
e19af380
PT
29045 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29046 finalizing MALLSTREAM.
29047
942caa16
PT
29048 * sysdeps/mach/hurd/syncfs.c: New file.
29049
cfde9b46
SP
290502012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29051
29052 [BZ #14719]
29053 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29054 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29055 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29056 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29057 (_nss_dns_gethostbyname4_r): Likewise.
29058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29059 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29060
f6da27e5
PH
290612012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29062
29063 [BZ #13763]
29064 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29065
6665d4a2
SM
290662012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29067
1f51ee92
SM
29068 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29069 * elf/cache.c (print_entry): Print ",AArch64" for
29070 FLAG_AARCH64_LIB64
29071
6665d4a2
SM
29072 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29073 * elf/cache.c (print_entry): Print ",hard-float" for
29074 FLAG_ARM_LIBHF.
29075
05b227bd
DM
290762012-11-18 David S. Miller <davem@davemloft.net>
29077
29078 With help from Joseph Myers.
29079 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29080 cutoff to 2**-13.
29081 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29082 cutoff to 2**-25.
29083 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29084 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29085 small.
29086 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29087 * math/libm-test.inc (y0_test): New tests.
29088 (y1_test): New tests.
29089 * sysdeps/i386/fpu/libm-test-ulps: Update.
29090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29092
786b0b67
AS
290932012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29094
29095 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29096 64-bit targets.
29097 * configure: Regenerated.
29098
8e18b86d
DM
290992012-11-17 David S. Miller <davem@davemloft.net>
29100
29101 [BZ #14811]
29102 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29103 nonzero exponents with absolute value below 0x1p-128 to +/-
29104 0x1p-128.
29105
531f1ae0
JM
291062012-11-17 Joseph Myers <joseph@codesourcery.com>
29107
12df29e2
JM
29108 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29109
150dc1a0
JM
29110 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29111
531f1ae0
JM
29112 * posix/getconf-speclist.c: New file.
29113 * posix/posix-envs.def: Likewise.
29114 * posix/confstr.c (START_ENV_GROUP): New macro.
29115 (END_ENV_GROUP): Likewise.
29116 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29117 (KNOWN_PRESENT_ENV_STRING): Likewise.
29118 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29119 (UNKNOWN_ENVIRONMENT): Likewise.
29120 (confstr): Include posix-envs.def instead of handling
29121 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29122 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29123 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29124 (END_ENV_GROUP): Likewise.
29125 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29126 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29127 (UNKNOWN_ENVIRONMENT): Likewise.
29128 (__sysconf): Include posix-envs.def instead of handling associated
29129 cases directly here.
29130 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29131 preprocessing getconf-speclist.c rather than running getconf or
29132 generating empty file.
29133
a93f9cbc
PT
291342012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29135
29136 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29137
d64d9f87
AL
291382012-11-16 Andrej Lajovic <natrij@gmail.com>
29139
29140 [BZ #14672]
29141 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29142
447885eb
DM
291432012-11-16 David S. Miller <davem@davemloft.net>
29144
29145 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29146 smaller than LDBL_EPSILON/2.0L, just return xm1.
29147
bcbf9830
L
291482012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29149
29150 * elf/tst-array1.c (init): Set constructor priority to 1000.
29151 (fini): Set destructor priority to 1000.
29152 * elf/tst-array2dep.c: Likewise.
29153
2b766585
SP
291542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29155
29156 [BZ #11741]
29157 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29158 (_IO_new_file_xsputn): Also return EOF if none of the input
29159 data was written when overflow failed.
29160 * libio/iopadn.c (_IO_padn): Likewise.
29161 * libio/iowpadn.c (_IO_wpadn): Likewise.
29162 * stdio-common/tst-put-error.c: Add copyright notice.
29163 (do_test): Add case for printing padded string.
29164 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29165 _IO_padn returned error.
29166 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29167 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29168 return EOF.
29169
b1848fde
SP
291702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29171
29172 * libio/libioP.h: Add comment note that the references to C++
29173 bits are now obsolete.
29174
2fd89785
MS
291752012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29176
29177 * math/libm-test.inc (check_complex): Use asprintf.
29178
e3ea5409
JM
291792012-11-14 Joseph Myers <joseph@codesourcery.com>
29180
29181 * debug/pcprofiledump.c (print_version): Update copyright year.
29182 * malloc/memusagestat.c (print_version): Likewise.
29183
2e64d265
L
291842012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29185
29186 [BZ #14831]
29187 * elf/Makefile (tests): Add tst-audit8.
29188 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29189 ($(objpfx)tst-audit8.out): New target.
29190 (tst-audit8-ENV): New variable.
29191 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29192 audit if l_reloc_result is NULL.
29193 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29194 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29195 * elf/tst-audit8.c: New file.
29196
c485e4d2
MS
291972012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29198
29199 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29200 * misc/Makefile (CFLAGS-select.c): Define.
29201 * posix/Makefile (CFLAGS-pause.c): Define.
29202
3a0d900a
DM
292032012-11-13 David S. Miller <davem@davemloft.net>
29204
29205 * crypt/Makefile: Move test targets after toplevel Rules
29206 inclusion. Grab any necessary sysdep routines when linking.
29207 * crypt/md5.c (md5_process_block): Remove define, we will always
29208 name it __md5_process_block.
29209 (md5_finish_ctx): Update md5_process_block call.
29210 (md5_stream): Likewise.
29211 (md5_process_bytes): Likewise.
29212 (md5_process_block): Rename to __md5_process_block and move to ...
29213 * crypt/md5-block.c: ... here.
29214 * crypt/sha256.c (sha256_process_block): Move to ...
29215 * crypt/sha256-block.c: ... here.
29216 * crypt/sha512.c (sha512_process_block): Move to ...
29217 * crypt/sha512-block.c: ... here.
29218 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29219 path.
29220 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29221 * sysdeps/sparc/sparc64/multiarch/Makefile
29222 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29223 crypt subdir.
29224 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29225 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29226 multiarch changes.
29227 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29228 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29229 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29230 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29231 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29232 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29233 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29234 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29236 file.
29237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29238 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29239 file.
29240 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29241
8ca89318
JM
292422012-11-13 Joseph Myers <joseph@codesourcery.com>
29243
e27d476a
JM
29244 * timezone/tzselect.ksh: Update from tzcode git revision
29245 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29246 * timezone/zdump.c: Likewise.
29247 * timezone/zic.c: Likewise.
29248 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29249 in TZVERSION setting, not $(PKGVERSION).
29250 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29251 REPORT_BUGS_TO settings.
29252
8ca89318
JM
29253 [BZ #14838]
29254 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29255 macro.
29256
47594329
MS
292572012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29258
29259 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29260 detection to immediately after _FP_ROUND().
29261 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29262 bits are 0.
29263
640ac3f1
DM
292642012-11-11 David S. Miller <davem@davemloft.net>
29265
29266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29267 inttypes.h
29268 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29269 __close rather than their public counterparts.
29270
3d2577bb
JM
292712012-11-10 Joseph Myers <joseph@codesourcery.com>
29272
29273 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29274 file.
29275 [UNIX98] (sem_timedwait): Do not expect.
29276 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29277 [XPG4 || UNIX98] (sockatmark): Do not expect.
29278 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29279 (clock_getcpuclockid): Do not expect.
29280 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29281 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29282 Do not expect.
29283 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29284 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29285 [UNIX98] (vwscanf): Likewise.
29286 [UNIX98] (vswscanf): Likewise.
29287
fb1ae1ee
JM
292882012-11-09 Joseph Myers <joseph@codesourcery.com>
29289
9ec6f8bd
JM
29290 * timezone/version.h: Remove file.
29291 * timezone/README: Do not refer to version.h.
29292 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29293 $(objpfx)version.h.
29294 ($(objpfx)zdump.o): Likewise.
c3f81911 29295 ($(objpfx)version.h): New target.
9ec6f8bd 29296
0aa8f8a1
JM
29297 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29298 2012i.
29299 * timezone/README: Don't mention modification to tzselect.ksh.
29300 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29301 work on unmodified tzselect.ksh. Substitute version numbers in
29302 tzselect.ksh.
29303
4e87147f
JM
29304 * Makefile (format-me): Remove.
29305 (INSTALL): Adjust indentation. Use commands directly instead of
29306 using $(format-me).
29307
8b748aed
JM
29308 * aclocal.m4 (ACX_PKGVERSION): New macro.
29309 (ACX_BUGURL): Likewise.
29310 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29311 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29312 (REPORT_BUGS_TO): Likewise.
29313 * configure: Regenerated.
29314 * config.h.in (PKGVERSION): New macro.
29315 (REPORT_BUGS_TO): Likewise.
29316 * config.make.in (PKGVERSION): New variable.
29317 (PKGVERSION_TEXI): Likewise.
29318 (REPORT_BUGS_TO): Likewise.
29319 (REPORT_BUGS_TEXI): Likewise.
29320 * Makefile (format-me): Use -I$(common-objpfx)manual.
29321 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29322 ($(common-objpfx)manual/%): New target.
29323 (manual/%): Remove target.
29324 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29325 (print_version): Use PKGVERSION.
29326 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29327 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29328 and REPORT_BUGS_TO.
29329 ($(objpfx)xtrace): Likewise.
29330 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29331 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29332 (print_version): Use PKGVERSION.
29333 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29334 (do_version): Use PKGVERSION.
29335 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29336 REPORT_BUGS_TO.
29337 (common-ldd-rewrite): Likewise.
29338 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29339 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29340 (print_version): Use PKGVERSION.
29341 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29342 * elf/pldd.c (argp_program_bug_address): Remove variable.
29343 (more_help): New function.
29344 (argp): Use more_help.
29345 (print_version): Use PKGVERSION.
29346 * elf/sln.c (main): Use PKGVERSION.
29347 (usage): Use REPORT_BUGS_TO.
29348 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29349 (top level): Use PKGVERSION.
29350 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29351 (print_version): Use PKGVERSION.
29352 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29353 (print_version): Use PKGVERSION.
29354 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29355 (print_version): Use PKGVERSION.
29356 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29357 (print_version): Use PKGVERSION.
29358 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29359 (print_version): Use PKGVERSION.
29360 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29361 (print_version): Use PKGVERSION.
29362 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29363 and BUGURL.
29364 ($(objpfx)memusage): Likewise.
29365 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29366 (do_version): Use PKGVERSION.
29367 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29368 (print_version): Use PKGVERSION.
29369 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29370 ($PKGVERSION): New variable.
29371 ($REPORT_BUGS_TO): Likewise.
29372 (usage): Use $REPORT_BUGS_TO.
29373 (top level): Use $PKGVERSION.
29374 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29375 ($(objpfx)pkgvers.texi): New rule.
29376 ($(objpfx)stamp-pkgvers): Likewise.
29377 * manual/install.texi: Include pkgvers.texi.
29378 (--with-pkgversion): Document new configure option.
29379 (--with-bugurl): Likewise.
29380 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29381 than necessarily for this particular distribution. Use
29382 REPORT_BUGS_TO for where to report bugs.
29383 * INSTALL: Regenerated.
29384 * manual/libc.texinfo: Include pkgvers.texi.
29385 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29386 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29387 (print_version): Use PKGVERSION.
29388 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29389 (print_version): Use PKGVERSION.
29390 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29391 (print_version): Use PKGVERSION.
29392 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29393 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29394 macro.
29395 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29396 (print_version): Use PKGVERSION.
29397 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29398 (print_version): Use PKGVERSION.
29399 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29400 and PKGVERSION.
29401
92e4b6a9
JM
29402 * timezone/checktab.awk: Update from tzcode 2012i.
29403 * timezone/ialloc.c: Likewise.
29404 * timezone/private.h: Likewise.
29405 * timezone/scheck.c: Likewise.
29406 * timezone/tzfile.h: Likewise.
29407 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29408 (TZVERSION): Hardcode tzcode version number.
29409 * timezone/zdump.c: Update from tzcode 2012i.
29410 * timezone/zic.c: Likewise.
29411 * timezone/version.h: New file.
29412 * timezone/README: Describe version.h. Update upstream location.
29413
9bde902c
JM
29414 [BZ #14824]
29415 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29416 (mktemp): Enable declaration.
29417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29421 Likewise.
29422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29423 Likewise.
29424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29425 Likewise.
29426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29427 Likewise.
29428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29429 Likewise.
29430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29431 Likewise.
29432
fb1ae1ee
JM
29433 [BZ #14821]
29434 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29435 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29436 for copies of such integer values.
29437 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29438 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29439
2c1adbcb
AJ
294402012-11-09 Andreas Jaeger <aj@suse.de>
29441
29442 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29443 definitions and declarations that are provided by
29444 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29445
d0f8457e
AK
294462012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29447
3a235abb 29448 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29449 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29450 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29451 definition.
29452
57241e26
MS
294532012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29454
29455 * elf/elf.h: Update comment before AArch64 relocations.
29456
60e8270d
DM
294572012-11-07 David S. Miller <davem@davemloft.net>
29458
29459 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29460 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29461 (__start_context): Declare.
29462 (__makecontext_ret): Delete.
29463 (__makecontext): Hook up __start_context instead of
29464 __makecontext_ret.
29465 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29466 (sysdep_routines): Add __start_context when in stdlib.
29467
0fbb0fbc
JM
294682012-11-07 Joseph Myers <joseph@codesourcery.com>
29469
29470 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29471 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29472 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29473 hardcoded "nm".
29474 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29475 (READELF): New variable. Use it instead of hardcoded "readelf".
29476
eb48db7e
L
294772012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29478
29479 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29480 * sysdeps/x86/Makefile: Here.
29481 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29482 * sysdeps/x86/tst-xmmymm.sh: This.
29483
05bcf62a
JM
294842012-11-07 Joseph Myers <joseph@codesourcery.com>
29485
c4b6cf53
JM
29486 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29487 expectations.
29488 [UNIX98] (pthread_barrier_t): Do not expect.
29489 [UNIX98] (pthread_barrierattr_t): Likewise.
29490 [UNIX98] (pthread_spinlock_t): Likewise.
29491 [UNIX98] (pthread_barrier_destroy): Likewise.
29492 [UNIX98] (pthread_barrier_init): Likewise.
29493 [UNIX98] (pthread_barrier_wait): Likewise.
29494 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29495 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29496 [UNIX98] (pthread_barrierattr_init): Likewise.
29497 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29498 [UNIX98] (pthread_getcpuclockid): Likewise.
29499 [UNIX98] (pthread_mutex_timedlock): Likewise.
29500 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29501 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29502 [UNIX98] (pthread_sigmask): Likewise.
29503 [UNIX98] (pthread_spin_destroy): Likewise.
29504 [UNIX98] (pthread_spin_init): Likewise.
29505 [UNIX98] (pthread_spin_lock): Likewise.
29506 [UNIX98] (pthread_spin_trylock): Likewise.
29507 [UNIX98] (pthread_spin_unlock): Likewise.
29508 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29509 Do not expect.
29510 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29511 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29512 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29513 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29514 [XPG3 || XPG4] (pthread_key_t): Likewise.
29515 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29516 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29517 [XPG3 || XPG4] (pthread_once_t): Likewise.
29518 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29519 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29520 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29521 [XPG3 || XPG4] (pthread_t): Likewise.
29522
cbe6e120
JM
29523 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29524 not expect.
29525 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29526
1b126443
JM
29527 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29528 Change function return type to int.
29529
b961a573
JM
29530 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29531 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29532 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29533 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29534 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29535 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29536 [!POSIX] (posix_madvise): Likewise.
29537 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29538 && !UNIX98].
29539 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29540 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29541 (mode_t): Likewise.
29542 (posix_mem_offset): Likewise.
29543 (posix_typed_mem_get_info): Likewise.
29544 (posix_typed_mem_open): Likewise.
29545
9e188909
JM
29546 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29547 Change condition to [XOPEN2K8].
29548
05bcf62a
JM
29549 * conform/conformtest.pl: Preprocess allow-header data with -x c
29550 instead of from stdin.
29551 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29552 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29553 [C99-based standards] (cerfc): Likewise.
29554 [C99-based standards] (cexp2): Likewise.
29555 [C99-based standards] (cexpm1): Likewise.
29556 [C99-based standards] (clog10): Likewise.
29557 [C99-based standards] (clog1p): Likewise.
29558 [C99-based standards] (clog2): Likewise.
29559 [C99-based standards] (clgamma): Likewise.
29560 [C99-based standards] (ctgamma): Likewise.
29561 [C99-based standards] (cerff): Likewise.
29562 [C99-based standards] (cerfcf): Likewise.
29563 [C99-based standards] (cexp2f): Likewise.
29564 [C99-based standards] (cexpm1f): Likewise.
29565 [C99-based standards] (clog10f): Likewise.
29566 [C99-based standards] (clog1pf): Likewise.
29567 [C99-based standards] (clog2f): Likewise.
29568 [C99-based standards] (clgammaf): Likewise.
29569 [C99-based standards] (ctgammaf): Likewise.
29570 [C99-based standards] (cerfl): Likewise.
29571 [C99-based standards] (cerfcl): Likewise.
29572 [C99-based standards] (cexp2l): Likewise.
29573 [C99-based standards] (cexpm1l): Likewise.
29574 [C99-based standards] (clog10l): Likewise.
29575 [C99-based standards] (clog1pl): Likewise.
29576 [C99-based standards] (clog2l): Likewise.
29577 [C99-based standards] (clgammal): Likewise.
29578 [C99-based standards] (ctgammal): Likewise.
29579 * conform/data/inttypes.h-data [C99-based standards]: Include
29580 stdint.h-data. Remove all expectations for stdint.h contents.
29581 [C99-based standards] (PRI*): Do not allow.
29582 [C99-based standards] (SCN*): Likewise.
29583 [C99-based standards] (*_t): Likewise.
29584 [C99-based-standards] (PRId8): Expect macro.
29585 [C99-based-standards] (PRIi8): Likewise.
29586 [C99-based-standards] (PRIo8): Likewise.
29587 [C99-based-standards] (PRIu8): Likewise.
29588 [C99-based-standards] (PRIx8): Likewise.
29589 [C99-based-standards] (PRIX8): Likewise.
29590 [C99-based-standards] (SCNd8): Likewise.
29591 [C99-based-standards] (SCNi8): Likewise.
29592 [C99-based-standards] (SCNo8): Likewise.
29593 [C99-based-standards] (SCNu8): Likewise.
29594 [C99-based-standards] (SCNx8): Likewise.
29595 [C99-based-standards] (PRIdLEAST8): Likewise.
29596 [C99-based-standards] (PRIiLEAST8): Likewise.
29597 [C99-based-standards] (PRIoLEAST8): Likewise.
29598 [C99-based-standards] (PRIuLEAST8): Likewise.
29599 [C99-based-standards] (PRIxLEAST8): Likewise.
29600 [C99-based-standards] (PRIXLEAST8): Likewise.
29601 [C99-based-standards] (SCNdLEAST8): Likewise.
29602 [C99-based-standards] (SCNiLEAST8): Likewise.
29603 [C99-based-standards] (SCNoLEAST8): Likewise.
29604 [C99-based-standards] (SCNuLEAST8): Likewise.
29605 [C99-based-standards] (SCNxLEAST8): Likewise.
29606 [C99-based-standards] (PRIdFAST8): Likewise.
29607 [C99-based-standards] (PRIiFAST8): Likewise.
29608 [C99-based-standards] (PRIoFAST8): Likewise.
29609 [C99-based-standards] (PRIuFAST8): Likewise.
29610 [C99-based-standards] (PRIxFAST8): Likewise.
29611 [C99-based-standards] (PRIXFAST8): Likewise.
29612 [C99-based-standards] (SCNdFAST8): Likewise.
29613 [C99-based-standards] (SCNiFAST8): Likewise.
29614 [C99-based-standards] (SCNoFAST8): Likewise.
29615 [C99-based-standards] (SCNuFAST8): Likewise.
29616 [C99-based-standards] (SCNxFAST8): Likewise.
29617 [C99-based-standards] (PRId16): Likewise.
29618 [C99-based-standards] (PRIi16): Likewise.
29619 [C99-based-standards] (PRIo16): Likewise.
29620 [C99-based-standards] (PRIu16): Likewise.
29621 [C99-based-standards] (PRIx16): Likewise.
29622 [C99-based-standards] (PRIX16): Likewise.
29623 [C99-based-standards] (SCNd16): Likewise.
29624 [C99-based-standards] (SCNi16): Likewise.
29625 [C99-based-standards] (SCNo16): Likewise.
29626 [C99-based-standards] (SCNu16): Likewise.
29627 [C99-based-standards] (SCNx16): Likewise.
29628 [C99-based-standards] (PRIdLEAST16): Likewise.
29629 [C99-based-standards] (PRIiLEAST16): Likewise.
29630 [C99-based-standards] (PRIoLEAST16): Likewise.
29631 [C99-based-standards] (PRIuLEAST16): Likewise.
29632 [C99-based-standards] (PRIxLEAST16): Likewise.
29633 [C99-based-standards] (PRIXLEAST16): Likewise.
29634 [C99-based-standards] (SCNdLEAST16): Likewise.
29635 [C99-based-standards] (SCNiLEAST16): Likewise.
29636 [C99-based-standards] (SCNoLEAST16): Likewise.
29637 [C99-based-standards] (SCNuLEAST16): Likewise.
29638 [C99-based-standards] (SCNxLEAST16): Likewise.
29639 [C99-based-standards] (PRIdFAST16): Likewise.
29640 [C99-based-standards] (PRIiFAST16): Likewise.
29641 [C99-based-standards] (PRIoFAST16): Likewise.
29642 [C99-based-standards] (PRIuFAST16): Likewise.
29643 [C99-based-standards] (PRIxFAST16): Likewise.
29644 [C99-based-standards] (PRIXFAST16): Likewise.
29645 [C99-based-standards] (SCNdFAST16): Likewise.
29646 [C99-based-standards] (SCNiFAST16): Likewise.
29647 [C99-based-standards] (SCNoFAST16): Likewise.
29648 [C99-based-standards] (SCNuFAST16): Likewise.
29649 [C99-based-standards] (SCNxFAST16): Likewise.
29650 [C99-based-standards] (PRId32): Likewise.
29651 [C99-based-standards] (PRIi32): Likewise.
29652 [C99-based-standards] (PRIo32): Likewise.
29653 [C99-based-standards] (PRIu32): Likewise.
29654 [C99-based-standards] (PRIx32): Likewise.
29655 [C99-based-standards] (PRIX32): Likewise.
29656 [C99-based-standards] (SCNd32): Likewise.
29657 [C99-based-standards] (SCNi32): Likewise.
29658 [C99-based-standards] (SCNo32): Likewise.
29659 [C99-based-standards] (SCNu32): Likewise.
29660 [C99-based-standards] (SCNx32): Likewise.
29661 [C99-based-standards] (PRIdLEAST32): Likewise.
29662 [C99-based-standards] (PRIiLEAST32): Likewise.
29663 [C99-based-standards] (PRIoLEAST32): Likewise.
29664 [C99-based-standards] (PRIuLEAST32): Likewise.
29665 [C99-based-standards] (PRIxLEAST32): Likewise.
29666 [C99-based-standards] (PRIXLEAST32): Likewise.
29667 [C99-based-standards] (SCNdLEAST32): Likewise.
29668 [C99-based-standards] (SCNiLEAST32): Likewise.
29669 [C99-based-standards] (SCNoLEAST32): Likewise.
29670 [C99-based-standards] (SCNuLEAST32): Likewise.
29671 [C99-based-standards] (SCNxLEAST32): Likewise.
29672 [C99-based-standards] (PRIdFAST32): Likewise.
29673 [C99-based-standards] (PRIiFAST32): Likewise.
29674 [C99-based-standards] (PRIoFAST32): Likewise.
29675 [C99-based-standards] (PRIuFAST32): Likewise.
29676 [C99-based-standards] (PRIxFAST32): Likewise.
29677 [C99-based-standards] (PRIXFAST32): Likewise.
29678 [C99-based-standards] (SCNdFAST32): Likewise.
29679 [C99-based-standards] (SCNiFAST32): Likewise.
29680 [C99-based-standards] (SCNoFAST32): Likewise.
29681 [C99-based-standards] (SCNuFAST32): Likewise.
29682 [C99-based-standards] (SCNxFAST32): Likewise.
29683 [C99-based-standards] (PRId64): Likewise.
29684 [C99-based-standards] (PRIi64): Likewise.
29685 [C99-based-standards] (PRIo64): Likewise.
29686 [C99-based-standards] (PRIu64): Likewise.
29687 [C99-based-standards] (PRIx64): Likewise.
29688 [C99-based-standards] (PRIX64): Likewise.
29689 [C99-based-standards] (SCNd64): Likewise.
29690 [C99-based-standards] (SCNi64): Likewise.
29691 [C99-based-standards] (SCNo64): Likewise.
29692 [C99-based-standards] (SCNu64): Likewise.
29693 [C99-based-standards] (SCNx64): Likewise.
29694 [C99-based-standards] (PRIdLEAST64): Likewise.
29695 [C99-based-standards] (PRIiLEAST64): Likewise.
29696 [C99-based-standards] (PRIoLEAST64): Likewise.
29697 [C99-based-standards] (PRIuLEAST64): Likewise.
29698 [C99-based-standards] (PRIxLEAST64): Likewise.
29699 [C99-based-standards] (PRIXLEAST64): Likewise.
29700 [C99-based-standards] (SCNdLEAST64): Likewise.
29701 [C99-based-standards] (SCNiLEAST64): Likewise.
29702 [C99-based-standards] (SCNoLEAST64): Likewise.
29703 [C99-based-standards] (SCNuLEAST64): Likewise.
29704 [C99-based-standards] (SCNxLEAST64): Likewise.
29705 [C99-based-standards] (PRIdFAST64): Likewise.
29706 [C99-based-standards] (PRIiFAST64): Likewise.
29707 [C99-based-standards] (PRIoFAST64): Likewise.
29708 [C99-based-standards] (PRIuFAST64): Likewise.
29709 [C99-based-standards] (PRIxFAST64): Likewise.
29710 [C99-based-standards] (PRIXFAST64): Likewise.
29711 [C99-based-standards] (SCNdFAST64): Likewise.
29712 [C99-based-standards] (SCNiFAST64): Likewise.
29713 [C99-based-standards] (SCNoFAST64): Likewise.
29714 [C99-based-standards] (SCNuFAST64): Likewise.
29715 [C99-based-standards] (SCNxFAST64): Likewise.
29716 [C99-based-standards] (PRIdMAX): Likewise.
29717 [C99-based-standards] (PRIiMAX): Likewise.
29718 [C99-based-standards] (PRIoMAX): Likewise.
29719 [C99-based-standards] (PRIuMAX): Likewise.
29720 [C99-based-standards] (PRIxMAX): Likewise.
29721 [C99-based-standards] (PRIXMAX): Likewise.
29722 [C99-based-standards] (SCNdMAX): Likewise.
29723 [C99-based-standards] (SCNiMAX): Likewise.
29724 [C99-based-standards] (SCNoMAX): Likewise.
29725 [C99-based-standards] (SCNuMAX): Likewise.
29726 [C99-based-standards] (SCNxMAX): Likewise.
29727 [C99-based-standards] (PRIdPTR): Likewise.
29728 [C99-based-standards] (PRIiPTR): Likewise.
29729 [C99-based-standards] (PRIoPTR): Likewise.
29730 [C99-based-standards] (PRIuPTR): Likewise.
29731 [C99-based-standards] (PRIxPTR): Likewise.
29732 [C99-based-standards] (PRIXPTR): Likewise.
29733 [C99-based-standards] (SCNdPTR): Likewise.
29734 [C99-based-standards] (SCNiPTR): Likewise.
29735 [C99-based-standards] (SCNoPTR): Likewise.
29736 [C99-based-standards] (SCNuPTR): Likewise.
29737 [C99-based-standards] (SCNxPTR): Likewise.
29738 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29739 allow.
29740 * conform/data/stdint.h-data: Update comments to clarify
29741 requirements.
29742 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29743 type.
29744 [C99-based standards] (INT8_MAX): Likewise.
29745 [C99-based standards] (INT16_MIN): Likewise.
29746 [C99-based standards] (INT16_MAX): Likewise.
29747 [C99-based standards] (INT32_MIN): Likewise.
29748 [C99-based standards] (INT32_MAX): Likewise.
29749 [C99-based standards] (INT64_MIN): Likewise.
29750 [C99-based standards] (INT64_MAX): Likewise.
29751 [C99-based standards] (UINT8_MAX): Likewise.
29752 [C99-based standards] (UINT16_MAX): Likewise.
29753 [C99-based standards] (UINT32_MAX): Likewise.
29754 [C99-based standards] (UINT64_MAX): Likewise.
29755 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29756 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29757 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29758 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29759 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29760 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29761 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29762 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29763 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29764 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29765 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29766 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29767 [C99-based standards] (INT_FAST8_MIN): Likewise.
29768 [C99-based standards] (INT_FAST8_MAX): Likewise.
29769 [C99-based standards] (INT_FAST16_MIN): Likewise.
29770 [C99-based standards] (INT_FAST16_MAX): Likewise.
29771 [C99-based standards] (INT_FAST32_MIN): Likewise.
29772 [C99-based standards] (INT_FAST32_MAX): Likewise.
29773 [C99-based standards] (INT_FAST64_MIN): Likewise.
29774 [C99-based standards] (INT_FAST64_MAX): Likewise.
29775 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29776 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29777 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29778 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29779 [C99-based standards] (INTPTR_MIN): Likewise.
29780 [C99-based standards] (INTPTR_MAX): Likewise.
29781 [C99-based standards] (UINTPTR_MAX): Likewise.
29782 [C99-based standards] (INTMAX_MIN): Likewise.
29783 [C99-based standards] (INTMAX_MAX): Likewise.
29784 [C99-based standards] (UINTMAX_MAX): Likewise.
29785 [C99-based standards] (PTRDIFF_MIN): Likewise.
29786 [C99-based standards] (PTRDIFF_MAX): Likewise.
29787 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29788 [C99-based standards] (SIZE_MAX): Likewise.
29789 [C99-based standards] (WCHAR_MAX): Likewise.
29790 [C99-based standards] (WINT_MAX): Likewise.
29791 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29792 constraint on value.
29793 [C99-based standards] (WCHAR_MIN): Likewise.
29794 [C99-based standards] (WINT_MIN): Likewise.
29795 [C99-based standards] (*_t): Allow.
29796 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29797 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29798 Include math.h-data and complex.h-data. Remove all expectations
29799 of math.h and complex.h contents.
29800 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29801 at end of line.
29802 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29803 (struct tm): Expect tag.
29804 [C99-based-standards] (wcstof): Expect function.
29805 [C99-based-standards] (wcstold): Likewise.
29806 [C99-based-standards] (wcstoll): Likewise.
29807 [C99-based-standards] (wcstoull): Likewise.
29808 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29809 macro-int-constant. Specify type.
29810 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29811 constraint on value.
29812 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29813 Specify type.
29814 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29815 Specify value.
29816 [ISO C standards]: Do not allow headers.
29817 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29818 wcs[abcdefghijklmnopqrstuvwxyz]*.
29819 [ISO C standards] (*_t): Do not allow.
29820 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29821 Expect function.
29822 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29823 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29824 Specify type.
29825 [ISO C standards]: Do not allow headers.
29826 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29827 is[abcdefghijklmnopqrstuvwxyz]*.
29828 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29829 to[abcdefghijklmnopqrstuvwxyz]*.
29830 [ISO C standards] (*_t): Do not allow.
29831 * conform/data/stdalign.h-data: New file.
29832 * conform/data/stdbool.h-data: Likewise.
29833 * conform/data/stdnoreturn.h-data: Likewise.
29834
7514feb8
RM
298352012-11-07 Roland McGrath <roland@hack.frob.com>
29836
29837 [BZ #14815]
29838 * manual/filesys.texi (Directory Entries): Typo fix.
29839 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29840
19b2ecfc
MS
298412012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29842
29843 * elf/elf.h (EM_AARCH64): New macro.
29844 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29845 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29846 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29847 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29848 (R_AARCH64_TLSDESC): Likewise.
29849 (NT_ARM_TLS): Likewise.
29850 (NT_ARM_HW_BREAK): Likewise.
29851 (NT_ARM_HW_WATCH): Likewise.
29852
60e235ee
JM
298532012-11-07 Joseph Myers <joseph@codesourcery.com>
29854
29855 [BZ #14811]
29856 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29857 (__ieee754_powl): Saturate nonzero exponents with absolute value
29858 below 0x1p-79 to +/- 0x1p-79.
29859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29860 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29861 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29862 nonzero exponents with absolute value below 0x1p-32 to +/-
29863 0x1p-32.
29864 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29865 (__ieee754_powl): Saturate nonzero exponents with absolute value
29866 below 0x1p-79 to +/- 0x1p-79.
29867 * math/libm-test.inc (pow_test): Add more tests.
29868
0ab234b7
AK
298692012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29870
29871 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29872 _dl_s390_cap_flags with kernel. Increase string length.
29873 (_dl_s390_platforms): Add z196 and zEC12.
29874
45832f74
JM
298752012-11-07 Joseph Myers <joseph@codesourcery.com>
29876
29877 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29878 Change XOPEN21K to XOPEN2K.
29879
19218757
MK
298802012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29881
29882 * string/memmove.c: Use memcpy when possible.
29883
c5f45721
AJ
298842012-11-06 Andreas Jaeger <aj@suse.de>
29885
29886 * po/eo.po: Update from translation team.
29887
82477c28
JM
298882012-11-06 Joseph Myers <joseph@codesourcery.com>
29889
29890 [BZ #14793]
29891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29892 exponent and small x and y exponents, scale x or y up. Increase
29893 by 2 the exponent used in scaling up.
29894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29896 * math/libm-test.inc (fma_test): Add more tests.
29897 (fma_test_towardzero): Likewise.
29898 (fma_test_downward): Likewise.
29899 (fma_test_upward): Likewise.
29900
99252c8c
JM
299012012-11-05 Joseph Myers <joseph@codesourcery.com>
29902
acfa885f
JM
29903 [BZ #14805]
29904 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29905 fenv_t *.
29906
99252c8c
JM
29907 [BZ #14801]
29908 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29909 namespace for names of struct fields.
29910 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29911 fenv_t fields.
29912 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29913 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29914
d6d98dea
ST
299152012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29916
29917 [BZ #3665]
29918 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29919
e10bb107
TS
299202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29921
29922 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29923 PTR_DEMANGLE.
29924
29925 [BZ #5246]
29926 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29927 PTR_DEMANGLE.
29928
a0c2940d
JM
299292012-11-04 Joseph Myers <joseph@codesourcery.com>
29930
29931 [BZ #14797]
29932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29933 definitely overflow as x * y not x * y + z.
29934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29936 * math/libm-test.inc (fma_test): Add more tests.
29937 (fma_test_towardzero): Likewise.
29938 (fma_test_downward): Likewise.
29939 (fma_test_upward): Likewise.
29940
b830319d
TS
299412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29942
29943 [BZ #157]
29944
29945 * include/stub-tag.h: Remove file.
29946 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29947 '#include' of it.
29948 * manual/maint.texi (Porting): Don't reference it.
29949 * Makerules ($(objpfx)stubs): Likewise.
29950 * dirent/closedir.c: Don't include <stub-tag.h>.
29951 * dirent/dirfd.c: Likewise.
29952 * dirent/fdopendir.c: Likewise.
29953 * dirent/getdents.c: Likewise.
29954 * dirent/getdents64.c: Likewise.
29955 * dirent/opendir.c: Likewise.
29956 * dirent/readdir.c: Likewise.
29957 * dirent/readdir64.c: Likewise.
29958 * dirent/readdir64_r.c: Likewise.
29959 * dirent/readdir_r.c: Likewise.
29960 * dirent/rewinddir.c: Likewise.
29961 * dirent/seekdir.c: Likewise.
29962 * dirent/telldir.c: Likewise.
29963 * gmon/profil.c: Likewise.
29964 * grp/setgroups.c: Likewise.
29965 * inet/if_index.c: Likewise.
29966 * io/access.c: Likewise.
29967 * io/chdir.c: Likewise.
29968 * io/chmod.c: Likewise.
29969 * io/chown.c: Likewise.
29970 * io/close.c: Likewise.
29971 * io/dup.c: Likewise.
29972 * io/dup2.c: Likewise.
29973 * io/dup3.c: Likewise.
29974 * io/euidaccess.c: Likewise.
29975 * io/faccessat.c: Likewise.
29976 * io/fchdir.c: Likewise.
29977 * io/fchmod.c: Likewise.
29978 * io/fchmodat.c: Likewise.
29979 * io/fchown.c: Likewise.
29980 * io/fchownat.c: Likewise.
29981 * io/fcntl.c: Likewise.
29982 * io/flock.c: Likewise.
29983 * io/fstatfs.c: Likewise.
29984 * io/fstatfs64.c: Likewise.
29985 * io/fstatvfs.c: Likewise.
29986 * io/fstatvfs64.c: Likewise.
29987 * io/futimens.c: Likewise.
29988 * io/fxstat.c: Likewise.
29989 * io/fxstat64.c: Likewise.
29990 * io/fxstatat.c: Likewise.
29991 * io/fxstatat64.c: Likewise.
29992 * io/getcwd.c: Likewise.
29993 * io/isatty.c: Likewise.
29994 * io/lchmod.c: Likewise.
29995 * io/lchown.c: Likewise.
29996 * io/link.c: Likewise.
29997 * io/linkat.c: Likewise.
29998 * io/lseek.c: Likewise.
29999 * io/lseek64.c: Likewise.
30000 * io/lxstat64.c: Likewise.
30001 * io/mkdir.c: Likewise.
30002 * io/mkdirat.c: Likewise.
30003 * io/mkfifo.c: Likewise.
30004 * io/mkfifoat.c: Likewise.
30005 * io/open.c: Likewise.
30006 * io/open64.c: Likewise.
30007 * io/openat.c: Likewise.
30008 * io/openat64.c: Likewise.
30009 * io/pipe.c: Likewise.
30010 * io/pipe2.c: Likewise.
30011 * io/poll.c: Likewise.
30012 * io/posix_fadvise.c: Likewise.
30013 * io/posix_fadvise64.c: Likewise.
30014 * io/posix_fallocate.c: Likewise.
30015 * io/posix_fallocate64.c: Likewise.
30016 * io/read.c: Likewise.
30017 * io/readlink.c: Likewise.
30018 * io/readlinkat.c: Likewise.
30019 * io/rmdir.c: Likewise.
30020 * io/sendfile.c: Likewise.
30021 * io/sendfile64.c: Likewise.
30022 * io/statfs.c: Likewise.
30023 * io/statfs64.c: Likewise.
30024 * io/statvfs.c: Likewise.
30025 * io/statvfs64.c: Likewise.
30026 * io/symlink.c: Likewise.
30027 * io/symlinkat.c: Likewise.
30028 * io/ttyname.c: Likewise.
30029 * io/ttyname_r.c: Likewise.
30030 * io/umask.c: Likewise.
30031 * io/unlink.c: Likewise.
30032 * io/unlinkat.c: Likewise.
30033 * io/utime.c: Likewise.
30034 * io/utimensat.c: Likewise.
30035 * io/write.c: Likewise.
30036 * io/xmknod.c: Likewise.
30037 * io/xmknodat.c: Likewise.
30038 * io/xstat.c: Likewise.
30039 * io/xstat64.c: Likewise.
30040 * login/getpt.c: Likewise.
30041 * login/grantpt.c: Likewise.
30042 * login/unlockpt.c: Likewise.
30043 * math/e_acoshl.c: Likewise.
30044 * math/e_acosl.c: Likewise.
30045 * math/e_asinl.c: Likewise.
30046 * math/e_atan2l.c: Likewise.
30047 * math/e_atanhl.c: Likewise.
30048 * math/e_coshl.c: Likewise.
30049 * math/e_expl.c: Likewise.
30050 * math/e_fmodl.c: Likewise.
30051 * math/e_gammal_r.c: Likewise.
30052 * math/e_hypotl.c: Likewise.
30053 * math/e_j0l.c: Likewise.
30054 * math/e_j1l.c: Likewise.
30055 * math/e_jnl.c: Likewise.
30056 * math/e_lgammal_r.c: Likewise.
30057 * math/e_log10l.c: Likewise.
30058 * math/e_log2l.c: Likewise.
30059 * math/e_logl.c: Likewise.
30060 * math/e_powl.c: Likewise.
30061 * math/e_rem_pio2l.c: Likewise.
30062 * math/e_sinhl.c: Likewise.
30063 * math/e_sqrtl.c: Likewise.
30064 * math/fclrexcpt.c: Likewise.
30065 * math/fedisblxcpt.c: Likewise.
30066 * math/feenablxcpt.c: Likewise.
30067 * math/fegetenv.c: Likewise.
30068 * math/fegetexcept.c: Likewise.
30069 * math/fegetround.c: Likewise.
30070 * math/feholdexcpt.c: Likewise.
30071 * math/fesetenv.c: Likewise.
30072 * math/fesetround.c: Likewise.
30073 * math/feupdateenv.c: Likewise.
30074 * math/fgetexcptflg.c: Likewise.
30075 * math/fraiseexcpt.c: Likewise.
30076 * math/fsetexcptflg.c: Likewise.
30077 * math/ftestexcept.c: Likewise.
30078 * math/k_cosl.c: Likewise.
30079 * math/k_rem_pio2l.c: Likewise.
30080 * math/k_sinl.c: Likewise.
30081 * math/k_tanl.c: Likewise.
30082 * math/s_asinhl.c: Likewise.
30083 * math/s_atanl.c: Likewise.
30084 * math/s_cbrtl.c: Likewise.
30085 * math/s_erfl.c: Likewise.
30086 * math/s_expm1l.c: Likewise.
30087 * math/s_log1pl.c: Likewise.
30088 * math/s_tanhl.c: Likewise.
30089 * misc/acct.c: Likewise.
30090 * misc/brk.c: Likewise.
30091 * misc/chflags.c: Likewise.
30092 * misc/chroot.c: Likewise.
30093 * misc/fchflags.c: Likewise.
30094 * misc/fgetxattr.c: Likewise.
30095 * misc/flistxattr.c: Likewise.
30096 * misc/fremovexattr.c: Likewise.
30097 * misc/fsetxattr.c: Likewise.
30098 * misc/fsync.c: Likewise.
30099 * misc/ftruncate.c: Likewise.
30100 * misc/futimes.c: Likewise.
30101 * misc/futimesat.c: Likewise.
30102 * misc/getdomain.c: Likewise.
30103 * misc/getdtsz.c: Likewise.
30104 * misc/gethostid.c: Likewise.
30105 * misc/gethostname.c: Likewise.
30106 * misc/getloadavg.c: Likewise.
30107 * misc/getpagesize.c: Likewise.
30108 * misc/getsysstats.c: Likewise.
30109 * misc/getxattr.c: Likewise.
30110 * misc/gtty.c: Likewise.
30111 * misc/ioctl.c: Likewise.
30112 * misc/lgetxattr.c: Likewise.
30113 * misc/listxattr.c: Likewise.
30114 * misc/llistxattr.c: Likewise.
30115 * misc/lremovexattr.c: Likewise.
30116 * misc/lsetxattr.c: Likewise.
30117 * misc/lutimes.c: Likewise.
30118 * misc/madvise.c: Likewise.
30119 * misc/mincore.c: Likewise.
30120 * misc/mlock.c: Likewise.
30121 * misc/mlockall.c: Likewise.
30122 * misc/mmap.c: Likewise.
30123 * misc/mprotect.c: Likewise.
30124 * misc/msync.c: Likewise.
30125 * misc/munlock.c: Likewise.
30126 * misc/munlockall.c: Likewise.
30127 * misc/munmap.c: Likewise.
30128 * misc/preadv.c: Likewise.
30129 * misc/preadv64.c: Likewise.
30130 * misc/ptrace.c: Likewise.
30131 * misc/pwritev.c: Likewise.
30132 * misc/pwritev64.c: Likewise.
30133 * misc/readv.c: Likewise.
30134 * misc/reboot.c: Likewise.
30135 * misc/remap_file_pages.c: Likewise.
30136 * misc/removexattr.c: Likewise.
30137 * misc/revoke.c: Likewise.
30138 * misc/select.c: Likewise.
30139 * misc/setdomain.c: Likewise.
30140 * misc/setegid.c: Likewise.
30141 * misc/seteuid.c: Likewise.
30142 * misc/sethostid.c: Likewise.
30143 * misc/sethostname.c: Likewise.
30144 * misc/setregid.c: Likewise.
30145 * misc/setreuid.c: Likewise.
30146 * misc/setxattr.c: Likewise.
30147 * misc/sstk.c: Likewise.
30148 * misc/stty.c: Likewise.
30149 * misc/swapoff.c: Likewise.
30150 * misc/swapon.c: Likewise.
30151 * misc/sync.c: Likewise.
30152 * misc/syncfs.c: Likewise.
30153 * misc/syscall.c: Likewise.
30154 * misc/truncate.c: Likewise.
30155 * misc/ualarm.c: Likewise.
30156 * misc/usleep.c: Likewise.
30157 * misc/ustat.c: Likewise.
30158 * misc/utimes.c: Likewise.
30159 * misc/vhangup.c: Likewise.
30160 * misc/writev.c: Likewise.
30161 * posix/_exit.c: Likewise.
30162 * posix/alarm.c: Likewise.
30163 * posix/execve.c: Likewise.
30164 * posix/fexecve.c: Likewise.
30165 * posix/fork.c: Likewise.
30166 * posix/fpathconf.c: Likewise.
30167 * posix/getaddrinfo.c: Likewise.
30168 * posix/getegid.c: Likewise.
30169 * posix/geteuid.c: Likewise.
30170 * posix/getgid.c: Likewise.
30171 * posix/getgroups.c: Likewise.
30172 * posix/getlogin.c: Likewise.
30173 * posix/getlogin_r.c: Likewise.
30174 * posix/getpgid.c: Likewise.
30175 * posix/getpid.c: Likewise.
30176 * posix/getppid.c: Likewise.
30177 * posix/getresgid.c: Likewise.
30178 * posix/getresuid.c: Likewise.
30179 * posix/getsid.c: Likewise.
30180 * posix/getuid.c: Likewise.
30181 * posix/glob64.c: Likewise.
30182 * posix/nanosleep.c: Likewise.
30183 * posix/pathconf.c: Likewise.
30184 * posix/pause.c: Likewise.
30185 * posix/posix_madvise.c: Likewise.
30186 * posix/pread.c: Likewise.
30187 * posix/pread64.c: Likewise.
30188 * posix/pwrite.c: Likewise.
30189 * posix/pwrite64.c: Likewise.
30190 * posix/sched_getaffinity.c: Likewise.
30191 * posix/sched_getp.c: Likewise.
30192 * posix/sched_gets.c: Likewise.
30193 * posix/sched_primax.c: Likewise.
30194 * posix/sched_primin.c: Likewise.
30195 * posix/sched_rr_gi.c: Likewise.
30196 * posix/sched_setaffinity.c: Likewise.
30197 * posix/sched_setp.c: Likewise.
30198 * posix/sched_sets.c: Likewise.
30199 * posix/sched_yield.c: Likewise.
30200 * posix/setgid.c: Likewise.
30201 * posix/setlogin.c: Likewise.
30202 * posix/setpgid.c: Likewise.
30203 * posix/setresgid.c: Likewise.
30204 * posix/setresuid.c: Likewise.
30205 * posix/setsid.c: Likewise.
30206 * posix/setuid.c: Likewise.
30207 * posix/sleep.c: Likewise.
30208 * posix/spawni.c: Likewise.
30209 * posix/sysconf.c: Likewise.
30210 * posix/times.c: Likewise.
30211 * posix/wait.c: Likewise.
30212 * posix/wait3.c: Likewise.
30213 * posix/wait4.c: Likewise.
30214 * posix/waitpid.c: Likewise.
30215 * resolv/gai_sigqueue.c: Likewise.
30216 * resource/getpriority.c: Likewise.
30217 * resource/getrlimit.c: Likewise.
30218 * resource/getrusage.c: Likewise.
30219 * resource/nice.c: Likewise.
30220 * resource/setpriority.c: Likewise.
30221 * resource/setrlimit.c: Likewise.
30222 * resource/ulimit.c: Likewise.
30223 * rt/aio_cancel.c: Likewise.
30224 * rt/aio_fsync.c: Likewise.
30225 * rt/aio_read.c: Likewise.
30226 * rt/aio_sigqueue.c: Likewise.
30227 * rt/aio_suspend.c: Likewise.
30228 * rt/aio_write.c: Likewise.
30229 * rt/clock_getres.c: Likewise.
30230 * rt/clock_gettime.c: Likewise.
30231 * rt/clock_nanosleep.c: Likewise.
30232 * rt/clock_settime.c: Likewise.
30233 * rt/lio_listio.c: Likewise.
30234 * rt/mq_close.c: Likewise.
30235 * rt/mq_getattr.c: Likewise.
30236 * rt/mq_notify.c: Likewise.
30237 * rt/mq_open.c: Likewise.
30238 * rt/mq_receive.c: Likewise.
30239 * rt/mq_send.c: Likewise.
30240 * rt/mq_setattr.c: Likewise.
30241 * rt/mq_timedreceive.c: Likewise.
30242 * rt/mq_timedsend.c: Likewise.
30243 * rt/mq_unlink.c: Likewise.
30244 * rt/shm_open.c: Likewise.
30245 * rt/shm_unlink.c: Likewise.
30246 * rt/timer_create.c: Likewise.
30247 * rt/timer_delete.c: Likewise.
30248 * rt/timer_getoverr.c: Likewise.
30249 * rt/timer_gettime.c: Likewise.
30250 * rt/timer_settime.c: Likewise.
30251 * setjmp/__longjmp.c: Likewise.
30252 * setjmp/setjmp.c: Likewise.
30253 * signal/kill.c: Likewise.
30254 * signal/killpg.c: Likewise.
30255 * signal/raise.c: Likewise.
30256 * signal/sigaction.c: Likewise.
30257 * signal/sigaltstack.c: Likewise.
30258 * signal/sigblock.c: Likewise.
30259 * signal/sigignore.c: Likewise.
30260 * signal/sigintr.c: Likewise.
30261 * signal/signal.c: Likewise.
30262 * signal/sigpause.c: Likewise.
30263 * signal/sigpending.c: Likewise.
30264 * signal/sigqueue.c: Likewise.
30265 * signal/sigreturn.c: Likewise.
30266 * signal/sigset.c: Likewise.
30267 * signal/sigsetmask.c: Likewise.
30268 * signal/sigstack.c: Likewise.
30269 * signal/sigsuspend.c: Likewise.
30270 * signal/sigtimedwait.c: Likewise.
30271 * signal/sigvec.c: Likewise.
30272 * signal/sigwait.c: Likewise.
30273 * signal/sigwaitinfo.c: Likewise.
30274 * signal/sysv_signal.c: Likewise.
30275 * socket/accept.c: Likewise.
30276 * socket/accept4.c: Likewise.
30277 * socket/bind.c: Likewise.
30278 * socket/connect.c: Likewise.
30279 * socket/getpeername.c: Likewise.
30280 * socket/getsockname.c: Likewise.
30281 * socket/getsockopt.c: Likewise.
30282 * socket/isfdtype.c: Likewise.
30283 * socket/listen.c: Likewise.
30284 * socket/recv.c: Likewise.
30285 * socket/recvfrom.c: Likewise.
30286 * socket/recvmsg.c: Likewise.
30287 * socket/send.c: Likewise.
30288 * socket/sendmsg.c: Likewise.
30289 * socket/sendto.c: Likewise.
30290 * socket/setsockopt.c: Likewise.
30291 * socket/shutdown.c: Likewise.
30292 * socket/sockatmark.c: Likewise.
30293 * socket/socket.c: Likewise.
30294 * socket/socketpair.c: Likewise.
30295 * stdio-common/ctermid.c: Likewise.
30296 * stdio-common/cuserid.c: Likewise.
30297 * stdio-common/remove.c: Likewise.
30298 * stdio-common/rename.c: Likewise.
30299 * stdio-common/renameat.c: Likewise.
30300 * stdio-common/tempname.c: Likewise.
30301 * stdlib/getcontext.c: Likewise.
30302 * stdlib/makecontext.c: Likewise.
30303 * stdlib/setcontext.c: Likewise.
30304 * stdlib/swapcontext.c: Likewise.
30305 * stdlib/system.c: Likewise.
30306 * streams/fattach.c: Likewise.
30307 * streams/fdetach.c: Likewise.
30308 * streams/getmsg.c: Likewise.
30309 * streams/getpmsg.c: Likewise.
30310 * streams/putmsg.c: Likewise.
30311 * streams/putpmsg.c: Likewise.
30312 * sysdeps/unix/bsd/getpt.c: Likewise.
30313 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30314 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30315 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30317 Likewise.
30318 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30319 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30320 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30321 * sysvipc/msgctl.c: Likewise.
30322 * sysvipc/msgget.c: Likewise.
30323 * sysvipc/msgrcv.c: Likewise.
30324 * sysvipc/msgsnd.c: Likewise.
30325 * sysvipc/semctl.c: Likewise.
30326 * sysvipc/semget.c: Likewise.
30327 * sysvipc/semop.c: Likewise.
30328 * sysvipc/semtimedop.c: Likewise.
30329 * sysvipc/shmat.c: Likewise.
30330 * sysvipc/shmctl.c: Likewise.
30331 * sysvipc/shmdt.c: Likewise.
30332 * sysvipc/shmget.c: Likewise.
30333 * termios/tcdrain.c: Likewise.
30334 * termios/tcflow.c: Likewise.
30335 * termios/tcflush.c: Likewise.
30336 * termios/tcgetattr.c: Likewise.
30337 * termios/tcgetpgrp.c: Likewise.
30338 * termios/tcsendbrk.c: Likewise.
30339 * termios/tcsetattr.c: Likewise.
30340 * termios/tcsetpgrp.c: Likewise.
30341 * time/adjtime.c: Likewise.
30342 * time/clock.c: Likewise.
30343 * time/getitimer.c: Likewise.
30344 * time/gettimeofday.c: Likewise.
30345 * time/setitimer.c: Likewise.
30346 * time/settimeofday.c: Likewise.
30347 * time/stime.c: Likewise.
30348 * time/time.c: Likewise.
30349
303502012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30351
a20492cf
PT
30352 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30353 /usr/old/bin.
30354
72e182e3
PT
30355 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30356 instead of spaces.
30357 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30358
fbeafede
JM
303592012-11-03 Joseph Myers <joseph@codesourcery.com>
30360
5b5b04d6
JM
30361 [BZ #14796]
30362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30363 FE_TONEAREST before applying Dekker multiplication and Knuth
30364 addition. Clear inexact exceptions and check for exact zero
30365 results afterwards.
30366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30369 * math/libm-test.inc (fma_test): Add more tests.
30370 (fma_test_towardzero): Likewise.
30371 (fma_test_downward): Likewise.
30372 (fma_test_upward): Likewise.
30373 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30374 function.
30375 (libc_fesetround): New macro.
30376 (libc_fesetroundf): Likewise.
30377 (libc_fesetroundl): Likewise.
30378 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30379 function.
30380 (libc_fesetround_387): Likewise.
30381 (libc_fesetroundf): New macro.
30382 (libc_fesetround): Likewise.
30383 (libc_fesetroundl): Likewise.
30384 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30385 function.
30386 (libc_fesetroundf): New macro.
30387 (libc_fesetround): Likewise.
30388 (libc_fesetroundl): Likewise.
30389 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30390 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30391 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30392 libm_hidden_ver.
30393 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30394 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30395 libm_hidden_def.
30396 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30397 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30398 libm_hidden_ver.
30399 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30400 libm_hidden_def.
30401
fbeafede
JM
30402 [BZ #3439]
30403 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30404 integer constant usable in #if and use that to give value to enum
30405 constant.
30406 (FE_DIVBYZERO): Likewise.
30407 (FE_UNDERFLOW): Likewise.
30408 (FE_OVERFLOW): Likewise.
30409 (FE_INVALID): Likewise.
30410 (FE_INVALID_SNAN): Likewise.
30411 (FE_INVALID_ISI): Likewise.
30412 (FE_INVALID_IDI): Likewise.
30413 (FE_INVALID_ZDZ): Likewise.
30414 (FE_INVALID_IMZ): Likewise.
30415 (FE_INVALID_COMPARE): Likewise.
30416 (FE_INVALID_SOFTWARE): Likewise.
30417 (FE_INVALID_SQRT): Likewise.
30418 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30419 (FE_TONEAREST): Likewise.
30420 (FE_TOWARDZERO): Likewise.
30421 (FE_UPWARD): Likewise.
30422 (FE_DOWNWARD): Likewise.
30423 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30424 (FE_DIVBYZERO): Likewise.
30425 (FE_OVERFLOW): Likewise.
30426 (FE_UNDERFLOW): Likewise.
30427 (FE_INEXACT): Likewise.
30428 (FE_TONEAREST): Likewise.
30429 (FE_DOWNWARD): Likewise.
30430 (FE_UPWARD): Likewise.
30431 (FE_TOWARDZERO): Likewise.
30432 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30433 (FE_UNDERFLOW): Likewise.
30434 (FE_OVERFLOW): Likewise.
30435 (FE_DIVBYZERO): Likewise.
30436 (FE_INVALID): Likewise.
30437 (FE_TONEAREST): Likewise.
30438 (FE_TOWARDZERO): Likewise.
30439 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30440 (FE_OVERFLOW): Likewise.
30441 (FE_UNDERFLOW): Likewise.
30442 (FE_DIVBYZERO): Likewise.
30443 (FE_INEXACT): Likewise.
30444 (FE_TONEAREST): Likewise.
30445 (FE_TOWARDZERO): Likewise.
30446 (FE_UPWARD): Likewise.
30447 (FE_DOWNWARD): Likewise.
30448 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30449 (FE_DIVBYZERO): Likewise.
30450 (FE_OVERFLOW): Likewise.
30451 (FE_UNDERFLOW): Likewise.
30452 (FE_INEXACT): Likewise.
30453 (FE_TONEAREST): Likewise.
30454 (FE_DOWNWARD): Likewise.
30455 (FE_UPWARD): Likewise.
30456 (FE_TOWARDZERO): Likewise.
30457
105ca950
CM
304582012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30459
30460 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30461
a542b389
AS
304622012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30463
30464 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30465 commands. Quote $PWD.
30466 (blacklist_exports): Don't use remove_newlines. Replace "declare
30467 -x" by "export".
30468 (remove_newlines): Remove.
30469
f62c8abc
L
304702012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30471
30472 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30473 * stdlib/stdlib.h (atof): Moved to ...
30474 * include/bits/stdlib-float.h: Here. New file.
30475 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30476 * stdlib/bits/stdlib-float.h: New file.
30477 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30478 -mno-sse -mno-mmx.
30479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30480 <xmmintrin.h>.
30481
0155d5b2
JM
304822012-11-02 Joseph Myers <joseph@codesourcery.com>
30483
a68d0680
JM
30484 * conform/conformtest.pl (@headers): Add fenv.h.
30485 * conform/data/fenv.h-data: New file.
30486 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30487 include of <math/fenv.h>.
30488
caf7f573
JM
30489 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30490 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30491 && !UNIX98]. Enables tests for XOPEN2K8.
30492 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30493 POSIX2008]: Likewise.
30494
6c073ad6
JM
30495 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30496 (struct rusage): Do not expect type or its members.
30497
0155d5b2
JM
30498 [BZ #3439]
30499 * math/math.h (FP_NAN): Define macro to integer constant usable in
30500 #if and use that to give value to enum constant.
30501 (FP_INFINITE): Likewise.
30502 (FP_ZERO): Likewise.
30503 (FP_SUBNORMAL): Likewise.
30504 (FP_NORMAL): Likewise.
30505
b5dcacb4
AS
305062012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30507
30508 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30509 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30510 arguments.
30511
f7934be8
RM
305122012-11-02 Roland McGrath <roland@hack.frob.com>
30513
30514 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30515 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30516 autoconf-time if not.
30517 * configure.in: Remove AC_PREREQ.
30518
d7d08bde
TMQMF
305192012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30520
30521 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30522 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30523 of the internal implementation.
30524
dcdae19a
JM
305252012-11-02 Joseph Myers <joseph@codesourcery.com>
30526
30527 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30528 except include of <misc/sys/syslog.h>.
30529
d6cffd3e
AS
305302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30531
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30533 function returns with a NULL context exit with zero.
30534
b3563932
TMQMF
305352012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30536
30537 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30538
b288a93d
L
305392012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30542 (run_program_cmd): This.
30543 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30544 (tst_langinfo): New variable. Use it.
30545
a2421a68
SAS
305462012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30547
30548 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30549 floating point opcodes.
30550
6f796e1b
TS
305512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30552
7402596b
TS
30553 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30554 variable.
30555
d0d4f868
TS
30556 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30557
6f796e1b
TS
30558 * sysdeps/mach/hurd/powerpc: Remove directory.
30559 * sysdeps/mach/powerpc: Likewise.
30560
4da224a2
AS
305612012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30562
30563 * scripts/check-local-headers.sh: Ignore c++ headers.
30564
341dd673
TS
305652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30566
30567 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30568 __libc_cleanup_region_start argument.
30569
473611b2
JM
305702012-11-01 Joseph Myers <joseph@codesourcery.com>
30571
30572 [BZ #14784]
30573 [BZ #14785]
30574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30575 x * y using scaling, not as x * y + z.
30576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30578 * math/libm-test.inc (fma_test): Add more tests.
30579 (fma_test_towardzero): Likewise.
30580 (fma_test_downward): Likewise.
30581 (fma_test_upward): Likewise.
30582
4078da3d
TS
305832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30584
30585 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30586
903252aa
JM
305872012-10-31 Joseph Myers <joseph@codesourcery.com>
30588
30589 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30590 New variable.
30591
cbc818d0
TS
305922012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30593
30594 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30595
5a03cb1e
AS
305962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30597
30598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30599 Fix sort order.
30600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30601 Likewise.
30602
90aff2ff
TMQMF
306032012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30604
30605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30606 Fix the order of the list for glibc 2.17.
30607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30608 Likewise.
30609
1818fcb7
AS
306102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30611
30612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30613
ef82f4da
JM
306142012-10-31 Joseph Myers <joseph@codesourcery.com>
30615
16a0e2ec
JM
30616 [BZ #14610]
30617 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30618 for low part of x being zero before using __atanl (y).
30619 * math/libm-test.inc (atan2_test): Add another test.
30620
0eb69512
JM
30621 * manual/install.texi (Configuring and compiling): Document
30622 general use of test-wrapper and test-wrapper-env.
30623 * INSTALL: Regenerated.
30624
ef82f4da
JM
30625 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30626 (__fma): Do not extract and scale down low bits on after-rounding
30627 systems when result rounded to normal precision would have normal
30628 exponent.
30629 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30630 (__fmal): Do not extract and scale down low bits on after-rounding
30631 systems when result rounded to normal precision would have normal
30632 exponent.
30633 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30634 (__fmal): Do not extract and scale down low bits on after-rounding
30635 systems when result rounded to normal precision would have normal
30636 exponent.
30637 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30638 macro.
30639 (fma_test): Add more tests.
30640 (fma_test_towardzero): Likewise.
30641 (fma_test_downward): Likewise.
30642 (fma_test_upward): Likewise.
30643
954ef0d9
L
306442012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30645
30646 * sysdeps/i386/tininess.h: Renamed to ...
30647 * sysdeps/x86/tininess.h: This.
30648 * sysdeps/x86_64/tininess.h: Removed.
30649
df61ffb2
JM
306502012-10-30 Joseph Myers <joseph@codesourcery.com>
30651
30652 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30653 input. Use $(build-program-cmd).
30654 ($(objpfx)tst-array1-static.out): Likewise.
30655 ($(objpfx)tst-array2.out): Likewise.
30656 ($(objpfx)tst-array3.out): Likewise.
30657 ($(objpfx)tst-array4.out): Likewise.
30658 ($(objpfx)tst-array5.out): Likewise.
30659 ($(objpfx)tst-array5-static.out): Likewise.
30660
01767843
CM
306612012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30662
47cc1490
CM
30663 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30664 if defined.
30665
01767843
CM
30666 * nss/nsswitch.h (nss_interface_function): Provide new
30667 macro for use with NSS functions.
30668 * grp/initgroups.c: Use new macro.
30669 * nss/getXXbyYY.c: Likewise.
30670 * nss/getXXbyYY_r.c: Likewise.
30671 * nss/getXXent.c: Likewise.
30672 * nss/getXXent_r.c: Likewise.
30673 * sysdeps/posix/getaddrinfo.c: Likewise.
30674
8321aa97
AJ
306752012-10-30 Andreas Jaeger <aj@suse.de>
30676
30677 * po/ru.po: Update Russion translation from translation project.
30678
2a27fd6d
JM
306792012-10-30 Joseph Myers <joseph@codesourcery.com>
30680
8627a232
JM
30681 [BZ #14152]
30682 [BZ #14783]
30683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30684 result and shift together with sticky bit instead of replicating
30685 round-to-nearest rounding.
30686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30688 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30689 missing underflow exceptions.
30690 (fma_test_towardzero): Add more tests.
30691 (fma_test_downward): Likewise.
30692 (fma_test_upward): Likewise.
30693
2a27fd6d
JM
30694 [BZ #14047]
30695 * sysdeps/generic/tininess.h: New file.
30696 * sysdeps/i386/tininess.h: Likewise.
30697 * sysdeps/sh/tininess.h: Likewise.
30698 * sysdeps/x86_64/tininess.h: Likewise.
30699 * stdlib/tst-strtod-underflow.c: Likewise.
30700 * stdlib/tst-tininess.c: Likewise.
30701 * stdlib/strtod_l.c: Include <tininess.h>.
30702 (round_and_return): Do not set errno for exact underflow cases.
30703 Force an underflow exception when setting errno for underflow.
30704 Determine underflow based on rounding to normal precision if
30705 TININESS_AFTER_ROUNDING.
30706 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30707 ERANGE for exact underflow cases.
30708 * stdlib/Makefile (tests): Add tst-tininess and
30709 tst-strtod-underflow.
30710 ($(objpfx)tst-tininess): Use $(link-libm).
30711 ($(objpfx)tst-strtod-underflow): Likewise.
30712
e7170363
AJ
307132012-10-30 Andreas Jaeger <aj@suse.de>
30714
e5088dc6
AJ
30715 [BZ#14767]
30716 * elf/Makefile (tests): Remove conditional for have-initfini-array
30717 since this is now always required and the variable does not exist
30718 anymore.
30719 (tests-static): Likewise.
30720 (modules-names): Likewise.
30721
e7170363 30722 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30723
30724 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30725 merged with constructor/destructor.
30726 (init_array): Likewise.
30727 * elf/tst-array2dep.c (fini_array): Likewise.
30728 (init_array): Likewise.
30729
60457d8a
MF
307302012-10-29 Mike Frysinger <vapier@gentoo.org>
30731
30732 * manual/message.texi: Delete @cartouche tags.
30733
8bece752
PT
307342012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30735
94ce799f
PT
30736 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30737 EOPNOTSUPP.
30738 * sysdeps/mach/hurd/fsync.c: Likewise.
30739
8bece752
PT
30740 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30741 [_POSIX_REALTIME_SIGNALS]: Change condition to
30742 [_POSIX_REALTIME_SIGNALS > 0].
30743
86ebe6b1
AJ
307442012-10-27 Andreas Jaeger <aj@suse.de>
30745
30746 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30747 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30749 [__WORDSIZE != 64]: Likewise.
30750
54399c08
L
307512012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30752
30753 * iconvdata/tst-table.sh: Remove ${SHELL}.
30754 * iconvdata/tst-tables.sh: Likewise.
30755
e2211bed
DM
307562012-10-25 David S. Miller <davem@davemloft.net>
30757
30758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30759 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30760 of strtoull.
30761
f303f97c
DM
30762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30763 ifunc-impl-list.c
30764 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30765 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30766 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30767 file.
30768
1e9d84cd
RM
307692012-10-25 Roland McGrath <roland@hack.frob.com>
30770
30771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30772 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30773 __getdirentries.
30774
df381762
JM
307752012-10-25 Joseph Myers <joseph@codesourcery.com>
30776 Jim Blandy <jimb@codesourcery.com>
30777
30778 * scripts/cross-test-ssh.sh: New file.
30779 * manual/install.texi (Configuring and compiling): Document use of
30780 cross-test-ssh.sh.
30781 * INSTALL: Regenerated.
30782
bff64913
PT
307832012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30784
30785 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30786 EOPNOTSUPP.
30787
25fe8932
JM
307882012-10-25 Joseph Myers <joseph@codesourcery.com>
30789
30790 * Makeconfig (run-program-prefix): Fix comment.
30791
cc1290d0
JM
307922012-10-24 Joseph Myers <joseph@codesourcery.com>
30793 Jim Blandy <jimb@codesourcery.com>
30794
30795 * Makeconfig (test-wrapper): New variable,
30796 (test-wrapper-env): Likewise.
30797 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30798 (run-built-tests): Define to yes.
30799 (run-program-prefix): Use $(test-wrapper).
30800 (built-program-cmd): Likewise.
30801 * Rules (make-test-out): Use $(test-wrapper-env) and
30802 $(host-built-program-cmd).
30803 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30804 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30805 tst-pathopt.sh.
30806 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30807 $(test-wrapper-env) to tst-rtld-load-self.sh.
30808 ($(objpfx)order2.out): Use $(test-wrapper).
30809 ($(objpfx)tst-initorder.out): Likewise.
30810 ($(objpfx)tst-initorder2.out): Likewise.
30811 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30812 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30813 (test_wrapper_env): New variable. Use it to run ld.so.
30814 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30815 Use it to run ld.so.
30816 (test_wrapper_env): Likewise.
30817 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30818 $(test-wrapper) to run-iconv-test.sh.
30819 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30820 (ICONV): Use $test_wrapper.
30821 * posix/Makefile ($(objpfx)globtest.out): Pass
30822 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30823 globtest.sh, not $(run-program-prefix).
30824 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30825 (test_wrapper): Likewise.
30826 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30827 set together with run_via_rtld_prefix.
30828 (run_program_prefix): Define in terms of test_wrapper and
30829 run_via_rtld_prefix.
30830
6e6249d0
RM
308312012-10-24 Roland McGrath <roland@hack.frob.com>
30832
30833 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30834 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30835 Targets removed.
30836
30837 [BZ #14743]
30838 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30839 Declare __clock_getres, __clock_gettime, __clock_settime,
30840 __clock_nanosleep, and __clock_getcpuclockid.
30841 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30842 Remove librt_hidden_def (clock_gettime).
30843 * sysdeps/unix/clock_gettime.c: Likewise.
30844 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30846 * rt/clock_getres.c: Define __clock_getres as an alias.
30847 * sysdeps/posix/clock_getres.c: Likewise.
30848 * rt/clock_settime.c: Define __clock_settime as an alias.
30849 * sysdeps/unix/clock_settime.c: Likewise.
30850 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30851 * sysdeps/unix/clock_nanosleep.c: Likewise.
30852 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30853 * rt/clock-compat.c: New file.
30854 * rt/Makefile (librt-routines): Add clock-compat and move
30855 $(clock-routines) to ...
30856 (routines): ... here, new variable.
30857 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30858 Don't add get_clockfreq here.
30859 * rt/Versions (libc: GLIBC_2.17): New version set.
30860 Add clock_* symbols here.
30861 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30863 (GLIBC_2.17): Add clock_* symbols.
30864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30868 Likewise.
30869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30870 Likewise.
30871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30875 * NEWS: Mention the move.
30876
30877 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30878 Use __open, __read, __close rather than their public counterparts.
30879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30880 (__get_clockfreq_via_cpuinfo): Likewise.
30881 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30882 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30883
30884 * config.h.in (HAVE_IFUNC): New #undef.
30885 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30886 was successful.
30887 * configure: Regenerated.
30888
0cae3f4b
MF
308892012-10-24 Mike Frysinger <vapier@gentoo.org>
30890
30891 * configure.in: Move READELF check to start of file.
30892 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30893 libc_cv_asm_gnu_indirect_function in the process.
30894 * configure: Regenerated.
30895
8175a253
MF
308962012-10-24 Mike Frysinger <vapier@gentoo.org>
30897
30898 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30899 send the output to /dev/null.
30900 (libc_cv_cc_with_libunwind): Likewise.
30901 (libc_cv_as_noexecstack): Likewise.
30902 * configure: Regenerate.
30903
0708a7d1
JM
309042012-10-24 Joseph Myers <joseph@codesourcery.com>
30905
10b40d85
JM
30906 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30907
0708a7d1
JM
30908 * posix/globtest.sh (TMPDIR): Do not set.
30909 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30910 (testout): Likewise.
30911
9fddec1a
AJ
309122012-10-24 Andreas Jaeger <aj@suse.de>
30913
3a8db22f
AJ
30914 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30915 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30916 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30917 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30918 posix_fadvise64, posix_fallocate64.
30919
9fddec1a
AJ
30920 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30921 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30922 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30923 Likewise.
30924 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30925 Likewise.
30926 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30927
30928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30929 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30930 <bits/fcntl-linux.h>.
30931 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30932
30933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30934 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30935 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30936 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30937 [__WORDSIZE != 64]: Likewise.
30938
ebfd1bbd
JM
309392012-10-23 Joseph Myers <joseph@codesourcery.com>
30940
03ac099f
JM
30941 * Makeconfig (run-built-tests): New variable.
30942 * Rules [$(cross-compiling) = yes]: Change condition to
30943 [$(run-built-tests) = no].
30944 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30945 to [$(run-built-tests) = yes].
30946 * elf/Makefile [$(cross-compiling) = no]: Likewise
30947 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30948 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30949 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30950 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30951 * io/Makefile [$(cross-compiling) = no]: Likewise.
30952 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30953 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30954 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30955 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30956 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30957 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30958 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30959 * string/Makefile [$(cross-compiling) = no]: Likewise.
30960
ebfd1bbd
JM
30961 * posix/Makefile ($(objpfx)globtest.out): Pass
30962 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30963 $(rtld-installed-name).
30964 * posix/globtest.sh (elf_objpfx): Remove variable.
30965 (rtld_installed_name): Likewise.
30966 (library_path): Likewise.
30967 (run_program_prefix): New variable. Use for running globtest
30968 binary.
30969
166bca24
JB
309702012-10-23 Jim Blandy <jimb@codesourcery.com>
30971 Joseph Myers <joseph@codesourcery.com>
30972
30973 * Makeconfig (host-built-program-cmd): New variable.
30974 * elf/Makefile (tst-stackguard1-ARGS): Use
30975 $(host-built-program-cmd).
30976 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30977 (tst-spawn-ARGS): Likewise.
30978 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30979
88866099
JM
309802012-10-23 Joseph Myers <joseph@codesourcery.com>
30981 Jim Blandy <jimb@codesourcery.com>
30982
30983 * Makeconfig (run-via-rtld-prefix): New variable.
30984 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30985 (built-program-cmd): Likewise.
30986
b4b4c296
AJ
309872012-10-22 Andreas Jaeger <aj@suse.de>
30988
30989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30990 __O_RSYNC if it exists, otherwise to O_SYNC.
30991
6fb54a22
JB
309922012-10-22 Jim Blandy <jimb@codesourcery.com>
30993 Joseph Myers <joseph@codesourcery.com>
30994
30995 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30996 /dev/null.
30997 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30998 from /dev/null
30999 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31000 /dev/null.
31001
481b90b9
AJ
310022012-10-22 Andreas Jaeger <aj@suse.de>
31003
2a0e2669
AJ
31004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31005 Define always.
31006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31007
76e38f9a
AJ
31008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31009 bits/fcntl-linux.h.
31010
7cd37b43
AJ
31011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31012 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31013
481b90b9
AJ
31014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31015 to __O_LARGEFILE.
31016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31017 to __O_LARGEFILE.
31018
aba75984
JB
310192012-10-21 Jim Blandy <jimb@codesourcery.com>
31020 Joseph Myers <joseph@codesourcery.com>
31021
31022 * config.make.in (NM): New variable.
31023
88d4247f
AJ
310242012-10-21 Andreas Jaeger <aj@suse.de>
31025
31026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31027 definitions and declarations that are provided by
31028 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31029
f2eed205
L
310302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31031
31032 [BZ #14683]
31033 * elf/Makefile (tests-static): Add tst-leaks1-static.
31034 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31035 ($(objpfx)tst-leaks1-static): New rule.
31036 ($(objpfx)tst-leaks1-static-mem): Likewise.
31037 (tst-leaks1-static-ENV): New macro.
31038 * elf/dl-open.c (dl_open_worker): Check the main application
31039 only if SHARED is defined.
31040 * elf/tst-leaks1-static.c: New file.
31041
335e6931
AJ
310422012-10-20 Andreas Jaeger <aj@suse.de>
31043
31044 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31045 generic values for Linux.
31046 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31047 and declarations that are provided by <bits/fcntl-linux.h> and
31048 include <bits/fcntl-linux.h>.
31049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31051
ac5c94d3
RM
310522012-10-20 Roland McGrath <roland@hack.frob.com>
31053
31054 * io/fcntl.h: Move include of <bits/types.h> to the top and
31055 include it unconditionally.
31056
de54b33a
L
310572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31058
228cfb01
L
31059 * wcsmbs/Makefile (tests-ifunc): New variable.
31060 (tests): Add $(tests-ifunc).
31061 * wcsmbs/test-wcschr-ifunc.c: New file.
31062 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31063 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31064 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31065 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31066 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31067
69f07e5f
L
31068 * string/Makefile (tests-ifunc): New variable.
31069 (tests): Add $(tests-ifunc).
31070 * string/test-memccpy.c (TEST_NAME): New macro.
31071 * string/test-memchr.c (TEST_NAME): Likewise.
31072 * string/test-memcmp.c (TEST_NAME): Likewise.
31073 * string/test-memcpy.c (TEST_NAME): Likewise.
31074 * string/test-memmem.c (TEST_NAME): Likewise.
31075 * string/test-memmove.c (TEST_NAME): Likewise.
31076 * string/test-memset.c (TEST_NAME): Likewise.
31077 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31078 * string/test-stpcpy.c (TEST_NAME): Likewise.
31079 * string/test-stpncpy.c (TEST_NAME): Likewise.
31080 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31081 * string/test-strcasestr.c (TEST_NAME): Likewise.
31082 * string/test-strcat.c (TEST_NAME): Likewise.
31083 * string/test-strchr.c (TEST_NAME): Likewise.
31084 * string/test-strcmp.c(TEST_NAME): Likewise.
31085 * string/test-strcpy.c (TEST_NAME): Likewise.
31086 * string/test-strcspn.c (TEST_NAME): Likewise.
31087 * string/test-strlen.c (TEST_NAME): Likewise.
31088 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31089 * string/test-strncmp.c (TEST_NAME): Likewise.
31090 * string/test-strncpy.c (TEST_NAME): Likewise.
31091 * string/test-strnlen.c (TEST_NAME): Likewise.
31092 * string/test-strpbrk.c (TEST_NAME): Likewise.
31093 * string/test-strrchr.c (TEST_NAME): Likewise.
31094 * string/test-strspn.c (TEST_NAME): Likewise.
31095 * string/test-strstr.c (TEST_NAME): Likewise.
31096 * string/test-bcopy-ifunc.c: New file.
31097 * string/test-bzero-ifunc.c: Likewise.
31098 * string/test-memccpy-ifunc.c: Likewise.
31099 * string/test-memchr-ifunc.c: Likewise.
31100 * string/test-memcmp-ifunc.c: Likewise.
31101 * string/test-memcpy-ifunc.c: Likewise.
31102 * string/test-memmem-ifunc.c: Likewise.
31103 * string/test-memmove-ifunc.c: Likewise.
31104 * string/test-mempcpy-ifunc.c: Likewise.
31105 * string/test-memset-ifunc.c: Likewise.
31106 * string/test-rawmemchr-ifunc.c: Likewise.
31107 * string/test-stpcpy-ifunc.c: Likewise.
31108 * string/test-stpncpy-ifunc.c: Likewise.
31109 * string/test-strcasecmp-ifunc.c: Likewise.
31110 * string/test-strcasestr-ifunc.c: Likewise.
31111 * string/test-strcat-ifunc.c: Likewise.
31112 * string/test-strchr-ifunc.c: Likewise.
31113 * string/test-strchrnul-ifunc.c: Likewise.
31114 * string/test-strcmp-ifunc.c: Likewise.
31115 * string/test-strcpy-ifunc.c: Likewise.
31116 * string/test-strcspn-ifunc.c: Likewise.
31117 * string/test-strlen-ifunc.c: Likewise.
31118 * string/test-strncasecmp-ifunc.c: Likewise.
31119 * string/test-strncat-ifunc.c: Likewise.
31120 * string/test-strncmp-ifunc.c: Likewise.
31121 * string/test-strncpy-ifunc.c: Likewise.
31122 * string/test-strnlen-ifunc.c: Likewise.
31123 * string/test-strpbrk-ifunc.c: Likewise.
31124 * string/test-strrchr-ifunc.c: Likewise.
31125 * string/test-strspn-ifunc.c: Likewise.
31126 * string/test-strstr-ifunc.c: Likewise.
31127
de54b33a
L
31128 * debug/Makefile (tests-ifunc): New variable.
31129 (tests): Add $(tests-ifunc).
31130 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31131 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31132 * debug/test-stpcpy_chk-ifunc.c: New file.
31133 * debug/test-strcpy_chk-ifunc.c: Likewise.
31134
88481c16
SP
311352012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31136
31137 [BZ #13601]
31138 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31139 header is not read in.
31140
135948bd
JM
311412012-10-19 Joseph Myers <joseph@codesourcery.com>
31142
89f1c388
JM
31143 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31144 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31145 directly. Pass built executable to script as
31146 $(built-program-cmd).
31147 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31148 $testprogram without using LD_LIBRARY_PATH and $ldso.
31149
e40a0d21
JM
31150 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31151 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31152 $(rtld-installed-name).
31153 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31154 (rtld_installed_name): Likewise.
31155 (library_path): Likewise.
31156 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31157 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31158 $(run-program-prefix) to tst-tables.sh.
31159 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31160 it to run tst-table-from and tst-table-to.
31161 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31162 Pass it to tst-table.sh.
31163 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31164 $(run-program-prefix) to tst-gettext.sh.
31165 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31166 tst-translit.sh.
31167 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31168 tst-gettext2.sh.
31169 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31170 to run tst-gettext.
31171 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31172 to run tst-gettext2.
31173 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31174 to run tst-translit.
31175 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31176 $(run-program-prefix) to tst-mtrace.sh.
31177 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31178 to run tst-mtrace.
31179 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31180 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31181 $(rtld-installed-name).
31182 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31183 (rtld_installed_name): Likewise.
31184 (run_program_prefix): New variable. Use it to run wordexp-test.
31185
728e272a
JM
31186 * Makeconfig (ARCH): Remove all definitions.
31187 (machine): Likewise.
31188 [ARCH]: Remove conditional code.
31189 [!objdir]: Give error.
31190 [!objdir] (objpfx): Remove.
31191 [!objdir] (common-objpfx): Likewise.
31192 [!objdir] (common-objdir): Likewise.
31193 * configure.in (config_makefile): Remove. Hardcode Makefile in
31194 AC_CONFIG_FILES call.
31195 * configure: Regenerated.
31196
d528cdcf
JM
31197 [BZ #13888]
31198 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31199 or TMPDIR.
31200 (testout): Likewise.
31201
135948bd
JM
31202 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31203 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31204 $(rtld-installed-name).
31205 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31206 (rtld_installed_name): Likwise.
31207 (runit): Remove function.
31208 (run_getconf): New variable, Use it for running getconf binary.
31209
38c78296
L
312102012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31211
31212 [BZ #14716]
31213 * string/test-memmem.c (check_result): New function.
31214 (do_one_test): Use it.
31215 (check1): New function.
31216 (test_main): Use it.
31217
d077f65f
MT
312182012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31219
31220 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31221
ced52c71
JM
312222012-10-18 Joseph Myers <joseph@codesourcery.com>
31223
31224 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31225 (_G_LSEEK64): Likewise.
31226 (_G_MMAP64): Likewise.
31227 (_G_FSTAT64): Likewise.
31228 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31229 (_G_LSEEK64): Likewise.
31230 (_G_MMAP64): Likewise.
31231 (_G_FSTAT64): Likewise.
31232 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31233 unconditional. Call __mmap64 directly.
31234 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31235 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31236 __lseek64 directly.
31237 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31238 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31239 __mmap64 directly.
31240 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31241 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31242 __lseek64 directly.
31243 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31244 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31245 __lseek64 directly.
31246 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31247 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31248 __lseek64 directly.
31249 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31250 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31251 __fxstat64 directly.
31252 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31253 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31254 unconditional.
31255 (freopen64) [!_G_OPEN64]: Remove conditional code.
31256 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31257 unconditional.
31258 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31259 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31260 unconditional.
31261 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31262 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31263 unconditional.
31264 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31265 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31266 unconditional.
31267 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31268 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31269 unconditional.
31270 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31271 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31272 unconditional.
31273 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31274 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31275 unconditional.
31276 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31277
b741de23
SP
312782012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31279
31280 [BZ #12140]
31281 * manual/memory.texi (Malloc Tunable Parameters): Add note
31282 about free list pointers overwriting some perturb bytes.
31283 Wording suggested by Roland McGrath.
31284
f9b9d9c9
JM
312852012-10-17 Joseph Myers <joseph@codesourcery.com>
31286
31287 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31288 (lgamma_test): Likewise.
31289 (tgamma_test): Likewise.
31290
172a631a
FW
312912012-10-16 Florian Weimer <fweimer@redhat.com>
31292
31293 [BZ #14700]
31294 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31295 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31296
e9f37252
MK
312972012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31298
31299 * NEWS: Mention BZ #14716.
31300 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31301 when removing AVAILABLE1_USES_J macro.
31302
d394eb74
L
313032012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31304
31305 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31306 (__bswap_64): __uint64_t for unsigned 64-bit int.
31307
ca38dc17
AS
313082012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31309
31310 * include/string.h (memmem): Declare libc hidden alias.
31311 * string/memmem.c (memmem): Define libc hidden alias.
31312 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31313 __read, __close instead of open, read, close.
31314
9a387d1f
L
313152012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31316
ac49ecaf
L
31317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31318 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31319 global and hidden.
31320 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31321 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31322 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31323 Likewise.
31324 (__rawmemchr_sse2): Likewise.
31325 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31326 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31327 (__strchr_sse2): Likewise.
31328 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31329 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31330 (__strcasecmp_sse2): Likewise.
31331 (__strncasecmp_sse2): Likewise.
31332 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31333 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31334 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31335 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31336 (__strrchr_sse2): Likewise.
31337 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31338 ifunc-impl-list.c.
31339 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31340 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31341 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31342 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31343 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31345 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31346 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31347 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31348 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31349 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31350 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31351 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31352 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31353 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31354 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31355 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31356 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31357 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31358 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31359 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31360 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31361 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31362 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31363 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31364 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31365 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31366 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31367 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31368 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31369
b090e8ea
L
31370 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31371 global and hidden.
31372 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31373 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31374 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31375 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31376 Likewise.
31377 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31378 Likewise.
31379 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31380 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31381 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31382 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31383 ifunc-impl-list.c.
31384 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31390 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31392 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31394 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31398 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31402 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31411 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31412 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31413 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31414 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31415 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31416 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31417 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31418 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31419 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31420 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31421 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31422 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31423 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31424 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31425
11dd4af6
L
31426 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31427 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31428 * include/ifunc-impl-list.h: New file.
31429 * misc/ifunc-impl-list.c: Likewise.
31430 * misc/Makefile (routines): Add ifunc-impl-list.
31431 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31432 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31433 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31434 TEST_NAME]: New variables.
11dd4af6
L
31435 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31436 are defined.
31437 (test_init): Call __libc_ifunc_impl_list to initialize
31438 func_list if TEST_IFUNC and TEST_NAME are defined.
31439
9a387d1f
L
31440 * string/Makefile (strop-tests): Add bcopy and bzero.
31441 * string/test-bcopy.c: New file.
31442 * string/test-bzero.c: Likewise.
31443 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31444 defined.
31445 * string/test-memset.c: Support bzero test if TEST_BZERO is
31446 defined.
31447 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31448 __libc_memmove.
31449 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31450 __libc_memset.
31451 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31452 of memset.
31453
472371b9
JM
314542012-10-10 Joseph Myers <joseph@codesourcery.com>
31455
1e4a9536
JM
31456 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31457 * configure: Regenerated.
31458
d173d12e
JM
31459 * Makeconfig (+link-static-before-libc): Don't include
31460 $(link-static-libc).
31461
472371b9
JM
31462 * libio/libio.h (_IO_pos_t): Remove.
31463
89a3ad0b
AO
314642012-10-10 Alexandre Oliva <aoliva@redhat.com>
31465
31466 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31467 McGrath.
31468
e7451425
AO
314692012-10-10 Alexandre Oliva <aoliva@redhat.com>
31470
31471 * crypt/crypt-entry.c: Include fips-private.h.
31472 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31473 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31474 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31475 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31476
4ba74a35
AO
314772012-10-10 Alexandre Oliva <aoliva@redhat.com>
31478
31479 * crypt/crypt-private.h: Include stdbool.h.
31480 (_ufc_setup_salt_r): Return bool.
31481 * crypt/crypt-entry.c: Include errno.h.
31482 (__crypt_r): Return NULL with EINVAL for bad salt.
31483 * crypt/crypt_util.c (bad_for_salt): New.
31484 (_ufc_setup_salt_r): Check that salt is long enough and within
31485 the specified alphabet.
31486 * crypt/badsalttest.c: New file.
31487 * crypt/Makefile (tests): Add it.
31488 ($(objpfx)badsalttest): New.
31489
f96f1242
MK
314902012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31491
31492 * NEWS: Add entry for BZ #14602.
31493
0e8e0c1c
JM
314942012-10-09 Joseph Myers <joseph@codesourcery.com>
31495
31496 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31497 type-generic.
31498 * math/libm-test.inc: Update comment listing what functions and
31499 macros are tested.
31500 (isgreater_test): New function.
31501 (isgreaterequal_test): Likewise.
31502 (isless_test): Likewise.
31503 (islessequal_test): Likewise.
31504 (islessgreater_test): Likewise.
31505 (isunordered_test): Likewise.
31506 (main): Call the new functions.
31507
273edc5e
RM
315082012-10-09 Roland McGrath <roland@hack.frob.com>
31509
b8493de0
RM
31510 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31511 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31512 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31513 * sysdeps/i386/configure: Regenerated.
31514 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31515 * sysdeps/mach/configure: Regenerated.
31516 * sysdeps/mach/hurd/configure: Regenerated.
31517 * sysdeps/powerpc/configure: Regenerated.
31518 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31519 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31520 * sysdeps/s390/s390-32/configure: Regenerated.
31521 * sysdeps/s390/s390-64/configure: Regenerated.
31522 * sysdeps/sh/configure: Regenerated.
31523 * sysdeps/sparc/configure: Regenerated.
31524 * sysdeps/unix/sysv/linux/configure: Regenerated.
31525 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31526 * sysdeps/x86_64/configure: Regenerated.
31527
273edc5e
RM
31528 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31529 defined. Don't check if MAP is NULL.
31530
c8450f70
JM
315312012-10-09 Joseph Myers <joseph@codesourcery.com>
31532
31533 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31534 (_G_stat64): Likewise.
31535 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31536 (_G_stat64): Likewise.
31537 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31538 instead of struct _G_stat64.
31539 * libio/fileops.c (mmap_remap_check): Likewise.
31540 (decide_maybe_mmap): Likewise.
31541 (_IO_new_file_seekoff): Likewise.
31542 (_IO_file_stat): Likewise.
31543 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31544 _G_off64_t.
31545 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31546 instead of struct _G_stat64.
31547 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31548
57e605ba
MK
315492012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31550
31551 [BZ #14602]
31552 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31553 Replace with ...
31554 (CHECK_EOL): New macro.
31555 (two_way_short_needle): Check beginning of haystack for EOL. Use
31556 CHECK_EOL.
31557 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31558 Replace with CHECK_EOL.
31559 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31560 Replace with CHECK_EOL.
31561
ef1bb361
JM
315622012-10-08 Joseph Myers <joseph@codesourcery.com>
31563
31564 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31565 type-generic.
31566 * math/libm-test.inc: Update comment listing what functions and
31567 macros are tested.
31568 (finite_test): New function.
31569 (isinf_test): Likewise.
31570 (isnan_test): Likewise.
31571 (fpclassify_test): Test subnormal input.
31572 (isfinite_test): Likewise.
31573 (isnormal_test): Likewise.
31574 (main): Call the new functions.
31575
55f11534
JN
315762012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31577
31578 [BZ #14660]
31579 * Makerules (%.dynsym): Force C locale when running
31580 $(OBJDUMP) --dynamic-syms.
31581
1ab29350
AS
315822012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31583
31584 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31585 <stdint.h>.
31586
f1ecb7ef
DM
315872012-10-06 David S. Miller <davem@davemloft.net>
31588
31589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31590 upper 32-bits of the length value in %o2 since we use branch-on-register
31591 tests which consider the entire 64-bit register.
31592
5d41d91a
L
315932012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31594
31595 * string/test-strstr.c (check2): Add a test for page boundary.
31596
3baddb72
DM
315972012-10-05 David S. Miller <davem@davemloft.net>
31598
31599 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31600 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31601 file.
31602 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31603 sysdep_routines.
31604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31605 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31606 and bzero when HWCAP_SPARC_CRYPTO is present.
31607
9cee5585
L
316082012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31609
d7e0dab9
L
31610 [BZ #14602]
31611 * string/test-strstr.c (check2): New function.
31612 (test_main): Call check2.
31613
03759f47
L
31614 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31615 and bug-strchr1.
31616 * string/bug-strcasestr1.c (do_test): Moved to ...
31617 * string/test-strcasestr.c (check1): Here. New function.
31618 (do_one_test): Break out result checking code into ...
31619 (check_result): This. New function.
31620 (do_one_test): Call check_result.
31621 (test_main): Call check1.
31622 * string/bug-strchr1.c (do_test): Moved to ...
31623 * string/test-strchr.c (check1): Here. New function.
31624 (do_one_test): Break out result checking code into ...
31625 (check_result): This. New function.
31626 (do_one_test): Call check_result.
31627 (test_main): Call check1.
31628 * string/bug-strstr1.c (main): Moved to ...
046f153e 31629 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31630 (do_one_test): Break out result checking code into ...
31631 (check_result): This. New function.
31632 (do_one_test): Call check_result.
31633 (test_main): Call check1.
31634 * string/bug-strcasestr1.c: Removed.
31635 * string/bug-strchr1.c: Likewise.
31636 * string/bug-strstr1.c: Likewise.
31637
53cea63e
L
31638 * elf/Makefile (dl-routines): Add hwcaps.
31639 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31640 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31641 (_dl_important_hwcaps): Moved to ...
31642 * elf/dl-hwcaps.c: Here. New file.
31643 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31644
9cee5585 31645 [BZ #14557]
bb859b06
L
31646 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31647 if IS_IN_rtld isn't defined.
31648
9cee5585
L
31649 * elf/dl-support.c (_dl_sysinfo_map): New.
31650 Include "get-dynamic-info.h" and "setup-vdso.h".
31651 (_dl_non_dynamic_init): Call setup_vdso.
31652 * elf/dynamic-link.h: Don't include <assert.h>.
31653 (elf_get_dynamic_info): Moved to ...
31654 * elf/get-dynamic-info.h: Here. New file.
31655 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31656 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31657 * elf/setup-vdso.h: Here. New file.
31658 * elf/rtld.c: Include "setup-vdso.h".
31659 (dl_main): Call setup_vdso.
31660
23c31b76
JM
316612012-10-05 Joseph Myers <joseph@codesourcery.com>
31662
28234b07
JM
31663 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31664 creal in comment listing functions tested. List finite, isinf,
31665 isnan, isless, islessequal, isgreater, isgreaterequal,
31666 islessgreater, isunordered, lgamma_r and pow10 as functions and
31667 macros not tested. Mention which functions not tested are aliases
31668 for other functions. Fix typo. Note that signs of NaNs are not
31669 tested.
31670
23c31b76
JM
31671 * scripts/config.guess: Update from config.git.
31672 * scripts/config.sub: Likewise.
31673
9043e228
RM
316742012-10-04 Roland McGrath <roland@hack.frob.com>
31675
31676 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31677 * misc/madvise.c (madvise): Renamed to __madvise.
31678 Make madvise a weak alias.
31679 * include/sys/mman.h: Declare __madvise.
31680 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31681 * sysdeps/unix/syscalls.list
31682 (madvise): Make __madvise the strong name, and madvise a weak alias.
31683 * sysdeps/unix/sysv/linux/syscalls.list
31684 (madvise, mmap): Remove redundant entries.
31685 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31686 * malloc/malloc.c (mtrim): Likewise.
31687 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31688
f57f8055
RM
316892012-10-03 Roland McGrath <roland@hack.frob.com>
31690
31691 * sysdeps/mach/hurd/dl-cache.c: File removed.
31692 * config.h.in (USE_LDCONFIG): New #undef.
31693 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31694 * configure: Regenerated.
31695 * elf/Makefile (dl-routines): Add dl-cache only under
31696 [$(use-ldconfig) = yes].
31697 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31698 cache on [USE_LDCONFIG].
31699 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31700 [USE_LDCONFIG].
31701 * elf/rtld.c (dl_main): Likewise.
31702
5bb0c10a
PT
317032012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31704
31705 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31706 _SC_LEVEL4_CACHE_LINESIZE.
31707
010188c6
RM
317082012-10-03 Roland McGrath <roland@hack.frob.com>
31709
31710 * sysdeps/unix/bsd/confstr.h: File removed.
31711
b6c5ec07
AO
317122012-10-02 Alexandre Oliva <aoliva@redhat.com>
31713
31714 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31715 sys/sdt-config.h.
31716
408223d4
RM
317172012-10-02 Roland McGrath <roland@hack.frob.com>
31718
31719 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31720 Make 'mapoff' field ElfW(Off) rather than off_t.
31721
bb9510dc
DL
317222012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31723
fc997c6e
DL
31724 * nscd/Makefile: Remove nscd-cflags and all its users.
31725 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31726 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31727
bb9510dc
DL
31728 [BZ #10631]
31729 * malloc.c (malloc_printerr): Clarify error message.
31730
05699367
L
317312012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31732
31733 [BZ #14648]
31734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31735 Set bit_FMA_Usable if FMA is supported.
31736 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31737 macro.
31738 (bit_FMA4_Usable): Updated.
31739 (index_FMA_Usable): New macro.
31740 (CPUID_FMA): Likewise
31741 (HAS_FMA): Defined with bit_FMA_Usable.
31742
51367701
RM
317432012-10-01 Roland McGrath <roland@hack.frob.com>
31744
31745 * bits/types.h (__swblk_t): Type removed.
31746 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31747 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31748 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31749 (__SWBLK_T_TYPE): Likewise.
31750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31751 (__SWBLK_T_TYPE): Likewise.
31752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31753 (__SWBLK_T_TYPE): Likewise.
31754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31755 (__SWBLK_T_TYPE): Likewise.
31756
4d57bf63 317572012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31758 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31759
31760 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31761 (xdr_mapname): Use YPMAXMAP as maxsize.
31762 (xdr_peername): Use YPMAXPEER as maxsize.
31763 (xdr_keydat): Use YPAXRECORD as maxsize.
31764 (xdr_valdat): Use YPMAXRECORD as maxsize.
31765
93c65d43
RM
317662012-10-01 Roland McGrath <roland@hack.frob.com>
31767
497a03d6
RM
31768 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31769
93c65d43
RM
31770 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31771 * csu/init-first.c: ... here.
31772 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31773 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31774 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31775 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31776 * sysdeps/i386/init-first.c: File removed.
31777 * sysdeps/sh/init-first.c: File removed.
31778
bec749fd
JM
317792012-10-01 Joseph Myers <joseph@codesourcery.com>
31780
31781 [BZ #14645]
31782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31783 if x * y might underflow to zero and z is zero.
31784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31786 * math/libm-test.inc (min_subnorm_value): New variable.
31787 (fma_test): Add more tests.
31788 (fma_test_towardzero): Likewise.
31789 (fma_test_downward): Likewise
31790 (fma_test_upward): Likewise.
31791 (initialize): Set min_subnorm_value.
31792
8ec5b013
JM
317932012-09-29 Joseph Myers <joseph@codesourcery.com>
31794
31795 [BZ #14638]
31796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31797 0 + 0.
31798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31799 mode for addition resulting in exact zero.
31800 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31802 exact 0 + 0.
31803 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31805 * math/libm-test.inc (fma_test): Add more tests.
31806 (fma_test_towardzero): New function.
31807 (fma_test_downward): Likewise.
31808 (fma_test_upward): Likewise.
31809 (main): Call the new functions.
31810
b1fa802e
DM
318112012-09-28 David S. Miller <davem@davemloft.net>
31812
31813 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31814
d3b9fd9e
RM
318152012-09-28 Roland McGrath <roland@hack.frob.com>
31816
ea4d37b3
RM
31817 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31818 instead of SIGALRM.
31819
ac51c949
RM
31820 * sysdeps/gnu/_G_config.h: Moved to ...
31821 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31822 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31823 * sysdeps/generic/_G_config.h: ... here.
31824
28c195f7
RM
31825 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31826
848917f9
RM
31827 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31828
6bacf05b
RM
31829 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31830 Conditionalize target on [libnss_test1.so-version].
31831
91363dbb
RM
31832 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31833
cc87f7d8
RM
31834 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31835 (elfobjdir): Move out of conditionals.
31836
b1c608fe
RM
31837 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31838 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31839 (__nss_lookup_function): Conditionalize label remove_from_tree on
31840 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31841
1d9a6d96
DM
318422012-09-28 David S. Miller <davem@davemloft.net>
31843
31844 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31845 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31846 file.
31847 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31848 sysdep_routines.
31849 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31851 when HWCAP_SPARC_CRYPTO is present.
31852
72581615
PT
318532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31854
31855 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31856
715a900c
JL
318572012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31858
31859 [BZ #6530]
31860 * stdio-common/vfprintf.c (process_string_arg): Revert
31861 2000-07-22 change.
31862
318632011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31864
31865 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31866 for testcase.
31867 * stdio-common/tst-sprintf.c: Include <locale.h>
31868 (main): Test sprintf's handling of incomplete multibyte
31869 characters.
31870
9bac1d86
L
318712012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31872
31873 * elf/dl-runtime.c (VERSYMIDX): Removed.
31874 * elf/dl-version.c (VERSYMIDX): Likewise.
31875 * elf/do-rel.h (VERSYMIDX): Likewise.
31876 (VALIDX): Likewise.
31877 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31878 * elf/rtld.c (VALIDX): Likewise.
31879 (ADDRIDX): Likewise.
9bac1d86
L
31880 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31881 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31882 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31883 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31884 (VALIDX): Likewise.
31885 (ADDRIDX): Likewise.
9bac1d86 31886
b31606c0
PT
318872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31888
31889 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31890
11541177
JL
318912012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31892
31893 [BZ #11438]
31894 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31895 to global scope.
31896 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31897 addresses are in the same scope as 192.0.2/24.
31898 * posix/gai.conf: Document new scope table defaults.
31899
adb26fae
SP
319002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31901
31902 [BZ #5298]
31903 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31904 for ftell. Compute offsets from write pointers instead.
31905 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31906
4573c6b0
SP
319072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31908
31909 [BZ #14543]
31910 * libio/Makefile (tests): New test case tst-fseek.
31911 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31912 combination works in wide mode.
31913 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31914 state when the external buffer state changes.
31915
aa9bbfe6
DM
319162012-09-27 David S. Miller <davem@davemloft.net>
31917
31918 [BZ #14376]
31919 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31920 pass reloc->r_addend in as the 'high' argument to
31921 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31922
784421e7
DM
31923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31924
c39bc8b8
PT
319252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31926
31927 * rt/tst-aio2.c: Include <pthread.h>.
31928 * rt/tst-aio3.c: Likewise.
31929
1ccc2399
SE
319302012-09-27 Steve Ellcey <sellcey@mips.com>
31931
31932 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31933
31ed4153
L
319342012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31935
25f5f885
L
31936 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31937 contents on [SHARED].
31ed4153 31938
b7bfe116
MP
319392012-09-26 Marek Polacek <polacek@redhat.com>
31940
31941 [BZ #14530]
31942 [BZ #13741]
31943 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31944 for C++ and GCC <4.3 as well as for non GCC compilers.
31945
43c4edba
MT
319462012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31947
31948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31949
6a1bf82f
RM
319502012-09-25 Roland McGrath <roland@hack.frob.com>
31951
31952 * Makefile.in (all, install): Declare with .PHONY.
31953 Reported by Michael Hope <michael.hope@linaro.org>.
31954
8ad11b9a
TMQMF
319552012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31956
31957 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31958 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31959 system header.
31960 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31961 Likewise.
31962 (sydep_routines): Add the new and the internal functions.
31963 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31964 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31966 (GLIBC_2.17): Add the new function.
31967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31968 (GLIBC_2.17): Likewise.
31969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31970 (GLIBC_2.17): Likewise.
31971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31972 (GLIBC_2.17): Likewise.
31973 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31974
7e2fca8d
AM
319752012-09-25 Alan Modra <amodra@gmail.com>
31976
31977 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31978 Add release barrier before setting once_control to say
31979 initialisation is done. Add hints on lwarx. Use macro in
31980 place of isync.
31981 (clear_once_control): Add release barrier.
31982
b87c4b24
JM
319832012-09-25 Joseph Myers <joseph@codesourcery.com>
31984
d032e0d2
JM
31985 [BZ #13629]
31986 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31987 specially.
31988 * math/s_clog10.c (__clog10): Likewise.
31989 * math/s_clog10f.c (__clog10f): Likewise.
31990 * math/s_clog10l.c (__clog10l): Likewise.
31991 * math/s_clogf.c (__clogf): Likewise.
31992 * math/s_clogl.c (__clogl): Likewise.
31993 * math/Makefile (libm-calls): Add x2y2m1.
31994 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31995 (__x2y2m1): Likewise.
31996 (__x2y2m1l): Likewise.
31997 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31998 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31999 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32000 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32001 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32002 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32003 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32004 * sysdeps/i386/fpu/libm-test-ulps: Update.
32005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32006
b87c4b24
JM
32007 [BZ #14621]
32008 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32009 int as type of variable DEPTH.
32010 (glob): Use size_t instead of int as type of variables NEWCOUNT
32011 and OLD_PATHC.
32012
6d3bf199
LD
320132012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32014
22bf5c17
LD
32015 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32016 Add s_sincosf-sse2.
32017 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32018 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32019 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32020 macros for using routine as __sincosf_ia32.
32021 Use macro for function declaration and weak_alias.
32022 * sysdeps/i386/fpu/libm-test-ulps: Update.
32023
32024 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32026
32027 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32028 subnormal argument.
32029 * math/s_cexpf.c (__cexpf): Likewise.
32030 * math/s_csinf.c (__csinf): Likewise.
32031 * math/s_csinhf.c (__csinhf): Likewise.
32032 * math/s_ctanf.c (__ctanf): Likewise.
32033 * math/s_ctanhf.c (__ctanhf): Likewise.
32034 * math/s_ccosh.c (__ccoshf): Likewise.
32035 * math/s_cexp.c (__cexpl): Likewise.
32036 * math/s_csin.c (__csin): Likewise.
32037 * math/s_csinh.c (__csinh): Likewise.
32038 * math/s_ctan.c (__ctan): Likewise.
32039 * math/s_ctanh.c (ctanh): Likewise.
32040 * math/s_ccoshl.c (__ccoshl): Likewise.
32041 * math/s_cexpl.c (__cexpl): Likewise.
32042 * math/s_csinl.c (__csinl): Likewise.
32043 * math/s_csinhl.c (__csinhl): Likewise.
32044 * math/s_ctanl.c (__ctanl): Likewise.
32045 * math/s_ctanhl.c (__ctanhl): Likewise.
32046
203e5603
JM
320472012-09-25 Joseph Myers <joseph@codesourcery.com>
32048
32049 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32050 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32051 (_IO_off_t): Define to __off_t, not _G_off_t.
32052 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32053 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32054 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32055 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32056 type of __dummy and __dummy2 fields.
32057 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32058 (_G_ssize_t): Likewise.
32059 (_G_off_t): Likewise.
32060 (_G_pid_t): Likewise.
32061 (_G_uid_t): Likewise.
32062 (_G_wchar_t): Likewise.
32063 (_G_wint_t): Likewise.
32064 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32065 (_G_ssize_t): Likewise.
32066 (_G_off_t): Likewise.
32067 (_G_pid_t): Likewise.
32068 (_G_uid_t): Likewise.
32069 (_G_wchar_t): Likewise.
32070 (_G_wint_t): Likewise.
32071 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32072 (_G_ssize_t): Likewise.
32073 (_G_off_t): Likewise.
32074 (_G_pid_t): Likewise.
32075 (_G_uid_t): Likewise.
32076 (_G_wchar_t): Likewise.
32077 (_G_wint_t): Likewise.
32078
9fab36eb
SP
320792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32080
32081 * malloc/arena.c: Include malloc-sysdep.h.
32082 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32083 is sufficient to shrink the heap or an unmap is needed.
32084 * sysdeps/generic/malloc-sysdep.h: New file. Define
32085 new function check_may_shrink_heap.
32086 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32087 new function check_may_shrink_heap.
32088
2b4f00d1
SP
320892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32090
32091 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32092 comments.
32093
9a9028b1
DL
320942012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32095
57c69bef
DL
32096 * catgets/test-gencat.sh: Add "set -e".
32097 * elf/tst-pathopt.sh: Likewise.
32098 * grp/tst_fgetgrent.sh: Likewise.
32099 * iconvdata/run-iconv-test.sh: Likewise.
32100 * intl/tst-gettext.sh: Likewise.
32101 * intl/tst-gettext2.sh: Likewise.
32102 * intl/tst-gettext4.sh: Likewise.
32103 * intl/tst-gettext6.sh: Likewise.
32104 * intl/tst-translit.sh: Likewise.
32105 * io/ftwtest-sh: Likewise.
32106 * libio/test-freopen.sh: Likewise.
32107 * malloc/tst-mtrace.sh: Likewise.
32108 * posix/globtest.sh: Likewise.
32109 * posix/tst-getconf.sh: Likewise.
32110 * posix/wordexp-tst.sh: Likewise.
32111 * stdio-common/tst-printf.sh: Likewise.
32112 * stdio-common/tst-unbputc.sh: Likewise.
32113 * stdlib/tst-fmtmsg.sh: Likewise.
32114 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32115 * catgets/Makefile: Do not specify -e option when running
32116 testsuite shell scripts.
32117 * elf/Makefile: Likewise.
32118 * grp/Makefile: Likewise.
32119 * iconvdata/Makefile: Likewise.
32120 * intl/Makefile: Likewise.
32121 * io/Makefile: Likewise.
32122 * libio/Makefile: Likewise.
32123 * malloc/Makefile: Likewise.
32124 * posix/Makefile: Likewise.
32125 * stdio-common/Makefile: Likewise.
32126 * stdlib/Makefile: Likewise.
32127 * sysdeps/x86_64/Makefile: Likewise.
32128
9a9028b1
DL
32129 * io/ftwtest-sh: Add copyright header.
32130 * posix/globtest.sh: Likewise.
32131 * posix/tst-getconf.sh: Likewise.
32132 * posix/wordexp-tst.sh: Likewise.
32133 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32134
ced6f16e
L
321352012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32136
94b32c39
L
32137 [BZ #13679]
32138 * Makeconfig (+link): Defined as $(+link-static) if
32139 $(build-shared) isn't yes.
32140 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32141 isn't yes.
32142 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32143
189e935b
L
32144 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32145
ced6f16e
L
32146 [BZ #14562]
32147 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32148 new chunk size with MALLOC_ALIGN_MASK.
32149
a9f8e53a
JM
321502012-09-24 Joseph Myers <joseph@codesourcery.com>
32151
32152 [BZ #5044]
32153 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32154 <rounding-mode.h>.
32155 (__printf_fphex): Determine rounding using get_rounding_mode and
32156 round_away.
32157 * stdio-common/tst-printf-round.c (struct hex_test): New
32158 structure.
32159 (hex_tests): New variable.
32160 (test_hex_in_one_mode): New function.
32161 (do_test): Also run tests for hex float output.
32162
43153109
JM
321632012-09-21 Joseph Myers <joseph@codesourcery.com>
32164
32165 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32166 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32167 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32168 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32169 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32170 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32171 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32172 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32173
8a26625d
JM
321742012-09-20 Joseph Myers <joseph@codesourcery.com>
32175
32176 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32177 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32178 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32179 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32180
f3fd569c
DL
321812012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32182
32183 [BZ #14579]
32184 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32185 mode only.
32186 * elf/tst-rtld-load-self.sh: New test.
32187 * elf/Makefile: Run it.
32188
63bbedd4
JM
321892012-09-18 Joseph Myers <joseph@codesourcery.com>
32190
32191 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32192 (tst-writev-ENV): Remove.
32193 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32194
626f8b6a
CM
321952012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32196
32197 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32198
b7aaa4d6
JM
321992012-09-17 Joseph Myers <joseph@codesourcery.com>
32200
32201 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32202 unconditional.
32203 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32204 Likewise.
32205 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32206 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32207 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32208 Likewise.
32209
65513990
L
322102012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 [BZ #14587]
32213 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32214 * config.make.in (have-cpp-asm-debuginfo): Removed.
32215 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32216 * configure: Regenerated.
32217
784761be
JM
322182012-09-14 Joseph Myers <joseph@codesourcery.com>
32219
32220 [BZ #5044]
32221 * stdio-common/printf_fp.c: Include <stdbool.h> and
32222 <rounding-mode.h>.
32223 (___printf_fp): Determine rounding using get_rounding_mode and
32224 round_away.
32225 * stdio-common/tst-printf-round.c: New file.
32226 * stdio-common/Makefile (tests): Add tst-printf-round.
32227 (link-libm): New variable.
32228 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32229
9503345f
L
322302012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32231
32232 [BZ #14576]
32233 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32234 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32235 Likewise.
32236 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32237 Likewise.
32238
ad35fc00
JM
322392012-09-13 Joseph Myers <joseph@codesourcery.com>
32240
32241 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32242 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32243 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32244 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32245
6c9b0f68
JM
322462012-09-12 Joseph Myers <joseph@codesourcery.com>
32247
32248 [BZ #14518]
32249 * include/rounding-mode.h: New file.
32250 * sysdeps/generic/get-rounding-mode.h: Likewise.
32251 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32252 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32253 (MAX_VALUE): New macro.
32254 (MIN_VALUE): Likewise.
32255 (overflow_value): New function.
32256 (underflow_value): Likewise.
32257 (round_and_return): Use overflow_value and underflow_value to
32258 determine return values in overflow and underflow cases. Use
32259 round_away to determine rounding depending on rounding mode.
32260 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32261 determine return values in overflow and underflow cases.
32262 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32263 (struct test_results): New structure.
32264 (struct test): Use struct test_results to store expected results
32265 for all rounding modes.
32266 (TEST): Include expected results for all rounding modes.
32267 (test_in_one_mode): New function.
32268 (do_test): Use test_in_one_mode to compute and check results.
32269 Check results for all rounding modes.
32270 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32271 $(link-libm).
32272
19fcedd5
AM
322732012-12-09 Allan McRae <allan@archlinux.org>
32274
1e9d84cd 32275 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32276
8bbfd2f1
JM
322772012-09-11 Joseph Myers <joseph@codesourcery.com>
32278
32279 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32280 (_G_int32_t): Likewise.
32281 (_G_uint16_t): Likewise.
32282 (_G_uint32_t): Likewise.
32283 (_G_HAVE_BOOL): Likewise.
32284 (_G_HAVE_ATEXIT): Likewise.
32285 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32286 (_G_HAVE_IO_FILE_OPEN): Likewise.
32287 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32288 (_G_int32_t): Likewise.
32289 (_G_uint16_t): Likewise.
32290 (_G_uint32_t): Likewise.
32291 (_G_HAVE_BOOL): Likewise.
32292 (_G_HAVE_ATEXIT): Likewise.
32293 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32294 (_G_HAVE_IO_FILE_OPEN): Likewise.
32295 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32296 (_G_int32_t): Likewise.
32297 (_G_uint16_t): Likewise.
32298 (_G_uint32_t): Likewise.
32299 (_G_HAVE_BOOL): Likewise.
32300 (_G_HAVE_ATEXIT): Likewise.
32301 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32302 (_G_HAVE_IO_FILE_OPEN): Likewise.
32303
b1dc5912
L
323042012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32305
32306 * csu/libc-tls.c: Update copyright years.
32307
0e886ef9
JM
323082012-09-10 Joseph Myers <joseph@codesourcery.com>
32309
28361c5e
JM
32310 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32311 [!_G_USING_THUNKS]: Remove conditional code.
32312 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32313 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32314
0e886ef9
JM
32315 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32316 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32317 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32318 (_G_VTABLE_LABEL_PREFIX): Likewise.
32319 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32320 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32321 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32322 (_G_VTABLE_LABEL_PREFIX): Likewise.
32323 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32324 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32325 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32326 (_G_VTABLE_LABEL_PREFIX): Likewise.
32327 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32328
bcba7aa2
L
323292012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32330
32331 * libio/Makefile: Include ../Makeconfig before tests.
32332 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32333 only if $(build-shared) is yes.
32334
06585ee8
L
32335 * iconv/gconv_db.c: Update copyright years.
32336
80ccd52c
LD
323372012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32338
32339 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32340 unwind info if defined PIC. Fix special cases description.
32341 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32342
32343 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32344 DP_HI_MASK entry.
32345 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32346
691bc9c1
L
323472012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32348
3d9b46b3
L
32349 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32350
de2139a9
L
32351 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32352 is NULL.
32353
5ca78dd0
L
32354 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32355 (LDLIBS-tst-chk4): This.
32356 (LDFLAGS-tst-chk5): Renamed to ...
32357 (LDLIBS-tst-chk5): This.
32358 (LDFLAGS-tst-chk6): Renamed to ...
32359 (LDLIBS-tst-chk6): This.
32360 (LDFLAGS-tst-lfschk4): Renamed to ...
32361 (LDLIBS-tst-lfschk4): This.
32362 (LDFLAGS-tst-lfschk5): Renamed to ...
32363 (LDLIBS-tst-lfschk5): This.
32364 (LDFLAGS-tst-lfschk6): Renamed to ...
32365 (LDLIBS-tst-lfschk6): This.
32366
691bc9c1
L
32367 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32368 on $(common-objpfx)soversions.mk.
32369
65cafb1c
JM
323702012-09-07 Joseph Myers <joseph@codesourcery.com>
32371
32372 [BZ #10014]
32373 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32374 example host name.
32375
c78ab094
SP
323762012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32377
32378 * malloc/arena.c (arena_get_retry): New function that gets
32379 another arena for the caller to try its request on.
32380 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32381 current arena cannot fulfill the request.
32382 (__libc_memalign): Likewise.
32383 (__libc_memalign): Likewise.
32384 (__libc_pvalloc): Likewise.
32385 (__libc_calloc): Likewise.
32386
01f49f59
JT
323872012-09-05 John Tobey <john.tobey@gmail.com>
32388
32389 [BZ #13542]
32390 * manual/arith.texi (Operations on Complex): Fix description
32391 of carg branch cut.
32392
4c23fed5
JM
323932012-09-06 Joseph Myers <joseph@codesourcery.com>
32394
1d3c8572
JM
32395 [BZ #10014]
32396 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32397 host name.
32398
4c23fed5
JM
32399 [BZ #10038]
32400 * manual/memory.texi (Memory): Make order of menu items match
32401 order of sections.
32402
04570aaa
L
324032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32404
32405 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32406 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32407 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32408
b80af2f4
L
324092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32410
32411 * csu/libc-tls.c (static_dtv): Renamed to ...
32412 (_dl_static_dtv): This. Make it global.
32413 (_dl_initial_dtv): Removed.
32414 (__libc_setup_tls): Updated.
32415 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32416 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32417 DL_INITIAL_DTV.
32418
2abe9f15
PM
324192012-09-06 Petr Machata <pmachata@redhat.com>
32420
32421 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32422 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32423 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32424 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32425
0948c3af
L
324262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32427
32428 [BZ #14545]
32429 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32430 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32431 freeing dtv[-1].
32432
a5055ad1
L
324332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32434
32435 [BZ #14544]
32436 * Makeconfig (link-static-before-libc): Replace $(+prector)
32437 with $(+prectorT).
32438 (link-static-after-libc): Replace $(+postctor) with
32439 $(+postctorT).
32440 (link-bounded): Replace $(+prector)/$(+postctor) with
32441 $(+prectorT)/$(+postctorT).
32442 (+prectorT): New macro.
32443 (+postctorT): Likewise.
32444
ed8c2ecd
JM
324452012-09-06 Joseph Myers <joseph@codesourcery.com>
32446
32447 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32448 (round_str): Handle values above the maximum for IBM long double
32449 as inexact.
32450 * stdlib/tst-strtod-round.c (tests): Regenerated.
32451
14c996c8
AK
324522012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32453
32454 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32455 assembler flag.
32456 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32457 zarch_nohighgprs around the zarch optimized routines.
32458 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32459 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32460 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32461 for zarch.
32462
430d6ce6
DM
324632012-09-05 David S. Miller <davem@davemloft.net>
32464
32465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32466
57f41c40
AS
32467 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32468 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32469 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32470 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32471 entries.
32472
24d4e01b
AO
324732012-09-05 Alexandre Oliva <aoliva@redhat.com>
32474
32475 * malloc/arena.c: Fold copyright years.
32476 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32477
61d58174
AO
324782012-09-05 Alexandre Oliva <aoliva@redhat.com>
32479
32480 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32481
20196a5e
AO
324822012-09-05 Alexandre Oliva <aoliva@redhat.com>
32483
32484 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32485
5c447383
AO
324862012-09-05 Alexandre Oliva <aoliva@redhat.com>
32487
32488 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32489 change internal state upon failure.
32490
fad64255
AO
324912012-09-05 Alexandre Oliva <aoliva@redhat.com>
32492
32493 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32494 * malloc/memusage.c (mmap): Likewise.
32495 (mmap64, mremap): Likewise. Adjust name in comment.
32496
1ffb8c90
SP
324972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32498
32499 * libio/fileops.c: Fix typos in comments.
32500 * libio/oldfileops.c: Likewise.
32501 * libio/wfileops.c: Likewise.
32502
6ef9cc37
SP
325032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32504
32505 [BZ #1349]
32506 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32507 (tst-malloc-usable-ENV): Set environment for test case.
32508 * malloc/hooks.c (malloc_check_get_size): New function to get
32509 requested size.
32510 * malloc/malloc.c (musable): Use malloc_check_get_size.
32511 * malloc/tst-malloc-usable.c: New test case.
32512
4d038ae3
AS
325132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32514
32515 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32516
c4e85184
AM
325172012-09-05 Allan McRae <allan@archlinux.org>
32518
b9dafc56 32519 [BZ #13966]
c4e85184
AM
32520 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32521 determine header location.
32522 * configure: Regenerated.
32523
e1343020
AS
325242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32525
32526 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32527 float format.
32528 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32529 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32530 format.
e1343020
AS
32531 (test): Regenerate.
32532
0a9f1987
DM
325332012-09-04 David S. Miller <davem@davemloft.net>
32534
32535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32537 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32538
29237804
FW
325392012-09-04 Florian Weimer <fweimer@redhat.com>
32540
32541 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32542 failures.
32543
edb3cb88
FW
32544 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32545
60160d83
JM
325462012-09-04 Joseph Myers <joseph@codesourcery.com>
32547
32548 [BZ #9914]
32549 * libio/iogetdelim.c: Include <limits.h>.
32550 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32551 + len + 1 would overflow.
32552
bcd6c8dc
AJ
325532012-09-03 Andreas Jaeger <aj@suse.de>
32554
32555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32556 * sysdeps/i386/fpu/libm-test-ulps: Update.
32557
4ffffbd2
LD
325582012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32559
32560 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32561 Add s_sinf-sse2, s_conf-sse2.
32562
32563 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32564 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32565 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32566 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32567
32568 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32569 for using routine as __sinf_ia32.
32570 Use macro for function declaration and weak_alias.
32571 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32572 for using routine as __cosf_ia32.
32573 Use macro for function declaration and weak_alias.
32574
32575 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32576 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32577
32578 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32579 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32581
32582 * math/libm-test.inc (cos_test): Add more test cases.
32583 (sin_test): Likewise.
32584 (sincos_test): Likewise.
32585
511fa286
AK
325862012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32587
32588 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32589 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32590 hidden.
32591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32592
5f30cfec
L
325932012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32594
32595 [BZ #14538]
32596 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32597 first element of the GOT.
32598 (elf_machine_load_address): Return the difference between
32599 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32600
0786794f
AM
326012012-09-01 Allan McRae <allan@archlinux.org>
32602
5f30cfec
L
32603 [BZ #13412]
32604 * configure.in (AWK): Require gawk version 3.0 or later.
32605 * configure: Regenerated.
0786794f 32606
26889eac
JM
326072012-09-01 Joseph Myers <joseph@codesourcery.com>
32608
32609 * sysdeps/unix/sysv/linux/kernel-features.h
32610 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32612 [__NR_clock_getres]: Make code unconditional.
32613 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32614 (clock_getcpuclockid): Remove code left unreachable by removal of
32615 conditionals.
32616 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32617 code unconditional.
32618 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32619 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32620 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32621 Make code unconditional.
32622 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32623 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32624 * sysdeps/unix/sysv/linux/clock_settime.c
32625 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32626 conditional code.
32627 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32628 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32629
d22e28b0
L
326302012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 [BZ #14476]
32633 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32634 scripts/test-installation.pl.
32635
32636 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32637 and $ld_so_version if it is set.
32638
050af9c4
SP
326392012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32640
32641 [BZ #14516]
32642 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32643 failure if reading from procfs failed.
32644 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32645
ad845c0b
JM
326462012-08-27 Joseph Myers <joseph@codesourcery.com>
32647
32648 * sysdeps/unix/sysv/linux/kernel-features.h
32649 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32650 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32651 Remove conditional code.
32652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32653 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32654 Remove conditional code.
32655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32656 * sysdeps/unix/sysv/linux/i386/fxstat.c
32657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32659 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32660 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32662 * sysdeps/unix/sysv/linux/i386/lxstat.c
32663 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32665 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32666 Remove conditional code.
32667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32668 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32669 Remove conditional code.
32670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32671 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32672 <kernel-features.h>.
32673 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32674 Remove.
32675 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32676 Remove conditional code.
32677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32678 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32679 Remove conditional.
32680
5dbf56af
MF
326812012-08-27 Mike Frysinger <vapier@gentoo.org>
32682
32683 [BZ #5400]
32684 * NEWS: Add fixed bug number.
32685
d6e70f43
JM
326862012-08-27 Joseph Myers <joseph@codesourcery.com>
32687
7efb4737
JM
32688 [BZ #14519]
32689 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32690 underflowing exponent in case of negative sign.
32691 * stdlib/tst-strtod-round-data: Add more tests.
32692 * stdlib/tst-strtod-round.c (tests): Regenerated.
32693
af92131a
JM
32694 [BZ #3479]
32695 * stdlib/strtod_l.c (NDIG): Remove.
32696 (HEXNDIG): Likewise.
32697 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32698 smallest representable value.
32699 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32700 lie within an exact representation of 1/2 ulp of the result.
32701 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32702 unconditionally.
32703 (TENS_P9_IDX): Define unconditionally.
32704 (TENS_P9_SIZE): Likewise.
32705 (TENS_P10_IDX): Likewise.
32706 (TENS_P10_SIZE): Likewise.
32707 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32708 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32709 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32710 entries for 10^2^13 and 10^2^14.
32711 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32712 (TENS_P13_IDX): Define.
32713 (TENS_P13_SIZE): Likewise.
32714 (TENS_P14_IDX): Likewise.
32715 (TENS_P14_SIZE): Likewise.
32716 (_fpioconst_pow10): Change array size to
32717 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32718 unconditional.
32719 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32720 1024]: Add entries for 10^2^13 and 10^2^14.
32721 [LAST_POW10 > _LAST_POW10]: Remove #error.
32722 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32723 (_fpioconst_pow10): Change array size to
32724 FPIOCONST_POW10_ARRAY_SIZE.
32725 * stdlib/gen-fpioconst.c: New file.
32726 * stdlib/gen-tst-strtod-round.c: Likewise.
32727 * stdlib/tst-strtod-round-data: Likewise.
32728 * stdlib/tst-strtod-round.c: Likewise.
32729 * stdlib/Makefile (tests): Add tst-strtod-round.
32730
d6e70f43
JM
32731 [BZ #14459]
32732 * stdlib/strtod_l.c: Include <stdint.h>.
32733 (NDEBUG): Do not define.
32734 (round_and_return): Change EXPONENT parameter to type intmax_t.
32735 Rearrange calculations to avoid internal overflow possibilities.
32736 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32737 Rearrange calculations to avoid internal overflow possibilities.
32738 Assert that number fits inside MPNSIZE limbs.
32739 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32740 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32741 calculations and add assertions to avoid internal overflow
32742 possibilities. Add casts to avoid signed/unsigned operations.
32743 * stdlib/tst-strtod-overflow.c: New file.
32744 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32745
1f529f7d
MP
327462012-08-25 Marek Polacek <polacek@redhat.com>
32747
32748 * time/time.h: Fix some typos in comments.
32749
59a629f1
RM
327502012-08-23 Roland McGrath <roland@hack.frob.com>
32751
32752 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32753 * posix/tst-rfc3484-2.c: Likewise.
32754 * posix/tst-rfc3484-3.c: Likewise.
32755
d3bafbc9
SM
327562012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32757
32758 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32759 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32760
4efcc022
JM
327612012-08-23 Joseph Myers <joseph@codesourcery.com>
32762
32763 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32764 #include of fxstatat64.c.
32765
3cc3ef96
RM
327662012-08-22 Roland McGrath <roland@hack.frob.com>
32767
f04e2132
RM
32768 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32769 * shadow/getspent_r.c: Likewise.
32770 * shadow/getspnam.c: Likewise.
32771 * shadow/getspnam_r.c: Likewise.
32772 * gshadow/getsgent.c: Likewise.
32773 * gshadow/getsgent_r.c: Likewise.
32774 * gshadow/getsgnam.c: Likewise.
32775 * gshadow/getsgnam_r.c: Likewise.
32776 * inet/getnetbyad.c: Likewise.
32777 * inet/getnetbyad_r.c: Likewise.
32778 * inet/getnetbynm.c: Likewise.
32779 * inet/getnetbynm_r.c: Likewise.
32780 * inet/getnetent.c: Likewise.
32781 * inet/getnetent_r.c: Likewise.
32782 * inet/getproto.c: Likewise.
32783 * inet/getproto_r.c: Likewise.
32784 * inet/getprtent.c: Likewise.
32785 * inet/getprtent_r.c: Likewise.
32786 * inet/getprtname.c: Likewise.
32787 * inet/getprtname_r.c: Likewise.
32788 * inet/getrpcbyname.c: Likewise.
32789 * inet/getrpcbyname_r.c: Likewise.
32790 * inet/getrpcbynumber.c: Likewise.
32791 * inet/getrpcbynumber_r.c: Likewise.
32792 * inet/getrpcent.c: Likewise.
32793 * inet/getrpcent_r.c: Likewise.
32794 * inet/getaliasent.c: Likewise.
32795 * inet/getaliasent_r.c: Likewise.
32796 * inet/getaliasname.c: Likewise.
32797 * inet/getaliasname_r.c: Likewise.
32798 * nscd/getgrgid_r.c: Likewise.
32799 * nscd/getgrnam_r.c: Likewise.
32800 * nscd/gethstbyad_r.c: Likewise.
32801 * nscd/gethstbynm3_r.c: Likewise.
32802 * nscd/getpwnam_r.c: Likewise.
32803 * nscd/getpwuid_r.c: Likewise.
32804 * nscd/getsrvbynm_r.c: Likewise.
32805 * nscd/getsrvbypt_r.c: Likewise.
32806 * nscd/gai.c: Likewise.
32807
c53d909c
RM
32808 * configure.in (build_nscd): New substituted variable, set
32809 by --disable-build-nscd and defaults to $use_nscd.
32810 * configure: Regenerated.
32811 * config.make.in (build-nscd): New substituted variable.
32812 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32813 Change conditional to require [$(build-nscd) = yes] as well.
32814 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32815
3cc3ef96
RM
32816 [BZ# 13696]
32817 * configure.in (use_nscd): New substituted variable, set by
32818 --disable-nscd. If enabled, define USE_NSCD.
32819 * configure: Regenerated.
32820 * config.h.in: Add USE_NSCD.
32821 * config.make.in (use-nscd): New substituted variable.
32822 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32823 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32824 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32825 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32826 (CFLAGS-getgrnam_r.c): Likewise.
32827 (CFLAGS-initgroups.c): Likewise.
32828 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32829 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32830 Variables removed.
32831 * inet/getnetgrent_r.c
32832 (nscd_setnetgrent): New function, broken out of ...
32833 (setnetgrent): ... here. Call it.
32834 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32835 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32836 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32837 * nscd/Makefile (routines, aux): Move definitions after include of
32838 Makeconfig. Conditionalize on [$(use-nscd) != no].
32839 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32840 Conditionalize on [USE_NSCD].
32841 (is_nscd, nscd_init_cb): Likewise.
32842 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32843 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32844 * nss/nss_db/db-init.c: Likewise.
32845 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32846 [USE_NSCD].
32847 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32848 (make_request): Use it.
32849 (cache_valid_p): New function.
32850 (__check_pf): Use it.
32851 * NEWS: Add item for --disable-nscd.
32852
07e51550
DL
328532012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32854
32855 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32856 to support sed >= 4.2.1-20-ga9bf076.
32857 * configure: Regenerated.
32858
35a5b08b
RM
328592012-08-22 Roland McGrath <roland@hack.frob.com>
32860
32861 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32862 Conditionalize whole body on [IREL].
32863
8479f23a
JL
328642012-08-22 Jeff Law <law@redhat.com>
32865
32866 [BZ #14505]
32867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32868 if the family is PF_UNSPEC.
32869
48da0b21
MF
328702012-08-22 Mike Frysinger <vapier@gentoo.org>
32871
32872 * Makerules (lib-version): Rename from V.
32873 (install-lib-nosubdir): Change V to lib-version.
32874
15d0da8c
WS
328752012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32876
32877 [BZ #14252]
32878 * powerpc32/power6/wcschr.c: New file.
32879 * powerpc32/power6/wcscpy.c: New file.
32880 * powerpc32/power6/wcsrchr.c: New file.
32881 * powerpc64/power6/wcschr.c: New file.
32882 * powerpc64/power6/wcscpy.c: New file.
32883 * powerpc64/power6/wcsrchr.c: New file.
32884
bcca0895
MK
328852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32886
32887 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32888 (two_way_short_needle): Use it.
5a4aaa33
RM
32889 * string/strstr.c (AVAILABLE1_USES_J): Define.
32890 * string/strcasestr.c: Likewise.
99677e57
MK
32891
32892 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32893 array references.
32894 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32895
400726de
MK
32896 [BZ #11607]
32897 * NEWS: Add an entry.
32898 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32899 define their defaults.
32900 (two_way_short_needle): Detect end-of-string on-the-fly.
32901 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32902 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32903 * string/bug-strcasestr1.c: New test.
32904 * string/Makefile: Run it.
32905
20a71f2c
MK
329062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32907
32908 [BZ #11607]
32909 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32910 the first character.
32911
21ad0558
RM
329122012-08-21 Roland McGrath <roland@hack.frob.com>
32913
32914 * csu/elf-init.c (__libc_csu_irel): Function removed.
32915 * csu/libc-start.c (apply_irel): New function.
32916 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32917
0e1d9911
JM
329182012-08-21 Joseph Myers <joseph@codesourcery.com>
32919
32920 * sysdeps/unix/sysv/linux/kernel-features.h
32921 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32922 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32923 <kernel-features.h>.
32924 [__NR_fadvise64_64]: Make code unconditional.
32925 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32926 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32927 !__NR_fadvise64_64)]: Likewise.
32928 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32929 !__NR_fadvise64_64))]: Likewise.
32930 [__NR_fadvise64]: Make code unconditional.
32931 [!__NR_fadvise64]: Remove conditional code.
32932 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32933 <kernel-features.h>.
32934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32935 unconditional.
32936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32937 conditional code.
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32939 not include <kernel-features.h>.
32940 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32941 unconditional.
32942 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32943 conditional code.
32944 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32945 include <kernel-features.h>.
32946 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32947 unconditional.
32948 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32949 conditional code.
32950
14a50c9d
WS
329512012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32952
32953 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32954 slight instruction rearrangements per scrollpipe analysis.
32955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32956
c0f4faf0
RM
329572012-08-20 Roland McGrath <roland@hack.frob.com>
32958
696da859
RM
32959 * manual/syslog.texi (syslog; vsyslog, closelog):
32960 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32961 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32962
c0f4faf0
RM
32963 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32964 DSOCAPS to match condition on defining it.
32965
348363b2
JM
329662012-08-20 Joseph Myers <joseph@codesourcery.com>
32967
a35cbf28
JM
32968 * sysdeps/unix/sysv/linux/kernel-features.h
32969 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32974 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32975 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32977 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32978 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32979
445f7ecd
JM
32980 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32981 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32982
348363b2
JM
32983 * sysdeps/unix/sysv/linux/kernel-features.h
32984 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32985 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32986 unconditional.
32987 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32988 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32989 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32990 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32991 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32992 Make code unconditional.
32993 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32994 (__mmap64) [!__NR_mmap2]: Likewise.
32995 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32996 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32997 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32998 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32999 [__NR_mmap2]: Make code unconditional.
33000 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33001 (__mmap64) [!__NR_mmap2]: Likewise.
33002
bc5bc0e5
AK
330032012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33004
33005 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33006
88d506de
AJ
330072012-08-18 Andreas Jaeger <aj@suse.de>
33008
33009 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33010
493387d2
MF
330112012-08-18 Mike Frysinger <vapier@gentoo.org>
33012
33013 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33014 * include/unistd.h (__have_sock_cloexec): Likewise.
33015 (__have_pipe2): Likewise.
33016 (__have_dup3): Likewise.
33017
a277af22
MF
330182012-08-18 Mike Frysinger <vapier@gentoo.org>
33019
33020 [BZ #9685]
33021 * include/unistd.h (__have_pipe2): Change define into an extern int.
33022 (__have_dup3): Likewise.
33023 * socket/have_sock_cloexec.c: Include fcntl.h.
33024 (__have_pipe2): New variable.
33025 (__have_dup3): Likewise.
33026
fdab8fd3
MF
330272012-08-17 Mike Frysinger <vapier@gentoo.org>
33028
33029 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33030
31035e80
MP
330312012-08-17 Marek Polacek <polacek@redhat.com>
33032
33033 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33034 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33035
3bd9e993
RM
330362012-08-17 Roland McGrath <roland@hack.frob.com>
33037
c91c505f
RM
33038 * configure.in: Add AC_SUBST for sysheaders.
33039 * configure: Regenerated.
33040 * config.make.in (sysheaders): New substituted variable.
33041
7c6f9d53
RM
33042 * sysdeps/unix/mkfifo.c: Moved ...
33043 * sysdeps/posix/mkfifo.c: ... here.
33044 * sysdeps/unix/mkfifoat.c: Moved ...
33045 * sysdeps/posix/mkfifoat.c: ... here.
33046
33047 * sysdeps/unix/utime.c: Moved ...
33048 * sysdeps/posix/utime.c: ... here.
33049
33050 * sysdeps/unix/time.c: Moved ...
33051 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33052 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33053 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33054
33055 * sysdeps/unix/nice.c: Moved ...
33056 * sysdeps/posix/nice.c: ... here.
33057
33058 * sysdeps/unix/alarm.c: Moved ...
33059 * sysdeps/posix/alarm.c: ... here.
33060
3bd9e993
RM
33061 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33062
d1f09384
JL
330632012-08-17 Jeff Law <law@redhat.com>
33064
33065 * intl/Makefile (codeset_mo): New variable.
33066 ($(codeset_mo)): New target.
33067 (tst-codeset.out): Depend on that. Remove explicit rule.
33068 (tst-gettext3.out, tst-gettext5.out): Likewise.
33069 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33070 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33071 * intl/tst-codeset.sh: Remove.
33072 * intl/tst-gettext3.sh: Likewise.
33073 * intl/tst-gettext5.sh: Likewise.
33074
2ae1ae5c
RM
330752012-08-17 Roland McGrath <roland@hack.frob.com>
33076
c31fdb83
RM
33077 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33078 * sysdeps/unix/syscalls.list: ... here.
33079
a0844057
RM
33080 * sysdeps/posix/getaddrinfo.c
33081 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33082 (gaiconf_init, gaiconf_reload): Use them.
33083 [!_STATBUF_ST_NSEC]
33084 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33085 Define using time_t rather than struct timespec.
33086
750c1f2a
RM
33087 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33088 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33089 Macros removed.
33090 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33091 [!NO_THREADS].
33092 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33093 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33094 Likewise.
33095
2ae1ae5c
RM
33096 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33097 __libc_cleanup_push argument.
33098
e66a42f5
RM
33099 * bits/param.h: New file.
33100 * misc/sys/param.h: New file.
33101 * include/sys/param.h: New file.
33102 * misc/Makefile (headers): Add bits/param.h.
33103 * sysdeps/generic/sys/param.h: File removed.
33104 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33105 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33106 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33107 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33108
b7c08a66
RM
33109 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33110 last change.
33111
b2e1c562
RM
33112 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33113 [_IO_MTSAFE_IO].
33114 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33115 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33116 New macros.
33117
c75ccd4c
RM
33118 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33119 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33120 rather than -D_IO_MTSAFE_IO conditionally.
33121 * stdio-common/Makefile (CPPFLAGS): Likewise.
33122 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33123 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33124 Use $(libio-mtsafe).
33125 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33126 of -D_IO_MTSAFE_IO.
33127 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33128 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33129 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33130 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33131 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33132 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33133 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33134 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33135 (CFLAGS-fread_u_chk.c): Likewise.
33136 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33137 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33138 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33139 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33140 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33141 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33142 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33143 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33144 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33145
33146 * libio/Makefile: Test [$(libc-reentrant) = yes]
33147 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33148
33149 * Makeconfig
33150 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33151 * sysdeps/pthread/configure: File removed.
33152 * sysdeps/pthread/Makeconfig: New file.
33153 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33154 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33155
d9195db8
GB
331562012-08-16 Gary Benson <gbenson@redhat.com>
33157
33158 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33159 unmapping the first object in a namespace.
33160
86466cd9
RM
331612012-08-16 Roland McGrath <roland@hack.frob.com>
33162
33163 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33164 (__internal_setnetgrent): ... this. Add internal_function to
33165 definition. Add libc_hidden_def.
33166 (setnetgrent): Update caller.
33167 (internal_endnetgrent): Renamed to ...
33168 (__internal_endnetgrent): ... this. Add internal_function to
33169 definition. Add libc_hidden_def.
33170 (endnetgrent): Update caller.
33171 (internal_getnetgrent_r): Renamed to ...
33172 (__internal_getnetgrent_r): ... this. Add internal_function to
33173 definition. Add libc_hidden_def.
33174 (__getnetgrent_r): Update caller.
33175 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33176
c3c8283c
JM
331772012-08-16 Joseph Myers <joseph@codesourcery.com>
33178
33179 * stdlib/longlong.h: Update from GCC.
33180
db1ee0a8
RM
331812012-08-16 Roland McGrath <roland@hack.frob.com>
33182
33183 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33184 on _QL, which is set by umul_ppmm but never used.
33185 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33186 variables, which are set by GMP macros but never used.
33187 * stdio-common/_itowa.c (_itowa): Likewise.
33188 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33189 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33190
30f69637
CD
331912012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33192
33193 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33194 struct La_sh_regs is not constant.
33195 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33196 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33197 and struct La_sparc64_regs are not constant.
33198
93a78ac4
JM
331992012-08-16 Joseph Myers <joseph@codesourcery.com>
33200
33201 * sysdeps/unix/sysv/linux/kernel-features.h
33202 (__ASSUME_POSIX_TIMERS): Remove.
33203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33205 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33206 Make code unconditional.
33207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33208 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33209 Make code unconditional.
33210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33211 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33212 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33214 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33215 Make code unconditional.
33216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33217 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33218 (__libc_missing_posix_timers): Remove.
33219
dd924cd7
RM
332202012-08-15 Roland McGrath <roland@hack.frob.com>
33221
4b4f2771
RM
33222 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33223 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33224
601c888b
RM
33225 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33226
176790a7
RM
33227 * elf/dl-sym.c: Include <stdlib.h>.
33228
329bc018
RM
33229 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33230 constants, which avoids warnings in 32-bit builds.
33231
e04e272d
RM
33232 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33233 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33234
952bf94a
RM
33235 * misc/lseek.c: File moved to ...
33236 * io/lseek.c: ... here.
33237
7c99b50a
RM
33238 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33239
dd924cd7
RM
33240 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33241 shifting LEN more than 31 bits at once.
33242
b3f479a8
LD
332432012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33244
33245 [BZ #14195]
8c4ae0d4
RM
33246 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33247 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33248 * string/test-strncasecmp.c (check1): Renamed to...
33249 (bz12205): ...this.
33250 (bz14195): Add new testcase for two empty input strings and N > 0.
33251 (test_main): Call new testcase, adapt for renamed function.
33252
9c55864e
AJ
332532012-08-15 Andreas Jaeger <aj@suse.de>
33254
33255 [BZ #14090]
33256 * crypt/md5test2.c: New test, based on test supplied by Serge
33257 Belyshev <belyshev@depni.sinp.msu.ru>.
33258 * crypt/Makefile (xtests): Add md5test-giant..
33259 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33260
02dcb6c5
PE
332612012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33262
33263 [BZ #14090]
33264 * crypt/md5.c (md5_process_block): Don't assume the buffer
33265 length is less than 2**32.
33266 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33267 length is less than 2**64.
33268
a3f95dcc
RM
332692012-08-15 Roland McGrath <roland@hack.frob.com>
33270
be75d758
RM
33271 * string/str-two-way.h: Include <sys/param.h>.
33272 (MAX): Macro removed.
33273
7312ca90
RM
33274 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33275 Move #define and #undef of memmove to just before and after
33276 including <string.h>.
33277
9a0a5486
RM
33278 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33279 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33280 and after including <string.h>. Move declarations of
33281 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33282 to before #include "string/memmove.c".
33283
67cc348d
RM
33284 * include/dirent.h: Declare __getdirentries.
33285
a3f95dcc
RM
33286 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33287 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33288
ca98e171
MF
332892012-08-14 Mike Frysinger <vapier@gentoo.org>
33290
33291 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33292 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33293 * sysdeps/i386/configure: Regenerated.
33294 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33295 STABS_CURRENT_FILE, and STABS_FUN.
33296 (END): Remove call to STABS_FUN_END.
33297 (STABS_CURRENT_FILE1): Delete.
33298 (STABS_CURRENT_FILE): Likewise.
33299 (STABS_FUN): Likewise.
33300 (STABS_FUN_END): Likewise.
33301 (STABS_FUN2): Likewise.
33302 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33303 * sysdeps/x86_64/configure: Regenerated.
33304
5908bf46
RM
333052012-08-14 Roland McGrath <roland@hack.frob.com>
33306
33307 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33308 * elf/dl-lookup.c: Likewise.
5908bf46 33309
f2c05b9e
JM
333102012-08-14 Joseph Myers <joseph@codesourcery.com>
33311
33312 * sysdeps/unix/sysv/linux/kernel-features.h
33313 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33314 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33315 unconditionally.
33316 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33317 unconditionally.
33318 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33319 condition on __ASSUME_CLONE_THREAD_FLAGS.
33320
e11f5155
AJ
333212012-08-14 Andreas Jaeger <aj@suse.de>
33322
33323 * sysdeps/i386/fpu/libm-test-ulps: Update.
33324
51a9ba86
MK
333252012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33326
2fdd4f78
AJ
33327 * include/atomic.h (atomic_exchange_and_add): Split into ...
33328 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33329 New atomic macros.
51a9ba86 33330
ba6cba9e
MT
333312012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33332
33333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33334
42443a47
JL
333352012-08-13 Jeff Law <law@redhat.com>
33336
33337 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33338 null byte in the output string.
33339
121dce05
JM
333402012-08-10 Joseph Myers <joseph@codesourcery.com>
33341
33342 * sysdeps/unix/sysv/linux/kernel-features.h
33343 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33344 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33345 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33346 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33347 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33348 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33349 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33350
bf51f568
JL
333512012-08-09 Jeff Law <law@redhat.com>
33352
33353 [BZ #13939]
33354 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33355 When avoid_arena is set, don't retry in the that arena. Pick the
33356 next one, whatever it might be.
33357 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33358 (arena_lock): Pass in new parameter to arena_get2.
33359 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33360 arena_get2.
33361 (__libc_malloc): Unify retrying after main arena failure with
33362 __libc_memalign version.
33363 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33364
f85fa270
L
333652012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33366
33367 [BZ #14166]
33368 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33369 to __redirect_strstr.
33370 (__strstr_sse42): Use typeof __redirect_strstr.
33371 (__strstr_ia32): Likewise.
33372 (__libc_strstr): New prototype.
33373 (strstr): Renamed to ...
33374 (__libc_strstr): This.
33375 (strstr): New strong alias of __libc_strstr.
33376 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33377 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33378 __redirect_time.
33379 Include <time.h>.
33380 (__libc_time): New prototype.
33381 (time_ifunc): Replace time with __libc_time.
33382 (time): New strong alias and hidden definition of __libc_time.
33383 (__GI_time): Remove strong alias.
33384 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33385 Include <stddef.h>.
33386 (memmove): Redefined to __redirect_memmove.
33387 (__memmove_sse2): Use typeof __redirect_memmove.
33388 (__memmove_ssse3): Likewise.
33389 (__memmove_ssse3_back): Likewise.
33390 (__libc_memmove): New prototype.
33391 (memmove): Renamed to ...
33392 (__libc_memmove): This.
33393 (memmove): New strong alias of __libc_memmove.
33394
33b4a91e
MS
333952012-08-08 Mark Salter <msalter@redhat.com>
33396
33397 * elf/elf.h
33398 (R_MN10300_TLS_GD): Define.
33399 (R_MN10300_TLS_LD): Likewise.
33400 (R_MN10300_TLS_LDO): Likewise.
33401 (R_MN10300_TLS_GOTIE): Likewise.
33402 (R_MN10300_TLS_IE): Likewise.
33403 (R_MN10300_TLS_LE): Likewise.
33404 (R_MN10300_TLS_DTPMOD): Likewise.
33405 (R_MN10300_TLS_DTPOFF): Likewise.
33406 (R_MN10300_TLS_TPOFF): Likewise.
33407 (R_MN10300_SYM_DIFF): Likewise.
33408 (R_MN10300_ALIGN): Likewise.
33409 (R_MN10300_NUM): Update.
33410
b36137f1
JM
334112012-08-08 Joseph Myers <joseph@codesourcery.com>
33412
33413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33414 Remove.
33415
cdd915fd
RM
334162012-08-08 Roland McGrath <roland@hack.frob.com>
33417
a2433aac
RM
33418 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33419
cdd915fd
RM
33420 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33421 sysdeps/unix -> sysdeps/posix move.
33422 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33423
bf9b740a
AM
334242012-08-07 Allan McRae <allan@archlinux.org>
33425
33426 [BZ #14303]
33427 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33428 (SUNOS_CPP): Likewise.
33429 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33430 not found.
33431 (open_input): Call CPP using execvp.
33432
93df14ee
JM
334332012-08-07 Joseph Myers <joseph@codesourcery.com>
33434
33435 * sysdeps/unix/sysv/linux/kernel-features.h
33436 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33437 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33438 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33439 (__ASSUME_WAITID_SYSCALL): Likewise.
33440 * sysdeps/unix/sysv/linux/dl-execstack.c
33441 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33442 code unconditional.
33443 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33444 conditional code.
33445 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33446 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33447 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33448 code.
33449 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33450 unconditional.
33451 [__ASSUME_WAITID_SYSCALL]: Likewise.
33452 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33453
d34689de
RM
334542012-08-07 Roland McGrath <roland@hack.frob.com>
33455
a281decc
RM
33456 * sysdeps/unix/closedir.c: Renamed to ...
33457 * sysdeps/posix/closedir.c: ... here.
33458 * sysdeps/unix/dirfd.c: Renamed to ...
33459 * sysdeps/posix/dirfd.c: ... here.
33460 * sysdeps/unix/dirstream.h: Renamed to ...
33461 * sysdeps/posix/dirstream.h: ... here.
33462 * sysdeps/unix/fdopendir.c: Renamed to ...
33463 * sysdeps/posix/fdopendir.c: ... here.
33464 * sysdeps/unix/opendir.c: Renamed to ...
33465 * sysdeps/posix/opendir.c: ... here.
33466 * sysdeps/unix/readdir.c: Renamed to ...
33467 * sysdeps/posix/readdir.c: ... here.
33468 * sysdeps/unix/readdir_r.c: Renamed to ...
33469 * sysdeps/posix/readdir_r.c: ... here.
33470 * sysdeps/unix/rewinddir.c: Renamed to ...
33471 * sysdeps/posix/rewinddir.c: ... here.
33472 * sysdeps/unix/seekdir.c: Renamed to ...
33473 * sysdeps/posix/seekdir.c: ... here.
33474 * sysdeps/unix/telldir.c: Renamed to ...
33475 * sysdeps/posix/telldir.c: ... here.
33476 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33477 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33478 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33479 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33480
22895b47
RM
33481 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33482 * bits/fcntl.h: ... here.
33483
707a53b6
RM
33484 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33485 not 0.
33486 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33487 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33488 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33489 (struct flock): Move l_start, l_len to the beginning.
33490 Use __pid_t for l_pid.
33491 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33492 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33493 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33494 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33495 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33496 [__USE_LARGEFILE64] (struct flock64): New type.
33497 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33498
f0bd3e25
RM
33499 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33500 * bits/dirent.h: ... here.
33501
d34689de
RM
33502 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33503 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33504
6dad2c06
JM
335052012-08-07 Joseph Myers <joseph@codesourcery.com>
33506
33507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33508 Change from 2.6.0 to 2.6.16.
33509 * sysdeps/unix/sysv/linux/configure: Regenerated.
33510 * sysdeps/unix/sysv/linux/kernel-features.h
33511 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33512 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33513 version.
33514 (__ASSUME_UTIMES): Likewise.
33515 (__ASSUME_CLONE_STOPPED): Remove.
33516 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33517 architectures, not kernel version.
33518 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33519 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33520 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33521 (__ASSUME_WAITID_SYSCALL): Likewise.
33522 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33523 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33524 * README: State 2.6.16 as minimum Linux kernel version. Do not
33525 refer to older versions.
33526
03af9520
RM
335272012-08-06 Roland McGrath <roland@hack.frob.com>
33528
8e49df1d
RM
33529 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33530 Define alphasort64 as an alias.
33531 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33532 Define versionsort64 as an alias.
33533 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33534 Define scandir64 as an alias.
33535 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33536 Define scandirat64 as an alias.
33537 * dirent/alphasort64.c (alphasort64):
33538 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33539 * dirent/versionsort64.c: Likewise.
33540 * dirent/scandir64.c: Likewise.
33541 * dirent/scandirat64.c: Likewise.
33542 * sysdeps/wordsize-64/alphasort.c: File removed.
33543 * sysdeps/wordsize-64/alphasort64.c: File removed.
33544 * sysdeps/wordsize-64/scandir.c: File removed.
33545 * sysdeps/wordsize-64/scandir64.c: File removed.
33546 * sysdeps/wordsize-64/scandirat.c: File removed.
33547 * sysdeps/wordsize-64/scandirat64.c: File removed.
33548 * sysdeps/wordsize-64/versionsort.c: File removed.
33549 * sysdeps/wordsize-64/versionsort64.c: File removed.
33550 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33551 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33556 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33557 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33558
33559 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33560 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33561 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33562 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33563 [defined __arch64__ || defined __sparcv9]
33564 (__INO_T_MATCHES_INO64_T): New macro.
33565 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33566 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33567 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33568 * sysdeps/unix/sysv/linux/bits/dirent.h
33569 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33570 (_DIRENT_MATCHES_DIRENT64): New macro.
33571
03af9520
RM
33572 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33573 Define lockf64 as an alias.
33574 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33575 Define fseeko64 as an alias.
33576 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33577 Define ftello64 as an alias.
33578 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33579 Define _IO_fgetpos64 and fgetpos64 as aliases.
33580 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33581 Define _IO_fsetpos64 and fsetpos64 as aliases.
33582 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33583 Conditionalize body on this.
33584 * libio/fseeko64.c: Likewise.
33585 * libio/ftello64.c: Likewise.
33586 * libio/iofgetpos64.c: Likewise.
33587 * libio/iofsetpos64.c: Likewise.
33588 * sysdeps/wordsize-64/lockf.c: File removed.
33589 * sysdeps/wordsize-64/lockf64.c: File removed.
33590 * sysdeps/wordsize-64/fseeko.c: File removed.
33591 * sysdeps/wordsize-64/fseeko64.c: File removed.
33592 * sysdeps/wordsize-64/ftello.c: File removed.
33593 * sysdeps/wordsize-64/ftello64.c: File removed.
33594 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33595 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33596 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33597 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33598 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33599 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33600 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33601 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33602 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33603 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33604 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33605 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33607 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33608
33609 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33611 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33613 [defined __arch64__ || defined __sparcv9]
33614 (__OFF_T_MATCHES_OFF64_T): New macro.
33615 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33616 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33618 (__OFF_T_MATCHES_OFF64_T): New macro.
33619
c5757acd
L
336202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33621
33622 * stdlib/secure-getenv.c (__secure_getenv): Replace
33623 GLIBC_2_16 with GLIBC_2_17.
33624
3a31811e
L
336252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33626
33627 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33628 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33629
faa2bccb
DM
336302012-08-03 David S. Miller <davem@davemloft.net>
33631
33632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33633
85fe1997
JM
336342012-08-03 Joseph Myers <joseph@codesourcery.com>
33635
33636 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33637 Remove.
33638 (__ASSUME_CORRECT_SI_PID): Likewise.
33639 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33640 (__ASSUME_TMPFS_NAME): Likewise.
33641 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33642 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33643 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33644 (HAVE_AUX_SECURE): Make definition unconditional.
33645 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33646 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33647
4f75b7a0
RM
336482012-08-03 Roland McGrath <roland@hack.frob.com>
33649
33650 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33651 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33652 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33653 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33654 __eloop_threshold instead of SYMLOOP_MAX.
33655
33656 * sysdeps/generic/eloop-threshold.h: New file.
33657 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33658 of MAXSYMLINKS.
33659 * elf/chroot_canon.c (chroot_canon): Likewise.
33660
7aab07e4
JM
336612012-08-03 Joseph Myers <joseph@codesourcery.com>
33662
33663 [BZ #13717]
33664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33665 Change to 2.6.0 everywhere.
33666 * sysdeps/unix/sysv/linux/configure: Regenerated.
33667 * sysdeps/unix/sysv/linux/kernel-features.h
33668 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33669 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33670 kernel versions.
33671 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33672 (__ASSUME_FUTEX_REQUEUE): Remove.
33673 (__ASSUME_STATFS64): Define unconditionally.
33674 (__ASSUME_AT_SECURE): Likewise.
33675 (__ASSUME_CORRECT_SI_PID): Likewise.
33676 (__ASSUME_TGKILL): Define without depending on kernel version for
33677 i386.
33678 (__ASSUME_UTIMES): Likewise.
33679 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33680 kernel version.
33681 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33682 (__ASSUME_TMPFS_NAME): Likewise.
33683 * README: Update reference to Linux kernel versions.
33684
b67e9372
MP
336852012-08-02 Marek Polacek <polacek@redhat.com>
33686
1f529f7d 33687 [BZ# 14150]
b67e9372
MP
33688 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33689 libc_cv_asm_type_prefix with %.
33690 * configure: Regenerated.
d2441631
RM
33691 * include/libc-symbols.h: Remove comment about
33692 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33693 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33694 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33695 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33696 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33697 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33698 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33699 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33700 * elf/tst-unique2mod1.c: Likewise.
33701 * elf/tst-unique1mod2.c: Likewise.
33702 * elf/tst-unique1mod1.c: Likewise.
33703 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33704 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33705 Replace ASM_TYPE_DIRECTIVE with .type.
33706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33707 * sysdeps/i386/sysdep.h: Likewise.
33708 * sysdeps/x86_64/sysdep.h: Likewise.
33709 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33711 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33712 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33713 * sysdeps/powerpc/powerpc32/sysdep.h:
33714 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33715 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33716 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33717 * sysdeps/i386/fpu/e_powf.S: Likewise.
33718 * sysdeps/i386/fpu/e_expl.S: Likewise.
33719 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33720 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33721 * sysdeps/i386/fpu/e_pow.S: Likewise.
33722 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33724 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33725 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33726 * sysdeps/i386/fpu/e_log2.S: Likewise.
33727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33728 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33729 * sysdeps/i386/fpu/e_powl.S: Likewise.
33730 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33731 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33732 * sysdeps/i386/fpu/e_logl.S: Likewise.
33733 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33734 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33735 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33736 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33737 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33738 * sysdeps/i386/fpu/e_log.S: Likewise.
33739 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33740 * sysdeps/i386/fpu/e_logf.S: Likewise.
33741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33743 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33744 * sysdeps/i386/fpu/e_log10.S: Likewise.
33745 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33746 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33747 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33748 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33749 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33750 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33751 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33752 * sysdeps/i386/i686/strtok.S: Likewise.
33753 * sysdeps/i386/i386-mcount.S: Likewise.
33754 * sysdeps/i386/strtok.S: Likewise.
33755 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33756 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33757 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33758 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33760 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33761 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33762 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33763 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33764 * sysdeps/x86_64/_mcount.S: Likewise.
33765 * sysdeps/x86_64/strtok.S: Likewise.
33766 * sysdeps/sh/_mcount.S: Likewise.
33767
2747bf9a
RM
337682012-08-01 Roland McGrath <roland@hack.frob.com>
33769
33770 * libio/iofopen.c: Include <fcntl.h>.
33771 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33772 (_IO_fopen64, fopen64): Define as aliases.
33773 * libio/iofopen64.c: Include <fcntl.h>.
33774 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33775 Conditionalize body on this.
33776 * sysdeps/wordsize-64/iofopen.c: File removed.
33777 * sysdeps/wordsize-64/iofopen64.c: File removed.
33778
3fb791b8
MP
337792012-08-01 Marek Polacek <polacek@redhat.com>
33780
33781 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33782 Use dlfcn directly instead of a variable.
33783 (binfmt-subdir): Do not define.
33784 (dlfcn): Likewise.
33785
a9f1039f
JM
337862012-08-01 Joseph Myers <joseph@codesourcery.com>
33787
23bddc06
JM
33788 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33789 Remove all definitions.
33790 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33791 <kernel-features.h>.
33792 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33793 (miss_F_GETOWN_EX): Remove all definitions.
33794 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33795 macro definition.
33796 [!__ASSUME_FCNTL64]: Remove conditional code.
33797 [__ASSUME_FCNTL64]: Make code unconditional.
33798 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33799 <kernel-features.h>.
33800 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33801 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33802 (lockf64) [__NR_fcntl64]: Make code unconditional.
33803 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33804
a9f1039f
JM
33805 * sysdeps/unix/sysv/linux/kernel-features.h
33806 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33807 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33808 Make code unconditional.
33809 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33810 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33812 [__NR_vfork]: Make code unconditional.
33813 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33814 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33816 [__NR_vfork]: Make code unconditional.
33817 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33818 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33819
09c0ee5f
RM
338202012-08-01 Roland McGrath <roland@hack.frob.com>
33821
48aec5b9
RM
33822 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33823 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33824
cd97c966
RM
33825 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33826 Define mkstemp64 as an alias.
3f55550c
RM
33827 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33828 Define mkstemps64 as an alias.
cd97c966
RM
33829 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33830 Define mkostemp64 as an alias.
b8625cfc
RM
33831 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33832 Define mkostemps64 as an alias.
cd97c966
RM
33833 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33834 Conditionalize body on this.
33835 * misc/mkostemp64.c: Likewise.
b8625cfc 33836 * misc/mkostemps64.c: Likewise.
3f55550c 33837 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33838 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33839 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33840 * sysdeps/wordsize-64/mkostemp.c: File removed.
33841 * sysdeps/wordsize-64/mkstemp.c: File removed.
33842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33843 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33844 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33845 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33846
09c0ee5f
RM
33847 [BZ #14138]
33848 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33849 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33850 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33851 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33852
33853 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33854 compat_symbol macros from <shlib-compat.h> rather than the underlying
33855 default_symbol_version and symbol_version macros, so that DEFAULT
33856 lines in shlib-versions are respected.
33857 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33858
7e66ee51
FW
338592012-08-01 Florian Weimer <fweimer@redhat.com>
33860
33861 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33862 Declare with warn_unused_result.
33863 (setgid, setregid, setegid, setresgid): Likewise.
33864 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33865 Likewise.
33866 * WUR-REPORT: Remove set*id functions.
33867
d2a54255
PT
338682012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33869
33870 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33871
7ecdb005
RM
338722012-07-31 Roland McGrath <roland@hack.frob.com>
33873
b4180a5e 33874 [BZ #10191]
789bd351
RM
33875 * include/sys/socket.h (__libc_accept, __libc_accept4):
33876 Add attribute_hidden.
33877 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33878
40ce302d
RM
33879 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33880 use of PTR_MANGLE.
33881 * inet/getnetgrent_r.c (setup): Likewise.
33882
7ecdb005
RM
33883 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33884
e2eabb2c
DM
338852012-07-31 David S. Miller <davem@davemloft.net>
33886
33887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33888
d0419dbf
JM
338892012-07-31 Joseph Myers <joseph@codesourcery.com>
33890
33891 [BZ #13629]
33892 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33893 value between 1.0 and 2.0 and smaller part has absolute value less
33894 than 1.0.
33895 * math/s_clog10.c (__clog10): Likewise.
33896 * math/s_clog10f.c (__clog10f): Likewise.
33897 * math/s_clog10l.c (__clog10l): Likewise.
33898 * math/s_clogf.c (__clogf): Likewise.
33899 * math/s_clogl.c (__clogl): Likewise.
33900 * math/libm-test.inc (clog_test): Add more tests.
33901 (clog10_test): Likewise.
33902 * sysdeps/i386/fpu/libm-test-ulps: Update.
33903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33904
2bc13872
FW
339052012-07-31 Florian Weimer <fweimer@redhat.com>
33906
33907 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33908 Exit with zero in case no suitable GID is found, and write a
33909 message to standard error.
33910
bea9b193
RM
339112012-07-30 Roland McGrath <roland@hack.frob.com>
33912
33913 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33914 rather than to 1.
33915 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33916 (MAXPATHLEN): Removed.
33917 (NOGROUP, NODEV): New macros.
33918 (setbit, clrbit, isset, isclr): New macros.
33919 (howmany, roundup, powerof2): New macros.
33920 (DEV_BSIZE): New macro.
33921
33922 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33923 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33924
33925 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33926 definition on [!__NO_LONG_DOUBLE_MATH].
33927
33928 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33929 PTR_MANGLE and PTR_DEMANGLE.
33930
33931 * socket/accept4.c (accept4): Rename to __libc_accept4.
33932 Define accept4 as a weak alias.
33933
33934 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33935 on [_DIRENT_HAVE_D_TYPE].
33936 * io/ftw.c (ftw_dir): Likewise.
33937
33938 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33939
33940 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33941
33942 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33943 Use the BSD numbers rather than the arbitrary ones we had.
33944 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33945 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33946 (SIGXCPU, SIGXFSZ): New macros.
33947 (_NSIG): Now 32.
33948
33949 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33950 initializer on [_LIBC_REENTRANT].
33951
33952 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33953 definitions inside [_POSIX_MAPPED_FILES].
33954
33955 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33956
33957 * dirent/opendir.c: Include <fcntl.h>.
33958
33959 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33960 (__libc_getspecific): Likewise.
33961 (__libc_key_create): Likewise.
33962
33963 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33964 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33965 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33966 (tmpfile64): Define as alias.
33967 * sysdeps/wordsize-64/tmpfile.c: File removed.
33968 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33969 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33970 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33971
33972 * stdio-common/vfscanf.c: Include <stdbool.h>.
33973 * nss/makedb.c: Likewise.
33974 * stdio-common/_i18n_number.h: Likewise.
33975 * argp/argp-help.c: Likewise.
33976 * posix/wordexp.c: Likewise.
33977 * sysdeps/posix/spawni.c: Likewise.
33978 * nss/nss_files/files-initgroups.c: Likewise.
33979 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33980 * nss/nss_files/files-initgroups.c: Likewise.
33981 * nss/nss_db/db-netgrp.c: Likewise.
33982 * nss/nss_db/db-initgroups.c: Likewise.
33983 * io/fchmodat.c: Include <sys/stat.h>.
33984
33985 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33986 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33987
33988 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33989 [HAVE_MMAP].
33990
33991 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33992 Add multiple inclusion protection.
33993
e5abc686
DM
339942012-07-27 David S. Miller <davem@davemloft.net>
33995
33996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33997
815e6fa3
GB
339982012-07-27 Gary Benson <gbenson@redhat.com>
33999
34000 [BZ #14298]
34001 * elf/rtld.c: Include <stap-probe.h>.
34002 (dl_main): Added static probes "init_start" and "init_complete".
34003 * elf/dl-load.c: Include <stap-probe.h>.
34004 (lose): Take new parameter "nsid".
34005 Added static probe "map_failed".
34006 (_dl_map_object_from_fd): Pass namespace id to lose.
34007 Added static probe "map_start".
34008 (open_verify): Pass namespace id to lose.
34009 * elf/dl-open.c: Include <stap-probe.h>.
34010 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34011 and "reloc_complete".
34012 * elf/dl-close.c: Include <stap-probe.h>.
34013 (_dl_close_worker): Added static probes "unmap_start" and
34014 "unmap_complete".
34015 * elf/rtld-debugger-interface.txt: New file documenting the above.
34016
9f98c16c
RM
340172012-07-26 Roland McGrath <roland@hack.frob.com>
34018
34019 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34020 rather than a string variable.
34021 * sunrpc/rpc_main.c (h_output): Likewise.
34022 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34023
f3c22df3
PT
340242012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34025
34026 * inet/check_native.c: New file.
34027
3129cfc6
JM
340282012-07-26 Joseph Myers <joseph@codesourcery.com>
34029
da865e95
JM
34030 [BZ #13629]
34031 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34032 if larger part has absolute value 1.0.
34033 * math/s_clog10.c (__clog10): Likewise.
34034 * math/s_clog10f.c (__clog10f): Likewise.
34035 * math/s_clog10l.c (__clog10l): Likewise.
34036 * math/s_clogf.c (__clogf): Likewise.
34037 * math/s_clogl.c (__clogl): Likewise.
34038 * math/libm-test.inc (clog_test): Add more tests.
34039 (clog10_test): Likewise.
34040 * sysdeps/i386/fpu/libm-test-ulps: Update.
34041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34042
3129cfc6
JM
34043 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34044 (pltexit): Likewise.
34045 (La_regs): Likewise.
34046 (La_retval): Likewise.
34047 (int_retval): Likewise.
34048 Update #error for removed macros to refer only to definitions in
34049 tst-audit.h.
34050 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34051 macro.
34052 (pltexit): Likewise.
34053 (La_regs): Likewise.
34054 (La_retval): Likewise.
34055 (int_retval): Likewise.
34056 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34057 macro.
34058 (pltexit): Likewise.
34059 (La_regs): Likewise.
34060 (La_retval): Likewise.
34061 (int_retval): Likewise.
34062 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34063 macro.
34064 (pltexit): Likewise.
34065 (La_regs): Likewise.
34066 (La_retval): Likewise.
34067 (int_retval): Likewise.
34068 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34069 macro.
34070 (pltexit): Likewise.
34071 (La_regs): Likewise.
34072 (La_retval): Likewise.
34073 (int_retval): Likewise.
34074 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34075 macro.
34076 (pltexit): Likewise.
34077 (La_regs): Likewise.
34078 (La_retval): Likewise.
34079 (int_retval): Likewise.
34080 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34081 macro.
34082 (pltexit): Likewise.
34083 (La_regs): Likewise.
34084 (La_retval): Likewise.
34085 (int_retval): Likewise.
34086 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34087 macro definitions in tst-audit.h.
34088 * sysdeps/i386/tst-audit.h: New file.
34089 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34090 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34091 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34092 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34093 * sysdeps/sh/tst-audit.h: Likewise.
34094 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34095 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34096 * sysdeps/x86_64/tst-audit.h: Likewise.
34097
bfc07087
AJ
340982012-07-26 Andreas Jaeger <aj@suse.de>
34099
b1b2aaf8
AJ
34100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34101 ptrace.
34102
34103 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34104 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34105 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34106 PTRACE_O_MASK.
34107 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34108 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34109 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34110
bfc07087
AJ
34111 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34112 value.
34113
34114 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34115 _sigsys.
34116 (si_call_addr, si_syscall, si_arch): Define new macro.
34117 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34118 _sigsys.
34119 (si_call_addr, si_syscall, si_arch): Define new marcro.
34120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34121 _sigsys.
34122 (si_call_addr, si_syscall, si_arch): Define new macro.
34123 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34124 _sigsys.
34125 (si_call_addr, si_syscall, si_arch): Define new macro.
34126
89b4b02f
JM
341272012-07-25 Joseph Myers <joseph@codesourcery.com>
34128
34129 [BZ #13717]
34130 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34131 Change to 2.4.21 where previously 2.4.1.
34132 * sysdeps/unix/sysv/linux/configure: Regenerated.
34133 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34134 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34135 Linux kernel version.
34136 (__ASSUME_STD_AUXV): Remove.
34137 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34138 kernel version.
34139 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34140 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34141 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34142 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34143 (__ASSUME_NETLINK_SUPPORT): Likewise.
34144 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34145 (__no_netlink_support): Remove conditional definition.
34146 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34147 Remove.
34148 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34149 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34150 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34151 (if_nameindex_ioctl): Remove.
34152 (if_nameindex_netlink): Do not handle __no_netlink_support.
34153 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34154 code.
34155 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34156 Remove conditional code.
34157 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34158 code.
34159 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34160 unconditional.
34161 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34162 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34163 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34164 Remove.
34165 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34166 [!__ASSUME_STD_AUXV]: Remove conditional code.
34167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34168 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34169 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34171 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34172 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34173 code.
34174 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34176 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34177 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34178 conditional code.
34179 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34181 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34182 code.
34183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34184 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34185 conditional code.
34186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34187 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34188 code unconditional.
34189 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34190 conditional code.
34191 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34192 unconditional.
34193 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34194 conditional code.
34195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34196 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34197 unconditional.
34198 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34199 conditional code.
34200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34201 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34202 code unconditional.
34203 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34204 conditional code.
34205 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34206 unconditional.
34207 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34208 conditional code.
34209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34210 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34211 code unconditional.
34212 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34213 conditional code.
34214 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34215 unconditional.
34216 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34217 conditional code.
34218
842a39cd
AS
342192012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34220
34221 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34222 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34223 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34224 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34225 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34226 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34227 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34228 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34229 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34230 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34231 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34232 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34233 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34234 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34236 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34241 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34242 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34243 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34244
84b3fd84
FW
342452012-07-25 Florian Weimer <fweimer@redhat.com>
34246
34247 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34248 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34249 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34250 Introduce __libc_secure_getenv.
0c7936d5
FW
34251 * stdlib/Versions (2.17): Add secure_getenv
34252 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34253 * stdlib/secure-getenv.c: Rename __secure_getenv to
34254 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34255 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34256 * stdlib/tst-secure-getenv.c: New.
34257 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34258 * manual/startup.texi (Environment Access): Document
34259 secure_getenv.
84b3fd84
FW
34260 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34261 __libc_secure_getenv.
34262 * inet/ruserpass.c (ruserpass): Likewise.
34263 * malloc/mtrace.c (mtrace): Likewise.
34264 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34265 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34266 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34267 * sysdeps/posix/tempname.c: Likewise. Evaluate
34268 HAVE_SECURE_GETENV.
34269 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34270 __secure_getenv to __libc_secure_getenv.
84b3fd84 34271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34273 Likewise.
34274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34275 Likewise.
34276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34283
56e49b71
JM
342842012-07-25 Joseph Myers <joseph@codesourcery.com>
34285
34286 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34287 (struct La_i86_retval): Likewise.
34288 (struct La_x86_64_regs): Likewise.
34289 (struct La_x86_64_retval): Likewise.
34290 (struct La_x32_regs): Likewise.
34291 (struct La_x32_retval): Likewise.
34292 (struct La_ppc32_regs): Likewise.
34293 (struct La_ppc32_retval): Likewise.
34294 (struct La_ppc64_regs): Likewise.
34295 (struct La_ppc64_retval): Likewise.
34296 (struct La_sh_regs): Likewise.
34297 (struct La_sh_retval): Likewise.
34298 (struct La_s390_32_regs): Likewise.
34299 (struct La_s390_32_retval): Likewise.
34300 (struct La_s390_64_regs): Likewise.
34301 (struct La_s390_64_retval): Likewise.
34302 (struct La_sparc32_regs): Likewise.
34303 (struct La_sparc32_retval): Likewise.
34304 (struct La_sparc64_regs): Likewise.
34305 (struct La_sparc64_retval): Likewise.
34306 (struct audit_ifaces): Remove architecture-specific pltenter and
34307 pltexit members.
34308 * sysdeps/i386/ldsodefs.h: New file.
34309 * sysdeps/powerpc/ldsodefs.h: Likewise.
34310 * sysdeps/s390/ldsodefs.h: Likewise.
34311 * sysdeps/sh/ldsodefs.h: Likewise.
34312 * sysdeps/sparc/ldsodefs.h: Likewise.
34313 * sysdeps/x86_64/ldsodefs.h: Likewise.
34314
354691b7
MP
343152012-07-25 Marek Polacek <polacek@redhat.com>
34316
34317 [BZ #6808]
34318 * math/libm-test.inc (yn_test): Add another test.
34319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34320 to ERANGE when the result is +-Inf.
34321 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34322 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34323 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34324 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34325
bf9e2071
JM
343262012-07-24 Joseph Myers <joseph@codesourcery.com>
34327
34328 * conform/data/time.h-data (NULL): Use macro-constant. Require
34329 equal to 0.
34330 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34331 clock_t.
34332 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34333
57633811
TS
343342012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34335
34336 * configure.in <sysdeps resolving>: Correct printing
34337 Implies_before.
34338 * configure: Regenerate.
34339
c23c33b0
TS
343402012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34341
34342 * math/w_ilogb.c: Include <limits.h>.
34343 * math/w_ilogbl.c: Likewise.
34344
b5982523
JM
343452012-07-20 Joseph Myers <joseph@codesourcery.com>
34346
34347 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34348 va_copy. Document allowing for unavailable va_copy only as
34349 pre-C99 compatibility.
34350 * manual/string.texi (Copying and Concatenation): Use va_copy
34351 instead of __va_copy in concat example.
34352
ac4ea442
PT
343532012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34354
34355 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34356 (__sendto): Use create_address_port. Initialize APORT and deallocate
34357 it if not null.
34358
f98eafbd
PT
34359 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34360 with O_NOLINK passed to __file_name_lookup.
34361
898c7aab
PT
34362 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34363 with O_NOLINK passed to __file_name_lookup.
34364
0ced335a
PT
34365 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34366 negative N or less than NGIDS.
34367
b3404dbd
PT
34368 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34369 type to string_t. Set ERANGE as errno and return it if NAME is not big
34370 enough. Use memcpy instead of strncpy.
34371
0f48659e
JM
343722012-07-20 Joseph Myers <joseph@codesourcery.com>
34373
34374 * elf/Makefile (check-data): Remove.
34375 (localplt.data): New vpath directive.
34376 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34377 instead of $(check-data).
34378 * scripts/data/localplt-generic.data: Move to ...
34379 * sysdeps/generic/localplt.data: ... here.
34380 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34381 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34382 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34384 ... here.
34385 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34387 ... here.
34388 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34390 ... here.
34391 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34393 ... here.
34394 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34396 ... here.
34397 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34399 ... here.
34400
d37cbdaa
AZ
344012012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34402
34403 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34404 PPC32 and PPC64 files.
34405 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34406 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34407
46f85fc2
AK
344082012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34409
34410 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34411 __makecontext_ret to ...
34412 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34413 ... here and call exit if uc_link is NULL. New file.
34414 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34415 __makecontext_ret.S.
34416 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34417 __makecontext_ret to ...
34418 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34419 ... here and call exit if uc_link is NULL. New file.
34420 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34421 __makecontext_ret.S.
34422
08f43f9b
AK
344232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34424
34425 * elf/elf.h (R_390_IRELATIVE): New definition.
34426 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34427 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34428 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34429 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34430 (elf_machine_lazy_rel): Likewise.
34431 * sysdeps/s390/dl-irel.h: New file.
34432 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34433 * sysdeps/s390/s390-64/memset.S: New asm code.
34434 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34435 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34436 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34437 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34438 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34439 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34440 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34441 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34442 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34443 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34444 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34445 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34446 * sysdeps/s390/s390-32/memset.S: New asm code.
34447 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34448
3b05db33
MP
344492012-07-17 Marek Polacek <polacek@redhat.com>
34450
34451 [BZ #14349]
34452 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34453 * sysdeps/s390/s390-64/configure.in: Likewise.
34454 * sysdeps/sparc/configure.in: Likewise.
34455 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34456 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34457 * sysdeps/i386/configure.in: Likewise.
34458 * sysdeps/x86_64/configure.in: Likewise.
34459 * sysdeps/sh/configure.in: Likewise.
34460 * sysdeps/s390/s390-32/configure: Regenerated.
34461 * sysdeps/s390/s390-64/configure: Likewise.
34462 * sysdeps/x86_64/configure: Likewise.
34463 * sysdeps/sh/configure: Likewise.
34464 * sysdeps/powerpc/powerpc64/configure: Likewise.
34465 * sysdeps/powerpc/powerpc32/configure: Likewise.
34466 * sysdeps/sparc/configure: Likwise.
34467 * sysdeps/i386/configure: Likewise.
34468
a66877c6
MP
34469 * elf/dl-open.c: Comment fixes.
34470
cfc82fd8
JM
344712012-07-17 Joseph Myers <joseph@codesourcery.com>
34472
bd29910a
JM
34473 * Makefile [CXX] (check-data): Remove.
34474 [CXX] (c++-types.data): New vpath directive.
34475 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34476 vpath. Do not allow for C++ type data being missing.
34477 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34478 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34479 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34480 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34481 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34482 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34483 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34485 ... here.
34486 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34488 ... here.
34489 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34491 ... here.
34492 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34494 ... here.
34495 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34497 ... here.
34498 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34500 ... here.
34501 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34503 ... here.
34504 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34506
cfc82fd8
JM
34507 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34508 definitions to architecture-specific files.
34509 (TLS_IE): Likewise.
34510 (TLS_LD): Likewise.
34511 (TLS_GD): Likewise.
34512 * sysdeps/i386/tls-macros.h: New file.
34513 * sysdeps/powerpc/tls-macros.h: Likewise.
34514 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34515 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34516 * sysdeps/sh/tls-macros.h: Likewise.
34517 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34518 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34519 * sysdeps/x86_64/tls-macros.h: Likewise.
34520
f7db3170
TS
345212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34522
07cbfc23
TS
34523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34524 zero value for regular exit case.
34525
f7db3170
TS
34526 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34527 (__start_context): Preserve zero value for regular exit case.
34528
dc97c227
TS
345292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34530 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34531
34532 * manual/setjmp.texi (setcontext): Clarify normal process
34533 termination when uc_link is the null pointer.
34534 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34535 exit call.
34536
d0cd7d02
AS
345372012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34538
34539 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34540 preprocessor. Test for each exception mask separately.
34541
dd318934
AJ
345422012-07-16 Andreas Jaeger <aj@suse.de>
34543
34544 * po/ru.po: Update from translation team.
34545
8048311a
JM
345462012-07-15 Joseph Myers <joseph@codesourcery.com>
34547
34548 * conform/data/string.h-data (NULL): Use macro-constant. Require
34549 equal to 0.
34550 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34551 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34552 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34553 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34555
b637d46e
AJ
345562012-07-13 Andreas Jaeger <aj@suse.de>
34557
34558 * po/fr.po: Update from translation team.
34559
541428fe
MP
345602012-07-12 Marek Polacek <polacek@redhat.com>
34561
34562 [BZ #14173]
34563 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34565 loop condition.
34566
ec332e94
JM
345672012-07-12 Joseph Myers <joseph@codesourcery.com>
34568
34569 [BZ #13717]
34570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34571 Change to 2.4.1 where previously 2.4.0.
34572 * sysdeps/unix/sysv/linux/configure: Regenerated.
34573 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34574 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34575 version.
34576 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34577 (__ASSUME_AT_CLKTCK): Remove.
34578 (__ASSUME_AT_PAGESIZE): Likewise.
34579 (__ASSUME_AT_XID): Likewise.
34580 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34581 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34582 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34583 unconditionally.
34584 (HAVE_AUX_PAGESIZE): Likewise.
34585 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34586 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34587 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34588
7b6e99be
JB
345892012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34590
34591 [BZ #14307]
34592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34593 the temporary buffer used to invoke __gethostbyname2_r,
34594 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34595 host_data / struct gaih_addrtuple.
34596 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34597 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34598 header file nss/nsswitch.h.
34599 * nss/nsswitch.h (global scope): Add definition of implementation
34600 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34601 resolv/nss_dns/dns-host.c).
34602
608404eb
AJ
346032012-07-11 Andreas Jaeger <aj@suse.de>
34604
34605 * po/fr.po: Update from translation team.
34606
71220aca
AJ
34607 * po/sv.po: Update from translation team
34608 * po/fr.po: Another update from translation team.
34609
28cfe843
AZ
346102012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34611
34612 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34613 for subnormals or multiply small sinh result by itself.
34614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34616
6b90f981
DM
346172012-07-11 David S. Miller <davem@davemloft.net>
34618
34619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34620
c6825772
AS
346212012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34622
34623 [BZ #14347]
34624 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34625 (INTERNAL_MARK): Shift it here.
34626
7b8e0d49
MP
346272012-07-10 Marek Polacek <polacek@redhat.com>
34628
34629 [BZ #14151]
34630 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34631 libc_cv_asm_global_directive with .globl.
34632 * configure: Regenerated.
34633 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34634 with .globl.
34635 * sysdeps/i386/configure: Regenerated.
34636 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34637 with .globl.
34638 * sysdeps/x86_64/configure: Regenerated.
34639 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34640 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34641 * elf/tst-unique2mod2.c: Likewise.
34642 * elf/tst-unique2mod1.c: Likewise.
34643 * elf/tst-unique1mod2.c: Likewise.
34644 * elf/tst-unique1mod1.c: Likewise.
34645 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34646 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34649 * sysdeps/mach/sysdep.h: Likewise.
34650 * sysdeps/i386/sysdep.h: Likewise.
34651 * sysdeps/i386/i386-mcount.S: Likewise.
34652 * sysdeps/x86_64/_mcount.S: Likewise.
34653 * sysdeps/x86_64/sysdep.h: Likewise.
34654 * sysdeps/sh/_mcount.S: Likewise.
34655 * sysdeps/sh/sysdep.h: Likewise.
34656 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34657 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34658 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34659 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34660 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34661 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34662 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34663 * locale/localeinfo.h: Likewise.
34664 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34665 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34666
6c55cda3
RM
346672012-07-09 Roland McGrath <roland@hack.frob.com>
34668
34669 [BZ #14336]
34670 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34671 system".
34672 * manual/message.texi (The Uniforum approach): Likewise.
34673 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34674 (glibc iconv Implementation): Likewise.
34675
638a572e
JM
346762012-07-09 Joseph Myers <joseph@codesourcery.com>
34677
34678 [BZ #14337]
34679 * math/s_clog.c (__clog): Avoid scaling a value down where that
34680 could result in underflow.
34681 * math/s_clog10.c (__clog10): Likewise.
34682 * math/s_clog10f.c (__clog10f): Likewise.
34683 * math/s_clog10l.c (__clog10l): Likewise.
34684 * math/s_clogf.c (__clogf): Likewise.
34685 * math/s_clogl.c (__clogl): Likewise.
34686 * math/libm-test.inc (clog_test): Add more tests.
34687 (clog10_test): Likewise.
34688 * sysdeps/i386/fpu/libm-test-ulps: Update.
34689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34690
261f4859
AS
346912012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34692
0abaf3e4
AS
34693 [BZ #14283]
34694 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34695 by 7 not 8 to examine high bit of fractional part.
34696
261f4859
AS
34697 [BZ #14042]
34698 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34699 for call to __mcount_internal.
34700 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34701 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34702 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34703
f17ac40d
JM
347042012-07-06 Joseph Myers <joseph@codesourcery.com>
34705
9ad63c23
JM
34706 [BZ #14154]
34707 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34708 approximation for values within 0x1p-13f of an odd multiple of
34709 pi/4.
34710 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34711 exception. Add more tests.
34712 * sysdeps/i386/fpu/libm-test-ulps: Update.
34713
f17ac40d
JM
34714 [BZ #6778]
34715 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34716 inputs and return -1 for them. Do not check for +Inf in case not
34717 reachable for +Inf.
34718 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34719 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34721 and return -1 for them. Do not check for +Inf in case not
34722 reachable for +Inf.
34723 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34724 define.
34725 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34726 and return -1 for them. Do not check for +Inf in case not
34727 reachable for +Inf.
34728 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34729 spurious underflow.
34730 * sysdeps/i386/fpu/libm-test-ulps: Update.
34731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34732
fb21f89b
MF
347332012-07-06 Mike Frysinger <vapier@gentoo.org>
34734
34735 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34736
cdfe2c5e
JM
347372012-07-05 Joseph Myers <joseph@codesourcery.com>
34738
34739 [BZ #14157]
34740 [BZ #14331]
34741 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34742 could result in spurious underflow. Scale down values above
34743 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34744 * math/s_csqrtf.c (__csqrtf): Likewise.
34745 * math/s_csqrtl.c (__csqrtl): Likewise.
34746 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34747 spurious underflow.
34748 * sysdeps/i386/fpu/libm-test-ulps: Update.
34749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34750
70d35b67
AS
347512012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34752
704bc459
AS
34753 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34754 xopen-msg.sed.
34755 * catgets/xopen-msg.awk: New file.
34756 * catgets/xopen-msg.sed: Removed.
34757
70d35b67
AS
34758 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34759 po2text.sed.
34760 * intl/po2test.awk: New file.
34761 * intl/po2test.sed: Removed.
34762
ca61cf32
JM
347632012-07-04 Joseph Myers <joseph@codesourcery.com>
34764
34765 [BZ #14328]
34766 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34767 or multiply small sinh result by itself.
34768 * math/s_ctanf.c (__ctanf): Likewise.
34769 * math/s_ctanh.c (__ctanh): Likewise.
34770 * math/s_ctanhf.c (__ctanhf): Likewise.
34771 * math/s_ctanhl.c (__ctanhl): Likewise.
34772 * math/s_ctanl.c (__ctanl): Likewise.
34773 * math/libm-test.inc (ctan_test_tonearest): New function.
34774 (ctan_test_towardzero): Likewise.
34775 (ctan_test_downward): Likewise.
34776 (ctan_test_upward): Likewise.
34777 (ctanh_test_tonearest): Likewise.
34778 (ctanh_test_towardzero): Likewise.
34779 (ctanh_test_downward): Likewise.
34780 (ctanh_test_upward): Likewise.
34781 (main): Call these new functions.
34782 * sysdeps/i386/fpu/libm-test-ulps: Update.
34783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34784
ca48a46a
MF
347852012-07-03 Mike Frysinger <vapier@gentoo.org>
34786
34787 * .gitignore: Delete /ports entry.
34788
9d63d37d
AJ
347892012-07-03 Andreas Jaeger <aj@suse.de>
34790
34791 * po/bg.po: Update from translation team.
34792 * po/cs.po: Likewise.
34793 * po/de.po: Likewise.
34794 * po/hr.po: Likewise.
34795 * po/nl.pl: Likewise.
34796 * po/pl.po: Likewise.
34797 * po/vi.po: Likewise.
34798
370ca3d2
JM
347992012-07-03 Joseph Myers <joseph@codesourcery.com>
34800
95f5a9a8
JM
34801 * Makeconfig [!+link] (+link-before-libc): New variable.
34802 [!+link] (+link-after-libc): Likewise.
34803 [!+link] (+link-tests): Likewise.
34804 [!+link] (+link): Define in terms of $(+link-before-libc) and
34805 $(+link-after-libc).
34806 [!+link-static] (+link-static-before-libc): New variable.
34807 [!+link-static] (+link-static-after-libc): Likewise.
34808 [!+link-static] (+link-static-tests): Likewise.
34809 [!+link-static] (+link-static): Define in terms of
34810 $(+link-static-before-libc) and $(+link-static-after-libc).
34811 [build-shared] (link-libc-before-gnulib): New variable.
34812 [build-shared] (link-libc-tests): Likewise.
34813 [build-shared] (link-libc): Define in terms of
34814 $(link-libc-before-gnulib).
34815 [!build-shared] (link-libc-tests): New variable.
34816 (link-libc-static-tests): New variable.
34817 [!gnulib] (gnulib-arch): New variable.
34818 [!gnulib] (gnulib-tests): Likewise.
34819 [!gnulib] (static-gnulib-arch): Likewise.
34820 [!gnulib] (static-gnulib-tests): Likewise.
34821 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34822 Define with "=" instead of ":=".
34823 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34824 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34825 * Rules (binaries-all-notests): New variable.
34826 (binaries-all-tests): Likewise.
34827 (binaries-static-notests): Likewise.
34828 (binaries-static-tests): Likewise.
34829 (binaries-all): Define using $(binaries-all-notests) and
34830 $(binaries-all-tests).
34831 (binaries-static): Define using $(binaries-static-notests) and
34832 $(binaries-static-tests).
34833 (binaries-shared-tests): New variable.
34834 (binaries-shared-notests): Likewise.
34835 (binaries-shared): Remove variable.
34836 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34837 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34838 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34839 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34840 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34841 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34842 * elf/Makefile (sln-modules): New variable.
34843 (extra-objs): Add $(sln-modules:=.o).
34844 (ldconfig-modules): Add static-stubs.
34845 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34846 * elf/static-stubs.c: New file.
34847
7a845b2c
JM
34848 [BZ #14283]
34849 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34850 by 7 not 8 to examine high bit of fractional part. Use volatile
34851 variables when splitting into final array of floats if
34852 __FLT_EVAL_METHOD__ != 0.
34853 * math/libm-test.inc (cos_test): Add another test.
34854 (sin_test): Likewise.
34855 * sysdeps/i386/fpu/libm-test-ulps: Update.
34856
e2283f38
JM
34857 [BZ #14273]
34858 * math/libm-test.inc (cosh_test): Add more tests.
34859
370ca3d2
JM
34860 * version.h (RELEASE): Set to "development".
34861 (VERSION): Set to "2.16.90".
34862
ee9247c3
CD
348632012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34864
34865 * NEWS: Update copyright. Remove last-updated date.
34866 Mention math library bug fixes and timezone data changes.
34867 * README: Mention GNU/Hurd, x32, and HPPA support status.
34868
4648c381
TS
348692012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34870
34871 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34872
aac78a43
AJ
348732012-06-27 Andreas Jaeger <aj@suse.de>
34874
34875 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34876
ed3dbfad
AJ
348772012-06-25 Andreas Jaeger <aj@suse.de>
34878
34879 * sysdeps/s390/fpu/libm-test-ulps: Update.
34880
4d0ee855
AS
348812012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34882 Thomas Schwinge <thomas@codesourcery.com>
34883
34884 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34885 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34887 fanotify_mark.
34888
af1bce34
TS
348892012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34890
a9fa33ba
TS
34891 * sysdeps/mach/start.c: Remove file.
34892 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34893 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34894 * sysdeps/sh/init-first.c: Likewise.
34895
58f902b8
TS
34896 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34897 registers for frame unwinding purposes, add CFI directives.
34898 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34899 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34900 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34901 Likewise.
34902
1518f58b
TS
34903 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34904 __fortify_fail returning.
34905 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34906
db9b5059
TS
34907 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34908 sysdeps/sh/____longjmp_chk.S.
34909 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34910 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34911 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34912 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34913
967705fe
TS
34914 * sysdeps/sh/abort-instr.h: New file.
34915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34916 process in case exit returns.
34917
a9def8c4
TS
34918 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34919 initialize the GOT register before use.
34920
2a649725
TS
34921 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34922 calculation of ARGC > 4.
34923
af1bce34
TS
34924 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34925 meaningful names to some local labels.
34926
d230f50a
KK
349272012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34928 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34929
34930 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34931 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34932 (__arch_compare_and_exchange_val_16_acq): Likewise.
34933 (__arch_compare_and_exchange_val_32_acq): Likewise.
34934 (atomic_exchange_and_add): Fix gUSA sequence.
34935 (atomic_add): Likewise.
34936 (atomic_add_negative): Likewise.
34937 (atomic_add_zero): Likewise.
34938 (atomic_bit_test_set): Likewise.
34939
0479b305
AS
349402012-06-22 Andreas Schwab <schwab@redhat.com>
34941
34942 [BZ #13579]
34943 * include/link.h (struct link_map): Add l_free_initfini.
34944 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34945 l_initfini.
34946 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34947 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34948 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34949 set.
34950
0e3933b9
CD
349512012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34952
34953 * configure.in: Use AC_LANG_SOURCE.
34954 * configure: Regenerate.
34955
4248b1b1
RM
349562012-06-22 Roland McGrath <roland@hack.frob.com>
34957
34958 * configure.in (libc_cv_localstatedir): New substituted variable.
34959 * configure: Regenerated.
34960 * config.make.in (localstatedir): New variable, substituted from
34961 libc_cv_localstatedir.
34962 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34963 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34964 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34965 * sysdeps/gnu/configure: Regenerated.
34966
006dd861
JL
349672012-06-21 Jeff Law <law@redhat.com>
34968
34969 [BZ #14277]
34970 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34971 free. Simplify list management for _LIBC case.
34972
79662d42
JM
349732012-06-21 Joseph Myers <joseph@codesourcery.com>
34974
b7abb4bf
JM
34975 [BZ #14273]
34976 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34977 Clear sign bit of 64-bit integer value before comparing against
34978 overflow value.
34979
79662d42
JM
34980 * sysdeps/mach/configure: Regenerated.
34981
1f150908
L
349822012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34983
34984 [BZ #14278]
34985 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34986
28363bbf
JL
349872012-06-21 Jeff Law <law@redhat.com>
34988
34989 [BZ #13882]
34990 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34991 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34992 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34993 * elf/dl-open.c (dl_open_worker): Likewise.
34994
09615db4
CD
349952012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34996
34997 * scripts/list-sources.sh: Scan PORTS for translations.
34998 * po/libc.pot: Regenerated.
34999
2174c6dd
AJ
350002012-06-21 Andreas Jaeger <aj@suse.de>
35001
35002 [BZ #12194]
35003 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35004 warning.
35005 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35006 * bits/byteswap-16.h (__bswap_16): Likewise.
35007 * bits/byteswap.h (__bswap_constant_16): Likewise.
35008
3ee947b1
L
350092012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35010
35011 [BZ #14117]
a2f34833
L
35012 * sysdeps/i386/fpu_control.h: Removed.
35013 * sysdeps/x86_64/fpu_control.h: Moved to ...
35014 * sysdeps/x86/fpu_control.h: Here.
35015
3ee947b1
L
35016 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35017 (_FPU_SETCW): Likewise.
35018
ed1825f8
L
350192012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35020
25f1282a
L
35021 [BZ #14117]
35022 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35023 * sysdeps/x86/fpu/bits/mathinline.h: This.
35024 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35025
ed1825f8
L
35026 [BZ #14050]
35027 [BZ #14117]
35028 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35029 functions if __x86_64__ is defined.
35030
36d54b74
CLT
350312012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35032
35033 * string/endian.h: Add !__ASSEMBLER__ condition for including
35034 conversion interfaces.
35035
10285c21
JM
350362012-06-15 Joseph Myers <joseph@codesourcery.com>
35037
35038 [BZ #14241]
35039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35040 of ABS(x) in calculating zero to negative powers other than odd
35041 integers.
35042 * math/libm-test.inc (pow_test): Add more tests.
35043
06c5abbd
AJ
350442012-06-15 Andreas Jaeger <aj@suse.de>
35045
35046 * manual/contrib.texi (Contributors): Update entry of Liubov
35047 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35048 Machado Filho.
35049
a3aeac40
CH
350502012-06-15 Cyril Hrubis <metan@ucw.cz>
35051
35052 * string/string.h: Add __wur to GNU version of strerror_r.
35053
49bdf4c1
L
350542012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35055
35056 [BZ #14229]
35057 * string/Makefile (tests): Add tst-strtok_r.
35058 * string/tst-strtok_r.c: New file.
35059 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35060 RAX_LP/RDX_LP on SAVE_PTR.
35061
834f9b8d
RM
350622012-06-14 Roland McGrath <roland@hack.frob.com>
35063
35064 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35065
75fa1921
JM
350662012-06-14 Joseph Myers <joseph@codesourcery.com>
35067
35068 * libm_test.inc (csqrt_test): Allow more spurious underflow
35069 exceptions.
35070 (j0_test): Likewise.
35071 (j1_test): Likewise.
35072 (y0_test): Likewise.
35073 (y1_test): Likewise.
35074
771766df
CD
350752012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35076
35077 * po/Makefile (libc.pot): Use UTF-8 charset.
35078
ceb9e56b
PP
350792012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35080
35081 [BZ #14210]
35082 Suppress sign-conversion warning from FD_SET.
35083 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35084 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35085 not unsigned long int.
35086 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35087
ddb28975
L
350882012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35089
35090 [BZ #14050]
35091 [BZ #14117]
35092 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35093 __extern_always_inline instead of __extern_inline.
35094 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35095 (__signbit): Likewise.
35096 (__signbitl): Support C++ namespace.
35097 (lrintf): New inline function.
35098 (lrint): Likewise.
35099 (llrintf): Likewise.
35100 (llrint): Likewise.
35101 (fmaxf): Likewise.
35102 (fmax): Likewise.
35103 (fminf): Likewise.
35104 (fmin): Likewise.
35105 (rint): Likewise.
35106 (rintf): Likewise.
35107 (ceil): Likewise.
35108 (ceilf): Likewise.
35109 (floor): Likewise.
35110 (floorf): Likewise.
35111 (nearbyint): Likewise.
35112 (nearbyintf): Likewise.
35113
d7b4fb26
TS
351142012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35115
35116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35117 non-default versions.
35118
eb55f5c2
RM
351192012-06-11 Roland McGrath <roland@hack.frob.com>
35120
35121 [BZ #14218]
35122 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35123
366af02c
TS
351242012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35125
99ff6e5c
TS
35126 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35127 (FE_UPWARD, FE_DOWNWARD): Don't define.
35128 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35129 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35130
366af02c
TS
35131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35132 reading it.
35133 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35134 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35135
793ea851
KK
351362012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35137
35138 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35140 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35141 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35142
a728a38f
L
351432012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35144
35145 [BZ #14117]
c08010c7
L
35146 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35147 * sysdeps/i386/fpu/Implies: New file.
35148 * sysdeps/x86_64/fpu/Implies: Likewise.
35149 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35150 * sysdeps/x86/fpu/bits/fenv.h: This.
35151
a728a38f
L
35152 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35153 __SSE_MATH__.
35154
6e230d11
SP
351552012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35156
35157 [BZ #14134]
35158 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35159 character 0xffff that matches the last element of the
35160 conversion table.
35161
1b671feb
AZ
351622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35163
35164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35165 fmodl commit.
35166
6043738b
AZ
351672012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35168
35169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35170 values higher than 25.6283.
35171
34ae0b32
AZ
351722012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35173
35174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35175 subnormal exponent extraction and add some __builtin_expect.
35176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35177 Fix for subnormal mantissa calculation.
35178
1214ec8f
MF
351792012-06-04 Mike Frysinger <vapier@gentoo.org>
35180
35181 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35182 cpu2 is -1 and errno is not ENOSYS.
35183
f3d1f93c
L
351842012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35185
35186 [BZ #14117]
0e4a3cd7
L
35187 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35188 * sysdeps/x86/bits/string.h: This.
35189 * sysdeps/x86_64/bits/string.h: Removed.
35190
6704c645
L
35191 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35192 if not compiling for x86-64, but compiling for >= i486.
35193
48495318
L
35194 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35195 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35196
14adcbfc
L
35197 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35198 New macro from Linux kernel 3.4.0.
35199 (FP_XSTATE_MAGIC2): Likewise.
35200 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35201 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35202 (struct _fpx_sw_bytes): New struct.
35203 (struct _xsave_hdr): Likewise.
35204 (struct _ymmh_state): Likewise.
35205 (struct _xstate): Likewise.
35206
68e408ab
L
35207 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35208 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35210 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35211 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35212 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35213
f3d1f93c
L
35214 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35215 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35216 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35217 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35218 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35219 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35220
d9dc34cd
TMQMF
352212012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35222
35223 [BZ #13743]
35224 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35225 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35226 (sysdep_headers): Include sys/platform/ppc.h.
35227 * sysdeps/powerpc/test-gettimebase.c: Test for
35228 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35229 * manual/Makefile (appendices): Include platform.texi.
35230 * manual/contrib.texi (Contributors): Update @node pointers.
35231 * manual/maint.texi (Maintenance): Likewise.
35232 (Platform): New node.
35233 * manual/platform.texi: New file. Document the new features.
35234
4af3879c
SP
352352012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35236 Jakub Jelinek <jakub@redhat.com>
35237
35238 [BZ #14188]
35239 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35240 where __builtin_expect is unavailable.
35241
2fd6ff13
DM
352422012-06-03 David S. Miller <davem@davemloft.net>
35243
35244 * stdlib/longlong.h: Updated from GCC.
35245
173f7220
AS
352462012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35247
35248 [BZ #14042]
35249 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35250 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35251 __mcount_internal.
35252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35253 (GLIBC_2.16): Likewise.
35254
f34a1c6f
L
352552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35256
35257 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35258
88a4576f
JM
352592012-06-01 Joseph Myers <joseph@codesourcery.com>
35260
ea32bcdd
JM
35261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35262 (default-abi): New variable.
35263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35264 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35265 variable.
35266 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35267 Likewise.
35268 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35269 Likewise.
35270 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35271 Likewise.
35272
88a4576f
JM
35273 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35274 definition. Document in comment.
35275
402fe938
DM
352762012-06-01 David S. Miller <davem@davemloft.net>
35277
35278 * stdlib/longlong.h: Updated from GCC.
35279
3553723f
L
352802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35281
35282 [BZ #14117]
3bd872c4
L
35283 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35284 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35285 sys/debugreg.h sys/io.h here.
35286 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35287 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35288 sys/io.h.
35289 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35290 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35291 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35292 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35293 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35294 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35295
3553723f
L
35296 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35297 Define only if __x86_64__ is defined.
35298
4842e4fe
JM
352992012-06-01 Joseph Myers <joseph@codesourcery.com>
35300
c5bfe3d5
JM
35301 [BZ #14048]
35302 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35303 Use int64_t for variable i.
35304 * math/libm-test.inc (fmod_test): Add more tests.
35305
4842e4fe
JM
35306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35307 z computation is not scheduled after fetestexcept.
35308 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35309 Use math_force_eval instead of asm to ensure calculation scheduled
35310 before exception test.
35311 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35312 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35313
efb73488
AJ
353142012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35315
35316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35317 computation is not scheduled after fetestexcept.
35318
29bcce7c
L
353192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35320
35321 [BZ #14117]
35322 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35323 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35324
73a68f94
AZ
353252012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35326
35327 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35328 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35329
67b6df78
L
353302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35331
edf2933a 35332 [BZ #14117]
ebc64a18
L
35333 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35334 <bits/wordsize.h>.
35335 (__WCHAR_MIN): Support __WORDSIZE == 64.
35336 (__WCHAR_MAX): Likewise.
35337
edf2933a
L
35338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35340
57c6cf40
L
35341 [BZ #14183]
35342 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35343 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35344
67b6df78 35345 [BZ #14117]
8eb6281e
L
35346 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35347 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35348
aac639f4
L
35349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35350 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35351
67b6df78
L
35352 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35353 Defined to 1 if __x86_64__ isn't defined.
35354 (_STAT_VER_LINUX_OLD): New.
35355 (st_atime): Remove duplicate.
35356 (st_mtime): Likewise.
35357 (st_ctime): Likewise.
35358
1c2cfe81
DM
353592012-05-31 David S. Miller <davem@davemloft.net>
35360
35361 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35362 entries.
35363
5be8418c
AS
353642012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35365
e7725326
AS
35366 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35367 gen-libm-test.pl.
35368
5be8418c
AS
35369 [BZ #14132]
35370 * elf/dl-reloc.c: Include <_itoa.h>.
35371 (_dl_reloc_bad_type): Remove use of INTUSE.
35372 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35373 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35374 * stdio-common/psiginfo.c (psiginfo): Likewise.
35375 * stdio-common/psignal.c (psignal): Likewise.
35376 * string/strsignal.c (strsignal): Likewise.
35377 * include/signal.h (_sys_siglist): Declare hidden proto.
35378 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35379 INTVARDEF with libc_hidden_data_def.
35380 * stdio-common/itoa-udigits.c: Likewise.
35381 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35382 (_itoa_lower_digits_internal): Remove declaration.
35383 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35384 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35385 (_sys_sigabbrev_internal): Remove aliases.
35386 (_sys_siglist): Define hidden alias.
35387
507352f1
MT
353882012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35389
35390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35391 bits/sysctl.h.
35392
42bbb1c3
L
353932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35394
35395 [BZ #14117]
6bd784b6
L
35396 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35397 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35398
8bca20f0
L
35399 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35400 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35401 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35402 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35403 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35404 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35405
f9e890a9
L
35406 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35407 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35408 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35409
471101a1
L
35410 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35411 with __addr.
35412 (insw): Likewise.
35413 (insl): Likewise.
35414 (outsb): Likewise.
35415 (outsw): Likewise.
35416 (outsl): Likewise.
35417
6451c862
L
35418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35420 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35421
a254b8c9
L
35422 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35423 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35425 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35426 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35427 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35428
b8dfdd92
L
35429 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35430 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35431
578cd270
L
35432 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35433 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35434
de662f5f
L
35435 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35437 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35438
25653439
L
35439 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35440 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35441 to ...
35442 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35443
6bad24a0
L
35444 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35445 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35446 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35447
42bbb1c3
L
35448 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35449 for x86-64.
35450 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35451
2d10d547
JM
354522012-05-31 Joseph Myers <joseph@codesourcery.com>
35453
35454 * math/math.h (M_El): Use two more decimal places.
35455 (M_LOG2El): Likewise.
35456 (M_LOG10El): Likewise.
35457 (M_LN2l): Likewise.
35458 (M_LN10l): Likewise.
35459 (M_PIl): Likewise.
35460 (M_PI_2l): Likewise.
35461 (M_PI_4l): Likewise.
35462 (M_1_PIl): Likewise.
35463 (M_2_PIl): Likewise.
35464 (M_2_SQRTPIl): Likewise.
35465 (M_SQRT2l): Likewise.
35466 (M_SQRT1_2l): Likewise.
35467
f230c29b
DM
354682012-05-31 David S. Miller <davem@davemloft.net>
35469
35470 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35471 values between float registers.
35472 * sysdeps/sparc/sparc64/memset.S: Likewise.
35473 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35474
fed806c3
MF
354752012-05-31 Mike Frysinger <vapier@gentoo.org>
35476
35477 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35478 -D_FORTIFY_SOURCE=1.
35479 (CPPFLAGS-tst-longjmp_chk.c): Define.
35480 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35481 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35482 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35483 CFLAGS-tst-wchar-h.c.
35484
30917259
MP
354852012-05-31 Marek Polacek <polacek@redhat.com>
35486
35487 [BZ #14132]
35488 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35489 __endmntent_internal): Remove declaration.
35490 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35491 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35492 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35493
1c58d5dc
DM
354942012-05-30 David S. Miller <davem@davemloft.net>
35495
35496 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35497 (___Q_simulate_exceptions): Use real FP ops rather than writing
35498 into the %fsr.
35499 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35500 Likewise.
35501
7dc00e0d
L
355022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35503
35504 [BZ #14117]
0bd53985
L
35505 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35506 * sysdeps/x86/bits/xtitypes.h: This.
35507
3a257e66
L
35508 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35509 * sysdeps/x86/bits/wordsize.h: This.
35510
62f62904
L
35511 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35512 * sysdeps/x86/bits/huge_vall.h: This.
35513
404fe9d9
L
35514 * sysdeps/i386/bits/select.h: Removed.
35515 * sysdeps/x86_64/bits/select.h: Renamed to ...
35516 * sysdeps/x86/bits/select.h: This.
35517
d48d0446
L
35518 * sysdeps/i386/bits/setjmp.h: Removed.
35519 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35520 * sysdeps/x86/bits/setjmp.h: This.
35521
7dc00e0d
L
35522 * sysdeps/i386/bits/mathdef.h: Removed.
35523 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35524 * sysdeps/x86/bits/mathdef.h: This.
35525
03277f8f
AS
355262012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35527
35528 [BZ #14132]
35529 * include/sys/socket.h (__connect_internal)
35530 (__libc_sa_len_internal): Remove declaration.
35531 (__connect, __libc_sa_len): Declare hidden_proto.
35532 (SA_LEN): Remove use of INTUSE.
35533 * socket/connect.c: Add libc_hidden_def.
35534 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35535 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35536 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35537 alias.
35538 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35539 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35540 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35541 of adding _internal alias.
35542
13764867
L
355432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35544
35545 [BZ #14117]
6bd97696
L
35546 * sysdeps/i386/bits/link.h: Removed.
35547 * sysdeps/i386/bits/linkmap.h: Likewise.
35548 * sysdeps/x86_64/bits/link.h: Renamed to ...
35549 * sysdeps/x86/bits/link.h: This.
35550 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35551 * sysdeps/x86/bits/linkmap.h: This.
35552
f726f0bb
L
35553 * sysdeps/i386/bits/endian.h: Removed.
35554 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35555 * sysdeps/x86/bits/endian.h: This.
35556
13764867
L
35557 * sysdeps/i386/bits/byteswap.h: Removed.
35558 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35559 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35560 * sysdeps/x86/bits/byteswap.h: This.
35561 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35562 * sysdeps/x86/bits/byteswap-16.h: This.
35563 * sysdeps/i386/Implies: Add x86.
35564 * sysdeps/x86_64/Implies: Likewise.
35565
ae251b0b
DM
355662012-05-30 David S. Miller <davem@davemloft.net>
35567
35568 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35569 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35570 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35571 (FP_TRAPPING_EXCEPTIONS): Define.
35572 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35573 (FP_TRAPPING_EXCEPTIONS): Define.
35574 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35575 subnormals only when inexact has been signalled or underflow
35576 exceptions are enabled.
35577 (_FP_PACK_CANONICAL): Likewise.
35578
d5c90867
L
355792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35580
35581 [BZ #14183]
35582 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35583 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35584
63f1549e
RH
355852012-05-30 Richard Henderson <rth@twiddle.net>
35586
8d8f2279
RH
35587 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35588 with #ifndef NOT_IN_libc.
35589
63f1549e
RH
35590 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35591 marked to avoid plt entry.
35592
0ab0291b
L
355932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35594
35595 [BZ #14112]
35596 * Makeconfig (default-abi): New macro.
35597 (abi-includes): Likewise.
35598 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35599 $(abi-$(default-abi)-lib-soname) for soname if defined.
35600 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35601 abi-variants.
35602 * Makefile (installed-stubs): Likewise.
35603 * include/stubs-biarch.h: Removed.
35604 * scripts/lib-names.awk: Only handle one library at a time.
35605 * scripts/soversions.awk: Remove WORDSIZE support.
35606 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35607 entries.
35608 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35609 Removed.
35610 (syscall-list-default-condition): Likewise.
35611 (syscall-list-default-condition): Likewise.
35612 (syscall-list-includes): Likewise.
35613 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35614 syscall-list-* with abi-*. Handle undefined abi-variants.
35615 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35616 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35617 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35618 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35619 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35620 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35621 Removed.
35622 (syscall-list-32-options): Likewise.
35623 (syscall-list-32-condition): Likewise.
35624 (syscall-list-64-options): Likewise.
35625 (syscall-list-64-condition): Likewise.
35626 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35627 macro.
35628 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35629 Renamed to ...
35630 (abi-*): This.
35631 (abi-64-ld-soname): New macro.
35632 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35633 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35634 Renamed to ...
35635 (abi-*): This.
35636 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35637 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35638
4da0431d
JM
356392012-05-30 Joseph Myers <joseph@codesourcery.com>
35640
3a85279c
JM
35641 * sysdeps/unix/sysv/linux/kernel-features.h
35642 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35643 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35644 include <kernel-features.h>.
35645 [!__NR_ftruncate64]: Remove conditional code.
35646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35647 [__NR_ftruncate64]: Make code unconditional.
35648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35649 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35650 include <kernel-features.h>.
35651 [!__NR_ftruncate64]: Remove conditional code.
35652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35653 [__NR_ftruncate64]: Make code unconditional.
35654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35656 include <kernel-features.h>.
35657 [!__NR_ftruncate64]: Remove conditional code.
35658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35659 [__NR_ftruncate64]: Make code unconditional.
35660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35662 include <kernel-features.h>.
35663 [!__NR_ftruncate64]: Remove conditional code.
35664 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35665 [__NR_ftruncate64]: Make code unconditional.
35666 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35667
4da0431d
JM
35668 * configure.in (libc_cv_fpie): Weaken to a compile test using
35669 LIBC_TRY_CC_OPTION.
35670 * configure: Regenerated.
35671
11ef492c
AK
356722012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35673
35674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35678 Refreshed.
35679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35685 Refreshed.
35686
d66ef399
DM
356872012-05-27 David S. Miller <davem@davemloft.net>
35688
35689 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35690 (___Q_zero): New.
35691 (__Q_simulate_exceptions): Return void. Change to simulate
35692 exceptions by writing into the %fsr.
35693 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35694 (__Qp_handle_exceptions): Likewise.
35695 (numbers): Delete.
35696 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35697 __Qp_handle_exceptions.
35698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35699 __Qp_handle_exceptions.
35700 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35701 as unused and give dummy FP_RND_NEAREST initializer.
35702 (FP_INHIBIT_RESULTS): Define.
35703 (___Q_simulate_exceptions): Update declaration.
35704 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35705 formatting.
35706 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35707 as unused and give dummy FP_RND_NEAREST initializer.
35708 (__Qp_handle_exceptions): Update declaration.
35709 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35710 formatting.
35711
04fb54b5
TS
357122012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35713
35714 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35715 the temporary FPU control word.
35716 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35717 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35718 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35719 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35720 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35721 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35722 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35723 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35724 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35725 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35726 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35727
3f99608f
KK
357282012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35729
35730 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35731 fields.
35732
65a4de4e
CLT
357332012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35734
35735 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35736 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35737 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35738 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35739 Likewise.
35740 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35741 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35742 Likewise.
35743
15749d40
UD
357442012-05-27 Ulrich Drepper <drepper@gmail.com>
35745
35746 * po/h.po: Update from translation team.
35747
25dbcb27
AS
357482012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35749
3d3f8e55
AS
35750 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35751
25dbcb27
AS
35752 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35753 handling of denormals.
35754 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35755 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35757 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35761 Likewise.
35762
7ad47a80 357632012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35764
35765 [BZ #14152]
35766 * math/libm-test.inc (fma_test): Don't always expect underflow
35767 exception.
35768
9c6ea9fa
SP
357692012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35770
35771 [BZ #12416]
35772 * elf/tst-execstack.c: Include stackinfo.h.
35773 (do_test): Adjust test case to ensure that pthread_getattr_np
35774 behaviour remains the same after marking stack executable.
35775
a8239222
JM
357762012-05-25 Joseph Myers <joseph@codesourcery.com>
35777
35778 * sysdeps/unix/sysv/linux/kernel-features.h
35779 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35780 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35781 kernel-features.h.
35782 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35783 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35784 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35785 kernel-features.h.
35786 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35787 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35788
918b5606
L
357892012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35790
35791 * configure.in: Define the default includes to being none.
35792 * configure: Regenerated.
35793
3a097cc7
RM
357942012-05-25 Roland McGrath <roland@hack.frob.com>
35795
8422c9a5
RM
35796 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35797 * sysdeps/x86_64/setjmp.S: Likewise.
35798 * sysdeps/i386/bsd-setjmp.S: Likewise.
35799 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35800 * sysdeps/i386/setjmp.S: Likewise.
35801 * sysdeps/i386/__longjmp.S: Likewise.
35802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35803 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35804
3a097cc7
RM
35805 * include/stap-probe.h: New file.
35806 * configure.in: Handle --enable-systemtap.
35807 * configure: Regenerated.
35808 * config.h.in (USE_STAP_PROBE): New #undef.
35809 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35810 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35811 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35812
21708942
JM
358132012-05-25 Joseph Myers <joseph@codesourcery.com>
35814
35815 [BZ #13717]
35816 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35817 to 2.4.0 where earlier.
35818 * sysdeps/unix/sysv/linux/configure: Regenerated.
35819 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35820 <kernel-features.h>.
35821 [__ASSUME_32BITUIDS]: Make code unconditional.
35822 [!__ASSUME_32BITUIDS]: Remove conditional code.
35823 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35824 <kernel-features.h>.
35825 [__ASSUME_32BITUIDS]: Make code unconditional.
35826 [!__ASSUME_32BITUIDS]: Remove conditional code.
35827 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35828 [__ASSUME_32BITUIDS]: Make code unconditional.
35829 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35830 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35831 <kernel-features.h>.
35832 [__ASSUME_32BITUIDS]: Make code unconditional.
35833 [!__ASSUME_32BITUIDS]: Remove conditional code.
35834 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35835 <kernel-features.h>.
35836 [__ASSUME_32BITUIDS]: Make code unconditional.
35837 [!__ASSUME_32BITUIDS]: Remove conditional code.
35838 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35839 <kernel-features.h>.
35840 [__ASSUME_32BITUIDS]: Make code unconditional.
35841 [!__ASSUME_32BITUIDS]: Remove conditional code.
35842 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35843 <kernel-features.h>.
35844 [__ASSUME_32BITUIDS]: Make code unconditional.
35845 [!__ASSUME_32BITUIDS]: Remove conditional code.
35846 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35847 <kernel-features.h>.
35848 [__ASSUME_32BITUIDS]: Make code unconditional.
35849 [!__ASSUME_32BITUIDS]: Remove conditional code.
35850 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35851 <kernel-features.h>.
35852 [__ASSUME_32BITUIDS]: Make code unconditional.
35853 [!__ASSUME_32BITUIDS]: Remove conditional code.
35854 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35855 <kernel-features.h>.
35856 [__ASSUME_32BITUIDS]: Make code unconditional.
35857 [!__ASSUME_32BITUIDS]: Remove conditional code.
35858 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35859 <kernel-features.h>.
35860 [__ASSUME_32BITUIDS]: Make code unconditional.
35861 [!__ASSUME_32BITUIDS]: Remove conditional code.
35862 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35863 <kernel-features.h>.
35864 [__ASSUME_32BITUIDS]: Make code unconditional.
35865 [!__ASSUME_32BITUIDS]: Remove conditional code.
35866 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35867 <kernel-features.h>.
35868 [__ASSUME_32BITUIDS]: Make code unconditional.
35869 [!__ASSUME_32BITUIDS]: Remove conditional code.
35870 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35871 <kernel-features.h>.
35872 [__NR_setresgid] (__setresgid): Do not declare.
35873 [__ASSUME_32BITUIDS]: Make code unconditional.
35874 [!__ASSUME_32BITUIDS]: Remove conditional code.
35875 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35876 <kernel-features.h>.
35877 [__NR_setresuid] (__setresuid): Do not declare.
35878 [__ASSUME_32BITUIDS]: Make code unconditional.
35879 [!__ASSUME_32BITUIDS]: Remove conditional code.
35880 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35881 <kernel-features.h>.
35882 [__ASSUME_32BITUIDS]: Make code unconditional.
35883 [!__ASSUME_32BITUIDS]: Remove conditional code.
35884 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35885 <kernel-features.h>.
35886 [__ASSUME_32BITUIDS]: Make code unconditional.
35887 [!__ASSUME_32BITUIDS]: Remove conditional code.
35888 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35889 <kernel-features.h>.
35890 [__ASSUME_32BITUIDS]: Make code unconditional.
35891 [!__ASSUME_32BITUIDS]: Remove conditional code.
35892 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
35921 (__ASSUME_SETRESUID_SYSCALL): Remove.
35922 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35923 (__ASSUME_32BITUIDS): Likewise.
35924 (__ASSUME_LDT_WORKS): Likewise.
35925 (__ASSUME_O_DIRECTORY): Likewise.
35926 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35927 architecture but not kernel version.
35928 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35929 (__ASSUME_MMAP2_SYSCALL): Likewise.
35930 (__ASSUME_STAT64_SYSCALL): Likewise.
35931 (__ASSUME_IPC64): Likewise.
35932 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35933 <kernel-features.h>.
35934 [__ASSUME_32BITUIDS]: Make code unconditional.
35935 [!__ASSUME_32BITUIDS]: Remove conditional code.
35936 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35937 <kernel-features.h>.
35938 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35939 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35940 132096]: Remove conditional code.
35941 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35942 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
35951 <kernel-features.h>.
35952 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35953 unconditional.
35954 (__setresgid): Do not declare.
35955 [__ASSUME_32BITUIDS]: Make code unconditional.
35956 [!__ASSUME_32BITUIDS]: Remove conditional code.
35957 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35958 <kernel-features.h>.
35959 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35960 unconditional.
35961 (__setresuid): Do not declare.
35962 [__ASSUME_32BITUIDS]: Make code unconditional.
35963 [!__ASSUME_32BITUIDS]: Remove conditional code.
35964 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35965 <kernel-features.h>.
35966 [__ASSUME_32BITUIDS]: Make code unconditional.
35967 [!__ASSUME_32BITUIDS]: Remove conditional code.
35968 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35969 <kernel-features.h>.
35970 [__ASSUME_32BITUIDS]: Make code unconditional.
35971 [!__ASSUME_32BITUIDS]: Remove conditional code.
35972
a386f1cc
RH
359732012-05-25 Richard Henderson <rth@twiddle.net>
35974
35975 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35976 dl_hwcap to ifunc resolver.
35977 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35978 elf_ifunc_invoke.
35979 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35980 dl_hwcap to ifunc resolver.
35981 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35982
b6550497
JM
359832012-05-24 Joseph Myers <joseph@codesourcery.com>
35984
35985 [BZ #14153]
35986 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35987 for |x| <= 2**-26, not 2**-57.
35988 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35989 exception.
35990
b0bc23a1
JL
359912012-05-24 Jeff Law <law@redhat.com>
35992
35993 * stdio-common/Makefile (tests): Add bug25.
35994 * stdio-common/bug25.c: New test.
35995
347c92e9
L
359962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35997
35998 [BZ #13576]
35999 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36000 multiple of MALLOC_ALIGNMENT in size.
36001 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36002
6bcc8b3f
JM
360032012-05-24 Joseph Myers <joseph@codesourcery.com>
36004
36005 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36006 Require >= 256.
36007 (FILENAME_MAX): Use macro-int-constant.
36008 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36009 (_IOFBF): Use macro-int-constant.
36010 (_IOLBF): Likewise.
36011 (_IONBF): Likewise.
36012 (SEEK_CUR): Likewise.
36013 (SEEK_END): Likewise.
36014 (SEEK_SET): Likewise.
36015 (TMP_MAX): Likewise.
36016 (EOF): Use macro-int-constant. Require < 0.
36017 (NULL): Use macro-constant. Require == 0.
36018 (stdin): Require type to be FILE *.
36019 (stdout): Likewise.
36020 (stderr): Likewise.
36021 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36022 macro-int-constant.
36023 (EXIT_SUCCESS): Likewise.
36024 (NULL): Use macro-constant. Require == 0.
36025 (RAND_MAX): Use macro-int-constant.
36026 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36027 [C99-based standards] (strtof): Require function.
36028 [C99-based standards] (strtold): Likewise.
36029 [C99-based standards] (strtoll): Likewise.
36030 [C99-based standards] (strtoull): Likewise.
36031 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36032 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36033 [ISO || ISO99 || ISO11] (math.h): Likewise.
36034 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36035 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36037
d18ea0c5
AS
360382012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36039
36040 [BZ #14132]
56d25bb8
AS
36041 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36042 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36043 * intl/dgettext.c (DCGETTEXT): Likewise.
36044 * intl/gettext.c (DCGETTEXT): Likewise.
36045 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36046 * posix/regex_internal.h (gettext): Likewise.
36047 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36048 Remove declaration.
36049 * include/argz.h (__argz_count_internal)
36050 (__argz_stringify_internal): Remove declaration.
36051 (__argz_count, __argz_stringify): Declare hidden proto.
36052 * intl/dcgettext.c: Remove use of INTDEF.
36053 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36054 * string/argz-stringify.c: Likewise.
36055 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36056 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36057 Declare hidden proto.
d18ea0c5
AS
36058 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36059 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36060 Declare hidden proto.
36061 * include/stdio.h (__asprintf_internal): Don't declare.
36062 (__asprintf): Don't define as macro. Declare hidden proto.
36063 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36064 (__fsetlocking): Declare hidden proto.
36065 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36066 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36067 hidden proto.
36068 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36069 (_IO_setlinebuf): Remove use of INTUSE.
36070 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36071 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36072 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36073 Remove declaration.
36074 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36075 (_IO_do_flush): Remove use of INTUSE.
36076 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36077 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36078 (_IO_adjust_column, _IO_least_wmarker)
36079 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36080 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36081 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36082 (_IO_default_doallocate, _IO_wdefault_doallocate)
36083 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36084 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36085 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36086 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36087 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36088 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36089 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36090 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36091 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36092 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36093 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36094 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36095 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36096 proto.
36097 (_IO_flush_all_internal, _IO_adjust_column_internal)
36098 (_IO_default_uflow_internal, _IO_default_finish_internal)
36099 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36100 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36101 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36102 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36103 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36104 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36105 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36106 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36107 (_IO_file_close_internal, _IO_file_close_it_internal)
36108 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36109 (_IO_file_init_internal, _IO_file_attach_internal)
36110 (_IO_file_fopen_internal, _IO_file_read_internal)
36111 (_IO_file_sync_internal, _IO_file_seek_internal)
36112 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36113 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36114 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36115 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36116 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36117 (_IO_list_all_internal, _IO_link_in_internal)
36118 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36119 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36120 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36121 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36122 (_IO_do_write_internal, _IO_padn_internal)
36123 (_IO_getline_info_internal, _IO_getline_internal)
36124 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36125 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36126 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36127 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36128 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36129 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36130 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36131 with libc_hidden_ver, remove use of INTUSE.
36132 * libio/genops.c: Likewise.
36133 * libio/freopen.c: Likewise.
36134 * libio/freopen64.c: Likewise.
36135 * libio/iofclose.c: Likewise.
36136 * libio/iofdopen.c: Likewise.
36137 * libio/iofflush.c: Likewise.
36138 * libio/iofflush_u.c: Likewise.
36139 * libio/iofgets.c: Likewise.
36140 * libio/iofgets_u.c: Likewise.
36141 * libio/iofopen.c: Likewise.
36142 * libio/iofopncook.c: Likewise.
36143 * libio/iofread.c: Likewise.
36144 * libio/iofread_u.c: Likewise.
36145 * libio/ioftell.c: Likewise.
36146 * libio/iofwrite.c: Likewise.
36147 * libio/iogetline.c: Likewise.
36148 * libio/iogets.c: Likewise.
36149 * libio/iogetwline.c: Likewise.
36150 * libio/iopadn.c: Likewise.
36151 * libio/iopopen.c: Likewise.
36152 * libio/ioseekoff.c: Likewise.
36153 * libio/ioseekpos.c: Likewise.
36154 * libio/iosetbuffer.c: Likewise.
36155 * libio/iosetvbuf.c: Likewise.
36156 * libio/ioungetc.c: Likewise.
36157 * libio/ioungetwc.c: Likewise.
36158 * libio/iovdprintf.c: Likewise.
36159 * libio/iovsprintf.c: Likewise.
36160 * libio/iovsscanf.c: Likewise.
36161 * libio/memstream.c: Likewise.
36162 * libio/obprintf.c: Likewise.
36163 * libio/oldfileops.c: Likewise.
36164 * libio/oldiofclose.c: Likewise.
36165 * libio/oldiofdopen.c: Likewise.
36166 * libio/oldiofopen.c: Likewise.
36167 * libio/oldiopopen.c: Likewise.
36168 * libio/oldstdfiles.c: Likewise.
36169 * libio/putc.c: Likewise.
36170 * libio/setbuf.c: Likewise.
36171 * libio/setlinebuf.c: Likewise.
36172 * libio/stdfiles.c: Likewise.
36173 * libio/strops.c: Likewise.
36174 * libio/vasprintf.c: Likewise.
36175 * libio/vscanf.c: Likewise.
36176 * libio/vsnprintf.c: Likewise.
36177 * libio/vswprintf.c: Likewise.
36178 * libio/wfiledoalloc.c: Likewise.
36179 * libio/wfileops.c: Likewise.
36180 * libio/wgenops.c: Likewise.
36181 * libio/wmemstream.c: Likewise.
36182 * libio/wstrops.c: Likewise.
36183 * libio/__fpurge.c: Likewise.
36184 * libio/__fsetlocking.c: Likewise.
36185 * assert/assert.c: Likewise.
36186 * debug/fgets_chk.c: Likewise.
36187 * debug/fgets_u_chk.c: Likewise.
36188 * debug/fread_chk.c: Likewise.
36189 * debug/fread_u_chk.c: Likewise.
36190 * debug/gets_chk.c: Likewise.
36191 * debug/obprintf_chk.c: Likewise.
36192 * debug/vasprintf_chk.c: Likewise.
36193 * debug/vdprintf_chk.c: Likewise.
36194 * debug/vsnprintf_chk.c: Likewise.
36195 * debug/vsprintf_chk.c: Likewise.
36196 * malloc/mtrace.c: Likewise.
36197 * misc/error.c: Likewise.
36198 * misc/syslog.c: Likewise.
36199 * stdio-common/asprintf.c: Likewise.
36200 * stdio-common/fxprintf.c: Likewise.
36201 * stdio-common/getw.c: Likewise.
36202 * stdio-common/isoc99_fscanf.c: Likewise.
36203 * stdio-common/isoc99_scanf.c: Likewise.
36204 * stdio-common/isoc99_vfscanf.c: Likewise.
36205 * stdio-common/isoc99_vscanf.c: Likewise.
36206 * stdio-common/isoc99_vsscanf.c: Likewise.
36207 * stdio-common/printf-prs.c: Likewise.
36208 * stdio-common/printf_fp.c: Likewise.
36209 * stdio-common/printf_fphex.c: Likewise.
36210 * stdio-common/printf_size.c: Likewise.
36211 * stdio-common/putw.c: Likewise.
36212 * stdio-common/scanf.c: Likewise.
36213 * stdio-common/sprintf.c: Likewise.
36214 * stdio-common/tmpfile.c: Likewise.
36215 * stdio-common/vfprintf.c: Likewise.
36216 * stdio-common/vfscanf.c: Likewise.
36217 * stdlib/strfmon_l.c: Likewise.
36218 * sunrpc/openchild.c: Likewise.
36219 * sunrpc/xdr_stdio.c: Likewise.
36220 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36221 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36222
d6c33fda
RM
362232012-05-24 Roland McGrath <roland@hack.frob.com>
36224
c1487492
RM
36225 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36226
36227 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36228 in the third column, to generate for the shared library an IFUNC
36229 that uses _dl_vdso_vsym.
36230 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36231 * Makeconfig (object-suffixes-noshared): New variable.
36232
36233 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36234 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36235 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36236 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36237
d6c33fda
RM
36238 [BZ #14132]
36239 * include/sys/time.h (__gettimeofday): Remove macro.
36240 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36241 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36242 Remove INTDEF.
36243 (__gettimeofday): Add libc_hidden_def.
36244 (gettimeofday): Add libc_hidden_weak.
36245 * sysdeps/mach/gettimeofday.c: Likewise.
36246 * sysdeps/posix/gettimeofday.c: Likewise.
36247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36248 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36250 (__gettimeofday_internal): Remove strong_alias.
36251 (__gettimeofday): Add libc_hidden_def.
36252 (gettimeofday): Add libc_hidden_weak.
36253 * sysdeps/unix/syscalls.list (gettimeofday):
36254 Remove __gettimeofday_internal alias.
36255
b5a2bbe6
L
362562012-05-24 Daniel Jacobowitz <drow@false.org>
36257 H.J. Lu <hongjiu.lu@intel.com>
36258
36259 [BZ #12495]
36260 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36261 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36262 (largebin_index_32_big): New.
36263 (largebin_index): Use it for 16-byte alignment.
36264 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36265 correction with front_misalign.
36266
cfba4fda
L
362672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36268
7f907421
L
36269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36271 Likewise.
36272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36273 Likewise.
36274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36275 Likewise.
36276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36277 Likewise.
36278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36279 Likewise.
36280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36281 Likewise.
36282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36283 Likewise.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36285 Likewise.
36286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36287 Likewise.
36288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36289 Likewise.
36290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36291 Likewise.
36292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36293 Likewise.
36294
cfba4fda
L
36295 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36296 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36297
80bad0cc
JM
362982012-05-24 Joseph Myers <joseph@codesourcery.com>
36299
7a25eb06
JM
36300 [BZ #10846]
36301 [BZ #14036]
36302 * math/libm-test.inc (exp_test): Add test from bug 14036.
36303 (pow_test): Add test from bug 10846.
36304
795405f9
JM
36305 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36306 and other flags.
36307 (special_function): Do not include flags in test name.
36308 (parse_args): Likewise.
36309 * sysdeps/i386/fpu/libm-test-ulps: Update.
36310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36311 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36312 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36314
80bad0cc
JM
36315 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36316 exceptions.
36317 * math/libm-test.inc ("Philosophy"): Update comment about
36318 exception testing.
36319 (UNDERFLOW_EXCEPTION): New macro.
36320 (UNDERFLOW_EXCEPTION_OK): Likewise.
36321 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36322 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36323 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36324 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36325 (INVALID_EXCEPTION_OK): Update value.
36326 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36327 (OVERFLOW_EXCEPTION_OK): Likewise.
36328 (IGNORE_ZERO_INF_SIGN): Likewise.
36329 (test_exceptions): Handle underflow exceptions.
36330 (acos_test): Update for underflow exception expectations.
36331 (cexp_test): Likewise.
36332 (clog_test): Likewise.
36333 (clog10_test): Likewise.
36334 (csqrt_test): Likewise.
36335 (ctan_test): Likewise.
36336 (ctanh_test): Likewise.
36337 (exp_test): Likewise.
36338 (exp10_test): Likewise.
36339 (exp2_test): Likewise.
36340 (expm1_test): Likewise.
36341 (fma_test): Likewise.
36342 (j0_test): Likewise.
36343 (jn_test): Likewise.
36344 (nexttoward_test): Likewise.
36345 (pow_test): Likewise.
36346 (scalbn_test): Likewise.
36347 (scalbln_test): Likewise.
36348 (tan_test): Likewise.
36349 (y1_test): Likewise.
36350 * sysdeps/i386/fpu/libm-test-ulps: Update.
36351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36352
9e0e3d0b
DM
363532012-05-23 David S. Miller <davem@davemloft.net>
36354
36355 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36356 (__libc_sigaction): Remove unused local variables.
36357
ccd0a08f
L
363582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36359
36360 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36361
62bdf9a6
PE
363622012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36363
f8591f80
PE
36364 mktime: avoid signed integer overflow
36365 * time/mktime.c (__mktime_internal): Do not mishandle the case
36366 where diff == INT_MIN.
36367
94c7d826
PE
36368 mktime: simplify computation of average
36369 * time/mktime.c (ranged_convert): Use new time_t_avg function
36370 instead of rolling our own (probably-slower) code.
36371
ce73d683
PE
36372 mktime: do not assume signed right shift propagates sign bit
36373 * time/mktime.c (isdst_differ): New static function.
36374 (__mktime_internal): No need to normalize tm_isdst now.
36375 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36376 tm_isdst values.
36377
72a22e59
PE
36378 mktime: merge another wrapv change from gnulib
36379 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36380 from some compilers.
36381
68605433
PE
36382 mktime: remove incorrect attempt at unusual arithmetics
36383 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36384 The code didn't really work on such machines anyway.
36385 (TYPE_MINIMUM): Assume two's complement.
36386 (twos_complement_arithmetic): Verify that long_int and time_t
36387 are two's complement (or unsigned, in the latter case).
36388
03cf7fe3
PE
36389 mktime: check signed shifts on long_int and time_t, too
36390 * time/mktime.c (SHR): Check that shifts work as desired
36391 on the types long_int and time_t too, as SHR is used on
36392 such types.
36393
f04dfbc2
PE
36394 mktime: do not assume 'long' is wide enough
36395 * time/mktime.c (verify): Move decl up.
36396 (long_int): New type.
36397 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36398 to remove assumption in the code that 'long' is wide enough to
36399 store year values. This assumption is not true on x32 and on
36400 some non-glibc platforms.
36401
62bdf9a6
PE
36402 mktime: merge wrapv change from gnulib
36403 * time/mktime.c (WRAPV): New macro.
36404 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36405 (guess_time_tm, __mktime_internal): Do not assume that signed
36406 integer overflow wraps around; modern compilers generate code
36407 where this assumption is no longer valid.
36408
5e292e4f
L
364092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36410
36411 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36412 Replace "jmp L(pseudo_end)" with "ret".
36413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36414 Likewise.
36415
8caf8c87
AJ
364162012-05-23 Andreas Jaeger <aj@suse.de>
36417
36418 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36419 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36420
1a09dc56
AJ
364212012-05-23 Andreas Jaeger <aj@suse.de>
36422 Maximilian Attems <max@stro.at>
36423
36424 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36425 New macros.
36426
1c87aba0
L
364272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36428
36429 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36430 code so that pseudo_end is just ret and the stack pointer is
36431 correct also for static library in error case.
36432
40e45bd5
JM
364332012-05-23 Joseph Myers <joseph@codesourcery.com>
36434
c2670533
JM
36435 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36436 move to syscalls.list.
36437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36441
40e45bd5
JM
36442 * manual/install.texi (Running make install): Do not mention Linux
36443 kernel version for which pt_chown is not needed.
36444 (Linux): Do not mention problems with nscd with 2.0 kernels.
36445 * INSTALL: Regenerated.
36446
be08eda5
AJ
364472012-05-23 Andreas Jaeger <aj@suse.de>
36448
36449 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36450 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36451 macro.
36452 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36454 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36456 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36457 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36459 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36460 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36462 * sysdeps/unix/sysv/linux/bits/in.h
36463 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36464
a6a056bb
RM
364652012-05-22 Roland McGrath <roland@hack.frob.com>
36466
36467 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36468 (PREPARE_VERSION): Just use assert instead, it will be elided
36469 under [NDEBUG] anyway.
36470
c9009328
L
364712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36472
36473 * sysdeps/unix/sysv/linux/Makefile: Include
36474 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36475 (sysdep_routines): Remove sysctl.
c9009328
L
36476 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36477 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36478 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36479 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36480 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36481
73338355
AJ
364822012-05-22 Andreas Jaeger <aj@suse.de>
36483
36484 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36485 that pseudo_end is just ret and the stack pointer is correct also
36486 for static library in error case.
36487
d44638b0
PP
364882012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36489
36490 [BZ #14122]
36491 * nss/nsswitch.c (defconfig_entries): New variable.
36492 (__nss_database_lookup): Don't leak defconfig entries.
36493 (nss_parse_service_list): Don't leak on error paths.
36494 (free_database_entries): New function.
36495 (free_defconfig): New function.
36496 (free_mem): Move common code to free_database_entries.
36497
31a39bd8
L
364982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36499
da0331a8
L
36500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36501 Add arch_prctl.
36502 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36503
31a39bd8
L
36504 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36505 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36507 New macro.
36508 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36509 (INTERNAL_SYSCALL_TYPES): Likewise.
36510 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36511 (LOAD_REGS_TYPES_[1-6]): Likewise.
36512 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36513 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36514
45470df3
AZ
365152012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36516
36517 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36518 copysignl for GLIBC_2_0.
36519 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36520 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36522 logbl for GLIBC_2_0.
36523 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36524 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36525
98a61bcb
L
365262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36527
a4f6e481
L
36528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36529 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36530
f63d5db6
L
36531 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36532 Use "neg %eax".
36533
98a61bcb
L
36534 * time/mktime.c: Update copyright years.
36535
95770f14
PE
365362012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36537
6226efbd
PE
36538 mktime: merge comment-quoting-style change from gnulib
36539 * time/mktime.c: Quote 'like this' in comments.
36540 The GNU coding standards suggest that we no longer quote `like this',
36541 as "`" and "'" are typically rendered asymmetrically nowadays.
36542 The typical gnulib style is to quote 'like this' when quoting
36543 code, and "like this" when quoting English.
36544
b99e4f78
PE
36545 * time/mktime.c (compile-command): Add "-I.".
36546
643e01e6
PE
36547 mktime: merge mktime-internal.h change from gnulib
36548 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36549
2554247d
PE
36550 mktime: merge time_r change from gnulib
36551 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36552
826dd0ab
PE
36553 mktime: merge DEBUG change from gnulib
36554 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36555 case system <time.h> has a #define.
36556
bd83aabe
PE
36557 mktime: merge <sys/types.h> change from gnulib
36558 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36559 since <time.t> is now guaranteed to define time_t.
36560
95770f14
PE
36561 mktime: merge HAVE_CONFIG_H change from gnulib
36562 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36563
5e1a27a9
L
365642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36565
0e44a77e
L
36566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36567 Use "neg %eax".
36568
5e1a27a9
L
36569 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36570 __rlim_t cast.
36571 (struct rusage): Use anonymous union to pad each field to
36572 __syscall_slong_t.
36573
46259bec
DM
365742012-05-21 David S. Miller <davem@davemloft.net>
36575
36576 * Makefules (o-iterator): Remove .s cases.
36577 (compile-command.s): Delete.
36578 (COMPILE.s): Delete.
36579 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36580
59f0c22e
JM
365812012-05-21 Joseph Myers <joseph@codesourcery.com>
36582
36583 * configure.in (libc_cv_predef_stack_protector): Only consider
36584 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36585 * configure: Regenerated.
36586
20c07380
L
365872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36588
bbb3154b
L
36589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36590 New macro. Use R*LP on int and pointer.
36591 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36592 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36593 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36594 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36595
20c07380
L
36596 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36597 [__WORDSIZE_TIME64_COMPAT32] instead of
36598 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36599 (struct utmp): Likewise.
36600 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36601 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36602 Renamed to ...
36603 (__WORDSIZE_TIME64_COMPAT32): This.
36604 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36605 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36606 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36607 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36608 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36609 (__WORDSIZE_TIME64_COMPAT32): New macro.
36610
d8d1017e
AJ
366112012-05-21 Andreas Jaeger <aj@suse.de>
36612
36613 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36614 only if [SHARED]. Add prototype for __wcschr_ia32.
36615
6c7fb145
RM
366162012-05-21 Roland McGrath <roland@hack.frob.com>
36617
36618 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36619 of %rbp unmolested in the jmp_buf while mangling the low bits.
36620 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36621 unmolested high bits of %rbp while demangling the low bits.
36622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36623
66274218
AJ
366242012-05-21 Andreas Jaeger <aj@suse.de>
36625
07c58f8f
AJ
36626 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36627 * sunrpc/svc_simple.c: Use it for registerrpc.
36628 * sunrpc/xcrypt.c: Use it for passwd2des.
36629
66274218
AJ
36630 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36631
61f65140
L
366322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36633
36634 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36635 Don't define if [__SYSCALL_WORDSIZE != 32].
36636 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36637 New macro.
36638
5fefb436
AJ
366392012-05-21 Bruno Haible <bruno@clisp.org>
36640 Andreas Jaeger <aj@suse.de>
36641
36642 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36643 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36644 inptr and inend for must_buffer_ch.
36645 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36646 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36647 * stdio-common/Makefile (tests): Remove bug15.
36648 (bug15-ENV): Remove macro.
36649 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36650 anymore.
36651
d8e272ab
AJ
366522012-05-19 Andreas Jaeger <aj@suse.de>
36653 Roland McGrath <roland@hack.frob.com>
36654
36655 * manual/contrib.texi: Completely rewritten. It contains now an
36656 alphabetical list of contributors and their contributions.
36657
4a56a162
RH
366582012-05-21 Richard Henderson <rth@twiddle.net>
36659
36660 * misc/getauxval.c (__getauxval): Use unsigned long int.
36661 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36662 (getauxval): Use unsigned long int.
36663
d024d23c
L
366642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36665
36666 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36667
cbc00a03
RM
366682012-05-21 Roland McGrath <roland@hack.frob.com>
36669
36670 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36671 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36672 __alignof__ (long double).
36673
478143fa
AZ
366742012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36675
36676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36677
c7683a6d
RH
366782012-05-20 Richard Henderson <rth@twiddle.net>
36679
36680 * misc/getauxval.c: New file.
36681 * misc/sys/auxv.h: New file.
36682 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36683 (routines): Add getauxval.
36684 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36685 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36686 * elf/dl-sysdep.c (_dl_auxv): Remove.
36687 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36688 * elf/dl-support.c (_dl_auxv): New variable.
36689 (_dl_aux_init): Initialize it.
36690 * manual/startup.texi (Auxiliary Vector): New node.
36691 * sysdeps/generic/bits/hwcap.h: New file.
36692 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36693 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36694 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36695 * sysdeps/sparc/sysdep.h: ... here. Include it.
36696 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36697 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36699 Update.
c7683a6d
RH
36700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36708
a6f1845d
AZ
367092012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36710
36711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36712
cbcbe830
DM
367132012-05-19 David S. Miller <davem@davemloft.net>
36714
36715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36716
e0b16cc2
JM
367172012-05-19 Joseph Myers <joseph@codesourcery.com>
36718
36719 [BZ #14123]
36720 * math/s_ccosh.c: Include <float.h>
36721 (__ccosh): Avoid internal overflow calculating sinh and cosh
36722 values before multiplying by sin and cos values.
36723 * math/s_ccoshf.c: Likewise.
36724 * math/s_ccoshl.c: Likewise.
36725 * math/s_csin.c: Likewise.
36726 * math/s_csinf.c: Likewise.
36727 * math/s_csinl.c: Likewise.
36728 * math/s_csinh.c: Likewise.
36729 * math/s_csinhf.c: Likewise.
36730 * math/s_csinhl.c: Likewise.
36731 * math/libm-test.inc (ccos_test): Add more tests.
36732 (ccosh_test): Likewise.
36733 (csin_test): Likewise.
36734 (csinh_test): Likewise.
36735 * sysdeps/i386/fpu/libm-test-ulps: Update.
36736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36737
6ad13e08
L
367382012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36739
f66f0ce8
L
36740 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36741 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36742
6ad13e08
L
36743 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36744
b1d072a7
JM
367452012-05-19 Joseph Myers <joseph@codesourcery.com>
36746
36747 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36748 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36749 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36750 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36751 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36752 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36753 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36754 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36755 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36756 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36757 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36758 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36759 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36760 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36761 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36762 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36763 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36764 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36765 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36766 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36767 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36768 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36769 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36770 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36771 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36772 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36773 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36774 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36775 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36776 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36777 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36778
9eae47cb
AJ
367792012-05-18 Andreas Jaeger <aj@suse.de>
36780
36781 * csu/.gitignore: Delete.
36782
bb07f69f
L
367832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36784
36785 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36786 (timex): Use __syscall_slong_t.
36787
e6bdb741
AJ
367882012-05-18 Andreas Jaeger <aj@suse.de>
36789 Carlos O'Donell <carlos_odonell@mentor.com>
36790
36791 * manual/install.texi (Configuring and compiling): Update
36792 description about files modified in the source directory.
d6c33fda 36793 * INSTALL: Regenerated.
e6bdb741 36794
1b74487e
L
367952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36796
36797 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36798 value. Use "or" to set return value to -1.
36799 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36800 negate return value.
36801
a88b64b9
TMQMF
368022012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36803
57f41c40
AS
36804 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36805 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36806 failure if the compiler has Graphite support disabled.
36807 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36808 Likewise.
57f41c40
AS
36809 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36810 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36811 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36812 Likewise.
36813
3707636e
L
368142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36815
610b8622
L
36816 * sysdeps/x86_64/x32/_itoa.h: New file.
36817
7cd195df
L
36818 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36819 getdents system call only if kernel and user dirents have the
36820 same d_ino and d_off.
36821
94b07d20
L
36822 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36823 LLONG_MAX != LONG_MAX.
36824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36825 (_fitoa_word): Likewise.
36826
18298070
L
36827 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36828 years.
36829 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36830 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36831 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36832
553c7ea4
L
36833 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36834 include <bits/wordsize.h>. Check __x86_64__ instead of
36835 __WORDSIZE.
36836 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36837 if __x86_64__ is defined. Use anonymous union on fpstate.
36838
3707636e
L
36839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36840 anonymous union.
36841
b53ef01a
AS
368422012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36843
37fb1dc0
AS
36844 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36845 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36846 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36847 Refer to _rtld_local_ro instead of _rtld_global_ro.
36848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36849 Likewise.
36850 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36851 Likewise.
36852 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36853 Likewise.
36854 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36855 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36856 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36857
b53ef01a
AS
36858 * sysdeps/powerpc/powerpc32/dl-machine.c
36859 (__elf_machine_runtime_setup) [PROF]: Don't reference
36860 _dl_prof_resolve.
36861
7a185db2
AJ
368622012-05-18 Andreas Jaeger <aj@suse.de>
36863
36864 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36865 function only available for GCCs before 3.4 since GCC 3.4
36866 introduced a builtin.
36867 (lrint): Likewise.
36868 (llrintf): Likewise.
36869 (llrint): Likewise.
36870 (fmaxf): Likewise.
36871 (fmax): Likewise.
36872 (fminf): Likewise.
36873 (fmin): Likewise.
36874 (rint): Likewise.
36875 (rintf): Likewise.
36876 (nearbyint): Likewise.
36877 (nearbyintf): Likewise.
36878 (ceil): Likewise.
36879 (ceilf): Likewise.
36880 (floor): Likewise.
36881 (floorf): Likewise.
36882
3e5aef87
L
368832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36884
428bd707
L
36885 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36886 on both fields and cast pointer to __syscall_ulong_t.
36887
3e5aef87
L
36888 * bits/types.h (__fsword_t): New type.
36889 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36890 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36892 (__FSWORD_T_TYPE): Likewise.
36893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36894 (__FSWORD_T_TYPE): Likewise.
36895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36896 (__FSWORD_T_TYPE): Likewise.
36897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36898 (__FSWORD_T_TYPE): Likewise.
36899 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36900 __SWORD_TYPE with __fsword_t.
36901 (statfs64): Likewise.
36902
1ba7c3dc
DM
369032012-05-17 David S. Miller <davem@davemloft.net>
36904
36905 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36906
59910343
AJ
369072012-05-17 Andreas Jaeger <aj@suse.de>
36908
36909 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36910 warning.
36911
2e4c1e9e
L
369122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36913
36914 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36915
de7f5ce7
AJ
369162012-05-17 Andreas Jaeger <aj@suse.de>
36917
36918 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36919 when it is used.
36920
286abc3d
CM
369212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36922
36923 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36924
477cc68e
L
369252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36926
36927 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36928 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36929
1a0994f5
CD
369302012-05-17 Andreas Jaeger <aj@suse.de>
36931 Carlos O'Donell <carlos_odonell@mentor.com>
36932
36933 [BZ #14059]
36934 * sysdeps/x86_64/multiarch/init-arch.h
36935 (bit_YMM_Usable): Rename to...
36936 (bit_AVX_Usable): ... this.
36937 (bit_FMA4_Usable): New macro.
36938 (bit_XMM_state): New macro.
36939 (bit_YMM_state): New macro.
36940 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36941 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36942 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36943 (CPUID_OSXSAVE): New macro.
36944 (CPUID_AVX): New macro.
36945 (CPUID_FMA4): New macro.
36946 (index_YMM_Usable): Rename to...
36947 (index_AVX_Usable): ... this.
36948 (HAS_AVX): Use HAS_ARCH_FEATURE.
36949 (HAS_FMA4): Likewise.
36950 (HAS_YMM_USABLE): Remove.
36951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36952 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36953 are present.
36954 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36955 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36956 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36957 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36958 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36959
0af797de
CM
369602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36961
36962 * math/libm-test.c: Support platforms without multiple rounding modes.
36963 * math/bug-nextafter.c: Support platforms without FP exceptions.
36964 * math/bug-nexttoward.c: Likewise.
36965 * math/test-fenv.c: Likewise.
36966 * math/test-misc.c: Likewise.
36967 * stdlib/bug-getcontext.c: Likewise.
36968
e39745ff
AJ
369692012-05-17 Andreas Jaeger <aj@suse.de>
36970
36971 * manual/examples/search.c (critter_cmp): Change signature to
36972 avoid warnings.
36973 * manual/string.texi (Collation Functions): Likewise.
36974
48970aba
L
369752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36976
36977 * bits/types.h: Fold copyright years.
36978 * bits/typesizes.h: Likewise.
36979 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36983 * time/time.h: Likewise.
36984
bedee953
PP
369852012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36986
36987 [BZ #208]
36988 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36989 in instead of returning them. Return void.
36990 (__libc_mallinfo): Accumulate over all arenas.
36991 (__malloc_stats): Adjust for change in int_mallinfo interface.
36992
61653dfb
RM
369932012-05-16 Roland McGrath <roland@hack.frob.com>
36994
30b99d79
RM
36995 [BZ #10375]
36996 * configure.in (NM): Add AC_CHECK_TOOL for it.
36997 (libc_extra_cflags): New substituted variable.
36998 Check for -fstack-protector being used implicitly.
36999 * configure: Regenerated.
37000 * config.make.in (config-extra-cflags): New variable,
37001 gets @libc_extra_cflags@.
37002 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37003
61653dfb
RM
37004 [BZ #10375]
37005 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37006 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37007 * configure: Regenerated.
37008 * config.make.in (CPPUNDEFS): New substituted variable.
37009 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37010 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37011 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37012
661768bb
L
370132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37014
37015 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37016 (mq_attr): Use __syscall_slong_t.
37017
d4261567
L
370182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37019
37020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37021 Check __x86_64__ instead of __WORDSIZE.
37022 (_STAT_VER_LINUX): Likewise.
37023 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37024 __syscall_ulong_t and __syscall_slong_t.
37025 (stat64): Likewise.
37026
cf3ff365
L
370272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37028
37029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37030
76cf3e4d
L
370312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37032
37033 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37034
a637753a
L
370352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37036
37037 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37038 __syscall_ulong_t.
37039
d5e05119
L
37040 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37041 include <bits/wordsize.h>. Check __x86_64__ instead of
37042 __WORDSIZE.
37043 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37044 defined.
37045 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37046
f62ee380
L
37047 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37048 include <bits/wordsize.h>. Check __x86_64__ instead of
37049 __WORDSIZE.
37050 (user_regs_struct): Use "__extension__ unsigned long long"
37051 instead of "unsigned long" if __x86_64__ is defined.
37052 (user): Likewise. Pad after pointer field if __ILP32__ is
37053 defined.
37054
4e124ced
JM
370552012-05-16 Joseph Myers <joseph@codesourcery.com>
37056
6a3951a0
JM
37057 * configure.in (makeinfo): Require version 4.5 or later. Allow
37058 versions 5 to 9.
37059 * configure: Regenerated.
37060 * manual/install.texi (texinfo): Increase version requirement to
37061 4.5 or later.
37062 * INSTALL: Regenerated.
37063
4e124ced
JM
37064 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37065
953ca31a
L
370662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37067
37068 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37069
617aca05
L
37070 * sysdeps/x86_64/x32/ffs.c: New file.
37071
5762f7ae
L
37072 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37073 __syscall_ulong_t.
37074 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37075 defined. Use __syscall_ulong_t.
37076 (shminfo): Use __syscall_ulong_t.
37077 (shm_info): Likewise.
37078
a26b6856
L
37079 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37080 __syscall_ulong_t.
37081
cb2b9ef7
L
37082 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37083 <bits/wordsize.h>.
37084 (msgqnum_t): Use __syscall_ulong_t.
37085 (msglen_t): Likewise.
37086 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37087 __syscall_ulong_t.
37088
34683bb0
L
37089 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37090 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37091
84a68786
L
37092 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37093
48baa5f1
L
37094 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37095 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37096
180be88b
L
37097 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37098 __syscall_slong_t.
37099
5e90c8ad
L
37100 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37101 include <bits/wordsize.h>. Check __x86_64__ instead of
37102 __WORDSIZE.
37103
23dfb58b
L
37104 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37105 "unsigned long long int" if __x86_64__ is defined.
37106 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37107
ce5d54b0
L
37108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37109 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37110 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37111
13dc9eac
L
37112 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37113 <stdint.h>.
37114 (GET_PC): Cast to uintptr_t first.
37115 (GET_FRAME): Likewise.
37116 (GET_STACK): Likewise.
37117
a7895d15
L
37118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37119 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37124 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37125 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37126 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37127 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37128 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37129 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37130 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37131 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37132 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37133 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37134 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37135 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37136 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37137 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37138 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37139 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37140 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37142 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37144 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37145 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37146 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37147
656416c9
AS
371482012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37149
5bd66283
AS
37150 * Makerules (+depfiles): Also collect depfiles from .oS in
37151 $(extra-objs).
37152 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37153 .oS, $(libnldbl-routines)).
37154
656416c9
AS
37155 * Makerules (native-compile-mkdep-flags): Define.
37156 * sunrpc/Makefile (extra-objs): Add $(addprefix
37157 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37158 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37159 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37160 calling $(make-target-directory).
37161
a46f2169
L
371622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37163
37164 * bits/types.h (__snseconds_t): Removed.
37165 * time/time.h (struct timespec): Replace __snseconds_t with
37166 __syscall_slong_t.
37167 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37168 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37169 Likewise.
37170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37171 (__SNSECONDS_T_TYPE): Likewise.
37172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37173 (__SNSECONDS_T_TYPE): Likewise.
37174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37175 (__SNSECONDS_T_TYPE): Likewise.
37176
6af6528b
L
371772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37178
37179 * sysdeps/mach/hurd/bits/typesizes.h
37180 (__SYSCALL_SLONG_TYPE): New macro.
37181 (__SYSCALL_ULONG_TYPE): Likewise.
37182
de986b56
L
371832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37184
37185 * bits/types.h (__syscall_slong_t): New type.
37186 (__syscall_ulong_t): Likewise.
37187
37188 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37189 (__SYSCALL_ULONG_TYPE): Likewise.
37190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37191 (__SYSCALL_SLONG_TYPE): Likewise.
37192 (__SYSCALL_ULONG_TYPE): Likewise.
37193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37194 (__SYSCALL_SLONG_TYPE): Likewise.
37195 (__SYSCALL_ULONG_TYPE): Likewise.
37196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37197 (__SYSCALL_SLONG_TYPE): Likewise.
37198 (__SYSCALL_ULONG_TYPE): Likewise.
37199
85736dc7
L
372002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37201
37202 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37203 Add sigaltstack-offsets.sym.
37204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37205 <sigaltstack-offsets.h>.
37206 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37207 longjmp_msg pointer.
37208 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37209 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37210 signal stack.
37211 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37212
cc03b296
JM
372132012-05-15 Joseph Myers <joseph@codesourcery.com>
37214
a9538892
JM
37215 * elf/stackguard-macros.h: Remove file.
37216 * sysdeps/generic/stackguard-macros.h: New file.
37217 * sysdeps/i386/stackguard-macros.h: Likewise.
37218 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37219 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37220 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37221 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37222 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37223 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37224 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37225 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37226 <elf/stackguard-macros.h>.
37227
cc03b296
JM
37228 [BZ #14109]
37229 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37230 __aligned__ in attribute.
37231 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37232 (gregset_t): Likewise.
37233
93171016
L
372342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37235
37236 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37237 * sysdeps/x86_64/64/Implies-after: Here. New file.
37238 * sysdeps/x86_64/x32/Implies-after: New file.
37239
d86813a0
L
372402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37241
37242 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37243 and access return value for _dl_profile_fixup. Use R10_LP to
37244 load frame size.
37245
2953ec75
L
372462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37247
37248 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37249
3b550e9e
L
372502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37251
37252 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37253 * sysdeps/x86_64/x32/sysdep.h: New file.
37254
eda41706
L
372552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37256
37257 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37258 * sysdeps/x86_64/setjmp.S: Likewise.
37259
9ea01d93
AZ
372602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37261
37262 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37263 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37264 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37265 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37266 remove unused global constant.
37267
02a91938
CM
372682012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37269
37270 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37271 include of <not-cancel.h>.
37272
6540185f
RM
372732012-05-15 Roland McGrath <roland@hack.frob.com>
37274
37275 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37276
509072a0
AJ
372772012-05-15 Jeff Law <law@redhat.com>
37278 Andreas Jaeger <aj@suse.de>
37279
37280 [BZ #13594]
37281 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37282 out from...
37283 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37284 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37285 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37286 code changing __hst_map_handle.map.
37287
ba75122d
RM
372882012-05-15 Roland McGrath <roland@hack.frob.com>
37289
37290 * configure.in (sysnames): Look for Implies-before and Implies-after
37291 files.
37292 * configure: Regenerated.
37293
890d8bd8
L
372942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37295
37296 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37297 8-byte data alignment with LP_SIZE alignment.
37298
f6ee6623
L
372992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37300
37301 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37302 into R10_LP.
37303
ea2626f6
L
373042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37305
37306 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37307
085f715e
L
373082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37309
37310 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37311 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37312 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37313 Likewise.
37314 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37315
be8498fc
L
373162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37317
37318 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37319 (stackinfo_sub_sp): Likewise.
37320
70bc83b9
L
373212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37322
37323 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37324 RAX_LP.
37325
9bc0b730
L
373262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37327
37328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37329 into R*_LP.
37330
6d2850e7
L
373312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37332
37333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37334 sizes into R*_LP.
37335
3cb84561
L
373362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37337
37338 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37339
54e2ed81
L
373402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37341
37342 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37343 into R11_LP and load __x86_64_shared_cache_size_half into
37344 R8_LP.
37345
8a17f349
L
373462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37347
37348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37349 R8_LP.
37350
777b1eea
AZ
373512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37352
37353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37354 logb for POWER7.
37355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37356 logbf for POWER7.
37357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37358 logbl for POWER7.
37359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37360 powerpc32/power7/fpu/s_logb.c via #include.
37361 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37362 powerpc32/power7/fpu/s_logbf.c via #include.
37363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37364 powerpc32/power7/fpu/s_logbl.c via #include.
37365
d20d4ac2
JM
373662012-05-15 Joseph Myers <joseph@codesourcery.com>
37367
37368 * README.libm: Remove file.
37369
6cdef1ab
L
373702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37371
37372 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37373 count for x32. Use R*_LP and omit operand-size suffix.
37374
0b254d8f
L
373752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37376
37377 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37378 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37379 * sysdeps/x86_64/x32/shlib-versions: New file.
37380
ceb809dc
RM
373812012-05-14 Roland McGrath <roland@hack.frob.com>
37382
37383 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37384 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37385 Use _dl_fatal_printf instead.
37386
37f1abd4
JM
373872012-05-14 Joseph Myers <joseph@codesourcery.com>
37388
37389 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37390 set if not set by the user. Do not allow for being unset.
37391 * sysdeps/unix/sysv/linux/configure: Regenerated.
37392
11de3a33
L
373932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37394
37395 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37396 the `q' suffix from lea and replace .quad with ASM_ADDR.
37397
e02f153a
L
373982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37399
37400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37401 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37402 instead of $17.
37403 (PTR_DEMANGLE): Likewise.
37404
520ae0fd
L
374052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37406
37407 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37408 (LP_OP): Likewise.
37409 (ASM_ADDR): Likewise.
37410 (RAX_LP): Likewise.
37411 (RBP_LP): Likewise.
37412 (RBX_LP): Likewise.
37413 (RCX_LP): Likewise.
37414 (RDI_LP): Likewise.
37415 (RSI_LP): Likewise.
37416 (RSP_LP): Likewise.
37417 (R8_LP): Likewise.
37418 (R9_LP): Likewise.
37419 (R10_LP): Likewise.
37420 (R10_LP): Likewise.
37421 (R11_LP): Likewise.
37422 (R12_LP): Likewise.
37423 (R13_LP): Likewise.
37424 (R14_LP): Likewise.
37425 (R15_LP): Likewise.
37426
b985be81
L
374272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37428
37429 * sysdeps/x86_64/x32/dl-machine.h: New file.
37430
6a4888ff
AJ
374312012-05-14 Andreas Jaeger <aj@suse.de>
37432
37433 * manual/Makefile (subdir): Remove export of subdir.
37434 (all): Remove target.
37435 (.PHONY): Remove all from list.
37436 (mkinstalldirs): Remove.
37437 (.PHONY): Remove installdirs from list.
37438 ($(inst_infodir)/libc.info): Use make-target-directory.
37439 (installdirs): Remove.
37440 (subdir_%): Remove.
37441 (glibc-targets): Remove.
37442 (lib): Remove.
37443 (stubs): Remove.
37444 ($(objpfx)stubs ../po/manual.pot): Remove.
37445 ($(objpfx)stamp%): Remove.
37446 (make-target-directory): Remove.
37447 (subdir_install): Remove.
37448 (routines): Remove.
37449 (aux): Remove.
37450 (sources): Remove.
37451 (objects): Remove.
37452 (headers): Remove.
37453
37454 [BZ #13750]
37455 * manual/.gitignore: Remove, it's not needed anymore.
37456 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37457 all files in it.
37458 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37459 directory.
37460 (texis): Renamed to $(objpfx)texis.
37461 (texis-path): New, contains path to generated files.
37462 (chapters.%): Use texis-path for complete path, add extra argument
37463 libc-texinfo.sh.
37464 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37465 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37466 (summary,texi, stamp-summary): Use complete path of
37467 files. Generate files in build dir.
37468 (dir-add.texi): Build in build dir.
37469 (libm-err.texi,stamp-libm-err): Likewise.
37470 (version.texi, stamp-version): Likewise.
37471 (.%c.texi): Likewise.
37472 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37473 (mostlyclean): Remove target.
37474 (realclean): Remove target.
37475 (generated): Add new variable with contents from mostlyclean and
37476 realclean, remove entries duplicated in common-mostlyclean, add
37477 stamp-libm-err and stamp-version.
37478 (generated-dirs): Add libc directory.
37479 ($(inst_infodir)/libc.info): Install files from build dir.
37480
37481 * manual/install.texi (Configuring and compiling): Adjust since
37482 the info files are not part of the tar ball anymore.
37483
7ac77294
AJ
374842012-05-14 Andreas Jaeger <aj@suse.de>
37485
37486 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37487 variable.
37488
ffb7875d
JM
374892012-05-14 Joseph Myers <joseph@codesourcery.com>
37490
37491 [BZ #13717]
37492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37493 to 2.2.0 where earlier.
37494 * sysdeps/unix/sysv/linux/configure: Regenerated.
37495 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37496 Remove conditional code.
37497 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37498 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37499 Remove conditional code.
37500 [!__NR_lchown]: Likewise.
37501 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37502 [__NR_lchown]: Likewise.
37503 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37504 comment referencing __ASSUME_LCHOWN_SYSCALL.
37505 * sysdeps/unix/sysv/linux/i386/sigaction.c
37506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37508 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37509 Remove conditional code.
37510 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37511 (__protocol_available): Remove #if 0 code.
37512 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37513 conditional code.
37514 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37515 * sysdeps/unix/sysv/linux/kernel-features.h
37516 (__ASSUME_GETCWD_SYSCALL): Don't define.
37517 (__ASSUME_REALTIME_SIGNALS): Likewise.
37518 (__ASSUME_PREAD_SYSCALL): Likewise.
37519 (__ASSUME_PWRITE_SYSCALL): Likewise.
37520 (__ASSUME_POLL_SYSCALL): Likewise.
37521 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37522 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37523 non-SPARC.
37524 (__ASSUME_SIOCGIFNAME): Don't define.
37525 (__ASSUME_MSG_NOSIGNAL): Likewise.
37526 (__ASSUME_SENDFILE): Define unconditionally.
37527 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37528 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37529 conditional code.
37530 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37531 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37532 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37533 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37534 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37535 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37536 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37538 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37541 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37547 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37553 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37559 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37561 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37562 Remove conditional code.
37563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37564 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37565 Remove conditional code.
37566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37567 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37568 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37569 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37570 Remove conditional code.
37571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37572 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37573 Remove conditional code.
37574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37575 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37576 Remove conditional code.
37577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37578 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37579 Remove conditional code.
37580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37581 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37582 Remove conditional code.
37583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37584 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37587 * sysdeps/unix/sysv/linux/sigaction.c
37588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37590 * sysdeps/unix/sysv/linux/sigpending.c
37591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37593 * sysdeps/unix/sysv/linux/sigprocmask.c
37594 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37595 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37596 * sysdeps/unix/sysv/linux/sigsuspend.c
37597 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37598 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37599 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37600 (__libc_missing_rt_sigs): Remove.
37601 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37602 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37603 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37604 Remove conditional code.
37605 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37606 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37607 return 1.
37608 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37609 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37610 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37611 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37612
1bfb7291
AJ
376132012-05-14 Andreas Jaeger <aj@suse.de>
37614
caae5a81
AJ
37615 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37616 it's not used in glibc.
37617 (__coshm1): Likewise.
37618 (__acosh1p): Likewise.
37619 (__sgn): Likewise.
37620
1bfb7291
AJ
37621 * manual/string.texi (Copying and Concatenation): Add missing
37622 variable in concat example.
37623 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37624
c044d724
L
376252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37626
144c5467 37627 [BZ #14103]
c044d724
L
37628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37629 __builtin_clzl with __builtin_clzll.
37630
2523c62b
L
376312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37632
37633 [BZ #14104]
37634 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37635 libc_freeres_ptr.
37636
d7bb4c42
LD
376372012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37638
37639 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37640 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37641 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37642 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37643
9dc4e1fb
MF
376442012-05-14 Mike Frysinger <vapier@gentoo.org>
37645
37646 * NEWS: Update ia64 info.
37647
c7df0112
AS
376482012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37649
37650 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37651 used as bcopy.
37652
dc70356c
TS
376532012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37654
37655 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37656 * sysdeps/unix/syscalls.list (dup3): Likewise.
37657 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37658 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37659
9fb1a21f
L
376602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37661
37662 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37663 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37664
4822a2a5
L
376652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37666
37667 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37668 thread pointer.
37669 (TLS_IE): Use mov/add instead of movq/addq to load thread
37670 pointer.
37671 (TLS_GD_PREFIX): New.
37672 (TLS_GD): Use it.
37673
842b81d6
DM
376742012-05-11 David S. Miller <davem@davemloft.net>
37675
37676 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37677 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37678 (_FPU_SETCW): Likewise.
37679
1cf463cd
L
376802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37681
37682 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37683 is 32-byte aligned.
37684
60cc4a18
AS
376852012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37686
37687 [BZ #11837]
37688 * iconvdata/gb18030.c: Update tables.
37689 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37690 characters specially.
37691 (BODY for TO_LOOP): Add encoding of missing ranges.
37692
febb44a4
TS
376932012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37694
37695 [BZ #13673]
37696 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37697 * sysdeps/mach/hurd/dup3.c: Likewise.
37698 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37699 * sysdeps/powerpc/memmove.c:: Likewise.
37700
0a10fb9e
L
377012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37702
37703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37704 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37705
df8a552f
L
377062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37707
37708 * elf/elf.h (R_X86_64_RELATIVE64): New.
37709 (R_X86_64_NUM): Updated.
37710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37711 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37712 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37713 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37714 tst-quad1pie tst-quad2pie
37715 (modules-names): Add tst-quadmod1 tst-quadmod2.
37716 ($(objpfx)tst-quad1): New dependency.
37717 ($(objpfx)tst-quad2): Likewise.
37718 ($(objpfx)tst-quad1pie): Likewise.
37719 ($(objpfx)tst-quad2pie): Likewise.
37720 * sysdeps/x86_64/tst-quad1.c: New file.
37721 * sysdeps/x86_64/tst-quad1pie.c: New file.
37722 * sysdeps/x86_64/tst-quad2.c: Likewise.
37723 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37724 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37725 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37726 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37727 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37728
f34d6f84
ST
377292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37730
f42d41d1
ST
37731 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37732 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37733 * streams/stropts.h (t_scalar_t): Define type.
37734
3c3571fc
ST
37735 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37736 (_PATH_PRESERVE): Set to "/var/lib".
37737 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37738
61f06bd3
ST
37739 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37740 instead of int.
37741
918d4d71
ST
37742 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37743 if __dir_mkfile succeeded.
37744
f34d6f84
ST
37745 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37746 checking for _hurd_dtablesize. Unlock it right after having
37747 finished _hurd_dtable allocation.
37748
10589b4a
TS
377492012-05-10 Thomas Schwinge <thomas@schwinge.name>
37750
674cdbc7
TS
37751 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37752 * sysdeps/mach/hurd/configure: Regenerated.
37753 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37754 special-casing to...
37755 * sysdeps/gnu/configure.in: ... this new file.
37756 * sysdeps/unix/sysv/linux/configure: Regenerated.
37757 * sysdeps/gnu/configure: New generated file.
37758
8e41b99f
TS
37759 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37760 for Linux: use nsec instead of usec, as well as:
37761 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37762 members of type struct timespec.
37763 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37764 New macros.
37765 (struct stat64): Likewise.
37766 (_STATBUF_ST_NSEC): New macro.
37767 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37768
10589b4a
TS
37769 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37770 __strtoul_internal rather than strtoul.
37771
63643c85
PT
377722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37773
37774 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37775 and reject them.
37776
3faebe6a
ST
377772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37778
37779 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37780 which preserves existing values.
37781 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37782
c6474b07
PT
377832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37784
37785 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37786 TIMEOUT values. Return EINVAL for NFDS values either negative or
37787 greater than FD_SETSIZE.
37788
1043890b
ST
377892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37790
37791 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37792 allocated, call __vm_protect to finish enabling the existing space, and
37793 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37794 allocate the remainder.
37795
37ed8b9b
PT
377962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37797
37798 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37799 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37800
db653660
ST
378012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37802
37ed8b9b
PT
37803 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37804 sysdeps/mach/hurd/readlink.c.
b29d4053 37805
db653660
ST
37806 * posix/tst-sysconf.c (posix_options): Only use
37807 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37808 _POSIX_SYNCHRONIZED_IO when they are defined
37809 * sysdeps/mach/hurd/bits/posix_opt.h:
37810 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37811 (_XOPEN_REALTIME): Undefine macro.
37812 (_XOPEN_REALTIME_THREADS): Undefine macro.
37813 (_XOPEN_SHM): Undefine macro.
37814 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37815 macro to -1.
37816 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37817 macro to -1.
37818 (_POSIX_ASYNC_IO): Undefine macro.
37819 (_POSIX_PRIORITIZED_IO): Undefine macro.
37820 (_POSIX_SPIN_LOCKS): Define macro to -1.
37821
ee16e894
ST
37822 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37823 SA_NODEFER, SA_RESETHAND.
37824 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37825 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37826 F_DUPFD_CLOEXEC.
37827
6103ae3b
TS
378282012-05-10 Thomas Schwinge <thomas@schwinge.name>
37829
37830 * elf/Makefile (pldd-modules): Define unconditionally.
37831
80b4e5f3
TS
378322012-05-10 Thomas Schwinge <thomas@schwinge.name>
37833
37834 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37835
edadcbd6
ST
378362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37837
37838 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37839 Return ENOENT when name is empty.
37840 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37841
80694780
TS
378422012-05-10 Thomas Schwinge <thomas@schwinge.name>
37843
1792c087
TS
37844 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37845
80694780
TS
37846 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37847
6b645f0d
ST
378482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37849
80694780
TS
37850 Fix mlock in all cases except non-readable pages.
37851 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37852 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37853
6b645f0d
ST
37854 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37855 (__mkdir): When path is `/', just fail with EEXIST.
37856 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37857
e468f8a3
TS
378582012-05-10 Thomas Schwinge <thomas@schwinge.name>
37859
37860 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37861 <sys/uio.h> (for writev).
37862 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37863 and <sys/param.h> (for MIN).
37864
a4186cff
PT
378652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37866
37867 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37868 REQUESTED_TIME. Properly set the remaining time and return EINTR
37869 if interrupted.
37870
510bbf14
TS
378712012-05-10 Thomas Schwinge <thomas@schwinge.name>
37872
37873 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37874 Depend on against $(link-rpcuserlibs).
37875
5d5722e8
ST
378762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37877
a4186cff
PT
37878 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37879 (__libc_stack_end): Do not use attribute_relro.
37880 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37881 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37882 to libthread-provided value.
a4186cff
PT
37883 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37884 attribute_relro.
5d5722e8 37885
37233df9
TS
378862012-05-10 Thomas Schwinge <thomas@schwinge.name>
37887
be971a2b
TS
37888 [BZ #3748]
37889 * bits/libc-lock.h (__libc_once_get): New macro.
37890 * sysdeps/mach/bits/libc-lock.h: Likewise.
37891 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37892 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37893 instead of using implementation details.
37894
37233df9
TS
37895 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37896 * libio/freopen.c: Likewise.
37897 * libio/freopen64.c: Likewise.
37898 * misc/syslog.c: Likewise.
37899 * nscd/connections.c: Likewise.
37900 * nscd/netgroupcache.c: Likewise.
37901 * sysdeps/posix/getcwd.c: Likewise.
37902
38de94a5
RM
379032012-05-10 Roland McGrath <roland@hack.frob.com>
37904
37905 * math/w_ilogbf.c: Add #include <limits.h>.
37906
67530489
ST
379072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37908
a4186cff 37909 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37910 path instead of returning without unlocking.
37911
67530489
ST
37912 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37913 immediate-write ioctls.
37914 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37915
5aa3a74a
TS
379162012-05-10 Thomas Schwinge <thomas@schwinge.name>
37917
18bad2ae
TS
37918 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37919 __builtin_frame_address instead of making assumptions about the
37920 location of the return address relative to DATA. Force early load of
37921 the return address.
37922 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37923 __builtin_frame_address.
37924
5aa3a74a
TS
37925 dup3 for GNU Hurd.
37926 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37927 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37928 implement dup3 and do some further code clean-ups.
37929 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37930 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37931
ecd0de9a
ST
379322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37933
cd9fa985
ST
37934 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37935
a4186cff
PT
37936 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37937 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37938 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37939 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37940 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37941 d->port.lock.
802ca5a5 37942
a4186cff
PT
37943 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37944 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37945 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37946
bcf55240
TS
379472012-05-10 Thomas Schwinge <thomas@schwinge.name>
37948
6960eb42
TS
37949 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37950 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37951 definitions.
37952
eb43375f
TS
37953 accept4 for GNU Hurd.
37954 * include/sys/socket.h (__libc_accept4): New prototype.
37955 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37956 to implement __libc_accept4.
37957 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37958 __libc_accept4.
37959 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37960
bcf55240
TS
37961 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37962 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37963 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37964 signal-defines.sym.
37965
6178c55b
ST
379662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37967
a4186cff 37968 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37969
6f080c2f
TS
379702012-05-10 Thomas Schwinge <thomas@schwinge.name>
37971
37972 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37973 assertion on O_CLOEXEC flag.
37974 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37975 * hurd/intern-fd.c: Likewise.
37976 * hurd/port2fd.c: Likewise.
37977
bcfe3a54
ST
379782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37979
37980 [BZ #3906]
37981 * bits/in.h (IPV6_PKTINFO): Define new macro.
37982 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37983
89c9aa49
AZ
379842012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37985
37986 [BZ #13954]
37987 [BZ #13955]
37988 [BZ #13956]
37989 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37990 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37991 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37992 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37994 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37995 * math/libm-test.inc (logb_test) : Additional logb tests.
37996
021db4be
AJ
379972012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37998 Andreas Jaeger <aj@suse.de>
37999
38000 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38001 * configure: Regenerated.
38002 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38003 * config.make.in (link-obsolete-rpc): New substituted variable.
38004 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38005 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38006 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38007 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38008 so that libc.a contains the symbols.
38009 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38010 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38011 * sunrpc/auth_none.c: Likewise.
38012 * sunrpc/auth_unix.c: Likewise.
38013 * sunrpc/authdes_prot.c: Likewise.
38014 * sunrpc/authuxprot.c: Likewise.
38015 * sunrpc/clnt_gen.c: Likewise.
38016 * sunrpc/clnt_perr.c: Likewise.
38017 * sunrpc/clnt_raw.c: Likewise.
38018 * sunrpc/clnt_simp.c: Likewise.
38019 * sunrpc/clnt_tcp.c: Likewise.
38020 * sunrpc/clnt_udp.c: Likewise.
38021 * sunrpc/clnt_unix.c: Likewise.
38022 * sunrpc/des_crypt.c: Likewise.
38023 * sunrpc/des_soft.c: Likewise.
38024 * sunrpc/get_myaddr.c: Likewise.
38025 * sunrpc/key_call.c: Likewise.
38026 * sunrpc/key_prot.c: Likewise.
38027 * sunrpc/netname.c: Likewise.
38028 * sunrpc/pm_getmaps.c: Likewise.
38029 * sunrpc/pm_getport.c: Likewise.
38030 * sunrpc/pmap_clnt.c: Likewise.
38031 * sunrpc/pmap_prot.c: Likewise.
38032 * sunrpc/pmap_prot2.c: Likewise.
38033 * sunrpc/pmap_rmt.c: Likewise.
38034 * sunrpc/publickey.c: Likewise.
38035 * sunrpc/rpc_cmsg.c: Likewise.
38036 * sunrpc/rpc_common.c: Likewise.
38037 * sunrpc/rpc_dtable.c: Likewise.
38038 * sunrpc/rpc_prot.c: Likewise.
38039 * sunrpc/rpc_thread.c: Likewise.
38040 * sunrpc/rtime.c: Likewise.
38041 * sunrpc/svc.c: Likewise.
38042 * sunrpc/svc_auth.c: Likewise.
38043 * sunrpc/svc_raw.c: Likewise.
38044 * sunrpc/svc_run.c: Likewise.
38045 * sunrpc/svc_tcp.c: Likewise.
38046 * sunrpc/svc_udp.c: Likewise.
38047 * sunrpc/svc_unix.c: Likewise.
38048 * sunrpc/svcauth_des.c: Likewise.
38049 * sunrpc/xcrypt.c: Likewise.
38050 * sunrpc/xdr.c: Likewise.
38051 * sunrpc/xdr_array.c: Likewise.
38052 * sunrpc/xdr_float.c: Likewise.
38053 * sunrpc/xdr_intXX_t.c: Likewise.
38054 * sunrpc/xdr_mem.c: Likewise.
38055 * sunrpc/xdr_rec.c: Likewise.
38056 * sunrpc/xdr_ref.c: Likewise.
38057 * sunrpc/xdr_sizeof.c: Likewise.
38058 * sunrpc/xdr_stdio.c: Likewise.
38059
b5c086a2
RM
380602012-05-10 Roland McGrath <roland@hack.frob.com>
38061
38062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38063 change. Update copyright years.
38064
6d74dd09
JM
380652012-05-10 Joseph Myers <joseph@codesourcery.com>
38066
38067 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38068
28e72501
MK
380692012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38070 Joseph Myers <joseph@codesourcery.com>
38071 Paul Pluzhnikov <ppluzhnikov@google.com>
38072
38073 [BZ #14012]
38074 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38075 requiring rpcgen.
38076 [cross-compiling] (extra-libs): Likewise.
38077 [cross-compiling] (extra-libs-others): Likewise.
38078 [cross-compiling] (librpcsvc-routines): Likewise.
38079 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38080 [cross-compiling] (omit-deps): Likewise.
38081 (sunrpc-CPPFLAGS): New variable.
38082 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38083 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38084 (cross-rpcgen-objs): New variable.
38085 (extra-objs): Append $(cross-rpcgen-objs).
38086 ($(cross-rpcgen-objs)): New rule.
38087 ($(objpfx)cross-rpcgen): Likewise.
38088 (rpcgen-cmd): Define to use $(built-program-file). Expand
38089 comment.
38090 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38091 ($(objpfx)x%.stmp): Likewise.
38092 * sunrpc/proto.h [IS_IN_build] (_): Define.
38093 [IS_IN_build] (_libc_intl_domainname): Likewise.
38094
c8c59454
L
380952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38096
38097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38098 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38099 and R_X86_64_TPOFF64.
38100
6f27cd16
JM
381012012-05-10 Joseph Myers <joseph@codesourcery.com>
38102
38103 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38104 sysdeps/unix/sysv/syscalls.list.
38105 (stime): Likewise.
38106 (utime): Likewise.
38107 * sysdeps/unix/sysv/syscalls.list: Remove file.
38108
02467e1c
PE
381092012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38110
38111 [BZ #3440]
38112 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38113 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38114 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38115 (__LC_IDENTIFICATION): Make these macros useful in #if
38116 expressions, as required by C99.
38117
da392631
AS
381182012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38119
38120 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38121 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38122 after this.
38123
8115f29b
L
381242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38125
38126 * stdlib/longlong.h: Updated from GCC.
38127
bdd74070
AJ
381282012-05-09 Andreas Jaeger <aj@suse.de>
38129
edfe0dbe
AJ
38130 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38131 default is first entry.
38132 (run_mode): Set type.
38133 (main): Remove informal message about syslog.
38134 (options): Fix typo.
38135
bcfe3a54
ST
38136 [BZ #14053]
38137 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38138 to asm.
bcfe3a54
ST
38139 (lrint): Likewise.
38140 (llrintf): Likewise.
38141 (llrint): Likewise.
38142 (rint): Likewise.
38143 (rintf): Likewise.
38144 (nearbyint): Likewise.
38145 (nearbyintf): Likewise.
bdd74070 38146
91d8d69e
AJ
381472012-05-09 Andreas Jaeger <aj@suse.de>
38148 Pedro Alves <palves@redhat.com>
38149
38150 * nscd/nscd.c (run_mode): Use enum.
38151 (main): Cleanup coding style issue.
38152
bb90b80b
AJ
381532012-05-09 Alexandre Oliva <aoliva@redhat.com>
38154 Andreas Jaeger <aj@suse.de>
38155
bcfe3a54
ST
38156 * nscd/nscd.c (go_background): Replaced with...
38157 (run_mode): ... this.
bb90b80b 38158 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38159 (options): Add -F --foreground.
38160 (main): Implement it.
38161 (parse_opt): Parse it.
bb90b80b 38162
1a4b75a1
AJ
381632012-05-09 Andreas Jaeger <aj@suse.de>
38164
38165 [BZ #14083]
38166 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38167 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38168 -Wconversion warning.
38169 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38170 Likewise.
38171
b1cc2472
JM
381722012-05-09 Joseph Myers <joseph@codesourcery.com>
38173
38174 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38175 == 0.
38176 (LC_ALL): Use macro-int-constant.
38177 (LC_COLLATE): Likewise.
38178 (LC_CTYPE): Likewise.
38179 (LC_MESSAGES): Likewise.
38180 (LC_MONETARY): Likewise.
38181 (LC_NUMERIC): Likewise.
38182 (LC_TIME): Likewise.
38183 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38184 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38186 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38187 Specify type.
38188 [C99-based standards] (float_t): Expect type.
38189 [C99-based standards] (double_t): Expect type.
38190 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38191 type.
38192 [C99-based standards] (HUGE_VALL): Likewise.
38193 [C99-based standards] (INFINITY): Likewise.
38194 [C99-based standards] (NAN): Likewise.
38195 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38196 [C99-based standards] (FP_NAN): Likewise.
38197 [C99-based standards] (FP_NORMAL): Likewise.
38198 [C99-based standards] (FP_SUBNORMAL): Likewise.
38199 [C99-based standards] (FP_ZERO): Likewise.
38200 [C99-based standards] (FP_FAST_FMA): Use
38201 optional-macro-int-constant. Specify type. Require == 1.
38202 [C99-based standards] (FP_FAST_FMAF): Likewise.
38203 [C99-based standards] (FP_FAST_FMAL): Likewise.
38204 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38205 [C99-based standards] (FP_ILOGBNAN): Likewise.
38206 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38207 Specify type.
38208 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38209 [C99-based standards] (math_errhandling): Specify type.
38210 [ISO99 || ISO11] (signgam): Do not allow.
38211 [non-C99-based standards] (copysignf): Do not allow.
38212 [non-C99-based standards] (exp2f): Likewise.
38213 [non-C99-based standards] (log2f): Likewise.
38214 [non-C99-based standards] (modff): Allow.
38215 [non-C99-based standards] (erff): Do not allow.
38216 [non-C99-based standards] (erfcf): Likewise.
38217 [non-C99-based standards] (gammaf): Likewise.
38218 [non-C99-based standards] (hypotf): Likewise.
38219 [non-C99-based standards] (j0f): Likewise.
38220 [non-C99-based standards] (j1f): Likewise.
38221 [non-C99-based standards] (jnf): Likewise.
38222 [non-C99-based standards] (lgammaf): Likewise.
38223 [non-C99-based standards] (tgammaf): Likewise.
38224 [non-C99-based standards] (y0f): Likewise.
38225 [non-C99-based standards] (y1f): Likewise.
38226 [non-C99-based standards] (ynf): Likewise.
38227 [non-C99-based standards] (isnanf): Likewise.
38228 [non-C99-based standards] (acoshf): Likewise.
38229 [non-C99-based standards] (asinhf): Likewise.
38230 [non-C99-based standards] (atanhf): Likewise.
38231 [non-C99-based standards] (cbrtf): Likewise.
38232 [non-C99-based standards] (expm1f): Likewise.
38233 [non-C99-based standards] (ilogbf): Likewise.
38234 [non-C99-based standards] (log1pf): Likewise.
38235 [non-C99-based standards] (logbf): Likewise.
38236 [non-C99-based standards] (nextafterf): Likewise.
38237 [non-C99-based standards] (remainderf): Likewise.
38238 [non-C99-based standards] (rintf): Likewise.
38239 [non-C99-based standards] (scalbf): Likewise.
38240 [non-C99-based standards] (copysignl): Likewise.
38241 [non-C99-based standards] (exp2l): Likewise.
38242 [non-C99-based standards] (log2l): Likewise.
38243 [non-C99-based standards] (modfl): Allow.
38244 [non-C99-based standards] (erfl): Do not allow.
38245 [non-C99-based standards] (erfcl): Likewise.
38246 [non-C99-based standards] (gammal): Likewise.
38247 [non-C99-based standards] (hypotl): Likewise.
38248 [non-C99-based standards] (j0l): Likewise.
38249 [non-C99-based standards] (j1l): Likewise.
38250 [non-C99-based standards] (jnl): Likewise.
38251 [non-C99-based standards] (lgammal): Likewise.
38252 [non-C99-based standards] (tgammal): Likewise.
38253 [non-C99-based standards] (y0l): Likewise.
38254 [non-C99-based standards] (y1l): Likewise.
38255 [non-C99-based standards] (ynl): Likewise.
38256 [non-C99-based standards] (isnanl): Likewise.
38257 [non-C99-based standards] (acoshl): Likewise.
38258 [non-C99-based standards] (asinhl): Likewise.
38259 [non-C99-based standards] (atanhl): Likewise.
38260 [non-C99-based standards] (cbrtl): Likewise.
38261 [non-C99-based standards] (expm1l): Likewise.
38262 [non-C99-based standards] (ilogbl): Likewise.
38263 [non-C99-based standards] (log1pl): Likewise.
38264 [non-C99-based standards] (logbl): Likewise.
38265 [non-C99-based standards] (nextafterl): Likewise.
38266 [non-C99-based standards] (remainderl): Likewise.
38267 [non-C99-based standards] (rintl): Likewise.
38268 [non-C99-based standards] (scalbl): Likewise.
38269 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38270 [non-C99-based standards] (FP_*): Do not allow.
38271 [C99-based standards] (FP_*): Change to
38272 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38273 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38274 allow.
38275 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38276 (SIG_ERR): Likewise.
38277 [X/Open-based standards] (SIG_HOLD): Likewise.
38278 (SIG_IGN): Likewise.
38279 (SIGABRT): Use macro-int-constant. Specify type. Require
38280 positive value.
38281 (SIGFPE): Likewise.
38282 (SIGILL): Likewise.
38283 (SIGINT): Likewise.
38284 (SIGSEGV): Likewise.
38285 (SIGTER): Likewise.
38286 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38287 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38288 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38289 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38290 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38291 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38292 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38293 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38294 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38295 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38296 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38297 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38298 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38299 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38300 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38301 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38302 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38303 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38304 [X/Open-based standards] (SIGTRAP): Likewise.
38305 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38306 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38307 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38308 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38309 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38310 allow.
38311
b9f1922d
IW
383122012-05-08 Ian Wienand <ianw@vmware.com>
38313
38314 [BZ #14080]
38315 * time/tzset.c (__tzset_parse_tz): Update default rules for
38316 daylight time changes in the Energy Policy Act of 2005.
38317
1db86e88
AJ
383182012-05-09 Andreas Jaeger <aj@suse.de>
38319
38320 [BZ #13983]
38321 * elf/ldconfig.c (parse_conf): Change string to make clear that
38322 ldconfig only issued a warning if ld.so.conf does not exist.
38323
dee4a4e3
DM
383242012-05-08 David S. Miller <davem@davemloft.net>
38325
ee0db190
DM
38326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38327 movxtod instead of popping the value on the stack.
38328
dee4a4e3
DM
38329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38330
6a43ec98
CD
383312012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38332
38333 * config.h.in: Add HAVE_ARM_PCS_VFP.
38334
05c2c961
RMG
383352012-05-08 Roland Mc Grath <roland@hack.frob.com>
38336
bcfe3a54
ST
38337 [BZ #13979]
38338 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38339 checking but the checks are disabled for any reason.
05c2c961 38340
4b30f61a
L
383412012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38342
38343 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38344 and ELF64_R_TYPE with ELFW(R_TYPE).
38345
eee2bc67
JM
383462012-05-08 Joseph Myers <joseph@codesourcery.com>
38347
7ea5391a
JM
38348 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38349 (ulimit): Likewise.
38350
eee2bc67
JM
38351 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38352 (settimeofday): Likewise.
38353
abb66a67
MF
383542012-05-08 Mike Frysinger <vapier@gentoo.org>
38355
38356 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38357 a struct th_u2 inside the union, and move tu_block/tu_code into
38358 a new th_u3 union of tu_block/tu_code inside of that. Move
38359 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38360 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38361 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38362 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38363 (th_stuff): Change to th_u1.tu_stuff.
38364 (th_data): Define.
38365 (th_msg): Change to th_u1.th_u2.tu_data.
38366
7f18b530
DM
383672012-05-07 David S. Miller <davem@davemloft.net>
38368
05760585
DM
38369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38370
7f18b530
DM
38371 [BZ #14074]
38372 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38373 (SETUP_PIC_REG): Use it.
38374 (SETUP_PIC_REG_LEAF): Use it.
38375
495fd99f
JM
383762012-05-07 Joseph Myers <joseph@codesourcery.com>
38377
38378 [BZ #13885]
38379 [BZ #13923]
38380 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38381 USE_AS_EXPM1L.
38382 (EXPL_FINITE): Likewise.
38383 (FLDLOG): Likewise.
38384 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38385 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38386 e_expl.S.
38387 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38388 USE_AS_EXPM1L.
38389 (EXPL_FINITE): Likewise.
38390 (FLDLOG): Likewise.
38391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38392 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38393 e_expl.S.
38394 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38395 test of -max_value argument for long double.
38396 * sysdeps/i386/fpu/libm-test-ulps: Update.
38397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38398
6693d694
DM
383992012-05-06 David S. Miller <davem@davemloft.net>
38400
38401 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38402 quad soft-float symbols whose references which are compiler
38403 generated.
38404 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38405
6c23e11c
JM
384062012-05-06 Joseph Myers <joseph@codesourcery.com>
38407
d8b82cad
JM
38408 [BZ #13884]
38409 [BZ #13914]
38410 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38411 USE_AS_EXP10L.
38412 (EXPL_FINITE): Likewise.
38413 (FLDLOG): Likewise.
38414 (c0): Likewise.
38415 (c1): Likewise.
38416 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38417 Adjust comments for base varying.
38418 (__expl_finite): Change alias to EXPL_FINITE.
38419 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38420 e_expl.S.
38421 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38422 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38423 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38424 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38426 USE_AS_EXP10L.
38427 (EXPL_FINITE): Likewise.
38428 (FLDLOG): Likewise.
38429 (c0): Likewise.
38430 (c1): Likewise.
38431 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38432 Adjust comments for base varying.
38433 (__expl_finite): Change alias to EXPL_FINITE.
38434 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38435 tests for bugs.
38436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38437
6c23e11c
JM
38438 [BZ #14064]
38439 * math/libm-test.inc (check_float_internal): Correct ulp
38440 calculation for subnormal expected results.
38441
29ba805c
AJ
384422012-05-06 Andreas Jaeger <aj@suse.de>
38443
38444 * Makeconfig (+math-flags): New, set to -frounding-math.
38445 (+cflags): Add +math-flags so that all of glibc gets compiled with
38446 it.
38447
38448 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38449
7b17aeda
JM
384502012-05-05 Joseph Myers <joseph@codesourcery.com>
38451
5779f134
JM
38452 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38453 Disable one test.
38454
41498f4d
JM
38455 [BZ #13787]
38456 [BZ #13922]
38457 [BZ #14036]
38458 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38459 (__ieee754_expl): Allow for and saturate large arguments.
38460 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38461 (u_threshold): Likewise.
38462 (__exp): Call __ieee754_exp before checking for overflow and
38463 underflow.
38464 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38465 (u_threshold): Likewise.
38466 (__expf): Call __ieee754_expf before checking for overflow and
38467 underflow.
38468 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38469 (u_threshold): Likewise.
38470 (__expl): Call __ieee754_expl before checking for overflow and
38471 underflow.
38472 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38473 (__ieee754_expl): Allow for and saturate large arguments.
38474 * math/libm-test.inc (exp_test): Add another test. Do not allow
38475 missing overflow exception on overflow.
38476 (expm1_test): Do not allow missing overflow exception on overflow.
38477
6698b8bf
JM
38478 * sysdeps/i386/fpu/e_expl.c: Move to ...
38479 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38480 rather than using inline asm.
38481 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38482 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38483 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38484
7b17aeda
JM
38485 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38486 (nice): Likewise.
38487 (poll): Likewise.
38488 (signal): Likewise.
38489 (time): Likewise.
38490 (times): Likewise.
38491
f7c85819
JM
384922012-05-04 Joseph Myers <joseph@codesourcery.com>
38493
38494 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38495 sysdeps/unix/common/syscalls.list.
38496 (fchmod): Likewise.
38497 (fchown): Likewise.
38498 (ftruncate): Likewise.
38499 (getrusage): Likewise.
38500 (gettimeofday): Likewise.
38501 (setpgid): Likewise.
38502 (setregid): Likewise.
38503 (setreuid): Likewise.
38504 (sigaction): Likewise.
38505 (truncate): Likewise.
38506 (vhangup): Likewise.
38507 * sysdeps/unix/common/syscalls.list: Remove file.
38508 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38509 * sysdeps/unix/sysv/linux/Implies: Likewise.
38510
336270d0
L
385112012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38512
38513 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38515 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38516 Moved to ...
38517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38518 Here.
38519 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38520 to ...
38521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38522 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38523 to ...
38524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38525 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38526 to ...
38527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38528 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38529 to ...
38530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38531 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38532 to ...
38533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38534 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38535 to ...
38536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38537 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38538 to ...
38539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38540 Here.
38541 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38542 to ...
38543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38544 Here.
38545 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38546 to ...
38547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38548 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38549 Moved to ...
38550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38551 Here.
38552 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38553 to ...
38554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38555
d128e450
JM
385562012-05-04 Joseph Myers <joseph@codesourcery.com>
38557
fa8ee516
JM
38558 * sysdeps/unix/common/bits/dirent.h: Remove file.
38559 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38560
d128e450
JM
38561 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38562 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38563 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38564 * sysdeps/unix/bsd/isatty.c: Likewise.
38565 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38566 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38567 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38568
ff8faaf0 385692012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38570
62881be4 38571 [BZ #13563]
31dc8730
AZ
38572 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38573 long double comparison inaccuracies.
38574 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38576
6fef930c
AS
385772012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38578
38579 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38581
8f203e6c
JM
385822012-05-04 Joseph Myers <joseph@codesourcery.com>
38583
38584 [BZ #14049]
38585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38586 nonzero digits before rounding a hex value.
38587 * stdlib/tst-strtod.c (tests): Add another test.
38588
5197d9c2
AK
385892012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38590
38591 * sysdeps/s390/fpu/libm-test-ulps: Update.
38592
f0c1dedf
AJ
385932012-05-03 Andreas Jaeger <aj@suse.de>
38594
38595 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38596 does not get optimized out.
38597 (malloc_opt_barrier): New.
38598
a65ef2ae 385992012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38600 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38601
2b942cb7 38602 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38603 intermediate file deletion.
2b942cb7 38604 (generated): Add .symlist files.
a65ef2ae 38605
54b71e02
JM
386062012-05-03 Joseph Myers <joseph@codesourcery.com>
38607
38608 [BZ #13775]
38609 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38610 Redirect under this condition.
38611 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38612 [__USE_GNU] (__dprintf_chk): Not under this condition.
38613 [__USE_GNU] (__vdprintf_chk): Likewise.
38614 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38615 under this condition.
38616 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38617 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38618 [__USE_XOPEN2K8] (vdprintf): Likewise.
38619 [__USE_GNU] (__dprintf_chk): Not under this condition.
38620 [__USE_GNU] (__vdprintf_chk): Likewise.
38621 [__USE_GNU] (dprintf): Likewise.
38622 [__USE_GNU] (vdprintf): Likewise.
38623
d3dfcc41
RM
386242012-05-03 Roland McGrath <roland@hack.frob.com>
38625
38626 * elf/Makefile (common-generated): Set this instead of generated for
38627 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38628 $(all-built-dso)-derived lists.
38629
7ac30cc5
AJ
386302012-05-03 Andreas Jaeger <aj@suse.de>
38631
0c51e550
AJ
38632 * sysdeps/i386/fpu/libm-test-ulps: Update.
38633
7ac30cc5
AJ
38634 * FAQ: Removed.
38635 * FAQ.in: Likewise.
38636 * scripts/gen-FAQ.pl: Likewise.
38637 * manual/install.texi (Installation): Point to online location of
38638 FAQ.
38639 * Makefile (files-for-dist): Remove FAQ.
38640 (FAQ): Remove.
38641
d4c2917f
AM
386422012-05-02 Allan McRae <allan@archlinux.org>
38643
38644 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38645 (LDFLAGS-reldepmod5.so): Likewise.
38646 (LDFLAGS-reldep6mod1.so): Likewise.
38647 (LDFLAGS-reldep6mod4.so): Likewise.
38648 (LDFLAGS-reldep8mod3.so): Likewise.
38649 (LDFLAGS-unload4mod1.so): Likewise.
38650 (LDFLAGS-unload4mod2.so): Likewise.
38651 (LDFLAGS-tst-initorder): Likewise.
38652 (LDFLAGS-tst-initordera2.so): Likewise.
38653 (LDFLAGS-tst-initordera3.so): Likewise.
38654 (LDFLAGS-tst-initordera4.so): Likewise.
38655 (LDFLAGS-tst-initorderb2.so): Likewise.
38656 (LDFLAGS-noload): Likewise.
38657 (LDFLAGS-next): Likewise.
38658 (LDFLAGS-order2mod1.so): Likewise.
38659 (LDFLAGS-order2mod2.so): Likewise.
38660 (LDFLAGS-tst-initorder2): Likewise.
38661 (LDFLAGS-tst-initorder2a.so): Likewise.
38662 (LDFLAGS-tst-initorder2b.so): Likewise.
38663 (LDFLAGS-tst-initorder2c.so): Likewise.
38664 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38665
d77f993f
DM
386662012-05-02 David S. Miller <davem@davemloft.net>
38667
38668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38669
171a70b4
PP
386702012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38671
38672 [BZ #14055]
38673 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38674
0be196ad
AJ
386752012-05-02 Andreas Jaeger <aj@suse.de>
38676
38677 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38678 since we manipulate rounding mode.
38679 (CPPFLAGS-test-idouble.c): Likewise.
38680 (CPPFLAGS-test-ifloat.c): Likewise.
38681 (CFLAGS-test-ldouble.c): Likewise.
38682 (CFLAGS-test-double.c): Likewise.
38683 (CFLAGS-test-float.c): Likewise.
38684 (CFLAGS-test-misc.c): Likewise.
38685 (CFLAGS-test-test-fenv.c): Likewise.
38686
4f9d04aa
AZ
386872012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38688
2b942cb7
RM
38689 [BZ #2550]
38690 [BZ #2570]
38691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38692 comparisons to determine direction to adjust input.
4f9d04aa 38693
82a79e7d
RM
386942012-05-01 Roland McGrath <roland@hack.frob.com>
38695
f5a01ca9
RM
38696 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38697 output to the target.
38698
90fe4186
RM
38699 * scripts/localplt.awk: New file.
38700 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38701 (check-localplt-CFLAGS): Variable removed.
38702 ($(all-built-dso:=.jmprel)): New static pattern rule.
38703 (generated): Add those targets.
38704 (localplt-built-dso): New variable.
38705 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38706
38707 * elf/check-localplt.c: File removed.
38708
82397ed6
RM
38709 * scripts/check-execstack.awk: New file.
38710 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38711 (check-execstack-CFLAGS): Variable removed.
38712 ($(objpfx)check-execstack.h): Target removed.
38713 ($(objpfx)execstack-default): New target.
38714 (generated): Add that instead of check-execstack.h.
38715 ($(all-built-dso:=.phdr)): New static pattern rule.
38716 (generated): Add those targets.
38717 * elf/check-execstack.c: File removed.
38718
82a79e7d
RM
38719 * scripts/check-textrel.awk: New file.
38720 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38721 (check-textrel-CFLAGS): Variable removed.
38722 (all-built-dso): Use := to define.o
38723 ($(all-built-dso:=.dyn)): New static pattern rule.
38724 (generated): Add those targets.
38725 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38726 * config.make.in (READELF): New substituted variable.
38727 * elf/check-textrel.c: File removed.
38728
62fde54f 387292012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38730
615605c9
JM
38731 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38732 allow.
38733 * conform/data/ctype.h-data [C99-based standards] (isblank):
38734 Expect function.
38735 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38736 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38738 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38739 Specify type. Require positive value.
38740 (EILSEQ): Likewise.
38741 (ERANGE): Likewise.
38742 [ISO || POSIX] (EILSEQ): Do not expect.
38743 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38744 Specify type. Require positive value.
38745 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38746 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38747 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38748 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38749 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38750 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38751 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38752 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38753 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38754 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38755 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38756 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38757 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38758 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38759 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38760 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38761 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38762 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38763 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38764 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38765 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38766 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38767 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38768 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38769 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38770 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38771 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38772 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38773 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38774 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38775 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38776 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38777 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38778 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38779 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38780 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38781 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38782 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38783 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38784 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38785 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38786 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38787 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38788 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38789 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38790 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38791 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38792 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38793 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38794 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38795 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38796 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38797 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38798 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38799 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38800 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38801 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38802 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38803 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38804 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38805 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38806 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38807 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38808 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38809 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38810 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38811 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38812 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38813 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38814 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38815 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38816 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38817 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38818 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38819 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38820 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38821 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38822 Require >= 2.
38823 (FLT_ROUNDS): Expect as macro, not constant.
38824 (FLT_MANT_DIG): Use macro-int-constant.
38825 (DBL_MANT_DIG): Likewise.
38826 (LDBL_MANT_DIG): Likewise.
38827 (FLT_DIG): Likewise.
38828 (DBL_DIG): Likewise.
38829 (LDBL_DIG): Likewise.
38830 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38831 (DBL_MIN_EXP): Likewise.
38832 (LDBL_MIN_EXP): Likewise.
38833 (FLT_MAX_EXP): Use macro-int-constant.
38834 (DBL_MAX_EXP): Likewise.
38835 (LDBL_MAX_EXP): Likewise.
38836 (FLT_MAX_10_EXP): Likewise.
38837 (DBL_MAX_10_EXP): Likewise.
38838 (LDBL_MAX_10_EXP): Likewise.
38839 (FLT_MAX): Use macro-constant.
38840 (DBL_MAX): Likewise.
38841 (LDBL_MAX): Likewise.
38842 (FLT_EPSILON): Use macro-constant. Give upper bound.
38843 (DBL_EPSILON): Likewise.
38844 (LDBL_EPSILON): Likewise.
38845 (FLT_MIN): Likewise.
38846 (DBL_MIN): Likewise.
38847 (LDBL_MIN): Likewise.
38848 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38849 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38850 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38851 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38852 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38853 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38854 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38855 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38856 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38857 [ISO11] (FLT_TRUE_MIN): Likewise.
38858 [ISO11] (LDBL_TRUE_MIN): Likewise.
38859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38860 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38861 (SCHAR_MIN): Use macro-int-constant. Specify type.
38862 (SCHAR_MAX): Likewise.
38863 (UCHAR_MAX): Likewise.
38864 (CHAR_MIN): Likewise.
38865 (CHAR_MAX): Likewise.
38866 (MB_LEN_MAX): Use macro-int-constant.
38867 (SHRT_MIN): Use macro-int-constant. Specify type.
38868 (SHRT_MAX): Likewise.
38869 (USHRT_MAX): Likewise.
38870 (INT_MAX): Likewise.
38871 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38872 bound negative.
38873 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38874 bound with "U".
38875 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38876 bound with "L".
38877 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38878 bound negative. Suffix upper bound with "L".
38879 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38880 bound with "UL".
38881 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38882 Specify type.
38883 [C99-based standards] (LLONG_MAX): Likewise.
38884 [C99-based standards] (ULLONG_MAX): Likewise.
38885 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38886 == 0.
38887 [ISO11] (max_align_t): Require type.
38888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38889
c9140a62
JM
38890 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38891 from $CFLAGS, without defining away __attribute__ calls.
38892 (checknamespace): Use $CFLAGS_namespace.
38893
9af0bf29
JM
38894 * conform/conformtest.pl (@keywords): Only include C99 keywords
38895 for standards based on C99 or C11.
38896
343222a2
JM
38897 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38898 Disable tests.
38899 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38900 UNIX98]: Likewise.
38901
661f8cf0
JM
38902 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38903 usability of symbols in #if.
38904
ee74b9cb
JM
38905 * conform/conformtest.pl: If macro or constant types start
38906 "promoted:", expect the symbol to be of the following type
38907 promoted by the integer promotions.
62fde54f 38908
aafc49b3
JM
38909 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38910 in one place. Also handle "macro-constant".
38911
fefdf574
JM
38912 * conform/conformtest.pl: Only accept expected macro values with
38913 "==". Parse all "macro" lines in one place.
38914 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38915
f2d922fe
JM
38916 * conform/conformtest.pl: Handle braced types on "constant" lines
38917 instead of handling "typed-constant".
38918 * conform/data/signal.h-data: Use "constant" instead of
38919 "typed-constant".
38920
d22956c9
JM
38921 * conform/conformtest.pl: Handle "optional-" at start of lines in
38922 one place rather than duplicating several cases. Handle each
38923 format of "macro" line with initial "optional-".
38924
028e2e38
JM
38925 * conform/conformtest.pl: Only accept expected constant or
38926 optional-constant values with "==". Parse all "constant" lines in
38927 one place. Parse all "optional-constant" lines in one place.
38928 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38929 * conform/data/fmtmsg.h-data: Likewise.
38930 * conform/data/netinet/in.h-data: Likewise.
38931 * conform/data/tar.h-data: Likewise.
38932 * conform/data/limits.h-data: Use "==" form on "constant" and
38933 "optional-constant" lines.
38934
1b8f2850
JM
38935 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38936 Use -std=c99 for XOPEN2K.
38937 (@knownproblems): Remove.
38938 (newtoken): Don't check %isknown.
38939
a05a144b
JM
38940 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38941 Do not expect macro.
38942 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38943 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38944 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38945 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38946 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38947 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38948 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38949 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38950 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38951 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38952 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38953 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38954 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38955 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38956 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38957 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38958 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38959 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38960 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38961 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38962 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38963 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38964 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38965 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38966 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38967 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38968 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38969 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38970 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38971 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38972 [XPG3] (acosh): Likewise.
38973 [XPG3] (asinh): Likewise.
38974 [XPG3] (atanh): Likewise.
38975 [XPG3] (cbrt): Likewise.
38976 [XPG3] (expm1): Likewise.
38977 [XPG3] (ilogb): Likewise.
38978 [XPG3] (log1p): Likewise.
38979 [XPG3] (logb): Likewise.
38980 [XPG3] (nextafter): Likewise.
38981 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38982 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38983 [XPG3] (remainder): Likewise.
38984 [XPG3] (rint): Likewise.
38985 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38986 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38987 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38988 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38989 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38990 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38991 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38992 [UNIX98 || XOPEN2K] (scalb): Expect.
38993 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38994 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38995 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38996 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38997 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38998 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38999 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39000 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39001 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39002 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39003 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39004 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39006 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39007 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39008 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39016 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39017 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39034 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39035 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39036 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39037 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39038 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39039 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39040 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39041 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39042 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39043 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39044 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39045 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39046 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39047 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39048 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39049 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39050 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39051 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39052 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39053 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39054 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39055 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39056 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39057 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39058 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39059 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39060 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39061 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39062 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39063 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39064 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39065 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39066 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39067 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39068 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39069 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39070 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39071 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39072 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39073 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39075 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39076 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39077 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39078 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39079 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39080 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39081 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39082 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39084 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39085 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39086 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39087 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39088 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39089 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39090 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39091 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39092 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39093 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39094 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39095 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39096 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39097 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39098 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39099 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39100 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39101 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39102 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39103 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39104 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39105 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39106 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39107 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39108 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39109 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39110 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39111 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39112 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39113 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39114 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39115 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39116 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39117 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39118 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39119 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39120 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39121 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39122 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39123 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39124 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39125 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39126 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39127 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39128 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39129 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39130
73c5ebe3
JM
39131 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39132 _XOPEN_SOURCE_EXTENDED for XPG4.
39133
39c33b6c
JM
39134 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39135
62fde54f
JM
39136 * Makeconfig (localtime): Remove variable.
39137 (inst_localtime-file): Likewise.
39138
0741d64c
AS
391392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39140
39141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39142 Update.
39143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39144 Update.
39145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39146 Update.
39147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39148 Update.
39149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39150 Update.
39151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39152 Update.
39153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39154 Update.
39155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39156 Update.
39157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39158 Update.
39159
7cb029ee
JM
391602012-05-01 Joseph Myers <joseph@codesourcery.com>
39161
39162 [BZ #2550]
39163 [BZ #2570]
39164 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39165 comparisons to determine direction to adjust input.
39166 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39167 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39169 Likewise.
39170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39171 Likewise.
39172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39173 Likewise.
39174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39176 Likewise.
39177 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39178 Likewise.
39179 * math/libm-test.inc (nexttoward_test): Add more tests.
39180
412bd966
AS
391812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39182
39183 [BZ #14040]
39184 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39185 in version GLIBC_2.1, not GLIBC_2.0.
39186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39187 Likewise.
39188
9568c0c2
JM
391892012-04-30 Joseph Myers <joseph@codesourcery.com>
39190
adfbc8ac
JM
39191 [BZ #13942]
39192 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39193 (1 - x) * (1 + x).
39194 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39195 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39196 * math/libm-test.inc (acos_test): Add more tests.
39197 (asin_test): Likewise.
39198 * sysdeps/i386/fpu/libm-test-ulps: Update.
39199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39200
5ba3cc69
JM
39201 [BZ #14034]
39202 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39203 of square root.
39204 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39205 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39206 * math/libm-test.inc (acos_test_tonearest): New function.
39207 (acos_test_towardzero): Likewise.
39208 (acos_test_downward): Likewise.
39209 (acos_test_upward): Likewise.
39210 (asin_test_tonearest): Likewise.
39211 (asin_test_towardzero): Likewise.
39212 (asin_test_downward): Likewise.
39213 (asin_test_upward): Likewise.
39214 (main): Call the new functions.
39215 * sysdeps/i386/fpu/libm-test-ulps: Update.
39216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39217
9568c0c2
JM
39218 [BZ #13884]
39219 [BZ #13924]
39220 * math/e_exp10.c: Include <float.h>.
39221 (__ieee754_exp10): Handle underflow here rather than multiplying
39222 large negative argument by M_LN10.
39223 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39224 of __ieee754_expf.
39225 * math/e_exp10l.c: Include <float.h>.
39226 (__ieee754_exp10l): Handle underflow here rather than multiplying
39227 large negative argument by M_LN10l.
39228 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39229 spurious overflow exception on underflow.
39230
5ac3ea17
MP
392312012-04-29 Marek Polacek <polacek@redhat.com>
39232
39233 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39234 (__fortify_function): New macro.
39235 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39236 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39237 __extern_always_inline.
39238 * libio/bits/stdio2.h: Likewise.
39239 * libio/bits/stdio.h: Likewise.
39240 * string/string.h: Likewise.
39241 * string/bits/string3.h: Likewise.
39242 * include/stdio.h: Likewise.
39243 * stdlib/bits/stdlib.h: Likewise.
39244 * stdlib/stdlib.h: Likewise.
39245 * rt/bits/mqueue2.h: Likewise.
39246 * rt/mqueue.h: Likewise.
39247 * posix/bits/unistd.h: Likewise.
39248 * posix/unistd.h: Likewise.
39249 * io/bits/poll2.h: Likewise.
39250 * io/bits/fcntl2.h: Likewise.
39251 * io/fcntl.h: Likewise.
39252 * io/sys/poll.h: Likewise.
39253 * misc/bits/syslog.h: Likewise.
39254 * misc/bits/syslog-ldbl.h: Likewise.
39255 * misc/sys/syslog.h: Likewise.
39256 * socket/bits/socket2.h: Likewise.
39257 * socket/sys/socket.h: Likewise.
39258 * debug/tst-chk1.c: Likewise.
39259 * wcsmbs/bits/wchar2.h: Likewise.
39260 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39261 * wcsmbs/wchar.h: Likewise.
39262
ecf0ebfb
AJ
392632012-04-29 Andreas Jaeger <aj@suse.de>
39264
39265 * Makerules (tests): Remove enable-check-abi protection.
39266 (check-abi-warn): Remove.
39267 (check-abi-%): Remove check-abi-warn usage.
39268
39269 * configure.in: Remove check-abi configure option.
39270 * configure: Regenerated.
39271 * config.make.in (enable-check-abi): Remove.
39272
6d5c57fa
AS
392732012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39274
24c5d07e 39275 [BZ #14033]
ded5180a
AS
39276 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39277 double functions to double *_finite functions.
39278
7e0d315d
AS
39279 [BZ #13941]
39280 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39281 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39282 LDBL_MIN_EXP.
39283 * stdio-common/Makefile (tests): Add tst-sprintf3.
39284 * stdio-common/tst-sprintf3.c: New file.
39285
6d5c57fa
AS
39286 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39287 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39288
0749ff8b
JM
392892012-04-28 Joseph Myers <joseph@codesourcery.com>
39290
39291 * conform/conformtest.pl: Remove duplicate typed-constant
39292 handling.
39293
8dbd5d7b
DM
392942012-04-28 David S. Miller <davem@davemloft.net>
39295
39296 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39297 (check-abi-%): Remove AWK script prerequisite and explicit
39298 abilist directory.
39299 (check-abi): Rewrite to just diff the symlist with the abilist.
39300 (config-tls, config-abi-config): Delete, no longer used.
39301 (update-abi-%): Remove AWK script and explicit abilist directory.
39302 (update-abi): Rewrite to simply compare and conditionally copy the
39303 symlist and the sysdep abilist file. Remove update-abi-config
39304 checks.
39305 * abilist/ld.abilist: Remove.
39306 * abilist/libBrokenLocale.abilist: Remove.
39307 * abilist/libanl.abilist: Remove.
39308 * abilist/libcrypt.abilist: Remove.
39309 * abilist/libdl.abilist: Remove.
39310 * abilist/librt.abilist: Remove.
39311 * abilist/libthread_db.abilist: Remove.
39312 * abilist/libutil.abilist: Remove.
39313 * scripts/extract-abilist.awk: Remove.
39314 * scripts/merge-abilist.awk: Remove.
39315 * sysdeps/generic/libcidn.abilist: New file.
39316 * sysdeps/generic/libnss_compat.abilist: New file.
39317 * sysdeps/generic/libnss_db.abilist: New file.
39318 * sysdeps/generic/libnss_dns.abilist: New file.
39319 * sysdeps/generic/libnss_files.abilist: New file.
39320 * sysdeps/generic/libnss_hesiod.abilist: New file.
39321 * sysdeps/generic/libnss_nis.abilist: New file.
39322 * sysdeps/generic/libnss_nisplus.abilist: New file.
39323 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39324 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39325 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39326 file.
39327 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39328 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39329 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39330 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39331 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39332 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39333 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39334 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39335 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39336 file.
39337 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39338 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39339 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39340 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39341 file.
39342 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39343 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39344 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39345 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39346 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39347 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39348 file.
39349 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39350 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39351 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39352 file.
39353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39355 New file.
39356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39357 New file.
39358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39359 New file.
39360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39361 New file.
39362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39363 New file.
39364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39365 New file.
39366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39367 New file.
39368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39369 New file.
39370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39371 New file.
39372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39373 New file.
39374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39375 New file.
39376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39377 New file.
39378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39379 New file.
39380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39381 file.
39382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39383 New file.
39384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39385 New file.
39386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39387 file.
39388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39389 New file.
39390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39391 New file.
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39393 file.
39394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39395 New file.
39396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39397 New file.
39398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39399 New file.
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39401 New file.
39402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39403 New file.
39404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39405 New file.
39406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39408 file.
39409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39410 New file.
39411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39412 file.
39413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39414 file.
39415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39416 file.
39417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39418 file.
39419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39420 file.
39421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39422 New file.
39423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39424 file.
39425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39426 file.
39427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39428 New file.
39429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39430 file.
39431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39433 file.
39434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39435 New file.
39436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39437 file.
39438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39439 file.
39440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39441 file.
39442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39443 file.
39444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39445 file.
39446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39447 New file.
39448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39449 file.
39450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39451 file.
39452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39453 New file.
39454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39455 file.
39456 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39457 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39458 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39459 file.
39460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39461 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39462 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39463 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39464 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39465 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39466 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39467 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39468 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39469 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39472 file.
39473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39474 New file.
39475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39476 file.
39477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39478 file.
39479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39480 file.
39481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39482 file.
39483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39484 file.
39485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39486 New file.
39487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39488 New file.
39489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39490 file.
39491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39492 New file.
39493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39494 file.
39495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39497 file.
39498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39499 New file.
39500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39501 file.
39502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39503 file.
39504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39505 file.
39506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39507 file.
39508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39509 file.
39510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39511 New file.
39512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39513 New file.
39514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39515 file.
39516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39517 New file.
39518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39519 file.
39520
41d73a1b
JM
395212012-04-28 Joseph Myers <joseph@codesourcery.com>
39522
39523 * conform/conformtest.pl: Fix typo in handling typed-constant from
39524 allow-header.
39525
28aeeda4
JM
395262012-04-27 Joseph Myers <joseph@codesourcery.com>
39527
adae8f5e
JM
39528 * README: Cut down references to pre-2.6 Linux kernels and
39529 Linuxthreads. Update lists of configurations in libc and ports
39530 and sort alphabetically. Say "or newer" with Linux kernel version
39531 requirements.
39532
28aeeda4
JM
39533 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39534
a462cb63
RA
395352012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39536
39537 [BZ #887]
39538 * math/libm-test.inc (logb_test_downward): New test to expose
39539 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39540 rounding mode.
39541
6ad3493e
JM
395422012-04-27 Joseph Myers <joseph@codesourcery.com>
39543
39544 [BZ #14027]
39545 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39546 to be done.
39547 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39548 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39549
2ce4f015
JM
395502012-04-26 Joseph Myers <joseph@codesourcery.com>
39551
5aeb141a
JM
39552 * sysdeps/unix/i386/brk.S: Remove file.
39553 * sysdeps/unix/i386/dl-brk.S: Likewise.
39554 * sysdeps/unix/i386/pipe.S: Likewise.
39555 * sysdeps/unix/i386/sigreturn.S: Likewise.
39556 * sysdeps/unix/i386/syscall.S: Likewise.
39557 * sysdeps/unix/i386/vfork.S: Likewise.
39558 * sysdeps/unix/i386/wait.S: Likewise.
39559
7143acae
JM
39560 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39561 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39562
2ce4f015
JM
39563 * configure.in (arm*-none*): Do not allow without
39564 --enable-hacker-mode.
39565 (netbsd*): Remove case setting base_os.
39566 (386bsd*): Likewise.
39567 (freebsd*): Likewise.
39568 (bsdi*): Likewise.
39569 (osf*): Likewise.
39570 (sunos*): Likewise.
39571 (ultrix*): Likewise.
39572 (newsos*): Likewise.
39573 (dynix*): Likewise.
39574 (*bsd*): Likewise.
39575 (sysv*): Likewise.
39576 (isc*): Likewise.
39577 (esix*): Likewise.
39578 (sco*): Likewise.
39579 (minix*): Likewise.
39580 (irix4*): Likewise.
39581 (irix6*): Likewise.
39582 (solaris[2-9]*): Likewise.
39583 (none): Likewise.
39584 * configure: Regenerated.
39585
0ac229c8
AZ
395862012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39587
39588 [BZ #11521]
39589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39590 overflow or cancellation in calculating denominator.
39591 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39593 down expression to avoid unexpected rounding in newer GCCs.
39594 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39595
33f244f4
DM
395962012-04-26 David S. Miller <davem@davemloft.net>
39597
39598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39599 long-double compat symbols.
39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39613
cfa1f3e8
DM
396142012-04-25 David S. Miller <davem@davemloft.net>
39615
39616 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39617 HWCAP_* values only after the memory barriers have been defined.
39618 (atomic_full_barrier): Define.
39619 (atomic_read_barrier): Define.
39620 (atomic_write_barrier): Define.
39621
6e236b92
SP
396222012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39623
39624 * shlib-versions: Add libgcc_s version information.
39625 * sysdeps/generic/libgcc_s.h: Remove.
39626 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39627 libgcc_s.h.
39628 * sysdeps/gnu/unwind-resume.c: Likewise.
39629 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39630
aab39a09
DM
396312012-04-25 David S. Miller <davem@davemloft.net>
39632
39633 * sysdeps/unix/sparc/brk.S: Delete.
39634 * sysdeps/unix/sparc/dl-brk.S: Delete.
39635 * sysdeps/unix/sparc/pipe.S: Delete.
39636 * sysdeps/unix/sparc/sysdep.S: Delete.
39637 * sysdeps/unix/sparc/sysdep.h: Delete.
39638 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39639 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39640 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39642 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39643 (JUMPTARGET): Remove.
39644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39645 sysdeps/unix/sparc/sysdep.h
39646 (ENTRY, END): Remove.
39647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39648
a3cc4f48
JM
396492012-04-25 Joseph Myers <joseph@codesourcery.com>
39650
2ed8cda2
JM
39651 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39652 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39653 -DIS_IN_build.
39654
35d76d59
JM
39655 * timezone/README: Update upstream location and email address for
39656 tzcode and tzdata.
39657 * timezone/zdump.c: Update from tzcode 2012b.
39658 * timezone/zic.c: Likewise.
39659
a3cc4f48
JM
39660 * configure.in (libc_cv_as_needed): Remove test.
39661 * configure: Regenerated.
39662 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39663 conditional definition.
39664 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39665 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39666 * config.make.in (have-as-needed): Remove variable.
39667
ceab42c3
SP
396682012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39669 Paul Pluzhnikov <ppluzhnikov@google.com>
39670
39671 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39672 strings correctly.
39673
3ce2865f
CLT
396742012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39675
39676 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39677 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39678 * sysdeps/sh/strlen.S: Likewise.
39679
f37e0d68
JM
396802012-04-24 Joseph Myers <joseph@codesourcery.com>
39681
ae186e9a
JM
39682 * sysdeps/unix/fork.S: Remove file.
39683 * sysdeps/unix/i386/fork.S: Likewise.
39684 * sysdeps/unix/sparc/fork.S: Likewise.
39685
b96914af
JM
39686 * sysdeps/unix/system.c: Remove file.
39687 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39688
f37e0d68
JM
39689 * sysdeps/unix/getegid.S: Remove file.
39690 * sysdeps/unix/geteuid.S: Likewise.
39691
87ef29ca
RM
396922012-04-24 Roland McGrath <roland@hack.frob.com>
39693
83bcd236
RM
39694 * scripts/check-localplt.awk: New file.
39695 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39696 of diff.
39697 * scripts/data/localplt-generic.data: Add a comment.
39698
87ef29ca
RM
39699 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39700 NODE when __dir_mkfile failed.
39701 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39702 Reported by Ludovic Courtès <ludo@gnu.org>.
39703
e5a6e567
AJ
397042012-04-24 Andreas Jaeger <aj@suse.de>
39705
39706 * Makerules (common-clean): Also remove gen-as-const-headers
39707 files.
39708
c1820385
JM
397092012-04-24 Joseph Myers <joseph@codesourcery.com>
39710
39711 * Makerules (native-compile): Do not change working directory for
39712 build. Use $(OUTPUT_OPTION) in command.
39713 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39714
94e02fc4
AZ
397152012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39716
39717 [BZ #13886]
39718 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39719 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39720 * math/libm-test.inc (floor_test): Add more tests.
39721 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39722
3a533ca3
JM
397232012-04-24 Joseph Myers <joseph@codesourcery.com>
39724
940ab4b3
JM
39725 * sysdeps/unix/getdents.c: Remove file.
39726 * sysdeps/unix/sysv/getdents.c: Likewise.
39727 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39728
90e037bd
JM
39729 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39730 sysdeps/unix/mman/syscalls.list.
39731 (mmap): Likewise.
39732 (mprotect): Likewise.
39733 (msync): Likewise.
39734 (munmap): Likewise.
39735 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39736 * sysdeps/unix/mman/syscalls.list: Remove.
39737 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39738
3a533ca3
JM
39739 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39740 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39741 * configure: Regenerated.
39742 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39743 $(libgcc_s_suffix).
39744 * config.make.in (libgcc_s_suffix): Remove variable.
39745
1ad743de
JM
397462012-04-23 Joseph Myers <joseph@codesourcery.com>
39747
4ad451e2
JM
39748 * sysdeps/unix/sysv/gethostname.c: Move to ...
39749 * sysdeps/posix/gethostname.c: ... here.
39750
5e37ce39
JM
39751 * sysdeps/unix/execve.S: Remove file.
39752
1ad743de
JM
39753 * sysdeps/unix/_exit.S: Remove file.
39754
4e681b5b
AJ
397552012-04-23 Andreas Jaeger <aj@suse.de>
39756
39757 [BZ #13739]
39758 * manual/Makefile: Remove make dist support, there's no
39759 need for a stand-alone documentation tar ball.
39760 (TEXI2DVI): Define always, it's not in Makeconfig.
39761 (dist): Removed.
39762 (tar-it): Removed.
39763 (edition): Removed.
39764 (glibc-doc-$(edition).tar): Removed
39765 (%.Z): Removed.
39766 (%.gz): Removed.
39767 (%.uu): Removed.
39768 (ETAGS): Remove, it's in Makeconfig.
39769 (move-if-change): Remove, it's in Makeconfig.
39770
38686a03 397712012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39772
39773 [BZ #13970]
39774 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39775 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39776 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39777 (strtod_l, strtof_l, strtold_l): Remove __wur.
39778 It is not necessarily an error to ignore strtol's return value.
39779 One can reliably look at the stored endptr to decide whether
39780 the number had valid syntax.
39781
7c0616fa
AJ
397822012-04-21 Andreas Jaeger <aj@suse.de>
39783
803cb6b7 39784 [BZ #13739]
7c0616fa
AJ
39785 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39786
b0fe253f
JM
397872012-04-21 Joseph Myers <joseph@codesourcery.com>
39788
39789 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39790 * sysdeps/unix/sysv/Versions: Remove file.
39791
8280f22d
MT
397922012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39793
39794 [BZ #13927]
39795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39796
75ce411f 397972012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39798
39799 [BZ #7064]
39800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39801 version from __vm86.
39802
097d59fa
JM
398032012-04-20 Joseph Myers <joseph@codesourcery.com>
39804
a90f3bcb
JM
39805 * sysdeps/unix/common/lxstat.c: Remove file.
39806 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39807
edc7ea78
JM
39808 * sysdeps/unix/sysv/Makefile: Remove file.
39809
cb78c221
JM
39810 * sysdeps/unix/sysv/direct.h: Remove file.
39811
efa6a45f
JM
39812 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39813 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39814 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39815 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39816 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39817 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39818 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39819
9c9f2d0c
JM
39820 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39821
4541c83b
JM
39822 * sysdeps/unix/xmknod.c: Remove file.
39823 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39824
f5d153a0
JM
39825 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39826
aa746595
JM
39827 * sysdeps/unix/sysv/i386/time.S: Remove file.
39828
cce5905e
JM
39829 * sysdeps/unix/fxstat.c: Remove file.
39830 * sysdeps/unix/xstat.c: Likewise.
39831 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39832
37fa3841
JM
39833 * sysdeps/unix/sysv/sigaction.c: Remove file.
39834
ff1962a3
JM
39835 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39836 (sysdep_headers): Remove variable.
39837 [termio.h not in sysdep_headers] (generated): Likewise.
39838 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39839 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39840 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39841 * sysdeps/unix/sysv/tcflow.c: Likewise.
39842 * sysdeps/unix/sysv/tcflush.c: Likewise.
39843 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39844 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39845 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39846 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39847 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39848
e7740d31
JM
39849 * sysdeps/unix/siglist.c: Remove file.
39850
ee06f18b
JM
39851 * sysdeps/unix/getppid.S: Remove file.
39852
097d59fa
JM
39853 * sysdeps/unix/mkdir.c: Remove file.
39854 * sysdeps/unix/rmdir.c: Likewise.
39855
ff3d51ec
AS
398562012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39857
39858 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39859 ERR_MAX value.
39860 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39861 errlist-compat value.
39862
50f81fd7
DM
398632012-04-18 David S. Miller <davem@davemloft.net>
39864
39865 * sysdeps/generic/memcopy.h (reg_char): Delete.
39866 * debug/strcat_chk.c: Use char, not reg_char.
39867 * debug/strcpy_chk.c: Likewise.
39868 * debug/strncat_chk.c: Likewise.
39869 * debug/strncpy_chk.c: Likewise.
39870 * string/memchr.c: Likewise.
39871 * string/memrchr.c: Likewise.
39872 * string/rawmemchr.c: Likewise.
39873 * string/strcat.c: Likewise.
39874 * string/strchr.c: Likewise.
39875 * string/strchrnul.c: Likewise.
39876 * string/strcmp.c: Likewise.
39877 * string/strcpy.c: Likewise.
39878 * string/strncat.c: Likewise.
39879 * string/strncmp.c: Likewise.
39880 * string/strncpy.c: Likewise.
39881
8ff41c46
WS
398822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39883
39884 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39885 __builtin_memcopy is called when src and dest ranges are known to not
39886 overlap.
39887
6b652f46
WS
398882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39889
39890 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39891 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39892 fwd_align_merge macro call.
39893 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39894 bwd_align_merge macro call.
39895 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39896
b282631e
WS
398972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39898
39899 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39900 bwd_align_merge macros.
39901 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39902 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39904
95aa737c
DM
399052012-04-18 David S. Miller <davem@davemloft.net>
39906
39907 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39908
7a99a614
AJ
399092012-04-18 Andreas Jaeger <aj@suse.de>
39910
39911 [BZ# 6794]
39912 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39913 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39915
39916 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39917 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39918 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39919
39920 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39921 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39922 Adjust for changed ldbl-128 files.
39923
39924 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39925 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39926 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39927
e5270c23
DM
399282012-04-17 David S. Miller <davem@davemloft.net>
39929
39930 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39931
fb5e92c9
AS
399322012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39933
39934 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39935 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39936 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39937 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39938 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39939 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39940
76da7265
AZ
399412012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39942
39943 [BZ #6794]
39944 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39945 * math/libm-test.inc: Add ilogb errno and exception tests.
39946 * math/w_ilogb.c: New file: ilogb wrapper.
39947 * math/w_ilogbf.c: New file: ilogbf wrapper.
39948 * math/w_ilogbl.c: New file: ilogbl wrapper.
39949 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39950 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39951 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39952 exception being thrown with 0.0 as argument.
39953 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39954 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39955 exception being thrown with 0.0 as argument.
39956 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39957 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39958 exception being thrown with 0.0 as argument.
39959 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39960 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39961 exception being thrown with 0.0 as argument.
39962 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39963 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39964 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39965 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39966 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39967 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39968 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39969 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39970 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39971
0396e69d
PB
399722012-04-17 Petr Baudis <pasky@ucw.cz>
39973
39974 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39975 with altivec.
39976
750b5926
MP
399772012-04-16 Marek Polacek <polacek@redhat.com>
39978
39979 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39980
751728a1
MP
399812012-04-16 Marek Polacek <polacek@redhat.com>
39982
39983 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39984 operands of fdivp instruction.
39985
34a27407
L
399862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39987
39988 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39989 * elf/tst-auditmod3b.c: Likewise.
39990 * elf/tst-auditmod4b.c: Likewise.
39991 * elf/tst-auditmod5b.c: Likewise.
39992 * elf/tst-auditmod6b.c: Likewise.
39993 * elf/tst-auditmod6c.c: Likewise.
39994 * elf/tst-auditmod7b.c: Likewise.
39995 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39996 * sysdeps/x86_64/preconfigure.in: Likewise.
39997 * sysdeps/x86_64/preconfigure: Regenerated.
39998
7e73e17d
L
399992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40000
40001 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40002 __ILP32__.
40003
c7a6ab72
AB
400042012-04-13 Antoine Balestrat <merkil33@gmail.com>
40005
40006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40007 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40008
a9e8e0e0
CL
400092012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40010
40011 [BZ #13973]
40012 * locale/iso-639.def: Fix gl language name. Spotted by
40013 Yaron Shahrabani.
40014
ec98af7d
RM
400152012-04-12 Roland McGrath <roland@hack.frob.com>
40016
40017 [BZ #2074]
40018 * libio/libio.h (__io_write_fn): Update comment.
40019
247c3ede
PB
400202012-04-12 Petr Baudis <pasky@ucw.cz>
40021
40022 [BZ #2074]
40023 * stdio.texi (Hook Functions): The user provided writer function
40024 is not allowed to return -1.
40025
55939d6d
DM
400262012-04-11 David S. Miller <davem@davemloft.net>
40027
40028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40029
90020f5a
MF
400302012-04-11 Mike Frysinger <vapier@gentoo.org>
40031
40032 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40033 Add a leading slash to rtkaio.
40034
288f9098
JM
400352012-04-11 Jim Meyering <meyering@redhat.com>
40036
90020f5a
MF
40037 [BZ #11959]
40038 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40039 It is not necessarily an error to ignore fwrite's return
40040 value. One can reliably use ferror to test for errors after
40041 the fact.
288f9098 40042
4be2b570
L
400432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40044
40045 * bits/types.h (__snseconds_t): New type.
40046 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40047
40048 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40050 (__SNSECONDS_T_TYPE): Likewise.
40051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40052 (__SNSECONDS_T_TYPE): Likewise.
40053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40054 (__SNSECONDS_T_TYPE): Likewise.
40055
288f9098 400562012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40057
40058 [BZ #2636]
40059 * manual/time.texi (Processor Time): Return type of times is
40060 elapsed real time since an arbitrary point in the past.
40061 (CPU Time): Move CLK_TCK from here...
40062 (Processor Time): ...to here. Correct description.
40063 * manual/conf.texi (Constants for Sysconf): Correct description of
40064 _SC_CLK_TCK.
40065
d7dd4413
DM
400662012-04-10 David S. Miller <davem@davemloft.net>
40067
40068 [BZ #13967]
40069 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40070 where the is a gap between DT_REL(A) and DT_JMPREL.
40071
b46068fc
L
400722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40073
40074 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40075 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40076 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40077
73d65cc3
SP
400782012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40079
40080 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40081 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40082 (dl_main): Handle --inhibit-cache.
40083 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40084 _dl_inhibit_cache.
40085 * elf/dl-load.c (_dl_map_object): Use it.
40086 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40087
bcc8d661
JM
400882012-04-09 Joseph Myers <joseph@codesourcery.com>
40089
8f9a2fae
JM
40090 [BZ #13872]
40091 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40092 (__ieee754_powl): Saturate large exponents rather than testing for
40093 overflow of y*log2(x).
40094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40095 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40096 exceptions.
40097
bcc8d661
JM
40098 [BZ #11521]
40099 * math/s_ctan.c: Include <float.h>.
40100 (__ctan): Avoid internal overflow or cancellation in calculating
40101 denominator.
40102 * math/s_ctanf.c: Likewise.
40103 * math/s_ctanl.c: Likewise.
40104 * math/s_ctanh.c: Likewise.
40105 * math/s_ctanhf.c: Likewise.
40106 * math/s_ctanhl.c: Likewise.
40107 * math/libm-test.inc (ctan_test): Add more tests.
40108 (ctanh_test): Likewise.
40109 * sysdeps/i386/fpu/libm-test-ulps: Update.
40110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40111
823fbbb4
AJ
401122012-04-09 Andreas Jaeger <aj@suse.de>
40113
03879793
AJ
40114 [BZ #6894]
40115 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40116 is an optional BSD extension.
40117
823fbbb4
AJ
40118 [BZ #10254]
40119 * manual/stdio.texi (Opening Streams): Document additional fopen
40120 parameters.
40121
8de131cb
RM
401222012-04-09 Roland McGrath <roland@hack.frob.com>
40123
40124 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40125 %eax without telling the compiler.
40126
c0ed9d7d
CD
401272012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40128
40129 [BZ # 13963]
40130 * manual/install.texi: Use sourceware.org.
40131
c483f6b4
JM
401322012-04-09 Joseph Myers <joseph@codesourcery.com>
40133
d7dd9453
JM
40134 [BZ #13873]
40135 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40136 (__ieee754_pow): Generate overflow and underflow using huge*huge
40137 and tiny*tiny rather than just returning constant infinity or zero
40138 for large exponents.
40139 * math/libm-test.inc (pow_test): Require overflow exceptions for
40140 applicable cases of large exponents.
40141
c483f6b4
JM
40142 [BZ #706]
40143 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40144 (__ieee754_pow): Use iterative multiplication algorithm only for
40145 integer exponents with absolute value below 1024. Check for odd
40146 integer exponents when using algorithm for real exponents.
40147 * math/libm-test.inc (pow_test): Add more tests.
40148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40149
d2de7579
JM
401502012-04-08 Joseph Myers <joseph@codesourcery.com>
40151
40152 [BZ #13705]
40153 * math/libm-test.inc (exp_test): Do not allow overflow exception
40154 on underflow test.
40155
f77f1232
AJ
401562012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40157
40158 [BZ #13705]
40159 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40160 instead of __kernel_standard_f.
40161
3884932b
MF
401622012-04-08 Mike Frysinger <vapier@gentoo.org>
40163
40164 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40165 * sysdeps/x86_64/memset_chk.S: Likewise.
40166
54472e9c
AJ
401672012-04-08 Andreas Jaeger <aj@suse.de>
40168
6ab0fbfc
AJ
40169 [BZ #10153]
40170 * manual/startup.texi (Environment Access): Describe return value
40171 for putenv and setenv.
40172
61efba8c
AJ
40173 [BZ #6895]
40174 * manual/filesys.texi (Directory Entries): Add description for
40175 DT_LNK.
40176
95c3f29a
AJ
40177 [BZ #6890]
40178 * manual/filesys.texi (Directory Entries): Clarify that it's file
40179 system not operating system in the description of DT_UNKNOWN.
40180
54472e9c
AJ
40181 [BZ #6578]
40182 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40183
624254b1
SC
401842012-04-08 Stephen Compall <s11@member.fsf.org>
40185
40186 [BZ #6649]
40187 * manual/llio.texi (Opening and Closing Files): Add cross
40188 reference to explain mode argument.
40189
1e4920e0
MF
401902012-04-07 Mike Frysinger <vapier@gentoo.org>
40191
40192 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40193 * sysdeps/x86_64/memset_chk.S: Likewise.
40194
5ed848f3
DM
401952012-04-07 David S. Miller <davem@davemloft.net>
40196
40197 * elf/elf.h (R_SPARC_WDISP10): Define.
40198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40199 R_SPARC_SIZE32.
40200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40201 R_SPARC_SIZE64 and R_SPARC_H34.
40202
96154cd8
CD
402032012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40204
40205 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40206 conditions and remove no longer applicable assertion.
40207
9904dc47
L
402082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40209
40210 * bits/byteswap.h: Include <features.h>.
40211 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40212 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40213
f8887d0a
L
402142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40215
40216 * bits/byteswap.h (__bswap_16): Removed.
40217 Include <bits/byteswap-16.h> to get __bswap_16.
40218 * sysdeps/i386/bits/byteswap.h: Likewise.
40219 * sysdeps/s390/bits/byteswap.h: Likewise.
40220 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40221 * bits/byteswap-16.h: New file.
40222 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40223 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40224 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40225 * string/Makefile (headers): Add bits/byteswap-16.h.
40226
62470f60
PP
402272012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40228
40229 [BZ #13895]
40230 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40231 extra indirection.
40232 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40233 * nss/tst-nss-static.c: New.
40234
4dad7bab
RM
402352012-04-06 Robert Millan <rmh@gnu.org>
40236
40237 [BZ #6486]
40238 * manual/llio.texi (File Position Primitive): lseek
40239 refers to WHENCE when it really means OFFSET.
40240
e9142a17
AJ
402412012-04-06 Andreas Jaeger <aj@suse.de>
40242
2c040eff
AJ
40243 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40244 strncmp declarations.
40245
e9142a17
AJ
40246 * abilist/libc.abilist: Add __poll and __ppoll.
40247
ff9f1c5f
DM
402482012-04-05 David S. Miller <davem@davemloft.net>
40249
dcd2ae90
DM
40250 * scripts/check-local-headers.sh: Accept a host triplet in the
40251 path matched by the exclude regexp.
40252
993eb054
DM
40253 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40254 definition.
40255 * sysdeps/powerpc/powerpc32/dl-machine.h
40256 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40257 * sysdeps/s390/s390-32/dl-machine.h
40258 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40259 * sysdeps/sparc/sparc32/dl-machine.h
40260 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40261 * sysdeps/sparc/sparc64/dl-machine.h
40262 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40263
ff9f1c5f
DM
40264 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40265 lazy binding.
48e2e132 40266 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40267 undefined symbol errors.
40268
48e2e132 40269 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40270 DT_NEEDED entries.
40271
e80d6f94
MM
402722012-04-05 Michael Matz <matz@suse.de>
40273
40274 [BZ #13592]
40275 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40276
349fa79f
AJ
402772012-04-05 Andreas Jaeger <aj@suse.de>
40278
40279 [BZ #13908]
40280 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40281 comment.
40282
f402708f
KK
402832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40284
40285 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40286 which ROUND is no valid rounding mode.
40287
2ecccfc9
KK
402882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40289
40290 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40291 read again.
40292 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40293
8a53f50f
KK
402942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40295
40296 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40297 an exception using FPU order intentionally.
40298
402992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40300
40301 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40302 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40303 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40304 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40305
d653abb7
SJ
403062012-04-05 Simon Josefsson <simon@josefsson.org>
40307
40308 [BZ #12340]
40309 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40310 EINVAL when BUFLEN is too smal.
40311
c3b1bf7d
TS
403122012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40313
40314 [BZ #13553]
40315 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40316 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40317
b1aa60f3
AJ
403182012-04-03 Andreas Jaeger <aj@suse.de>
40319
c3b1bf7d 40320 [BZ #13938]
67f60a26
AJ
40321 * manual/setjmp.texi (System V contexts): Fix sentence.
40322
b1aa60f3
AJ
40323 [BZ #13926]
40324 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40325 New macro for this case.
40326 [!__GNUC__] (__bswap_64): New inline function for this case.
40327 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40328 * bits/byteswap.h: Likewise.
40329 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40330 ull, guard with __GLIBC_HAVE_LONG_LONG.
40331
40332 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40333 __GLIBC_HAVE_LONG_LONG.
40334
40335 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40336 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40337
39c59c35
TMQMF
403382012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40339
40340 [BZ #13691]
40341 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40342 inptr and inend, rather than using last_ch.
40343
135ffda8
DM
403442012-04-02 David S. Miller <davem@davemloft.net>
40345
40346 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40347 * stdio-common/printf-parse.h (read_int): Change return type to
40348 'int', return -1 on INT_MAX overflow.
40349 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40350 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40351 overflows INT_MAX. Check for overflow of in-format-string precision
40352 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40353 SIZE_MAX not INT_MAX for integer overflow test.
40354 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40355 skip the construct in the format string but do not record anything.
40356 * stdio-common/bug22.c: Adjust to test both width/prevision
40357 INT_MAX overflow as well as total length INT_MAX overflow. Check
40358 explicitly for proper errno values.
40359
228c019e
TS
403602012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40361
302cadd3
TS
40362 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40363 CHAR_MAX.
40364 * string/test-strcmp.c [! WIDE]: Likewise.
40365 * time/tst-mktime2.c: Likewise for INT_MAX.
40366 * string/test-string.h: #include <sys/param.h> for MIN.
40367
228c019e
TS
40368 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40369 * sysdeps/i386/init-first.c (init): Likewise.
40370 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40371 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40372 * sysdeps/sh/init-first.c (init): Likewise.
40373
cfa633f5
UD
403742012-04-01 Ulrich Drepper <drepper@gmail.com>
40375
40376 * po/ru.po: Update from translation team.
d1635ef8 40377 * po/vi.po: Likewise.
cfa633f5 40378
6cd0a5ea
SP
403792012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40380
40381 * resolv/nss_dns/dns-host.c: Merge copyright years.
40382
4b43400f
LD
403832012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40384
40385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40386 Optimize memcpy with prefetch if
40387 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40388 src, dst pointers have unequal 16 byte alignments.
40389
48c41d04
SP
403902012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40391
40392 [BZ #13928]
40393 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40394 from a CNAME entry and return the minimum ttl for the query.
40395 (gaih_getanswer_slice): Likewise.
40396
b8dc394d
JL
403972012-03-30 Jeff Law <law@redhat.com>
40398
40399 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40400 due to long keys.
40401 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40402 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40403
2f5a5ed0
JL
40404 * resolv/nss_dns/dns-host.c: Update copyright year.
40405
1d39e359
UD
404062012-03-30 Ulrich Drepper <drepper@gmail.com>
40407
c030f70c 40408 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40409 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40410
1d39e359
UD
40411 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40412 comments for sendmmsg.
40413
404142012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40415
40416 [BZ #13691]
40417 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40418 with only 1 character between 0x0041 and 0x01b0.
40419 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40420 * wcsmbs/tst-mbsnrtowcs.c: New file.
40421
20fde227
DM
404222012-03-29 David S. Miller <davem@davemloft.net>
40423
40424 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40425 small copies by hand.
40426
984a4237
JL
404272012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40428
40429 [BZ #13761]
57f41c40
AS
40430 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40431 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40432 group memberships.
984a4237 40433
18c9d62b
DM
404342012-03-28 David S. Miller <davem@davemloft.net>
40435
88d85d4f
DM
40436 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40437 that branches into memcpy.
40438 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40440 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40441 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40443 bits.
40444 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40445 implementation too.
40446 * sysdeps/sparc/mempcpy.S: New file.
40447
e5aa83e1
DM
40448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40449 the IFUNC routine in the libc case.
40450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40451
88570753
DM
40452 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40453 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40454 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40455 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40456 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40457 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40458 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40459 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40460
249d7567
DM
40461 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40462 loop to 256 bytes instead of 64 bytes and fix test signedness.
40463
18c9d62b
DM
40464 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40465 * sysdeps/sparc/sparc32/Makefile: rather than here...
40466 * sysdeps/sparc/sparc64/Makefile: and here.
40467
05f3d1f6
UD
404682012-03-28 Ulrich Drepper <drepper@gmail.com>
40469
40470 * malloc/mallocbug.c: Avoid warnings about unused variables.
40471
86ae07a8
JL
404722012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40473
40474 [BZ #13760]
40475 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40476 in the right place. Discard and retry query if response is
40477 larger than input buffer size.
40478
41bf21a1
JM
404792012-03-28 Joseph Myers <joseph@codesourcery.com>
40480
d6270972
JM
40481 [BZ #369]
40482 [BZ #2678]
40483 [BZ #3866]
40484 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40485 x for large integer exponent.
40486 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40487 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40488 sign of result as needed afterwards.
40489 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40490 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40491 result for underflowing pow the same as for overflow.
40492 (__kernel_standard_l): Handle powl overflow and underflow here
40493 rather than calling __kernel_standard.
40494 * math/libm-test.inc (pow_test): Add more tests.
40495
414fca03 40496 [BZ #3868]
41bf21a1
JM
40497 [BZ #13879]
40498 [BZ #13910]
40499 [BZ #13911]
40500 [BZ #13912]
40501 [BZ #13913]
40502 [BZ #13915]
40503 [BZ #13916]
40504 [BZ #13917]
40505 [BZ #13918]
40506 [BZ #13919]
40507 [BZ #13920]
40508 [BZ #13921]
40509 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40510 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40511 (__kernel_standard_l): New function.
40512 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40513 __kernel_standard.
40514 * math/w_acosl.c (__acosl): Likewise.
40515 * math/w_asinl.c (__asinl): Likewise.
40516 * math/w_atan2l.c (__atan2l): Likewise.
40517 * math/w_atanhl.c (__atanhl): Likewise.
40518 * math/w_coshl.c (__coshl): Likewise.
40519 * math/w_exp10l.c (__exp10l): Likewise.
40520 * math/w_exp2l.c (__exp2l): Likewise.
40521 * math/w_fmodl.c (__fmodl): Likewise.
40522 * math/w_hypotl.c (__hypotl): Likewise.
40523 * math/w_j0l.c (__j0l, __y0l): Likewise.
40524 * math/w_j1l.c (__j1l, __y1l): Likewise.
40525 * math/w_jnl.c (__jnl, __ynl): Likewise.
40526 * math/w_lgammal.c (__lgammal): Likewise.
40527 * math/w_log10l.c (__log10l): Likewise.
40528 * math/w_log2l.c (__log2l): Likewise.
40529 * math/w_logl.c (__logl): Likewise.
40530 * math/w_powl.c (__powl): Likewise.
40531 * math/w_remainderl.c (__remainderl): Likewise.
40532 * math/w_scalbl.c (sysv_scalbl): Likewise.
40533 * math/w_sinhl.c (__sinhl): Likewise.
40534 * math/w_sqrtl.c (__sqrtl): Likewise.
40535 * math/w_tgammal.c (__tgammal): Likewise.
40536 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40537 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40538 * math/libm-test.inc (acos_test): Add more tests.
40539 (acosh_test): Likewise.
40540 (asin_test): Likewise.
40541 (atanh_test): Likewise.
40542 (exp_test): Likewise.
40543 (exp10_test): Likewise.
40544 (exp2_test): Likewise.
40545 (expm1_test): Likewise.
40546 (lgamma_test): Likewise.
40547 (log_test): Likewise.
40548 (log10_test): Likewise.
40549 (log1p_test): Likewise.
40550 (log2_test): Likewise.
40551 (pow_test): Do not allow some spurious overflow exceptions.
40552 (sqrt_test): Add more tests.
40553 (tgamma_test): Likewise.
40554 (y0_test): Likewise.
40555 (y1_test): Likewise.
40556 (yn_test): Likewise.
40557
dd62fda6
AB
405582012-03-27 Anton Blanchard <anton@samba.org>
40559
40560 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40561 MAP_HUGETLB.
40562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40563 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40565
1e3cdfda
AJ
405662012-03-27 David S. Miller <davem@davemloft.net>
40567
b855ab85
DM
40568 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40569
1e3cdfda
AJ
40570 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40571 have-as-vis3 check.
40572
405732012-03-27 Andreas Jaeger <aj@suse.de>
40574
40575 * sysdeps/x86_64/elf/configure.in: Moved to ...
40576 * sysdeps/x86_64/configure.in: ... here.
40577 * sysdeps/x86_64/elf/start.S: Moved to ...
40578 * sysdeps/x86_64/start.S: ... here.
40579 * sysdeps/x86_64/elf/configure: Delete.
40580
40581 * sysdeps/x86_64/configure.in: Merge contents from
40582 sysdeps/i386/configure.in (without i686 check).
40583
40584 * sysdeps/i386/elf/Versions: Merge into ...
40585 * sysdeps/i386/Versions: ... this.
40586 * sysdeps/i386/elf/Versions: Delete file.
40587 * sysdeps/i386/elf/start.S: Moved to ...
40588 * sysdeps/i386/start.S: ...here.
40589 * sysdeps/i386/elf/configure.in: Merge into...
40590 * sysdeps/i386/configure.in: ...here.
40591 * sysdeps/i386/elf/configure.in: Delete file.
40592 * sysdeps/i386/elf/configure: Delete file.
40593
40594 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40595 * debug/backtracesyms.c: ... here.
40596 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40597 * debug/backtracesymsfd.c: ... here.
40598 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40599 * sysdeps/generic/ifunc-sel.h: ... here.
40600
40601 * sysdeps/unix/i386/start.c: Delete file.
40602 * sysdeps/unix/sparc/start.c: Delete file.
40603 * sysdeps/unix/start.c: Delete file.
40604
40605 * sysdeps/sh/elf/configure.in: Moved to ...
40606 * sysdeps/sh/configure.in: ... here.
40607 * sysdeps/sh/elf/start.S: Moved to ...
40608 * sysdeps/sh/start.S: ... here.
40609 * sysdeps/sh/elf/configure: Delete file.
40610
40611 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40612 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40613 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40614 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40615 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40616 * sysdeps/powerpc/powerpc64/start.S: here.
40617 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40618 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40619 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40620 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40621 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40622
40623 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40624 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40625 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40626 * sysdeps/powerpc/powerpc32/start.S: ... here.
40627 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40628 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40629 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40630
40631 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40632 * sysdeps/powerpc/ifunc-sel.h: ... here.
40633 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40634 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40635
40636 * sysdeps/sparc/elf/configure.in: Moved to ...
40637 * sysdeps/sparc/configure.in: ... here.
40638 * sysdeps/sparc/elf/configure: Delete file.
40639 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40640 * sysdeps/sparc/sparc32/start.S: ... here.
40641 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40642 * sysdeps/sparc/sparc64/start.S: ... here.
40643 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40644 * sysdeps/sparc/sparc32/Makefile: ... this.
40645 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40646 * sysdeps/sparc/sparc64/Makefile: ... this.
40647
40648 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40649 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40650 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40651 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40652 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40653 * sysdeps/s390/s390-32/setjmp.S: ... here.
40654 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40655 * sysdeps/s390/s390-32/configure.in: ... here.
40656 * sysdeps/s390/s390-32/elf/configure: Delete file.
40657 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40658 * sysdeps/s390/s390-32/start.S: ... here.
40659
40660 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40661 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40662 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40663 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40664 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40665 * sysdeps/s390/s390-64/setjmp.S: ... here.
40666 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40667 * sysdeps/s390/s390-64/configure.in: ... here
40668 * sysdeps/s390/s390-64/elf/configure: Delete file.
40669 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40670 * sysdeps/s390/s390-64/start.S: ... here.
40671 * sysdeps/s390/s390-64/elf/configure: Delete.
40672
40673 * configure.in: Remove support for elf directories in sysdeps.
40674
40675 * configure: Regenerated.
40676 * sysdeps/i386/configure: Regenerated.
40677 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40678 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40679 * sysdeps/s390/s390-32/configure: Regenerated.
40680 * sysdeps/s390/s390-64/configure: Regenerated.
40681 * sysdeps/sh/configure: Regenerated.
40682 * sysdeps/sparc/configure: Regenerated.
40683 * sysdeps/x86_64/configure: Regenerated.
40684
a3f61311
AS
406852012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40686
c876e002
AS
40687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40688
a3f61311
AS
40689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40690 denormal result into account.
40691
ac4c54f0
RM
406922012-03-25 Roland McGrath <roland@hack.frob.com>
40693
40694 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40695 Reported by Allan McRae <allan@archlinux.org>.
40696
6a9b9c02
JL
406972012-03-23 Jeff Law <law@redhat.com>
40698
40699 * nss/getnssent.c (__nss_getent): Fix typo.
40700
4c42a0c1
DM
407012012-03-23 David S. Miller <davem@davemloft.net>
40702
40703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40704
1532c7ac
L
407052012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40706
40707 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40708 to pad to uint64_t for each field.
40709 (dl_tls_index): Replace unsigned long with uint64_t.
40710
3ff42526
PP
407112012-03-23 Daniel Jacobowitz <dmj@google.com>
40712 Paul Pluzhnikov <ppluzhnikov@google.com>
40713
40714 [BZ #6528]
40715 * grp/Makefile (otherlibs): Don't set it.
40716 * inet/Makefile (otherlibs): Likewise.
40717 * login/Makefile (otherlibs): Likewise.
40718 * nscd/Makefile (otherlibs): Likewise.
40719 * posix/Makefile (otherlibs): Likewise.
40720 * pwd/Makefile (otherlibs): Likewise.
40721 * rt/Makefile (otherlibs): Likewise.
40722 * sunrpc/Makefile (otherlibs): Likewise.
40723 * nss/Makefile (otherlibs): Likewise.
40724 Add libnss_files to routines and static-only-routines.
40725 ($(objpfx)getent): Remove rule.
40726 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40727 static-only-routines.
40728
7c69cd14
JM
407292012-03-22 Joseph Myers <joseph@codesourcery.com>
40730
40731 [BZ #13892]
40732 * math/s_cexp.c: Include <float.h>.
40733 (__cexp): Handle exp result overflowing not necessarily
40734 overflowing both real and imaginary parts of result.
40735 * math/s_cexpf.c: Likewise.
40736 * math/s_cexpl.c: Likewise.
40737 * math/libm-test.inc (cexp_test): Add more tests.
40738 * sysdeps/i386/fpu/libm-test-ulps: Update.
40739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40740
81b035fe
L
407412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40742
40743 * include/link.h (ELFW): New macro.
40744 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40745 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40746
1da7940c
L
407472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40748
40749 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40750 with uint64_t.
40751
b749dbb9
L
407522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40753
40754 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40755 declaration.
40756 (struct La_x32_retval): Likewise.
40757
2ff87f3f
L
407582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40759
40760 * sysdeps/x86_64/preconfigure.in: New file.
40761 * sysdeps/x86_64/preconfigure: New generated file.
40762
c0df8e69
JM
407632012-03-22 Joseph Myers <joseph@codesourcery.com>
40764
48e44791
JM
40765 [BZ #13824]
40766 * math/e_exp2l.c: Include <float.h>.
40767 (__ieee754_exp2l): Handle overflow and underflow cases
40768 separately. Only pass fractional part of argument to
40769 __ieee754_expl.
40770 * math/libm-test.inc (exp2_test): Add more tests.
40771
c0df8e69
JM
40772 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40773 negating x to take absolute value.
40774 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40775 Likewise.
40776 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40777 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40778 Likewise.
40779 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40780 computing low part if x was negated.
40781 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40782
c8e43ba7
L
407832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40784
40785 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40786 la_x32_gnu_pltexit.
40787 (pltexit): Cast int_retval to ptrdiff_t.
40788 * elf/tst-auditmod3b.c: Likewise.
40789 * elf/tst-auditmod4b.c: Likewise.
40790 * elf/tst-auditmod5b.c: Likewise.
40791 * elf/tst-auditmod6b.c: Likewise.
40792 * elf/tst-auditmod6c.c: Likewise.
40793 * elf/tst-auditmod7b.c: Likewise.
40794
40795 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40796 and x32_gnu_pltexit.
40797
40798 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40799 __ELF_NATIVE_CLASS.
40800 (La_x32_regs): New macro.
40801 (La_x32_retval): Likewise.
40802 (la_x32_gnu_pltenter): New function prototype.
40803 (la_x32_gnu_pltexit): Likewise.
40804
7998fa78
AS
408052012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40806
dcb33988
AS
40807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40808 exponent.
40809
233fc563
AS
40810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40811
7998fa78
AS
40812 * configure.in (libc_cv_cc_nofma): Check for option to disable
40813 generation of FMA instructions.
40814 * configure: Regenerate.
40815 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40816 * sysdeps/ieee754/dbl-64/Makefile: New file.
40817 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40818 Remove brandred-fma4.
40819 (CFLAGS-brandred-fma4.c): Remove.
40820 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40822 define.
40823 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40824 define.
40825
8e95c99a
L
408262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40827
40828 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40829 LLONG_MAX != LONG_MAX.
40830 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40831 (_fitoa_word): Likewise.
40832 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40833 LLONG_MAX != LONG_MAX.
40834 * stdio-common/_itowa.h: Include <_itoa.h>.
40835 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40836 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40837 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40838 only if not defined.
40839 (_ITOA_WORD_TYPE): Likewise.
40840 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40841 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40842
6f4db457
DM
408432012-03-21 David S. Miller <davem@davemloft.net>
40844
40845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40846
7785fe5a
L
408472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40848
40849 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40850 of x86_64 when setting libc_cv_slibdir, libdir and
40851 libc_cv_localedir.
40852 * sysdeps/unix/sysv/linux/configure: Regenerated.
40853
4535cd55
JM
408542012-03-21 Joseph Myers <joseph@codesourcery.com>
40855
40856 * manual/lang.texi (Old Varargs): Remove section.
40857 (How Variadic): Update menu.
40858 (va_start): Do not mention varargs.h.
40859
17228132
TS
408602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40861 Joseph Myers <joseph@codesourcery.com>
40862
40863 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40864 link test.
40865 * configure: Regenerated.
40866
8149f976
TS
408672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40868
05f3d1f6
UD
40869 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40870 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40871 conformtest.pl
8149f976 40872
1a4ac776
JM
408732012-03-21 Joseph Myers <joseph@codesourcery.com>
40874
be22ce65
JM
40875 * NOTES: Remove.
40876 * Makefile (files-for-dist): Remove NOTES.
40877 (NOTES): Remove rule.
40878 * README: Don't refer to NOTES.
40879 * manual/creature.texi: Don't include macros.texi.
40880 * manual/intro.texi (creature.texi): Remove comment referring to
40881 NOTES.
40882
40b601fb
JM
40883 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40884 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40885 * configure: Regenerated.
40886 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40887 LIBC_TRY_CC_OPTION.
40888 (libc_cv_as_i686): Likewise.
40889 (libc_cv_cc_avx): Likewise.
40890 (libc_cv_cc_sse2avx): Likewise.
40891 (libc_cv_cc_fma4): Likewise.
40892 (libc_cv_cc_novzeroupper): Likewise.
40893 * sysdeps/i386/configure: Regenerated.
40894
1a4ac776
JM
40895 [BZ #13883]
40896 * sysdeps/i386/fpu/s_cexp.S: Remove.
40897 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40898 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40899 * math/libm-test.inc (cexp_test): Add more tests.
40900 * sysdeps/i386/fpu/libm-test-ulps: Update.
40901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40902
a458e7fe
AM
409032012-03-21 Allan McRae <allan@archlinux.org>
40904
40905 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40906
0cb7efc5
JM
409072012-03-21 Joseph Myers <joseph@codesourcery.com>
40908
40909 [BZ #13871]
40910 * math/w_exp2.c: Do not include <float.h>.
40911 (o_threshold, u_threshold): Remove.
40912 (__exp2): Calculate result before checking finiteness and calling
40913 __kernel_standard.
40914 * math/w_exp2f.c: Likewise.
40915 * math/w_exp2l.c: Likewise.
40916 * math/libm-test.inc (exp2_test): Require overflow exception for
40917 1e6 input.
2460d3aa
JM
40918
40919 [BZ #3866]
40920 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40921 range of signed 64-bit integers before using fistpll. Remove
40922 checks for whether integers fit in mantissa bits.
40923 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40924 the range of signed 32-bit integers before using fistpl. Remove
40925 checks for whether integers fit in mantissa bits.
40926 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40927 (__ieee754_powl): Test for y outside the range of signed 64-bit
40928 integers before using fistpll. Reduce 64-bit values to 63-bit
40929 ones as needed.
40930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40931 divide-by-zero is raised for zero to large negative powers.
40932 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40933 (__ieee754_powl): Test for y outside the range of signed 64-bit
40934 integers before using fistpll. Reduce 64-bit values to 63-bit
40935 ones as needed.
40936 * math/libm-test.inc (pow_test): Add more tests.
40937
eb96ffb0
L
409382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40939
40940 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40941 <stdio-common/_itoa.h>.
40942 * debug/segfault.c: Likewise.
40943 * elf/dl-cache.c: Likewise.
40944 * elf/dl-minimal.c: Likewise.
40945 * elf/dl-misc.c: Likewise.
40946 * elf/dl-sysdep.c: Likewise.
40947 * elf/dl-version.c: Likewise.
40948 * elf/rtld.c: Likewise.
40949 * hurd/hurdsock.c: Likewise.
40950 * hurd/lookup-retry.c: Likewise.
40951 * malloc/malloc.c: Likewise.
40952 * malloc/mtrace.c: Likewise.
40953 * nscd/nscd_getgr_r.c: Likewise.
40954 * nscd/nscd_getpw_r.c: Likewise.
40955 * nscd/nscd_getserv_r.c: Likewise.
40956 * posix/getopt_init.c: Likewise.
40957 * posix/wordexp.c: Likewise.
40958 * stdio-common/_itoa.c: Likewise.
40959 * stdio-common/printf_fphex.c: Likewise.
40960 * stdio-common/vfprintf.c: Likewise.
40961 * string/_strerror.c: Likewise.
40962 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40963 * sysdeps/i386/i686/hp-timing.h: Likewise.
40964 * sysdeps/mach/_strerror.c: Likewise.
40965 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40966 * sysdeps/mach/hurd/sethostid.c: Likewise.
40967 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40968 * sysdeps/mach/xpg-strerror.c: Likewise.
40969 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40971 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40972 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40973 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40974 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40975 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40976 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40977 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40978 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40979 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40980 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40981 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40982 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40983 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40984 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40985 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40986 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40987 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40988 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40989 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40990
40991 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40992
40993 * stdio-common/_itoa.h: Moved to ...
40994 * sysdeps/generic/_itoa.h: Here.
40995
40996 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40997
40998 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40999 instead of "_itoa.h" and "_itowa.h".
41000 * stdio-common/vfprintf.: Likewise.
41001
d1af992d
L
410022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41003
41004 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41005 <bits/wordsize.h>.
41006 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41007 (__signbit): Likwise.
41008 (llrintf): Likwise.
41009 (llrint): Likwise.
41010
114883e0
L
410112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41012
41013 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41014 __WORDSIZE != 64.
41015
c135cc1b
JM
410162012-03-20 Joseph Myers <joseph@codesourcery.com>
41017
41018 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41019 OVERFLOW_EXCEPTION_OK.
41020 * math/libm-test.inc ("Philosophy"): Update comment about
41021 exception testing.
41022 (OVERFLOW_EXCEPTION): Define.
41023 (OVERFLOW_EXCEPTION_OK): Likewise.
41024 (INVALID_EXCEPTION_OK): Renumber.
41025 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41026 (IGNORE_ZERO_INF_SIGN): Likewise.
41027 (test_exceptions): Handle FE_OVERFLOW.
41028 (exp10_test): Expect overflow exceptions.
41029 (exp2_test): Likewise.
41030 (expm1_test): Likewise.
41031 (nextafter_test): Likewise.
41032 (pow_test): Likewise.
41033 (scalbn_test): Likewise.
41034 (scalbln_test): Likewise.
41035
95443d88
L
410362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41037
41038 * sysdeps/x86_64/bits/atomic.h
41039 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41040 64bit integer.
41041 (atomic_exchange_acq): Likewise.
41042 (__arch_exchange_and_add_body): Likewise.
41043 (__arch_add_body): Likewise.
41044 (atomic_add_negative): Likewise.
41045 (atomic_add_zero): Likewise.
41046
490df6c4
L
410472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41048
c2722551 41049 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41050 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41051
5e52b189
L
410522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41053
41054 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41055 Check __x86_64__ instead of __WORDSIZE.
41056
a9879d4c
L
410572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41058
41059 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41060
5df98260
DM
410612012-03-19 David S. Miller <davem@davemloft.net>
41062
e1497744
DM
41063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41064
5df98260
DM
41065 * sysdeps/sparc/fpu/fenv_private.h: New file.
41066 * sysdeps/sparc/fpu/math_private.h: Use it.
41067 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41068 Remove.
57f41c40 41069 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41070 (libc_feholdexcept_setroundl): Remove.
41071 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41072 Remove.
41073 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41074 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41075
b4c35121
L
410762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41077
41078 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41079 int64_t instead of long int.
41080 (INSERT_WORDS64): Likwise.
41081
56965fd7
L
410822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41083
41084 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41085 _Unwind_GetCFA return to _Unwind_Ptr first.
41086
83d1aec8
JM
410872012-03-19 Joseph Myers <joseph@codesourcery.com>
41088
1897ad44
JM
41089 [BZ #13629]
41090 * math/s_clog.c: Include <float.h>.
41091 (__clog): Scale large or subnormal inputs.
41092 * math/s_clogf.c: Likewise.
41093 * math/s_clogl.c: Likewise.
41094 * math/s_clog10.c: Include <float.h>.
41095 (M_LOG10_2): Define.
41096 (__clog10): Scale large or subnormal inputs.
41097 * math/s_clog10f.c: Likewise.
41098 * math/s_clog10l.c: Likewise.
41099 * math/libm-test.inc (clog_test): Add more tests.
41100 (clog10_test): Likewise.
41101 * sysdeps/i386/fpu/libm-test-ulps: Update.
41102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41103
7726d6a9
JM
41104 [BZ #11451]
41105 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41106 x and y.
41107 * math/libm-test.inc (atan2_test): Add another test.
41108
83d1aec8
JM
41109 * Makerules (common-objdir-compile): Remove.
41110 * sysdeps/unix/Makefile (config-generated): Do not add
41111 $(unix-generated) to variable.
41112 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41113 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41114 Remove rule.
41115 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41116 Likewise.
41117 [generic bits/local_lim.h] (before-compile): Do not append to
41118 variable.
41119 [generic bits/local_lim.h] (common-generated): Likewise.
41120 [generic sys/param.h] (before-compile): Do not append to variable.
41121 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41122 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41123 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41124 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41125 include.
41126 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41127 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41128 [generic sys/param.h] ($(addprefix
41129 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41130 [generic sys/param.h] (common-generated): Do not append to
41131 variable.
41132 [generic sys/param.h] (sysdep_headers): Likewise.
41133 [generic bits/errno.h] (before-compile): Do not append to
41134 variable.
41135 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41136 rule.
41137 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41138 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41139 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41140 [generic bits/errno.h] (common-generated): Do not append to
41141 variable.
41142 [generic bits/ioctls.h] (before-compile): Do not append to
41143 variable.
41144 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41145 rule.
41146 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41147 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41148 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41149 rule.
41150 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41151 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41152 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41153 [generic bits/ioctls.h] (common-generated): Do not append to
41154 variable.
41155 [generic sys/syscall.h] (syscall.h): Remove variable.
41156 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41157 rule.
41158 [generic sys/syscall.h] (before-compile): Do not append to
41159 variable.
41160 [generic sys/syscall.h] (common-generated): Likewise.
41161 * sysdeps/unix/errnos-tmpl.c: Remove file.
41162 * sysdeps/unix/errnos.awk: Likewise.
41163 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41164 * sysdeps/unix/ioctls.awk: Likewise.
41165 * sysdeps/unix/mk-local_lim.c: Likewise.
41166 * sysdeps/unix/snarf-ioctls: Likewise.
41167
4851a949
RH
411682012-03-19 Richard Henderson <rth@twiddle.net>
41169
bd37f2ee
RH
41170 * sysdeps/i386/fpu/fenv_private.h: New file.
41171 * sysdeps/i386/fpu/math_private.h: Use it.
41172 (math_opt_barrier, math_force_eval): Remove.
41173 (libc_feholdexcept_setround_53bit): Remove.
41174 (libc_feupdateenv_53bit): Remove.
41175 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41176 (math_opt_barrier, math_force_eval): Remove.
41177 (libc_feholdexcept): Remove.
41178 (libc_feholdexcept_setround): Remove.
41179 (libc_fetestexcept, libc_fesetenv): Remove.
41180 (libc_feupdateenv_test): Remove.
41181 (libc_feupdateenv, libc_feholdsetround): Remove.
41182 (libc_feresetround): Remove.
41183
d0adc922
RH
41184 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41185 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41186
0fe0f1f8
RH
41187 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41188 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41189 (libc_feupdateenv_testl): New.
41190 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41191 (libc_feupdateenv_testf): New.
41192 (libc_feupdateenv): Use libc_feupdateenv_test.
41193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41194 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41195
eb92c487
RH
41196 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41197 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41198 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41199 (libc_feresetround_noex): New.
41200 (libc_feresetround_noexf): New.
41201 (libc_feresetround_noexl): New.
41202 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41203 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41204 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41205 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41206 SET_RESTORE_ROUND.
41207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41209 (__cos): Likewise.
41210 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41211 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41212 SET_RESTORE_ROUND_NOEX.
41213 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41214 SET_RESTORE_ROUND_NOEXF.
41215 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41216 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41217 (libc_feholdsetroundf): New.
41218 (libc_feresetround, libc_feresetroundf): New.
41219
7d2e8012
RH
41220 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41221 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41222 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41223
b4dabbb4
RH
41224 * sysdeps/generic/math_private.h: Include <fenv.h>.
41225 (default_libc_feholdexcept): New.
41226 (default_libc_feholdexcept_setround): New.
41227 (default_libc_fesetenv, default_libc_feupdateenv): New.
41228 (libc_feholdexcept): Only define if undefined.
41229 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41230 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41231 (libc_feholdexcept_setroundl): Likewise.
41232 (libc_feholdexcept_setround_53bit): Likewise.
41233 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41234 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41235 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41236 (libc_feupdateenv_53bit): Likewise.
41237 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41238 (libc_feholdexcept): Convert from macro to inline function.
41239 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41240 (libc_fesetenv, libc_feupdateenv): Likewise.
41241
4851a949
RH
41242 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41243 not previously defined.
41244 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41245 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41246 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41247 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41248 * sysdeps/ieee754/flt-32/math_private.h: New file.
41249 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41250 math_private.h below SET_FLOAT_WORD.
41251 (__isnan, __isinf_ns, __finite): Remove.
41252 (__isnanf, __isinf_nsf, __finitef): Remove.
41253
e79d442e
AS
412542012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41255
41256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41257
90b80344
DM
412582012-03-17 David S. Miller <davem@davemloft.net>
41259
41260 [BZ #6471]
41261 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41262 for 2.16.
41263
edc21804
DM
412642012-03-16 David S. Miller <davem@davemloft.net>
41265
77e927af
DM
41266 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41267 warnings.
41268
374976dd
DM
41269 [BZ #6471]
41270 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41271 properly.
41272 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41273 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41274 sysdep_routines when subdir is sysvipc.
41275 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41276 __getshmlba helper.
41277
edc21804
DM
41278 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41279
473c3ef3
L
412802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41281
41282 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41283 [__LP64__].
41284
eb0f39b6
L
412852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41286
41287 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41288 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41289 (__lround): Renamed to ...
41290 (__llround): This. Replace long int with long long int.
41291 Define lround functions as aliases of llround functions.
41292 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41293
6b6cd74b
L
412942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41295
41296 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41297 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41298 adresses to uintptr_t. Replace "long int" and "unsigned long
41299 int" with "greg_t" on va_arg.
41300
f1a77b01
L
413012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41302
41303 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41304 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41305
41306 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41307 Move e_machine check before EI_CLASS check. Handle x32
41308 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41309 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41310 SKIP_EM_IA_64 and include
41311 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41312
41313 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41314 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41315 (add_system_dir): New macro.
41316
41317 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41318 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41319
11b90b9f
JM
413202012-03-16 Joseph Myers <joseph@codesourcery.com>
41321
c36e1d23
JM
41322 [BZ #2551]
41323 [BZ #2552]
41324 [BZ #2553]
41325 [BZ #2554]
41326 [BZ #2562]
41327 [BZ #2563]
41328 [BZ #2565]
41329 [BZ #2566]
41330 [BZ #2576]
41331 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41332 (y0): Likewise.
41333 * math/w_j0f.c (j0f): Likewise.
41334 (y0f): Likewise.
41335 * math/w_j0l.c (__j0l): Likewise.
41336 (__y0l): Likewise.
41337 * math/w_j1.c (j1): Likewise.
41338 (y1): Likewise.
41339 * math/w_j1f.c (j1f): Likewise.
41340 (y1f): Likewise.
41341 * math/w_j1l.c (__j1l): Likewise.
41342 (__y1l): Likewise.
41343 * math/w_jn.c (jn): Likewise.
41344 (yn): Likewise.
41345 * math/w_jnf.c (jnf): Likewise.
41346 (ynf): Likewise.
41347 * math/w_jnl.c (__jnl): Likewise.
41348 (__ynl): Likewise.
41349 * math/libm-test.inc (j0_test): Add more tests.
41350 (j1_test): Likewise.
41351 (jn_test): Likewise. Add trailing semicolon to existing test.
41352 (y0_test): Likewise.
41353 (y1_test): Likewise.
41354 * sysdeps/i386/fpu/libm-test-ulps: Update.
41355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41356
11b90b9f
JM
41357 [BZ #13851]
41358 [BZ #13854]
41359 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41360 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41361 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41363 (__tanl): Set errno for infinite argument.
41364 * sysdeps/i386/fpu/mptan.c: Remove.
41365 * sysdeps/i386/fpu/s_tan.S: Likewise.
41366 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41367 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41368 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41369 * math/libm-test.inc (tan_test): Add more tests and enable more
41370 tests for double and long double.
41371 * sysdeps/i386/fpu/libm-test-ulps: Update.
41372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41373
6a1bd2a1
JK
413742012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41375
41376 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41377 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41378
10a803e0
RM
413792012-03-16 Roland McGrath <roland@hack.frob.com>
41380
41381 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41382 * configure.in: Use it for both main tree and add-ons.
41383 * configure: Regenerated.
41384
f196c7f7
L
413852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41386
41387 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41388
8848d99d
JM
413892012-03-16 Joseph Myers <joseph@codesourcery.com>
41390
96cbe7f4
JM
41391 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41392 in comment.
41393
8848d99d
JM
41394 [BZ #13851]
41395 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41396 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41397 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41398 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41399 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41400 infinite argument.
41401 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41403 != 0 for prec == 2.
41404 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41405 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41406 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41407 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41408 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41409 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41410 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41411 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41412 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41413 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41414 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41415 * math/libm-test.inc (cos_test): Add more tests and enable more
41416 tests for long double.
41417 (sin_test): Likewise.
41418 (sincos_test): Likewise.
41419 * sysdeps/i386/fpu/libm-test-ulps: Update.
41420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41421
dd7f4703
DM
414222012-03-16 David S. Miller <davem@davemloft.net>
41423
41424 * sysdeps/sparc/fpu/math_private.h: New file.
41425
006f1daa
DM
414262012-03-15 David S. Miller <davem@davemloft.net>
41427
c0c83bc8
DM
41428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41429 file.
e6a62e18 41430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41432 file.
e6a62e18
DM
41433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41439 sysdep routines.
41440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41441
88cb87d9
DM
41442 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41443 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41444
006f1daa 41445 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41447 sparc-ifunc.h
006f1daa 41448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41450 Likewise.
41451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41452 Likewise.
006f1daa
DM
41453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41457 Likewise.
006f1daa
DM
41458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41463 Likewise.
41464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41465 Likewise.
006f1daa
DM
41466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41485 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41486 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41490
11e0098e
AS
414912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41492
41493 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41494 scaling.
41495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41496
e85b09d0
AJ
414972012-03-15 Andreas Jaeger <aj@suse.de>
41498
41499 [BZ #13852]
41500 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41501 ieee754/flt-32 implementation for sin, cos and sincos.
41502 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41503 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41504 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41505 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41506 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41507 ieee754/flt-32 implementation for tan.
41508
41509 * math/libm-test.inc (cos_test): Enable some large input tests for
41510 float as well
41511 (sin_test): Likewise.
41512 (sincos_test): Likewise.
41513 (tan_test): Add tests for large input.
41514
41515 * sysdeps/i386/fpu/libm-test-ulps: Update.
41516
81c64153
AJ
415172012-03-15 Andreas Jaeger <aj@suse.de>
41518
41519 [BZ #13658]
41520 * math/libm-test.inc (cos_test): Add more test cases.
41521 (sin_test): Likewise.
41522 (sincos_test): Likewise.
41523
7bbfa5c6
AJ
415242012-03-15 Andreas Jaeger <aj@suse.de>
41525
41526 [BZ #13837]
41527 * math/libm-test.inc (cos_test): Add a test case for large input
41528 value.
41529 (sin_test): Likewise.
41530 (sincos_test): Likewise.
41531
57f41c40
AS
415322012-03-15 Andreas Jaeger <aj@suse.de>
41533 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41534
41535 [BZ #13658]
0671f479 41536 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41537 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41538 * sysdeps/i386/fpu/branred.c: Likewise.
41539 * sysdeps/i386/fpu/dosincos.c: Likewise.
41540 * sysdeps/i386/fpu/mpa.c: Likewise.
41541 * sysdeps/i386/fpu/s_cos.S: Likewise.
41542 * sysdeps/i386/fpu/s_sin.S: Likewise.
41543 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41544 * sysdeps/i386/fpu/sincos32.c: Likewise.
41545
41546 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41547 Define.
41548 (libc_feupdateenv_53bit): Define.
41549 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41550 Define.
41551 (libc_feupdateenv_53bit): Define.
41552
41553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41554 53 bit (without extend i386 double precision).
41555
41556 * math/libm-test.inc (sincos_test): Add tests for large input.
41557 (sin): Likewise.
41558 (cos): Likewise.
41559
41560 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41561
9cad04ea
AS
415622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41563
41564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41565
f7062b9a
DM
415662012-03-15 David S. Miller <davem@davemloft.net>
41567
41568 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41569 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41570 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41571 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41584 file.
f7062b9a 41585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41587 file.
f7062b9a 41588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41590 file.
f7062b9a 41591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41593 file.
f7062b9a
DM
41594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41596 fmin/fmax sysdep routines.
41597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41598
7bd951ff
DM
415992012-03-14 David S. Miller <davem@davemloft.net>
41600
559398ab
DM
41601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41606 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41630 routines.
41631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41632 file.
559398ab 41633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41635 file.
559398ab 41636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41638 file.
559398ab 41639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41641 file.
559398ab 41642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41644 file.
559398ab 41645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41647 file.
41648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41649 file.
41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41651 file.
41652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41653 file.
41654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41655 New file.
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41657 file.
41658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41659 file.
559398ab 41660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41662 file.
559398ab 41663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41665 file.
559398ab 41666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41668 file.
559398ab 41669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41671 VIS3 routines.
559398ab
DM
41672
41673 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41674 New file.
41675
5a1c1e32
DM
41676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41677
eae47a36
DM
41678 * sysdeps/sparc/configure.in: New file.
41679 * sysdeps/sparc/configure: Generate.
41680 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41681 * configure: Regenerate.
41682 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41683 * config.make.in (have-as-vis3): New.
41684 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41685 available use -Av9d instead of -Av9a.
41686 * sysdeps/sparc/sparc64/Makefile: Likewise.
41687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41689 New file.
41690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41691 file.
41692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41693 New file.
41694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41695 file.
eae47a36
DM
41696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41699 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41701
c0c83bc8
DM
41702 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41703 fzeros/fnegs to load 0x80000000 into a float register instead of
41704 using the stack.
7bd951ff
DM
41705 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41706
bd951ccb
JM
417072012-03-14 Joseph Myers <joseph@codesourcery.com>
41708
41709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41710 bits/syscall.h.
41711 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41712 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41713 ($(inst_includedir)/bits/syscall.h): Remove rule.
41714 ($(objpfx)bits/syscall.d): Include instead of
41715 $(objpfx)syscall-list.d.
41716 (generated): Change syscall-list.h and syscall-list.d to
41717 bits/syscall.h and bits/syscall.d.
41718
bb4e6db2
RM
417192012-03-14 Roland McGrath <roland@hack.frob.com>
41720
41721 [BZ #13846]
41722 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41723
aa4a2ae1
JM
417242012-03-14 Joseph Myers <joseph@codesourcery.com>
41725
e456826d
JM
41726 [BZ #13841]
41727 * math/s_csqrt.c: Include <float.h>.
41728 (__csqrt): Scale large or subnormal inputs.
41729 * math/s_csqrtf.c: Likewise.
41730 * math/s_csqrtl.c: Likewise.
41731 * math/libm-test.inc (csqrt_test): Add more tests.
41732 * sysdeps/i386/fpu/libm-test-ulps: Update.
41733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41734
aa4a2ae1
JM
41735 [BZ #13840]
41736 * math/libm-test.inc (hypot_test): Add more tests.
41737
7c10fd35
DM
417382012-03-13 David S. Miller <davem@davemloft.net>
41739
41740 [BZ #13840]
41741 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41742 double-precision for the calculation instead of scaling.
41743
f453b98b
JM
417442012-03-13 Joseph Myers <joseph@codesourcery.com>
41745
41746 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41747 manipulate bits before adding and subtracting TWO52[sx].
41748 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41750 Likewise.
41751 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41752
09a3453f
DM
417532012-03-13 David S. Miller <davem@davemloft.net>
41754
8e59da90
DM
41755 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41756 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41758 rtld-global-offsets.h
41759 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41760
2a8ab7f2
DM
41761 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41762 large parameters.
41763
10f62770
DM
41764 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41765
5f0bdb18
DM
41766 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41767 'err' in the ifdef scope in which it is actually used.
41768
09a3453f
DM
41769 * nss/nss_db/db-init.c: Include string.h
41770
b4b2eb5e
DM
417712012-03-12 David S. Miller <davem@davemloft.net>
41772
98bb2f1c
DM
41773 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41774 masking out of the most significant byte of random value used.
41775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41776 Fix coding style in previous change.
41777
b4b2eb5e
DM
41778 * sysdeps/unix/sysv/linux/kernel-features.h
41779 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41780 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41781 expression.
41782 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41783 later.
41784
6e226b09
DM
417852012-03-11 David S. Miller <davem@davemloft.net>
41786
a1bcbd40
DM
41787 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41788 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41790 for 'resultvar' otherwise things get truncated on 64-bit.
41791
cb9d6174
DM
41792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41793 Fix masking out of the most significant byte of random value used.
41794
6e226b09
DM
41795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41796
058c132d
AS
417972012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41798
41799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41800
2d2cd515
DM
418012012-03-09 David S. Miller <davem@davemloft.net>
41802
41803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41804 variables with appropriate CPP guards.
57f41c40
AS
41805 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41806 from the frame pointer, not the stack pointer. Correct layout
41807 comments. Fix test on resulting framesize and the management of
41808 the outregs buffer for pltexit. Preserve floating point return
41809 values across _dl_call_pltexit call.
2d2cd515
DM
41810 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41811 framesize and the management of the outregs buffer for pltexit.
41812 Preserve floating point return values across _dl_call_pltexit
41813 call.
57f41c40
AS
41814 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41815 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41816 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41817 (print_exit): Fix format string for return register value.
41818
9a07f9d0
JM
418192012-03-10 Joseph Myers <joseph@codesourcery.com>
41820
41821 * sunrpc/Makefile (others): Add rpcgen.
41822 ($(objpfx)rpcgen): Remove special build rule and dependency on
41823 libc.
41824 * sunrpc/rpcgen.c: New file.
41825
547b5e30
PE
418262012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41827
c524201a
PE
41828 [BZ #13673]
41829 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41830 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41831 * sysdeps/i386/crti.S: Likewise.
41832 * sysdeps/i386/crtn.S: Likewise.
41833 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41834 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41835 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41836 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41837 * sysdeps/sh/crti.S: Likewise.
41838 * sysdeps/sh/crtn.S: Likewise.
41839 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41840
7b6235f2
PE
41841 [BZ #13673]
41842 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41843 with URL.
41844 * locale/programs/locfile-kw.gperf: Likewise.
41845 * locale/programs/charmap-kw.h: Regenerated.
41846 * locale/programs/locfile-kw.h: Likewise.
41847
547b5e30
PE
41848 [BZ #13673]
41849 * intl/plural.y: Replace FSF snail mail address with URL.
41850 * intl/plural.c: Regenerated.
41851
5f0a5dae
RH
418522012-03-09 Richard Henderson <rth@twiddle.net>
41853
41854 * include/math_private.h: Remove file.
41855 * math/math_private.h: Move file ...
41856 * sysdeps/generic/math_private.h: ... here.
41857
b8c03620
RH
41858 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41859 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41860 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41861
4e234f5d 41862 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41863 and <math_private.h>.
41864 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41865 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41866 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41867 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41868 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41869 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41870 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41872 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41873 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41875 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41876 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41878 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41879 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41880 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41881 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41882 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41883 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41885 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41886 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41888 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41889 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41890 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41891 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41894 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41896 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41898 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41907 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41909 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41910 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41920 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41930 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41945 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41947 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41948 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41951 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41952 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41953 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41954 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41955 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41956 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41957 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41958 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41959 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41960 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41961 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41962 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41963 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41964 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41965 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41966 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41967 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41968 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41969 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41970 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41971 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41976 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41977 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41978 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41979 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41980 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41981 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41982 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41983 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41985 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41986 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41987 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41988 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41989 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41991 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41992 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41993 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41994 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41995 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41996 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41997 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41998 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41999 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42000 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42001 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42002 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42003 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42004 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42005 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42006 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42007 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42008 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42009 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42010 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42011 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42012 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42013 * sysdeps/ieee754/k_standard.c: Likewise.
42014 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42015 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42016 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42017 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42018 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42019 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42020 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42021 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42022 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42023 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42024 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42025 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42026 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42027 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42028 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42029 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42030 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42129 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42130 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42133 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42134 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42136 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42141 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42142 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42143 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42146 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42150 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42153 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42160 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42162 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42163 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42164 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42169 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42172 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42174 * sysdeps/ieee754/s_lib_version.c: Likewise.
42175 * sysdeps/ieee754/s_matherr.c: Likewise.
42176 * sysdeps/ieee754/s_signgam.c: Likewise.
42177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42179 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42180 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42181 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42182 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42183 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42184 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42185 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42186 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42187 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42188 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42189 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42190 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42191 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42192 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42193 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42194 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42195 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42197 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42198
1991fa03
JM
421992012-03-09 Joseph Myers <joseph@codesourcery.com>
42200
42201 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42202 * sunrpc/rpc_main.c: Likewise.
42203 * sunrpc/rpc_svcout.c: Likewise.
42204
60d6f5a6
DM
422052012-03-09 David S. Miller <davem@davemloft.net>
42206
42207 * include/math_private.h: New file.
42208
4962050e
JM
422092012-03-09 Joseph Myers <joseph@codesourcery.com>
42210
02a6f887
JM
42211 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42212 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42213 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42214 from <bits/socket_type.h>.
42215 (enum __socket_type): Don't define here.
42216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42218 bits/socket_type.h.
42219
c6e013c1
JM
42220 [BZ #13566]
42221 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42222 checking __USE_GNU.
42223
4962050e
JM
42224 * Makerules ($(inst_includedir)/%.h): New rule.
42225 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42226 (install-others): Remove variable setting.
42227 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42228
38842f45
RH
422292012-03-08 Richard Henderson <rth@twiddle.net>
42230
67bb6da6
RH
42231 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42232 from macro to inline function; merge with the
42233 !__LIBC_INTERNAL_MATH_INLINES version.
42234 (__ieee754_sqrtf): Likewise.
42235
15194b4b
RH
42236 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42237 to inline function.
42238 (__rintf, __floor, __floorf): Likewise.
42239
64e21ede
RH
42240 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42241 macro to inline function.
42242 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42243
38842f45
RH
42244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42245 not <math/math_private.h>.
42246
c64bf5fe
DM
422472012-03-08 David S. Miller <davem@davemloft.net>
42248
42249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42250 copyright year.
42251 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42252
82d86f28
TS
422532012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42254
42255 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42256 normalization.
42257 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42258 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42259
aea5d727
UD
422602012-03-08 Ulrich Drepper <drepper@gmail.com>
42261
42262 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42263 be defined individually, they must be defined as a block. Define
42264 S for printing a string instead of hidint the different by using a
42265 macro for adding the 'l'.
42266 * stdio-common/tst-fphex-wide.c: Adjust.
42267
70bca0a3
MP
422682012-03-07 Marek Polacek <polacek@redhat.com>
42269
42270 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42271
65b81130
MP
422722012-03-08 Marek Polacek <polacek@redhat.com>
42273
42274 [BZ #13806]
42275 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42276 * stdio-common/tst-fphex.c: Define a few macros to make the
42277 test reusable. Use them.
42278 * stdio-common/tst-fphex-wide.c: New file.
42279
07037eeb
JM
422802012-03-08 Joseph Myers <joseph@codesourcery.com>
42281
a7a93d50
JM
42282 [BZ #6911]
42283 * manual/macros.texi (gnusystems): New macro.
42284 (nongnusystems): Likewise.
42285 (gnulinuxhurdsystems): Likewise.
42286 (gnuhurdsystems): Likewise..
42287 (gnulinuxsystems): Likewise.
42288 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42289 variants of the GNU system, not "GNU system".
42290 * manual/conf.texi: Likewise.
42291 * manual/errno.texi: Likewise. Update example of errno macro
42292 expansion.
42293 * manual/filesys.texi: Likewise.
42294 (getumask): Document as specific to GNU/Hurd.
42295 * manual/install.texi: Likewise. Reword some references to
42296 GNU/Linux.
42297 * manual/intro.texi: Likewise.
42298 * manual/io.texi: Likewise.
42299 (File Name Portability): Detail which constraints are inapplicable
42300 to all GNU systems and which are only inapplicable to GNU/Hurd.
42301 * manual/job.texi: Likewise.
42302 * manual/llio.texi: Likewise.
42303 (O_NOCTTY): Document as present on GNU/Linux.
42304 * manual/maint.texi: Likewise.
42305 * manual/memory.texi: Likewise.
42306 * manual/pattern.texi: Likewise.
42307 * manual/pipe.texi: Likewise.
42308 * manual/process.texi: Likewise.
42309 * manual/resource.texi: Likewise.
42310 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42311 child on GNU/Hurd.
42312 * manual/setjmp.texi: Likewise.
42313 * manual/signal.texi: Likewise.
42314 * manual/startup.texi: Likewise.
42315 * manual/stdio.texi: Likewise.
42316 * manual/terminal.texi: Likewise.
42317 (ONLCR): Document as POSIX.
42318 (OXTABS): Document availability on GNU/Linux as XTABS.
42319 (ONOEOT): Document availability separately from other bits.
42320 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42321 * manual/time.texi: Likewise.
42322 * manual/users.texi: Likewise.
42323 * INSTALL: Regenerated.
42324 * sysdeps/gnu/errlist.c: Regenerated.
42325
07037eeb
JM
42326 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42327 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42328 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42329 puts.
42330 * configure: Regenerated.
42331
d1d3431a
JM
423322012-03-07 Joseph Myers <joseph@codesourcery.com>
42333
af6a1e37
JM
42334 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42335 default includes instead of AC_HEADER_CHECK.
42336 * sysdeps/i386/configure: Regenerated.
42337
d1d3431a
JM
42338 [BZ #10716]
42339 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42340 * math/s_cacoshf.c (__cacoshf): Likewise.
42341 * math/s_cacoshl.c (__cacoshl): Likewise.
42342 * math/s_casinh.c (__casinh): Set signs of result from argument.
42343 * math/s_casinhf.c (__casinhf): Likewise.
42344 * math/s_casinhl.c (__casinhl): Likewise.
42345 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42346 (casinh_test): Add more tests.
42347 * sysdeps/i386/fpu/libm-test-ulps: Update.
42348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42349
482ff4da
UD
423502012-03-07 Ulrich Drepper <drepper@gmail.com>
42351
872fda05
UD
42352 * po/zh_TW.po: Update from translation team.
42353
a4300c7a
UD
42354 * login/Makefile (distribute): Remove variable.
42355 * catgets/Makefile: Likewise.
42356 * mach/Makefile: Likewise.
42357 * malloc/Makefile: Likewise.
42358 * misc/Makefile: Likewise.
42359 * iconv/Makefile: Likewise.
42360 * nscd/Makefile: Likewise.
42361 * hurd/Makefile: Likewise.
42362 * manual/Makefile: Likewise.
42363 * locale/Makefile: Likewise.
42364 * intl/Makefile: Likewise.
42365 * conform/Makefile: Likewise.
42366 * nss/Makefile: Likewise.
42367 * time/Makefile: Likewise.
42368 * soft-fp/Makefile: Likewise.
42369 * dirent/Makefile: Likewise.
42370 * gmon/Makefile: Likewise.
42371 * po/Makefile: Likewise.
42372 * rt/Makefile: Likewise.
42373 * socket/Makefile: Likewise.
42374 * math/Makefile: Likewise.
42375 * signal/Makefile: Likewise.
42376 * debug/Makefile: Likewise.
42377 * elf/Makefile: Likewise.
42378 * timezone/Makefile: Likewise.
42379 * stdlib/Makefile: Likewise.
42380 * iconvdata/Makefile: Likewise.
42381 * sunrpc/Makefile: Likewise.
42382 * io/Makefile: Likewise.
42383 * argp/Makefile: Likewise.
42384 * inet/Makefile: Likewise.
42385 * hesiod/Makefile: Likewise.
42386 * grp/Makefile: Likewise.
42387 * csu/Makefile: Likewise.
42388 * wctype/Makefile: Likewise.
42389 * crypt/Makefile: Likewise.
42390 * libio/Makefile: Likewise.
42391 * string/Makefile: Likewise.
42392 * nis/Makefile: Likewise.
42393 * resolv/Makefile: Likewise.
42394 * stdio-common/Makefile: Likewise.
42395 * wcsmbs/Makefile: Likewise.
42396 * dlfcn/Makefile: Likewise.
42397 * posix/Makefile: Likewise.
42398
3b7c4e74 42399 [BZ #6959]
482ff4da
UD
42400 * timezone/Makefile: Don't install timezone files, just the programs
42401 and scripts.
42402
f72ed77d
UD
424032012-03-06 Ulrich Drepper <drepper@gmail.com>
42404
a000466f
UD
42405 * nss/databases.def: Add missing gshadow entry.
42406
f72ed77d
UD
42407 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42408
a53b7a4e
MP
424092012-03-06 Marek Polacek <polacek@redhat.com>
42410
42411 [BZ #13726]
42412 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42413 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42414 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42415 * stdio-common/tst-long-dbl-fphex.c: New file.
42416
e9258400
DM
424172012-03-06 David S. Miller <davem@davemloft.net>
42418
42419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42420 (set_obp_int): New function.
42421 (get_obp_int): New function.
42422 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42423 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42424 Avoid unused variable warnings on 'val' and use builtin_expect.
42425 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42426 __builtin_expect.
e9258400
DM
42427 (INLINE_CLONE_SYSCALL): Likewise.
42428
3bd2c723
DM
424292012-03-05 David S. Miller <davem@davemloft.net>
42430
42431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42432
bbb78d03
AS
424332012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42434
884c5db4
AS
42435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42436
bbb78d03
AS
42437 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42438 only for |x| >= 40.
42439 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42440
1c9f702a 424412012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42442
42443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42444 Replace gettimeofday with __vdso_gettimeofday.
42445
7be16f82
RM
42446 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42447 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42448 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42449
42450 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42451 time with __vdso_time.
42452
ed58a00f
JM
424532012-03-05 Joseph Myers <joseph@codesourcery.com>
42454
42455 * manual/lang.texi (size_t): Note types to which size_t may be
42456 equivalent with the GNU C Library, but do not describe when
42457 differences between them are significant.
42458
30ee4ced
AJ
424592012-03-05 Andreas Jaeger <aj@suse.de>
42460
42461 * sysdeps/i386/fpu/libm-test-ulps: Update.
42462
b7cd39e8
JM
424632012-03-05 Joseph Myers <joseph@codesourcery.com>
42464
42465 [BZ #3976]
42466 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42467 (__ieee754_pow): Save and restore rounding mode and use
42468 round-to-nearest for main computations.
42469 * math/libm-test.inc (pow_test_tonearest): New function.
42470 (pow_test_towardzero): Likewise.
42471 (pow_test_downward): Likewise.
42472 (pow_test_upward): Likewise.
42473 (main): Call the new functions.
42474 * sysdeps/i386/fpu/libm-test-ulps: Update.
42475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42476
42477 [BZ #3976]
42478 * math/libm-test.inc (cosh_test_tonearest): New function.
42479 (cosh_test_towardzero): Likewise.
42480 (cosh_test_downward): Likewise.
42481 (cosh_test_upward): Likewise.
42482 (sinh_test_tonearest): Likewise.
42483 (sinh_test_towardzero): Likewise.
42484 (sinh_test_downward): Likewise.
42485 (sinh_test_upward): Likewise.
42486 (main): Call the new functions.
42487 * sysdeps/i386/fpu/libm-test-ulps: Update.
42488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42489
6c6a98c9
TV
424902012-03-05 Tom de Vries <tom@codesourcery.com>
42491
42492 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42493 default stack guard is set in last bytes.
42494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42495
21bb2d2e 424962012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42497
21bb2d2e 42498 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42499
21bb2d2e
AJ
42500 [BZ #13656]
42501 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42502 possibly allocate from heap instead of stack.
42503 * stdio-common/bug-vfprintf-nargs.c: New file.
42504 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42505
c6922934
AS
425062012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42507
42508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42509
bc957d53
MP
425102012-03-03 Marek Polacek <polacek@redhat.com>
42511
42512 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42513 * math/math_private.h: Likewise.
42514 * stdlib/tst-strtod.c: Likewise.
42515 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42516 * sysdeps/x86_64/bits/atomic.h: Likewise.
42517
6358490d
DM
425182012-03-02 David S. Miller <davem@davemloft.net>
42519
42520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42524 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42525 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42526 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42527 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42528
01ae168d
RM
425292012-03-02 Roland McGrath <roland@hack.frob.com>
42530
d9a17c07
RM
42531 [BZ #13792]
42532 * manual/examples/README: New file, says the example source files
42533 can be used under GPL>=2.
42534 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42535 line containing just "*/".
42536 * manual/examples/add.c: Add copyright header (GPL>=2).
42537 * manual/examples/argp-ex1.c: Likewise.
42538 * manual/examples/argp-ex2.c: Likewise.
42539 * manual/examples/argp-ex3.c: Likewise.
42540 * manual/examples/argp-ex4.c: Likewise.
42541 * manual/examples/atexit.c: Likewise.
42542 * manual/examples/db.c: Likewise.
42543 * manual/examples/dir.c: Likewise.
42544 * manual/examples/dir2.c: Likewise.
42545 * manual/examples/execinfo.c: Likewise.
42546 * manual/examples/filecli.c: Likewise.
42547 * manual/examples/filesrv.c: Likewise.
42548 * manual/examples/fmtmsgexpl.c: Likewise.
42549 * manual/examples/genpass.c: Likewise.
42550 * manual/examples/inetcli.c: Likewise.
42551 * manual/examples/inetsrv.c: Likewise.
42552 * manual/examples/isockad.c: Likewise.
42553 * manual/examples/longopt.c: Likewise.
42554 * manual/examples/memopen.c: Likewise.
42555 * manual/examples/memstrm.c: Likewise.
42556 * manual/examples/mkfsock.c: Likewise.
42557 * manual/examples/mkisock.c: Likewise.
42558 * manual/examples/mygetpass.c: Likewise.
42559 * manual/examples/pipe.c: Likewise.
42560 * manual/examples/popen.c: Likewise.
42561 * manual/examples/rprintf.c: Likewise.
42562 * manual/examples/search.c: Likewise.
42563 * manual/examples/select.c: Likewise.
42564 * manual/examples/setjmp.c: Likewise.
42565 * manual/examples/sigh1.c: Likewise.
42566 * manual/examples/sigusr.c: Likewise.
42567 * manual/examples/stpcpy.c: Likewise.
42568 * manual/examples/strdupa.c: Likewise.
42569 * manual/examples/strftim.c: Likewise.
42570 * manual/examples/strncat.c: Likewise.
42571 * manual/examples/subopt.c: Likewise.
42572 * manual/examples/swapcontext.c: Likewise.
42573 * manual/examples/termios.c: Likewise.
42574 * manual/examples/testopt.c: Likewise.
42575 * manual/examples/testpass.c: Likewise.
42576 * manual/examples/timeval_subtract.c: Likewise.
42577
01ae168d
RM
42578 [BZ #13792]
42579 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42580 function to ...
42581 * manual/timeval_subtract.c.texi: ... here, new file.
42582
49efa33d
DM
425832012-03-02 David S. Miller <davem@davemloft.net>
42584
42585 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42586
28afd92d
JM
425872012-03-02 Joseph Myers <joseph@codesourcery.com>
42588
804360ed
JM
42589 [BZ #3976]
42590 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42591 (__sin): Save and restore rounding mode and use round-to-nearest
42592 for all computations.
42593 (__cos): Save and restore rounding mode and use round-to-nearest
42594 for all computations.
42595 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42596 <fenv.h>.
42597 (tan): Save and restore rounding mode and use round-to-nearest for
42598 all computations.
42599 * math/libm-test.inc (cos_test_tonearest): New function.
42600 (cos_test_towardzero): Likewise.
42601 (cos_test_downward): Likewise.
42602 (cos_test_upward): Likewise.
42603 (sin_test_tonearest): Likewise.
42604 (sin_test_towardzero): Likewise.
42605 (sin_test_downward): Likewise.
42606 (sin_test_upward): Likewise.
42607 (tan_test_tonearest): Likewise.
42608 (tan_test_towardzero): Likewise.
42609 (tan_test_downward): Likewise.
42610 (tan_test_upward): Likewise.
42611 (main): Call the new functions.
42612 * sysdeps/i386/fpu/libm-test-ulps: Update.
42613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42614
a6d06d7b
JM
42615 [BZ #10135]
42616 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42617 small n, then large n, before computing and testing k+n.
42618 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42620 Likewise.
42621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42622 Likewise.
42623 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42624 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42626 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42627 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42628 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42630 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42631 * math/libm-test.inc (scalbn_test): Add more tests.
42632 (scalbln_test): Likewise.
42633
07e12bb3
JM
42634 * manual/filesys.texi (mode_t): Describe constraints on size and
42635 signedness, not exact equivalence to a particular type.
42636 (ino_t): Likewise.
42637 (ino64_t): Likewise.
42638 (dev_t): Likewise.
42639 (nlink_t): Likewise.
42640 (blkcnt_t): Likewise.
42641 (blkcnt64_t): Likewise.
42642 * manual/llio.texi (off_t): Likewise.
42643
28afd92d
JM
42644 [BZ #3976]
42645 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42646 (__ieee754_exp): Save and restore rounding mode and use
42647 round-to-nearest for all computations.
42648 * math/libm-test.inc (exp_test_tonearest): New function.
42649 (exp_test_towardzero): Likewise.
42650 (exp_test_downward): Likewise.
42651 (exp_test_upward): Likewise.
42652 (main): Call the new functions.
42653 * sysdeps/i386/fpu/libm-test-ulps: Update.
42654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42655
b1eeb65d
CD
426562012-03-01 Chris Demetriou <cgd@google.com>
42657
42658 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42659 have predictable order.
42660
53362a4b
DM
426612012-03-01 David S. Miller <davem@davemloft.net>
42662
3c969083
DM
42663 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42664
759707de
DM
42665 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42666 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42667 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42668 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42669
dfdb8ff2
DM
42670 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42671 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42672 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42674 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42675 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42676 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42677 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42678 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42679
ead89f96
DM
42680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42681
7f66bd07
DM
42682 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42683 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42684 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42685
53362a4b
DM
42686 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42688 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42689 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42690 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42692 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42693 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42694 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42695 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42696 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42699 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42700 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42702 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42703 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42704 * sysdeps/sparc/elf/configure: Regenerated.
42705
7b1902cb
JM
427062012-03-01 Joseph Myers <joseph@codesourcery.com>
42707
bec039bc
JM
42708 * configure.in (AS, LD): Require binutils 2.20 or later.
42709 * configure: Regenerated.
42710 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42711 as required minimum version.
42712 * INSTALL: Regenerated.
42713
7b1902cb
JM
42714 [BZ #2541]
42715 [BZ #4108]
42716 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42717 before squaring exponent.
42718 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42719 bottom long double and 27 bits of top long double before squaring
42720 exponent.
42721 * math/libm-test.inc (erfc_test): Add more tests.
42722 * sysdeps/i386/fpu/libm-test-ulps: Update.
42723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42725
f775c276
KT
427262012-03-01 Kai Tietz <ktietz@redhat.com>
42727
42728 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42729 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42730 containing bit-fields.
42731 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42732 * soft-fp/single.h (_FP_UNION_S): Likewise.
42733 * soft-fp/double.h (_FP_UNION_D): Likewise.
42734
5b8a4d4a
JM
427352012-02-29 Joseph Myers <joseph@codesourcery.com>
42736
0bab47b6
JM
42737 [BZ #13786]
42738 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42739 not include ../strcmp.S.
42740 [USE_AS_STRNCASECMP_L]: Likewise.
42741 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42742 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42743 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42744 (__strncasecmp_l_ia32): Define as alias to
42745 __strncasecmp_l_nonascii.
42746
0fcad3e2
JM
42747 [BZ #5794]
42748 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42749 * sysdeps/i386/fpu/libm-test-ulps: Update.
42750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42751
5b8a4d4a
JM
42752 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42754
8fdceb2e
JL
427552012-02-29 Jeff Law <law@redhat.com>
42756
42757 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42758 out of bounds read.
42759
1f393a11
MP
427602012-02-29 Marek Polacek <polacek@redhat.com>
42761
42762 [BZ #13706]
42763 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42764 * elf/Makefile: Add rules to run tst-unused-dep.out.
42765
8847f037
DM
427662012-02-28 David S. Miller <davem@davemloft.net>
42767
42768 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42769 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42772 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42773 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42774
169d7f11
JM
427752012-02-29 Joseph Myers <joseph@codesourcery.com>
42776
42777 * math/libm-test.inc (llround_test): Move one test from
42778 lround_test. Use TEST_f_L in moved test.
42779 (lround_test): Move misplaced test to llround_test. Add testcase
42780 from bug 2561.
42781
39adf059
UD
427822012-02-28 Ulrich Drepper <drepper@gmail.com>
42783
42784 * sysdeps/x86_64/fpu/e_expf.S: New file.
42785 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42786
71b5d1c5
SB
427872012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42788
42789 [BZ #13637]
42790 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42791 of remain_len that may cause incomplete multi-byte character and
42792 false match.
42793 * posix/bug-regex33.c: New file.
42794 * posix/Makefile (tests): Add bug-regex33.
42795
1f77f049
JM
427962012-02-28 Joseph Myers <joseph@codesourcery.com>
42797
42798 * manual/macros.texi: New file.
42799 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42800 * manual/libc.texinfo: Include macros.texi.
42801 * manual/creatute.texi: Likewise.
42802 * manual/install.texi: Likewise.
42803 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42804 @glibcadj{} in references to the GNU C Library.
42805 * manual/charset.texi: Likewise.
42806 * manual/conf.texi: Likewise.
42807 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42808 when not using those macros.
42809 * manual/creature.texi: Likewise.
42810 * manual/crypt.texi: Likewise.
42811 * manual/errno.texi: Likewise.
42812 * manual/filesys.texi: Likewise.
42813 * manual/header.texi: Likewise.
42814 * manual/install.texi: Likewise.
42815 * manual/intro.texi: Likewise.
42816 * manual/io.texi: Likewise.
42817 * manual/job.texi: Likewise.
42818 * manual/lang.texi: Likewise.
42819 * manual/libc.texiinfo: Likewise.
42820 * manual/llio.texi: Likewise.
42821 * manual/locale.texi: Likewise.
42822 * manual/maint.texi: Likewise.
42823 * manual/math.texi: Likewise.
42824 * manual/memory.texi: Likewise.
42825 * manual/message.texi: Likewise.
42826 * manual/nss.texi: Likewise.
42827 * manual/pattern.texi: Likewise.
42828 * manual/process.texi: Likewise.
42829 * manual/resource.texi: Likewise.
42830 * manual/search.texi: Likewise.
42831 * manual/setjmp.texi: Likewise.
42832 * manual/signal.texi: Likewise.
42833 * manual/socket.texi: Likewise.
42834 * manual/startup.texi: Likewise.
42835 * manual/stdio.texi: Likewise.
42836 * manual/string.texi: Likewise.
42837 * manual/sysinfo.texi: Likewise.
42838 * manual/syslog.texi: Likewise.
42839 * manual/terminal.texi: Likewise.
42840 * manual/time.texi: Likewise.
42841 * manual/users.texi: Likewise.
42842 * INSTALL: Regenerated.
42843 * NOTES: Regenerated.
d40c5d54 42844 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42845
450bf206
AS
428462012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42847
42848 * include/dirent.h: Include <dirstream.h> before
42849 <dirent/dirent.h>.
42850
741a235b
DM
428512012-02-28 David S. Miller <davem@davemloft.net>
42852
42853 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42854 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42855 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42856 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42857
d6b5aa58
DM
428582012-02-27 David S. Miller <davem@davemloft.net>
42859
1aff59a3
DM
42860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42862 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42863 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42864
d6b5aa58
DM
42865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42866 frame pointer instead of stack pointer relative arg slot.
42867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42868 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42869 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42870
433f48bf
CD
428712012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42872
42873 [BZ #3992]
42874 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42875
d674b76d
DM
428762012-02-27 David S. Miller <davem@davemloft.net>
42877
42878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42882 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42883 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42884 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42885 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42886
0e7727f7
JM
428872012-02-27 Joseph Myers <joseph@codesourcery.com>
42888
42889 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42890 later. Allow versions 5-9.
43be4ca2 42891 * configure: Regenerated.
0e7727f7
JM
42892 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42893 required minimum version and 4.6 as recommended version. Do not
42894 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42895 * INSTALL: Regenerated.
0e7727f7 42896
a78bc654
DM
428972012-02-27 David S. Miller <davem@davemloft.net>
42898
428d5830
DM
42899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42903 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42904 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42905 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42906 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42907
a78bc654
DM
42908 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42909 manipulate bits before adding and subtracting TWO112[sx].
42910 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42911
4579f81c
RM
429122012-02-27 Roland McGrath <roland@hack.frob.com>
42913
36c8acb4
RM
42914 [BZ #13775]
42915 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42916 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42917 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42918 being in POSIX, because they are in 1003.1-2008.
42919
84ad622b
RM
42920 * rt/tst-aio.c: Include <fcntl.h>.
42921 * rt/tst-aio7.c: Likewise.
42922 * rt/tst-aio64.c: Likewise.
42923
4579f81c
RM
42924 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42925
abd923db
JM
429262012-02-27 Joseph Myers <joseph@codesourcery.com>
42927
42928 * manual/install.texi (--with-headers): Describe headers as
42929 interface headers, not private headers.
42930 (Specific advice for GNU/Linux systems): Describe use of headers
42931 from "make headers_install", not private headers from older
42932 kernels.
43be4ca2 42933 * INSTALL: Regenerated.
abd923db
JM
42934 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42935 Change to 2.6.19.
42936 * sysdeps/unix/sysv/linux/configure: Regenerated.
42937
6664049b
JM
42938 * manual/llio.texi (fclean): Remove documentation.
42939
bb8b6697
JM
42940 * manual/Makefile (libc-texi-generated): New variable. Include
42941 version.texi.
42942 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42943 $(libc-texi-generated), not duplicated list of files.
42944 (version.texi, stamp-version): New rules.
42945 (realclean): Remove $(libc-texi-generated), not individual files
42946 from that list. Do not remove dir-add.texinfo.
42947 * manual/libc.texinfo: Comment out uses of edition numbers and
42948 references to printed manual. Remove last-updated dates.
42949 (EDITION): Comment out.
42950 (ISBN): Likewise.
42951 (VERSION, UPDATED): Remove.
42952 (version.texi): Include.
42953
12e5c3b9
AS
429542012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42955
42956 * sysdeps/posix/spawni.c: Include <signal.h>.
42957 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42958 * sysdeps/pthread/aio_fsync.c: Likewise.
42959
4efeffc1 429602012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42961
ba63ba08
UD
42962 * conform/Makefile (tests): Run only when not cross-compiling and
42963 when fast-check is not defined.
42964
d94a4670
UD
42965 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42966 * conform/data/limits.h-data: Fixes for POSIX2008.
42967 * conform/run-conformtest.sh: Run all tests.
42968 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42969 headers.
42970 * include/bits/dlfcn.h: Likewise.
42971 * include/langinfo.h: Likewise.
42972 * include/monetary.h: Likewise.
42973 * include/sys/poll.h: Likewise.
42974
42975 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42976 for __USE_GNU.
42977 * posix/spawn.h: Define __need_sigset_t.
42978 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42979 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42980 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42981 to get sigevent_t only.
42982 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42983 only for __USE_GNU.
42984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42985 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42986 process_vm_writev only for __USE_GNU.
42987 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42988
42989 * conform/Makefile: For now ignore errors from run-conformtest.
42990 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42991 POSIX to avoid namespace pollution. Don't prepend headers.
42992 * conform/data/aio.h-data: Fixes for POSIX testing.
42993 * conform/data/fcntl.h-data: Likewise.
42994 * conform/data/glob.h-data: Likewise.
42995 * conform/data/grp.h-data: Likewise.
42996 * conform/data/pthread.h-data: Likewise.
42997 * conform/data/pwd.h-data: Likewise.
42998 * conform/data/signal.h-data: Likewise.
42999 * conform/data/spawn.h-data: Likewise.
43000 * conform/data/stdio.h-data: Likewise.
43001 * conform/data/stdlib.h-data: Likewise.
43002 * conform/data/stropts.h-data: Likewise.
43003 * conform/data/sys/mman.h-data: Likewise.
43004 * conform/data/sys/stat.h-data: Likewise.
43005 * conform/data/sys/types.h-data: Likewise.
43006 * conform/data/sys/wait.h-data: Likewise.
43007 * conform/data/time.h-data: Likewise.
43008 * conform/data/unistd.h-data: Likewise.
43009 * conform/data/utime.h-data: Likewise.
43010
43011 * io/sys/stat.h: fchmod was always in POSIX.
43012 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43013 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43014 * rt/aio.h: Define __need_timespec before including <time.h>.
43015 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43016 struct. Add forward declaration of pthread_attr_t and use it in
43017 sigevent.
43018 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43019 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43020 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43021 always remove CLK_TCK definition.
43022
c20105c3
AS
430232012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43024
43025 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43026
7a270350
UD
430272012-02-25 Ulrich Drepper <drepper@gmail.com>
43028
31341567
UD
43029 * conform/run-conformtest.sh: New file.
43030 * conform/Makefile: Run run-conformtest for tests.
43031 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43032 support.
43033
43034 * conform/data/uchar.h-data: New file.
43035 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43036 * conform/data/arpa/inet.h-data: Likewise.
43037 * conform/data/assert.h-data: Likewise.
43038 * conform/data/complex.h-data: Likewise.
43039 * conform/data/cpio.h-data: Likewise.
43040 * conform/data/ctype.h-data: Likewise.
43041 * conform/data/dirent.h-data: Likewise.
43042 * conform/data/dlfcn.h-data: Likewise.
43043 * conform/data/errno.h-data: Likewise.
43044 * conform/data/fcntl.h-data: Likewise.
43045 * conform/data/float.h-data: Likewise.
43046 * conform/data/fmtmsg.h-data: Likewise.
43047 * conform/data/fnmatch.h-data: Likewise.
43048 * conform/data/ftw.h-data: Likewise.
43049 * conform/data/glob.h-data: Likewise.
43050 * conform/data/grp.h-data: Likewise.
43051 * conform/data/iconv.h-data: Likewise.
43052 * conform/data/inttypes.h-data: Likewise.
43053 * conform/data/langinfo.h-data: Likewise.
43054 * conform/data/libgen.h-data: Likewise.
43055 * conform/data/limits.h-data: Likewise.
43056 * conform/data/locale.h-data: Likewise.
43057 * conform/data/math.h-data: Likewise.
43058 * conform/data/monetary.h-data: Likewise.
43059 * conform/data/mqueue.h-data: Likewise.
43060 * conform/data/ndbm.h-data: Likewise.
43061 * conform/data/net/if.h-data: Likewise.
43062 * conform/data/netdb.h-data: Likewise.
43063 * conform/data/netinet/in.h-data: Likewise.
43064 * conform/data/nl_types.h-data: Likewise.
43065 * conform/data/poll.h-data: Likewise.
43066 * conform/data/pthread.h-data: Likewise.
43067 * conform/data/pwd.h-data: Likewise.
43068 * conform/data/regex.h-data: Likewise.
43069 * conform/data/sched.h-data: Likewise.
43070 * conform/data/search.h-data: Likewise.
43071 * conform/data/semaphore.h-data: Likewise.
43072 * conform/data/setjmp.h-data: Likewise.
43073 * conform/data/signal.h-data: Likewise.
43074 * conform/data/spawn.h-data: Likewise.
43075 * conform/data/stdarg.h-data: Likewise.
43076 * conform/data/stdio.h-data: Likewise.
43077 * conform/data/stdlib.h-data: Likewise.
43078 * conform/data/string.h-data: Likewise.
43079 * conform/data/strings.h-data: Likewise.
43080 * conform/data/stropts.h-data: Likewise.
43081 * conform/data/sys/ipc.h-data: Likewise.
43082 * conform/data/sys/mman.h-data: Likewise.
43083 * conform/data/sys/msg.h-data: Likewise.
43084 * conform/data/sys/resource.h-data: Likewise.
43085 * conform/data/sys/select.h-data: Likewise.
43086 * conform/data/sys/sem.h-data: Likewise.
43087 * conform/data/sys/shm.h-data: Likewise.
43088 * conform/data/sys/socket.h-data: Likewise.
43089 * conform/data/sys/stat.h-data: Likewise.
43090 * conform/data/sys/statvfs.h-data: Likewise.
43091 * conform/data/sys/time.h-data: Likewise.
43092 * conform/data/sys/timeb.h-data: Likewise.
43093 * conform/data/sys/times.h-data: Likewise.
43094 * conform/data/sys/types.h-data: Likewise.
43095 * conform/data/sys/uio.h-data: Likewise.
43096 * conform/data/sys/un.h-data: Likewise.
43097 * conform/data/sys/utsname.h-data: Likewise.
43098 * conform/data/sys/wait.h-data: Likewise.
43099 * conform/data/syslog.h-data: Likewise.
43100 * conform/data/tar.h-data: Likewise.
43101 * conform/data/termios.h-data: Likewise.
43102 * conform/data/utime.h-data: Likewise.
43103 * conform/data/utmpx.h-data: Likewise.
43104 * conform/data/varargs.h-data: Likewise.
43105 * conform/data/wchar.h-data: Likewise.
43106 * conform/data/wctype.h-data: Likewise.
43107 * conform/data/wordexp.h-data: Likewise.
43108
43109 * include/stropts.h: New file.
43110 * include/uchar.h: New file.
43111 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43112 * include/assert.h: Likewise.
43113 * include/ctype.h: Likewise.
43114 * include/dirent.h: Likewise.
43115 * include/dlfcn.h: Likewise.
43116 * include/fcntl.h: Likewise.
43117 * include/fnmatch.h: Likewise.
43118 * include/glob.h: Likewise.
43119 * include/grp.h: Likewise.
43120 * include/libio.h: Likewise.
43121 * include/locale.h: Likewise.
43122 * include/math.h: Likewise.
43123 * include/net/if.h: Likewise.
43124 * include/netdb.h: Likewise.
43125 * include/netinet/in.h: Likewise.
43126 * include/pthread.h: Likewise.
43127 * include/pwd.h: Likewise.
43128 * include/regex.h: Likewise.
43129 * include/sched.h: Likewise.
43130 * include/search.h: Likewise.
43131 * include/setjmp.h: Likewise.
43132 * include/signal.h: Likewise.
43133 * include/stdio.h: Likewise.
43134 * include/stdlib.h: Likewise.
43135 * include/string.h: Likewise.
43136 * include/sys/cdefs.h: Likewise.
43137 * include/sys/mman.h: Likewise.
43138 * include/sys/msg.h: Likewise.
43139 * include/sys/resource.h: Likewise.
43140 * include/sys/select.h: Likewise.
43141 * include/sys/socket.h: Likewise.
43142 * include/sys/stat.h: Likewise.
43143 * include/sys/statvfs.h: Likewise.
43144 * include/sys/time.h: Likewise.
43145 * include/sys/times.h: Likewise.
43146 * include/sys/uio.h: Likewise.
43147 * include/sys/utsname.h: Likewise.
43148 * include/sys/wait.h: Likewise.
43149 * include/termios.h: Likewise.
43150 * include/time.h: Likewise.
43151 * include/ulimit.h: Likewise.
43152 * include/unistd.h: Likewise.
43153 * include/utime.h: Likewise.
43154 * include/wchar.h: Likewise.
43155 * include/wctype.h: Likewise.
43156 * include/wordexp.h: Likewise.
43157
43158 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43159
7a270350
UD
43160 * time/time.h: TIME_UTC must be a macro.
43161 Make timespec_get available for ISO C11 only as well.
43162
7724defc
UD
431632012-02-24 Ulrich Drepper <drepper@gmail.com>
43164
43165 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43166 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43167
6b1d1d46
JM
431682012-02-24 Joseph Myers <joseph@codesourcery.com>
43169
43170 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43171
0f8bbd69
JM
431722012-02-24 Joseph Myers <joseph@codesourcery.com>
43173
43174 * manual/texinfo.tex: Update to version 2012-01-19.16.
43175
66ab80bc
JM
431762012-02-24 Joseph Myers <joseph@codesourcery.com>
43177
43178 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43179
74981cc5
RM
431802012-02-24 Roland McGrath <roland@hack.frob.com>
43181
ee968201
RM
43182 [BZ #13738]
43183 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43184 * manual/fdl-1.3.texi: New file.
43185 * manual/fdl-1.1.texi: File removed.
43186
74981cc5
RM
43187 [BZ #13738]
43188 * manual/libc.texinfo (FDL_VERSION): New @set.
43189 Use it for mention of FDL in cover text.
43190 (Documentation License): Use it in @include file name.
43191
7bb764bc
JM
431922012-02-22 Joseph Myers <joseph@codesourcery.com>
43193 Roland McGrath <roland@hack.frob.com>
43194
43195 [BZ #5461]
57f41c40
AS
43196 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43197 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43198 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43199 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43200 name.
43201 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43202
6cbeae47
JM
432032012-02-22 Joseph Myers <joseph@codesourcery.com>
43204
43205 [BZ #2547]
43206 [BZ #11365]
43207 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43208 manipulate bits before adding and subtracting TWO23[sx].
43209 * math/libm-test.inc (nearbyint_test): Add more tests.
43210
fe45ce09
JM
432112012-02-22 Joseph Myers <joseph@codesourcery.com>
43212
43213 [BZ #2548]
43214 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43215 bits before adding and subtracting TWO23[sx].
43216 * math/libm-test.inc (rint_test): Add more tests.
43217 (rint_test_tonearest): Likewise.
43218 (rint_test_towardzero): Likewise.
43219 (rint_test_downward): Likewise.
43220 (rint_test_upward: Likewise.
43221
ff3b3d82
JM
432222012-02-22 Joseph Myers <joseph@codesourcery.com>
43223
43224 [BZ #10110]
43225 * include/stdc-predef.h: New file. Extracted from features.h.
43226 * include/features.h: Include stdc-predef.h.
43227 * Makefile (headers): Add stdc-predef.h.
43228 * CONFORMANCE (Compiler limitations): Update.
43229
ef0aab35
JM
432302012-02-22 Joseph Myers <joseph@codesourcery.com>
43231
43232 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43233
58639409
DM
432342012-02-21 David S. Miller <davem@davemloft.net>
43235
43236 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43237 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43238
c0e70b25
DM
432392012-02-20 David S. Miller <davem@davemloft.net>
43240
43241 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43242 using a normal save/restore sequence, rather than allocating a
43243 dummy stack frame just to store a frame pointer and restore.
43244 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43245
fb06851d
JM
432462012-02-21 Joseph Myers <joseph@codesourcery.com>
43247
43248 * manual/install.texi: Fix stray word in line-wrapped comment.
43249
7a8b71c3
DM
432502012-02-20 David S. Miller <davem@davemloft.net>
43251
d510c123
DM
43252 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43253 both binutils and gcc support GOTDATA.
43254
0722d7c2
DM
43255 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43256 "rd %pc" in the PIC register setup sequences.
43257
3d2b3019
DM
43258 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43259 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43260 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43261 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43262 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43264 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43267 (SYSCALL_ERROR_HANDLER): Likewise.
43268 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43269 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43271 (SYSCALL_ERROR_HANDLER): Likewise.
43272
c80098a9
DM
43273 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43274 (HAVE_GCC_GOTDATA): New.
43275 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43276 relocation support in both binutils and gcc.
43277 * sysdeps/sparc/elf/configure: Regenerate.
43278
3a2545a0
DM
43279 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43280 * sysdeps/sparc/sparc32/elf/configure: Delete.
43281 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43282 * sysdeps/sparc/sparc64/elf/configure: Delete.
43283 * sysdeps/sparc/elf/configure.in: New file.
43284 * sysdeps/sparc/elf/configure: Generate.
43285
7a8b71c3
DM
43286 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43287 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43288 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43289 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43290 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43291
f1e86fca
JM
432922012-02-21 Joseph Myers <joseph@codesourcery.com>
43293
43294 * manual/install.texi: Do not mention specific glibc version
43295 numbers.
43296 * manual/libc.texinfo (VERSION, UPDATED): Update.
43297 (@copying): Use @copyright{} and range of years.
43298
0e7dfaef
JM
432992012-02-21 Joseph Myers <joseph@codesourcery.com>
43300
43301 [BZ #13695]
43302 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43303 [crti.S not in sysdirs] (generated): Do not append.
43304 [crti.S not in sysdirs] (omit-deps): Likewise.
43305 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43306 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43307 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43308 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43309 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43310 Likewise.
43311 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43312 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43313 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43314 * csu/defs.awk: Remove file.
43315 * sysdeps/generic/initfini.c: Likewise.
43316 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43317 variable.
43318 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43319 Likewise.
43320
599af3ca
JM
433212012-02-20 Joseph Myers <joseph@codesourcery.com>
43322
43323 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43324 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43325 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43327 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43328 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43329 <bits/epoll.h>.
43330 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43331 (__EPOLL_PACKED): Define to empty if not defined by
43332 <bits/epoll.h>.
43333 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43335 bits/epoll.h.
43336
0e499750
JM
433372012-02-20 Joseph Myers <joseph@codesourcery.com>
43338
43339 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43340 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43341 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43342 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43343 <bits/timerfd.h>.
43344 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43346 bits/timerfd.h.
43347
5ad91f6e
JM
433482012-02-20 Joseph Myers <joseph@codesourcery.com>
43349
43350 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43351 in C locale.
43352 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43353 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43356
06b99b02
AJ
433572012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43358
43359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43360 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43361
7638c0fd
AS
433622012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43363
43364 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43365 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43366 defined.
43367 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43368 Likewise.
43369 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43370 entry for 2.16.
43371
92221550
AJ
433722012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43373
43374 * math/w_acos.c: Use non-signaling floating-point comparisons.
43375 * math/w_acosf.c: Likewise.
43376 * math/w_acosh.c: Likewise.
43377 * math/w_acoshf.c: Likewise.
43378 * math/w_acoshl.c: Likewise.
43379 * math/w_acosl.c: Likewise.
43380 * math/w_asin.c: Likewise.
43381 * math/w_asinf.c: Likewise.
43382 * math/w_asinl.c: Likewise.
43383 * math/w_atanh.c: Likewise.
43384 * math/w_atanhf.c: Likewise.
43385 * math/w_atanhl.c: Likewise.
43386 * math/w_exp2.c: Likewise.
43387 * math/w_exp2f.c: Likewise.
43388 * math/w_exp2l.c: Likewise.
43389 * math/w_j0.c: Likewise.
43390 * math/w_j0f.c: Likewise.
43391 * math/w_j0l.c: Likewise.
43392 * math/w_j1.c: Likewise.
43393 * math/w_j1f.c: Likewise.
43394 * math/w_j1l.c: Likewise.
43395 * math/w_jn.c: Likewise.
43396 * math/w_jnf.c: Likewise.
43397 * math/w_log.c: Likewise.
43398 * math/w_log10.c: Likewise.
43399 * math/w_log10f.c: Likewise.
43400 * math/w_log10l.c: Likewise.
43401 * math/w_log2.c: Likewise.
43402 * math/w_log2f.c: Likewise.
43403 * math/w_log2l.c: Likewise.
43404 * math/w_logf.c: Likewise.
43405 * math/w_logl.c: Likewise.
43406 * math/w_sqrt.c: Likewise.
43407 * math/w_sqrtf.c: Likewise.
43408 * math/w_sqrtl.c: Likewise.
43409 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43410 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43411 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43412 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43413 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43414
ebaf36eb
JM
434152012-02-19 Joseph Myers <joseph@codesourcery.com>
43416
43417 [BZ #9739]
43418 * manual/string.texi (strnlen): Use correct parameter name in
43419 equivalent expression.
43420
71c254a6
JM
434212012-02-19 Joseph Myers <joseph@codesourcery.com>
43422
43423 [BZ #11174]
43424 * manual/users.texi (seteuid): Consistently use neweuid for
43425 argument name.
43426
16d2c631
JM
434272012-02-19 Joseph Myers <joseph@codesourcery.com>
43428
43429 [BZ #13704]
43430 * manual/nss.texi (Services in the NSS configuration): Correct
43431 list of services in example configuration file.
43432
cd837b09
NB
434332012-02-19 Nick Bowler <nbowler@draconx.ca>
43434
43435 [BZ #11322]
43436 * manual/arith.texi: Remove statements about negative zero
43437 behaving identically to zero.
43438
02c4bbad
JM
434392012-02-18 Joseph Myers <joseph@codesourcery.com>
43440
43441 [BZ #5993]
43442 * manual/install.texi: Do not document upgrading from libc5.
43443
366842e7
JM
434442012-02-18 Joseph Myers <joseph@codesourcery.com>
43445
43446 [BZ #4596]
43447 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43448
dd54084d
DM
434492012-02-18 David S. Miller <davem@davemloft.net>
43450
43451 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43452 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43453 %o7 across the call.
43454 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43455 instead.
43456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43457 SETUP_PIC_REG_LEAF.
43458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43459 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43460 * sysdeps/sparc/crtn.S: Likewise.
43461
2bcc53a3
UD
434622012-02-17 Ulrich Drepper <drepper@gmail.com>
43463
43464 * aout/Makefile: Remove.
43465
09c093b5
RK
434662012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43467
43468 [BZ #13058]
43469 * manual/examples/argp-ex1.c (main): Format definition in GNU
43470 style.
43471 * manual/examples/argp-ex2.c (main): Likewise.
43472 * manual/examples/argp-ex3.c (main): Likewise.
43473 * manual/examples/argp-ex4.c (main): Likewise.
43474 * manual/examples/longopt.c (main): Use new-style prototype
43475 definition.
43476 * manual/examples/strncat.c (main): Specify return type and use
43477 (void) for arguments.
43478 * manual/examples/subopt.c (main): Use char **argv argument.
43479
2ee633a2
JM
434802012-02-17 Joseph Myers <joseph@codesourcery.com>
43481
43482 [BZ #5077]
43483 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43484 rounding modes.
43485
0520adde
FB
434862012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43487
43488 [BZ #6907]
43489 * manual/string.texi (strchr): Change when strchrnul is
43490 recommended.
43491
3f4081cd
DGM
434922012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43493
43494 [BZ #174]
43495 * manual/locale.texi (setlocale): Document LOCPATH.
43496
d1b10e78
JM
434972012-02-17 Joseph Myers <joseph@codesourcery.com>
43498
43499 [BZ #10210]
43500 * manual/process.texi (execle): Move @dots{} before last argument.
43501
79c6869c
PB
435022012-02-17 Paul Bolle <pebolle@tiscali.nl>
43503
43504 [BZ #12047]
43505 * manual/charset.texi (Generic Charset Conversion): Fix typo
43506 (LC_TYPE -> LC_CTYPE).
43507
cc6e48bc
NB
435082012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43509
43510 [BZ #5805]
43511 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43512 (scalbnf): Likewise.
43513 (scalbnl): Likewise.
43514 (scalbln): Likewise.
43515 (scalblnf): Likewise.
43516 (scalblnl): Likewise.
43517 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43518 (vwarnx): Likewise.
43519 (verr): Likewise.
43520 (verrx): Likewise.
43521 * manual/filesys.texi (telldir): Use braces around return type.
43522 * manual/llio.texi (mmap): Add space after comma.
43523 (mmap64): Likewise.
43524 * manual/math.texi (jn): Use @var{} on parameter names.
43525 (jnf): Likewise.
43526 (jnl): Likewise.
43527 (yn): Likewise.
43528 (ynf): Likewise.
43529 (ynl): Likewise.
43530 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43531 line.
43532 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43533 "...".
43534 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43535 (sched_get_priority_max): Likewise.
43536 * manual/signal.texi (sigvec): Add space after comma.
43537 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43538 names.
43539 (if_indextoname): Likewise.
43540 (if_freenameindex): Likewise.
43541 (sendto): Use ',' instead of '.' in prototype.
43542 * manual/startup.texi (syscall): Use @dots{} instead of literal
43543 "...".
43544 * manual/stdio.texi (__fpending): Separate initial words of
43545 paragraph from @deftypefun line.
43546 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43547 "...".
43548 (vsyslog): Use @var{} on parameter names.
43549 * manual/terminal.texi (stty): Use @var{} on parameter names.
43550 * manual/users.texi (getutmp): Use @var{} on parameter names.
43551 (getutmpx): Likewise.
43552
5b23062f
JM
435532012-02-17 Joseph Myers <joseph@codesourcery.com>
43554
43555 [BZ #6884]
43556 * manual/stdio.texi (fopen): Fix typos in description of
43557 ",ccs=STRING".
43558
8dee4833
AJ
435592012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43560
43561 [BZ #4026]
43562 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43563 get clock_id definition.
43564
9078ce93
TS
435652012-02-17 Thomas Schwinge <thomas@schwinge.name>
43566
43567 [BZ #4822]
43568 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43569 (madvise): Cast every argument to void on its own.
43570
3835c55f
JM
435712012-02-17 Joseph Myers <joseph@codesourcery.com>
43572
43573 [BZ #9902]
43574 * manual/startup.texi (Exit Status): Fix typo.
43575
35c47e37
JM
435762012-02-17 Joseph Myers <joseph@codesourcery.com>
43577
43578 [BZ #10140]
43579 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43580 * manual/examples/argp-ex2.c: Likewise.
43581 * manual/examples/argp-ex3.c: Likewise.
43582
e3b69ca7
RH
435832012-02-16 Richard Henderson <rth@redhat.com>
43584
43585 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43586 * sysdeps/s390/s390-32/initfini.c: Remove.
43587 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43588 * sysdeps/s390/s390-64/initfini.c: Remove.
43589
df83af67
KK
435902012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43591
43592 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43593 compiler output for sysdeps/generic/initfini.c.
43594 * sysdeps/sh/elf/initfini.c: Remove file.
43595
f63f3380
DM
435962012-02-16 David S. Miller <davem@davemloft.net>
43597
fb59b3a4
DM
43598 [BZ #11494]
43599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43600
f63f3380
DM
43601 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43602 * sysdeps/sparc/crti.S: New file.
43603 * sysdeps/sparc/crtn.S: New file.
43604 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43605 * sysdeps/sparc/sparc64/Makefile: Likewise.
43606
df6a4a4a
MF
436072012-02-15 Mike Frysinger <vapier@gentoo.org>
43608
6dd8f3dc 43609 [BZ #3335]
df6a4a4a
MF
43610 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43611
1cac7236
RM
436122012-02-15 Roland McGrath <roland@hack.frob.com>
43613
d2c736f8
RM
43614 [BZ #4822]
43615 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43616
1cac7236
RM
43617 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43618 (write, read, close): Likewise.
43619 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43620
8e475601
JM
436212012-02-15 Joseph Myers <joseph@codesourcery.com>
43622
43623 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43624 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43625 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43626 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43627 <bits/signalfd.h>.
43628 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43630 bits/signalfd.h.
43631
ed656b40
MP
436322012-02-14 Marek Polacek <polacek@redhat.com>
43633
43634 * sysdeps/x86_64/crti.S: New file.
43635 * sysdeps/x86_64/crtn.S: New file.
43636 * sysdeps/x86_64/elf/initfini.c: Remove file.
43637
2a979d3a
JM
436382012-02-13 Joseph Myers <joseph@codesourcery.com>
43639
43640 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43641 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43642 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43643 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43644 <bits/inotify.h>.
43645 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43647 bits/inotify.h.
43648
2a418ac3
JM
436492012-02-13 Joseph Myers <joseph@codesourcery.com>
43650
43651 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43652 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43653 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43654 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43655 <bits/eventfd.h>.
43656 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43658 bits/eventfd.h.
43659
fb779be7
TS
436602012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43661
e19e83c5
RM
43662 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43663 __feraiseexcept instead of feraiseexcept.
7c35ffed 43664
fb779be7
TS
43665 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43666 nanosleep invocations.
43667 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43668 strings, and add error checking for a nanosleep invocations.
43669
59ba27a6
PE
436702012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43671
43672 Replace FSF snail mail address with URLs, as per GNU coding standards.
43673 Most of the snail mail addresses were wrong anyway, and omitting
43674 them makes the source code easier to maintain. Almost all of the
43675 changes are to license notices and to locale LC_IDENTIFICATION
43676 addresses, except for this one:
43677 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43678 not its snail mail address.
43679
57b957eb
RH
436802012-02-09 Richard Henderson <rth@twiddle.net>
43681
af850b1c
RH
43682 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43683 of kernel-features.h.
43684
57b957eb
RH
43685 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43686
6b73181a
MP
436872012-02-08 Marek Polacek <polacek@redhat.com>
43688
43689 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43690 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43691 * sysdeps/gnu/_G_config.h: Likewise.
43692 * sysdeps/generic/_G_config.h: Likewise.
43693
26ecc33a
AS
436942012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43695
6c6dbc63
AS
43696 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43697 tests.
43698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43699
e216c012
AS
43700 * sysdeps/powerpc/powerpc32/crti.S: New file.
43701 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43702 * sysdeps/powerpc/powerpc64/crti.S: New file.
43703 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43704
26ecc33a
AS
43705 * Makeconfig (have-initfini): Don't set.
43706 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43707 * configure.in (nopic_initfini): Don't substitute.
43708 * config.h.in (HAVE_INITFINI): Don't #undef.
43709 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43710 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43711
3add8e13
JM
437122012-02-08 Joseph Myers <joseph@codesourcery.com>
43713
43714 Support crti.S and crtn.S provided directly by architectures.
43715 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43716 [crti.S in sysdirs] (omit-deps): Likewise.
43717 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43718 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43719 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43720 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43721 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43722 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43723 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43724 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43725 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43726 compiler output for sysdeps/generic/initfini.c.
43727 * sysdeps/i386/elf/Makefile: Remove file.
43728 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43729
a22f12b4
MP
437302012-02-07 Marek Polacek <polacek@redhat.com>
43731
43732 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43733 * sysdeps/gnu/_G_config.h: Likewise.
43734 * sysdeps/mach/hurd/_G_config.h: Likewise.
43735
148cf100
MP
437362012-02-07 Marek Polacek <polacek@redhat.com>
43737
43738 * math/Makefile (tests): Add tst-CMPLX2.
43739 * math/tst-CMPLX2.c: New file.
43740
cfdc0dd7
AS
437412012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43742
84ba42c4
AS
43743 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43744
cfdc0dd7
AS
43745 * math/libm-test.inc (jn_test): Add missing L suffix.
43746
622c86f4
MP
437472012-02-06 Marek Polacek <polacek@redhat.com>
43748
43749 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43750 * sysdeps/i386/fpu/e_powf.S: Likewise.
43751 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43752 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43753 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43754 * sysdeps/i386/fpu/e_pow.S: Likewise.
43755 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43756 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43757 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43758 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43759 * sysdeps/i386/fpu/e_log2.S: Likewise.
43760 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43761 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43762 * sysdeps/i386/fpu/e_powl.S: Likewise.
43763 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43764 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43765 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43766 * sysdeps/i386/fpu/e_logl.S: Likewise.
43767 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43768 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43769 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43770 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43771 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43772 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43773 * sysdeps/i386/fpu/e_log.S: Likewise.
43774 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43775 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43776 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43777 * sysdeps/i386/fpu/e_logf.S: Likewise.
43778 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43779 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43780 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43781 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43782 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43783 * sysdeps/i386/fpu/e_log10.S: Likewise.
43784 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43785 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43786 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43787 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43788 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43789 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43790 * sysdeps/i386/asm-syntax.h: Likewise.
43791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43792 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43793 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43794 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43795 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43796 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43797 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43798 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43799 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43800 * sysdeps/powerpc/sysdep.h: Likewise.
43801 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43802 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43803
d4a54ac6
JM
438042012-02-06 Joseph Myers <joseph@codesourcery.com>
43805
43806 [BZ #411]
43807 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43808
314054ea
JM
438092012-02-06 Joseph Myers <joseph@codesourcery.com>
43810
43811 * sysdeps/i386/sysdep.h: Include <features.h>.
43812 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43813 version.
43814
d8e0ca50
JM
438152012-02-05 Joseph Myers <joseph@codesourcery.com>
43816
43817 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43818 Define.
43819 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43820 LOAD_PIC_REG_STR.
43821
b1da7dd9
JM
438222012-02-03 Joseph Myers <joseph@codesourcery.com>
43823
43824 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43825 (SETUP_PIC_REG): Use GET_PC_THUNK.
43826 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43827 macro.
43828
9a1d9254
JM
438292012-02-03 Joseph Myers <joseph@codesourcery.com>
43830
43831 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43832 for non-PIC compilation.
43833 (SETUP_PIC_REG): Add .p2align directive.
43834 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43835 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43836 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43837 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43838 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43840 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43841 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43842 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43843 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43844 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43845 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43846 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43847 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43848 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43849 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43850 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43851 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43852 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43853 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43854 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43856 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43857 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43858 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43860 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43861 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43862 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43863 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43864 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43865 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43866 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43867 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43868 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43869 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43870 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43871 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43872 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43873 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43874 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43875
65dc3b75
JM
438762012-02-03 Joseph Myers <joseph@codesourcery.com>
43877
43878 * math/tst-CMPLX.c: Include <stdio.h>.
43879
d55bf177
JM
438802012-01-31 Joseph Myers <joseph@codesourcery.com>
43881
43882 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43883 float.
43884 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43885 * sysdeps/sparc/bits/mathdef.h: Likewise.
43886
69db4f8f
MP
438872012-01-31 Marek Polacek <polacek@redhat.com>
43888
43889 * libio/libio.h: Don't define _PARAMS.
43890 * locale/programs/config.h: Don't define PARAMS.
43891 * stdlib/strtol_l.c: Likewise.
43892 (__strtol_l): Remove PARAMS from the prototype.
43893
41b81892
UD
438942012-01-31 Ulrich Drepper <drepper@gmail.com>
43895
3b49edc0
UD
43896 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43897 names. Just use the correct names. Remove unnecessary wrapper
43898 functions.
43899 * malloc/arena.c: Likewise.
43900 * malloc/hooks.c: Likewise.
43901
41b81892
UD
43902 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43903 ARENA_TEST says not to. Simplify test for creation of a new arena.
43904 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43905
27a25b6e
UD
439062012-01-30 Ulrich Drepper <drepper@gmail.com>
43907
43908 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43909 into tail calls.
43910 (update_get_addr): New function.
43911 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43912 GET_ADDR_MODULE parameter.
43913
c8a89e7d
JM
439142012-01-30 Joseph Myers <joseph@codesourcery.com>
43915
43916 * crypt/cert.c: Remove __STDC__ conditionals.
43917 * crypt/crypt-entry.c: Likewise.
43918 * crypt/crypt_util.c: Likewise.
43919 * libio/filedoalloc.c: Likewise.
43920 * libio/fileops.c: Likewise.
43921 * libio/genops.c: Likewise.
43922 * libio/iofclose.c: Likewise.
43923 * libio/iofdopen.c: Likewise.
43924 * libio/iofopen.c: Likewise.
43925 * libio/iofopen64.c: Likewise.
43926 * libio/iogetdelim.c: Likewise.
43927 * libio/iopopen.c: Likewise.
43928 * libio/obprintf.c: Likewise.
43929 * libio/oldfileops.c: Likewise.
43930 * libio/oldiofclose.c: Likewise.
43931 * libio/oldiofdopen.c: Likewise.
43932 * libio/oldiofopen.c: Likewise.
43933 * libio/oldiopopen.c: Likewise.
43934 * libio/wfiledoalloc.c: Likewise.
43935 * libio/wgenops.c: Likewise.
43936 * locale/programs/xmalloc.c: Likewise.
43937 * misc/syslog.c: Likewise.
43938 * stdio-common/xbug.c: Likewise.
43939 * string/memchr.c: Likewise.
43940 * string/memcmp.c: Likewise.
43941 * string/memrchr.c: Likewise.
43942 * string/rawmemchr.c: Likewise.
43943 * sysdeps/posix/getcwd.c: Likewise.
43944 * time/strftime_l.c: Likewise.
43945
3b100462
JM
439462012-01-30 Joseph Myers <joseph@codesourcery.com>
43947
43948 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43949 * config.make.in (config-cflags-sse2avx): Define.
43950 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43951 Fix typo.
43952
607998af
CM
439532012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43954
43955 * scripts/config.guess: Update from upstream config git repository.
43956 * scripts/config.sub: Likewise.
43957
3601428f
CM
439582012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43959
3ac8b282
CM
43960 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43961 (EM_NUM): Update.
43962 (R_TILEPRO_*, R_TILEGX_*): New macros.
43963
e034841e
CM
43964 * scripts/firstversions.awk: Fix bug in version range handling.
43965
540d7568
CM
43966 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43967
3601428f
CM
43968 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43969
463de862
CM
43970 * include/sys/epoll.h: New file.
43971 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43972 libc_hidden_def.
43973
73139a76
UD
439742012-01-28 Ulrich Drepper <drepper@gmail.com>
43975
96bc5b45
UD
43976 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43977 Avoid unnecessary __WORDSIZE == 64 test.
43978 (fmaxf): Use VEX format if possible.
43979 (fmax): Likewise.
43980 (fminf): Likewise.
43981 (fmin): Likewise.
43982
56f6f6a2
UD
43983 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43984 * math/math_private.h: Remove libc_fegetround* and
43985 libc_fesetround*.
43986 * sysdeps/i386/configure.in: Check for -msse2avx.
43987 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43988 also if SSE2AVX is defined.
43989 Remove libc_fegetround* and libc_fesetround*.
43990 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43991 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43993 of HAS_YMM_USABLE.
43994 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43995 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43997 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43999
73139a76
UD
44000 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44001
d73f93a4
AZ
440022012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44003
44004 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44005 size is not set.
44006 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44007
6ee65ed6
UD
440082012-01-27 Ulrich Drepper <drepper@gmail.com>
44009
44010 [BZ #13618]
44011 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44012 relocation.
44013 * Makeconfig (libm): Define.
44014 * elf/Makefile: Add rules to build and run tst-relsort1.
44015 * elf/tst-relsort1.c: New file.
44016 * elf/tst-relsort1mod1.c: New file.
44017 * elf/tst-relsort1mod2.c: New file.
44018
8db21882
JM
440192012-01-27 Joseph Myers <joseph@codesourcery.com>
44020
44021 * math/s_ldexp.c: Remove __STDC__ conditionals.
44022 * math/s_ldexpf.c: Likewise.
44023 * math/s_ldexpl.c: Likewise.
44024 * math/s_nextafter.c: Likewise.
44025 * math/s_nexttowardf.c: Likewise.
44026 * math/s_significand.c: Likewise.
44027 * math/s_significandf.c: Likewise.
44028 * math/s_significandl.c: Likewise.
44029 * math/w_jnl.c: Likewise.
44030 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44031 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44032 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44033 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44034 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44041 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44042 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44044 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44045 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44046 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44047 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44049 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44050 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44056 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44058 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44061 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44062 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44063 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44064 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44065 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44066 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44070 * sysdeps/ieee754/k_standard.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44115 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44120 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44122 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44123 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44124 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44125 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44128 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44132 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44133 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44137 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44142 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44145 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44146 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44150 * sysdeps/ieee754/s_matherr.c: Likewise.
44151 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44152 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44155
965a54a4
JM
441562012-01-26 Joseph Myers <joseph@codesourcery.com>
44157
44158 * crypt/md5.h: Remove __STDC__ conditionals.
44159 * libio/libioP.h: Likewise.
44160 * locale/programs/config.h: Likewise.
44161 * sysdeps/generic/sysdep.h: Likewise.
44162 * sysdeps/i386/asm-syntax.h: Likewise.
44163 * sysdeps/s390/asm-syntax.h: Likewise.
44164 * sysdeps/unix/sysdep.h: Likewise.
44165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44167
7071ad79
JM
441682012-01-26 Joseph Myers <joseph@codesourcery.com>
44169
44170 * libio/libio.h: Remove __STDC__ conditionals.
44171 * malloc/obstack.h: Likewise.
44172 * math/complex.h: Likewise.
44173 * math/math.h: Likewise.
44174 * sysdeps/generic/_G_config.h: Likewise.
44175 * sysdeps/gnu/_G_config.h: Likewise.
44176 * sysdeps/mach/hurd/_G_config.h: Likewise.
44177 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44178 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44179 * sysdeps/sparc/bits/mathdef.h: Likewise.
44180
afc5ed09
UD
441812012-01-26 Ulrich Drepper <drepper@gmail.com>
44182
44183 [BZ #13583]
44184 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44185 Clean up HAS_* macros.
afc5ed09 44186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44187 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44188 possible.
44189 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44190 HAS_AVX.
44191 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44192 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44193 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44194 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44195 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44196
bdb6de1d
JM
441972012-01-25 Joseph Myers <joseph@codesourcery.com>
44198
44199 * elf/tst-unique3.cc (gets): Remove declaration.
44200 * elf/tst-unique3lib.cc (gets): Likewise.
44201 * elf/tst-unique3lib2.cc (gets): Likewise.
44202 * elf/tst-unique4.cc (gets): Likewise.
44203
b15549e6
UD
442042012-01-24 Ulrich Drepper <drepper@gmail.com>
44205
44206 * include/stdio.h: Add C++ protection. Add gets declarations and
44207 definitions.
44208 * debug/tst-chk1.c: Don't declare gets here.
44209 * stdio-common/tst-gets.c: Likewise.
44210
a037381f
JM
442112012-01-24 Joseph Myers <joseph@codesourcery.com>
44212
44213 * posix/glob: Remove directory.
44214
f1d4aa75
JM
442152012-01-24 Joseph Myers <joseph@codesourcery.com>
44216
44217 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44218
81c0c964
PT
442192012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44220
44221 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44222 of the non-standard EPFNOSUPPORT.
44223
0ea698ae
ST
442242011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44225
44226 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44227 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44228 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44229
d220b117
UD
442302012-01-21 Ulrich Drepper <drepper@gmail.com>
44231
44232 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44233
3e1aa84e
UD
442342012-01-20 Ulrich Drepper <drepper@gmail.com>
44235
44236 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44237 transient errors.
44238 * nscd/grpcache.c (cache_addgr): Likewise.
44239 * nscd/hstcache.c (cache_addhst): Likewise.
44240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44241 * nscd/pwdcache.c (cache_addpw): Likewise.
44242 * nscd/servicescache.c (cache_addserv): Likewise.
44243
400aa020
UD
442442012-01-16 Ulrich Drepper <drepper@gmail.com>
44245
d77e7869
UD
44246 * malloc/malloc.c: Various cleanups.
44247 * malloc/hooks.c: Likewise.
44248
400aa020
UD
44249 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44250 * stdlib/bug-fmtmsg1.c: New file.
44251
44252 * stdlib/fmtmsg.c (init): Add missing unlock.
44253 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44254
e0a309cf
MP
442552012-01-12 Marek Polacek <polacek@redhat.com>
44256
44257 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44258 and _GNU_SOURCE.
44259
929d11c7
WS
442602012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44261
44262 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44263 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44264 macro to ensure uniqueness of label name.
44265 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44266 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44267
41d0e869
UD
442682012-01-11 Ulrich Drepper <drepper@gmail.com>
44269
0cc5ed3b
UD
44270 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44271
41d0e869
UD
44272 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44273 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44274 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44276
a47a831a
UD
442772012-01-10 Ulrich Drepper <drepper@gmail.com>
44278
daa891c0
UD
44279 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44280
44281 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44282 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44283 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44284
e58ef0f2
UD
44285 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44286
a47a831a 44287 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44288 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44289 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44291
44292 * math/bits/math-finite.h: Add ldexp support.
44293
a0bfc9c7
MP
442942012-01-10 Marek Polacek <polacek@redhat.com>
44295
44296 * locale/programs/localedef.h (show_archive_content): Add noreturn
44297 attribute.
44298
d6e97a1d
UD
442992012-01-09 Ulrich Drepper <drepper@gmail.com>
44300
44301 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44302
d5835c26
UD
443032012-01-08 Ulrich Drepper <drepper@gmail.com>
44304
e5f484c6
UD
44305 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44306
d5835c26
UD
44307 * io/Makefile (headers): Add bits/poll2.h.
44308
d1f741e9
WS
443092011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44310
44311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44312 typo #include statement.
44313
ec09c1c4
UD
443142012-01-08 Ulrich Drepper <drepper@gmail.com>
44315
44316 * include/sys/cdefs.h: Define __attribute_alloc_size.
44317 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44318 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44319 * elf/pldd.c: Likewise.
44320 * iconv/iconv_charmap.c: Likewise.
44321 * iconv/iconvconfig.c: Likewise.
44322 * iconv/strtab.c: Likewise.
44323 * locale/programs/locale.c: Likewise.
44324 * locale/programs/localedef.h: Likewise.
44325 * locale/programs/simple-hash.c: Likewise.
44326 * nscd/nscd.h: Likewise.
44327 * nss/makedb.c: Likewise.
44328 * sysdeps/generic/ldconfig.h: Likewise.
44329 * locale/programs/localedef.c: Remove xmalloc prototype.
44330 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44331
20b38e03
PP
443322012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44333
44334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44335 appropriate.
44336
a0da5fe1
UD
443372012-01-08 Ulrich Drepper <drepper@gmail.com>
44338
1d5a644a 44339 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44340 * math/tst-CMPLX.c: New file.
1d5a644a 44341
8784a6db
UD
44342 * math/complex.h (CMPLXL): Fix typo.
44343
d9a216c0
UD
44344 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44345 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44346 GLIBC_2.16.
44347 * debug/tst-chk1.c: Add poll and ppoll tests.
44348 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44349 * include/sys/poll.h: Add hidden proto for ppoll.
44350 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44351 * sysdeps/mach/hurd/ppoll.c: Likewise.
44352 * io/ppoll.c: Likewise.
44353 * debug/poll_chk.c: New file.
44354 * debug/ppoll_chk.c: New file.
44355 * include/bits/poll2.h: New file.
44356 * io/bits/poll2.h: New file.
44357
ac097f5c
UD
44358 [BZ #1350]
44359 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44360
2119dcfa
UD
44361 * configure.in: static is always set to yes. Remove.
44362 * config.make.in: Don't set build-static.
44363 * Makeconfig: Remove use of build-static.
44364 * dlfcn/Makefile: Likewise.
44365 * elf/Makefile: Likewise.
44366 * math/Makefile: Likewise.
44367 * misc/Makefile: Likewise.
44368 * nptl/Makefile: Likewise.
44369 * sysdeps/mach/hurd/Makefile: Likewise.
44370
121766a9
UD
44371 * configure.in: PWD_P is not used anymore.
44372 * config.make.in: Remove PWD_P entry.
44373
51a1d39c 44374 * configure.in: Remove last remnants of RANLIB.
8720d066 44375 No need to check for signed size_t anymore.
215f4bdc
UD
44376 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44377 and IA-64.
3857022a 44378 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44379 * aclocal.m4: Likewise.
44380
d3ed7225
UD
44381 * wcsmbs/mbrtoc16.c: Implement using towc function.
44382 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44383 * wcsmbs/wcsmbsload.c: Likewise.
44384 * iconv/gconv_simple.c: Likewise.
44385 * iconv/gconv_int.h: Likewise.
44386 * iconv/gconv_builtin.h: Likewise.
44387 * iconv/iconv_prog.c: Remove CHAR16 handling.
44388
44389 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44390
44391 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44392
a0da5fe1
UD
44393 * configure.in: Remove --with-elf and --enable-bounded options.
44394 Dont set base_machine for ia64. More non-ELF conditions removed.
44395 Remove testing and setting of leading underscore information.
44396 * config.make.in (build-bounded): Set to no.
44397 * config.h.in: Remove NO_UNDERSCORES entry.
44398 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44399 them.
44400 * csu/start.c: Remove !NO_UNDERSCORE code.
44401 * locale/localeinfo.h: Likewise.
44402 * sysdeps/generic/machine-gmon.h: Likewise.
44403 * sysdeps/generic/sysdep.h: Likewise.
44404 * sysdeps/i386/sysdep.h: Likewise.
44405 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44406 * sysdeps/mach/sysdep.h: Likewise.
44407 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44408 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44409 * sysdeps/sh/sysdep.h: Likewise.
44410 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44411 * sysdeps/unix/i386/sysdep.S: Likewise.
44412 * sysdeps/unix/sparc/start.c: Likewise.
44413 * sysdeps/unix/sparc/sysdep.S: Likewise.
44414 * sysdeps/unix/sparc/sysdep.h: Likewise.
44415 * sysdeps/unix/start.c: Likewise.
44416 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44417 * sysdeps/x86_64/sysdep.h: Likewise.
44418
df78418a
UD
444192012-01-07 Ulrich Drepper <drepper@gmail.com>
44420
a784e502
UD
44421 [BZ #13553]
44422 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44423 for non-gcc.
44424 * argp/argp-fmtstream.h: Use const instead __const.
44425 * argp/argp.h: Likewise.
44426 * assert/assert.h: Likewise.
44427 * bits/fenv.h: Likewise.
44428 * bits/sched.h: Likewise.
44429 * bits/sigset.h: Likewise.
44430 * bits/sigthread.h: Likewise.
44431 * catgets/nl_types.h: Likewise.
44432 * conform/data/pthread.h-data: Likewise.
44433 * crypt/crypt-private.h: Likewise.
44434 * crypt/crypt.h: Likewise.
44435 * crypt/crypt_util.c: Likewise.
44436 * ctype/ctype.h: Likewise.
44437 * debug/execinfo.h: Likewise.
44438 * debug/mbsnrtowcs_chk.c: Likewise.
44439 * debug/mbsrtowcs_chk.c: Likewise.
44440 * debug/wcsnrtombs_chk.c: Likewise.
44441 * debug/wcsrtombs_chk.c: Likewise.
44442 * debug/wcstombs_chk.c: Likewise.
44443 * dirent/dirent.h: Likewise.
44444 * dlfcn/dlfcn.h: Likewise.
44445 * elf/neededtest4.c: Likewise.
44446 * grp/grp.h: Likewise.
44447 * gshadow/gshadow.h: Likewise.
44448 * iconv/gconv.h: Likewise.
44449 * iconv/gconv_int.h: Likewise.
44450 * iconv/gconv_simple.c: Likewise.
44451 * iconv/iconv.h: Likewise.
44452 * iconv/loop.c: Likewise.
44453 * iconv/skeleton.c: Likewise.
44454 * include/aio.h: Likewise.
44455 * include/aliases.h: Likewise.
44456 * include/argz.h: Likewise.
44457 * include/arpa/inet.h: Likewise.
44458 * include/assert.h: Likewise.
44459 * include/dirent.h: Likewise.
44460 * include/dlfcn.h: Likewise.
44461 * include/execinfo.h: Likewise.
44462 * include/fcntl.h: Likewise.
44463 * include/fenv.h: Likewise.
44464 * include/glob.h: Likewise.
44465 * include/grp.h: Likewise.
44466 * include/libintl.h: Likewise.
44467 * include/mntent.h: Likewise.
44468 * include/netdb.h: Likewise.
44469 * include/pwd.h: Likewise.
44470 * include/rpc/netdb.h: Likewise.
44471 * include/sched.h: Likewise.
44472 * include/search.h: Likewise.
44473 * include/shadow.h: Likewise.
44474 * include/signal.h: Likewise.
44475 * include/stdio.h: Likewise.
44476 * include/stdlib.h: Likewise.
44477 * include/string.h: Likewise.
44478 * include/sys/socket.h: Likewise.
44479 * include/sys/stat.h: Likewise.
44480 * include/sys/statfs.h: Likewise.
44481 * include/sys/statvfs.h: Likewise.
44482 * include/sys/syslog.h: Likewise.
44483 * include/sys/time.h: Likewise.
44484 * include/sys/uio.h: Likewise.
44485 * include/time.h: Likewise.
44486 * include/unistd.h: Likewise.
44487 * include/utmp.h: Likewise.
44488 * include/wchar.h: Likewise.
44489 * include/wctype.h: Likewise.
44490 * inet/aliases.h: Likewise.
44491 * inet/arpa/inet.h: Likewise.
44492 * inet/netinet/ether.h: Likewise.
44493 * inet/netinet/in.h: Likewise.
44494 * intl/libintl.h: Likewise.
44495 * io/bits/fcntl2.h: Likewise.
44496 * io/fcntl.h: Likewise.
44497 * io/ftw.h: Likewise.
44498 * io/sys/poll.h: Likewise.
44499 * io/sys/stat.h: Likewise.
44500 * io/sys/statfs.h: Likewise.
44501 * io/sys/statvfs.h: Likewise.
44502 * io/utime.h: Likewise.
44503 * libio/bits/stdio.h: Likewise.
44504 * libio/bits/stdio2.h: Likewise.
44505 * libio/libio.h: Likewise.
44506 * libio/libioP.h: Likewise.
44507 * libio/stdio.h: Likewise.
44508 * locale/lc-ctype.c: Likewise.
44509 * locale/locale.h: Likewise.
44510 * login/utmp.h: Likewise.
44511 * malloc/arena.c: Likewise.
44512 * malloc/malloc.c: Likewise.
44513 * malloc/malloc.h: Likewise.
44514 * malloc/mcheck.c: Likewise.
44515 * malloc/mtrace.c: Likewise.
44516 * math/bits/mathcalls.h: Likewise.
44517 * math/fenv.h: Likewise.
44518 * math/math_private.h: Likewise.
44519 * misc/bits/error.h: Likewise.
44520 * misc/bits/syslog.h: Likewise.
44521 * misc/err.h: Likewise.
44522 * misc/error.h: Likewise.
44523 * misc/fstab.h: Likewise.
44524 * misc/mntent.h: Likewise.
44525 * misc/regexp.h: Likewise.
44526 * misc/search.h: Likewise.
44527 * misc/sgtty.h: Likewise.
44528 * misc/sys/mman.h: Likewise.
44529 * misc/sys/syslog.h: Likewise.
44530 * misc/sys/uio.h: Likewise.
44531 * misc/sys/xattr.h: Likewise.
44532 * misc/ttyent.h: Likewise.
44533 * nis/rpcsvc/ypclnt.h: Likewise.
44534 * nss/nss.h: Likewise.
44535 * posix/bits/unistd.h: Likewise.
44536 * posix/fnmatch.h: Likewise.
44537 * posix/glob.h: Likewise.
44538 * posix/sched.h: Likewise.
44539 * posix/spawn.h: Likewise.
44540 * posix/sys/wait.h: Likewise.
44541 * posix/unistd.h: Likewise.
44542 * posix/wordexp.h: Likewise.
44543 * pwd/pwd.h: Likewise.
44544 * resolv/netdb.h: Likewise.
44545 * resource/sys/resource.h: Likewise.
44546 * rt/aio.h: Likewise.
44547 * rt/bits/mqueue2.h: Likewise.
44548 * rt/mqueue.h: Likewise.
44549 * shadow/shadow.h: Likewise.
44550 * signal/signal.h: Likewise.
44551 * socket/send.c: Likewise.
44552 * socket/sendto.c: Likewise.
44553 * socket/sys/socket.h: Likewise.
44554 * stdio-common/printf.h: Likewise.
44555 * stdlib/bits/stdlib.h: Likewise.
44556 * stdlib/fmtmsg.h: Likewise.
44557 * stdlib/monetary.h: Likewise.
44558 * stdlib/stdlib.h: Likewise.
44559 * stdlib/ucontext.h: Likewise.
44560 * streams/stropts.h: Likewise.
44561 * string/argz.h: Likewise.
44562 * string/bits/string2.h: Likewise.
44563 * string/string.h: Likewise.
44564 * string/strings.h: Likewise.
44565 * sunrpc/rpc/auth.h: Likewise.
44566 * sunrpc/rpc/auth_des.h: Likewise.
44567 * sunrpc/rpc/clnt.h: Likewise.
44568 * sunrpc/rpc/netdb.h: Likewise.
44569 * sunrpc/rpc/pmap_clnt.h: Likewise.
44570 * sunrpc/rpc/xdr.h: Likewise.
44571 * sysdeps/generic/inttypes.h: Likewise.
44572 * sysdeps/generic/net/if.h: Likewise.
44573 * sysdeps/generic/sys/swap.h: Likewise.
44574 * sysdeps/gnu/net/if.h: Likewise.
44575 * sysdeps/gnu/utmpx.h: Likewise.
44576 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44577 * sysdeps/i386/i486/bits/string.h: Likewise.
44578 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44579 * sysdeps/s390/bits/string.h: Likewise.
44580 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44581 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44582 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44583 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44584 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44585 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44586 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44587 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44588 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44589 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44590 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44591 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44592 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44593 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44594 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44595 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44596 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44598 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44600 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44601 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44602 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44603 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44604 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44605 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44606 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44607 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44608 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44609 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44610 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44611 * sysvipc/sys/ipc.h: Likewise.
44612 * sysvipc/sys/msg.h: Likewise.
44613 * sysvipc/sys/sem.h: Likewise.
44614 * sysvipc/sys/shm.h: Likewise.
44615 * termios/termios.h: Likewise.
44616 * time/sys/time.h: Likewise.
44617 * time/time.h: Likewise.
44618 * wcsmbs/bits/wchar2.h: Likewise.
44619 * wcsmbs/uchar.h: Likewise.
44620 * wcsmbs/wchar.h: Likewise.
44621 * wctype/wctype.h: Likewise.
44622
0269750c
UD
44623 [BZ #13551]
44624 * Makeconfig: Remove all but ELF support including AIX support.
44625 * Makerules: Likewise.
44626 * config.h.in: Likewise.
44627 * config.make.in: Likewise.
44628 * configure: Likewise.
44629 * configure.in: Likewise.
44630 * csu/Makefile: Likewise.
44631 * csu/version.c: Likewise.
44632 * debug/Makefile: Likewise.
44633 * dlfcn/Makefile: Likewise.
44634 * elf/Makefile: Likewise.
44635 * extra-lib.mk: Likewise.
44636 * iconv/Makefile: Likewise.
44637 * include/libc-symbols.h: Likewise.
44638 * include/shlib-compat.h: Likewise.
44639 * resolv/Makefile: Likewise.
44640 * resolv/res_libc.c: Likewise.
44641 * rt/Makefile: Likewise.
44642 * sysdeps/i386/asm-syntax.h: Likewise.
44643 * sysdeps/i386/sysdep.h: Likewise.
44644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44645 * sysdeps/mach/sysdep.h: Likewise.
44646 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44647 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44648 * sysdeps/s390/asm-syntax.h: Likewise.
44649 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44651 * sysdeps/sh/sysdep.h: Likewise.
44652 * sysdeps/unix/sparc/sysdep.h: Likewise.
44653 * sysdeps/wordsize-32/divdi3.c: Likewise.
44654 * sysdeps/x86_64/sysdep.h: Likewise.
44655
00bbd29b
UD
44656 * argp/Versions: Remove _argp_unlock_xxx.
44657
44658 [BZ #13559]
44659 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44660 * abilist/libBrokenLocale.abilist: Likewise.
44661 * abilist/libanl.abilist: Likewise.
44662 * abilist/libc.abilist: Likewise.
44663 * abilist/libcrypt.abilist: Likewise.
44664 * abilist/libdl.abilist: Likewise.
44665 * abilist/libm.abilist: Likewise.
44666 * abilist/libnsl.abilist: Likewise.
44667 * abilist/libpthread.abilist: Likewise.
44668 * abilist/libresolv.abilist: Likewise.
44669 * abilist/librt.abilist: Likewise.
44670 * abilist/libthread_db.abilist: Likewise.
44671 * abilist/libutil.abilist: Likewise.
44672 * abilist/libnss_db.abilist: New file.
44673
44674 * scripts/abilist.awk: Add support for indirect functions.
44675
a2693a0e
UD
44676 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44677
3f05895f
UD
44678 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44679
ecb6fb48
UD
44680 * shlib-versions: Remove entries for ports architectures.
44681
664f8cb9
UD
44682 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44683 files in ports.
44684 * elf/stackguard-macros.h: Remove support for IA-64.
44685 * elf/tst-auditmod1.c: Likewise.
44686 * sysdeps/generic/ldsodefs.h: Likewise.
44687
7ae81d88
UD
44688 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44689 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44690 configure files.
44691
bdeba135
UD
44692 [BZ #13552]
44693 * configure.in: Remove --enable-omitfp support.
44694 * FAQ.in: Adjust.
44695 * config.make.in: Likewise.
44696 * Makeconfig: Likewise.
44697 * manual/install.texi: Likewise.
44698
d75a0a62
UD
44699 In case anyone cares, the IA-64 architecture could move to ports.
44700 * sysdeps/ia64/*: Removed.
44701 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44702 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44703
dcc9756b
UD
44704 [BZ #13555]
44705 * configure.in: Remove entries for unsupported architectures.
44706
d3761ebc 44707 [BZ #13533]
9954432e
UD
44708 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44709 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44710 routines.
44711 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44712 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44713 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44714 fall back to using wcrtomb.
44715 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44716 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44717 renaming.
44718 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44719 * wcsmbs/tst-c16c32-1.c: New file.
44720
44721 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44722 local variable.
44723
c3a87236
UD
44724 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44725
28926a1b
UD
44726 * elf/tst-unique3.cc: Add explicit declaration of gets.
44727 * elf/tst-unique3lib.cc: Likewise.
44728 * elf/tst-unique3lib2.cc: Likewise.
44729 * elf/tst-unique4.cc: Likewise.
44730
df78418a
UD
44731 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44732
8ecd6b2a
JM
447332012-01-06 Joseph Myers <joseph@codesourcery.com>
44734
44735 [BZ #13566]
44736 * assert/assert.h (static_assert): Don't define for C++.
44737 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44738 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44739
9f115170
UD
447402012-01-03 Ulrich Drepper <drepper@gmail.com>
44741
5e0d0300
UD
44742 * iconv/loop.c (single loop): Fix assertion in storing of
44743 remaining bytes.
44744
9f115170
UD
44745 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44746
81fb02b0
UD
447472012-01-01 Ulrich Drepper <drepper@gmail.com>
44748
44749 * posix/getconf.c: Update copyright year.
44750 * nss/getent.c: Likewise.
a316c1f6 44751 * nss/makedb.c: Likewise.
81fb02b0
UD
44752 * iconv/iconvconfig.c: Likewise.
44753 * iconv/iconv_prog.c: Likewise.
44754 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44755 * elf/pldd.c: Likewise.
44756 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44757 * catgets/gencat.c: Likewise.
44758 * csu/version.c: Likewise.
44759 * elf/ldd.bash.in: Likewise.
44760 * elf/sprof.c (print_version): Likewise.
44761 * locale/programs/locale.c: Likewise.
44762 * locale/programs/localedef.c: Likewise.
a316c1f6 44763 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44764 * nscd/nscd.c (print_version): Likewise.
44765 * debug/xtrace.sh: Likewise.
44766 * malloc/memusage.sh: Likewise.
44767 * malloc/mtrace.pl: Likewise.
44768 * debug/catchsegv.sh: Likewise.
44769
2ba92745
JJ
447702011-12-30 Jakub Jelinek <jakub@redhat.com>
44771
44772 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44773 pure attribute.
44774
dadebdae
UD
447752011-12-24 Ulrich Drepper <drepper@gmail.com>
44776
d3761ebc 44777 [BZ #13533]
db6af3eb
UD
44778 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44779 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44780 transformations.
44781 * iconv/gconv_int.h: Likewise.
44782 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44783 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44784 from libc for GLIBC_2.16.
44785 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44786 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44787 * wcsmbs/uchar.h: Really define mbstate_t.
44788 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44789 * wcsmbs/c16rtomb.c: New file.
44790 * wcsmbs/mbrtoc16.c: New file.
44791 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44792 for C/POSIX locale.
44793 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44794 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44795
dadebdae
UD
44796 * wcsmbs/wchar.h: Add missing __restrict.
44797
67371b56
UD
447982011-12-23 Ulrich Drepper <drepper@gmail.com>
44799
74033a25
UD
44800 [BZ #13532]
44801 * time/Makefile (routines): Add timespec_get.
44802 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44803 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44804 timespec for ISO C11.
44805 * time/timespec_get.c: New file.
44806 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44807 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44808
380d7e87
UD
44809 [BZ #13531]
44810 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44811 * stdlib/stdlib.h: Declare aligned_alloc.
44812 * Versions.def: Add GLIBC_2.16 for libc.
44813 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44814
4e9e7a35
UD
44815 [BZ 13527]
44816 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44817 ISO C11.
44818
380d7e87 44819 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44820 code.
44821
03a71829
UD
44822 [BZ #13528]
44823 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44824
839e283e
UD
44825 [BZ #13529]
44826 * assert/assert.h (static_assert): Define.
44827
ce5294e2 44828 * version.h: Update for 2.16 development version.
90fa7312 44829
8d44e150 44830 [BZ #13526]
d7809905
UD
44831 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44832 _ISOC11_SOURCE.
44833
c0da14cd
UD
44834 * version.h (RELEASE): Bump for 2.15 release.
44835 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44836
530a3249
MP
44837 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44838 Patch by Marek Polacek <mpolacek@redhat.com>.
44839
67371b56
UD
44840 * bits/byteswap.h: Protect long long constants with __extension__.
44841 * sysdeps/i386/bits/byteswap.h: Likewise.
44842 * sysdeps/ia64/bits/byteswap.h: Likewise.
44843 * sysdeps/s390/bits/byteswap.h: Likewise.
44844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44845
15db4de1
LD
448462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44847
44848 [BZ #13540]
bbe315ea
LD
44849 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44850 destination buffer.
15db4de1
LD
44851 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44852
2b2596b1
MP
448532011-12-23 Marek Polacek <polacek@redhat.com>
44854
44855 * elf/dl-addr.c (determine_info): Add inline keyword.
44856 * elf/tst-auditmod4b.c (check_avx): Likewise.
44857 * elf/tst-auditmod6b.c (check_avx): Likewise.
44858 * elf/tst-auditmod6c.c (check_avx): Likewise.
44859 * elf/tst-auditmod7b.c (check_avx): Likewise.
44860
70c6c246
UD
448612011-12-23 Ulrich Drepper <drepper@gmail.com>
44862
44863 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44864 !__SSE_MATH__.
44865
c044cf14
LD
448662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44867
15db4de1 44868 [BZ #13540]
c044cf14
LD
44869 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44870 processing for last bytes.
44871
6b13d9d9
BH
448722011-08-06 Bruno Haible <bruno@clisp.org>
44873
d455f537
BH
44874 [BZ #13061]
44875 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44876 U+0385, not to U+1FEE.
44877
6b13d9d9
BH
44878 [BZ #13062]
44879 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44880 entry for U+00A5 U+0301.
44881
db910efd
UD
448822011-12-22 Ulrich Drepper <drepper@gmail.com>
44883
27deeafc
UD
44884 [BZ #13166]
44885 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44886 buffer for the output is too small.
44887
aed9d171
UD
44888 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44889 optimization.
44890
db910efd
UD
44891 [BZ #13185]
44892 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44893 SSE flags if possible.
44894
2bd779ae
LD
448952011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44896
e7f9dac3 44897 [BZ #13540]
2bd779ae
LD
44898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44899 processing for last bytes.
44900
154bfc16
JM
449012011-12-22 Joseph Myers <joseph@codesourcery.com>
44902
44903 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44904 (syscall-list-default-options, syscall-list-default-condition)
44905 (syscall-list-includes): Define.
44906 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44907 list of ABIs and options and #if conditions for each ABI. Do not
44908 handle common syscalls between ABIs specially.
44909 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44910 Remove.
44911 (syscall-list-variants, syscall-list-32bit-options)
44912 (syscall-list-32bit-condition, syscall-list-64bit-options)
44913 (syscall-list-64bit-condition): Define.
44914 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44915 (syscall-list-variants, syscall-list-32bit-options)
44916 (syscall-list-32bit-condition, syscall-list-64bit-options)
44917 (syscall-list-64bit-condition): Define.
44918 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44919 Remove.
44920 (syscall-list-variants, syscall-list-32bit-options)
44921 (syscall-list-32bit-condition, syscall-list-64bit-options)
44922 (syscall-list-64bit-condition): Define.
44923 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44924 Remove.
44925 (syscall-list-variants, syscall-list-32bit-options)
44926 (syscall-list-32bit-condition, syscall-list-64bit-options)
44927 (syscall-list-64bit-condition): Define.
44928
21eaf3a5
UD
449292011-12-22 Ulrich Drepper <drepper@gmail.com>
44930
16c6f992
UD
44931 * locale/iso-639.def: Add brx entry.
44932
41043168
UD
44933 [BZ #13328]
44934 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44935 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44936
21eaf3a5
UD
44937 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44938 __feraiseexcept_renamed.
44939
e3a851a2
UD
449402011-12-21 Ulrich Drepper <drepper@gmail.com>
44941
4920765e
UD
44942 [BZ #13538]
44943 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44944 EPOLLET with unsigned values.
44945 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44946 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44947
e3a851a2
UD
44948 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44949 to large cancellation.
44950 * math/s_cacoshf.c: Likewise.
44951 * math/s_cacoshl.c: Likewise.
44952
b27e24b8
RK
449532011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44954
44955 [BZ #13305]
aebefeee 44956 [BZ #12786]
b27e24b8
RK
44957 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44958 * math/s_cacoshf.c: Likewise.
44959 * math/s_cacoshl.c: Likewise.
44960
ee190f67
UD
449612011-12-21 Ulrich Drepper <drepper@gmail.com>
44962
44963 [BZ #13439]
44964 * iconv/gconv.h: Define __GCONV_SWAP.
44965 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44966 * iconvdata/utf-16.c: Likewise.
44967 * iconvdata/utf-32.c: Likewise.
44968
707f25df
AS
449692011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44970
44971 [BZ #13524]
44972 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44973 numerator after shifting it by one limb.
44974
d2daaa1e
RÁE
449752011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44976
44977 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44978 under [__USE_EXTERN_INLINES].
44979
a4647e72
UD
449802011-12-17 Ulrich Drepper <drepper@gmail.com>
44981
44982 [BZ #13446]
44983 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44984
f0b264f1
AZ
449852011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44986
44987 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44988 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44989 optimized code.
44990 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44991 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44992 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44993 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44994 for strncasecmp/strncasecmp_l compilation.
44995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44996 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44997
8ef4f244
MP
449982011-12-08 Marek Polacek <mpolacek@redhat.com>
44999
45000 [BZ #13484]
45001 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45002 of __asm__.
45003
97ac2654
UD
450042011-12-17 Ulrich Drepper <drepper@gmail.com>
45005
45006 [BZ #13506]
45007 * time/tzfile.c (__tzfile_read): Check values from file header.
45008
91d2a845
WS
450092011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45010
45011 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45012 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45013 * powerpc/powerpc32/dl-start.S: Likewise.
45014 * powerpc/powerpc32/elf/start.S: Likewise.
45015 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45016 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45017 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45018 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45019 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45020 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45021 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45022 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45023 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45024 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45025 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45026 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45027 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45028 * powerpc/powerpc32/memset.S: Likewise.
45029 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45030 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45031 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45032 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45033 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45034 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45035 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45036 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45037 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45038 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45039 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45040 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45041 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45042
a1267ba1
AZ
450432011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45044
45045 * math/libm-test.inc: Added more nearbyint tests.
45046 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45047 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45050
ad8ac1bd
RL
450512011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45052
45053 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45054 FD_CLOEXEC.
45055
1d3e4b61
UD
450562011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45057
45058 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45059 Add wcscpy-ssse3 wcscpy-c.
45060 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45061 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45062 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45063 * sysdeps/x86_64/wcschr.S: New file.
45064 * sysdeps/x86_64/wcsrchr.S: New file.
45065 * string/test-strcmp.c: Remove checking of wcscmp function for
45066 wrong alignments.
45067 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45068 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45069 wcsrchr-sse2 wcsrchr-c.
45070 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45071 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45072 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45073 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45074 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45075 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45076 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45077 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45078 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45079 * wcsmbc/wcschr.c (WCSCHR): New macro.
45080
5b330a2d
UD
450812011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45082
45083 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45084 * wcsmbs/test-wcsrchr.c: New file.
45085 * string/test-strrchr.c: Add wcsrchr support.
45086 (WIDE): New macro.
45087 * wcsmbs/test-wcscpy.c: New file.
45088 * string/test-strcpy.c: Add wcscpy support.
45089 (WIDE): New macro.
26428b7c 45090
f039c043
UD
450912011-12-10 Ulrich Drepper <drepper@gmail.com>
45092
45093 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45094 the inner loop.
45095
850fb039
AS
450962011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45097
45098 [BZ #13472]
45099 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45100
4efbd5cb
UD
451012011-12-04 Ulrich Drepper <drepper@gmail.com>
45102
52ff5dd0 45103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45104 Minor optimizations.
52ff5dd0 45105
4efbd5cb
UD
45106 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45107 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45108 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45109
8a426e12
UD
451102011-12-03 Ulrich Drepper <drepper@gmail.com>
45111
aff2453d
UD
45112 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45113 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45114 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45115 for gcc to avoid warnings.
45116 * inet/Makefile (tests): Add tst-checks.
45117 * inet/tst-checks.c: New file.
45118
45119 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45120 warning.
45121
45122 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45123 __wmemcmp_sse2.
45124
45125 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45126 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45127
8a426e12
UD
45128 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45129
9bea3473
UD
451302011-12-02 Ulrich Drepper <drepper@gmail.com>
45131
3a965496
UD
45132 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45133 problem.
45134
9bea3473
UD
45135 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45136
f101631b
UD
451372011-11-29 Joseph Myers <joseph@codesourcery.com>
45138
45139 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45140 conditional on GCC version.
45141 (__arch_compare_and_exchange_val_8_acq)
45142 (__arch_compare_and_exchange_val_16_acq)
45143 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45144 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45145 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45146
a98275aa
UD
451472011-12-02 Joseph Myers <joseph@codesourcery.com>
45148
45149 * sysdeps/sh/backtrace.c: New file.
45150
d4cc29a2
AS
451512011-12-02 Andreas Schwab <schwab@redhat.com>
45152
45153 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45154 parenthesis.
45155
6257af2d
AS
451562011-12-01 Andreas Schwab <schwab@redhat.com>
45157
45158 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45159 falling back to utime.
45160
b5f44c1a
AS
451612011-11-30 Andreas Schwab <schwab@redhat.com>
45162
45163 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45164 expectations for float.
45165
f3a6cc0a
AS
451662011-11-29 Andreas Schwab <schwab@redhat.com>
45167
45168 * locale/weight.h (findidx): Add parameter len.
45169 * locale/weightwc.h (findidx): Likewise.
45170 * posix/fnmatch_loop.c (FCT): Adjust caller.
45171 * posix/regcomp.c (build_equiv_class): Likewise.
45172 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45173 * posix/regexec.c (check_node_accept_bytes): Likewise.
45174 * string/strcoll_l.c (STRCOLL): Likewise.
45175 * string/strxfrm_l.c (STRXFRM): Likewise.
45176
9d65ea3a
UD
451772011-11-17 Ulrich Drepper <drepper@gmail.com>
45178
45179 * Makefile.in: Remove CVSOPT handling.
45180 * configure.in: Remove use of AC_REVISION.
45181 * iconvdata/Makefile (distribute): No need to filter out CVS.
45182 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45183 handling.
45184
5583a086
AS
451852011-11-16 Andreas Schwab <schwab@redhat.com>
45186
45187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45188 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45189 [USE_AS_STRNCASECMP_L]: Likewise.
45190 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45191 NO_TLS_DIRECT_SEG_REFS.
45192 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45193 Fix argument offsets for non-PIC.
45194 [USE_AS_STRNCASECMP_L]: Likewise.
45195 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45196 NO_TLS_DIRECT_SEG_REFS.
45197
d62a8200
UD
451982011-11-15 Ulrich Drepper <drepper@gmail.com>
45199
9d65ea3a 45200 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45201 O_CLOEXEC.
45202 * locale/loadlocale.c (_nl_load_locale): Likewise.
45203
09f93bd3
AS
452042011-11-15 Andreas Schwab <schwab@redhat.com>
45205
446514f9
AS
45206 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45207 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45208 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45209 (SYSCALL_GETTIME): Set errno on error.
45210
09f93bd3
AS
45211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45212 count references to noai6ai_cached.
45213
312be3f9
UD
452142011-11-15 Ulrich Drepper <drepper@gmail.com>
45215
45216 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45217
45218 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45219 FD_CLOEXEC for /proc/self/maps.
45220
45221 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45222 FD_CLOEXEC for /proc/meminfo.
45223
45224 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45225 gai.conf.
45226
45227 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45228 FD_CLOEXEC for given file.
45229
45230 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45231
45232 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45233 FD_CLOEXEC for /etc/hosts.
45234 (_gethtent): Likewise.
45235
45236 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45237
45238 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45239 cancellation and set FD_CLOEXEC for /etc/netgroup.
45240
45241 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45242 reading /etc/publickey.
45243
45244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45245 allow cancellation when reading /etc/group.
45246
45247 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45248 cancellation.
45249 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45250
45251 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45252 when using data file.
45253
45254 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45255
45256 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45257 (write_nis_obj): Use "c" and "e" in fopen.
45258
45259 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45260
45261 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45262
45263 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45264
45265 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45266
45267 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45268 locale.alias.
45269
45270 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45271
45272 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45273
45274 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45275
45276 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45277 file parsing and set FD_CLOEXEC.
45278
82af0fa8
UD
452792011-11-14 Ulrich Drepper <drepper@gmail.com>
45280
45281 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45282
a5fb313c
AS
452832011-11-14 Andreas Schwab <schwab@redhat.com>
45284
45285 * malloc/arena.c (arena_get2): Don't call reused_arena when
45286 _int_new_arena failed.
45287
6abf3465
UD
452882011-11-14 Ulrich Drepper <drepper@gmail.com>
45289
45290 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45291 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45292 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45293 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45294 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45295 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45296 to compile strcasecmp and strncasecmp.
45297 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45298 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45299
45300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45301
76e3966e
UD
453022011-11-13 Ulrich Drepper <drepper@gmail.com>
45303
45304 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45305 locale-defines.sym to gen-as-const-headers.
45306 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45307 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45309 to compile strcasecmp and strncasecmp.
45310 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45311 strcasecmp_l and strncasecmp_l.
45312 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45313 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45314 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45315 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45316 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45317 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45318 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45319 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45320 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45321 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45322 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45323
ab26144e
UD
453242011-11-12 Ulrich Drepper <drepper@gmail.com>
45325
7edb22ef
UD
45326 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45327 result of SYSDEP_GETTIME_CPU to retval.
45328 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45329 parameter list to macro. Remove trailing semicolon. Adjust users.
45330
9694fc44
UD
45331 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45332 variable.
45333
8ad89ef8
UD
45334 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45335 mantissa words.
45336 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45337
0c822ef9
UD
45338 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45339 from unused variable.
45340
874e0564
UD
45341 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45342 DWARF definitions.
45343 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45344 for assembling.
45345
3a2edc79
UD
45346 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45347 over namespaces.
45348
f3c2577f
UD
45349 * sunrpc/rpc_prot.c (rejected): Fix case value.
45350
294ce126
UD
45351 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45352 unsigned long long int to avoid warnings in shift.
45353
5e2b63c6
UD
45354 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45355 of use of trans.
45356 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45357 variable tmp.
45358
e7f4b08e
UD
45359 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45360 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45361 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45362
ab26144e
UD
45363 * nis/nis_table.c (nis_list): Use variable of correct type for
45364 result of __follow_path call.
45365
8a6d5255
AZ
453662011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45367
45368 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45369 of math functions ceil, trunc, floor, round, and sqrt, when
45370 avaliable on the platform.
45371 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45372 name clash.
45373 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45374 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45375 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45376
aaddc98c
MP
453772011-10-30 Marek Polacek <mpolacek@redhat.com>
45378
45379 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45381
95b7042b
RM
453822011-11-11 Roland McGrath <roland@hack.frob.com>
45383
45384 * include/unistd.h: Fix __readlink return type.
45385 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45386
57769839
UD
453872011-11-11 Ulrich Drepper <drepper@gmail.com>
45388
45389 * stdlib/ucontext.h: Undo last change for makecontext.
45390
edc5984d
AS
453912011-11-11 Andreas Schwab <schwab@redhat.com>
45392
98591e58
AS
45393 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45394
edc5984d
AS
45395 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45396 * setjmp/setjmp.h: Mark functions as non-leaf.
45397 * setjmp/bits/setjmp2.h: Likewise.
45398 * stdlib/ucontext.h: Likewise.
45399
77cdc054
AS
454002011-11-10 Andreas Schwab <schwab@redhat.com>
45401
45402 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45403 (reused_arena): Don't check arena limit.
45404 (arena_get2): Atomically check arena limit.
45405
fe72eebd
UD
454062011-11-08 Ulrich Drepper <drepper@gmail.com>
45407
5f078c32
UD
45408 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45409 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45410
fe72eebd
UD
45411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45412 instructions.
45413
ae1bc2fa
AS
454142011-11-07 Andreas Schwab <schwab@redhat.com>
45415
7583a88d
AS
45416 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45417 handler when locking.
45418
ae1bc2fa
AS
45419 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45420 Fix size of allocated buffer.
45421
10fb0bfa
AS
454222011-11-04 Andreas Schwab <schwab@redhat.com>
45423
998832a4
AS
45424 [BZ #10103]
45425 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45426 declarations for long double functions.
45427 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45428
10fb0bfa
AS
45429 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45430
3d7ba52b
AS
454312011-11-03 Andreas Schwab <schwab@redhat.com>
45432
a9ae54a1
AS
45433 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45434 installed.
45435
3d7ba52b
AS
45436 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45437 is disabled.
45438
bc8db248
ST
454392011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45440
45441 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45442
45b96dd6
AS
454432011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45444
647776f6
AS
45445 * include/alloca.h (stackinfo_alloca_round): Define.
45446 (extend_alloca): Use it.
45447 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45448 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45449 here.
45450
d91a8b93
AS
45451 * scripts/check-local-headers.sh: Ignore libaudit.h.
45452
45b96dd6
AS
45453 * nscd/Makefile (extra-objs): Make recursively expanded.
45454
432d41ce
UD
454552011-11-01 Ulrich Drepper <drepper@gmail.com>
45456
34372fc6
UD
45457 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45459
fadb59f8
UD
45460 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45461 * posix/tst-rfc3484-2.c: Likewise.
45462 * posix/tst-rfc3484-3.c: Likewise.
45463
78239589
UD
45464 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45465 process_vm_writev.
45466 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45467 process_vm_writev.
45468 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45469 process_vm_writev from libc using GLIBC_2.15 version.
45470
432d41ce
UD
45471 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45472
02f9c6cf
PP
454732011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45474
45475 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45476 stack usage.
45477
3a2c0242
UD
454782011-10-31 Ulrich Drepper <drepper@gmail.com>
45479
f4ec4833
UD
45480 [BZ #13367]
45481 * nss/getent.c (initgroups_keys): Show error message in case no group
45482 names are given.
45483
3a2c0242
UD
45484 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45485 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45486 __bump_nl_timestamp.
45487 * nscd/connections (nscd_init): When host database is served open
45488 netlink socket and request notification about configuration changes.
45489 (main_loop_poll): Track netlink file descriptor and bump timestamp
45490 in case data becomes available.
45491 (main_loop_epoll): Likewise.
45492 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45493 (database_pers_head): Add extra_data fileds.
45494 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45495 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45496 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45497 Adjust caller.
45498 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45499 in6ai data, call __free_in6ai.
45500 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45501 Add -DHAVE_NETLINK.
45502 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45503 interface information. Reuse previous data if netlink timestamp
45504 is not changed.
45505 (__bump_nl_timestamp): New function.
45506 (__free_in6ai): New function.
45507
636064eb
UD
455082011-10-30 Ulrich Drepper <drepper@gmail.com>
45509
45510 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45511 close_not_cancel_no_status here.
45512 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45513
9beb2334
UD
455142011-10-29 Ulrich Drepper <drepper@gmail.com>
45515
6ef76f3b
UD
45516 [BZ #13276]
45517 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45518 return value.
45519
0ffc4f3e 45520 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45521 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45522 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45523
cb95113e
UD
455242011-07-03 Andreas Jaeger <aj@suse.de>
45525
45526 [BZ #10709]
45527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45528 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45529 * math/libm-test.inc (sin_test): Add test case.
45530
a1b560ff
UD
455312011-10-29 Ulrich Drepper <drepper@gmail.com>
45532
c9aaface
UD
45533 [BZ #13337]
45534 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45535 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45536
d272e7f1
UD
45537 * elf/chroot_canon.c (chroot_canon): Cleanups.
45538
1bc33071
UD
45539 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45540
1760874d
TJ
45541 [BZ #13335]
45542 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45543 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45544
51d91b18
UD
45545 * string/test-strchr.c: Make usable for strchrnul testing.
45546 * string/test-strchrnul.c: New file.
45547 * string/Makefile (strop-tests): Add strchrnul.
45548
a1b560ff 45549 * po/it.po: Update from translation team.
b611fb81 45550 * po/es.po: Likewise.
a1b560ff 45551
a5b81e1f
UD
455522011-10-28 Ulrich Drepper <drepper@gmail.com>
45553
fd52bc6d
UD
45554 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45555 the three constants needed as parameters. Drop the others.
45556 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45557 __m128i_strloadu_tolower.
52e4b9eb
UD
45558 Create and initialize variable zero and use it in all the places
45559 where _mm_setzero_si128 was used.
fd52bc6d 45560
a5b81e1f
UD
45561 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45562 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45563 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45564 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45565 anymore.
45566 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45567 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45568 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45569 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45570 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45571 __mpranred, __mptan.
45572 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45573 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45574 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45575 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45576 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45577 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45578 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45579 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45580 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45581
b4343346
AS
455822011-10-28 Andreas Schwab <schwab@redhat.com>
45583
0c92d8a8
AS
45584 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45585 redefine if SHARED.
45586 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45587
b4343346
AS
45588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45589 wide char related routines to wcsmbs subdir.
45590
3871f58f
AS
455912011-10-27 Andreas Schwab <schwab@redhat.com>
45592
45593 [BZ #13344]
45594 * misc/sys/cdefs.h (__THROWNL): Define.
45595 * posix/unistd.h: Use __THREADNL instead of __THREAD
45596 for memory synchronization functions.
45597
94d44d9f
RM
455982011-10-26 Roland McGrath <roland@hack.frob.com>
45599
21b64b15 45600 [BZ #13349]
94d44d9f
RM
45601 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45602 doesn't exist.
45603 * manual/stdio.texi (Obstack Streams): Node removed.
45604
f6ce9294
AS
456052011-10-26 Andreas Schwab <schwab@redhat.com>
45606
80479147
AS
45607 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45608 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45609 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45610
f6ce9294
AS
45611 * math/math_private.h (math_force_eval): Allow non-addressable
45612 arguments.
45613 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45614
618280a1
UD
456152011-10-25 Ulrich Drepper <drepper@gmail.com>
45616
e0016b11
UD
45617 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45618 file is not needed.
45619
45620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45622 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45623 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45624 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45626 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45627 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45628 Add AVX variants.
45629 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45630 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45631 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45632 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45633 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45634 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45635 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45636 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45637 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45638 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45639 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45640 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45642 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45643 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45644 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45645 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45646 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45647 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45648
45649 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45650 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45651
618280a1
UD
45652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45653 place. Use VEX encoding when compiling for AVX.
45654
37822576
AS
456552011-10-25 Andreas Schwab <schwab@redhat.com>
45656
1f1e1947
AS
45657 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45658 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45659
37822576
AS
45660 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45661
31ea014d
UD
456622011-10-25 Ulrich Drepper <drepper@gmail.com>
45663
d7826aa1 45664 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45665 useless if() expression.
d7826aa1
UD
45666 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45667 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45669 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45670 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45671 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45674 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45677 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45678 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45679 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45680 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45683 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45684 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45685
31ea014d
UD
45686 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45687
16437fec
AS
456882011-10-25 Andreas Schwab <schwab@redhat.com>
45689
45690 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45691 condition.
45692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45693
31d3cc00
UD
456942011-10-25 Ulrich Drepper <drepper@gmail.com>
45695
45696 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45697 .text section. Avoid duplicate constants.
45698 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45702 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45706 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45707 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45708 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45709 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45710 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45711 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45712 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45713 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45714 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45715 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45718 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45719 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45720 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45721 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45722 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45723 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45724 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45725 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45726 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45727 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45728 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45729 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45730 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45731 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45732 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45733 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45734 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45736 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45737 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45738 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45739 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45740 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45741 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45742 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45743
58985aa9
UD
457442011-10-24 Ulrich Drepper <drepper@gmail.com>
45745
202c9deb
UD
45746 * sysdeps/x86_64/dla.h: Move to ...
45747 * sysdeps/x86_64/fpu/dla.h: ...here.
45748 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45749 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45750
af968f62
UD
45751 * config.make.in: Add have-mfma4 entry.
45752 * configure.in: Substitute libc_cv_cc_fma4.
45753 * math/Makefile (dbl-only-routines): Add sincostab.
45754 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45755 Use __sincostab not sincos.
45756 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45757 name is a macro.
45758 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45762 using __copysign.
45763 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45764 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45765 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45766 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45767 and __inv.
45768 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45769 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45770 __copysign.
45771 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45772 define aliases when function name is a macro.
45773 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45774 sysdeps/ieee754/dbl-64/sincos.tbl.
45775 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45776 fma4-enabled routines.
45777 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45778 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45779 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45780 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45781 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45782 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45783 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45786 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45787 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45788 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45789 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45790 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45792 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45793 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45794 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45795 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45797 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45798 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45800 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45801 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45802 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45804 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45805 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45806 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45807
58985aa9
UD
45808 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45809 rename.
45810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45818
a201fbcf
AS
458192011-10-24 Andreas Schwab <schwab@redhat.com>
45820
45821 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45822
fc2ee42a
LD
458232011-10-23 Ulrich Drepper <drepper@gmail.com>
45824
bb3129bd
UD
45825 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45826
0275fff8
UD
45827 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45828 prediction.
45829 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45830
2fa2ae85
UD
45831 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45832 Remove unused variable magic_bits.
45833 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45834
fc2ee42a
LD
45835 * string/strnlen.c: Define and use STRNLEN macro.
45836 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45837 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45839 * wcsmbs/wcslen.c: Define and use WCSLEN.
45840 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45841 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45842 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45843 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45844 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45845 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45846 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45847
ce7dd29f
LD
458482011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45849
45850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45851 strnlen-sse2-no-bsf.
45852 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45853 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45854 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45855 Add strnlen support.
45856 (USE_AS_STRNLEN): New macro.
45857 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45858 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45859 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45860 * sysdeps/x86_64/wcslen.S: New file.
45861
979c70a3
MZ
458622011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45863
45864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45865 XMM-moves are used for copying on small sizes.
45866
2d09f82f
LD
458672011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45868
45869 * wcsmbs/Makefile (strop-tests): Add wcschr.
45870 * wcsmbs/test-wcschr.c: New file.
45871 * string/test-strchr.c: Update.
45872 Add wcschr support.
45873 (WIDE): New macro.
45874
619fccca
LD
458752011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45876
2d09f82f 45877 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45878 * wcsmbs/test-wcslen.c: New file.
45879 * string/test-strlen.c: Update.
45880 Add wcslen support.
45881 (WIDE): New macro.
45882
09f699ea
UD
458832011-10-23 Ulrich Drepper <drepper@gmail.com>
45884
45885 * po/it.po: Update from translation team.
45886
95584d3b
LD
458872011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45888
45889 * sysdeps/x86_64/wcscmp.S: Update.
45890 Fix wrong comparison semantics.
45891 wcscmp shall use signed comparison not unsigned.
45892 Don't use substraction to avoid overflow bug.
45893 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45894 * wcsmbc/wcscmp.c: Likewise.
45895 * string/test-strcmp.c: Likewise.
45896 Add new tests to check cases with negative values.
45897
c8b3296b
UD
458982011-10-23 Ulrich Drepper <drepper@gmail.com>
45899
45900 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45901 * sysdeps/x86_64/dla.h: ...here. New file.
45902 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45911
246ad57a
AS
459122011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45913
45914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45915 __ynl_finite aliases.
45916
a1a87169
UD
459172011-10-22 Ulrich Drepper <drepper@gmail.com>
45918
0d355eb7
UD
45919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45920
a1a87169
UD
45921 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45922 define DLA_FMA.
45923 [DLA_FMA] (EMULV): Use DLA_FMA.
45924 [DLA_FMA] (MUL12): Use EMULV.
45925 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45926 that are not needed.
45927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45934
ee2aafe0
AS
459352011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45936
45937 * math/s_nan.c: Undef __nan.
45938 * math/s_nanf.c: Undef __nanf.
45939 * math/s_nanl.c: Undef __nanl.
45940 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45941 "math_private.h".
45942
bc62c2fb
UD
459432011-10-22 Ulrich Drepper <drepper@gmail.com>
45944
77425c63
UD
45945 * math/s_catan.c: Add branch predictions.
45946 * math/s_catanf.c: Likewise.
45947 * math/s_catanh.c: Likewise.
45948 * math/s_catanhf.c: Likewise.
45949 * math/s_catanhl.c: Likewise.
45950 * math/s_catanl.c: Likewise.
45951 * math/s_cexp.c: Likewise.
45952 * math/s_cexpf.c: Likewise.
45953 * math/s_cexpl.c: Likewise.
45954 * math/s_clog.c: Likewise.
45955 * math/s_clog10.c: Likewise.
45956 * math/s_clog10f.c: Likewise.
45957 * math/s_clog10l.c: Likewise.
45958 * math/s_clogf.c: Likewise.
45959 * math/s_clogl.c: Likewise.
45960 * math/s_csqrt.c: Likewise.
45961 * math/s_csqrtf.c: Likewise.
45962 * math/s_csqrtl.c: Likewise.
45963 * math/s_ctanf.c: Likewise.
45964 * math/s_ctanh.c: Likewise.
45965 * math/s_ctanhf.c: Likewise.
45966 * math/s_ctanhl.c: Likewise.
45967 * math/s_ctanl.c: Likewise.
45968
bc62c2fb
UD
45969 * math/math_private.h: Define __nan, __nanf, __nanl.
45970 * math/s_cacosh.c: Include <math_private.h>.
45971 * math/s_cacoshl.c: Likewise.
45972 * math/s_casinh.c: Likewise.
45973 * math/s_casinhf.c: Likewise.
45974 * math/s_casinhl.c: Likewise.
45975 * math/s_ccos.c: Rely entire on ccosh.
45976 * math/s_ccosf.c: Rely entire on ccoshf.
45977 * math/s_ccosl.c: Rely entirely on ccoshl.
45978 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45979 Remove tests for FE_INVALID.
45980 * math/s_ccoshf.c: Likewise.
45981 * math/s_ccoshl.c: Likewise.
45982 * math/s_csin.c: Likewise.
45983 * math/s_csinf.c: Likewise.
45984 * math/s_csinh.c Likewise.
45985 * math/s_csinhf.c: Likewise.
45986 * math/s_csinhl.c: Likewise.
45987 * math/s_csinl.c: Likewise.
45988 * math/s_ctan.c: Likewise.
45989 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45990 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45991 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45992
8ec250a4
UD
459932011-10-21 Ulrich Drepper <drepper@gmail.com>
45994
c196fed8
UD
45995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45996 compilation problems.
45997
8ec250a4
UD
45998 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45999 __builtin_expect.
46000
8d4f46c6
UD
460012011-10-20 Ulrich Drepper <drepper@gmail.com>
46002
ed72b654
UD
46003 * sysdeps/i386/configure.in: Test for -mfma4 option.
46004 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46005 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46006 COMMON_CPUID_INDEX_80000001.
46007 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46008 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46009 use it if FMA3 is not supported.
46010 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46011
8d4f46c6
UD
46012 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46013 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46014
d45c60c2
AS
460152011-10-20 Andreas Schwab <schwab@redhat.com>
46016
46017 [BZ #12892]
46018 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46019 it would create a cycle with a link time dependency.
46020
d9a4d2ab
UD
460212011-10-19 Ulrich Drepper <drepper@gmail.com>
46022
855d1560
UD
46023 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46024 instruction.
46025 * string/Makefile (strop-tests): Add rawmemchr.
46026 * string/test-rawmemchr.c: New file.
46027
d9a4d2ab
UD
46028 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46029 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46030 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46031 when compiling str{,n}casecmp and when AVX is available. Hook up
46032 new optimized code in initializers.
46033
8f3b1ffe
AS
460342011-10-19 Andreas Schwab <schwab@redhat.com>
46035
46036 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46037 __feraiseexcept instead of feraiseexcept.
46038
d38f1dba
UD
460392011-10-18 Ulrich Drepper <drepper@gmail.com>
46040
d9a8d0ab
UD
46041 * math/math_private.h: Define defaults for libc_fetestexcept and
46042 libc_feupdateenv.
46043 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46044 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46045 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46046 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46047 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46048 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46049 libc_fetestexcept and libc_feupdateenv.
46050
4855e3dd
UD
46051 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46052 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46053 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46054 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46055 libc_feholdexcept_setround.
46056
581d30e3
UD
46057 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46058 Add s_nearbyint-c and s_nearbyintf-c.
46059 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46060 nearbyintf inlines.
46061 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46062 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46063 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46064 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46065
d38f1dba
UD
46066 * math/math_private.h: Define defaults for libc_fegetround,
46067 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46068 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46069 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46070 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46071 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46072 standard functions.
46073 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46074 Remove comments and hacks for old compiler versions.
46075 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46076 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46077 libc_feholdexceptl.
46078
caa6c9d8
AS
460792011-10-18 Andreas Schwab <schwab@redhat.com>
46080
46081 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46082 (__feraiseexcept_renamed): Add __NTH.
46083 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46084 namespace violations.
46085
97c066e6
UD
460862011-10-17 Ulrich Drepper <drepper@gmail.com>
46087
99ce7b04
UD
46088 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46089
1004d182
UD
46090 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46091
228a984d
UD
46092 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46093 recently added interfaces.
46094 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46095
c8553a6a
UD
46096 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46097 about macro parameter expansion.
46098
ed22dcf6
UD
46099 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46100 __NO_MATH_INLINES is defined. Cleanups.
46101
46102 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46103 and __floorf is target has SSE4.1.
46104 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46106 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46107 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46108
b171c137
UD
46109 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46110 name.
46111 (floorf): Likewise.
46112
97c066e6
UD
46113 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46114
629f62ef
AS
461152011-10-17 Andreas Schwab <schwab@redhat.com>
46116
49a43d80
AS
46117 * misc/sys/cdefs.h: Fix last change.
46118
629f62ef
AS
46119 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46120 database lookup.
46121
e453f6cd
UD
461222011-10-16 Ulrich Drepper <drepper@gmail.com>
46123
aa78043a
UD
46124 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46125
ad0f5cad
UD
46126 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46127 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46128 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46129 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46131 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46133 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46134 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46135 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46136 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46137 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46138 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46139 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46140 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46141 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46142 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46143 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46144 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46145 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46146 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46147 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46148
46149 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46150 ceil, ceilf, floor, floorf.
46151
46152 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46153 Perform IRELATIVE relocations last.
46154
e453f6cd
UD
46155 * elf/do-rel.h: Add another parameter nrelative, replacing the
46156 local variable with the same name. Change name of the function
46157 to end in Rel or Rela (uppercase).
46158 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46159 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46160 elf_dynamic_do_##reloc function.
46161
fd5bdc09
UD
461622011-10-15 Ulrich Drepper <drepper@gmail.com>
46163
79b195b5
UD
46164 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46165 is sufficient, at least on modern CPUs.
46166
d4a28569
UD
46167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46168
b61099b5
UD
46169 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46170 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46171
bcf01e6d
UD
46172 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46173 __expl_finite.
46174 * math/bits/math-finite.h: Add entries for exp.
46175 * math/e_expl.c: Add __*_finite alias.
46176 * sysdeps/i386/fpu/e_exp.S: Likewise.
46177 * sysdeps/i386/fpu/e_expf.S: Likewise.
46178 * sysdeps/i386/fpu/e_expl.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46180 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46181 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46183 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46184 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46185 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46186
ba1a0d59
UD
46187 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46188 is sufficient, at least on modern CPUs.
46189
fd5bdc09
UD
46190 * ctype/ctype-info.c (__ctype_init): Define.
46191 * include/ctype.h (__ctype_init): Declare.
46192 (__ctype_b_loc): The variable is always initialized.
46193 (__ctype_toupper_loc): Likewise.
46194 (__ctype_tolower_loc): Likewise.
46195 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46196 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46197
7872cfb0
AS
461982011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46199
b468825a
AS
46200 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46201
7872cfb0
AS
46202 * configure.in: Also look in $cxxmachine/include for C++ system
46203 headers.
46204
be13f7bf
LD
462052011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46206
46207 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46208 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46209 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46210 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46211 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46212 (USE_AS_WMEMCMP): New macro.
46213 Fixing indents.
46214 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46215 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46216 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46217 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46219 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46220 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46221 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46222 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46223 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46224 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46225 (USE_AS_WMEMCMP): New macro.
46226 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46227 * sysdeps/string/test-memcmp.c: Update.
46228 Fix simple_wmemcmp.
46229 Add new tests.
46230 * wcsmbs/wmemcmp.c: Update.
46231 (WMEMCMP): New macro.
46232 Fix overflow bug.
46233
556a2007
AJ
462342011-10-12 Andreas Jaeger <aj@suse.de>
46235
46236 [BZ #13268]
46237 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46238
538faaa7
UD
462392011-10-15 Ulrich Drepper <drepper@gmail.com>
46240
ab6737ff
UD
46241 * libio/iofwide.c (do_length): Avoid warning.
46242
538faaa7
UD
46243 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46244
396a21b1
UD
462452011-10-14 Ulrich Drepper <drepper@gmail.com>
46246
cdf2901f
UD
46247 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46248
38ad40ce
UD
46249 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46250 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46251 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46252 * sysdeps/i386/i686/fpu/e_log.S: New file.
46253 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46254 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46255
396a21b1
UD
46256 * ctype/ctype.h: Add support for inlined isXXX functions when
46257 compiling C++ code.
46258
6b1f68c9
AS
462592011-10-14 Andreas Schwab <schwab@redhat.com>
46260
349290c0
AS
46261 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46262
6b1f68c9
AS
46263 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46264
f2282d42
RM
462652011-10-13 Roland McGrath <roland@hack.frob.com>
46266
46267 [BZ #13291]
46268 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46269
5298ffa8
AS
462702011-10-13 Andreas Schwab <schwab@redhat.com>
46271
714fad23
AS
46272 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46273 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46274 feraiseexcept.
46275
81dcc7fb
AS
46276 * sysdeps/x86_64/memrchr.S: Check for zero size.
46277
5298ffa8
AS
46278 * string/stratcliff.c: Add memrchr tests.
46279
951fbcec
LD
462802011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46281
46282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46283 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46284 rawmemchr-sse2 rawmemchr-sse2-bsf.
46285 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46286 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46287 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46288 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46289 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46290 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46291 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46292 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46293 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46294 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46295 * string/memrchr.c (MEMRCHR): New macro.
46296
0ac5ae23
UD
462972011-10-12 Ulrich Drepper <drepper@gmail.com>
46298
46299 Add integration with gcc's -ffinite-math-only and optimize wrapper
46300 functions in libm.
46301 * Versions.def: Define GLIBC_2.15 version for libm.
46302 * math/Makefile (headers): Add bits/math-finite.h.
46303 * math/bits/math-finite.h: New file.
46304 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46305 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46306 * math/e_acoshl.c: Add __*_finite alias.
46307 * math/e_acosl.c: Likewise.
46308 * math/e_asinl.c: Likewise.
46309 * math/e_atan2l.c: Likewise.
46310 * math/e_atanhl.c: Likewise.
46311 * math/e_coshl.c: Likewise.
46312 * math/e_exp10.c: Likewise.
46313 * math/e_exp10f.c: Likewise.
46314 * math/e_exp10l.c: Likewise.
46315 * math/e_exp2l.c: Likewise.
46316 * math/e_fmodl.c: Likewise.
46317 * math/e_gammal_r.c: Likewise.
46318 * math/e_hypotl.c: Likewise.
46319 * math/e_j0l.c: Likewise.
46320 * math/e_j1l.c: Likewise.
46321 * math/e_jnl.c: Likewise.
46322 * math/e_lgammal_r.c: Likewise.
46323 * math/e_log10l.c: Likewise.
46324 * math/e_log2l.c: Likewise.
46325 * math/e_logl.c: Likewise.
46326 * math/e_powl.c: Likewise.
46327 * math/e_sinhl.c: Likewise.
46328 * math/e_sqrtl.c: Likewise.
46329 * math/e_scalb.c: Completely rewritten and optimized.
46330 * math/e_scalbf.c: Likewise.
46331 * math/e_scalbl.c: Likewise.
46332 * math/w_acos.c: Likewise.
46333 * math/w_acosf.c: Likewise.
46334 * math/w_acosl.c: Likewise.
46335 * math/w_acosh.c: Likewise.
46336 * math/w_acoshf.c: Likewise.
46337 * math/w_acoshl.c: Likewise.
46338 * math/w_asin.c: Likewise.
46339 * math/w_asinf.c: Likewise.
46340 * math/w_asinl.c: Likewise.
46341 * math/w_atan2.c: Likewise.
46342 * math/w_atan2f.c: Likewise.
46343 * math/w_atan2l.c: Likewise.
46344 * math/w_atanh.c: Likewise.
46345 * math/w_atanhf.c: Likewise.
46346 * math/w_atanhl.c: Likewise.
46347 * math/w_exp10.c: Likewise.
46348 * math/w_exp10f.c: Likewise.
46349 * math/w_exp10l.c: Likewise.
46350 * math/w_fmod.c: Likewise.
46351 * math/w_fmodf.c: Likewise.
46352 * math/w_fmodl.c: Likewise.
46353 * math/w_j0.c: Likewise.
46354 * math/w_j0f.c: Likewise.
46355 * math/w_j0l.c: Likewise.
46356 * math/w_j1.c: Likewise.
46357 * math/w_j1f.c: Likewise.
46358 * math/w_j1l.c: Likewise.
46359 * math/w_jn.c: Likewise.
46360 * math/w_jnf.c: Likewise.
46361 * math/w_log.c: Likewise.
46362 * math/w_logf.c: Likewise.
46363 * math/w_logl.c: Likewise.
46364 * math/w_log10.c: Likewise.
46365 * math/w_log10f.c: Likewise.
46366 * math/w_log10l.c: Likewise.
46367 * math/w_log2.c: Likewise.
46368 * math/w_log2f.c: Likewise.
46369 * math/w_log2l.c: Likewise.
46370 * math/w_pow.c: Likewise.
46371 * math/w_powf.c: Likewise.
46372 * math/w_powl.c: Likewise.
46373 * math/w_remainder.c: Likewise.
46374 * math/w_remainderf.c: Likewise.
46375 * math/w_remainderl.c: Likewise.
46376 * math/w_scalb.c: Likewise.
46377 * math/w_scalbf.c: Likewise.
46378 * math/w_scalbl.c: Likewise.
46379 * math/w_sqrt.c: Likewise.
46380 * math/w_sqrtf.c: Likewise.
46381 * math/w_sqrtl.c: Likewise.
46382 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46383 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46384 used.
46385 * math/math_private.h: Declare __kernel_standard_f.
46386 * math/w_cosh.c: Remove cruft and optimize a bit.
46387 * math/w_coshf.c: Likewise.
46388 * math/w_coshl.c: Likewise.
46389 * math/w_exp2.c: Likewise.
46390 * math/w_exp2f.c: Likewise.
46391 * math/w_exp2l.c: Likewise.
46392 * math/w_hypot.c: Likewise.
46393 * math/w_hypotf.c: Likewise.
46394 * math/w_hypotl.c: Likewise.
46395 * math/w_lgamma.c: Likewise.
46396 * math/w_lgamma_r.c: Likewise.
46397 * math/w_lgammaf.c: Likewise.
46398 * math/w_lgammaf_r.c: Likewise.
46399 * math/w_lgammal.c: Likewise.
46400 * math/w_lgammal_r.c: Likewise.
46401 * math/w_sinh.c: Likewise.
46402 * math/w_sinhf.c: Likewise.
46403 * math/w_sinhl.c: Likewise.
46404 * math/w_tgamma.c: Likewise.
46405 * math/w_tgammaf.c: Likewise.
46406 * math/w_tgammal.c: Likewise.
46407 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46409 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46410 Minor optimizations. Pretty printing. Remove cruft.
46411 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46412 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46415 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46416 * sysdeps/i386/fpu/e_asin.S: Likewise.
46417 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46418 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46419 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46420 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46423 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46424 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46425 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46426 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46427 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46428 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46429 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46430 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46431 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46432 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46433 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46434 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46435 * sysdeps/i386/fpu/e_log.S: Likewise.
46436 * sysdeps/i386/fpu/e_log10.S: Likewise.
46437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46438 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46439 * sysdeps/i386/fpu/e_log2.S: Likewise.
46440 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46441 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46442 * sysdeps/i386/fpu/e_logf.S: Likewise.
46443 * sysdeps/i386/fpu/e_logl.S: Likewise.
46444 * sysdeps/i386/fpu/e_pow.S: Likewise.
46445 * sysdeps/i386/fpu/e_powf.S: Likewise.
46446 * sysdeps/i386/fpu/e_powl.S: Likewise.
46447 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46448 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46449 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46450 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46451 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46452 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46453 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46454 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46455 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46459 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46460 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46461 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46462 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46463 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46464 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46465 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46466 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46467 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46472 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46473 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46477 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46478 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46479 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46480 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46481 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46482 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46483 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46484 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46485 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46486 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46487 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46488 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46489 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46490 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46491 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46492 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46493 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46494 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46495 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46496 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46497 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46500 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46502 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46504 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46505 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46506 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46511 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46512 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46513 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46514 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46515 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46516 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46517 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46518 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46519 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46520 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46522 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46524 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46527 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46528 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46532 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46535 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46536 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46537 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46538 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46539 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46540 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46541 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46542 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46543 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46544 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46547 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46548 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46549 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46550 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46551 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46552 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46553 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46554 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46555 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46556 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46557 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46558 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46559 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46560 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46561 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46562 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46563 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46564 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46565 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46566 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46567 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46568 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46569 (__isnanf): Likewise.
46570 (__isinf_ns): Likewise.
46571 (__isinf_nsf): Likewise.
46572 (__finite): Likewise.
46573 (__finitef): Likewise.
46574 (__ieee754_sqrt): Define as macro.
46575 (__ieee754_sqrtf): Define as macro.
46576 (__ieee754_sqrtl): Define as macro.
46577 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46578 inlined copy.
46579 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46580 __FINITE_MATH_ONLY__ consistent.
46581 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46582
12cc2fcd
AS
465832011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46584
a843a204
AS
46585 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46586 of rawmemchr.
46587
12cc2fcd
AS
46588 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46589
c853acd5
UD
465902011-10-09 Ulrich Drepper <drepper@gmail.com>
46591
46592 * po/ja.po: Update from translation team.
46593
c658d255
RM
465942011-10-08 Roland McGrath <roland@hack.frob.com>
46595
110946e4
RM
46596 * locale/programs/locarchive.c (prepare_address_space): New function.
46597 (create_archive, enlarge_archive, open_archive): Use it.
46598
50604220
RM
46599 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46600 inside [SHARED], where it is used.
46601
c658d255
RM
46602 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46603
46604 * nss/getent.c (netgroup_keys): Remove unused variable.
46605 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46606
6a621eb7
UD
466072011-10-08 Ulrich Drepper <drepper@gmail.com>
46608
7edb55ce
UD
46609 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46610 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46612 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46613 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46614 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46615 * math/Makefile (libm-calls): Add s_isinf_ns.
46616 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46617 * math/multc3.c: Likewise.
46618 * math/s_casin.c: Likewise.
46619 * math/s_casinf.c: Likewise.
46620 * math/s_casinl.c: Likewise.
46621 * math/s_ccos.c: Likewise.
46622 * math/s_ccosf.c: Likewise.
46623 * math/s_ccosl.c: Likewise.
46624 * math/s_ctan.c: Likewise.
46625 * math/s_ctanf.c: Likewise.
46626 * math/s_ctanh.c: Likewise.
46627 * math/s_ctanhf.c: Likewise.
46628 * math/s_ctanhl.c: Likewise.
46629 * math/s_ctanl.c: Likewise.
46630 * math/w_fmod.c: Likewise.
46631 * math/w_fmodf.c: Likewise.
46632 * math/w_fmodl.c: Likewise.
46633 * math/w_remainder.c: Likewise.
46634 * math/w_remainderf.c: Likewise.
46635 * math/w_remainderl.c: Likewise.
46636 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46637 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46638 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46640 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46641 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46642 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46643 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46644
187da0ae
UD
46645 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46646 of the number.
46647 * stdio-common/printf_fphex.c: Likewise.
46648 * stdio-common/printf_size.c: Likewise.
46649
9277c064
UD
46650 * math/e_exp10.c: Include math_private.h using <...> not "...".
46651 * math/e_exp10f.c: Likewise.
46652 * math/e_exp10l.c: Likewise.
46653 * math/e_exp2l.c: Likewise.
46654 * math/e_j0l.c: Likewise.
46655 * math/e_j1l.c: Likewise.
46656 * math/e_jnl.c: Likewise.
46657 * math/e_lgammal_r.c: Likewise.
46658 * math/e_rem_pio2l.c: Likewise.
46659 * math/e_scalb.c: Likewise.
46660 * math/e_scalbf.c: Likewise.
46661 * math/e_scalbl.c: Likewise.
46662 * math/k_cosl.c: Likewise.
46663 * math/k_sinl.c: Likewise.
46664 * math/k_tanl.c: Likewise.
46665 * math/s_cacoshf.c: Likewise.
46666 * math/s_catan.c: Likewise.
46667 * math/s_catanf.c: Likewise.
46668 * math/s_catanh.c: Likewise.
46669 * math/s_catanhf.c: Likewise.
46670 * math/s_catanhl.c: Likewise.
46671 * math/s_catanl.c: Likewise.
46672 * math/s_ccosh.c: Likewise.
46673 * math/s_ccoshf.c: Likewise.
46674 * math/s_ccoshl.c: Likewise.
46675 * math/s_cexp.c: Likewise.
46676 * math/s_cexpf.c: Likewise.
46677 * math/s_cexpl.c: Likewise.
46678 * math/s_clog.c: Likewise.
46679 * math/s_clog10.c: Likewise.
46680 * math/s_clog10f.c: Likewise.
46681 * math/s_clog10l.c: Likewise.
46682 * math/s_clogf.c: Likewise.
46683 * math/s_clogl.c: Likewise.
46684 * math/s_csin.c: Likewise.
46685 * math/s_csinf.c: Likewise.
46686 * math/s_csinh.c: Likewise.
46687 * math/s_csinhf.c: Likewise.
46688 * math/s_csinhl.c: Likewise.
46689 * math/s_csinl.c: Likewise.
46690 * math/s_csqrt.c: Likewise.
46691 * math/s_csqrtf.c: Likewise.
46692 * math/s_csqrtl.c: Likewise.
46693 * math/s_ctan.c: Likewise.
46694 * math/s_ctanf.c: Likewise.
46695 * math/s_ctanh.c: Likewise.
46696 * math/s_ctanhf.c: Likewise.
46697 * math/s_ctanhl.c: Likewise.
46698 * math/s_ctanl.c: Likewise.
46699 * math/s_ldexp.c: Likewise.
46700 * math/s_ldexpf.c: Likewise.
46701 * math/s_ldexpl.c: Likewise.
46702 * math/s_significand.c: Likewise.
46703 * math/s_significandf.c: Likewise.
46704 * math/s_significandl.c: Likewise.
46705 * math/w_acos.c: Likewise.
46706 * math/w_acosf.c: Likewise.
46707 * math/w_acosh.c: Likewise.
46708 * math/w_acoshf.c: Likewise.
46709 * math/w_acoshl.c: Likewise.
46710 * math/w_acosl.c: Likewise.
46711 * math/w_asin.c: Likewise.
46712 * math/w_asinf.c: Likewise.
46713 * math/w_asinl.c: Likewise.
46714 * math/w_atan2.c: Likewise.
46715 * math/w_atan2f.c: Likewise.
46716 * math/w_atan2l.c: Likewise.
46717 * math/w_atanh.c: Likewise.
46718 * math/w_atanhf.c: Likewise.
46719 * math/w_atanhl.c: Likewise.
46720 * math/w_cosh.c: Likewise.
46721 * math/w_coshf.c: Likewise.
46722 * math/w_coshl.c: Likewise.
46723 * math/w_dremf.c: Likewise.
46724 * math/w_exp10.c: Likewise.
46725 * math/w_exp10f.c: Likewise.
46726 * math/w_exp10l.c: Likewise.
46727 * math/w_exp2.c: Likewise.
46728 * math/w_exp2f.c: Likewise.
46729 * math/w_fmod.c: Likewise.
46730 * math/w_fmodf.c: Likewise.
46731 * math/w_fmodl.c: Likewise.
46732 * math/w_hypot.c: Likewise.
46733 * math/w_hypotf.c: Likewise.
46734 * math/w_hypotl.c: Likewise.
46735 * math/w_j0.c: Likewise.
46736 * math/w_j0f.c: Likewise.
46737 * math/w_j0l.c: Likewise.
46738 * math/w_j1.c: Likewise.
46739 * math/w_j1f.c: Likewise.
46740 * math/w_j1l.c: Likewise.
46741 * math/w_jn.c: Likewise.
46742 * math/w_jnf.c: Likewise.
46743 * math/w_jnl.c: Likewise.
46744 * math/w_lgamma.c: Likewise.
46745 * math/w_lgamma_r.c: Likewise.
46746 * math/w_lgammaf.c: Likewise.
46747 * math/w_lgammaf_r.c: Likewise.
46748 * math/w_lgammal.c: Likewise.
46749 * math/w_lgammal_r.c: Likewise.
46750 * math/w_log.c: Likewise.
46751 * math/w_log10.c: Likewise.
46752 * math/w_log10f.c: Likewise.
46753 * math/w_log10l.c: Likewise.
46754 * math/w_log2.c: Likewise.
46755 * math/w_log2f.c: Likewise.
46756 * math/w_log2l.c: Likewise.
46757 * math/w_logf.c: Likewise.
46758 * math/w_logl.c: Likewise.
46759 * math/w_pow.c: Likewise.
46760 * math/w_powf.c: Likewise.
46761 * math/w_powl.c: Likewise.
46762 * math/w_remainder.c: Likewise.
46763 * math/w_remainderf.c: Likewise.
46764 * math/w_remainderl.c: Likewise.
46765 * math/w_scalb.c: Likewise.
46766 * math/w_scalbf.c: Likewise.
46767 * math/w_scalbl.c: Likewise.
46768 * math/w_sinh.c: Likewise.
46769 * math/w_sinhf.c: Likewise.
46770 * math/w_sinhl.c: Likewise.
46771 * math/w_sqrt.c: Likewise.
46772 * math/w_sqrtf.c: Likewise.
46773 * math/w_sqrtl.c: Likewise.
46774 * math/w_tgamma.c: Likewise.
46775 * math/w_tgammaf.c: Likewise.
46776 * math/w_tgammal.c: Likewise.
46777
6a621eb7
UD
46778 * po/ja.po: Update from translation team.
46779
bf582445
AJ
467802011-09-29 Andreas Jaeger <aj@suse.de>
46781
f9efbf3a
AJ
46782 [BZ #13179]
46783 * sunrpc/netname.c (netname2host): Fix logic.
46784
bf582445
AJ
46785 [BZ #6779]
46786 [BZ #6783]
46787 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46788 correctly.
46789 * math/w_remainder.c (__remainder): Likewise.
46790 * math/w_remainderf.c (__remainderf): Likewise.
46791 * math/libm-test.inc (remainder_test): Add test cases.
46792
48693bea
AK
467932011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46794
46795 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46796 sdiv_qrnnd.
46797
42622229
LD
467982011-10-07 Ulrich Drepper <drepper@gmail.com>
46799
46800 * string/test-memcmp.c: Avoid unncessary #defines.
46801 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46802
093ecf92
LD
468032011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46804
46805 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46806 Use new sse2 version for core i3 - i7 as it's faster
46807 than sse42 version.
46808 (bit_Prefer_PMINUB_for_stringop): New.
46809 * sysdeps/x86_64/rawmemchr.S: Update.
46810 Replace with faster SSE2 version.
46811 * sysdeps/x86_64/memrchr.S: New file.
46812 * sysdeps/x86_64/memchr.S: Update.
46813 Replace with faster SSE2 version.
46814
fde56e5c
MP
468152011-09-12 Marek Polacek <mpolacek@redhat.com>
46816
46817 * elf/dl-load.c (lose): Add cast to avoid warning.
46818
21fd49a9
UD
468192011-10-07 Ulrich Drepper <drepper@gmail.com>
46820
5a06e643
UD
46821 * po/ca.po: Update from translation team.
46822
684ae515
UD
46823 * inet/getnetgrent_r.c: Hook up nscd.
46824 * nscd/Makefile (routines): Add nscd_netgroup.
46825 (nscd-modules): Add netgroupcache.
46826 (CFLAGS-netgroupcache.c): Define.
46827 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46828 (cache_search): Add const to second parameter.
46829 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46830 INNETGR.
46831 (dbs): Add netgrdb entry.
46832 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46833 (verify_persistent_db): Handle netgrdb.
46834 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46835 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46836 GETFDNETGR.
46837 (netgroup_response_header): Define.
46838 (innetgroup_response_header): Define.
46839 (datahead): Add netgroup_response_header and innetgroup_response_header
46840 elements.
46841 * nscd/nscd.conf: Add entries for netgroup cache.
46842 * nscd/nscd.h (dbtype): Add netgrdb.
46843 (_PATH_NSCD_NETGROUP_DB): Define.
46844 (netgroup_iov_disabled): Declare.
46845 (xmalloc, xcalloc, xrealloc): Move declarations here.
46846 (cache_search): Adjust prototype.
46847 Add netgroup-related prototypes.
46848 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46849 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46850 (__nscd_innetgr): Declare.
46851 * nscd/selinux.c (perms): Use access_vector_t as element type and
46852 add netgroup-related initializers.
46853 * nscd/netgroupcache.c: New file.
46854 * nscd/nscd_netgroup.c: New file.
46855 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46856 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46857 For four parameters use innetgr.
46858 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46859 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46860 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46861 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46862
21fd49a9
UD
46863 * nscd/connections.c (register_traced_file): Don't register file
46864 for disabled databases.
46865
054c0457
UD
468662011-10-06 Ulrich Drepper <drepper@gmail.com>
46867
32b63198
UD
46868 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46869
054c0457
UD
46870 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46871 from tree and freeing node.
46872
64031225
JO
468732011-09-25 Jiri Olsa <jolsa@redhat.com>
46874
46875 * nss/nsswitch.c (__nss_database_lookup): Handle
46876 nss_parse_service_list out of memory case.
46877
0490345c
JO
468782011-09-15 Jiri Olsa <jolsa@redhat.com>
46879
46880 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46881 out of memory case.
46882
3a62d00d
AS
468832011-10-04 Andreas Schwab <schwab@redhat.com>
46884
46885 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46886 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46887 pass it down.
46888 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46889 elf_machine_rela, elf_machine_lazy_rel.
46890 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46891 (ELF_DYNAMIC_DO_REL): Likewise.
46892 (ELF_DYNAMIC_DO_RELA): Likewise.
46893 (ELF_DYNAMIC_RELOCATE): Likewise.
46894 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46895 to ELF_DYNAMIC_DO_REL.
46896 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46897 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46898 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46899 elf_machine_rela.
46900 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46901 skip_ifunc, don't call ifunc function if non-zero.
46902 (elf_machine_rela): Likewise.
46903 (elf_machine_lazy_rel): Likewise.
46904 (elf_machine_lazy_rela): Likewise.
46905 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46906 (elf_machine_lazy_rel): Likewise.
46907 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46908 Likewise.
46909 (elf_machine_lazy_rel): Likewise.
46910 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46911 Likewise.
46912 (elf_machine_lazy_rel): Likewise.
46913 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46914 (elf_machine_lazy_rel): Likewise.
46915 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46916 (elf_machine_lazy_rel): Likewise.
46917 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46918 (elf_machine_lazy_rel): Likewise.
46919 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46920 (elf_machine_lazy_rel): Likewise.
46921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46922 (elf_machine_lazy_rel): Likewise.
46923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46924 (elf_machine_lazy_rel): Likewise.
46925
68577918
UD
469262011-09-28 Ulrich Drepper <drepper@gmail.com>
46927
46928 * nss/nss_files/files-init.c (_nss_files_init): Use static
46929 initialization for all the *_traced_file variables.
46930
68822d74
AS
469312011-09-28 Andreas Schwab <schwab@redhat.com>
46932
46933 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46934
2056100b
RM
469352011-09-27 Roland McGrath <roland@hack.frob.com>
46936
46937 [BZ #13226]
46938 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46939
32c76b63
AS
469402011-09-27 Andreas Schwab <schwab@redhat.com>
46941
46942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46943 Reread the line before reparsing it.
46944
bf972c9d
AS
469452011-09-26 Andreas Schwab <schwab@redhat.com>
46946
46947 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46948
e057a1b5
JM
469492011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46950 Maxim Kuvyrkov <maxim@codesourcery.com>
46951 Joseph Myers <joseph@codesourcery.com>
46952
46953 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46954 if needed for __stack_chk_guard.
46955
bc7e1c36
RM
469562011-09-19 Roland McGrath <roland@hack.frob.com>
46957
ecb1482f
RM
46958 * sysdeps/posix/spawni.c (script_execute): Always define it.
46959 It will be optimized away if unused.
46960 (maybe_script_execute): New function.
46961 (__spawni): Call it.
46962
bc7e1c36
RM
46963 * Makerules: Don't include tls.make.
46964 (config-tls): Always set to thread.
46965 * tls.make.c: File removed.
46966
1c3b002b
MF
469672011-09-19 Mike Frysinger <vapier@gentoo.org>
46968
46969 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46970 * config.make.in (CPPFLAGS-config): New substituted variable.
46971
2840865d
UD
469722011-09-15 Ulrich Drepper <drepper@gmail.com>
46973
88738eb6
UD
46974 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46975
cbf645a6 46976 [BZ #13192]
2840865d
UD
46977 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46978 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46979
b402e91a
RM
469802011-09-15 Roland McGrath <roland@hack.frob.com>
46981
46982 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46983 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46984 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46985 (CALL_FAIL): Likewise.
46986 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46987 (CALL_FAIL): Macro removed.
46988 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46989
4c1a1f71
UD
469902011-09-15 Ulrich Drepper <drepper@gmail.com>
46991
46992 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46993 for __FINITE_MATH_ONLY__ == 1.
46994
edc121be
AS
469952011-09-15 Andreas Schwab <schwab@redhat.com>
46996
46997 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46998 __ieee754_sqrt instead of sqrt.
46999 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47000 __ieee754_sqrtf instead of sqrtf.
47001 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47002 __floorf instead of floorf.
47003 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47004 __floorf, __truncf instead of floorf, truncf.
47005
cd205654
UD
470062011-09-14 Ulrich Drepper <drepper@gmail.com>
47007
ee4d0315
UD
47008 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47009
cd205654
UD
47010 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47011 __extern_always_inline.
47012 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47013 32-bit.
47014
48b67d71
AS
470152011-09-14 Andreas Schwab <schwab@redhat.com>
47016
47017 * elf/rtld.c (dl_main): Also relocate in dependency order when
47018 doing symbol dependency testing.
47019
1ae12c75
AS
470202011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47021
47022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47023 Always define `refsym'.
47024
995a80df
AS
470252011-09-13 Andreas Schwab <schwab@redhat.com>
47026
e529793b
AS
47027 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47028 (__FD_ELT): Renamed from __FDELT.
47029 * misc/bits/select2.h (__FD_ELT): Likewise.
47030 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47031 __FD_MASK instead of __FDELT, __FDMASK.
47032 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47033 Likewise.
47034 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47035 Likewise.
47036
52d4fef8
AS
47037 * elf/Makefile (gen-ldd): Fix pattern.
47038
995a80df
AS
47039 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47040 (init_tls): Likewise.
47041
8682f8b0
UD
470422011-09-12 Ulrich Drepper <drepper@gmail.com>
47043
47044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47045
de82006d
AS
470462011-09-12 Andreas Schwab <schwab@redhat.com>
47047
a7c8e6a1
AS
47048 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47049 `struct cmsghdr *' instead of `void *'.
47050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47051 Likewise.
47052
0f31fe77
AS
470532011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47054
47055 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47056 if non-absolute.
47057 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47058 ldd_rewrite_script.
0f31fe77 47059
32b4c839
UD
470602011-09-11 Ulrich Drepper <drepper@gmail.com>
47061
83cd1420
UD
47062 * configure.in: Remove --with-tls option.
47063 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47064 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47065 out in case it is missing.
47066 * sysdeps/ia64/elf/configure.in: Likewise.
47067 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47068 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47069 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47070 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47071 * sysdeps/sh/elf/configure.in: Likewise.
47072 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47073 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47074 * sysdeps/x86_64/elf/configure.in: Likewise.
47075 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47076 * sysdeps/mach/hurd/tls.h: Likewise.
47077
633f745d
UD
47078 [BZ #13067]
47079 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47080
f318beb8
UD
47081 [BZ #13090]
47082 * configure.in: Fix use of AC_INIT.
47083
32b4c839
UD
47084 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47085
3ce1f295
UD
470862011-09-10 Ulrich Drepper <drepper@gmail.com>
47087
bb016596
UD
47088 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47089 __set_errno.
8e58439c
UD
47090 * malloc/hooks.c: Likewise.
47091
aebae053 47092 [BZ #11929]
02d46fc4
UD
47093 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47094 variables statically.
47095 (narenas): Initialize.
47096 (list_lock): Initialize.
bb016596
UD
47097 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47098 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47099 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47100 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47101 Add initializers to main_arena and mp_.
47102 (malloc_state): Remove pagesize member. Change all users to use
47103 GLRO(dl_pagesize).
47104
47105 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47106 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47107 is always initialized.
47108
22a89187
UD
47109 * malloc/malloc.c: Removed unused configurations and dead code.
47110 * malloc/arena.c: Likewise.
47111 * malloc/hooks.c: Likewise.
02d46fc4 47112 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47113
d063d164
UD
47114 * include/tls.h: Removed. USE___THREAD must always be defined.
47115 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47116 * elf/dl-libc.c: Likewise.
47117 * elf/dl-tsd.c: Likewise.
47118 * include/errno.h: Likewise.
47119 * include/netdb.h: Likewise.
47120 * include/resolv.h: Likewise.
47121 * inet/herrno-loc.c: Likewise.
47122 * inet/herrno.c: Likewise.
47123 * malloc/arena.c: Likewise.
47124 * malloc/hooks.c: Likewise.
47125 * malloc/malloc.c: Likewise.
47126 * resolv/res-state.c: Likewise.
47127 * resolv/res_libc.c: Likewise.
47128 * sysdeps/i386/dl-machine.h: Likewise.
47129 * sysdeps/ia64/dl-machine.h: Likewise.
47130 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47131 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47132 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47133 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47134 * sysdeps/sh/dl-machine.h: Likewise.
47135 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47136 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47137 * sysdeps/unix/i386/sysdep.S: Likewise.
47138 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47139 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47141 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47144 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47148 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47149 * sysdeps/x86_64/dl-machine.h: Likewise.
47150 * tls.make.c: Likewise.
47151
3ce1f295
UD
47152 * configure.in: Remove --with-__thread option. Make tests for
47153 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47154 tls_model attribute fail if no support is available. Remove
47155 USE_IN_LIBIO.
47156 * Makeconfig: Adjust for dropped configure option. All features are
47157 now mandatory.
47158 * Makerules: Likewise.
47159 * Versions.def: Likewise.
47160 * argp/argp-fmtstream.c: Likewise.
47161 * argp/argp-fmtstream.h: Likewise.
47162 * argp/argp-help.c: Likewise.
47163 * assert/assert.c: Likewise.
47164 * config.h.in: Likewise.
47165 * config.make.in: Likewise.
47166 * configure: Likewise.
47167 * configure.in: Likewise.
47168 * csu/Versions: Likewise.
47169 * csu/init.c: Likewise.
47170 * elf/tst-audit2.c: Likewise.
47171 * elf/tst-tls10.c: Likewise.
47172 * elf/tst-tls10.h: Likewise.
47173 * elf/tst-tls11.c: Likewise.
47174 * elf/tst-tls12.c: Likewise.
47175 * elf/tst-tls14.c: Likewise.
47176 * elf/tst-tlsmod11.c: Likewise.
47177 * elf/tst-tlsmod12.c: Likewise.
47178 * elf/tst-tlsmod13.c: Likewise.
47179 * elf/tst-tlsmod13a.c: Likewise.
47180 * elf/tst-tlsmod14a.c: Likewise.
47181 * elf/tst-tlsmod15b.c: Likewise.
47182 * elf/tst-tlsmod16a.c: Likewise.
47183 * elf/tst-tlsmod16b.c: Likewise.
47184 * elf/tst-tlsmod7.c: Likewise.
47185 * elf/tst-tlsmod8.c: Likewise.
47186 * elf/tst-tlsmod9.c: Likewise.
47187 * gmon/gmon.c: Likewise.
47188 * grp/fgetgrent_r.c: Likewise.
47189 * grp/putgrent.c: Likewise.
47190 * hurd/fopenport.c: Likewise.
47191 * include/libc-symbols.h: Likewise.
47192 * include/tls.h: Likewise.
47193 * intl/gettextP.h: Likewise.
47194 * intl/loadinfo.h: Likewise.
47195 * locale/global-locale.c: Likewise.
47196 * locale/localeinfo.h: Likewise.
47197 * mach/devstream.c: Likewise.
47198 * malloc/arena.c: Likewise.
47199 * malloc/set-freeres.c: Likewise.
47200 * misc/err.c: Likewise.
47201 * misc/getttyent.c: Likewise.
47202 * misc/mntent_r.c: Likewise.
47203 * posix/getopt.c: Likewise.
47204 * posix/wordexp.c: Likewise.
47205 * pwd/fgetpwent_r.c: Likewise.
47206 * resolv/Versions: Likewise.
47207 * resolv/res_hconf.c: Likewise.
47208 * shadow/fgetspent_r.c: Likewise.
47209 * shadow/putspent.c: Likewise.
47210 * stdio-common/printf_fphex.c: Likewise.
47211 * stdio-common/tmpfile.c: Likewise.
47212 * stdlib/abort.c: Likewise.
47213 * stdlib/fmtmsg.c: Likewise.
47214 * sunrpc/auth_unix.c: Likewise.
47215 * sunrpc/clnt_perr.c: Likewise.
47216 * sunrpc/clnt_tcp.c: Likewise.
47217 * sunrpc/clnt_udp.c: Likewise.
47218 * sunrpc/clnt_unix.c: Likewise.
47219 * sunrpc/openchild.c: Likewise.
47220 * sunrpc/svc_simple.c: Likewise.
47221 * sunrpc/svc_tcp.c: Likewise.
47222 * sunrpc/svc_udp.c: Likewise.
47223 * sunrpc/svc_unix.c: Likewise.
47224 * sunrpc/xdr.c: Likewise.
47225 * sunrpc/xdr_array.c: Likewise.
47226 * sunrpc/xdr_rec.c: Likewise.
47227 * sunrpc/xdr_ref.c: Likewise.
47228 * sunrpc/xdr_stdio.c: Likewise.
47229
1248c1c4
PB
472302011-09-09 Ulrich Drepper <drepper@gmail.com>
47231
47232 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47233
472342011-07-03 Andreas Jaeger <aj@suse.de>
47235
47236 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47237 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47238 regenerate with gen-libm-tests.pl.
47239
472402010-05-12 Petr Baudis <pasky@suse.cz>
47241
47242 [BZ #11589]
47243 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47244 around j0() zero points by switching to j1().
47245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47249
f22e1074
UD
472502011-09-09 Ulrich Drepper <drepper@gmail.com>
47251
f19009c1
UD
47252 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47253 instead of 0.
47254 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47255 instead of 0.
f19009c1
UD
47256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47257 Patch in part by Pavel Roskin <proski@gnu.org>.
47258
3f8cc204
UD
47259 [BZ #13138]
47260 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47261 realloc.
47262 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47263 Free memory block if necessary.
47264
f22e1074
UD
47265 [BZ #12847]
47266 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47267 be NULL. Don't lock in this case.
47268
0a2349f9
RM
472692011-09-09 Roland McGrath <roland@hack.frob.com>
47270
47271 * elf/elf.h (ELFOSABI_GNU): New macro.
47272 (ELFOSABI_LINUX): Define to that.
47273
f3cdd467
DZ
472742011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47275
47276 * string/strncat.c (strncat): Undef the symbol in case it has been
47277 defined in bits/string.h.
47278
74718d13
UD
472792011-09-09 Ulrich Drepper <drepper@gmail.com>
47280
633e9e0f
UD
47281 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47282
0a2349f9 47283 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47284 link map.
47285
f9924780
AJ
472862011-08-17 Andreas Jaeger <aj@suse.de>
47287
47288 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47289
7f5517aa
PP
472902011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47291 Ian Lance Taylor <iant@google.com>
47292
47293 * math/libm-test.inc (lround_test): New testcase.
47294 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47295
762011fe
UD
472962011-09-08 Ulrich Drepper <drepper@gmail.com>
47297
92963737
UD
47298 * Makefile: Remove support for automatic cvs check-ins.
47299 * Makerules: Likewise.
47300 * config.make.in: Likewise.
47301 * configure.in: Likewise.
47302 * intl/Makefile: Likewise.
47303 * locale/Makefile: Likewise.
47304 * po/Makefile: Likewise.
47305 * posix/Makefile: Likewise.
47306 * sysdeps/gnu/Makefile: Likewise.
47307 * sysdeps/mach/hurd/Makefile: Likewise.
47308 * sysdeps/sparc/sparc32/Makefile: Likewise.
47309
b0727fd8
JS
47310 [BZ #13118]
47311 * posix/Makefile (bug-regex32-ENV): Define.
47312 Patch by John Stanley <jpsinthemix@verizon.net>.
47313
a0f33f99
UD
47314 * misc/Makefile (headers): Add bits/select2.h.
47315 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47316 * misc/bits/select2.h: New file.
47317 * include/bits/select2.h: New file.
47318 * debug/Makefile (routines): Add fdelt_chk.
47319 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47320 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47321 FD_ISSET.
47322 * debug/fdelt_chk.c: New file.
47323
762011fe
UD
47324 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47325 * wcsmbs/test-wmemcmp.c: Likewise.
47326 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47327 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47328
473292011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47330
47331 * string/Makefile (strop-tests): Add memcmp.
47332 * string/test-wmemcmp.c: New file.
47333 * string/test-memcmp.c: Add wmemcmp support.
47334
7f513ec8
RM
473352011-09-08 Roland McGrath <roland@hack.frob.com>
47336
0442afb4
RM
47337 [BZ #13153]
47338 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47339 2011-07-19 change.
47340
7f513ec8
RM
47341 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47342 garbage value in a __mach_port_mod_refs call in the cases of the
47343 task-self and thread-self ports.
47344
a12b2239
ST
473452011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47346
47347 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47348
610f9ab4
AS
473492011-09-08 Andreas Schwab <schwab@redhat.com>
47350
7f513ec8 47351 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47352
48882a1a
LD
473532011-09-07 Ulrich Drepper <drepper@gmail.com>
47354
b49865be
UD
47355 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47356
fdc86bc9
UD
47357 * elf/dl-libc.c (dlerror_run): Pass back error code from
47358 dl_catch_error.
47359
c966526a
UD
47360 [BZ #13123]
47361 * elf/dl-load.c (lose): Free l_origin if it is valid.
47362
48882a1a
LD
47363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47364 names.
47365 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47367 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47368 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47369 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47370 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47371
77a2a8b4
AZ
473722011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47373
47374 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47375 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47376 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47377 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47378 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47379 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47380 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47381 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47382 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47383 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47384
24f579d8
AM
473852011-08-15 Alan Modra <amodra@gmail.com>
47386
47387 [BZ #13092]
47388 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47389 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47390 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47391 ppc_mcount to static-only-routines.
47392 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47393 __mcount_internal.
47394 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47395 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47396
3d4837df
UD
473972011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47398
47399 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47400 for finite and infinity parameters.
47401
22700377
WS
474022011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47403
47404 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47405 and add nop instructions for throughput optimization.
47406 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47407
5025581e
WS
474082011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47409
47410 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47411 aligned copy for power7 with vector-scalar instructions.
47412 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47413
08a300c9
L
474142011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47415
47416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47417 AVX check.
47418
59178ef9
AS
474192011-09-07 Andreas Schwab <schwab@redhat.com>
47420
47421 [BZ #13144]
47422 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47423 last change.
47424
e38ba7ab
UD
474252011-09-07 Ulrich Drepper <drepper@gmail.com>
47426
47427 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47428 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47429 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47430 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47431 clock_gettime.
47432
d53a73ac
UD
474332011-09-06 Ulrich Drepper <drepper@gmail.com>
47434
fc8bffcc
UD
47435 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47436 Forgot to demangle the pointer.
47437
ceaa0c5d
UD
47438 * sysdeps/i386/sysdep.h: Define atom_text_section.
47439 * sysdeps/x86_64/sysdep.h: Likewise.
47440 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47441 section with atom_text_section.
47442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47443 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47444 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47445 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47446 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47447
a77d3c17
UD
47448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47449 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47450 already be defined. Change to take two parameters and don't assign
47451 result to variable. Adjust all users.
47452 Define INTERNAL_GETTIME if not already defined.
47453 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47454 call.
47455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47456 HAVE_CLOCK_GETTIME_VSYSCALL.
47457 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47458
d53a73ac
UD
47459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47460 gettimeofday vsyscall, just use time.
47461
a8f84144
AS
474622011-09-06 Andreas Schwab <schwab@redhat.com>
47463
47464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47465 <errno.h>.
47466
ef606249
UD
474672011-09-06 Ulrich Drepper <drepper@gmail.com>
47468
47469 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47470 syscall on x86-64.
47471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47472 syscall.
47473 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47474 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47475 syscall if possible.
47476
6585cb60
UD
474772011-09-05 Ulrich Drepper <drepper@gmail.com>
47478
47479 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47480 e_ident. Don't pass to find_mapsXX.
47481 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47482
a5f524e4
LD
474832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47484
47485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47486 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47487 * sysdeps/x86_64/multiarch/strchr.S: Update.
47488 Check bit_slow_BSF bit.
47489 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47490 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47491 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47492
554881ef
UD
474932011-09-05 Ulrich Drepper <drepper@gmail.com>
47494
d96de963
UD
47495 [BZ #13134]
47496 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47497 before glibc 2.15.
47498 (tryshell): Define.
47499 (__spawni): Change last parameter to be flag. Test
47500 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47501 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47502 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47503 * posix/spawni.c: Likewise.
47504 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47505 * posix/spawnp.c: Likewise. Change normal version to use
47506 SPAWN_XFLAGS_USE_PATH.
47507 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47508 SPAWN_XFLAGS_TRY_SHELL.
47509
d48e5868
UD
47510 [BZ #13150]
47511 * posix/glob.h: Remove gcc 1.x support.
47512
554881ef
UD
47513 [BZ #13068]
47514 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47515
693fb948
LD
475162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47517
47518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47519 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47520 strrchr-sse2-bsf
47521 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47522 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47523 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47524 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47525 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47526 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47527
1b48c537
UD
475282011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47529
49d42c37
UD
47530 * sysdeps/x86_64/wcscmp.S: New file.
47531
1b48c537
UD
47532 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47533 wcscmp-c wcscmp-sse2
47534 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47535 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47536 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47537 * wcsmbs/wcscmp.c: Allow renaming.
47538
15c95c5d
DM
475392011-09-05 David S. Miller <davem@davemloft.net>
47540
47541 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47542 stack slot, rather than the struct return pointer slot.
47543 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47544 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47546 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47547
2f0ad8f3
UD
475482011-09-05 Ulrich Drepper <drepper@gmail.com>
47549
d88ae418
UD
47550 * po/ja.po: Update from translation team.
47551
2f0ad8f3
UD
47552 [BZ #13144]
47553 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47554 kernel in 64-bit binaries.
47555
5f4318d1
DM
475562011-09-01 David S. Miller <davem@davemloft.net>
47557
47558 * elf/elf.h (HWCAP_SPARC_*): Move to..
47559 * sysdeps/sparc/sysdep.h: this new file and add new values.
47560 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47561 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47562 _DL_HWCAP_COUNT to 24.
47563 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47564 entries.
47565 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47566 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47567 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47569 instead of magic constants.
47570 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47571
3ba57516
DM
475722011-08-31 David S. Miller <davem@davemloft.net>
47573
47574 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47576 Reimplement to do errno handling inline.
47577 (SYSCALL_ERROR_HANDLER): New macro.
47578 (__SYSCALL_STRING): Do not do errno handling in asm.
47579 (__CLONE_SYSCALL_STRING): Delete.
47580 (__INTERNAL_SYSCALL_STRING): Delete.
47581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47582 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47583 (PSEUDO): Reimplement to do errno handling inline.
47584 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47585 (SYSCALL_ERROR_HANDLER): New macro.
47586 (__SYSCALL_STRING): Do not do errno handling in asm.
47587 (__CLONE_SYSCALL_STRING): Delete.
47588 (__INTERNAL_SYSCALL_STRING): Delete.
47589 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47590 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47591 i386.
47592 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47593 (inline_syscall*): Add 'err' argument.
47594 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47595 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47596 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47597 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47598
47599 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47600 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47601
2bc17433
AS
476022011-08-30 Andreas Schwab <schwab@redhat.com>
47603
47604 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47605
fbeb5f4d
JO
476062011-08-29 Jiri Olsa <jolsa@redhat.com>
47607
47608 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47609 directive.
47610
ad69cc26
DM
476112011-08-24 David S. Miller <davem@davemloft.net>
47612
47613 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47614
39dd69df
AS
476152011-08-24 Andreas Schwab <schwab@redhat.com>
47616
47617 * elf/Makefile: Add rules to build and run unload8 test.
47618 * elf/unload8.c: New file.
47619 * elf/unload8mod1.c: New file.
47620 * elf/unload8mod1x.c: New file.
47621 * elf/unload8mod2.c: New file.
47622 * elf/unload8mod3.c: New file.
47623
47624 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47625 it wasn't used.
47626
2c0b250a
DM
476272011-08-23 David S. Miller <davem@davemloft.net>
47628
47629 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47630 subtract stack bias.
47631 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47632 %sp not %fp in calculations.
47633 (_JMPBUF_UNWINDS_ADJ): Likewise.
47634
22044b48
DM
47635 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47636 (aio_suspend): Call it to force an exception region around the
47637 AIO_MISC_WAIT() invocation.
47638
2cae4995
AS
476392011-08-23 Andreas Schwab <schwab@redhat.com>
47640
47641 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47642 backslash.
47643
873a772e
AJ
476442011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47645
47646 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47647 protection macro.
47648 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47649 and <dl-machine.h>.
47650 (Elf64_FuncDesc): Remove.
47651
25ad0df1
DM
476522011-08-22 David S. Miller <davem@davemloft.net>
47653
47654 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47655 sigaltstack check, add missing cfi directives.
47656 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47657 missing cfi directives, and sigaltstack handling.
47658
e888bcbe
AS
476592011-08-16 Andreas Schwab <schwab@redhat.com>
47660
47661 [BZ #11724]
47662 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47663 object is seen twice.
47664 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47665
47666 * elf/Makefile (distribute): Add tst-initorder2.c.
47667 (tests): Add tst-initorder2.
47668 (modules-names): Add tst-initorder2a tst-initorder2b
47669 tst-initorder2c tst-initorder2d. Add rules to build them.
47670 ($(objpfx)tst-initorder2.out): New rule.
47671 * elf/tst-initorder2.c: New file.
47672 * elf/tst-initorder2.exp: New file.
47673
87162f46
AS
476742011-08-22 Andreas Schwab <schwab@redhat.com>
47675
70538b7f
AS
47676 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47677
f55ffe58
AS
47678 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47679 dependencies back to end of function.
47680
87162f46
AS
47681 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47682 $(elfobjdir)/ld.so.
47683
91b392a4
UD
476842011-08-21 Ulrich Drepper <drepper@gmail.com>
47685
47686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47687 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47688 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47689 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47690 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47691 of __vdso_gettimeofday.
47692 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47693 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47694 attribute_hidden.
47695 (_libc_vdso_platform_setup): Remove initialization of
47696 __vdso_gettimeofday and __vdso_time.
47697
5c43483f
UD
476982011-08-20 Ulrich Drepper <drepper@gmail.com>
47699
775a77e7
UD
47700 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47701 and fgetc_unlocked.
47702 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47703 getc_unlocked.
89f447ed 47704
49c74ba9
UD
47705 * elf/dl-open.c (add_to_global): Report additions to the global scope
47706 for LD_DEBUG=scopes.
47707 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47708 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47709
5c43483f
UD
47710 [BZ #13114]
47711 * stdio-common/Makefile (tests): Add bug24.
47712 * stdio-common/bug24.c: New file.
47713
a101b025
AJ
477142011-08-19 Andreas Jaeger <aj@suse.de>
47715
47716 [BZ #13114]
47717 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47718 non-existant file when using close-on-exec mode.
47719
c88f1766
UD
477202011-08-20 Ulrich Drepper <drepper@gmail.com>
47721
0276a718
UD
47722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47723 the very first instruction.
47724
c88f1766
UD
47725 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47726 the CFI state in the end.
47727 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47728 inclusion of dl-trampoline.h.
47729 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47730
51ccffa0
AS
477312011-08-19 Andreas Schwab <schwab@redhat.com>
47732
94d7165f
AS
47733 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47734 expectations for long double.
47735
51ccffa0
AS
47736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47737 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47738
fd708658 477392011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47740
47741 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47742 artificual limit depends upon the system page size.
47743
44f0a71e
UD
477442011-08-17 Ulrich Drepper <drepper@gmail.com>
47745
47746 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47747 * resolv/Makefile: Define CFLAGS-libresolv.
47748
8de79a24
AS
477492011-08-17 Andreas Schwab <schwab@redhat.com>
47750
47751 * nss/makedb.c (compute_tables): Make variables used in nested
47752 function static.
47753
27724598
UD
477542011-08-17 Ulrich Drepper <drepper@gmail.com>
47755
c5305d88
UD
47756 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47757 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47758 if buffer was too small.
47759
27724598
UD
47760 * elf/pldd.c (main): Attach to all threads in the process.
47761 Rewrite /proc handling to use *at functions.
47762
076fe015
UD
477632011-08-16 Ulrich Drepper <drepper@gmail.com>
47764
174baab3
UD
47765 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47766 specifies first scope to show.
47767 (dl_open_worker): Update callers. Move printing scope of new
47768 object to before the relocation.
44f0a71e 47769 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47770 * sysdeps/generic/ldsodefs.h: Update declaration.
47771
076fe015
UD
47772 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47773 string for the scope number.
47774
a60df2c3
UD
477752011-08-14 Ulrich Drepper <drepper@gmail.com>
47776
47777 * nscd/servicescache.c (cache_addserv): Make sure written is always
47778 initialized.
47779
5e4287d1
RM
477802011-08-14 Roland McGrath <roland@hack.frob.com>
47781
85ae0589
RM
47782 * sysdeps/i386/i486/bits/atomic.h
47783 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47784 statement expression, so as to suppress "set but not used" warning.
47785 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47786
69f63097
RM
47787 * string/strncat.c (STRNCAT): Use prototype definition.
47788
675456ef
RM
47789 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47790 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47791 -Iprograms here.
47792 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47793 (localedef-modules): Add localedef.
47794 (locale-modules): Add locale.
47795
5e4287d1
RM
47796 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47797 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47798 to avoid a warning.
47799
9c96ff23
DM
478002011-08-14 David S. Miller <davem@davemloft.net>
47801
47802 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47803 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47804
f9ddf089
UD
478052011-08-13 Ulrich Drepper <drepper@gmail.com>
47806
44f0a71e 47807 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47808 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47809 * elf/rtld.c (dl_main): Set l_name of vDSO.
47810 Call _dl_show_scope when DL_DEBUG_SCOPES.
47811 (process_dl_debug): Recognize scopes flag and also set it for all.
47812 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47813 Declare _dl_show_scope.
47814
1dc27704
UD
47815 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47816 (do_dlopen): Pass caller_dlopen to dl_open.
47817 (__libc_dlopen_mode): Initialize caller_dlopen.
47818
f9ddf089
UD
47819 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47820 of libc. Make tolower call locale-independent. Optimize a bit by
47821 using isdigit instead of isalnum.
47822 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47823
9ac533d3
UD
478242011-08-12 Ulrich Drepper <drepper@gmail.com>
47825
47826 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47827 was a dependency or dynamically loaded.
47828
89edf2e9
UD
478292011-08-11 Ulrich Drepper <drepper@gmail.com>
47830
8e999d29
UD
47831 * intl/l10nflist.c: Allow architecture-specific pop function.
47832 * sysdeps/x86_64/l10nflist.c: New file.
47833
89edf2e9
UD
47834 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47835 classification.
47836
14d96785
AS
478372011-08-10 Andreas Schwab <schwab@redhat.com>
47838
47839 * include/dirent.h: Add libc_hidden_proto for scandirat and
47840 scandirat64. Don't declare __scandirat64.
47841 * dirent/scandirat.c: Add libc_hidden_def.
47842 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47843 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47844
6761ac04
DM
478452011-08-10 David S. Miller <davem@davemloft.net>
47846
47847 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47848 enum.
47849 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47851 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47852
c55fbd1e
UD
478532011-08-09 Ulrich Drepper <drepper@gmail.com>
47854
47855 * Versions.def [libc]: Add GLIBC_2.15.
47856 * dirent/Makefile (routines): Add scandirat and scandirat64.
47857 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47858 GLIBC_2.15.
47859 * dirent/dirent.h: Declare scandirat and scandirat64.
47860 * dirent/scandirat.c: New file.
47861 * dirent/scandirat64.c: New file.
47862 * sysdeps/wordsize-64/scandirat.c: New file.
47863 * sysdeps/wordsize-64/scandirat64.c: New file.
47864 * dirent/opendir.c: Define opendirat.
47865 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47866 using scandirat.
47867 * dirent/scandir64.c: Adjust for scandir.c change.
47868 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47869 __scandirat64, and __scandir_cancel_handler.
47870 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47871 additional parameter and use openat instead of open (outside of ld.so).
47872 Add new __opendir as wrapper around __opendirat.
47873 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47874 here without requiring old scandirat implementation.
47875
879165f2
UD
478762011-08-08 Ulrich Drepper <drepper@gmail.com>
47877
47878 * dirent/scandir.c (cancel_handler): Renamed to
47879 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47880 defined. Adjust users.
47881 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47882 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47883
cb7e923b
UD
478842011-08-04 Ulrich Drepper <drepper@gmail.com>
47885
16292edd
UD
47886 * string/test-string.h (IMPL): Use __STRING to expand name and then
47887 stringify it.
47888
cb7e923b
UD
47889 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47890 of cleanups.
47891
cff82933
LD
478922011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47893
47894 * string/Makefile: Update.
47895 (strop-tests): Append strncat.
47896 * string/test-wcscmp.c: New file.
47897 New comprehensive test for wcscmp.
47898 * string/test-strcmp.c: Update.
47899 (WIDE): New define.
47900
9be9bfcc
AS
479012011-07-22 Andreas Schwab <schwab@redhat.com>
47902
47903 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47904 line.
47905
2e96f1c7
AS
479062011-07-26 Andreas Schwab <schwab@redhat.com>
47907
47908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47909 encoding to ACE if AI_IDN.
47910
85188888
JJ
479112011-08-01 Jakub Jelinek <jakub@redhat.com>
47912
47913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47914 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47915
5fa16e9b
LD
479162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47917
47918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47919 Fix overflow bug in strncat.
47920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47921
47922 * string/test-strncat.c: Update.
47923 Add new tests for checking overflow bugs.
47924
479252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47926
47927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47928 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47929 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47930 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47932 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47933 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47934 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47935 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47936
47937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47938 (USE_AS_STRCAT): Define.
47939 Add strcat and strncat support.
47940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47941
8c1a459f
AS
479422011-07-25 Andreas Schwab <schwab@redhat.com>
47943
47944 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47945 __n bigger than INT_MAX+1.
47946 (__strncmp_g): Likewise.
47947
bba33c28
UD
479482011-07-23 Ulrich Drepper <drepper@gmail.com>
47949
798be72d
UD
47950 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47951 * libio/stido.h: Likewise.
47952
8accd4dc
UD
47953 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47954 (AF_NFC): Define.
47955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47956 (AF_NFC): Define.
47957
cbff0d96
UD
47958 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47959 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47961 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47963
9191c04a
UD
47964 [BZ #13021]
47965 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47966 installed.
47967
bba33c28
UD
47968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47969 typo.
47970 (_dl_x86_64_save_sse): Likewise.
47971
90f139dd
UD
479722011-07-22 Ulrich Drepper <drepper@gmail.com>
47973
1aae088a
UD
47974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47975 OSXSAVE.
47976 (_dl_x86_64_save_sse): Likewise.
47977
8e2045f5
UD
47978 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47979
90f139dd
UD
47980 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47981
1d002f25
AS
479822011-07-21 Andreas Schwab <schwab@redhat.com>
47983
47984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47985 change.
47986 (_dl_x86_64_save_sse): Use correct AVX check.
47987
21137f89
UD
479882011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47989
47990 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47991 bug in strncpy/strncat.
47992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47993
a65c0b7a
UD
479942011-07-21 Ulrich Drepper <drepper@gmail.com>
47995
47996 * string/tester.c (test_strcat): Add tests for different alignments
47997 of source and destination.
47998 (test_strncat): Likewise.
47999
6986b98a
UD
480002011-07-20 Ulrich Drepper <drepper@gmail.com>
48001
90bb2039
UD
48002 [BZ #12852]
48003 * posix/glob.c (glob): Check passed in values before using them in
48004 expressions to avoid some overflows.
48005 (glob_in_dir): Likewise.
48006
5644ef54
UD
48007 [BZ #13007]
48008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48009 check for AVX enablement so that we don't crash with old kernels and
48010 new hardware.
48011 * elf/tst-audit4.c: Add same checks here.
48012 * elf/tst-audit6.c: Likewise.
48013
48014 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48015
bfc9dc9b
AS
480162011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48017
48018 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48019
702e64bb
UD
480202011-07-20 Ulrich Drepper <drepper@gmail.com>
48021
48022 * po/cs.po: Update from translation team.
48023 * po/bg.po: Likewise.
48024
295e904f
MP
480252011-07-12 Marek Polacek <mpolacek@redhat.com>
48026
48027 * misc/sys/cdefs.h: Add support for const attribute.
48028 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48029 to gnu_dev_{major,minor,makedev} functions.
48030
3ff94596
MP
480312011-07-20 Marek Polacek <mpolacek@redhat.com>
48032
48033 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48034
28b59fca
AS
480352011-07-20 Andreas Schwab <schwab@redhat.com>
48036
48037 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48038 strlen results.
48039
19df733e
AK
480402011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48041
48042 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48043 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48044 register in order to avoid conflicts with the soft frame pointer
48045 being held in r11 when necessary.
48046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48047 (INTERNAL_VSYSCALL_NCS): Likewise.
48048
c8835729
MP
480492011-07-14 Marek Polacek <mpolacek@redhat.com>
48050
48051 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48052 * elf/dl-fini.c (_dl_fini): Adjust caller.
48053 * elf/dl-close.c (_dl_close_worker): Likewise.
48054 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48055
b902330c
MP
480562011-07-15 Marek Polacek <mpolacek@redhat.com>
48057
8991e135
MP
48058 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48059 "aux_cache->nlibs < 0".
48060
b902330c
MP
48061 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48062 in the reload-count case.
48063
99710781
LD
480642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48065
48066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48067 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48068 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48069 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48070 * sysdeps/x86_64/multiarch/strcat.S: New file.
48071 * sysdeps/x86_64/multiarch/strncat.S: New file.
48072 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48073 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48074 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48075 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48076 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48077 (USE_AS_STRCAT): Define.
48078 Add strcat and strncat support.
48079 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48080 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48081 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48082 * string/strncat.c: Update.
48083 (USE_AS_STRNCAT): Define.
48084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48085 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48086 and i7.
48087 * sysdeps/x86_64/multiarch/init-arch.h
48088 (bit_Prefer_PMINUB_for_stringop): New.
48089 (index_Prefer_PMINUB_for_stringop): Likewise.
48090 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48091 bit_Prefer_PMINUB_for_stringop.
48092
7dc6bd90
UD
480932011-07-19 Ulrich Drepper <drepper@gmail.com>
48094
48095 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48096 buffer64.
48097 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48098 of casting of buffer.
48099 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48100 buffer32 and buffer64.
48101 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48102 writes instead of casting of buffer.
48103 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48104 buffer32.
48105 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48106 casting of buffer.
48107
e0e72284
AS
481082011-07-19 Andreas Schwab <schwab@redhat.com>
48109
48110 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48111
feb1eb0b
UD
481122011-07-19 Ulrich Drepper <drepper@gmail.com>
48113
48114 * nscd/nscd.c (termination_handler): Don't do anything for a database
48115 if it has not yet been initialized.
48116
298711ff
UD
481172011-07-18 Ulrich Drepper <drepper@gmail.com>
48118
48119 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48120
481212011-07-15 Marek Polacek <mpolacek@redhat.com>
48122
48123 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48124
f9d68389
UD
481252011-07-18 Ulrich Drepper <drepper@gmail.com>
48126
48127 * po/nl.po: Update from translation team.
48128 * po/sv.po: Likewise.
48129
db290cf5
RM
481302011-07-16 Roland McGrath <roland@hack.frob.com>
48131
48132 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48133 now disallowed by GCC.
5c550700 48134
fd5e21c7
RM
48135 * configure.in (use-default-link): Default to yes if a test -shared
48136 link meets our qualifications.
48137 * configure: Regenerated.
48138
5c550700
RM
48139 * config.make.in (output-format): New variable.
48140 * configure.in: Check for ld --print-output-format support.
48141 * configure: Regenerated.
48142 * Makerules ($(common-objpfx)format.lds)
48143 [$(output-format) != unknown]: Just use $(output-format),
48144 instead of the linker-script munging.
48145
9fa2c032
RM
481462011-07-14 Roland McGrath <roland@hack.frob.com>
48147
a6928d51
RM
48148 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48149 of $(common-objpfx)shlib.lds.
48150 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48151
661607b3
RM
48152 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48153 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48154
9fa2c032
RM
48155 * configure.in (-z relro check): Adjust test code to add a large
48156 writable data section after it.
48157 * configure: Regenerated.
48158
defe9061
RM
481592011-07-11 Roland McGrath <roland@hack.frob.com>
48160
48161 * configure.in (-z relro check): Fix test code to make the variable
48162 truly const.
48163 * configure: Regenerated.
48164
319b9ad4
UD
481652011-07-11 Ulrich Drepper <drepper@gmail.com>
48166
48167 * nscd/nscd.h (struct traced_file): Define.
48168 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48169 elements. Add traced_files.
48170 (inotify_fd): Declare.
48171 (register_traced_file): Declare.
48172 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48173 (inotify_fd): Export.
48174 (resolv_conf_descr): Remove.
48175 (nscd_init): Move inotify descriptor creation to main.
48176 Don't register files for notification here.
48177 (register_traced_file): New function.
48178 (invalidate_cache): Don't use reset_res to determine whether to call
48179 res_init, go through the list of registered files.
48180 (main_loop_poll): The inotify descriptors are now stored in the
48181 structures for the traced files.
48182 (main_loop_epoll): Likewise
48183 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48184 to __nss_disable_nscd.
48185 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48186 for a database anymore. Check the records for all the registered
48187 files instead.
48188 * nss/Makefile (libnss_files-routines): Add files-init.
48189 (libnss_db-routines): Add db-init.
48190 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48191 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48192 * nss/nss_db/db-init.c: New file.
48193 * nss/nss_files/files-init.c: New file.
48194 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48195 __nss_lookup_function.
48196 (__nss_lookup_function): Call nss_load_library.
48197 (nss_load_all_libraries): New function.
48198 (__nss_disable_nscd): Take parameter with callback function for files
48199 to register. Set is_nscd. Load all the DSOs for the NSS modules
48200 used for the cached services.
48201 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48202 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48203 options for features to all the files in nscd.
48204
48205 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48206
23bee3e8
RM
482072011-07-10 Roland McGrath <roland@hack.frob.com>
48208
48209 * csu/elf-init.c (__libc_csu_init): Comment typo.
48210
46a5b7f0
UD
482112011-07-09 Ulrich Drepper <drepper@gmail.com>
48212
48213 * po/pl.po: Update from translation team.
48214 * po/ja.po: Likewise.
48215 * po/ru.po: Likewise.
48216 * po/ko.po: Likewise.
48217 * po/fr.po: Likewise.
48218
d30cf5bb
RM
482192011-07-09 Roland McGrath <roland@hack.frob.com>
48220
113ddea4
RM
48221 * configure.in (.ctors/.dtors header and trailer check):
48222 Use an empirical test on a built program.
48223 * configure: Regenerated.
48224
574920b4
RM
48225 * configure.in (-z relro check): Use an empirical test on a built DSO.
48226 Detect, but do not require, on ia64.
48227 * configure: Regenerated.
48228
d30cf5bb
RM
48229 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48230 Update tests that use readelf to use $READELF instead.
48231 * configure: Regenerated.
48232
8538fdb3
UD
482332011-07-08 Ulrich Drepper <drepper@gmail.com>
48234
48235 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48236 if the result is not used.
48237
04d08991
AJ
482382011-07-05 Andreas Jaeger <aj@suse.de>
48239
48240 [BZ#9696]
48241 * stdlib/tst-strtod.c: Add testcase.
48242
de283087
AD
482432011-07-07 Ulrich Drepper <drepper@gmail.com>
48244
4e5f31c8 48245 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48246 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48247 The latter has a higher limit. Take additional parameter to pass to
48248 the new function.
48249 (__pathconf): Pass file to __statfs_link_max.
48250 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48251 __statfs_link_max.
48252 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48253 __statfs_link_max.
48254
de283087
AD
48255 [BZ #12868]
48256 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48257 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48258 Handle Lustre.
48259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48260 (__statfs_filesize_max): Likewise.
48261 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48262
c75fa153
AJ
482632011-07-05 Andreas Jaeger <aj@suse.de>
48264
48265 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48266
1a544854
UD
482672011-07-06 Marek Polacek <mpolacek@redhat.com>
48268
48269 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48270 `status' variable.
48271 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48272 Likewise.
48273
6f0eec67
UD
482742011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48275
48276 * Makefile (strop-tests): Add strncat.
48277 * string/test-strncat.c: New file.
48278
aae30307
UD
482792011-06-30 Marek Polacek <mpolacek@redhat.com>
48280
48281 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48282
c0cfb5eb
UD
482832011-06-21 Andreas Jaeger <aj@suse.de>
48284
48285 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48286 Copy rule from iconvdata/Makefile.
48287
01636b21
UD
482882011-07-06 Ulrich Drepper <drepper@gmail.com>
48289
48290 [BZ #12922]
48291 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48292 but no long options are defined, just return 'W'.
48293
9895c8bc
UD
482942011-06-22 Marek Polacek <mpolacek@redhat.com>
48295
48296 [BZ #9696]
48297 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48298
5d4cf042
UD
482992011-07-06 Ulrich Drepper <drepper@gmail.com>
48300
48301 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48302 netgroups to read.
960e5535 48303 (innetgr): Likewise.
5d4cf042 48304
751eb97e
RM
483052011-07-05 Roland McGrath <roland@hack.frob.com>
48306
48307 * config.make.in (install_root): Default to $(DESTDIR).
48308
f15f1e45
UD
483092011-07-05 Ulrich Drepper <drepper@gmail.com>
48310
48311 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48312
4e34ac6a
RM
483132011-07-02 Roland McGrath <roland@hack.frob.com>
48314
5e9b6af4
RM
48315 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48316
84f9ea0f
RM
48317 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48318 containing directory rather than embedding absolute directory names.
48319
ea5ee9f7
RM
48320 * scripts/check-local-headers.sh: Rewritten using awk.
48321 Match by word, not by line. Print error messages for matches.
48322 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48323
1b74661a
RM
48324 * Makerules [shlib-lds-flags empty]:
48325 ($(common-objpfx)libc_pic.opts): New target.
48326 ($(common-objpfx)libc_pic.os.clean): New target.
48327 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48328
48329 * config.make.in (OBJCOPY): New variable.
48330 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48331 * configure: Regenerated.
48332
f781ef40
RM
48333 * config.make.in (use-default-link): New variable.
48334 * configure.in (use_default_link): Grok --with-default-link to set it.
48335 * configure: Regenerated.
48336 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48337 (shlib-lds, shlib-lds-flags): Define to empty.
48338
2d4fa81e
RM
48339 * Makerules (shlib-lds): New variable.
48340 (shlib-lds-flags): New variable.
48341 (build-shlib, build-moduile, build-module-asneeded): Use it.
48342 ($(common-objpfx)libc.so): Use $(shlib-lds).
48343 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48344 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48345
31fffa6b
RM
48346 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48347 DT_FLAGS/DT_FLAGS_1 with zero flags.
48348
4e34ac6a
RM
48349 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48350 linker script munging.
48351
fcfc776b
UD
483522011-07-02 Ulrich Drepper <drepper@gmail.com>
48353
48354 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48355 as 128-bit value.
48356 * crypt/sha512.c (sha512_process_block): Perform total addition using
48357 128-bit if possible.
48358 (__sha512_finish_ctx): Likewise.
48359 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48360 as 64-bit value.
48361 * crypt/sha256.c (SWAP64): Define.
48362 (sha256_process_block): Perform total addition using 64-bit if
48363 possible.
48364 (__sha256_finish_ctx): Likewise.
48365
99231d9a
UD
483662011-07-01 Ulrich Drepper <drepper@gmail.com>
48367
48368 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48369 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48370 * nscd/hstcache.c (cache_addhst): Likewise.
48371 * nscd/grpcache.c (cache_addgr): Likewise.
48372 * nscd/aicache.c (addhstaiX): Likewise
48373 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48374
445b4a53
TK
483752011-07-01 Thorsten Kukuk <kukuk@suse.de>
48376
48377 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48379 * nscd/hstcache.c (cache_addhst): Likewise.
48380 * nscd/grpcache.c (cache_addgr): Likewise.
48381 * nscd/aicache.c (addhstaiX): Likewise
48382
6d4d8e8e
AS
483832011-07-01 Andreas Schwab <schwab@redhat.com>
48384
48385 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48386 domain only when needed.
48387
89f654c5
AS
483882011-06-30 Andreas Schwab <schwab@redhat.com>
48389
48390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48391 is always restored.
48392
cf3b23ff
UD
483932011-06-29 Ulrich Drepper <drepper@gmail.com>
48394
48395 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48396 are re-adding the entry.
48397 * nscd/servicescache.c (cache_addserv): Likewise.
48398
751626f9
AJ
483992011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48400
48401 * sysdeps/generic/dl-irel.h: fix protection against multiple
48402 inclusions.
48403 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48404
9113ea1f
UD
484052011-06-28 Ulrich Drepper <drepper@gmail.com>
48406
5c0b8d90
UD
48407 [BZ #12935]
48408 * malloc/memusage.sh: Fix quoting in message.
48409 * debug/xtrace.sh: Likewise.
48410
9113ea1f
UD
48411 * configure.in: Remove support for --experimental-malloc option, make
48412 it the default.
48413 * config.make.in: Likewise.
48414 * malloc/Makefile: Likewise.
48415
a4172181
AS
484162011-06-27 Andreas Schwab <schwab@redhat.com>
48417
48418 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48419 two-byte characters.
48420
78a7eee7
RM
484212011-06-27 Roland McGrath <roland@hack.frob.com>
48422
62bede13
RM
48423 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48424 AC_CACHE_CHECK invocation.
48425 * configure: Regenerated.
48426
78a7eee7
RM
48427 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48428
5ce33a62
UD
484292011-06-27 Ulrich Drepper <drepper@gmail.com>
48430
034807a9
UD
48431 [BZ #12350]
48432 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48433 bit from old_res_options.
48434
4902da17
UD
48435 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48436
5ce33a62
UD
48437 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48438 value type for setfct.
48439
c2344f56
L
484402011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48441
48442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48443 __gettimeofday instead of gettimeofday.
48444
68468076
UD
484452011-06-26 Ulrich Drepper <drepper@gmail.com>
48446
48447 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48448
acb0d739
L
484492011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48450
48451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48452
48453 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48454 info.
48455
8912479f
L
484562011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48457
48458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48459 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48460 strcpy-sse2-unaligned strncpy-sse2-unaligned
48461 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48462 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48463 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48464 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48465 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48466 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48467 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48468 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48469 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48470 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48471 (STRCPY): Support SSE2 and SSSE3 versions.
48472
d5495a11
UD
484732011-06-24 Ulrich Drepper <drepper@gmail.com>
48474
48475 [BZ #12874]
48476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48477 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48478 kernels which artificially limit size of requests.
48479
0b1cbaae
L
484802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48481
48482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48483 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48484 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48485 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48486 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48487 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48488 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48489 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48490 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48492 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48493 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48494 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48495 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48496 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48498 Enable unaligned load optimization for Intel Core i3, i5 and i7
48499 processors.
48500 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48501 Define.
48502 (index_Fast_Unaligned_Load): Define.
48503 (HAS_FAST_UNALIGNED_LOAD): Define.
48504
07f494a0
MP
485052011-06-23 Marek Polacek <mpolacek@redhat.com>
48506
48507 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48508
fa3fc0fe
UD
485092011-06-22 Ulrich Drepper <drepper@gmail.com>
48510
48511 [BZ #12907]
48512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48513 until it is clear that the information is realy needed.
48514 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48515
e12df166
AS
485162011-06-22 Andreas Schwab <schwab@redhat.com>
48517
48518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48519
852eb34d
UD
485202011-06-22 Ulrich Drepper <drepper@gmail.com>
48521
84e2a551
UD
48522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48523 /sys/devices/system/cpu/online if it is usable.
48524
852eb34d
UD
48525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48526 reading the information from the /proc filesystem to once a second.
48527
6e502e19
UD
485282011-06-21 Andreas Jaeger <aj@suse.de>
48529
48530 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48531 NULL after inclusion of kernel headers.
48532
75d39ff2
UD
485332011-06-21 Ulrich Drepper <drepper@gmail.com>
48534
51f9aa6a
UD
48535 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48536 calls to internal_setent.
48537
c0244a9d
UD
48538 [BZ #12885]
48539 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48540 addresses using gethostbyname4_r ignore IPv4 addresses.
48541
c5e3c2ae
UD
48542 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48543 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48544
75d39ff2
UD
48545 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48546
42675c6f
DM
485472011-06-20 David S. Miller <davem@davemloft.net>
48548
48549 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48550 inclusions.
48551 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48552
48553 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48554 (elf_irel): Use it.
48555 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48556 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48557 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48558 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48559 * sysdeps/x86_64/dl-irel.h: Likewise.
48560
48561 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48562 * elf/dl-sym.c: Likewise.
48563
57912a71
UD
485642011-06-15 Ulrich Drepper <drepper@gmail.com>
48565
48566 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48567 need to dereference resplen2.
48568
ee22793d
AS
485692011-06-14 Andreas Schwab <schwab@redhat.com>
48570
48571 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48572
a9e836b0
UD
485732011-06-15 Ulrich Drepper <drepper@gmail.com>
48574
77fb9117
UD
48575 * Makeconfig: Define vardbdir and inst_vardbdir.
48576 * nss/Makefile: Add rules to install db-Makefile.
48577
40c1b22c
UD
48578 * nss/nss_db/db-XXX.c: Cleanup.
48579
9f2da732
UD
48580 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48581 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48582 GLIBC_PRIVATE.
48583 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48584 * nss/makedb.c: Implement -g option to specify that value strings
48585 are generated and should not be added to table iterated over for
48586 get*ent calls.
48587 * nss/nss_db/db-initgroups.c: New file.
48588
82e9a1f7
UD
48589 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48590 interface.
48591
c41af17e
UD
48592 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48593 (internal_getgrouplist): Adjust to name change.
48594 Update use_initgroups_entry if this is not the first call.
48595 * nss/databases.def: Add initgroups entry.
48596
a9e836b0
UD
48597 * nss/makedb.c (compute_tables): Check result of multiple hash table
48598 sizes to minimize maximum chain length.
48599
2666d441
UD
486002011-06-14 Ulrich Drepper <drepper@gmail.com>
48601
48602 * Versions.def: Add entry for libnss_db.
48603 * shlib-versions: Likewise.
48604 * nss/Makefile: Add rules to build libnss_db.
48605 * nss/Versions: Add libnss_db information. Organize libnss_files
48606 entries better.
48607 * nss/db-Makefile: Add gshadow support. Change rules for the new
48608 makedb progra. Some minor improvements to generate smaller files.
48609 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48610 here from...
48611 * nss/makedb.c: ...here.
48612 Improve database format to be smaller and require less memory at
48613 runtime.
48614 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48615 db anymore.
48616 * nss/nss_db/db-netgrp.c: Likewise.
48617 * nss/nss_db/db-open.c: Likewise.
48618 * nss/nss_files/flies-XXX.x: Adjust comments.
48619 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48620 * nss/nss_files/files-grp.c: Likewise.
48621 * nss/nss_files/files-hosts.c: Likewise.
48622 * nss/nss_files/files-network.c: Likewise.
48623 * nss/nss_files/files-proto.c: Likewise.
48624 * nss/nss_files/files-pwd.c: Likewise.
48625 * nss/nss_files/files-rpc.c: Likewise.
48626 * nss/nss_files/files-service.c: Likewise.
48627 * nss/nss_files/files-sgrp.c: Likewise.
48628 * nss/nss_files/files-spwd.c: Likewise.
48629 * nss/nss_db/db-alias.c: Removed.
48630 * nss/nss_db/dummy-db.h: Removed.
48631
9ee76b5a
UD
486322011-06-02 Ulrich Drepper <drepper@gmail.com>
48633
48634 * nss/makedb.c: Rewritten to not use database library.
48635 * nss/Makefile: Update to build new makedb program.
48636
c71ca1f8
AJ
486372011-06-14 Andreas Jaeger <aj@suse.de>
48638
48639 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48640 memset declaration.
48641
3154bfb8
UD
486422011-06-10 Andreas Schwab <schwab@redhat.com>
48643
48644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48645 tmpbuf.
48646
b350afab
RM
486472011-06-10 Roland McGrath <roland@hack.frob.com>
48648
decd4e50
RM
48649 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48650 * elf/Makefile ($(objpfx)ld.so): Likewise.
48651
5615eaf2
RM
48652 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48653 Don't list ld.so twice in dependencies.
48654
48655 * posix/bug-regex31.c: Include <stdlib.h>.
48656
48657 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48658
48659 * nis/nss_compat/compat-spwd.c
48660 (getspent_next_nss_netgr): Remove unused variable.
48661 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48662
48663 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48664 nonmembers" output to use the right array.
48665
48666 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48667
48668 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48669
48670 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48671 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48672 * catgets/gencat.c (read_input_file): Likewise.
48673 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48674
48675 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48676 variable definition inside #if's controlling its use.
48677
48678 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48679
48680 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48681
48682 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48683
48684 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48685 unreachable code.
48686
48687 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48688
b68e08db
RM
48689 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48690 * configure: Regenerated.
48691
b350afab
RM
48692 * Makerules: Revert last change.
48693 * elf/Makefile: Likewise.
48694
28368601
RM
486952011-06-09 Roland McGrath <roland@hack.frob.com>
48696
48697 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48698 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48699 (reloc-link): Likewise.
48700
11988f8f
UD
487012011-06-09 Ulrich Drepper <drepper@gmail.com>
48702
48703 * elf/Makefile: Add rules to build pldd.
48704 * elf/pldd.c: New file.
48705 * elf/pldd-xx.c: New file.
48706
e80fab37
UD
487072011-06-07 Ulrich Drepper <drepper@gmail.com>
48708
48709 * version.h: Update for 2.15 development version.
48710
9b849836
DM
487112011-06-07 David S. Miller <davem@davemloft.net>
48712
48713 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48714 ifuncs.
48715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48716 elf_machine_lazy_rel): Likewise.
48717 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48718 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48719 elf_machine_lazy_rel): Likewise.
48720 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48721 dl_hwcap via passed in argument.
48722 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48723 Likewise.
48724
5a31b283
AK
487252011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48726
48727 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48728
069e52f8
RM
487292011-06-06 Roland McGrath <roland@hack.frob.com>
48730
48731 [BZ #12849]
48732 * manual/fdl-1.1.texi: New file, verbatim from:
48733 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48734 * manual/lgpl-2.1.texi: New file, verbatim from:
48735 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48736 * manual/Makefile (licenses): New variable, list those new file names.
48737 (texis): Use it.
48738 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48739
48740 * manual/fdl.texi: File removed.
48741 * manual/lesser.texi: File removed.
48742 * manual/libc.texinfo (Copying, Documentation License):
48743 Use new @include file names, put @appendix directive before @include.
48744
f16846a5
JJ
487452011-06-04 Jakub Jelinek <jakub@redhat.com>
48746
48747 [BZ #12841]
48748 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48749 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48750 (mq_open): Add __NTH.
48751
3d29045b
L
487522011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48753
48754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48755 Assume Intel Core i3/i5/i7 processor if AVX is available.
48756
8c297311
UD
487572011-05-31 Ulrich Drepper <drepper@gmail.com>
48758
48759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48760 typo.
48761
c8fc0c91
UD
487622011-05-31 Andreas Schwab <schwab@redhat.com>
48763
48764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48765 memory. Use alloca_account. Fix memory leak when retrying.
48766
5b27a807
UD
487672011-05-31 Ulrich Drepper <drepper@gmail.com>
48768
356f8bc6
UD
48769 * version.h (RELEASE): Bump for 2.14 release.
48770 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48771
5b27a807
UD
48772 * config.make.in (RANLIB): Remove entry.
48773
01f16ab0
UD
487742011-05-30 Ulrich Drepper <drepper@gmail.com>
48775
41fce8bd
UD
48776 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48777 (libc.pot): Work around missing support for .ksh extension in xgettext.
48778
4769ae77
UD
48779 [BZ #12684]
48780 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48781 if both request failed.
48782 (send_dg): In case of server errors clear resplen or *resplen2.
48783
6b1e7d19
UD
48784 [BZ #12454]
48785 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48786 when there are multiple maps.
48787 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48788 (_dl_fini): Remove test here.
48789
01f16ab0
UD
48790 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48791
b1ebd700
UD
487922011-05-29 Ulrich Drepper <drepper@gmail.com>
48793
7ae22829
UD
48794 [BZ #12350]
48795 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48796 bit from old_res_options.
48797 (gaih_inet): Likewise.
48798
553149f6 48799 [BZ #11099]
18a84741 48800 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48801 as signed.
48802
652ffab1
UD
48803 * resolv/res_init.c (res_setoptions): Make the code more compact.
48804
16985fd0
UD
48805 [BZ #11558]
48806 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48807 set RES_USEVC.
48808
0464f746
UD
48809 [BZ #11634]
48810 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48811
7d17596c
UD
48812 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48813
cf6bbbd7
UD
48814 [BZ #11781]
48815 * malloc/malloc.h: Declare malloc hook variables as volatile.
48816
13f1ab36
UD
48817 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48818 in last patch.
48819
b1ebd700
UD
48820 [BZ #11799]
48821 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48822 raise in the comment.
80e2212d
UD
48823 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48824 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48825 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48826
ce67228d
UD
488272011-05-28 Ulrich Drepper <drepper@gmail.com>
48828
8887a920
UD
48829 [BZ #12811]
48830 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48831 grow the buffers more if it already has to be sufficient.
48832 (build_wcs_upper_buffer): Likewise.
48833 * posix/regexec.c (check_matching): Likewise.
48834 (clean_state_log_if_needed): Likewise.
48835 (extend_buffers): Don't enlarge buffers beyond size of the input
48836 buffer.
48837 Patches mostly by Emil Wojak <emil@wojak.eu>.
48838 * posix/bug-regex32.c: New file.
48839 * posix/Makefile (tests): Add bug-regex32.
48840
4f031072
UD
48841 * locale/findlocale.c (_nl_find_locale): Return right away if
48842 _nl_explode_name failed.
48843 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48844
d0478f0c
UD
48845 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48846
de81b246
UD
48847 * debug/xtrace.sh: Unify messages.
48848 * malloc/memusage.sh: Likewise.
48849
c738465a
UD
48850 [BZ #12813]
48851 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48852 time symbol from vDSO. Substitute with vsyscall if not available.
48853 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48854 __vdso_time.
48855
f1f929d7
UD
48856 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48857 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48858 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48859 Add sendmmsg and internal_sendmmsg.
48860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48861 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48862 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48863
ce67228d
UD
48864 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48865 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48866 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48867
e57420c6
UD
488682011-05-27 Ulrich Drepper <drepper@gmail.com>
48869
a8509ca5
UD
48870 [BZ #12813]
48871 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48872 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48873 available.
48874 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48875 __vdso_getcpu.
48876
e57420c6
UD
48877 [BZ #12814]
48878 * iconvdata/Makefile (tests): Add bug-iconv9.
48879 * iconvdata/bug-iconv9.c: New file.
48880
4d07db15
AS
488812011-05-27 Andreas Schwab <schwab@redhat.com>
48882
48883 [BZ #12814]
48884 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48885
ea486f69
JJ
488862011-05-25 Jakub Jelinek <jakub@redhat.com>
48887
48888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48889 (struct user_regs_struct): Change intcs field back to cs.
48890
6f038433
UD
488912011-05-25 Ulrich Drepper <drepper@gmail.com>
48892
48893 * po/ja.po: Update from translation team.
48894
67f86a25
UD
488952011-05-23 Ulrich Drepper <drepper@gmail.com>
48896
48897 [BZ #12795]
48898 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48899 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48900
def7fbd6
AS
489012011-05-20 Andreas Schwab <schwab@redhat.com>
48902
48903 * stdlib/longlong.h: Update from GCC.
48904
f50ef8f1
AS
489052011-05-23 Andreas Schwab <schwab@redhat.com>
48906
48907 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48908 parameter name.
48909 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48910 Add parameter name.
48911 (__sysconf): Pass it down.
48912
de7ce8f1
UD
489132011-05-22 Ulrich Drepper <drepper@gmail.com>
48914
f2962a71
UD
48915 [BZ #12671]
48916 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48917 some situations.
48918 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48919 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48920 add in in __libc_use_alloca calls. Adjust callers.
48921 (glob): Use malloc in some situations.
48922
de7ce8f1
UD
48923 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48924 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48925 pltexit.
48926
aec84f53
UD
489272011-05-21 Ulrich Drepper <drepper@gmail.com>
48928
05bb4a68
UD
48929 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48930 and CLOCK_BOOTTIME_ALARM.
48931
7ea72f99
UD
48932 [BZ #12782]
48933 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48934 is returned.
48935
7e4afad5
UD
48936 * string/_strerror.c (__strerror_r): Print negative errors as signed
48937 numbers.
48938
8e211fec
UD
48939 [BZ #12777]
48940 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48941 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48942 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48943
f7d82dc9
UD
48944 * configure.in: Fix typo in redirection and correct removal of test
48945 files in two cases.
48946
cc9e536d
UD
48947 [BZ #12788]
48948 * locale/setlocale.c (new_composite_name): Fix test to check for
48949 identical name of all categories.
48950
aec84f53
UD
48951 [BZ #12792]
48952 * libio/filedoalloc.c (local_isatty): New function.
48953 (_IO_file_doallocate): Use local_isatty.
48954 * stdio-common/perror.c (perror): In case a new stream is used
48955 forward the stream error.
48956 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48957 error flag.
48958
78e64fdc
RT
489592011-05-20 Ulrich Drepper <drepper@gmail.com>
48960
34a9094f
UD
48961 [BZ #11869]
48962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48963 alloca.
48964 * include/alloca.h (extend_alloca_account): Define.
48965
78e64fdc
RT
48966 [BZ #11857]
48967 * posix/regex.h: Fix comments with documentation of user-accessible
48968 fields after compilation and describe correct free'ing of pattern
48969 after re_compile_pattern.
48970 Patch by Reuben Thomas <rrt@sc3d.org>.
48971
457bddfc
RA
489722011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48973
48974 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48975 and -mno-altivec to prevent the compiler from using Altivec and/or
48976 VSX instructions when the corresponding registers are not available.
48977
a4527b51
AS
489782011-05-19 Andreas Schwab <schwab@redhat.com>
48979
48980 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48981
ed690b2f
UD
489822011-05-19 Ulrich Drepper <drepper@gmail.com>
48983
48984 * libio/freopen.c (freopen): Use __dup2, not dup2.
48985 * libio/freopen64.c (freopen64): Likewise.
48986
8db73634
L
489872011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48988
48989 [BZ #12775]
48990 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48991 * math/Makefile (tests): Add test-powl.
48992 (CFLAGS-test-powl.c): Define.
48993 * math/test-powl.c: New file.
48994
0a197a9d
L
489952011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48996
48997 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48998
ee30c380
UD
489992011-05-17 Ulrich Drepper <drepper@gmail.com>
49000
49001 [BZ #11837]
49002 * iconvdata/gb18030.c: Update to GB18020-2005.
49003
6ce75379
UD
490042011-05-16 Ulrich Drepper <drepper@gmail.com>
49005
a4b89fd8
AR
49006 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49007 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49008 Patch by Aharon Robbins <arnold@skeeve.com>.
49009
ea389b12
UD
49010 [BZ #11892]
49011 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49012 on the stack.
49013
68a3f91f
UD
49014 [BZ #11895]
49015 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49016 through underflows.
49017
15cc7dd1
UD
49018 [BZ #12766]
49019 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49020 point to strings before performing equality test for error_one_per_line
49021 mode.
49022
f3799213
UD
49023 [BZ #11697]
49024 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49025
d79a9c94
UD
49026 [BZ #11820]
49027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49028 (struct user_fpregs_struct): Avoid __uint*_t types.
49029
56e5eb46
UD
49030 [BZ #6420]
49031 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49032 symbol info. Use it instead of calling _dl_addr locally.
49033 (lock_and_info): New function.
49034 (tr_freehook): Call lock_and_info and pass symbol info as additional
49035 parameter to tr_where.
49036 (tr_mallochook): Likewise.
49037 (tr_reallochook): Likewise.
49038 (tr_memalignhook): Likewise.
49039
6ce75379
UD
49040 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49041 used and couldn't be at all thread-safe.
49042
f8a3b5bf
UD
490432011-05-15 Ulrich Drepper <drepper@gmail.com>
49044
94b7cc37
UD
49045 * libio/freopen.c (freopen): Don't close old file descriptor
49046 before the new one is opened. Instead dup the new file descriptor
49047 to the old one after the new stream is created.
49048 * libio/freopen64.c (freopen64): Likewise.
49049 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49050 * libio/fileops.c (_IO_new_file_close_it): Handle new
49051 _IO_FLAGS2_NOCLOSE flag.
49052 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49053 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49054 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49055 _IO_FLAGS2_NOCLOSE flag.
49056 * include/unistd.h: Add hidden_proto for dup3.
49057 Define __have_dup3.
49058 * io/dup3.c: Define hidden symbol.
49059 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49060
bd25564e
UD
49061 [BZ #7101]
49062 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49063 when an incomplete long option is used.
49064 * posix/tst-getopt_long1.c: New file.
49065 * posix/Makefile (tests): Add tst-getopt_long1.
49066
c84cfef4
UD
49067 [BZ #10138]
49068 * scripts/config.guess: Update from autoconf-2.68.
49069 * scripts/config.sub: Likewise.
49070
3b85df27
UD
49071 [BZ #10157]
49072 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49073 tests into ...
49074 (has_cpuclock): ...this. New function.
49075 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49076 macro here based on has_cpuclock code.
49077
15a856b1
UD
49078 [BZ #10149]
49079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49080 First byte (not low byte) is now always NUL.
49081 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49082
05f399e6
UD
49083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49084 Use non-cancelable interfaces.
49085
10a52685 49086 [BZ #9809]
94ecc67d
UD
49087 * locale/iso-639.def: Add entry for Sorani.
49088
f8a3b5bf
UD
49089 [BZ #11901]
49090 * include/stdlib.h: Move include protection to the right place.
49091 Define abort_msg_s. Declare __abort_msg with it.
49092 * stdlib/abort.c (__abort_msg): Adjust type.
49093 * assert/assert.c (__assert_fail_base): New function. Majority
49094 of code from __assert_fail. Allocate memory for __abort_msg with
49095 mmap.
49096 (__assert_fail): Now call __assert_fail_base.
49097 * assert/assert-perr.c: Remove bulk of implementation. Use
49098 __assert_fail_base.
49099 * include/assert.hL Declare __assert_fail_base.
49100 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49101 mmap.
49102 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49103
1af4e298
UD
491042011-05-14 Ulrich Drepper <drepper@gmail.com>
49105
f8a3b5bf 49106 [BZ #11952]
d26dfc60
MG
49107 [BZ #12453]
49108 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49109 until all modules are registered in the DTV.
49110 * elf/Makefile: Add rules to build and run tst-tls19.
49111 * elf/tst-tls19.c: New file.
49112 * elf/tst-tls19mod1.c: New file.
49113 * elf/tst-tls19mod2.c: New file.
49114 * elf/tst-tls19mod3.c: New file.
49115 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49116
2fc54d6f
UD
49117 [BZ #12083]
49118 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49119 correctly.
49120
98d76b46
UD
49121 [BZ #12601]
49122 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49123 two-byte sequence errors.
49124 * iconvdata/Makefile (tests): Add bug-iconv8.
49125 * iconvdata/bug-iconv8.c: New file.
49126
da3c19ef
UD
49127 [BZ #12626]
49128 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49129 buf2 definition.
49130
ca408c15
UD
49131 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49132
d6f67f7d
UD
49133 [BZ #12432]
49134 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49135 (dummy_getcfa): New function.
49136 (init): Get _Unwind_GetCFA address, use dummy if not found.
49137 (backtrace_helper): In recursion check, also check whether CFA changes.
49138 (__backtrace): Completely initialize arg.
49139
1af4e298 49140 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49141 storing incomplete byte sequence in state object. Avoid testing for
49142 guaranteed too small input if we know there is enough data available.
1af4e298 49143
da62f81b
AS
491442011-05-11 Andreas Schwab <schwab@redhat.com>
49145
49146 * Makeconfig (+link-pie): Indent.
49147 * Rules (binaries-pie): Define if $(have-fpie) and
49148 $(build-shared).
49149 (binaries-shared): Also filter out $(binaries-pie).
49150 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49151 * nscd/Makefile (others-pie): Add nscd.
49152 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49153 ($(objpfx)nscd): Remove command override.
49154 * login/Makefile (others-pie): Add pt_chown.
49155 ($(objpfx)pt_chown): Remove command override.
49156 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49157 remove command overrides.
49158
fcabc0f8
UD
491592011-05-13 Ulrich Drepper <drepper@gmail.com>
49160
20030ae6
UD
49161 * libio/tst_putwc.c: Fix error messages.
49162
fcabc0f8
UD
49163 [BZ #12724]
49164 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49165 currently writing and seek to current position when not.
49166 * libio/Makefile (tests): Add bug-fclose1.
49167 * libio/bug-fclose1.c: New file.
49168
320a5dc0
PB
491692011-05-12 Ulrich Drepper <drepper@gmail.com>
49170
49171 [BZ #12511]
49172 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49173 don't set DF_1_NODELETE here.
49174 (do_lookup_x): When entering new entry test for copy relocation
49175 and if necessary set DF_1_NODELETE flag.
49176 * elf/tst-unique4.cc: New file.
49177 * elf/tst-unique4.h: New file.
49178 * elf/tst-unique4lib.cc: New file.
49179 * elf/Makefile: Add rules to build and run tst-unique4.
49180 Patch by Piotr Bury <pbury@goahead.com>.
49181
22836f52
UD
491822011-05-11 Ulrich Drepper <drepper@gmail.com>
49183
f574184a
UD
49184 [BZ #12052]
49185 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49186
e1fb097f
UD
49187 [BZ #12625]
49188 * misc/mntent_r.c (addmntent): Flush the stream after the output
49189
22836f52
UD
49190 [BZ #12393]
49191 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49192 (is_trusted_path_normalize): Skip initial colon. Append slash
49193 to empty buffer. Duplicate is_trusted_path code but allow
49194 constructed patch to be prefix.
49195 (is_dst): Allow $ORIGIN followed by /.
49196 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49197 Correct testing of result of is_trusted_path_normalize
49198 (decompose_rpath): Fix warning.
49199
7b3b0b2a
UD
492002011-05-10 Ulrich Drepper <drepper@gmail.com>
49201
49202 [BZ #11257]
49203 * grp/initgroups.c (internal_getgrouplist): When we found the service
49204 list through the initgroups entry in nsswitch.conf do not always
49205 continue on a successful lookup. Don't always use the
eac80ce2 49206 __nss_group_database value if it is set.
7b3b0b2a
UD
49207 * nss/nsswitch.conf (initgroups): Change action for successful db
49208 lookup to continue for compatibility.
49209
2a81eaa5
UD
492102011-05-09 Ulrich Drepper <drepper@gmail.com>
49211
be97a69e
UD
49212 [BZ #11532]
49213 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49214 and CP774 modules.
49215 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49216 and CP774 modules.
49217 * iconvdata/tst-tables.sh: Likewise.
49218 * iconvdata/cp770.c: New file.
49219 * iconvdata/cp771.c: New file.
49220 * iconvdata/cp772.c: New file.
49221 * iconvdata/cp773.c: New file.
49222 * iconvdata/cp774.c: New file.
49223 * iconvdata/testdata/CP770: New file.
49224 * iconvdata/testdata/CP770..UTF8: New file.
49225 * iconvdata/testdata/CP771: New file.
49226 * iconvdata/testdata/CP771..UTF8: New file.
49227 * iconvdata/testdata/CP772: New file.
49228 * iconvdata/testdata/CP772..UTF8: New file.
49229 * iconvdata/testdata/CP773: New file.
49230 * iconvdata/testdata/CP773..UTF8: New file.
49231 * iconvdata/testdata/CP774: New file.
49232 * iconvdata/testdata/CP774..UTF8: New file.
49233
49234 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49235 END CHARMAP line.
49236 * iconvdata/gen-8bit-gap.sh: Likewise.
49237 * iconvdata/gen-8bit.sh: Likewise.
49238
c1e9e399
UD
49239 * locale/iso-639.def: Add ary entry.
49240
24c55fb3 49241 [BZ #11258]
96b4b1b0
UD
49242 * locale/C-translit.h.in: Add U20A1 transliteration.
49243
bdc2f971
KB
49244 [BZ #12178]
49245 * locale/iso-639.def: Add wae entry.
49246 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49247
2952b117
UD
49248 [BZ #12545]
49249 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49250 for n.
49251
2a81eaa5
UD
49252 [BZ #12711]
49253 * locale/C-translit.h.in: Add entry for U20B9.
49254 Patch by pravin.d.s@gmail.com.
49255
28377d1b
UD
492562011-05-08 Ulrich Drepper <drepper@gmail.com>
49257
7fb90fb8
UD
49258 [BZ #12713]
49259 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49260 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49261 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49262 in rtld. Use *stat64.
7fb90fb8 49263 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49264 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49265 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49266 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49267 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49268 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49269 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49270 __fstatat64 macros.
7fb90fb8
UD
49271 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49272 * dirent/rewinddir.c: Add libc_hidden_def.
49273 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49274 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49275
28377d1b
UD
49276 * include/dirent.h (__alloc_dir): Add flags parameter.
49277 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49278 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49279 __alloc_dir.
49280 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49281 from fdopendir if O_CLOEXEC is already set.
49282
66bdbaa4
AM
492832011-03-15 Alan Modra <amodra@gmail.com>
49284
49285 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49286 l_tls_firstbyte_offset non-zero. Save padding offset in
49287 l_tls_firstbyte_offset for later use.
49288 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49289 freeing static tls block.
49290
95721191
JN
492912011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49292
49293 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49294 where #ifdef was intended. The intent is to prevent ARG_MAX from
49295 being defined by the kernel headers.
49296
f87dfb1f
UD
492972011-05-07 Ulrich Drepper <drepper@gmail.com>
49298
49299 [BZ #12734]
49300 * resolv/resolv.h: Define RES_NOTLDQUERY.
49301 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49302 no-tld-query and set RES_NOTLDQUERY.
49303 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49304 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49305 modern BIND to search name as TLD unless forbidden.
49306
47c3cd7a
UD
493072011-05-07 Petr Baudis <pasky@suse.cz>
49308 Ulrich Drepper <drepper@gmail.com>
49309
49310 [BZ #12393]
49311 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49312 (is_trusted_path): ...to here.
c1e9ea35 49313 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49314 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49315 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49316
8a35c912
PP
493172011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49318
49319 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49320 __BEGIN/__END_DECLS.
49321
acd41f47
UD
493222011-05-06 Ulrich Drepper <drepper@gmail.com>
49323
49324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49325 NSS_STATUS_NOTFOUND if no record was found.
49326
597df647
AS
493272011-05-05 Andreas Schwab <schwab@redhat.com>
49328
49329 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49330 (headers-not-in-tirpc): Remove rpc/netdb.h
49331 * resolv/netdb.h: Revert last change.
49332
b9af1301
PP
493332011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49334
49335 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49336 circular dependency between libgcc.a and libc.a.
49337
4e34d5f5
AS
493382011-05-05 Andreas Schwab <schwab@redhat.com>
49339
49340 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49341 * nis/Makefile: Don't install rpcsvc/*.
49342 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49343 instead of <rpc/types.h>.
49344 (MAXHOSTNAMELEN): Define.
49345
00ee369c
AS
493462011-05-03 Andreas Schwab <schwab@redhat.com>
49347
49348 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49349
0b592a30
MB
493502011-04-28 Maciej Babinski <mbabinski@google.com>
49351
49352 [BZ #12714]
49353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49354 gethostbyname4_r when IPv6 results are possible.
49355
6e04cbbe
UD
493562011-05-02 Ulrich Drepper <drepper@gmail.com>
49357
49358 [BZ #12723]
49359 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49360 _PC_PIPE_BUF handling.
49361
e4ecafe0
BH
493622011-04-30 Bruno Haible <bruno@clisp.org>
49363
49364 [BZ #12717]
49365 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49366 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49367 to 'int'.
49368 * inet/getnameinfo.c (getnameinfo): Likewise.
49369
125ee683
UD
493702011-04-29 Ulrich Drepper <drepper@gmail.com>
49371
49372 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49373 to groups setting in database lookup.
49374 * nss/nsswitch.conf: Add initgroups entry.
49375
b722481a
EB
493762011-04-22 Ulrich Drepper <drepper@gmail.com>
49377
49378 [BZ #12685]
49379 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49380 mode string.
49381 Patch by Eric Blake <eblake@redhat.com>.
49382
4df46dbd
L
493832011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49384
49385 * sunrpc/Makefile (need-export-routines): Add svc_run.
49386 (routines): Remove svc_run.
49387 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49388 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49389 * sunrpc/svc_run.c (svc_run): Likewise.
49390 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49391
e84142d2
UD
493922011-04-21 Ulrich Drepper <drepper@gmail.com>
49393
49394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49395 problem in reallocation in last patch.
49396
877175d8
UD
493972011-04-20 Ulrich Drepper <drepper@gmail.com>
49398
49399 * sunrpc/Makefile: Move inclusion of Rules.
49400
ab8eed78
UD
494012011-04-19 Ulrich Drepper <drepper@gmail.com>
49402
49403 * nss/nss_files/files-initgroups.c: New file.
49404 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49405 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49406 _nss_files_initgroups_dyn.
49407
e3d8f584
RS
494082011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49409
49410 * elf/elf.h (R_ARM_IRELATIVE): Define.
49411
af190f45
UD
494122011-04-19 Ulrich Drepper <drepper@gmail.com>
49413
49414 * po/ru.po: Update from translation team.
49415
53cf59ef
UD
494162011-04-17 Ulrich Drepper <drepper@gmail.com>
49417
49418 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49419 dependencies.
49420
4c559bcd
MF
494212011-02-06 Mike Frysinger <vapier@gentoo.org>
49422
49423 [BZ #12653]
49424 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49425 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49427 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49429
4420675c
AS
494302011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49431
49432 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49433 differing bytes.
49434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49435 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49437
75ea32ab
UD
494382011-04-17 Ulrich Drepper <drepper@gmail.com>
49439
49440 [BZ #12420]
49441 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49442 storing it.
49443 * stdlib/bug-getcontext.c: New file.
49444 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49445
27390476
AK
494462011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49447
49448 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49449 instructions into .machine "z9-109".
49450 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49451 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49452
10442705
AK
494532011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49454
49455 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49456 between environment variables and auxiliary vector.
49457
7b57bfe5
UD
494582011-04-16 Ulrich Drepper <drepper@gmail.com>
49459
49460 * Makefile: Add rules to build linkobj/libc.so.
49461 * include/libc-symbols.h: Define libc_hidden_nolink.
49462 * include/rpc/auth.h: Mark functions which are to be hidden.
49463 * include/rpc/auth_des.h: Likewise.
49464 * include/rpc/auth_unix.h: Likewise.
49465 * include/rpc/clnt.h: Likewise.
49466 * include/rpc/des_crypt.h: Likewise.
49467 * include/rpc/key_prot.h: Likewise.
49468 * include/rpc/pmap_clnt.h: Likewise.
49469 * include/rpc/pmap_prot.h: Likewise.
49470 * include/rpc/pmap_rmt.h: Likewise.
49471 * include/rpc/rpc_msg.h: Likewise.
49472 * include/rpc/svc.h: Likewise.
49473 * include/rpc/svc_auth.h: Likewise.
49474 * include/rpc/xdr.h: Likewise.
49475 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49476 * nss/Makefile: Likewise.
49477 * sunrpc/Makefile: Don't install headers. Build library with normal
49478 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49479 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49480 for the compat linking library. Remove use of INTDEF/INTUSE.
49481 * sunrpc/auth_none.c: Likewise.
49482 * sunrpc/auth_unix.c: Likewise.
49483 * sunrpc/authdes_prot.c: Likewise.
49484 * sunrpc/authuxprot.c: Likewise.
49485 * sunrpc/clnt_gen.c: Likewise.
49486 * sunrpc/clnt_perr.c: Likewise.
49487 * sunrpc/clnt_raw.c: Likewise.
49488 * sunrpc/clnt_simp.c: Likewise.
49489 * sunrpc/clnt_tcp.c: Likewise.
49490 * sunrpc/clnt_udp.c: Likewise.
49491 * sunrpc/clnt_unix.c: Likewise.
49492 * sunrpc/des_crypt.c: Likewise.
49493 * sunrpc/des_soft.c: Likewise.
49494 * sunrpc/get_myaddr.c: Likewise.
49495 * sunrpc/key_call.c: Likewise.
49496 * sunrpc/key_prot.c: Likewise.
49497 * sunrpc/netname.c: Likewise.
49498 * sunrpc/pm_getmaps.c: Likewise.
49499 * sunrpc/pm_getport.c: Likewise.
49500 * sunrpc/pmap_clnt.c: Likewise.
49501 * sunrpc/pmap_prot.c: Likewise.
49502 * sunrpc/pmap_prot2.c: Likewise.
49503 * sunrpc/pmap_rmt.c: Likewise.
49504 * sunrpc/publickey.c: Likewise.
49505 * sunrpc/rpc_cmsg.c: Likewise.
49506 * sunrpc/rpc_common.c: Likewise.
49507 * sunrpc/rpc_dtable.c: Likewise.
49508 * sunrpc/rpc_prot.c: Likewise.
49509 * sunrpc/rpc_thread.c: Likewise.
49510 * sunrpc/rtime.c: Likewise.
49511 * sunrpc/svc.c: Likewise.
49512 * sunrpc/svc_auth.c: Likewise.
49513 * sunrpc/svc_authux.c: Likewise.
49514 * sunrpc/svc_raw.c: Likewise.
49515 * sunrpc/svc_run.c: Likewise.
49516 * sunrpc/svc_simple.c: Likewise.
49517 * sunrpc/svc_tcp.c: Likewise.
49518 * sunrpc/svc_udp.c: Likewise.
49519 * sunrpc/svc_unix.c: Likewise.
49520 * sunrpc/svcauth_des.c: Likewise.
49521 * sunrpc/xcrypt.c: Likewise.
49522 * sunrpc/xdr.c: Likewise.
49523 * sunrpc/xdr_array.c: Likewise.
49524 * sunrpc/xdr_float.c: Likewise.
49525 * sunrpc/xdr_intXX_t.c: Likewise.
49526 * sunrpc/xdr_mem.c: Likewise.
49527 * sunrpc/xdr_rec.c: Likewise.
49528 * sunrpc/xdr_ref.c: Likewise.
49529 * sunrpc/xdr_sizeof.c: Likewise.
49530 * sunrpc/xdr_stdio.c: Likewise.
49531
e6c61494
UD
495322011-04-10 Ulrich Drepper <drepper@gmail.com>
49533
49534 [BZ #12650]
49535 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49536 * sysdeps/ia64/dl-tls.h: Likewise.
49537 * sysdeps/powerpc/dl-tls.h: Likewise.
49538 * sysdeps/s390/dl-tls.h: Likewise.
49539 * sysdeps/sh/dl-tls.h: Likewise.
49540 * sysdeps/sparc/dl-tls.h: Likewise.
49541 * sysdeps/x86_64/dl-tls.h: Likewise.
49542 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49543
34fe483e
AS
495442011-03-14 Andreas Schwab <schwab@redhat.com>
49545
49546 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49547 rpath element also skip the following colon.
49548 (expand_dynamic_string_token): Add is_path parameter and pass
49549 down to DL_DST_REQUIRED and _dl_dst_substitute.
49550 (decompose_rpath): Call expand_dynamic_string_token with
49551 non-zero is_path. Ignore empty rpaths.
49552 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49553 with zero is_path.
49554
f12a32e6
AS
495552011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49556
49557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49558 Make cancelable.
49559
38a7d692
UD
495602011-04-09 Ulrich Drepper <drepper@gmail.com>
49561
49562 [BZ #12655]
49563 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49564 Patch by Filipe David Manana <fdmanana@apache.org>.
49565
e451d22b
AS
495662011-04-07 Andreas Schwab <schwab@redhat.com>
49567
49568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49569 Maintain aligned stack.
49570 (CHECK_RSP): Remove unused macro.
49571
dedc7c7b
UD
495722011-04-03 Ulrich Drepper <drepper@gmail.com>
49573
49574 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49575 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49576
94521213
UD
495772011-04-02 Ulrich Drepper <drepper@gmail.com>
49578
49579 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49580
8cb700c0 49581 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49582
0354e355
L
495832011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49584
49585 [BZ #12518]
49586 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49587 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49588 * sysdeps/x86_64/memmove.c: New file.
49589 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49590 (memcpy): Renamed to ...
49591 (__new_memcpy): This.
49592 (memcpy): Provide GLIBC_2_14 memcpy.
49593 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49594 (memcpy): Provide GLIBC_2_2_5 memcpy.
49595
8593482f
UD
495962011-04-01 Ulrich Drepper <drepper@gmail.com>
49597
49598 [BZ #12631]
49599 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49600
81a5726b
AS
496012011-03-30 Andreas Schwab <schwab@redhat.com>
49602
49603 * misc/syncfs.c: New file.
49604 * misc/Makefile (routines): Add syncfs.
49605 * posix/unistd.h: Declare syncfs.
49606 * sysdeps/unix/syscalls.list: Add syncfs.
49607
00e5419f
AS
496082011-04-01 Andreas Schwab <schwab@redhat.com>
49609
49610 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49611 open_by_handle_at.
49612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49613 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49617 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49619
748876bf
UD
496202011-04-01 Ulrich Drepper <drepper@gmail.com>
49621
658e451d
UD
49622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49624 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49629
748876bf
UD
49630 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49631 sync_file_range.c with -fexceptions.
49632 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49633 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49634 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49635 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49636 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49637 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49639 sync_file_range as cancellation point
49640 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49641 now a wrapper around __call_sync_file_range with cancellation handling.
49642 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49643 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49644 function name to __call_sync_file_range.
49645 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49646 Add call_sync_file_range.
748876bf 49647
6e63d5e1
AS
496482011-04-01 Andreas Schwab <schwab@redhat.com>
49649
49650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49651 bits/timex.h.
6e63d5e1 49652
46998f74
UD
496532011-04-01 Ulrich Drepper <drepper@gmail.com>
49654
4c1423ed
UD
49655 * iconv/iconv.h: Fix typo in comment.
49656 * io/fcntl.h: Likewise.
49657 * libio/stdio.h: Likewise.
49658 * posix/spawn.h: Likewise.
49659 * posix/unistd.h: Likewise.
49660 * stdlib/stdlib.h: Likewise.
49661 * time/time.h: Likewise.
49662 * wcsmbs/wchar.h: Likewise.
49663
158648c0
UD
49664 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49665 open_by_handle): Add.
49666 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49667 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49668 Augment a few comments.
49669 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49671 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49672 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49674 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49675 open_by_handle.
49676
46998f74
UD
49677 * io/fcntl.h (AT_EMPTY_PATH): Define.
49678
83fe108b
UD
496792011-03-30 Ulrich Drepper <drepper@gmail.com>
49680
49681 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49682 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49683 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49684 to...
49685 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49686 * Versions.def: Add GLIBC_2.14.
49687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49688 Export.
83fe108b 49689
bb242059
UD
496902011-03-22 Ulrich Drepper <drepper@gmail.com>
49691
49692 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49693 round counter.
49694 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49695
c97a1282
L
496962011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49697
49698 [BZ #12597]
49699 * string/test-strncmp.c (do_page_test): New function.
49700 (check2): Likewise.
49701 (test_main): Call check2.
49702 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49703
2a115601
UD
497042011-03-20 Ulrich Drepper <drepper@gmail.com>
49705
49706 [BZ #12587]
49707 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49708 Handle cache information in CPU leaf 4.
49709 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49710
8126d904
UD
497112011-03-18 Ulrich Drepper <drepper@gmail.com>
49712
042c49c6 49713 [BZ #12583]
8126d904
UD
49714 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49715 character representation.
49716 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49717
ccfe366e
RA
497182011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49719
49720 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49721 END(__isnan) to END(__isnanf) to match function entry point/label
49722 EALIGN(__isnanf,...).
49723
c6e13027
JJ
497242011-03-10 Jakub Jelinek <jakub@redhat.com>
49725
49726 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49727
33f85a3f
UD
497282011-03-10 Ulrich Drepper <drepper@gmail.com>
49729
028478fa
UD
49730 [BZ #12510]
49731 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49732 copy from the symbol referenced in the relocation to initialize the
49733 used variable.
49734 Patch by Piotr Bury <pbury@goahead.com>.
49735 * elf/Makefile: Add rules to build and tst-unique3.
49736 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49737 * elf/tst-unique3.cc: New file.
49738 * elf/tst-unique3.h: New file.
49739 * elf/tst-unique3lib.cc: New file.
49740 * elf/tst-unique3lib2.cc: New file.
49741
33f85a3f
UD
49742 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49743
03592fc7
MF
497442011-03-10 Mike Frysinger <vapier@gentoo.org>
49745
49746 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49747 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49748 to _start.
03592fc7 49749
6a5ee102
UD
497502011-03-06 Ulrich Drepper <drepper@gmail.com>
49751
49752 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49753 to-be-loaded object along a path to loader is ld.so.
49754
7e4ba49c
HJ
497552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49756 Ulrich Drepper <drepper@gmail.com>
49757
49758 * sysdeps/x86_64/memset.S: After aligning destination, code
49759 branches to different locations depending on the value of
49760 misalignment, when multiarch is enabled. Fix this.
49761
497622011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49763
49764 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49765 Set _x86_64_preferred_memory_instruction for AMD processsors.
49766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49767 Set bit_Prefer_SSE_for_memop for AMD processors.
49768
13a804de
UD
497692011-03-04 Ulrich Drepper <drepper@gmail.com>
49770
49771 * libio/fmemopen.c (fmemopen): Optimize a bit.
49772
9d25c392
AS
497732011-03-03 Andreas Schwab <schwab@redhat.com>
49774
49775 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49776
a5543c6a
RM
497772011-03-03 Roland McGrath <roland@redhat.com>
49778
49779 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49780
012d35f7
DM
497812011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49782
7e4ba49c 49783 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49784 __bzero_ultra1 instead of __memset_ultra1.
49785
4bff6e01
AS
497862011-02-23 Andreas Schwab <schwab@redhat.com>
49787 Ulrich Drepper <drepper@gmail.com>
49788
49789 [BZ #12509]
49790 * include/link.h (struct link_map): Add l_orig_initfini.
49791 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49792 returning unsuccessfully.
49793 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49794 close of a file loaded at startup, restore the original l_initfini
49795 list.
49796 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49797 list, store the pointer.
49798 * elf/Makefile ($(objpfx)noload-mem): New rule.
49799 (noload-ENV): Define.
49800 (tests): Add $(objpfx)noload-mem.
49801 * elf/noload.c: Include <memcheck.h>.
49802 (main): Call mtrace. Close all opened handles.
49803
f2092faf
AS
498042011-02-17 Andreas Schwab <schwab@redhat.com>
49805
49806 [BZ #12454]
49807 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49808 dependencies are missing.
49809
6c8a2e88
ST
498102011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49811
f2092faf 49812 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49813 Hurd needs munmap.
49814 * sysdeps/mach/hurd/ifreq.h: New file.
49815
84a42118
PB
498162011-01-27 Petr Baudis <pasky@suse.cz>
49817 Ulrich Drepper <drepper@gmail.com>
49818
071f805e 49819 [BZ 12445]#
84a42118
PB
49820 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49821 to extend_alloca().
49822 * stdio-common/bug23.c: New file.
49823 * stdio-common/Makefile (tests): Add bug23.
49824
e23fe25b
AS
498252010-09-28 Andreas Schwab <schwab@redhat.com>
49826 Ulrich Drepper <drepper@gmail.com>
49827
49828 [BZ #12489]
49829 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49830 before performing relro protection. At old place add assertion
49831 to make sure nothing changed.
49832
d3f02e10
NS
498332011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49834 Glauber de Oliveira Costa <glommer@gmail.com>
49835
49836 * elf/elf.h: Add new ARM TLS relocs.
49837
d55fd7a5
RA
498382011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49839
49840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49841 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49842 cast from r3.
49843 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49844 'tests' variable.
49845 * sysdeps/wordsize-64/tst-writev.c: New file.
49846
2206397e
RA
498472011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49848
49849 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49850 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49851 insns in _dl_start to prevent a TOC reference before relocs are
49852 resolved.
49853
e9433893
UD
498542011-02-15 Ulrich Drepper <drepper@gmail.com>
49855
49856 [BZ #12469]
49857 * Makeconfig: Remove RANLIB definition.
49858 * Makerules: Don't use RANLIB.
49859 * aclocal.m4: Remove ranlib test.
49860 * configure.in: No need to check for ranlib.
49861 * elf/rtld-Rules: Don't use RANLIB.
49862
f75286c6
ST
498632011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49864
8e31c82d
ST
49865 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49866 protection macro.
49867 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49868 inclusion protection macro.
49869
f75286c6
ST
49870 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49871 SIGRTMIN and SIGRTMAX and print information in that case only when
49872 SIGRTMIN is defined.
49873
c1d0e639
JJ
498742011-02-11 Jakub Jelinek <jakub@redhat.com>
49875
49876 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49877 arginfo fn returning -1.
49878
49879 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49880 and thousands string is zero terminated.
49881
edf9294e
AS
498822011-02-03 Andreas Schwab <schwab@redhat.com>
49883
49884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49885 sysdeps/unix/sysv/linux/bits/socket.h.
49886
2b7e92df
ST
498872011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49888
edf9294e
AS
49889 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49890 (__CPU_COUNT): Remove old macros.
49891 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49892 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49893 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49894 (__sched_cpualloc, __sched_cpufree): Add declarations.
49895
a4c7ea7b
UD
498962011-02-05 Ulrich Drepper <drepper@gmail.com>
49897
49898 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49899 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49900 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49901 (readdhstai): Return value of addhstaiX call.
49902 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49903 (addgrbyX): Return value returned by cache_addgr.
49904 (readdgrbyname): Return value returned by addgrbyX.
49905 (readdgrbygid): Likewise.
49906 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49907 (addpwbyX): Return value returned by cache_addpw.
49908 (readdpwbyname): Return value returned by addhstbyX.
49909 (readdpwbyuid): Likewise.
49910 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49911 (addservbyX): Return value returned by cache_addserv.
49912 (readdservbyname): Return value returned by addservbyX:
49913 (readdservbyport): Likewise.
49914 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49915 (addhstbyX): Return value returned by cache_addhst.
49916 (readdhstbyname): Return value returned by addhstbyX.
49917 (readdhstbyaddr): Likewise.
49918 (readdhstbynamev6): Likewise.
49919 (readdhstbyaddrv6): Likewise.
49920 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49921 (readdinitgroups): Return value returned by addinitgroupsX.
49922 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49923 (prune_cache): Keep track of timeout value of re-added entries.
49924 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49925 * nscd/nscd.h: Adjust prototypes of readd* functions.
49926
a0bf67cc
RM
499272011-02-04 Roland McGrath <roland@redhat.com>
49928
49929 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49930 (nis_stats): Likewise.
49931 * nis/nis_modify.c (nis_modify): Likewise.
49932 * nis/nis_remove.c (nis_remove): Likewise.
49933 * nis/nis_add.c (nis_add): Likewise.
49934
49935 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49936
49937 * posix/fnmatch_loop.c: Add some consts.
49938
49939 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49940
435b95eb
L
499412011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49942
49943 [BZ #12460]
49944 * config.make.in (config-cflags-novzeroupper): Define.
49945 * configure.in: Substitute libc_cv_cc_novzeroupper.
49946 * elf/Makefile (AVX-CFLAGS): Define.
49947 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49948 (CFLAGS-tst-auditmod4a.c): Likewise.
49949 (CFLAGS-tst-auditmod4b.c): Likewise.
49950 (CFLAGS-tst-auditmod6b.c): Likewise.
49951 (CFLAGS-tst-auditmod6c.c): Likewise.
49952 (CFLAGS-tst-auditmod7b.c): Likewise.
49953 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49954
8517b15e
UD
499552011-02-02 Ulrich Drepper <drepper@gmail.com>
49956
49957 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49958 function to the callback.
49959 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49960
10a656fe
AS
499612011-02-02 Andreas Schwab <schwab@redhat.com>
49962
49963 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49964 of errno.
49965
968dad0a
UD
499662011-01-19 Ulrich Drepper <drepper@gmail.com>
49967
9f94d2ea 49968 [BZ #11724]
968dad0a
UD
49969 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49970 of constructors.
49971 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49972 of destructors.
49973 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49974
49975 [BZ #11724]
49976 * elf/Makefile: Add rules to build and run new test.
49977 * elf/tst-initorder.c: New file.
49978 * elf/tst-initorder.exp: New file.
49979 * elf/tst-initordera1.c: New file.
49980 * elf/tst-initordera2.c: New file.
49981 * elf/tst-initordera3.c: New file.
49982 * elf/tst-initordera4.c: New file.
49983 * elf/tst-initorderb1.c: New file.
49984 * elf/tst-initorderb2.c: New file.
49985 * elf/tst-order-a1.c: New file.
49986 * elf/tst-order-a2.c: New file.
49987 * elf/tst-order-a3.c: New file.
49988 * elf/tst-order-a4.c: New file.
49989 * elf/tst-order-b1.c: New file.
49990 * elf/tst-order-b2.c: New file.
49991 * elf/tst-order-main.c: New file.
49992 New test case by George Gensure <werkt0@gmail.com>.
49993
86e92359
UD
499942010-10-01 Andreas Schwab <schwab@redhat.com>
49995
49996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49997 decoding ACE if AI_CANONIDN.
49998
5d5732b0
UD
499992011-01-18 Ulrich Drepper <drepper@gmail.com>
50000
50001 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50002
a77e8cbc
UD
500032011-01-17 Ulrich Drepper <drepper@gmail.com>
50004
6392473f
UD
50005 * version.h (RELEASE): Bump for 2.13 release.
50006 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50007
620a0529
UD
50008 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50009
18ba70a5
UD
50010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50011 MADV_NOHUGEPAGE.
32465c3e
UD
50012 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50014 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50015 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50017 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50018
c0dafcf1
UD
50019 * posix/getconf.c: Update copyright year.
50020 * catgets/gencat.c: Likewise.
50021 * csu/version.c: Likewise.
50022 * debug/catchsegv.sh: Likewise.
50023 * debug/xtrace.sh: Likewise.
50024 * elf/ldconfig.c: Likewise.
50025 * elf/ldd.bash.in: Likewise.
50026 * elf/sprof.c (print_version): Likewise.
50027 * iconv/iconv_prog.c: Likewise.
50028 * iconv/iconvconfig.c: Likewise.
50029 * locale/programs/locale.c: Likewise.
50030 * locale/programs/localedef.c: Likewise.
50031 * malloc/memusage.sh: Likewise.
50032 * malloc/mtrace.pl: Likewise.
50033 * nscd/nscd.c (print_version): Likewise.
50034 * nss/getent.c: Likewise.
50035
a77e8cbc
UD
50036 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50037 PF_CAIF, and PF_ALG.
50038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50039
77e8bddf
AS
500402011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50041
1f20b93a
AS
50042 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50043 (modules-names): Use them.
50044 (ifunc-test-modules, ifunc-pie-tests): Define.
50045 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50046 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50047 (test-extras): Likewise.
50048 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50049 $(compile-command.c).
50050 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50051 (all-built-dso): Define.
50052 (check-textrel.out, check-execstack.out): Depend on it.
50053
77e8bddf
AS
50054 * configure.in: Don't override --enable-multi-arch.
50055
bc425b33
UD
500562011-01-15 Ulrich Drepper <drepper@gmail.com>
50057
50058 [BZ #6812]
50059 * nscd/hstcache.c (tryagain): Define.
50060 (cache_addhst): Return tryagain not notfound for temporary errors.
50061 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50062 failed.
50063
794c3ad3
UD
500642011-01-14 Ulrich Drepper <drepper@gmail.com>
50065
70181fdd
UD
50066 [BZ #10563]
50067 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50068 to make the syscall.
50069 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50070
794c3ad3
UD
50071 [BZ #12378]
50072 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50073 and fall back to matching as normal character if the string ends before
50074 the matching ']' is found. This is what POSIX requires.
50075 * posix/testfnm.c: Adjust test result.
50076 * posix/globtest.sh: Adjust test result. Add new test.
50077 * posix/tst-fnmatch.input: Likewise.
50078 * posix/tst-fnmatch2.c: Add new test.
50079
68dc9497
AS
500802010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50081
50082 * elf/Makefile (check-execstack): Revert last change. Depend on
50083 check-execstack.h.
50084 (check-execstack.h): New target.
50085 (generated): Add check-execstack.h.
50086 * elf/check-execstack.c: Include "check-execstack.h".
50087 (main): Revert last change.
50088 (handle_file): Return zero if GNU_STACK is absent and
50089 DEFAULT_STACK_PERMS doesn't include PF_X.
50090
451f001b
UD
500912011-01-13 Ulrich Drepper <drepper@gmail.com>
50092
cfa28e56
UD
50093 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50094 in child fails because the descriptor is already closed.
8cf8ce17
UD
50095 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50096 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50097 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50098
1086d70d
UD
50099 [BZ #12397]
50100 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50101 syscall.
50102
451f001b
UD
50103 [BZ #10484]
50104 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50105 temporary buffer used to handle multi lookups locally.
a85b5cb4 50106 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50107
08769175
UD
501082011-01-12 Ulrich Drepper <drepper@gmail.com>
50109
50110 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50111 loader is ld.so.
50112
5e49c52e
UD
501132011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50114
50115 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50116 alignment for SSE2.
50117
60522a5f
UD
501182011-01-12 Ulrich Drepper <drepper@gmail.com>
50119
50120 [BZ #12394]
50121 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50122 characters. When rounding increased number of integer digits recompute
50123 number of groups.
50124 * stdio-common/tst-grouping.c: New file.
50125 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50126
f257bbd7
UD
501272011-01-09 Ulrich Drepper <drepper@gmail.com>
50128
50129 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50130 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50131
50132 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50133 void.
50134 * bits/select.h: Likewise.
50135
fa9c15cb
UD
501362011-01-08 Ulrich Drepper <drepper@gmail.com>
50137
50138 * po/ja.po: Update from translation team.
50139
16c2895f
DM
501402011-01-04 David S. Miller <davem@sunset.davemloft.net>
50141
50142 [BZ #11155]
50143 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50144 implementation just like for lxstat, fxstatat, et al.
50145
2543fef2
JM
501462010-12-27 Jim Meyering <meyering@redhat.com>
50147
50148 [BZ #12348]
50149 * posix/regexec.c (build_trtable): Return failure indication upon
50150 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50151
98727dbe
UD
501522010-12-25 Ulrich Drepper <drepper@gmail.com>
50153
5bd6dc5c
UD
50154 [BZ #12201]
50155 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50156 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50157 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50158 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50159
97983464
UD
50160 [BZ #12207]
50161 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50162
98727dbe
UD
50163 [BZ #12204]
50164 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50165 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50166
4a531bb0
L
501672010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50168
50169 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50170 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50171 script has SORT_BY_INIT_PRIORITY.
50172 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50173 NO_CTORS_DTORS_SECTIONS is defined.
50174 * elf/soinit.c: Likewise.
50175 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50176 NO_CTORS_DTORS_SECTIONS is defined.
50177 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50178 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50179 * sysdeps/sh/init-first.c: Likewise.
50180 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50181
07eb4b71
UD
501822010-12-24 Ulrich Drepper <drepper@gmail.com>
50183
50184 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50185 always use the slow path.
50186
30950a5f
RA
501872010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50188
50189 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50190 similar rule which adds the sysdep directories to the header search in
50191 order to pick up the correct platform stackinfo.h.
50192 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50193 perform test if it is, otherwise return successfully without testing.
50194 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50195 DEFAULT_STACK_PERMS define in stackinfo.h.
50196 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50197 defined in stackinfo.h.
50198 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50199 DEFAULT_STACK_PERMS defined in stackinfo.h.
50200 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50201 * sysdeps/ia64/stackinfo.h: Likewise.
50202 * sysdeps/s390/stackinfo.h: Likewise.
50203 * sysdeps/sh/stackinfo.h: Likewise.
50204 * sysdeps/sparc/stackinfo.h: Likewise.
50205 * sysdeps/x86_64/stackinfo.h: Likewise.
50206 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50207 PF_X for powerpc64. Retain PF_X for powerpc32.
50208
db753e2c
UD
502092010-12-19 Ulrich Drepper <drepper@gmail.com>
50210
14b697f7
UD
50211 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50212 accurately.
db753e2c
UD
50213 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50214 GETDENTS_64BIT_ALIGNED.
50215
28300719
UD
502162010-12-14 Ulrich Drepper <dreper@gmail.com>
50217
14b697f7 50218 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50219
4f197237
AS
502202010-12-10 Andreas Schwab <schwab@redhat.com>
50221
dbb0472f
AS
50222 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50223 _GNU_SOURCE.
50224
4f197237
AS
50225 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50226 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50227 Remove __restrict.
50228 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50229 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50230
fb88ac72
UD
502312010-12-09 Ulrich Drepper <drepper@gmail.com>
50232
50233 [BZ #11655]
50234 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50235 are initialized.
50236
42acbb92
JJ
502372010-12-09 Jakub Jelinek <jakub@redhat.com>
50238
50239 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50240
c038d98d
UD
502412010-12-03 Ulrich Drepper <drepper@gmail.com>
50242
50243 * po/it.po: Update from translation team.
50244
3a4a2499
L
502452010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50246
50247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50248 unused codes.
50249
1e24cf6e
UD
502502010-11-30 Ulrich Drepper <drepper@gmail.com>
50251
50252 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50253
a7690819
AS
502542010-11-24 Andreas Schwab <schwab@redhat.com>
50255
50256 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50257 specially.
50258 (gaih_getanswer_slice): Likewise.
50259
3bf8d1b1
JJ
502602010-10-20 Jakub Jelinek <jakub@redhat.com>
50261
50262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50263
6db52fbb
PB
502642010-05-31 Petr Baudis <pasky@suse.cz>
50265
50266 [BZ #11149]
50267 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50268 silently even in the chroot mode.
50269
eaca7569
UD
502702010-11-22 Ulrich Drepper <drepper@gmail.com>
50271
50272 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50273 last patch a bit. Pretty printing
50274
3056dcdb
UD
502752010-05-31 Petr Baudis <pasky@suse.cz>
50276
50277 [BZ #10085]
50278 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50279 initialization of skip_initgroups_dyn.
50280
cf7c9078
UD
502812010-11-19 Ulrich Drepper <drepper@gmail.com>
50282
50283 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50284 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50285
a1fb5e3e
UD
502862010-11-16 Ulrich Drepper <drepper@gmail.com>
50287
50288 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50289
3540d66b
AS
502902010-11-11 Andreas Schwab <schwab@redhat.com>
50291
50292 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50293 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50294 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50295 ($(objpfx)tst-fnmatch-mem): New rule.
50296 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50297 * posix/tst-fnmatch.c (main): Call mtrace.
50298
13b69574
L
502992010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50300
50301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50302 Support Intel processor model 6 and model 0x2c.
50303
da93d214
LM
503042010-11-10 Luis Machado <luisgpm@br.ibm.com>
50305
50306 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50307 signed comparison.
50308
8ca52c6e
L
503092010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50310
50311 [BZ #12205]
50312 * string/test-strncasecmp.c (check_result): New function.
50313 (do_one_test): Use it.
50314 (check1): New function.
50315 (test_main): Use it.
50316 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50317 Support strcasecmp and strncasecmp.
50318
69da074d
UD
503192010-11-08 Ulrich Drepper <drepper@gmail.com>
50320
50321 [BZ #12194]
50322 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50323 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50324
ff02d528
L
503252010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50326
50327 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50328 IFUNC support.
50329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50330 memset-x86-64.
50331 * sysdeps/x86_64/multiarch/bzero.S: New file.
50332 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50333 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50334 * sysdeps/x86_64/multiarch/memset.S: New file.
50335 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50337 Set bit_Prefer_SSE_for_memop for Intel processors.
50338 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50339 Define.
50340 (index_Prefer_SSE_for_memop): Define.
50341 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50342
344d0b54
LM
503432010-11-04 Luis Machado <luisgpm@br.ibm.com>
50344
50345 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50346 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50347
c0dde15b
UD
503482010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50349
50350 [BZ #12191]
50351 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50352 (__x86_64_raw_data_cache_size_half): Likewise.
50353 (__x86_64_raw_shared_cache_size): Likewise.
50354 (__x86_64_raw_shared_cache_size_half): Likewise.
50355
50356 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50357 (__x86_64_raw_data_cache_size_half): Likewise.
50358 (__x86_64_raw_shared_cache_size): Likewise.
50359 (__x86_64_raw_shared_cache_size_half): Likewise.
50360 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50361 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50362 and __x86_64_raw_shared_cache_size_half. Round
50363 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50364 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50365 to multiple of 256 bytes.
50366
0e516e0e
MS
503672010-11-03 Ulrich Drepper <drepper@gmail.com>
50368
50369 [BZ #12167]
50370 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50371 of inacessible symlinks. Verify result of symlink before returning it.
50372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50373 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50374
0e012e87
ER
503752010-10-28 Erich Ritz <erichritz@gmail.com>
50376
50377 * math/math.h (isinf): Fix typo in comment.
50378
de0ff7bc
UD
503792010-11-01 Ulrich Drepper <drepper@gmail.com>
50380
50381 * po/da.po: Update from translation team.
50382
fa41c84d
UD
503832010-10-26 Ulrich Drepper <drepper@gmail.com>
50384
50385 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50386 is added to the list.
50387
f0967738
AK
503882010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50389 Ulrich Drepper <drepper@gmail.com>
50390
50391 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50392 the global list here. Move code to...
50393 (_dl_add_to_namespace_list): ...here. New function.
50394 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50395 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50396 * elf/dl-load.c (lose): Don't remove the element from the list.
50397 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50398 (_dl_map_object): Likewise.
50399
504002010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50401
50402 [BZ #12159]
50403 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50404 into all bytes of SSE register.
50405 Patch by Richard Li <richardpku@gmail.com>.
50406
f0967738 504072010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50408
50409 [BZ #12140]
50410 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50411 perturbing.
50412
d0b9e94f
MB
504132010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50414
50415 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50416 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50417 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50418 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50420 submachine.
50421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50422
8e9f92e9
AS
504232010-10-22 Andreas Schwab <schwab@redhat.com>
50424
50425 * include/dlfcn.h (__RTLD_SECURE): Define.
50426 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50427 mode & __RTLD_SECURE instead.
50428 (open_path): Rename preloaded parameter to secure.
50429 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50430 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50431 * elf/dl-deps.c (openaux): Likewise.
50432 * elf/rtld.c (struct map_args): Remove is_preloaded.
50433 (map_doit): Don't use it.
50434 (dl_main): Likewise.
50435 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50436 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50437
bc96fbda
AS
504382010-09-09 Andreas Schwab <schwab@redhat.com>
50439
50440 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50441 (sysd-rules-targets): Remove duplicates.
50442 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50443 rtld-%.$o dependency.
50444
22cd1c9b
AS
504452010-10-18 Andreas Schwab <schwab@redhat.com>
50446
50447 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50448 _dl_map_object do it.
50449
18edac48
UD
504502010-10-19 Ulrich Drepper <drepper@gmail.com>
50451
50452 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50453 fast fma builtins, define the macros in the C99 standard.
50454 (FP_FAST_FMAF): Likewise.
50455 (FP_FAST_FMAL): Likewise.
50456 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50457
50458 * bits/mathdef.h: Update copyright year.
50459 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50460
d2050124
MM
504612010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50462
50463 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50464 builtins, define the macros in the C99 standard.
50465 (FP_FAST_FMAF): Likewise.
50466 (FP_FAST_FMAL): Likewise.
50467 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50468 multiply/add.
50469 (FP_FAST_FMAF): Likewise.
50470
475facd1
JJ
504712010-10-15 Jakub Jelinek <jakub@redhat.com>
50472
50473 [BZ #3268]
50474 * math/libm-test.inc (fma_test): Some new testcases.
50475 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50476 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50477 y and infinite z. Do multiplication by C already in long double.
50478 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50480 y and infinite z. Do bitwise or of inexact bit into u.d.
50481 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50482 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50483 * sysdeps/i386/fpu/s_fma.S: Removed.
50484 * sysdeps/i386/fpu/s_fmal.S: Removed.
50485
7c08a05c
JJ
504862010-10-16 Jakub Jelinek <jakub@redhat.com>
50487
50488 [BZ #3268]
50489 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50491 computation is not scheduled after fetestexcept. Fix value
50492 of minimum denormal long double.
50493
f3f7372d
JJ
504942010-10-14 Jakub Jelinek <jakub@redhat.com>
50495
50496 [BZ #3268]
50497 * math/libm-test.inc (fma_test): Add some more tests.
50498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50499 correctly.
50500
14d43591
AS
505012010-10-15 Andreas Schwab <schwab@redhat.com>
50502
50503 * scripts/data/localplt-s390-linux-gnu.data: New file.
50504 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50505
5e908464
JJ
505062010-10-13 Jakub Jelinek <jakub@redhat.com>
50507
50508 [BZ #3268]
50509 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50510 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50511 instead of dbl-64.
50512 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50513 inlines.
50514 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50516 if one of x and y is very large and the other is subnormal.
50517 * sysdeps/s390/fpu/s_fmaf.c: New file.
50518 * sysdeps/s390/fpu/s_fma.c: New file.
50519 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50520 * sysdeps/powerpc/fpu/s_fma.S: New file.
50521 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50522 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50523 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50524
505252010-10-12 Jakub Jelinek <jakub@redhat.com>
50526
50527 [BZ #3268]
50528 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50529 fma tests.
50530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50531 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50532 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50533 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50534 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50535 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50536 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50537
b833d51f
UD
505382010-10-12 Ulrich Drepper <drepper@redhat.com>
50539
50540 [BZ #12078]
50541 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50542 * posix/bug-regex31.input: Add test case.
50543
1751705d
UD
505442010-10-11 Ulrich Drepper <drepper@gmail.com>
50545
e9b9cbf5
UD
50546 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50547 * posix/bug-regex31.input: New file.
50548
50549 [BZ #12078]
50550 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50551 (parse_sub_exp): Fix last change, use postorder.
50552
ef06edbe
UD
50553 * posix/bug-regex31.c: New file.
50554 * posix/Makefile: Add rules to build and run bug-regex31.
50555
a129c80d
UD
50556 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50557
50558 [BZ #12078]
50559 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50560
b76b818e
UD
50561 [BZ #12108]
50562 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50563 to have entries in sys_siglist.
50564
1751705d
UD
50565 [BZ #12093]
50566 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50567 be NULL.
50568
9ff8d36f
JJ
505692010-10-07 Jakub Jelinek <jakub@redhat.com>
50570
50571 [BZ #3268]
50572 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50573 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50574 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50575 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50576 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50577 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50578 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50579 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50580 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50581 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50582 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50583 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50584 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50585 * math/ftestexcept.c (fetestexcept): Likewise.
50586 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50587 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50588 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50589 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50590 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50591 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50592 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50593
af325969
UD
505942010-10-11 Ulrich Drepper <drepper@gmail.com>
50595
c579b202 50596 [BZ #12107]
af325969
UD
50597 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50598 newline.
50599
67a67b95
UD
506002010-10-06 Ulrich Drepper <drepper@gmail.com>
50601
50602 * string/bug-strstr1.c: New file.
50603 * string/Makefile: Add rules to build and run bug-strstr1.
50604
5fb308bc
EB
506052010-10-05 Eric Blake <eblake@redhat.com>
50606
50607 [BZ #12092]
50608 * string/str-two-way.h (two_way_long_needle): Always clear memory
50609 when skipping input due to the shift table.
50610
45db99c7
UD
506112010-10-03 Ulrich Drepper <drepper@gmail.com>
50612
3b111893
UD
50613 [BZ #12005]
50614 * malloc/mcheck.c: Handle large requests.
50615
45db99c7
UD
50616 [BZ #12077]
50617 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50618 for strncmp and strncasecmp.
50619 * string/stratcliff.c: Add tests for strcmp and strncmp.
50620 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50621
cf7a1eb8
NI
506222010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50623
50624 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50625 __set_fpscr.
50626
6484ba5e
AJ
506272010-09-30 Andreas Jaeger <aj@suse.de>
50628
50629 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50630 (CGROUP_SUPER_MAGIC): Define.
50631 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50632 Handle btrfs and cgroup file systems.
50633 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50634 Likewise.
50635
91c42559
LM
506362010-09-27 Luis Machado <luisgpm@br.ibm.com>
50637
50638 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50639 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50640
87a97932
AK
506412010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50642
50643 [BZ #12067]
50644 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50645 trying to locate the ELF header.
50646
c21cc9bc
AS
506472010-09-27 Andreas Schwab <schwab@redhat.com>
50648
50649 [BZ #11611]
50650 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50651 Mask out sign-bit copies when constructing f_fsid.
50652
315970f6
PB
506532010-09-24 Petr Baudis <pasky@suse.cz>
50654
50655 * debug/stack_chk_fail_local.c: Add missing licence exception.
50656 * debug/warning-nop.c: Likewise.
50657
1ac7a2c7
JM
506582010-09-15 Joseph Myers <joseph@codesourcery.com>
50659
50660 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50661 implementing getdents64 using getdents syscall, set d_type if
50662 __ASSUME_GETDENTS32_D_TYPE.
50663
56801c50
AS
506642010-09-16 Andreas Schwab <schwab@redhat.com>
50665
50666 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50667 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50668
dda51327
UD
506692010-09-21 Ulrich Drepper <drepper@redhat.com>
50670
50671 [BZ #12037]
50672 * posix/unistd.h: Undo change of feature selection for ftruncate from
50673 2010-01-11.
50674
8ffcee4a
UD
506752010-09-20 Ulrich Drepper <drepper@redhat.com>
50676
a545ecd9 50677 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50678 detection.
50679
e24f0a8b
AS
506802010-09-20 Andreas Schwab <schwab@redhat.com>
50681
50682 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50683 fanotify_mark.
50684 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50685
7291c56f
AS
506862010-09-14 Andreas Schwab <schwab@redhat.com>
50687
50688 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50689 variables after CHECK_SP call.
50690 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50691
bc5fb037
AS
506922010-09-13 Andreas Schwab <schwab@redhat.com>
50693 Ulrich Drepper <drepper@redhat.com>
50694
50695 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50696 re-relocationg ld.so.
50697 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50698 _dl_init_paths call.
50699 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50700 here anymore.
50701
e66e7419
UD
507022010-09-14 Ulrich Drepper <drepper@redhat.com>
50703
50704 * resolv/res_init.c (__res_vinit): Count the default server we added.
50705
c044aa75
CLT
507062010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50707 Ulrich Drepper <drepper@redhat.com>
50708
50709 [BZ #11968]
50710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50711 (____longjmp_chk): Use %ebx for saving value across system call.
50712 Add unwind info.
50713
32cf4069
AS
507142010-09-06 Andreas Schwab <schwab@redhat.com>
50715
50716 * manual/Makefile: Don't mix pattern rules with normal rules.
50717
817328ee
AS
507182010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50719
50720 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50721 operation.
50722 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50723 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50724 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50725 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50727 Likewise.
50728
29fddf61
UD
507292010-09-04 Ulrich Drepper <drepper@redhat.com>
50730
50731 [BZ #11979]
50732 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50733 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50734
0959ffc9
UD
507352010-09-02 Ulrich Drepper <drepper@redhat.com>
50736
50737 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50738 * sysdeps/x86_64/addmul_1.S: Likewise.
50739 * sysdeps/x86_64/lshift.S: Likewise.
50740 * sysdeps/x86_64/mul_1.S: Likewise.
50741 * sysdeps/x86_64/rshift.S: Likewise.
50742 * sysdeps/x86_64/sub_n.S: Likewise.
50743 * sysdeps/x86_64/submul_1.S: Likewise.
50744
ece29840
ST
507452010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50746
0959ffc9
UD
50747 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50748 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50749 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50750 * bits/sched.h [__need_schedparam]
ece29840 50751 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50752 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50753 (__defined_schedparam): Define to 1.
ece29840
ST
50754 (__sched_param): New structure, identical to sched_param.
50755 (__need_schedparam): Undefine.
50756
e53a31fe
MF
507572010-08-31 Mike Frysinger <vapier@gentoo.org>
50758
fdc0c10d
MF
50759 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50760 (epoll_create1): Declare.
50761
e53a31fe
MF
50762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50763
a726d796
AS
507642010-08-31 Andreas Schwab <schwab@redhat.com>
50765
50766 [BZ #7066]
50767 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50768 shifting retval into place.
50769
2f3e3dc7
UD
507702010-09-01 Ulrich Drepper <drepper@redhat.com>
50771
f2933da9
UD
50772 * nis/rpcsvc/nis.h: Update copyright notice.
50773 * nis/rpcsvc/nis.x: Likewise.
50774 * nis/rpcsvc/nis_callback.h: Likewise.
50775 * nis/rpcsvc/nis_callback.x: Likewise.
50776 * nis/rpcsvc/nis_object.x: Likewise.
50777 * nis/rpcsvc/nis_tags.h: Likewise.
50778 * nis/rpcsvc/yp.h: Likewise.
50779 * nis/rpcsvc/yp.x: Likewise.
50780 * nis/rpcsvc/ypupd.h: Likewise.
50781 * nis/yp_xdr.c: Likewise.
50782 * nis/ypupdate_xdr.c: Likewise.
50783
2f3e3dc7
UD
50784 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50785 mainly the body of pmap_getport. Add parameters to specify timeouts.
50786 (pmap_getport): Use __libc_rpc_getport.
50787 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50788 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50789 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50790
f3dcc2f9
AS
507912010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50792
50793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50794 fanotify_mark.
50795
6d34eb5b
RM
507962010-08-27 Roland McGrath <roland@redhat.com>
50797
50798 * sysdeps/i386/i686/multiarch/Makefile
50799 (CFLAGS-varshift.c): New variable.
50800
9ea3de11
UD
508012010-08-27 Ulrich Drepper <drepper@redhat.com>
50802
c96d23fc
UD
50803 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50804 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50805
9ea3de11
UD
50806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50807
50808 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50809
623aac7f
L
508102010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50811
50812 * sysdeps/x86_64/strlen.S: Unroll the loop.
50813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50814 strlen-sse2 strlen-sse2-bsf.
50815 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50816 __strlen_no_bsf if bit_Slow_BSF is set.
50817 (__strlen_sse42): Removed.
50818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50819 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50820
8b2b7715
RM
508212010-08-25 Roland McGrath <roland@redhat.com>
50822
50823 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50824 * sysdeps/x86_64/multiarch/varshift.c: New file.
50825 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50826 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50827 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50828 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50829
e73015f2
L
508302010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50831
50832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50833 strlen-sse2 strlen-sse2-bsf.
50834 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50835 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50836 (__strlen_sse2): Removed.
50837 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50840 bit_Slow_BSF for Atom.
50841 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50842 (index_Slow_BSF): Define.
50843 (HAS_SLOW_BSF): Define.
50844
df24a73e
UD
508452010-08-25 Ulrich Drepper <drepper@redhat.com>
50846
50847 [BZ #10851]
50848 * resolv/res_init.c (__res_vinit): When no server address at all
50849 is given default to loopback.
50850
f2ac4868
RM
508512010-08-24 Roland McGrath <roland@redhat.com>
50852
09055553
RM
50853 * configure.in: Remove config-name.h generation.
50854 * configure: Regenerated.
50855 * config-name.in: File removed.
50856 * scripts/config-uname.sh: New file.
50857 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50858 ($(objdir)config-name.h): New target.
50859
f2ac4868
RM
50860 * sunrpc/rpc_parse.h: Avoid nested comment.
50861
73f27d5e
RH
508622010-08-24 Richard Henderson <rth@redhat.com>
50863 Ulrich Drepper <drepper@redhat.com>
50864 H.J. Lu <hongjiu.lu@intel.com>
50865
50866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50868 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50869 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50870 _mm_alignr_epi8 with _mm_loadu_si128.
50871 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50872 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50873 (__m128i_shift_right): Removed.
50874 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50875 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50876 * sysdeps/x86_64/multiarch/varshift.h: New file.
50877 * sysdeps/x86_64/multiarch/varshift.S: New file.
50878
84b9230c
MF
508792010-08-21 Mike Frysinger <vapier@gentoo.org>
50880
50881 * configure.in: Move assembler checks to before sysdep dir checking.
50882
9bbd0ddc
PB
508832010-08-20 Petr Baudis <pasky@suse.cz>
50884
50885 * LICENSES: Sync the sunrpc license.
50886
9da4bb31
UD
508872010-08-19 Ulrich Drepper <drepper@redhat.com>
50888
a7ab6ec8
UD
50889 * sunrpc/auth_des.c: Update copyright notice once again.
50890 * sunrpc/auth_none.c: Likewise.
50891 * sunrpc/auth_unix.c: Likewise.
50892 * sunrpc/authdes_prot.c: Likewise.
50893 * sunrpc/authuxprot.c: Likewise.
50894 * sunrpc/bindrsvprt.c: Likewise.
50895 * sunrpc/clnt_gen.c: Likewise.
50896 * sunrpc/clnt_perr.c: Likewise.
50897 * sunrpc/clnt_raw.c: Likewise.
50898 * sunrpc/clnt_simp.c: Likewise.
50899 * sunrpc/clnt_tcp.c: Likewise.
50900 * sunrpc/clnt_udp.c: Likewise.
50901 * sunrpc/clnt_unix.c: Likewise.
50902 * sunrpc/des_crypt.c: Likewise.
50903 * sunrpc/des_soft.c: Likewise.
50904 * sunrpc/get_myaddr.c: Likewise.
50905 * sunrpc/getrpcport.c: Likewise.
50906 * sunrpc/key_call.c: Likewise.
50907 * sunrpc/key_prot.c: Likewise.
50908 * sunrpc/openchild.c: Likewise.
50909 * sunrpc/pm_getmaps.c: Likewise.
50910 * sunrpc/pm_getport.c: Likewise.
50911 * sunrpc/pmap_clnt.c: Likewise.
50912 * sunrpc/pmap_prot.c: Likewise.
50913 * sunrpc/pmap_prot2.c: Likewise.
50914 * sunrpc/pmap_rmt.c: Likewise.
50915 * sunrpc/rpc/auth.h: Likewise.
50916 * sunrpc/rpc/auth_unix.h: Likewise.
50917 * sunrpc/rpc/clnt.h: Likewise.
50918 * sunrpc/rpc/des_crypt.h: Likewise.
50919 * sunrpc/rpc/key_prot.h: Likewise.
50920 * sunrpc/rpc/netdb.h: Likewise.
50921 * sunrpc/rpc/pmap_clnt.h: Likewise.
50922 * sunrpc/rpc/pmap_prot.h: Likewise.
50923 * sunrpc/rpc/pmap_rmt.h: Likewise.
50924 * sunrpc/rpc/rpc.h: Likewise.
50925 * sunrpc/rpc/rpc_des.h: Likewise.
50926 * sunrpc/rpc/rpc_msg.h: Likewise.
50927 * sunrpc/rpc/svc.h: Likewise.
50928 * sunrpc/rpc/svc_auth.h: Likewise.
50929 * sunrpc/rpc/types.h: Likewise.
50930 * sunrpc/rpc/xdr.h: Likewise.
50931 * sunrpc/rpc_clntout.c: Likewise.
50932 * sunrpc/rpc_cmsg.c: Likewise.
50933 * sunrpc/rpc_common.c: Likewise.
50934 * sunrpc/rpc_cout.c: Likewise.
50935 * sunrpc/rpc_dtable.c: Likewise.
50936 * sunrpc/rpc_hout.c: Likewise.
50937 * sunrpc/rpc_main.c: Likewise.
50938 * sunrpc/rpc_parse.c: Likewise.
50939 * sunrpc/rpc_parse.h: Likewise.
50940 * sunrpc/rpc_prot.c: Likewise.
50941 * sunrpc/rpc_sample.c: Likewise.
50942 * sunrpc/rpc_scan.c: Likewise.
50943 * sunrpc/rpc_scan.h: Likewise.
50944 * sunrpc/rpc_svcout.c: Likewise.
50945 * sunrpc/rpc_tblout.c: Likewise.
50946 * sunrpc/rpc_util.c: Likewise.
50947 * sunrpc/rpc_util.h: Likewise.
50948 * sunrpc/rpcinfo.c: Likewise.
50949 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50950 * sunrpc/rpcsvc/key_prot.x: Likewise.
50951 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50952 * sunrpc/rpcsvc/mount.x: Likewise.
50953 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50954 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50955 * sunrpc/rpcsvc/rex.x: Likewise.
50956 * sunrpc/rpcsvc/rstat.x: Likewise.
50957 * sunrpc/rpcsvc/rusers.x: Likewise.
50958 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50959 * sunrpc/rpcsvc/spray.x: Likewise.
50960 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50961 * sunrpc/rtime.c: Likewise.
50962 * sunrpc/svc.c: Likewise.
50963 * sunrpc/svc_auth.c: Likewise.
50964 * sunrpc/svc_authux.c: Likewise.
50965 * sunrpc/svc_raw.c: Likewise.
50966 * sunrpc/svc_run.c: Likewise.
50967 * sunrpc/svc_simple.c: Likewise.
50968 * sunrpc/svc_tcp.c: Likewise.
50969 * sunrpc/svc_udp.c: Likewise.
50970 * sunrpc/svc_unix.c: Likewise.
50971 * sunrpc/svcauth_des.c: Likewise.
50972 * sunrpc/xcrypt.c: Likewise.
50973 * sunrpc/xdr.c: Likewise.
50974 * sunrpc/xdr_array.c: Likewise.
50975 * sunrpc/xdr_float.c: Likewise.
50976 * sunrpc/xdr_mem.c: Likewise.
50977 * sunrpc/xdr_rec.c: Likewise.
50978 * sunrpc/xdr_ref.c: Likewise.
50979 * sunrpc/xdr_sizeof.c: Likewise.
50980 * sunrpc/xdr_stdio.c: Likewise.
50981
9da4bb31
UD
50982 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50983 handling.
50984
bdaa77bc
AS
509852010-08-19 Andreas Schwab <schwab@redhat.com>
50986
50987 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50988
fe2f79db
LM
509892010-08-19 Luis Machado <luisgpm@br.ibm.com>
50990
50991 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50992 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50993 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50994 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50995 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50996 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50997 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50998 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50999 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51000 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51001 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51002 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51003 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51004 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51005
b9b42ee0
AB
510062010-07-26 Anton Blanchard <anton@samba.org>
51007
51008 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51009 * malloc/arena.c (heap_trim): Likewise.
51010
1c06ba31
UD
510112010-08-16 Ulrich Drepper <drepper@redhat.com>
51012
51013 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51014 here. Not...
51015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51016 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51017
f8392f40
L
510182010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51019
51020 * sysdeps/i386/elf/Makefile: New file.
51021
3162f12e
AS
510222010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51023
51024 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51025 from fanotify_init.
51026 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51028
28c90b2c
UD
510292010-08-15 Ulrich Drepper <drepper@redhat.com>
51030
51031 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51032 of strncasecmp_l.
1feccb6c 51033 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51034
ca6bb004
UD
510352010-08-14 Ulrich Drepper <drepper@redhat.com>
51036
e9f82e0d
UD
51037 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51038 strncase_l-nonascii.
51039 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51040 Add strncase_l-ssse3.
51041 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51042 * sysdeps/x86_64/strcmp.S: Likewise.
51043 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51044 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51045 * sysdeps/x86_64/strncase.S: New file.
51046 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51047 * sysdeps/x86_64/strncase_l.S: New file.
51048 * string/Makefile (strop-tests): Add strncasecmp.
51049 * string/test-strncasecmp.c: New file.
51050
51051 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51052 warning.
51053
ca6bb004
UD
51054 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51055 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51056
052fa7b3
AS
510572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51058
51059 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51060
962dba78
UD
510612010-08-12 Ulrich Drepper <drepper@redhat.com>
51062
51063 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51064 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51065 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51066
bebff237
AM
510672010-05-01 Alan Modra <amodra@gmail.com>
51068
51069 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51070 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51071 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51072 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51073 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51074 tidying. Don't tail-call __sigjmp_save for static lib.
51075 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51076 save location.
51077 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51078 (CALL_MCOUNT): Add eh info, and nop after bl.
51079 (TAIL_CALL_SYSCALL_ERROR): New macro.
51080 (PSEUDO_RET): Use it.
51081 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51082 Correct save location of integer regs and cr.
51083 (_dl_profile_resolve): Correct cr save location. Delete nops
51084 after bl when SHARED. Reduce cfi size a little by better
51085 placement of cfi directives.
51086 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51087 make a stack frame. Instead use parm save area as a temp.
51088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51089 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51091 Don't make a stack frame for parent, use parm save area.
51092 Increase child stack frame to 112 bytes. Don't save unused reg,
51093 and adjust reg usage. Set up cfi on error recovery and
51094 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51096 (__makecontext): Add dummy nop after jump to exit.
51097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51098 Use correct parm save area and cr save, reduce stack frame.
51099 Correct cfi for possible PSEUDO_RET frame setup.
51100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51101 Branch to local label emitted by PSEUDO_RET rather than
51102 __syscall_error.
51103
02637374
AS
511042010-08-12 Andreas Schwab <schwab@redhat.com>
51105
51106 [BZ #11904]
51107 * locale/programs/locale.c (print_assignment): New function.
51108 (show_locale_vars): Use it.
51109
c3e2f19b
UD
511102010-08-11 Ulrich Drepper <drepper@redhat.com>
51111
3cdaa6ad
UD
51112 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51113 field.
51114 (struct statfs64): Likewise.
51115 (_STATFS_F_FLAGS): Define.
51116 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51117 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51118 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51119 (ST_VALID): Define locally.
51120 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51121 __statvfs_getflags, use the provided value.
51122 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51123 __ASSUME_STATFS_F_FLAGS.
51124
754f7da3
UD
51125 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51126
10b3bedc
UD
51127 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51128 Add sys/fanotify.h.
51129 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51130 fanotify_mask for GLIBC_2.13.
51131 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51132 fanotify_init and fanotify_mark.
51133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51134 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51135
c08fb0d7
UD
51136 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51137 Add prlimit.
51138 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51139 prlimit64 for GLIBC_2.13.
51140 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51141 prlimit64.
51142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51143 syscall.
51144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51145 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51146 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51147 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51149 add prlimit alias.
51150 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51151
15bac72b
UD
51152 [BZ #11903]
51153 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51154 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51155
c3e2f19b
UD
51156 * nss/Makefile: Add rules to build and run tst-nss-test1.
51157 * shlib-versions: Add entry for libnss_test1.
51158 * nss/nss_test1.c: New file.
51159 * nss/tst-nss-test1.c: New file.
51160
51161 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51162 (__nss_configure_lookup): Set appropriate entry in
51163 __nss_configure_lookup to true.
51164 * nss/nsswitch.h: Define enum with indeces of databases in
51165 databases and __nss_database_custom arrays. Declare
51166 __nss_database_custom.
51167 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51168 to avoid using nscd when custom rules are installed.
51169 * nss/getXXbyYY_r.c: Likewise.
51170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51171
51172 * nss/nss_files/files-parse.c: Whitespace fixes.
51173
f15ce4d8
UD
511742010-08-09 Ulrich Drepper <drepper@redhat.com>
51175
51176 [BZ #11883]
51177 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51178 * posix/fnmatch_loop.c: Likewise.
51179
d22e4cc9
AK
511802010-07-17 Andi Kleen <ak@linux.intel.com>
51181
51182 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51183 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51184 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51185 * Versions.def [GLIBC_2.13]: Add.
51186
805bc17d
UD
511872010-08-06 Ulrich Drepper <drepper@redhat.com>
51188
51189 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51190 Also fail if tpwd after pwuid call is NULL.
51191
5a42321d
ST
511922010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51193
51194 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51195 when converting to ms.
51196
fd3ebeda
ST
511972010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51198
51199 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51200 EOPNOTSUPP errors with ENOTTY.
51201 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51202 EOPNOTSUPP errors with ENOTTY.
51203
73507d3a
UD
512042010-07-31 Ulrich Drepper <drepper@redhat.com>
51205
51206 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51207 Add strcasecmp_l-ssse3.
51208 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51209 strcasecmp.
51210 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51211 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51212 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51213
fe36dd02
UD
512142010-07-30 Ulrich Drepper <drepper@redhat.com>
51215
66f6765a
UD
51216 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51217
42e08a54
UD
51218 * string/Makefile (strop-tests): Add strcasecmp.
51219 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51220 strcasecmp_l-nonascii.
51221 (gen-as-const-headers): Add locale-defines.sym.
51222 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51223 * sysdeps/x86_64/strcasecmp.S: New file.
51224 * sysdeps/x86_64/strcasecmp_l.S: New file.
51225 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51226 * sysdeps/x86_64/locale-defines.sym: New file.
51227 * string/test-strcasecmp.c: New file.
51228
fe36dd02
UD
51229 * string/test-strcasestr.c: Test both ends of the range of characters.
51230 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51231
48cbc0d6
RM
512322010-07-29 Roland McGrath <roland@redhat.com>
51233
76e6d6bc 51234 [BZ #11856]
48cbc0d6
RM
51235 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51236
880113d9
UD
512372010-07-27 Ulrich Drepper <drepper@redhat.com>
51238
51239 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51240 for ld.so.
51241
deb9cabb
AS
512422010-07-27 Andreas Schwab <schwab@redhat.com>
51243
51244 * manual/memory.texi (Malloc Tunable Parameters): Document
51245 M_PERTURB.
51246
1c7570ff
RM
512472010-07-26 Roland McGrath <roland@redhat.com>
51248
51249 [BZ #11840]
51250 * configure.in (-fgnu89-inline check): Set and substitute
51251 gnu89_inline, not libc_cv_gnu89_inline.
51252 * configure: Regenerated.
51253 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51254
24fb0f88
UD
512552010-07-26 Ulrich Drepper <drepper@redhat.com>
51256
51257 * string/test-strnlen.c: New file.
51258 * string/Makefile (strop-tests): Add strnlen.
51259 * string/tester.c (test_strnlen): Add a few more test cases.
51260 * string/tst-strlen.c: Better error reporting.
51261
51262 * sysdeps/x86_64/strnlen.S: New file.
51263
8e96b93a
UD
512642010-07-24 Ulrich Drepper <drepper@redhat.com>
51265
51266 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51267 lower-latency instructions.
51268
dbc676d4
UD
512692010-07-23 Ulrich Drepper <drepper@redhat.com>
51270
51271 * string/test-strcasestr.c: New file.
51272 * string/test-strstr.c: New file.
51273 * string/Makefile (strop-tests): Add strstr and strcasestr.
51274 * string/str-two-way.h: Don't undefine MAX.
51275 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51276
f6a31e0e
AS
512772010-07-21 Andreas Schwab <schwab@redhat.com>
51278
51279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51280 strcasestr-nonascii.
51281 (CFLAGS-strcasestr-nonascii.c): Define.
51282 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51283 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51284 Remove unused attribute.
51285
5dbc3b6c
RM
512862010-07-20 Roland McGrath <roland@redhat.com>
51287
51288 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51289 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51290 ld.so.cache was broken. With it, there is no way to disable dsocaps
51291 like LD_HWCAP_MASK can disable hwcaps.
51292
23d101d8
EPM
512932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51294
51295 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51296
cc9f2e47
UD
512972010-07-16 Ulrich Drepper <drepper@redhat.com>
51298
51299 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51300 call in strcasestr.
51301 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51302 __strcasestr_sse42_nonascii.
51303 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51304 strcasestr-nonascii.c.
51305 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51306
77c1b069
LM
513072010-06-15 Luis Machado <luisgpm@br.ibm.com>
51308
51309 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51310 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51311 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51312 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51313
440566c3
UD
513142010-07-09 Ulrich Drepper <drepper@redhat.com>
51315
51316 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51317 fcntl.
51318
5be9d05d
AS
513192010-07-06 Andreas Schwab <schwab@redhat.com>
51320
c30b7ee2 51321 [BZ #11577]
5be9d05d
AS
51322 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51323 dl_signal_cerror.
51324
8a492a67
UD
513252010-07-06 Ulrich Drepper <drepper@redhat.com>
51326
51327 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51328 _PC_PIPE_BUF using F_GETPIPE_SZ.
51329
713df3d5
RM
513302010-07-05 Roland McGrath <roland@redhat.com>
51331
51332 * manual/arith.texi (Rounding Functions): Fix rint description
51333 implicit in round description.
51334
702e8f14
UD
513352010-07-02 Ulrich Drepper <drepper@redhat.com>
51336
51337 * elf/Makefile: Fix linking for a few tests to make recent linker
51338 happy.
51339
52ed8be9
AS
513402010-06-30 Andreas Schwab <schwab@redhat.com>
51341
51342 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51343 $(common-objpfx)libc_nonshared.a.
51344
f47c9a11
LM
513452010-06-21 Luis Machado <luisgpm@br.ibm.com>
51346
51347 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51348 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51349 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51350 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51351 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51352 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51353 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51354 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51369 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51370 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51371 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51372 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51373 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51374 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51375 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51376 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51377 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51378 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51379 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51380 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51395
6fb8cbcb
L
513962010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51397
51398 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51399 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51400 * string/memmove.c (memmove): Renamed to ...
51401 (MEMMOVE): ...this. Default to memmove.
51402 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51403 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51404 (END_CHK): Define.
51405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51406 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51407 mempcpy-ssse3-back memmove-ssse3-back.
51408 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51409 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51411 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51412 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51413 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51414 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51415 * sysdeps/x86_64/multiarch/memmove.c: New file.
51416 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51417 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51418 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51419 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51420 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51422 Define.
51423 (index_Fast_Copy_Backward): Define.
51424 (HAS_ARCH_FEATURE): Define.
51425 (HAS_FAST_REP_STRING): Define.
51426 (HAS_FAST_COPY_BACKWARD): Define.
51427
4e733bac 514282010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51429
51430 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51431 Restore proper fallback handling.
51432
63c4ed22
UD
514332010-06-19 Ulrich Drepper <drepper@redhat.com>
51434
ac2b484c
UD
51435 [BZ #11701]
51436 * posix/group_member.c (__group_member): Correct checking loop.
51437
63c4ed22
UD
51438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51439 OOM in getpwuid_r correctly. Return error number when the caller
51440 should return, otherwise -1.
51441 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51442 call returning > 0 value.
51443 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51444
765ade4b
AS
514452010-06-07 Andreas Schwab <schwab@redhat.com>
51446
51447 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51448 libc_nonshared.a from targets in modules-names.
51449
80da2e09
KS
514502010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51451
51452 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51453 requires it.
51454
158db122
LM
514552010-06-10 Luis Machado <luisgpm@br.ibm.com>
51456
51457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51458 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51460 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51461
caa78cf8
AS
514622010-06-02 Andreas Schwab <schwab@redhat.com>
51463
51464 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51465
b2ef2c01
UD
514662010-06-14 Ulrich Drepper <drepper@redhat.com>
51467
51468 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51469 and F_GETPIPE_SZ.
51470 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51471 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51472 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51474 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51475 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51476
fbd643b6
RM
514772010-06-14 Roland McGrath <roland@redhat.com>
51478
51479 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51480
f32f2869
JJ
514812010-06-07 Jakub Jelinek <jakub@redhat.com>
51482
51483 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51484 __REDIRECT followed by __THROW.
51485 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51486 * posix/getopt.h (getopt): Likewise.
51487
2a50c078
EPM
514882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51489
51490 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51491 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51492 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51493 in AT_FLAGS.
51494 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51495 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51496
eb5ad2eb
LM
514972010-05-28 Luis Machado <luisgpm@br.ibm.com>
51498
51499 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51500
3c88fe1e
L
515012010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51502
51503 [BZ #11640]
51504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51505 Properly check family and model.
51506
d2f73151
TY
515072010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51508
51509 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51510
ebd2e13d
LM
515112010-05-24 Luis Machado <luisgpm@br.ibm.com>
51512
51513 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51514
b32b8b45
UD
515152010-05-21 Ulrich Drepper <drepper@redhat.com>
51516
51517 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51518 symbol reference.
51519
9acbe24d
AS
515202010-05-19 Andreas Schwab <schwab@redhat.com>
51521
51522 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51523 symbol reference.
51524
f0ccf6ea
AS
515252010-05-21 Andreas Schwab <schwab@redhat.com>
51526
3d04ff3a
AS
51527 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51528 and internal_recvmmsg.
51529 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51530 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51531 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51532 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51533
f0ccf6ea
AS
51534 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51535 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51536 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51537
5b08ac57
AS
515382010-05-20 Andreas Schwab <schwab@redhat.com>
51539
51540 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51541
4828935d
LM
515422010-05-17 Luis Machado <luisgpm@br.ibm.com>
51543
51544 POWER7 optimizations.
51545 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51546 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51547
373d545e
UD
515482010-05-19 Ulrich Drepper <drepper@redhat.com>
51549
51550 * version.h: Update for 2.13 development version.
51551
21a2b1ae
AS
515522010-05-12 Andrew Stubbs <ams@codesourcery.com>
51553
51554 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51555 exceptions. Return 0.
51556
3f7dcb2b
RM
515572010-05-07 Roland McGrath <roland@redhat.com>
51558
51559 * elf/ldconfig.c (main): Add a const.
51560
5f24d53a 515612010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51562
a160f8d8
UD
51563 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51564 (args_options): Add no-idn option.
51565 (ahosts_keys_int): Add idn_flags to ai_flags.
51566 (parse_option): Handle 'i' option to clear idn_flags.
51567
5f24d53a
UD
51568 * malloc/malloc.c (_int_free): Possible race in the most recently
51569 added check. Only act on the data if no current modification
51570 happened.
265bb1ce
UD
51571
51572See ChangeLog.17 for earlier changes.