]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
powerpc: Fix encoding of POWER8 instruction
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5e4df284
AZ
12014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4 mtvsrd instruction in binary form.
5
04b76b5a
AS
62014-11-03 Andreas Schwab <schwab@suse.de>
7
8 [BZ #17522]
9 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10 for less than MB_LEN_MAX use a local buffer of that size.
11 * libio/tst-fputws.c: New file.
12 * libio/Makefile (tests): Add tst-fputws.
13
4c6da7da
JM
142014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
15
16 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17 the size of the fpu_fr.fpu_dregs[] array.
18
1679ba8e
JM
192014-11-01 Joseph Myers <joseph@codesourcery.com>
20
21 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22 (__nanosleep): Do not define as alias.
23 (nanosleep): Define as alias of __nanosleep.
24 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25 __libc_nanosleep name.
26
2626c183
JM
272014-10-31 Joseph Myers <joseph@codesourcery.com>
28
29 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30 install.texi in comment.
31
7f981fc2
TR
322014-10-31 Torvald Riegel <triegel@redhat.com>
33
34 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
35 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36 ... add here and use lwsync or sync ...
37 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38 ... and add here using lwsync.
39
d6f373d2
MF
402014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
41
42 * elf/dl-machine-reject-phdr.h: New file.
43 * elf/dl-load.c: #include that.
44 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45 if that returned true.
46
67c37987
RM
472014-10-31 Roland McGrath <roland@hack.frob.com>
48
49 [BZ #17496]
50 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
51 gen-as-const-headers chunk. Add a big scare comment after the last
52 safe place to touch before-compile.
53
94a42455 542014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 55
f3f5d895
JM
56 * manual/install.texi (Tools for Compilation): Update autoconf
57 version requirements.
58 * INSTALL: Regenerated.
59
f62ff286
JM
60 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
61 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
62 (__libc_pselect): Likewise.
94a42455
JM
63
64 [BZ #14138]
65 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
66 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
69
ff9dbdc0
TR
702014-10-31 Torvald Riegel <triegel@redhat.com>
71
72 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
73 correct barrier instruction.
74 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
75 Likewise.
76 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
77 Likewise.
78
b4f66884
RM
792014-10-30 Roland McGrath <roland@hack.frob.com>
80
81 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
82 after defining inlines. Instead, just use parens to defeat macro
83 expansion of __isctype in its declaration.
84
e19c95fd
JM
852014-10-30 Joseph Myers <joseph@codesourcery.com>
86
87 * include/sys/uio.h (__libc_readv): Remove declaration.
88 (__libc_writev): Likewise.
89 * misc/readv.c (__libc_readv): Rename to __readv.
90 (__readv): Do not define as alias.
91 (readv): Define as alias of __readv.
92 * misc/writev.c (__libc_writev): Rename to __writev.
93 (__writev): Do not define as alias.
94 (writev): Define as alias of __writev.
95 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
96 (__readv): Do not define as alias.
97 (readv): Define unconditionally as alias of __readv.
98 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
99 (__writev): Do not define as alias.
100 (writev): Define unconditionally as alias of __writev.
101 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
102 name.
103 (writev): Do not define __libc_writev name.
104
65b00b6c
RM
1052014-10-30 Roland McGrath <roland@hack.frob.com>
106
107 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
108 (convert_charseq): New function, broken out of ...
109 (use_from_charmap): ... here. Call it.
110 (use_to_charmap): Use convert_charseq and free instead of duplicating
111 its code with a variable-length stack struct.
112
d4e157aa
JM
1132014-10-30 Joseph Myers <joseph@codesourcery.com>
114
115 * include/fcntl.h (__libc_creat): Remove declaration.
116 * io/creat.c (__libc_creat): Rename to creat.
117 (creat): Do not define as alias.
118 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
119 of creat instead of __libc_creat.
120 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
121 to creat.
122 (creat): Do not define as alias.
123 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
124 __libc_creat.
125 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
126 __libc_creat name.
127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
128 Likewise.
129
0c6891a0
CD
1302014-10-29 Carlos O'Donell <carlos@redhat.com>
131
132 * manual/llio.texi: Add comments discussing why write() may be
133 considered MT-unsafe on Linux.
134
cc00cece
CD
1352014-10-28 Carlos O'Donell <carlos@redhat.com>
136
137 * dl-load.c (local_strdup): Remove.
138 (expand_dynamic_string_token): Use __strdup.
139 (decompose_rpath): Likewise.
140 (_dl_map_object): Likewise.
141
51e623f2
JM
1422014-10-28 Joseph Myers <joseph@codesourcery.com>
143
144 [BZ #14132]
145 * sysdeps/generic/unwind-dw2-fde.c
146 (__register_frame_info_bases_internal): Do not declare.
147 (__register_frame_info_table_bases_internal): Likewise.
148 (__deregister_frame_info_bases_internal): Likewise.
149 (__register_frame_info_bases): Declare and use hidden_proto before
150 definition. Use hidden_def instead of INTDEF.
151 (__register_frame_info_table_bases): Likewise.
152 (__deregister_frame_info_bases): Likewise.
153 (__register_frame_info): Do not use INTUSE.
154 (__register_frame): Likewise.
155 (__register_frame_info_table): Likewise.
156 (__register_frame_table): Likewise.
157 (__deregister_frame_info): Likewise.
158 (__deregister_frame): Likewise.
159
03d41216
GC
1602014-10-27 Gratian Crisan <gratian.crisan@ni.com>
161
162 * sysdeps/unix/sysv/linux/arm/kernel-features.h
163 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
164 not undefine.
165 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
166 Likewise.
167 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
168 Likewise.
169
a4b3624d
JM
1702014-10-27 Joseph Myers <joseph@codesourcery.com>
171
172 [BZ #14138]
173 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
174 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
175 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
176 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
177 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
178 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
179 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
180 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
181 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
182 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
183 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
184 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
185 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
186 syscall.
187 (setfsuid): Likewise.
188 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
189 (setfsuid): Likewise.
190 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
191 (setfsuid): Likewise.
192 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
193 Likewise.
194 (setfsuid): Likewise.
195 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
196 (setfsuid): Likewise.
197 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
198 Likewise.
199 (setfsuid): Likewise.
200
3574f2fd
AS
2012014-10-27 Andreas Schwab <schwab@suse.de>
202
203 [BZ #17501]
204 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
205 check for Slow_SSE4_2 feature bit.
206 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
207 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
208 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
209 Likewise. Fix check for Fast_Unaligned_Load feature bit.
210
70996a37
RM
2112014-10-24 Roland McGrath <roland@hack.frob.com>
212
461a7b1e
RM
213 * configure.ac: Validate compiler version with a empirical test of
214 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
215 $CC -v output.
216 * configure: Regenerated.
217
70996a37
RM
218 * inet/htons.c (htons): Prototypify.
219 * inet/htonl.c (htonl): Likewise.
220
e80514b5
WD
2212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
222
223 * string/strncat.c (strncat): Improve performance by using strlen.
224
6e46de42
WD
2252014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
226
227 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
228
6a9ad2fa
WD
2292014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
230
231 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
232 Call libc_fetestexcept_aarch64.
233
1c8810ed
WD
2342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
235
236 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
237 Call libc_feholdexcept_aarch64.
238
8b1af712
WD
2392014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
240
241 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
242 Call get_rounding_mode.
243
a7b00c11
WD
2442014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
245
246 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
247 Simplify logic.
248
3a84f1a6
WD
2492014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
250
251 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
252 Simplify logic.
253
48eb7a94
JM
2542014-10-24 Joseph Myers <joseph@codesourcery.com>
255
c8bc4038
JM
256 [BZ #14138]
257 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
258 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
259 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
260 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
261 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
262 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
263 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
264 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
265 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
266 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
267 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
268 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
269 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
270 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
271 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
272 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
273 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
274 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
275 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
276 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
277 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
278 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
279 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
280 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
281 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
282 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
283 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
284 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
285 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
286 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
287 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
288 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
289 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
290 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
291 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
292 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
293 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
294 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
295 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
297 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
298 syscall.
299 (geteuid): Likewise.
300 (getgid): Likewise.
301 (getuid): Likewise.
302 (getresgid): Likewise.
303 (getresuid): Likewise.
304 (getgroups): Likewise.
305 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
306 (geteuid): Likewise.
307 (getgid): Likewise.
308 (getuid): Likewise.
309 (getresgid): Likewise.
310 (getresuid): Likewise.
311 (getgroups): Likewise.
312 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
313 (geteuid): Likewise.
314 (getgid): Likewise.
315 (getuid): Likewise.
316 (getresgid): Likewise.
317 (getresuid): Likewise.
318 (getgroups): Likewise.
319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
320 Likewise.
321 (geteuid): Likewise.
322 (getgid): Likewise.
323 (getuid): Likewise.
324 (getresgid): Likewise.
325 (getresuid): Likewise.
326 (getgroups): Likewise.
327 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
328 (geteuid): Likewise.
329 (getgid): Likewise.
330 (getuid): Likewise.
331 (getresgid): Likewise.
332 (getresuid): Likewise.
333 (getgroups): Likewise.
334 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
335 Likewise.
336 (geteuid): Likewise.
337 (getgid): Likewise.
338 (getuid): Likewise.
339 (getgroups): Likewise.
340
48eb7a94
JM
341 [BZ #14138]
342 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
343 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
344 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
346 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
347 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
348 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
349 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
350 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
351 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
352 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
353 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
354 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
355 __chown.
356 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
357 (lchown): Likewise.
358 (fchown): Likewise.
359 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
360 Likewise.
361 (lchown): Likewise.
362 (fchown): Likewise.
363 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
364 (lchown): Likewise.
365 (fchown): Likewise.
366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
367 Likewise.
368 (lchown): Likewise.
369 (fchown): Likewise.
370
ea9a7c8b
WD
3712014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
372
373 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
374 Simplify logic.
375
e226de33
WD
3762014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
377
378 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
379 Cleanup logic.
380
6e3d8ed3
WD
3812014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
382
383 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
384 Remove unused include.
385
eb04247d
WD
3862014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
387
388 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
389 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
390 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
391 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
392
13d84554
CD
3932014-10-23 Carlos O'Donell <carlos@systemhalted.org>
394 Helge Deller <deller@gmx.de>
395
396 [BZ #17508]
397 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
398 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
399 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
400
15f9c5df
JM
4012014-10-23 Joseph Myers <joseph@codesourcery.com>
402
403 [BZ #14132]
404 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
405 Remove macro definition.
406 (__ashrdi3_v_glibc20): Likewise.
407 (__lshrdi3_v_glibc20): Likewise.
408 (__cmpdi2_v_glibc20): Likewise.
409 (__ucmpdi2_v_glibc20): Likewise.
410 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
411 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
412 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
413 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
414 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
415 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
416
c6dfed24
RM
4172014-10-22 Roland McGrath <roland@hack.frob.com>
418
419 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
420 old GNU extension [0] syntax.
421 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
422 alloca rather than an array member with variable length.
423 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
424 * nscd/nscd.c (invalidate_db): New function, broken out of ...
425 (parse_opt): ... here. Likewise use alloca there.
426 Validate the -i argument before checking for rootness.
427 (send_shutdown): New function, broken out of ...
428 (parse_opt): ... here.
429
8c2b1ed8
RM
4302014-10-22 Roland McGrath <roland@hack.frob.com>
431
432 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
433 macro to get at the _rt_local_ro field.
434 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
435 ([PIC] case) or _dl_hwcap ([!PIC] case).
436 * sysdeps/arm/setjmp.S: Likewise.
437
438 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
439 * sysdeps/arm/configure.ac: New check to define it.
440 * sysdeps/arm/configure: Regenerated.
441 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
442 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
443 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
444 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
445 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
446 Use move/movt pair instead of a load.
447 (LDST_GLOBAL): Macro removed.
448 (LDR_GLOBAL): New macro replaces it.
449 (LDR_HIDDEN): New macro.
450 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
451 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
452
453 * setjmp/tst-setjmp-static.c: New file.
454 * setjmp/Makefile (tests): Add it.
455 (tests-static): New variable.
456
b5af9297
MR
4572014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
458
459 [BZ #17485]
460 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
461
a13d0d74
JM
4622014-10-21 Joseph Myers <joseph@codesourcery.com>
463
464 [BZ #14132]
465 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
466
f05e73f6
RM
4672014-10-21 Roland McGrath <roland@hack.frob.com>
468
469 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
470
6ab1d1ea
RM
4712014-10-20 Roland McGrath <roland@hack.frob.com>
472
473 * io/fts.c (dirent_not_directory): New function.
474 (fts_build): Call it.
475
ab49e763
RM
4762014-10-20 Roland McGrath <roland@hack.frob.com>
477
e436eb79
RM
478 * nptl/version.c (__nptl_main): Use normal __write rather than
479 INTERNAL_SYSCALL.
480 (banner): Update copyright years.
481
6af246cf
RM
482 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
483 gettimeofday.
484 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
485 * nptl/pthread_cond_timedwait.c: Likewise.
486 * nptl/pthread_mutex_timedlock.c: Likewise.
487 * nptl/sem_timedwait.c: Likewise.
488
ab49e763
RM
489 * sysdeps/nptl/bits/libc-lock.h
490 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
491 (__libc_lock_init_recursive): Return void, not 0.
492 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
493 (__libc_rwlock_init): Likewise.
494 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
495
f50277c1
TR
4962014-10-20 Torvald Riegel <triegel@redhat.com>
497
498 [BZ #15215]
499 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
500 (__pthread_once_slow): ... here.
501 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
502 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
503
63668b70
TR
5042014-10-20 Torvald Riegel <triegel@redhat.com>
505
506 [BZ #15215]
507 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
508 __PTHREAD_ONCE_FORK_GEN_INCR): New.
509 * sysdeps/nptl/fork.c (__libc_fork): Use them.
510 * nptl/pthread_once.c (__pthread_once): Likewise.
511 Update comments.
512
42b7f5d4
JM
5132014-10-20 Joseph Myers <joseph@codesourcery.com>
514
515 [BZ #14138]
516 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
517 name.
518 (writev): Use __libc_writev as strong name.
519 * sysdeps/unix/sysv/linux/readv.c: Remove file.
520 * sysdeps/unix/sysv/linux/writev.c: Likewise.
521
b0643088
RM
5222014-10-17 Roland McGrath <roland@hack.frob.com>
523
114c4e09
RM
524 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
525
674b8978
RM
526 * sysdeps/i386/nptl/tls.h
527 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
528 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
529 New macros.
530 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
531 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
532 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
533 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
534 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
535 Call CHECK_THREAD_SYSINFO instead of doing an assert.
536
184ee940
RM
537 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
538 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
539 on [__NR_futex].
540 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
541 broken out of ...
542 (__pthread_mutex_init): ... here. Call it.
543 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
544 Conditionalize PI cases on [__NR_futex].
545 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
546 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
547 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
548
327ae257
RM
549 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
550 conditional on [SIGSETXID].
551 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
552 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
553 is defined. Likewise for SIGSETXID.
554 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
555 Conditionalize definitions on [SIGSETXID].
556 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
557 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
558 unblocking on [SIGCANCEL].
559
b0643088
RM
560 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
561 [__NR_set_robust_list].
562
33cc770b
SP
5632014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
564
565 * string/strcoll_l.c (get_next_seq): Fix up formatting.
566 (do_compare): Likewise.
567
0742aef6
LH
5682014-10-17 Leonhard Holz <leonhard.holz@web.de>
569
570 [BZ #15884]
571 * string/strcoll_l.c: Don't include stdio.h.
572 (coll_seq): Remove members idxarr and rulearr.
573 (get_next_seq_cached): Remove function.
574 (get_next_seq): Likewise.
575 (get_next_seq_nocache): Rename to get_next_seq.
576 (do_compare): Remove function.
577 (do_compare_nocache): Rename to do_compare.
578 (STRCOLL): Remove weight and rules cache.
579
ee54ce44
RM
5802014-10-16 Roland McGrath <roland@hack.frob.com>
581
582 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
583 * sysdeps/arm/sfp-machine.h: ... to here.
584 * sysdeps/arm/Implies: Remove arm/soft-fp.
585
a75d3b02
JM
5862014-10-14 Joseph Myers <joseph@codesourcery.com>
587
588 * conform/data/sys/utsname.h-data (*_t): Allow.
589 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
590 [POSIX] (WEXITED): Do not expect constant.
591 [POSIX] (WSTOPPED): Likewise.
592 [POSIX] (WNOHANG): Likewise.
593 [POSIX] (WNOWAIT): Likewise.
594 [POSIX] (siginfo_t): Do not expect type or elements.
595 [POSIX] (pid_t): Do not expect type.
596 [POSIX] (signal.h): Do not allow header.
597 [POSIX] (sys/resource.h): Likewise.
598 [POSIX] (si_*): Do not allow pattern.
599 [POSIX] (W*): Likewise.
600 [POSIX] (P_*): Likewise.
601 [POSIX] (BUS_*): Likewise.
602 [POSIX] (CLD_*): Likewise.
603 [POSIX] (FPE_*): Likewise.
604 [POSIX] (ILL_*): Likewise.
605 [POSIX] (POLL_*): Likewise.
606 [POSIX] (SEGV_*): Likewise.
607 [POSIX] (SI_*): Likewise.
608 [POSIX] (TRAP_*): Likewise.
609 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
610 variable.
611
fda389c8
SP
6122014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
613
614 [BZ #12926]
615 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
616 infinite loop when __recvmsg returns 0.
617
6bc6bd3b
JM
6182014-10-10 Joseph Myers <joseph@codesourcery.com>
619
fcb32af1
JM
620 * CANCEL-FCT-WAIVE: Remove file.
621 * CANCEL-FILE-WAIVE: Likewise.
622
6bc6bd3b
JM
623 [BZ #14132]
624 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
625 instead of INTVARDEF.
626 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
627 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
628 rtld_hidden_data_def instead of INTVARDEF.
629 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
630 * elf/dl-deps.c (expand_dst): Likewise.
631 * elf/dl-load.c (_dl_dst_count): Likewise.
632 (_dl_dst_substitute): Likewise.
633 (decompose_rpath): Likewise.
634 (_dl_init_paths): Likewise.
635 (open_path): Likewise.
636 (_dl_map_object): Likewise.
637 * elf/rtld.c (dl_main): Likewise.
638 (process_dl_audit): Likewise.
639 (process_envvars): Likewise.
640 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
641 Remove declaration.
642 (__libc_enable_secure): Use rtld_hidden_proto.
643
b8c80a7e
KS
6442014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
645
646 * elf/dl-load.c
647 (add_path): New function broken out of _dl_rtld_di_serinfo.
648 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
649
ff12c11f
JM
6502014-10-09 Joseph Myers <joseph@codesourcery.com>
651
5c0508a3
JM
652 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
653 parentheses around macro arguments.
654 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
655 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
656 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
657 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
660 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
664 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
665 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
666 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
667 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
668 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
669 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
670 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
672 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
673 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
674 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
675 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
677 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
678 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
679 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
680 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
681 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
682 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
683 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
684 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
685 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
686 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
687 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
688 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
689 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
690 Likewise.
691 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
692 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
693 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
694 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
695 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
696 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
697 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
698 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
699 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
700 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
701 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
702 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
703 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
704 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
705 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
706 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
707 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
708 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
709 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
710 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
711 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
712 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
713 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
714 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
715 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
716 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
717 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
718 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
719 (_FP_FRAC_SRS_1): Likewise.
720 (_FP_FRAC_CLZ_1): Likewise.
721 (_FP_MUL_MEAT_1_imm): Likewise.
722 (_FP_MUL_MEAT_1_wide): Likewise.
723 (_FP_MUL_MEAT_1_hard): Likewise.
724 (_FP_SQRT_MEAT_1): Likewise.
725 (_FP_FRAC_ASSEMBLE_1): Likewise.
726 (_FP_FRAC_DISASSEMBLE_1): Likewise.
727 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
728 (__FP_CLZ_2): Likewise.
729 (_FP_MUL_MEAT_2_wide): Likewise.
730 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
731 (_FP_MUL_MEAT_2_gmp): Likewise.
732 (_FP_MUL_MEAT_2_120_240_double): Likewise.
733 (_FP_SQRT_MEAT_2): Likewise.
734 (_FP_FRAC_ASSEMBLE_2): Likewise.
735 (_FP_FRAC_DISASSEMBLE_2): Likewise.
736 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
737 (_FP_FRAC_CLZ_4): Likewise.
738 (_FP_MUL_MEAT_4_wide): Likewise.
739 (_FP_MUL_MEAT_4_gmp): Likewise.
740 (_FP_SQRT_MEAT_4): Likewise.
741 (_FP_FRAC_ASSEMBLE_4): Likewise.
742 (_FP_FRAC_DISASSEMBLE_4): Likewise.
743 * soft-fp/op-common.h (_FP_CMP): Likewise.
744 (_FP_CMP_EQ): Likewise.
745 (_FP_CMP_UNORD): Likewise.
746 (_FP_TO_INT): Likewise.
747 (_FP_FROM_INT): Likewise.
748 [!__FP_CLZ] (__FP_CLZ): Likewise.
749 (_FP_DIV_HELP_imm): Likewise.
750 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
751 Likewise.
752 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
753 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
754 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
763 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
764 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
766 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
767 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
768 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
778 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
781 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
782 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
783 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
784 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
785 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
786 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
787 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
788 (FP_UNPACK_RAW_SP): Likewise.
789 (FP_PACK_RAW_S): Likewise.
790 (FP_PACK_RAW_SP): Likewise.
791 (FP_UNPACK_S): Likewise.
792 (FP_UNPACK_SP): Likewise.
793 (FP_UNPACK_SEMIRAW_S): Likewise.
794 (FP_UNPACK_SEMIRAW_SP): Likewise.
795 (FP_PACK_S): Likewise.
796 (FP_PACK_SP): Likewise.
797 (FP_PACK_SEMIRAW_S): Likewise.
798 (FP_PACK_SEMIRAW_SP): Likewise.
799 (_FP_SQRT_MEAT_S): Likewise.
800 (FP_CMP_S): Likewise.
801 (FP_CMP_EQ_S): Likewise.
802 (FP_CMP_UNORD_S): Likewise.
803 (FP_TO_INT_S): Likewise.
804 (FP_FROM_INT_S): Likewise.
805
a736ec37
JM
806 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
807
ff12c11f
JM
808 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
809 (FP_EX_INVALID_IMZ): Likewise.
810 (FP_EX_INVALID_IMZ_FMA): Likewise.
811 (FP_EX_INVALID_ISI): Likewise.
812 (FP_EX_INVALID_ZDZ): Likewise.
813 (FP_EX_INVALID_IDI): Likewise.
814 (FP_EX_INVALID_SQRT): Likewise.
815 (FP_EX_INVALID_CVI): Likewise.
816 (FP_EX_INVALID_VC): Likewise.
817 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
818 "invalid" exceptions.
819 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
820 (_FP_ADD_INTERNAL): Likewise.
821 (_FP_MUL): Likewise.
822 (_FP_FMA): Likewise.
823 (_FP_DIV): Likewise.
824 (_FP_CMP_CHECK_NAN): Likewise.
825 (_FP_SQRT): Likewise.
826 (_FP_TO_INT): Likewise.
827 (FP_EXTEND): Likewise.
828
b6dcfe8c
AM
8292014-10-09 Allan McRae <allan@archlinux.org>
830
831 * po/fr.po: Update French translation from translation project.
832
2d6a47ba
JM
8332014-10-09 Joseph Myers <joseph@codesourcery.com>
834
cb831245
JM
835 [BZ #14132]
836 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
837 of INTDEF.
838 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
839 (__cxa_atexit): Use libc_hidden_proto.
840 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
841
5deeb190
JM
842 [BZ #14132]
843 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
844 declaration.
845 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
846 [!_ISOMAC] (__iswspace_l_internal): Likewise.
847 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
848 [!_ISOMAC] (__iswctype_internal): Likewise.
849 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
850 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
851 alias.
852 (fcntl): Remove __fcntl_internal alias.
853 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
854 __connect_internal alias.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
856 Likewise.
857
454ac701
JM
858 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
859 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
860 FP_DENORM_ZERO.
861 (_FP_CHECK_FLUSH_ZERO): New macro.
862 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
863 (_FP_CMP): Likewise.
864 (_FP_CMP_EQ): Likewise.
865 (_FP_TO_INT): Do not set inexact for subnormal arguments if
866 FP_DENORM_ZERO.
867 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
868 (FP_TRUNC): Likewise.
869
0022e688
JM
870 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
871 treated as invalid conversion, not as normal exponent.
872
73e28d9c
JM
873 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
874 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
875 (_FP_CMP_EQ): Likewise.
876 (_FP_CMP_UNORD): Likewise.
877 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
878 (FP_CMP_EQ_D): Likewise.
879 (FP_CMP_UNORD_D): Likewise.
880 * soft-fp/extended.h (FP_CMP_E): Likewise.
881 (FP_CMP_EQ_E): Likewise.
882 (FP_CMP_UNORD_E): Likewise.
883 * soft-fp/quad.h (FP_CMP_Q): Likewise.
884 (FP_CMP_EQ_Q): Likewise.
885 (FP_CMP_UNORD_Q): Likewise.
886 * soft-fp/single.h (FP_CMP_S): Likewise.
887 (FP_CMP_EQ_S): Likewise.
888 (FP_CMP_UNORD_S): Likewise.
889 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
890 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
891 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
892 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
893 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
894 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
895 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
896 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
897 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
898 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
899 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
900 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
901 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
902 to FP_CMP_Q.
903 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
904 FP_CMP_Q.
905 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
906 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
907 FP_CMP_EQ_Q.
908 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
909 FP_CMP_Q.
910 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
911 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
912 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
913 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
914 FP_CMP_EQ_Q.
915 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
916 FP_CMP_Q.
917 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
918 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
919 FP_CMP_EQ_Q.
920 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
921 FP_CMP_Q.
922 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
923 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
924 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
925 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
926 FP_CMP_EQ_Q.
927
43059f42
JM
928 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
929 a subnormal result, set the underflow exception if trapping on
930 underflow is enabled.
931 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
932 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
933 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
934 redefine to 0.
935 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
936 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
937 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
938 * soft-fp/extendxftf2.c (__extendxftf2): Use
939 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
940
2d6a47ba
JM
941 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
942 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
943 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
944 FP_HANDLE_EXCEPTIONS.
945 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
946 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
947 FP_HANDLE_EXCEPTIONS.
948 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
949 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
950 FP_HANDLE_EXCEPTIONS.
951 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
952 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
953 FP_HANDLE_EXCEPTIONS.
954
620f462e
JM
9552014-10-08 Joseph Myers <joseph@codesourcery.com>
956
957 [BZ #14132]
958 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
959 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
960 use INTUSE.
961 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
962 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
963 Remove alias.
964 (__adjtimex): Define using libc_hidden_ver.
965 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
966 Remove declaration.
967 (ntp_gettime): Call __adjtimex directly.
968 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
969 Remove declaration.
970 (ntp_gettimex): Call __adjtimex directly.
971 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
972 __adjtimex_internal alias.
973
c763c5d2
RM
9742014-10-08 Roland McGrath <roland@hack.frob.com>
975
976 [BZ #17460]
977 * nscd/nscd.c (more_help): Rewrite list of tables collection
978 using xstrdup and asprintf.
979
980 * nscd/nscd_conf.c: Remove local xstrdup declaration.
981
7b8fb2b8
RM
9822014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
983 Roland McGrath <roland@hack.frob.com>
984
985 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
986 (do_lookup_unique): ... local function 'enter' here; update callers.
987
abb280f7
JM
9882014-10-06 Joseph Myers <joseph@codesourcery.com>
989
f7b42517
JM
990 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
991 compat_symbol calls on [SHARED].
992 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
993 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
994 Remove.
995 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
996 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
997 (oldsetrlimit): Remove.
998 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1000 (lchown): New syscall entry.
1001 (oldsetrlimit): Remove.
1002 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1003 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1004 (oldsetrlimit): Remove.
1005 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1006
abb280f7
JM
1007 [BZ #14138]
1008 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1009 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1010 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1011 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1012 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1013 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1014 (fchown): Likewise.
1015 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1016 (fchown): Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1018 Likewise.
1019
47d46237
AZ
10202014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1021
1022 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1023 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1024 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1025 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1026 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1027 Likewise.
1028 (__old_sem_post): Likewise.
1029
10302014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1031
845a7343
CM
1032 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1033 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1034 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1035 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1036 Use INLINE_VSYSCALL macro.
1037 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1038 __vdso_clock_gettime.
1039 * sysdeps/unix/sysv/linux/tile/init-first.c
1040 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1041 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1042 __vdso_clock_gettime.
1043
83d641ef
CM
1044 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1045 to set up frame more cleanly.
1046
d9cd52e6
CM
1047 * sysdeps/tile/memcmp.c: New file.
1048
4b68ea11
CM
1049 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1050
c86f7b80
CM
1051 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1052 * sysdeps/tile/tilegx/strcasestr.c: New file.
1053 * sysdeps/tile/tilegx/strnlen.c: New file.
1054 * sysdeps/tile/tilegx/strstr.c: New file.
1055
1c4c1a6f
CM
1056 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1057
99d86ea3
AS
10582014-10-06 Arjun Shankar <arjun.is@lostca.se>
1059
1060 * nptl/tst-setuid3.c: Write errors to stdout.
1061
06210a44
KS
10622014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1063
1064 * elf/dl-deps.c
1065 (preload): New functions broken out of _dl_map_object_deps.
1066 (_dl_map_object_deps): Remove a nested function. Update call sites.
1067
6268f532
JM
10682014-10-01 Joseph Myers <joseph@codesourcery.com>
1069
1070 [BZ #14138]
1071 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1072 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1073
b925285f
SE
10742014-10-01 Steve Ellcey <sellcey@mips.com>
1075
1076 * sysdeps/mips/strcmp.S: New.
1077
754a15c6
JM
10782014-09-30 Joseph Myers <joseph@codesourcery.com>
1079
1080 [BZ #14138]
1081 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1082 (linkat): Likewise.
1083 (mkdirat): Likewise.
1084 (readlinkat): Likewise.
1085 (renameat): Likewise.
1086 (symlinkat): Likewise.
1087 (unlinkat): Likewise.
1088 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1089 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1090 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1091 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1092 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1093 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1094 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1095
85bb81c9
WN
10962014-09-30 Will Newton <will.newton@linaro.org>
1097
dc6fe23b
WN
1098 * math/math.h: Define long double math functions if
1099 _LIBC_TEST is defined.
1100 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1101
85bb81c9
WN
1102 * localedata/Makefile: Move assignment to tests-special
1103 into an ifdef testing run-built-tests.
1104 * timezone/Makefile: Likewise.
1105
b7e02da4
JM
11062014-09-29 Joseph Myers <joseph@codesourcery.com>
1107
1108 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1109 with $(BASH) not $(SHELL).
1110
62058ce6
CD
11112014-09-29 Carlos O'Donell <carlos@redhat.com>
1112 Matthew LeGendre <legendre1@llnl.gov>
1113
1114 [BZ #17411]
1115 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1116 l_reloc_result.
1117
8e257a29
KS
11182014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1119
1120 * stdio-common/printf_fp.c
1121 (hack_digit): New function, broken out of ...
1122 (__printf_fp): ... local function here. Update call sites.
1123 hack_digit now takes an additional parameter that is a pointer
1124 to a struct of the referenced locals. Those locals moved inside
1125 the struct and references updated.
1126
f4a58f0d
L
11272014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 * aclocal.m4: Require autoconf 2.69.
1130 * configure: Regenerated.
1131 * sysdeps/aarch64/configure: Likewise.
1132 * sysdeps/alpha/configure: Likewise.
1133 * sysdeps/arm/armv7/configure: Likewise.
1134 * sysdeps/arm/configure: Likewise.
1135 * sysdeps/ia64/configure: Likewise.
1136 * sysdeps/mach/configure: Likewise.
1137 * sysdeps/mips/configure: Likewise.
1138 * sysdeps/s390/configure: Likewise.
1139 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1141
1142 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1143 file.
1144 * sysdeps/ia64/configure.ac: Likewise.
1145
93ae1eba
JM
11462014-09-26 Joseph Myers <joseph@codesourcery.com>
1147
1810d3ab
JM
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1149 specify symbol version for ld.so. Do not include entry for
1150 libpthread.
1151 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1152 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1153 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1154
93ae1eba
JM
1155 [BZ #14171]
1156 * Makeconfig [$(build-shared) = yes]
1157 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1158 makefiles.
1159 [$(build-shared) = yes && $(soversions.mk-done) = t]
1160 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1161 [$(build-shared) = yes && $(soversions.mk-done) = t]
1162 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1163 to Makerules.
1164 [$(build-shared) = yes && $(soversions.mk-done) = t]
1165 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1166 here.
1167 [$(build-shared) = yes && $(soversions.mk-done) = t]
1168 (common-generated): Don't append gnu/lib-names.h and
1169 gnu/lib-names.stmp here.
1170 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1171 (lib-names-h-abi): New variable.
1172 [$(build-shared) = yes && $(soversions.mk-done) = t]
1173 (lib-names-stmp-abi): Likewise.
1174 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1175 abi-variants] (before-compile): Append
1176 $(common-objpfx)$(lib-names-h-abi).
1177 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1178 abi-variants] (common-generated): Append gnu/lib-names.h.
1179 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1180 abi-variants] (install-others-nosubdir): Depend on
1181 $(inst_includedir)/$(lib-names-h-abi).
1182 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1183 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1184 [$(build-shared) = yes && $(soversions.mk-done) = t]
1185 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1186 [$(build-shared) = yes && $(soversions.mk-done) = t]
1187 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1188 [$(build-shared) = yes && $(soversions.mk-done) = t]
1189 (common-generated): Append $(lib-names-h-abi) and
1190 $(lib-names-stmp-abi).
1191 * scripts/lib-names.awk: Do not handle multi being set.
1192 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1193 Remove variable.
1194 (abi-lp64_be-ld-soname): Likewise.
1195 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1196 Likewise.
1197 (abi-hard-ld-soname): Likewise.
1198 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1199 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1200 Remove variable.
1201 (abi-o32_hard-ld-soname): Likewise.
1202 (abi-o32_soft_2008-ld-soname): Likewise.
1203 (abi-o32_hard_2008-ld-soname): Likewise.
1204 (abi-n32_soft-ld-soname): Likewise.
1205 (abi-n32_hard-ld-soname): Likewise.
1206 (abi-n32_soft_2008-ld-soname): Likewise.
1207 (abi-n32_hard_2008-ld-soname): Likewise.
1208 (abi-n64_soft-ld-soname): Likewise.
1209 (abi-n64_hard-ld-soname): Likewise.
1210 (abi-n64_soft_2008-ld-soname): Likewise.
1211 (abi-n64_hard_2008-ld-soname): Likewise.
1212 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1213 Likewise.
1214 (abi-64-v2-ld-soname): Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1216 ld.so entries.
1217 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1218 variable.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1220 entry.
1221 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1222 variable.
1223 (abi-64-ld-soname): Likewise.
1224 (abi-x32-ld-soname): Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1226 entry.
1227 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1228
68870f12
JM
12292014-09-23 Joseph Myers <joseph@codesourcery.com>
1230
1231 [BZ #14138]
1232 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1233 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1234 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1235 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1236 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1237 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1238 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1239 syscall entry for GLIBC_2.2 symbol version.
1240 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1241 Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1243 (setrlimit): Likewise.
1244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1245 Likewise.
1246
ea58f202
WN
12472014-09-23 Will Newton <will.newton@linaro.org>
1248
1249 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1250 _LINUX_ARM_SYSDEP_H include guard too.
1251 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1252 define.
1253
69eb9a18
RV
12542014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1255
1256 * sysdeps/unix/sysv/linux/eventfd.c:
1257 Make first argument unsigned.
1258 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1259 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1260
20e5a5f7
OB
12612014-09-20 Ondřej Bílka <neleai@seznam.cz>
1262
1263 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1264 * socket/sys/socket.h: Likewise
1265 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1266
d3c827e7
AK
12672014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1268
1269 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1270
fe1cc35a
AS
12712014-09-17 Arjun Shankar <arjun.is@lostca.se>
1272
1273 * time/tst-ftime.c: New test.
1274 * time/Makefile (tests): Add tst-ftime.
1275
4e8afe69
JM
12762014-09-17 Joseph Myers <joseph@codesourcery.com>
1277
c4fe3ea7
JM
1278 * soft-fp/extended.h: Fix comment formatting.
1279 * soft-fp/op-1.h: Likewise.
1280 * soft-fp/op-2.h: Likewise.
1281 * soft-fp/op-4.h: Likewise.
1282 * soft-fp/op-8.h: Likewise.
1283 * soft-fp/op-common.h: Likewise.
1284 * soft-fp/soft-fp.h: Likewise.
1285
4e8afe69
JM
1286 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1287
af296fcd
JM
12882014-09-16 Joseph Myers <joseph@codesourcery.com>
1289
1290 [BZ #6652]
1291 * Makeconfig (soversions-default-setname): Remove variable.
1292 ($(common-objpfx)soversions.i): Don't pass default_setname to
1293 soversions.awk.
1294 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1295 oldest_abi to abi-versions.awk.
1296 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1297 * config.make.in (oldest-abi): Remove variable.
1298 * configure.ac (--enable-oldest-abi): Remove configure option.
1299 * configure: Regenerated.
1300 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1301 text.
1302 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1303 * scripts/soversions.awk: Do not handle default_setname variable.
1304 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1305 variable.
1306 * sysdeps/mach/hurd/configure: Regenerated.
1307 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1308 variable.
1309 * sysdeps/unix/sysv/linux/configure: Regenerated.
1310
545583d6
SP
13112014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1312
d330b980
SP
1313 * elf/Makefile (CFLAGS-interp.c): Remove.
1314 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1315 path string.
1316 * elf/interp.c: Include generated runtime-linker.h
1317
02657da2
SP
1318 * Makerules (lib%.so): Don't include $(+interp) in
1319 prerequisites.
1320 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1321 * dlfcn/eval.c: Remove file.
1322
653b1080
SP
1323 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1324 macros.
1325
602f80ec
SP
1326 [BZ #17266]
1327 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1328 4.2 and newer.
1329
545583d6
SP
1330 [BZ #17370]
1331 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1332
884ddc50
SP
13332014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1334 Jakub Jelinek <jakub@redhat.com>
1335
1336 [BZ #17266]
1337 * libio/stdio.h: Check definition of __fortify_function
1338 instead of __extern_always_inline to include bits/stdio2.h.
1339 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1340 check if __extern_always_inline is defined.
1341 [__USE_MISC || __USE_XOPEN]: Likewise.
1342 [__USE_ISOC99] Likewise.
1343 * misc/sys/cdefs.h (__fortify_function): Define only if
1344 __extern_always_inline is defined.
1345 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1346 __extern_always_inline and __extern_inline only for g++-4.3
1347 and newer or a compatible gcc.
1348
a7b87268
AS
13492014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1350
1351 [BZ #17371]
1352 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1353 last change to handle zero prefix length.
1354
3f41521d
SP
13552014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1356
61fe374a
SP
1357 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1358 _SC_REGEX_VERSION.
1359
3f41521d
SP
1360 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1361 _POSIX_RAW_SOCKETS.
1362
d8f879ee
AM
13632014-09-13 Allan McRae <allan@archlinux.org>
1364
1365 * po/ru.po: Update Russian translation from translation project.
1366
c079afb7
RM
13672014-09-12 Roland McGrath <roland@hack.frob.com>
1368
a62b3c15
RM
1369 * locale/programs/locale.c (show_locale_vars): Inline local function
1370 into its sole call site. Clean up some style nits.
1371 (print_item): New function, broken out of ...
1372 (show_info): ... local function here. Clean up style nits.
1373
d7e49b19
RM
1374 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1375 out of ...
1376 (set_class_defaults): ... local function set_default here.
1377 Define set_default as a macro locally to pass constant parameters.
1378 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1379 rather than a shared local.
1380
c079afb7
RM
1381 * stdlib/rpmatch.c (try): New function, broken out of ...
1382 (rpmatch): ... local function here. Also, prototypify definition.
1383
0bd72468
JM
13842014-09-12 Joseph Myers <joseph@codesourcery.com>
1385
ba90e050
JM
1386 * scripts/soversions.awk: Do not handle configuration names.
1387 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1388 vendor and os variables to soversions.awk.
1389 * configure.ac: Do not modify gnu-* host_os.
1390 * configure: Regenerated
1391 * shlib-versions: Remove first column with configuration names.
1392 * nptl/shlib-versions: Likewise.
1393 * nptl_db/shlib-versions: Likewise.
1394 * sysdeps/hppa/shlib-versions: Likewise.
1395 * sysdeps/m68k/shlib-versions: Likewise.
1396 * sysdeps/mach/hurd/shlib-versions: Likewise.
1397 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1398 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1399 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1400 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1401 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1402 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1403 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1404 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1406 Likewise.
1407 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1408 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1409 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1412 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1415
73a39112
JM
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1417 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1419 Regenerated.
1420 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1422 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1423
c729e7c1
JM
1424 * shlib-versions: Remove OS-specific entries. Moved to files in
1425 sysdeps.
1426 * sysdeps/mach/hurd/shlib-versions: New file.
1427 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1428
dc932a24
JM
1429 * nptl/shlib-versions: Remove architecture-specific entries.
1430 Moved to files in sysdeps.
1431 * shlib-versions: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1433 file.
1434 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1435 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1437 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1438
0bd72468
JM
1439 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1440 (UDP_NO_CHECK6_RX): Likewise.
1441
920238e0
SP
14422014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1443
1444 * sysdeps/posix/sysconf.c (__sysconf): Spell
1445 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1446
ba7b4d29
FW
14472014-08-12 Florian Weimer <fweimer@redhat.com>
1448
1449 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1450 loading.
1451 * iconv/Versions (__gconv_transliterate): Export for use from
1452 gconv modules.
1453 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1454 (struct __gconv_trans_data, __gconv_trans_fct,
1455 __gconv_trans_context_fct, __gconv_trans_query_fct,
1456 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1457 definitions.
1458 (struct __gconv_step_data): Remove __trans member.
1459 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1460 longer hidden. Remove unused trans_data argument.
1461 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1462 (__gconv_translit_find): Remove declaration.
1463 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1464 prototype.
1465 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1466 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1467 trans_data argument. Add hidden definition.
1468 (__gconv_translit_find): Remove.
1469 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1470 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1471 * iconv/skeleton.c: Remove transliteration initialization.
1472 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1473 __gconv_step_data initialization.
1474 * libio/iofwide.c (__libio_translit_): Remove.
1475 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1476 * wcsmbs/btowc.c (__btowc): Likewise.
1477 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1478 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1479 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1480 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1481 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1482 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1483 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1484 * wcsmbs/wctob.c (wctob): Likewise.
1485
5379aebd
SP
14862014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1487
1488 [BZ #16194]
1489 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1490 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1491 register usage.
1492 * sysdeps/x86/Makefile: Adjust.
1493
8c0ab919
RM
14942014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1495 Roland McGrath <roland@hack.frob.com>
1496
1497 * locale/weight.h: Add include guard.
1498 (findidx): Make static rather than auto; take new parameters
1499 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1500 * locale/weightwc.h: Likewise.
1501 * posix/fnmatch_loop.c
1502 (FCT): Change type of EXTRA from int32_t to wint_t.
1503 Don't include either header inside the function.
1504 Call FINDIDX rather than findidx, and pass new arguments.
1505 #undef FINDIDX at the end of the file.
1506 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1507 FINDIDX before including fnmatch_loop.c for the non-wide version.
1508 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1509 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1510 for the wide version.
1511 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1512 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1513 Pass new arguments to findidx.
1514 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1515 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1516 Don't #include it inside the function. Pass new arguments to findidx.
1517 * posix/regex_internal.h
1518 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1519 (re_string_elem_size_at): Don't #include it inside the function.
1520 Pass new arguments to findidx.
1521 * string/strcoll_l.c: #include WEIGHT_H at top level.
1522 (get_next_seq): Don't #include it inside the function.
1523 Pass new arguments to findidx.
1524 (get_next_seq_nocache): Likewise.
1525 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1526 (STRXFRM): Don't #include it inside the function.
1527 Pass new arguments to findidx.
1528
52ffbdf2
FW
15292014-09-11 Florian Weimer <fweimer@redhat.com>
1530
1531 [BZ #17344]
1532 * malloc/malloc.c (unlink): Turn asserts into a call to
1533 malloc_printerr.
1534
984c0ea9
TL
15352014-09-11 Tim Lammens <tim.lammens@gmail.com>
1536
1537 [BZ #17370]
1538 * libio/wfileops (do_ftell_wide): Free OUT.
1539
3daee107
CM
15402014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1541
1542 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1543
58b930ae
SP
15442014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1545
1546 [BZ #17363]
1547 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1548 group if the current group is empty.
1549
3b473fec
AZ
15502014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551
71ae8647
AZ
1552 * benchtests/bench-memset.c (test_main): Add more test from size
1553 from 32 to 512 bytes.
1554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1555 Add POWER8 memset object.
1556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1557 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1558 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1559 implementation.
1560 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1561 Likewise.
1562 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1563 multiarch POWER8 memset optimization.
1564 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1565 POWER8 memset optimization.
1566
3b473fec
AZ
1567 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1568 Remove bzero multiarch objects.
1569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1573 Remove define.
1574 [__bzero]: Redefine to specific name.
1575 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1576 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1577 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1578 define.
1579 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1580 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1581
e6fb9587
FW
15822014-09-10 Florian Weimer <fweimer@redhat.com>
1583
1584 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1585 warnings into errors.
1586
1587 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1588 __cxa_thread_atexit_impl prototype.
1589
9d3a350b
SE
15902014-09-09 Steve Ellcey <sellcey@mips.com>
1591
1592 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1593 Fix capitalization of error message.
1594
0febba23
SE
15952014-09-09 Steve Ellcey <sellcey@mips.com>
1596
1597 * sysdeps/mips/preconfigure: Modify ABI tests.
1598
645a0e9c
CD
15992014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1600
1601 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1602
d83f0734
CD
16032014-09-07 Roland McGrath <roland@hack.frob.com>
1604 Carlos O'Donell <carlos@systemhalted.org>
1605
1606 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1607 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1608 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1609 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1610 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1611 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1612 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1613 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1614 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1615 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1616 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1617 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1618 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1619 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1620 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1621 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1622 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1623 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1624 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1625 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1626 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1627 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1628 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1629 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1630 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1631 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1632 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1633 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1634 Deconditionalize the code that was previously under [RESET_PID].
1635 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1636 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1637 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1638 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1639 include sysdep.h.
1640
21c83793
AM
16412014-09-08 Allan McRae <allan@archlinux.org>
1642
1643 * version.h (RELEASE): Set to "development".
1644 (VERSION): Set to "2.20.90"
1645
1cd9b65c
AM
16462014-09-07 Allan McRae <allan@archlinux.org
1647
b8079dd0
AM
1648 * version.h (RELEASE): Set to "stable".
1649 (VERSION): Set to "2.20"
1650 * include/features.h (__GLIBC_MINOR__): Set to 20.
1651
c46303ef
AM
1652 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1653 Liebler.
1654
1cd9b65c
AM
1655 * po/ko.po: Update Korean translation from translation project.
1656
8622092d
CM
16572014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1658
1659 [BZ #17354]
1660 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1661 macro for handling signed relocations.
1662
41488498
FW
16632014-09-03 Florian Weimer <fweimer@redhat.com>
1664
1665 [BZ #17325]
1666 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1667 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1668 assert.
1669 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1670 * iconvdata/ibm935.c (BODY): Likewise.
1671 * iconvdata/ibm937.c (BODY): Likewise.
1672 * iconvdata/ibm939.c (BODY): Likewise.
1673 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1674 assert.
1675 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1676 script.
1677 * iconvdata/run-iconv-test.sh: New test loop for checking for
1678 decoder crashers.
1679
a78b712d
KR
16802014-09-02 Khem Raj <raj.khem@gmail.com>
1681
1682 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1683 libm_hidden_ver.
1684
cb08abc6
AM
16852014-09-01 Allan McRae <allan@archlinux.org>
1686
2c31e102
AM
1687 * po/eo.po: Update Esperanto translation from translation project.
1688
cb08abc6
AM
1689 * po/ca.po: Update Catalan translation from translation project.
1690
17a62de1
ST
16912014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1692
1693 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1694 __proc_dostop call.
1695
9570bc53
MW
16962014-08-27 Mark Wielaard <mjw@redhat.com>
1697
1698 [BZ #17319]
1699 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1700 to call set_thread_area instead of hand written asm.
1701 (__NR_set_thread_area): Removed define.
1702 (TLS_FLAG_WRITABLE): Likewise.
1703 (__ASSUME_SET_THREAD_AREA): Remove check.
1704 (TLS_EBX_ARG): Remove define.
1705 (TLS_LOAD_EBX): Likewise.
1706
b0f955c9
ST
17072014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1708
1709 Simplify atomicity of socket creation in bind.
1710
1711 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1712 looking up the name after linking the file.
1713
529bf515
AM
17142014-08-27 Allan McRae <allan@archlinux.org>
1715
1716 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1717
a1a6a401
FW
17182014-08-26 Florian Weimer <fweimer@redhat.com>
1719
1720 [BZ #17187]
1721 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1722 trans_compare, open_translit, __gconv_translit_find):
1723 Remove module loading code.
1724
686ab290
AM
17252014-08-26 Allan McRae <allan@archlinux.org>
1726
e4e7cfd2
AM
1727 * po/vi.po: Update Vietnamese translation from translation project.
1728
6aa09f71
AM
1729 * po/uk.po: Update Ukrainian translation from translation project.
1730
edc0660e
AM
1731 * po/fr.po: Update French translation from translation project.
1732
7eea72ac
AM
1733 * po/ru.po: Update Russian translation from translation project.
1734
93c49eff
AM
1735 * po/pl.po: Update Polish translation from translation project.
1736
46acaf63
AM
1737 * po/cs.po: Update Czech translation from translation project.
1738
a9f5ce98
AM
1739 * po/de.po: Update German translation from translation project.
1740
373f2b78
AM
1741 * po/bg.po: Update Bulgarian translation from translation project.
1742
e7548bd8
AM
1743 * po/sv.po: Update Sweedish translation from translation project.
1744
c526bf4d
AM
1745 * po/nl.po: Update Dutch translation from translation project.
1746
686ab290
AM
1747 * po/es.po: Update Spanish translation from translation project.
1748
eb72478a
SP
17492014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
dd763fdb
SP
1751 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1752
318c7a58
SP
1753 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1754 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1755 (CPPFLAGS-iconvconfig): Likewise.
1756 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1757
eb72478a
SP
1758 * include/libc-symbols.h: Remove unnecessary check for
1759 NOT_IN_libc.
1760 * nptl/pthreadP.h: Likewise.
1761 * sysdeps/aarch64/setjmp.S: Likewise.
1762 * sysdeps/alpha/setjmp.S: Likewise.
1763 * sysdeps/arm/sysdep.h: Likewise.
1764 * sysdeps/i386/setjmp.S: Likewise.
1765 * sysdeps/m68k/setjmp.c: Likewise.
1766 * sysdeps/posix/getcwd.c: Likewise.
1767 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1768 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1769 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1770 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1771 * sysdeps/sh/sh3/setjmp.S: Likewise.
1772 * sysdeps/sh/sh4/setjmp.S: Likewise.
1773 * sysdeps/unix/alpha/sysdep.h: Likewise.
1774 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1776 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1777 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1782 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1785 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1787 * sysdeps/x86_64/setjmp.S: Likewise.
1788
d44a052c
JM
17892014-08-13 Joseph Myers <joseph@codesourcery.com>
1790
1791 [BZ #17263]
1792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1793 <stdint.h>.
1794 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1795 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1796
508ce3ac
SP
17972014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1798
e44c8b0e
SP
1799 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1800
508ce3ac
SP
1801 [BZ #17262]
1802 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1803 and __x86_64__ when disabling x87 inline functions.
1804
b4acef1f
L
18052014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1806
1807 [BZ #17259]
1808 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1809 asm statement with __cpuid_count.
1810
61b1ef6e
MF
18112014-08-12 Mike Frysinger <vapier@gentoo.org>
1812
1813 * configure.ac: Change __ehdr_start code to dereference the struct.
1814 Run readelf on the output to look for relocations.
1815 * configure: Regenerated.
1816
898c62f4
JM
18172014-08-12 Joseph Myers <joseph@codesourcery.com>
1818
1819 [BZ #17261]
1820 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1821 value to 0.
1822 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1823
9a8a5720
RM
18242014-08-12 Roland McGrath <roland@hack.frob.com>
1825
1826 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1827
4e75751c
BO
18282014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1829
1830 [BZ #16892]
1831 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1832 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1833
bb2ce416
SA
18342014-08-12 Sean Anderson <seanga2@gmail.com>
1835
1836 * malloc/malloc.c: Fix typo in comment.
1837
7950a4ee
AM
18382014-08-09 Allan McRae <allan@archlinux.org>
1839
1840 * Regenerate libc.po.
1841
f469c49f
MF
18422014-08-08 Mike Frysinger <vapier@gentoo.org>
1843
1844 * intl/tst-gettext2.sh: Check every lang file for creation.
1845
656b84c2
WD
18462014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1847
1848 * sysdeps/aarch64/fpu/math_private.h
1849 (libc_feholdsetround_noex_aarch64_ctx): New function.
1850
538e9e45
W
18512014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1852
1853 * sysdeps/arm/armv6/strcpy.S (strcpy):
1854 Fix performance issue in misaligned cases.
1855
d4795e4a
AZ
18562014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1857
1858 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1859 Move definition from termios.h.
1860 (struct termio): Likewise.
1861 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1862 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1863 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1864 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1865 Likewise.
1866 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1867 Move definition to ioctl-types.h
1868 (struct termio): Likewise.
1869 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1870 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1871 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1872 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1873 Likewise.
1874
64accb62
RH
18752014-08-05 Richard Henderson <rth@redhat.com>
1876
27bb6dc0
RH
1877 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1878 exceptions.
1879 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1880 Add fraiseexcpt.
1881 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1882 Use __feraiseexcept.
1883 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1884 Protect libm symbols with IS_IN_libm.
1885
64accb62
RH
1886 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1887
e5292691
BO
18882014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1889
1890 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1891
5b4bd2d4
WN
18922014-08-04 Will Newton <will.newton@linaro.org>
1893
1894 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1895 file.
1896
fcadaeef
MF
18972014-08-04 Mike Frysinger <vapier@gentoo.org>
1898
1899 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1900 variants for each function.
1901
43a94c64
RM
19022014-08-04 Roland McGrath <roland@hack.frob.com>
1903
1904 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1905 appended ...
1906 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1907 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1908 appended ...
1909 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1910 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1911 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1912 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1913 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1914 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1915 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1916 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1917 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1918 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1919 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1945 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1946 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1947 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1948 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1949 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1950 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1951 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1952 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1953 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1954 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1955 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1956 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1957 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1959 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1960 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1961 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1962 Update #include.
1963 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1964 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1965
8f3c1fa4
RM
19662014-08-04 Roland McGrath <roland@hack.frob.com>
1967
1968 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1969 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1970 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1971 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1972 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1973 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1974
ca08746f
RM
19752014-08-04 Roland McGrath <roland@hack.frob.com>
1976
1977 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1978 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1979 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1980 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1981
9c925ff9
RM
19822014-08-04 Roland McGrath <roland@hack.frob.com>
1983
1984 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1985 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1986 (__libc_vfork): Define function under this name.
1987 (__vfork): Define as an alias.
1988 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1989 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1990
e641054c
RM
19912014-08-04 Roland McGrath <roland@hack.frob.com>
1992
1993 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1994 that was previously under [RESET_PID].
1995 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1996
dacdc867
AS
19972014-08-04 Andreas Schwab <schwab@suse.de>
1998
1999 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2000
41f725ff
MF
20012014-08-03 Mike Frysinger <vapier@gentoo.org>
2002
2003 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2004 (main): Likewise.
2005
277cfb31
RM
20062014-08-01 Roland McGrath <roland@hack.frob.com>
2007
2008 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2009
4896f049
RH
20102014-08-01 Richard Henderon <rth@redhat.com>
2011
2012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2013 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2014 typo in exact zero test.
2015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2018
6f64e7d7
RM
20192014-08-01 Roland McGrath <roland@hack.frob.com>
2020
2021 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2022 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2023 * sysdeps/arm/sysdep.h: ... here.
2024 [!__ASSEMBLER__]: Include <stdint.h>.
2025
3f3dd810
SP
20262014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2027
a476ac4b
SP
2028 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2029 (HAVE_WCTYPE_H): Likewise.
2030 (HAVE_ISWCTYPE): Likewise.
2031 (ENABLE_NLS): Likewise.
2032 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2033 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2034
78dd658a
SP
2035 * posix/regex_internal.c: Check if DEBUG is defined and is
2036 set.
2037
3f3dd810
SP
2038 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2039 (HAVE_MBSRTOWCS): Likewise.
2040 * posix/fnmatch.c: Include string.h unconditionally.
2041
95ee7fb1
SL
20422014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2043
2044 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2045 reversal.
2046
23fe486b
RM
20472014-07-31 Roland McGrath <roland@hack.frob.com>
2048
f61a113f
RM
2049 * sysdeps/generic/safe-fatal.h: New file.
2050 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2051 * nptl/forward.c: Include it.
2052 (__pthread_unwind): Use __safe_fatal as default action, rather
2053 than a bogus use of INTERNAL_SYSCALL that could never work.
2054
9fe7e787
RM
2055 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2056 * configure.ac (libc_cv_builtin_trap): New test.
2057 * configure: Regenerated.
2058 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2059 (ABORT_INSTRUCTION): Define using __builtin_trap.
2060
23fe486b
RM
2061 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2062 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2063 * sysdeps/nptl/nptl-signals.h: New file.
2064 * nptl/pthreadP.h: Include <nptl-signals.h>.
2065
f349489e
SL
20662014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2067
2068 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2069 (ONE_DIRECTION): Define.
2070 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2071 (ONE_DIRECTION): Define.
2072 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2073 (ONE_DIRECTION): Define.
2074
2f438e20
SL
20752014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2076
2077 * sysdeps/s390/Makefile: Delete file.
2078 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2079 * sysdeps/s390/__longjmp.c: Delete file.
2080 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2081 Remove fields __flags and __reserved.
2082 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2083 and add versioning.
2084 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2085 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2086 * sysdeps/s390/rtld-setjmp.S: Likewise.
2087 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2088 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2089 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2090 * sysdeps/s390/s390-32/setjmp.S: ... here.
2091 Add versioning.
2092 (__sigsetjmp): Remove setting __flags field.
2093 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2094 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2095 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2096 * sysdeps/s390/s390-64/setjmp.S: ... here.
2097 Add versioning.
2098 (__sigsetjmp): Remove setting __flags field.
2099 * sysdeps/s390/setjmp.S: Delete file.
2100 * sysdeps/s390/sigjmp.c: Likewise.
2101 * sysdeps/s390/v1-longjmp.c: Likewise.
2102 * sysdeps/s390/v1-setjmp.h: Likewise.
2103 * sysdeps/s390/v1-sigjmp.c: Likewise.
2104 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2105 Remove v1-longjmp_chk.
2106 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2107 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2108 Include debug/longjmp_chk.c and add versioning.
2109 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2110 Include nptl/pt-longjmp.c and add versioning.
2111 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2112 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2113 Include __longjmp.c.
2114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2115 Move to ...
2116 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2117 (__getcontext): Remove setting __flags field.
2118 Add versioning.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2120 Don't restore upper high grps.
2121 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2122 Likewise.
2123 (__swapcontext): Remove setting uc_flags field.
2124 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2125 Delete file.
2126 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2127 Include __longjmp.c.
2128 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2129 Move to ...
2130 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2131 (__getcontext): Remove setting __flags field.
2132 Add versioning.
2133 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2134 (__swapcontext): Remove setting uc_flags field.
2135 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2136 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2137 Remove fields uc_high_gprs and __reserved.
2138 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2139 New file with reverted content.
2140 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2141 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2142 Regenerated.
2143 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2144 Regenerated.
2145
6c9578a2
AS
21462014-07-31 Andreas Schwab <schwab@suse.de>
2147
2148 * config.h.in (HAVE_IFUNC): Define to 0.
2149 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2150 definedness.
2151
05f3633d
LM
21522014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2153
2154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2155 memmove-avx-unaligned, memcpy-avx-unaligned and
2156 mempcpy-avx-unaligned.
2157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2158 Add tests for AVX memcpy functions.
2159 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2160 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2161 memcpy_chk.
2162 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2163 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2164 memmove_chk.
2165 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2166 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2167 mempcpy_chk.
2168 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2169 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2170 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2171
a53fbd8e
AZ
21722013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2173
2174 [BZ #17213]
2175 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2176 powerpc64le.
2177
0961f7e1
JL
21782014-07-29 Jeff Layton <jlayton@poochiereds.net>
2179
2180 [BZ #16839]
2181 * manual/llio.texi: Add section about open file description locks.
2182 * manual/examples/ofdlocks.c: Example of open file description
2183 lock usage.
2184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2185 F_OFD_SETLK, and F_OFD_SETLKW.
2186
cc5fb300
AM
21872014-07-23 Allan McRae <allan@archlinux.org>
2188
2189 * po/es.po: Update Spanish translation from translation project.
2190
23329dca
AS
21912014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2192
2193 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2194
9c82da17
MR
21952014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2196
2197 [BZ #17078]
2198 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2199 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2200 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2201
29c4f53e
JM
22022014-07-17 Joseph Myers <joseph@codesourcery.com>
2203
831b9896
JM
2204 [BZ #17088]
2205 * math/fesetenv.c (__fesetenv)
2206 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2207 * math/feupdateenv.c (__feupdateenv)
2208 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2209
b21c2d50
JM
2210 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2211 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2212 (__ASSUME_SOCKETCALL): Do not define.
2213
067764ef
JM
2214 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2215 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2216 (__ASSUME_SOCKETCALL): Do not define.
2217 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2218 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2219 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2220 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2221 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2222 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2223 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2224 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2225
642530c1
JM
2226 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2227 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2228 (__ASSUME_SOCKETCALL): Do not define.
2229 (__ASSUME_IPC64): Define unconditionally.
2230 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2231 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2232 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2233 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2234 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2235 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2236 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2237 Likewise.
2238
03f77315
JM
2239 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2240 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2241 (__ASSUME_SOCKETCALL): Do not define.
2242 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2243 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2244 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2245 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2246 (__ASSUME_REQUEUE_PI): Define unconditionally.
2247 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2248 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2249 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2250 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2251 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2252 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2253
083b1f7c
JM
2254 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2255 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2256 (__ASSUME_SOCKETCALL): Do not define.
2257 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2258 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2259 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2260 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2261 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2262 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2263
5be44ea6
JM
2264 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2265 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2266 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2267 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2268 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2269 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2270 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2271 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2272 (__ASSUME_GETCPU_SYSCALL): Likewise.
2273
d95ffd4c
JM
2274 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2275 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2276 cases for individual architectures.
2277 * sysdeps/gnu/configure: Regenerated.
2278 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2279 LIBC_SLIBDIR_RTLDDIR.
2280 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2281 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2282 LIBC_SLIBDIR_RTLDDIR.
2283 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2285 LIBC_SLIBDIR_RTLDDIR.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2287 Regenerated.
2288 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2289 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2290 file.
2291 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2292 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2293 file.
2294 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2295 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2296 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2297 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2298
29c4f53e
JM
2299 * sysdeps/aarch64/shlib-versions: Move to ...
2300 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2301 * sysdeps/alpha/shlib-versions: Move to ...
2302 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2303 * sysdeps/arm/shlib-versions: Move to ...
2304 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2305 * sysdeps/hppa/shlib-versions: Move all contents except for
2306 libgcc_s entry to ...
2307 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2308 entry from ...
2309 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2310 * sysdeps/ia64/shlib-versions: Move to ...
2311 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2312 entry from ...
2313 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2314 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2315 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2316 * sysdeps/microblaze/shlib-versions: Move to ...
2317 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2318 * sysdeps/mips/shlib-versions: Move to ...
2319 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2320 entry from ...
2321 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2322 * sysdeps/tile/shlib-versions: Move to ...
2323 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2324 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2325 from ...
2326 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2327 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2328 entry from ...
2329 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2330
32bead5b
WN
23312014-07-17 Will Newton <will.newton@linaro.org>
2332
57977c4b
WN
2333 * sysdeps/arm/bits/atomic.h
2334 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2335 (__arch_compare_and_exchange_bool_16_int): Likewise.
2336 (__arch_compare_and_exchange_bool_64_int): Likewise.
2337
32bead5b
WN
2338 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2339 into an #else block.
2340
37fccd41
RM
23412014-07-16 Roland McGrath <roland@hack.frob.com>
2342
2343 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2344 just Linux configurations. Test empirically that the compiler sets
2345 __ARM_EABI__, rather than using the tuple to decide.
2346 * sysdeps/arm/preconfigure: Regenerated.
2347 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2348 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2349 contents appended ...
2350 * sysdeps/arm/configure.ac: ... here.
2351 * sysdeps/arm/configure: Regenerated.
2352
b365f3ec
RM
23532014-07-15 Roland McGrath <roland@hack.frob.com>
2354
8badf496
RM
2355 * nptl/pthread_kill.c: New file.
2356 * nptl/pthread_sigmask.c: New file.
2357 * nptl/pthread_sigqueue.c: New file.
2358
3df6f22e
RM
2359 * sysdeps/nptl/lowlevellock.h: New file.
2360 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2361 * sysdeps/nptl/lowlevellock-futex.h: New file.
2362
b365f3ec
RM
2363 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2364 Remove dead declarations.
2365
f2fef657
L
23662014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2367
2368 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2369 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2370 config-cflags-avx2.
2371 * sysdeps/x86_64/configure.ac: Likewise.
2372 * sysdeps/i386/configure: Regenerated.
2373 * sysdeps/x86_64/configure: Likewise.
2374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2375 memset-avx2 only if config-cflags-avx2 is yes.
2376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2377 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2378 defined.
2379 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2380 only if HAVE_AVX2_SUPPORT is defined.
2381 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2382
f6c44d47
AM
23832014-07-14 Alan Modra <amodra@gmail.com>
2384
2385 [BZ #17153]
2386 * elf/elf.h (DT_PPC64_NUM): Correct value.
2387 * NEWS: Add to fixed bug list.
2388
7ee03f00
JM
23892014-07-13 Jim Meyering <meyering@fb.com>
2390
2391 [BZ 17150]
2392 regex: don't deref NULL upon heap allocation failure
2393 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2394 failure in one more place.
2395 To trigger the segfault, configure grep -with-included-regex,
2396 build it, and run these commands:
2397 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2398
9d39d517
AS
23992014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2400
2401 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2402
a75b89b7
RH
24032014-07-11 Richard Henderson <rth@redhat.com>
2404
2405 * sysdeps/aarch64/libm-test-ulps: Update.
2406
771eb141
FW
24072014-07-10 Florian Weimer <fweimer@redhat.com>
2408
2409 [BZ #17135]
2410 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2411 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2412 (__nptl_setxid): Initialize error member. Call
2413 __nptl_setxid_error.
2414 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2415 * nptl/descr.h (struct xid_command): Add error member.
2416 * nptl/tst-setuid3.c: New file.
2417 * nptl/Makefile (tests): Add it.
2418
bc1da176
AZ
24192014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2420
2421 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2422 New define.
2423 (__lll_trylock): Use __lll_base_trylock.
2424 (__lll_cond_trylock): Likewise.
2425
887865fc
RM
24262014-07-10 Roland McGrath <roland@hack.frob.com>
2427
c0c6bac9
RM
2428 * nptl/pthread_create.c (start_thread): Use atomic_or and
2429 lll_futex_wake directly rather than lll_robust_dead.
2430 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2431 (lll_robust_dead): Macro removed.
6a42be57 2432 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2433 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2434 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2435 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2436 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2437 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2438 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2439 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2440 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2442 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2443 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2444 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2445 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2447
887865fc
RM
2448 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2449 Use atomic_compare_and_exchange_val_acq directly rather than
2450 lll_robust_trylock.
2451 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2452 (__lll_robust_trylock, lll_robust_trylock): Removed.
2453 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2454 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2455 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2456 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2457 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2458 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2459 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2460 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2463 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2464 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2465 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2467
58536726
FW
24682014-07-02 Florian Weimer <fweimer@redhat.com>
2469
2470 * manual/locale.texi (Locale Names): New section documenting
2471 locale name syntax. Adjust menu and node chaining accordingly.
2472 (Choosing Locale): Reference Locale Names, Locale Categories.
2473 Mention setting LC_ALL=C. Reflect that name syntax is now
2474 documented.
2475 (Locale Categories): New section title. Reference Locale Names.
2476 LC_ALL is an environment variable, but not a category.
2477 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2478 description, now in Locale Name. Reference that section. Locale
2479 name syntax is now documented.
2480
4e8f95a0
FW
24812014-07-02 Florian Weimer <fweimer@redhat.com>
2482
2483 [BZ #17137]
2484 * locale/findlocale.c (name_present, valid_locale_name): New
2485 functions.
2486 (_nl_find_locale): Use the loc_name variable to store name
2487 candidates. Call name_present and valid_locale_name to check and
2488 validate locale names. Return an error if the locale is invalid.
2489
d1836456
FW
24902014-07-02 Florian Weimer <fweimer@redhat.com>
2491
2492 * locale/setlocale.c (setlocale): Use strdup for allocating
2493 composite name copy.
2494
d69b7f5a
SP
24952014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2496
888c679b
SP
2497 Sync up with gnulib.
2498 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2499 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2500 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2501 and _GL_ARG_NONNULL.
2502 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2503 [!_LIBC]: Include code for Windows and Cygwin.
2504 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2505 Include prototype for int strerror_r.
2506 [!_LIBC] (is_open): New function.
2507 (flush_stdout): New function.
2508 (print_errno_message): Use it.
2509 (error): Likewise.
2510 (error_at_line): Likewise.
2511 (error_tail) Add function attribute macros. Use
2512 __builtin_expect.
2513
180e0e4b
SP
2514 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2515
d22f1fe2
SP
2516 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2517
12f2254b
SP
2518 * io/ftw.c: Include sys/param.h unconditionally.
2519
c3c7c360
SP
2520 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2521
d62aa75a
SP
2522 [BZ #17125]
2523 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2524 libc_freeres_ptr.
2525 (freecache): New function to free CACHE on exit.
2526
d69b7f5a
SP
2527 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2528 initialization.
2529
5efe06a1
DM
25302014-07-09 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2533
7000d82e
DM
2534 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2535 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2536 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2537 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2538 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2539 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2540 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2541 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2542 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2543 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2544 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2545 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2546 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2547
c213442d
AS
25482014-07-09 Andreas Schwab <schwab@suse.de>
2549
4a2552c3
AS
2550 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2551 output.
2552 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2553 (do_test): Likewise.
2554
c213442d
AS
2555 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2556
82374e65
WN
25572014-07-09 Will Newton <will.newton@linaro.org>
2558
2559 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2560 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2561 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2562 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2563 * sysdeps/hppa/start.S (_start): Likewise.
2564
6680738a
SP
25652014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2566
6ee3eab4
SP
2567 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2568
6680738a
SP
2569 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2570 defined.
2571
80b5c505
SP
25722014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2573
e35c53e3
SP
2574 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2575 after checking that it is non-NULL.
2576
80b5c505
SP
2577 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2578
91f4b564
AZ
25792014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
27b75f56
AZ
2581 * sysdeps/powerpc/memmove.c: Remove file.
2582 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2583 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2585 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2586 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2587 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2588 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2589 string memmove instead of removed powerpc one.
2590
e7f95bb5
AZ
2591 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2592 [weak_alias]: Fix compiler warning due trailing data.
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2594 [weak_alias]: Likewise.
2595 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2596 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2597
91f4b564
AZ
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2599 (__libc_ifunc_impl_list): Add memmove functions.
2600
7c33f1e5
SP
26012014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2602
2603 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2604 Remove code.
2605 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2606 Likewise
2607 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2608 Likewise
2609 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2610 Likewise
2611 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2612 Likewise
2613 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2614 Likewise
2615 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2616 Likewise
2617 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2618 Likewise
2619 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2620 Likewise
2621 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2622 Likewise
2623 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2624 Likewise
2625 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2626 Likewise
2627 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2628 Likewise
2629 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2630 Likewise
2631 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2632 Likewise
2633 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2634 Likewise
2635 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2636 Likewise
2637
3f17b03b
AZ
26382014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2639
87868c24
AZ
2640 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2641 to avoid alignment traps in non-cacheable memory.
2642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2643
07aedd78
AZ
2644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2645 multiarch objects.
2646 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2647 file: multiarch power7 memmove.
2648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2649 multiarch default memmove.
2650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2651 multiarch memove for powerpc32/power4.
2652
17762f66
AZ
2653 * string/bcopy.c: Use full path to include memmove.c.
2654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2655 multiarch objects.
2656 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2657 bcopy for powerpc64.
2658 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2659 bcopy for powerpc64.
2660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2661 and memmove implementations.
2662 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2663 optimized multiarch memmove for POWER7/powerpc64.
2664 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2665 default multiarch memmove for powerpc64.
2666 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2667 multiarch for powerpc64.
2668 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2669 for POWER7/powerpc64.
2670 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2671 memmove for POWER7/powerpc64.
2672
d6f68bbe
AZ
2673 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2674 glibc default one.
2675
3f17b03b
AZ
2676 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2677 __ELF_NATIVE_CLASS equal to 64.
2678
08192659
RM
26792014-07-07 Roland McGrath <roland@hack.frob.com>
2680
f4c4021b
RM
2681 * sysdeps/nptl/lowlevellock.h: File removed.
2682
f083450f
RM
2683 * NEWS: NPTL is no longer an add-on!
2684 * nptl/internaltypes.h: Moved ...
2685 * sysdeps/nptl/internaltypes.h: ... here.
2686 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2687 * sysdeps/nptl/fork.c: Likewise.
2688 * sysdeps/nptl/gai_misc.h: Likewise.
2689 * sysdeps/nptl/librt-cancellation.c: Likewise.
2690 * sysdeps/nptl/jmp-unwind.c: Likewise.
2691 * sysdeps/nptl/setxid.h: Likewise.
2692 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2693 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2694 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2695 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2696 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2697 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2698 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2699 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2700 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2701 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2702 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2703 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2704 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2705 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2706 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2707 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2708 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2709 * nptl/Makeconfig: Moved ...
2710 * sysdeps/nptl/Makeconfig: ... here.
2711 * nptl/configure: File removed.
2712 * nptl/ANNOUNCE: File removed.
2713 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2714 * sysdeps/unix/sysv/linux/configure: Regenerated.
2715
08192659
RM
2716 * nptl/Makefile (routines): Add libc_pthread_init,
2717 libc_multiple_threads, register-atfork and unregister-atfork.
2718 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2719 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2720 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2721 pthread-pi-defines.sym, structsem.sym.
2722 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2723 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2724 [$(subdir) = nptl] (tests): Add tst-setgetname.
2725 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2726 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2727 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2728 [!LIBC_SIGACTION]: Remove aliases.
2729 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2730 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2731 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2732 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2733 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2734 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2737 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2738 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2739 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2740 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2741 __libc_allocate_rtsig_private.
2742 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2743 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2744 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2745 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2746 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2747 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2748 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2749 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2750 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2751 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2752 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2753 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2754 * nptl/internaltypes.h: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2756 * sysdeps/nptl/jmp-unwind.c: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2758 * nptl/libc-lowlevellock.c: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2760 * nptl/libc_multiple_threads.c: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2762 * nptl/libc_pthread_init.c: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2764 * nptl/lowlevelbarrier.sym: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2766 * nptl/lowlevelcond.sym: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2768 * nptl/lowlevellock.c: ... here.
2769 * nptl/lowlevellock.h: Moved ...
2770 * sysdeps/nptl/lowlevellock.h: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2772 * nptl/lowlevelrobustlock.c: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2774 * nptl/lowlevelrobustlock.sym: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2776 * nptl/lowlevelrwlock.sym: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2778 * nptl/pt-fork.c: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2780 * nptl/pthread-pi-defines.sym: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2782 * nptl/pthread_attr_getaffinity.c: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2784 * nptl/pthread_attr_setaffinity.c: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2786 * nptl/pthread_mutex_cond_lock.c: ... here.
2787 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2788 Update #include.
2789 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2790 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2791 * nptl/pthread_once.c: ... here, replacing old file.
2792 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2793 * nptl/pthread_yield.c: ... here.
2794 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2795 * nptl/register-atfork.c: ... here.
2796 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2797 * nptl/sem_post.c: ... here.
2798 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2799 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2800 * nptl/sem_timedwait.c: ... here.
2801 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2802 * nptl/sem_trywait.c: ... here.
2803 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2804 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2805 * nptl/sem_wait.c: ... here.
2806 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2807 * nptl/structsem.sym: ... here.
2808 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2809 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2810 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2811 * nptl/unregister-atfork.c: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2813 * nptl/unwindbuf.sym: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2815 * sysdeps/nptl/fork.c: ... here.
2816 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2817 * sysdeps/nptl/fork.h: ... here.
2818 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2819 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2820 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2821 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2822 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2824 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2825 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2826 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2827 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2828 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2830 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2831 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2832 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2833 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2834 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2835 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2836 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2837 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2838 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2840 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2842 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2844 * sysdeps/unix/sysv/linux/raise.c: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2846 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2848 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2849 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2850 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2852 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2853 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2854 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2855 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2856 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2858 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2859 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2860
96baf6ff
SP
28612014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2862
2863 * sysdeps/generic/memcopy.h: Add comment for
2864 MEMCPY_OK_FOR_FWD_MEMMOVE.
2865
6b7b14b2
WN
28662014-07-04 Will Newton <will.newton@linaro.org>
2867
1570a72b
WN
2868 * string/memchr.c: Merge from gnulib.
2869 [_LIBC]: Remove conditionals.
2870 (__ptr_t): Remove define.
2871 (LONG_MAX_32_BITS): Likewise.
2872 (LONG_MAX): Likewise.
2873 (MEMCHR): Use ANSI prototype and optimize algorithm.
2874
6b7b14b2
WN
2875 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2876
38851324
SP
28772014-07-03 Roland McGrath <roland@hack.frob.com>
2878
3d9eb57c
RM
2879 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2880 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2881
78b984ae
RM
2882 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2883 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2884 in a bare environment with no <stdlib.h> installed.
2885 * sysdeps/nptl/configure: Regenerated.
2886
2d5976a5
RM
2887 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2888
c1f5acd4
RM
2889 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2890 AC_EGREP_CPP for kernel header checks, so they only succeed if
2891 including <linux/version.h> actually works right.
2892 * sysdeps/unix/sysv/linux/configure: Regenerated.
2893
4d614fe5
RM
2894 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2895 value so it's not diagnosed as unused.
2896
38851324
SP
2897 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2898 thing) with "ifeq ($(subdir),rt)".
2899
b3ec00e5
RH
29002014-07-03 Richard Henderson <rth@redhat.com>
2901
69862e25
RH
2902 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2903 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2904 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2905
d5e16ade
RH
2906 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2907 (math_force_eval): New.
2908
ca7b945c
RH
2909 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2910 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2911
cd1175a3
RH
2912 * sysdeps/alpha/fpu/s_round.c: Remove file.
2913 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2914
b3ec00e5
RH
2915 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2916 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2917 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2918 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2919 (_dl_start, print_statistics): Likewise.
2920 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2921 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2922
2923 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2924 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2925 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2926 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2928 (HP_SMALL_TIMING_AVAIL): Define.
2929 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2930 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2931 (HP_SMALL_TIMING_AVAIL): Define.
2932 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2933 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2934
2935 * sysdeps/aarch64/hp-timing.h: New file.
2936
2937 * sysdeps/generic/hp-timing.h: Remove dead comment.
2938 * sysdeps/generic/hp-timing-common.h: New file.
2939 * sysdeps/alpha/hp-timing.h: Include it.
2940 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2941 * sysdeps/i386/i686/hp-timing.h: Likewise.
2942 * sysdeps/ia64/hp-timing.h: Likewise.
2943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2944 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2945 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2946 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2947 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2948 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2949 (hp_timing_t): New.
2950
2951 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2952 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2953 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2954 * elf/rtld.c (_dl_start_final): Likewise.
2955 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2956 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2957 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2958 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2959 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2960 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2961 (HP_TIMING_DIFF_INIT): Remove.
2962 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2964 (HP_TIMING_DIFF_INIT): Remove.
2965 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2966 * sysdeps/i386/i686/hp-timing.c: Remove file.
2967 * sysdeps/x86_64/hp-timing.c: Remove file.
2968 * sysdeps/ia64/hp-timing.c: Remove file.
2969 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2970 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2972 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2973
2974 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2975 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2976 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2977 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2979 (HP_TIMING_ACCUM): Remove.
2980 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2981 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2982 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2983
2984 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2985 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2986 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2987 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2988 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2989 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2991 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2992
2993 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2994
225f410f
MR
29952014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2996
2997 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2998
3247f285
SP
29992014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3000
3001 Sync up with gettext.
3002 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3003 [_MSC_VER]: Include malloc.h
3004 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3005 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3006 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3007 TEMP_FAILURE_RETRY. Cast return of alloca.
3008 [!_LIBC] Call gl_rwlock_init.
3009 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3010
d12704c7
SP
30112014-07-02 Roland McGrath <roland@hack.frob.com>
3012
3013 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3014 before checking its value.
3015
99f8dc92
SP
30162014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
05fdac77
SP
3018 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3019
99f8dc92
SP
3020 * debug/memcpy_chk.c: Don't include pagecopy.h.
3021 * debug/mempcpy_chk.c: Likewise.
3022 * string/memcpy.c: Likewise.
3023 * string/memmove.c: Likewise.
3024 * sysdeps/powerpc/memmove.c: Likewise.
3025 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3026 definition of PAGE_COPY_FWD_MAYBE here...
3027 * sysdeps/generic/pagecopy.h: ... from here.
3028 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3029
bc8ea385
VR
30302014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3031 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3032
3033 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3035 optimizations.
3036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3037 (__libc_ifunc_impl_list): Likewise.
3038 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3039 multiarch strcat for PPC64.
3040 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3041 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3042
fe5f34e4
RM
30432014-07-02 Roland McGrath <roland@hack.frob.com>
3044
3045 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3046
256aa665
SP
30472014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3048
d4eb8195
SP
3049 * intl/loadmsgcat.c: Remove declaration of
3050 get_sysdep_segment_value.
3051 (get_sysdep_segment_value): Use ISO C style.
3052 (_nl_load_domain): Use ISO C style. Get rid of redundant
3053 semicolon. Fix typo and formatting in comment.
3054 (_nl_unload_domain): Use ISO C style.
3055
256aa665
SP
3056 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3057
b100f9aa
WN
30582014-07-02 Will Newton <will.newton@linaro.org>
3059
3060 * malloc/obstack.c: Merge from gnulib master.
3061 [HAVE_CONFIG_H]: Remove conditional code.
3062 [!_LIBC]: Include config.h.
3063 [!ELIDE_CODE]: Don't include inttypes.h, include
3064 stdint.h unconditionally.
3065 (print_and_abort): Mark as _Noreturn.
3066 (_obstack_allocated_p): Mark as __attribute_pure__.
3067 (obstack_free): Rename to __obstack_free.
3068 [!__attribute__]: Remove conditional code.
3069 * malloc/obstack.h: Merge from gnulib master.
3070 [__cplusplus]: Move conditional down.
3071 [!__attribute_pure__]: Define __attribute_pure__ here
3072 if it is not already defined.
3073 (_obstack_memory_used): Mark as __attribute_pure__.
3074 [!__obstack_free]: Define as obstack_free.
3075 [__GNUC__]: Remove check for ancient NeXT gcc.
3076
c4c41244
PE
30772014-07-02 Will Newton <will.newton@linaro.org>
3078 Paul Eggert <eggert@cs.ucla.edu>
3079
3080 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3081
e1e041c4
SP
30822014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3083
3084 * resolv/gethnamaddr.c: Add comment warning that the file is
3085 not maintained.
3086
ccf431ff
CD
30872014-07-01 Carlos O'Donell <carlos@redhat.com>
3088
d34570a6
CD
3089 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3090 entries.
3091
ccf431ff
CD
3092 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3093 entry for aio_cancel and aio_cancel64.
3094 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3095 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3096 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3097 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3098 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3099 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3100 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3101 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3102 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3103 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3104 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3105 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3106 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3107
ca06321d
RM
31082014-07-01 Roland McGrath <roland@hack.frob.com>
3109
3110 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3111 * nptl/pthread_mutex_lock.c: Likewise.
3112 * nptl/pthread_mutex_timedlock.c: Likewise.
3113 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3114
a1ac3184
RH
31152014-07-01 Richard henderson <rth@redhat.com>
3116
631021e0
RH
3117 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3118 (__isnan, __isnanl): Remove.
3119 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3120
a1ac3184
RH
3121 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3122
0c1d731f
SL
31232014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3124
3125 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3126
76985d3e
SP
31272014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3128
3129 * resolv/nss_dns/dns-host.c (getanswer_r)
3130 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3131
b0cb3096
JM
31322014-07-01 Joseph Myers <joseph@codesourcery.com>
3133
3134 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3135 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3136 undefine.
3137 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3138 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3139
4d76cb39
RM
31402014-07-01 Roland McGrath <roland@hack.frob.com>
3141
3142 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3143 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3144
3145 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3146 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3147
3148 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3149 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3150 ... here.
3151 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3152 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3153
3154 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3155 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3156 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3157 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3158
3159 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3160 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3161 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3162 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3163 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3164 Moved ...
3165 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3166 ... here.
3167 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3168 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3169 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3170 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3172 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3174 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3175 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3176 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3178 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3179 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3180 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3182 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3183 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3184 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3185 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3186 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3187 ... here.
3188 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3189 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3190 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3191 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3192 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3193 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3194 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3195 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3196
0cdcad17
DH
31972014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3198
3199 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3200 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3201 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3202 Add sysdep.
3203
9b71d0e3
AZ
32042014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3205
3206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3207
665390c2
JM
32082014-06-30 Joseph Myers <joseph@codesourcery.com>
3209
ae05a9d7
JM
3210 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3211 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3212
a7672a2f
JM
3213 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3214
665390c2
JM
3215 * sysdeps/arm/libm-test-ulps: Regenerated.
3216
d7a05d07
MR
32172014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3218 Roland McGrath <roland@hack.frob.com>
3219
3220 * test-skeleton.c (signal_handler): Kill the whole process group
3221 before killing the child individually.
3222 (main): Report any failure on `setpgid'.
3223
46f1d8a6
RM
32242014-06-30 Roland McGrath <roland@hack.frob.com>
3225
3226 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3227 from _TLS_H to _ARM_NPTL_TLS_H.
3228 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3229 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3230
9c37ec0b
JM
32312014-06-30 Joseph Myers <joseph@codesourcery.com>
3232
ce9c5b3e
JM
3233 [BZ #16539]
3234 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3235 (__expm1l): Return argument unchanged when small but not
3236 subnormal.
3237
3a6e9887
JM
3238 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3239 include macro name.
3240 (_FP_UNPACK_RAW_1_P): Likewise.
3241 (_FP_PACK_RAW_1): Likewise.
3242 (_FP_PACK_RAW_1_P): Likewise.
3243 (_FP_MUL_MEAT_1_wide): Likewise.
3244 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3245 (_FP_MUL_MEAT_1_hard): Likewise.
3246 (_FP_DIV_MEAT_1_imm): Likewise.
3247 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3248 (_FP_DIV_MEAT_1_udiv): Likewise.
3249 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3250 (_FP_UNPACK_RAW_2): Likewise.
3251 (_FP_UNPACK_RAW_2_P): Likewise.
3252 (_FP_PACK_RAW_2): Likewise.
3253 (_FP_PACK_RAW_2_P): Likewise.
3254 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3255 (_FP_MUL_MEAT_2_wide): Likewise.
3256 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3257 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3258 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3259 (_FP_MUL_MEAT_2_gmp): Likewise.
3260 (_FP_DIV_MEAT_2_udiv): Likewise.
3261 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3262 (_FP_FRAC_SRL_4): Likewise.
3263 (_FP_FRAC_SRST_4): Likewise.
3264 (_FP_FRAC_SRS_4): Likewise.
3265 (_FP_UNPACK_RAW_4): Likewise.
3266 (_FP_UNPACK_RAW_4_P): Likewise.
3267 (_FP_PACK_RAW_4): Likewise.
3268 (_FP_PACK_RAW_4_P): Likewise.
3269 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3270 (_FP_MUL_MEAT_4_wide): Likewise.
3271 (_FP_MUL_MEAT_4_gmp): Likewise.
3272 (umul_ppppmnnn): Likewise.
3273 (_FP_DIV_MEAT_4_udiv): Likewise.
3274 (__FP_FRAC_ADD_4): Likewise.
3275 (__FP_FRAC_SUB_3): Likewise.
3276 (__FP_FRAC_SUB_4): Likewise.
3277 (__FP_FRAC_DEC_3): Likewise.
3278 (__FP_FRAC_DEC_4): Likewise.
3279 (__FP_FRAC_ADDI_4): Likewise.
3280 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3281 (_FP_FRAC_SRL_8): Likewise.
3282 (_FP_FRAC_SRS_8): Likewise.
3283
9c37ec0b
JM
3284 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3285 include macro name.
3286 (FP_UNPACK_RAW_EP): Likewise.
3287 (FP_PACK_RAW_E): Likewise.
3288 (FP_PACK_RAW_EP): Likewise.
3289 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3290 (_FP_ISSIGNAN): Likewise.
3291 (_FP_ADD_INTERNAL): Likewise.
3292 (_FP_FMA): Likewise.
3293 (_FP_CMP): Likewise.
3294 (_FP_SQRT): Likewise.
3295 (_FP_TO_INT): Likewise.
3296 (_FP_FROM_INT): Likewise.
3297 (FP_EXTEND): Likewise.
3298 (_FP_DIV_MEAT_N_loop): Likewise.
3299
2125f674
MR
33002014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3301
3302 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3303 throughout.
3304
edea4028
JM
33052014-06-29 Joseph Myers <joseph@codesourcery.com>
3306
3307 [BZ #17097]
3308 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3309 result with correct sign in case of exponents that produce
3310 overflow except for X very close to 1.
3311
dd0ba018
PE
33122014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3313
3314 mktime: merge #if/#ifdef usage from glibc
3315 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3316 as that works with both Glibc's and Gnulib's style.
3317 See thread starting at Siddhesh Poyarekar's bug report at:
3318 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3319
64df73c2
SP
33202014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3321
3322 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3323 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3324 * sysdeps/tile/tilegx/memmove.c: Remove file.
3325
f1eafb41
JM
33262014-06-27 Joseph Myers <joseph@codesourcery.com>
3327
3328 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3329 abi-name definition.
3330 * scripts/soversions.awk: Do not handle or generate ABI lines.
3331 * shlib-versions: Remove ABI entries.
3332 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3333 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3334
58eb0862
RM
33352014-06-27 Roland McGrath <roland@hack.frob.com>
3336
37caf178
RM
3337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3338 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3339 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3340 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3342 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3344 Moved ...
3345 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3346 ... here.
3347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3348 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3350 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3352 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3354 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3358 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3360 Moved ...
3361 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3363 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3365 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3367 Moved ...
3368 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3370 Moved ...
3371 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3373 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3375 Moved ...
3376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3378 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3384 Moved ...
3385 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3387 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3388 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3389 Moved ...
3390 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3392 Moved ...
3393 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3395 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3397 Moved ...
3398 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3399 ... here.
3400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3401 Identical file removed.
3402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3403 Moved ...
3404 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3405 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3406 Identical file removed.
3407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3410 Moved ...
3411 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3413 Identical file removed.
3414 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3415 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3417 Identical file removed.
3418 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3419 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3421 Identical file removed.
3422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3423 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3425 Identical file removed.
3426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3427 Moved ...
3428 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3430 Identical file removed.
3431 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3432 Moved ...
3433 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3435 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3437 Identical file removed.
3438 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3439 Moved ...
3440 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3441 ... here.
3442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3443 Identical file removed.
3444 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3445 Moved ...
3446 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3448 Identical file removed.
3449 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3450 Moved ...
3451 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3457 Moved ...
3458 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3459 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3460 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3461
58eb0862
RM
3462 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3463 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3464 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3465 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3466 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3467
6f12d062
AS
34682014-06-27 Arjun Shankar <arjun.is@lostca.se>
3469
3470 [BZ #17092]
3471 * nscd/nscd.c (monitor_child): Return exit status of child
3472 instead of return value from wait syscall.
3473
be254932
JM
34742014-06-27 Joseph Myers <joseph@codesourcery.com>
3475
cb403c34
JM
3476 * configure.ac (libc_commonpagesize): Remove variable.
3477 (libc_relro_required): Likewise.
3478 (libc_cv_z_relro): Remove configure test.
3479 * configure: Regenerated.
3480 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3481 variable.
3482 (libc_relro_required): Likewise.
3483 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3484 (libc_relro_required): Likewise.
3485 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3486 (libc_relro_required): Likewise.
3487 * sysdeps/arm/preconfigure: Regenerated.
3488 * sysdeps/ia64/preconfigure: Remove file.
3489 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3490 variable.
3491 (libc_relro_required): Likewise.
3492
be254932
JM
3493 [BZ #16561]
3494 [BZ #16562]
3495 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3496 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3497 recompute overflowing results in original rounding mode.
3498 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3499 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3500 recompute overflowing results in original rounding mode.
3501 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3502 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3503 recompute overflowing results in original rounding mode.
3504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3505 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3506 recompute overflowing results in original rounding mode.
3507 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3508 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3509 recompute overflowing results in original rounding mode.
3510 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3511 (libc_feholdsetround_ctx): New macro.
3512 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3513 * sysdeps/i386/fpu/libm-test-ulps: Update.
3514 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3515
b351d85a
JM
35162014-06-26 Joseph Myers <joseph@codesourcery.com>
3517
3518 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3519 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3520 corresponding .cpsetup call.
3521
3cb4de47
RM
35222014-06-26 Roland McGrath <roland@hack.frob.com>
3523
3524 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3525 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3526 * sysdeps/arm/Makefile [$(subdir) = csu]
3527 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3528 (static-only-routines): Add aeabi_read_tp here.
3529 (shared-only-routines): Add libc-aeabi_read_tp here.
3530 (CFLAGS-libc-start.c): Add -fexceptions here.
3531 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3532 (sysdep_routines, static-only-routines, shared-only-routines):
3533 Don't add to these here.
3534 (CFLAGS-libc-start.c): Likewise.
3535
3536 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3537 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3538 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3539 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3540 * sysdeps/arm/Makefile [$(subdir) = rt]
3541 (librt-sysdep_routines, librt-shared-only-routines):
3542 Append rt-aeabi_unwind_cpp_pr1 here.
3543 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3544 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3545 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3546 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3547 Append nptl-aeabi_unwind_cpp_pr1 here.
3548 (tests): Filter out tst-cleanupx4 here.
3549 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3550 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3551 Don't do those here.
3552
354426bb
JM
35532014-06-26 Joseph Myers <joseph@codesourcery.com>
3554
3555 * scripts/list-sources.sh: Do not handle ports specially.
3556
28b0a8c9
RM
35572014-06-26 Roland McGrath <roland@hack.frob.com>
3558
a3dd035d
RM
3559 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3560 * sysdeps/arm/feupdateenv.c: Likewise.
3561
28b0a8c9
RM
3562 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3563
e66a8203
JM
35642014-06-26 Joseph Myers <joseph@codesourcery.com>
3565
3566 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3567 trailing whitespace removed.
3568 * scripts/config.guess: Update to version 2014-03-23.
3569 * scripts/config.sub: Update to version 2014-05-01
3570 * scripts/install-sh: Update to version 2013-12-25.23.
3571 * scripts/move-if-change: Update from gnulib.
3572
74171115
SP
35732014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3574
b97c9ce5
SP
3575 * debug/memmove_chk.c: Remove pagecopy.h include.
3576
4000f892
SP
35772014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3578
74171115
SP
3579 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3580 identical to gnulib mktime.
3581
a8779c28
JM
35822014-06-26 Joseph Myers <joseph@codesourcery.com>
3583
e64708de
JM
3584 * configure.ac: Do not test for machine being rs6000. Do not test
3585 for powerpc*-*soft.
3586 * configure: Regenerated.
3587
a8779c28
JM
3588 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3589 test.
3590 * configure: Regenerated.
3591 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3592 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3593 Remove configure test.
3594 * sysdeps/arm/configure: Regenerated.
3595 * sysdeps/nptl/configure.ac: Do not check
3596 libc_cv_asm_cfi_directives.
3597 * sysdeps/nptl/configure: Regenerated.
3598 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3599 * sysdeps/x86_64/nptl/configure: Remove generated file.
3600 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3601 unconditional.
3602 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3603
2aac0a86
SP
36042014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3605
059bf913
SP
3606 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3607 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3608 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3609 it is defined.
3610
4cf5b6d0
SP
3611 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3612 instead of whether it is defined.
3613 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3614 * sysdeps/hppa/dl-machine.h: Likewise.
3615 * sysdeps/ia64/dl-machine.h: Likewise.
3616 * sysdeps/m68k/dl-machine.h: Likewise.
3617 * sysdeps/microblaze/dl-machine.h: Likewise.
3618 * sysdeps/mips/dl-machine.: Likewise.
3619 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3620 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3621 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3622 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3623 * sysdeps/sh/dl-machine.h: Likewise.
3624 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3625 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3626 * sysdeps/tile/dl-machine.h: Likewise.
3627 * sysdeps/x86_64/dl-machine.h: Likewise.
3628
2aac0a86
SP
3629 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3630 code.
3631 (verify_persistent_db): Likewise.
3632
6ad2df0b
RM
36332014-06-26 Roland McGrath <roland@hack.frob.com>
3634
d8a483f3
RM
3635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3636 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3638 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3640 Moved ...
3641 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3642 ... here.
3643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3646 Identical file removed.
3647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3650 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3652 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3656 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3658 Moved ...
3659 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3665 Moved ...
3666 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3668 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3670 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3672 Identical file removed.
3673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3674 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3676 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3678 Moved ...
3679 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3680 ... here.
3681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3682 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3684 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3688 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3692 Moved ...
3693 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3695 Moved ...
3696 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3698 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3700 Moved ...
3701 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3703 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3704
52ae23b4
RM
3705 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3706 folded into ...
3707 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3708 * sysdeps/unix/sysv/linux/s390/Versions
3709 (libpthread: GLIBC_2.19): New version set.
3710 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3711 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3712 (librt: GLIBC_2.3.3): New version set.
3713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3714 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3715 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3717 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3719 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3721 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3722 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3723 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3725 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3727 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3729 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3731 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3733 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3735 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3737 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3739 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3743 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3749 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3751 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3753 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3758
39507e4a
RM
3759 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3760 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3761 (__libc_vfork): Define the function under this name.
3762 [!NOT_IN_libc] (__vfork): Make this an alias.
3763 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3765 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3766 (__libc_vfork): Define the function under this name.
3767 [!NOT_IN_libc] (__vfork): Make this an alias.
3768 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3769 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3770 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3771 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3774
e549ee56
RM
3775 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3776 code that was previously under [RESET_PID].
3777 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3778 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3780
6ad2df0b
RM
3781 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3782 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3783 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3784 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3786 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3787 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3788 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3789 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3790 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3791 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3792 Moved ...
3793 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3794 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3795 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3796 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3797 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3798 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3799 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3800 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3801 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3803 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3804 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3805 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3806 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3807 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3809 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3810 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3811 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3812 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3813 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3815 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3816 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3817 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3818 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3819 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3820 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3821 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3822
7c1c1d8e
RM
38232014-06-25 Roland McGrath <roland@hack.frob.com>
3824
3825 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3826 that was previously under [RESET_PID].
3827 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3828
3e239be6
JM
38292014-06-25 Joseph Myers <joseph@codesourcery.com>
3830
74385da5
JM
3831 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3832 not undefine and redefine.
3833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3834 [O_CLOEXEC]: Make code unconditional.
3835 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3836 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3837 <kernel-features.h>.
3838 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3839 conditional variable definition.
3840 (shm_open) [O_CLOEXEC]: Make code unconditional.
3841 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3842 code.
3843
c2570a0b
JM
3844 * configure.ac (USE_REGPARMS): Don't define here.
3845 * configure: Regenerated.
3846 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3847 * sysdeps/i386/configure: Regenerated.
3848
11b076bb
JM
3849 * nptl/createthread.c: Don't include kernel-features.h.
3850 * nptl/pthread_cancel.c: Likewise.
3851 * nptl/pthread_condattr_setclock.c: Likewise.
3852 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3853 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3854 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3855 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3856 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3857 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3858 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3861 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3862 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3863 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3864 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3865 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3866 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3867 * nscd/gai.c: Likewise.
3868 * nss/nss_db/db-open.c: Likewise.
3869 * sysdeps/generic/ldsodefs.h: Likewise.
3870 * sysdeps/sh/nptl/tls.h: Likewise.
3871 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3872 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3873 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3874 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3875 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3876 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3877 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3878 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3880 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3881 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3882 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3883 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3884 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3885 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3886 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3887 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3888 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3889 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3890 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3891 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3892 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3893 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3894 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3899 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3900 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3901 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3902 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3903 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3904 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3905 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3906 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3907 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3908 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3909 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3910 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3911 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3912 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3913 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3914 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3915 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3916 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3917 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3918 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3919 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3920 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3921 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3922 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3923 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3924 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3925 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3926 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3927 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3951 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3952 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3953 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3954 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3955 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3957 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3958 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3959 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3960 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3961 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3962 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3963 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3964 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3965 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3966 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3967 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3968 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3969 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3970 * sysdeps/unix/sysv/linux/system.c: Likewise.
3971 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3972 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3973 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3974 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3975 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3976 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3977 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3978
92072d57
JM
3979 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3980 * configure: Regenerated.
3981 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3982
3e239be6
JM
3983 * configure.ac (base_machine): Do not set specially for particular
3984 machines here.
3985 * configure: Regenerated.
3986 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3987 settings from configure.ac.
3988 * sysdeps/i386/preconfigure: New file.
3989 * sysdeps/s390/preconfigure: Likewise.
3990 * sysdeps/sh/preconfigure: Likewise.
3991 * sysdeps/sparc/preconfigure: Likewise.
3992
06d50baa
RM
39932014-06-25 Roland McGrath <roland@hack.frob.com>
3994
74836003
RM
3995 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3996 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3997 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3998 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3999 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4000 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4001 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4002 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4003 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4004 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4005 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4006 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4007 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4008 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4010 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4011 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4012 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4013 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4014
4015 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4016 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4017 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4018 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4019 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4020 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4021 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4022 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4023 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4024 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4025 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4026 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4027 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4028 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4029 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4030 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4031 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4032 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4033 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4034 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4035 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4036 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4038 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4040 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4042 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4045 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4046 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4048 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4050 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4052 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4053
06d50baa
RM
4054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4055 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4059 Moved ...
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4061 ... here.
4062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4063 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4067 Moved ...
4068 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4076 Moved ...
4077 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4079 Moved ...
4080 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4084 Moved ...
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4089 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4091 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4095 Moved ...
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4097 ... here.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4103 Moved ...
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4112 Moved ...
4113 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4115 Moved ...
4116 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4118 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4120 Moved ...
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4125 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4126
a4ccbc9b
JM
41272014-06-25 Joseph Myers <joseph@codesourcery.com>
4128
0828edbf
JM
4129 * timezone/checktab.awk: Update from tzcode 2014e.
4130 * timezone/private.h: Likewise.
4131 * timezone/tzfile.h: Likewise.
4132 * timezone/zdump.c: Likewise.
4133 * timezone/zic.c: Likewise.
4134
a4ccbc9b
JM
4135 * sysdeps/unix/sysv/linux/kernel-features.h
4136 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4137 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4138 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4139 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4140 Remove conditional code.
4141
9aea0cb8
WN
41422014-06-25 Will Newton <will.newton@linaro.org>
4143
4144 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4145 (_dl_arm_cap_flags): Add HWCAP2 values.
4146 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4147 (_DL_HWCAP_COUNT): Increase to 37.
4148 (_DL_HWCAP_LAST): New define.
4149 (_DL_HWCAP2_LAST): New define.
4150 (_dl_procinfo): Add support for printing
4151 AT_HWCAP2 entries.
4152 (_dl_string_hwcap): Use _dl_hwcap_string.
4153
6eaa65ce
AZ
41542014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4155
4156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4157
0f5b7185
JM
41582014-06-25 Joseph Myers <joseph@codesourcery.com>
4159
cfd2ea50
JM
4160 * README: Do not mention ports directory.
4161
cecf2ed4
JM
4162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4163 Remove macro.
4164 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4165 <kernel-features.h>.
4166 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4167 conditional variable definition.
4168 (__futimes): Update comment.
4169 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4170 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4171
a638de82
JM
4172 [BZ #16560]
4173 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4174 arguments close to 0.
4175 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4176 Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4178 Likewise.
4179 * math/auto-libm-test-in: Add more tests of exp10.
4180 * math/auto-libm-test-out: Regenerated.
4181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4182
0f5b7185
JM
4183 * sysdeps/unix/sysv/linux/kernel-features.h
4184 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4185 * sysdeps/unix/sysv/linux/readv.c: Do not include
4186 <kernel-features.h>.
4187 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4188 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4189 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4190 unconditional.
4191 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4192 conditional code.
4193 * sysdeps/unix/sysv/linux/writev.c: Do not include
4194 <kernel-features.h>.
4195 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4196 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4197 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4198 unconditional.
4199 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4200 conditional code.
4201
c7aec4be
WN
42022014-06-25 Will Newton <will.newton@linaro.org>
4203
4204 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4205 comment changes throughout the file. Remove checks
4206 for HAVE_*_H definitions that are not required.
4207 (__gen_tempname): Call abort if an unknown kind value is
4208 passed.
4209
c5241f95
AS
42102014-06-25 Andreas Schwab <schwab@suse.de>
4211
4212 [BZ #17086]
4213 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4214 scalbln, scalblnf, scalblnl in libc.
4215
911422da
SP
42162014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4217
4218 [BZ #17086]
4219 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4220 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4221 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4222
0d749bbe
RM
42232014-06-24 Roland McGrath <roland@hack.frob.com>
4224
4225 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4226 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4227 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4228 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4229 Update #include.
4230 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4231 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4232 Update #include.
4233 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4234 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4235 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4236 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4237 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4238 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4239 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4240 * sysdeps/x86/bits/semaphore.h: ... here.
4241 * sysdeps/x86/nptl/elide.h: Moved ...
4242 * sysdeps/x86/elide.h: ... here.
4243 * sysdeps/x86_64/nptl/Implies: File removed.
4244 * sysdeps/i386/nptl/Implies: File removed.
4245
0ea5d373
JM
42462014-06-24 Joseph Myers <joseph@codesourcery.com>
4247
4060283d
JM
4248 [BZ #16539]
4249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4250 return the argument for normal arguments with exponent below -64.
4251 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4252 Likewise.
4253 * math/auto-libm-test-in: Add another test of expm1.
4254 * math/auto-libm-test-out: Regenerated.
4255
e7dd3c8c
JM
4256 [BZ #16287]
4257 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4258 calling __erfcl for arguments at least 16.
4259 * math/auto-libm-test-in: Add more tests of erf.
4260 * math/auto-libm-test-out: Regenerated.
4261
0ea5d373
JM
4262 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4263 individual architectures.
4264 * sysdeps/unix/sysv/linux/configure: Regenerated.
4265 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4266 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4267 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4268 (ldd_rewrite_script): Define variable.
4269 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4271 file.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4273 generated file.
4274 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4275 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4276 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4277 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4278 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4279 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4280 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4281 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4282
2307e126
SP
42832014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4284
4285 [BZ #17084]
4286 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4287 Rename member __data.d to __data.__elision_data.
4288
c0a4ed77
W
42892014-06-24 Wilco <wdijkstr@arm.com>
4290
4291 * NEWS: Add 16918 to fixed bug list.
4292
b8c00573
W
42932014-06-24 Wilco <wdijkstr@arm.com>
4294
4295 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4296
b5570d92
W
42972014-06-24 Wilco <wdijkstr@arm.com>
4298
4299 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4300 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4301 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4302 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4303 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4304 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4305 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4306 Use _FPU_MASK_RM.
4307
947bdca2
W
43082014-06-24 Wilco <wdijkstr@arm.com>
4309
4310 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4311
00f669ed
W
43122014-06-24 Wilco <wdijkstr@arm.com>
4313
4314 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4315 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4316 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4317 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4318
db59bad3
W
43192014-06-24 Wilco <wdijkstr@arm.com>
4320
4321 [BZ #16918]
4322 * sysdeps/arm/feupdateenv.c (feupdateenv):
4323 Rewrite to reduce FPSCR accesses and fix return value.
4324
001f7b77
W
43252014-06-24 Wilco <wdijkstr@arm.com>
4326
4327 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4328 Optimize to avoid unnecessary FPSCR writes.
4329 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4330 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4331 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4332 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4333
4841e6a6
W
43342014-06-24 Wilco <wdijkstr@arm.com>
4335
4336 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4337 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4338 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4339 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4340 Call libc_fetestexcept_vfp.
4341 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4342 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4343 __SOFTFP__ ifdef so that they can be built for softfp.
4344
0813022c
SP
43452014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4346
08e5862f
SP
4347 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4348 argument type signed char.
4349
0813022c
SP
4350 * Makerules (check-abi): Dump diff of symlist if the test
4351 fails.
4352
3fc7236a
RM
43532014-06-23 Roland McGrath <roland@hack.frob.com>
4354
aba8ef95
RM
4355 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4356 using abort.
4357
3fc7236a
RM
4358 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4359 Remove unused variable ST.
4360
4da6db51
JM
43612014-06-23 Joseph Myers <joseph@codesourcery.com>
4362
4648909d
JM
4363 [BZ #16354]
4364 [BZ #17061]
4365 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4366 small arguments before calling __expm1.
4367 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4368 small arguments before calling __expm1f.
4369 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4370 small arguments before calling __expm1l.
4371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4372 Likewise.
4373 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4374 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4375 spurious underflow for some cosh tests.
4376 * math/auto-libm-test-out: Regenerated.
4377 * sysdeps/i386/fpu/libm-test-ulps: Update.
4378
46a3d3c7
JM
4379 [BZ #17050]
4380 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4381 (__ieee754_y1): Set errno if return value overflows.
4382 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4383 (__ieee754_y1f): Set errno if return value overflows.
4384 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4385 (__ieee754_y1l): Set errno if return value overflows.
4386 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4387 (__ieee754_y1l): Set errno if return value overflows.
4388 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4389 * math/auto-libm-test-out: Regenerated.
4390
863893ec
JM
4391 * math/gen-auto-libm-tests.c: Document use of
4392 ignore-zero-inf-sign.
4393 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4394 (input_flags): Add ignore-zero-inf-sign.
4395 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4396 * math/gen-libm-test.pl (generate_testfile): Handle
4397 ignore-zero-inf-sign.
4398 * math/auto-libm-test-in: Mark some cpow tests with
4399 ignore-zero-inf-sign and some with xfail-rounding.
4400 * math/auto-libm-test-out: Regenerated.
4401 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4402 * sysdeps/i386/fpu/libm-test-ulps: Update.
4403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4404
4da6db51
JM
4405 [BZ #16315]
4406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4407 overflowing or underflowing operations take place with sign of
4408 result.
4409 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4410 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4411 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4412 (__ieee754_pow): Recompute overflowing and underflowing results in
4413 original rounding mode.
4414 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4415 (__powl_helper): Allow negative argument X and scale negated value
4416 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4417 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4418 overflowing or underflowing operations take place with sign of
4419 result.
4420 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4421 Include <math.h>.
4422 * math/auto-libm-test-in: Add more tests of pow.
4423 * math/auto-libm-test-out: Regenerated.
4424 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4425 (pow_tonearest_test_data): Remove.
4426 (pow_test_tonearest): Likewise.
4427 (pow_towardzero_test_data): Likewise.
4428 (pow_test_towardzero): Likewise.
4429 (pow_downward_test_data): Likewise.
4430 (pow_test_downward): Likewise.
4431 (pow_upward_test_data): Likewise.
4432 (pow_test_upward): Likewise.
4433 (main): Don't call removed functions.
4434 * sysdeps/i386/fpu/libm-test-ulps: Update.
4435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4436
5686b236
RM
44372014-06-23 Roland McGrath <roland@hack.frob.com>
4438
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4440 Moved ...
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4443 Moved ...
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4446 Moved ...
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4449 Moved ...
4450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4452 File removed.
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4454 File removed.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4456 File removed.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4458 File removed.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4460 File removed.
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4462 File removed.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4464 File removed.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4466 File removed.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4468 File removed.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4470 File removed.
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4472 File removed.
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4474 File removed.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4476 Moved ...
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4479 Moved ...
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4481 ... here.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4483 Moved ...
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4486 Moved ...
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4489 Moved ...
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4492 Moved ...
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4495 Moved ...
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4498 Moved ...
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4501 Moved ...
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4505 ... here.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4507 Moved ...
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4510 Moved ...
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4512 ... here.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4514 Moved ...
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4516 ... here.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4518 Moved ...
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4520 ... here.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4522 Moved ...
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4525 Moved ...
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4530 Moved ...
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4532 ... here.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4534 Moved ...
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4536 ... here.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4538 Moved ...
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4541 Moved ...
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4544 Moved ...
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4547 Moved ...
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4550 Moved ...
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4552 ... here.
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4554 Moved ...
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4557 Moved ...
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4560 Moved ...
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4563 Moved ...
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4568 Moved ...
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4571 Moved ...
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4574 Moved ...
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4576 ... here.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4578 Moved ...
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4580 ... here.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4582 Moved ...
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4584 ... here.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4586 Moved ...
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4589 Moved ...
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4592 Moved ...
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4595 Moved ...
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4597 ... here.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4599 Moved ...
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4601 ... here.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4603 Moved ...
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4605 ... here.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4607 Moved ...
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4610 Moved ...
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4612
e6d90d67
WD
46132014-06-23 Will Newton <will.newton@linaro.org>
4614 Wilco <wdijkstr@arm.com>
4615
4616 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4617 implementation. Include get-rounding-mode.h.
4618 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4619 [!libc_feholdsetround_noex_ctx]: Define
4620 libc_feholdsetround_noex_ctx.
4621 [!libc_feholdsetround_noexf_ctx]: Define
4622 libc_feholdsetround_noexf_ctx.
4623 [!libc_feholdsetround_noexl_ctx]: Define
4624 libc_feholdsetround_noexl_ctx.
4625 (libc_feholdsetround_ctx): New function.
4626 (libc_feresetround_ctx): New function.
4627 (libc_feholdsetround_noex_ctx): New function.
4628 (libc_feresetround_noex_ctx): New function.
4629
d42df555
RM
46302014-06-23 Roland McGrath <roland@hack.frob.com>
4631
88a46474
RM
4632 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4633 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4634 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4635 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4636 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4637 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4638
15bed472
RM
4639 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4640 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4641 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4642 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4643 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4644 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4646 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4650 Moved ...
4651 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4652 ... here.
4653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4656 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4658 Moved ...
4659 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4663 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4667 Moved ...
4668 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4670 Moved ...
4671 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4675 Moved ...
4676 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4678 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4679 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4680 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4681 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4682 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4683 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4684 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4685 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4686 Moved ...
4687 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4688 ... here.
4689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4690 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4692 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4702 Moved ...
4703 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4707 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4709 Moved ...
4710 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4714 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4715
d42df555
RM
4716 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4717 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4718 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4719 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4721 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4744
76e5216e
JM
47452014-06-23 Joseph Myers <joseph@codesourcery.com>
4746
4747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4748 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4749 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4750 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4751 (IPV6_PMTUDISC_INTERFACE): Likewise.
4752 (IPV6_PMTUDISC_OMIT): Likewise.
4753
7a81cbcc
AS
47542014-06-23 Andreas Schwab <schwab@suse.de>
4755
4756 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4757 Remove unused errout label.
4758
db224009
AZ
47592014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4760
4761 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4762 macro: hardware supports Vector Crypto instructions.
4763
f393b4aa
WN
47642014-06-23 Will Newton <will.newton@linaro.org>
4765
cc7d0447
WN
4766 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4767 rather than __builtin_expect.
4768
d6d06225
WN
4769 * elf/dl-lookup.c (undefined_msg): Remove variable.
4770 (_dl_lookup_symbol_x): Replace undefined_msg with string
4771 literal.
4772
f393b4aa
WN
4773 * elf/dl-lookup.c (do_lookup_unique): New function.
4774 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4775 to a separate function.
4776
ac60763e
AS
47772014-06-23 Andreas Schwab <schwab@suse.de>
4778
4779 [BZ #17079]
4780 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4781 before reading the next line.
4782
c5c13355
WN
47832014-06-23 Will Newton <will.newton@linaro.org>
4784
4785 * test-skeleton.c (signal_handler): Use printf and %m
4786 rather than perror. Use printf rather than fprintf to
4787 stderr. Use puts rather than fputs to stderr.
4788 (main): Likewise.
4789
bd3675f9
LC
47902014-06-22 Ludovic Courtès <ludo@gnu.org>
4791
4792 * nscd/nscd.c (thread_info_t): Remove typedef.
4793 (thread_info): Remove variable.
4794
d03efb2f
AM
47952014-06-21 Allan McRae <allan@archlinux.org>
4796
4797 * NEWS: Mention CVE-2014-4043.
4798
bc4a86fa
RM
47992014-06-20 Roland McGrath <roland@hack.frob.com>
4800
dc9a54f8
RM
4801 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4802 * nptl/smp.h: ... here.
4803
bd7022c4
RM
4804 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4805
26ffd5e6
RM
4806 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4807 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4808 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4809 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4810
93a6d082
RM
4811 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4812 * nptl/stack-aliasing.h: New file.
4813 * sysdeps/i386/i686/stack-aliasing.h: New file.
4814 * sysdeps/i386/i686/nptl/Makefile: File removed.
4815 * sysdeps/x86_64/stack-aliasing.h: New file.
4816 * sysdeps/x86_64/nptl/Makefile
4817 (CFLAGS-pthread_create.c): Variable removed.
4818
bc4a86fa
RM
4819 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4820 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4821 old file.
4822 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4823 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4824 old file.
4825
2272ffc1
JM
48262014-06-21 Joseph Myers <joseph@codesourcery.com>
4827
4828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4829 (__ASSUME_SIGFRAME_V2): Remove macro.
4830 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4831 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4832 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4833 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4834 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4835 Declare as function. Remove conditional macro definitions.
4836 (__default_rt_sa_restorer): Likewise.
4837 (__default_sa_restorer_v1): Remove declaration.
4838 (__default_sa_restorer_v2): Likewise.
4839 (__default_rt_sa_restorer_v1): Likewise.
4840 (__default_rt_sa_restorer_v2): Likewise.
4841 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4842 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4843 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4844
4b88139b
RM
48452014-06-20 Roland McGrath <roland@hack.frob.com>
4846
4847 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4848 (libpthread-routines): Add sysdep.
4849 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4850 * sysdeps/unix/sysv/linux/sparc/Versions
4851 (libpthread: GLIBC_2.3.3): New version set.
4852 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4853 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4854 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4856 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4857 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4858 Moved ...
4859 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4861 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4862 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4863 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4865 * sysdeps/sparc/nptl/sem_init.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4867 * sysdeps/sparc/nptl/sem_post.c: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4869 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4871 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4873 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4874 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4875 (libpthread-routines): Add cpu_relax.
4876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4877 File removed.
4878 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4879 (librt: GLIBC_2.3.3): New version set.
4880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4881 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4883 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4886 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4888 Moved ...
4889 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4891 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4893 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4895 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4897 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4899 Moved ...
4900 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4901 Update #include.
4902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4903 Moved ...
4904 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4905 Update #include.
4906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4907 Moved ...
4908 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4909 Update #include.
4910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4911 Moved ...
4912 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4913 Update #include.
4914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4915 Moved ...
4916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4917 Update #include.
4918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4919 Moved ...
4920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4921 Update #include.
4922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4923 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4931 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4933 Moved ...
4934 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4936 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4939
d7109027
JM
49402014-06-20 Joseph Myers <joseph@codesourcery.com>
4941
9bc6103d
JM
4942 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4943 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4944 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4945 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4946 * nscd/nscd.c: Likewise.
4947 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4948 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4949 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4950 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4951
d7109027
JM
4952 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4953 <kernel-features.h>.
4954 (init_mq_netlink): Remove conditional have_sock_cloexec
4955 definitions. Remove code conditional on have_sock_cloexec < 0.
4956 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4957 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4958 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4959 <kernel-features.h>.
4960 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4961 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4962
d92d8f8a
L
49632014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4964
4965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4966 Add tests for memset_chk and memset.
4967
4968 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4969 with AVX2_Usable.
4970
4e6d2347
MR
49712014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4972
257ce712
MR
4973 [BZ #16046]
4974 * elf/tst-dl-iter-static.c: New file.
4975 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4976
4e6d2347
MR
4977 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4978 error.
4979
a2a76afe
JM
49802014-06-20 Joseph Myers <joseph@codesourcery.com>
4981
7fd00f99
JM
4982 * sysdeps/unix/sysv/linux/kernel-features.h
4983 (__ASSUME_F_GETOWN_EX): Remove macro.
4984 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4985 <kernel-features.h>.
4986 (miss_F_GETOWN_EX): Remove variable or macro.
4987 (do_fcntl): Do not check miss_F_GETOWN_EX.
4988 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4989
4a103975
JM
4990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4991 Remove macro.
4992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4993 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4994 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4995
a2a76afe
JM
4996 * sysdeps/unix/sysv/linux/kernel-features.h
4997 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4998 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4999 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5000 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5001
90e5dd48
MR
50022014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5003
5004 [BZ #17075]
5005 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5006 Fix calculation of the symbol's value.
5007 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5008 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5009 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5010 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5011 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5012 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5013 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5014 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5015 (modules-names): Add `tst-armtlsdescmod',
5016 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5017 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5018 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5019 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5020 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5021 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5022 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5023 ($(objpfx)tst-armtlsdescloc): New dependency.
5024 ($(objpfx)tst-armtlsdescextnow): Likewise.
5025 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5026 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5027 TLS scheme support.
5028 * sysdeps/arm/configure: Regenerate.
5029
809fdf0d
JM
50302014-06-20 Joseph Myers <joseph@codesourcery.com>
5031
5032 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5033 (__atfct_seterrno_2): Likewise.
5034 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5035 <kernel-features.h>.
5036 (__ASSUME_ATFCTS): Do not undefine and redefine.
5037 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5038 (__have_atfcts): Remove conditional definition.
5039 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5040 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5041 unreachable if [__ASSUME_ATFCTS].
5042 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5043 not undefine and redefine.
5044 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5045 <kernel-features.h>.
5046 (faccessat) [__NR_faccessat]: Make code unconditional.
5047 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5048 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5049 <kernel-features.h>.
5050 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5051 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5052 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5053 <kernel-features.h>.
5054 (fchownat) [__NR_fchownat]: Make code unconditional.
5055 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5056 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5057 <kernel-features.h>.
5058 (futimesat) [__NR_futimesat]: Make code unconditional.
5059 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5061 <kernel-features.h>.
5062 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5063 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5065 <kernel-features.h>.
5066 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5067 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5068 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5069 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5070 <kernel-features.h>.
5071 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5072 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5073 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5074 <kernel-features.h>.
5075 (linkat) [__NR_linkat]: Make code unconditional.
5076 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5077 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5078 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5079 <kernel-features.h>.
5080 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5081 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5082 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5083 <kernel-features.h>.
5084 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5085 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5086 * sysdeps/unix/sysv/linux/openat.c: Do not include
5087 <kernel-features.h>.
5088 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5089 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5090 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5091 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5092 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5093 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5094 <kernel-features.h>.
5095 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5096 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5097 result of INLINE_SYSCALL directly, not via int variable.
5098 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5099 <kernel-features.h>.
5100 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5101 (renameat) [__NR_renameat]: Make code unconditional.
5102 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5103 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5104 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5105 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5107 (__ASSUME_ATFCTS): Do not undefine and redefine.
5108 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5109 <kernel-features.h>.
5110 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5111 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5112 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5113 <kernel-features.h>.
5114 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5115 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5116 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5117 (__ASSUME_ATFCTS): Do not undefine and redefine.
5118 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5119 <kernel-features.h>.
5120 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5121 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5122 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5123 <kernel-features.h>.
5124 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5125 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5126
224c6c51
L
51272014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5130
aa6ec754
AS
51312014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5132
5133 [BZ #17069]
5134 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5135 constructed tree before returning error.
5136 * posix/bug-regexp36.c: Expand test case.
5137
d8c2869d
SL
51382014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5139
3ef6b850
SL
5140 [BZ #6803]
5141 * math/libm-test.inc (scalbln_test_date):
5142 Add errno expectations.
5143 * math/w_scalblnf.c: New File.
5144 Add wrapper which checks for setting errno to ERANGE.
5145 Add weak_alias for corresponding scalbln function.
5146 * math/w_scalbln.c: Likewise.
5147 * math/w_scalblnl.c: Likewise.
5148 * math/Makefile (libm-calls): Add w_scalbln.
5149 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5150 Remove weak_alias for corresponding scalbln function.
5151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5155 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5156 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5157 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5158 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5159 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5160 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5161 Remove long_double_symbol for scalblnl function in libm, libc.
5162 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5163 Add wrapper which checks for setting errno to ERANGE.
5164 Add long_double_symbol for scalblnl function in libm, libc.
5165 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5166 Remove long_double_symbol for scalblnl in libm.
5167 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5168 Add wrapper which checks for setting errno to ERANGE.
5169 Add long_double_symbol for scalblnl function in libm.
5170 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5171 Do not use wrapper because of own implementation.
5172
c8daec5c
L
51732014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5174
5175 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5176 3 bytes for __pad1 for x32.
5177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5178
5c74e47c
LM
51792014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5180 H.J. Lu <hongjiu.lu@intel.com>
5181
5182 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5183 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5184 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5185 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5186 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5187
4d43ef1e
AS
51882014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5189
5190 [BZ #17069]
5191 * posix/regcomp.c (parse_expression): Deallocate partially
5192 constructed tree before returning error.
5193 * posix/Makefile.c (tests): Add bug-regex36.
5194 (generated): Add bug-regex36.mtrace.
5195 (tests-special): Add $(objpfx)bug-regex36-mem.out
5196 (bug-regex36-ENV): New variable.
5197 ($(objpfx)bug-regex36-mem.out): New rule.
5198 * posix/bug-regex36.c: New file.
5199
51a7380b
WN
52002014-06-19 Will Newton <will.newton@linaro.org>
5201
5202 * malloc/malloc.c (systrim): If extra is zero then return
5203 early.
5204
91b84fe5
SP
52052014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5206
5207 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5208
f940b965
RE
52092014-06-19 Richard Earnshaw <rearnsha@arm.com>
5210
5211 * sysdeps/aarch64/strchr.S: New file.
5212
4ba7a00f
JM
52132014-06-18 Joseph Myers <joseph@codesourcery.com>
5214
5215 [BZ #17022]
5216 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5217 from arguments -2 or below.
5218 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5219 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5220
b3a9f56b
AS
52212014-06-18 Andreas Schwab <schwab@suse.de>
5222
5223 [BZ #17062]
5224 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5225 of a bracket expr not to run off the end of the string.
5226 * posix/Makefile (tests): Add tst-fnmatch3.
5227 * posix/tst-fnmatch3.c: New file.
5228
85d89278
JM
52292014-06-18 Joseph Myers <joseph@codesourcery.com>
5230
5231 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5232 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5233 [$(cross-compiling) = no]: Likewise.
5234 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5235 [$(cross-compiling) = no]: Likewise.
5236
754c5a08
RS
52372014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5238
5239 [BZ #17031]
5240 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5241 double, adjusted for any remainder from the high double.
5242 * math/libm-test.inc (nearbyint): Add tests.
5243 (rint): Likewise.
5244
556f529d
AZ
52452014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5246
5247 * nptl/sysdeps/powerpc/Makefile: Moved ...
5248 * sysdeps/powerpc/nptl/Makefile: ... here.
5249 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5250 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5251 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5252 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5253 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5254 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5255 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5256 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5257 * nptl/sysdeps/powerpc/tls.h: Moved ...
5258 * sysdeps/powerpc/nptl/tls.h: ... here.
5259
91c03c53
JM
52602014-06-16 Joseph Myers <joseph@codesourcery.com>
5261
5262 [BZ #16681]
5263 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5264 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5265 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5266 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5267 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5268 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5269 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5270 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5271 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5272
a76e63c5
AS
52732014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5274
5275 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5276
f2f6d82f
AS
52772014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5278
ea8a15f6
AS
5279 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5280 defined operator.
5281
f2f6d82f
AS
5282 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5283 $TIMEOUTFACTOR.
5284
a7291117
FW
52852014-06-16 Florian Weimer <fweimer@redhat.com>
5286
5287 [BZ #17058]
5288 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5289 non-executed part of the test.
5290
3d7c00e3
AS
52912014-06-16 Andreas Schwab <schwab@suse.de>
5292
5293 * string/bits/string2.h (strdup, strndup): Update feature guard.
5294
6957fb31
DM
52952014-06-14 David S. Miller <davem@davemloft.net>
5296
5297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5298
11b9e55b
AS
52992014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5300
1d2a0492
AS
5301 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5302 that was previously under [RESET_PID].
5303 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5304
11b9e55b
AS
5305 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5306 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5307 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5308 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5309 (__libc_vfork): New strong alias.
5310 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5311
0f6901d0
AK
53122014-06-14 Andi Kleen <ak@linux.intel.com>
5313
5314 * sysdeps/generic/elide.h: New file.
5315
38bbbb9f
SL
53162014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5317
5318 * Makefile (installed-headers): Adjust path of pthread.h header.
5319
45193bb8
RM
53202014-06-13 Roland McGrath <roland@hack.frob.com>
5321
9a25fd1e
RM
5322 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5323 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5324 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5325 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5326
4004f7e4
RM
5327 * nptl/sysdeps/s390/Makefile: Moved ...
5328 * sysdeps/s390/nptl/Makefile: ... here.
5329 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5330 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5331 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5332 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5333 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5334 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5335 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5336 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5337 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5338 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5339 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5340 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5341 * nptl/sysdeps/s390/tls.h: Moved ...
5342 * sysdeps/s390/nptl/tls.h: ... here.
5343
45193bb8
RM
5344 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5345 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5346
f6fdf533
DM
53472014-06-13 David S. Miller <davem@davemloft.net>
5348
5349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5352 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5357 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5358 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5359 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5360 Remove RESET_PID cpp guards.
5361 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5362 Remove RESET_PID cpp guards.
5363 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5364
f5d71e14
AS
53652014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5366
5367 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5368 __sp to uintptr_t.
5369
b7aa8caa
AK
53702014-06-13 Andi Kleen <ak@linux.intel.com>
5371
4b266200
AZ
5372 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5373 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5377 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5378 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5380 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5382 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5383 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5388 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5392
5393 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5394 (pthread_rwlock_rdlock): Add elision.
5395 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5396 (pthread_rwlock_wrlock): Add elision.
5397 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5398 (pthread_rwlock_trywrlock): Add elision.
5399 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5400 (pthread_rwlock_tryrdlock): Add elision.
5401 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5402 (pthread_rwlock_tryrdlock): Add elision unlock.
5403 * nptl/sysdeps/pthread/pthread.h:
5404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5405 (PTHREAD_RWLOCK_INITIALIZER,
5406 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5407 Handle new elision field.
5408 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5409 * sysdeps/arm/nptl/bits/pthreadtypes.h
5410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5411 * sysdeps/sh/nptl/bits/pthreadtypes.h
5412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5413 * sysdeps/tile/nptl/bits/pthreadtypes.h
5414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5415 * sysdeps/a/nptl/bits/pthreadtypes.h
5416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5417 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5421 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5423 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5425 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5427 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5429 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5431 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5433 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5434 (elision_init): Set try_xbegin to zero when no RTM.
5435 * sysdeps/x86/nptl/bits/pthreadtypes.h
5436 (pthread_rwlock_t): Change __pad1 to __rwelision.
5437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5438
a832bdd3
AK
54392014-06-13 Andi Kleen <ak@linux.intel.com>
5440
5441 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5442 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5443 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5444 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5445
995a46bb
MI
54462014-06-13 Meador Inge <meadori@codesourcery.com>
5447
5448 [BZ #16996]
03ed7738 5449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5450 that the cached result has been set before returning it.
5451
45262aee
RM
54522014-06-12 Roland McGrath <roland@hack.frob.com>
5453
febf6cc5
RM
5454 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5455 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5456 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5457 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5458 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5459 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5460
e2682246
RM
5461 * nptl/sysdeps/sparc/Makefile: Moved ...
5462 * sysdeps/sparc/nptl/Makefile: ... here.
5463 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5464 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5465 * nptl/sysdeps/sparc/tls.h: Moved ...
5466 * sysdeps/sparc/nptl/tls.h: ... here.
5467 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5468 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5469 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5470 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5471 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5472 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5473 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5474 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5475 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5476 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5477 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5478 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5479 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5480 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5481 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5482 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5483 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5484 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5485 Update #include.
5486 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5488 Update #include.
5489 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5491 Update #include.
5492 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5493 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5494 Update #include.
5495
b0725f43
RM
5496 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5497
b14368b8
RM
5498 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5499 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5500
c5620eb3
RM
5501 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5502 (struct list_links): Type removed.
5503 (struct thread_node, struct timer_node): Replace struct list_links
5504 with struct list_head.
5505 (list_unlink_ip): Likewise.
5506 * sysdeps/pthread/timer_routines.c
5507 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5508 (list_append, list_insbefore): Likewise.
5509 (list_init): Function removed.
5510 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5511 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5512 * sysdeps/pthread/Makefile: ... here, new file.
5513
5514 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5515 * sysdeps/nptl/Implies: ... here.
5516 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5517 * nptl/sysdeps/pthread/list.h: Moved ...
5518 * include/list.h: ... here.
5519 * nptl/sysdeps/pthread/createthread.c: Moved ...
5520 * nptl/createthread.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5522 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5523 * nptl/pt-longjmp.c: ... here.
5524 * nptl/sysdeps/pthread/Makefile: Moved ...
5525 * sysdeps/nptl/Makefile: ... here.
5526 * nptl/sysdeps/pthread/Subdirs: Moved ...
5527 * sysdeps/nptl/Subdirs: ... here.
5528 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5529 * sysdeps/nptl/aio_misc.h: ... here.
5530 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5531 * sysdeps/nptl/bits/libc-lock.h: ... here.
5532 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5533 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5534 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5535 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5536 * nptl/sysdeps/pthread/configure: Moved ...
5537 * sysdeps/nptl/configure: ... here.
5538 * nptl/sysdeps/pthread/configure.ac: Moved ...
5539 * sysdeps/nptl/configure.ac: ... here.
5540 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5541 * sysdeps/nptl/gai_misc.h: ... here.
5542 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5543 * sysdeps/nptl/librt-cancellation.c: ... here.
5544 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5545 * sysdeps/nptl/malloc-machine.h: ... here.
5546 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5547 * sysdeps/nptl/pthread-functions.h: ... here.
5548 * nptl/sysdeps/pthread/pthread.h: Moved ...
5549 * sysdeps/nptl/pthread.h: ... here.
5550 * nptl/sysdeps/pthread/setxid.h: Moved ...
5551 * sysdeps/nptl/setxid.h: ... here.
5552 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5553 * sysdeps/nptl/sigfillset.c: ... here.
5554 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5555 * sysdeps/nptl/tcb-offsets.h: ... here.
5556 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5557 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5558 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5559 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5560 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5561 * sysdeps/pthread/allocalim.h: ... here.
5562 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5563 * sysdeps/pthread/bits/sigthread.h: ... here.
5564 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5565 * sysdeps/pthread/flockfile.c: ... here.
5566 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5567 * sysdeps/pthread/ftrylockfile.c: ... here.
5568 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5569 * sysdeps/pthread/funlockfile.c: ... here.
5570 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5571 * sysdeps/pthread/posix-timer.h: ... here.
5572 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5573 * sysdeps/pthread/timer_create.c: ... here.
5574 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5575 * sysdeps/pthread/timer_delete.c: ... here.
5576 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5577 * sysdeps/pthread/timer_getoverr.c: ... here.
5578 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5579 * sysdeps/pthread/timer_gettime.c: ... here.
5580 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5581 * sysdeps/pthread/timer_routines.c: ... here.
5582 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5583 * sysdeps/pthread/timer_settime.c: ... here.
5584 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5585 * sysdeps/pthread/tst-timer.c: ... here.
5586 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5587 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5588
e876b090
RM
5589 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5590 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5591
f6b07b3d
RM
5592 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5593 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5594 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5595 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5596 Update #include target.
5597 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5598 * sysdeps/i386/i686/nptl/Makefile: ... here.
5599 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5600 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5601 Update #include target.
5602 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5603 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5604 * nptl/sysdeps/i386/Makefile: Moved ...
5605 * sysdeps/i386/nptl/Makefile: ... here.
5606 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5607 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5608 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5609 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5610 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5611 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5612 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5613 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5614 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5615 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5616 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5617 * nptl/sysdeps/i386/tls.h: Moved ...
5618 * sysdeps/i386/nptl/tls.h: ... here.
5619
45262aee
RM
5620 * sysdeps/sh/Makefile [$(subdir) = csu]
5621 (gen-as-const-headers): Add tcb-offsets.sym.
5622 * nptl/sysdeps/sh/Makefile: File removed.
5623 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5624 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5625 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5626 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5627 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5628 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5629 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5630 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5631 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5632 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5633 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5634 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5635 * nptl/sysdeps/sh/tls.h: Moved ...
5636 * sysdeps/sh/nptl/tls.h: ... here.
5637 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5638 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5639 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5640 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5642 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5643 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5644 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5646 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5647 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5648 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5649 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5650 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5652 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5654 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5656 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5658 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5660 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5662 Moved ...
5663 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5665 Moved ...
5666 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5672 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5674 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5676 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5677 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5678 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5680 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5681 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5682 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5684 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5685
35a5e3e3
SL
56862014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5687
5688 * posix/spawn_faction_addopen.c: Include string.h.
5689
14642b85
RM
56902014-06-11 Roland McGrath <roland@hack.frob.com>
5691
5692 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5693 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5694 * nptl/sysdeps/x86_64/Makefile: Moved ...
5695 * sysdeps/x86_64/nptl/Makefile: ... here.
5696 * nptl/sysdeps/x86_64/configure: Moved ...
5697 * sysdeps/x86_64/nptl/configure: ... here.
5698 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5699 * sysdeps/x86_64/nptl/configure.ac: ... here.
5700 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5701 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5702 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5703 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5704 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5705 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5706 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5707 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5708 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5709 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5710 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5711 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5712 * nptl/sysdeps/x86_64/tls.h: Moved ...
5713 * sysdeps/x86_64/nptl/tls.h: ... here.
5714 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5715 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5716 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5717 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5718
5719 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5720
31c44fea
AZ
57212014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5722
5723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5724
e81a4f9a
JM
57252014-06-11 Joseph Myers <joseph@codesourcery.com>
5726
5727 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5728 type.
5729 [POSIX] (off_t): Likewise.
5730 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5731 [POSIX] (S_ISBLK): Require macro.
5732 [POSIX] (S_ISCHR): Likewise.
5733 [POSIX] (S_ISDIR): Likewise.
5734 [POSIX] (S_ISFIFO): Likewise.
5735 [POSIX] (S_ISREG): Likewise.
5736 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5737 optional-macro.
5738 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5739 type.
5740 [POSIX] (time_t): Likewise.
5741 [POSIX] (timer_t): Likewise.
5742
89e435f3
FW
57432014-06-11 Florian Weimer <fweimer@redhat.com>
5744
5745 [BZ #17048]
5746 * posix/spawn_int.h (struct __spawn_action): Make the path string
5747 non-const to support deallocation.
5748 * posix/spawn_faction_addopen.c
5749 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5750 * posix/spawn_faction_destroy.c
5751 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5752 path in all spawn_do_open actions.
5753 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5754 posix_spawn_file_actions_addopen.
5755
c3a2ebe1
CM
57562014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5757
5758 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5759 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5760 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5761 conditional code always true.
5762 (__libc_vfork): New alias.
5763
9503784a
RM
57642014-06-11 Roland McGrath <roland@hack.frob.com>
5765
c9cab3d2
RM
5766 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5767 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5768
d3996c79
RM
5769 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5770
ba5ec611
RM
5771 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5772 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5773
f12b4814
RM
5774 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5775 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5776
9503784a
RM
5777 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5778 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5779
e23d3d26
VR
57802014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5781
5782 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5783 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5784 multiarch strcmp for PPC64.
5785 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5786 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5788 multiarch optimizations.
5789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5790 (__libc_ifunc_impl_list): Likewise.
5791
42b1161e
SP
57922014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5793
5794 * benchtests/scripts/validate_benchout.py: New script.
5795 * benchtests/Makefile (bench-func): Call it.
5796 * benchtests/scripts/benchout.schema.json: New file.
5797
2d0fc4dc
CM
57982014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5799
4a594c34
AZ
5800 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5801 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5802 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5803 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5804 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5805 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5806 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5807 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5808 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5809 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5810 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5811 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5812 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5813 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5814 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5815 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5817 Moved ...
4a594c34 5818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5819 ... here.
4a594c34 5820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5821 Moved ...
4a594c34
AZ
5822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5824 Moved ...
4a594c34 5825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5826 ... here.
4a594c34 5827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5828 Moved ...
4a594c34 5829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5830 ... here.
4a594c34 5831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5832 Moved ...
4a594c34
AZ
5833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5835 Moved ...
4a594c34 5836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5837 ... here.
4a594c34 5838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5839 Moved ...
4a594c34 5840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5841 ... here.
4a594c34 5842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5843 Moved ...
4a594c34
AZ
5844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5846 Moved ...
4a594c34 5847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5848 ... here.
4a594c34 5849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5850 Moved ...
4a594c34 5851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5852 ... here.
4a594c34 5853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5854 Moved ...
4a594c34 5855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5856 ... here.
4a594c34 5857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5858 Moved ...
4a594c34
AZ
5859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5861 Moved ...
4a594c34 5862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5863 ... here.
4a594c34 5864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5865 Moved ...
4a594c34 5866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5867 ... here.
4a594c34 5868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5869 Moved ...
4a594c34 5870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5871 ... here.
4a594c34 5872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5873 Moved ...
4a594c34
AZ
5874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5876 Moved ...
4a594c34 5877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5878 ... here.
4a594c34 5879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5880 Moved ...
4a594c34 5881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5882 ... here.
4a594c34 5883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5884 Moved ...
4a594c34
AZ
5885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5887 Moved ...
4a594c34 5888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5889 ... here.
4a594c34 5890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5891 Moved ...
4a594c34
AZ
5892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5894 Moved ...
4a594c34
AZ
5895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5897 Moved ...
4a594c34 5898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5899 ... here.
4a594c34 5900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5901 Moved ...
4a594c34 5902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5903 ... here.
4a594c34 5904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5905 Moved ...
4a594c34 5906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5907 ... here.
4a594c34 5908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5909 Moved ...
4a594c34
AZ
5910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5912 Moved ...
4a594c34 5913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5914 ... here.
4a594c34 5915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5916 Moved ...
4a594c34 5917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5918 ... here.
4a594c34
AZ
5919 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5920 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5922 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5924 Moved ...
4a594c34 5925 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5926 ... here.
4a594c34
AZ
5927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5928 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5930 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5932 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5934 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5936 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5940 Moved ...
4a594c34
AZ
5941 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5943 Moved ...
4a594c34
AZ
5944 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5948 Moved ...
4a594c34
AZ
5949 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5951 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5952 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5953 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5954 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5955 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5956
0570cfed
W
59572014-06-10 Wilco <wdijkstr@arm.com>
5958
5959 * math/test-fenv-return.c: New file.
5960 * math/Makefile: Add new test test-fenv-return.
5961
f8ba1b56
JM
59622014-06-10 Joseph Myers <joseph@codesourcery.com>
5963
5964 [BZ #17042]
5965 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5966 when x - 1 is zero.
5967 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5968 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5969 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5970 0.0L for an argument of 1.0L.
5971 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5972 Likewise.
5973 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5974 value when x - 1 is zero.
5975 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5976 * sysdeps/i386/fpu/libm-test-ulps: Update.
5977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978
2c3520d9
BO
59792014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5980
5981 [BZ #15119]
5982 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5983
acaa4d24
RM
59842014-06-09 Roland McGrath <roland@hack.frob.com>
5985
5986 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5987 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5988
962b744d
RM
59892014-06-09 Roland McGrath <roland@hack.frob.com>
5990
d752f0cc
RM
5991 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5992 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5993
34eda6d1
RM
5994 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5995 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5996
50f0a637
RM
5997 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5998 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5999
08f41f04
RM
6000 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6001 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6002
962b744d
RM
6003 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6004 if not already defined.
6005 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6006 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6007 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6008 (TLS_INIT_TP): Use it.
6009 (TLS_DEFINE_INIT_TP): New macro.
6010 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6011
09f19b05
JM
60122014-06-09 Joseph Myers <joseph@codesourcery.com>
6013
6014 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6015 constant.
6016 [POSIX] (IXANY): Likewise.
6017 [POSIX] (OLCUC): Likewise.
6018 [POSIX || POSIX2008] (CBAUD): Do not allow.
6019 [POSIX || POSIX2008] (DEFECHO): Likewise.
6020 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6021 [POSIX || POSIX2008] (ECHOKE): Likewise.
6022 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6023 [POSIX || POSIX2008] (EXTA): Likewise.
6024 [POSIX || POSIX2008] (EXTB): Likewise.
6025 [POSIX || POSIX2008] (FLUSHO): Likewise.
6026 [POSIX || POSIX2008] (LOBLK): Likewise.
6027 [POSIX || POSIX2008] (PENDIN): Likewise.
6028 [POSIX || POSIX2008] (SWTCH): Likewise.
6029 [POSIX || POSIX2008] (VDISCARD): Likewise.
6030 [POSIX || POSIX2008] (VDSUSP): Likewise.
6031 [POSIX || POSIX2008] (VLNEXT): Likewise.
6032 [POSIX || POSIX2008] (VREPRINT): Likewise.
6033 [POSIX || POSIX2008] (VSTATUS): Likewise.
6034 [POSIX || POSIX2008] (VWERASE): Likewise.
6035 (B*): Change to B[0123456789]*.
6036 * conform/data/time.h-data [POSIX || UNIX98]
6037 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6038 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6039 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6040 [POSIX] (tm_*): Do not allow.
6041
686554bf
JM
60422014-06-07 Joseph Myers <joseph@codesourcery.com>
6043
6044 * Makefile (install): Don't set LANGUAGE.
6045 * Makefile.in (install): Likewise.
6046 * assert/Makefile (test-assert-ENV): Remove variable.
6047 (test-assert-perr-ENV): Likewise.
6048 * elf/Makefile (neededtest4-ENV): Likewise.
6049 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6050 [$(cross-compiling) = no]: Don't set LANGUAGE.
6051 * io/ftwtest-sh (LANG): Remove variable.
6052 * libio/Makefile (tst-widetext-ENV): Likewise.
6053 * manual/install.texi (Running make install): Don't refer to
6054 environment settings for make install.
6055 * INSTALL: Regenerated.
6056 * nptl/tst-tls6.sh: Don't set LANG.
6057 * posix/globtest.sh (LANG): Remove variable.
6058 * string/Makefile (tester-ENV): Likewise.
6059 (inl-tester-ENV): Likewise.
6060 (noinl-tester-ENV): Likewise.
6061 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6062 [$(cross-compiling) = no]: Don't set LANGUAGE.
6063 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6064 without explicit environment settings.
6065
68e6b6b1
RM
60662014-06-06 Roland McGrath <roland@hack.frob.com>
6067
6068 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6069 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6071 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6072
4d3ae034
CM
60732014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6074
6075 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6076 other files in the crypt directory.
6077 * crypt/crypt.c: Remove duplicate includes.
6078 * crypt/crypt-entry.c: Likewise.
6079 * crypt/crypt_util.c: Likewise.
6080
8540f6d2
JM
60812014-06-06 Joseph Myers <joseph@codesourcery.com>
6082
6083 * Makeconfig (run-program-env): New variable.
6084 (run-program-prefix-before-env): Likewise.
6085 (run-program-prefix-after-env): Likewise.
6086 (run-program-prefix): Define in terms of new variables.
6087 (built-program-cmd-before-env): New variable.
6088 (built-program-cmd-after-env): Likewise.
6089 (built-program-cmd): Define in terms of new variables.
6090 (test-program-prefix-before-env): New variable.
6091 (test-program-prefix-after-env): Likewise.
6092 (test-program-prefix): Define in terms of new variables.
6093 (test-program-cmd-before-env): New variable.
6094 (test-program-cmd-after-env): Likewise.
6095 (test-program-cmd): Define in terms of new variables.
6096 * Rules (make-test-out): Use $(run-program-env).
6097 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6098 (help): Do not mention environment variables. Mention
6099 --timeoutfactor option.
6100 (timeoutfactor): New variable.
6101 (blacklist_exports): Remove function.
6102 (exports): Remove variable.
6103 (command): Do not include ${exports}.
6104 * manual/install.texi (Configuring and compiling): Do not mention
6105 test wrappers preserving environment variables. Mention that last
6106 assignment to a variable must take precedence.
6107 * INSTALL: Regenerated.
6108 * benchtests/Makefile (run-bench): Use $(run-program-env).
6109 * catgets/Makefile ($(objpfx)test1.cat): Use
6110 $(built-program-cmd-before-env), $(run-program-env) and
6111 $(built-program-cmd-after-env).
6112 ($(objpfx)test2.cat): Do not specify environment variables
6113 explicitly.
6114 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6115 $(run-program-env) and $(built-program-cmd-after-env).
6116 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6117 $(run-program-env) and $(test-program-cmd-after-env).
6118 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6119 explicitly.
6120 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6121 run_program_env and test_program_cmd_after_env arguments.
6122 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6123 * elf/tst-pathopt.sh: Use run_program_env argument.
6124 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6125 $(test-wrapper-env) and $(run-program-env).
6126 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6127 run_program_env arguments.
6128 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6129 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6130 $(test-program-prefix-before-env), $(run-program-env) and
6131 $(test-program-prefix-after-env).
6132 ($(objpfx)tst-gettext2.out): Likewise.
6133 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6134 run_program_env and test_program_prefix_after_env arguments.
6135 * intl/tst-gettext2.sh: Likewise.
6136 * intl/tst-gettext4.sh: Do not set environment variables
6137 explicitly.
6138 * intl/tst-gettext6.sh: Likewise.
6139 * intl/tst-translit.sh: Likewise.
6140 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6141 $(test-program-prefix-before-env), $(run-program-env) and
6142 $(test-program-prefix-after-env).
6143 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6144 run_program_env and test_program_prefix_after_env arguments.
6145 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6146 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6147 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6148 explicitly with each use of ${test_wrapper_env}.
6149 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6150 $(test-program-prefix-before-env), $(run-program-env) and
6151 $(test-program-prefix-after-env).
6152 * posix/tst-getconf.sh: Do not set environment variables
6153 explicitly.
6154 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6155 run_program_env and test_program_prefix_after_env arguments.
6156 * stdio-common/tst-printf.sh: Do not set environment variables
6157 explicitly.
6158 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6159 $(test-program-prefix-before-env), $(run-program-env) and
6160 $(test-program-prefix-after-env).
6161 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6162 run_program_env and test_program_prefix_after_env arguments.
6163 Split $test calls into $test_pre and $test.
6164 * timezone/Makefile (build-testdata): Use
6165 $(built-program-cmd-before-env), $(run-program-env) and
6166 $(built-program-cmd-after-env).
6167
ed36bfa1
AZ
61682014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6171 strlen for non SHARED builds.
6172
fc75bf46
SP
61732014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6174
6175 * nptl/allocatestack.c (check_list): Inlined function...
6176 (__reclaim_stacks): ... here.
6177
d89b3d80
OB
61782014-06-05 Ondřej Bílka <neleai@seznam.cz>
6179
6180 [BZ #15698]
6181 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6182 memory overrun.
6183
2bf18041
JM
61842014-06-05 Joseph Myers <joseph@codesourcery.com>
6185
6186 * Rules (make-test-out): Include
6187 LOCPATH=$(common-objpfx)localedata in default environment.
6188 * debug/Makefile (tst-chk1-ENV): Remove variable.
6189 (tst-chk2-ENV): Likewise.
6190 (tst-chk3-ENV): Likewise.
6191 (tst-chk4-ENV): Likewise.
6192 (tst-chk5-ENV): Likewise.
6193 (tst-chk6-ENV): Likewise.
6194 (tst-lfschk1-ENV): Likewise.
6195 (tst-lfschk2-ENV): Likewise.
6196 (tst-lfschk3-ENV): Likewise.
6197 (tst-lfschk4-ENV): Likewise.
6198 (tst-lfschk5-ENV): Likewise.
6199 (tst-lfschk6-ENV): Likewise.
6200 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6201 (tst-iconv7-ENV): Likewise.
6202 * intl/Makefile (LOCPATH-ENV): Likewise.
6203 (tst-codeset-ENV): Likewise.
6204 (tst-gettext3-ENV): Likewise.
6205 (tst-gettext5-ENV): Likewise.
6206 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6207 (tst-fopenloc-ENV): Likewise.
6208 (tst-fgetws-ENV): Remove variable.
6209 (tst-ungetwc1-ENV): Likewise.
6210 (tst-ungetwc2-ENV): Likewise.
6211 (bug-ungetwc2-ENV): Likewise.
6212 (tst-swscanf-ENV): Likewise.
6213 (bug-ftell-ENV): Likewise.
6214 (tst-fgetwc-ENV): Likewise.
6215 (tst-fseek-ENV): Likewise.
6216 (tst-ftell-partial-wide-ENV): Likewise.
6217 (tst-ftell-active-handler-ENV): Likewise.
6218 (tst-ftell-append-ENV): Likewise.
6219 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6220 (tst-regexloc-ENV): Likewise.
6221 (bug-regex1-ENV): Likewise.
6222 (tst-regex-ENV): Likewise.
6223 (tst-regex2-ENV): Likewise.
6224 (bug-regex5-ENV): Likewise.
6225 (bug-regex6-ENV): Likewise.
6226 (bug-regex17-ENV): Likewise.
6227 (bug-regex18-ENV): Likewise.
6228 (bug-regex19-ENV): Likewise.
6229 (bug-regex20-ENV): Likewise.
6230 (bug-regex22-ENV): Likewise.
6231 (bug-regex23-ENV): Likewise.
6232 (bug-regex25-ENV): Likewise.
6233 (bug-regex26-ENV): Likewise.
6234 (bug-regex30-ENV): Likewise.
6235 (bug-regex32-ENV): Likewise.
6236 (bug-regex33-ENV): Likewise.
6237 (bug-regex34-ENV): Likewise.
6238 (bug-regex35-ENV): Likewise.
6239 (tst-rxspencer-ENV): Likewise.
6240 (tst-rxspencer-no-utf8-ENV): Likewise.
6241 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6242 (tst-sscanf-ENV): Likewise.
6243 (tst-swprintf-ENV): Likewise.
6244 (tst-swscanf-ENV): Likewise.
6245 (test-vfprintf-ENV): Likewise.
6246 (scanf13-ENV): Likewise.
6247 (bug14-ENV): Likewise.
6248 (tst-grouping-ENV): Likewise.
6249 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6250 (tst-strtod3-ENV): Likewise.
6251 (tst-strtod4-ENV): Likewise.
6252 (tst-strtod5-ENV): Likewise.
6253 (testmb2-ENV): Likewise./
6254 * string/Makefile (tst-strxfrm-ENV): Likewise.
6255 (tst-strxfrm2-ENV): Likewise.
6256 (bug-strcoll1-ENV): Likewise.
6257 (test-strcasecmp-ENV): Likewise.
6258 (test-strncasecmp-ENV): Likewise.
6259 * time/Makefile (tst-strptime-ENV): Likewise.
6260 (tst-ftime_l-ENV): Likewise.
6261 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6262 (tst-mbrtowc-ENV): Likewise.
6263 (tst-wcrtomb-ENV): Likewise.
6264 (tst-mbrtowc2-ENV): Likewise.
6265 (tst-c16c32-1-ENV): Likewise.
6266 (tst-mbsnrtowcs-ENV): Likewise.
6267
cd1fb604
OB
62682014-06-05 Ondřej Bílka <neleai@seznam.cz>
6269
6270 * manual/resource.texi (How to get information about the memory
6271 subsystem?): Fix typo.
6272 Reported by Peon de la Parra Ivan <peon@keba.com>
6273
b42eca7d
GY
62742014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6275
6276 [BZ #16882]
6277 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6278 (pthread_spin_lock): Branch out of spin loop to proper location.
6279 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6280 (pthread_spin_lock): Likewise.
6281
902b71f9
DM
6282 * nptl/tst-spin4.c: New test.
6283 * nptl/Makefile (tests): Add tst-spin4.
6284
f9d2d032
AS
62852014-06-03 Andreas Schwab <schwab@suse.de>
6286
6287 [BZ #15946]
6288 * resolv/res_send.c (send_dg): Reload file descriptor after
6289 calling reopen.
6290
cf7bfd28
SL
62912014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6292
6293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6294
111cc714
RH
62952014-06-03 Richard Henderson <rth@redhat.com>
6296
89b4bd6b
RH
6297 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6298 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6299 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6300 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6301 in the SAVE_PID block.
6302 (__libc_vfork): New alias.
71840409 6303 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6304
111cc714
RH
6305 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6306 child in registers, not on the stack. Remove RESET_PID conditionals.
6307 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6308
ccc39911
MS
63092014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6310
6311 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6312
693096cc
W
63132014-06-03 Wilco <wdijkstr@arm.com>
6314
6315 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6316 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6317 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6318 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6319 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6320 Likewise.
6321
0b4366bc
W
63222014-06-03 Wilco <wdijkstr@arm.com>
6323
6324 * sysdeps/aarch64/fpu/math_private.h
6325 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6326 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6327 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6328 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6329 Fix declarations.
6330
8747cd03
KS
63312014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6332
6333 * crypt/crypt-private.h: Include ufc-crypt.h.
6334 (__b64_from_24bit): Declare extern.
6335 * crypt/crypt_util.c(__b64_from_24bit): New function.
6336 (b64t): New static const variable.
6337 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6338 (b64t): Remove variable.
6339 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6340 * crypt/sha256-crypt.c: Include crypt-private.h.
6341 (b64t): Remove variable.
6342 (__sha256_crypt_r): Remove b64_from_24bit and replace
6343 with __b64_from_24bit.
6344 * crypt/sha512-crypt.c: Likewise.
6345
d936d379
RM
63462014-06-02 Roland McGrath <roland@hack.frob.com>
6347
6348 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6349 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6350 Label the code __libc_vfork rather than __vfork.
6351 [!NOT_IN_libc] (vfork): Define as weak alias.
6352 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6353 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6354 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6355
9fa76613
SP
63562014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6357
6358 * malloc/malloc.c (malloc_info): Fix format specifier for
6359 n_mmaps.
6360
a88dadbe
W
63612014-06-02 Wilco <wdijkstr@arm.com>
6362
6363 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6364 FPCR write.
6365
c95b3011
W
63662014-06-02 Wilco <wdijkstr@arm.com>
6367
6368 [BZ #17009]
6369 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6370 Rewrite to reduce FPCR/FPSR accesses.
6371
6b4d7a90
DM
63722014-06-01 David S. Miller <davem@davemloft.net>
6373
6374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6375
30f3d07c
DM
63762014-05-31 David S. Miller <davem@davemloft.net>
6377
6378 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6379 to occur in round to nearest mode when |x| >= 2.0
6380
74f31c18
RH
63812014-05-30 Richard Henderson <rth@twiddle.net>
6382
f0712b54
RH
6383 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6384 (PSEUDO_RET_NOERRNO): Remove.
6385 (ret): Don't redefine.
6386 (ret_NOERRNO): Define in terms of ret.
6387 (ret_ERRVAL): Likewise.
6388
74f31c18
RH
6389 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6390 use of PSEUDO_RET; perform the error check directly.
6391
30477995
MM
63922014-05-30 Marko Myllynen <myllynen@redhat.com>
6393
6394 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6395 with __int128_t.
6396
62a58816
SP
63972014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6398
6399 * malloc/malloc (malloc_info): Fix formatting.
6400
4d653a59
SP
64012014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6402 Roland McGrath <roland@hack.frob.com>
6403
6404 * malloc/malloc (malloc_info): Also print mmapped statistics.
6405
5190c17f
RM
64062014-05-30 Roland McGrath <roland@hack.frob.com>
6407
6408 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6409 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6410
987c0269
OB
64112014-05-30 Ondřej Bílka <neleai@seznam.cz>
6412
6413 * malloc/malloc.c (malloc_info): Inline mi_arena.
6414
af4e8ef9
RH
64152014-05-29 Richard Henderson <rth@twiddle.net>
6416
1670e207
RH
6417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6418 Remove comma before expanding ASM_ARGS_##nr.
6419 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6420 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6421 of ASM_ARGS_##nr.
6422 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6423 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6424 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6425 (ASM_ARGS_1): Add leading comma.
6426
11a28aee
RH
6427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6428 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6429 to __errno_location.
6430 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6431 Remove the expected plt for __errno_location.
6432
a17e5ffb 6433 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6434 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6435 call to __read_tp.
6436
b5be4597
RH
6437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6438 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6439 it and break it down.
6440 (DOCARGS_0, DOCARGS_1): Do nothing.
6441 (DOCARGS_2): Update to store into the new stack frame.
6442 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6443 (UNDOCARGS_1): Update to restore from the new stack frame.
6444 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6445 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6446
645d44ab
RH
6447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6448 (SINGLE_THREAD_P): New parameter for result regno.
6449 (PSEUDO): Update to match; use cbz instead of beq.
6450
a8b4f04a
RH
6451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6452 Use ENTRY to define the _nocancel entry point. Share the syscall
6453 and syscall error check paths with the cancel path.
6454 (PSEUDO_END): New.
6455
af4e8ef9
RH
6456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6457 whitespace; tabs before and after asm mnemonics.
6458
26b0d2e1
EW
64592014-05-29 Eric Wong <normalperson@yhbt.net>
6460
6461 [BZ #15132]
6462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6463 Call fstat64 or stat64 internally, depending on arguments passed.
6464 Replace stat buffer argument with file descriptor argument.
6465 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6466 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6467 Pass fd to __internal_statvfs instead of calling fstat64.
6468 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6469 Pass fd to __internal_statvfs64 instead of calling fstat64.
6470 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6471 Pass -1 to __internal_statvfs instead of calling stat64.
6472 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6473 Pass -1 to __internal_statvfs64 instead of calling stat64.
6474
1efe2bd9
RM
64752014-05-28 Roland McGrath <roland@hack.frob.com>
6476
0d3b7a19
RM
6477 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6478 that was previously under [RESET_PID].
6479 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6480
1efe2bd9
RM
6481 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6482 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6483
a6bea3ca
RM
64842014-05-27 Roland McGrath <roland@hack.frob.com>
6485
30b6629e
RM
6486 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6487
a6bea3ca
RM
6488 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6489 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6490
3dfb9a5c
OB
64912014-05-27 Ondřej Bílka <neleai@seznam.cz>
6492
6493 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6494
774f9285
AS
64952014-05-27 Andreas Schwab <schwab@suse.de>
6496
6497 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6498 TLS_INIT_TP macro.
6499 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6500 * elf/rtld.c (init_tls, dl_main): Likewise.
6501 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6502 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6503 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6504 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6505 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6506 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6507 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6508 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6509 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6510 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6511 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6512 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6513 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6514 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6515 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6516 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6517 * sysdeps/generic/tls.h: Update description.
6518
36ffe739
WN
65192014-05-27 Will Newton <will.newton@linaro.org>
6520
6521 [BZ #16990]
6522 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6523 and restore r2 rather than just restoring.
6524
2482ae43
SP
65252014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6526
6527 [BZ #16724]
6528 * libio/tst-ftell-append.c: New test case.
6529 * libio/Makefile (tests): Add test case.
6530 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6531 append mode.
6532 * libio/wfileops.c (do_ftell_wide): Likewise.
6533
3d1024e8
AZ
65342014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6535
bab90016
AZ
6536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6537
c7a8d667
AZ
6538 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6539 ...
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6542 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6543 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6545 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6546 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6547 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6548 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6549 Moved ...
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6552 Moved ...
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6554 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6555 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6556 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6557 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6558 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6559 ...
6560 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6562 Moved ...
6563 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6564 here.
6565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6566 ...
6567 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6568 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6569 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6570
daee7851
AZ
6571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6572 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6574 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6575
50a40819
AZ
6576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6577 merge into ...
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6580 ...
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6583 ...
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6586 Moved ...
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6588 here.
6589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6590 Moved ...
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6593 Moved ...
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6595
8464c2a1
AZ
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6597 conditional [RESET_PID].
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6600 removed.
6601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6602 removed.
6603
3d1024e8
AZ
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6605 <tcb-offsets.h>.
6606 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6607 (__libc_vfork): New strong alias.
6608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6609 removed.
6610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6611 Removed.
6612
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6614 <tcb-offsets.h>.
6615 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6616 (__libc_vfork): New strong alias.
6617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6618 removed.
6619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6620 removed.
6621
fdfd175d
CD
66222014-05-26 Carlos O'Donell <carlos@redhat.com>
6623
6624 * malloc/malloc.c (mi_arena): New function.
6625 (malloc_info): Remove nested function mi_arena. Call non-nosted
6626 function mi_arena.
6627
d298c416
AZ
66282014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6629
6630 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6631 by insrwi.
6632 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6633 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6634 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6635 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6636 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6637 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6638 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6639
b60ea6ff
AS
66402014-05-26 Andreas Schwab <schwab@suse.de>
6641
6642 [BZ #16984]
6643 * locale/programs/repertoire.c (repertoire_read): Add slash
6644 between I18NPATH element and file name.
6645 * locale/programs/locfile.c (locfile_read): Likewise.
6646
67365926
SL
66472014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6648
6649 * nptl/pthread_mutexattr_settype.c
6650 (__pthread_mutexattr_settype):
6651 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6652
f8bdf1f0
SL
66532014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6654
6655 * nptl/tst-mutex5 (do_test):
6656 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6657
15eaf6ff
SP
66582014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6659
6660 * benchtests/README: Document 'init' directive.
6661 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6662 BENCH_INIT.
6663 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6664 (parse_file): Recognize 'init' directive.
6665
75f11331
KM
66662014-05-26 Kyle McMartin <kyle@redhat.com>
6667
6668 [BZ #16796]
6669 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6670 alignment of struct pthread.
6671
c3ec475c
SP
66722014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6673
6674 [BZ #16878]
6675 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6676 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6677 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6678 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6679
82aab97c
RH
66802014-05-25 Richard Henderson <rth@twiddle.net>
6681
aa2f176d
RH
6682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6683 (SINGLE_THREAD_P_PIC): Remove.
6684 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6685 (SINGLE_THREAD_P_PIC): Remove.
6686
ca3cfa40
RH
6687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6688 branch to syscall error ...
6689 (PSEUDO): ... here.
6690 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6691 from __local_syscall_error to .Lsyscall_error.
6692 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6693 (SYSCALL_ERROR): Update label name.
6694
6e6c2d01
RH
6695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6696 Do not use DOARGS/UNDOARGS.
6697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6698 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6699 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6700 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6701 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6702
c69abcee
RH
6703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6704 block comment.
6705
82aab97c
RH
6706 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6707 define if !NOT_IN_libc.
6708 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6709 define with non-default symbol versions.
6710
8820e3ac
RH
67112014-05-23 Richard Henderson <rth@twiddle.net>
6712
900e445f
RH
6713 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6714 (vfork, __vfork): Define via compat_symbol.
6715
8820e3ac
RH
6716 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6717 [!HAVE_IFUNC] (vfork_compat): Remove.
6718 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6719
e59252a5
JM
67202014-05-23 Joseph Myers <joseph@codesourcery.com>
6721
6722 [BZ #16978]
6723 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6724 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6725 variable.
6726
132c7f5f
RH
67272014-05-23 Richard Henderson <rth@twiddle.net>
6728
bc89e962
RH
6729 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6730 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6731 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6732 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6733
6734 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6735 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6736 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6737 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6738 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6739 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6741 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6742 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6743 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6744 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6745 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6746 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6747 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6749 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6751 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6753 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6754 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6755 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6756 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6757 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6758 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6759 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6760 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6761 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6763 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6764 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6765 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6766 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6767 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6771 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6773 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6774 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6775 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6776 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6777 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6778 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6779 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6780 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6781 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6782 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6783 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6785 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6787 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6789 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6790
e2fa4bc2
RH
6791 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6792 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6793 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6794 before exiting on error.
6795 (__libc_vfork): New strong alias.
6796 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6797 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6798
279b24e2
RH
6799 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6800 that was previously under [RESET_PID].
6801 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6802
132c7f5f
RH
6803 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6804
b72592e7
JM
68052014-05-23 Joseph Myers <joseph@codesourcery.com>
6806
6807 [BZ #16977]
6808 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6809 value when x - 1 is zero.
6810 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6811 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6812 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6813 0.0L for an argument of 1.0L.
6814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6815 Likewise.
6816 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6817 value when x - 1 is zero.
6818 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6819 * sysdeps/i386/fpu/libm-test-ulps: Update.
6820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6821
2302d679
RV
68222014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6823
6824 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6825 alphasort and versionsort.
6826
32999d63
AZ
68272014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6828
6829 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6830 macro.
6831 [copysignf]: Likewise.
6832
019324d0
SP
68332014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6834
6835 * crypt/md5-crypt.c: Fix formatting.
6836
34fff5c2
KS
68372014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6838
6839 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6840 (b64_from_24bit): New function.
6841
3d2badac
AZ
68422014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6843
6844 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6845 libc_hidden_builtin_def to ifunc.
6846 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6847 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6848
f7bb179f 68492014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6850
6851 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6852 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6853
4134b50d
JM
68542014-05-21 Joseph Myers <joseph@codesourcery.com>
6855
bb7d0337
JM
6856 * nscd/Depend (linuxthreads): Remove.
6857 (nptl): Add.
6858 * resolv/Depend (linuxthreads): Remove.
6859 * rt/Depend (linuxthreads): Remove.
6860
4134b50d
JM
6861 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6862 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6863 $(common-objpfx)elf/.
6864 (link-libc-before-gnulib): Likewise.
6865 (elfobjdir): Remove variable.
6866 * Makefile (install): Use $(elf-objpfx) instead of
6867 $(common-objpfx)elf/.
6868 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6869 $(elfobjdir)/.
6870 (link-libc-deps): Likewise.
6871 ($(common-objpfx)libc.so): Likewise.
6872 ($(common-objpfx)linkobj/libc.so): Likewise.
6873 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6874 instead of $(common-objpfx)elf/.
6875 (symbolic-link-list): Likewise.
6876 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6877 [$(cross-compiling) = no]: Likewise.
6878 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6879 $(elfobjdir)/.
6880 (static-gnulib-arch): Likewise.
6881 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6882 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6883 $(common-objpfx)elf/.
6884
3612eb8f
RH
68852014-05-21 Richard Henderson <rth@redhat.com>
6886
a6b3657b
RH
6887 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6888 (SINGLE_THREAD_P): Use the correct width load. Fold
6889 into the ldr offset.
6890
3612eb8f
RH
6891 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6892 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6893
175cef41
JM
68942014-05-20 Joseph Myers <joseph@codesourcery.com>
6895
6896 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6897 (libgcc_s_resume): Use __attribute_used__.
6898 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6899 Likewise.
6900
e13bccd3
AZ
69012014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6902
6903 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6904 optimization when used with float constants.
6905
7c112a38
AZ
6906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6907
ae75a883
AJ
69082014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6909
6910 [BZ #16915]
6911 * locale/nl_langinfo_l.c: Make direct reference to every
6912 _nl_current_CATEGORY symbol.
6913 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6914 (tests-static): Add tst-langinfo-static.
6915 (tests-special): Add tst-langinfo-static.out.
6916 ($(objpfx)tst-langinfo.out): Redirect output.
6917 ($(objpfx)tst-langinfo-static.out): New.
6918 * localedata/tst-langinfo.sh: Send output to stdout.
6919 * localedata/tst-langinfo-static.c: New file.
6920
4406c41c
AJ
6921 [BZ #16965]
6922 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6923 when the shift amount is modulo the limb size.
6924
4c0a1e63
RH
69252014-05-20 Richard Henderson <rth@redhat.com>
6926
de9d8f20
RH
6927 [BZ #16967]
6928 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6929 Change type of sa_flags from unsigned int to int.
6930
4c0a1e63
RH
6931 [BZ #16966]
6932 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6933
6934 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6935
a60339aa
WN
69362014-05-20 Will Newton <will.newton@linaro.org>
6937
6938 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6939 Test the return value of the system call in the nocancel case.
6940
7d05a816
YR
69412014-05-20 Will Newton <will.newton@linaro.org>
6942 Yvan Roux <yvan.roux@linaro.org>
6943
6944 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6945 #include of asm/ptrace.h.
6946 (PTRACE_GET_THREAD_AREA): Remove #undef.
6947 (PTRACE_GETHBPREGS): Likewise.
6948 (PTRACE_SETHBPREGS): Likewise.
6949 (struct user_regs_struct): New structure.
6950 (struct user_fpsimd_struct): New structure.
6951 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6952 #include of asm/ptrace.h and second #include of sys/user.h.
6953 (PTRACE_GET_THREAD_AREA): Remove #undef.
6954 (PTRACE_GETHBPREGS): Likewise.
6955 (PTRACE_SETHBPREGS): Likewise.
6956 (ELF_NGREG): Use new struct user_regs_struct.
6957 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6958
af121e37
AZ
69592014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6960
6961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6963
834caf06
JM
69642014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6965
6966 [BZ #16958]
6967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6968 membar to avoid block loads/stores to overlap previous stores.
6969
e184a918
RH
69702014-05-17 Richard Henderson <rth@redhat.com>
6971
6972 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6973 Create the __##syscall_name##_nocancel entry point.
6974 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6975 Remove; let the sysdep-cancel.h code create it.
6976
f56c7a6a
DM
69772014-05-17 David S. Miller <davem@davemloft.net>
6978
6979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6980 Protect with __USE_GNU.
6981 (TIOCSET_TEMPT): Likewise.
6982 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6983 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6984 these are already provided in bits/ioctl-types.h
6985
f75616b2
RM
69862014-05-16 Roland McGrath <roland@hack.frob.com>
6987
3edeca86
RM
6988 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6989 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6990
f75616b2
RM
6991 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6992 Use wait4 regardless of [__NR_waitpid].
6993
deb0f7f6
MR
69942014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6995
6996 PR libgcc/60166
6997 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6998 (_FP_NANSIGN_Q): Set the quiet bit.
6999
79520f4b
JM
70002014-05-16 Joseph Myers <joseph@codesourcery.com>
7001
7002 * benchtests/Makefile
7003 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7004 not $(common-objpfx)math/libm.so.
7005 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7006 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7007 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7008 $(common-objpfx)dlfcn/libdl.so.
7009 ($(objpfx)tst-audit8): Depend on $(libm), not
7010 $(common-objpfx)math/libm.so.
7011 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7012 not $(common-objpfx)dlfcn/libdl.so.
7013 * math/Makefile
7014 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7015 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7016 [$(build-shared) = yes].
7017 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7018 $(common-objpfx)nptl/libpthread.so.
7019 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7020 $(common-objpfx)math/libm.so$(libm.so-version) or
7021 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7022 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7023 $(common-objpfx)dlfcn/libdl.so.
7024 * setjmp/Makefile (link-libm): Remove variable.
7025 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7026 * stdio-common/Makefile (link-libm): Remove variable.
7027 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7028 * stdlib/Makefile (link-libm): Remove variable.
7029 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7030 ($(objpfx)tst-strtod-round): Likewise.
7031 ($(objpfx)tst-tininess): Likewise.
7032 ($(objpfx)tst-strtod-underflow): Likewise.
7033 ($(objpfx)tst-strtod6): Likewise.
7034 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7035 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7036 $(common-objpfx)dlfcn/libdl.so.
7037
026b0fe4
AZ
70382014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7039
7040 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7041 BSD terminal modes definitions.
7042
def4bcb2
RM
70432014-05-16 Roland McGrath <roland@hack.frob.com>
7044
fe39b021
RM
7045 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7046 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7047
1d1fc46e 7048 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7049 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7050 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7051 Don't do #include_next.
7052 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7053 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7054 Don't do #include_next.
7055 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7056 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7057 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7058 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7059
c72399fb
AM
70602014-05-16 Allan McRae <allan@archlinux.org>
7061
d51d659d
AM
7062 * po/sv.po: Update Swedish translation from translation project.
7063
c72399fb
AM
7064 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7065 in sed expression.
7066
d0583c40
AJ
70672014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7068
7069 [BZ #16917]
7070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7071 errno if the TIOCGPTN ioctl fails with an error different than
7072 EINVAL.
7073 * login/tst-ptsname.c: New file.
7074 * login/Makefile (tests): Add tst-ptsname.
7075
d16e6ec7
AJ
7076 [BZ #16943]
7077 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7078 and prlimit64.
7079
cf26a0cb
SP
70802014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7081
7082 [BZ #16849]
7083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7084 herrno to return EAI_AGAIN.
7085
5675da1e
RM
70862014-05-14 Roland McGrath <roland@hack.frob.com>
7087
a5d87b3d
RM
7088 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7089 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7090 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7091 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7092 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7093 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7094 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7095 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7097 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7098 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7099 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7101 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7102 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7103 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7104 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7107 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7108 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7109 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7111 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7117 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7119 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7121 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7123 Moved ...
7124 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7126 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7128 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7134 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7136 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7138 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7140 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7142 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7144 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7146 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7148 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7150 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7152 Moved ...
7153 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7155 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7159 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7173 Moved ...
7174 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7177
039890a6
RM
7178 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7179 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7180 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7181 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7182 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7183 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7184 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7185 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7186 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7187 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7188 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7189 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7190 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7191 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7192 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7193 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7194 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7195 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7196 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7197 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7198 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7199 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7200 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7201 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7202 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7203 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7204 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7209
65c89320
RM
7210 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7211 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7212
348f8e8c
RM
7213 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7214 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7215 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7216 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7217 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7218 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7219 Moved ...
7220 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7221 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7222 Moved ...
7223 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7225 Moved ...
7226 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7228 Moved ...
7229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7230 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7231 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7233 Moved ...
7234 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7235 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7236 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7240 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7242 Moved ...
7243 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7245 Moved ...
7246 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7247 ... here.
7248 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7249 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7250 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7251 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7253 Moved ...
7254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7255 ... here.
7256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7257 Moved ...
7258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7260 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7262 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7264 Moved ...
7265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7266 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7267 Moved ...
7268 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7270 Moved ...
7271 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7273 Moved ...
7274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7275 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7276 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7278 Moved ...
7279 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7280 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7281 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7285 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7287 Moved ...
7288 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7290 Moved ...
7291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7292 ... here.
7293 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7294 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7295 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7296 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7298 Moved ...
7299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7300 ... here.
7301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7302 Moved ...
7303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7304 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7305 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7306 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7307 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7311 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7313 Moved ...
7314 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7316 Moved ...
7317 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7319 Moved ...
7320 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7322 Moved ...
7323 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7324 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7325 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7326 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7327 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7329 Moved ...
7330 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7332 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7334 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7336 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7338 Moved ...
7339 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7341 Moved ...
7342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7343 ... here.
7344 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7345 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7347 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7349 Moved ...
7350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7351 ... here.
7352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7353 Moved ...
7354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7355 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7356 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7357 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7358 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7359 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7360 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7361 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7362 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7363 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7364 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7365
5085af05
RM
7366 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7367 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7368
708f0813
RM
7369 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7370 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7371
c96067bc
RM
7372 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7373 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7374 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7375 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7376 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7377 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7378 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7379 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7380 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7383 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7386 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7388 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7389 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7390 Moved ...
7391 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7392 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7393 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7395 Moved ...
7396 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7398 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7400 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7404 Moved ...
7405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7407 Moved ...
7408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7414 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7416 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7418 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7420 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7422 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7423 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7424 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7425
ec136444
RM
7426 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7427 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7428 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7429 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7430 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7431
2fbdf533
RM
7432 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7433 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7434 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7435 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7436 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7437 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7438 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7439 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7440 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7441 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7442
4c68138b
RM
7443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7445
4eaae765
RM
7446 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7447 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7448 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7449 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7450 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7451 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7452 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7453 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7455 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7457 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7459 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7461 Update #include.
7462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7463 Likewise.
7464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7465 Likewise.
7466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7467 Likewise.
7468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7469 Likewise.
7470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7471 Likewise.
7472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7473 Likewise.
7474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7475 Likewise.
7476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7477 Likewise.
7478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7479 Likewise.
4ef6befa
RM
7480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7486 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7490 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7491 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7495
941d7dfd
RM
7496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7497 that was previously under [RESET_PID].
7498 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7499 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7500 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7501
1b731c35
RM
7502 * sysdeps/i386/nptl/Implies: New file.
7503 * sysdeps/x86_64/nptl/Implies: New file.
7504 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7505 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7506 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7507 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7508
e2787137
RM
7509 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7510 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7511 (__libc_vfork): New strong alias.
7512 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7513 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7514
7515 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7516 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7517 (__libc_vfork): New strong alias.
7518 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7519 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7520
5675da1e
RM
7521 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7522 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7523 (__libc_vfork): New strong alias.
7524 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7525 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7526 * nptl/pt-vfork.c: New file.
7527 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7528 (libpthread: GLIBC_2.20): New version set (empty).
7529
4f02e2b8
WN
75302014-05-14 Will Newton <will.newton@linaro.org>
7531
7532 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7533 rather than #if.
7534
0bf061d3
JM
75352014-05-14 Joseph Myers <joseph@codesourcery.com>
7536
1a84c3d6
JM
7537 [BZ #16564]
7538 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7539 arguments with exponent 65 or above.
7540 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7541 arguments 0x1p113L or above.
7542 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7543 to arguments 0x1p107L or above.
7544 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7545 positive arguments with exponent 65 or above.
7546 * math/auto-libm-test-in: Add more tests of log1p.
7547 * math/auto-libm-test-out: Regenerated.
7548
01dbacd2
JM
7549 [BZ #16928]
7550 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7551 non-finite arguments is +0.
7552 * math/s_cacosf.c (__cacosf): Likewise.
7553 * math/s_cacosl.c (__cacosl): Likewise.
7554 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7555 * sysdeps/i386/fpu/libm-test-ulps: Update.
7556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7557
913d03c8
JM
7558 [BZ #16927]
7559 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7560 value.
7561 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7562 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7563 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7564 for explicit high bit of mantissa when testing for argument equal
7565 to 1.
7566 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7567 * sysdeps/i386/fpu/libm-test-ulps: Update.
7568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7569
0bf061d3
JM
7570 [BZ #16516]
7571 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7572 (__erf): Scale by 16 instead of 8 in potentially underflowing
7573 case. Ensure exception if result actually underflows.
7574 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7575 (__erff): Scale by 16 instead of 8 in potentially underflowing
7576 case. Ensure exception if result actually underflows.
7577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7578 (efx8): Remove variable.
7579 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7580 case. Ensure exception if result actually underflows.
7581 * sysdeps/ieee754/ldbl-128ibm/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-96/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 * math/auto-libm-test-in: Add more tests of erf.
7590 * math/auto-libm-test-out: Regenerated.
7591
73ba67cb
AS
75922014-05-14 Andreas Schwab <schwab@suse.de>
7593
3d8c8bff
AS
7594 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7595 Remove code conditionalized on USE___THREAD.
7596
73ba67cb
AS
7597 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7598 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7599 not definedness.
7600
5c521ecd
JM
76012014-05-14 Joseph Myers <joseph@codesourcery.com>
7602
5e7698c6
JM
7603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7604 Define unconditionally.
7605 (__ASSUME_O_CLOEXEC): Likewise.
7606 (__ASSUME_SOCK_CLOEXEC): Likewise.
7607 (__ASSUME_IN_NONBLOCK): Likewise.
7608 (__ASSUME_PIPE2): Likewise.
7609 (__ASSUME_EVENTFD2): Likewise.
7610 (__ASSUME_SIGNALFD4): Likewise.
7611 (__ASSUME_DUP3): Likewise.
7612 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7613 (__ASSUME_DUP3): Do not define.
7614 (__ASSUME_EVENTFD2): Likewise.
7615 (__ASSUME_IN_NONBLOCK): Likewise.
7616 (__ASSUME_O_CLOEXEC): Likewise.
7617 (__ASSUME_PIPE2): Likewise.
7618 (__ASSUME_SIGNALFD4): Likewise.
7619 (__ASSUME_SOCK_CLOEXEC): Likewise.
7620 (__ASSUME_UTIMES): Undefine.
7621 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7622 (__ASSUME_UTIMES): Do not define.
7623 (__ASSUME_O_CLOEXEC): Likewise.
7624 (__ASSUME_SOCK_CLOEXEC): Likewise.
7625 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7626 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7627 0x020621].
7628 (__ASSUME_PIPE2): Likewise.
7629 (__ASSUME_EVENTFD2): Likewise.
7630 (__ASSUME_SIGNALFD4): Likewise.
7631 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7632 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7633 Do not define.
7634 (__ASSUME_EVENTFD2): Likewise.
7635 (__ASSUME_SIGNALFD4): Likewise.
7636 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7637 (__ASSUME_32BITUIDS): Likewise.
7638 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7639 (__ASSUME_IPC64): Likewise.
7640 (__ASSUME_ST_INO_64_BIT): Likewise.
7641 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7642 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7643 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7644 (__ASSUME_UTIMES): Do not define.
7645 (__ASSUME_PSELECT): Likewise.
7646 (__ASSUME_PPOLL): Likewise.
7647 (__ASSUME_O_CLOEXEC): Likewise.
7648 (__ASSUME_SOCK_CLOEXEC): Likewise.
7649 (__ASSUME_IN_NONBLOCK): Likewise.
7650 (__ASSUME_PIPE2): Likewise.
7651 (__ASSUME_EVENTFD2): Likewise.
7652 (__ASSUME_SIGNALFD4): Likewise.
7653 (__ASSUME_DUP3): Likewise.
7654 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7655 (__ASSUME_UTIMES): Likewise.
7656 (__ASSUME_O_CLOEXEC): Likewise.
7657 (__ASSUME_SOCK_CLOEXEC): Likewise.
7658 (__ASSUME_IN_NONBLOCK): Likewise.
7659 (__ASSUME_PIPE2): Likewise.
7660 (__ASSUME_EVENTFD2): Likewise.
7661 (__ASSUME_SIGNALFD4): Likewise.
7662 (__ASSUME_DUP3): Likewise.
7663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7664 (__ASSUME_UTIMES): Likewise.
7665 (__ASSUME_O_CLOEXEC): Likewise.
7666 (__ASSUME_SOCK_CLOEXEC): Likewise.
7667 (__ASSUME_IN_NONBLOCK): Likewise.
7668 (__ASSUME_PIPE2): Likewise.
7669 (__ASSUME_EVENTFD2): Likewise.
7670 (__ASSUME_SIGNALFD4): Likewise.
7671 (__ASSUME_DUP3): Likewise.
7672 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7673 Likewise.
7674 (__ASSUME_UTIMES): Likewise.
7675 (__ASSUME_EVENTFD2): Likewise.
7676 (__ASSUME_SIGNALFD4): Likewise.
7677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7678 (__ASSUME_O_CLOEXEC): Likewise.
7679 (__ASSUME_SOCK_CLOEXEC): Likewise.
7680 (__ASSUME_IN_NONBLOCK): Likewise.
7681 (__ASSUME_PIPE2): Likewise.
7682 (__ASSUME_EVENTFD2): Likewise.
7683 (__ASSUME_SIGNALFD4): Likewise.
7684 (__ASSUME_DUP3): Likewise.
7685 (__ASSUME_UTIMES): Undefine.
7686
5c521ecd
JM
7687 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7688 feclearexcept. Remove symbol versioning code.
7689 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7690 symbol versioning code.
7691 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7692 symbol versioning code.
7693 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7694 feupdateenv. Remove symbol versioning code.
7695 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7696 fegetexceptflag. Remove symbol versioning code.
7697 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7698 fesetexceptflag. Remove symbol versioning code.
7699 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7700 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7701 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7702 (__posix_fadvise64_l32): Remove prototype.
7703 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7704 code.
7705
5da9dfad
RM
77062014-05-13 Roland McGrath <roland@hack.frob.com>
7707
7708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7709 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7710 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7711 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7712
893b4f37
SK
77132014-05-13 Sami Kerola <kerolasa@iki.fi>
7714
7715 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7716 current working directory
7717
e0db6517
RM
77182014-05-13 Roland McGrath <roland@hack.frob.com>
7719
58aa195d
RM
7720 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7721 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7722 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7723 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7724 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7725 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7726 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7727 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7728 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7729 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7730 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7731 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7753 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7754 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7755 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7756 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7757 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7758 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7759 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7760 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7761 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7762
8c6d01f0
RM
7763 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7764 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7765
7766 * sysdeps/unix/sysv/linux/arm/Makefile
7767 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7768 Add rt-aeabi_unwind_cpp_pr1.
7769 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7770 Add nptl-aeabi_unwind_cpp_pr1.
7771 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7772 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7773 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7774 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7775 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7776 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7777
7778 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7779 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7780 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7781 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7782
bba6da4e
RM
7783 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7784 Deconditionalize the code that was previously under [RESET_PID].
7785 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7786
e0db6517
RM
7787 * sysdeps/generic/exit-thread.h: New file.
7788 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7789 * include/unistd.h (__exit_thread): Remove declaration.
7790 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7791 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7792 * csu/libc-start.c: Include <exit-thread.h>.
7793 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7794 * nptl/pthread_create.c: Include <exit-thread.h>.
7795 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7796 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7797 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7798 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7799 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7800 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7801 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7802 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7803 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7804 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7805 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7806 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7807 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7808 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7809 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7810 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7811 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7812
01eb16fd
AS
78132014-05-13 Andreas Schwab <schwab@suse.de>
7814
7815 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7816
637461d9
JM
78172014-05-12 Joseph Myers <joseph@codesourcery.com>
7818
7819 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7820 (__ASSUME_UTIMES): Do not condition on kernel version.
7821 (__ASSUME_PSELECT): Define unconditionally.
7822 (__ASSUME_PPOLL): Likewise.
7823 (__ASSUME_ATFCTS): Likewise.
7824 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7825 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7826 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7827 (__ASSUME_UTIMENSAT): Define unconditionally.
7828 (__ASSUME_PRIVATE_FUTEX): Likewise.
7829 (__ASSUME_FALLOCATE): Likewise.
7830 (__ASSUME_O_CLOEXEC): Likewise.
7831 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7832 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7833 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7834 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7835 (__ASSUME_IN_NONBLOCK): Likewise.
7836 (__ASSUME_PIPE2): Likewise.
7837 (__ASSUME_EVENTFD2): Likewise.
7838 (__ASSUME_SIGNALFD4): Likewise.
7839 (__ASSUME_DUP3): Likewise.
7840 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7841 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7842 (__ASSUME_AT_RANDOM): Likewise.
7843 (__ASSUME_PREADV): Likewise.
7844 (__ASSUME_PWRITEV): Likewise.
7845 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7846 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7847 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7848 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7849 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7851 (__ASSUME_O_CLOEXEC): Define unconditionally.
7852 (__ASSUME_PSELECT): Do not undefine conditionally.
7853 (__ASSUME_PPOLL): Likewise.
7854 (__ASSUME_ATFCTS): Likewise.
7855 (__ASSUME_SET_ROBUST_LIST): Likewise.
7856 (__ASSUME_UTIMENSAT): Likewise.
7857 (__ASSUME_FDATASYNC): Define unconditionally.
7858 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7859 (__ASSUME_SIGFRAME_V2): Likewise.
7860 )__ASSUME_EVENTFD2): Likewise.
7861 (__ASSUME_SIGNALFD4): Likewise.
7862 (__ASSUME_PSELECT): Do not undefine conditionally.
7863 (__ASSUME_PPOLL): Likewise.
7864 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7865 (__ASSUME_PSELECT): Define unconditionally.
7866 (__ASSUME_PPOLL): Likewise.
7867 (__ASSUME_O_CLOEXEC): Likewise.
7868 (__ASSUME_SOCK_CLOEXEC): Likewise.
7869 (__ASSUME_IN_NONBLOCK): Likewise.
7870 (__ASSUME_PIPE2): Likewise.
7871 (__ASSUME_EVENTFD2): Likewise.
7872 (__ASSUME_SIGNALFD4): Likewise.
7873 (__ASSUME_DUP3): Likewise.
7874 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7875 (__ASSUME_O_CLOEXEC): Likewise.
7876 (__ASSUME_SOCK_CLOEXEC): Likewise.
7877 (__ASSUME_IN_NONBLOCK): Likewise.
7878 (__ASSUME_PIPE2): Likewise.
7879 (__ASSUME_EVENTFD2): Likewise.
7880 (__ASSUME_SIGNALFD4): Likewise.
7881 (__ASSUME_DUP3): Likewise.
7882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7883 (__ASSUME_EVENTFD2): Likewise.
7884 (__ASSUME_SIGNALFD4): Likewise.
7885 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7886
315eb1d8
AS
78872014-05-12 Andreas Schwab <schwab@suse.de>
7888
7889 [BZ #16932]
7890 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7891 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7892 than maximum RPC packet size.
7893 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7894 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7895 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7896 (_nss_nis_getservbyport_r): Likewise.
7897
91df99f7
WN
78982014-05-12 Will Newton <will.newton@linaro.org>
7899
7900 * malloc/Makefile (tests): Add tst-mallopt.
7901 * malloc/tst-mallopt.c: New file.
7902
0a982a29
RM
79032014-05-09 Roland McGrath <roland@hack.frob.com>
7904
7905 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7906 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7907
0ded08a5
AZ
79082014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7909
7910 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7911 (tst-tlsmod6.so): Likewise.
7912
55d4d550
RM
79132014-05-09 Roland McGrath <roland@hack.frob.com>
7914
7915 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7916
77d08aca
JM
79172014-05-09 Joseph Myers <joseph@codesourcery.com>
7918
7919 [BZ #16064]
7920 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7921 and <dl-procinfo.h>.
7922 (__fegetenv): Save SSE state in envp->__eip if supported.
7923 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7924 envp->__eip if supported.
7925 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7926 and <dl-procinfo.h>.
7927 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7928 __data_offset and __data_selector in environment to 0. Set SSE
7929 state if supported.
7930 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7931 test-fenv-sse.
7932 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7933 -mfpmath=sse.
7934 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7935
28162f4d
WN
79362014-05-09 Will Newton <will.newton@linaro.org>
7937
7938 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7939 and libc_relro_required for ARM.
7940 * sysdeps/arm/preconfigure: Regenerate.
7941
5a414ff7
DV
79422014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7943 Stefan Liebler <stli@linux.vnet.ibm.com>
7944
7945 * config.make.in (enable-lock-elision): New Makefile variable.
7946 * configure.ac: Likewise.
7947 * configure: Regenerate.
7948 * sysdeps/s390/configure.ac:
7949 Add check for gcc transactions support.
7950 * sysdeps/s390/configure: Regenerate.
7951 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7952 Build elision files if enabled.
7953 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7954 Add lock elision support for s390.
7955 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7956 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7957 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7958 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7959 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7960 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7961 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7962 Likewise.
7963 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7964 Likewise.
7965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7966 Likewise.
7967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7968 Likewise.
7969 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7970 (__lll_timedlock_elision, __lll_lock_elision)
7971 (__lll_unlock_elision, __lll_trylock_elision)
7972 (lll_timedlock_elision, lll_lock_elision)
7973 (lll_unlock_elision, lll_trylock_elision): Add.
7974 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7975 (pthread_mutex_t): Add lock elision support for s390.
7976
1a2f40e5
W
79772014-05-14 Wilco <wdijkstr@arm.com>
7978
7979 * sysdeps/arm/fclrexcpt.c: Cleanup.
7980 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7981 * sysdeps/arm/feenablxcpt.c: Cleanup.
7982 * sysdeps/arm/fegetenv.c: Cleanup.
7983 * sysdeps/arm/fegetexcept.c: Cleanup.
7984 * sysdeps/arm/fegetround.c: Cleanup.
7985 * sysdeps/arm/feholdexcpt.c: Cleanup.
7986 * sysdeps/arm/fesetenv.c: Cleanup.
7987 * sysdeps/arm/fesetround.c: Cleanup.
7988 * sysdeps/arm/feupdateenv.c: Cleanup.
7989 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7990 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7991 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7992 * sysdeps/arm/ftestexcept.c: Cleanup.
7993 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7994 * sysdeps/arm/setfpucw.c: Cleanup.
7995
f63c86fe
WN
79962014-05-09 Will Newton <will.newton@linaro.org>
7997
7998 * sysdeps/arm/armv7/strcmp.S: New file.
7999 * NEWS: Mention addition of ARMv7 optimized strcmp.
8000
7a1a51b5
RM
80012014-05-08 Roland McGrath <roland@hack.frob.com>
8002
95afbbe5
RM
8003 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8004 look for %.ac rather than %.in.
8005
8006 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8007 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8008 * sysdeps/mach/hurd/configure: Regenerated.
8009 * sysdeps/unix/sysv/linux/configure: Regenerated.
8010
7a1a51b5
RM
8011 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8012
5057ad3b
SE
80132014-05-07 Steve Ellcey <sellcey@mips.com>
8014
8015 [BZ# 16922]
8016 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8017 (LONG_SUB): Ditto.
8018 (PTR_SUB): Ditto.
8019
8dc97517
AS
80202014-05-07 Andreas Schwab <schwab@suse.de>
8021
8022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8023 when skipping over non-matching result from nscd.
8024
ce0c5b8f
OB
80252014-05-07 Ondřej Bílka <neleai@seznam.cz>
8026
8027 [BZ #16876]
8028 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8029
a1189263
OB
8030 [BZ #16877]
8031 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8032 nscd security class.
ce0c5b8f 8033
0f58d252
RM
80342014-05-06 Roland McGrath <roland@hack.frob.com>
8035
8036 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8037 * sysdeps/arm/unwind.h: ... here.
8038
83df9ad0
AJ
80392014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8040
ce0c5b8f
OB
8041 [BZ# 16916]
8042 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8043 Define.
83df9ad0 8044
f360f94a
VR
80452014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8046
8047 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8048 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8049 multiarch strncpy for PPC64.
8050 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8051 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8053 multiarch optimizations.
8054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8055 (__libc_ifunc_impl_list): Likewise.
8056 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8057 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8058 multiarch stpncpy for PPC64.
8059 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8060 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8061
978a41c3
AS
80622014-05-06 Andreas Schwab <schwab@suse.de>
8063
8064 [BZ #16912]
8065 * gmon/mcount.c (_MCOUNT_DECL): Use
8066 atomic_compare_and_exchange_bool_acq instead of
8067 catomic_compare_and_exchange_bool_acq.
8068
eb1ed03d
RM
80692014-05-05 Roland McGrath <roland@hack.frob.com>
8070
fe658845
RM
8071 * elf/Makefile (others, install-bin): Remove pldd.
8072 (pldd-modules): Variable removed.
8073 ($(objpfx)pldd): Target removed.
8074 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8075 (others, install-bin): Append pldd here.
8076 ($(objpfx)pldd): New target.
8077
eb1ed03d
RM
8078 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8079 to 0, so the first #if test emitted later doesn't see it undefined.
8080 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8081 * sysdeps/gnu/errlist.c: Regenerated.
8082
19c4bec0
AZ
80832014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8084
8085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8086 [libc_hidden_builtin_def]: Define to empty value.
8087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8088 [libc_hidden_builtin_def]: Likewise.
8089 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8090 [libc_hidden_builtin_def]: Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8092 [libc_hidden_builtin_def]: Likewise.
8093 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8094 __redirect_memcpy and define ifunc as default hidden symbol.
8095 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8096 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8097
7776e669
AC
80982014-05-04 Adam Conrad <adconrad@0c3.net>
8099
8100 * locale/iso-4217.def: Reintroduce XDR currency.
8101
d69aeb12
AM
81022014-05-04 Allan McRae <allan@archlinux.org>
8103
8104 * po/eo.po: Update Esperanto translation from translation project.
8105
8f1df5cf
CD
81062014-05-02 Carlos O'Donell <carlos@redhat.com>
8107
8108 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8109 and FEATURE_INDEX_MAX to 1.
8110 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8111
13e402e7
SE
81122014-05-01 Steve Ellcey <sellcey@mips.com>
8113
8114 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8115 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8116 * iconvdata/big5.c (ONE_DIRECTION): Define.
8117 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8118 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8119 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8120 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8121 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8122 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8123 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8124 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8125 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8126 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8127 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8128 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8129 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8130 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8131 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8132 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8133 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8134 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8135 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8136 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8137 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8138 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8139 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8140 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8141 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8142 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8143 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8144 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8145 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8146 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8147 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8148 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8149 * iconvdata/johab.c (ONE_DIRECTION): Define.
8150 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8151 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8152 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8153 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8154 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8155 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8156 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8157 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8158 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8159 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8160
c727f032
RM
81612014-05-01 Roland McGrath <roland@hack.frob.com>
8162
8f2f08d0
RM
8163 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8164 (_IO_JUMPS_OFFSET): Define to 0.
8165
c727f032
RM
8166 * nptl/sysdeps/pthread/bits/libc-lock.h
8167 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8168 (__libc_lock_define_initialized_recursive): Always define using
8169 initializer. Modern compilers treat uninitialized (implicit zero) and
8170 explicit zero initializers the same (i.e. put the datum in bss).
8171
a849e800
AS
81722014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8173
8174 * nscd/nscd-client.h: Include <string.h>.
8175
5331255b
DM
81762014-05-01 David S. Miller <davem@davemloft.net>
8177
8178 [BZ #16885]
8179 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8180 multiple zero bytes exist at the end of a string.
8181 Reported by Aurelien Jarno <aurelien@aurel32.net>
8182
8183 * string/test-strcmp.c (check): Add explicit test for situations where
8184 there are multiple zero bytes after the first.
8185
4fdfe821
AS
81862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8187
8188 [BZ #16890]
8189 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8190 when compiling wprintf.
8191 * stdio-common/tstdiomisc.c (t3): New function.
8192 (main): Call it.
8193
0cdddc25
SE
81942014-05-01 Steve Ellcey <sellcey@mips.com>
8195
8196 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8197 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8198 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8199 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8200
6426d77e
SE
82012014-05-01 Steve Ellcey <sellcey@mips.com>
8202
8203 * stdlib/longlong.h: Updated from GCC.
8204
6d96f5e4
WN
82052014-05-01 Will Newton <will.newton@linaro.org>
8206 Bernard Ogden <bernie.ogden@linaro.org>
8207
7470db0c
WN
8208 * NEWS: Update fixed bug list.
8209
6d96f5e4
WN
8210 [BZ #15119]
8211 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8212
211d653c
DM
82132014-04-30 David S. Miller <davem@davemloft.net>
8214
4fa262fa
DM
8215 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8216 (libc_feholdexcept_setround_sparc_ctx): New function.
8217 (libc_fesetenv_sparc_ctx): Likewise.
8218 (libc_feupdateenv_sparc_ctx): Likewise.
8219 (libc_feholdsetround_sparc_ctx): Likewise.
8220 (libc_feholdexcept_setround_ctx): Define.
8221 (libc_feholdexcept_setroundf_ctx): Likewise.
8222 (libc_feholdexcept_setroundl_ctx): Likewise.
8223 (libc_fesetenv_ctx): Likewise.
8224 (libc_fesetenvf_ctx): Likewise.
8225 (libc_fesetenvl_ctx): Likewise.
8226 (libc_feupdateenv_ctx): Likewise.
8227 (libc_feupdateenvf_ctx): Likewise.
8228 (libc_feupdateenvl_ctx): Likewise.
8229 (libc_feresetround_ctx): Likewise.
8230 (libc_feresetroundf_ctx): Likewise.
8231 (libc_feresetroundl_ctx): Likewise.
8232 (libc_feholdsetround_ctx): Likewise.
8233 (libc_feholdsetroundf_ctx): Likewise.
8234 (libc_feholdsetroundl_ctx): Likewise.
8235
1d3d93ef
DM
8236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8237 with __USE_GNU instead of XOPEN cpp guards.
8238
8aa583c3
DM
8239 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8240 0.
8241
211d653c
DM
8242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8243 with XOPEN cpp guards.
8244
60c8f1f6
JB
82452014-04-30 Julian Brown <julian@codesourcery.com>
8246
8247 [BZ #16888]
8248 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8249 handling.
8250
9a461d46
JM
82512014-04-30 Joseph Myers <joseph@codesourcery.com>
8252
d0f5b3f8
JM
8253 [BZ #9894]
8254 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8255 Change to 2.6.32.
8256 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8257 * sysdeps/unix/sysv/linux/configure: Regenerated.
8258 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8259 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8260 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8261 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8262 * README: Update reference to required Linux kernel version.
8263 * manual/install.texi (Linux): Update reference to required Linux
8264 kernel headers version.
8265 * INSTALL: Regenerated.
8266
9a461d46
JM
8267 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8268 header inclusion.
8269 [POSIX] (limits.h): Likewise.
8270 [POSIX] (math.h): Likewise.
8271 [POSIX] (sys/wait.h): Likewise.
8272 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8273 function.
8274 [POSIX] (stddef.h): Do not allow header inclusion.
8275
1775babf
AZ
82762014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8277
57f41c40 8278 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8279
8f630cca
YY
82802014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8281
8282 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8283 Return immediately after lll_futex_wake.
8284
1cdeb237
SP
82852014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8286
bc8f194c
SP
8287 [BZ #16791]
8288 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8289 structure.
8290 (datahead_init_pos): Call datahead_init_common early.
8291 (datahead_init_neg): Likewise.
8292
1cdeb237
SP
8293 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8294 datahead_init_neg): New functions.
8295 * nscd/aicache.c (addhstaiX): Use them.
8296 * nscd/grpcache.c (cache_addgr): Likewise.
8297 * nscd/hstcache.c (cache_addhst): Likewise.
8298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8299 * nscd/netgroupcache.c (do_notfound): Likewise.
8300 (addgetnetgrentX): Likewise.
8301 (addinnetgrX): Likewise.
8302 * nscd/pwdcache.c (cache_addpw): Likewise.
8303 * nscd/servicescache.c (cache_addserv): Likewise.
8304
16b293a7
SP
83052014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 Atsushi Onoe <atsushi@onoe.org>
8307
8308 [BZ #14308]
8309 [BZ #12994]
8310 [BZ #13651]
8311 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8312 one response is valid.
8313 * resolv/res_send.c (send_dg): Check for validity of other
8314 response if the current response is a referral.
8315
a28a9b94
SE
83162014-04-29 Steve Ellcey <sellcey@mips.com>
8317
8318 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8319
2ca180e9
SL
83202014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8321
8322 [BZ #16823]
8323 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8324 Always divide by positive zero when computing -Inf result.
8325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8326 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8327
18f2945a
AZ
83282014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8329
8330 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8331 FPSCR if value do not change.
8332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8334 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8337 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8338 function.
8339
5abebba4
CD
83402014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8341
8342 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8343 * sysdeps/unix/sysv/linux/hppa: Move directory from
8344 ports/systeps/unix/sysv/linux/hppa.
8345 * README: Update listing for hppa-*-linux-gnu.
8346
f7ed60c2
OB
83472014-04-28 Ondřej Bílka <neleai@seznam.cz>
8348
fff763a5
OB
8349 [BZ #16754]
8350 * manual/stdio.texi (Hook functions): Fix types of stream hook
8351 functions.
f7ed60c2
OB
8352 [BZ #16854]
8353 * socket/sys/socket.h: Fix typo in comment.
8354
df639d73
WD
83552014-04-28 Wilco <wdijkstr@arm.com>
8356
f7ed60c2 8357 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8358 * sysdeps/arm/math_private.h: New file.
8359 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8360
48332d82
L
83612014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8362
8363 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8364 with __int128_t.
8365 (La_x86_64_retval): Likewise.
8366
e5e0d9a4
IB
83672014-04-24 Ian Bolton <ian.bolton@arm.com>
8368
8369 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8370 fpsr if value didn't change.
8371 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8372 to fpcr if value didn't change.
8373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8374 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8375 fpsr or fpcr if value didn't change.
8376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8378 fpcr if value didn't change.
8379 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8380 to fpsr if value didn't change.
8381
bacc75f7
SP
83822014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8383
8384 * nptl/tst-sem3.c: Use test-skeleton.c
8385 (main): Rename to do_test. Use return instead of
8386 exit.
8387 * nptl/tst-sem4.c: Use test-skeleton.c
8388 (main): Rename to do_test.
8389
a059d359
DM
83902014-04-22 David S. Miller <davem@davemloft.net>
8391
8392 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8393 (struct sigaction): New struct member __glibc_reserved0, change
8394 type of sa_flags to int.
8395
ea6c92f3
YZ
83962014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8397
8398 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8399 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8400
766c4a36
SP
84012014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8402
8403 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8404 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8405
140cc7ab
VK
84062014-04-22 Will Newton <will.newton@linaro.org>
8407 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8408
8409 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8410 (__longjmp): Add longjmp and longjmp_target SystemTap
8411 probes.
8412 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8413 (__sigsetjmp): Add setjmp SystemTap probe.
8414
c54e5cf7
CD
84152014-04-17 Carlos O'Donell <carlos@redhat.com>
8416
8417 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8418 match manual order.
8419
75ffb047
AZ
84202014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8421
8422 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8423
2cd925f7
AZ
8424 * sysdeps/powerpc/fpu/fenv_private.h
8425 (libc_feholdexcept_setroundl_ctx): Define to
8426 libc_feholdexcept_setround_ppc_ctx.
8427 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8428 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8429 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8430 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8431
39e6cd8d
IB
84322014-04-17 Ian Bolton <ian.bolton@arm.com>
8433
8434 * sysdeps/aarch64/math-tests.h: New file.
8435
f9281df9
SY
84362014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8437
8438 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8439 New.
8440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8441 Check and set bit_AVX2_Usable.
8442 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8443 macro.
8444 (bit_AVX2): Likewise.
8445 (index_AVX2_Usable): Likewise.
8446 (CPUID_AVX2): Likewise.
8447 (HAS_AVX2): Likewise.
8448
37d35007
WN
84492014-04-17 Will Newton <will.newton@linaro.org>
8450
7c677662
WN
8451 * manual/setjmp.texi (System V contexts): Add note that
8452 calling setcontext on a context created by a call to a
8453 signal handler is undefined. Update text to note that
8454 setcontext from a signal handler is possible but not
8455 recommended.
8456
37d35007 8457 [BZ #16629]
e04a4e9d
WN
8458 * stdlib/tst-setcontext.c: Include signal.h.
8459 (main): Check that the signal stack before and
8460 after swapcontext is the same.
8461
37d35007
WN
8462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8463 Re-implement to restore registers in user code and avoid
8464 rt_sigreturn system call.
8465
423a7160
W
84662014-04-17 Wilco <wdijkstr@arm.com>
8467
8468 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8469 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8470 * math/test-fenv.c: Skip exception trap tests on targets which only
8471 support non-stop mode.
8472
bc93ab29
IB
84732014-04-17 Ian Bolton <ian.bolton@arm.com>
8474 Wilco Dijkstra <wilco.dijkstra@arm.com>
8475
8476 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8477 (libc_feholdsetround_aarch64_ctx)
8478 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8479 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8480 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8481 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8482 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8483 (libc_feresetround_noexl_ctx): Define.
8484
95fc5fa3
RH
84852014-04-16 Richard Henderson <rth@redhat.com>
8486
ddb04724
RH
8487 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8488
d77c0899
RH
8489 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8490 unwind tables.
8491
a3df56fc
RH
8492 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8493 const from the non-libc, non-ldso copy.
8494
95fc5fa3
RH
8495 * sysdeps/alpha/libm-test-ulps: Regenerate.
8496
7e0b6763
IB
84972014-04-16 Ian Bolton <ian.bolton@arm.com>
8498 Wilco Dijkstra <wilco.dijkstra@arm.com>
8499
8500 * sysdeps/aarch64/fpu/math_private.h: New file.
8501
a9ea2e0c
MS
85022014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8503
8504 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8505
ea8ba7cd
IZ
85062014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8507
7e54fd04 8508 [BZ #16275]
ea8ba7cd
IZ
8509 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8510 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8512 Intel MPX bound registers before _dl_profile_fixup.
8513 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8514 registers after _dl_profile_fixup. Save and restore bound
8515 registers bnd0/bnd1 when calling _dl_call_pltexit.
8516 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8517 (LR_BND_OFFSET): Likewise.
8518 (LRV_BND0_OFFSET): Likewise.
8519 (LRV_BND1_OFFSET): Likewise.
8520
9f2a4fbc
ST
85212014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8522
8523 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8524 to...
8525 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8526 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8527 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8528 fields.
9f2a4fbc 8529
fd15a59b
ST
85302014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8531
8532 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8533
f19dfa0a
SL
85342014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8535
8536 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8537
4fa8bc3b
SL
85382014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8539
8540 [BZ #14770]
8541 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8542 * sysdeps/s390/configure: Regenerate.
8543
8ea587db
SL
8544 [BZ #16824]
8545 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8546 Set round-to-nearest internally to reduce error accumulation.
8547
aa5f0ff1
AM
85482014-04-16 Alan Modra <amodra@gmail.com>
8549
8550 [BZ #16740]
8551 [BZ #16619]
8552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8553 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8554 * NEWS: Update fixed bug list.
aa5f0ff1 8555
bb9c256f
SP
85562014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8557
8558 * benchtests/Makefile: Depend on libraries in build directory.
8559 (bench-math): Separate out math tests.
8560 (bench-pthread): Separate out pthread tests.
8561 (bench): Include math and pthread tests.
8562
f737dfd0
CD
85632014-04-14 Carlos O'Donell <carlos@redhat.com>
8564
8565 [BZ #16831]
8566 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8567 _dl_debug_initialize.
8568
0699f766
CD
8569 * configure.ac: Remove SELinux header check.
8570 * configure: Regenerate.
8571 * nscd/selinux.c (perms): Array of const char* to permission names.
8572 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8573 default policy. Call string_to_security_class and string_to_av_perm to
8574 translate strings. Enforce default policy and call avs_has_perm with
8575 results of translated strings.
8576
809bd45f
DM
85772014-04-13 David S. Miller <davem@davemloft.net>
8578
8579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8580
89e691f2
AM
85812014-04-12 Allan McRae <allan@archlinux.org>
8582
8583 [BZ #16838]
8584 * manual/string.texi (Collation Functions): Fix qsort argument
8585 order in example.
8586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8587
9c9daaeb
CM
85882014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8589
8590 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8591 Make the test a no-op if there are no exceptions defined.
8592
95561fb9
PP
85932014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8594
fe8d072c 8595 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8596 enable-hardcoded-path-in-tests
8597
970c602a
WN
85982014-04-11 Will Newton <will.newton@linaro.org>
8599
8600 * benchtests/Makefile (extra-objs): Add json-lib.o.
8601 (bench-func): Tidy up JSON output.
8602 * benchtests/bench-skeleton.c: Include json-lib.h.
8603 (main): Use JSON library functions to do output of
8604 benchmark results.
8605 * benchtests/bench-timing-type.c (main): Output the
8606 timing type simply, leaving formatting to the user.
8607 * benchtests/json-lib.c: New file.
8608 * benchtests/json-lib.h: Likewise.
8609
36875b06
TR
86102014-04-11 Torvald Riegel <triegel@redhat.com>
8611
8612 [BZ #15215]
8613 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8614 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8615 memory barriers. Add comments.
8616 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8617 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8618 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8619 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8620 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8621 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8622
579db35a
SL
86232014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8624
8625 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8626 * sysdeps/s390/s390-64/configure.ac: ... this ...
8627 * sysdeps/s390/configure.ac: ... to here.
8628 * sysdeps/s390/s390-32/configure: Delete file.
8629 * sysdeps/s390/s390-64/configure: Delete file.
8630 * sysdeps/s390/configure: Regenerate.
8631
c12e9f37
JAPH
86322014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8633
8634 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8635
439bda32
WN
86362014-04-11 Will Newton <will.newton@linaro.org>
8637
8638 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8639 to zero if it is not defined elsewhere. (mtrim): Test
8640 the value of MALLOC_DEBUG with #if rather than #ifdef.
8641
6a5d6ea1
TR
86422014-04-10 Torvald Riegel <triegel@redhat.com>
8643
8644 * benchtests/pthread_once-inputs: New file.
8645 * benchtests/pthread_once-source.c: New file.
8646 * benchtests/README: Update documentation.
8647
a4c75cfd
IZ
86482014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8649 H.J. Lu <hongjiu.lu@intel.com>
8650
7e54fd04 8651 [BZ #16275]
a4c75cfd
IZ
8652 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8653 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8654 * sysdeps/x86_64/configure: Regenerated.
8655 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8656 macro.
8657 (REGISTER_SAVE_RAX): Likewise.
8658 (REGISTER_SAVE_RCX): Likewise.
8659 (REGISTER_SAVE_RDX): Likewise.
8660 (REGISTER_SAVE_RSI): Likewise.
8661 (REGISTER_SAVE_RDI): Likewise.
8662 (REGISTER_SAVE_R8): Likewise.
8663 (REGISTER_SAVE_R9): Likewise.
8664 (REGISTER_SAVE_BND0): Likewise.
8665 (REGISTER_SAVE_BND1): Likewise.
8666 (REGISTER_SAVE_BND2): Likewise.
8667 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8668 bound registers when calling _dl_fixup.
8669
27822ce6
AZ
86702014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8671
8672 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8673 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8674 of its definition.
27822ce6
AZ
8675 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8676 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8677 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8678 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8679 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8680 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8681 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8682
a88ddc90
PTB
86832014-04-09 Peter Brett <peter@peter-b.co.uk>
8684
8685 [BZ #15514]
8686 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8687 pathconf(_PC_NAME_MAX).
8688
01f8eac2
AZ
86892014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8690
8691 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8692 Remove macro usage.
8693 (__PTHREAD_SPINS): Move definition to ...
8694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8695 (__PTHREAD_SPINS): ... here.
8696 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8697 (__PTHREAD_SPIN): Likewise.
8698 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8699 (__PTHREAD_SPIN): Likewise.
8700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8701 (__PTHREAD_SPIN): Likewise.
8702 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8703 (__PTHREAD_SPIN): Likewise.
8704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8705 (__PTHREAD_SPIN): Likewise.
8706 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8707 (__PTHREAD_SPIN): Likewise.
8708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8709 (__PTHREAD_SPIN): Likewise.
8710 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8711 (__PTHREAD_SPIN): Likewise.
8712 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8713 (__PTHREAD_SPIN): Likewise.
8714 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8715 (__PTHREAD_SPIN): Likewise.
8716 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8717 (__PTHREAD_SPIN): Likewise.
8718 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8719 (__PTHREAD_SPIN): Likewise.
8720
de21c33c
AZ
8721 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8722 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8723 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8724 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8725 imply folder.
8726 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8727 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8728 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8729 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8730 correct imply path.
8731 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8732 strlen symbol for non multi-arch builds.
8733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8734 missing hidden_def and weak_alias.
8735
862c472e
CD
87362014-04-08 Carlos O'Donell <carlos@redhat.com>
8737
8738 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8739
8667f90e
WN
87402014-04-07 Will Newton <will.newton@linaro.org>
8741
8742 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8743 and contents. [!_LIBC] Remove #ifndef and contents.
8744 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8745 * string/memccpy.c (__memccpy): Use ANSI prototype.
8746 * string/memfrob.c (memfrob): Likewise.
8747 * string/strcoll.c (STRCOLL): Likewise.
8748 * string/strlen.c (strlen): Likewise.
8749 * string/strtok.c (STRTOK): Likewise.
8750 * string/strcat.c: Remove unused #include of memcopy.h.
8751 (strcat): Use ANSI prototype.
8752 * string/strchr.c: Remove unused #include of memcopy.h.
8753 (strchr): Use ANSI prototype.
8754 * string/strcmp.c: Remove unused #include of memcopy.h.
8755 (strcmp): Use ANSI prototype.
8756 * string/strcpy.c: Remove unused #include of memcopy.h.
8757 (strcpy): Use ANSI prototype.
8758
7ffa9423
AZ
87592014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8760
8761 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8762 * config.make.in (config-extra-cppflags): Set it from
8763 libc_extra_cppflags.
8764 * configure.ac (libc_extra_cflags): Make it accumulate over
8765 configure fragments.
8766 (libc_extra_cppflags): New flag.
8767 * configure. Regenerate.
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8769 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8770 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8772
8bd70862
AZ
8773 [BZ #16815]
8774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8775 result for FE_DOWNWARD rounding mode.
8776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8777 Likewise.
8778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8779
d42f3448
CM
87802014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8781
8782 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8783 in function argument name.
8784
1c21d115
DS
87852014-04-03 David Svoboda <svoboda@cert.org>
8786
8787 [BZ #5666]
8788 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8789 explicitly.
8790
fcccd512
RM
87912014-04-03 Roland McGrath <roland@hack.frob.com>
8792
8793 * elf/dl-unmap-segments.h: New file.
8794 * sysdeps/generic/ldsodefs.h
8795 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8796 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8797 * elf/dl-fptr.c: Likewise.
8798 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8799 * sysdeps/aarch64/tlsdesc.c: Likewise.
8800 * sysdeps/arm/tlsdesc.c: Likewise.
8801 * sysdeps/i386/tlsdesc.c: Likewise.
8802 * sysdeps/tile/dl-runtime.c: Likewise.
8803 * sysdeps/x86_64/tlsdesc.c: Likewise.
8804 * elf/dl-load.h: New file.
8805 * elf/dl-load.c: Include it.
8806 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8807 Macros moved to dl-load.h.
8808 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8809 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8810 Use _dl_unmap_segments in place of __munmap.
8811 Break out segment-mapping loop into ...
8812 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8813
f6488e2b
WN
88142014-04-03 Will Newton <will.newton@linaro.org>
8815
8816 * elf/dl-lookup.c (do_lookup_x): Remove comment
8817 referring to nested function and move variable
8818 declarations down to before first use.
8819
6f05bafe
JM
88202014-04-02 Joseph Myers <joseph@codesourcery.com>
8821
a84e78c8
JM
8822 [BZ #16799]
8823 [BZ #16800]
8824 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8825 with 0 numerator.
8826 * math/s_catanf.c (__catanf): Likewise.
8827 * math/s_catanh.c (__catanh): Likewise.
8828 * math/s_catanhf.c (__catanhf): Likewise.
8829 * math/s_catanhl.c (__catanhl): Likewise.
8830 * math/s_catanl.c (__catanl): Likewise.
8831 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8832 by positive zero when computing -Inf result.
8833 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8834 (catanh_test): Likewise.
8835 * sysdeps/i386/fpu/libm-test-ulps: Update.
8836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8837
6f05bafe
JM
8838 [BZ #16789]
8839 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8840 instead of using underflowing value in computing result.
8841 * math/s_clog10.c (__clog10): Likewise.
8842 * math/s_clog10f.c (__clog10f): Likewise.
8843 * math/s_clog10l.c (__clog10l): Likewise.
8844 * math/s_clogf.c (__clogf): Likewise.
8845 * math/s_clogl.c (__clogl): Likewise.
8846 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8847 (clog10_test): Likewise.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update.
8849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850
b0abbc21
AM
88512014-04-02 Alan Modra <amodra@gmail.com>
8852
8853 [BZ #16739]
8854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8855 output when value is near a power of two. Use int64_t for lx and
8856 remove casts. Use decimal rather than hex exponent constants.
8857 Don't use long double multiplication when double will suffice.
8858 * math/libm-test.inc (nextafter_test_data): Add tests.
8859 * NEWS: Add 16739 and 16786 to bug list.
8860
af6b1797
AM
8861 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8862
483818d7
AM
8863 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8864
f6c55796
WN
88652014-04-01 Will Newton <will.newton@linaro.org>
8866
8867 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8868 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8869
13f7fe35
FW
88702014-04-01 Florian Weimer <fweimer@redhat.com>
8871
8872 [BZ #13347]
8873 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8874 * nptl/tst-setuid2.c: New file.
8875 * nptl/Makefile (xtests): Add tst-setuid2.
8876
c859b32e
AM
88772014-04-01 Alan Modra <amodra@gmail.com>
8878
8879 [BZ #16786]
8880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8881
54fa2475
JM
88822014-03-31 Joseph Myers <joseph@codesourcery.com>
8883
8795b4a4
JM
8884 [BZ #6803]
8885 [BZ #6804]
8886 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8887 set errno as appropriate.
8888 * math/w_scalbf.c (__scalbf): Likewise.
8889 * math/w_scalbl.c (__scalbl): Likewise.
8890 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8891 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8892 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8893 Add more NaN tests.
8894
54fa2475
JM
8895 [BZ #16349]
8896 * math/w_atan2.c: Include <errno.h>.
8897 (__atan2): Set errno for result underflowing to zero.
8898 * math/w_atan2f.c: Include <errno.h>.
8899 (__atan2f): Set errno for result underflowing to zero.
8900 * math/w_atan2l.c: Include <errno.h>.
8901 (__atan2l): Set errno for result underflowing to zero.
8902 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8903 tests.
8904 * math/auto-libm-test-out: Regenerated.
8905
757d9dd5
AZ
89062014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8907
8908 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8909 Encode instruction correctly in little endian.
8910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8911 Likewise.
8912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8913 Likewise.
8914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8915 Likewise.
8916 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8917 Likewise.
8918
d7a68734
JM
89192014-03-31 Joseph Myers <joseph@codesourcery.com>
8920
47c5adeb
JM
8921 [BZ #9894]
8922 * sysdeps/unix/sysv/linux/kernel-features.h
8923 [__sparc__ && !__arch64__ && !__sparc_v9__]
8924 (__ASSUME_SET_ROBUST_LIST): Do not define.
8925 [__sparc__ && !__arch64__ && !__sparc_v9__]
8926 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8927 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8928 Likewise.
8929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8930 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8931 (__ASSUME_REQUEUE_PI): Likewise.
8932 (__ASSUME_SET_ROBUST_LIST): Likewise.
8933 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8934 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8935 Undefine.
8936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8938 Likewise.
8939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8940 Likewise.
8941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8942 Likewise.
8943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8944 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8945 Undefine.
8946 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8947 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8948 Likewise.
8949
d7a68734
JM
8950 [BZ #16648]
8951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8952 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8953 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8954
c760f5c2
WN
89552014-03-31 Will Newton <will.newton@linaro.org>
8956
8957 * benchtests/Makefile (bench): Add ffs and ffsll to list
8958 of tests.
8959 * benchtests/ffs-inputs: New file.
8960 * benchtests/ffsll-inputs: Likewise.
8961
ea6029b1
JM
89622014-03-29 Joseph Myers <joseph@codesourcery.com>
8963
8964 [BZ #16770]
8965 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8966 too large before casting to int.
8967 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8968 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8969 * math/libm-test.inc (scalb_test_data): Add more tests.
8970
cf806aff
SP
89712014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8972
56737508
SP
8973 * benchtests/Makefile (DETAILED_OPT): New make option.
8974 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8975 set.
8976 * benchtests/bench-skeleton.c: Include stdbool.h.
8977 (main): Store and print timings per input.
8978 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8979 member to each argument value.
8980 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8981 (_print_arg_data): Initialize per-input timing to 0.
8982
cb5e4aad
SP
8983 * benchtests/Makefile (timing-type): New binary.
8984 (bench-clean): Also remove bench-timing-type.
8985 (bench): New target for timing-type.
8986 (bench-func): Print output in JSON format.
8987 * benchtests/bench-skeleton.c (main): Print output in JSON
8988 format.
8989 * benchtests/bench-timing-type.c: New file.
8990 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8991 (TIMING_PRINT_STATS): Remove.
8992 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8993 name separately.
8994
cf806aff
SP
8995 * benchtests/bench-modf.c: Remove.
8996 * benchtests/modf-inputs: New inputs file.
8997
289e0779
JM
89982014-03-28 Joseph Myers <joseph@codesourcery.com>
8999
9000 [BZ #16362]
9001 * math/s_clog10.c (M_PI_LOG10E): New macro.
9002 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9003 imaginary parts are 0.
9004 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9005 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9006 imaginary parts are 0.
9007 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9008 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9009 imaginary parts are 0.
9010 * math/libm-test.inc (clog10_test_data): Update expected results
9011 for when real and imaginary parts are 0.
9012
277ae3f1
PP
90132014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9014
9015 * elf/dl-load.c: Finish conversion of __builtin_expect into
9016 __glibc_{un}likely.
9017
03a7091f
JM
90182014-03-27 Joseph Myers <joseph@codesourcery.com>
9019
9020 [BZ #16348]
9021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9022 1+x for argument with exponent below -67.
9023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9024 Likewise.
9025 * math/auto-libm-test-in: Add more tests of exp.
9026 * math/auto-libm-test-out: Regenerated.
9027
ea7d8b95
SP
90282014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9029
dd3022d7
SP
9030 [BZ #16759]
9031 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9032 (nscd_getnetgrent): Use it.
9033
ea7d8b95
SP
9034 [BZ #16760]
9035 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9036 of stpcpy.
9037
df5b85da
AK
90382014-03-27 Andi Kleen <ak@linux.intel.com>
9039
57f41c40
AS
9040 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9041 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9042 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9043 (lll_robust_unlock): Remove out of line section. Use cfi
9044 intrinsics.
df5b85da 9045 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9046 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9047 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9048 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9049 (lll_robust_unlock): Remove out of line section. Use cfi
9050 intrinsics.
df5b85da
AK
9051 (LLL_STUB_UNWIND_INFO*): Remove.
9052
fbd6b5a4
SP
90532014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9054
9055 [BZ #16758]
9056 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9057 blank values.
9058
1b26b855
PP
90592014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9060
9061 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9062
9be36fb8
JM
90632014-03-26 Joseph Myers <joseph@codesourcery.com>
9064
9065 [BZ #16198]
9066 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9067 fnstenv.
9068 * math/test-fenv-preserve.c: New file.
9069 * math/Makefile (tests): Add test-fenv-preserve.
9070
60a2f3c1
WN
90712014-03-26 Will Newton <will.newton@linaro.org>
9072
9073 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9074
a5e5f1e2
RM
90752014-03-25 Roland McGrath <roland@hack.frob.com>
9076
9077 * scripts/versionlist.awk: Partition the version sets and emit all
9078 GLIBC_* (sorted) before all others (sorted).
9079
00f4012a
JM
90802014-03-25 Joseph Myers <joseph@codesourcery.com>
9081
9082 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9083 GLIBC_2.2.5 version.
9084
7bc5a741
AZ
90852014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9086
9087 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9088 calls.
9089
7578473b
AZ
9090 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9091 previous change.
9092
f3f1dab3
AZ
9093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9094
6da36183
AS
90952014-03-25 Andreas Schwab <schwab@suse.de>
9096
9097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9098 label to be used after in6ailist is initialized.
9099
f3f1dab3 91002014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9101
7578473b 9102 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9103 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9104
046651c1
JM
91052014-03-25 Joseph Myers <joseph@codesourcery.com>
9106
9107 [BZ #16357]
9108 [BZ #16599]
9109 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9110 min_plus_half.
9111 (fp_formats): Update initializers.
9112 (init_fp_formats): Initialize new field.
9113 (output_for_one_input_case): Allow underflow for results up to
9114 min_plus_half.
9115 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9116 * math/auto-libm-test-in: Don't mark some underflows from asin and
9117 atanh as spurious.
9118 * math/auto-libm-test-out: Regenerated.
9119 * sysdeps/i386/fpu/libm-test-ulps: Update.
9120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9121
003e49ed
AS
91222014-03-25 Andreas Schwab <schwab@suse.de>
9123
9124 * libio/Makefile (tst-ftell-partial-wide-ENV)
9125 (tst-ftell-active-handler-ENV): Define.
9126
de031874
SL
91272014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9128
9129 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9130
55a81e3b
PP
91312014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9132
9133 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9134
f3426898
JM
91352014-03-24 Joseph Myers <joseph@codesourcery.com>
9136
9137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9138 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9139 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9140
a42faf59
PP
91412014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9142
9143 [BZ #16634]
a42faf59 9144 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9145 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9146 (open_path): Change from boolean 'secure' to complete flag 'mode'
9147 (_dl_map_object): Adjust.
a42faf59
PP
9148 * elf/Makefile (tests): Add tst-dlopen-aout.
9149 * elf/tst-dlopen-aout.c: New test.
9150
50936127
SL
91512014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9152
9153 [BZ #16714]
9154 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9155 (struct stat): Rename member pad0 to __glibc_reserved0.
9156
26011b5c
SL
9157 [BZ #16712]
9158 * sysdeps/s390/s390-32/bits/wordsize.h
9159 (__WORDSIZE32_SIZE_ULONG): New define.
9160 * sysdeps/s390/s390-64/bits/wordsize.h
9161 (__WORDSIZE32_SIZE_ULONG): Likewise.
9162 * sysdeps/generic/stdint.h (SIZE_MAX):
9163 Define as UL if __WORDSIZE32_SIZE_ULONG.
9164
a2d86bf1
SL
9165 [BZ #16713]
9166 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9167 (__glibc_reserved0): New variable.
9168 (sa_flags): Change type to int.
9169
78b6eebc
SL
9170 * posix/Makefile (before-compile): Use += before-compile instead
9171 of a :=.
9172
f1399b5a
SL
9173 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9174 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9175
a071766e
AS
91762014-03-20 Andreas Schwab <schwab@suse.de>
9177
9178 [BZ #16743]
9179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9180 non-matching result from nscd.
9181
27c673b8
SP
91822014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9183
9184 * scripts/bench.py: Moved to ...
9185 * benchtests/scripts/bench.py: ... here.
9186 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9187
44152e4b
AS
91882014-03-24 Andreas Schwab <schwab@suse.de>
9189
9190 [BZ #16002]
9191 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9192 alloca_account and account alloca use for struct in6ailist.
9193
b376a11a
JM
91942014-03-24 Joseph Myers <joseph@codesourcery.com>
9195
9196 [BZ #16284]
9197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9198 rounding mode to recompute results that overflow to infinity or
9199 underflow to zero.
9200 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9201 bug 16284.
9202 * math/auto-libm-test-out: Regenerated.
9203 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9204 (ccosh_test): Likewise.
9205 (csin_test_data): Use plus_oflow.
9206 (csin_test): Use ALL_RM_TEST.
9207 (csinh_test_data): Use plus_oflow.
9208 (csinh_test): Use ALL_RM_TEST.
9209 * sysdeps/i386/fpu/libm-test-ulps: Update.
9210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9211
f7be7376
JM
92122014-03-21 Joseph Myers <joseph@codesourcery.com>
9213
1ca2d03e
JM
9214 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9215 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9216 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9217
f7be7376
JM
9218 [BZ #16731]
9219 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9220 when x - 1 is zero.
9221 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9222 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9223 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9225 argument is 1.
9226 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9227 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9228 zero.
9229 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9230 * sysdeps/i386/fpu/libm-test-ulps: Update.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9232
fdf4534d
SP
92332014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9234
df26ea53
SP
9235 * scripts/bench.pl: Remove file.
9236 * scripts/bench.py: New benchmark script.
9237 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9238 * benchtests/README: Mention python dependency.
9239 * scripts/pylintrc: New file.
9240 * scripts/pylint: New file.
9241
fdf4534d
SP
9242 * bits/mathdef.h: Use #ifdef instead of #if.
9243 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9244 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9245 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9247 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9249
6f23d093
AZ
92502014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9251 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9252
9253 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9255 and strpbrk-ppc64 objects.
9256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9257 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9259 multiarch strpbrk for POWER7.
9260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9261 multiarch strpbrk for PPC64.
9262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9263 ifunc selector.
9264 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9265 strpbrk for POWER7.
9266
8c92dfff
JM
92672014-03-20 Joseph Myers <joseph@codesourcery.com>
9268
9269 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9270 (atan_test): Likewise.
9271 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9272 (atanh_test): Use ALL_RM_TEST.
9273 (atan2_test_data): Likewise.
9274 (cabs_test): Likewise.
9275 (cacosh_test): Likewise.
9276 (carg_test): Likewise.
9277 (casin_test): Likewise.
9278 (casinh_test): Likewise.
9279 (cbrt_test): Likewise.
9280 (csqrt_test): Likewise.
9281 (erf_test): Likewise.
9282 (erfc_test): Likewise.
9283 (pow10_test): Likewise.
9284 (exp2_test): Likewise.
9285 (hypot_test): Likewise.
9286 (j0_test): Likewise.
9287 (j1_test): Likewise.
9288 (lgamma_test): Likewise.
9289 (gamma_test): Likewise.
9290 (sincos_test): Likewise.
9291 (tanh_test): Likewise.
9292 (y0_test): Likewise.
9293 (y1_test): Likewise.
9294 * sysdeps/i386/fpu/libm-test-ulps: Update.
9295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9296
6eaf95cb
AZ
92972014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9298
a387428c
SP
9299 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9301 and strcspn-ppc64 objects.
9302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9303 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9305 multiarch strcspn for POWER7.
9306 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9307 multiarch strcspn for PPC64.
9308 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9309 ifunc selector.
9310 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9311 strcspn for POWER7.
9312
ae3a5dff
JM
93132014-03-20 Joseph Myers <joseph@codesourcery.com>
9314
9315 * math/gen-libm-test.pl (generate_testfile): Expect only function
9316 name as argument to AUTO_TESTS_* and pass results for all rounding
9317 modes to parse_args.
9318 (parse_auto_input): Separate inputs of automatic tests from
9319 outputs before storing in %auto_tests.
9320 * math/libm-test.inc (acos_test_data): Update call to
9321 AUTO_TESTS_f_f.
9322 (acos_test): Use ALL_RM_TEST.
9323 (acos_tonearest_test_data): Remove.
9324 (acos_test_tonearest): Likewise.
9325 (acos_towardzero_test_data): Likewise.
9326 (acos_test_towardzero): Likewise.
9327 (acos_downward_test_data): Likewise.
9328 (acos_test_downward): Likewise.
9329 (acos_upward_test_data): Likewise.
9330 (acos_test_upward): Likewise.
9331 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9332 (asin_test_data): Likewise.
9333 (asin_test): Use ALL_RM_TEST.
9334 (asin_tonearest_test_data): Remove.
9335 (asin_test_tonearest): Likewise.
9336 (asin_towardzero_test_data): Likewise.
9337 (asin_test_towardzero): Likewise.
9338 (asin_downward_test_data): Likewise.
9339 (asin_test_downward): Likewise.
9340 (asin_upward_test_data): Likewise.
9341 (asin_test_upward): Likewise.
9342 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9343 (atan_test_data): Likewise.
9344 (atanh_test_data): Likewise.
9345 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9346 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9347 (carg_test_data): Likewise.
9348 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9349 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9350 (ccosh_test_data): Likewise.
9351 (cexp_test_data): Likewise.
9352 (clog_test_data): Likewise.
9353 (clog10_test_data): Likewise.
9354 (cos_test_data): Update call to AUTO_TESTS_f_f.
9355 (cos_test): Use ALL_RM_TEST.
9356 (cos_tonearest_test_data): Remove.
9357 (cos_test_tonearest): Likewise.
9358 (cos_towardzero_test_data): Likewise.
9359 (cos_test_towardzero): Likewise.
9360 (cos_downward_test_data): Likewise.
9361 (cos_test_downward): Likewise.
9362 (cos_upward_test_data): Likewise.
9363 (cos_test_upward): Likewise.
9364 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9365 (cosh_test): Use ALL_RM_TEST.
9366 (cosh_tonearest_test_data): Remove.
9367 (cosh_test_tonearest): Likewise.
9368 (cosh_towardzero_test_data): Likewise.
9369 (cosh_test_towardzero): Likewise.
9370 (cosh_downward_test_data): Likewise.
9371 (cosh_test_downward): Likewise.
9372 (cosh_upward_test_data): Likewise.
9373 (cosh_test_upward): Likewise.
9374 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9375 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9376 (ctan_test_data): Likewise.
9377 (ctan_test): Use ALL_RM_TEST.
9378 (ctan_tonearest_test_data): Remove.
9379 (ctan_test_tonearest): Likewise.
9380 (ctan_towardzero_test_data): Likewise.
9381 (ctan_test_towardzero): Likewise.
9382 (ctan_downward_test_data): Likewise.
9383 (ctan_test_downward): Likewise.
9384 (ctan_upward_test_data): Likewise.
9385 (ctan_test_upward): Likewise.
9386 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9387 (ctanh_test): Use ALL_RM_TEST.
9388 (ctanh_tonearest_test_data): Remove.
9389 (ctanh_test_tonearest): Likewise.
9390 (ctanh_towardzero_test_data): Likewise.
9391 (ctanh_test_towardzero): Likewise.
9392 (ctanh_downward_test_data): Likewise.
9393 (ctanh_test_downward): Likewise.
9394 (ctanh_upward_test_data): Likewise.
9395 (ctanh_test_upward): Likewise.
9396 (erf_test_data): Update call to AUTO_TESTS_f_f.
9397 (erfc_test_data): Likewise.
9398 (exp_test_data): Likewise.
9399 (exp_test): Use ALL_RM_TEST.
9400 (exp_tonearest_test_data): Remove.
9401 (exp_test_tonearest): Likewise.
9402 (exp_towardzero_test_data): Likewise.
9403 (exp_test_towardzero): Likewise.
9404 (exp_downward_test_data): Likewise.
9405 (exp_test_downward): Likewise.
9406 (exp_upward_test_data): Likewise.
9407 (exp_test_upward): Likewise.
9408 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9409 (exp10_test): Use ALL_RM_TEST.
9410 (exp10_tonearest_test_data): Remove.
9411 (exp10_test_tonearest): Likewise.
9412 (exp10_towardzero_test_data): Likewise.
9413 (exp10_test_towardzero): Likewise.
9414 (exp10_downward_test_data): Likewise.
9415 (exp10_test_downward): Likewise.
9416 (exp10_upward_test_data): Likewise.
9417 (exp10_test_upward): Likewise.
9418 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9419 (expm1_test_data): Likewise.
9420 (expm1_test): Use ALL_RM_TEST.
9421 (expm1_tonearest_test_data): Remove.
9422 (expm1_test_tonearest): Likewise.
9423 (expm1_towardzero_test_data): Likewise.
9424 (expm1_test_towardzero): Likewise.
9425 (expm1_downward_test_data): Likewise.
9426 (expm1_test_downward): Likewise.
9427 (expm1_upward_test_data): Likewise.
9428 (expm1_test_upward): Likewise.
9429 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9430 (fma_test): Use ALL_RM_TEST.
9431 (fma_towardzero_test_data): Remove.
9432 (fma_test_towardzero): Likewise.
9433 (fma_downward_test_data): Likewise.
9434 (fma_test_downward): Likewise.
9435 (fma_upward_test_data): Likewise.
9436 (fma_test_upward): Likewise.
9437 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9438 (j0_test_data): Update call to AUTO_TESTS_f_f.
9439 (j1_test_data): Likewise.
9440 (jn_test_data): Update call to AUTO_TESTS_if_f.
9441 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9442 (log_test_data): Update call to AUTO_TESTS_f_f.
9443 (log10_test_data): Likewise.
9444 (log1p_test_data): Likewise.
9445 (log2_test_data): Likewise.
9446 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9447 (pow_tonearest_test_data): Likewise.
9448 (sin_test_data): Update call to AUTO_TESTS_f_f.
9449 (sin_test): Use ALL_RM_TEST.
9450 (sin_tonearest_test_data): Remove.
9451 (sin_test_tonearest): Likewise.
9452 (sin_towardzero_test_data): Likewise.
9453 (sin_test_towardzero): Likewise.
9454 (sin_downward_test_data): Likewise.
9455 (sin_test_downward): Likewise.
9456 (sin_upward_test_data): Likewise.
9457 (sin_test_upward): Likewise.
9458 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9459 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9460 (sinh_test): Use ALL_RM_TEST.
9461 (sinh_tonearest_test_data): Remove.
9462 (sinh_test_tonearest): Likewise.
9463 (sinh_towardzero_test_data): Likewise.
9464 (sinh_test_towardzero): Likewise.
9465 (sinh_downward_test_data): Likewise.
9466 (sinh_test_downward): Likewise.
9467 (sinh_upward_test_data): Likewise.
9468 (sinh_test_upward): Likewise.
9469 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9470 (sqrt_test): Use ALL_RM_TEST.
9471 (sqrt_tonearest_test_data): Remove.
9472 (sqrt_test_tonearest): Likewise.
9473 (sqrt_towardzero_test_data): Likewise.
9474 (sqrt_test_towardzero): Likewise.
9475 (sqrt_downward_test_data): Likewise.
9476 (sqrt_test_downward): Likewise.
9477 (sqrt_upward_test_data): Likewise.
9478 (sqrt_test_upward): Likewise.
9479 (tan_test_data): Update call to AUTO_TESTS_f_f.
9480 (tan_test): Use ALL_RM_TEST.
9481 (tan_tonearest_test_data): Remove.
9482 (tan_test_tonearest): Likewise.
9483 (tan_towardzero_test_data): Likewise.
9484 (tan_test_towardzero): Likewise.
9485 (tan_downward_test_data): Likewise.
9486 (tan_test_downward): Likewise.
9487 (tan_upward_test_data): Likewise.
9488 (tan_test_upward): Likewise.
9489 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9490 (tgamma_test_data): Likewise.
9491 (y0_test_data): Likewise.
9492 (y1_test_data): Likewise.
9493 (yn_test_data): Update call to AUTO_TESTS_if_f.
9494 (main): Do not call removed functions.
9495
d71aeee8
JM
94962014-03-19 Joseph Myers <joseph@codesourcery.com>
9497
9498 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9499 (ldexp_test_data): Remove.
9500 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9501 scalbn_test_data.
9502 (scalb_test): Use ALL_RM_TEST.
9503
baaf1ded
AS
95042014-03-19 Andreas Schwab <schwab@suse.de>
9505
9506 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9507
b1115e91
JM
95082014-03-19 Joseph Myers <joseph@codesourcery.com>
9509
9510 [BZ #16649]
9511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9512 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9515 (__ASSUME_PREADV): Undefine.
9516 (__ASSUME_PWRITEV): Likewise.
9517
0283ecca
RM
95182014-03-18 Roland McGrath <roland@hack.frob.com>
9519
7d375303
RM
9520 * bits/mman-linux.h: Add comment about non-Linux use.
9521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9522 bits/mman-linux.h resting place.
9523
0283ecca
RM
9524 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9525 * bits/mman-linux.h: ... here.
9526
aebe1003
AZ
95272014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9528
9529 * conform/conformtest.pl: Add standard definition when calling C
9530 preprocessor on data files.
9531 (checknamespace): Remove unused variable.
9532
b29b6bb8
JM
95332014-03-18 Joseph Myers <joseph@codesourcery.com>
9534
9535 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9536 minus_oflow, plus_uflow and minus_uflow in expected results.
9537 * math/libm-test.inc (scalbn_test_data): Add more tests of
9538 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9539 minus_uflow.
9540 (scalbn_test): Use ALL_RM_TEST.
9541 (scalbln_test_data): Add more tests of negative arguments. Use
9542 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9543 (scalbln_test): Use ALL_RM_TEST.
9544
c8f8fa15
RM
95452014-03-18 Roland McGrath <roland@hack.frob.com>
9546
9547 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9548
fede7a5f
WN
95492014-03-18 Will Newton <will.newton@linaro.org>
9550
9551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9552 inaccurate comment.
9553
80cf0a58
JM
95542014-03-18 Joseph Myers <joseph@codesourcery.com>
9555
9556 * Makerules [!subdir] (check-abi): Exit with error status if a
9557 test failed.
9558
b3620862
JM
95592014-03-17 Joseph Myers <joseph@codesourcery.com>
9560
9561 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9562 for rint. Include results for all rounding modes.
9563 (nearbyint_test): Use ALL_RM_TEST.
9564 (rint_test_data): Include all tests used for nearbyint.
9565
788bba36
WN
95662014-03-17 Will Newton <will.newton@linaro.org>
9567
04ec140a
WN
9568 * nptl/sysdeps/pthread/pthread.h: Revert previous
9569 change.
9570
7579d8d5
WN
9571 * sysdeps/generic/ldsodefs.h: Revert previous
9572 change.
9573
c15cf13a
WN
9574 * libio/genops.c: Revert previous change.
9575 * libio/libioP.h: Likewise.
9576 * stdio-common/vfprintf.c: Likewise.
9577
d0ac1324
WN
9578 * sysdeps/generic/math_private.h: Revert previous
9579 change.
9580
9290130a
WN
9581 * sysdeps/generic/math_private.h: Check whether
9582 HAVE_RM_CTX is defined with #ifdef rather
9583 than #if.
9584
afb466fc
WN
9585 * argp/argp-fmtstream.h: Check whether
9586 __STRICT_ANSI__ is defined with #ifdef rather
9587 than #if.
9588 * argp/argp.h: Likewise.
9589
f7efd7c3
WN
9590 * libio/genops.c: Check whether
9591 _IO_JUMPS_OFFSET is defined with #ifdef rather
9592 than #if.
9593 * libio/libioP.h: Likewise.
9594 * stdio-common/vfprintf.c: Likewise.
9595
53f1bed3
WN
9596 * sysdeps/generic/ldsodefs.h: Check whether
9597 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9598 than #if.
9599
788bba36
WN
9600 * nptl/sysdeps/pthread/pthread.h: Check
9601 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9602 its value.
9603
fcd89ebe
SP
96042014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9605
ae42bbc5
SP
9606 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9607 setting O_APPEND.
9608 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9609 test case.
9610
ea33158c
SP
9611 [BZ #16680]
9612 * libio/fileops.c (_IO_file_open): Seek to end of file but
9613 don't cache the offset.
9614 (get_file_offset): Remove function.
9615 (do_ftell): Use cached offset when available.
9616 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9617 don't cache the offset.
9618 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9619 case.
9620 (do_one_test): Call it.
9621 (do_ftell_test): Fix up expected old offset for a+ mode.
9622 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9623 available.
9624
b1dbb426
SP
9625 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9626 up test status with function return status.
9627 (do_write_test): Likewise.
9628 (do_append_test): Likewise.
9629
fcd89ebe
SP
9630 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9631 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9632 Remove.
9633
9962a2d3
JM
96342014-03-17 Joseph Myers <joseph@codesourcery.com>
9635
9636 * math/gen-libm-test.pl (parse_args): Handle results specified for
9637 each rounding mode separately.
9638 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9639 tests and results from lrint_tonearest_test_data,
9640 lrint_towardzero_test_data, lrint_downward_test_data and
9641 lrint_upward_test_data.
9642 (lrint_test): Use ALL_RM_TEST.
9643 (lrint_tonearest_test_data): Remove.
9644 (lrint_test_tonearest): Likewise.
9645 (lrint_towardzero_test_data): Likewise.
9646 (lrint_test_towardzero): Likewise.
9647 (lrint_downward_test_data): Likewise.
9648 (lrint_test_downward): Likewise.
9649 (lrint_upward_test_data): Likewise.
9650 (lrint_test_upward): Likewise.
9651 (llrint_test_data): Merge in per-rounding-mode tests and results
9652 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9653 llrint_downward_test_data and llrint_upward_test_data.
9654 (llrint_test): Use ALL_RM_TEST.
9655 (llrint_tonearest_test_data): Remove.
9656 (llrint_test_tonearest): Likewise.
9657 (llrint_towardzero_test_data): Likewise.
9658 (llrint_test_towardzero): Likewise.
9659 (llrint_downward_test_data): Likewise.
9660 (llrint_test_downward): Likewise.
9661 (llrint_upward_test_data): Likewise.
9662 (llrint_test_upward): Likewise.
9663 (rint_test_data): Merge in per-rounding-mode tests and results
9664 from rint_tonearest_test_data, rint_towardzero_test_data,
9665 rint_downward_test_data and rint_upward_test_data. Add
9666 per-rounding-mode results for tests not in those arrays.
9667 (rint_test): Use ALL_RM_TEST.
9668 (rint_tonearest_test_data): Remove.
9669 (rint_test_tonearest): Likewise.
9670 (rint_towardzero_test_data): Likewise.
9671 (rint_test_towardzero): Likewise.
9672 (rint_downward_test_data): Likewise.
9673 (rint_test_downward): Likewise.
9674 (rint_upward_test_data): Likewise.
9675 (rint_test_upward): Likewise.
9676 (main): Don't call removed functions.
9677
5006148e
RM
96782014-03-14 Roland McGrath <roland@hack.frob.com>
9679
9680 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9681 "Compiled on ..." crapola. It is anti-useful.
9682
d6fe5e58
JM
96832014-03-14 Joseph Myers <joseph@codesourcery.com>
9684
9685 * scripts/evaluate-test.sh: Handle fourth argument to determine
9686 whether test run should stop on failure.
9687 * Makeconfig (stop-on-test-failure): New variable.
9688 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9689 $(stop-on-test-failure).
9690 * Makefile (tests): Give a summary of results from testing and
9691 exit with failure status if they include an ERROR or FAIL.
9692 (xtests): Likewise.
9693 * manual/install.texi (Configuring and compiling): Mention
9694 stop-on-test-failure=y.
9695 * INSTALL: Regenerated.
9696
498a2233
RM
96972014-03-14 Roland McGrath <roland@hack.frob.com>
9698
22dbc19d
RM
9699 * scripts/versionlist.awk: New file.
9700 * Makerules [$(build-shared) = yes]
9701 (postclean-generated): Add Versions.def, not Versions.def.v and
9702 Versions.def.v.i.
9703 ($(common-objpfx)Versions.def.v.i): Target removed.
9704 ($(common-objpfx)Versions.def): New target.
9705 ($(common-objpfx)Versions.all): Depend on that rather that
9706 $(common-objpfx)Versions.def.v.
9707 * Versions.def: File removed.
9708
498a2233
RM
9709 * Makeconfig (+gccwarn): Add -Wundef.
9710 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9711 a dl-sysdep.h breaking its contract.
9712 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9713 * include/stackinfo.h: New file.
9714 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9715 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9716 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9717 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9718 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9719 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9720 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9721 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9722 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9723 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9724 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9725 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9726 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9727 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9728 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9729
c7de5025
AZ
97302014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9731
9732 [BZ #16707]
9733 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9734 implementation.
9735 * math/libm-test.inc (round_test_data): Add more tests.
9736
98fb27a3
AZ
9737 [BZ #16706]
9738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9739 implementation.
9740 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9741
374f7f61
AZ
9742 [BZ #16701]
9743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9744 implementation.
9745 * math/libm-test.inc (ceil_test_data): Add more tests.
9746
4655c291
AZ
9747 * math/libm-test.inc (trunc_test_data): Add more tests related to
9748 BZ#16414.
9749
d7329d4b
RM
97502014-03-14 Roland McGrath <roland@hack.frob.com>
9751
9752 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9753 with #if rather than #ifdef.
9754 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9755
aa4de9ce
L
97562014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9759 first. Disable AVX-512 GCC support if assembler doesn't support
9760 it.
9761 * sysdeps/x86_64/configure: Regenerated.
9762
2e03fae7
CD
97632014-03-13 Carlos O'Donell <carlos@redhat.com>
9764
9765 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9766 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9767 (__old_pthread_attr_setstack): Likewise.
9768 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9769 [!_STACK_GROWS_DOWN]: Likewise.
9770
43ca83ec
MF
97712014-03-13 Mike Frysinger <vapier@gentoo.org>
9772
9773 * config.make.in (have-bash2): Delete.
9774 * configure.ac (libc_cv_have_bash2): Delete.
9775 * configure: Regenerate.
9776 * elf/Makefile (common-ldd-rewrite): Rename to ...
9777 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9778 (sh-ldd-rewrite): Delete.
9779 (bash-ldd-rewrite): Delete.
9780 (have-bash2): Delete checks.
57f41c40
AS
9781 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9782 ldd-rewrite.
c66e48b4
MF
9783
9784 * config.make.in (have-ksh): Delete.
9785 (KSH): Delete.
9786 * configure.ac (libc_cv_have_ksh): Delete.
9787 * configure: Regenerate.
9788
b93834ef
MF
9789 * elf/Makefile: Delete $(have-ksh) check.
9790 ($(objpfx)sotruss): Change KSH to BASH.
9791 * elf/sotruss.ksh: Rename to ...
9792 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9793 function style to match POSIX. Drop ksh vim mode setting.
9794
f3a4632a
MF
9795 * manual/time.texi (Specifying the Time Zone with TZ): Change
9796 Tuesday to Thursday.
9797
5896c8bd
MF
9798 * debug/tst-longjmp_chk2.c: Update header comment.
9799 (stackoverflow_handler): Add comment. Call assert on pass value.
9800
2d63a517
IZ
98012014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9802
7e54fd04 9803 [BZ #16194]
2d63a517
IZ
9804 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9805 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9806 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9807 (La_x86_64_vector): Add zmm.
9808 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9809 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9810 ($(objpfx)tst-audit10): New target.
9811 ($(objpfx)tst-audit10.out): Likewise.
9812 (tst-audit10-ENV): New.
9813 (AVX512-CFLAGS): Likewise.
9814 (CFLAGS-tst-audit10.c): Likewise.
9815 (CFLAGS-tst-auditmod10a.c): Likewise.
9816 (CFLAGS-tst-auditmod10b.c): Likewise.
9817 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9818 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9819 * sysdeps/x86_64/configure: Regenerated.
9820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9821 AVX-512 zmm register support.
9822 (_dl_x86_64_save_sse): Likewise.
9823 (_dl_x86_64_restore_sse): Likewise.
9824 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9825 size vector registers.
9826 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9827 (ZMM_SIZE): Likewise.
9828 * sysdeps/x86_64/tst-audit10.c: New file.
9829 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9830 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9831
44c4e5d5
RM
98322014-03-13 Roland McGrath <roland@hack.frob.com>
9833
9834 * configure.ac (HAVE_EHDR_START): New check.
9835 * configure: Regenerated.
9836 * config.h.in (HAVE_EHDR_START): New #undef.
9837 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9838 assuming the lowest-addressed segment maps the start of the file.
9839
acd6e389
JM
98402014-03-13 Joseph Myers <joseph@codesourcery.com>
9841
9842 * INSTALL: Regenerated.
9843
6f918f36
WN
98442014-03-13 Will Newton <will.newton@linaro.org>
9845
9846 * manual/setjmp.texi (System V contexts): Improve
9847 clarity and grammar of documentation.
9848
798212a0
PP
98492014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9850
9851 [BZ #16381]
798212a0 9852 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9853 (tests-pie): Add tst-pie2.
798212a0
PP
9854 * elf/tst-pie2.c: New file.
9855 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9856 for ET_EXEC.
9857 * elf/rtld.c (map_doit): Load executable as lt_executable.
9858 (dl_main): Likewise.
9859
abe6d90c
JM
98602014-03-12 Joseph Myers <joseph@codesourcery.com>
9861
9862 [BZ #16642]
9863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9864 (__ASSUME_PSELECT): Undefine.
9865
dd3946c6
AZ
98662014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867
9868 [BZ #16689]
9869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9870 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9871 static build.
9872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9873 selector for static builds.
9874
c44496df
SP
98752014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9876
9877 [BZ #16695]
9878 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9879 key in the buffer.
9880
27c7220a
AZ
98812014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9882
57f41c40
AS
9883 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9884 IFUNC selector for static builds.
27c7220a 9885
600fa361
JM
98862014-03-11 Joseph Myers <joseph@codesourcery.com>
9887
76c96cf7
JM
9888 * sysdeps/mips/math_private.h [__mips_hard_float]
9889 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9890 libc_feresetround_mips_ctx.
9891 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9892 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9893 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9894
600fa361
JM
9895 [BZ #16677]
9896 * math/s_nextafter.c (__nextafter): Do not return value from
9897 overflowing computation.
9898 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9899 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9900 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9901 Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9903 Likewise.
9904 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9905 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9906
d7706c32
RM
99072014-03-11 Roland McGrath <roland@hack.frob.com>
9908
9909 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9910 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9911 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9912 the new mov targetting sp.
9913
4facea47
AZ
99142014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9915
9916 [BZ #16683]
9917 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9918 Define it for static builds as well.
9919 (NO_BZERO_IMPL): Likewise.
9920
e65caf1f
VR
99212014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9922
9923 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9924 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9925 multiarch strspn for PPC64.
9926 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9927 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9929 (__libc_ifunc_impl_list): Likewise.
9930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9931 multiarch optimizations
9932 * string/strspn.c (strspn): Using macro to redefine symbol name.
9933
ba9cc071
AZ
99342014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9935 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9936
9937 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9938 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9939 multiarch strncat for PPC64.
9940 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9941 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9943 (__libc_ifunc_impl_list): Likewise.
9944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9945 multiarch optimizations
9946
8b4ff974
SP
99472014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9948
9949 [BZ #16639]
9950 * nscd/nscd.service: Make service type forking.
9951
54b46a4b
AZ
99522014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9953
9954 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9955 sign in non default rounding modes.
9956 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9957
e9996ef7
JM
99582014-03-08 Joseph Myers <joseph@codesourcery.com>
9959
9960 * math/libm-test.inc (ALL_RM_TEST): New macro.
9961 (ceil_test): Use ALL_RM_TEST.
9962 (cimag_test): Likewise.
9963 (conj_test): Likewise.
9964 (copysign_test): Likewise.
9965 (cproj_test): Likewise.
9966 (creal_test): Likewise.
9967 (fabs_test): Likewise.
9968 (floor_test): Likewise.
9969 (fmax_test): Likewise.
9970 (fmin_test): Likewise.
9971 (fmod_test): Likewise.
9972 (fpclassify_test): Likewise.
9973 (frexp_test): Likewise.
9974 (ilogb_test): Likewise.
9975 (isfinite_test): Likewise.
9976 (finite_test): Likewise.
9977 (isgreater_test): Likewise.
9978 (isgreaterequal_test): Likewise.
9979 (isinf_test): Likewise.
9980 (isless_test): Likewise.
9981 (islessequal_test): Likewise.
9982 (islessgreater_test): Likewise.
9983 (isnan_test): Likewise.
9984 (isnormal_test): Likewise.
9985 (issignaling_test): Likewise.
9986 (isunordered_test): Likewise.
9987 (logb_test): Likewise.
9988 (logb_downward_test_data): Remove.
9989 (logb_test_downward): Likewise.
9990 (lround_test): Use ALL_RM_TEST.
9991 (llround_test): Likewise.
9992 (modf_test): Likewise.
9993 (nexttoward_test): Likewise.
9994 (remainder_test): Likewise.
9995 (drem_test): Likewise.
9996 (remainder_tonearest_test_data): Likewise.
9997 (remainder_test_tonearest): Likewise.
9998 (drem_test_tonearest): Likewise.
9999 (remainder_towardzero_test_data): Likewise.
10000 (remainder_test_towardzero): Likewise.
10001 (drem_test_towardzero): Likewise.
10002 (remainder_downward_test_data): Likewise.
10003 (remainder_test_downward): Likewise.
10004 (drem_test_downward): Likewise.
10005 (remainder_upward_test_data): Likewise.
10006 (remainder_test_upward): Likewise.
10007 (drem_test_upward): Likewise.
10008 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10009 (round_test): Use ALL_RM_TEST.
10010 (signbit_test): Likewise.
10011 (trunc_test): Likewise.
10012 (significand_test): Likewise.
10013 (main): Don't call removed functions.
10014
bc61d27c
JM
100152014-03-07 Joseph Myers <joseph@codesourcery.com>
10016
5c780849
JM
10017 [BZ #16674]
10018 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10019 || __USE_XOPEN2K8].
10020 (ILL_ILLOPN): Likewise.
10021 (ILL_ILLADR): Likewise.
10022 (ILL_ILLTRP): Likewise.
10023 (ILL_PRVOPC): Likewise.
10024 (ILL_PRVREG): Likewise.
10025 (ILL_COPROC): Likewise.
10026 (ILL_BADSTK): Likewise.
10027 (FPE_INTDIV): Likewise.
10028 (FPE_INTOVF): Likewise.
10029 (FPE_FLTDIV): Likewise.
10030 (FPE_FLTOVF): Likewise.
10031 (FPE_FLTUND): Likewise.
10032 (FPE_FLTRES): Likewise.
10033 (FPE_FLTINV): Likewise.
10034 (FPE_FLTSUB): Likewise.
10035 (SEGV_MAPERR): Likewise.
10036 (SEGV_ACCERR): Likewise.
10037 (BUS_ADRALN): Likewise.
10038 (BUS_ADRERR): Likewise.
10039 (BUS_OBJERR): Likewise.
10040 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10041 (TRAP_TRACE): Likewise.
10042 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10043 __USE_XOPEN2K8].
10044 (CLD_KILLED): Likewise.
10045 (CLD_DUMPED): Likewise.
10046 (CLD_TRAPPED): Likewise.
10047 (CLD_STOPPED): Likewise.
10048 (CLD_CONTINUED): Likewise.
10049 (POLL_IN): Likewise.
10050 (POLL_OUT): Likewise.
10051 (POLL_MSG): Likewise.
10052 (POLL_ERR): Likewise.
10053 (POLL_PRI): Likewise.
10054 (POLL_HUP): Likewise.
10055 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10056 Likewise.
10057 (ILL_ILLOPN): Likewise.
10058 (ILL_ILLADR): Likewise.
10059 (ILL_ILLTRP): Likewise.
10060 (ILL_PRVOPC): Likewise.
10061 (ILL_PRVREG): Likewise.
10062 (ILL_COPROC): Likewise.
10063 (ILL_BADSTK): Likewise.
10064 (FPE_INTDIV): Likewise.
10065 (FPE_INTOVF): Likewise.
10066 (FPE_FLTDIV): Likewise.
10067 (FPE_FLTOVF): Likewise.
10068 (FPE_FLTUND): Likewise.
10069 (FPE_FLTRES): Likewise.
10070 (FPE_FLTINV): Likewise.
10071 (FPE_FLTSUB): Likewise.
10072 (SEGV_MAPERR): Likewise.
10073 (SEGV_ACCERR): Likewise.
10074 (BUS_ADRALN): Likewise.
10075 (BUS_ADRERR): Likewise.
10076 (BUS_OBJERR): Likewise.
10077 (BUS_MCEERR_AR): Likewise.
10078 (BUS_MCEERR_AO): Likewise.
10079 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10080 (TRAP_TRACE): Likewise.
10081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10082 __USE_XOPEN2K8].
10083 (CLD_KILLED): Likewise.
10084 (CLD_DUMPED): Likewise.
10085 (CLD_TRAPPED): Likewise.
10086 (CLD_STOPPED): Likewise.
10087 (CLD_CONTINUED): Likewise.
10088 (POLL_IN): Likewise.
10089 (POLL_OUT): Likewise.
10090 (POLL_MSG): Likewise.
10091 (POLL_ERR): Likewise.
10092 (POLL_PRI): Likewise.
10093 (POLL_HUP): Likewise.
10094 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10095 (ILL_ILLOPN): Likewise.
10096 (ILL_ILLADR): Likewise.
10097 (ILL_ILLTRP): Likewise.
10098 (ILL_PRVOPC): Likewise.
10099 (ILL_PRVREG): Likewise.
10100 (ILL_COPROC): Likewise.
10101 (ILL_BADSTK): Likewise.
10102 (FPE_INTDIV): Likewise.
10103 (FPE_INTOVF): Likewise.
10104 (FPE_FLTDIV): Likewise.
10105 (FPE_FLTOVF): Likewise.
10106 (FPE_FLTUND): Likewise.
10107 (FPE_FLTRES): Likewise.
10108 (FPE_FLTINV): Likewise.
10109 (FPE_FLTSUB): Likewise.
10110 (SEGV_MAPERR): Likewise.
10111 (SEGV_ACCERR): Likewise.
10112 (BUS_ADRALN): Likewise.
10113 (BUS_ADRERR): Likewise.
10114 (BUS_OBJERR): Likewise.
10115 (BUS_MCEERR_AR): Likewise.
10116 (BUS_MCEERR_AO): Likewise.
10117 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10118 (TRAP_TRACE): Likewise.
10119 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10120 __USE_XOPEN2K8].
10121 (CLD_KILLED): Likewise.
10122 (CLD_DUMPED): Likewise.
10123 (CLD_TRAPPED): Likewise.
10124 (CLD_STOPPED): Likewise.
10125 (CLD_CONTINUED): Likewise.
10126 (POLL_IN): Likewise.
10127 (POLL_OUT): Likewise.
10128 (POLL_MSG): Likewise.
10129 (POLL_ERR): Likewise.
10130 (POLL_PRI): Likewise.
10131 (POLL_HUP): Likewise.
10132 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10133 Likewise.
10134 (ILL_ILLOPN): Likewise.
10135 (ILL_ILLADR): Likewise.
10136 (ILL_ILLTRP): Likewise.
10137 (ILL_PRVOPC): Likewise.
10138 (ILL_PRVREG): Likewise.
10139 (ILL_COPROC): Likewise.
10140 (ILL_BADSTK): Likewise.
10141 (ILL_BADIADDR): Likewise.
10142 (ILL_BREAK): Likewise.
10143 (FPE_INTDIV): Likewise.
10144 (FPE_INTOVF): Likewise.
10145 (FPE_FLTDIV): Likewise.
10146 (FPE_FLTOVF): Likewise.
10147 (FPE_FLTUND): Likewise.
10148 (FPE_FLTRES): Likewise.
10149 (FPE_FLTINV): Likewise.
10150 (FPE_FLTSUB): Likewise.
10151 (FPE_DECOVF): Likewise.
10152 (FPE_DECDIV): Likewise.
10153 (FPE_DECERR): Likewise.
10154 (FPE_INVASC): Likewise.
10155 (FPE_INVDEC): Likewise.
10156 (SEGV_MAPERR): Likewise.
10157 (SEGV_ACCERR): Likewise.
10158 (SEGV_PSTKOVF): Likewise.
10159 (BUS_ADRALN): Likewise.
10160 (BUS_ADRERR): Likewise.
10161 (BUS_OBJERR): Likewise.
10162 (BUS_MCEERR_AR): Likewise.
10163 (BUS_MCEERR_AO): Likewise.
10164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10165 (TRAP_TRACE): Likewise.
10166 (TRAP_BRANCH): Likewise.
10167 (TRAP_HWBKPT): Likewise.
10168 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10169 __USE_XOPEN2K8].
10170 (CLD_KILLED): Likewise.
10171 (CLD_DUMPED): Likewise.
10172 (CLD_TRAPPED): Likewise.
10173 (CLD_STOPPED): Likewise.
10174 (CLD_CONTINUED): Likewise.
10175 (POLL_IN): Likewise.
10176 (POLL_OUT): Likewise.
10177 (POLL_MSG): Likewise.
10178 (POLL_ERR): Likewise.
10179 (POLL_PRI): Likewise.
10180 (POLL_HUP): Likewise.
10181 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10182 (ILL_ILLOPN): Likewise.
10183 (ILL_ILLADR): Likewise.
10184 (ILL_ILLTRP): Likewise.
10185 (ILL_PRVOPC): Likewise.
10186 (ILL_PRVREG): Likewise.
10187 (ILL_COPROC): Likewise.
10188 (ILL_BADSTK): Likewise.
10189 (FPE_INTDIV): Likewise.
10190 (FPE_INTOVF): Likewise.
10191 (FPE_FLTDIV): Likewise.
10192 (FPE_FLTOVF): Likewise.
10193 (FPE_FLTUND): Likewise.
10194 (FPE_FLTRES): Likewise.
10195 (FPE_FLTINV): Likewise.
10196 (FPE_FLTSUB): Likewise.
10197 (SEGV_MAPERR): Likewise.
10198 (SEGV_ACCERR): Likewise.
10199 (BUS_ADRALN): Likewise.
10200 (BUS_ADRERR): Likewise.
10201 (BUS_OBJERR): Likewise.
10202 (BUS_MCEERR_AR): Likewise.
10203 (BUS_MCEERR_AO): Likewise.
10204 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10205 (TRAP_TRACE): Likewise.
10206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10207 __USE_XOPEN2K8].
10208 (CLD_KILLED): Likewise.
10209 (CLD_DUMPED): Likewise.
10210 (CLD_TRAPPED): Likewise.
10211 (CLD_STOPPED): Likewise.
10212 (CLD_CONTINUED): Likewise.
10213 (POLL_IN): Likewise.
10214 (POLL_OUT): Likewise.
10215 (POLL_MSG): Likewise.
10216 (POLL_ERR): Likewise.
10217 (POLL_PRI): Likewise.
10218 (POLL_HUP): Likewise.
10219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10220 (ILL_ILLOPN): Likewise.
10221 (ILL_ILLADR): Likewise.
10222 (ILL_ILLTRP): Likewise.
10223 (ILL_PRVOPC): Likewise.
10224 (ILL_PRVREG): Likewise.
10225 (ILL_COPROC): Likewise.
10226 (ILL_BADSTK): Likewise.
10227 (FPE_INTDIV): Likewise.
10228 (FPE_INTOVF): Likewise.
10229 (FPE_FLTDIV): Likewise.
10230 (FPE_FLTOVF): Likewise.
10231 (FPE_FLTUND): Likewise.
10232 (FPE_FLTRES): Likewise.
10233 (FPE_FLTINV): Likewise.
10234 (FPE_FLTSUB): Likewise.
10235 (SEGV_MAPERR): Likewise.
10236 (SEGV_ACCERR): Likewise.
10237 (BUS_ADRALN): Likewise.
10238 (BUS_ADRERR): Likewise.
10239 (BUS_OBJERR): Likewise.
10240 (BUS_MCEERR_AR): Likewise.
10241 (BUS_MCEERR_AO): Likewise.
10242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10243 (TRAP_TRACE): Likewise.
10244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10245 __USE_XOPEN2K8].
10246 (CLD_KILLED): Likewise.
10247 (CLD_DUMPED): Likewise.
10248 (CLD_TRAPPED): Likewise.
10249 (CLD_STOPPED): Likewise.
10250 (CLD_CONTINUED): Likewise.
10251 (POLL_IN): Likewise.
10252 (POLL_OUT): Likewise.
10253 (POLL_MSG): Likewise.
10254 (POLL_ERR): Likewise.
10255 (POLL_PRI): Likewise.
10256 (POLL_HUP): Likewise.
10257 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10258 (ILL_ILLOPN): Likewise.
10259 (ILL_ILLADR): Likewise.
10260 (ILL_ILLTRP): Likewise.
10261 (ILL_PRVOPC): Likewise.
10262 (ILL_PRVREG): Likewise.
10263 (ILL_COPROC): Likewise.
10264 (ILL_BADSTK): Likewise.
10265 (FPE_INTDIV): Likewise.
10266 (FPE_INTOVF): Likewise.
10267 (FPE_FLTDIV): Likewise.
10268 (FPE_FLTOVF): Likewise.
10269 (FPE_FLTUND): Likewise.
10270 (FPE_FLTRES): Likewise.
10271 (FPE_FLTINV): Likewise.
10272 (FPE_FLTSUB): Likewise.
10273 (SEGV_MAPERR): Likewise.
10274 (SEGV_ACCERR): Likewise.
10275 (BUS_ADRALN): Likewise.
10276 (BUS_ADRERR): Likewise.
10277 (BUS_OBJERR): Likewise.
10278 (BUS_MCEERR_AR): Likewise.
10279 (BUS_MCEERR_AO): Likewise.
10280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10281 (TRAP_TRACE): Likewise.
10282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10283 __USE_XOPEN2K8].
10284 (CLD_KILLED): Likewise.
10285 (CLD_DUMPED): Likewise.
10286 (CLD_TRAPPED): Likewise.
10287 (CLD_STOPPED): Likewise.
10288 (CLD_CONTINUED): Likewise.
10289 (POLL_IN): Likewise.
10290 (POLL_OUT): Likewise.
10291 (POLL_MSG): Likewise.
10292 (POLL_ERR): Likewise.
10293 (POLL_PRI): Likewise.
10294 (POLL_HUP): Likewise.
10295 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10296 (ILL_ILLOPN): Likewise.
10297 (ILL_ILLADR): Likewise.
10298 (ILL_ILLTRP): Likewise.
10299 (ILL_PRVOPC): Likewise.
10300 (ILL_PRVREG): Likewise.
10301 (ILL_COPROC): Likewise.
10302 (ILL_BADSTK): Likewise.
10303 (ILL_DBLFLT): Likewise.
10304 (ILL_HARDWALL): Likewise.
10305 (FPE_INTDIV): Likewise.
10306 (FPE_INTOVF): Likewise.
10307 (FPE_FLTDIV): Likewise.
10308 (FPE_FLTOVF): Likewise.
10309 (FPE_FLTUND): Likewise.
10310 (FPE_FLTRES): Likewise.
10311 (FPE_FLTINV): Likewise.
10312 (FPE_FLTSUB): Likewise.
10313 (SEGV_MAPERR): Likewise.
10314 (SEGV_ACCERR): Likewise.
10315 (BUS_ADRALN): Likewise.
10316 (BUS_ADRERR): Likewise.
10317 (BUS_OBJERR): Likewise.
10318 (BUS_MCEERR_AR): Likewise.
10319 (BUS_MCEERR_AO): Likewise.
10320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10321 (TRAP_TRACE): Likewise.
10322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10323 __USE_XOPEN2K8].
10324 (CLD_KILLED): Likewise.
10325 (CLD_DUMPED): Likewise.
10326 (CLD_TRAPPED): Likewise.
10327 (CLD_STOPPED): Likewise.
10328 (CLD_CONTINUED): Likewise.
10329 (POLL_IN): Likewise.
10330 (POLL_OUT): Likewise.
10331 (POLL_MSG): Likewise.
10332 (POLL_ERR): Likewise.
10333 (POLL_PRI): Likewise.
10334 (POLL_HUP): Likewise.
10335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10336 (ILL_ILLOPN): Likewise.
10337 (ILL_ILLADR): Likewise.
10338 (ILL_ILLTRP): Likewise.
10339 (ILL_PRVOPC): Likewise.
10340 (ILL_PRVREG): Likewise.
10341 (ILL_COPROC): Likewise.
10342 (ILL_BADSTK): Likewise.
10343 (FPE_INTDIV): Likewise.
10344 (FPE_INTOVF): Likewise.
10345 (FPE_FLTDIV): Likewise.
10346 (FPE_FLTOVF): Likewise.
10347 (FPE_FLTUND): Likewise.
10348 (FPE_FLTRES): Likewise.
10349 (FPE_FLTINV): Likewise.
10350 (FPE_FLTSUB): Likewise.
10351 (SEGV_MAPERR): Likewise.
10352 (SEGV_ACCERR): Likewise.
10353 (BUS_ADRALN): Likewise.
10354 (BUS_ADRERR): Likewise.
10355 (BUS_OBJERR): Likewise.
10356 (BUS_MCEERR_AR): Likewise.
10357 (BUS_MCEERR_AO): Likewise.
10358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10359 (TRAP_TRACE): Likewise.
10360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10361 __USE_XOPEN2K8].
10362 (CLD_KILLED): Likewise.
10363 (CLD_DUMPED): Likewise.
10364 (CLD_TRAPPED): Likewise.
10365 (CLD_STOPPED): Likewise.
10366 (CLD_CONTINUED): Likewise.
10367 (POLL_IN): Likewise.
10368 (POLL_OUT): Likewise.
10369 (POLL_MSG): Likewise.
10370 (POLL_ERR): Likewise.
10371 (POLL_PRI): Likewise.
10372 (POLL_HUP): Likewise.
10373 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10374 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10375
bc61d27c
JM
10376 [BZ #16670]
10377 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10378 before #include of <time.h>.
10379 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10380 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10381 (test-xfail-UNIX98/sched.h/conform): Likewise.
10382
302949e2
MS
103832014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10384
10385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10386 error absence of trapping exception support.
10387 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10388
a00f522a
JM
103892014-03-07 Joseph Myers <joseph@codesourcery.com>
10390
6f99f280
JM
10391 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10392 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10393 * timezone/Makefile (testdata): Move definition above include of
10394 Rules.
10395 (test-zones): New variable.
10396 (tests-special): Add zone files.
10397 (build-testdata): Use $(evaluate-test).
10398
0b20a9e8
JM
10399 * elf/Makefile (tests-special): Rename tests to end with .out.
10400 ($(objpfx)noload-mem): Likewise.
10401 ($(objpfx)tst-leaks1-mem): Likewise.
10402 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10403 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10404 $(objpfx)test-iconvconfig.out.
10405 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10406 set -e inside subshell and redirect output to file.
10407 * iconvdata/Makefile (generated): Rename tests to end with .out.
10408 Correct type.
10409 (tests-special): Rename tests to end with .out.
10410 ($(objpfx)mtrace-tst-loading): Likewise.
10411 * intl/Makefile (generated): Likewise.
10412 (tests-special): Likewise.
10413 ($(objpfx)mtrace-tst-gettext): Likewise.
10414 * misc/Makefile (generated): Likewise.
10415 (tests-special): Likewise.
10416 ($(objpfx)tst-error1-mem): Likewise.
10417 * nptl/Makefile (tests-special): Likewise.
10418 ($(objpfx)tst-stack3-mem): Likewise.
10419 (generated): Likewise.
10420 * posix/Makefile (generated): Likewise.
10421 (tests-special): Likewise.
10422 (xtests-special): Likewise.
10423 ($(objpfx)tst-fnmatch-mem): Likewise.
10424 ($(objpfx)bug-regex2-mem): Likewise.
10425 ($(objpfx)bug-regex14-mem): Likewise.
10426 ($(objpfx)bug-regex21-mem): Likewise.
10427 ($(objpfx)bug-regex31-mem): Likewise.
10428 ($(objpfx)tst-vfork3-mem): Likewise.
10429 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10430 ($(objpfx)tst-pcre-mem): Likewise.
10431 ($(objpfx)tst-boost-mem): Likewise.
10432 ($(objpfx)bug-ga2-mem): Likewise.
10433 ($(objpfx)bug-glob2-mem): Likewise.
10434 * resolv/Makefile (generate): Likewise.
10435 (tests-special): Likewise.
10436 (xtests-special): Likewise.
10437 (generated): Likewise.
10438 ($(objpfx)mtrace-tst-leaks): Likewise.
10439 ($(objpfx)mtrace-tst-leaks2): Likewise.
10440
265d52ab
JM
10441 * scripts/merge-test-results.sh: New file.
10442 * Makefile (tests-special-notdir): New variable.
10443 (tests): Run merge-test-results.sh.
10444 (xtests): Likewise.
10445 * Rules (tests-special-notdir): New variable.
10446 (xtests-special-notdir): Likewise.
10447 (tests): Run merge-test-results.sh
10448 (xtests): Likewise.
10449
54ee292d
JM
10450 * Makeconfig (test-xfail-name): New variable.
10451 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10452 compute variable name for expected failures.
10453 * conform/Makefile (conformtest-headers-data): New variable.
10454 (conformtest-standards): Likewise.
10455 (conformtest-headers-ISO): Likewise.
10456 (conformtest-headers-ISO99): Likewise.
10457 (conformtest-headers-ISO11): Likewise.
10458 (conformtest-headers-POSIX): Likewise.
10459 (conformtest-headers-XPG3): Likewise.
10460 (conformtest-headers-XPG4): Likewise.
10461 (conformtest-headers-UNIX98): Likewise.
10462 (conformtest-headers-XOPEN2K): Likewise.
10463 (conformtest-headers-POSIX2008): Likewise.
10464 (conformtest-headers-XOPEN2K8): Likewise.
10465 (conformtest-header-list-base): Likewise.
10466 (conformtest-header-list-tests): Likewise.
10467 (conformtest-header-base): Likewise.
10468 (conformtest-header-tests): Likewise.
10469 (tests-special): Add $(conformtest-header-list-tests). If
10470 [$(fast-check) && !$(cross-compiling)], add
10471 $(conformtest-header-tests) instead of
10472 $(objpfx)run-conformtest.out.
10473 (generated): Add $(conformtest-header-list-base). If
10474 [$(fast-check) && !$(cross-compiling)], add
10475 $(conformtest-header-base). Remove previous setting.
10476 ($(conformtest-header-list-tests)): New target.
10477 (test-xfail-run-conformtest): Remove variable.
10478 ($(objpfx)run-conformtest.out): Remove target.
10479 (test-xfail-ISO11/complex.h/conform): New variable.
10480 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10481 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10482 (test-xfail-XPG3/varargs.h/conform): Likewise.
10483 (test-xfail-XPG4/varargs.h/conform): Likewise.
10484 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10485 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10486 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10487 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10488 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10489 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10490 (test-xfail-XPG3/ftw.h/conform): Likewise.
10491 (test-xfail-XPG3/grp.h/conform): Likewise.
10492 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10493 (test-xfail-XPG3/limits.h/conform): Likewise.
10494 (test-xfail-XPG3/pwd.h/conform): Likewise.
10495 (test-xfail-XPG3/search.h/conform): Likewise.
10496 (test-xfail-XPG3/signal.h/conform): Likewise.
10497 (test-xfail-XPG3/stdio.h/conform): Likewise.
10498 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10499 (test-xfail-XPG3/string.h/conform): Likewise.
10500 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10501 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10502 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10503 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10504 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10505 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10506 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10507 (test-xfail-XPG3/termios.h/conform): Likewise.
10508 (test-xfail-XPG3/time.h/conform): Likewise.
10509 (test-xfail-XPG3/unistd.h/conform): Likewise.
10510 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10511 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10512 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10513 (test-xfail-XPG4/netdb.h/conform): Likewise.
10514 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10515 (test-xfail-XPG4/signal.h/conform): Likewise.
10516 (test-xfail-XPG4/stdio.h/conform): Likewise.
10517 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10518 (test-xfail-XPG4/stropts.h/conform): Likewise.
10519 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10520 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10521 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10522 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10523 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10524 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10525 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10526 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10527 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10528 (test-xfail-XPG4/termios.h/conform): Likewise.
10529 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10530 (test-xfail-XPG4/unistd.h/conform): Likewise.
10531 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10532 (test-xfail-POSIX/sched.h/conform): Likewise.
10533 (test-xfail-POSIX/signal.h/conform): Likewise.
10534 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10535 (test-xfail-POSIX/tar.h/conform): Likewise.
10536 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10537 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10538 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10539 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10540 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10541 (test-xfail-UNIX98/sched.h/conform): Likewise.
10542 (test-xfail-UNIX98/signal.h/conform): Likewise.
10543 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10544 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10545 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10546 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10547 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10548 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10549 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10550 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10551 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10552 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10553 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10554 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10555 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10556 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10557 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10558 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10559 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10560 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10561 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10562 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10563 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10564 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10565 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10566 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10567 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10568 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10569 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10570 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10571 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10572 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10573 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10574 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10575 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10576 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10577 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10578 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10579 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10580 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10581 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10582 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10583 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10584 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10585 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10586 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10587 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10588 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10589 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10590 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10591 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10592 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10593 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10594 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10595 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10596 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10597 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10598 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10599 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10600 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10601 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10602 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10603 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10604 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10605 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10606 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10607 (conformtest-cc-flags): Likewise.
10608 ($(conformtest-header-tests): New target.
10609 * conform/check-header-lists.sh: New file.
10610 * conform/run-conformtest.sh: Remove.
10611
a00f522a
JM
10612 * conform/conformtest.pl: Allow ' and \ in values given for
10613 constants.
10614 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10615 inclusion.
10616 [POSIX] (sys/types.h): Likewise.
10617 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10618 inclusion.
10619 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10620 inclusion.
10621 * conform/data/signal.h-data (SIGIO): Remove expectation.
10622 [XPG3] (SIGBUS): Do not expect.
10623 [POSIX || XPG3] (SIGPOLL): Likewise.
10624 [POSIX || XPG3] (SIGPROF): Likewise.
10625 [POSIX || XPG3] (SIGSYS): Likewise.
10626 [XPG3] (SIGTRAP): Likewise.
10627 [POSIX || XPG3] (SIGURG): Likewise.
10628 [POSIX || XPG3] (SIGVTALRM): Likewise.
10629 [POSIX || XPG3] (SIGXCPU): Likewise.
10630 [POSIX || XPG3] (SIGXFSZ): Likewise.
10631 [POSIX] (SA_SIGINFO): Expect.
10632 [XPG3] (siginfo_t): Do not expect type or contents.
10633 [POSIX] (si_pid): Do not expect element.
10634 [POSIX] (si_uid): Likewise.
10635 [POSIX] (si_addr): Likewise.
10636 [POSIX] (si_status): Likewise.
10637 [POSIX] (si_band): Likewise.
10638 [XPG4] (si_value): Likewise.
10639 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10640 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10641 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10642 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10643 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10644 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10645 [POSIX || XPG3] (ILL_COPROC): Likewise.
10646 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10647 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10648 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10649 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10650 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10651 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10652 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10653 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10654 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10655 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10656 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10657 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10658 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10659 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10660 [POSIX || XPG3] (CLD_EXITED): Likewise.
10661 [POSIX || XPG3] (CLD_KILLED): Likewise.
10662 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10663 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10664 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10665 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10666 [POSIX || XPG3] (POLL_IN): Likewise.
10667 [POSIX || XPG3] (POLL_OUT): Likewise.
10668 [POSIX || XPG3] (POLL_MSG): Likewise.
10669 [POSIX || XPG3] (POLL_ERR): Likewise.
10670 [POSIX || XPG3] (POLL_PRI): Likewise.
10671 [POSIX || XPG3] (POLL_HUP): Likewise.
10672 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10673 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10674 (SIG*): Do not allow.
10675 [XPG3] (si_*): Likewise.
10676 [XPG3] (SI_*): Likewise.
10677 [XPG3 || XPG4] (sigev_*): Likewise.
10678 [XPG3 || XPG4] (SIGEV_*): Likewise.
10679 [XPG3 || XPG4] (sival_*): Likewise.
10680 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10681 [POSIX || XPG3] (BUS_*): Likewise.
10682 [POSIX || XPG3] (CLD_*): Likewise.
10683 [POSIX || XPG3] (FPE_*): Likewise.
10684 [POSIX || XPG3] (ILL_*): Likewise.
10685 [POSIX || XPG3] (POLL_*): Likewise.
10686 [POSIX || XPG3] (SEGV_*): Likewise.
10687 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10688 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10689 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10690 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10691 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10692 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10693 Specify type and value.
10694 (TVERSLEN): Likewise.
10695 (REGTYPE): Likewise.
10696 (AREGTYPE): Likewise.
10697 (LNKTYPE): Likewise.
10698 (SYMTYPE): Likewise.
10699 (CHRTYPE): Likewise.
10700 (BLKTYPE): Likewise.
10701 (DIRTYPE): Likewise.
10702 (FIFOTYPE): Likewise.
10703 (CONTTYPE): Likewise.
10704 (TSUID): Likewise.
10705 (TSGID): Likewise.
10706 (TSVTX): Likewise.
10707 (TUREAD): Likewise.
10708 (TUWRITE): Likewise.
10709 (TUEXEC): Likewise.
10710 (TGREAD): Likewise.
10711 (TGWRITE): Likewise.
10712 (TGEXEC): Likewise.
10713 (TOREAD): Likewise.
10714 (TOWRITE): Likewise.
10715 (TOEXEC): Likewise.
10716 [POSIX] (TSVTX): Expect constant.
10717
aa97dee1
JM
107182014-03-06 Joseph Myers <joseph@codesourcery.com>
10719
f214606a
JM
10720 * Makefile (tests): Change dependencies to ....
10721 (tests-special): ... additions to this variable.
10722 (tests): Depend on $(tests-special).
10723 * Makerules (check-abi-list): New variable.
10724 (check-abi): Depend on $(check-abi-list).
10725 [$(subdir) = elf] (tests-special): Add
10726 $(objpfx)check-abi-libc.out.
10727 [$(build-shared) = yes && subdir] (tests-special): Add
10728 $(check-abi-list).
10729 [$(build-shared) = yes && subdir] (tests): Do not depend on
10730 check-abi.
10731 * Rules (tests): Depend on $(tests-special).
10732 (xtests): Depend on $(xtests-special).
10733 * catgets/Makefile (tests): Change dependencies to ....
10734 (tests-special): ... additions to this variable.
10735 * conform/Makefile (tests): Change dependencies to ....
10736 (tests-special): ... additions to this variable.
10737 * elf/Makefile (tests): Change dependencies to ....
10738 (tests-special): ... additions to this variable.
10739 * grp/Makefile (tests): Change dependencies to ....
10740 (tests-special): ... additions to this variable.
10741 * iconv/Makefile (xtests): Change dependencies to ....
10742 (xtests-special): ... additions to this variable.
10743 * iconvdata/Makefile (tests): Change dependencies to ....
10744 (tests-special): ... additions to this variable.
10745 * intl/Makefile (tests): Change dependencies to ....
10746 (tests-special): ... additions to this variable. Also add
10747 $(objpfx)tst-gettext.out.
10748 * io/Makefile (tests): Change dependencies to ....
10749 (tests-special): ... additions to this variable.
10750 * libio/Makefile (tests): Change dependencies to ....
10751 (tests-special): ... additions to this variable.
10752 * malloc/Makefile (tests): Change dependencies to ....
10753 (tests-special): ... additions to this variable.
10754 * misc/Makefile (tests): Change dependencies to ....
10755 (tests-special): ... additions to this variable.
10756 * nptl/Makefile (tests): Change dependencies to ....
10757 (tests-special): ... additions to this variable.
10758 * nptl_db/Makefile (tests): Change dependencies to ....
10759 (tests-special): ... additions to this variable.
10760 * posix/Makefile (tests): Change dependencies to ....
10761 (tests-special): ... additions to this variable.
10762 (xtests): Change dependencies to ....
10763 (xtests-special): ... additions to this variable.
10764 * resolv/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 * stdio-common/Makefile (tests): Change dependencies to ....
10769 (tests-special): ... additions to this variable.
10770 (do-tst-unbputc): Remove target.
10771 (do-tst-printf): Likewise.
10772 * stdlib/Makefile (tests): Change dependencies to ....
10773 (tests-special): ... additions to this variable.
10774 * string/Makefile (tests): Change dependencies to ....
10775 (tests-special): ... additions to this variable.
10776 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10777 (tests-special): ... additions to this variable.
10778
81700b53
JM
10779 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10780 whole file.
10781 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10782 whole file.
10783 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10784 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10785
2ea18461
JM
10786 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10787 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10788 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10789 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10790 * conform/data/libgen.h-data [XPG3]: Likewise.
10791 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10792 * conform/data/ndbm.h-data [XPG3]: Likewise.
10793 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10794 * conform/data/netdb.h-data [XPG3]: Likewise.
10795 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10796 * conform/data/poll.h-data [XPG3]: Likewise.
10797 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10798 * conform/data/strings.h-data [XPG3]: Likewise.
10799 * conform/data/stropts.h-data [XPG3]: Likewise.
10800 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10801 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10802 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10803 Likewise.
10804 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10805 * conform/data/sys/time.h-data [XPG3]: Likewise.
10806 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10807 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10808 * conform/data/sys/un.h-data [XPG3]: Likewise.
10809 * conform/data/syslog.h-data [XPG3]: Likewise.
10810 * conform/data/ucontext.h-data [XPG3]: Likewise.
10811 * conform/data/utmpx.h-data [XPG3]: Likewise.
10812 * conform/data/varargs.h-data [UNIX98]: Enable file.
10813
355bc986
JM
10814 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10815
215db402
JM
10816 * math/libm-test.inc (struct test_f_f_data): Move expected results
10817 into structure for each rounding mode.
10818 (struct test_ff_f_data): Likewise.
10819 (struct test_ff_f_data_nexttoward): Likewise.
10820 (struct test_fi_f_data): Likewise.
10821 (struct test_fl_f_data): Likewise.
10822 (struct test_if_f_data): Likewise.
10823 (struct test_fff_f_data): Likewise.
10824 (struct test_c_f_data): Likewise.
10825 (struct test_f_f1_data): Likewise.
10826 (struct test_fF_f1_data): Likewise.
10827 (struct test_ffI_f1_data): Likewise.
10828 (struct test_c_c_data): Likewise.
10829 (struct test_cc_c_data): Likewise.
10830 (struct test_f_i_data): Likewise.
10831 (struct test_ff_i_data): Likewise.
10832 (struct test_f_l_data): Likewise.
10833 (struct test_f_L_data): Likewise.
10834 (struct test_fFF_11_data): Likewise.
10835 (RM_): New macro.
10836 (RM_FE_DOWNWARD): Likewise.
10837 (RM_FE_TONEAREST): Likewise.
10838 (RM_FE_TOWARDZERO): Likewise.
10839 (RM_FE_UPWARD): Likewise.
10840 (RUN_TEST_LOOP_f_f): Update references to expected results.
10841 (RUN_TEST_LOOP_2_f): Likewise.
10842 (RUN_TEST_LOOP_fff_f): Likewise.
10843 (RUN_TEST_LOOP_c_f): Likewise.
10844 (RUN_TEST_LOOP_f_f1): Likewise.
10845 (RUN_TEST_LOOP_fF_f1): Likewise.
10846 (RUN_TEST_LOOP_fI_f1): Likewise.
10847 (RUN_TEST_LOOP_ffI_f1): Likewise.
10848 (RUN_TEST_LOOP_c_c): Likewise.
10849 (RUN_TEST_LOOP_cc_c): Likewise.
10850 (RUN_TEST_LOOP_f_i): Likewise.
10851 (RUN_TEST_LOOP_f_i_tg): Likewise.
10852 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10853 (RUN_TEST_LOOP_f_b): Likewise.
10854 (RUN_TEST_LOOP_f_b_tg): Likewise.
10855 (RUN_TEST_LOOP_f_l): Likewise.
10856 (RUN_TEST_LOOP_f_L): Likewise.
10857 (RUN_TEST_LOOP_fFF_11): Likewise.
10858 * math/gen-libm-test.pl (parse_args): Output four copies of
10859 expected results for each test.
10860
67737b8f
JM
10861 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10862 (__ASSUME_UTIMES): Remove.
10863 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10864 (__ASSUME_UTIMES): Likewise.
10865
aa97dee1
JM
10866 * math/gen-auto-libm-tests.c: Update comment on output format.
10867 (output_for_one_input_case): Generate before-rounding and
10868 after-rounding information as conditions on output flags not
10869 floating-point format.
10870 * math/auto-libm-test-out: Regenerated.
10871 * math/gen-libm-test.pl (cond_value): New function.
10872 (or_cond_value): Use cond_value.
10873 (generate_testfile): Handle conditional exceptions.
10874
e6b6a857
JM
108752014-03-05 Joseph Myers <joseph@codesourcery.com>
10876
2f0a0f44
JM
10877 * math/libm-test.inc (max_valid_error): New variable.
10878 (init_max_error): Take new argument specifying whether function
10879 results are exactly determined. Set max_valid_error and bound
10880 other variables for errors based on this argument.
10881 (set_max_error): Do not record results above max_valid_error.
10882 (check_float_internal): Only accept errors of up to 0.5ulps if
10883 also at most max_valid_error.
10884 (START): Take new argument EXACT and pass it to init_max_error.
10885 (acos_test): Update call to START.
10886 (acos_test_tonearest): Likewise.
10887 (acos_test_towardzero): Likewise.
10888 (acos_test_downward): Likewise.
10889 (acos_test_upward): Likewise.
10890 (acosh_test): Likewise.
10891 (asin_test): Likewise.
10892 (asin_test_tonearest): Likewise.
10893 (asin_test_towardzero): Likewise.
10894 (asin_test_downward): Likewise.
10895 (asin_test_upward): Likewise.
10896 (asinh_test): Likewise.
10897 (atan_test): Likewise.
10898 (atanh_test): Likewise.
10899 (atan2_test): Likewise.
10900 (cabs_test): Likewise.
10901 (cacos_test): Likewise.
10902 (cacosh_test): Likewise.
10903 (carg_test): Likewise.
10904 (casin_test): Likewise.
10905 (casinh_test): Likewise.
10906 (catan_test): Likewise.
10907 (catanh_test): Likewise.
10908 (cbrt_test): Likewise.
10909 (ccos_test): Likewise.
10910 (ccosh_test): Likewise.
10911 (ceil_test): Likewise.
10912 (cexp_test): Likewise.
10913 (cimag_test): Likewise.
10914 (clog_test): Likewise.
10915 (clog10_test): Likewise.
10916 (conj_test): Likewise.
10917 (copysign_test): Likewise.
10918 (cos_test): Likewise.
10919 (cos_test_tonearest): Likewise.
10920 (cos_test_towardzero): Likewise.
10921 (cos_test_downward): Likewise.
10922 (cos_test_upward): Likewise.
10923 (cosh_test): Likewise.
10924 (cosh_test_tonearest): Likewise.
10925 (cosh_test_towardzero): Likewise.
10926 (cosh_test_downward): Likewise.
10927 (cosh_test_upward): Likewise.
10928 (cpow_test): Likewise.
10929 (cproj_test): Likewise.
10930 (creal_test): Likewise.
10931 (csin_test): Likewise.
10932 (csinh_test): Likewise.
10933 (csqrt_test): Likewise.
10934 (ctan_test): Likewise.
10935 (ctan_test_tonearest): Likewise.
10936 (ctan_test_towardzero): Likewise.
10937 (ctan_test_downward): Likewise.
10938 (ctan_test_upward): Likewise.
10939 (ctanh_test): Likewise.
10940 (ctanh_test_tonearest): Likewise.
10941 (ctanh_test_towardzero): Likewise.
10942 (ctanh_test_downward): Likewise.
10943 (ctanh_test_upward): Likewise.
10944 (erf_test): Likewise.
10945 (erfc_test): Likewise.
10946 (exp_test): Likewise.
10947 (exp_test_tonearest): Likewise.
10948 (exp_test_towardzero): Likewise.
10949 (exp_test_downward): Likewise.
10950 (exp_test_upward): Likewise.
10951 (exp10_test): Likewise.
10952 (exp10_test_tonearest): Likewise.
10953 (exp10_test_towardzero): Likewise.
10954 (exp10_test_downward): Likewise.
10955 (exp10_test_upward): Likewise.
10956 (pow10_test): Likewise.
10957 (exp2_test): Likewise.
10958 (expm1_test): Likewise.
10959 (expm1_test_tonearest): Likewise.
10960 (expm1_test_towardzero): Likewise.
10961 (expm1_test_downward): Likewise.
10962 (expm1_test_upward): Likewise.
10963 (fabs_test): Likewise.
10964 (fdim_test): Likewise.
10965 (floor_test): Likewise.
10966 (fma_test): Likewise.
10967 (fma_test_towardzero): Likewise.
10968 (fma_test_downward): Likewise.
10969 (fma_test_upward): Likewise.
10970 (fmax_test): Likewise.
10971 (fmin_test): Likewise.
10972 (fmod_test): Likewise.
10973 (fpclassify_test): Likewise.
10974 (frexp_test): Likewise.
10975 (hypot_test): Likewise.
10976 (ilogb_test): Likewise.
10977 (isfinite_test): Likewise.
10978 (finite_test): Likewise.
10979 (isgreater_test): Likewise.
10980 (isgreaterequal_test): Likewise.
10981 (isinf_test): Likewise.
10982 (isless_test): Likewise.
10983 (islessequal_test): Likewise.
10984 (islessgreater_test): Likewise.
10985 (isnan_test): Likewise.
10986 (isnormal_test): Likewise.
10987 (issignaling_test): Likewise.
10988 (isunordered_test): Likewise.
10989 (j0_test): Likewise.
10990 (j1_test): Likewise.
10991 (jn_test): Likewise.
10992 (ldexp_test): Likewise.
10993 (lgamma_test): Likewise.
10994 (gamma_test): Likewise.
10995 (lrint_test): Likewise.
10996 (lrint_test_tonearest): Likewise.
10997 (lrint_test_towardzero): Likewise.
10998 (lrint_test_downward): Likewise.
10999 (lrint_test_upward): Likewise.
11000 (llrint_test): Likewise.
11001 (llrint_test_tonearest): Likewise.
11002 (llrint_test_towardzero): Likewise.
11003 (llrint_test_downward): Likewise.
11004 (llrint_test_upward): Likewise.
11005 (log_test): Likewise.
11006 (log10_test): Likewise.
11007 (log1p_test): Likewise.
11008 (log2_test): Likewise.
11009 (logb_test): Likewise.
11010 (logb_test_downward): Likewise.
11011 (lround_test): Likewise.
11012 (llround_test): Likewise.
11013 (modf_test): Likewise.
11014 (nearbyint_test): Likewise.
11015 (nextafter_test): Likewise.
11016 (nexttoward_test): Likewise.
11017 (pow_test): Likewise.
11018 (pow_test_tonearest): Likewise.
11019 (pow_test_towardzero): Likewise.
11020 (pow_test_downward): Likewise.
11021 (pow_test_upward): Likewise.
11022 (remainder_test): Likewise.
11023 (drem_test): Likewise.
11024 (remainder_test_tonearest): Likewise.
11025 (drem_test_tonearest): Likewise.
11026 (remainder_test_towardzero): Likewise.
11027 (drem_test_towardzero): Likewise.
11028 (remainder_test_downward): Likewise.
11029 (drem_test_downward): Likewise.
11030 (remainder_test_upward): Likewise.
11031 (drem_test_upward): Likewise.
11032 (remquo_test): Likewise.
11033 (rint_test): Likewise.
11034 (rint_test_tonearest): Likewise.
11035 (rint_test_towardzero): Likewise.
11036 (rint_test_downward): Likewise.
11037 (rint_test_upward): Likewise.
11038 (round_test): Likewise.
11039 (scalb_test): Likewise.
11040 (scalbn_test): Likewise.
11041 (scalbln_test): Likewise.
11042 (signbit_test): Likewise.
11043 (sin_test): Likewise.
11044 (sin_test_tonearest): Likewise.
11045 (sin_test_towardzero): Likewise.
11046 (sin_test_downward): Likewise.
11047 (sin_test_upward): Likewise.
11048 (sincos_test): Likewise.
11049 (sinh_test): Likewise.
11050 (sinh_test_tonearest): Likewise.
11051 (sinh_test_towardzero): Likewise.
11052 (sinh_test_downward): Likewise.
11053 (sinh_test_upward): Likewise.
11054 (sqrt_test): Likewise.
11055 (sqrt_test_tonearest): Likewise.
11056 (sqrt_test_towardzero): Likewise.
11057 (sqrt_test_downward): Likewise.
11058 (sqrt_test_upward): Likewise.
11059 (tan_test): Likewise.
11060 (tan_test_tonearest): Likewise.
11061 (tan_test_towardzero): Likewise.
11062 (tan_test_downward): Likewise.
11063 (tan_test_upward): Likewise.
11064 (tanh_test): Likewise.
11065 (tgamma_test): Likewise.
11066 (trunc_test): Likewise.
11067 (y0_test): Likewise.
11068 (y1_test): Likewise.
11069 (yn_test): Likewise.
11070 (significand_test): Likewise.
11071
e6b6a857
JM
11072 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11073 individual tests in comment.
11074 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11075 (prev_max_error): New variable.
11076 (prev_real_max_error): Likewise.
11077 (prev_imag_max_error): Likewise.
11078 (compare_ulp_data): Don't refer to test names in comment.
11079 (find_test_ulps): Remove function.
11080 (find_function_ulps): Likewise.
11081 (find_complex_function_ulps): Likewise.
11082 (init_max_error): Take function name as argument. Look up ulps
11083 for that function.
11084 (print_ulps): Remove function.
11085 (print_max_error): Use prev_max_error instead of calling
11086 find_function_ulps.
11087 (print_complex_max_error): Use prev_real_max_error and
11088 prev_imag_max_error instead of calling find_complex_function_ulps.
11089 (check_float_internal): Take max_ulp parameter instead of calling
11090 find_test_ulps. Don't call print_ulps.
11091 (check_float): Update call to check_float_internal.
11092 (check_complex): Update calls to check_float_internal.
11093 (START): Pass argument to init_max_error.
11094 * math/gen-libm-test.pl (%results): Don't include "kind"
11095 information.
11096 (parse_ulps): Don't handle ulps of individual tests.
11097 (print_ulps_file): Likewise.
11098 (output_ulps): Likewise.
11099 * math/README.libm-test: Update.
11100 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11101 individual tests.
11102 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11103 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11104 * sysdeps/arm/libm-test-ulps: Likewise.
11105 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11106 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11107 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11108 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11109 * sysdeps/microblaze/libm-test-ulps: Likewise.
11110 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11111 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11113 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11114 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11115 * sysdeps/sh/libm-test-ulps: Likewise.
11116 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11117 * sysdeps/tile/libm-test-ulps: Likewise.
11118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11119
45adef3c
JM
111202014-03-04 Joseph Myers <joseph@codesourcery.com>
11121
11122 * math/libm-test.inc (print_complex_max_error): Check separately
11123 whether real and imaginary errors are within allowed range and
11124 pass 0 to print_complex_function_ulps instead of value within
11125 allowed range.
11126
000232b9
SP
111272014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11128
d4b17258
SP
11129 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11130 formatting.
11131 (get_handles_fopen): Likewise.
11132 (do_write_test): Likewise.
11133
091eff71
SP
11134 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11135
fa3cd248
SP
11136 * libio/fileops.c (do_ftell): Use cached offset when
11137 available.
11138 * libio/iofwide.c (do_ftell_wide): Likewise.
11139 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11140 _IO_file_attach.
11141 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11142
000232b9
SP
11143 [BZ #16532]
11144 * libio/libioP.h (get_file_offset): New function.
11145 * libio/fileops.c (get_file_offset): Likewise.
11146 (do_ftell): Likewise.
11147 (_IO_new_file_seekoff): Split out ftell logic.
11148 * libio/wfileops.c (do_ftell_wide): Likewise.
11149 (_IO_wfile_seekoff): Split out ftell logic.
11150 * libio/tst-ftell-active-handler.c: New test case.
11151 * libio/Makefile (tests): Add it.
11152
116f4d1a
RM
111532014-03-03 Roland McGrath <roland@hack.frob.com>
11154
11155 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11156 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11157
532a6035
SP
111582014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11159
11160 [BZ #16639]
11161 * nscd/connections.c (nscd_init): Call do_exit.
11162 (start_threads): Call do_exit and notify_parent.
11163 (begin_drop_privileges): Call do_exit.
11164 (finish_drop_privileges): Likewise.
11165 * nscd/selinux.c (preserve_capabilities): Likewise.
11166 (install_real_capabilities): Likewise.
11167 (nscd_selinux_enabled): Likewise.
11168 (avc_create_thread): Likewise.
11169 (avc_alloc_lock): Likewise.
11170 (nscd_avc_init): Likewise.
11171 * nscd/nscd.c (parent_fd): New static variable.
11172 (main): Create a pipe between parent and child processes.
11173 Skip closing parent_fd.
11174 (monitor_child): New function.
11175 (do_exit): Likewise.
11176 (notify_parent): Likewise.
11177 * nscd/nscd.h (notify_parent): Likewise.
11178 (do_exit): Likewise.
11179
d6285c9f
CD
111802014-03-03 Carlos O'Donell <carlos@redhat.com>
11181
11182 * malloc/malloc.c (__libc_calloc): Revert last change.
11183
2b85d2a0
AZ
111842014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11185
11186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11187
c7debbdf
RS
111882014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11189
11190 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11192 implementation.
11193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11194 (__libc_ifunc_impl_list): Likewise.
11195 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11196 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11197 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11198 * string/strrchr.c: Define STRRCHR.
11199
235eed86
OB
112002014-02-28 Ondřej Bílka <neleai@seznam.cz>
11201
11202 * benchtest/bench-strtok.c (simple_strtok): Delete.
11203 (strtok_string): Use as benchmark.
11204 * string/strtok (STRTOK): New macro.
11205
8e25d1e7
CD
112062014-02-28 Carlos O'Donell <carlos@redhat.com>
11207
ef563f92
CD
11208 * manual/threads.texi: Add header and standard comments to all
11209 functions.
11210
8e25d1e7
CD
11211 * elf/dl-lookup.c (check_match): New function.
11212 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11213 (do_lookup_x): Remove nested function check_match. Use non-nested
11214 function check_match.
11215
ff71cc37
RM
112162014-02-28 Roland McGrath <roland@hack.frob.com>
11217
f08e9a26
RM
11218 * csu/Makefile (generated, before-compile): Use += rather than =.
11219 * catgets/Makefile (generated, generated-dirs): Likewise.
11220 * debug/Makefile (generated): Likewise.
11221 * dlfcn/Makefile (generated): Likewise.
11222 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11223 * iconvdata/Makefile (before-compile, generated): Likewise.
11224 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11225 * libio/Makefile (generated): Likewise.
11226 * malloc/Makefile (generated): Likewise.
11227 * manual/Makefile (generated, generated-dirs): Likewise.
11228 * misc/Makefile (generated): Likewise.
11229 * posix/Makefile (generated): Likewise.
11230 * resolv/Makefile (generated): Likewise.
11231 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11232 * timezone/Makefile (generated, generated-dirs): Likewise.
11233
ff71cc37
RM
11234 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11235
fe13a20c
AZ
112362014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237
57f41c40
AS
11238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11239 power8 implementation.
11240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11241 file: POWER8 llround ifunc implementation.
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11243 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11244 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11245 POWER8 llround implementation.
11246
57f41c40
AS
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11248 power8 implementation.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11250 file: POWER8 llrint ifunc implementation.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11252 Add POWER8 implementation.
1ad8950a
AZ
11253 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11254 POWER8 llrint implementation.
11255
57f41c40
AS
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11257 power8 implementation.
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11259 file: POWER8 finite ifunc implementation.
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11261 Add POWER8 implementation.
cac626d6
AZ
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11263 Likewise.
11264 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11265 POWER8 finite implementation.
11266 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11267
57f41c40
AS
11268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11269 power8 implementation.
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11271 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11273 POWER8 implementation.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11275 Likewise.
57f41c40
AS
11276 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11277 isinf implementation.
4393fc11
AZ
11278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11279
57f41c40
AS
11280 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11281 (INIT_ARCH): Add hwcap2 initialization.
11282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11283 power8 implementation.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11285 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11287 POWER8 implementation.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11289 Likewise.
57f41c40
AS
11290 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11291 isnan implementation.
487972ae
AZ
11292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11293
7d92b787
JY
112942014-02-27 Joey Ye <joey.ye@arm.com>
11295
11296 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11297 (_FP_NANFRAC_Q): Set to zero.
11298
1cadc858
SP
112992014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11300
11301 [BZ #16623]
11302 * math/auto-libm-test-in: New test inputs.
11303 * math/auto-libm-test-out: Regenerate.
11304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11305 and DA.
11306 (__cos): Likewise.
11307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11308
f8c17e79
JM
113092014-02-27 Joseph Myers <joseph@codesourcery.com>
11310
11311 * scripts/evaluate-test.sh: Take new argument indicating whether
11312 failure is expected.
11313 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11314 indicating whether failure is expected.
11315 * conform/Makefile (test-xfail-run-conformtest): New variable.
11316 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11317 level.
11318 * posix/Makefile (test-xfail-annexc): New variable.
11319 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11320
a5f891ac
JM
113212014-02-26 Joseph Myers <joseph@codesourcery.com>
11322
11323 * argp/Makefile: Include Makeconfig immediately after defining
11324 subdir.
11325 * assert/Makefile: Likewise.
11326 * benchtests/Makefile: Likewise.
11327 * catgets/Makefile: Likewise.
11328 * conform/Makefile: Likewise.
11329 * crypt/Makefile: Likewise.
11330 * csu/Makefile: Likewise.
11331 (all): Remove target.
11332 * ctype/Makefile: Include Makeconfig immediately after defining
11333 subdir.
11334 * debug/Makefile: Likewise.
11335 * dirent/Makefile: Likewise.
11336 * dlfcn/Makefile: Likewise.
11337 * gmon/Makefile: Likewise.
11338 * gnulib/Makefile: Likewise.
11339 * grp/Makefile: Likewise.
11340 * gshadow/Makefile: Likewise.
11341 * hesiod/Makefile: Likewise.
11342 * hurd/Makefile: Likewise.
11343 (all): Remove target.
11344 * iconvdata/Makefile: Include Makeconfig immediately after
11345 defining subdir.
11346 * inet/Makefile: Likewise.
11347 * intl/Makefile: Likewise.
11348 * io/Makefile: Likewise.
11349 * libio/Makefile: Likewise.
11350 (all): Remove target.
11351 * locale/Makefile: Include Makeconfig immediately after defining
11352 subdir.
11353 * login/Makefile: Likewise.
11354 * mach/Makefile: Likewise.
11355 (all): Remove target.
11356 * malloc/Makefile: Include Makeconfig immediately after defining
11357 subdir.
11358 (all): Remove target.
11359 * manual/Makefile: Include Makeconfig immediately after defining
11360 subdir.
11361 * math/Makefile: Likewise.
11362 * misc/Makefile: Likewise.
11363 * nis/Makefile: Likewise.
11364 * nss/Makefile: Likewise.
11365 * po/Makefile: Likewise.
11366 (all): Remove target.
11367 * posix/Makefile: Include Makeconfig immediately after defining
11368 subdir.
11369 * pwd/Makefile: Likewise.
11370 * resolv/Makefile: Likewise.
11371 * resource/Makefile: Likewise.
11372 * rt/Makefile: Likewise.
11373 * setjmp/Makefile: Likewise.
11374 * shadow/Makefile: Likewise.
11375 * signal/Makefile: Likewise.
11376 * socket/Makefile: Likewise.
11377 * soft-fp/Makefile: Likewise.
11378 * stdio-common/Makefile: Likewise.
11379 * stdlib/Makefile: Likewise.
11380 * streams/Makefile: Likewise.
11381 * string/Makefile: Likewise.
11382 * sunrpc/Makefile: Likewise.
11383 (all): Remove target.
11384 * sysvipc/Makefile: Include Makeconfig immediately after defining
11385 subdir.
11386 * termios/Makefile: Likewise.
11387 * time/Makefile: Likewise.
11388 * timezone/Makefile: Likewise.
11389 (all): Remove target.
11390 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11391 subdir.
11392 * wctype/Makefile: Likewise.
11393
5b456e9d
SE
113942014-02-26 Steve Ellcey <sellcey@mips.com>
11395
11396 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11397 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11398 (libc_feholdexcept_setround_mips): Ditto.
11399 (libc_feholdsetround): New.
11400 (libc_feholdsetroundf): New.
11401 (libc_feholdsetroundl): New.
11402 (libc_feupdateenv_test_mips): New.
11403 (libc_feupdateenv_test): New.
11404 (libc_feupdateenv_testf): New.
11405 (libc_feupdateenv_testl): New.
11406 (libc_feresetround): New.
11407 (libc_feresetroundf): New.
11408 (libc_feresetroundl): New.
11409 (libc_fetestexcept_mips): New.
11410 (libc_fetestexcept): New.
11411 (libc_fetestexceptf): New.
11412 (libc_fetestexceptl): New.
11413 (HAVE_RM_CTX): New.
11414 (libc_feholdexcept_setround_mips_ctx): New.
11415 (libc_feholdexcept_setround_ctx): New.
11416 (libc_feholdexcept_setroundf_ctx): New.
11417 (libc_feholdexcept_setroundl_ctx): New.
11418 (libc_fesetenv_mips_ctx): New.
11419 (libc_fesetenv_ctx): New.
11420 (libc_fesetenv_ctxf): New.
11421 (libc_fesetenv_ctxl): New.
11422 (libc_feupdateenv_mips_ctx): New.
11423 (libc_feupdateenv_ctx): New.
11424 (libc_feupdateenvf_ctx): New.
11425 (libc_feupdateenvl_ctx): New.
11426 (libc_feholdsetround_mips_ctx): New.
11427 (libc_feholdsetround_ctx): New.
11428 (libc_feholdsetroundf_ctx): New.
11429 (libc_feholdsetroundl_ctx): New.
11430 (libc_feresetround_mips_ctx): New.
11431 (libc_feresetround_ctx): New.
11432 (libc_feresetroundf_ctx): New.
11433 (libc_feresetroundl_ctx): New.
11434
085d0e35
CD
114352014-02-26 Carlos O'Donell <carlos@redhat.com>
11436
f067bf1f
CD
11437 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11438
085d0e35
CD
11439 * manual/ipc.texi: New file.
11440 * manual/Makefile (chapters): Add ipc.
11441 * manual/job.texi: Add "Inter-Process Communication" to next.
11442 * manual/process.texi: Add "Inter-Process Communication" to prev.
11443
86e58c08
AZ
114442014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11445
11446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11447
4248f0da
OB
114482014-02-26 Ondřej Bílka <neleai@seznam.cz>
11449
11450 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11451
cf822e3c
OB
11452 * manual/arith.texi: Fix spaces after sentences.
11453 * manual/charset.texi: Likewise.
11454 * manual/errno.texi: Likewise.
11455 * manual/install.texi: Likewise.
11456 * manual/llio.texi: Likewise.
11457 * manual/locale.texi: Likewise.
11458 * manual/maint.texi: Likewise.
11459 * manual/math.texi: Likewise.
11460 * manual/memory.texi: Likewise.
11461 * manual/message.texi: Likewise.
11462 * manual/probes.texi: Likewise.
11463 * manual/resource.texi: Likewise.
11464 * manual/signal.texi: Likewise.
11465 * manual/socket.texi: Likewise.
11466 * manual/stdio.texi: Likewise.
11467 * manual/string.texi: Likewise.
11468 * manual/time.texi: Likewise.
11469 * manual/users.texi: Likewise.
11470
ade40b10
CD
114712014-02-25 Carlos O'Donell <carlos@redhat.com>
11472
11473 [BZ #16632]
11474 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11475 _DEFAULT_SOURCE is defined.
11476
d0503676
CD
114772014-02-25 Ulrich Drepper <drepper@gmail.com>
11478 Carlos O'Donell <carlos@redhat.com>
11479
11480 [BZ #16613]
11481 * elf/dl-tls.c (_dl_count_modids): New function.
11482 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11483 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11484 audit library and increment generation counter.
11485 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11486 * elf/tst-audit9.c: New file.
11487 * elf/tst-auditmod9a.c: New file.
11488 * elf/tst-auditmod9b.c: New file.
11489 * elf/Makefile: Add rules to build and run tst-audit9.
11490
4cbf380c
FW
114912014-02-25 Florian Weimer <fweimer@redhat.com>
11492
11493 [BZ #15347]
11494 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11495
80a56cc3
WN
114962014-02-25 Will Newton <will.newton@linaro.org>
11497
11498 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11499 (__longjmp): Restore sp and lr before restoring callee
11500 saved registers. Add longjmp and longjmp_target
11501 SystemTap probe point.
11502 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11503 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11504 Define to zero to match jmpbuf layout.
11505 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11506 (__sigsetjmp): Save sp and lr before saving callee
11507 saved registers. Add setjmp SystemTap probe point.
11508
3ea0f74e
SL
115092014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11510
11511 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11512
b04acb26
AS
115132014-02-24 Andreas Schwab <schwab@suse.de>
11514
11515 [BZ #15804]
11516 * elf/pldd.c (wait_for_ptrace_stop): New function.
11517 (main): Call it after attaching.
11518
098ad55c
RM
115192014-02-22 Roland McGrath <roland@hack.frob.com>
11520
d4ec6ae1
RM
11521 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11522 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11523 Versions files is now verboten.
11524 * hurd/Versions (libc: GLIBC_2.0):
11525 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11526 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11527 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11528 * mach/Versions: Likewise.
11529
098ad55c
RM
11530 * csu/Versions: Remove unused %include.
11531 * resolv/Versions: Likewise.
11532
acd7f096
JM
115332014-02-21 Joseph Myers <joseph@codesourcery.com>
11534
f0881698
JM
11535 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11536 ($(objpfx)check-local-headers.out): Likewise.
11537 ($(objpfx)begin-end-check.out): Likewise.
11538 * Makerules (check-abi-%.out): Likewise.
11539 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11540 ($(objpfx)test2.cat): Likewise.
11541 ($(objpfx)de/libc.cat): Likewise.
11542 ($(objpfx)test-gencat.out): Likewise.
11543 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11544 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11545 ($(objpfx)noload-mem): Likewise.
11546 ($(objpfx)tst-pathopt.out): Likewise.
11547 ($(objpfx)tst-rtld-load-self.out): Likewise.
11548 ($(objpfx)tst-array1-cmp.out): Likewise.
11549 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11550 ($(objpfx)tst-array2-cmp.out): Likewise.
11551 ($(objpfx)tst-array3-cmp.out): Likewise.
11552 ($(objpfx)tst-array4-cmp.out): Likewise.
11553 ($(objpfx)tst-array5-cmp.out): Likewise.
11554 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11555 ($(objpfx)check-textrel.out): Likewise.
11556 ($(objpfx)check-execstack.out): Likewise.
11557 ($(objpfx)check-localplt.out): Likewise.
11558 ($(objpfx)order2-cmp.out): Likewise.
11559 ($(objpfx)tst-leaks1-mem): Likewise.
11560 ($(objpfx)tst-leaks1-static-mem): Likewise.
11561 ($(objpfx)tst-initorder-cmp.out): Likewise.
11562 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11563 ($(objpfx)tst-unused-dep.out): Likewise.
11564 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11565 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11566 * iconv/Makefile (test-iconvconfig): Likewise.
11567 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11568 ($(objpfx)iconv-test.out): Likewise.
11569 ($(objpfx)tst-tables.out): Likewise.
11570 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11571 ($(objpfx)tst-gettext.out): Likewise.
11572 ($(objpfx)tst-translit.out): Likewise.
11573 ($(objpfx)tst-gettext2.out): Likewise.
11574 ($(objpfx)tst-gettext4.out): Likewise.
11575 ($(objpfx)tst-gettext6.out): Likewise.
11576 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11577 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11578 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11579 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11580 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11581 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11582 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11583 ($(objpfx)wordexp-tst.out): Likewise.
11584 ($(objpfx)annexc.out): Likewise.
11585 ($(objpfx)tst-fnmatch-mem): Likewise.
11586 ($(objpfx)bug-regex2-mem): Likewise.
11587 ($(objpfx)bug-regex14-mem): Likewise.
11588 ($(objpfx)bug-regex21-mem): Likewise.
11589 ($(objpfx)bug-regex31-mem): Likewise.
11590 ($(objpfx)tst-vfork3-mem): Likewise.
11591 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11592 ($(objpfx)tst-pcre-mem): Likewise.
11593 ($(objpfx)tst-boost-mem): Likewise.
11594 ($(objpfx)tst-getconf.out): Likewise.
11595 ($(objpfx)bug-ga2-mem): Likewise.
11596 ($(objpfx)bug-glob2-mem): Likewise.
11597 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11598 ($(objpfx)mtrace-tst-leaks2): Likewise.
11599 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11600 ($(objpfx)tst-printf.out): Likewise.
11601 ($(objpfx)tst-setvbuf1.out): Likewise.
11602 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11603 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11604 ($(objpfx)tst-fmtmsg.out): Likewise.
11605 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11606 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11607
acd7f096
JM
11608 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11609 * bits/sigaction.h [__USE_MISC]: Likewise.
11610 * bits/waitstatus.h: Update #endif comments.
11611 * ctype/ctype.h: Likewise.
11612 * dirent/dirent.h: Likewise.
11613 [__USE_MISC]: Remove redundant conditionals.
11614 * grp/grp.h: Update #endif comments.
11615 [__USE_GNU]: Remove redundant conditionals.
11616 [__USE_MISC]: Likewise.
11617 * inet/netinet/in.h [__USE_GNU]: Likewise.
11618 * io/sys/stat.h [__USE_MISC]: Likewise.
11619 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11620 * libio/bits/stdio.h: Update #endif comments.
11621 [__USE_MISC]: Remove redundant conditionals.
11622 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11623 * libio/stdio.h: Update #endif comments.
11624 [__USE_MISC]: Remove redundant conditionals.
11625 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11626 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11627 * math/math.h: Update #else and #endif comments.
11628 [__USE_MISC]: Remove redundant conditionals.
11629 * misc/sys/uio.h: Update #endif comments.
11630 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11631 * posix/glob.h [__USE_MISC]: Likewise.
11632 * posix/sys/types.h: Update #endif comments.
11633 [__USE_MISC]: Remove redundant conditionals.
11634 * posix/sys/wait.h: Update #endif comments.
11635 [__USE_MISC]: Remove redundant conditionals.
11636 * posix/unistd.h: Update #endif comments.
11637 [__USE_MISC]: Remove redundant conditionals.
11638 * pwd/pwd.h [__USE_GNU]: Likewise.
11639 [__USE_MISC]: Likewise.
11640 * resolv/netdb.h [__USE_GNU]: Likewise.
11641 * signal/signal.h: Update #endif comments.
11642 [__USE_MISC]: Remove redundant conditionals.
11643 * stdlib/stdlib.h: Update #else and #endif comments.
11644 [__USE_MISC]: Remove redundant conditionals.
11645 [__USE_GNU]: Likewise.
11646 * string/bits/string2.h [__USE_MISC]: Likewise.
11647 * string/string.h: Update #endif comments.
11648 [__USE_MISC]: Remove redundant conditionals.
11649 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11650 Likewise.
11651 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11652 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11653 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11654 Likewise.
11655 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11656 Likewise.
11657 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11658 comments.
11659 [__USE_MISC]: Remove redundant conditionals.
11660 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11661 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11662 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11663 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11664 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11665 Likewise.
11666 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11667 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11668 Likewise.
11669 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11670 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11671 Likewise.
11672 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11673 Likewise.
11674 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11676 Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11678 Likewise.
11679 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11680 * sysdeps/x86/bits/string.h: Update #endif comments.
11681 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11682 conditionals.
11683 * time/sys/time.h: Update #endif comments.
11684 * time/time.h: Likewise.
11685 [__USE_MISC]: Remove redundant conditionals.
11686
a5d82e4e
YG
116872014-02-21 Yury Gribov <y.gribov@samsung.com>
11688
11689 [BZ #16600]
11690 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11691
9a80491d
AS
116922014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11693
11694 * Versions.def (librt): Add GLIBC_2.17.
11695
105fa381
AC
116962014-02-21 Adam Conrad <adconrad@0c3.net>
11697
11698 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11699 synonym for _SYS_AUXV_H to allow direct inclusion.
11700 * sysdeps/sparc/bits/hwcap.h: Likewise.
11701 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11702 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11703 * sysdeps/sparc/sysdep.h: Likewise.
11704
b8cd1c4e
SP
117052014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11706
11707 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11708
bd939d23
RS
117092014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11710
11711 * benchtests/bench-strrchr.c: Print length instead of position.
11712
5d7b57ca
JM
117132014-02-20 Joseph Myers <joseph@codesourcery.com>
11714
bc688c10
JM
11715 [BZ #16611]
11716 * sysdeps/unix/sysv/linux/kernel-features.h
11717 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11718 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11719 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11720 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11721 Likewise.
11722 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11723 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11724 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11725 (__ASSUME_SENDMMSG): Define instead of using previous
11726 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11727 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11728 (__ASSUME_SENDMMSG_SYSCALL): Define.
11729 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11730 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11731 Likewise.
11732 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11733 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11734 Likewise.
11735 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11736 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11737 Likewise.
11738 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11739 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11740 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11741 [__ASSUME_SENDMMSG]: Change conditionals to
11742 [__ASSUME_SENDMMSG_SOCKETCALL].
11743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11744 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11745 Define.
11746 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11747 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11748 Likewise.
11749 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11750 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11751 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11752 [!__ASSUME_SENDMMSG]: Change conditional to
11753 [!__ASSUME_SENDMMSG_SOCKETCALL].
11754 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11755 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11756 Define.
11757
0e31b18c
JM
11758 [BZ #16610]
11759 * sysdeps/unix/sysv/linux/kernel-features.h
11760 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11761 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11762 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11763 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11764 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11765 [__i386__ || __sparc__]
11766 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11767 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11768 (__ASSUME_RECVMMSG): Define instead of using previous
11769 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11770 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11771 (__ASSUME_RECVMMSG_SYSCALL): Define.
11772 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11774 Likewise.
11775 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11777 Likewise.
11778 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11780 Likewise.
11781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11782 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11783 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11784 [__ASSUME_RECVMMSG]: Change condition to
11785 [__ASSUME_RECVMMSG_SOCKETCALL].
11786 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11788 Define.
11789 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11790 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11792 Likewise.
11793 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11794 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11795 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11796 [!__ASSUME_RECVMMSG]: Change condition to
11797 [!__ASSUME_RECVMMSG_SOCKETCALL].
11798 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11799 (__ASSUME_RECVMMSG_SYSCALL): Define.
11800
dd481ccf
JM
11801 [BZ #16609]
11802 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11803 __powerpc__ || __s390__ || __sh__ || __sparc__]
11804 (__ASSUME_SOCKETCALL): Define.
11805 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11806 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11807 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11808 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11809 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11810 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11811 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11812 (__ASSUME_ACCEPT4): Define instead of using previous
11813 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11814 __powerpc__ || __sparc__ || __s390__)] condition.
11815 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11816 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11817 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11818 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11819 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11820 [!__ASSUME_ACCEPT4]: Change condition to
11821 [!__ASSUME_ACCEPT4_SOCKETCALL].
11822 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11823 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11824 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11825 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11826 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11827 __ASSUME_ACCEPT4_SYSCALL.
11828 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11829 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11830 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11831 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11832 __ASSUME_ACCEPT4_SYSCALL.
11833 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11834 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11835 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11836 [__ASSUME_ACCEPT4]: Change condition to
11837 [__ASSUME_ACCEPT4_SOCKETCALL].
11838 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11839 (__ASSUME_SOCKETCALL): Define.
11840 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11841 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11842 (__ASSUME_SOCKETCALL): Define.
11843 (__ASSUME_ACCEPT4): Remove.
11844 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11845 Define.
11846 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11847 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11848 Likewise.
11849 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11850 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11851
5d7b57ca
JM
11852 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11853 macro.
11854 (HWCAP_ARM_LPAE): Likewise.
11855 (HWCAP_ARM_EVTSTRM): Likewise.
11856 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11857 Add vpfd32, lpae and evtstrm.
11858 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11859 Increase to 22.
11860
63689d61
JM
118612014-02-19 Joseph Myers <joseph@codesourcery.com>
11862
11863 * math/auto-libm-test-in: Add tests of clog10.
11864 * math/auto-libm-test-out: Regenerated.
11865 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11866 * sysdeps/i386/fpu/libm-test-ulps: Update.
11867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11868
ab09bf61
AS
118692014-02-18 Andreas Schwab <schwab@suse.de>
11870
11871 [BZ #16574]
11872 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11873 Store non-zero if the second buffer was newly allocated.
11874 (send_dg): Likewise.
11875 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11876 to send_vc and send_dg.
11877 (res_nsend): Pass NULL for ansp2_malloced.
11878 * resolv/res_query.c (__libc_res_nquery): Add parameter
11879 answerp2_malloced and pass it down to __libc_res_nsend.
11880 (res_nquery): Pass additional NULL to __libc_res_nquery.
11881 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11882 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11883 second answer buffer if answerp2_malloced was set.
11884 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11885 (__libc_res_nquerydomain): Add parameter
11886 answerp2_malloced and pass it down to __libc_res_nquery.
11887 (res_nquerydomain): Pass additional NULL to
11888 __libc_res_nquerydomain.
11889 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11890 additional NULL to __libc_res_nsend and __libc_res_nquery.
11891 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11892 additional NULL to __libc_res_nsearch.
11893 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11894 parameter of __libc_res_nsearch to check for separately allocated
11895 second buffer.
11896 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11897 __libc_res_nquery.
11898 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11899 additional NULL to __libc_res_nquery.
11900 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11901 __libc_res_nsearch.
11902 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11903 * include/resolv.h: Update prototypes of __libc_res_nquery,
11904 __libc_res_nsearch, __libc_res_nsend.
11905
a4fb7861
JM
119062014-02-18 Joseph Myers <joseph@codesourcery.com>
11907
c6af2d89
JM
11908 * math/auto-libm-test-in: Add tests of fma.
11909 * math/auto-libm-test-out: Regenerated.
11910 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11911 (fma_towardzero_test_data): Likewise.
11912 (fma_downward_test_data): Likewise.
11913 (fma_upward_test_data): Likewise.
11914 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11915 mpc_mode.
11916 (rounding_modes): Add values for new field.
11917 (func_calc_method): Add value mpfr_fff_f.
11918 (func_calc_desc): Add mpfr_fff_f union field.
11919 (test_function): Add field exact_args.
11920 (FUNC): Add macro argument EXACT_ARGS.
11921 (FUNC_mpfr_f_f): Update call to FUNC.
11922 (FUNC_mpfr_f_f): Likewise.
11923 (FUNC_mpfr_ff_f): Likewise.
11924 (FUNC_mpfr_if_f): Likewise.
11925 (FUNC_mpc_c_f): Likewise.
11926 (FUNC_mpc_c_c): Likewise.
11927 (test_functions): Add fma. Update calls to FUNC.
11928 (handle_input_arg): Add argument exact_args.
11929 (add_test): Update call to handle_input_arg.
11930 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11931 (output_for_one_input_case): Update call to calc_generic_results.
11932 Recalculate exact zero results in each rounding mode.
11933
a4fb7861
JM
11934 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11935 non-negative before setting low bit.
11936 * math/auto-libm-test-in: Mark one asin test possibly having
11937 spurious underflow.
11938 * math/auto-libm-test-out: Regenerated.
11939 * sysdeps/i386/fpu/libm-test-ulps: Update.
11940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11941
ef114eaf
DH
119422014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11943
2b7f4f2c
SP
11944 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11945 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11946 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11947 * README: Add missing listing for microblaze*-*-linux-gnu.
11948
8125aedc
AM
119492014-02-16 Ondřej Bílka <neleai@seznam.cz>
11950
11951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11952 duplicate code
11953
c70a4b1d
MF
119542014-02-16 Mike Frysinger <vapier@gentoo.org>
11955
11956 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11957 * sysdeps/unix/sysv/linux/ia64: Move directory from
11958 ports/sysdeps/unix/sysv/linux/ia64.
11959 * README: Update listing for ia64-*-linux-gnu.
11960
591aeaf7
TD
119612014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11962 Joseph Myers <joseph@codesourcery.com>
11963
11964 * Makeconfig (test-name): New variable.
11965 (evaluate-test): Likewise.
11966 * Makerules (do-test-clean): Remove .test-result files.
11967 (common-mostlyclean): Likewise.
11968 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11969 * scripts/evaluate-test.sh: New file.
11970
6e89caf1
JM
119712014-02-14 Joseph Myers <joseph@codesourcery.com>
11972
7f98f180
JM
11973 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11974 separate $(objpfx)tst-fopenloc-cmp.out and
11975 $(objpfx)tst-fopenloc-mem.out targets.
11976 (tests): Update dependencies.
11977 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11978 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11979 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11980 (tst-rxspencer-no-utf8-ARGS): New variable.
11981 (tst-rxspencer-no-utf8-ENV): Likewise.
11982 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11983 instead of $(objpfx)tst-rxspencer-mem.
11984 ($(objpfx)tst-rxspencer-mem): Change target to
11985 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11986 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11987 * posix/tst-rxspencer-no-utf8.c: New file.
11988
6e89caf1
JM
11989 * elf/Makefile ($(objpfx)order.out): Remove rule.
11990 [$(run-built-tests) = yes] (tests): Depend on
11991 $(objpfx)order-cmp.out.
11992 ($(objpfx)order-cmp.out): New rule.
11993 [$(run-built-tests) = yes] (tests): Depend on
11994 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11995 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11996 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11997 $(objpfx)tst-array5-static-cmp.out.
11998 ($(objpfx)tst-array1.out): Remove rule.
11999 ($(objpfx)tst-array1-cmp.out): New rule.
12000 ($(objpfx)tst-array1-static.out): Remove rule.
12001 ($(objpfx)tst-array1-static-cmp.out): New rule.
12002 ($(objpfx)tst-array2.out): Remove rule.
12003 ($(objpfx)tst-array2-cmp.out): New rule.
12004 ($(objpfx)tst-array3.out): Remove rule.
12005 ($(objpfx)tst-array3-cmp.out): New rule.
12006 ($(objpfx)tst-array4.out): Remove rule.
12007 ($(objpfx)tst-array4-cmp.out): New rule.
12008 ($(objpfx)tst-array5.out): Remove rule.
12009 ($(objpfx)tst-array5-cmp.out): New rule.
12010 ($(objpfx)tst-array5-static.out): Remove rule.
12011 ($(objpfx)tst-array5-static-cmp.out): New rule.
12012 [$(run-built-tests) = yes] (tests): Depend on
12013 $(objpfx)order2-cmp.out.
12014 ($(objpfx)order2.out): Remove rule.
12015 ($(objpfx)order2-cmp.out): New rule.
12016 ($(objpfx)tst-initorder.out): Remove rule.
12017 [$(run-built-tests) = yes] (tests): Depend on
12018 $(objpfx)tst-initorder-cmp.out.
12019 ($(objpfx)tst-initorder-cmp.out): New rule.
12020 ($(objpfx)tst-initorder2.out): Remove rule.
12021 [$(run-built-tests) = yes] (tests): Depend on
12022 $(objpfx)tst-initorder2-cmp.out.
12023 ($(objpfx)tst-initorder2-cmp.out): New rule.
12024 [$(run-built-tests) = yes] (tests): Depend on
12025 $(objpfx)tst-unused-dep-cmp.out.
12026 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12027 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12028 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12029 on $(objpfx)tst-setvbuf1-cmp.out.
12030 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12031 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12032 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12033 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12034 ($(objpfx)tst-svc.out): Remove rule.
12035 ($(objpfx)tst-svc-cmp.out): New rule.
12036
ed9a38e2
JM
120372014-02-13 Joseph Myers <joseph@codesourcery.com>
12038
12039 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12040 * ctype/ctype.h [__USE_MISC]: Likewise.
12041 * dirent/dirent.h [__USE_MISC]: Likewise.
12042 * grp/grp.h [__USE_MISC]: Likewise.
12043 * io/fcntl.h [__USE_MISC]: Likewise.
12044 * io/sys/stat.h [__USE_MISC]: Likewise.
12045 * libio/stdio.h [__USE_MISC]: Likewise.
12046 * posix/unistd.h [__USE_MISC]: Likewise.
12047 * pwd/pwd.h [__USE_MISC]: Likewise.
12048 * stdlib.h [__USE_MISC]: Likewise.
12049 * string/bits/string2.h [__USE_MISC]: Likewise.
12050 * string/string.h [__USE_MISC]: Likewise.
12051 * time/time.h [__USE_MISC]: Likewise.
12052
d6680619
AS
120532014-02-13 Andreas Schwab <schwab@suse.de>
12054
12055 [BZ #16574]
12056 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12057 second answer buffer if it was separately allocated.
12058
ace614b8
JM
120592014-02-12 Joseph Myers <joseph@codesourcery.com>
12060
743151ae
JM
12061 * sysdeps/mips/math-tests.h: Include <features.h>.
12062 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12063 (ROUNDING_TESTS_long_double): Do not define.
12064 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12065 (EXCEPTION_TESTS_long_double): Likewise.
12066 * sysdeps/mips/mips64/libm-test-ulps: Update.
12067
498afc54
JM
12068 * include/features.h (__USE_BSD): Remove macro definitions.
12069 (__USE_SVID): Likewise.
12070 (_BSD_SOURCE): Likewise.
12071 (_SVID_SOURCE): Likewise.
12072 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12073 from definition of _DEFAULT_SOURCE.
12074 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12075 [_DEFAULT_SOURCE].
12076 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12077 * bits/mman.h [__USE_BSD]: Likewise.
12078 * bits/termios.h [__USE_BSD]: Likewise.
12079 * bits/waitstatus.h [__USE_BSD]: Likewise.
12080 * ctype/ctype.h [__USE_SVID]: Likewise.
12081 * dirent/dirent.h [__USE_BSD]: Likewise.
12082 * grp/grp.h [__USE_SVID]: Likewise.
12083 [__USE_BSD]: Likewise.
12084 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12085 * io/fcntl.h [__USE_BSD]: Likewise.
12086 * io/ftw.h [__USE_BSD]: Likewise.
12087 * io/sys/stat.h [__USE_BSD]: Likewise.
12088 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12089 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12090 * libio/stdio.h [__USE_SVID]: Likewise.
12091 [__USE_BSD]: Likewise.
12092 * math/math.h [__USE_SVID]: Likewise.
12093 [__USE_BSD]: Likewise.
12094 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12095 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12096 * misc/search.h [__USE_SVID]: Likewise.
12097 * misc/sys/mman.h [__USE_BSD]: Likewise.
12098 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12099 * misc/sys/uio.h [__USE_BSD]: Likewise.
12100 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12101 * posix/glob.h [__USE_BSD]: Likewise.
12102 * posix/regex.h [__USE_BSD]: Likewise.
12103 * posix/sys/types.h [__USE_BSD]: Likewise.
12104 [__USE_SVID]: Likewise.
12105 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12106 * posix/sys/wait.h [__USE_BSD]: Likewise.
12107 [__USE_SVID]: Likewise.
12108 * posix/unistd.h [__USE_BSD]: Likewise.
12109 [__USE_SVID]: Likewise.
12110 * pwd/pwd.h [__USE_SVID]: Likewise.
12111 * resolv/netdb.h [__USE_BSD]: Likewise.
12112 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12113 * signal/signal.h [__USE_BSD]: Likewise.
12114 [__USE_SVID]: Likewise.
12115 * socket/sys/socket.h [__USE_BSD]: Likewise.
12116 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12117 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12118 [__USE_SVID]: Likewise.
12119 * string/bits/string2.h [__USE_BSD]: Likewise.
12120 [__USE_SVID]: Likewise.
12121 * string/bits/string3.h [__USE_BSD]: Likewise.
12122 * string/endian.h [__USE_BSD]: Likewise.
12123 * string/string.h [__USE_SVID]: Likewise.
12124 [__USE_BSD]: Likewise.
12125 * string/strings.h [__USE_BSD]: Likewise.
12126 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12127 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12128 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12129 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12130 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12131 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12132 Likewise.
12133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12134 Likewise.
12135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12136 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12137 Likewise.
12138 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12139 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12140 Likewise.
12141 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12142 Likewise.
12143 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12144 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12145 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12146 Likewise.
12147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12148 Likewise.
12149 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12150 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12151 * termios/termios.h [__USE_BSD]: Likewise.
12152 * time/sys/time.h [__USE_BSD]: Likewise.
12153 * time/time.h [__USE_BSD]: Likewise.
12154 [__USE_SVID]: Likewise.
12155
dd7b064c
JM
12156 * Makefile (subdir_targets): Remove subdir_lint.out.
12157
a2c4c199
JM
12158 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12159 (do-tst-printf): Likewise.
12160 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12161 $(objpfx)tst-printf.out.
12162
8756f740
JM
12163 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12164
1b6dd3f1
JM
12165 * Makerules (check-abi-%): Change target to
12166 $(objpfx)check-abi-%.out.
12167 (check-abi target): Update dependencies.
12168 (check-abi-pattern variable): Redirect output of diff to $@.
12169 (check-abi variable): Likewise.
12170 * elf/Makefile (check-abi): Update dependencies.
12171
ace614b8
JM
12172 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12173 unused.
12174 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12175 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12176 subnormal range.
12177 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12178 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12179 value has largest subnormal exponent.
12180 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12181 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12182 * sysdeps/aarch64/soft-fp/sfp-machine.h
12183 (_FP_TININESS_AFTER_ROUNDING): New macro.
12184 * sysdeps/alpha/soft-fp/sfp-machine.h
12185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12186 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12187 Likewise.
12188 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12190 * sysdeps/mips/soft-fp/sfp-machine.h
12191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12192 * sysdeps/powerpc/soft-fp/sfp-machine.h
12193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12194 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12195 Likewise.
12196 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12198 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12200 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12201 Likewise.
12202
fbfdf9cb
DAS
122032014-02-12 Dylan Alex Simon <dylan@dylex.net>
12204
12205 [BZ #16545]
12206 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12207 model 1.
12208
68b7efaa
RH
122092014-02-12 Richard Henderson <rth@redhat.com>
12210
c70a4b1d 12211 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12212 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12213 * sysdeps/unix/sysv/linux/alpha: Move directory from
12214 ports/sysdeps/unix/sysv/linux/alpha.
12215 * README: Update listing for alpha-*-linux-gnu.
12216
cb4a2928
JM
122172014-02-11 Joseph Myers <joseph@codesourcery.com>
12218
c941736c
JM
12219 * include/features.h: Update comment documenting feature test
12220 macros.
12221 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12222 _DEFAULT_SOURCE.
12223 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12224 (_SVID_SOURCE): Likewise.
12225 (_DEFAULT_SOURCE): Update description of default features.
12226 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12227 with _GNU_SOURCE.
12228 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12229 (S_ISVTX): Likewise.
12230 * manual/math.texi (Mathematical Constants): Likewise.
12231 * manual/signal.texi (Interrupted Primitives): Likewise.
12232 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12233 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12234 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12235 Don't refer to _SVID_SOURCE in warning text.
12236
e8d8d7ec
JM
12237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12238
cb4a2928
JM
12239 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12240 already defined.
12241 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12242 * sysdeps/mips/dl-lookup.c: Remove.
12243 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12244
7e6424e3
AK
122452014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12246
12247 [BZ #16447]
12248 * math/auto-libm-test-in: Add testcase for expl.
12249 * math/auto-libm-test-out: Regenerate.
12250 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12251 calculation of unsafe.
12252 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12253
75eff3fe
MS
122542014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12255
12256 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12257 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12258 ports/sysdeps/unix/sysv/linux/aarch64.
12259 * README: Update listing for aarch64*-*-linux-gnu.
12260
d35f1e80
WN
122612014-02-11 Will Newton <will.newton@linaro.org>
12262
12263 * manual/probes.texi (Mathematical Function Probes): Use
12264 "triggered" instead of "hit".
12265
7b3436d4
WN
12266 * manual/probes.texi (Internal Probes): Add documentation
12267 of setjmp, longjmp and longjmp_target probes.
12268
b4f12ca3
WN
12269 * include/stap-probe.h: Add comment about probe argument
12270 format.
12271
c13a72b7
WN
12272 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12273 definition. (tr_where, tr_freehook, tr_mallochook,
12274 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12275
195b8165
DM
122762014-02-11 David S. Miller <davem@davemloft.net>
12277
12278 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12279 processing int_tests.
12280
2ad7600b
JM
122812014-02-10 Joseph Myers <joseph@codesourcery.com>
12282
12283 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12284 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12285 * sysdeps/unix/sysv/linux/mips: Move directory from
12286 ports/sysdeps/unix/sysv/linux/mips.
12287 * README: Update listing for mips-*-linux-gnu and
12288 mips64-*-linux-gnu.
12289
73588a72
AS
122902014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12291
12292 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12293 * sysdeps/unix/sysv/linux/m68k: Move directory from
12294 ports/sysdeps/unix/sysv/linux/m68k.
12295 * README: Update listing for m68k-*-linux-gnu.
12296
4372980f
CM
122972014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12298
12299 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12300 * sysdeps/unix/sysv/linux/generic: Move directory from
12301 ports/sysdeps/unix/sysv/linux/generic.
12302 * sysdeps/unix/sysv/linux/tile: Move directory from
12303 ports/sysdeps/unix/sysv/linux/tile.
12304 * README: Update listing for tile*-*-linux-gnu.
12305
a1ffb40e
OB
123062014-02-10 Ondřej Bílka <neleai@seznam.cz>
12307
57f41c40
AS
12308 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12309 __builtin_expect.
a1ffb40e
OB
12310 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12311 * catgets/open_catalog.c (__open_catalog): Likewise.
12312 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12313 * debug/confstr_chk.c: Likewise.
12314 * debug/fread_chk.c (__fread_chk): Likewise.
12315 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12316 * debug/getgroups_chk.c: Likewise.
12317 * debug/mbsnrtowcs_chk.c: Likewise.
12318 * debug/mbsrtowcs_chk.c: Likewise.
12319 * debug/mbstowcs_chk.c: Likewise.
12320 * debug/memcpy_chk.c: Likewise.
12321 * debug/memmove_chk.c: Likewise.
12322 * debug/mempcpy_chk.c: Likewise.
12323 * debug/memset_chk.c: Likewise.
12324 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12325 * debug/strcat_chk.c (__strcat_chk): Likewise.
12326 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12327 * debug/strncat_chk.c (__strncat_chk): Likewise.
12328 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12329 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12330 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12331 * debug/wcpncpy_chk.c: Likewise.
12332 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12333 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12334 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12335 * debug/wcsncpy_chk.c: Likewise.
12336 * debug/wcsnrtombs_chk.c: Likewise.
12337 * debug/wcsrtombs_chk.c: Likewise.
12338 * debug/wcstombs_chk.c: Likewise.
12339 * debug/wmemcpy_chk.c: Likewise.
12340 * debug/wmemmove_chk.c: Likewise.
12341 * debug/wmempcpy_chk.c: Likewise.
12342 * debug/wmemset_chk.c: Likewise.
12343 * dirent/scandirat.c (SCANDIRAT): Likewise.
12344 * dlfcn/dladdr1.c (dladdr1): Likewise.
12345 * dlfcn/dladdr.c (dladdr): Likewise.
12346 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12347 * dlfcn/dlerror.c (__dlerror): Likewise.
12348 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12349 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12350 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12351 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12352 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12353 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12354 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12355 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12356 Likewise.
12357 * elf/dl-conflict.c: Likewise.
12358 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12359 * elf/dl-dst.h: Likewise.
12360 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12361 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12362 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12363 * elf/dl-init.c (call_init, _dl_init): Likewise.
12364 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12365 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12366 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12367 Likewise.
a1ffb40e
OB
12368 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12369 Likewise.
12370 * elf/dl-minimal.c (__libc_memalign): Likewise.
12371 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12372 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12373 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12374 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12375 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12376 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12377 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12378 * elf/dl-writev.h (_dl_writev): Likewise.
12379 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12380 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12381 (dl_main): Likewise.
a1ffb40e
OB
12382 * elf/setup-vdso.h (setup_vdso): Likewise.
12383 * grp/compat-initgroups.c (compat_call): Likewise.
12384 * grp/fgetgrent.c (fgetgrent): Likewise.
12385 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12386 * grp/putgrent.c (putgrent): Likewise.
12387 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12388 Likewise.
12389 * hurd/hurdinit.c: Likewise.
12390 * iconvdata/8bit-gap.c (struct): Likewise.
12391 * iconvdata/ansi_x3.110.c : Likewise.
12392 * iconvdata/big5.c : Likewise.
12393 * iconvdata/big5hkscs.c : Likewise.
12394 * iconvdata/cp1255.c: Likewise.
12395 * iconvdata/cp1258.c : Likewise.
12396 * iconvdata/cp932.c : Likewise.
12397 * iconvdata/euc-cn.c: Likewise.
12398 * iconvdata/euc-jisx0213.c : Likewise.
12399 * iconvdata/euc-jp.c: Likewise.
12400 * iconvdata/euc-jp-ms.c : Likewise.
12401 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12402 * iconvdata/gb18030.c : Likewise.
12403 * iconvdata/gbbig5.c (const): Likewise.
12404 * iconvdata/gbgbk.c: Likewise.
12405 * iconvdata/gbk.c : Likewise.
12406 * iconvdata/ibm1364.c : Likewise.
12407 * iconvdata/ibm930.c : Likewise.
12408 * iconvdata/ibm932.c: Likewise.
12409 * iconvdata/ibm933.c : Likewise.
12410 * iconvdata/ibm935.c : Likewise.
12411 * iconvdata/ibm937.c : Likewise.
12412 * iconvdata/ibm939.c : Likewise.
12413 * iconvdata/ibm943.c: Likewise.
12414 * iconvdata/iso_11548-1.c: Likewise.
12415 * iconvdata/iso-2022-cn.c : Likewise.
12416 * iconvdata/iso-2022-cn-ext.c : Likewise.
12417 * iconvdata/iso-2022-jp-3.c: Likewise.
12418 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12419 * iconvdata/iso-2022-kr.c : Likewise.
12420 * iconvdata/iso646.c (gconv_end): Likewise.
12421 * iconvdata/iso_6937-2.c : Likewise.
12422 * iconvdata/iso_6937.c : Likewise.
12423 * iconvdata/iso8859-1.c: Likewise.
12424 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12425 * iconvdata/shift_jisx0213.c : Likewise.
12426 * iconvdata/sjis.c : Likewise.
12427 * iconvdata/t.61.c : Likewise.
12428 * iconvdata/tcvn5712-1.c : Likewise.
12429 * iconvdata/tscii.c: Likewise.
12430 * iconvdata/uhc.c : Likewise.
12431 * iconvdata/unicode.c (gconv_end): Likewise.
12432 * iconvdata/utf-16.c (gconv_end): Likewise.
12433 * iconvdata/utf-32.c (gconv_end): Likewise.
12434 * iconvdata/utf-7.c (base64): Likewise.
12435 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12436 * iconv/gconv_close.c (__gconv_close): Likewise.
12437 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12438 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12439 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12440 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12441 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12442 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12443 * iconv/iconv.c (iconv): Likewise.
12444 * iconv/iconv_close.c: Likewise.
12445 * iconv/loop.c (SINGLE): Likewise.
12446 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12447 * include/atomic.h: Likewise.
12448 * inet/inet6_option.c (option_alloc): Likewise.
12449 * intl/bindtextdom.c (set_binding_values): Likewise.
12450 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12451 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12452 * intl/localealias.c (read_alias_file): Likewise.
12453 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12454 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12455 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12456 * libio/fmemopen.c (fmemopen): Likewise.
12457 * libio/iofgets.c (_IO_fgets): Likewise.
12458 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12459 * libio/iofgetws.c (fgetws): Likewise.
12460 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12461 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12462 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12463 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12464 * locale/findlocale.c (_nl_find_locale): Likewise.
12465 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12466 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12467 Likewise.
12468 * locale/setlocale.c (setlocale): Likewise.
12469 * login/programs/pt_chown.c (main): Likewise.
12470 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12471 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12472 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12473 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12474 * math/e_exp2l.c: Likewise.
12475 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12476 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12477 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12478 * math/s_catan.c (__catan): Likewise.
12479 * math/s_catanf.c (__catanf): Likewise.
12480 * math/s_catanh.c (__catanh): Likewise.
12481 * math/s_catanhf.c (__catanhf): Likewise.
12482 * math/s_catanhl.c (__catanhl): Likewise.
12483 * math/s_catanl.c (__catanl): Likewise.
12484 * math/s_ccosh.c (__ccosh): Likewise.
12485 * math/s_ccoshf.c (__ccoshf): Likewise.
12486 * math/s_ccoshl.c (__ccoshl): Likewise.
12487 * math/s_cexp.c (__cexp): Likewise.
12488 * math/s_cexpf.c (__cexpf): Likewise.
12489 * math/s_cexpl.c (__cexpl): Likewise.
12490 * math/s_clog10.c (__clog10): Likewise.
12491 * math/s_clog10f.c (__clog10f): Likewise.
12492 * math/s_clog10l.c (__clog10l): Likewise.
12493 * math/s_clog.c (__clog): Likewise.
12494 * math/s_clogf.c (__clogf): Likewise.
12495 * math/s_clogl.c (__clogl): Likewise.
12496 * math/s_csin.c (__csin): Likewise.
12497 * math/s_csinf.c (__csinf): Likewise.
12498 * math/s_csinh.c (__csinh): Likewise.
12499 * math/s_csinhf.c (__csinhf): Likewise.
12500 * math/s_csinhl.c (__csinhl): Likewise.
12501 * math/s_csinl.c (__csinl): Likewise.
12502 * math/s_csqrt.c (__csqrt): Likewise.
12503 * math/s_csqrtf.c (__csqrtf): Likewise.
12504 * math/s_csqrtl.c (__csqrtl): Likewise.
12505 * math/s_ctan.c (__ctan): Likewise.
12506 * math/s_ctanf.c (__ctanf): Likewise.
12507 * math/s_ctanh.c (__ctanh): Likewise.
12508 * math/s_ctanhf.c (__ctanhf): Likewise.
12509 * math/s_ctanhl.c (__ctanhl): Likewise.
12510 * math/s_ctanl.c (__ctanl): Likewise.
12511 * math/w_pow.c: Likewise.
12512 * math/w_powf.c: Likewise.
12513 * math/w_powl.c: Likewise.
12514 * math/w_scalb.c (sysv_scalb): Likewise.
12515 * math/w_scalbf.c (sysv_scalbf): Likewise.
12516 * math/w_scalbl.c (sysv_scalbl): Likewise.
12517 * misc/error.c (error_tail): Likewise.
12518 * misc/pselect.c (__pselect): Likewise.
12519 * nis/nis_callback.c (__nis_create_callback): Likewise.
12520 * nis/nis_call.c (__nisfind_server): Likewise.
12521 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12522 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12523 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12524 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12525 * nis/nis_lookup.c (nis_lookup): Likewise.
12526 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12527 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12528 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12529 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12530 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12531 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12532 * nis/nss_compat/compat-initgroups.c (add_group)
12533 (internal_getgrent_r): Likewise.
12534 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12535 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12536 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12537 (internal_getspnam_r): Likewise.
12538 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12539 (_nss_nis_getaliasbyname_r): Likewise.
12540 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12541 (_nss_nis_getntohost_r): Likewise.
12542 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12543 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12544 (_nss_nis_getgrgid_r): Likewise.
12545 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12546 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12547 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12548 (_nss_nis_gethostbyname4_r): Likewise.
12549 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12550 (initgroups_netid): Likewise.
a1ffb40e 12551 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12552 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12553 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12554 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12555 (_nss_nis_getprotobynumber_r): Likewise.
12556 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12557 (_nss_nis_getsecretkey): Likewise.
12558 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12559 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12560 (_nss_nis_getpwuid_r): Likewise.
12561 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12562 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12563 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12564 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12565 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12566 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12567 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12568 Likewise.
57f41c40
AS
12569 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12570 (_nss_nisplus_getntohost_r): Likewise.
12571 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12572 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12573 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12574 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12575 Likewise.
57f41c40
AS
12576 * nis/nss_nisplus/nisplus-initgroups.c
12577 (_nss_nisplus_initgroups_dyn): Likewise.
12578 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12579 (_nss_nisplus_getnetbyaddr_r): Likewise.
12580 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12581 (_nss_nisplus_getprotobynumber_r): Likewise.
12582 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12583 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12584 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12585 Likewise.
57f41c40
AS
12586 * nis/nss_nisplus/nisplus-service.c
12587 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12588 (_nss_nisplus_getservbyport_r): Likewise.
12589 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12590 (_nss_nisplus_getspnam_r): Likewise.
12591 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12592 Likewise.
a1ffb40e
OB
12593 * nscd/aicache.c (addhstaiX): Likewise.
12594 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12595 * nscd/connections.c (register_traced_file, send_ro_fd)
12596 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12597 (main_loop_epoll): Likewise.
a1ffb40e
OB
12598 * nscd/grpcache.c (addgrbyX): Likewise.
12599 * nscd/hstcache.c (addhstbyX): Likewise.
12600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12601 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12602 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12603 (addinnetgrX): Likewise.
12604 * nscd/nscd-client.h (__nscd_acquire_maplock)
12605 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12606 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12607 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12608 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12609 Likewise.
12610 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12611 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12612 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12613 (__nscd_get_map_ref): Likewise.
a1ffb40e 12614 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12615 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12616 Likewise.
a1ffb40e
OB
12617 * nscd/pwdcache.c (addpwbyX): Likewise.
12618 * nscd/selinux.c (preserve_capabilities): Likewise.
12619 * nscd/servicescache.c (addservbyX): Likewise.
12620 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12621 * posix/fnmatch.c (fnmatch): Likewise.
12622 * posix/getopt.c (_getopt_internal_r): Likewise.
12623 * posix/glob.c (glob, glob_in_dir): Likewise.
12624 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12625 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12626 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12627 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12628 * resolv/res_init.c: Likewise.
12629 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12630 * resolv/res_query.c (__libc_res_nquery): Likewise.
12631 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12632 Likewise.
12633 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12634 * stdio-common/perror.c (perror): Likewise.
12635 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12636 * stdio-common/tmpnam.c (tmpnam): Likewise.
12637 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12638 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12639 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12640 Likewise.
a1ffb40e
OB
12641 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12642 * stdlib/putenv.c (putenv): Likewise.
12643 * stdlib/setenv.c (__add_to_environ): Likewise.
12644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12645 * stdlib/strtol_l.c (INTERNAL): Likewise.
12646 * string/memmem.c (memmem): Likewise.
12647 * string/strerror.c (strerror): Likewise.
12648 * string/strnlen.c (__strnlen): Likewise.
12649 * string/test-memmem.c (simple_memmem): Likewise.
12650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12651 * sunrpc/pm_getport.c (__get_socket): Likewise.
12652 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12653 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12654 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12655 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12656 Likewise.
12657 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12659 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12660 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12662 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12663 Likewise.
12664 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12665 Likewise.
a1ffb40e
OB
12666 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12667 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12668 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12669 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12670 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12672 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12673 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12674 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12675 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12677 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12678 Likewise.
12679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12680 Likewise.
12681 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12682 Likewise.
12683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12687 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12688 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12689 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12698 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12699 Likewise.
a1ffb40e
OB
12700 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12701 Likewise.
12702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12703 Likewise.
12704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12705 Likewise.
12706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12708 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12709 Likewise.
12710 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12711 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12712 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12713 * sysdeps/posix/sleep.c: Likewise.
12714 * sysdeps/posix/tempname.c: Likewise.
12715 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12716 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12717 Likewise.
57f41c40
AS
12718 * sysdeps/powerpc/powerpc32/dl-machine.h
12719 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12720 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12722 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12724 Likewise.
12725 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12727 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12729 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12730 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12731 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12732 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12734 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12736 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12737 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12739 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12740 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12741 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12742 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12743 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12744 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12745 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12746 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12748 Likewise.
12749 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12750 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12751 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12752 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12753 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12755 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12756 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12757 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12758 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12759 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12760 Likewise.
12761 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12762 (__posix_fallocate64_l64): Likewise.
12763 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12764 (posix_fallocate): Likewise.
57f41c40
AS
12765 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12766 Likewise.
a1ffb40e 12767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12768 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12769 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12770 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12771 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12772 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12773 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12774 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12775 (__posix_fallocate64_l64): Likewise.
12776 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12777 Likewise.
12778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12780 (__get_clockfreq): Likewise.
a1ffb40e
OB
12781 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12782 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12783 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12786 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12787 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12788 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12789 Likewise.
12790 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12791 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12792 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12793 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12795 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12796 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12797 Likewise.
12798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12799 (posix_fallocate): Likewise.
12800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12801 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12802 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12803 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12804 (elf_machine_rela, elf_machine_rela_relative)
12805 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12806 * time/asctime.c (asctime_internal): Likewise.
12807 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12808 * time/tzset.c (__tzset_parse_tz): Likewise.
12809 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12810 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12811 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12812 * wcsmbs/wcsmbsload.h: Likewise.
12813
f3d338c9
OB
12814 [BZ #15894]
12815 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12816
57f41c40
AS
12817 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12818 (arena_get2): Remove THREAD_STATS conditionals.
12819 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12820 (__malloc_stats, int): Likewise.
bdfe308a 12821
d674667c
MF
128222014-02-08 Mike Frysinger <vapier@gentoo.org>
12823
12824 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12825 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12826
6349768c
MF
12827 * manual/setjmp.texi: Fix typos/grammar errors.
12828
0b7c7473
MF
12829 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12830 Only return early when n is <= 0. Delete unused return statement.
12831
ac8cc9e3
MF
12832 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12833 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12834 * debug/tst-longjmp_chk3.c: New file.
12835
c5bb8e23
MF
12836 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12837 (test_main): Replace code with set_fortify_handler call.
12838 * debug/test-strcpy_chk.c: Likewise.
12839 * debug/tst-chk1.c: Likewise.
12840 * debug/tst-longjmp_chk.c: Likewise.
12841 * test-skeleton.c: Include fcntl.h & paths.h
12842 (set_fortify_handler): Define.
12843
10444e42
MF
12844 * debug/tst-longjmp_chk.c: Add header comment and include
12845 ../test-skeleton.c.
12846 (do_test): Mark static.
12847 (TEST_FUNCTION): Define.
12848
1e805e8d
MF
12849 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12850 (IP_PMTUDISC_INTERFACE): Likewise.
12851 (IP_MULTICAST_IF): Likewise.
12852 (IP_MULTICAST_TTL): Likewise.
12853 (IP_MULTICAST_LOOP): Likewise.
12854 (IP_ADD_MEMBERSHIP): Likewise.
12855 (IP_DROP_MEMBERSHIP): Likewise.
12856 (IP_UNBLOCK_SOURCE): Likewise.
12857 (IP_BLOCK_SOURCE): Likewise.
12858 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12859 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12860 (IP_MSFILTER): Likewise.
12861 (MCAST_JOIN_GROUP): Likewise.
12862 (MCAST_BLOCK_SOURCE): Likewise.
12863 (MCAST_UNBLOCK_SOURCE): Likewise.
12864 (MCAST_LEAVE_GROUP): Likewise.
12865 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12866 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12867 (MCAST_MSFILTER): Likewise.
12868 (IP_MULTICAST_ALL): Likewise.
12869 (IP_UNICAST_IF): Likewise.
12870
73f79bb7
MF
12871 * timezone/Makefile: Delete $(have-ksh) check.
12872 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12873 * timezone/tzselect.ksh: Add +x mode bits.
12874
8da79b60
MF
12875 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12876 (ANON_INODE_FS_MAGIC): Likewise.
12877 (BDEVFS_MAGIC): Likewise.
12878 (BINFMTFS_MAGIC): Likewise.
12879 (BTRFS_TEST_MAGIC): Likewise.
12880 (CRAMFS_MAGIC_WEND): Likewise.
12881 (DEBUGFS_MAGIC): Likewise.
12882 (ECRYPTFS_SUPER_MAGIC): Likewise.
12883 (EXT3_SUPER_MAGIC): Likewise.
12884 (EXT4_SUPER_MAGIC): Likewise.
12885 (FUTEXFS_SUPER_MAGIC): Likewise.
12886 (HOSTFS_SUPER_MAGIC): Likewise.
12887 (HUGETLBFS_MAGIC): Likewise.
12888 (MINIX3_SUPER_MAGIC): Likewise.
12889 (MTD_INODE_FS_MAGIC): Likewise.
12890 (NILFS_SUPER_MAGIC): Likewise.
12891 (OPENPROM_SUPER_MAGIC): Likewise.
12892 (PIPEFS_MAGIC): Likewise.
12893 (PSTOREFS_MAGIC): Likewise.
12894 (QNX6_SUPER_MAGIC): Likewise.
12895 (RAMFS_MAGIC): Likewise.
12896 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12897 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12898 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12899 (SECURITYFS_MAGIC): Likewise.
12900 (SELINUX_MAGIC): Likewise.
12901 (SMACK_MAGIC): Likewise.
12902 (SOCKFS_MAGIC): Likewise.
12903 (SQUASHFS_MAGIC): Likewise.
12904 (STACK_END_MAGIC): Likewise.
12905 (TMPFS_MAGIC): Likewise.
12906 (USBDEVICE_SUPER_MAGIC): Likewise.
12907 (V9FS_MAGIC): Likewise.
12908 (XENFS_SUPER_MAGIC): Likewise.
12909 (CRAMFS_MAGIC): Fix typo in comment.
12910 (EXT2_SUPER_MAGIC): Update comment.
12911 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12912
464263cc
JM
129132014-02-08 Joseph Myers <joseph@codesourcery.com>
12914
c6bfe5c4
JM
12915 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12916 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12917 * sysdeps/unix/sysv/linux/arm: Move directory from
12918 ports/sysdeps/unix/sysv/linux/arm.
12919 * README: Update listing for arm-*-linux-gnueabi.
12920
464263cc
JM
12921 * README: Remove mention of am33.
12922
32749f6c
RM
129232014-02-07 Roland McGrath <roland@hack.frob.com>
12924
12925 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12926 than the comma operator, to avoid "rhs of comma has no effect"
12927 compiler warnings.
12928 (__sigfillset, __sigandset, __sigorset): Likewise.
12929 * include/signal.h (__sigemptyset): Likewise.
12930 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12931
d5b396c1
AM
129322014-02-07 Allan McRae <allan@archlinux.org>
12933
12934 * version.h (RELEASE): Set to "development".
12935 (VERSION): Set to "2.19.90"
12936 * NEWS: Add 2.20 section.
12937
3bfff2ed
CD
129382014-02-06 Carlos O'Donell <carlos@redhat.com>
12939
12940 [BZ #16529]
12941 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12942
ee7cc385
SP
129432014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12944
12945 * manual/contrib.texi: Update entry for Carlos O'Donell,
12946 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12947
f877c4f2
CD
129482014-02-05 Carlos O'Donell <carlos@rehdat.com>
12949
27e839f6
CD
12950 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12951
f877c4f2
CD
12952 * sysdeps/unix/sysv/linux/kernel-features.h
12953 [__LINUX_KERNEL_VERSION >= 0x020621]
12954 (__ASSUME_PROC_PID_TASK_COMM): Define.
12955
68159946
SP
129562014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12957
ba17cdbd
SP
12958 [BZ #16398]
12959 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12960 conversion when destination buffer does not have enough space.
12961 * libio/tst-ftell-partial-wide.c: New test case.
12962 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12963
68159946
SP
12964 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12965 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12966 Leonard and Allan McRae.
12967
2b528732
DM
129682014-02-04 David S. Miller <davem@davemloft.net>
12969
12970 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12971 32-bit.
12972
0ff82463
AZ
129732014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12974
57f41c40
AS
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12976 New file
c01603f7
AZ
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12978 New file
57f41c40
AS
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12980 New file.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12982 New file.
c01603f7
AZ
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12984 New file.
57f41c40
AS
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12986 New file.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12988 New file.
c01603f7
AZ
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12990 New file.
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12992 New file.
12993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12994 New file.
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12996 New file.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12998 New file.
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13000 New file.
13001
130022014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13003
0ff82463
AZ
13004 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13005 * shlib-versions: Likewise.
13006
1695c773
AZ
130072014-02-04 Roland McGrath <roland@hack.frob.com>
13008 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13009
13010 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13011 (abilist-pattern): New variable, set to %-le.abilist.
13012
13013 * Makerules (abilist-pattern): New variable.
13014 (vpath): Use $(abilist-pattern) in place of %.abilist.
13015 (check-abi-% pattern rule): Likewise.
13016 (check-abi, update-abi): Likewise.
13017
6c0ce4b4
EW
130182014-02-04 Eric Wong <normalperson@yhbt.net>
13019
13020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13021
481e3524
CD
130222014-02-03 Carlos O'Donell <carlos@redhat.com>
13023
13024 * manual/startup.texi: Add next, previous, and top entries for
13025 the `Program Arguments' and `Environment Variables' nodes.
13026
375592d3
AO
130272014-02-03 Alexandre Oliva <aoliva@redhat.com>
13028
13029 * manual/macros.texi: Add comments before MTASC-safety macros.
13030
f54838ba
AO
13031 * manual/users.texi: Document MTASC-safety properties.
13032
57f41c40
AS
13033 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13034 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13035 @deftypefun, and add @safety note.
13036 * manual/signal.texi: Move comments that analyze the above
13037 functions to their home place.
13038
fd3daba4
AM
130392014-02-03 Allan McRae <allan@archlinux.org>
13040
13041 * po/sl.po: Update Slovenian translation from translation project.
13042
597636d7
AO
130432014-02-02 Alexandre Oliva <aoliva@redhat.com>
13044
13045 * manual/time.texi (timegm): Add missing blank after @c.
13046 Reported by Joseph Myers <joseph@codesourcery.com>.
13047
ee196e3c
AO
130482014-02-01 Alexandre Oliva <aoliva@redhat.com>
13049
13050 * manual/check-safety.sh: New.
13051 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13052
f8d529d5
AO
13053 * manual/terminal.texi: Document MTASC-safety properties.
13054
de55fdf4
AO
13055 * manual/filesys.texi: Document MTASC-safety properties.
13056
c3299c08
AO
13057 * manual/errno.texi: Document MTASC-safety properties.
13058
06e90b14
AO
13059 * manual/intro.texi: Document safety identifiers and
13060 conditionals.
13061
1acd4371
AO
13062 * manual/string.texi (wcstok): Fix prototype.
13063 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13064
23e5b8cb
AO
13065 * manual/time.texi: Document MTASC-safety properties.
13066
11087373
AO
13067 * manual/string.texi: Document MTASC-safety properties.
13068
5da2c93d
AO
13069 * manual/threads.texi: Document MTASC-safety properties.
13070
171e9210
AO
13071 * manual/stdio.texi: Document MTASC-safety properties.
13072
d9e02532
AO
13073 * manual/syslog.texi: Document MTASC-safety properties.
13074
6af8bab7
AO
13075 * manual/sysinfo.texi: Document MTASC-safety properties.
13076
663b02d7
AO
13077 * manual/startup.texi: Document MTASC-safety properties.
13078
973f180b
AO
13079 * manual/socket.texi: Document MTASC-safety properties.
13080
8f3c25c8
AO
13081 * manual/signal.texi: Document MTASC-safety properties.
13082
542210fb
AO
130832014-01-31 Alexandre Oliva <aoliva@redhat.com>
13084
13085 * manual/setjmp.texi: Document MTASC-safety properties.
13086
433c45a2
AO
13087 * manual/search.texi: Document MTASC-safety properties.
13088
c8ce789c
AO
13089 * manual/resource.texi: Document MTASC-safety properties.
13090
19f5d29c
AO
13091 * manual/process.texi: Document MTASC-safety properties.
13092
e2dfb7f4
AO
13093 * manual/platform.texi: Document MTASC-safety properties.
13094
8c1413f5
AO
13095 * manual/pipe.texi: Document MTASC-safety properties.
13096
03483ada
AO
13097 * manual/pattern.texi: Document MTASC-safety properties.
13098
29e7e2df
AO
13099 * manual/message.texi: Document MTASC-safety properties.
13100
9f529d7c
AO
13101 [BZ #12751]
13102 * manual/memory.texi: Document MTASC-safety properties.
13103
27aaa791
AO
13104 * manual/math.texi: Document MTASC-safety properties.
13105
f2d58726
AO
13106 * manual/locale.texi: Document MTASC-safety properties.
13107
2cc3615c
AO
13108 * manual/llio.texi: Document MTASC-safety properties.
13109
d9f0ec97
AO
13110 * manual/libdl.texi: New.
13111
e7c4409a
AO
13112 * manual/lang.texi: Document MTASC-safety properties.
13113
27bdc63c
AO
13114 * manual/job.texi: Document MTASC-safety properties.
13115
a7b90ea9
AO
13116 * manual/getopt.texi: Document MTASC-safety properties.
13117
c49130e3
AO
13118 * manual/ctype.texi: Document MTASC-safety properties.
13119
0d23a5c1
MR
131202014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13121
13122 [BZ #16046]
13123 * csu/libc-tls.c (static_map): Remove variable.
13124 (__libc_setup_tls): Use main executable's link map for TLS data.
13125 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13126 casing for LM_ID_BASE and GL(dl_nns).
13127 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13128 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13129 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13130 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13131 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13132 member.
13133 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13134 l_phnum members.
13135
0037bb60
AO
131362014-01-30 Alexandre Oliva <aoliva@redhat.com>
13137
13138 * manual/debug.texi: Document MTASC-safety properties.
13139
409e00bd
L
131402014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 [BZ #16510]
13143 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13144 of __x86_64__ when disabling x87 inline functions.
13145
86e60666
AO
131462014-01-29 Alexandre Oliva <aoliva@redhat.com>
13147
13148 * manual/charset.texi: Document MTASC-safety properties.
13149
76167637
AO
13150 * manual/crypt.texi: Document MTASC-safety properties.
13151
e567f2a0
AO
13152 * manual/conf.texi: Document MTASC-safety properties.
13153
b719dafd
AO
13154 * manual/arith.texi: Document MTASC-safety properties.
13155
4a16c662
AO
13156 * manual/argp.texi: Document MTASC-safety properties.
13157
0a57b83e
AO
13158 * manual/macros.texi: Introduce macros to document multi
13159 thread, asynchronous signal and asynchronous cancellation
13160 safety properties.
13161 * manual/intro.texi: Introduce the properties themselves.
13162
feab2397
KK
131632014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13164
13165 * sysdeps/sh/sh4/Makefile: New file.
13166
1c0d11bc
AS
131672014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13168
13169 * math/gen-libm-test.pl ($srcdir): New variable.
13170 ($auto_input): Use it.
13171
af37a8a3
SP
131722014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13173
d7b00f98
SP
13174 [BZ #16506]
13175 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13176 access beyond array bounds when parsing netgroups file.
13177
af37a8a3
SP
13178 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13179 the old buffer before realloc.
13180
0c00f062
AM
131812014-01-27 Allan McRae <allan@archlinux.org>
13182
13183 * po/fr.po: Update French translation from translation project.
13184
7d69a1b0
KK
131852014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13186
13187 * sysdeps/sh/libm-test-ulps: Regenerate.
13188
6e697ff7
DM
131892014-01-24 David S. Miller <davem@davemloft.net>
13190
13191 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13192
9cadb35c
KK
131932014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13194
13195 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13196 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13197
5d41dadf
SP
131982013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13199
13200 [BZ #16474]
13201 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13202 string pointers after reallocation.
13203
0bad441c
KK
132042014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13205
13206 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13207 __SH4A__ instead of __SH_FPU_ANY__.
13208
7007c661
KK
132092014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13210
13211 * sysdeps/sh/fpu_control.h: New file.
13212 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13213 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13214 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13215 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13216 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13217 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13218 * sysdeps/sh/sys/ucontext.h: Remove.
13219 * sysdeps/sh/sys: Remove directory.
13220
0f0c35e4
AK
132212014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13222
13223 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13224 s390/sys/ucontext.h.
13225 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13227
4959e284
L
132282014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13229
13230 [BZ #15605]
13231 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13232
d98720e0
AZ
132332014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13234
13235 [BZ#16431]
13236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13237 Adjust the vDSO correctly for internal calls.
13238 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13239
91cbd0bc
AM
132402014-01-20 Allan McRae <allan@archlinux.org>
13241
13242 * po/ca.po: Update Catalan translation from translation project.
13243
7a02cfad
MF
132442014-01-16 Mike Frysinger <vapier@gentoo.org>
13245
13246 * sysdeps/s390/sotruss-lib.c: New file.
13247
736c304a
AZ
132482014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13249
13250 [BZ#16430]
6e077ee5 13251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13252 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13253 local calls issues by not having a PLT stub required for IFUNC calls.
13254 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13255
94d0cea0
JM
132562014-01-16 Joseph Myers <joseph@codesourcery.com>
13257
13258 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13259 * math/test-fpucw-static.c: Likewise.
13260
980cb518
SP
132612013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13262
13263 [BZ #16453]
13264 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13265
2393fc01
AZ
132662014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13267
13268 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13269 implementation for powerpc.
13270
d359bcc2
OB
132712014-01-15 Ondřej Bílka <neleai@seznam.cz>
13272
13273 [BZ #14782]
13274 * sysdeps/posix/system.c (__libc_system): Do not enable
13275 asynchronous cancellation.
13276
7beb48cb
AK
132772014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13278
13279 [BZ #16427]
13280 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13281 handling only for numbers special also in the IEEE case.
13282
c20d5bf5
AK
132832014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13284
13285 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13286
e83bd4ee
AM
132872014-01-11 Allan McRae <allan@archlinux.org>
13288
76d0ea69
AM
13289 * po/bg.po: Update Bulgarian translation from translation project.
13290
e83bd4ee
AM
13291 * po/de.po: Update German translation from translation project.
13292
bc2ba20a
RM
132932014-01-10 Roland McGrath <roland@hack.frob.com>
13294
13295 * sysdeps/generic/gcc-compat.h: New file.
13296
649ecea2
SP
132972014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13298
13299 * benchtests/asin-inputs: Correct slow inputs.
13300 * benchtests/acos-inputs: Likewise.
13301
1b19c006
AM
133022014-01-10 Allan McRae <allan@archlinux.org>
13303
a46dab08
AM
13304 * po:sv.po: Update Swedish translation from translation project.
13305
421df74a
AM
13306 * po/vi.po: Update Vietnamese translation from translation project.
13307
d61c51a7
AM
13308 * po/eo.po: Update Esperanto translation from translation project.
13309
0339a319
AM
13310 * po/cs.po: Update Czech translation from translation project.
13311
94ad3e99
AM
13312 * po/nl.po: Update Dutch translation from translation project.
13313
e349ca71
AM
13314 * po/pl.po: Update Polish translation from translation project.
13315
ddf930c1
AM
13316 * po/ru.po: Update Russian translation from translation project.
13317
1b19c006
AM
13318 * po/uk.po: Update Ukrainian translation from translation project.
13319
9f236c49
BM
133202014-01-08 Brooks Moses <bmoses@google.com>
13321
13322 * elf/dl-load.c: Fix comment typo.
13323
cd6701cf
CD
133242014-01-08 Carlos O'Donell <carlos@redhat.com>
13325
13326 * po/header.pot: Rename to...
13327 * po/pot.header: ... this.
13328 * po/Makefile: Use pot.header.
13329
66671c84
YK
133302014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13331 Maxim Kuvyrkov <maxim@kugelworks.com>
13332
13333 [BZ #16394]
cd6701cf
CD
13334 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13335 SRC and DEST against LEN.
66671c84 13336
38f34581
AZ
133372014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13338
13339 [BZ #16414]
13340 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13341 implementation.
13342 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13343
133442014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13345
13346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13347
4c327f2a
JM
133482014-01-08 Joseph Myers <joseph@codesourcery.com>
13349
13350 [BZ #16408]
13351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13352 for large positive arguments.
13353
b821f414
JM
133542014-01-07 Joseph Myers <joseph@codesourcery.com>
13355
1f0f2067
JM
13356 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13357
a5a326f6
JM
13358 * math/auto-libm-test-in: Mark various tests with
13359 xfail-rounding:ldbl-128ibm.
13360 * math/auto-libm-test-out: Regenerated.
13361
b821f414
JM
13362 [BZ #16407]
13363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13364 Increase overflow threshold.
13365
94c8a4bc
OB
133662014-01-07 Ondřej Bílka <neleai@seznam.cz>
13367
13368 [BZ #14286]
13369 * stdio-common/vfprintf.c: Check for integer overflow.
13370
87ded0c3
AK
133712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13372
13373 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13374 the first argument and return value of __tls_get_addr_internal.
13375
c5eebdd0
AK
133762014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13377
13378 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13379 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13380
05d138ef
AK
133812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13382
13383 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13384 * sysdeps/s390/rtld-global-offsets.sym: New file.
13385 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13386 GLIBC_2.19 symbol.
13387 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13390 ... this.
13391 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13392 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13393 ... this.
13394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13395 Regenerate.
13396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13397 Regenerate.
13398 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13399 halfs of GPRs for high_gprs contexts.
13400 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13401 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13402 field.
13403 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13404 uc_flags field.
13405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13406 64 bit versions:
13407 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13408 for high GPRs (uc_high_gprs) and for future extensions
13409 (__reserved).
13410 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13411 for future extensions (__reserved).
13412 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13413 64 bit versions:
13414 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13415 SC_HIGHGPRS offset definition.
13416 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13417 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13418
93a45ff1
AK
13419 * Versions.def: Add GLIBC_2.19 for libpthread.
13420 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13421 siglongjmp for libpthread with GLIBC_2.19 symver.
13422 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13423 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13424 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13425 * sysdeps/s390/__longjmp.c: New file.
13426 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13427 * sysdeps/s390/longjmp.c: New file.
13428 * sysdeps/s390/setjmp.S: New file.
13429 * sysdeps/s390/sigjmp.S: New file.
13430 * sysdeps/s390/v1-longjmp.c: New file.
13431 * sysdeps/s390/v1-setjmp.h: New file.
13432 * sysdeps/s390/v1-sigjmp.c: New file.
13433 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13434 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13435 GLIBC_2.19 version.
13436 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13437 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13438 versioned symbols for ____longjmp_chk.
13439 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13440 Likewise.
13441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13442 Regenerate.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13444 Regenerate.
13445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13446 Regenerate.
13447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13448 Regenerate.
13449 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13450 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13451 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13452 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13453 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13454 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13455 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13456 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13457 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13458 * sysdeps/s390/rtld-__longjmp.c: New file.
13459 * sysdeps/s390/rtld-setjmp.S: New file.
13460
eb3fc44b
JM
134612014-01-06 Joseph Myers <joseph@codesourcery.com>
13462
13463 [BZ #16400]
13464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13465 Return -__logl (x) for small positive arguments without evaluating
13466 a polynomial.
13467
9341dde4
MF
134682014-01-06 Mike Frysinger <vapier@gentoo.org>
13469
13470 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13471 Rename to ...
13472 (__ptrace_peeksiginfo_args): ... this.
13473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13476
4cff0293
AM
134772014-01-06 Allan McRae <allan@archlinux.org>
13478
13479 * inet/netinet/in.h: Fix typo in comment.
13480
75595dcf
AJ
134812014-01-05 Andreas Jaeger <aj@suse.de>
13482
13483 * sysdeps/i386/fpu/libm-test-ulps: Update.
13484
79c1e109
AM
134852014-01-05 Allan McRae <allan@archlinux.org>
13486
dd804818
AM
13487 * po/libc.pot: Regenerated.
13488
79c1e109
AM
13489 * malloc/memusagestat.c: Fix gettext call formatting.
13490
0c813d1f
SK
134912014-01-04 Sami Kerola <kerolasa@iki.fi>
13492
13493 * nscd/nscd.c: Improve usage() output.
13494
20f4a8d9
MF
134952014-01-04 Mike Frysinger <vapier@gentoo.org>
13496
13497 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13498 * sysdeps/unix/sysv/linux/configure: Regenerated.
13499 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13500 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13501
22562bb2
JM
135022014-01-03 Joseph Myers <joseph@codesourcery.com>
13503
13504 [BZ #16390]
13505 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13506 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13507
d7ad2d9b
AZ
135082014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13509
13510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13511 extra tokens at end of #undef directive.
13512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13513 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13515
7dd009d8
JM
135162014-01-03 Joseph Myers <joseph@codesourcery.com>
13517
24db925a
JM
13518 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13519
7dd009d8
JM
13520 * math/auto-libm-test-in: Mark various tests with
13521 xfail-rounding:ldbl-128ibm.
13522 * math/auto-libm-test-out: Regenerated.
13523
396e3ecf
JM
135242014-01-02 Joseph Myers <joseph@codesourcery.com>
13525
819e5d50
JM
13526 [BZ #16386]
13527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13528 numbers with subnormal high part when calculating exponent.
13529
90b6a1e5
JM
13530 [BZ #16385]
13531 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13532 fabs.
13533
396e3ecf
JM
13534 [BZ #16384]
13535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13536 M_LN2l.
13537 (__ieee754_acoshl): Use __log1pl not __log1p.
13538
6c8dbf00
OB
135392013-01-02 Ondřej Bílka <neleai@seznam.cz>
13540
57f41c40
AS
13541 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13542 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13543 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13544 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13545 (reused_arena, arena_get2): Convert to GNU style.
13546 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13547 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13548 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13549 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13550 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13551 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13552 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13553 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13554 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13555 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13556 * malloc/malloc.h: Likewise.
57f41c40
AS
13557 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13558 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13559 * malloc/mcheck.h: Likewise.
57f41c40
AS
13560 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13561 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13562 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13563 * malloc/morecore.c (__default_morecore): Likewise.
13564 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13565 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13566 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13567 (print_and_abort): Likewise.
6c8dbf00
OB
13568 * malloc/obstack.h: Likewise.
13569 * malloc/set-freeres.c (__libc_freeres): Likewise.
13570 * malloc/tst-mallocstate.c (main): Likewise.
13571 * malloc/tst-mtrace.c (main): Likewise.
13572 * malloc/tst-realloc.c (do_test): Likewise.
13573
d4124212
SP
135742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13575
9a3c6a6f
SP
13576 [BZ #16366]
13577 * nscd/netgroupcache.c (do_notfound): New function.
13578 (addgetnetgrentX): Use it.
13579
d4124212
SP
13580 [BZ # 16365]
13581 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13582 NSS_STATUS_NOTFOUND.
13583
97b9a009
JM
135842014-01-01 Joseph Myers <joseph@codesourcery.com>
13585
13586 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13588
d4697bc9
AM
135892014-01-01 Allan McRae <allan@archlinux.org>
13590
ddb3687f
AM
13591 * scripts/update-copyrights: Update configure input file suffix.
13592
88726d48
AM
13593 * NEWS: Update copyright year.
13594 * catgets/gencat.c: Likewise.
13595 * csu/version.c: Likewise.
13596 * debug/catchsegv.sh: Likewise.
13597 * debug/pcprofiledump.c: Likewise.
13598 * debug/xtrace.sh: Likewise.
13599 * elf/ldconfig.c: Likewise.
13600 * elf/ldd.bash.in: Likewise.
13601 * elf/pldd.c: Likewise.
13602 * elf/sotruss.ksh: Likewise.
13603 * elf/sprof.c: Likewise.
13604 * iconv/iconv_prog.c: Likewise.
13605 * iconv/iconvconfig.c: Likewise.
13606 * locale/programs/locale.c: Likewise.
13607 * locale/programs/localedef.c: Likewise.
13608 * login/programs/pt_chown.c: Likewise.
13609 * malloc/memusage.sh: Likewise.
13610 * malloc/memusagestat.c: Likewise.
13611 * malloc/mtrace.pl: Likewise.
13612 * manual/libc.texinfo: Likewise.
13613 * nscd/nscd.c: Likewise.
13614 * nss/getent.c: Likewise.
13615 * nss/makedb.c: Likewise.
13616 * posix/getconf.c: Likewise.
13617 * scripts/test-installation.pl: Likewise.
13618
d4697bc9
AM
13619 * All files with FSF copyright notices: Update copyright dates
13620 using scripts/update-copyrights.
13621 * intl/plural.c: Regenerated.
13622 * locale/programs/charmap-kw.h: Likewise.
13623 * locale/programs/locfile-kw.h: Likewise.
13624
c8590f9d
MF
136252013-12-31 Mike Frysinger <vapier@gentoo.org>
13626
13627 * sysdeps/unix/sysv/linux/configure: Regenerated.
13628 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13629 the linux/fanotify.h header.
13630 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13631 HAVE_LINUX_FANOTIFY_H is defined.
13632
b19221b9
SP
136332013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13634
dd1d85e5
SP
13635 * benchtests/cos-inputs: New inputs.
13636 * benchtests/sin-inputs: Likewise.
13637
1acbb90f
SP
13638 * benchtests/atan-inputs: New inputs. Fix name of multiple
13639 precision fallback inputs.
13640
4c012ed3
SP
13641 * benchtests/atanh-inputs: New inputs.
13642 * benchtests/tanh-inputs: Likewise.
13643
eff98324
SP
13644 * benchtests/acosh-inputs: New inputs.
13645 * benchtests/asinh-inputs: Likewise.
13646
ce641152
SP
13647 * benchtests/cosh-inputs: New inputs.
13648 * benchtests/sinh-inputs: Likewise.
13649
b19221b9
SP
13650 * benchtests/acos-inputs: Add more inputs.
13651 * benchtests/asin-inputs: Likewise.
13652
030a4976 136532013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13654
030a4976 13655 [BZ #16375]
9dcc8f11
VS
13656 * manual/arith.texi: Fix spelling.
13657 * manual/charset.texi: Likewise.
13658 * manual/errno.texi: Likewise.
13659 * manual/filesys.texi: Likewise.
13660 * manual/lang.texi: Likewise.
13661 * manual/llio.texi: Likewise.
13662 * manual/locale.texi: Likewise.
13663 * manual/message.texi: Likewise.
13664 * manual/resource.texi: Likewise.
13665 * manual/search.texi: Likewise.
13666 * manual/setjmp.texi: Likewise.
13667 * manual/stdio.texi: Likewise.
13668 * manual/string.texi: Likewise.
13669 * manual/sysinfo.texi: Likewise.
13670 * manual/time.texi: Likewise.
13671
11520a57
CD
136722013-12-27 Carlos O'Donell <carlos@redhat.com>
13673
13674 * po/sl.po: New file.
13675
471103ae
MF
136762013-12-27 Mike Frysinger <vapier@gentoo.org>
13677
13678 * .gitignore: Add core/.gdbinit/.gdb_history.
13679
6c9642ed
AM
136802013-12-27 Allan McRae <allan@archlinux.org>
13681
13682 [BZ #16369]
13683 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13684 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13685
3f637079
BM
136862013-12-24 Brooks Moses <bmoses@google.com>
13687
13688 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13689 all compilers that claim C++98 compliance, not just GCC.
13690 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13691 Likewise.
13692
abc26e99
MK
136932013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13694
13695 * NEWS: Restore accidentally deleted bug-fix entries.
13696
362b47fe
MK
136972013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13698 Ondřej Bílka <neleai@seznam.cz>
13699
13700 [BZ #15073]
13701 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13702 have_lock.
362b47fe 13703
b9bcbbcb
OB
137042013-12-23 Ondřej Bílka <neleai@seznam.cz>
13705
13706 [BZ #12986]
13707 * manual/stdio.texi (String Input Conversions): Clarify that character
13708 classes are not supported.
13709
fb55fcd2
AZ
137102013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13711
13712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13713
ef7344f0
JM
137142013-12-22 Joseph Myers <joseph@codesourcery.com>
13715
4f40e4b3
JM
13716 [BZ #16337]
13717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13718 Calculate results for small negative arguments directly rather
13719 than using reflection formula with special underflow handling.
13720
ef7344f0
JM
13721 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13722 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13723 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13724 (fchflags): Likewise.
13725 (revoke): Likewise.
13726 (setlogin): Likewise.
13727 (sigaltstack): Likewise.
13728 (wait4): Likewise.
13729 (sigblock): Remove.
13730 (sigsetmask): Likewise.
13731 (wait3): Likewise.
13732 (waitpid): Likewise.
13733 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13734 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13735 file.
13736 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13737 * sysdeps/unix/bsd/Makefile: ... here.
13738 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13739 * sysdeps/unix/bsd/Versions: ... here.
13740 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13741 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13742 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13743 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13744 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13745 * sysdeps/unix/bsd/sigblock.c: ... here.
13746 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13747 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13748 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13749 * sysdeps/unix/bsd/sigvec.c: ... here.
13750 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13751 * sysdeps/unix/bsd/tcdrain.c: ... here.
13752 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13753 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13754 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13755 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13756 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13757 * sysdeps/unix/bsd/wait.c: ... here.
13758 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13759 * sysdeps/unix/bsd/wait3.c: ... here.
13760 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13761 * sysdeps/unix/bsd/waitpid.c: ... here.
13762
5b0626b9
JM
137632013-12-21 Joseph Myers <joseph@codesourcery.com>
13764
13765 [BZ #16356]
13766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13767 round-to-nearest for [!USE_AS_EXPM1L].
13768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13769 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13770 more tests of exp and exp10. Expect some exp10 tests to miss
13771 exceptions or fail in directed rounding modes.
13772 * math/auto-libm-test-out: Regenerated.
13773 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13774 (exp10_test_tonearest): New function.
13775 (exp10_towardzero_test_data): New array.
13776 (exp10_test_towardzero): New function.
13777 (exp10_downward_test_data): New array.
13778 (exp10_test_downward): New function.
13779 (exp10_upward_test_data): New array.
13780 (exp10_test_upward): New function.
13781 (main): Call the new functions.
13782 * sysdeps/i386/fpu/libm-test-ulps: Update.
13783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13784
7fda5682
JM
137852013-12-20 Joseph Myers <joseph@codesourcery.com>
13786
31e3a405
JM
13787 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13788 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13789 * math/auto-libm-test-out: Regenerated.
13790 * math/libm-test.inc (acosh_test_data): Add more tests.
13791 (atanh_test_data): Likewise.
13792 (ceil_test_data): Likewise.
13793 (copysign_test_data): Likewise.
13794 * sysdeps/i386/fpu/libm-test-ulps: Update.
13795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13796
85bff96a
JM
13797 * timezone/checktab.awk: Update from tzcode 2013i.
13798 * timezone/private.h: Likewise.
13799 * timezone/scheck.c: Likewise.
13800 * timezone/tzfile.h: Likewise.
13801 * timezone/tzselect.ksh: Likewise.
13802 * timezone/zdump.c: Likewise.
13803 * timezone/zic.c: Likewise.
13804
b7867a3b
JM
13805 * math/auto-libm-test-in: Add tests of cpow.
13806 * math/auto-libm-test-out: Regenerated.
13807 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13809 mpc_cc_c.
13810 (func_calc_desc): Add mpc_cc_c union field.
13811 (test_functions): Add cpow.
13812 (special_fill_2pi): New function.
13813 (special_real_inputs): Add 2pi.
13814 (calc_generic_results): Handle mpc_cc_c.
13815 * sysdeps/i386/fpu/libm-test-ulps: Update.
13816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13817
7fda5682
JM
13818 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13819 csqrt, ctan and ctanh.
13820 * math/auto-libm-test-out: Regenerated.
13821 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13822 (TEST_COND_x86): Likewise.
13823 (ccos_test_data): Use AUTO_TESTS_c_c.
13824 (ccosh_test_data): Likewise.
13825 (cexp_test_data): Likewise.
13826 (clog_test_data): Likewise.
13827 (csqrt_test_data): Likewise.
13828 (ctan_test_data): Likewise.
13829 (ctan_tonearest_test_data): Likewise.
13830 (ctan_towardzero_test_data): Likewise.
13831 (ctan_downward_test_data): Likewise.
13832 (ctan_upward_test_data): Likewise.
13833 (ctanh_test_data): Likewise.
13834 (ctanh_tonearest_test_data): Likewise.
13835 (ctanh_towardzero_test_data): Likewise.
13836 (ctanh_downward_test_data): Likewise.
13837 (ctanh_upward_test_data): Likewise.
13838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13839 mpc_c_c.
13840 (func_calc_desc): Add mpc_c_c union field.
13841 (FUNC_mpc_c_c): New macro.
13842 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13843 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13844 ctanh.
13845 (special_fill_min_subnorm_p120): New function.
13846 (special_real_inputs): Add min_subnorm_p120.
13847 (calc_generic_results): Handle mpc_c_c.
13848 * sysdeps/i386/fpu/libm-test-ulps: Update.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13850
5ff8d60e
SP
138512013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13852
57f41c40
AS
13853 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13854 (do_sin_slow): New functions.
13855 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13856 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13857
84ba214c
SP
13858 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13859 Use M to change sign of result instead of X. Assume X is
13860 positive.
13861 (csloww1): Likewise.
13862 (__sin): Adjust.
13863 (__cos): Adjust.
13864
975195e4
SP
13865 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13866 arguments A and DA.
13867 (__sin): Adjust.
13868 (__cos): Likewise.
13869
5ff8d60e
SP
13870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13871 (__cos): Likewise.
13872 (sloww1): Don't adjust sign of DX.
13873 (csloww1): Likewise.
13874 (sloww2): Use X directly and don't adjust sign of DX.
13875 (csloww2): Likewise.
13876
eb983568
JM
138772013-12-19 Joseph Myers <joseph@codesourcery.com>
13878
64a17f1a
JM
13879 * math/auto-libm-test-in: Add tests of cabs and carg.
13880 * math/auto-libm-test-out: Regenerated.
13881 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13882 (carg_test_data): Likewise.
13883 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13884 mpc_c_f.
13885 (func_calc_desc): Add mpc_c_f union field.
13886 (test_functions): Add cabs and carg.
13887 (calc_generic_results): Handle mpc_c_f.
13888
eb983568
JM
13889 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13890 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13891 as a macro and a compat symbol.
13892 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13893 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13894 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13895 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13896 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13898 not use .hidden.
13899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13900 Likewise.
13901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13902 Likewise.
13903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13904 Likewise.
13905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13906 Likewise.
13907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13908 Likewise.
13909 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13910 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13911 from GLIBC_2.3.2.
13912
6eeb678a
AZ
139132013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13914
13915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13916
6f6fc482
JM
139172013-12-19 Joseph Myers <joseph@codesourcery.com>
13918
21fea2e2
JM
13919 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13920 trailing whitespace removed.
13921 * scripts/config.guess: Update to version 2013-11-29.
13922 * scripts/config.sub: Update to version 2013-10-01.
13923
6f6fc482
JM
13924 * math/auto-libm-test-in: Add tests of sincos.
13925 * math/auto-libm-test-out: Regenerated.
13926 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13928 mpfr_f_11.
13929 (func_calc_desc): Add mpfr_f_11 union field.
13930 (test_functions): Add sincos.
13931 (calc_generic_results): Handle mpfr_f_11.
13932 * sysdeps/i386/fpu/libm-test-ulps: Update.
13933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13934
83f5c32d
AS
139352013-12-19 Andreas Schwab <schwab@suse.de>
13936
13937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13938 CALL_MCOUNT.
13939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13941 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13942
c688b419
JM
139432013-12-19 Joseph Myers <joseph@codesourcery.com>
13944
335ee092
JM
13945 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13946 * sysdeps/i386/fpu/libm-test-ulps: Update.
13947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13948
f88acd39
JM
13949 [BZ #16293]
13950 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13951 round-to-nearest mode when using frndint.
13952 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13954 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13955 Likewise.
13956 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13957 sinh test to fail.
13958 * math/auto-libm-test-out: Regenerated.
13959 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13960 (TEST_COND_x86): Likewise.
13961 (expm1_tonearest_test_data): New array.
13962 (expm1_test_tonearest): New function.
13963 (expm1_towardzero_test_data): New array.
13964 (expm1_test_towardzero): New function.
13965 (expm1_downward_test_data): New array.
13966 (expm1_test_downward): New function.
13967 (expm1_upward_test_data): New array.
13968 (expm1_test_upward): New function.
13969 (main): Run the new test functions.
13970 * sysdeps/i386/fpu/libm-test-ulps: Update.
13971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13972
c688b419
JM
13973 * include/features.h: Update comment documenting feature test
13974 macros. Mention _DEFAULT_SOURCE in comment.
13975 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13976 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13977 _BSD_SOURCE and _SVID_SOURCE.
13978 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13979 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13980 !_SVID_SOURCE]: Likewise.
13981 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13982 (__USE_POSIX_IMPLICITLY): Define.
13983 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13984 (_POSIX_SOURCE): Undefine and redefine.
13985 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13986 (_POSIX_C_SOURCE): Likewise.
13987 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13988 (Feature Test Macros): Update documentation of default features.
13989
9f6e964c
RS
139902013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13991
13992 * benchtests/Makefile: Add bench-strtok.
13993 * benchtests/bench-strtok.c: New file: strtok benchtest.
13994
ee0a148a
AM
139952013-12-19 Allan McRae <allan@archlinux.org>
13996
13997 * manual/install.texi: Suppress menu for plain text output.
13998 * INSTALL: Regenerated.
13999
b9ab448f
BM
140002013-12-18 Brooks Moses <bmoses@google.com>
14001
14002 [BZ #15846]
14003 * misc/getauxval.c: Include errno.h.
14004 (__getauxval): Set errno to ENOENT if the requested type is not
14005 found.
14006 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14007 don't declare with __attribute_const__.
14008 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14009 * manual/startup.texi: Document that getauxval sets errno.
14010
23776487
JM
140112013-12-18 Joseph Myers <joseph@codesourcery.com>
14012
f889953b
JM
14013 * math/auto-libm-test-in: Add tests of jn and yn.
14014 * math/auto-libm-test-out: Regenerated.
14015 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14016 (yn_test_data): Likewise.
14017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14018 mpfr_if_f.
14019 (func_calc_desc): Add mpfr_if_f union field.
14020 (FUNC_mpfr_if_f): New macro.
14021 (test_functions): Add jn and yn.
14022 (calc_generic_results): Assert type of second input for
14023 mpfr_ff_f. Handle mpfr_if_f.
14024 (output_for_one_input_case): Disable all checking for arguments
14025 fitting floating-point types in case of an integer argument.
14026 * sysdeps/i386/fpu/libm-test-ulps: Update.
14027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14028
23776487
JM
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14030 Don't expect fegetround reference in libm.so.
14031
cb756c6d
MS
140322013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14033
14034 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14035 $(config-cflags-nofma).
14036
2dec468f
JM
140372013-12-18 Joseph Myers <joseph@codesourcery.com>
14038
5953eb3a
JM
14039 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14040 * math/auto-libm-test-out: Regenerated.
14041
2dec468f
JM
14042 [BZ #16338]
14043 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14044 to determine exponent and adjust argument to have exponent of -1.
14045 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14046 log2.
14047 * math/auto-libm-test-out: Regenerated.
14048 * sysdeps/i386/fpu/libm-test-ulps: Update.
14049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14050
4d84e6ad
OB
140512013-12-18 Ondřej Bílka <neleai@seznam.cz>
14052
14053 * manual/probes.texi: Remove cases when per-thread arenas are
14054 disabled.
14055
1818483b
AS
140562013-12-18 Andreas Schwab <schwab@suse.de>
14057
14058 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14059 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14060 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14061 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14062 * sysdeps/i386/i686/multiarch/Makefile: Update.
14063 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14064
25de95bf
JM
140652013-12-17 Joseph Myers <joseph@codesourcery.com>
14066
14067 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14068 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14069
674762d9
PE
140702013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14071
ed27ed83 14072 [BZ #15968]
0748546f
PE
14073 Support TZ transition times < 00:00:00.
14074 This is needed for version-3 tz-format files; it supports time
14075 stamps past 2037 for America/Godthab (the only entry in the tz
14076 database for which this change is relevant).
14077 * manual/time.texi (TZ Variable): Document transition times
14078 from -167:59:59 through -00:00:01.
14079 * time/tzset.c (tz_rule): Time of day is now signed.
14080 (__tzset_parse_tz): Parse negative time of day.
14081
4480e934
PE
14082 Document TZ transition times >= 25:00:00.
14083 * manual/time.texi (TZ Variable): Document transition times from
14084 25:00:00 through 167:59:59. These are already supported, and this
14085 support will help with version-3 tz-format files.
14086
69947401
PE
14087 * manual/time.texi (TZ Variable): Modernize North America example
14088 to reflect current (i.e., 2007-and-later) daylight saving rules.
14089
674762d9
PE
14090 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14091
7011c262
JM
140922013-12-17 Joseph Myers <joseph@codesourcery.com>
14093
2fc6557e
JM
14094 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14095 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14098 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14099 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14100 * sysdeps/unix/bsd/clock.c: Likewise.
14101 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14102 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14103 * sysdeps/unix/bsd/init-posix.c: Likewise.
14104 * sysdeps/unix/bsd/poll.c: Likewise.
14105 * sysdeps/unix/bsd/ptsname.c: Likewise.
14106 * sysdeps/unix/bsd/seekdir.c: Likewise.
14107 * sysdeps/unix/bsd/setegid.c: Likewise.
14108 * sysdeps/unix/bsd/seteuid.c: Likewise.
14109 * sysdeps/unix/bsd/setgid.c: Likewise.
14110 * sysdeps/unix/bsd/setrgid.c: Likewise.
14111 * sysdeps/unix/bsd/setruid.c: Likewise.
14112 * sysdeps/unix/bsd/setsid.c: Likewise.
14113 * sysdeps/unix/bsd/setuid.c: Likewise.
14114 * sysdeps/unix/bsd/sigaction.c: Likewise.
14115 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14116 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14117 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14118 * sysdeps/unix/bsd/telldir.c: Likewise.
14119 * sysdeps/unix/bsd/times.c: Likewise.
14120 * sysdeps/unix/bsd/usleep.c: Likewise.
14121
029c7b25
JM
14122 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14123 ($(objpfx)libbsd-compat.a): Remove rule.
14124
7011c262
JM
14125 * include/features.h (__FAVOR_BSD): Do not define.
14126 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14127 features conflicting with POSIX.
14128 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14129 (_BSD_SOURCE): Remove description of not being a subset of other
14130 feature test macros.
14131 * manual/job.texi (getpgrp): Do not document BSD version.
14132 (getpgid): Do not document by reference to BSD getpgrp.
14133 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14134 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14135 * signal/signal.h [__FAVOR_BSD]: Likewise.
14136 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14137 instead of making contents conditional on [__FAVOR_BSD].
14138 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14139
affb6f78
AZ
141402013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14141
14142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14143
c88769dd
JM
141442013-12-17 Joseph Myers <joseph@codesourcery.com>
14145
6432a540
JM
14146 [BZ #16314]
14147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14148 values below 2**-450, not 2**-500.
14149 * math/auto-libm-test-in: Don't allow spurious underflow from
14150 hypot.
14151 * math/auto-libm-test-out: Regenerated.
14152
c88769dd
JM
14153 [BZ #16316]
14154 [BZ #16330]
14155 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14156 values of ha and hb and sort them after adjusting subnormal
14157 arguments.
14158 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14159 Likewise.
14160 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14161 values of ea and eb and sort them after adjusting subnormal
14162 arguments.
14163 * math/auto-libm-test-in: Do not expect some hypot tests of
14164 subnormals to fail. Add more hypot tests.
14165 * math/auto-libm-test-out: Regenerated.
14166
29618f6b
KK
141672013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14168
14169 [BZ #13304]
14170 * sysdeps/sh/s_fma.c: New file.
14171 * sysdeps/sh/s_fmaf.c: New file.
14172 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14173 version.
14174 * sysdeps/sh/Implies: Add sh/soft-fp.
14175
eacfdfbf
RM
141762013-12-16 Roland McGrath <roland@hack.frob.com>
14177
14178 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14179 level of indirection to members `objname', `errstring', `malloced'.
14180 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14181 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14182 it as the __longjmp argument (just pass 1 instead).
14183 (_dl_catch_error): Initialize C with argument pointers and address of
14184 volatile local ERRCODE rather than copying values out of C at return.
14185
ff362e5b
JM
141862013-12-16 Joseph Myers <joseph@codesourcery.com>
14187
14188 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14189 * math/auto-libm-test-out: Regenerated.
14190 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14191 (hypot_test_data): Likewise.
14192 (pow_test_data): Likewise.
14193 (pow_tonearest_test_data): Likewise.
14194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14195 mpfr_ff_f.
14196 (func_calc_desc): Add mpfr_ff_f union field.
14197 (FUNC_mpfr_ff_f): New macro.
14198 (test_functions): Add atan2, hypot and pow.
14199 (special_fill_min): New function.
14200 (special_fill_minus_min): Likewise.
14201 (special_fill_min_subnorm): Likewise.
14202 (special_fill_minus_min_subnorm): Likewise.
14203 (special_real_inputs): Add min, -min, min_subnorm and
14204 -min_subnorm.
14205 (calc_generic_results): Handle mpfr_ff_f.
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14208
5764c27f
WN
142092013-12-16 Will Newton <will.newton@linaro.org>
14210
14211 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14212 (Aligned Memory Blocks): Add documentation for aligned_alloc
14213 and suggest it as an alternative to posix_memalign.
14214 (Hooks for Malloc): Document __memalign_hook is also called
14215 for aligned_alloc. (Summary of Malloc): Add summary for
14216 aligned alloc. Document __memalign_hook is also called
14217 for aligned_alloc.
14218
0a096e44
WN
142192013-12-16 Will Newton <will.newton@linaro.org>
14220
14221 * manual/memory.texi (Malloc Examples): Clarify default
14222 alignment documentation. Suggest posix_memalign rather
14223 than memalign or valloc.
14224 (Aligned Memory Blocks): Remove suggestion to use memalign
14225 or valloc. Remove obsolete comment about BSD.
14226 Document memalign errno values and mark the function obsolete.
14227 Document posix_memalign returned error codes. Mark valloc
14228 as obsolete. (Hooks for Malloc): __memalign_hook is also
14229 called for posix_memalign and valloc.
14230 (Summary of Malloc): Add posix_memalign to function summary.
14231 __memalign_hook is also called for posix_memalign and valloc.
14232
8d561986
SP
142332013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14234
14235 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14236 TAYLOR_SIN.
14237 (__sin): Adjust.
14238 (__cos): Likewise.
14239 (sloww): Use mynumber union. Expand ternary operator into
14240 if-else statements.
14241 (cslow): use mynumber union.
14242
73616a74
AM
142432013-12-16 Allan McRae <allan@archlinux.org>
14244
9e8ac24b
AM
14245 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14246 * configure: Regenerated.
14247
6f8e37eb
AM
14248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14249
8894bad3
AM
14250 [BZ #14120]
14251 * configure.ac: Added --enable-maintainer-mode. Check for
14252 autoconf when enabled.
14253 * configure: Regenerated.
14254
73616a74
AM
14255 * nscd/nscd.service: New file.
14256 * nscd/nscd.tmpfiles: New file.
14257
584b18eb
OB
142582013-12-14 Ondřej Bílka <neleai@seznam.cz>
14259
14260 [BZ #12100]
14261 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14262 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14263 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14264 (strstr): Add __strstr_sse2_unaligned ifunc.
14265 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14266 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14267 (strcasestr): Remove __strcasestr_sse42 ifunc.
14268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14271
8a5c7897
KK
142722013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14273
14274 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14275 * sysdeps/sh/bits/fenv.h: ... here.
14276 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14277
fd712ef3
AZ
142782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14279
14280 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14281
42fcb46c
AZ
14282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14283 hypotf multiarch implementations.
14284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14287 multiarch hypot for PPC64.
14288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14291 multiarch hypotf for PPC64.
14292
83efded4
AZ
14293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14294 modff multiarch implementations.
14295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14298 multiarch modf for PPC64.
14299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14302 multiarch modff for PPC64.
14303
43e246d2
AZ
14304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14305 and logl multiarch implementations.
14306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14309 multiarch logb for PPC64.
14310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14313 multiarch logb for PPC64.
14314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14317 multiarch logb for PPC64.
14318
8fdad123
AZ
14319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14320 isinff multiarch implementation.
14321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14322 file.
14323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14325 multiarch isinf for PPC64.
14326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14327 file.
14328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14329 multiarch isinff for PPC64.
14330
1481d706
AZ
14331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14332 finitef multiarch implementation.
14333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14334 file.
14335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14337 multiarch finite for PPC64.
14338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14339 file.
14340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14341 multiarch finitef for PPC64.
14342
5ccd5fc8
AZ
14343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14344 lrint multiarch implementation.
14345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14346 file.
14347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14349 multiarch llrint for PPC64.
14350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14351 multiarch lrint for PPC64.
14352
2568f3fa
AZ
14353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14354 copysignf multiarch implementation.
14355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14356 file.
14357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14358 file.
14359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14360 multiarch copysign for PPC64.
14361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14362 multiarch copysignf for PPC64.
14363
1cb341fd
AZ
14364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14365 multiarch implementation.
14366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14367 file.
14368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14369 file.
14370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14371 file.
14372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14373 file.
14374 multiarch llround for PPC64.
14375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14376 multiarch trunc for PPC64.
14377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14378 multiarch truncf for PPC64.
14379
59a3e194
AZ
14380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14381 multiarch implementation.
14382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14383 file.
14384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14385 file.
14386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14387 file.
14388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14389 file.
14390 multiarch llround for PPC64.
14391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14392 multiarch round for PPC64.
14393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14394 multiarch roundf for PPC64.
14395
357fd3b4
AZ
14396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14397 multiarch implementation.
14398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14399 file.
14400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14401 file.
14402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14403 file.
14404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14405 file.
14406 multiarch llround for PPC64.
14407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14408 multiarch floor for PPC64.
14409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14410 multiarch floorf for PPC64.
14411
96770f12
AZ
14412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14413 multiarch implementation.
14414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14415 file.
14416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14417 file.
14418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14419 file.
14420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14421 file.
14422 multiarch llround for PPC64.
14423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14424 multiarch ceil for PPC64.
14425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14426 multiarch ceilf for PPC64.
14427
c3627f6e
AZ
14428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14429 multiarch implementation.
14430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14431 file.
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14433 file.
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14435 file.
14436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14437 multiarch llround for PPC64.
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14439 multiarch lround for PPC64.
14440
b2284ad7
AZ
14441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14442 multiarch implementation.
14443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14446 file.
14447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14450 multiarch isnan for PPC64.
14451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14452 multiarch isnanf for PPC64.
14453
69bbc63d
AZ
14454 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14455 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14456 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14457 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14458 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14460
c24517c9
AZ
14461 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14462 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14465
a52374e8
AZ
14466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14467 multiarch implementations.
14468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14469 (__libc_ifunc_impl_list): Likewise.
14470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14472 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14473 multiarch stpcpy for PPC64.
14474
7f5ec113
AZ
14475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14476 multiarch implementations.
14477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14478 (__libc_ifunc_impl_list): Likewise.
14479 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14480 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14481 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14482 multiarch strcpy for PPC64.
14483
e28bcd42
AZ
14484 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14485 redefine function name.
14486 (_wordcopy_fwd_dest_aligned): Likewise.
14487 (_wordcopy_bwd_aligned): Likewise.
14488 (_wordcopy_bwd_dest_aligned): Likewise.
14489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14490 multiarch implementations.
14491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14492 (__libc_ifunc_impl_list): Likewise.
14493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14497 multiarch wcscpy for PPC64.
14498
92cacfce
AZ
14499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14500 multiarch implementations.
14501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14502 (__libc_ifunc_impl_list): Likewise.
14503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14507 multiarch wcscpy for PPC64.
14508
7b714620
AZ
14509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14510 multiarch implementations.
14511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14512 (__libc_ifunc_impl_list): Likewise.
14513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14517 multiarch wcsrchr for PPC64.
14518
16fd2ae3
AZ
14519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14520 multiarch implementations.
14521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14522 (__libc_ifunc_impl_list): Likewise.
14523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14525 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14526 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14527 multiarch wcschr for PPC64.
14528
9ee2969b
AZ
14529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14530 multiarch implementations.
14531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14532 (__libc_ifunc_impl_list): Likewise.
14533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14535 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14536 multiarch strchrnul for PPC64.
14537
372dc060
AZ
14538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14539 implementations.
14540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14541 (__libc_ifunc_impl_list): Likewise.
14542 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14543 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14544 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14545 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14546 strchr for PPC64.
14547
24c2c3b9
AZ
14548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14549 implementations.
14550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14551 (__libc_ifunc_impl_list): Likewise.
14552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14555 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14556 strncmp for PPC64.
14557
1c92d9a0
AZ
14558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14559 multiarch implementations.
14560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14561 (__libc_ifunc_impl_list): Likewise.
14562 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14563 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14564 strncasecmp for PPC64.
14565 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14567 multiarch strncasecmp_l for PPC64.
14568
17de3ee3
AZ
14569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14570 multiarch implementations.
14571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14572 (__libc_ifunc_impl_list): Likewise.
14573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14575 multiarch strcasecmp for PPC64.
14576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14577 file.
14578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14579 multiarch strcasecmp_l for PPC64.
14580
62982bf9
AZ
14581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14582 implementations.
14583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14584 (__libc_ifunc_impl_list): Likewise.
14585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14586 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14587 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14588 strnlen for PPC64.
14589
a65f4904
AZ
14590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14591 implementations.
14592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14593 (__libc_ifunc_impl_list): Likewise.
14594 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14596 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14597 strlen for PPC64.
14598
1fd005ad
AZ
14599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14600 implementations.
14601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14602 (__libc_ifunc_impl_list): Likewise.
14603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14605 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14606 rawmemrchr for PPC64.
14607
cd05ba91
AZ
14608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14609 implementation.
14610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14611 (__libc_ifunc_impl_list): Likewise.
14612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14613 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14614 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14615 memrchr for PPC64.
14616
870f8676
AZ
14617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14618 implementation.
14619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14620 (__libc_ifunc_impl_list): Likewise.
14621 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14622 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14623 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14624 memchr for PPC64.
14625
f00be62b
AZ
14626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14627 implementation.
14628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14629 (__libc_ifunc_impl_list): Likewise.
14630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14631 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14633 mempcpy for PPC64.
14634
8a29a3d0
AZ
14635 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14636 avoid cretion of __bzero symbol.
14637 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14638 Likewise.
14639 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14640 Likewise.
14641 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14642 Likewise.
14643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14644 multiarch implementations.
14645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14646 (__libc_ifunc_impl_list): Likewise.
14647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14648 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14649 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14650 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14651 bzero for PPC32.
14652 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14653 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14654 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14655 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14656 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14657 memset for PPC64.
14658 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14659
07253fcf
AZ
14660 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14662 implementations.
14663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14664 (__libc_ifunc_impl_list): Likewise.
14665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14667 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14668 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14669 memcmp for PPC64.
14670
b5beafbc
AZ
14671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14672 multiarch for POWER/PPC64.
14673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14674 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14681 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14682 memcpy for PPC64.
14683
5e6a4d4b
AZ
14684 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14685 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14686 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14687 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14688 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14689 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14690 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14691 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14692 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14693 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14694 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14695 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14696 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14697 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14698 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14706
ddfab6dc
KK
147072013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14708
14709 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14710
19b5525e
SP
147112013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
14713 * benchtests/Makefile (bench): Add exp2 and log2.
14714 (LDLIBS-bench-exp2): Add -lm.
14715 (LDLIBS-bench-log2): Likewise.
14716 * benchtests/exp2-inputs: New inputs file.
14717 * benchtests/log2-inputs: New inputs file.
14718 * benchtests/log-inputs: Add new inputs.
14719 * benchtests/tan-inputs: Likewise.
14720
196f7f5d
SP
147212013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14722
7a74607f
SP
14723 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14724 definition...
57f41c40
AS
14725 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14726 (csloww2): ... from here.
7a74607f 14727
196f7f5d
SP
14728 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14729 instead of structures.
14730 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14731 (POLYNOMIAL): Likewise.
14732 (TAYLOR_SLOW): Likewise.
14733 (__sin): Likewise.
14734 (__cos): Likewise.
14735 (slow1): Likewise.
14736 (slow2): Likewise.
14737 (sloww): Likewise.
14738 (sloww1); Likewise.
14739 (sloww2): Likewise.
14740 (bsloww1): Likewise.
14741 (bsloww2): Likewise.
14742 (cslow2): Likewise.
14743 (csloww): Likewise.
14744 (csloww1): Likewise.
14745 (csloww2): Likewise.
14746
0dfa665c
OB
147472013-12-10 Ondřej Bílka <neleai@seznam.cz>
14748
14749 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14750 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14751 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14752 * malloc/hooks.c (realloc_check): Likewise.
14753
5782a80f
OB
14754 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14755 * malloc/arena.c: Remove PER_THREAD conditional.
14756 [!PER_THREAD]: Remove code.
14757 (ptmalloc_unlock_all2): Likewise.
14758 (ptmalloc_init): Likewise.
14759 (_int_new_arena): Likewise.
14760 (arena_get2): Likewise.
14761 * malloc/hooks.c (__malloc_get_state): Likewise.
14762 (__malloc_set_state): Likewise.
14763 * malloc/malloc.c: Likewise.
14764 (struct malloc_state): Likewise.
14765 (struct malloc_par): Likewise.
14766 (__libc_realloc): Likewise.
14767 (__libc_mallopt): Likewise.
14768
aeb95445
AZ
147692013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14770
14771 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14772
e8349efd
OB
147732013-12-09 Ondřej Bílka <neleai@seznam.cz>
14774
14775 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14776 macro to a function. Check for zero perturb_byte.
14777 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14778
f3eeb3fc 14779 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14780 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14781 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14782 force_reg by atomic_forced_read.
14783 * malloc/arena.c (ptmalloc_init): Likewise.
14784 * malloc/hooks.c (top_check): Likewise.
14785
be2f9009
AZ
147862013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14787
14788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14789
e7b914bd
MT
147902013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14791
14792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14793
9f0be4f8
JM
147942013-12-08 Joseph Myers <joseph@codesourcery.com>
14795
14796 * math/auto-libm-test-in: Add tests of lgamma.
14797 * math/auto-libm-test-out: Regenerated.
14798 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14799 (M_LOG_2_SQRT_PIl): Likewise.
14800 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14802 mpfr_f_f1.
14803 (func_calc_desc): Add mpfr_f_f1 union field.
14804 (ARGS1): New macro.
14805 (ARGS2): Likewise.
14806 (ARGS3): Likewise.
14807 (ARGS4): Likewise.
14808 (RET1): Likewise.
14809 (RET2): Likewise.
14810 (CALC): Likewise.
14811 (FUNC): Likewise.
14812 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14813 (test_functions): Add lgamma.
14814 (calc_generic_results): Handle mpfr_f_f1.
14815 * sysdeps/i386/fpu/libm-test-ulps: Update.
14816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14817
24eeafdb
AZ
148182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14819
14820 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14821 __mpn_add_n for PowerPC64/POWER7.
14822 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14823 __mpn_sub_n for PowerPC64/POWER7.
14824
4a2c0fd4
AZ
14825 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14826 __mpn_addmul_1 for PowerPC64.
14827 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14828 __mpn_submul_1 for PowerPC64.
14829 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14830 for PowerPC64.
14831 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14832 for PowerPC64.
14833
4b5b548c
FS
148342013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14835
14836 [BZ #15089]
14837 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14838
0a3ac0aa
AZ
148392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14840
14841 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14842
ccdc8438
AZ
14843 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14844 add multiarch folders.
14845 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14846 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14847 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14848 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14849 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14850 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14851 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14852 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14853 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14854 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14855 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14862
2e973d99
AZ
14863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14864 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14866 New file.
14867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14868 New file.
14869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14870 multiarch __ieee754_hypot for PowerPC32.
14871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14872 New file.
14873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14874 New file.
14875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14876 multiarch __ieee754_hypotf for PowerPC32.
14877
2d9470b2
AZ
14878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14879 long_double_symbol only if __logbl is defined.
14880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14881 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14883 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14885 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14887 path for implementation.
14888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14891 logb, and logbl multiarch implementations for PowerPC32.
14892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14893 file.
14894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14895 file.
14896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14897 multiarch logb for PowerPC32.
14898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14899 file.
14900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14901 file.
14902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14903 multiarch logbf for PowerPC32.
14904 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14906 file.
14907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14908 multiarch logbl implementation for PowerPC32.
14909
5212ffce
AZ
14910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14911 and modff multiarch implementations.
14912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14913 New file.
14914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14915 New file.
14916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14917 multiarch modf for PowerPC32.
14918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14919 New file.
14920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14921 New file.
14922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14923 multiarch modff for PowerPC32.
14924
79dccf31
AZ
14925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14926 and lrintf multiarch implementations.
14927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14928 New file.
14929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14930 New file.
14931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14932 multiarch lrint for PowerPC32.
14933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14934 file: multiarch lrintf for PowerPC32.
14935
deb66480
AZ
14936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14937 and lroundf multiarch implementations.
14938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14939 New file.
14940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14941 New file.
14942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14943 New file.
14944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14945 multiarch lround for PowerPC32.
14946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14947 file: multiarch lroundf for PowerPC32.
14948
264b036b
AZ
14949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14950 copysign and copysignf multiarch implementations.
14951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14952 New file.
14953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14954 New file.
14955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14956 file: multiarch copysign for PowerPC32.
14957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14958 file: multiarch copysignf for PowerPC32.
14959
d47db6c9
AZ
14960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14961 and truncf multiarch implementations.
14962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14963 New file.
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14965 file.
14966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14967 multiarch trunc for PowerPC32.
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14969 New file.
14970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14971 New file.
14972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14973 multiarch truncf for PowerPC32.
14974
ddb60b5a
AZ
14975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14976 and roundf multiarch implementations.
14977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14978 New file.
14979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14980 file.
14981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14982 multiarch round for PowerPC32.
14983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14984 New file.
14985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14986 New file.
14987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14988 multiarch roundf for PowerPC32.
14989
bedcf49b
AZ
14990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14991 and floorf multiarch implementations.
14992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14993 New file.
14994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14995 file.
14996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14997 multiarch floor for PowerPC32.
14998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14999 New file.
15000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15001 New file.
15002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15003 multiarch floorf for PowerPC32.
15004
35ae5b40
AZ
15005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15006 and ceilf multiarch implementations.
15007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15008 New file.
15009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15010 file.
15011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15012 multiarch ceil for PowerPC32.
15013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15014 New file.
15015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15016 file.
15017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15018 multiarch ceilf for PowerPC32.
15019
ae1a4cd9
AZ
15020 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15021 is defined.
15022 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15023 FINITEF is defined.
15024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15025 and finitef multiarch implementations.
15026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15027 New file.
15028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15029 file.
15030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15031 multiarch finite for PowerPC32.
15032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15033 New file.
15034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15035 file: multiarch finitef for PowerPC32.
15036
64fffd65
AZ
15037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15038 and isinff multiarch implementations.
15039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15040 file.
15041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15042 file.
15043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15044 multiarch isinf for PowerPC32.
15045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15046 New file.
15047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15048 multiarch isinff for PowerPC32.
15049
8e4e7ba2
AZ
15050 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15051 alias when __isnan is defined.
15052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15053 and isnanf multiarch implementations.
15054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15055 file.
15056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15057 file.
15058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15059 file.
15060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15061 file.
15062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15063 multiarch isnan for PowerPC32.
15064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15065 New file.
15066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15067 New file.
15068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15069 multiarch isnanf for PowerPC32.
15070
ddba588e
AZ
15071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15072 and sqrtf multiarch implementations.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15074 file.
15075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15076 file.
15077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15078 multiarch sqrt for PowerPC32.
15079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15080 file.
15081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15082 file.
15083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15084 multiarch sqrtf for PowerPC32.
15085
0f96a2f0
AZ
15086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15087 and llroundf multiarch implementations.
15088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15089 New file.
15090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15091 New file.
15092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15093 New file.
15094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15095 file: multiarch llround for PowerPC32.
15096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15097 file: multiarch llroundf for PowerPC32.
15098
c9b5d79e
AZ
15099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15100 multiarch PowerPC32 fpu implementations.
15101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15102 New file.
15103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15104 New file.
15105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15106 multiarch llrint for PowerPC32.
15107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15108 New file.
15109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15110 New file.
15111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15112 file.
15113
9cbb3aab
AZ
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15115
ea5a72f8
AZ
15116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15117 file.
15118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15119 file.
15120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15121 file.
15122 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15123 multiarch wordcopy for PPC32.
15124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15125 wordcopy objects.
15126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15127 (__libc_ifunc_impl_list): Likewise.
15128 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15129 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15131 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15133 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15134
93be09e7
AZ
15135 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15137 file.
15138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15139 file.
15140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15141 file.
15142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15143 multiarch wcscpy for PPC32.
15144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15145 multiarch objects.
15146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15147 (__libc_ifunc_impl_list): Likewise.
15148 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15149 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15150 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15151 sysdeps/powerpc/power6/wcscpy.c.
15152
bb04e529
AZ
15153 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15155 file.
15156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15157 file.
15158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15159 file.
15160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15161 multiarch wcsrchr for PPC32.
15162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15163 multiarch objects.
15164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15165 (__libc_ifunc_impl_list): Likewise.
15166 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15167 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15168 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15169 sysdeps/powerpc/power6/wcsrchr.c.
15170
05b5cd1c
AZ
15171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15172 file.
15173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15174 file.
15175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15177 multiarch wcschr for PPc32.
15178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15179 multiarch objects.
15180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15181 (__libc_ifunc_impl_list): Likewise.
15182 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15183 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15184 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15185 sysdeps/powerpc/power6/wcschr.c.
15186
ba964147
AZ
15187 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15188 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15189 file.
15190 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15191 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15192 file: multiarch strchr for PPC32.
15193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15194 multiarch objects.
15195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15196 (__libc_ifunc_impl_list): Likewise.
15197
31c81aaa
AZ
15198 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15199 name.
15200 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15201 file.
15202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15203 file.
15204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15205 multiarch strchrnul for PPC32.
15206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15207 multiarch objects.
15208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15209 (__libc_ifunc_impl_list): Likewise.
15210
0d0607d9
AZ
15211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15212 file.
15213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15214 multiarch strncasecmp for PPC32.
15215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15216 file.
15217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15218 multiarch strncasecmp_l for PPC32.
15219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15220 strncasecmp multiarch objects.
15221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15222 (__libc_ifunc_impl_list): Likewise.
15223
4dfd5c86
AZ
15224 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15225 file.
15226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15227 multiarch strncasecmp for PPC32.
15228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15229 New file.
15230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15231 multiarch strcasecmp_l for PPC32.
15232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15233 multiarch objects.
15234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15235 (__libc_ifunc_impl_list): Likewise.
15236
a19e01a3
AZ
15237 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15238 file.
15239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15240 file.
15241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15242 multiarch strncmp for PPC32.
15243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15244 multiarch objects.
15245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15246 (__libc_ifunc_impl_list): Likewise.
15247
ae9cf7a2
AZ
15248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15249 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15250 file.
15251 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15252 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15254 multiarch objects.
15255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15256 (__libc_ifunc_impl_list): Likewise.
15257
3148bb7d
AZ
15258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15259 file.
15260 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15261 file.
15262 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15264 multiarch objects.
15265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15266 (__libc_ifunc_impl_list): Likewise.
15267
7af8b946
AZ
15268 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15269 file.
15270 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15271 file.
15272 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15273 multiarch rawmemchr for PPC32.
15274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15275 multiarch objects.
15276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15277 (__libc_ifunc_impl_list): Likewise.
15278
03a6aa6a
AZ
15279 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15280 file.
15281 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15282 file.
15283 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15284 file: memrchr multiarch for PPC32.
15285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15286 multiarch objects.
15287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15288 (__libc_ifunc_impl_list): Likewise.
15289
1c62e6d9
AZ
15290 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15292 file.
15293 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15294 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15295 multiarch memchr for PPC32.
15296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15297 multiarch objects.
15298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15299 (__libc_ifunc_impl_list): Likewise.
15300
87da8bdb
AZ
15301 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15302 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15303 file.
15304 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15305 file.
15306 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15307 file: multiarch mempcpy for PPC32.
15308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15309 multiarch objects.
15310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15311 (__libc_ifunc_impl_list): Likewise.
15312
20ed4714
AZ
15313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15316 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15317 multiarch bzero for PPC32.
15318 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15319 file.
15320 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15321 file.
15322 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15323 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15324 file: multiarch memset for PPC32.
15325 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15327 memset multiarch objects.
15328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15329 (__libc_ifunc_impl_list): Likewise.
15330
ab3e3a46
AZ
15331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15332 file.
15333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15335 memcmp for PPC32.
15336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15338 multiarch objects.
15339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15340 (__libc_ifunc_impl_list): Likewise.
15341
930de6f0
AZ
15342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15345 file.
15346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15347 file.
15348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15349 file.
15350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15351 multiarch memcpy for PPC32.
15352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15353 multiarch objects.
15354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15355 (__libc_ifunc_impl_list): Likewise.
15356
4c628e00
AZ
15357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15358 support multiarch for POWER/PPC32.
15359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15360 Likewise.
15361 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15363 Implies file to make multiarch folder appers before the fpu and
15364 default folder for power4 configuration.
15365
f4479220
SP
153662013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15367
15368 * scripts/bench.pl: Append volatile keyword to type.
15369
8517800f
KK
153702013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15371
15372 * sysdeps/sh/sotruss-lib.c: New file.
15373 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15374
180138f1
AZ
153752013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15376
15377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15378
bbf37bdc
JM
153792013-12-05 Joseph Myers <joseph@codesourcery.com>
15380
e47cc4e0
JM
15381 [BZ #6810]
15382 * math/w_tgamma.c: Include <errno.h>.
15383 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15384 * math/w_tgammaf.c: Include <errno.h>.
15385 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15386 * math/w_tgammal.c: Include <errno.h>.
15387 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15388 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15389 underflow. Add more tgamma tests.
15390 * math/auto-libm-test-out: Regenerated.
15391 * sysdeps/i386/fpu/libm-test-ulps: Update.
15392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15393
bbf37bdc
JM
15394 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15395 sin, sinh, tan, tanh, tgamma, y0 and y1.
15396 * math/auto-libm-test-out: Regenerated.
15397 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15398 (TEST_COND_x86): Likewise.
15399 (M_E2l): Remove macro.
15400 (M_E3l): Likewise.
15401 (M_2_SQRT_PIl): Likewise.
15402 (M_SQRT_PIl): Likewise.
15403 (M_1_DIV_El): Likewise.
15404 (log_test_data): Use AUTO_TESTS_f_f.
15405 (log10_test_data): Likewise.
15406 (log1p_test_data): Likewise.
15407 (log2_test_data): Likewise.
15408 (sin_test_data): Likewise.
15409 (sin_tonearest_test_data): Likewise.
15410 (sin_towardzero_test_data): Likewise.
15411 (sin_downward_test_data): Likewise.
15412 (sin_upward_test_data): Likewise.
15413 (sinh_test_data): Likewise.
15414 (sinh_tonearest_test_data): Likewise.
15415 (sinh_towardzero_test_data): Likewise.
15416 (sinh_downward_test_data): Likewise.
15417 (sinh_upward_test_data): Likewise.
15418 (tan_test_data): Likewise.
15419 (tan_tonearest_test_data): Likewise.
15420 (tan_towardzero_test_data): Likewise.
15421 (tan_downward_test_data): Likewise.
15422 (tan_upward_test_data): Likewise.
15423 (tanh_test_data): Likewise.
15424 (tgamma_test_data): Likewise.
15425 (y0_test_data): Likewise.
15426 (y1_test_data): Likewise.
15427 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15428 (special_real_inputs): Add pi/4.
15429 * sysdeps/i386/fpu/libm-test-ulps: Update.
15430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15431
eb5ad6b9
AZ
154322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15433
15434 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15435 "longjmp_target" static probes.
15436 (__longjmp): Rename to __longjmp_symbol.
15437 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15439 on which longjmp to generate.
15440 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15441 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15442 probe.
15443 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15444 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15445 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15446 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15447 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15448 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15450 __longjmp_symbol based on which __longjmp to generate.
15451 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15452 probe.
15453 (setjmp): Rename to setjmp_symbol.
15454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15455 (_setjmp): Rename to _setjmp_symbol.
15456 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15457 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15458 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15459 which setjmp to generate.
15460 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15461 "longjmp_target" static probes.
15462
d136c6dc
SP
154632013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15464
9298ecba
SP
15465 * benchtests/README: Add note about output arguments.
15466 * benchtests/bench-sincos.c: Remove file.
15467 * benchtests/sincos-inputs: New file.
15468 * scripts/bench.pl: Identify output arguments and define
15469 static variables for them.
15470
232983e9
SP
15471 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15472
d136c6dc
SP
15473 [BZ #15941]
15474 * Makefile (INSTALL): Add install-plain.texi as the primary
15475 dependency.
15476 * manual/install-plain.texi: New file.
15477 * manual/install.texi: Include node directive only for
15478 non-plaintext output.
15479
699ff837
JM
154802013-12-04 Joseph Myers <joseph@codesourcery.com>
15481
ab07cea8
JM
15482 * stdlib/longlong.h: Update from GCC.
15483
699ff837
JM
15484 [BZ #6807]
15485 [BZ #15901]
15486 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15487 * math/w_j0f.c (y0f): Likewise.
15488 * math/w_j0l.c (__y0l): Likewise.
15489 * math/w_j1.c (y1): Likewise.
15490 * math/w_j1f.c (y1f): Likewise.
15491 * math/w_j1l.c (__y1l): Likewise
15492 * math/w_jn.c (yn): Likewise.
15493 * math/w_jnf.c (ynf): Likewise.
15494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15495 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15496 value for Bessel function domain errors outside _SVID_ mode.
15497 Adjust sign of return value for yn (negative integer, 0).
15498 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15499 by zero in return for negative x and set sign appropriately for
15500 negative n.
15501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15502 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15503 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15504 expectations in error cases.
15505 (y1_test_data): Likewise.
15506 (yn_test_data): Likewise.
15507 * sysdeps/i386/fpu/libm-test-ulps: Update.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15509
5b118558
UW
155102013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15511
15512 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15513 "64" to "64-v1". Add "64-v2".
15514 (abi-64-options): Rename to ...
15515 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15516 (abi-64-condition): Rename to ...
15517 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15518 (abi-64-ld-soname): Rename to ...
15519 (abi-64-v1-ld-soname): ... this.
15520 (abi-64-v2-options): Define.
15521 (abi-64-v2-condition): Likewise.
15522 (abi-64-v2-ld-soname): Likewise.
15523 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15524 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15528
61cd8fe4
UW
155292013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15530 Alan Modra <amodra@gmail.com>
15531
15532 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15533 New versions for use with the ELFv2 ABI.
15534 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15535 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15536 declaration.
15537 (struct La_ppc64v2_retval): Likewise.
15538 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15539 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15540 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15541 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15542 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15543 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15544 Do not save or restore CR.
15545 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15546 (_dl_profile_resolve): Do no save or restore CR. Support extended
15547 return values for ELFv2 ABI. Fix location of FPR return registers.
15548 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15549 updated values for _CALL_ELF == 2.
15550 (La_regs, La_retval, int_retval): Likewise.
15551
8b8a692c
UW
155522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15553
15554 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15555 (FRAME_MIN_SIZE_PARM): Likewise.
15556 (FRAME_BACKCHAIN): Likewise.
15557 (FRAME_CR_SAVE): Likewise.
15558 (FRAME_LR_SAVE): Likewise.
15559 (FRAME_TOC_SAVE): Likewise.
15560 (FRAME_PARM_SAVE): Likewise.
15561 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15562 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15563 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15564 (call_mcount_parm_offset): New macro.
15565 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15566 (PROF): Use symbolic stack frame offsets.
15567 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15569 Redefine in terms of FRAME_MIN_SIZE.
15570 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15571 (_dl_profile_resolve): Likewise. Update comment.
15572 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15573 symbols stack frame offsets.
15574 (__sigsetjmp): Likewise.
15575 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15576 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15578 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15579
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15581 (FRAME_BACKCHAIN): Remove.
15582 (FRAME_CR_SAVE): Likewise.
15583 (FRAME_LR_SAVE): Likewise.
15584 (FRAME_COMPILER_DW): Likewise.
15585 (FRAME_LINKER_DW): Likewise.
15586 (FRAME_TOC_SAVE): Likewise.
15587 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15588 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15589 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15590 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15592 (CHECK_SP): Use symbolic stack frame offsets.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15594 zone" instead of caller's parameter save area for temp storage.
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15596 Likewise. Also, use symbolic stack frame offsets.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15598 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15599 our own stack frame instead of the caller's.
15600 (__socket): Use symbolic stack frame offsets.
15601
122b66de
UW
156022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15603 Alan Modra <amodra@gmail.com>
15604
15605 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15606 Define.
57f41c40
AS
15607 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15608 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15609 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15610 New function.
15611 (elf_machine_fixup_plt): Call it.
15612 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15613 reloc arguments.
15614 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15616 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15617 r2 before calling target.
15618
696caf1d
UW
156192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15620 Alan Modra <amodra@gmail.com>
15621
15622 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15623 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15624 versions of macros to support ELFv2 ABI.
15625 (LOCALENTRY): New macro.
15626 (ENTRY, EALIGN): Use it.
15627 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15628 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15629 fall through into ENTRY entry point.
15630 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15631 Only define if _CALL_ELF != 2.
15632
15633 (elf_machine_matches_host): Verify ABI version matches.
15634 (RTLD_START): Use LOCALENTRY.
15635 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15636 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15637 (PLT_ENTRY_WORDS): New macro.
15638 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15639 (elf_machine_runtime_setup): Support ELFv2 ABI.
15640 (elf_machine_fixup_plt): Likewise.
15641 (elf_machine_plt_conflict): Likewise.
15642 (resolve_ifunc): Likewise.
15643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15645 Likewise.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15647 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15649 (makecontext): Support ELFv2 ABI.
15650 * elf/elf.h (EF_PPC64_ABI): Define.
15651
d31beafa
UW
156522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15653
57f41c40
AS
15654 * sysdeps/powerpc/powerpc64/sysdep.h
15655 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15656 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15657 (ENTRY) [ASSEMBLER]: ... but instead here ...
15658 (EALIGN) [ASSEMBLER]: ... and here.
15659 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15660 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15661 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15662 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15663 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15665 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15666 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15668 Use PPC64_LOAD_FUNCPTR.
15669
b525166b
UW
15670 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15671
7ec07d9a
AM
156722013-12-04 Alan Modra <amodra@gmail.com>
15673
15674 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15675 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15676 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15677 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15678
15679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15680 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15681 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15682 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15683 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15684 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15685
5162e7dd
UW
156862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15687
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15689 (__makecontext): Fix incorrect CFI when backtracing out of
15690 context created via makecontext.
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15692 (__setcontext): Fix incorrect CFI during switch to new context.
15693 (__novec_setcontext): Likewise.
15694
19e3372b
OB
156952013-12-04 Ondřej Bílka <neleai@seznam.cz>
15696
15697 [BZ #4772]
15698 * time/strptime_l.c (__strptime_internal): Allow modifiers
15699 in strptime.
15700 * time/tst-strptime.c (day_tests): Add testcase.
15701
ecaf142d
SP
157022013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15703
15704 * scripts/bench.pl: Skip over blank lines.
15705
fbf964ae
PE
157062013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15707
15708 [BZ #926]
15709 * manual/time.texi (Calendar Time): Clarify what timezone functions
15710 use.
15711
fa60a674
AZ
157122013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15713
15714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15715
d674f0ef
OB
157162013-12-04 Ondřej Bílka <neleai@seznam.cz>
15717
15718 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15719 implementation.
15720 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15721 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15722 * debug/memset_chk.c (__memset_chk): Likewise.
15723 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15724 * debug/strncpy_chk.c: Likewise.
15725
17dea188
JM
157262013-12-03 Joseph Myers <joseph@codesourcery.com>
15727
749008ff
JM
15728 [BZ #15268]
15729 [BZ #15425]
15730 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15731 (__ieee754_exp): For possibly underflowing results, check size of
15732 result and force underflow exception if required.
15733 * math/auto-libm-test-in: Add more tests of exp.
15734 * math/auto-libm-test-out: Regenerated.
15735 * sysdeps/i386/fpu/libm-test-ulps: Update.
15736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15737
17dea188
JM
15738 [BZ #16283]
15739 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15740 * math/w_exp2f.c (__exp2f): Likewise.
15741 * math/w_exp2l.c (__exp2l): Likewise.
15742 * math/auto-libm-test-in: Do not allow missing errno on exp2
15743 underflow.
15744 * math/auto-libm-test-out: Regenerated.
15745
b20de2c3
OB
157462013-12-03 Ondřej Bílka <neleai@seznam.cz>
15747
15748 [BZ #16274]
15749 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15750 handle filename validation.
15751 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15752 (do_open): Delete.
15753
d8e2dbe3
JM
157542013-12-03 Joseph Myers <joseph@codesourcery.com>
15755
34e16df5
JM
15756 [BZ #6786]
15757 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15758 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15759 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15760 <float.h>.
15761 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15763 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15765 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15766 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15767 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15768 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15769 Add more erfc tests.
15770 * math/auto-libm-test-out: Regenerated.
15771 * sysdeps/i386/fpu/libm-test-ulps: Update.
15772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15773
d8e2dbe3
JM
15774 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15775 exp2, expm1, j0 and j1.
15776 * math/auto-libm-test-out: Regenerated.
15777 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15778 (erfc_test_data): Likewise.
15779 (exp_test_data): Likewise.
15780 (exp_tonearest_test_data): Likewise.
15781 (exp_towardzero_test_data): Likewise.
15782 (exp_downward_test_data): Likewise.
15783 (exp_upward_test_data): Likewise.
15784 (exp10_test_data): Likewise.
15785 (exp2_test_data): Likewise.
15786 (expm1_test_data): Likewise.
15787 (j0_test_data): Likewise.
15788 (j1_test_data): Likewise.
15789 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15790 (input_flag_type): Add flag_xfail_rounding.
15791 (input_flags): Add xfail-rounding.
15792 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15793 (output_for_one_input_case): Handle flag_xfail_rounding.
15794 * sysdeps/i386/fpu/libm-test-ulps: Update.
15795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15796
18d14251
AJ
157972013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15798
3d2e6075 15799 [BZ #16289]
18d14251
AJ
15800 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15801 division by 0.
15802
520d437b
SP
158032013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15804
15805 [BZ #16195]
15806 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15807 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15808 (STAP_PROBE0): New macro.
15809 (STAP_PROBE1): Likewise.
15810 (STAP_PROBE2): Likewise.
15811 (STAP_PROBE3): Likewise.
15812 (STAP_PROBE4): Likewise.
15813
416e0145
OB
158142013-12-02 Ondřej Bílka <neleai@seznam.cz>
15815
15816 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15817
9d17796a
SE
158182013-12-02 Steve Ellcey <sellcey@mips.com>
15819
15820 * benchtests/Makefile (bench): Add sqrt.
15821 (LDLIBS-bench-sqrt): New.
15822 * benchtests/sqrt-input: New.
15823
f524d6a8
PS
158242013-12-02 Pavel Simerda <psimerda@redhat.com>
15825
639a0ef8
PS
15826 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15827 (GAIH_EAI): Likewise.
15828 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15829 (gaih_inet): Likewise.
15830 (getaddrinfo): Don't use GAIH_EAI.
15831
f524d6a8
PS
15832 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15833 (struct gaih): Remove definition.
15834
df3aedaf
SP
158352013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15836
15837 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15838 Use HERRNOP directly.
15839
1ab19dec
AZ
158402013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15841
b42ad38d 15842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15843
176b0c79
JM
158442013-11-30 Joseph Myers <joseph@codesourcery.com>
15845
15846 * math/gen-auto-libm-tests.c (test_functions): Add more
15847 single-argument functions.
15848 (special_fill_pi_2): New function.
15849 (special_fill_minus_pi_2): Likewise.
15850 (special_fill_pi_6): Likewise.
15851 (special_fill_minus_pi_6): Likewise.
15852 (special_fill_pi_3): Likewise.
15853 (special_fill_2pi_3): Likewise.
15854 (special_fill_e): Likewise.
15855 (special_fill_1_e): Likewise.
15856 (special_fill_e_minus_1): Likewise.
15857 (special_real_inputs): Add more special inputs.
15858 (output_for_one_input_case): Do not require ERANGE on underflow to
15859 zero if round-to-nearest result does not underflow to zero, unless
15860 exact results required.
15861 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15862 atan, atanh, cbrt, cos and cosh.
15863 * math/auto-libm-test-out: Regenerated.
15864 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15865 (acos_tonearest_test_data): Likewise.
15866 (acos_towardzero_test_data): Likewise.
15867 (acos_downward_test_data): Likewise.
15868 (acos_upward_test_data): Likewise.
15869 (acosh_test_data): Likewise.
15870 (asin_test_data): Likewise.
15871 (asin_tonearest_test_data): Likewise.
15872 (asin_towardzero_test_data): Likewise.
15873 (asin_upward_test_data): Likewise.
15874 (asinh_test_data): Likewise.
15875 (atan_test_data): Likewise.
15876 (atanh_test_data): Likewise.
15877 (cbrt_test_data): Likewise.
15878 (cos_test_data): Likewise.
15879 (cos_tonearest_test_data): Likewise.
15880 (cos_towardzero_test_data): Likewise.
15881 (cos_downward_test_data): Likewise.
15882 (cos_upward_test_data): Likewise.
15883 (cosh_test_data): Likewise.
15884 (cosh_tonearest_test_data): Likewise.
15885 (cosh_towardzero_test_data): Likewise.
15886 (cosh_downward_test_data): Likewise.
15887 (cosh_upward_test_data): Likewise.
15888 * sysdeps/i386/fpu/libm-test-ulps: Update.
15889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15890
ffb536d0
JM
158912013-11-29 Joseph Myers <joseph@codesourcery.com>
15892
2a77a467
JM
15893 [BZ #6787]
15894 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15895 * math/w_exp10f.c (__exp10f): Likewise.
15896 * math/w_exp10l.c (__exp10l): Likewise.
15897 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15898 errno settings in existing tests.
15899
ea3bc4e8
JM
15900 [BZ #14032]
15901 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15902 precision control set to double precision.
15903 * sysdeps/i386/fpu/w_sqrt.c: New file.
15904 * math/auto-libm-test-in: Add more tests.
15905 * math/auto-libm-test-out: Update.
15906
0712c9d8
JM
15907 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15908 (sqrt_test_tonearest): New function.
15909 (sqrt_towardzero_test_data): New variable.
15910 (sqrt_test_towardzero): New function.
15911 (sqrt_downward_test_data): New variable.
15912 (sqrt_test_downward): New function.
15913 (sqrt_upward_test_data): New variable.
15914 (sqrt_test_upward): New function.
15915 (main): Call the new functions.
15916
ffb536d0
JM
15917 * math/gen-auto-libm-tests.c: New file.
15918 * math/auto-libm-test-in: Likewise.
15919 * math/auto-libm-test-out: New generated file.
15920 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15921 variables.
15922 (%beautify): Add generated representations of zero.
15923 (top level): Set $auto_input and call parse_auto_input.
15924 (beautify): Remove trailing "f" from hex float constants.
15925 (parse_args): Handle XFAIL_TEST.
15926 (convert_condition): New function.
15927 (or_value): Likewise.
15928 (or_cond_value): Likewise.
15929 (generate_testfile): Handle AUTO_TESTS_* lines.
15930 (parse_auto_input): New function.
15931 * math/libm-test.inc (XFAIL_TEST): New macro.
15932 (ERRNO_UNCHANGED): Update value.
15933 (ERRNO_EDOM): Likewise.
15934 (ERRNO_ERANGE): Likewise.
15935 (IGNORE_RESULT): Likewise.
15936 (TEST_COND_flt_32): New macro.
15937 (TEST_COND_dbl_64): Likewise.
15938 (TEST_COND_ldbl_96_intel): Likewise.
15939 (TEST_COND_ldbl_96_m68k): Likewise.
15940 (TEST_COND_ldbl_128): Likewise.
15941 (TEST_COND_ldbl_128ibm): Likewise.
15942 (TEST_COND_long32): Likewise.
15943 (TEST_COND_long64): Likewise.
15944 (TEST_COND_before_rounding): Likewise.
15945 (TEST_COND_after_rounding): Likewise.
15946 (enable_test): Handle XFAIL_TEST flag.
15947 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15948 with finite results.
15949 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15950 auto-libm-test-out.
15951
acd98a8e
AK
159522013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15953 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15954
15955 [BZ #16214]
15956 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15957 __tls_get_addr_internal instead of __tls_get_offset in order to
15958 avoid GOT pointer dependency. Make rtld export
15959 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15960 __tls_get_addr since we are a __tls_get_offset platform.
15961 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15962 GOT pointer being set up before.
15963 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15964
3c1c46a6
JM
159652013-11-28 Joseph Myers <joseph@codesourcery.com>
15966
7475aef5
JM
15967 * manual/math.texi (Errors in Math Functions): Document accuracy
15968 goals.
15969
8bca7cd8
JM
15970 [BZ #15004]
15971 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15972 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15975 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15987
91a1f3fe
JM
15988 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15989 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15990 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15991 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15992 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15993 Likewise.
15994 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15995 Likewise.
15996 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15997 Likewise.
15998 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15999 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16000 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16001 atomic-feupdateenv and flt-rounds.
16002 * sysdeps/powerpc/nofpu/Versions (libc): Add
16003 __atomic_feholdexcept, __atomic_feclearexcept,
16004 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16006 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16007 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16008 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16009 here.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16011 Update.
16012
c5df7609
JM
16013 * manual/arith.texi (FP Exceptions): Document that exceptions may
16014 not be raised when matherr is used.
16015 (Math Error Reporting): Document overflow in directed rounding
16016 modes. Document that errno may not be set when finite values are
16017 returned on overflow. Document intent to set errno on underflow
16018 only for underflow to zero.
16019
3c1c46a6
JM
16020 [BZ #16271]
16021 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16022 round-to-nearest then adjust result for other rounding modes.
16023 * include/fenv.h (fegetround): Use libm_hidden_proto.
16024 * math/fegetround.c (fegetround): Use libm_hidden_def.
16025 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16026 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16028 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16029 Likewise.
16030 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16032 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16033 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16034
5a4c6d53
SP
160352013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16036
16037 [BZ #16077]
16038 * nss/Versions (libnss_files): Add
16039 _nss_files_gethostbyname3_r.
16040 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16041 New function.
16042 (HOST_DB_LOOKUP): Remove macro.
16043 (_nss_files_gethostbyname_r): Implement function without the
16044 HOST_DB_LOOKUP macro.
16045 (_nss_files_gethostbyname2_r): Likewise.
16046
897b98ba
OB
160472013-11-28 Ondřej Bílka <neleai@seznam.cz>
16048
16049 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16050
6f476861
UB
160512013-11-26 Uros Bizjak <ubizjak@gmail.com>
16052
16053 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16054 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16055 warning.
16056
bd12ab55
AZ
160572013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16058
16059 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16060 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16062 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16063 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16064 __fe_nomask_env_priv and attribute_hidden.
16065 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16066 (libc_feupdateenv_test_ppc): Likewise.
16067 (libc_feresetround_ppc): Likewise.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16069 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16070 compat_symbol macro.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16072 (__fe_nomask_env): Likewise.
16073 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16074
52bb6543
OB
160752013-11-26 Ondřej Bílka <neleai@seznam.cz>
16076
16077 * string/Makefile: Remove ifunc tests.
16078 * string/test-string.h: Define TEST_IFUNC.
16079 * string/test-bcopy-ifunc.c: Remove.
16080 * string/test-bzero-ifunc.c: Likewise.
16081 * string/test-memccpy-ifunc.c: Likewise.
16082 * string/test-memchr-ifunc.c: Likewise.
16083 * string/test-memcmp-ifunc.c: Likewise.
16084 * string/test-memcpy-ifunc.c: Likewise.
16085 * string/test-memmem-ifunc.c: Likewise.
16086 * string/test-memmove-ifunc.c: Likewise.
16087 * string/test-mempcpy-ifunc.c: Likewise.
16088 * string/test-memrchr-ifunc.c: Likewise.
16089 * string/test-memset-ifunc.c: Likewise.
16090 * string/test-rawmemchr-ifunc.c: Likewise.
16091 * string/test-stpcpy-ifunc.c: Likewise.
16092 * string/test-stpncpy-ifunc.c: Likewise.
16093 * string/test-strcasecmp-ifunc.c: Likewise.
16094 * string/test-strcasestr-ifunc.c: Likewise.
16095 * string/test-strcat-ifunc.c: Likewise.
16096 * string/test-strchr-ifunc.c: Likewise.
16097 * string/test-strchrnul-ifunc.c: Likewise.
16098 * string/test-strcmp-ifunc.c: Likewise.
16099 * string/test-strcpy-ifunc.c: Likewise.
16100 * string/test-strcspn-ifunc.c: Likewise.
16101 * string/test-strlen-ifunc.c: Likewise.
16102 * string/test-strncasecmp-ifunc.c: Likewise.
16103 * string/test-strncat-ifunc.c: Likewise.
16104 * string/test-strncmp-ifunc.c: Likewise.
16105 * string/test-strncpy-ifunc.c: Likewise.
16106 * string/test-strnlen-ifunc.c: Likewise.
16107 * string/test-strpbrk-ifunc.c: Likewise.
16108 * string/test-strrchr-ifunc.c: Likewise.
16109 * string/test-strspn-ifunc.c: Likewise.
16110 * string/test-strstr-ifunc.c: Likewise.
16111
ab260039 161122013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16113
16114 * benchtests/Makefile: Remove ifunc tests.
16115 * benchtests/bench-string.h: Define TEST_IFUNC.
16116 * benchtests/bench-bcopy-ifunc.c: Remove.
16117 * benchtests/bench-bzero-ifunc.c: Likewise.
16118 * benchtests/bench-memccpy-ifunc.c: Likewise.
16119 * benchtests/bench-memchr-ifunc.c: Likewise.
16120 * benchtests/bench-memcmp-ifunc.c: Likewise.
16121 * benchtests/bench-memcpy-ifunc.c: Likewise.
16122 * benchtests/bench-memmem-ifunc.c: Likewise.
16123 * benchtests/bench-memmove-ifunc.c: Likewise.
16124 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16125 * benchtests/bench-memrchr-ifunc.c: Likewise.
16126 * benchtests/bench-memset-ifunc.c: Likewise.
16127 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16128 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16129 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16130 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16131 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16132 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16133 * benchtests/bench-strcat-ifunc.c: Likewise.
16134 * benchtests/bench-strchr-ifunc.c: Likewise.
16135 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16136 * benchtests/bench-strcmp-ifunc.c: Likewise.
16137 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16138 * benchtests/bench-strcpy-ifunc.c: Likewise.
16139 * benchtests/bench-strcspn-ifunc.c: Likewise.
16140 * benchtests/bench-strlen-ifunc.c: Likewise.
16141 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16142 * benchtests/bench-strncat-ifunc.c: Likewise.
16143 * benchtests/bench-strncmp-ifunc.c: Likewise.
16144 * benchtests/bench-strncpy-ifunc.c: Likewise.
16145 * benchtests/bench-strnlen-ifunc.c: Likewise.
16146 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16147 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16148 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16149 * benchtests/bench-strspn-ifunc.c: Likewise.
16150 * benchtests/bench-strstr-ifunc.c: Likewise.
16151
161522013-11-26 Ondřej Bílka <neleai@seznam.cz>
16153
ab260039
OB
16154 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16155
d1d9eaf4 161562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16157
d1d9eaf4
OB
16158 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16159 * rt/aio.h: Likewise.
16160 * sysdeps/gnu/bits/utmp.h: Likewise.
16161 * sysdeps/gnu/bits/utmpx.h: Likewise.
16162 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16163 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16164 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16165 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16166 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16167 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16168 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16169 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16170 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16171 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16172 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16174 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16176 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16177 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16178 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16179 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16180 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16181 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16183 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16184 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16185 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16186 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16190 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16193 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16194 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16195 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16197 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16198 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16199 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16200 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16201 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16202 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16203 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16204
a7624ed9
CD
162052013-11-25 Carlos O'Donell <carlos@redhat.com>
16206
16207 [BZ #16245]
16208 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16209 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16210
63cfe52b
JM
162112013-11-25 Joseph Myers <joseph@codesourcery.com>
16212
16213 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16214 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16215 Likewise.
16216
41e8926a
AZ
162172013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16218
16219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16220 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16221 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16222 (__fesetround): Remove define.
16223 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16224 rounding and exceptions handling.
16225 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16226 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16227 (__fe_nomask_env): Likewise.
16228 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16229 __fegetround instead of fegetround.
16230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16232
6851bd4d
RM
162332013-11-21 Roland McGrath <roland@hack.frob.com>
16234
070906ff
RM
16235 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16236 it's there.
16237
6851bd4d
RM
16238 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16239
84ae135d
MI
162402013-11-21 Meador Inge <meadori@codesourcery.com>
16241
16242 [BZ #11157]
16243 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16244 (encrypt_r): Likewise.
16245 * malloc/obstack.h (obstack_free): Likewise.
16246 * posix/unistd.h (encrypt): Likewise.
16247
daf75146
GM
162482013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16249
16250 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16251 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16252 DL_CALL_DT_FINI() that call the functions directly.
16253 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16254 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16255 * elf/dl-fini.c: Likewise.
16256
10ad46bc
OB
162572013-11-20 Ondřej Bílka <neleai@seznam.cz>
16258
16259 * malloc/hooks.c (memalign_check): Add alignment rounding.
16260 * malloc/malloc.c (_mid_memalign): New function.
16261 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16262 Implement by calling _mid_memalign.
16263 * manual/probes.texi (Memory Allocation Probes): Remove
16264 memory_valloc_retry and memory_pvalloc_retry.
16265
f3fd2628
SP
162662013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16267
4712799f
SP
16268 * locale/programs/locarchive.c (open_archive): Add const
16269 qualifier to ARCHIVEFNAME and copy default fname to
16270 DEFAULT_FNAME.
16271
0417b20f
SP
16272 [BZ #15601]
16273 * libio/tst-widetext.input: Rename Oriya to Odia.
16274 * locale/iso-639.def: Likewise.
16275
f3fd2628
SP
16276 * manual/probes.texi (Mathematical Function Probes): Add
16277 documentation for sin, cos, asin and acos probes.
16278 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16279 (__sin32): Add slowasin probe.
16280 (__cos32): Add slowacos probe.
16281 (__mpsin): Add slowsin probe.
16282 (__mpcos): Add slowcos probe.
16283
73c1ce4f
JM
162842013-11-19 Joseph Myers <joseph@codesourcery.com>
16285
16286 [BZ #15483]
16287 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16288 thread-local __sim_exceptions_thread and global
16289 __sim_exceptions_global.
16290 (__sim_disabled_exceptions): Change to thread-local
16291 __sim_disabled_exceptions_thread and global
16292 __sim_disabled_exceptions_global.
16293 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16294 and global __sim_round_mode_global.
16295 (__simulate_exceptions): Use thread-local floating-point state and
16296 set global state from it as needed.
16297 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16298 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16299 __sim_round_mode_thread.
16300 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16301 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16302 and global __sim_exceptions_global.
16303 (__sim_disabled_exceptions): Change to thread-local
16304 __sim_disabled_exceptions_thread and global
16305 __sim_disabled_exceptions_global.
16306 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16307 and global __sim_round_mode_global.
16308 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16309 (SIM_SET_GLOBAL): Likewise.
16310 * sysdeps/powerpc/soft-fp/sfp-machine.h
16311 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16312 __sim_round_mode_thread.
16313 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16314 __sim_disabled_exceptions_thread.
16315 (__sim_exceptions): Change to __sim_exceptions_thread.
16316 (__sim_disabled_exceptions): Change to
16317 __sim_disabled_exceptions_thread.
16318 (__sim_round_mode): Change to __sim_round_mode_thread.
16319 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16320 thread-local floating-point state and set global state from it as
16321 needed.
16322 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16323 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16324 (__sim_disabled_exceptions): Remove extern declaration.
16325 (feenableexcept): Use thread-local floating-point state and set
16326 global state from it as needed.
16327 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16328 extern declaration.
16329 (__sim_disabled_exceptions): Likewise.
16330 (__sim_round_mode): Likewise.
16331 (__fegetenv): Use thread-local floating-point state.
16332 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16333 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16334 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16335 floating-point state and set global state from it as needed.
16336 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16337 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16338 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16339 Likewise.
16340 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16341 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16342 Likewise.
16343 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16344 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16345 Use __sim_round_mode_thread.
16346 * math/test-fenv-tls.c: New file.
16347 * math/Makefile (tests): Add test-fenv-tls.
16348 ($(objpfx)test-fenv-tls): Depend on
16349 $(common-objpfx)nptl/libpthread.so.
16350
b5449b12
AS
163512013-11-19 Andreas Schwab <schwab@suse.de>
16352
16353 * locale/programs/locale.c (show_info): Decode wordarray elements.
16354 * locale/categories.def (LC_MONETARY): Add element for
16355 _NL_MONETARY_CRNCYSTR.
16356 * locale/C-monetary.c (conversion_rate): New variable.
16357 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16358 element.
16359
e186536b
CM
163602013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16361
16362 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16363 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16364
5c349950
PP
163652013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16366
16367 * elf/Makefile (tst-auxv): New test.
16368 * elf/tst-auxv.c: New
16369 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16370
699df45b
JM
163712013-11-18 Joseph Myers <joseph@codesourcery.com>
16372
16373 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16374 (hidden_proto): Caller changed.
16375 (hidden_tls_proto): New macro.
16376 (libc_hidden_tls_proto): Likewise.
16377 (rtld_hidden_tls_proto): Likewise.
16378 (libm_hidden_tls_proto): Likewise.
16379 (libresolv_hidden_tls_proto): Likewise.
16380 (librt_hidden_tls_proto): Likewise.
16381 (libdl_hidden_tls_proto): Likewise.
16382 (libnss_files_hidden_tls_proto): Likewise.
16383 (libnsl_hidden_tls_proto): Likewise.
16384 (libnss_nisplus_hidden_tls_proto): Likewise.
16385 (libutil_hidden_tls_proto): Likewise.
16386
b7589107
OB
163872013-11-18 Ondřej Bílka <neleai@seznam.cz>
16388
16389 [BZ #10253]
16390 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16391 (decompose_rpath): Defer expansion to fillin_rpath.
16392 (_dl_init_paths): Pass linkmap to fillin_rpath.
16393
250c23bd
RS
163942013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16395
16396 * benchtests/Makefile: Add strsep.
16397 * benchtests/bench-strsep.c: New file: strsep benchtest.
16398 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16399
a7931fcf
AS
164002013-11-18 Andreas Schwab <schwab@suse.de>
16401
16402 * locale/programs/locale.c (show_info) [case byte]: Check for
16403 '\377' instead of '\177'.
16404 * locale/C-monetary.c (not_available): Always use "\377".
16405 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16406 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16407 detect unavailable sign_posn locale elements.
16408 * locale/localeconv.c (__localeconv): For grouping and
16409 mon_grouping handle "\177" and "\377" like no grouping.
16410 (INT_ELEM): New macro. Use it to set all numeric members.
16411 * locale/programs/ld-monetary.c (monetary_read)
16412 <tok_mon_grouping>: Normalize single -1 to the empty string.
16413 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16414 Likewise.
16415
728dab0e
OB
164162013-11-07 Ondřej Bílka <neleai@seznam.cz>
16417
16418 [BZ #16055]
16419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16420 when we match (nil).
16421 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16422
66294491
JM
164232013-11-16 Joseph Myers <joseph@codesourcery.com>
16424
ce665817
JM
16425 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16426 (NO_TEST_INLINE): Update value.
16427 (ERRNO_UNCHANGED): Likewise.
16428 (ERRNO_EDOM): Likewise.
16429 (ERRNO_ERANGE): Likewise.
16430 (IGNORE_RESULT): Likewise.
16431 (check_float_internal): Check signs of NaN results if
16432 TEST_NAN_SIGN used.
16433 (check_complex): Pass TEST_NAN_SIGN flag through to second
16434 check_float_internal call.
16435 (copysign_test_data): Add tests with quiet NaNs as second
16436 argument. Use TEST_NAN_SIGN.
16437 (fabs_test_data): Add test of negative quiet NaN argument. Use
16438 TEST_NAN_SIGN.
16439 (signbit_test_data): Add tests of quiet NaN argument.
16440 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16441
ee1466a9
JM
16442 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16443 $ignore_result.
16444 (parse_args): Handle function results specified as IGNORE.
16445 * math/libm-test.inc (IGNORE_RESULT): New macro.
16446 (check_float_internal): Do not check numerical result if flag
16447 IGNORE_RESULT set.
16448 (check_complex): Pass through IGNORE_RESULT to second
16449 check_float_internal call.
16450 (check_int): Do not check numerical result if flag IGNORE_RESULT
16451 set.
16452 (check_long): Likewise.
16453 (check_bool): Likewise.
16454 (check_longlong): Likewise.
16455 (lrint_test_data): Add tests of infinite and NaN arguments.
16456 (lrint_tonearest_test_data): Likewise.
16457 (lrint_towardzero_test_data): Likewise.
16458 (lrint_downward_test_data): Likewise.
16459 (lrint_upward_test_data): Likewise.
16460 (llrint_test_data): Likewise.
16461 (llrint_tonearest_test_data): Likewise.
16462 (llrint_towardzero_test_data): Likewise.
16463 (llrint_downward_test_data): Likewise.
16464 (llrint_upward_test_data): Likewise.
16465 (lround_test_data): Likewise.
16466 (llround_test_data): Likewise.
16467
14407b7e
JM
16468 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16469 (ERRNO_UNCHANGED): Update value.
16470 (ERRNO_EDOM): Likewise.
16471 (ERRNO_ERANGE): Likewise.
16472 (NO_TEST_INLINE_FLOAT): New macro.
16473 (NO_TEST_INLINE_DOUBLE): Likewise.
16474 (enable_test): New function.
16475 (RUN_TEST_f_f): Check enable_test before running test.
16476 (RUN_TEST_2_f): Likewise.
16477 (RUN_TEST_fff_f): Likewise.
16478 (RUN_TEST_c_f): Likewise.
16479 (RUN_TEST_f_f1): Likewise.
16480 (RUN_TEST_fF_f1): Likewise.
16481 (RUN_TEST_fI_f1): Likewise.
16482 (RUN_TEST_ffI_f1): Likewise.
16483 (RUN_TEST_c_c): Likewise.
16484 (RUN_TEST_cc_c): Likewise.
16485 (RUN_TEST_f_i): Likewise.
16486 (RUN_TEST_f_i_tg): Likewise.
16487 (RUN_TEST_ff_i_tg): Likewise.
16488 (RUN_TEST_f_b): Likewise.
16489 (RUN_TEST_f_b_tg): Likewise.
16490 (RUN_TEST_f_l): Likewise.
16491 (RUN_TEST_f_L): Likewise.
16492 (RUN_TEST_fFF_11): Likewise.
16493 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16494 conditionals.
16495 (cosh_test_data): Likewise.
16496 (exp_test_data): Likewise.
16497 (expm1_test_data): Likewise.
16498 (hypot_test_data): Likewise.
16499 (pow_test_data): Likewise.
16500 (sinh_test_data): Likewise.
16501 (tanh_test_data): Likewise.
16502 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16503 flags argument.
16504
ca07f197
JM
16505 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16506 tests with quiet NaN input and output.
16507 (acosh_test_data): Likewise.
16508 (asin_test_data): Likewise.
16509 (asinh_test_data): Likewise.
16510 (atan_test_data): Likewise.
16511 (atanh_test_data): Likewise.
16512 (atan2_test_data): Likewise.
16513 (cbrt_test_data): Likewise.
16514 (cos_test_data): Likewise.
16515 (cosh_test_data): Likewise.
16516 (erf_test_data): Likewise.
16517 (erfc_test_data): Likewise.
16518 (exp_test_data): Likewise.
16519 (exp10_test_data): Likewise.
16520 (exp2_test_data): Likewise.
16521 (expm1_test_data): Likewise.
16522 (hypot_test_data): Likewise.
16523 (j0_test_data): Likewise.
16524 (j1_test_data): Likewise.
16525 (jn_test_data): Likewise.
16526 (lgamma_test_data): Likewise.
16527 (log_test_data): Likewise.
16528 (log10_test_data): Likewise.
16529 (log1p_test_data): Likewise.
16530 (log2_test_data): Likewise.
16531 (pow_test_data): Likewise.
16532 (scalb_test_data): Likewise.
16533 (sin_test_data): Likewise.
16534 (sincos_test_data): Likewise.
16535 (sinh_test_data): Likewise.
16536 (tan_test_data): Likewise.
16537 (tanh_test_data): Likewise.
16538 (tgamma_test_data): Likewise.
16539 (y0_test_data): Likewise.
16540 (y1_test_data): Likewise.
16541 (yn_test_data): Likewise.
16542
66294491
JM
16543 [BZ #16167]
16544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16545 argument being NaN and avoid computations with second argument in
16546 that case.
16547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16548 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16550
1820b143
CL
165512013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16552
16553 * locale/iso-639.def: Add Chitwani Tharu (the).
16554
714bd261
AS
165552013-11-14 Andreas Schwab <schwab@suse.de>
16556
16557 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16558 word instead of empty string.
16559
7ab44563
AZ
165602013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16561
16562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16563 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16565 (__fe_nomask_env): Likewise.
16566
e8470ea2
SE
165672013-11-13 Steve Ellcey <sellcey@mips.com>
16568
16569 * benchtests/bench-timing.h: Include time.h.
16570
17c1d9f0
L
165712013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16572
16573 [BZ #15997]
16574 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16575 to 3.4.0 for x32.
16576 * sysdeps/unix/sysv/linux/configure: Regenerated.
16577
9310c284
JM
165782013-11-13 Joseph Myers <joseph@codesourcery.com>
16579
16580 [BZ #16151]
16581 * stdlib/strtod_l.c (round_and_return): Do not consider
16582 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16583 exponent one less than half the least subnormal exponent.
16584 * stdlib/test-strtod-round-data: Add more tests.
16585 * stdlib/tst-strtod-round.c (tests): Regenerated.
16586
7a2ad8cf
AZ
165872013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16588
16589 [BZ #14143]
16590 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16591 (__fe_mask_env): Likewise.
16592 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16593 libm_hidden_proto and add function prototype.
16594 (__fe_mask_env): Add function prototype.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16596 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16598 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16600 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16601
50727aa7
MS
166022013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16603
b2f386c1 16604 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16605 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16606
a615be46
MS
166072013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16608
16609 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16610 of htab_find_slot().
16611
7ddace62
DM
166122013-11-11 David S. Miller <davem@davemloft.net>
16613
16614 [BZ #16150]
16615 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16616 symbol in the non-vis3 case in static builds.
16617 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16619 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16620 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16621
9182aa67
JK
166222013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16623
16624 [BZ #387]
16625 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16626 it is empty.
16627
450a2e2d
AZ
166282013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16629
b2f386c1
SP
16630 * benchtests/Makefile: Add bench-strtod.
16631 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16632
8ec3f656
AS
166332013-11-11 Andreas Schwab <schwab@suse.de>
16634
16635 [BZ #16153]
16636 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16637 terminating NUL in key length.
16638
76a9b998
AZ
166392013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16640
16641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16642 Add artificial ODP entry for vDSO symbol for PPC64.
16643 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16644 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16645
e4368156
OB
166462013-11-07 Ondřej Bílka <neleai@seznam.cz>
16647
16648 [BZ #15374]
16649 * nss/getent.c (services_keys): Recognize services starting with digit.
16650
8d6bb57c
DM
166512013-11-06 David S. Miller <davem@davemloft.net>
16652
16653 [BZ #15985]
16654 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16655 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16656
e256c421
WN
166572013-11-06 Will Newton <will.newton@linaro.org>
16658
16659 * manual/memory.texi (Malloc Examples): Remove register
16660 keyword from examples.
16661
f6e12daa 166622013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16663
f6e12daa 16664 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16665
9d880655
AS
166662013-11-04 Joseph Myers <joseph@codesourcery.com>
16667
fd2f9486 16668 [BZ #6981]
9d880655
AS
16669 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16670 depending on [__GCC_IEC_559 > 0].
16671 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16672 depending on [__GCC_IEC_559_COMPLEX > 0].
16673
ae129d3c
CL
166742013-11-03 Chris Leonard <cjl@sugarlabs.org>
16675
16676 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16677 to iso-639.def.
16678
4a15c2a4 166792013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16680
16681 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16682
8b35e35d
OB
166832013-11-01 Ondřej Bílka <neleai@seznam.cz>
16684
16685 [BZ #16112]
16686 * malloc/malloc (malloc_info): Do not handle first bin as
16687 special case.
16688
1d70fd6c
CL
166892013-11-01 Chris Leonard <cjl@sugarlabs.org>
16690
16691 * locale/iso-639.def: Add Central Nahuatl (nhn).
16692
8c5c2600
BH
166932013-11-01 Bruno Haible <bruno@clisp.org>
16694
16695 [BZ #7003]
16696 * manual/math.texi (BSD Random): Specify range upper bound as
16697 in POSIX.
16698
da5579c2
CL
166992013-10-31 Chris Leonard <cjl@sugarlabs.org>
16700
16701 * locale/iso-639.def: Add Meadow Mari (mhr).
16702
5d30d853
OB
167032013-10-31 Ondřej Bílka <neleai@seznam.cz>
16704
16705 [BZ #14752], [BZ #15763]
16706 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16707 Validate name.
16708 * rt/tst_shm.c: Add test for escaping directory.
16709
a4966c61
AS
167102013-10-31 Andreas Schwab <schwab@suse.de>
16711
8a43e768 16712 [BZ #15917]
a4966c61
AS
16713 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16714 followed by 'x' as part of digit sequence.
16715 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16716
28d708c4
MAP
167172013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16718
16719 [BZ #16037]
16720 * configure.ac: allow GNU Make 4.0 and greater.
16721 * configure: Regenerated.
16722
a56ee40b
WN
167232013-10-30 Will Newton <will.newton@linaro.org>
16724
16725 [BZ #16038]
16726 * malloc/hooks.c (memalign_check): Limit alignment to the
16727 maximum representable power of two.
16728 * malloc/malloc.c (__libc_memalign): Likewise.
16729 * malloc/tst-memalign.c (do_test): Add test for very
16730 large alignment values.
16731 * malloc/tst-posix_memalign.c (do_test): Likewise.
16732
c6e4925d
OB
167332013-10-30 Ondřej Bílka <neleai@seznam.cz>
16734
16735 [BZ #11087]
16736 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16737 (munmap_chunk): Likewise.
16738 (mremap_chunk): Likewise.
16739
167402013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16741
8a43e768 16742 [BZ #15799]
bbea82f7
OB
16743 * stdlib/div.c (div): Remove obsolete code.
16744 * stdlib/ldiv.c (ldiv): Likewise.
16745 * stdlib/lldiv.c (lldiv): Likewise.
16746
977f4b31
SP
167472013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16748
16749 [BZ #16071]
16750 * nss/nss_files/files-XXX.c (get_contents_ret): New
16751 enumerator.
16752 (get_contents): New function.
16753 (internal_getent): Use it. Expand size of LINEBUFLEN.
16754
cb8a6dbd
MF
167552013-10-30 Mike Frysinger <vapier@gentoo.org>
16756
16757 * configure.in: Moved to ...
16758 * configure.ac: ... here. Change reference to configure.in
16759 to configure.ac.
16760 * sysdeps/arm/preconfigure.ac: ... here.
16761 configure.in to configure.ac.
16762 * sysdeps/gnu/configure.in: Moved to ...
16763 * sysdeps/gnu/configure.ac: ... here.
16764 * sysdeps/i386/configure.in: Moved to ...
16765 * sysdeps/i386/configure.ac: ... here.
16766 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16767 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16768 * sysdeps/mach/configure.in: Moved to ...
16769 * sysdeps/mach/configure.ac: ... here.
16770 * sysdeps/mach/hurd/configure.in: Moved to ...
16771 * sysdeps/mach/hurd/configure.ac: ... here.
16772 * sysdeps/powerpc/configure.in: Moved to ...
16773 * sysdeps/powerpc/configure.ac: ... here.
16774 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16775 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16776 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16777 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16778 * sysdeps/s390/s390-32/configure.in: Moved to ...
16779 * sysdeps/s390/s390-32/configure.ac: ... here.
16780 * sysdeps/s390/s390-64/configure.in: Moved to ...
16781 * sysdeps/s390/s390-64/configure.ac: ... here.
16782 * sysdeps/sh/configure.in: Moved to ...
16783 * sysdeps/sh/configure.ac: ... here.
16784 * sysdeps/sparc/configure.in: Moved to ...
16785 * sysdeps/sparc/configure.ac: ... here.
16786 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16787 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16788 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16789 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16790 * sysdeps/x86_64/configure.in: Moved to ...
16791 * sysdeps/x86_64/configure.ac: ... here.
16792 * sysdeps/x86_64/preconfigure.in: Moved to ...
16793 * sysdeps/x86_64/preconfigure.ac: ... here.
16794 * aclocal.m4: Change reference to configure.in to configure.ac.
16795 * config.h.in: Likewise.
16796 * manual/install.texi: Likewise.
16797 * manual/maint.texi: Likewise.
16798 * Makefile: Likewise.
16799 * malloc/Makefile: Likewise.
16800 * nscd/Makefile: Likewise.
16801 * Makeconfig: Change reference to configure.in and
16802 preconfigure.in to configure.ac and preconfigure.ac
16803 respectively.
16804 * INSTALL: Regenerated.
16805 * configure: Likewise.
16806 * sysdeps/gnu/configure: Likewise.
16807 * sysdeps/i386/configure: Likewise.
16808 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16809 * sysdeps/mach/configure: Likewise.
16810 * sysdeps/mach/hurd/configure: Likewise.
16811 * sysdeps/powerpc/configure: Likewise.
16812 * sysdeps/powerpc/powerpc32/configure: Likewise.
16813 * sysdeps/powerpc/powerpc64/configure: Likewise.
16814 * sysdeps/s390/s390-32/configure: Likewise.
16815 * sysdeps/s390/s390-64/configure: Likewise.
16816 * sysdeps/sh/configure: Likewise.
16817 * sysdeps/sparc/configure: Likewise.
16818 * sysdeps/unix/sysv/linux/configure: Likewise.
16819 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16820 * sysdeps/x86_64/configure: Likewise.
16821 * sysdeps/x86_64/preconfigure: Likewise.
16822
36a4953a
AS
168232013-10-29 Andreas Schwab <schwab@suse.de>
16824
16825 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16826
c79a1204
SP
168272013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16828
dfa1b402
SP
16829 * benchtests/pow-inputs: Add new inputs.
16830
54f73d9c
SP
16831 * benchtests/exp-inputs: Add new inputs.
16832
c79a1204
SP
16833 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16834 conditional check for return value.
16835 (__cos32): Likewise.
16836
67beb545 168372013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16838
16839 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16840 to provide a boost for large inputs with word alignment.
16841 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16842 implementation based on optimized PPC64 strcpy.
16843 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16844 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16845 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16846 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16847
151659f6
OB
168482013-10-25 Ondřej Bílka <neleai@seznam.cz>
16849
482a077e 16850 [BZ #2801]
151659f6
OB
16851 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16852
10b0f26b
OB
168532013-10-25 Ondřej Bílka <neleai@seznam.cz>
16854
16855 [BZ #14876]
16856 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16857 * time/tst-strptime.c (day_tests): Add testcase.
16858
ca42d35e
OB
168592013-10-25 Ondřej Bílka <neleai@seznam.cz>
16860
482a077e 16861 [BZ #14029]
ca42d35e
OB
16862 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16863
52e6d801
FB
168642013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16865
16866 [BZ #16074]
16867 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16868 MAP_FAILED on error.
16869
7cbcdb36
SP
168702013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16871
16872 [BZ #16072]
16873 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16874 heap for large requests.
16875
894f3f10
AM
168762013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16877
16878 [BZ #9954]
16879 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16880 result if the result has no associated interface.
16881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16882 interface for all 127.X.Y.Z addresses.
16883
b85545a6
CL
168842013-10-24 Chris Leonard <cjl@sugarlabs.org>
16885
16886 * locale/iso-639.def: Add Ligurian (lij)
16887
d1f23d46
OB
168882013-10-21 Ondřej Bílka <neleai@seznam.cz>
16889
16890 [BZ #15825]
16891 * sunrpc/rpc_main.c: Document rpcgen -5.
16892
4db5b08f
MS
168932013-10-19 Michael Stahl <mstahl@redhat.com>
16894
16895 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16896
a471e96a
OB
168972013-10-19 Ondřej Bílka <neleai@seznam.cz>
16898
d1f23d46 16899 [BZ #10278]
a471e96a
OB
16900 * posix/glob.c: Match only directories when trailing slash is present.
16901 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16902 (main): Add testcase.
16903
45c30c61
OB
169042013-10-19 Ondřej Bílka <neleai@seznam.cz>
16905
16906 [BZ #15670]
16907 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16908
484c12fb
CD
169092013-10-18 Carlos O'Donell <carlos@redhat.com>
16910
3d7dc513
CD
16911 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16912 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16913 AUTH_DES and cindex for FIPS 140-2.
16914 (DES Encryption): Add cindex FIPS 46-3.
16915
484c12fb
CD
16916 * locale/locarchive.h (struct locarhandle): Add fname.
16917 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16918 if an optional argument was specified to --list-archive,
16919 otherwise NULL.
16920 * locale/programs/locarchive.c (show_archive_content): Take new
16921 argument fname and pass it via ah.fname to open_archive.
16922 * locale/programs/localedef.h: Update decl.
16923 (open_archive): If AH->fname is non-null, open that file
16924 rather than the default file name, and don't ignore ENOENT.
16925 (create_archive): Set AH.fname to NULL.
16926 (delete_locales_from_archive): Likewise.
16927 (add_locales_to_archive): Likewise.
16928 * locale/programs/locfile.c (write_all_categories): Likewise.
16929
3c8325fb
JM
169302013-10-18 Joseph Myers <joseph@codesourcery.com>
16931 Aldy Hernandez <aldyh@redhat.com>
16932
16933 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16934 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16935 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16936 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16937 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16939 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16940 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16941 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16942 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16943 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16945 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16946 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16948 Likewise.
16949 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16950 Likewise.
16951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16952 Likewise.
16953 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16954 Likewise.
16955 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16956 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16957 Likewise.
16958 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16959 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16960 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16961 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16962 Likewise.
16963 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16964 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16965 * sysdeps/powerpc/preconfigure: Likewise.
16966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16967 Likewise.
16968 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16969 Replace contents of file by #include of <fenv_libc.h>.
16970 * sysdeps/powerpc/soft-fp/sfp-machine.h
16971 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16972 and <sys/prctl.h>.
16973 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16986 Allow copysignl PLT reference to be missing.
16987
5abe0682
RS
169882013-10-18 Richard Sandiford <richard@codesourcery.com>
16989 Joseph Myers <joseph@codesourcery.com
16990
16991 [BZ #15948]
16992 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16993 single character.
16994 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16995
c7738d08
SP
169962013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16997
16998 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16999 * elf/tst-tls1.c: Likewise.
17000 * elf/tst-tls10.h: Likewise.
17001 * elf/tst-tls14.c: Likewise.
17002 * elf/tst-tls2.c: Likewise.
17003 * elf/tst-tls3.c: Likewise.
17004 * elf/tst-tls4.c: Likewise.
17005 * elf/tst-tls5.c: Likewise.
17006 * elf/tst-tls6.c: Likewise.
17007 * elf/tst-tls7.c: Likewise.
17008 * elf/tst-tls8.c: Likewise.
17009 * elf/tst-tls9.c: Likewise.
17010 * elf/tst-tlsmod1.c: Likewise.
17011 * elf/tst-tlsmod13.c: Likewise.
17012 * elf/tst-tlsmod13a.c: Likewise.
17013 * elf/tst-tlsmod14a.c: Likewise.
17014 * elf/tst-tlsmod16a.c: Likewise.
17015 * elf/tst-tlsmod16b.c: Likewise.
17016 * elf/tst-tlsmod2.c: Likewise.
17017 * elf/tst-tlsmod3.c: Likewise.
17018 * elf/tst-tlsmod4.c: Likewise.
17019 * elf/tst-tlsmod5.c: Likewise.
17020 * elf/tst-tlsmod6.c: Likewise.
17021
0bfcf2c7
OB
170222013-10-18 Ondřej Bílka <neleai@seznam.cz>
17023
17024 [BZ #12486]
17025 * malloc/malloc.c: remove checks for statistics.
17026
264aad1e
OB
170272013-10-17 Ondřej Bílka <neleai@seznam.cz>
17028
17029 [BZ #15277]
17030 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17031 * inet/tst-network.c: Add testcase.
17032
b957ced8
AS
170332013-10-17 Andreas Schwab <schwab@suse.de>
17034
17035 [BZ #15218]
17036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17037 to determine canonical name.
17038
c5d5d574
OB
170392013-10-17 Ondřej Bílka <neleai@seznam.cz>
17040
17041 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17042 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17065 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17066 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17099
e5c2c2d0
JM
171002013-10-17 Joseph Myers <joseph@codesourcery.com>
17101
17102 [BZ #16041]
17103 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17104 make result into a quiet NaN.
17105
51ca9e29
JM
171062013-10-16 Joseph Myers <joseph@codesourcery.com>
17107
17108 * soft-fp/adddf3.c: Fix horizontal whitespace.
17109 * soft-fp/addsf3.c: Likewise.
17110 * soft-fp/addtf3.c: Likewise.
17111 * soft-fp/divdf3.c: Likewise.
17112 * soft-fp/divsf3.c: Likewise.
17113 * soft-fp/divtf3.c: Likewise.
17114 * soft-fp/double.h: Likewise.
17115 * soft-fp/eqdf2.c: Likewise.
17116 * soft-fp/eqsf2.c: Likewise.
17117 * soft-fp/eqtf2.c: Likewise.
17118 * soft-fp/extenddftf2.c: Likewise.
17119 * soft-fp/extended.h: Likewise.
17120 * soft-fp/extendsfdf2.c: Likewise.
17121 * soft-fp/extendsftf2.c: Likewise.
17122 * soft-fp/extendxftf2.c: Likewise.
17123 * soft-fp/fixdfdi.c: Likewise.
17124 * soft-fp/fixdfsi.c: Likewise.
17125 * soft-fp/fixdfti.c: Likewise.
17126 * soft-fp/fixsfdi.c: Likewise.
17127 * soft-fp/fixsfsi.c: Likewise.
17128 * soft-fp/fixsfti.c: Likewise.
17129 * soft-fp/fixtfdi.c: Likewise.
17130 * soft-fp/fixtfsi.c: Likewise.
17131 * soft-fp/fixtfti.c: Likewise.
17132 * soft-fp/fixunsdfdi.c: Likewise.
17133 * soft-fp/fixunsdfsi.c: Likewise.
17134 * soft-fp/fixunsdfti.c: Likewise.
17135 * soft-fp/fixunssfdi.c: Likewise.
17136 * soft-fp/fixunssfsi.c: Likewise.
17137 * soft-fp/fixunssfti.c: Likewise.
17138 * soft-fp/fixunstfdi.c: Likewise.
17139 * soft-fp/fixunstfsi.c: Likewise.
17140 * soft-fp/fixunstfti.c: Likewise.
17141 * soft-fp/floatdidf.c: Likewise.
17142 * soft-fp/floatdisf.c: Likewise.
17143 * soft-fp/floatditf.c: Likewise.
17144 * soft-fp/floatsidf.c: Likewise.
17145 * soft-fp/floatsisf.c: Likewise.
17146 * soft-fp/floatsitf.c: Likewise.
17147 * soft-fp/floattidf.c: Likewise.
17148 * soft-fp/floattisf.c: Likewise.
17149 * soft-fp/floattitf.c: Likewise.
17150 * soft-fp/floatundidf.c: Likewise.
17151 * soft-fp/floatundisf.c: Likewise.
17152 * soft-fp/floatunditf.c: Likewise.
17153 * soft-fp/floatunsidf.c: Likewise.
17154 * soft-fp/floatunsisf.c: Likewise.
17155 * soft-fp/floatunsitf.c: Likewise.
17156 * soft-fp/floatuntidf.c: Likewise.
17157 * soft-fp/floatuntisf.c: Likewise.
17158 * soft-fp/floatuntitf.c: Likewise.
17159 * soft-fp/fmadf4.c: Likewise.
17160 * soft-fp/fmasf4.c: Likewise.
17161 * soft-fp/fmatf4.c: Likewise.
17162 * soft-fp/gedf2.c: Likewise.
17163 * soft-fp/gesf2.c: Likewise.
17164 * soft-fp/getf2.c: Likewise.
17165 * soft-fp/ledf2.c: Likewise.
17166 * soft-fp/lesf2.c: Likewise.
17167 * soft-fp/letf2.c: Likewise.
17168 * soft-fp/muldf3.c: Likewise.
17169 * soft-fp/mulsf3.c: Likewise.
17170 * soft-fp/multf3.c: Likewise.
17171 * soft-fp/negdf2.c: Likewise.
17172 * soft-fp/negsf2.c: Likewise.
17173 * soft-fp/negtf2.c: Likewise.
17174 * soft-fp/op-1.h: Likewise.
17175 * soft-fp/op-2.h: Likewise.
17176 * soft-fp/op-4.h: Likewise.
17177 * soft-fp/op-8.h: Likewise.
17178 * soft-fp/op-common.h: Likewise.
17179 * soft-fp/quad.h: Likewise.
17180 * soft-fp/single.h: Likewise.
17181 * soft-fp/soft-fp.h: Likewise.
17182 * soft-fp/sqrtdf2.c: Likewise.
17183 * soft-fp/sqrtsf2.c: Likewise.
17184 * soft-fp/sqrttf2.c: Likewise.
17185 * soft-fp/subdf3.c: Likewise.
17186 * soft-fp/subsf3.c: Likewise.
17187 * soft-fp/subtf3.c: Likewise.
17188 * soft-fp/truncdfsf2.c: Likewise.
17189 * soft-fp/trunctfdf2.c: Likewise.
17190 * soft-fp/trunctfsf2.c: Likewise.
17191 * soft-fp/trunctfxf2.c: Likewise.
17192 * soft-fp/unorddf2.c: Likewise.
17193 * soft-fp/unordsf2.c: Likewise.
17194 * soft-fp/unordtf2.c: Likewise.
17195
9ebb0332
JM
171962013-10-15 Joseph Myers <joseph@codesourcery.com>
17197
17198 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17199 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17200
4b1a6d8b
OB
172012013-10-15 Ondřej Bílka <neleai@seznam.cz>
17202
17203 * elf/dl-libc.c: Clear initfini list after freeing.
17204
1e145589
JM
172052013-10-14 Joseph Myers <joseph@codesourcery.com>
17206
17207 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17208 * soft-fp/addsf3.c: Likewise.
17209 * soft-fp/addtf3.c: Likewise.
17210 * soft-fp/divdf3.c: Likewise.
17211 * soft-fp/divsf3.c: Likewise.
17212 * soft-fp/divtf3.c: Likewise.
17213 * soft-fp/double.h: Likewise.
17214 * soft-fp/eqdf2.c: Likewise.
17215 * soft-fp/eqsf2.c: Likewise.
17216 * soft-fp/eqtf2.c: Likewise.
17217 * soft-fp/extenddftf2.c: Likewise.
17218 * soft-fp/extended.h: Likewise.
17219 * soft-fp/extendsfdf2.c: Likewise.
17220 * soft-fp/extendsftf2.c: Likewise.
17221 * soft-fp/extendxftf2.c: Likewise.
17222 * soft-fp/fixdfdi.c: Likewise.
17223 * soft-fp/fixdfsi.c: Likewise.
17224 * soft-fp/fixdfti.c: Likewise.
17225 * soft-fp/fixsfdi.c: Likewise.
17226 * soft-fp/fixsfsi.c: Likewise.
17227 * soft-fp/fixsfti.c: Likewise.
17228 * soft-fp/fixtfdi.c: Likewise.
17229 * soft-fp/fixtfsi.c: Likewise.
17230 * soft-fp/fixtfti.c: Likewise.
17231 * soft-fp/fixunsdfdi.c: Likewise.
17232 * soft-fp/fixunsdfsi.c: Likewise.
17233 * soft-fp/fixunsdfti.c: Likewise.
17234 * soft-fp/fixunssfdi.c: Likewise.
17235 * soft-fp/fixunssfsi.c: Likewise.
17236 * soft-fp/fixunssfti.c: Likewise.
17237 * soft-fp/fixunstfdi.c: Likewise.
17238 * soft-fp/fixunstfsi.c: Likewise.
17239 * soft-fp/fixunstfti.c: Likewise.
17240 * soft-fp/floatdidf.c: Likewise.
17241 * soft-fp/floatdisf.c: Likewise.
17242 * soft-fp/floatditf.c: Likewise.
17243 * soft-fp/floatsidf.c: Likewise.
17244 * soft-fp/floatsisf.c: Likewise.
17245 * soft-fp/floatsitf.c: Likewise.
17246 * soft-fp/floattidf.c: Likewise.
17247 * soft-fp/floattisf.c: Likewise.
17248 * soft-fp/floattitf.c: Likewise.
17249 * soft-fp/floatundidf.c: Likewise.
17250 * soft-fp/floatundisf.c: Likewise.
17251 * soft-fp/floatunsidf.c: Likewise.
17252 * soft-fp/floatunsisf.c: Likewise.
17253 * soft-fp/floatuntidf.c: Likewise.
17254 * soft-fp/floatuntisf.c: Likewise.
17255 * soft-fp/floatuntitf.c: Likewise.
17256 * soft-fp/fmadf4.c: Likewise.
17257 * soft-fp/fmasf4.c: Likewise.
17258 * soft-fp/fmatf4.c: Likewise.
17259 * soft-fp/gedf2.c: Likewise.
17260 * soft-fp/gesf2.c: Likewise.
17261 * soft-fp/getf2.c: Likewise.
17262 * soft-fp/ledf2.c: Likewise.
17263 * soft-fp/lesf2.c: Likewise.
17264 * soft-fp/letf2.c: Likewise.
17265 * soft-fp/muldf3.c: Likewise.
17266 * soft-fp/mulsf3.c: Likewise.
17267 * soft-fp/multf3.c: Likewise.
17268 * soft-fp/negdf2.c: Likewise.
17269 * soft-fp/negsf2.c: Likewise.
17270 * soft-fp/negtf2.c: Likewise.
17271 * soft-fp/op-1.h: Likewise.
17272 * soft-fp/op-2.h: Likewise.
17273 * soft-fp/op-4.h: Likewise.
17274 * soft-fp/op-8.h: Likewise.
17275 * soft-fp/op-common.h: Likewise.
17276 * soft-fp/quad.h: Likewise.
17277 * soft-fp/single.h: Likewise.
17278 * soft-fp/soft-fp.h: Likewise.
17279 * soft-fp/sqrtdf2.c: Likewise.
17280 * soft-fp/sqrtsf2.c: Likewise.
17281 * soft-fp/sqrttf2.c: Likewise.
17282 * soft-fp/subdf3.c: Likewise.
17283 * soft-fp/subsf3.c: Likewise.
17284 * soft-fp/subtf3.c: Likewise.
17285 * soft-fp/truncdfsf2.c: Likewise.
17286 * soft-fp/trunctfdf2.c: Likewise.
17287 * soft-fp/trunctfsf2.c: Likewise.
17288 * soft-fp/trunctfxf2.c: Likewise.
17289 * soft-fp/unorddf2.c: Likewise.
17290 * soft-fp/unordsf2.c: Likewise.
17291 * soft-fp/unordtf2.c: Likewise.
17292
17c48a60
OB
172932013-10-14 Ondřej Bílka <neleai@seznam.cz>
17294
17295 [BZ #15672]
17296 * misc/error.c (error_tail): Fix possible buffer overflow.
17297
cabba934
OB
172982013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17299
17300 [BZ #13028]
17301 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17302 address.
17303
94bf958a
PM
173042013-10-14 P. J. McDermott <pj@pehjota.net>
17305
17306 [BZ #832]
17307 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17308 testing pipefail option.
17309
71b4dea7
JM
173102013-10-12 Joseph Myers <joseph@codesourcery.com>
17311
17312 * soft-fp/double.h: Indent preprocessor directives inside #if.
17313 * soft-fp/extended.h: Likewise.
17314 * soft-fp/op-2.h: Likewise.
17315 * soft-fp/op-4.h: Likewise.
17316 * soft-fp/op-common.h: Likewise.
17317 * soft-fp/quad.h: Likewise.
17318 * soft-fp/single.h: Likewise.
17319 * soft-fp/soft-fp.h: Likewise.
17320
55602758
YC
173212013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17322
17323 * iconv/iconv_prog.c: Fix typos.
17324 * stdio-common/psiginfo-data.h: Likewise.
17325
9cd83302
RT
173262013-10-12 Reuben Thomas <rrt@sc3d.org>
17327
17328 [BZ #15764]
17329 * locale/setlocale.c: Fix typo.
17330
99fd9f47
JM
173312013-10-12 Joseph Myers <joseph@codesourcery.com>
17332
b7ea74f0
JM
17333 [BZ #16036]
17334 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17335 signaling NaN arguments.
17336 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17337 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17338
8a509447
JM
17339 [BZ #14910]
17340 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17341 unordered operands.
17342 * soft-fp/gesf2.c (__gesf2): Likewise.
17343 * soft-fp/getf2.c (__getf2): Likewise.
17344 * soft-fp/ledf2.c (__ledf2): Likewise.
17345 * soft-fp/lesf2.c (__lesf2): Likewise.
17346 * soft-fp/letf2.c (__letf2): Likewise.
17347
98998e9f
JM
17348 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17349 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17350 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17351 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17352 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17353 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17354 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17355 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17356 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17357 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17358 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17359 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17360 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17361 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17362 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17363 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17364 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17365 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17366 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17367 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17368 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17369 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17370 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17371 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17372 * soft-fp/floattidf.c (__floattidf): Likewise.
17373 * soft-fp/floattisf.c (__floattisf): Likewise.
17374 * soft-fp/floattitf.c (__floattitf): Likewise.
17375 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17376 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17377 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17378 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17379 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17380 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17381 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17382 * soft-fp/gesf2.c (__gesf2): Likewise.
17383 * soft-fp/getf2.c (__getf2): Likewise.
17384 * soft-fp/ledf2.c (__ledf2): Likewise.
17385 * soft-fp/lesf2.c (__lesf2): Likewise.
17386 * soft-fp/letf2.c (__letf2): Likewise.
17387
8edc4a11
JM
17388 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17389 Undefine and redefine.
17390 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17391 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17392 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17393 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17394 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17395 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17396 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17397 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17398 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17399 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17400 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17401 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17402 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17403 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17404 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17405
8399acaf
JM
17406 [BZ #16032]
17407 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17408 without decrementing exponent if mantissa >= that for the
17409 denominator, not >.
17410 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17411 denominator, not >. Decrement exponent in < case instead of
17412 incrementing in >= case.
17413 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17414 without decrementing exponent if mantissa >= that for the
17415 denominator, not >.
17416
99fd9f47
JM
17417 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17418 computing saturated result for unsigned overflow.
17419
10e1cf6b
SP
174202013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17421 Jeff Law <law@redhat.com>
17422
17423 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17424 (atan2Mp): Add systemtap probe marker.
17425 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17426 (__ieee754_log): Add systemtap probe marker.
17427 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17428 (atanMp): Add systemtap probe marker.
17429 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17430 (tanMp): Add systemtap probe marker.
17431 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17432 (__slowexp): Add systemtap probe marker.
17433 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17434 (__slowpow): Add systemtap probe marker.
17435 * manual/probes.texi: Document probes.
17436
3d110c7c
EB
174372013-10-11 Eric Biggers <ebiggers3@gmail.com>
17438
17439 [BZ #15362]
17440 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17441 written.
17442 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17443 written.
17444 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17445 written to buffer but not flushed.
17446 * libio/iofwrite_u.c: Likewise.
17447 * libio/iopadn.c: Return bytes returned even if EOF was
17448 encountered.
17449 * libio/iowpadn.c: Likewise.
17450 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17451 if _IO_padn does not write the whole buffer.
17452 [!COMPILE_WPRINTF] (PAD): Likewise.
17453
75b4202a
DM
174542013-10-10 David S. Miller <davem@davemloft.net>
17455
17456 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17457 directory block.
17458
6c6352e6
JM
174592013-10-10 Joseph Myers <joseph@codesourcery.com>
17460
33b853c3
JM
17461 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17462 instead of FSF address.
17463 * soft-fp/fixdfti.c: Likewise.
17464 * soft-fp/fixsfti.c: Likewise.
17465 * soft-fp/fixtfti.c: Likewise.
17466 * soft-fp/fixunsdfti.c: Likewise.
17467 * soft-fp/fixunssfti.c: Likewise.
17468 * soft-fp/fixunstfti.c: Likewise.
17469 * soft-fp/floattidf.c: Likewise.
17470 * soft-fp/floattisf.c: Likewise.
17471 * soft-fp/floattitf.c: Likewise.
17472 * soft-fp/floatuntidf.c: Likewise.
17473 * soft-fp/floatuntisf.c: Likewise.
17474 * soft-fp/floatuntitf.c: Likewise.
17475 * soft-fp/trunctfxf2.c: Likewise.
17476
6c6352e6
JM
17477 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17478 * soft-fp/fixdfti.c: Likewise.
17479 * soft-fp/fixsfti.c: Likewise.
17480 * soft-fp/fixtfti.c: Likewise.
17481 * soft-fp/fixunsdfti.c: Likewise.
17482 * soft-fp/fixunssfti.c: Likewise.
17483 * soft-fp/fixunstfti.c: Likewise.
17484 * soft-fp/floattidf.c: Likewise.
17485 * soft-fp/floattisf.c: Likewise.
17486 * soft-fp/floattitf.c: Likewise.
17487 * soft-fp/floatuntidf.c: Likewise.
17488 * soft-fp/floatuntisf.c: Likewise.
17489 * soft-fp/floatuntitf.c: Likewise.
17490 * soft-fp/trunctfxf2.c: Likewise.
17491
3bf78b71
DM
174922013-10-10 David S. Miller <davem@davemloft.net>
17493
17494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17495
6f10289e
JM
174962013-10-10 Joseph Myers <joseph@codsourcery.com>
17497
bd878fc0
JM
17498 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17499 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17500 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17501 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17502 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17503 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17504 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17505
6f10289e
JM
17506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17507 for NaNs before doing comparisons on argument.
17508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17509 Likewise.
17510
321e2684
WN
175112013-10-10 Will Newton <will.newton@linaro.org>
17512
17513 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17514 passed to _int_memalign does not overflow.
17515
40fefba1
TR
175162013-10-10 Torvald Riegel <triegel@redhat.com>
17517
17518 * scripts/bench.pl: Add include-sources directive.
17519 * benchtests/README: Update documentation.
17520
2ae21ed2
JM
175212013-10-10 Joseph Myers <joseph@codesourcery.com>
17522
dcc2dd3f
JM
17523 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17524 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17525 instead of FP_INIT_ROUNDMODE.
17526 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17527 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17528
2ae21ed2
JM
17529 [BZ #16034]
17530 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17531 copy class of input value.
17532 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17533 not handle exceptions.
17534 * soft-fp/negsf2.c (__negsf2): Likewise.
17535 * soft-fp/negtf2.c (__negtf2): Likewise.
17536 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17537
cb8f9562
JM
175382013-10-09 Joseph Myers <joseph@codesourcery.com>
17539
17540 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17541 semicolon. From Linux kernel.
17542
5b60c59d
AB
175432013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17544
17545 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17546
b86835ca
YC
175472013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17548
17549 [BZ #156]
17550 * manual/socket.texi: Added statement about buffer
17551 for gethostbyname2_r.
17552
e7044ea7
OB
175532013-10-08 Ondřej Bílka <neleai@seznam.cz>
17554
17555 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17556 Use .p2align directive instead, throughout.
17557 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17558 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17559 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17562 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17563 * sysdeps/x86_64/strchr.S: Likewise.
17564 * sysdeps/x86_64/strrchr.S: Likewise.
17565
09544cbc
SP
175662013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17567
88576635
SP
17568 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17569
e7b2d1dd
SP
17570 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17571
09544cbc
SP
17572 * sysdeps/generic/math_private.h (__mpsin1): Remove
17573 declaration.
17574 (__mpcos1): Likewise.
17575 (__mpsin): New argument __range_reduce.
17576 (__mpcos): Likewise.
17577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17578 (slow): Use __mpsin and __mpcos.
17579 (slow1): Likewise.
17580 (slow2): Likewise.
17581 (sloww): Likewise.
17582 (sloww1): Likewise.
17583 (sloww2): Likewise.
17584 (bsloww): Likewise.
17585 (bsloww1): Likewise.
17586 (bsloww2): Likewise.
17587 (cslow2): Likewise.
17588 (csloww): Likewise.
17589 (csloww1): Likewise.
17590 (csloww2): Likewise.
17591 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17592 range_reduce. Merge in __mpsin1.
17593 (__mpcos): Likewise.
17594 (__mpsin1): Remove.
17595 (__mpcos1): Likewise.
17596
7602d070
JM
175972013-10-07 Joseph Myers <joseph@codesourcery.com>
17598
17599 * locale/loadlocale.c (_nl_intern_locale_data): Use
17600 LOCFILE_ALIGNED_P.
17601 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17602 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17603 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17604 obstack data is appropriately aligned.
17605 (obstack_int32_grow_fast): Likewise.
17606 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17607 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17608 (add_locale_uint32_array): Likewise.
17609
a357259b
SP
176102013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17611
17612 * benchtests/Makefile: Remove ARGLIST and RET variables.
17613 ($(objpfx)bench-%.c): Pass only function name to the script.
17614 * benchtests/README: Update documentation.
17615 * benchtests/acos-inputs: Add new directives.
17616 * benchtests/acosh-inputs: Likewise.
17617 * benchtests/asin-inputs: Likewise.
17618 * benchtests/asinh-inputs: Likewise.
17619 * benchtests/atan-inputs: Likewise.
17620 * benchtests/atanh-inputs: Likewise.
17621 * benchtests/cos-inputs: Likewise.
17622 * benchtests/cosh-inputs: Likewise.
17623 * benchtests/exp-inputs: Likewise.
17624 * benchtests/log-inputs: Likewise.
17625 * benchtests/pow-inputs: Likewise.
17626 * benchtests/rint-inputs: Likewise.
17627 * benchtests/sin-inputs: Likewise.
17628 * benchtests/sinh-inputs: Likewise.
17629 * benchtests/tan-inputs: Likewise.
17630 * benchtests/tanh-inputs: Likewise.
17631 * scripts/bench.pl: Add support for new directives.
17632
9ec1b13d
AM
176332013-10-07 Alan Modra <amodra@gmail.com>
17634
17635 * README: Fix careless merge.
17636
8b7d57cd
AM
176372013-10-05 Alan Modra <amodra@gmail.com>
17638
17639 * NEWS: Mention powerpc64le support and bugs fixed.
17640 * README: Both big-endian and little-endian powerpc64 supported.
17641
7b7bab13
ST
176422013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17643
57f41c40
AS
17644 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17645 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17646 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17647 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17648
d39baad1
RA
176492013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17650
17651 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17652 match prototype.
17653
cd78f7e7
JM
176542013-10-04 Joseph Myers <joseph@codesourcery.com>
17655
29d73d86
JM
17656 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17657 Move -mhard-float appending from
17658 ports/sysdeps/powerpc/powerpc32/Makefile.
17659 [$(with-fp) = yes] (ASFLAGS): Likewise.
17660 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17661 * sysdeps/powerpc/nofpu: Move directory from
17662 ports/sysdeps/powerpc/nofpu.
17663 * sysdeps/powerpc/soft-fp: Move directory from
17664 ports/sysdeps/powerpc/soft-fp.
17665 * sysdeps/powerpc/powerpc32/405: Move directory from
17666 ports/sysdeps/powerpc/powerpc32/405.
17667 * sysdeps/powerpc/powerpc32/440: Move directory from
17668 ports/sysdeps/powerpc/powerpc32/440.
17669 * sysdeps/powerpc/powerpc32/464: Move directory from
17670 ports/sysdeps/powerpc/powerpc32/464.
17671 * sysdeps/powerpc/powerpc32/476: Move directory from
17672 ports/sysdeps/powerpc/powerpc32/476.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17683 * README: Update for powerpc-*-linux-gnu software floating point
17684 support in libc.
17685
e246b347
JM
17686 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17687 case to powerpc/powerpc32*.
17688 * sysdeps/unix/sysv/linux/configure: Regenerated.
17689
89c2003e
JM
17690 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17691 (_FPU_MASK_OM): Define as 0x04.
17692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17694 0x00c10080.
17695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17696 0x0000003c.
17697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17698
cd78f7e7
JM
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17700 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17701 getcontext_e500.
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17703 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17704 setcontext_e500.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17706 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17707 and setcontext_e500.
17708
c755294d
CL
177092013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17710
17711 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17712
e16d221c
SP
177132013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17714
17715 * manual/threads.texi (Default Thread Attributes): Fix typo.
17716
215c7d43
WN
177172013-10-04 Will Newton <will.newton@linaro.org>
17718
17719 * malloc/Makefile: Add tst-memalign.
17720 * malloc/tst-memalign.c: New file.
17721
27d0461b
WN
17722 * malloc/tst-posix_memalign.c: Add comments.
17723 (do_test): Add comments and call free on all potentially
17724 allocated pointers. Add space after cast.
17725
1bc92709
WN
17726 * malloc/tst-pvalloc.c: Add comments.
17727 (do_test): Add comments and call free on all potentially
17728 allocated pointers. Remove duplicate check for NULL pointer.
17729 Add space after cast.
17730
66a9be9d
WN
17731 * malloc/tst-valloc.c: Add comments.
17732 (do_test): Add comments and call free on all potentially
17733 allocated pointers. Remove duplicate check for NULL pointer.
17734 Add space after cast.
17735
4cb81307
AM
177362013-10-04 Alan Modra <amodra@gmail.com>
17737
17738 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17739 Use stdint types in rather than __attribute__((mode())).
17740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17741
f8e3e9f3
AM
177422013-10-04 Alan Modra <amodra@gmail.com>
17743
17744 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17745 Correct handling of unaligned relocs for little-endian.
17746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17747
8f9ebb08
AM
177482013-10-04 Alan Modra <amodra@gmail.com>
17749
17750 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17751 * configure: Regenerate.
17752 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17753 * shlib-versions: Likewise.
17754
0edf96c2
AM
177552013-10-04 Alan Modra <amodra@gmail.com>
17756
17757 * string/tester.c (test_memrchr): Increment reported test cycle.
17758
e0f7a380
AM
177592013-10-04 Alan Modra <amodra@gmail.com>
17760
17761 * string/test-memcpy.c (do_one_test): When reporting errors, print
17762 string address and don't overrun end of string.
17763
466b0393
AM
177642013-10-04 Alan Modra <amodra@gmail.com>
17765
17766 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17767 insrdi. Make better use of reg selection to speed exit slightly.
17768 Schedule entry path a little better. Remove useless "are we done"
17769 checks on entry to main loop. Handle wrapping around zero address.
17770 Correct main loop count. Handle single left-over word from main
17771 loop inline rather than by using loop_small. Remove extra word
17772 case in loop_small caused by wrong loop count. Add little-endian
17773 support.
17774 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17776 cache hint.
17777 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17778 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17779 support. Avoid rlwimi.
17780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17781
3be87c77
AM
177822013-10-04 Alan Modra <amodra@gmail.com>
17783
17784 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17785 insrdi. Formatting.
3be87c77
AM
17786 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17787 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17788 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17789 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17790 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17791 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17792
759cfef3
AM
177932013-10-04 Alan Modra <amodra@gmail.com>
17794
17795 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17799 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17804 use of regs. Use power7 mtocrf. Tidy function tails.
17805
fe6e95d7
AM
178062013-10-04 Alan Modra <amodra@gmail.com>
17807
17808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17809 Formatting. Consistently use rXXX register defines or rN defines.
17810 Use early exit labels that avoid restoring unused non-volatile regs.
17811 Make cr field use more consistent with rWORDn compares. Rename
17812 regs used as shift registers for unaligned loop, using rN defines
17813 for short lifetime/multiple use regs.
17814 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17816 addi 1,1,64 to pop stack frame. Simplify return value code.
17817 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17818
664318c3
AM
178192013-10-04 Alan Modra <amodra@gmail.com>
17820
17821 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17822 support. Correct typos, formatting. Optimize tail. Use insrdi
17823 rather than rlwimi.
17824 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17825 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17826 little-endian support. Correct typos.
17827 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17828 rather than rlwimi.
17829 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17830 in loop and entry code to keep "and." results.
17831 (strchr): Add little-endian support. Comment. Move cntlzd
17832 earlier in tail.
17833 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17834
43b84013
AM
178352013-10-04 Alan Modra <amodra@gmail.com>
17836
17837 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17838 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17839 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17840 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17841
8a7413f9
AM
178422013-10-04 Alan Modra <amodra@gmail.com>
17843
17844 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17845 (rTMP): Define as r11.
17846 (strcmp): Add little-endian support. Optimise tail.
17847 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17848 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17849 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17850 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17851 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17852 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17854
33ee81de
AM
178552013-10-04 Alan Modra <amodra@gmail.com>
17856
17857 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17858 little-endian support. Remove unnecessary "are we done" tests.
17859 Handle "s" wrapping around zero and extremely large "size".
17860 Correct main loop count. Handle single left-over word from main
17861 loop inline rather than by using small_loop. Correct comments.
17862 Delete "zero" tail, use "end_max" instead.
17863 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17864
db9b4570
AM
178652013-10-04 Alan Modra <amodra@gmail.com>
17866
17867 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17868 support. Don't branch over align.
17869 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17870 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17871 support. Rearrange tmp reg use to suit. Comment.
17872 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17873
f7c399cf
AM
178742013-10-04 Alan Modra <amodra@gmail.com>
17875
17876 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17877
0b2c2ace
AM
178782013-10-04 Alan Modra <amodra@gmail.com>
17879
17880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17881 conditional form of branch and link when obtaining pc.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17883
02f04a6c
AM
178842013-10-04 Alan Modra <amodra@gmail.com>
17885
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17887 HIWORD/LOWORD.
17888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17890
9b874b2f
AM
178912013-10-04 Alan Modra <amodra@gmail.com>
17892
17893 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17894 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17895 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17896 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17900 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17901 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17902 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17903
be1e5d31
AB
179042013-10-04 Anton Blanchard <anton@au1.ibm.com>
17905 Alistair Popple <alistair@ozlabs.au.ibm.com>
17906 Alan Modra <amodra@gmail.com>
17907
17908 [BZ #15723]
17909 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17910 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17911 _dl_hwcap access for little-endian.
17912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17913 destroy vmx regs when saving unaligned.
17914 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17916 destroy vmx regs when saving unaligned.
17917
fef13a78
AM
179182013-10-04 Alan Modra <amodra@gmail.com>
17919
17920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17921 Don't use a union to pack hi/low value.
17922
76a66d51
AB
179232013-10-04 Anton Blanchard <anton@au1.ibm.com>
17924
17925 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17926 for little-endian.
17927 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17929 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17930 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17931 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17932
6a31fe7f
AM
179332013-10-04 Alan Modra <amodra@gmail.com>
17934
17935 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17936 constants to usual value for .cst8 section, and remove redundant
17937 high address load.
17938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17939 constant for 0x1p52. Load little-endian words of double from
17940 correct stack offsets.
17941
7b88401f
AM
179422013-10-04 Alan Modra <amodra@gmail.com>
17943
17944 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17945 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17946 words of double from correct stack offsets.
17947 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17948 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17949 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17954 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17959 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17960 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17961 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17962 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17963 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17964
9c008155
AM
179652013-10-04 Alan Modra <amodra@gmail.com>
17966
17967 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17968 64-bit int/double union.
17969 (_FPU_SETCW): Likewise.
17970 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17971 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17972
da13146d
AM
179732013-10-04 Alan Modra <amodra@gmail.com>
17974
17975 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17976 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17977
603e8410
AM
179782013-10-04 Alan Modra <amodra@gmail.com>
17979
17980 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17981 use vector int constants.
17982 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17983
4a28b3ca
AB
179842013-10-04 Anton Blanchard <anton@au1.ibm.com>
17985
17986 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17987 array with long long.
17988 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17989 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17990 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17991 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17992 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17993 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17994 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17995 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17996 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17997 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17998 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17999 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18001
2ca85d2b
AB
180022013-10-04 Anton Blanchard <anton@au1.ibm.com>
18003
18004 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18005 (__signbit): Likewise. Correct for little-endian.
18006 (__signbitl): Call __signbit.
18007 (lrint): Correct for little-endian.
18008 (lrintf): Call lrint.
18009
62a728ae
AM
180102013-10-04 Alan Modra <amodra@gmail.com>
18011
18012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18013 union 32-bit int array member with 64-bit int array.
18014 (t515, tm256): Double rather than long double.
18015 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18016
32c301df
AM
180172013-10-04 Alan Modra <amodra@gmail.com>
18018
18019 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18020 Delete.
18021 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18023 version of math_ldbl.h.
18024
650ef4bd
AM
180252013-10-04 Alan Modra <amodra@gmail.com>
18026
18027 [BZ #15734], [BZ #15735]
18028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18029 all uses of ieee875 long double macros and unions. Simplify test
18030 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18031 ldbl_extract_mantissa value for ix,iy exponents. Properly
18032 normalize after ldbl_extract_mantissa, and don't add hidden bit
18033 already handled. Don't treat low word of ieee854 mantissa like
18034 low word of IBM long double and mask off bit when testing for
18035 zero.
18036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18037 all uses of ieee875 long double macros and unions. Simplify tests
18038 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18039 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18040 two1022, instead use their values. Recognise that tests for large
18041 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18043 Rewrite all uses of ieee875 long double macros and unions. Simplify
18044 test for 0.0L and nan. Correct negation.
18045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18046 ieee875 long double macros and unions. Correct output for large
18047 magnitude x. Correct absolute value calculation.
18048 (__erfcl): Likewise.
18049 * math/libm-test.inc: Add tests for errors discovered in IBM long
18050 double versions of fmodl, remainderl, erfl and erfcl.
18051
765714ca
AM
180522013-10-04 Alan Modra <amodra@gmail.com>
18053
18054 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18055 all uses of ieee854 long double macros and unions. Simplify tests
18056 for long doubles that are fully specified by the high double.
18057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18058 Likewise.
18059 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18060 Remove dead code too.
18061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18062 (__ieee754_ynl): Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18064 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18065 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18066 Remove dead code too.
18067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18070 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18071 Simplify.
18072 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18073 Simplify.
18074 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18077 Comment on variable precision.
18078 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18079 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18080 Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18085 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18086
4ebd120c
AM
180872013-10-04 Alan Modra <amodra@gmail.com>
18088
18089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18091 all uses of ieee854 long double macros and unions.
18092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18096 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18097 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18098 Likewise.
18099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18105 Simplify sign and nan test too.
18106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18107 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18108 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18110 Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18113 Likewise.
18114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18115 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18116 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18117 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18120
1b6adf88
AM
181212013-10-04 Alan Modra <amodra@gmail.com>
18122
18123 * stdio-common/printf_size.c (__printf_size): Don't use
18124 union ieee854_long_double in fpnum union.
18125 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18126 signbit macro to retrieve sign from long double.
18127 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18128 retrieve sign from long double.
18129 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18130 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18131 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18132 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18133 * math/test-misc.c (main): Don't use union ieee854_long_double.
18134
4cf69995
AM
181352013-10-04 Alan Modra <amodra@gmail.com>
18136
18137 [BZ #15680]
18138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18140 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18141 calculation. Remove unnecessary test for denormal exponent.
18142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18143 Correct handling of denormals. Avoid undefined shift behaviour.
18144 Correct normalisation of low mantissa when low double is denormal.
18145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18146 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18147 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18148 Correct normalisation of low mantissa. Test for overflow of high
18149 mantissa and normalise.
18150 (ldbl_nearbyint): Use more readable constant for two52.
18151 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18152 (__mpn_construct_long_double): Fix test for overflow of high
18153 mantissa and correct normalisation. Avoid undefined shift.
18154
9605ca6c
AM
181552013-10-04 Alan Modra <amodra@gmail.com>
18156
18157 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18158 (union ibm_extended_long_double): Define as an array of ieee754_double.
18159 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18160 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18161 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18162 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18170
975569d0
JM
181712013-10-03 Joseph Myers <joseph@codesourcery.com>
18172
d3d23756
JM
18173 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18174 page size instead of calling getpagesize.
18175
975569d0
JM
18176 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18177 (LOCFILE_ALIGN_MASK): Likewise.
18178 (LOCFILE_ALIGN_UP): Likewise.
18179 (LOCFILE_ALIGNED_P): Likewise.
18180 * locale/programs/ld-collate.c (collate_output): Use the new
18181 macros instead of __alignof__ (int32_t).
18182 * locale/weight.h (findidx): Likewise.
18183
b1fe1f2b
OB
181842013-10-03 Ondřej Bílka <neleai@seznam.cz>
18185
18186 [BZ #431]
18187 * manual/string.texi: Fix strncat and wcsncat.
18188
5f855e35
BM
181892013-10-03 Brooks Moses <bmoses@google.com>
18190
18191 [BZ #15915]
18192 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18193 * Makerules: ...here, and adjust associated comments.
18194
3cef6009
WN
181952013-10-02 Will Newton <will.newton@linaro.org>
18196
18197 * malloc/Makefile: Add tst-pvalloc.
18198 * malloc/tst-pvalloc.c: New file.
18199
7815420b
WN
182002013-10-02 Will Newton <will.newton@linaro.org>
18201
18202 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18203 improve test coverage.
18204
4868b204
WN
182052013-10-02 Will Newton <will.newton@linaro.org>
18206
18207 * malloc/Makefile: Add tst-posix_memalign.
18208 * malloc/tst-posix_memalign.c: New file.
18209
29c793b3
EB
182102013-10-01 Eric Blake <eblake@redhat.com>
18211
18212 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18213 Use __THROWNL rather than __THROW on static functions.
18214
fd967522
PM
182152013-09-30 Petr Machata <pmachata@redhat.com>
18216
18217 * elf/elf.h (R_AARCH64_ABS16): New macro.
18218 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18219 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18220 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18221 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18222 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18223 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18224 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18225 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18226 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18227 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18228 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18229 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18230 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18231 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18232 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18233 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18234 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18235 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18236 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18237 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18238 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18239 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18240 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18241 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18242 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18243 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18244 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18245 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18246 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18247 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18248 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18249 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18250 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18251 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18252 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18253 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18254 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18255 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18256 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18257 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18258 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18259 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18260 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18261 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18262 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18263 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18264 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18265 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18266 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18267 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18268 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18269 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18270 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18271 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18272 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18273 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18274 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18275 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18276 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18277 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18278 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18279 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18280 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18281 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18282 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18283 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18284 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18285 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18286 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18287 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18288 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18289 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18290 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18291 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18292 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18293 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18294 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18295 (R_AARCH64_TLSDESC_LDR): Likewise.
18296 (R_AARCH64_TLSDESC_ADD): Likewise.
18297 (R_AARCH64_TLSDESC_CALL): Likewise.
18298
b2179107
AS
182992013-09-30 Andreas Schwab <schwab@suse.de>
18300
18301 [BZ #15048]
18302 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18303 the nss database lookup.
18304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18306
47f28d0a
MF
183072013-09-28 Mike Frysinger <vapier@gentoo.org>
18308
18309 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18310
183112013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18312
18313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18314 ${Bash-specific parameter/pattern/string} parameter expansion.
18315 * sysdeps/unix/make-syscalls.sh: Likewise.
18316
f4518a17
KK
183172013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18318
18319 * sysdeps/sh/stackguard-macros.h: New file.
18320
dc1a95c7
OB
183212013-09-26 Ondřej Bílka <neleai@seznam.cz>
18322
18323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18325 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18326 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18328 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18329
5ebbff8f
AZ
183302013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18331
18332 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18333 Fix thread ID register.
18334
4fd2cf9f
JM
183352013-09-25 Joseph Myers <joseph@codesourcery.com>
18336
18337 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18338 [POSIX || UNIX98]: Require rather than permitting all symbols from
18339 <time.h>.
18340 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18341 element of struct sched_param.
18342 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18343 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18344 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18345 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18346 constant.
18347
12c22bc4
OL
183482013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18349
18350 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18351 argument calculation.
18352
a03d8ea7
JM
183532013-09-24 Joseph Myers <joseph@codesourcery.com>
18354
18355 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18356 Expect macro.
18357 [POSIX] (pthread_attr_t): Do not require type.
18358 [POSIX] (pthread_cond_t): Likewise.
18359 [POSIX] (pthread_condattr_t): Likewise.
18360 [POSIX] (pthread_key_t): Likewise.
18361 [POSIX] (pthread_mutex_t): Likewise.
18362 [POSIX] (pthread_mutexattr_t): Likewise.
18363 [POSIX] (pthread_once_t): Likewise.
18364 [POSIX] (pthread_t): Likewise.
18365 [POSIX-based standards] (pthread_atfork): Expect function.
18366
6055173a
JM
183672013-09-24 Joseph Myers <joseph@codesourcery.com>
18368 Richard Sandiford <richard@codesourcery.com>
18369
18370 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18371 (swap_endianness_p): New extern variable.
18372 (set_big_endian): New inline function.
18373 (maybe_swap_uint32): Likewise.
18374 (maybe_swap_uint32_array): Likewise.
18375 (maybe_swap_uint32_obstack): Likewise.
18376 * locale/programs/locfile.c: Include <stdbool.h>.
18377 (swap_endianness_p): New variable.
18378 (add_locale_uint32): Call maybe_swap_uint32.
18379 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18380 (write_locale_data): Call maybe_swap_uint32_array.
18381 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18382 maybe_swap_uint32.
18383 (obstack_int32_grow_fast): Likewise.
18384 (output_weightwc): Call maybe_swap_uint32_obstack.
18385 (collate_output): Likewise.
18386 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18387 (OPT_LITTLE_ENDIAN): Likewise.
18388 (options): Add --little-endian and --big-endian options.
18389 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18390 * locale/programs/locarchive.c: Include "locfile.h".
18391 (GET): New macro.
18392 (SET): Likewise.
18393 (INC): Likewise.
18394 (create_archive): Use the new macros to access fields of
18395 structures directly mapped from or written to locale archives.
18396 (oldlocrecentcmp): Likewise.
18397 (enlarge_archive): Likewise.
18398 (insert_name): Likewise.
18399 (add_alias): Likewise.
18400 (add_locale): Likewise.
18401 (delete_locales_from_archive): Likewise.
18402 (show_archive_content): Likewise.
18403 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18404 locale data.
18405
39bf0bb4
RM
184062013-09-24 Roland McGrath <roland@hack.frob.com>
18407
18408 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18409 http://www.gnu.org/doc/freemanuals.texi.
18410 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18411
f02eed10
WN
184122013-09-24 Will Newton <will.newton@linaro.org>
18413
18414 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18415 macro.
18416
a3a6c312
JM
184172013-09-23 Joseph Myers <joseph@codesourcery.com>
18418
18419 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18420 unsigned char.
18421
107375ac
MR
184222013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18423
18424 * manual/threads.texi (POSIX Threads): Fix a typo.
18425
141f3a77
SP
184262013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18427
303e567a
SP
18428 [BZ #14547]
18429 * string/tst-strcoll-overflow.c: New test case.
18430 * string/Makefile (xtests): Add tst-strcoll-overflow.
18431 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18432 cache if string sizes may cause integer overflow.
18433
141f3a77
SP
18434 [BZ #14547]
18435 * string/strcoll_l.c (coll_seq): New members rule, idx,
18436 save_idx and back_us.
18437 (get_next_seq_nocache): New function.
18438 (do_compare_nocache): New function.
18439 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18440 when malloc fails.
18441
c61b4d41
CD
184422013-09-23 Carlos O'Donell <carlos@redhat.com>
18443
0b1f8e35
CD
18444 [BZ #15754]
18445 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18446 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18447 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18448
c61b4d41
CD
18449 [BZ #15754]
18450 * elf/Makefile (tests): Add tst-ptrguard1.
18451 (tests-static): Add tst-ptrguard1-static.
18452 (tst-ptrguard1-ARGS): Define.
18453 (tst-ptrguard1-static-ARGS): Define.
18454 * elf/tst-ptrguard1.c: New file.
18455 * elf/tst-ptrguard1-static.c: New file.
18456 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18457 * sysdeps/i386/stackguard-macros.h: Likewise.
18458 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18459 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18460 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18461 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18462 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18463 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18464
184652013-09-23 Hector Marco <hecmargi@upv.es>
18466 Ismael Ripoll <iripoll@disca.upv.es>
18467 Carlos O'Donell <carlos@redhat.com>
18468
18469 [BZ #15754]
18470 * sysdeps/generic/stackguard-macros.h: Define
18471 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18472 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18473 Define __pointer_chk_guard_local.
18474 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18475 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18476
f5f4e7b4
VV
184772013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18478
18479 [BZ #15859]
18480 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18481
5bb43a43
AS
184822013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18483
18484 * include/string.h (__ffs): Declare as hidden.
18485 * string/ffs.c (__ffs): Define as hidden.
18486 * sysdeps/i386/ffs.c (__ffs): Likewise.
18487 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18488 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18489 * sysdeps/s390/ffs.c (__ffs): Likewise.
18490 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18491
3ea5be54
AO
184922013-09-20 Alexandre Oliva <aoliva@redhat.com>
18493
ffb89e53
AO
18494 * NEWS: Mention malloc probes.
18495
322dea08
AO
18496 * malloc/arena.c (new_heap): New memory_heap_new probe.
18497 (grow_heap): New memory_heap_more probe.
18498 (shrink_heap): New memory_heap_less probe.
18499 (heap_trim): New memory_heap_free probe.
18500 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18501 (systrim): New memory_sbrk_less probe.
18502 * manual/probes.texi: Document them.
18503
655673f3
AO
18504 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18505 * manual/probes.texi: Document it.
18506
35fed6f1
AO
18507 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18508 (__libc_realloc): Add memory_realloc_retry probe.
18509 (__libc_memalign): Add memory_memalign_retry probe.
18510 (__libc_valloc): Add memory_valloc_retry probe.
18511 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18512 (__libc_calloc): Add memory_calloc_retry probe.
18513 * manual/probes.texi: Document them.
18514
6999d38c
AO
18515 * malloc/arena.c (get_free_list): Add probe
18516 memory_arena_reuse_free_list.
18517 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18518 and memory_arena_reuse.
18519 (arena_get2) [!PER_THREAD]: Likewise.
18520 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18521 memory_arena_reuse_realloc.
18522 * manual/probes.texi: Document them.
18523
0653427f
AO
18524 * malloc/malloc.c (__libc_free): Add
18525 memory_mallopt_free_dyn_thresholds probe.
18526 (__libc_mallopt): Add multiple memory_mallopt probes.
18527 * manual/probes.texi: Document them.
18528
3ea5be54
AO
18529 * malloc/malloc.c: Include stap-probe.h.
18530 (__libc_mallopt): Add memory_mallopt probe.
18531 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18532 * manual/probes.texi: New.
18533 * manual/Makefile (chapters): Add probes.
18534 * manual/threads.texi: Set next node.
18535
e35696c3 185362013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18537
e35696c3
CL
18538 [BZ #15963, #13985]
18539 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18540 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18541 Add `Chinese' to `nan' entry name.
18542
4aafb73c
SP
185432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18544
18545 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18546 (POLYNOMIAL): Likewise.
18547 (TAYLOR_SINCOS): Likewise.
18548 (TAYLOR_SLOW): Likewise.
18549 (__sin): Use TAYLOR_SINCOS.
18550 (__cos): Likewise.
18551 (slow): Use TAYLOR_SLOW.
18552 (sloww): Likewise.
18553 (bsloww): Likewise.
18554 (csloww): Likewise.
18555
d84f25c7
LD
185562013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18557
18558 * stdlib/strtod_l.c: Fix buffer overrun.
18559
5eea0404
SP
185602013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18561
7849ff93
SP
18562 * benchtests/Makefile (bench): Add sincos.
18563 * benchtests/bench-sincos.c: New file.
18564
cfa3c886
SP
18565 * math/libm-test.inc (cos_test_data): New test inputs.
18566 (sin_test_data): Likewise.
18567
b348e1e3
SP
18568 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18569 macro.
18570 (__sin): Use it.
18571 (__cos): Likewise.
18572 (slow1): Likewise.
18573 (slow2): Likewise.
18574 (sloww1): Likewise.
18575 (sloww2): Likewise.
18576 (bsloww1): Likewise.
18577 (bsloww2): Likewise.
18578 (cslow2): Likewise.
18579 (csloww1): Likewise.
18580 (csloww2): Likewise.
18581
6cce25f8
SP
18582 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18583 function.
18584 (__sin): Use it.
18585 (__cos): Likewise.
18586
5eea0404
SP
18587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18588 gotos.
18589 (__cos): Likewise.
18590
9c21573c
MR
185912013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18592
18593 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18594 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18595 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18596 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18597 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18598 * elf/cache.c (print_entry): Handle the new cache flags.
18599
24d22e65
JM
186002013-09-18 Joseph Myers <joseph@codesourcery.com>
18601 Aldy Hernandez <aldyh@redhat.com>
18602
18603 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18604 Change condition to [_SOFT_FLOAT].
18605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18617 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18620 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18621 declaration.
18622
d13ef066
JM
186232013-09-18 Joseph Myers <joseph@codesourcery.com>
18624
2e071de0
JM
18625 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18626 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18627 (__longjmp): Use LOAD_GP to load saved GPRs.
18628 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18629 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18630 (__sigsetjmp): Use SAVE_GP to save GPRs.
18631
d13ef066
JM
18632 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18633 Do not append -msoft-float.
18634 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18635
97a0650b
SP
186362013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18637
18638 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18639
11ca09e9
JM
186402013-09-17 Joseph Myers <joseph@codesourcery.com>
18641
18642 [BZ #15966]
18643 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18644 (_FPU_GETCW): Use initial "__" on variable and field names but not
18645 on macro parameter name.
18646 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18647 parentheses around reference to macro parameter.
18648
08ffcf34
RS
186492013-09-13 Richard Sandiford <richard@codesourcery.com>
18650
18651 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18652 prototype.
18653 (ctype_startup): Use uint32_t in cast and sizeof for
18654 ctype->charnames.
18655
ae7080d3
JL
186562013-09-11 Jia Liu <proljc@gmail.com>
18657
18658 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18659 __daddr_t_defined.
18660 [__FreeBSD__]: Likewise.
18661
5905e7b3
OB
186622013-09-11 Ondřej Bílka <neleai@seznam.cz>
18663
18664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18665 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18666 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18667 (strchr): Remove __strchr_sse42 ifunc selection.
18668 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18669 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18670
b987c776
WN
186712013-09-11 Will Newton <will.newton@linaro.org>
18672
18673 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18674 parameter to RES. Remove hardcoded 1000 value.
18675 * benchtests/bench-skeleton.c (main): Pass RES parameter
18676 to TIMING_INIT and multiply result by 1000.
18677
ddf985af
AZ
186782013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18679
18680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18681
ffdd3181
AS
186822013-09-11 Andreas Schwab <schwab@suse.de>
18683
18684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18685 if not defined.
18686 (O_TMPFILE) [__USE_GNU]: Define.
18687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18688 Define.
18689
b73ed247
WN
186902013-09-11 Will Newton <will.newton@linaro.org>
18691
18692 [BZ #15857]
18693 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18694 does not overflow.
18695
55e17aad
WN
186962013-09-11 Will Newton <will.newton@linaro.org>
18697
18698 [BZ #15856]
18699 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18700 does not overflow.
18701
1159a193
WN
187022013-09-11 Will Newton <will.newton@linaro.org>
18703
18704 [BZ #15855]
18705 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18706 does not overflow.
18707
5905e7b3 187082013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18709
18710 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18715
cdfc721b
AM
187162013-09-10 Allan McRae <allan@archlinux.org>
18717
aa04af00
AM
18718 [BZ #15748]
18719 * manual/arith.texi (Parsing of Floats): Clarify
18720 cross-reference.
18721
cdfc721b
AM
18722 [BZ #15849]
18723 * manual/install.texi (Running make install): Mention
18724 --enable-pt-chown.
18725 * INSTALL: Regenerated.
18726
95e7cf29
MR
187272013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18728
18729 * csu/init-first.c (_init): Remove the !SHARED condition around
18730 FPU control word initialization.
18731 * elf/dl-support.c (_dl_fpu_control): New variable.
18732 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18733 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18734 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18735 * math/test-fpucw-static.c: New file.
18736 * math/test-fpucw-ieee.c: New file.
18737 * math/test-fpucw-ieee-static.c: New file.
18738 * math/Makefile (tests): Add `test-fpucw-ieee' and
18739 `$(tests-static)'.
18740 (tests-static): New variable.
18741 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18742 dependency to...
18743 [($(build-shared),yes)]
18744 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18745 ... this.
18746 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18747 New dependency.
18748
83e43bf0
AM
187492013-09-09 Allan McRae <allan@archlinux.org>
18750
a9f5ce09
AM
18751 [BZ #15939]
18752 * manual/string.texi (Collation Functions): Fix typo in
18753 strcoll example.
18754 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18755
34829bc2
AM
18756 [BZ #15893]
18757 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18758
3932737d
AM
18759 [BZ #15892]
18760 * libio/memstream.c (open_memstream): Fix memory leak.
18761 * libio/wmemstream.c (open_wmemstream): Likewise.
18762
83e43bf0
AM
18763 [BZ #15895]
18764 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18765
0c66b8e9
WN
187662013-09-09 Will Newton <will.newton@linaro.org>
18767
18768 * malloc/Makefile: Add tst-realloc to tests.
18769 * malloc/tst-realloc.c: New file.
18770
f6b00fd1
AM
187712013-09-09 Allan McRae <allan@archlinux.org>
18772
18773 [BZ #15844]
18774 * COPYING: Update from GNU website to fix FSF address.
18775 * COPYING.LIB: Likewise.
18776
eec55e16
DM
187772013-09-06 David S. Miller <davem@davemloft.net>
18778
18779 * po/zh_TW.po: Update Chinese (traditional) translation from
18780 translation project.
18781
1ecbb381
RS
187822013-09-06 Richard Sandiford <richard@codesourcery.com>
18783 Joseph Myers <joseph@codesourcery.com>
18784
18785 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18786 "localeinfo.h".
18787 (obstack_chunk_alloc): New macro.
18788 (obstack_chunk_free): Likewise.
18789 (record_offset): New function.
18790 (init_locale_data): Likewise.
18791 (align_locale_data): Likewise.
18792 (add_locale_empty): Likewise.
18793 (add_locale_raw_data): Likewise.
18794 (add_locale_raw_obstack): Likewise.
18795 (add_locale_string): Likewise.
18796 (add_locale_wstring): Likewise.
18797 (add_locale_uint32): Likewise.
18798 (add_locale_uint32_array): Likewise.
18799 (add_locale_char): Likewise.
18800 (start_locale_structure): Likewise.
18801 (end_locale_structure): Likewise.
18802 (start_locale_prelude): Likewise.
18803 (end_locale_prelude): Likewise.
18804 (write_locale_data): Take locale_file structure rather than an
18805 iovec.
18806 * locale/programs/locfile.h: Include "obstack.h".
18807 (struct locale_file): Change to store locale file contents instead
18808 of header.
18809 (init_locale_data): New prototype.
18810 (align_locale_data): Likewise.
18811 (add_locale_empty): Likewise.
18812 (add_locale_raw_data): Likewise.
18813 (add_locale_raw_obstack): Likewise.
18814 (add_locale_string): Likewise.
18815 (add_locale_wstring): Likewise.
18816 (add_locale_uint32): Likewise.
18817 (add_locale_uint32_array): Likewise.
18818 (add_locale_char): Likewise.
18819 (start_locale_structure): Likewise.
18820 (end_locale_structure): Likewise.
18821 (start_locale_prelude): Likewise.
18822 (end_locale_prelude): Likewise.
18823 (write_locale_data): Update prototype.
18824 * locale/programs/3level.h (struct TABLE): Remove result field.
18825 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18826 Use new locale_file interface.
18827 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18828 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18829 * locale/programs/ld-address.c (address_output): Use new
18830 locale_file interface.
18831 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18832 NO_ADD_LOCALE.
18833 (collate_finish): Don't call collseq_table_finalize.
18834 (collate_output): Use new locale_file interface.
18835 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18836 in file.
18837 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18838 (TABLE): Move defines earlier in file.
18839 (ELEMENT): Likewise.
18840 (DEFAULT): Likewise.
18841 (wctrans_table_add): Move macro and inline function earlier in
18842 file.
18843 (struct wctype_table): Move type earlier in file.
18844 (add_locale_wctype_table): New static prototype.
18845 (struct locale_ctype_t): Use logical types instead of struct iovec
18846 pointers for members.
18847 (ctype_output): Use new locale_file interface.
18848 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18849 new locale_file interface.
18850 (allocate_arrays): Update for use of new locale_file interface.
18851 * locale/programs/ld-identification.c (identification_output): Use
18852 new locale_file interface.
18853 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18854 * locale/programs/ld-messages.c (messages_output): Likewise.
18855 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18856 * locale/programs/ld-name.c (name_output): Likewise.
18857 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18858 * locale/programs/ld-paper.c (paper_output): Likewise.
18859 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18860 * locale/programs/ld-time.c (time_output): Likewise.
18861
e029e2e5
AZ
188622013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18863
18864 * benchtests/Makefile: Add memrchr benchmark.
18865 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18866 benchmark as memrchr.
18867 * benchtests/bench-memrchr-ifunc.c: New file.
18868 * benchtests/bench-memrchr.c: New file.
18869
bbf6e8e4
WN
188702013-09-06 Will Newton <will.newton@linaro.org>
18871
18872 * benchtests/Makefile (string-bench): Add memcpy.
18873
6c82a2f8
CD
188742013-09-05 Carlos O'Donell <carlos@redhat.com>
18875 Cong Wang <amwang@redhat.com>
18876
e732c5f0 18877 [BZ #15850]
6c82a2f8
CD
18878 * sysdeps/unix/sysv/linux/bits/in.h
18879 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18880 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18881 before __USE_KERNEL_IPV6_DEFS uses.
18882 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18883 IPPROTO_BEETPH.
18884 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18885 sockaddr_in6, or ipv6_mreq.
18886
5430fc65
AZ
188872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18888
18889 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18890 memory access for final bytes in some large inputs.
18891 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18892
4660856c
AZ
188932013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18894
18895 * string/test-memrchr.c: New file.
18896 * string/test-memrchr-ifunc.c: New file.
18897 * string/Makefile: Add new memrchr testcase.
18898
bb8ea713
MF
188992013-09-05 Mike Frysinger <vapier@gentoo.org>
18900
18901 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18902 fanotify_init returns EPERM.
18903
b92a20b5
JM
189042013-09-04 Joseph Myers <joseph@codesourcery.com>
18905
18906 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18907 errors.
18908 (top level): Treat second token from macro or constant entries for
18909 allowed headers as allowed.
18910 * include/complex.h: Condition internal declarations on
18911 [!_ISOMAC].
18912 * include/fenv.h: Condition include of <stdbool.h> and internal
18913 declarations on [!_ISOMAC].
7447ccd9
CL
18914
189152013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18916
3e181dda 18917 [BZ #15923]
7447ccd9
CL
18918 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18919
3f2e46a4
JM
189202013-09-04 Joseph Myers <joseph@codesourcery.com>
18921
18922 * configure.in (--enable-versioning): Remove configure option.
18923 (libc_cv_asm_symver_directive): Remove configure test.
18924 (libc_cv_ld_version_script_option): Likewise.
18925 (VERSIONING): Remove variable and AC_SUBST.
18926 (DO_VERSIONING): Remove AC_DEFINE.
18927 * configure: Regenerated.
18928 * config.h.in (DO_VERSIONING): Remove macro.
18929 * Makerules [$(versioning) = yes]: Change conditionals to
18930 [$(build-shared) = yes].
18931 * config.make.in (versioning): Remove variable.
18932 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18933 [$(build-shared) = yes].
18934 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18935 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18936 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18937 [$(build-shared) = yes].
18938 * extra-lib.mk [$(versioning) = yes]: Likewise.
18939 * hurd/Makefile [$(versioning) = yes]: Likewise.
18940 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18941 [SHARED].
18942 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18943 [SHARED].
18944 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18945 [SHARED && !NO_HIDDEN].
18946 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18947 [SHARED].
18948 [SHARED && DO_VERSIONING]: Likewise..
18949 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18950 [$(build-shared) = yes].
18951 * manual/install.texi (--disable-versioning): Remove
18952 documentation.
18953 * INSTALL: Regenerated.
18954 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18955 to [SHARED].
18956 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18957 [$(build-shared) = yes].
18958 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18959 * sysdeps/i386/i686/multiarch/strstr-c.c
18960 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18961 [SHARED && !NO_HIDDEN].
18962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18963 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18964 * sysdeps/powerpc/powerpc32/dl-machine.c
18965 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18966 * sysdeps/powerpc/powerpc32/sysdep.h
18967 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18968 to [SHARED && PIC && !NO_HIDDEN].
18969 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18970 conditional to [SHARED].
18971
44558701
WN
189722013-09-04 Will Newton <will.newton@linaro.org>
18973
18974 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18975 * benchtests/bench-string.h: Include bench-timing.h instead
18976 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18977 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18978 call to HP_TIMING_DIFF_INIT.
18979 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18980 instead of hp-timing.h macros.
18981 * benchtests/bench-memchr.c: Likewise.
18982 * benchtests/bench-memcmp.c: Likewise.
18983 * benchtests/bench-memcpy.c: Likewise.
18984 * benchtests/bench-memmem.c: Likewise.
18985 * benchtests/bench-memmove.c: Likewise.
18986 * benchtests/bench-memset.c: Likewise.
18987 * benchtests/bench-rawmemchr.c: Likewise.
18988 * benchtests/bench-strcasecmp.c: Likewise.
18989 * benchtests/bench-strcasestr.c: Likewise.
18990 * benchtests/bench-strcat.c: Likewise.
18991 * benchtests/bench-strchr.c: Likewise.
18992 * benchtests/bench-strcmp.c: Likewise.
18993 * benchtests/bench-strcpy.c: Likewise.
18994 * benchtests/bench-strcpy_chk.c: Likewise.
18995 * benchtests/bench-strlen.c: Likewise.
18996 * benchtests/bench-strncasecmp.c: Likewise.
18997 * benchtests/bench-strncat.c: Likewise.
18998 * benchtests/bench-strncmp.c: Likewise.
18999 * benchtests/bench-strncpy.c: Likewise.
19000 * benchtests/bench-strnlen.c: Likewise.
19001 * benchtests/bench-strpbrk.c: Likewise.
19002 * benchtests/bench-strrchr.c: Likewise.
19003 * benchtests/bench-strspn.c: Likewise.
19004 * benchtests/bench-strstr.c: Likewise.
19005
cae16d66
WN
190062013-09-04 Will Newton <will.newton@linaro.org>
19007
19008 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19009
ffa3cd7f
JM
190102013-09-03 Joseph Myers <joseph@codesourcery.com>
19011
19012 [BZ #15427]
19013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19014 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19015 * math/libm-test.inc (lgamma_test_data): Add more tests.
19016 * sysdeps/i386/fpu/libm-test-ulps: Update.
19017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19018
8f02859f
OB
190192013-09-03 Ondřej Bílka <neleai@seznam.cz>
19020
19021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19023 Add ifunc.
19024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19025 Add strcmp-sse2-unaligned
19026 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19027
18d43716
MF
190282013-09-02 Mike Frysinger <vapier@gentoo.org>
19029
19030 * Versions.def (libc): Add GLIBC_2.19.
19031
ac444012
MF
190322013-09-02 Mike Frysinger <vapier@gentoo.org>
19033
19034 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19035 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19036
b7835e32
JM
190372013-09-02 Joseph Myers <joseph@codesourcery.com>
19038
19039 [BZ #14155]
19040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19041 intermediate calculations in recurrence.
19042 (__ieee754_ynf): Likewise.
19043 * math/libm-test.inc (jn_test_data): Do not allow spurious
19044 underflow exception. Add more tests.
19045 (yn_test_data): Add more tests.
19046 * sysdeps/i386/fpu/libm-test-ulps: Update.
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19048
8220f4f0
OB
190492013-09-02 Ondřej Bílka <neleai@seznam.cz>
19050
19051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19052
f24a6d08
OB
190532013-08-30 Ondřej Bílka <neleai@seznam.cz>
19054
19055 * csu/init-first.c: Fix then/than typos.
19056 * locale/programs/ld-collate.c: Likewise.
19057 * locale/programs/linereader.h: Likewise.
19058 * manual/charset.texi: Likewise.
19059 * manual/filesys.texi: Likewise.
19060 * manual/stdio.texi: Likewise.
19061 * manual/string.texi: Likewise.
19062 * stdlib/fmtmsg.c: Likewise.
19063 * sysdeps/i386/stpncpy.S: Likewise.
19064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19065 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19067 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19068
382466e0
OB
190692013-08-30 Ondřej Bílka <neleai@seznam.cz>
19070
19071 * elf/dl-open.c: Fix typos.
19072 * iconvdata/gbbig5.c: Likewise.
19073 * iconvdata/iso-2022-jp.c: Likewise.
19074 * iconv/gconv_int.h: Likewise.
19075 * iconv/loop.c: Likewise.
19076 * nis/rpcsvc/nis.h: Likewise.
19077 * resolv/ns_name.c: Likewise.
19078 * stdio-common/vfscanf.c: Likewise.
19079 * streams/stropts.h: Likewise.
19080 * sunrpc/rpc_thread.c: Likewise.
19081 * sysdeps/i386/strpbrk.S: Likewise.
19082 * sysdeps/ieee754/k_standard.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19085 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19086 * sysdeps/mach/hurd/profil.c: Likewise.
19087 * sysdeps/s390/dl-procinfo.h: Likewise.
19088 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19090 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19091 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19093
0186c6e9
OB
190942013-08-30 Ondřej Bílka <neleai@seznam.cz>
19095
19096 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19098
d4e16af1
OB
190992013-08-29 Ondřej Bílka <neleai@seznam.cz>
19100
19101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19102 aix specific files.
19103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19105 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19106 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19107 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19108 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19110 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19111
88335980
TS
191122013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19113 Roland McGrath <roland@hack.frob.com>
19114
19115 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19116 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19117
ed479b02
ST
191182013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19119
19120 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19121 __executable_start symbol instead of _start.
19122
f1cc4c86
TS
191232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19124
d821f07c
TS
19125 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19126 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19127 Move macros to...
19128 * sysdeps/gnu/ldsodefs.h: ... this new file.
19129
c54290cf
TS
19130 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19131 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19132 instead of ELFOSABI_LINUX.
19133
0007fc9b 19134 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19135 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19136 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19137 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19138 Likewise.
19139 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19140 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19142 Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19144 (ibm_extended_long_double): Add ieee_nan member.
19145 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19146 (do_test): New function.
19147
f1cc4c86
TS
19148 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19149 TEST_TRUNC.
19150 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19151 functions, renamed from truncdfsf_test, trunctfsf_test,
19152 trunctfdf_test.
19153 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19154 functions.
19155 (do_test): Run all these.
19156
6f65e668
OB
191572013-08-29 Ondřej Bílka <neleai@seznam.cz>
19158
19159 * argp/argp-help.c: Fix typos.
19160 * argp/argp-parse.c: Likewise.
19161 * debug/backtracesyms.c: Likewise.
19162 * elf/elf.h: Likewise.
19163 * malloc/malloc.c: Likewise.
19164 * nis/nis_print.c: Likewise.
19165 * resolv/res_comp.c: Likewise.
19166 * stdlib/stdlib.h: Likewise.
19167 * sunrpc/clnt_tcp.c: Likewise.
19168 * sunrpc/clnt_udp.c: Likewise.
19169 * sunrpc/clnt_unix.c: Likewise.
19170 * sysdeps/unix/bsd/ptsname.c: Likewise.
19171 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19174 Likewise.
19175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19176 Likewise.
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19178 Likewise.
6f65e668
OB
19179 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19180
3a309239
SP
191812013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19182
19183 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19185
3b813b29
MF
191862013-08-27 Mike Frysinger <vapier@gentoo.org>
19187
19188 [BZ #15897]
19189 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19190 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19191 ($(objpfx)bug-dl-leaf): New rule.
19192 ($(objpfx)bug-dl-leaf.so): Likewise.
19193 ($(objpfx)bug-dl-leaf.out): Likewise.
19194 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19195 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19196 * dlfcn/bug-dl-leaf.c: New test.
19197 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19198 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19199 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19200 (dlclose): Likewise.
19201 (dlmopen): Likewise.
19202
8cc3269f
RM
192032013-08-27 Roland McGrath <roland@hack.frob.com>
19204
7f9d0034
RM
19205 * include/netdb.h [!_ISOMAC]:
19206 Don't include <tls.h>.
19207 (h_errno, __libc_h_errno): Move declaration and macros out of
19208 [_LIBC_REENTRANT].
19209
fb431262
RM
19210 * include/resolv.h [_RESOLV_H_]:
19211 Don't include <tls.h>.
19212 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19213 * resolv/res_libc.c: Don't include <tls.h>.
19214 (_res): Use __attribute__ ((nocommon)) in place of
19215 __attribute__ ((section (".bss"))).
19216
bd81123a
RM
19217 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19218 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19219
c4e42566
RM
19220 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19221
f890a59b
RM
19222 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19223 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19224
19225 * resolv/res_mkquery.c: Include <sys/time.h>.
19226
5d1f0a09
RM
19227 * inet/ifreq.c: Moved to ...
19228 * sysdeps/unix/ifreq.c: ... here.
19229 * inet/ifreq.c: New file, true stub version.
19230
6fcf28b3
RM
19231 * socket/sa_len.c: New file.
19232 * socket/Makefile (aux): Add it.
19233 * sysdeps/unix/sysv/linux/Makefile
19234 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19235 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19236 and #include <socket/sa_len.c>.
19237 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19238 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19239
e041fb8b
RM
19240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19241 * bits/socket.h: ... here.
19242
8cc3269f
RM
19243 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19244 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19245 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19246
5d228a43
AS
192472013-08-27 Andreas Schwab <schwab@suse.de>
19248
45b8accc
AS
19249 [BZ #15736]
19250 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19251 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19252 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19253 * string/test-strcasecmp.c (test_main): Run tests in several
19254 locales.
19255 * string/test-strncasecmp.c (test_main): Likewise.
19256
5d228a43
AS
19257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19258 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19259 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19261 (__strncasecmp_ssse3) [PIC]: Likewise.
19262
59d112a4
RM
192632013-08-26 Roland McGrath <roland@hack.frob.com>
19264
53234cc3
RM
19265 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19266
59d112a4
RM
19267 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19268 instead of explicitly declaring xdecrypt.
19269 * nis/nss_nis/nis-publickey.c: Likewise.
19270
595aba70
SP
192712013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19272
19273 [BZ #15890]
19274 * nscd/aicache.c: Include res_hconf.h.
19275 (addhstaiX): Initialize res_hconf.
19276
ffabd393
AS
192772013-08-26 Andreas Schwab <schwab@suse.de>
19278
19279 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19280 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19281
e0a69f5c
SP
192822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19283
19284 * nscd/aicache.c (addhstaiX): Fix indentation.
19285
8c12f01d
MF
192862013-08-25 Mike Frysinger <vapier@gentoo.org>
19287
19288 * configure.ac: Quote $build_pt_chown test.
19289 * configure: Regenerated.
19290
8fe89494
JM
192912013-08-23 Joseph Myers <joseph@codesourcery.com>
19292
19293 [BZ #15532]
19294 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19295 * math/s_cexpf.c (__cexpf): Likewise.
19296 * math/s_cexpl.c (__cexpl): Likewise.
19297 * math/libm-test.inc (cexp_test_data): Correct expected return
19298 value for NaN + i0. Add another test.
19299
75b181d6
DM
193002013-08-22 David S. Miller <davem@davemloft.net>
19301
19302 * po/ca.po: Update Catalan translation from translation project.
936241e4 19303 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19304
acd06bb1
JM
193052013-08-21 Joseph Myers <joseph@codesourcery.com>
19306
19307 [BZ #15797]
19308 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19309 is infinite, not alongside NaN test.
19310 * math/s_fdimf.c (__fdimf): Likewise.
19311 * math/s_fdiml.c (__fdiml): Likewise.
19312 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19313 errno is unchanged.
19314
c0c3f78a
OB
193152013-08-21 Ondřej Bílka <neleai@seznam.cz>
19316
19317 * argp/argp-help.c: Fix typos.
19318 * crypt/speeds.c: Likewise.
19319 * csu/check_fds.c: Likewise.
19320 * elf/dl-load.c: Likewise.
19321 * elf/dl-open.c: Likewise.
19322 * elf/reldep3.c: Likewise.
19323 * elf/reldep.c: Likewise.
19324 * elf/sprof.c: Likewise.
19325 * iconv/iconv_charmap.c: Likewise.
19326 * iconv/skeleton.c: Likewise.
19327 * iconv/strtab.c: Likewise.
19328 * io/lockf64.c: Likewise.
19329 * libio/libioP.h: Likewise.
19330 * resolv/gai_notify.c: Likewise.
19331 * resolv/ns_name.c: Likewise.
19332 * resolv/ns_samedomain.c: Likewise.
19333 * resolv/res_send.c: Likewise.
19334 * stdlib/random.c: Likewise.
19335 * sunrpc/rpc/xdr.h: Likewise.
19336 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19337 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19344 * sysdeps/mach/hurd/check_fds.c: Likewise.
19345 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19346 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19349 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19351 * sysdeps/pthread/aio_notify.c: Likewise.
19352 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19353 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19354 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19356 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19357
46ed1038
LD
193582013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19359
19360 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19361 version if bit_Slow_SSE4_2 is set.
19362 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19363 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19364
d400dcac
AZ
193652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19366
19367 [BZ #15867]
19368 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19369 trampoline stack frame information.
19370 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19371 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19372 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19373 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19374 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19375 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19376 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19377 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19378 sa_flags value.
19379 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19380 interrupting a syscall and set with option SA_SIGINFO.
19381
42c8fdd8
JM
193822013-08-20 Joseph Myers <joseph@codesourcery.com>
19383
c980f2f4
JM
19384 [BZ #15531]
19385 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19386 argument is infinite.
19387 * math/s_cprojf.c (__cprojf): Likewise.
19388 * math/s_cprojl.c (__cprojl): Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19390 * math/libm-test.inc (cproj_test_data): Add more tests.
19391
0716c4fc
JM
19392 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19393
42c8fdd8
JM
19394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19395 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19396 size. Use __ffs to determine corresponding shift.
19397
b31469d0
JM
193982013-08-20 Joseph Myers <joseph@codesourcery.com>
19399 Roland McGrath <roland@hack.frob.com>
19400
19401 * Makefile (INSTALL): Remove trailing blank lines from output of
19402 makeinfo.
19403
4e39af6e
AK
194042013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19405
19406 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19407 Align 32 bit compat elf_greg to 8 bytes.
19408
f315524e
AA
194092013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19410
19411 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19412
1326ba1a
SP
194132013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19414
19415 * string/strcoll_l.c (coll_seq): New structure.
19416 (get_next_seq_cached): New function.
19417 (get_next_seq): New function.
19418 (do_compare): New function.
19419 (STRCOLL): Use GNU style definition. Simplify implementation
19420 by using get_next_seq, get_next_seq_cached and do_compare.
19421
91ce4085
FW
194222013-08-16 Florian Weimer <fweimer@redhat.com>
19423
19424 [BZ #14699]
19425 CVE-2013-4237
19426 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19427 member.
19428 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19429 member.
19430 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19431 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19432 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19433 conditional.
19434 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19435 GETDENTS_64BIT_ALIGNED.
19436 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19437 * manual/filesys.texi (Reading/Closing Directory): Document
19438 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19439 strongly.
19440 * manual/conf.texi (Limits for Files): Add portability note to
19441 NAME_MAX, PATH_MAX.
19442 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19443
ca0a6bc4
AS
194442013-08-13 Andreas Schwab <schwab@suse.de>
19445
19446 [BZ #15749]
19447 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19448 of fabs.
19449 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19450 LDBL_MAX_EXP >= 16384]: Add tests for it.
19451
6c1fd795
DM
194522013-08-12 David S. Miller <davem@davemloft.net>
19453
19454 * version.h (RELEASE): Set to "development".
19455 (VERSION): Set to "2.18.90".
19456 * NEWS: Add 2.19 section.
19457
31ad488d
DM
194582013-08-03 David S. Miller <davem@davemloft.net>
19459
19460 * po/ko.po: Update Korean translation from translation project.
19461
db24e684
DM
194622013-08-01 David S. Miller <davem@davemloft.net>
19463
19464 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19465 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19466 Bilka.
19467
f723285b
DM
194682013-07-30 David S. Miller <davem@davemloft.net>
19469
19470 * po/fr.po: Update French translation from translation project.
19471
3cbc52db
DM
194722013-07-28 David S. Miller <davem@davemloft.net>
19473
30bbc0cc
DM
19474 * po/cs.po: Update Czech translation from translation project.
19475
3cbc52db
DM
19476 * po/sv.po: Update Swedish translation from translation project.
19477
d492e6d0
DM
194782013-07-27 David S. Miller <davem@davemloft.net>
19479
f1a7f492
DM
19480 * po/eo.po: Update Esperanto translation from translation project.
19481
90e62a4a
DM
19482 * po/vi.po: Update Vietnamese translation from translation project.
19483
d492e6d0
DM
19484 * po/de.po: Update German translation from translation project.
19485
d4baa62d
DM
194862013-07-26 David S. Miller <davem@davemloft.net>
19487
641aa7b4
DM
19488 * po/bg.po: Update Bulgarian translation from translation project.
19489
d4baa62d
DM
19490 * po/nl.po: Update Dutch translation from translation project.
19491 * po/pl.po: Update Polish translation from translation project.
19492 * po/ru.po: Update Russian translation from translation project.
19493
61a9dcb9
DM
194942013-07-24 David S. Miller <davem@davemloft.net>
19495
19496 * po/libc.pot: Update.
19497
7b1f8b58
AZ
194982013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19499
19500 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19501 variable page size.
19502 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19503 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19504 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19505
a8fc7a03
AK
195062013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19507
19508 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19509
e4608715
CD
195102013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19511 Andreas Schwab <schwab@suse.de>
19512 Roland McGrath <roland@hack.frob.com>
19513 Joseph Myers <joseph@codesourcery.com>
19514 Carlos O'Donell <carlos@redhat.com>
19515
19516 [BZ #15755]
19517 * config.h.in: Define HAVE_PT_CHOWN.
19518 * config.make.in (build-pt-chown): New variable.
19519 * configure.in (--enable-pt_chown): New configure option.
19520 * configure: Regenerate.
19521 * login/Makefile: Include Makeconfig. Build pt_chown only if
19522 build-pt-chown is enabled.
19523 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19524 pt_chown to fix pty ownership.
19525 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19526 CLOSE_ALL_FDS.
19527 * manual/install.texi (Configuring and compiling): Mention
19528 --enable-pt_chown. Add @findex for grantpt.
19529 * INSTALL: Regenerate.
19530
da2d62df
DM
195312013-07-20 David S. Miller <davem@davemloft.net>
19532
19533 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19534 difference between 32-bit and 64-bit.
19535
d7e06450
CD
195362013-07-15 Carlos O'Donell <carlos@redhat.com>
19537
19538 [BZ #15711]
19539 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19540 Avoid system header dependency with -ffreestanding.
19541 ($(objpfx)bits/syscall%d): Likewise.
19542
f959cfd7
DM
195432013-07-13 David S. Miller <davem@davemloft.net>
19544
19545 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19546 underflows from atanl/atan2l due to bug 15319.
19547 (casinh_test_data): Likewise.
19548
c61f8513
DM
195492013-07-07 David S. Miller <davem@davemloft.net>
19550
19551 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19552
72c90ed0
JA
195532013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19554
19555 * sysdeps/i386/fpu/libm-test-ulps: Update.
19556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19557
52dfbe13
SP
195582013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19559
19560 * configure.in (--enable-lock-elision): Fix message text.
19561 * INSTALL: Regenerate.
19562 * configure: Regenerate.
19563
3f169543
AZ
195642013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19565
19566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19567
521c6785
AJ
195682013-07-03 Andreas Jaeger <aj@suse.de>
19569
19570 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19571 define.
19572 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19573 (ptrace_peeksiginfo_args): Add.
19574 (__ptrace_peeksiginfo_flags): Add.
19575 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19578
d2cc15cb
AM
195792013-07-03 Allan McRae <allan@archlinux.org>
19580
19581 * sysdeps/i386/fpu/libm-test-ulps: Update.
19582
3aaeeca7
DM
195832013-07-02 David S. Miller <davem@davemloft.net>
19584
19585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19586
5314ed1a
MT
195872013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19588
19589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19590
67338156
JM
195912013-07-02 Joseph Myers <joseph@codesourcery.com>
19592
19593 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19595
1717da59
AK
195962013-07-02 Andi Kleen <ak@linux.intel.com>
19597
19598 * config.h.in (ENABLE_LOCK_ELISION): Add.
19599 * configure.in (--enable-lock-elision): Add option.
19600 * manual/install.texi: Document --enable lock elision.
19601 * configure: Regenerate
19602 * INSTALL: Regenerate.
19603
1c81621c
L
196042013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19607 SSE4.2 strcasecmp for libc.a.
19608 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19609
77f01ab5
JM
196102013-07-02 Joseph Myers <joseph@codesourcery.com>
19611
19612 [BZ #13304]
19613 * soft-fp/op-common.h (_FP_FMA): New macro.
19614 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19615 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19616 (_FP_MUL_MEAT_1_imm): ... here.
19617 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19618 (_FP_MUL_MEAT_1_wide): ... here.
19619 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19620 (_FP_MUL_MEAT_1_hard): ... here.
19621 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19622 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19623 (_FP_MUL_MEAT_2_wide): ... here.
19624 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19625 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19626 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19627 (_FP_MUL_MEAT_2_gmp): ... here.
19628 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19629 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19630 (_FP_MUL_MEAT_4_wide): ... here.
19631 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19632 (_FP_MUL_MEAT_4_gmp): ... here.
19633 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19634 (_FP_WFRACBITS_DW_S): Likewise.
19635 (_FP_WFRACXBITS_DW_S): Likewise.
19636 (_FP_HIGHBIT_DW_S): Likewise.
19637 (FP_FMA_S): Likewise.
19638 (_FP_FRAC_HIGH_DW_S): Likewise.
19639 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19640 (_FP_WFRACBITS_DW_D): Likewise.
19641 (_FP_WFRACXBITS_DW_D): Likewise.
19642 (_FP_HIGHBIT_DW_D): Likewise.
19643 (FP_FMA_D): Likewise.
19644 (_FP_FRAC_HIGH_DW_D): Likewise.
19645 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19646 (_FP_WFRACBITS_DW_E): Likewise.
19647 (_FP_WFRACXBITS_DW_E): Likewise.
19648 (_FP_HIGHBIT_DW_E): Likewise.
19649 (FP_FMA_E): Likewise.
19650 (_FP_FRAC_HIGH_DW_E): Likewise.
19651 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19652 (_FP_WFRACBITS_DW_Q): Likewise.
19653 (_FP_WFRACXBITS_DW_Q): Likewise.
19654 (_FP_HIGHBIT_DW_Q): Likewise.
19655 (FP_FMA_Q): Likewise.
19656 (_FP_FRAC_HIGH_DW_Q): Likewise.
19657 * soft-fp/fmasf4.c: New file.
19658 * soft-fp/fmadf4.c: Likewise.
19659 * soft-fp/fmatf4.c: Likewise.
19660
6308fd9a
LD
196612013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19662
19663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19664 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19665 Silvermont.
19666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19667 macro.
19668 (index_Slow_SSE4_2): Likewise.
19669 (index_Prefer_PMINUB_for_stringop): Likewise.
19670 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19671 bit_Slow_SSE4_2 is set.
19672 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19673 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19674
89cd9569
RA
196752013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19676
19677 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19678 rtld_global._dl_hwcap2.
19679 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19680 POWER8.
19681 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19682 POWER8 feature descriptions defined in _dl_hwcap2.
19683 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19684 string handling for POWER8 feature bits.
19685 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19686 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19687 _dl_powerpc_cap_flags.
19688 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19689 * sysdeps/powerpc/rtld-global-offsets.sym
19690 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19691 _dl_hwcap2 in the rtld_global_ro structure.
19692
1ae8bfe0
RA
196932013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19694
19695 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19696 hardware capabilities in support of AT_HWCAP2.
19697 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19698 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19699 GLRO(dl_hwcap2).
19700 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19701 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19702 explicitly the unknown a_type display mechanism is used.
19703 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19704 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19705 struct member.
19706 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19707 to macro prototype for AT_HWCAP2 support.
19708 * sysdeps/i386/dl-procinfo.h: Likewise.
19709 * sysdeps/s390/dl-procinfo.h: Likewise.
19710 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19711 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19712 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19713 return -1 for unknown a_type display fallback.
19714 * sysdeps/sparc/dl-procinfo.h: Likewise.
19715 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19716 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19717
8fbec010
JM
197182013-06-28 Joseph Myers <joseph@codesourcery.com>
19719
19720 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19721 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19722
0432680e
PY
197232013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19724
19725 [BZ #12492]
19726 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19727 mprotect making __stack_prot writable.
19728
ce61a2ad
NF
197292013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19730 Joseph Myers <joseph@codesourcery.com>
19731
19732 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19733 as being properly aligned.
19734
f91f1c0f
MR
197352013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19736
3d0f5d0c
MR
19737 * dlfcn/modstatic5.c: New file.
19738 * dlfcn/tststatic5.c: New file.
19739 * dlfcn/Makefile (tests): Add tststatic5.
19740 (tests-static): Likewise.
19741 (modules-names): Add modstatic5.
19742 (tststatic5-ENV): New variable.
19743 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19744
f91f1c0f
MR
19745 [BZ #15022]
19746 * elf/dl-support.c (_dl_main_map): New variable.
19747 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19748 (_dl_nns, _dl_load_adds): Set to 1.
19749 (_dl_initial_searchlist): Refer to _dl_main_map.
19750 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19751 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19752 call to _dl_get_origin.
19753 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19754 around call_map.
19755 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19756 * dlfcn/modstatic3.c: New file.
19757 * dlfcn/tststatic3.c: New file.
19758 * dlfcn/tststatic4.c: New file.
19759 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19760 (tests-static): Likewise.
19761 (modules-names): Add modstatic3.
19762 (tststatic3-ENV, tststatic4-ENV): New variables.
19763 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19764 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19765
cbe7d24b
JM
197662013-06-26 Joseph Myers <joseph@codesourcery.com>
19767
19768 * configure.in (CC): Require GCC version 4.4 or later.
19769 * configure: Regenerated.
19770 * manual/install.texi (Tools for Compilation): Update GCC version
19771 requirement.
19772 * INSTALL: Regenerated.
19773
11b8a0e1
LD
197742013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19775
19776 [BZ #15674]
bb5bb87c
L
19777 * string/test-memcmp.c (check2): New.
19778 (main): Call check2.
19779
11b8a0e1
LD
19780 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19781
b0037103
MR
197822013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19783
19784 [BZ #15022]
19785 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19786 over to...
19787 (dl_open_worker) [!SHARED]: ... here.
19788
c18c701d
RA
197892013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19790
19791 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19792
1d17fa5f
RH
197932013-06-25 Richard Henderson <rth@redhat.com>
19794
19795 * locale/programs/locarchive.c: Include <libc-internal.h>
19796
8fcb833a
JM
197972013-06-25 Joseph Myers <joseph@codesourcery.com>
19798
19799 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19800 trailing whitespace removed.
19801
17db6e8d
MF
198022013-06-24 Mike Frysinger <vapier@gentoo.org>
19803
19804 [BZ #10283]
17db6e8d
MF
19805 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19806 * locale/programs/locarchive.c: Include libc-mmap.h.
19807 (prepare_address_space): Take two new outputs (the mmap base and len).
19808 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19809 values.
19810 (create_archive): Declare new mmap base and len values for
19811 prepare_address_space, and store the result in ah.
19812 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19813 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19814 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19815 Declare new mmap base and len values for
19816 prepare_address_space, and store the result in new_ah.
19817 (open_archive): Declare new mmap base and len values for
19818 prepare_address_space, and store the result in ah.
19819 (close_archive): If ah->mmap_base is not NULL, use that and
19820 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19821 * sysdeps/generic/libc-mmap.h: New file.
19822
d605071e
MF
198232013-06-24 Mike Frysinger <vapier@gentoo.org>
19824
19825 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19826 (ALIGN_UP): Likewise.
19827 (PTR_ALIGN_DOWN): Likewise.
19828 (PTR_ALIGN_UP): Likewise.
19829
2f063a6e
RA
198302013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19831
19832 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19833 entry mapped to PPC_PLATFORM_POWER8.
19834 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19835 POWER8.
19836 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19837 (_dl_string_platform): Add case for exporting platform position for
19838 POWER8.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19840 search path to sysdeps/powerpc/powerpc32/power8 directory.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19842 search path to sysdeps/powerpc/powerpc64/power8 directory.
19843 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19844 power7 directories.
19845 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19846 power7 directories.
19847
a31ee4b3
SP
198482013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19849
a74ca98f
SP
19850 * INSTALL: Regenerate.
19851
a31ee4b3
SP
19852 * nscd/connections.c (nscd_init): Fix comment.
19853
695c378f
JM
198542013-06-22 Joseph Myers <joseph@codesourcery.com>
19855
d8412221
JM
19856 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19857
695c378f
JM
19858 [BZ #15667]
19859 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19860 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19861
d1d54715
MR
198622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19863
19864 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19865 DL_DST_REQ_STATIC.
19866 (DL_DST_REQ_STATIC): Remove macro.
19867
8fdda7af
JM
198682013-06-21 Joseph Myers <joseph@codesourcery.com>
19869
19870 [BZ #7006]
19871 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19872 with a shift of 0 bits.
19873
f3bc5e5a
MR
198742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19875
19876 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19877 $(tststatic-ENV).
19878
be09e8c9
KK
198792013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19880
19881 [BZ #15655]
19882 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19883
85c2e611
AZ
198842013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19885
19886 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19887 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19888 accepts -fno-tree-loop-distribute-patterns.
19889 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19890 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19891 recursive call.
19892 * string/memset.c (memset): Likewise.
19893 * string/test-memmove.c (simple_memmove): Disable loop transformation
19894 to library calls.
19895 * string/test-memset.c (simple_memset): Likewise.
19896 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19897 * benchtests/bench-memset.c (simple_memset): Likewise.
19898 * configure: Regenerated.
19899
c91e0825
JM
199002013-06-20 Joseph Myers <joseph@codesourcery.com>
19901
b8c792af
JM
19902 * math/test-misc.c (main): Ignore fesetround failure when failures
19903 of subsequent rounding tests would be ignored.
19904
c91e0825
JM
19905 [BZ #15654]
19906 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19907 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19908 * math/fegetenv.c (__fegetenv): Return 0.
19909 * math/fegetexcept.c (fegetexcept): Return 0.
19910 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19911 FE_TONEAREST.
19912 * math/feholdexcpt.c (feholdexcept): Return 0.
19913 * math/fesetenv.c (__fesetenv): Return 0.
19914 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19915 argument FE_TONEAREST.
19916 * math/feupdateenv.c (__feupdateenv): Return 0.
19917 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19918
bfcacbde
RM
199192013-06-18 Roland McGrath <roland@hack.frob.com>
19920
19921 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19922 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19923 ($(objpfx)rtld-%.os rules): Use them.
19924
e55a9b25
AZ
199252013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19926
19927 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19928 fields.
19929
346d65b3
RM
199302013-06-17 Roland McGrath <roland@hack.frob.com>
19931
12086fb4
RM
19932 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19933 length of target pattern, then descending length of dependency pattern.
19934 * configure.in (AWK): Require gawk 3.1.2 or newer.
19935 * manual/install.texi (Tools for Compilation): Say that we do.
19936 * configure: Regenerated.
19937
346d65b3
RM
19938 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19939 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19940 * scripts/sysd-rules.awk: ... this new script.
19941 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19942 than a glob-style pattern.
19943
1a846317
JM
199442013-06-17 Joseph Myers <joseph@codesourcery.com>
19945
19946 * math/test-misc.c (main): Do not treat incorrectly rounded
19947 conversions as failure unless ROUNDING_TESTS passes.
19948
8fc75e6f
JM
199492013-06-15 Joseph Myers <joseph@codesourcery.com>
19950
3711a167
JM
19951 [BZ #15631]
19952 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19953 restore exception state around main square root computation, then
19954 check for inexactness explicitly.
19955
8fc75e6f
JM
19956 * math/libm-test.inc (fma_test_data): Add another test.
19957
61dd6208
SP
199582013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19959
adf23d2c
SP
19960 * manual/threads.texi (Non-POSIX Extensions): New document
19961 node. Document pthread_getattr_default_np and
19962 pthread_setattr_default_np.
19963
61dd6208
SP
19964 * Versions.def (libpthread): Add GLIBC_2.18.
19965 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19967 Likewise.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19969 Likewise.
19970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19971 Likewise.
19972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19973 Likewise.
19974 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19975 Likewise.
19976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19977 Likewise.
19978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19979 Likewise.
19980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19981 Likewise.
19982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19983 Likewise.
19984
d086fc7b
LD
199852013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19986
19987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19988 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19989
747ef469
SP
199902013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19991 H.J. Lu <hjl.tools@gmail.com>
19992
19993 [BZ #15627]
19994 * sysdeps/x86_64/rtld-memset.c: Remove file.
19995 * sysdeps/x86_64/rtld-memset.S: New file.
19996
1b2feed2
JM
199972013-06-14 Joseph Myers <joseph@codesourcery.com>
19998
19999 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20000 (test_in_one_mode): Take arguments for whether the rounding mode
20001 is supported for each floating-point type.
20002 (do_test): Pass new arguments to test_in_one_mode using
20003 ROUNDING_TESTS.
20004
a58ad3f8
RM
200052013-06-13 Roland McGrath <roland@hack.frob.com>
20006
20007 * posix/tst-waitid.c (do_test): Distinguish different instances of
20008 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20009 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20010 before entering the kernel for waitpid.
20011
c204ab28
SP
200122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20013
20014 * NEWS: Fix note on clock function precision. Text by Roland
20015 McGrath.
20016
f4a29fba
RM
200172013-06-13 Roland McGrath <roland@hack.frob.com>
20018
20019 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20020 it into place only when and if the sanity check passes.
20021
1f24b9ad
JM
200222013-06-13 Joseph Myers <joseph@codesourcery.com>
20023
20024 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20025 output for whether conversion result is exact. Take argument
20026 indicating whether type is IBM long double.
20027 (round_for_all): Change need_exact field to ibm_ld.
20028 * stdlib/tst-strtod-round.c (struct exactness): New type.
20029 (struct test): Change bool ld_ok field to struct exactness exact.
20030 (TEST): Update all definitions for change to field.
20031 (tests): Regenerate array contents.
20032 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20033 field value. Check for IBM long double here.
20034 (do_test): Update calls to test_in_one_mode.
20035
58206c68
SP
200362013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20037
20038 [BZ #12515]
20039 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20040 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20041
2d6f4c5b 200422013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20043
20044 [BZ #15605]
20045 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20046 generated by the compiler on loop optimizations.
20047 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20048 general definitions.
20049
94f2c076
JM
200502013-06-12 Joseph Myers <joseph@codesourcery.com>
20051
20052 * math/bug-nextafter.c: Include <math-tests.h>.
20053 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20054 the relevant type.
20055 * math/bug-nexttoward.c: Include <math-tests.h>.
20056 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20057 the relevant type.
20058 * math/test-misc.c: Include <math-tests.h>.
20059 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20060 the relevant type.
20061
e0e50a0a
AJ
200622013-06-12 Andreas Jaeger <aj@suse.de>
20063
20064 * po/ia.po: Update Interlingua translation from translation
20065 project.
20066
25061094
SP
200672013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20068
20069 * include/fenv.h: Include stdbool.h.
20070 (struct rm_ctx): New structure.
20071 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20072 Define macro.
20073 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20074 (SET_RESTORE_ROUNDF): Likewise.
20075 (SET_RESTORE_ROUNDL): Likewise.
20076 (SET_RESTORE_ROUND_NOEX): Likewise.
20077 (SET_RESTORE_ROUND_NOEXF): Likewise.
20078 (SET_RESTORE_ROUND_NOEXL): Likewise.
20079 (SET_RESTORE_ROUND_53BIT): Likewise.
20080 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20081 (libc_feresetround_noexf_ctx): Likewise.
20082 (libc_feresetround_noexl_ctx): Likewise.
20083 (libc_feholdsetround_53bit_ctx): Likewise.
20084 (libc_feresetround_53bit_ctx): Likewise.
20085 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20086 (libc_feholdexcept_setround_sse_ctx): New function.
20087 (libc_fesetenv_sse_ctx): Likewise.
20088 (libc_feupdateenv_sse_ctx): Likewise.
20089 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20090 (libc_feholdexcept_setround_387_ctx): Likewise.
20091 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20092 (libc_feholdsetround_387_prec_ctx): Likewise.
20093 (libc_feholdsetround_387_ctx): Likewise.
20094 (libc_feholdsetround_387_53bit_ctx): Likewise.
20095 (libc_feholdsetround_sse_ctx): Likewise.
20096 (libc_feresetround_sse_ctx): Likewise.
20097 (libc_feresetround_387_ctx): Likewise.
20098 (libc_feupdateenv_387_ctx): Likewise.
20099 (libc_feholdexcept_setroundf_ctx): Define macro.
20100 (libc_fesetenvf_ctx): Likewise.
20101 (libc_feupdateenvf_ctx): Likewise.
20102 (libc_feholdsetroundf_ctx): Likewise.
20103 (libc_feresetroundf_ctx): Likewise.
20104 (libc_feholdexcept_setround_ctx): Likewise.
20105 (libc_fesetenv_ctx): Likewise.
20106 (libc_feupdateenv_ctx): Likewise.
20107 (libc_feholdsetround_ctx): Likewise.
20108 (libc_feresetround_ctx): Likewise.
20109 (libc_feholdexcept_setroundl_ctx): Likewise.
20110 (libc_feupdateenvl_ctx): Likewise.
20111 (libc_feholdsetroundl_ctx): Likewise.
20112 (libc_feresetroundl_ctx): Likewise.
20113 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20114 (libc_feresetround_53bit_ctx): Likewise.
20115
59b30555
SP
201162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20117
20118 * locale/iso-639.def: Convert to UTF-8.
20119
f1d73d30
JM
201202013-06-11 Joseph Myers <joseph@codesourcery.com>
20121
20122 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20123 (EXCEPTION_TESTS_double): Likewise.
20124 (EXCEPTION_TESTS_long_double): Likewise.
20125 (EXCEPTION_TESTS): Likewise.
20126 * math/libm-test.inc (test_exceptions): Only test exceptions if
20127 EXCEPTION_TESTS (FLOAT).
20128
94aca5e7
SP
201292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20130
20131 * benchtests/Makefile (string-bench): Add strcpy_chk and
20132 stpcpy_chk.
20133 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20134 * benchtests/bench-stpcpy_chk.c: New file.
20135 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20136 * benchtests/bench-strcpy_chk.c: New file.
20137 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20138 code.
20139 (do_test): Likewise.
20140
fac0c5f2
RA
201412013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20142
20143 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20144 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20145 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20146 with tabs where appropriate.
20147 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20148 dl-procinfo.h.
20149 [PPC_PLATFORM_PPC440]: Likewise.
20150 [PPC_PLATFORM_PPC464]: Likewise.
20151 [PPC_PLATFORM_PPC476]: Likewise.
20152 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20153 ppc464, and ppc476 platform strings merging from ports/
20154 dl-procinfo.h.
20155
f22bc486
AS
201562013-06-11 Andreas Schwab <schwab@suse.de>
20157
20158 [BZ #14991]
20159 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20160 (from_ucs4_idx): Regenerate.
20161 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20162 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20163 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20164 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20165 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20166 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20167 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20168 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20169 from FROM_LOOP and TO_LOOP specific macros.
20170 (BODY): Handle combining characters.
20171 * iconvdata/BIG5HKSCS.irreversible: Update.
20172 * iconvdata/BIG5HKSCS.precomposed: New file.
20173 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20174 characters.
20175 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20176
c1f75dc3
SP
201772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20178
4eacded2
SP
20179 * include/sys/time.h: Fix indentation and add copyright header.
20180
fec799f8
SP
20181 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20182 (do_test): Likewise.
20183 * string/test-memchr.c (do_one_test): Likewise.
20184 (do_test): Likewise.
20185 * string/test-memcmp.c (do_one_test): Likewise.
20186 (do_test): Likewise.
20187 * string/test-memcpy.c (do_one_test): Likewise.
20188 (do_test): Likewise.
20189 * string/test-memmem.c (do_one_test): Likewise.
20190 (do_test): Likewise.
20191 (do_random_tests): Likewise.
20192 * string/test-memmove.c (do_one_test): Likewise.
20193 (do_test): Likewise.
20194 * string/test-memset.c (do_one_test): Likewise.
20195 (do_test): Likewise.
20196 * string/test-rawmemchr.c (do_one_test): Likewise.
20197 (do_test): Likewise.
20198 * string/test-strcasecmp.c (do_one_test): Likewise.
20199 (do_test): Likewise.
20200 * string/test-strcasestr.c (do_one_test): Likewise.
20201 (do_test): Likewise.
20202 * string/test-strcat.c (do_one_test): Likewise.
20203 (do_test): Likewise.
20204 * string/test-strchr.c (do_one_test): Likewise.
20205 (do_test): Likewise.
20206 * string/test-strcmp.c (do_one_test): Likewise.
20207 (do_test): Likewise.
20208 * string/test-strcpy.c (do_one_test): Likewise.
20209 (do_test): Likewise.
20210 * string/test-string.h: Likewise.
20211 (test_init): Likewise.
20212 * string/test-strlen.c (do_one_test): Likewise.
20213 (do_test): Likewise.
20214 * string/test-strncasecmp.c (do_one_test): Likewise.
20215 (do_test): Likewise.
20216 * string/test-strncat.c (do_one_test): Likewise.
20217 (do_test): Likewise.
20218 * string/test-strncmp.c (do_one_test): Likewise.
20219 (do_test_limit): Likewise.
20220 (do_test): Likewise.
20221 * string/test-strncpy.c (do_one_test): Likewise.
20222 (do_test): Likewise.
20223 * string/test-strnlen.c (do_one_test): Likewise.
20224 (do_test): Likewise.
20225 * string/test-strpbrk.c (do_one_test): Likewise.
20226 (do_test): Likewise.
20227 * string/test-strrchr.c (do_one_test): Likewise.
20228 (do_test): Likewise.
20229 * string/test-strspn.c (do_one_test): Likewise.
20230 (do_test): Likewise.
20231 * string/test-strstr.c (do_one_test): Likewise.
20232 (do_test): Likewise.
20233
97020474
SP
20234 * benchtests/Makefile (string-bench): Add string benchmarks.
20235 * benchtests/bench-bcopy-ifunc.c: New file.
20236 * benchtests/bench-bcopy.c: New file.
20237 * benchtests/bench-bzero-ifunc.c: New file.
20238 * benchtests/bench-bzero.c: New file.
20239 * benchtests/bench-memccpy-ifunc.c: New file.
20240 * benchtests/bench-memccpy.c: New file.
20241 * benchtests/bench-memchr-ifunc.c: New file.
20242 * benchtests/bench-memchr.c: New file.
20243 * benchtests/bench-memcmp-ifunc.c: New file.
20244 * benchtests/bench-memcmp.c: New file.
20245 * benchtests/bench-memmem-ifunc.c: New file.
20246 * benchtests/bench-memmem.c: New file.
20247 * benchtests/bench-memmove-ifunc.c: New file.
20248 * benchtests/bench-memmove.c: New file.
20249 * benchtests/bench-mempcpy-ifunc.c: New file.
20250 * benchtests/bench-mempcpy.c: New file.
20251 * benchtests/bench-memset-ifunc.c: New file.
20252 * benchtests/bench-memset.c: New file.
20253 * benchtests/bench-rawmemchr-ifunc.c: New file.
20254 * benchtests/bench-rawmemchr.c: New file.
20255 * benchtests/bench-stpcpy-ifunc.c: New file.
20256 * benchtests/bench-stpcpy.c: New file.
20257 * benchtests/bench-stpncpy-ifunc.c: New file.
20258 * benchtests/bench-stpncpy.c: New file.
20259 * benchtests/bench-strcasecmp-ifunc.c: New file.
20260 * benchtests/bench-strcasecmp.c: New file.
20261 * benchtests/bench-strcasestr-ifunc.c: New file.
20262 * benchtests/bench-strcasestr.c: New file.
20263 * benchtests/bench-strcat-ifunc.c: New file.
20264 * benchtests/bench-strcat.c: New file.
20265 * benchtests/bench-strchr-ifunc.c: New file.
20266 * benchtests/bench-strchr.c: New file.
20267 * benchtests/bench-strchrnul-ifunc.c: New file.
20268 * benchtests/bench-strchrnul.c: New file.
20269 * benchtests/bench-strcmp-ifunc.c: New file.
20270 * benchtests/bench-strcmp.c: New file.
20271 * benchtests/bench-strcpy-ifunc.c: New file.
20272 * benchtests/bench-strcpy.c: New file.
20273 * benchtests/bench-strcspn-ifunc.c: New file.
20274 * benchtests/bench-strcspn.c: New file.
20275 * benchtests/bench-strlen-ifunc.c: New file.
20276 * benchtests/bench-strlen.c: New file.
20277 * benchtests/bench-strncasecmp-ifunc.c: New file.
20278 * benchtests/bench-strncasecmp.c: New file.
20279 * benchtests/bench-strncat-ifunc.c: New file.
20280 * benchtests/bench-strncat.c: New file.
20281 * benchtests/bench-strncmp-ifunc.c: New file.
20282 * benchtests/bench-strncmp.c: New file.
20283 * benchtests/bench-strncpy-ifunc.c: New file.
20284 * benchtests/bench-strncpy.c: New file.
20285 * benchtests/bench-strnlen-ifunc.c: New file.
20286 * benchtests/bench-strnlen.c: New file.
20287 * benchtests/bench-strpbrk-ifunc.c: New file.
20288 * benchtests/bench-strpbrk.c: New file.
20289 * benchtests/bench-strrchr-ifunc.c: New file.
20290 * benchtests/bench-strrchr.c: New file.
20291 * benchtests/bench-strspn-ifunc.c: New file.
20292 * benchtests/bench-strspn.c: New file.
20293 * benchtests/bench-strstr-ifunc.c: New file.
20294 * benchtests/bench-strstr.c: New file.
20295
c1f75dc3
SP
20296 * benchtests/Makefile: Disable parallel execution of targets.
20297 (string-bench): Add memcpy.
20298 (benchset): New variable to store a list of benchmark sets.
20299 (bench-func): Renamed from bench.
20300 (bench-set): New target.
20301 (bench): Depend on bench-func and bench-set.
20302 * benchtests/README: Add section on benchmark sets.
20303 * benchtests/bench-memcpy-ifunc.c: New file.
20304 * benchtests/bench-memcpy.c: New file.
20305 * benchtests/bench-string.h: New file.
20306
50fd745b
AS
203072013-06-11 Andreas Schwab <schwab@suse.de>
20308
20309 [BZ #15577]
20310 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20311 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20312 values in the triple.
20313 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20314 terminator in the group key.
20315
3ee7e9fe
AJ
203162013-06-11 Andreas Jaeger <aj@suse.de>
20317
20318 * po/zh_TW.po: Update Chinese (traditional) translation from
20319 translation project.
20320
89fb6835
SP
203212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20322
20323 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20324 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20325 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20327 (clock_getcpuclockid): Likewise.
20328 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20329 Add weak_alias and libc_hidden_def.
20330 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20331 * rt/clock_gettime.c (clock_gettime): Rename to
20332 __clock_gettime. Add weak_alias and libc_hidden_def.
20333 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20334 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20335 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20336 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20337 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20338 Likewise.
20339 * rt/clock_settime.c (clock_settime): Rename to
20340 __clock_settime. Add weak_alias and libc_hidden_def.
20341 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20342
0efa6f8b
JM
203432013-06-10 Joseph Myers <joseph@codesourcery.com>
20344
b8c61b4b
JM
20345 * mach/err_boot.sub: Remove trailing whitespace.
20346 * mach/err_ipc.sub: Likewise.
20347 * mach/err_mach.sub: Likewise.
20348
0efa6f8b
JM
20349 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20350 (ROUNDING_TESTS_double): Likewise.
20351 (ROUNDING_TESTS_long_double): Likewise.
20352 (ROUNDING_TESTS): Likewise.
20353 * math/libm-test.inc: Include <math-tests.h>.
20354 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20355 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20356 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20357 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20358
50b818bf
SP
203592013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20360
20361 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20362 of assigning.
20363
60d2f8f3
JM
203642013-06-08 Joseph Myers <joseph@codesourcery.com>
20365
4902d2c3
JM
20366 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20367 otherwise empty TRANS lines.
20368 * sysdeps/gnu/errlist.c: Regenerated.
20369
60d2f8f3
JM
20370 * catgets/gencat.c (error_print): Use (void) in function
20371 definition.
20372 * crypt/crypt_util.c (__init_des): Likewise.
20373 * crypt/speeds.c (Stop): Likewise.
20374 (main): Likewise.
20375 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20376 * inet/ruserpass.c (token): Likewise.
20377 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20378 * intl/localealias.c (extend_alias_table): Likewise.
20379 * intl/plural-exp.c (init_germanic_plural): Likewise.
20380 * libio/fcloseall.c (__fcloseall): Likewise.
20381 * libio/genops.c (_IO_flush_all): Likewise.
20382 (_IO_flush_all_linebuffered): Likewise.
20383 (_IO_cleanup): Likewise.
20384 (_IO_iter_begin): Likewise.
20385 (_IO_iter_end): Likewise.
20386 (_IO_list_lock): Likewise.
20387 (_IO_list_unlock): Likewise.
20388 (_IO_list_resetlock): Likewise.
20389 * libio/getchar.c (getchar): Likewise.
20390 * libio/getchar_u.c (getchar_unlocked): Likewise.
20391 * libio/getwchar.c (getwchar): Likewise.
20392 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20393 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20394 * login/getpt.c (__getpt): Likewise.
20395 * login/tst-utmp.c (main): Likewise.
20396 * malloc/hooks.c (__malloc_check_init): Likewise.
20397 * malloc/malloc.c (__malloc_stats): Likewise.
20398 * malloc/mtrace.c (tr_break): Likewise.
20399 (mtrace): Likewise.
20400 (muntrace): Likewise.
20401 * misc/fstab.c (endfsent): Likewise.
20402 * misc/getclktck.c (__getclktck): Likewise.
20403 * misc/getdtsz.c (__getdtablesize): Likewise.
20404 * misc/gethostid.c (gethostid): Likewise.
20405 * misc/getpagesize.c (__getpagesize): Likewise.
20406 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20407 (__get_nprocs): Likewise.
20408 (__get_phys_pages): Likewise.
20409 (__get_avphys_pages): Likewise.
20410 * misc/getttyent.c (getttyent): Likewise.
20411 (setttyent): Likewise.
20412 (endttyent): Likewise.
20413 * misc/getusershell.c (getusershell): Likewise.
20414 (endusershell): Likewise.
20415 (setusershell): Likewise.
20416 (initshells): Likewise.
20417 * misc/hsearch.c (__hdestroy): Likewise.
20418 * misc/sync.c (sync): Likewise.
20419 * misc/syslog.c (closelog_internal): Likewise.
20420 (closelog): Likewise.
20421 * misc/ttyslot.c (ttyslot): Likewise.
20422 * misc/vhangup.c (vhangup): Likewise.
20423 * posix/fork.c (__fork): Likewise.
20424 * posix/getegid.c (__getegid): Likewise.
20425 * posix/geteuid.c (__geteuid): Likewise.
20426 * posix/getgid.c (__getgid): Likewise.
20427 * posix/getpid.c (__getpid): Likewise.
20428 * posix/getppid.c (__getppid): Likewise.
20429 * posix/getuid.c (__getuid): Likewise.
20430 * posix/pause.c (pause): Likewise.
20431 * posix/setpgrp.c (setpgrp): Likewise.
20432 * posix/setsid.c (__setsid): Likewise.
20433 * posix/test-vfork.c (noop): Likewise.
20434 * resolv/gethnamaddr.c (_endhtent): Likewise.
20435 (_gethtent): Likewise.
20436 (ht_endhostent): Likewise.
20437 (gethostent): Likewise.
20438 (dns_service): Likewise.
20439 * stdlib/drand48.c (drand48): Likewise.
20440 * stdlib/lrand48.c (lrand48): Likewise.
20441 * stdlib/mrand48.c (mrand48): Likewise.
20442 * stdlib/rand.c (rand): Likewise.
20443 * stdlib/random.c (__random): Likewise.
20444 * stdlib/setenv.c (clearenv): Likewise.
20445 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20446 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20447 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20448 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20449 (__get_nprocs): Likewise.
20450 (__get_phys_pages): Likewise.
20451 (__get_avphys_pages): Likewise.
20452 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20453 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20454 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20455 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20456 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20457 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20458 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20459 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20460 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20461 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20462 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20463 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20464 * sysdeps/posix/clock.c (clock): Likewise.
20465 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20466 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20467 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20468 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20469 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20471 (__get_nprocs_conf): Likewise.
20472 (__get_phys_pages): Likewise.
20473 (__get_avphys_pages): Likewise.
20474 * time/clock.c (clock): Likewise.
20475 * time/tzset.c (__tzname_max): Likewise.
20476
2e09a79a
JM
204772013-06-07 Joseph Myers <joseph@codesourcery.com>
20478
20479 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20480 (__bswap_32): Do not use "register".
20481 * crypt/crypt.c (_ufc_doit_r): Likewise.
20482 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20483 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20484 * gmon/gmon.c (__monstartup): Likewise.
20485 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20486 * hurd/hurdmalloc.c (more_memory): Likewise.
20487 (malloc): Likewise.
20488 (free): Likewise.
20489 (realloc): Likewise.
20490 (malloc_fork_prepare): Likewise.
20491 (malloc_fork_parent): Likewise.
20492 (malloc_fork_child): Likewise.
20493 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20494 (_svcauth_des): Likewise.
20495 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20496 * inet/inet_net.c (inet_network): Likewise.
20497 * inet/inet_netof.c (inet_netof): Likewise.
20498 * inet/rcmd.c (__validuser2_sa): Likewise.
20499 * io/fts.c (fts_open): Likewise.
20500 (fts_load): Likewise.
20501 (fts_close): Likewise.
20502 (fts_read): Likewise.
20503 (fts_children): Likewise.
20504 (fts_build): Likewise.
20505 (fts_stat): Likewise.
20506 (fts_sort): Likewise.
20507 (fts_alloc): Likewise.
20508 (fts_lfree): Likewise.
20509 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20510 (_IO_file_xsgetn): Likewise.
20511 (_IO_file_xsgetn_mmap): Likewise.
20512 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20513 (_IO_cookie_write): Likewise.
20514 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20515 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20516 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20517 * malloc/obstack.c (_obstack_begin): Likewise.
20518 (_obstack_begin_1): Likewise.
20519 (_obstack_newchunk): Likewise.
20520 (_obstack_allocated_p): Likewise.
20521 (obstack_free): Likewise.
20522 (_obstack_memory_used): Likewise.
20523 * misc/getttyent.c (getttynam): Likewise.
20524 (getttyent): Likewise.
20525 (skip): Likewise.
20526 (value): Likewise.
20527 * misc/getusershell.c (initshells): Likewise.
20528 * misc/syslog.c (__vsyslog_chk): Likewise.
20529 * misc/ttyslot.c (ttyslot): Likewise.
20530 * nis/nis_hash.c (__nis_hash): Likewise.
20531 * posix/fnmatch_loop.c (FCT): Likewise.
20532 * posix/getconf.c (print_all): Likewise.
20533 (main): Likewise.
20534 * posix/getopt.c (exchange): Likewise.
20535 * posix/glob.c (globfree): Likewise.
20536 (prefix_array): Likewise.
20537 (__glob_pattern_type): Likewise.
20538 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20539 (NS_GET32): Likewise.
20540 (NS_PUT16): Likewise.
20541 (NS_PUT32): Likewise.
20542 * resolv/gethnamaddr.c (getanswer): Likewise.
20543 (gethostbyname2): Likewise.
20544 (gethostbyaddr): Likewise.
20545 (_gethtent): Likewise.
20546 (_gethtbyname2): Likewise.
20547 (_gethtbyaddr): Likewise.
20548 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20549 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20550 * resolv/res_init.c (__res_vinit): Likewise.
20551 (net_mask): Likewise.
20552 * resolv/res_mkquery.c (outchar): Likewise.
20553 (PRINT): Likewise.
20554 * stdio-common/printf_fp.c (outchar): Likewise.
20555 (PRINT): Likewise.
20556 * stdio-common/printf_fphex.c (outchar): Likewise.
20557 (PRINT): Likewise.
20558 * stdio-common/printf_size.c (outchar): Likewise.
20559 (PRINT): Likewise.
20560 * stdio-common/test_rdwr.c (main): Likewise.
20561 * stdio-common/tfformat.c (matches): Likewise.
20562 * stdio-common/vfprintf.c (outchar): Likewise.
20563 (printf_unknown): Likewise.
20564 (buffered_vfprintf): Likewise.
20565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20566 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20567 (ReadFile): Likewise.
20568 * stdlib/qsort.c (SWAP): Likewise.
20569 (_quicksort): Likewise.
20570 * stdlib/setenv.c (__add_to_environ): Likewise.
20571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20572 * stdlib/strtol_l.c (__strtol_l): Likewise.
20573 * stdlib/tst-strtod.c (main): Likewise.
20574 * stdlib/tst-strtol.c (main): Likewise.
20575 * stdlib/tst-strtoll.c (main): Likewise.
20576 * string/bits/string2.h (__strcmp_cc): Likewise.
20577 (__strcmp_cg): Likewise.
20578 (__strcspn_c1): Likewise.
20579 (__strcspn_c2): Likewise.
20580 (__strcspn_c3): Likewise.
20581 (__strspn_c1): Likewise.
20582 (__strspn_c2): Likewise.
20583 (__strspn_c3): Likewise.
20584 (__strsep_1c): Likewise.
20585 (__strsep_2c): Likewise.
20586 (__strsep_3c): Likewise.
20587 * string/memccpy.c (__memccpy): Likewise.
20588 * string/stpcpy.c (__stpcpy): Likewise.
20589 * string/strcmp.c (strcmp): Likewise.
20590 * string/strrchr.c (strrchr): Likewise.
20591 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20592 Likewise.
20593 * sysdeps/mach/hurd/getcwd.c
20594 (_hurd_canonicalize_directory_name_internal): Likewise.
20595 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20596 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20597 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20598 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20599 Likewise, in both definitions.
20600 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20601 definitions.
20602 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20603 64] (__bswap_64): Likewise.
20604 * time/test_time.c (main): Likewise.
20605 * time/tzfile.c (__tzfile_read): Likewise.
20606 (__tzfile_compute): Likewise.
20607 * time/tzset.c (__tzset_parse_tz): Likewise.
20608 (tzset_internal): Likewise.
20609 (compute_change): Likewise.
20610 * wcsmbs/wcscat.c (__wcscat): Likewise.
20611 * wcsmbs/wcschr.c (wcschr): Likewise.
20612 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20613 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20614 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20615 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20616 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20617 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20618 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20619 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20620 * wcsmbs/wmemset.c (wmemset): Likewise.
20621
9e54314b
JM
206222013-06-06 Joseph Myers <joseph@codesourcery.com>
20623
20624 * scripts/config.guess: Update to version 2013-05-16.
20625 * scripts/config.sub: Update to version 2013-04-24.
20626 * scripts/install-sh: Update to version 2011-11-20.07.
20627 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20628 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20629
350635a5
OB
206302013-06-06 Ondřej Bílka <neleai@seznam.cz>
20631
20632 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20633 * elf/sln.c: Likewise.
20634 * hurd/hurd/ioctl.h: Likewise.
20635 * hurd/hurdmalloc.c: Likewise.
20636 * hurd/xattr.c: Likewise.
20637 * include/shlib-compat.h: Likewise.
20638 * inet/ruserpass.c: Likewise.
20639 * libio/iofgets_u.c: Likewise.
20640 * libio/iofgetws_u.c: Likewise.
20641 * locale/programs/ld-identification.c: Likewise.
20642 * locale/programs/ld-time.c: Likewise.
20643 * mach/msg-destroy.c: Likewise.
20644 * nss/nss_files/files-netgrp.c: Likewise.
20645 * resolv/res_data.c: Likewise.
20646 * soft-fp/op-1.h: Likewise.
20647 * soft-fp/op-2.h: Likewise.
20648 * soft-fp/op-4.h: Likewise.
20649 * soft-fp/op-common.h: Likewise.
20650 * stdio-common/printf_fphex.c: Likewise.
20651 * stdlib/strtod_l.c: Likewise.
20652 * sunrpc/rpc/clnt.h: Likewise.
20653 * sysdeps/generic/framestate.c: Likewise.
20654 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20655 * sysdeps/i386/bsd-setjmp.S: Likewise.
20656 * sysdeps/i386/__longjmp.S: Likewise.
20657 * sysdeps/i386/setjmp.S: Likewise.
20658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20659 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20660 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20663 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20667 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20668 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20669 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20670 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20671 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20672 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20673 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20674 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20675 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20676 * sysdeps/ieee754/support.c: Likewise.
20677 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20678 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20679 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20680 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20681 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20682 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20683 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20684 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20685 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20686 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20687 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20688 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20691 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20692 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20693 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20695
44a988af
OB
206962013-06-05 Ondřej Bílka <neleai@seznam.cz>
20697
25506f09 20698 * posix/transbug.c: Remove executable mode.
44a988af 20699
9c84384c
JM
207002013-06-05 Joseph Myers <joseph@codesourcery.com>
20701
20702 * crypt/speeds.c: Remove trailing whitespace.
20703 * dlfcn/default.c: Likewise.
20704 * elf/ifuncdep2.c: Likewise.
20705 * elf/ifuncmain1.c: Likewise.
20706 * elf/ifuncmain1vis.c: Likewise.
20707 * elf/testobj.h: Likewise.
20708 * elf/tst-stackguard1.c: Likewise.
20709 * gmon/sys/gmon.h: Likewise.
20710 * hurd/hurdmsg.c: Likewise.
20711 * hurd/new-fd.c: Likewise.
20712 * hurd/ports-get.c: Likewise.
20713 * iconvdata/ibm1008_420.c: Likewise.
20714 * inet/tst-getni1.c: Likewise.
20715 * inet/tst-getni2.c: Likewise.
20716 * libio/ioungetc.c: Likewise.
20717 * libio/wfiledoalloc.c: Likewise.
20718 * manual/libm-err-tab.pl: Likewise.
20719 * math/w_dremf.c: Likewise.
20720 * misc/ftruncate.c: Likewise.
20721 * posix/bug-glob2.c: Likewise.
20722 * posix/tst-pcre.c: Likewise.
20723 * posix/wait4.c: Likewise.
20724 * resolv/README: Likewise.
20725 * resolv/res_debug.h: Likewise.
20726 * resolv/tst-inet_ntop.c: Likewise.
20727 * setjmp/bug269-setjmp.c: Likewise.
20728 * soft-fp/extended.h: Likewise.
20729 * soft-fp/op-1.h: Likewise.
20730 * soft-fp/op-2.h: Likewise.
20731 * soft-fp/op-4.h: Likewise.
20732 * soft-fp/op-8.h: Likewise.
20733 * soft-fp/testit.c: Likewise.
20734 * stdio-common/bug16.c: Likewise.
20735 * stdlib/random.c: Likewise.
20736 * sunrpc/rpcsvc/rquota.x: Likewise.
20737 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20738 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20740 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20741 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20742 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20743 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20744 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20745 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20753 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20755 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20766 * sysdeps/ieee754/s_lib_version.c: Likewise.
20767 * sysdeps/mach/hurd/check_fds.c: Likewise.
20768 * sysdeps/mach/hurd/getsockname.c: Likewise.
20769 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20770 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20771 * sysdeps/powerpc/bits/link.h: Likewise.
20772 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20773 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20774 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20775 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20776 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20778 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20780 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20781 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20782 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20783 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20784 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20785 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20786 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20787 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20793 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20795 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20796 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20806 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20807 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20808 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20809 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20810 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20811 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20812 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20813 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20814 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20815 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20816 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20817 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20818 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20819 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20820 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20821 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20824 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20826 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20827 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20828 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20833 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20834 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20835 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20836 * sysdeps/powerpc/sysdep.h: Likewise.
20837 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20838 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20839 * sysdeps/sh/dl-trampoline.S: Likewise.
20840 * sysdeps/sh/memset.S: Likewise.
20841 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20842 * sysdeps/sh/strlen.S: Likewise.
20843 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20844 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20845 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20846 * sysdeps/sparc/sparc32/rem.S: Likewise.
20847 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20848 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20849 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20850 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20851 * sysdeps/sparc/sparc32/urem.S: Likewise.
20852 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20853 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20854 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20855 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20856 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20857 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20858 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20859 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20860 * sysdeps/unix/bsd/times.c: Likewise.
20861 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20862 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20866 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20867 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20868 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20870 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20871 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20872 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20873 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20874 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20875 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20876 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20878 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20879 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20880 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20881 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20882 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20883 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20886 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20887 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20889 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20890 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20891 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20892 * sysdeps/x86_64/strcspn.S: Likewise.
20893
869378a5
RA
208942013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20895
20896 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20897 generated file. Regenerate properly from gen-translit.pl.
20898 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20899 locale/C-translit.h.
20900
840e2943
AS
209012013-06-05 Andreas Schwab <schwab@suse.de>
20902
20903 [BZ #15100]
20904 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20905 week as 6 instead of -1.
20906 * time/tst-strptime.c (day_tests): Add test case.
20907
4c60cb0c
SP
209082013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20909
20910 * sysdeps/generic/math_private.h
20911 (libc_feholdexcept_setround_53bit): Replace with
20912 libc_feholdsetround_53bit.
20913 (libc_feupdateenv_53bit): Replace with
20914 libc_feresetround_53bit.
20915 (SET_RESTORE_ROUND_53BIT): Adjust.
20916
d180203e
SP
209172013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20918
96df079a
SP
20919 * string/test-strchrnul.c: Add copyright header.
20920
d180203e
SP
20921 * posix/tst-getaddrinfo4.c: Increase test timeout.
20922
8b0ccb2d
CD
209232013-06-03 Carlos O'Donell <carlos@redhat.com>
20924
20925 [BZ #15536]
20926 * math/libm-test.inc (MAX_EXP): Remove
20927 (MIN_EXP): Define.
20928 (ulp): Use MIN_EXP - MANT_DIG.
20929 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20930
3b3c4d40
CD
209312013-05-31 Carlos O'Donell <carlos@redhat.com>
20932
20933 * po/be.po: Revert last change.
20934 * po/zh_CN.po: Likewise.
20935 * po/header.pot: Likewise.
20936
fab7ce3f
JM
209372013-05-31 Joseph Myers <joseph@codesourcery.com>
20938
20939 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20940 link-libc-deps to empty as target-specific variable.
20941 * Makerules (link-libc-args): New variable.
20942 (libc-for-link): Likewise.
20943 (link-libc-deps): Likewise.
20944 (lib%.so): Depend on $(link-libc-deps). Link with
20945 $(link-libc-args).
20946 (build-module): Link with $(link-libc-args).
20947 (build-module-asneeded): Likewise.
20948 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20949 list of objects.
20950 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20951 target-specific variable.
20952 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20953 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20954 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20955 libc.
20956 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20957 libc and ld.so.
20958 ($(objpfx)libpcprofile.so): Likewise.
20959 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20960 libc_nonshared.a.
20961 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20962 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20963 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20964 $(link-libc-deps).
20965 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20966 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20967 * login/Makefile ($(objpfx)libutil.so): Likewise.
20968 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20969 * math/Makefile ($(objpfx)libm.so): Likewise.
20970 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20971 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20972 variable instead of depending directly on libc.
20973 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20974 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20975 $(link-libc-deps).
20976 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20977 libc.
20978 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20979 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20980 ($(objpfx)libanl.so): Likewise.
20981 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20982 ld.so.
20983 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20984 $(link-libc-deps).
20985 * sysdeps/i386/fpu/Makefile: Remove file.
20986 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20987 ($(objpfx)libm.so): Remove dependency on ld.so.
20988
eca5920c
PF
209892013-05-30 Patsy Franklin <pfrankli@redhat.com>
20990
20991 [BZ # 15553]
20992 * nis/yp_xdr.c (XDRMAXNAME): Define.
20993 (XDRMAXRECORD): Define.
20994 (xdr_domainname): Use XDRMAXNAME.
20995 (xdr_mapname): Likewise.
20996 (xdr_peername): Likewise.
20997 (xdr_keydat): Use XDRMAXRECORD.
20998 (xdr_valdat): Likewise.
20999
210002013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21001
21002 [BZ #14256]
21003 * manual/errno.texi (ESTALE): Update to account for more than
21004 just NFS file systems.
21005 * sysdeps/gnu/errlist.c: Regenerated.
21006
b9375348
SP
210072013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21008
21009 [BZ #15465]
21010 * elf/Makefile (tests): Add tst-null-argv.
21011 (modules-names): Add tst-null-argv-lib.
21012 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21013 (tst-null-argv-ENV): Set environment for tst-null-argv.
21014 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21015 (RTLD_PROGNAME): New macro.
21016 * elf/tst-null-argv.c: New test case.
21017 * elf/tst-null-argv-lib.c: Library for test case.
21018 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21019 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21020 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21021 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21022 * elf/dl-init.c (call_init): Likewise.
21023 (_dl_init): Likewise.
21024 * elf/dl-load.c (print_search_path): Likewise.
21025 (_dl_map_object): Likewise.
21026 * elf/dl-lookup.c (do_lookup_x): Likewise.
21027 (add_dependency): Likewise.
21028 (_dl_lookup_symbol_x): Likewise.
21029 (_dl_debug_bindings): Likewise.
21030 * elf/dl-open.c (_dl_show_scope): Likewise.
21031 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21032 * elf/dl-version.c (match_symbol): Likewise.
21033 (_dl_check_map_versions): Likewise.
21034 * elf/rtld.c (dl_main): Likewise.
21035 (print_unresolved): Use RTLD_PROGNAME.
21036 (print_missing_version): Likewise.
21037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21038 (elf_machine_rela): Likewise.
21039 * sysdeps/powerpc/powerpc32/dl-machine.c
21040 (__process_machine_rela): Likewise.
21041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21042 Likewise.
21043 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21044 Likewise.
21045 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21046 Likewise.
21047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21049 Likewise.
21050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21051 Likewise.
21052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21053
8a9f20c8
CD
210542013-05-28 Carlos O'Donell <carlos@redhat.com>
21055
21056 * po/be.po: Add descriptive title.
21057 * po/zh_CN.po: Likewise.
21058 * po/header.pot: Likewise.
21059
0e60d68e
MF
210602013-05-28 Mike Frysinger <vapier@gentoo.org>
21061
21062 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21063 error message.
21064 (enlarge_archive): Likewise.
21065
56b672e9
BN
210662013-05-28 Ben North <ben@redfrontdoor.org>
21067
21068 * manual/arith.texi (frexp): It is the magnitude of the return
21069 value which lies in [0.5, 1), not the return value itself.
21070
5e056687
AZ
210712013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21072
21073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21074
2b66ef5d
TS
210752013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21076
528c2405
TS
21077 * stdio-common/bug26.c (main): Correct fscanf template.
21078
07b4c13d
TS
21079 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21080 declare _dl_skip_args.
21081
ec9dd97c
TS
21082 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21083 Don't declare.
21084
2b66ef5d
TS
21085 * manual/platform.texi: Add missing @end deftypefun.
21086
4f8dfe27
JM
210872013-05-24 Joseph Myers <joseph@codesourcery.com>
21088
0323d086
JM
21089 [BZ #15529]
21090 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21091 bit of mantissa of 2^16382.
21092 * math/libm-test.inc (hypot_test_data): Add more tests.
21093
dd4259b9
JM
21094 * math/libm-test.inc: Add drem and pow10 to list of tested
21095 functions.
21096 (pow10_test): New function.
21097 (drem_test): Likewise.
21098 (drem_test_tonearest): Likewise.
21099 (drem_test_towardzero): Likewise.
21100 (drem_test_downward): Likewise.
21101 (drem_test_upward): Likewise.
21102 (main): Call the new functions.
21103
4f8dfe27
JM
21104 * math/libm-test.inc (finite_test_data): Remove.
21105 (finite_test): Run tests from isfinite_test_data.
21106 (gamma_test_data): Remove.
21107 (gamma_test): Run tests from lgamma_test_data.
21108 * sysdeps/i386/fpu/libm-test-ulps: Update.
21109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21110
d116b7c4
AZ
211112013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21112
21113 * manual/platform.texi: Add PowerPC PPR function set documentation.
21114 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21115 implementation.
21116
e96e3767
CD
211172013-05-24 Carlos O'Donell <carlos@redhat.com>
21118
21119 * math/libm-test.inc (MAX_EXP): Define.
21120 (ULPDIFF): Define.
21121 (ulp): New function.
21122 (check_float_internal): Use ULPDIFF.
21123 (cpow_test): Disable failing test.
21124 (check_ulp): Test ulp() implemetnation.
21125 (main): Call check_ulp before starting tests.
21126
b679a606
JM
211272013-05-24 Joseph Myers <joseph@codesourcery.com>
21128
e8bdba36
JM
21129 * math/gen-libm-test.pl (generate_testfile): Do not handle
21130 START_DATA and END_DATA.
21131 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21132 END_DATA.
21133 (acos_tonearest_test_data): Likewise.
21134 (acos_towardzero_test_data): Likewise.
21135 (acos_downward_test_data): Likewise.
21136 (acos_upward_test_data): Likewise.
21137 (acosh_test_data): Likewise.
21138 (asin_test_data): Likewise.
21139 (asin_tonearest_test_data): Likewise.
21140 (asin_towardzero_test_data): Likewise.
21141 (asin_downward_test_data): Likewise.
21142 (asin_upward_test_data): Likewise.
21143 (asinh_test_data): Likewise.
21144 (atan_test_data): Likewise.
21145 (atanh_test_data): Likewise.
21146 (atan2_test_data): Likewise.
21147 (cabs_test_data): Likewise.
21148 (cacos_test_data): Likewise.
21149 (cacosh_test_data): Likewise.
21150 (carg_test_data): Likewise.
21151 (casin_test_data): Likewise.
21152 (casinh_test_data): Likewise.
21153 (catan_test_data): Likewise.
21154 (catanh_test_data): Likewise.
21155 (cbrt_test_data): Likewise.
21156 (ccos_test_data): Likewise.
21157 (ccosh_test_data): Likewise.
21158 (ceil_test_data): Likewise.
21159 (cexp_test_data): Likewise.
21160 (cimag_test_data): Likewise.
21161 (clog_test_data): Likewise.
21162 (clog10_test_data): Likewise.
21163 (conj_test_data): Likewise.
21164 (copysign_test_data): Likewise.
21165 (cos_test_data): Likewise.
21166 (cos_tonearest_test_data): Likewise.
21167 (cos_towardzero_test_data): Likewise.
21168 (cos_downward_test_data): Likewise.
21169 (cos_upward_test_data): Likewise.
21170 (cosh_test_data): Likewise.
21171 (cosh_tonearest_test_data): Likewise.
21172 (cosh_towardzero_test_data): Likewise.
21173 (cosh_downward_test_data): Likewise.
21174 (cosh_upward_test_data): Likewise.
21175 (cpow_test_data): Likewise.
21176 (cproj_test_data): Likewise.
21177 (creal_test_data): Likewise.
21178 (csin_test_data): Likewise.
21179 (csinh_test_data): Likewise.
21180 (csqrt_test_data): Likewise.
21181 (ctan_test_data): Likewise.
21182 (ctan_tonearest_test_data): Likewise.
21183 (ctan_towardzero_test_data): Likewise.
21184 (ctan_downward_test_data): Likewise.
21185 (ctan_upward_test_data): Likewise.
21186 (ctanh_test_data): Likewise.
21187 (ctanh_tonearest_test_data): Likewise.
21188 (ctanh_towardzero_test_data): Likewise.
21189 (ctanh_downward_test_data): Likewise.
21190 (ctanh_upward_test_data): Likewise.
21191 (erf_test_data): Likewise.
21192 (erfc_test_data): Likewise.
21193 (exp_test_data): Likewise.
21194 (exp_tonearest_test_data): Likewise.
21195 (exp_towardzero_test_data): Likewise.
21196 (exp_downward_test_data): Likewise.
21197 (exp_upward_test_data): Likewise.
21198 (exp10_test_data): Likewise.
21199 (exp2_test_data): Likewise.
21200 (expm1_test_data): Likewise.
21201 (fabs_test_data): Likewise.
21202 (fdim_test_data): Likewise.
21203 (finite_test_data): Likewise.
21204 (floor_test_data): Likewise.
21205 (fma_test_data): Likewise.
21206 (fma_towardzero_test_data): Likewise.
21207 (fma_downward_test_data): Likewise.
21208 (fma_upward_test_data): Likewise.
21209 (fmax_test_data): Likewise.
21210 (fmin_test_data): Likewise.
21211 (fmod_test_data): Likewise.
21212 (fpclassify_test_data): Likewise.
21213 (frexp_test_data): Likewise.
21214 (gamma_test_data): Likewise.
21215 (hypot_test_data): Likewise.
21216 (ilogb_test_data): Likewise.
21217 (isfinite_test_data): Likewise.
21218 (isgreater_test_data): Likewise.
21219 (isgreaterequal_test_data): Likewise.
21220 (isinf_test_data): Likewise.
21221 (isless_test_data): Likewise.
21222 (islessequal_test_data): Likewise.
21223 (islessgreater_test_data): Likewise.
21224 (isnan_test_data): Likewise.
21225 (isnormal_test_data): Likewise.
21226 (issignaling_test_data): Likewise.
21227 (isunordered_test_data): Likewise.
21228 (j0_test_data): Likewise.
21229 (j1_test_data): Likewise.
21230 (jn_test_data): Likewise.
21231 (ldexp_test_data): Likewise.
21232 (lgamma_test_data): Likewise.
21233 (lrint_test_data): Likewise.
21234 (lrint_tonearest_test_data): Likewise.
21235 (lrint_towardzero_test_data): Likewise.
21236 (lrint_downward_test_data): Likewise.
21237 (lrint_upward_test_data): Likewise.
21238 (llrint_test_data): Likewise.
21239 (llrint_tonearest_test_data): Likewise.
21240 (llrint_towardzero_test_data): Likewise.
21241 (llrint_downward_test_data): Likewise.
21242 (llrint_upward_test_data): Likewise.
21243 (log_test_data): Likewise.
21244 (log10_test_data): Likewise.
21245 (log1p_test_data): Likewise.
21246 (log2_test_data): Likewise.
21247 (logb_test_data): Likewise.
21248 (logb_downward_test_data): Likewise.
21249 (lround_test_data): Likewise.
21250 (llround_test_data): Likewise.
21251 (modf_test_data): Likewise.
21252 (nearbyint_test_data): Likewise.
21253 (nextafter_test_data): Likewise.
21254 (nexttoward_test_data): Likewise.
21255 (pow_test_data): Likewise.
21256 (pow_tonearest_test_data): Likewise.
21257 (pow_towardzero_test_data): Likewise.
21258 (pow_downward_test_data): Likewise.
21259 (pow_upward_test_data): Likewise.
21260 (remainder_test_data): Likewise.
21261 (remainder_tonearest_test_data): Likewise.
21262 (remainder_towardzero_test_data): Likewise.
21263 (remainder_downward_test_data): Likewise.
21264 (remainder_upward_test_data): Likewise.
21265 (remquo_test_data): Likewise.
21266 (rint_test_data): Likewise.
21267 (rint_tonearest_test_data): Likewise.
21268 (rint_towardzero_test_data): Likewise.
21269 (rint_downward_test_data): Likewise.
21270 (rint_upward_test_data): Likewise.
21271 (round_test_data): Likewise.
21272 (scalb_test_data): Likewise.
21273 (scalbn_test_data): Likewise.
21274 (scalbln_test_data): Likewise.
21275 (signbit_test_data): Likewise.
21276 (sin_test_data): Likewise.
21277 (sin_tonearest_test_data): Likewise.
21278 (sin_towardzero_test_data): Likewise.
21279 (sin_downward_test_data): Likewise.
21280 (sin_upward_test_data): Likewise.
21281 (sincos_test_data): Likewise.
21282 (sinh_test_data): Likewise.
21283 (sinh_tonearest_test_data): Likewise.
21284 (sinh_towardzero_test_data): Likewise.
21285 (sinh_downward_test_data): Likewise.
21286 (sinh_upward_test_data): Likewise.
21287 (sqrt_test_data): Likewise.
21288 (tan_test_data): Likewise.
21289 (tan_tonearest_test_data): Likewise.
21290 (tan_towardzero_test_data): Likewise.
21291 (tan_downward_test_data): Likewise.
21292 (tan_upward_test_data): Likewise.
21293 (tanh_test_data): Likewise.
21294 (tgamma_test_data): Likewise.
21295 (trunc_test_data): Likewise.
21296 (y0_test_data): Likewise.
21297 (y1_test_data): Likewise.
21298 (yn_test_data): Likewise.
21299 (significand_test_data): Likewise.
21300
b679a606
JM
21301 * math/gen-libm-test.pl (@functions): Remove variable.
21302 (generate_testfile): Don't handle START and END lines.
21303 * math/libm-test.inc (START): New macro.
21304 (END): Likewise.
21305 (END_COMPLEX): Likewise.
21306 (acos_test): Use END macro without arguments.
21307 (acos_test_tonearest): Likewise.
21308 (acos_test_towardzero): Likewise.
21309 (acos_test_downward): Likewise.
21310 (acos_test_upward): Likewise.
21311 (acosh_test): Likewise.
21312 (asin_test): Likewise.
21313 (asin_test_tonearest): Likewise.
21314 (asin_test_towardzero): Likewise.
21315 (asin_test_downward): Likewise.
21316 (asin_test_upward): Likewise.
21317 (asinh_test): Likewise.
21318 (atan_test): Likewise.
21319 (atanh_test): Likewise.
21320 (atan2_test): Likewise.
21321 (cabs_test): Likewise.
21322 (cacos_test): Use END_COMPLEX macro without arguments.
21323 (cacosh_test): Likewise.
21324 (carg_test): Use END macro without arguments.
21325 (casin_test): Use END_COMPLEX macro without arguments.
21326 (casinh_test): Likewise.
21327 (catan_test): Likewise.
21328 (catanh_test): Likewise.
21329 (cbrt_test): Use END macro without arguments.
21330 (ccos_test): Use END_COMPLEX macro without arguments.
21331 (ccosh_test): Likewise.
21332 (ceil_test): Use END macro without arguments.
21333 (cexp_test): Use END_COMPLEX macro without arguments.
21334 (cimag_test): Use END macro without arguments.
21335 (clog_test): Use END_COMPLEX macro without arguments.
21336 (clog10_test): Likewise.
21337 (conj_test): Likewise.
21338 (copysign_test): Use END macro without arguments.
21339 (cos_test): Likewise.
21340 (cos_test_tonearest): Likewise.
21341 (cos_test_towardzero): Likewise.
21342 (cos_test_downward): Likewise.
21343 (cos_test_upward): Likewise.
21344 (cosh_test): Likewise.
21345 (cosh_test_tonearest): Likewise.
21346 (cosh_test_towardzero): Likewise.
21347 (cosh_test_downward): Likewise.
21348 (cosh_test_upward): Likewise.
21349 (cpow_test): Use END_COMPLEX macro without arguments.
21350 (cproj_test): Likewise.
21351 (creal_test): Use END macro without arguments.
21352 (csin_test): Use END_COMPLEX macro without arguments.
21353 (csinh_test): Likewise.
21354 (csqrt_test): Likewise.
21355 (ctan_test): Likewise.
21356 (ctan_test_tonearest): Likewise.
21357 (ctan_test_towardzero): Likewise.
21358 (ctan_test_downward): Likewise.
21359 (ctan_test_upward): Likewise.
21360 (ctanh_test): Likewise.
21361 (ctanh_test_tonearest): Likewise.
21362 (ctanh_test_towardzero): Likewise.
21363 (ctanh_test_downward): Likewise.
21364 (ctanh_test_upward): Likewise.
21365 (erf_test): Use END macro without arguments.
21366 (erfc_test): Likewise.
21367 (exp_test): Likewise.
21368 (exp_test_tonearest): Likewise.
21369 (exp_test_towardzero): Likewise.
21370 (exp_test_downward): Likewise.
21371 (exp_test_upward): Likewise.
21372 (exp10_test): Likewise.
21373 (exp2_test): Likewise.
21374 (expm1_test): Likewise.
21375 (fabs_test): Likewise.
21376 (fdim_test): Likewise.
21377 (finite_test): Likewise.
21378 (floor_test): Likewise.
21379 (fma_test): Likewise.
21380 (fma_test_towardzero): Likewise.
21381 (fma_test_downward): Likewise.
21382 (fma_test_upward): Likewise.
21383 (fmax_test): Likewise.
21384 (fmin_test): Likewise.
21385 (fmod_test): Likewise.
21386 (fpclassify_test): Likewise.
21387 (frexp_test): Likewise.
21388 (gamma_test): Likewise.
21389 (hypot_test): Likewise.
21390 (ilogb_test): Likewise.
21391 (isfinite_test): Likewise.
21392 (isgreater_test): Likewise.
21393 (isgreaterequal_test): Likewise.
21394 (isinf_test): Likewise.
21395 (isless_test): Likewise.
21396 (islessequal_test): Likewise.
21397 (islessgreater_test): Likewise.
21398 (isnan_test): Likewise.
21399 (isnormal_test): Likewise.
21400 (issignaling_test): Likewise.
21401 (isunordered_test): Likewise.
21402 (j0_test): Likewise.
21403 (j1_test): Likewise.
21404 (jn_test): Likewise.
21405 (ldexp_test): Likewise.
21406 (lgamma_test): Likewise.
21407 (lrint_test): Likewise.
21408 (lrint_test_tonearest): Likewise.
21409 (lrint_test_towardzero): Likewise.
21410 (lrint_test_downward): Likewise.
21411 (lrint_test_upward): Likewise.
21412 (llrint_test): Likewise.
21413 (llrint_test_tonearest): Likewise.
21414 (llrint_test_towardzero): Likewise.
21415 (llrint_test_downward): Likewise.
21416 (llrint_test_upward): Likewise.
21417 (log_test): Likewise.
21418 (log10_test): Likewise.
21419 (log1p_test): Likewise.
21420 (log2_test): Likewise.
21421 (logb_test): Likewise.
21422 (logb_test_downward): Likewise.
21423 (lround_test): Likewise.
21424 (llround_test): Likewise.
21425 (modf_test): Likewise.
21426 (nearbyint_test): Likewise.
21427 (nextafter_test): Likewise.
21428 (nexttoward_test): Likewise.
21429 (pow_test): Likewise.
21430 (pow_test_tonearest): Likewise.
21431 (pow_test_towardzero): Likewise.
21432 (pow_test_downward): Likewise.
21433 (pow_test_upward): Likewise.
21434 (remainder_test): Likewise.
21435 (remainder_test_tonearest): Likewise.
21436 (remainder_test_towardzero): Likewise.
21437 (remainder_test_downward): Likewise.
21438 (remainder_test_upward): Likewise.
21439 (remquo_test): Likewise.
21440 (rint_test): Likewise.
21441 (rint_test_tonearest): Likewise.
21442 (rint_test_towardzero): Likewise.
21443 (rint_test_downward): Likewise.
21444 (rint_test_upward): Likewise.
21445 (round_test): Likewise.
21446 (scalb_test): Likewise.
21447 (scalbn_test): Likewise.
21448 (scalbln_test): Likewise.
21449 (signbit_test): Likewise.
21450 (sin_test): Likewise.
21451 (sin_test_tonearest): Likewise.
21452 (sin_test_towardzero): Likewise.
21453 (sin_test_downward): Likewise.
21454 (sin_test_upward): Likewise.
21455 (sincos_test): Likewise.
21456 (sinh_test): Likewise.
21457 (sinh_test_tonearest): Likewise.
21458 (sinh_test_towardzero): Likewise.
21459 (sinh_test_downward): Likewise.
21460 (sinh_test_upward): Likewise.
21461 (sqrt_test): Likewise.
21462 (tan_test): Likewise.
21463 (tan_test_tonearest): Likewise.
21464 (tan_test_towardzero): Likewise.
21465 (tan_test_downward): Likewise.
21466 (tan_test_upward): Likewise.
21467 (tanh_test): Likewise.
21468 (tgamma_test): Likewise.
21469 (trunc_test): Likewise.
21470 (y0_test): Likewise.
21471 (y1_test): Likewise.
21472 (yn_test): Likewise.
21473 (significand_test): Likewise.
21474
bae143d2
OB
214752013-05-24 Ondřej Bílka <neleai@seznam.cz>
21476
21477 [BZ #15381]
21478 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21479
9323d39b
EM
214802013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21481
d4ea44a0 21482 [BZ #14894]
9323d39b
EM
21483 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21484 __ppc_mdoio and __ppc_mdoom.
21485 * manual/platform.texi: Document new functions __ppc_yield,
21486 __ppc_mdoio and __ppc_mdoom.
21487
13e23af7
CD
214882013-05-22 Carlos O'Donell <carlos@redhat.com>
21489
21490 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21491 (main): Mention "tls" pseudo-hwcap is legacy.
21492 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21493
351fe550
JM
214942013-05-22 Joseph Myers <joseph@codesourcery.com>
21495
21496 * math/gen-libm-test.pl (parse_args): Output only string of
21497 arguments as text for test name, not full call or descriptions of
21498 tests for extra outputs.
21499 (generate_testfile): Do not pass function name to parse_args.
21500 Generate this_func variable from START.
21501 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21502 field to arg_str.
21503 (struct test_ff_f_data): Likewise.
21504 (test_ff_f_data_nexttoward): Likewise.
21505 (struct test_fi_f_data): Likewise.
21506 (struct test_fl_f_data): Likewise.
21507 (struct test_if_f_data): Likewise.
21508 (struct test_fff_f_data): Likewise.
21509 (struct test_c_f_data): Likewise.
21510 (struct test_f_f1_data): Likewise. Remove field extra_name.
21511 (struct test_fF_f1_data): Likewise.
21512 (struct test_ffI_f1_data): Likewise.
21513 (struct test_c_c_data): Rename test_name field to arg_str.
21514 (struct test_cc_c_data): Likewise.
21515 (struct test_f_i_data): Likewise.
21516 (struct test_ff_i_data): Likewise.
21517 (struct test_f_l_data): Likewise.
21518 (struct test_f_L_data): Likewise.
21519 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21520 and extra2_name.
21521 (COMMON_TEST_SETUP): New macro.
21522 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21523 (COMMON_TEST_CLEANUP): Likewise.
21524 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21525 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21526 macros.
21527 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21528 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21529 macros.
21530 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21531 (RUN_TEST_fff_f): Take argument string. Call new setup and
21532 cleanup macros.
21533 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21534 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21535 macros.
21536 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21537 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21538 macros.
21539 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21540 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21541 cleanup macros.
21542 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21543 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21544 cleanup macros.
21545 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21546 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21547 cleanup macros.
21548 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21549 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21550 macros.
21551 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21552 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21553 macros.
21554 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21555 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21556 macros.
21557 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21558 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21559 cleanup macros.
21560 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21561 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21562 cleanup macros.
21563 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21564 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21565 macros.
21566 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21567 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21568 cleanup macros.
21569 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21570 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21571 macros.
21572 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21573 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21574 macros.
21575 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21576 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21577 cleanup macros.
21578 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21579
85118d4d
EBM
215802013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21581
21582 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21583 to _sifields.sigfault.
21584 (si_addr_lsb): Define new macro.
21585 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21587 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21588
7a44c18f
CD
215892013-05-03 Carlos O'Donell <carlos at redhat.com>
21590
21591 [BZ #15441]
21592 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21593 returns -1.
21594 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21595 null return -1.
21596 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21597 loading the domain.
21598
b50a7181
JM
215992013-05-22 Joseph Myers <joseph@codesourcery.com>
21600
21601 * math/gen-libm-test.pl (parse_args): Do not include expected
21602 result in test name.
21603 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21606 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21609
051063c8
SP
216102013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21611
3ce9e010
SP
21612 * benchtests/Makefile: Sort function entries.
21613
051063c8
SP
21614 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21615 tanh, asinh, acosh, atanh.
21616 * benchtests/acos-inputs: New file.
21617 * benchtests/acosh-inputs: New file.
21618 * benchtests/asin-inputs: New file.
21619 * benchtests/asinh-inputs: New file.
21620 * benchtests/atanh-inputs: New file.
21621 * benchtests/cosh-inputs: New file.
21622 * benchtests/log-inputs: New file.
21623 * benchtests/sinh-inputs: New file.
21624 * benchtests/tanh-inputs: New file.
21625
47c22455
DL
216262013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21627
21628 [BZ #15339]
21629 * posix/tst-getaddrinfo4.c: New test.
21630 * posix/Makefile (tests): Add it.
21631
3d04f5db
SP
216322013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21633
21634 [BZ #15339]
21635 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21636 when no services were used.
21637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21638 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21639
d5dd6189
AS
216402013-05-21 Andreas Schwab <schwab@suse.de>
21641
21642 [BZ #15014]
21643 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21644 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21645 successful.
21646 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21647 redundant variable declarations and reallocation of buffer when
21648 parsing as IPv6 address. Always set NSS status when called from
21649 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21650 buffer too small. Correct computation of needed size.
21651 * nss/Makefile (tests): Add test-digits-dots.
21652 * nss/test-digits-dots.c: New test.
21653
fef94eab
SP
216542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21655
21656 * benchtests/Makefile: Remove instructions for adding
21657 benchmark tests.
21658 * benchtests/README: New file to explain how to execute and
21659 enhance the benchmark tests.
21660
e39adf43
AS
216612013-05-21 Andreas Schwab <schwab@suse.de>
21662
21663 [BZ #15493]
21664 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21665 * setjmp/tst-sigsetjmp.c: New test.
21666
b2b671b6
OB
216672013-05-20 Ondřej Bílka <neleai@seznam.cz>
21668
21669 * sysdeps/x86_64/memset.S (memset): New implementation.
21670 (__bzero): Likewise.
21671 (__memset_tail): New function.
21672
2d48b41c
OB
216732013-05-20 Ondřej Bílka <neleai@seznam.cz>
21674
21675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21676 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21677 __memcpy_sse2_unaligned ifunc selection.
21678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21679 Add memcpy-sse2-unaligned.S.
21680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21681 Add: __memcpy_sse2_unaligned.
21682
f16cc3eb
JM
216832013-05-19 Joseph Myers <joseph@codesourcery.com>
21684
3e694268
JM
21685 [BZ #15490]
21686 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21687 math_force_eval before restoring floating-point envrionment.
21688 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21690 Likewise.
21691 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21692 <math_private.h>.
21693 (__nearbyintl): Use math_force_eval before restoring
21694 floating-point environment.
21695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21696
db62a907
JM
21697 * math/gen-libm-test.pl (special_functions): Remove.
21698 (parse_args): Don't handle TEST_extra. Handle functions with no
21699 return value.
21700 * math/libm-test.inc (struct test_sincos_data): Replace with
21701 struct test_fFF_11_data.
21702 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21703 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21704 (sincos_test_data): Change element type to struct
21705 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21706 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21707 RUN_TEST_LOOP_sincos.
21708 * math/README.libm-test: Don't mention special handling of
21709 individual functions.
21710 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21712 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21713 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21716
f16cc3eb
JM
21717 * math/gen-libm-test.pl (get_variable): Remove function.
21718 (parse_args): Don't show pointer parameters to call in test
21719 names. Use "extra output N" in test names for extra outputs
21720 rather than naming variables.
21721
3779b5b6
JM
217222013-05-18 Joseph Myers <joseph@codesourcery.com>
21723
2ee094ff
JM
21724 [BZ #15488]
21725 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21726 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21727 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21728 double tests.
21729 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21730 disable.
21731 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21732 check_long_double.
21733
3779b5b6
JM
21734 * math/gen-libm-test.pl (@tests): Remove variable.
21735 ($count): Likewise.
21736 (new_test): Remove function.
21737 (show_exceptions): New function.
21738 (special_functions): Use show_exceptions instead of new_test.
21739 (parse_args): Likewise.
21740 (generate_testfile): Pass only function name in generated call to
21741 print_max_error or print_complex_max_error.
21742 (get_ulps): Do not handle complex tests specially.
21743 (output_test): Rename to ...
21744 (get_all_ulps_for_test): ... this. Return a string rather than
21745 printing to a file. Require ulps to be present.
21746 (output_ulps): Generate arrays rather than #defines.
21747 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21748 (struct ulp_data): New type.
21749 (BUILD_COMPLEX_ULP): Remove macro.
21750 (compare_ulp_data): New function.
21751 (find_ulps): Likewise.
21752 (find_test_ulps): Likewise.
21753 (find_function_ulps): Likewise.
21754 (find_complex_function_ulps): Likewise.
21755 (print_max_error): Determine allowed ulps using
21756 find_function_ulps.
21757 (print_complex_max_error): Determine allowed ulps using
21758 find_complex_function_ulps.
21759 (check_float_internal): Determine max ulps using find_test_ulps.
21760 (check_float): Do not take max_ulp parameter. Update call to
21761 check_float_internal.
21762 (check_complex): Likewise.
21763 (check_int): Do not take max_ulp parameter.
21764 (check_long): Likewise.
21765 (check_bool): Likewise.
21766 (check_longlong): Likewise.
21767 (struct test_f_f_data): Remove max_ulp field.
21768 (struct test_ff_f_data): Likewise.
21769 (struct test_ff_f_data_nexttoward): Likewise.
21770 (struct test_fi_f_data): Likewise.
21771 (struct test_fl_f_data): Likewise.
21772 (struct test_if_f_data): Likewise.
21773 (struct test_fff_f_data): Likewise.
21774 (struct test_c_f_data): Likewise.
21775 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21776 (struct test_fF_f1_data): Likewise.
21777 (struct test_ffI_f1_data): Likewise.
21778 (struct test_c_c_data): Remove max_ulp field.
21779 (struct test_cc_c_data): Likewise.
21780 (struct test_f_i_data): Likewise.
21781 (struct test_ff_i_data): Likewise.
21782 (struct test_f_l_data): Likewise.
21783 (struct test_f_L_data): Likewise.
21784 (struct test_sincos_data): Likewise.
21785 (RUN_TEST_f_f): Do not handle ulps.
21786 (RUN_TEST_LOOP_f_f): Likewise.
21787 (RUN_TEST_2_f): Likewise.
21788 (RUN_TEST_LOOP_2_f): Likewise.
21789 (RUN_TEST_fff_f): Likewise.
21790 (RUN_TEST_LOOP_fff_f): Likewise.
21791 (RUN_TEST_c_f): Likewise.
21792 (RUN_TEST_LOOP_c_f): Likewise.
21793 (RUN_TEST_f_f1): Likewise.
21794 (RUN_TEST_LOOP_f_f1): Likewise.
21795 (RUN_TEST_fF_f1): Likewise.
21796 (RUN_TEST_LOOP_fF_f1): Likewise.
21797 (RUN_TEST_fI_f1): Likewise.
21798 (RUN_TEST_LOOP_fI_f1): Likewise.
21799 (RUN_TEST_ffI_f1): Likewise.
21800 (RUN_TEST_LOOP_ffI_f1): Likewise.
21801 (RUN_TEST_c_c): Likewise.
21802 (RUN_TEST_LOOP_c_c): Likewise.
21803 (RUN_TEST_cc_c): Likewise.
21804 (RUN_TEST_LOOP_cc_c): Likewise.
21805 (RUN_TEST_f_i): Likewise.
21806 (RUN_TEST_LOOP_f_i): Likewise.
21807 (RUN_TEST_f_i_tg): Likewise.
21808 (RUN_TEST_LOOP_f_i_tg): Likewise.
21809 (RUN_TEST_ff_i_tg): Likewise.
21810 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21811 (RUN_TEST_f_b): Likewise.
21812 (RUN_TEST_LOOP_f_b): Likewise.
21813 (RUN_TEST_f_b_tg): Likewise.
21814 (RUN_TEST_LOOP_f_b_tg): Likewise.
21815 (RUN_TEST_f_l): Likewise.
21816 (RUN_TEST_LOOP_f_l): Likewise.
21817 (RUN_TEST_f_L): Likewise.
21818 (RUN_TEST_LOOP_f_L): Likewise.
21819 (RUN_TEST_sincos): Likewise.
21820 (RUN_TEST_LOOP_sincos): Likewise.
21821
8269107f
JM
218222013-05-17 Joseph Myers <joseph@codesourcery.com>
21823
bb38759d
JM
21824 [BZ #15480]
21825 [BZ #15485]
21826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21827 main case of finite arguments, set rounding mode to FE_TONEAREST
21828 and discard exceptions.
21829 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21830 exceptions.
21831 (remainder_tonearest_test_data): New variable.
21832 (remainder_test_tonearest): New function.
21833 (remainder_towardzero_test_data): New variable.
21834 (remainder_test_towardzero): New function.
21835 (remainder_downward_test_data): New variable.
21836 (remainder_test_downward): New function.
21837 (remainder_upward_test_data): New variable.
21838 (remainder_test_upward): New function.
21839 (main): Call the new test functions.
21840
a00bdcf0
JM
21841 * math/libm-test.inc (struct test_f_f1_data): Remove field
21842 extra_init.
21843 (struct test_fF_f1_data): Likewise.
21844 (struct test_ffI_f1_data): Likewise.
21845 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21846 based on value of EXTRA_EXPECTED.
21847 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21848 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21849 EXTRA_VAR based on value of EXTRA_EXPECTED.
21850 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21851 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21852 EXTRA_VAR based on value of EXTRA_EXPECTED.
21853 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21854 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21855 EXTRA_VAR based on value of EXTRA_EXPECTED.
21856 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21857 * math/gen-libm-test.pl (parse_args): Don't output initializers
21858 for extra output values.
21859
de407f79
JM
21860 * math/libm-test.inc (check_int): Expect result to be exactly
21861 equal to expected value and do not handle ulps.
21862 (check_long): Likewise.
21863 (check_longlong): Likewise.
21864
8269107f
JM
21865 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21866 exceptions.
21867 (cimag_test_data): Likewise.
21868 (conj_test_data): Likewise.
21869 (copysign_test_data): Likewise.
21870 (cproj_test_data): Likewise.
21871 (creal_test_data): Likewise.
21872 (fabs_test_data): Likewise.
21873 (fdim_test_data): Likewise.
21874 (finite_test_data): Likewise.
21875 (floor_test_data): Likewise.
21876 (fmax_test_data): Likewise.
21877 (fmin_test_data): Likewise.
21878 (fmod_test_data): Likewise.
21879 (fpclassify_test_data): Likewise.
21880 (frexp_test_data): Likewise.
21881 (ilogb_test_data): Likewise.
21882 (isfinite_test_data): Likewise.
21883 (isgreater_test_data): Likewise.
21884 (isgreaterequal_test_data): Likewise.
21885 (isinf_test_data): Likewise.
21886 (isless_test_data): Likewise.
21887 (islessequal_test_data): Likewise.
21888 (islessgreater_test_data): Likewise.
21889 (isnan_test_data): Likewise.
21890 (isnormal_test_data): Likewise.
21891 (issignaling_test_data): Likewise.
21892 (isunordered_test_data): Likewise.
21893 (ldexp_test_data): Likewise.
21894 (lrint_test_data): Likewise.
21895 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21896 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21897 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21898 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21899 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21900 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21901 test input.
21902 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21903 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21904 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21905 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21906 that test input.
21907 (lrint_downward_test_data): Test for "inexact" exceptions.
21908 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21909 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21910 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21911 test input.
21912 (lrint_upward_test_data): Test for "inexact" exceptions.
21913 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21914 test input.
21915 (llrint_test_data): Test for "inexact" exceptions.
21916 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21917 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21918 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21919 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21920 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21921 (llrint_downward_test_data): Test for "inexact" exceptions.
21922 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21923 (llrint_upward_test_data): Test for "inexact" exceptions.
21924 (logb_test_data): Likewise.
21925 (logb_downward_test_data): Likewise.
21926 (nextafter_test_data): Likewise.
21927 (nexttoward_test_data): Likewise.
21928 (remainder_test_data): Likewise.
21929 (remquo_test_data): Likewise.
21930 (scalbn_test_data): Likewise.
21931 (scalbln_test_data): Likewise.
21932 (signbit_test_data): Likewise.
21933 (sqrt_test_data): Likewise.
21934 (significand_test_data): Likewise.
21935
48a18de1
SP
219362013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21937
21938 [BZ #15424]
21939 * benchtests/bench-modf.c (struct args): Mark arg0 as
21940 volatile.
21941 * scripts/bench.pl: Mark members of struct args as volatile.
21942
13d3b41a
AZ
219432013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21944
68191c1d 21945 [BZ # 15497]
13d3b41a
AZ
21946 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21947 negative infinity on POWER6 or lower.
21948 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21949
2848b105
MR
219502013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21951
21952 [BZ #15442]
21953 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21954 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21955 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21956 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21957 (_FP_SETQNAN): New macro.
21958 (_FP_SETQNAN_SEMIRAW): Likewise.
21959 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21960 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21961 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21962 (FP_EXTEND): Use _FP_FRAC_SNANP.
21963 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21964 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21965 into account.
21966 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21967 New macro.
21968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21969 Likewise.
21970
323e5cb7
JM
219712013-05-16 Joseph Myers <joseph@codesourcery.com>
21972
c58b274f
JM
21973 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21974 with DIVIDE_BY_ZERO_EXCEPTION.
21975 (gamma_test_data): Likewise.
21976 (lgamma_test_data): Likewise.
21977 (log_test_data): Likewise.
21978 (log10_test_data): Likewise.
21979 (log2_test_data): Likewise.
21980 (tgamma_test_data): Likewise.
21981
0ab34904
JM
21982 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21983 (acos_test_tonearest): Likewise.
21984 (acos_test_towardzero): Likewise.
21985 (acos_test_downward): Likewise.
21986 (acos_test_upward): Likewise.
21987 (acosh_test): Likewise.
21988 (asin_test): Likewise.
21989 (asin_test_tonearest): Likewise.
21990 (asin_test_towardzero): Likewise.
21991 (asin_test_downward): Likewise.
21992 (asin_test_upward): Likewise.
21993 (asinh_test): Likewise.
21994 (atan_test): Likewise.
21995 (atanh_test): Likewise.
21996 (atan2_test): Likewise.
21997 (cabs_test): Likewise.
21998 (cacos_test): Likewise.
21999 (cacosh_test): Likewise.
22000 (casin_test): Likewise.
22001 (casinh_test): Likewise.
22002 (catan_test): Likewise.
22003 (catanh_test): Likewise.
22004 (cbrt_test): Likewise.
22005 (ccos_test): Likewise.
22006 (ccosh_test): Likewise.
22007 (cexp_test): Likewise.
22008 (clog_test): Likewise.
22009 (clog10_test): Likewise.
22010 (cos_test): Likewise.
22011 (cos_test_tonearest): Likewise.
22012 (cos_test_towardzero): Likewise.
22013 (cos_test_downward): Likewise.
22014 (cos_test_upward): Likewise.
22015 (cosh_test): Likewise.
22016 (cosh_test_tonearest): Likewise.
22017 (cosh_test_towardzero): Likewise.
22018 (cosh_test_downward): Likewise.
22019 (cosh_test_upward): Likewise.
22020 (cpow_test): Likewise.
22021 (csin_test): Likewise.
22022 (csinh_test): Likewise.
22023 (csqrt_test): Likewise.
22024 (ctan_test): Likewise.
22025 (ctan_test_tonearest): Likewise.
22026 (ctan_test_towardzero): Likewise.
22027 (ctan_test_downward): Likewise.
22028 (ctan_test_upward): Likewise.
22029 (ctanh_test): Likewise.
22030 (ctanh_test_tonearest): Likewise.
22031 (ctanh_test_towardzero): Likewise.
22032 (ctanh_test_downward): Likewise.
22033 (ctanh_test_upward): Likewise.
22034 (erf_test): Likewise.
22035 (erfc_test): Likewise.
22036 (exp_test): Likewise.
22037 (exp_test_tonearest): Likewise.
22038 (exp_test_towardzero): Likewise.
22039 (exp_test_downward): Likewise.
22040 (exp_test_upward): Likewise.
22041 (exp10_test): Likewise.
22042 (exp2_test): Likewise.
22043 (expm1_test): Likewise.
22044 (fmod_test): Likewise.
22045 (gamma_test): Likewise.
22046 (hypot_test): Likewise.
22047 (j0_test): Likewise.
22048 (j1_test): Likewise.
22049 (jn_test): Likewise.
22050 (lgamma_test): Likewise.
22051 (log_test): Likewise.
22052 (log10_test): Likewise.
22053 (log1p_test): Likewise.
22054 (log2_test): Likewise.
22055 (logb_test_downward): Likewise.
22056 (pow_test): Likewise.
22057 (pow_test_tonearest): Likewise.
22058 (pow_test_towardzero): Likewise.
22059 (pow_test_downward): Likewise.
22060 (pow_test_upward): Likewise.
22061 (remainder_test): Likewise.
22062 (remquo_test): Likewise.
22063 (sin_test): Likewise.
22064 (sin_test_tonearest): Likewise.
22065 (sin_test_towardzero): Likewise.
22066 (sin_test_downward): Likewise.
22067 (sin_test_upward): Likewise.
22068 (sincos_test): Likewise.
22069 (sinh_test): Likewise.
22070 (sinh_test_tonearest): Likewise.
22071 (sinh_test_towardzero): Likewise.
22072 (sinh_test_downward): Likewise.
22073 (sinh_test_upward): Likewise.
22074 (sqrt_test): Likewise.
22075 (tan_test): Likewise.
22076 (tan_test_tonearest): Likewise.
22077 (tan_test_towardzero): Likewise.
22078 (tan_test_downward): Likewise.
22079 (tan_test_upward): Likewise.
22080 (tanh_test): Likewise.
22081 (tgamma_test): Likewise.
22082 (y0_test): Likewise.
22083 (y1_test): Likewise.
22084 (yn_test): Likewise.
22085
323e5cb7
JM
22086 * math/gen-libm-test.pl (adjust_arg): Remove function.
22087 (special_function): Remove argument $in_func. Only handle
22088 generating output for tables of tests, not inside functions.
22089 (parse_args): Likewise.
22090 (generate_testfile): Remove variable $in_func. Update call to
22091 parse_args.
22092 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22093 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22094 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22095 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22096 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22097 (MAX_VALUE_INIT): Rename macro to max_value.
22098 (MIN_VALUE_INIT): Rename macro to min_value.
22099 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22100 (plus_zero): Remove variable.
22101 (minus_zero): Likewise.
22102 (plus_infty): Likewise.
22103 (minus_infty): Likewise.
22104 (qnan_value): Likewise.
22105 (max_value): Likewise.
22106 (min_value): Likewise.
22107 (min_subnorm_value): Likewise.
22108
e054f494
RA
221092013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22110
22111 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22112 uint64_t or uint32_t usage.
22113 * crypt/sha256-block.c: Likewise.
22114 * crypt/sha256-crypt.c: Likewise.
22115 * crypt/sha256.c: Likewise.
22116 * crypt/sha512-block.c: Likewise.
22117 * crypt/sha512-crypt.c: Likewise.
22118 * crypt/sha512.c: Likewise.
22119 * debug/backtrace-tst.c: Likewise.
22120 * debug/pcprofiledump.c: Likewise.
22121 * elf/cache.c: Likewise.
22122 * elf/dl-cache.c: Likewise.
22123 * elf/dl-misc.c: Likewise.
22124 * elf/dl-profile.c: Likewise.
22125 * elf/dl-support.c: Likewise.
22126 * elf/ldconfig.c: Likewise.
22127 * elf/sprof.c: Likewise.
22128 * iconv/dummy-repertoire.c: Likewise.
22129 * iconv/iconv_charmap.c: Likewise.
22130 * iconv/skeleton.c: Likewise.
22131 * iconvdata/8bit-generic.c: Likewise.
22132 * iconvdata/cp737.h: Likewise.
22133 * iconvdata/cp775.h: Likewise.
22134 * iconvdata/ibm1008.h: Likewise.
22135 * iconvdata/ibm1025.h: Likewise.
22136 * iconvdata/ibm1046.h: Likewise.
22137 * iconvdata/ibm1097.h: Likewise.
22138 * iconvdata/ibm1112.h: Likewise.
22139 * iconvdata/ibm1122.h: Likewise.
22140 * iconvdata/ibm1123.h: Likewise.
22141 * iconvdata/ibm1124.h: Likewise.
22142 * iconvdata/ibm1129.h: Likewise.
22143 * iconvdata/ibm1130.h: Likewise.
22144 * iconvdata/ibm1132.h: Likewise.
22145 * iconvdata/ibm1133.h: Likewise.
22146 * iconvdata/ibm1137.h: Likewise.
22147 * iconvdata/ibm1140.h: Likewise.
22148 * iconvdata/ibm1141.h: Likewise.
22149 * iconvdata/ibm1142.h: Likewise.
22150 * iconvdata/ibm1143.h: Likewise.
22151 * iconvdata/ibm1144.h: Likewise.
22152 * iconvdata/ibm1145.h: Likewise.
22153 * iconvdata/ibm1146.h: Likewise.
22154 * iconvdata/ibm1147.h: Likewise.
22155 * iconvdata/ibm1148.h: Likewise.
22156 * iconvdata/ibm1149.h: Likewise.
22157 * iconvdata/ibm1153.h: Likewise.
22158 * iconvdata/ibm1154.h: Likewise.
22159 * iconvdata/ibm1155.h: Likewise.
22160 * iconvdata/ibm1156.h: Likewise.
22161 * iconvdata/ibm1157.h: Likewise.
22162 * iconvdata/ibm1158.h: Likewise.
22163 * iconvdata/ibm1160.h: Likewise.
22164 * iconvdata/ibm1161.h: Likewise.
22165 * iconvdata/ibm1162.h: Likewise.
22166 * iconvdata/ibm1163.h: Likewise.
22167 * iconvdata/ibm1164.h: Likewise.
22168 * iconvdata/ibm1166.h: Likewise.
22169 * iconvdata/ibm1167.h: Likewise.
22170 * iconvdata/ibm12712.h: Likewise.
22171 * iconvdata/ibm1390.h: Likewise.
22172 * iconvdata/ibm1399.h: Likewise.
22173 * iconvdata/ibm16804.h: Likewise.
22174 * iconvdata/ibm4517.h: Likewise.
22175 * iconvdata/ibm4899.h: Likewise.
22176 * iconvdata/ibm4909.h: Likewise.
22177 * iconvdata/ibm4971.h: Likewise.
22178 * iconvdata/ibm5347.h: Likewise.
22179 * iconvdata/ibm803.h: Likewise.
22180 * iconvdata/ibm856.h: Likewise.
22181 * iconvdata/ibm901.h: Likewise.
22182 * iconvdata/ibm902.h: Likewise.
22183 * iconvdata/ibm9030.h: Likewise.
22184 * iconvdata/ibm9066.h: Likewise.
22185 * iconvdata/ibm921.h: Likewise.
22186 * iconvdata/ibm922.h: Likewise.
22187 * iconvdata/ibm9448.h: Likewise.
22188 * iconvdata/isiri-3342.h: Likewise.
22189 * iconvdata/jis0201.h: Likewise.
22190 * include/link.h: Likewise.
22191 * include/netdb.h: Likewise.
22192 * inet/check_native.c: Likewise.
22193 * inet/check_pf.c: Likewise.
22194 * inet/getipv4sourcefilter.c: Likewise.
22195 * inet/getnameinfo.c: Likewise.
22196 * inet/getsourcefilter.c: Likewise.
22197 * inet/htonl.c: Likewise.
22198 * inet/setipv4sourcefilter.c: Likewise.
22199 * inet/setsourcefilter.c: Likewise.
22200 * inet/test-inet6_opt.c: Likewise.
22201 * inet/tst-network.c: Likewise.
22202 * locale/C-collate.c: Likewise.
22203 * locale/C-ctype.c: Likewise.
22204 * locale/C-time.c: Likewise.
22205 * locale/C-translit.h: Likewise.
22206 * locale/loadarchive.c: Likewise.
22207 * locale/programs/3level.h: Likewise.
22208 * locale/programs/charmap.c: Likewise.
22209 * locale/programs/charmap.h: Likewise.
22210 * locale/programs/ld-address.c: Likewise.
22211 * locale/programs/ld-collate.c: Likewise.
22212 * locale/programs/ld-ctype.c: Likewise.
22213 * locale/programs/ld-identification.c: Likewise.
22214 * locale/programs/ld-measurement.c: Likewise.
22215 * locale/programs/ld-messages.c: Likewise.
22216 * locale/programs/ld-monetary.c: Likewise.
22217 * locale/programs/ld-name.c: Likewise.
22218 * locale/programs/ld-numeric.c: Likewise.
22219 * locale/programs/ld-paper.c: Likewise.
22220 * locale/programs/ld-telephone.c: Likewise.
22221 * locale/programs/ld-time.c: Likewise.
22222 * locale/programs/linereader.c: Likewise.
22223 * locale/programs/locale.c: Likewise.
22224 * locale/programs/locarchive.c: Likewise.
22225 * locale/programs/locfile.h: Likewise.
22226 * locale/programs/repertoire.c: Likewise.
22227 * locale/programs/simple-hash.c: Likewise.
22228 * locale/programs/simple-hash.h: Likewise.
22229 * malloc/memusage.c: Likewise.
22230 * malloc/memusagestat.c: Likewise.
22231 * nis/nis_defaults.c: Likewise.
22232 * nis/nis_hash.c: Likewise.
22233 * nis/nis_print.c: Likewise.
22234 * nis/nis_xdr.c: Likewise.
22235 * nscd/connections.c: Likewise.
22236 * nscd/hstcache.c: Likewise.
22237 * nscd/nscd_gethst_r.c: Likewise.
22238 * nscd/nscd_getserv_r.c: Likewise.
22239 * nscd/nscd_helper.c: Likewise.
22240 * nscd/servicescache.c: Likewise.
22241 * nss/makedb.c: Likewise.
22242 * nss/nss_db/db-XXX.c: Likewise.
22243 * nss/nss_db/db-initgroups.c: Likewise.
22244 * nss/nss_db/db-netgrp.c: Likewise.
22245 * nss/nss_files/files-network.c: Likewise.
22246 * nss/nss_files/files-parse.c: Likewise.
22247 * posix/bug-regex5.c: Likewise.
22248 * posix/fnmatch_loop.c: Likewise.
22249 * posix/regcomp.c: Likewise.
22250 * posix/regexec.c: Likewise.
22251 * posix/tst-rfc3484-2.c: Likewise.
22252 * posix/tst-rfc3484-3.c: Likewise.
22253 * posix/tst-rfc3484.c: Likewise.
22254 * resolv/nss_dns/dns-canon.c: Likewise.
22255 * resolv/nss_dns/dns-network.c: Likewise.
22256 * resolv/res_init.c: Likewise.
22257 * resolv/res_mkquery.c: Likewise.
22258 * resolv/tst-aton.c: Likewise.
22259 * stdlib/cxa_atexit.c: Likewise.
22260 * stdlib/cxa_finalize.c: Likewise.
22261 * stdlib/gen-fpioconst.c: Likewise.
22262 * stdlib/strtol_l.c: Likewise.
22263 * string/tst-endian.c: Likewise.
22264 * sunrpc/auth_des.c: Likewise.
22265 * sunrpc/clnt_udp.c: Likewise.
22266 * sunrpc/rtime.c: Likewise.
22267 * sunrpc/svcauth_des.c: Likewise.
22268 * sunrpc/xdr.c: Likewise.
22269 * sunrpc/xdr_intXX_t.c: Likewise.
22270 * sunrpc/xdr_rec.c: Likewise.
22271 * sysdeps/generic/ldconfig.h: Likewise.
22272 * sysdeps/generic/ldsodefs.h: Likewise.
22273 * sysdeps/generic/memusage.h: Likewise.
22274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22284 * sysdeps/posix/getaddrinfo.c: Likewise.
22285 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22286 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22287 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22288 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22289 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22290 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22291 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22292 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22293 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22294 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22295 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22296 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22297 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22298 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22299 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22300 * sysdeps/x86_64/dl-tls.h: Likewise.
22301 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22302 * time/alt_digit.c: Likewise.
22303 * time/era.c: Likewise.
22304 * wcsmbs/tst-c16c32-1.c: Likewise.
22305
8c75f674
JM
223062013-05-16 Joseph Myers <joseph@codesourcery.com>
22307
22308 * math/libm-test.inc (struct test_sincos_data): New type.
22309 (RUN_TEST_LOOP_sincos): New macro.
22310 (sincos_test_data): New variable.
22311 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22312
e6e49e59
RH
223132013-05-16 Richard Henderson <rth@redhat.com>
22314
22315 * math/atest-exp2.c (LIMB64): New macro.
22316 (CONSTSZ): New macro.
22317 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22318 (hexdig): Move ...
22319 (print_mpn_fp): ... to function scope.
22320 (read_mpn_hex): Remove.
22321 (get_log2): Remove.
22322 (exp2_mpn): Use mp_log2.
22323 (main): Use mp_exp1.
22324
15c7c18d
JM
223252013-05-16 Joseph Myers <joseph@codesourcery.com>
22326
105a07df
JM
22327 * math/libm-test.inc: Remove comment about not testing "inexact"
22328 exceptions.
22329 (INEXACT_EXCEPTION): New macro.
22330 (NO_INEXACT_EXCEPTION): Likewise.
22331 (INVALID_EXCEPTION_OK): Update value.
22332 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22333 (OVERFLOW_EXCEPTION_OK): Likewise.
22334 (UNDERFLOW_EXCEPTION_OK): Likewise.
22335 (IGNORE_ZERO_INF_SIGN): Likewise.
22336 (ERRNO_UNCHANGED): Likewise.
22337 (ERRNO_EDOM): Likewise.
22338 (ERRNO_ERANGE): Likewise.
22339 (test_exceptions): Handle testing "inexact" exceptions.
22340 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22341 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22342 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22343 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22344 INEXACT_EXCEPTION.
22345 (rint_towardzero_test_data): Likewise.
22346 (rint_downward_test_data): Likewise.
22347 (rint_upward_test_data): Likewise.
22348
e9eee333
JM
22349 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22350 with OVERFLOW_EXCEPTION.
22351 (exp10_test_data): Likewise.
22352 (exp2_test_data): Likewise.
22353 (expm1_test_data): Likewise.
22354 (lgamma_test_data): Likewise.
22355 (pow_test_data): Likewise.
22356 (tgamma_test_data): Likewise.
22357 (yn_test_data): Remove duplicate test of overflow.
22358
1c38ff73
JM
22359 * math/libm-test.inc (struct test_cc_c_data): New type.
22360 (RUN_TEST_LOOP_cc_c): New macro.
22361 (cpow_test_data): New variable.
22362 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22363
15c7c18d
JM
22364 * math/libm-test.inc (struct test_f_L_data): New type.
22365 (RUN_TEST_LOOP_f_L): New macro.
22366 (llrint_test_data): New variable.
22367 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22368 (llrint_tonearest_test_data): New variable.
22369 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22370 (llrint_towardzero_test_data): New variable.
22371 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22372 (llrint_downward_test_data): New variable.
22373 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22374 (llrint_upward_test_data): New variable.
22375 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22376 (llround_test_data): New variable.
22377 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22378
f137ff13
PC
223792013-05-13 Peter Collingbourne <pcc@google.com>
22380
22381 * math/atest-exp2.c (get_log2): Remove const attribute.
22382
3608cb24
JM
223832013-05-15 Joseph Myers <joseph@codesourcery.com>
22384
22385 * math/libm-test.inc (struct test_f_l_data): New type.
22386 (RUN_TEST_LOOP_f_l): New macro.
22387 (lrint_test_data): New variable.
22388 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22389 (lrint_tonearest_test_data): New variable.
22390 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22391 (lrint_towardzero_test_data): New variable.
22392 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22393 (lrint_downward_test_data): New variable.
22394 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22395 (lrint_upward_test_data): New variable.
22396 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22397 (lround_test_data): New variable.
22398 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22399
39b1f617
PC
224002013-05-15 Peter Collingbourne <pcc@google.com>
22401
1deff3dc
PC
22402 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22403 (EXTRACT_WORDS64) Use where appropriate.
22404 (INSERT_WORDS64) Likewise.
22405
791f3ba0
PC
22406 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22407 constraints with x constraints.
22408 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22409
39b1f617
PC
22410 * malloc/obstack.c (_obstack_compat): Add initializer.
22411
12fba011
EM
224122013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22413
22414 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22415 si_trapno and add si_addr_lsb to _sifields.sigfault.
22416 (si_trapno): Remove macro.
22417 (si_addr_lsb): Define new macro.
22418 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22419
d369f531
JM
224202013-05-15 Joseph Myers <joseph@codesourcery.com>
22421
b861c6c4
JM
22422 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22423 instead of TEST_f_l.
22424 (llrint_test_tonearest): Likewise.
22425 (llrint_test_towardzero): Likewise.
22426 (llrint_test_downward): Likewise.
22427 (llrint_test_upward): Likewise.
22428 (llround_test): Likewise.
22429
7abeee12
JM
22430 * math/libm-test.inc (struct test_f_i_data): Add comment.
22431 (RUN_TEST_LOOP_f_b): New macro.
22432 (RUN_TEST_LOOP_f_b_tg): Likewise.
22433 (finite_test_data): New variable.
22434 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22435 (isfinite_test_data): New variable.
22436 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22437 (isinf_test_data): New variable.
22438 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22439 (isnan_test_data): New variable.
22440 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22441 (isnormal_test_data): New variable.
22442 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22443 (issignaling_test_data): New variable.
22444 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22445 (signbit_test_data): New variable.
22446 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22447
cbe8c4d3
JM
22448 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22449 with INVALID_EXCEPTION.
22450 (acosh_test_data): Likewise.
22451 (asin_test_data): Likewise.
22452 (atanh_test_data): Likewise.
22453 (fmod_test_data): Likewise.
22454 (log_test_data): Likewise.
22455 (log10_test_data): Likewise.
22456 (log2_test_data): Likewise.
22457 (pow_test_data): Likewise.
22458 (sqrt_test_data): Likewise.
22459 (y0_test_data): Likewise.
22460 (y1_test_data): Likewise.
22461 (yn_test_data): Likewise.
22462
5575c0e5
JM
22463 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22464 function contents.
22465
d369f531
JM
22466 * math/libm-test.inc (struct test_ff_i_data): New type.
22467 (RUN_TEST_LOOP_ff_i_tg): New macro.
22468 (isgreater_test_data): New variable.
22469 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22470 (isgreaterequal_test_data): New variable.
22471 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22472 (isless_test_data): New variable.
22473 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22474 (islessequal_test_data): New variable.
22475 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22476 (islessgreater_test_data): New variable.
22477 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22478 (isunordered_test_data): New variable.
22479 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22480
781fd748
DM
224812013-05-14 David S. Miller <davem@davemloft.net>
22482
22483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22484
87aa21df
JM
224852013-05-14 Joseph Myers <joseph@codesourcery.com>
22486
5e908270
JM
22487 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22488
f71172e5
JM
22489 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22490 extra_test to int.
22491 (struct test_f_i_data): Change type of max_ulp to int.
22492
8cfa635a
JM
22493 * math/libm-test.inc (test_ffI_f1_data): New type.
22494 (RUN_TEST_LOOP_ffI_f1): New macro.
22495 (remquo_test_data): New variable.
22496 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22497
2bcb36b2
JM
22498 * setjmp/tst-setjmp-fp.c: New file.
22499 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22500 (link-libm): New variable.
22501 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22502
acbd839a
JM
22503 * math/libm-test.inc (struct test_f_i_data): New type.
22504 (RUN_TEST_LOOP_f_i): New macro.
22505 (RUN_TEST_LOOP_f_i_tg): Likewise.
22506 (fpclassify_test_data): New variable.
22507 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22508 (ilogb_test_data): New variable.
22509 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22510
e414d745
JM
22511 * math/libm-test.inc (scalbln_test): Correct function name in END
22512 call.
22513
d9c2a0fd
JM
22514 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22515 (RUN_TEST_LOOP_fI_f1): New macro.
22516 (frexp_test_data): New variable.
22517 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22518
9dc9095d
JM
22519 * math/libm-test.inc (struct test_fF_f1_data): New type.
22520 (RUN_TEST_LOOP_fF_f1): New macro.
22521 (modf_test_data): New variable.
22522 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22523
87aa21df
JM
22524 * math/libm-test.inc (struct test_f_f1_data): New type.
22525 (RUN_TEST_LOOP_f_f1): New macro.
22526 (gamma_test_data): New variable.
22527 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22528 (lgamma_test_data): New variable.
22529 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22530
141af660
CD
225312013-05-13 Carlos O'Donell <carlos@redhat.com>
22532
22533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22534 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22535 (main): Comment "tls" pseudo-hwcap.
22536
6d33265c
JM
225372013-05-13 Joseph Myers <joseph@codesourcery.com>
22538
68fc074c
JM
22539 * math/libm-test.inc (struct test_fl_f_data): New type.
22540 (RUN_TEST_LOOP_fl_f): New variable.
22541 (scalbln_test_data): New variable.
22542 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22543
243216e1
JM
22544 * math/libm-test.inc (struct test_fi_f_data): New type.
22545 (RUN_TEST_LOOP_fi_f): New macro.
22546 (ldexp_test_data): New variable.
22547 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22548 (scalbn_test_data): New variable.
22549 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22550
6a1992e2
JM
22551 * math/libm-test.inc (struct test_c_f_data): New type.
22552 (RUN_TEST_LOOP_c_f): New macro.
22553 (cabs_test_data): New variable.
22554 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22555 (carg_test_data): New variable.
22556 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22557 (cimag_test_data): New variable.
22558 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22559 (creal_test_data): New variable.
22560 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22561
0e400df5
JM
22562 * math/libm-test.inc (struct test_if_f_data): New type.
22563 (RUN_TEST_LOOP_if_f): New macro.
22564 (jn_test_data): New variable.
22565 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22566 (yn_test_data): New variable.
22567 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22568
6d33265c
JM
22569 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22570
f98ece5f
AZ
225712013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22572
22573 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22574 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22575
0f7d347b
SP
225762013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22577
43fe811b
SP
22578 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22579 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22580 (bench-deps): Add bench-timing.h.
22581 * benchtests-bench-skeleton.c: Include bench-timing.h.
22582 (main): Use TIMING_* macros instead of clock_gettime.
22583 * benchtests/bench-timing.h: New file.
22584
0f7d347b
SP
22585 [BZ #14582]
22586 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22587 Renamed from _LIB_VERSION.
22588 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22589
601a3a5f
JM
225902013-05-12 Joseph Myers <joseph@codesourcery.com>
22591
4f184d30
JM
22592 * math/libm-test.inc (struct test_fff_f_data): New type.
22593 (RUN_TEST_LOOP_fff_f): New macro.
22594 (fma_test_data): New variable.
22595 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22596 (fma_towardzero_test_data): New variable.
22597 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22598 (fma_downward_test_data): New variable.
22599 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22600 (fma_upward_test_data): New variable.
22601 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22602
08198877
JM
22603 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22604 (struct test_c_c_data): New type.
22605 (RUN_TEST_LOOP_c_c): New macro.
22606 (cacos_test_data): New variable.
22607 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22608 (cacosh_test_data): New variable.
22609 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22610 (casin_test_data): New variable.
22611 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22612 (casinh_test_data): New variable.
22613 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22614 (catan_test_data): New variable.
22615 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22616 (catanh_test_data): New variable.
22617 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22618 (ccos_test_data): New variable.
22619 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22620 (ccosh_test_data): New variable.
22621 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22622 (cexp_test_data): New variable.
22623 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22624 (clog_test_data): New variable.
22625 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22626 (clog10_test_data): New variable.
22627 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22628 (conj_test_data): New variable.
22629 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22630 (cproj_test_data): New variable.
22631 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22632 (csin_test_data): New variable.
22633 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22634 (csinh_test_data): New variable.
22635 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22636 (csqrt_test_data): New variable.
22637 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22638 (ctan_test_data): New variable.
22639 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22640 (ctan_tonearest_test_data): New variable.
22641 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22642 (ctan_towardzero_test_data): New variable.
22643 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22644 (ctan_downward_test_data): New variable.
22645 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22646 (ctan_upward_test_data): New variable.
22647 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22648 (ctanh_test_data): New variable.
22649 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22650 (ctanh_tonearest_test_data): New variable.
22651 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22652 (ctanh_towardzero_test_data): New variable.
22653 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22654 (ctanh_downward_test_data): New variable.
22655 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22656 (ctanh_upward_test_data): New variable.
22657 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22658 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22659 of BUILD_COMPLEX.
22660
601a3a5f
JM
22661 * math/libm-test.inc (struct test_ff_f_data): New type.
22662 (struct test_ff_f_data_nexttoward): Likewise.
22663 (RUN_TEST_LOOP_2_f): New macro.
22664 (RUN_TEST_LOOP_ff_f): Likewise.
22665 (atan2_test_data): New variable.
22666 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22667 (copysign_test_data): New variable.
22668 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22669 (fdim_test_data): New variable.
22670 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22671 (fmax_test_data): New variable.
22672 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22673 (fmin_test_data): New variable.
22674 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22675 (fmod_test_data): New variable.
22676 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22677 (hypot_test_data): New variable.
22678 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22679 (nextafter_test_data): New variable.
22680 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22681 (nexttoward_test_data): New variable.
22682 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22683 (pow_test_data): New variable.
22684 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22685 (pow_tonearest_test_data): New variable.
22686 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22687 (pow_towardzero_test_data): New variable.
22688 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22689 (pow_downward_test_data): New variable.
22690 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22691 (pow_upward_test_data): New variable.
22692 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22693 (remainder_test_data): New variable.
22694 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22695 (scalb_test_data): New variable.
22696 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22697 * sysdeps/i386/fpu/libm-test-ulps: Update.
22698
74c57478
JM
226992013-05-11 Joseph Myers <joseph@codesourcery.com>
22700
8329e4da
JM
22701 * math/libm-test.inc (fma_test): Use max_value instead of local
22702 variable fltmax.
22703 (nextafter_test): Likewise.
22704
74c57478
JM
22705 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22706 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22707 (acos_downward_test_data): New variable.
22708 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22709 (acos_upward_test_data): New variable.
22710 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22711 (acosh_test_data): New variable.
22712 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22713 (asin_test_data): New variable.
22714 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22715 (asin_tonearest_test_data): New variable.
22716 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22717 (asin_towardzero_test_data): New variable.
22718 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22719 (asin_downward_test_data): New variable.
22720 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22721 (asin_upward_test_data): New variable.
22722 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22723 (asinh_test_data): New variable.
22724 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22725 (atan_test_data): New variable.
22726 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22727 (atanh_test_data): New variable.
22728 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22729 (cbrt_test_data): New variable.
22730 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22731 (ceil_test_data): New variable.
22732 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22733 (cos_test_data): New variable.
22734 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22735 (cos_tonearest_test_data): New variable.
22736 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22737 (cos_towardzero_test_data): New variable.
22738 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22739 (cos_downward_test_data): New variable.
22740 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22741 (cos_upward_test_data): New variable.
22742 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22743 (cosh_test_data): New variable.
22744 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22745 (cosh_tonearest_test_data): New variable.
22746 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22747 (cosh_towardzero_test_data): New variable.
22748 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22749 (cosh_downward_test_data): New variable.
22750 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22751 (cosh_upward_test_data): New variable.
22752 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22753 (erf_test_data): New variable.
22754 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22755 (erfc_test_data): New variable.
22756 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22757 (exp_test_data): New variable.
22758 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22759 (exp_tonearest_test_data): New variable.
22760 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22761 (exp_towardzero_test_data): New variable.
22762 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22763 (exp_downward_test_data): New variable.
22764 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22765 (exp_upward_test_data): New variable.
22766 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22767 (exp10_test_data): New variable.
22768 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22769 (exp2_test_data): New variable.
22770 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22771 (expm1_test_data): New variable.
22772 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22773 (fabs_test_data): New variable.
22774 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22775 (floor_test_data): New variable.
22776 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22777 (j0_test_data): New variable.
22778 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22779 (j1_test_data): New variable.
22780 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22781 (log_test_data): New variable.
22782 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22783 (log10_test_data): New variable.
22784 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22785 (log1p_test_data): New variable.
22786 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22787 (log2_test_data): New variable.
22788 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22789 (logb_test_data): New variable.
22790 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22791 (logb_downward_test_data): New variable.
22792 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22793 (nearbyint_test_data): New variable.
22794 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22795 (rint_test_data): New variable.
22796 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22797 (rint_tonearest_test_data): New variable.
22798 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22799 (rint_towardzero_test_data): New variable.
22800 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22801 (rint_downward_test_data): New variable.
22802 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22803 (rint_upward_test_data): New variable.
22804 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22805 (round_test_data): New variable.
22806 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22807 (sin_test_data): New variable.
22808 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22809 (sin_tonearest_test_data): New variable.
22810 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22811 (sin_towardzero_test_data): New variable.
22812 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22813 (sin_downward_test_data): New variable.
22814 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22815 (sin_upward_test_data): New variable.
22816 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22817 (sinh_test_data): New variable.
22818 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22819 (sinh_tonearest_test_data): New variable.
22820 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22821 (sinh_towardzero_test_data): New variable.
22822 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22823 (sinh_downward_test_data): New variable.
22824 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22825 (sinh_upward_test_data): New variable.
22826 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22827 (sqrt_test_data): New variable.
22828 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22829 (tan_test_data): New variable.
22830 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22831 (tan_tonearest_test_data): New variable.
22832 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22833 (tan_towardzero_test_data): New variable.
22834 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22835 (tan_downward_test_data): New variable.
22836 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22837 (tan_upward_test_data): New variable.
22838 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22839 (tanh_test_data): New variable.
22840 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22841 (tgamma_test_data): New variable.
22842 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22843 (trunc_test_data): New variable.
22844 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22845 (y0_test_data): New variable.
22846 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22847 (y1_test_data): New variable.
22848 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22849 (significand_test_data): New variable.
22850 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22851
7187d844
CG
228522013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22853
22854 [BZ #12387]
22855 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22856
f63fae73
PT
228572013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22858
22859 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22860
8a67a4b3
AJ
228612013-05-10 Andreas Jaeger <aj@suse.de>
22862
22863 [BZ #15448]
22864 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22865 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22866
51df539d
JM
228672013-05-10 Joseph Myers <joseph@codesourcery.com>
22868
22869 * math/gen-libm-test.pl (adjust_arg): New function.
22870 (special_functions): Handle generating output in both functions
22871 and arrays.
22872 (parse_args): Likewise.
22873 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22874 $in_func argument to parse_args.
22875 * math/libm-test.inc (struct test_f_f_data): New type.
22876 (IF_ROUND_INIT_): New macro.
22877 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22878 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22879 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22880 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22881 (ROUND_RESTORE_): Likewise.
22882 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22883 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22884 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22885 (ROUND_RESTORE_FE_UPWARD): Likewise.
22886 (RUN_TEST_LOOP_f_f): New macro.
22887 (acos_test_data): New variable.
22888 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22889 (acos_tonearest_test_data): New variable.
22890 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22891
5c637fe5
SP
228922013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22893
22894 * benchtests/bench-skeleton.c (startup): Fix coding style.
22895
ab2b9461
JM
228962013-05-10 Joseph Myers <joseph@codesourcery.com>
22897
22898 [BZ #6809]
22899 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22900 negative infinity argument.
22901 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22902 negative infinity argument.
22903 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22904 negative infinity argument.
22905 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22906 domain errors.
22907
4c0fe6fe
FW
229082013-05-10 Florian Weimer <fweimer@redhat.com>
22909
22910 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22911 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22912 * iconv/iconv_prog.c (main): Likewise.
22913 * locale/programs/charmap-dir.c (charmap_readdir)
22914 (fopen_uncompressed): Likewise.
22915 * locale/programs/locfile.c (siblings_uncached)
22916 (write_locale_data): Use lstat64 instead of lstat.
22917 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22918 stat.
22919
a3375d29
AJ
229202013-05-10 Andreas Jaeger <aj@suse.de>
22921
22922 [BZ #15395]
22923 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22924 localization.
22925 Include <locale.h>.
22926
36129722
CD
229272013-05-09 Carlos O'Donell <carlos@redhat.com>
22928
22929 * elf/dl-close.c (_dl_close_worker): Add comments.
22930
faa7f811
JM
229312013-05-09 Joseph Myers <joseph@codesourcery.com>
22932
ed41ffef
JM
22933 [BZ #15359]
22934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22935 high part of pi/2.
22936 (__ieee754_rem_pio2l): Update comments.
22937
d0213cd0
JM
22938 [BZ #15429]
22939 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22940 high part of pi/2.
22941 (__ieee754_rem_pio2l): Update comments.
22942
0d3e777a
JM
22943 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22944 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22945
24f56066
JM
22946 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22947 M_PI_4l.
22948
faa7f811
JM
22949 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22950 (M_PI_34_LOG10El): Likewise.
22951 (M_PI2_LOG10El): Likewise.
22952 (M_PI4_LOG10El): Likewise.
22953 (M_PI_LOG10El): Likewise.
22954
e9a5e0fd
AZ
229552013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22956
22957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22958
d8cd06db
JM
229592013-05-08 Joseph Myers <joseph@codesourcery.com>
22960
a0d9f9d7
JM
22961 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22962 (MINUS_ZERO_INIT): Likewise.
22963 (PLUS_INFTY_INIT): Likewise.
22964 (MINUS_INFTY_INIT): Likewise.
22965 (QNAN_VALUE_INIT): Likewise.
22966 (MAX_VALUE_INIT): Likewise.
22967 (MIN_VALUE_INIT): Likewise.
22968 (MIN_SUBNORM_VALUE_INIT): Likewise.
22969 (plus_zero): Initialize with PLUS_ZERO_INIT.
22970 (minus_zero): Initialize with MINUS_ZERO_INIT.
22971 (plus_infty): Initialize with PLUS_INFTY_INIT.
22972 (minus_infty): Initialize with MINUS_INFTY_INIT.
22973 (qnan_value): Initialize with QNAN_VALUE_INIT.
22974 (max_value): Initialize with MAX_VALUE_INIT.
22975 (min_value): Initialize with MIN_VALUE_INIT.
22976 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22977
ae08db3b
JM
22978 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22979 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22980 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22981 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22982
f44bf14a
JM
22983 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22984 (RUN_TEST_2_f): Likewise.
22985 (RUN_TEST_ff_f): Likewise.
22986 (RUN_TEST_fi_f): Likewise.
22987 (RUN_TEST_fl_f): Likewise.
22988 (RUN_TEST_fff_f): Likewise.
22989 (RUN_TEST_c_f): Likewise.
22990 (RUN_TEST_f_f1): Likewise.
22991 (RUN_TEST_fF_f1): Likewise.
22992 (RUN_TEST_fI_f1): Likewise.
22993 (RUN_TEST_ffI_f1): Likewise.
22994 (RUN_TEST_c_c): Likewise.
22995 (RUN_TEST_cc_c): Likewise.
22996 (RUN_TEST_f_i): Likewise.
22997 (RUN_TEST_f_i_tg): Likewise.
22998 (RUN_TEST_ff_i_tg): Likewise.
22999 (RUN_TEST_f_b): Likewise.
23000 (RUN_TEST_f_b_tg): Likewise.
23001 (RUN_TEST_f_l): Likewise.
23002 (RUN_TEST_f_L): Likewise.
23003 (RUN_TEST_sincos): Likewise.
23004 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23005 whether to show exceptions. Do not include ");\n" in return
23006 value.
23007 (special_functions): Output call to RUN_TEST_sincos instead of
23008 check_float calls. Update calls to new_test.
23009 (parse_args): Output call to single RUN_TEST_* macro instead of
23010 check_* calls and other assignments. Update calls to new_test.
23011
d8cd06db
JM
23012 [BZ #2546]
23013 [BZ #2560]
23014 [BZ #5159]
23015 [BZ #15426]
23016 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23017 input to result for tgamma overflow.
23018 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23019 (gamma_coeff): New variable.
23020 (NCOEFF): New macro.
23021 (gamma_positive): New function.
23022 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23023 underflow here. Use gamma_positive instead of exp (lgamma) for
23024 other arguments.
23025 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23026 (gamma_coeff): New variable.
23027 (NCOEFF): New macro.
23028 (gammaf_positive): New function.
23029 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23030 underflow here. Use gamma_positive instead of exp (lgamma) for
23031 other arguments.
23032 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23033 (gamma_coeff): New variable.
23034 (NCOEFF): New macro.
23035 (gammal_positive): New function.
23036 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23037 underflow here. Use gamma_positive instead of exp (lgamma) for
23038 other arguments.
23039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23040 (gamma_coeff): New variable.
23041 (NCOEFF): New macro.
23042 (gammal_positive): New function.
23043 (__ieee754_gammal_r): Handle positive infinity, overflow and
23044 underflow here. Handle NaN the same as positive infinity. Remove
23045 check x < 0xffffffff for negative integers. Use gamma_positive
23046 instead of exp (lgamma) for other arguments.
23047 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23048 (gamma_coeff): New variable.
23049 (NCOEFF): New macro.
23050 (gammal_positive): New function.
23051 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23052 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23056 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23057 * sysdeps/generic/math_private.h (__gamma_productf): New
23058 prototype.
23059 (__gamma_product): Likewise.
23060 (__gamma_productl): Likewise.
23061 * math/Makefile (libm-calls): Add gamma_product.
23062 * math/libm-test.inc (tgamma_test): Add more tests.
23063 * sysdeps/i386/fpu/libm-test-ulps: Update.
23064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23065
bb7cf681
OB
230662013-05-08 Ondřej Bílka <neleai@seznam.cz>
23067
23068 * benchtests/bench-skeleton.c (main): Preheat CPU.
23069
ba853947
AJ
230702013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23071
23072 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23073
8347c74c
RM
230742013-05-07 Roland McGrath <roland@hack.frob.com>
23075
23076 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23077 and _dl_skip_args_internal.
23078
e8dd4791
CD
230792013-05-07 Carlos O'Donell <carlos@redhat.com>
23080
23081 * manual/message.texi (Message Translation): Talk about users.
23082 Message to key mapping impacts design.
23083
c7405830
RM
230842013-05-06 Roland McGrath <roland@hack.frob.com>
23085
a9173057
RM
23086 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23087
976e2f03
RM
23088 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23089
9723ffc5
RM
23090 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23091 * sysdeps/wordsize-64/glob64.c: ... here.
23092
962e6658
RM
23093 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23094 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23095 New macros.
23096
ee586a6d
RM
23097 * debug/getlogin_r_chk.c: Moved to ...
23098 * login/getlogin_r_chk.c: ... here.
23099 * debug/Makefile (routines): Move getlogin_r_chk to ...
23100 * login/Makefile (routines): ... here.
23101 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23102 * login/Versions (libc: GLIBC_2.4): ... here.
23103
355f9165
RM
23104 * io/poll.c (__poll): Renamed from poll.
23105 Add libc_hidden_def.
23106 (poll): Define as weak alias.
23107
bd9ffde6
RM
23108 * debug/ptsname_r_chk.c: Moved to ...
23109 * login/ptsname_r_chk.c: ... here.
23110 * debug/Makefile (routines): Move ptsname_r_chk to ...
23111 * login/Makefile (routines): ... here.
23112 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23113 * login/Versions (libc: GLIBC_2.4): ... here.
23114
8fb16a04
RM
23115 * posix/getlogin.c: Moved to ...
23116 * login/getlogin.c: ... here.
23117 * posix/getlogin_r.c: Moved to ...
23118 * login/getlogin_r.c: ... here.
23119 * posix/getlogin_r.c: Moved to ...
23120 * login/getlogin_r.c: ... here.
23121 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23122 * login/Makefile (routines): ... here.
23123 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23124 * login/Versions (libc: GLIBC_2.0): ... here.
23125
b99b892f
RM
23126 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23127 (setrlimit): Define as weak alias.
23128
c7405830
RM
23129 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23130 Call __ names for open, ftruncate, and close.
23131 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23132 (truncate): Define as weak alias.
23133
5bf96de5
JM
231342013-05-06 Joseph Myers <joseph@codesourcery.com>
23135
9ea3513c
JM
23136 * math/gen-libm-test.pl (parse_args): Initialize x before each
23137 test of frexp, modf and remquo.
23138
5bf96de5
JM
23139 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23140 test signgam value.
23141
16e616a7
AZ
231422013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23143
23144 [BZ #15418]
23145 [BZ #15419]
23146 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23147 internal tests.
23148 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23149
d5e82754
RM
231502013-05-06 Roland McGrath <roland@hack.frob.com>
23151
23152 * elf/dl-writev.h: New file.
23153 * elf/dl-misc.c: Include it.
23154 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23155 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23156
a7548d41
JM
231572013-05-04 Joseph Myers <joseph@codesourcery.com>
23158
b7dab1e4
JM
23159 * math/libm-test.inc (noXFails): Remove variable.
23160 (noXPasses): Likewise.
23161 (BUILD_COMPLEX_INT): Remove macro.
23162 (print_screen): Remove xfail argument.
23163 (print_screen_max_error): Likewise.
23164 (update_stats): Likewise.
23165 (print_max_error): Likewise. Update calls to other affected
23166 functions.
23167 (print_complex_max_error): Likewise.
23168 (test_single_exception): Update calls to print_screen.
23169 (test_single_errno): Likewise.
23170 (check_float_internal): Remove xfail argument. Update calls to
23171 other affected functions.
23172 (check_float): Likewise.
23173 (check_complex): Likewise.
23174 (check_int): Likewise.
23175 (check_long): Likewise.
23176 (check_bool): Likewise.
23177 (check_longlong): Likewise.
23178 (main): Don't print noXFails and noXPasses.
23179 * math/gen-libm-test.pl (top level): Don't mention expected
23180 failure handling in comment.
23181 (new_test): Don't handle expected failures.
23182 (parse_args): Don't mention expected failure handling in comment.
23183 (generate_testfile): Don't handle expected failures.
23184 (parse_ulps): Likewise.
23185 (print_ulps_file): Likewise.
23186 (get_failure): Remove function.
23187 (output_test): Don't handle expected failures.
23188 * make/README.libm-test: Don't mention expected failure handling.
23189
a7548d41
JM
23190 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23191 (minus_zero): Likewise.
23192 (plus_infty): Likewise.
23193 (minus_infty): Likewise.
23194 (qnan_value): Likewise.
23195 (max_value): Likewise.
23196 (min_value): Likewise.
23197 (min_subnorm_value): Likewise.
23198 (initialize): Do not initialize those variables dynamically.
23199
60bfd54c
RM
232002013-05-03 Roland McGrath <roland@hack.frob.com>
23201
cc0e6ed8
RM
23202 * io/open.c (__open_2): Moved to ...
23203 * io/open_2.c: ... this new file.
23204 * io/open64.c (__open64_2): Moved to ...
23205 * io/open64_2.c: ... this new file.
23206 * io/openat.c (__openat_2): Moved to ...
23207 * io/openat_2.c: ... this new file.
23208 * io/openat64.c (__openat64_2): Moved to ...
23209 * io/openat64_2.c: ... this new file.
23210 * io/Makefile (routines): Add them.
23211 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23212 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23213 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23214 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23215 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23216 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23217 (__openat64): Add hidden_ver.
23218 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23219 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23220
60bfd54c
RM
23221 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23222 Separately conditionalize setting of GLRO(dl_sysinfo) so
23223 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23224 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23225
83e7640f
AZ
232262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23227
23228 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23230 definition.
23231 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23232 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23233 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23234 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23235 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23236
d5dc2af3
JM
232372013-05-03 Joseph Myers <joseph@codesourcery.com>
23238
c31a5b1e
JM
23239 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23240 test signgam value.
23241
d5dc2af3
JM
23242 * math/libm-test.inc (hypot_test): Do not use
23243 IGNORE_ZERO_INF_SIGN.
23244
164fd39d
AJ
232452013-05-03 Andreas Jaeger <aj@suse.de>
23246
23247 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23248 Linux 3.9.
23249 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23250 (PF_MAX): Adjust for VSOCK change.
23251
8237f48c
AZ
232522013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23253
23254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23255
9df02941
CD
232562013-05-02 Carlos O'Donell <carlos@redhat.com>
23257
23258 [BZ #15264]
23259 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23260 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23261 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23262
d422395e
DM
232632013-05-02 David S. Miller <davem@davemloft.net>
23264
23265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23266
a07c5731
OB
232672013-05-01 Ondřej Bílka <neleai@seznam.cz>
23268
23269 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23270
1324e37f
RM
232712013-05-01 Roland McGrath <roland@hack.frob.com>
23272
23273 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23274
0695940b
RS
232752013-05-01 Richard Smith <richard@metafoo.co.uk>
23276
bb5f27ad 23277 [BZ #14952]
0695940b
RS
23278 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23279 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23280 Use __attribute__ ((__gnu_inline__)).
23281 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23282 Don't use __attribute__ ((__gnu_inline__)).
23283
10de07f5
JM
232842013-05-01 Joseph Myers <joseph@codesourcery.com>
23285
23286 [BZ #15423]
23287 * math/s_catan.c (__catan): Handle small real or imaginary part of
23288 input specially to avoid spurious underflow.
23289 * math/s_catanf.c (__catanf): Likewise.
23290 * math/s_catanh.c (__catanh): Likewise.
23291 * math/s_catanhf.c (__catanhf): Likewise.
23292 * math/s_catanhl.c (__catanhl): Likewise.
23293 * math/s_catanl.c (__catanl): Likewise.
23294 * math/libm-test.inc (catan_test): Add more tests.
23295 (catanh_test): Likewise.
23296 * sysdeps/i386/fpu/libm-test-ulps: Update.
23297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23298
cb4d5414
AZ
232992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23300
23301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23302
caf84319
JM
233032013-04-30 Joseph Myers <joseph@codesourcery.com>
23304
23305 [BZ #15416]
23306 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23307 accurately for denominator in atan2.
23308 * math/s_catanf.c (__catanf): Likewise.
23309 * math/s_catanh.c (__catanh): Likewise.
23310 * math/s_catanhf.c (__catanhf): Likewise.
23311 * math/s_catanhl.c (__catanhl): Likewise.
23312 * math/s_catanl.c (__catanl): Likewise.
23313 * math/libm-test.inc (catan_test): Add more tests.
23314 (catanh_test): Likewise.
23315 * sysdeps/i386/fpu/libm-test-ulps: Update.
23316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23317
d569c6ee
SP
233182013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23319
6dbe713d
SP
23320 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23321
f0ee064b
SP
23322 * benchtests/Makefile (bench): Remove slow benchmarks.
23323 * benchtests/atan-inputs: Add slow benchmark inputs.
23324 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23325 (BENCH_FUNC): Accept variant offset.
23326 (VARIANT): Define.
23327 * benchtests/bench-skeleton.c (main): Run benchmark for each
23328 variant.
23329 * benchtests/cos-inputs: Add slow benchmark inputs.
23330 * benchtests/exp-inputs: Likewise.
23331 * benchtests/pow-inputs: Likewise.
23332 * benchtests/sin-inputs: Likewise.
23333 * benchtests/slowatan-inputs: Remove.
23334 * benchtests/slowatan.c: Remove.
23335 * benchtests/slowcos-inputs: Remove.
23336 * benchtests/slowcos.c: Remove.
23337 * benchtests/slowexp-inputs: Remove.
23338 * benchtests/slowexp.c: Remove.
23339 * benchtests/slowpow-inputs: Remove.
23340 * benchtests/slowpow.c: Remove.
23341 * benchtests/slowsin-inputs: Remove.
23342 * benchtests/slowsin.c: Remove.
23343 * benchtests/slowtan-inputs: Remove.
23344 * benchtests/slowtan.c: Remove.
23345 * benchtests/tan-inputs: Add slow benchmark inputs.
23346 * scripts/bench.pl: Parse comments and directives.
23347
d569c6ee
SP
23348 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23349 in CPPFLAGS.
23350 ($(objpfx)bench-%.c): Remove *-ITER.
23351 * benchtests/bench-modf.c: Remove definition of ITER.
23352 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23353 (main): Loop for DURATION seconds instead of fixed number of
23354 iterations.
23355 * scripts/bench.pl: Don't expect iterations in parameters.
23356
a6a242fe
RM
233572013-04-29 Roland McGrath <roland@hack.frob.com>
23358
23359 * io/fchdir.c (__fchdir): Renamed from fchdir.
23360 (fchdir): Define as weak alias.
23361
f2da7793
JM
233622013-04-29 Joseph Myers <joseph@codesourcery.com>
23363
23364 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23365 (ERRNO_EDOM): Likewise.
23366 (ERRNO_ERANGE): Likewise.
23367 (noErrnoTests): New variable.
23368 (init_max_error): Set errno to 0.
23369 (test_single_errno): New function.
23370 (test_errno): Likewise.
23371 (check_float_internal): Call test_errno. Set errno to 0.
23372 (check_complex): Refer to errno tests in comment.
23373 (check_int): Call test_errno. Set errno to 0.
23374 (check_long): Likewise.
23375 (check_bool): Likewise.
23376 (check_longlong): Likewise.
23377 (cos_test): Use ERRNO_* flags for errno tests instead of
23378 check_int.
23379 (expm1_test): Likewise.
23380 (fmod_test): Likewise.
23381 (ilogb_test): Likewise.
23382 (lgamma_test): Likewise.
23383 (pow_test): Likewise.
23384 (remainder_test): Likewise.
23385 (sin_test): Likewise.
23386 (tan_test): Likewise.
23387 (yn_test): Likewise.
23388 (initialize): Set errno to 0.
23389 (main): Print number of errno tests.
23390 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23391
b1a36ceb
AJ
233922013-04-29 Andreas Jaeger <aj@suse.de>
23393
c3ed8088
AJ
23394 [BZ #15084]
23395 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23396 and RES_USEVC.
23397
f1a24198
AJ
23398 [BZ #15085]
23399 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23400 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23401 unimplemented.
23402
9ce3b2cb
AJ
23403 [BZ #15380]
23404 * stdlib/random.c (__initstate): Return NULL if
23405 __initstate fails.
23406
f1a24198 23407 [BZ #15086]
b1a36ceb
AJ
23408 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23409 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23410 RES_SNGLKUPREOP.
23411
7e7b6f36
AZ
234122013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23413
23414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23415
4d14f449
JM
234162013-04-29 Joseph Myers <joseph@codesourcery.com>
23417
23418 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23419 of individual tests.
23420 (casin_test): Likewise.
23421 (casinh_test): Likewise.
23422
5b4217d7
JM
234232013-04-27 Joseph Myers <joseph@codesourcery.com>
23424
23425 [BZ #15409]
23426 * math/s_catan.c (__catan): Handle arguments with large real or
23427 imaginary part separately without squaring.
23428 * math/s_catanf.c (__catanf): Likewise.
23429 * math/s_catanh.c (__catanh): Likewise.
23430 * math/s_catanhf.c (__catanhf): Likewise.
23431 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23432 and redefine.
23433 (__catanhl): Handle arguments with large real or imaginary part
23434 separately without squaring.
23435 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23436 and redefine.
23437 (__catanl): Handle arguments with large real or imaginary part
23438 separately without squaring.
23439 * math/libm-test.inc (catan_test): Add more tests.
23440 (catanh_test): Likewise.
23441 * sysdeps/i386/fpu/libm-test-ulps: Update.
23442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23443
4220c3ef
AJ
234442013-04-27 Andreas Jaeger <aj@suse.de>
23445
23446 [BZ #15007]
23447 * stdlib/stdlib.h: Update guards for qecvt.
23448 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23449 <stdlib.h>.
23450
4721b2d1
AM
234512013-04-27 Allan McRae <allan@archlinux.org>
23452
23453 * sysdeps/i386/fpu/libm-test-ulps: Update.
23454
f0302940
JM
234552013-04-26 Joseph Myers <joseph@codesourcery.com>
23456
9457fd95
JM
23457 [BZ #15406]
23458 * math/s_catan.c: Include <float.h>.
23459 (__catan): Ensure underflow exception occurs for underflowed
23460 result.
23461 * math/s_catanf.c: Include <float.h>.
23462 (__catanf): Ensure underflow exception occurs for underflowed
23463 result.
23464 * math/s_catanh.c: Include <float.h>.
23465 (__catanh): Ensure underflow exception occurs for underflowed
23466 result.
23467 * math/s_catanhf.c: Include <float.h>.
23468 (__catanhf): Ensure underflow exception occurs for underflowed
23469 result.
23470 * math/s_catanhl.c: Include <float.h>.
23471 (__catanhl): Ensure underflow exception occurs for underflowed
23472 result.
23473 * math/s_catanl.c: Include <float.h>.
23474 (__catanl): Ensure underflow exception occurs for underflowed
23475 result.
23476 * math/libm-test.inc (catan_test): Add more tests.
23477 (catanh_test): Likewise.
23478
f0302940
JM
23479 [BZ #15405]
23480 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23481 underflowed result.
23482 * math/s_ccoshf.c (__ccoshf): Likewise.
23483 * math/s_ccoshl.c (__ccoshl): Likewise.
23484 * math/s_csin.c (__csin): Likewise.
23485 * math/s_csinf.c (__csinf): Likewise.
23486 * math/s_csinh.c (__csinh): Likewise.
23487 * math/s_csinhf.c (__csinhf): Likewise.
23488 * math/s_csinhl.c (__csinhl): Likewise.
23489 * math/s_csinl.c (__csinl): Likewise.
23490 * math/libm-test.inc (ccos_test): Add more tests.
23491 (ccosh_test): Likewise.
23492 (csin_test): Likewise.
23493 (csinh_test): Likewise.
23494
aa630f59
AZ
234952013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23496
23497 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23498 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23499 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23500 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23501 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23502 powerpc/power5+/fpu folders.
23503 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23504
23505
1b835983
MT
235062013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23507
23508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23509
73709b26
JM
235102013-04-25 Joseph Myers <joseph@codesourcery.com>
23511
23512 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23513 additions to variable.
23514 [$(config-machine) = x86_64] (modules-names): Likewise.
23515 ($(objpfx)tst-audit3): Remove dependency.
23516 ($(objpfx)tst-audit3.out): Likewise.
23517 ($(objpfx)tst-audit4): Likewise.
23518 ($(objpfx)tst-audit4.out): Likewise.
23519 ($(objpfx)tst-audit5): Likewise.
23520 ($(objpfx)tst-audit5.out): Likewise.
23521 ($(objpfx)tst-audit6): Likewise.
23522 ($(objpfx)tst-audit6.out): Likewise.
23523 ($(objpfx)tst-audit7): Likewise.
23524 ($(objpfx)tst-audit7.out): Likewise.
23525 (tst-audit3-ENV): Remove variable.
23526 (tst-audit4-ENV): Likewise.
23527 (tst-audit5-ENV): Likewise.
23528 (tst-audit6-ENV): Likewise.
23529 (tst-audit7-ENV): Likewise.
23530 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23531 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23532 addition to variable.
23533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23538 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23539 tst-audit3, tst-audit4 and tst-audit5.
23540 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23541 tst-audit6 and tst-audit7.
23542 [$(subdir) = elf] (modules-names): Add audit modules for those
23543 tests.
23544 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23545 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23546 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23547 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23548 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23549 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23550 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23551 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23552 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23553 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23554 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23555 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23556 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23557 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23558 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23559 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23560 Likewise.
23561 [$(subdir) = elf && $(config-cflags-avx) = yes]
23562 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23563 [$(subdir) = elf && $(config-cflags-avx) = yes]
23564 (CFLAGS-tst-auditmod4a.c): Likewise.
23565 [$(subdir) = elf && $(config-cflags-avx) = yes]
23566 (CFLAGS-tst-auditmod4b.c): Likewise.
23567 [$(subdir) = elf && $(config-cflags-avx) = yes]
23568 (CFLAGS-tst-auditmod6b.c): Likewise.
23569 [$(subdir) = elf && $(config-cflags-avx) = yes]
23570 (CFLAGS-tst-auditmod6c.c): Likewise.
23571 [$(subdir) = elf && $(config-cflags-avx) = yes]
23572 (CFLAGS-tst-auditmod7b.c): Likewise.
23573 * elf/tst-audit3.c: Move to ...
23574 * sysdeps/x86_64/tst-audit3.c: ... here.
23575 * elf/tst-audit4.c: Move to ...
23576 * sysdeps/x86_64/tst-audit4.c: ... here.
23577 * elf/tst-audit5.c: Move to ...
23578 * sysdeps/x86_64/tst-audit5.c: ... here.
23579 * elf/tst-audit6.c: Move to ...
23580 * sysdeps/x86_64/tst-audit6.c: ... here.
23581 * elf/tst-audit7.c: Move to ...
23582 * sysdeps/x86_64/tst-audit7.c: ... here.
23583 * elf/tst-auditmod3a.c: Move to ...
23584 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23585 * elf/tst-auditmod3b.c: Move to ...
23586 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23587 * elf/tst-auditmod4a.c: Move to ...
23588 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23589 * elf/tst-auditmod4b.c: Move to ...
23590 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23591 * elf/tst-auditmod5a.c: Move to ...
23592 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23593 * elf/tst-auditmod5b.c: Move to ...
23594 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23595 * elf/tst-auditmod6a.c: Move to ...
23596 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23597 * elf/tst-auditmod6b.c: Move to ...
23598 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23599 * elf/tst-auditmod6c.c: Move to ...
23600 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23601 * elf/tst-auditmod7a.c: Move to ...
23602 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23603 * elf/tst-auditmod7b.c: Move to ...
23604 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23605
1ef74943
PP
236062013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23607
23608 [BZ #15366]
23609 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23610 define unconditionally.
23611 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23612 define unconditionally.
23613 (INT8_C, INT16_C, etc.): Likewise.
23614
93fd48c5
MR
236152013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23616
ae9552cf
MR
23617 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23618 __ehdr_start with hidden visibility.
23619
93fd48c5
MR
23620 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23621
418601aa
CD
236222013-04-24 Carlos O'Donell <carlos@redhat.com>
23623
23624 * math/libm-test.inc (cos_test): Use accurate hex constants.
23625 (sincost_test): Likewise.
23626
2f38fbfe
JM
236272013-04-24 Joseph Myers <joseph@codesourcery.com>
23628
5e221800
JM
23629 * math/libm-test.inc (catan_test): Add more tests.
23630 (catanh_test): Likewise.
23631
77f143fd
JM
23632 * math/s_catanf.c (__catanf): Use suffixed floating-point
23633 constants.
23634 * math/s_catanhf.c (__catanhf): Likewise.
23635 * math/s_catanhl.c (__catanhl): Likewise.
23636 * math/s_catanl.c (__catanl): Likewise.
23637
2f38fbfe
JM
23638 [BZ #15394]
23639 * math/s_catan.c (__catan): Calculate imaginary part of result
23640 with log1p not log unless computing log of number close to 0.
23641 * math/s_catanf.c (__catanf): Likewise.
23642 * math/s_catanl.c (__catanl): Likewise.
23643 * math/s_catanh.c (__catanh): Calculate real part of result with
23644 log1p not log unless computing log of number close to 0.
23645 * math/s_catanhf.c (__catanhf): Likewise.
23646 * math/s_catanhl.c (__catanhl): Likewise.
23647 * math/libm-test.inc (catan_test): Add more tests.
23648 (catanh_test): Likewise.
23649 * sysdeps/i386/fpu/libm-test-ulps: Update.
23650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23651
45d69176
SP
236522013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23653
23654 * benchtests/Makefile: Mention files in which fast and slow
23655 paths of math functions are implemented.
23656
87f51853
RM
236572013-04-23 Roland McGrath <roland@hack.frob.com>
23658
23659 * sysdeps/posix/timespec_get.c: New file.
23660
3c026539
AZ
236612013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23662
23663 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23664 POWER.
23665 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23666 for POWER.
23667 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23668 powerpc/power5/fpu folders.
23669 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23670 * benchtests/Makefile: Add modf testcase.
23671 * benchtests/bench-modf.c: New file: Benchmark test for mo
23672
ff491d14
SP
236732013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23674
23675 [BZ #14888]
23676 * time/Makefile (tests): Add tst-strptime-whitespace.
23677 * time/strptime_l.c (get_number): Use ISSPACE.
23678 (__strptime_internal): Likewise.
23679 * time/tst-strptime-whitespace.c: New test case.
23680
7ed3f4e8
AS
236812013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23682
23683 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23684 member.
23685 (_nss_files_init): Set it here.
23686
5c95f7b6
HC
236872013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23688
23689 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23690 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23691 unsigned.
23692
d34c9158
JBG
236932013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23694
23695 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23696
2169712d
SP
236972013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23698
23699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23700 size just once.
23701
29c5de99
DM
237022013-04-21 David S. Miller <davem@davemloft.net>
23703
23704 * po/ru.po: Update Russion translation from translation project.
23705
ccdad15d
AC
237062013-04-17 Adam Conrad <adconrad@0c3.net>
23707
23708 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23709 and setfsgid.
23710
0f122b8d
CD
237112013-04-17 Carlos O'Donell <carlos@redhat.com>
23712
5c5b07da 23713 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23714 * configure: Regenerate.
5c5b07da 23715 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23716 Add example to error message.
23717 * sysdeps/i386/configure: Regenerate.
23718
037714dd
SP
237192013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23720
23721 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23722 slowtan.
23723 * benchtests/cos-inputs: New file.
23724 * benchtests/slowcos-inputs: New file.
23725 * benchtests/slowcos.c: New file.
23726 * benchtests/slowtan-inputs: New file.
23727 * benchtests/slowtan.c: New file.
23728 * benchtests/tan-inputs: New file.
23729
e913141d
RM
237302013-04-16 Roland McGrath <roland@hack.frob.com>
23731
23732 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23733 considered kosher.
23734
a2964074
SP
237352013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23736
4856bcd2
SP
23737 * benchtests/Makefile: Include cppflags-iterator.mk to add
23738 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23739
a2964074
SP
23740 * Makefile.in (bench-clean): New target.
23741 * benchtests/Makefile (bench-clean): Likewise.
23742
9fbf9aca
DH
237432013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23744
23745 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23746
207d1e2a
TS
237472013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23748
23749 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23750
306dfba9
AS
237512013-04-15 Andreas Schwab <schwab@suse.de>
23752
23753 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23755 * nscd/pwdcache.c (cache_addpw): Likewise.
23756 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23757 more than recsize.
23758
206a6699
SP
237592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23760
23761 * benchtests/Makefile (bench): Write all output to
23762 bench-out.tmp together.
23763
0582f6b3
AS
237642013-04-15 Andreas Schwab <schwab@suse.de>
23765
23766 * nscd/nscd.c (main): Don't fork again after closing files.
23767
acb4325f
SP
237682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23769
5cb26d0a
SP
23770 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23771
acb4325f
SP
23772 * benchtests/Rules (bench-deps): Collect dependencies into a
23773 single variable. Add Makefile to dependencies.
23774 ($(objpfx)bench-%.c): Depend on bench-deps.
23775
47792506
RM
237762013-04-12 Roland McGrath <roland@hack.frob.com>
23777 Xavier Roche <roche+kml2@exalead.com>
23778
23779 [BZ #15361]
23780 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23781 just that it's a file descriptor.
23782 * manual/llio.texi (Synchronizing AIO Operations): Update description
23783 for EBADF error from aio_fsync.
23784
8fc1bee5
SP
237852013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23786
23787 * Rules (bench): Move target definition...
23788 * benchtests/Makefile: ... here.
23789
aba5e333
CD
237902013-04-11 Carlos O'Donell <carlos@redhat.com>
23791
23792 * math/libm-test.inc (cos_test): Fix PI/2 test.
23793 (sincos_test): Likewise.
23794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23795 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23796
273cdee8
AS
237972013-04-11 Andreas Schwab <schwab@suse.de>
23798
6ecec3b6
AS
23799 [BZ #13988]
23800 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23801 accept exponent character only when digits were seen.
23802 * stdio-common/Makefile (tests): Add bug26.
23803 * stdio-common/bug26.c: New file.
23804
273cdee8
AS
23805 [BZ #14293]
23806 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23807 non-freeable.
23808
8da491f5
SP
238092013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23810
01dc6df9
SP
23811 * Makeconfig (rtld-prefix): Define built linker prefix.
23812 * Rules (run-bench): Use it.
23813 * math/Makefile (run-regen-ulps): Likewise.
23814
8da491f5
SP
23815 * Rules (bench): Remove eval.
23816
abe7f530
SP
238172013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23818 Roland McGrath <roland@hack.frob.com>
23819 Ondrej Bilka <neleai@seznam.cz>
23820
23821 [BZ #15346]
23822 * time/getdate.c: Include ctype.h and alloca.h.
23823 (__getdate_r): Trim leading and trailing spaces of input.
23824 * time/tst-getdate.c (tests): Add tests with leading and
23825 trailing spaces.
23826
61c23e62
RM
238272013-04-08 Roland McGrath <roland@hack.frob.com>
23828
23829 [BZ #14280]
23830 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23831 when computing value.
23832
7208a313
CD
238332013-04-06 Carlos O'Donell <carlos@redhat.com>
23834
085b2d41
CD
23835 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23836 Use testrun.sh to run libm tests.
23837
7208a313
CD
23838 [BZ #15309]
23839 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23840
872c0acd
MM
238412013-04-06 Marko Myllynen <myllynen@redhat.com>
23842
23843 [BZ #15264]
23844 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23845
26510bdd
CD
238462013-04-06 Carlos O'Donell <carlos@redhat.com>
23847
23848 * Makefile.in (regen-ulps): New target.
23849 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23850 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23851 [ifneq (no,$(PERL)] (regen-ulps): New target.
23852 [ifeq (no,$(PERL)] (regen-ulps): New target.
23853 * math/libm-test.inc (ulps_file_name): Define.
23854 (output_dir): New variable.
23855 (options): Add "output-dir" option.
23856 (parse_opt): Handle 'o' case.
23857 (main): If output_dir is non-NULL use it as a prefix
23858 otherwise use "".
23859 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23860
a01f19c8
CD
238612013-04-06 Carlos O'Donell <carlos@redhat.com>
23862
23863 [BZ #10060, #10062]
23864 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23865 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23866 fail configure if __sync_val_compare_and_swap is not inlined.
23867 * sysdeps/i386/configure: Regenerate.
23868 * configure.in: Build for i686 when configured for i386.
23869 * configure: Regenerate.
23870 * README: Remove i386 reference.
23871
b7a329a5
CD
238722013-04-06 Carlos O'Donell <carlos@redhat.com>
23873
23874 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23876
bf0f50df
TS
238772013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23878
ee091edf
TS
23879 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23880 (lmsnanval): New variables.
23881 (F): Add conversion tests.
23882 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23883 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23884
a8b792d6
TS
23885 * stdio-common/tstdiomisc.c (F): Properly collect individual
23886 tests' results.
23887
a1cbf437
TS
23888 [BZ #14686, #15336]
23889 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23890 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23891 Instead, use input NaN values or generate a qNaN by arithmetic
23892 operation. Also fix bugs to comply with the standard.
23893 * math/libm-test.inc (remainder_test): Add more tests.
23894
8b43a0c9
TS
23895 [BZ #15335, #15342]
23896 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23898 input NaN values or generate a qNaN by arithmetic operation.
23899
d91da4ce
TS
23900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23901 unreachable code.
23902
bf0f50df
TS
23903 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23904 definitions.
23905
05e166c8
JM
239062013-04-03 Joseph Myers <joseph@codesourcery.com>
23907
23908 [BZ #14478]
23909 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23910 underflowed result.
23911 * math/s_cexpf.c (__cexpf): Likewise.
23912 * math/s_cexpl.c (__cexpl): Likewise.
23913 * math/libm-test.inc (cexp_test): Add more tests.
23914
1cef1b19
AS
239152013-04-03 Andreas Schwab <schwab@suse.de>
23916
23917 [BZ #15330]
23918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23919 order arrays from heap if bigger than alloca cutoff.
23920
74d87055
TS
239212013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23922
23923 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23924 (SNAN_TESTS_double): Refer to GCC PR56831.
23925 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23926 GCC PR56828.
23927
d755bba4
SP
239282013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23929
90d5d5bb
SP
23930 * Rules (bench): Move bench.out after the run is complete.
23931
73e0cd5d
SP
23932 * Rules (bench): Echo currently running benchmark.
23933
64aabd4b
SP
23934 * benchtests/Makefile (bench): Add atan and slowatan.
23935 * benchtests/atan-inputs: New file.
23936 * benchtests/slowatan-inputs: New file.
23937 * benchtests/slowatan.c: New file.
23938
c871eccd
SP
23939 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23940 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23941 its value.
23942
d755bba4
SP
23943 [BZ #15305]
23944 * sysdeps/unix/sysv/linux/kernel-features.h
23945 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23946 __ASSUME_XFS_RESTRICTED_CHOWN.
23947 * sysdeps/unix/sysv/linux/pathconf.c
23948 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23949 Save and restore errno.
23950
52ce4860
JM
239512013-04-02 Joseph Myers <joseph@codesourcery.com>
23952
23953 [BZ #15327]
23954 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23955 arguments using __kernel_casinh.
23956 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23957 arguments using __kernel_casinhf.
23958 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23959 arguments using __kernel_casinhl.
23960 * math/libm-test.inc (cacosh_test): Add more tests.
23961 * sysdeps/i386/fpu/libm-test-ulps: Update.
23962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23963
81f311c2
SP
239642013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23965
e7906a47
SP
23966 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23968
92e3664b
SP
23969 * bench/Makefile (bench): Add sin and slowsin.
23970 * benchtests/sin-inputs: New file.
23971 * benchtests/slowsin-inputs: New file.
23972 * benchtests/slowsin.c: New file.
23973
81f311c2
SP
23974 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23975 (bench): Add slowexp and slowpow.
23976 (exp-ITER): Increase iterations.
23977 (pow-ITER): Likewise.
23978 * benchtests/exp-inputs: Change input.
23979 * benchtests/pow-inputs: Likewise.
23980 * benchtests/slowexp-inputs: New file.
23981 * benchtests/slowexp.c: New file.
23982 * benchtests/slowpow-inputs: New file.
23983 * benchtests/slowpow.c: New file.
23984
ab0f1aa9
AZ
239852013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23986
23987 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23988 instructions.
23989 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23992 * benchtests/Makefile: Add rint benchtest.
23993 * benchtests/rint-inputs: Input for rint benchtest.
23994
57267616
TS
239952013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23996
23997 * Versions.def (libm): Add GLIBC_2.18.
23998 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23999 hidden libm prototypes.
24000 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24001 * math/Makefile (libm-calls): Add s_issignaling.
24002 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24003 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24004 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24005 declaration.
24006 * math/math.h [__USE_GNU] (issignaling): New macro.
24007 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24008 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24009 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24010 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24013 * manual/arith.texi (issignaling): New section.
24014 * manual/libm-err-tab.pl (@all_functions): Update comment.
24015 * math/gen-libm-test.pl (parse_args): Apply special handling for
24016 issignaling.
24017 * math/libm-test.inc (print_float, issignaling_test): New
24018 functions.
24019 (check_float_internal): Add issignaling checks.
24020 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24021 default definition.
24022 * sysdeps/powerpc/math-tests.h: New file.
24023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24024 tests.
24025 * math/test-snan.c (TEST_FUNC): Likewise.
24026
6142896d
DM
240272013-03-30 David S. Miller <davem@davemloft.net>
24028
24029 * po/de.po: Update from translation team.
24030
ccc8cadf
JM
240312013-03-30 Joseph Myers <joseph@codesourcery.com>
24032
24033 [BZ #10357]
24034 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24035 imaginary part less than 1.0 and real part less than 0.5
24036 specially.
24037 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24038 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24039 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24040 (cacos_test): Add more tests.
24041 (casin_test): Likewise.
24042 (casinh_test): Likewise.
24043 * sysdeps/i386/fpu/libm-test-ulps: Update.
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24045
0f6a8d4b
SP
240462013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24047
0d1029de
SP
24048 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24049 ONE with its value.
24050
c2d94018
SP
24051 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24052 (__pow_mp): Replace ONE and MONE with their values.
24053 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24055 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24056 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24057 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24059
27ec37f1
SP
24060 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24061
a64d7e0e
SP
24062 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24063 (__pow_mp): Replace ZERO and MZERO with their values.
24064 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24068 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24069 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24070 (__sqr): Likewise.
24071
d26dd3eb
SP
24072 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24073
0f6a8d4b
SP
24074 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24075
e57b0c61
RM
240762013-03-28 Roland McGrath <roland@hack.frob.com>
24077
24078 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24079 Declare with __attribute__ ((weak)).
24080 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24081 Call __call_tls_dtors only if it's not NULL.
24082
356b3480
RM
240832013-03-28 Roland McGrath <roland@hack.frob.com>
24084
288f7d79
RM
24085 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24086 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24087 magic __ehdr_start linker symbol if it's defined.
24088 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24089 them up here if it was already done.
24090
dc0a0263
RM
24091 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24092 (_dl_aux_init): Use const in cast when setting it.
24093 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24094 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24095 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24096
3d3436ae
RM
24097 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24098 Declare them here.
24099 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24100 * csu/libc-tls.c: Nor here.
24101 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24102
356b3480
RM
24103 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24104 (__libc_message): Never call vsyslog.
24105
b0f1246a
AM
241062013-03-28 Alan Modra <amodra@gmail.com>
24107
24108 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24109 Define as empty.
24110 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24111 Likewise.
24112
fbbe2b9a
AZ
241132013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24114
24115 [BZ #15214]
24116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24117 underflow.
24118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24119
1728ab37
SP
241202013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24121
7a86be6e
SP
24122 [BZ #15304]
24123 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24124 Don't add gid passed as argument.
24125
1728ab37
SP
24126 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24127
3a7182a1
JM
241282013-03-27 Joseph Myers <joseph@codesourcery.com>
24129
24130 [BZ #15307]
24131 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24132 imaginary part between 1.0 and 1.5 and real part less than 0.5
24133 specially.
24134 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24135 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24136 * math/libm-test.inc (cacos_test): Add more tests.
24137 (casin_test): Likewise.
24138 (casinh_test): Likewise.
24139 * sysdeps/i386/fpu/libm-test-ulps: Update.
24140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24141
6f2e90e7
SP
241422013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24143
5739f705
SP
24144 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24145 constants.
24146 (norm): Likewise.
24147 (denorm): Likewise.
24148 (__dbl_mp): Likewise.
24149 (add_magnitudes): Likewise.
24150 (sub_magnitudes): Likewise.
24151 (__add): Likewise.
24152 (__sub): Likewise.
24153 (__mul): Likewise.
24154 (__sqr): Likewise.
24155 (__inv): Likewise.
24156 (__dvd): Likewise.
24157
e375e83d
SP
24158 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24159 commented code.
24160 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24161 (__dubcos): Likewise.
24162 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24163 (__ieee754_acos): Likewise.
24164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24166 (__exp1): Likewise.
24167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24169 (log1): Likewise.
24170 (my_log2): Likewise.
24171 (checkint): Likewise.
24172 * sysdeps/ieee754/dbl-64/e_remainder.c
24173 (__ieee754_remainder): Likewise.
24174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24176 (bsloww): Likewise.
24177 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24178
6f2e90e7
SP
24179 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24180 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24181 MANTISSA_STORE_T to store computations on mantissa. Use
24182 macros for rounding and division.
24183 (denorm): Likewise.
24184 (__dbl_mp): Likewise.
24185 (add_magnitudes): Likewise.
24186 (sub_magnitudes): Likewise.
24187 (__mul): Likewise.
24188 (__sqr): Likewise.
24189 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24190 powers of two in terms of TWOPOW macro.
24191 (mp_no): Make type of mantissa as MANTISSA_T.
24192 [!RADIXI]: Define RADIXI.
24193 [!TWO52]: Define TWO52.
24194 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24195
fce14d4e
AZ
241962013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24197
24198 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24199 llroundl symbol when building for PPC32.
24200
9ad027fb
MW
242012013-03-24 Mark H Weaver <mhw@netris.org>
24202
24203 * manual/arith.texi (Normalization Functions): Fix prototypes for
24204 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24205
e42a38dd
AZ
242062013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24207
24208 [BZ #13889]
24209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24210 high value to check if expl overflow.
24211 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24212 to check for underflow and overflow.
24213 * math/libm-test.inc: Add exp test.
24214
2e0fb521
DL
242152013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24216
24217 [BZ #11120]
24218 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24219 with NOT_IN_libc.
24220
b5784d95
AZ
242212013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24222
24223 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24224 symbol.
24225
5aa4a1a1
TS
242262013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24227
bdef0be7
TS
24228 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24229 wrap blocks consisting of several statements.
24230
5aa4a1a1
TS
24231 * sysdeps/generic/math-tests.h: New file.
24232 * sysdeps/i386/fpu/math-tests.h: Likewise.
24233 * math/test-snan.c: Include it.
24234 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24235
98c48fe5
JM
242362013-03-21 Joseph Myers <joseph@codesourcery.com>
24237
24238 [BZ #15285]
24239 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24240 (__ieee754_j0l): Do not improve calculations using cos of twice
24241 input for inputs above LDBL_MAX / 2.0L.
24242 (__ieee754_y0l): Likewise.
24243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24244 (__ieee754_j1l): Do not improve calculations using cos of twice
24245 input for inputs above LDBL_MAX / 2.0L.
24246 (__ieee754_y1l): Likewise.
24247 * math/libm-test.inc (j0_test): Add another test.
24248 (j1_test): Likewise.
24249 (y0_test): Likewise.
24250 (y1_test): Likewise.
24251 * sysdeps/i386/fpu/libm-test-ulps: Update.
24252
3775a8bc
SP
242532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24254
24255 * Rules ($(objpfx)bench-%.c): Include code from a C source
24256 file.
24257
0a1b2ae6
JM
242582013-03-21 Joseph Myers <joseph@codesourcery.com>
24259
24260 [BZ #15287]
24261 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24262 imaginary part 1.0 and real part less than 0.5 specially.
24263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24265 * math/libm-test.inc (cacos_test): Add more tests.
24266 (casin_test): Likewise.
24267 (casinh_test): Likewise.
24268 * sysdeps/i386/fpu/libm-test-ulps: Update.
24269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24270
b33d4ce4
SP
242712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24272
24273 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24275
bef0b507
JM
242762013-03-20 Joseph Myers <joseph@codesourcery.com>
24277
24278 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24279 * config.make.in (config-cflags-sse4): Remove variable.
24280 (config-cflags-avx): Likewise.
24281 (config-cflags-sse2avx): Likewise.
24282 (config-cflags-novzeroupper): Likewise.
24283 (config-asflags-i686): Likewise.
24284 (have-mfma4): Likewise.
24285 (have-as-vis3): Likewise.
24286 (MIG): Likewise.
24287 * configure.in (MIG): Do not AC_SUBST.
24288 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24289 (libc_cv_cc_sse4): Do not AC_SUBST.
24290 (libc_cv_cc_avx): Likewise.
24291 (libc_cv_cc_sse2avx): Likewise.
24292 (libc_cv_cc_novzeroupper): Likewise.
24293 (libc_cv_cc_fma4): Likewise.
24294 (libc_cv_as_i686): Likewise.
24295 (libc_cv_sparc_as_vis3): Likewise.
24296 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24297 LIBC_CONFIG_VAR.
24298 (config-asflags-i686): Likewise.
24299 (config-cflags-avx): Likewise.
24300 (config-cflags-sse2avx): Likewise.
24301 (have-mfma4): Likewise.
24302 (config-cflags-novzeroupper): Likewise.
24303 * sysdeps/mach/configure.in (MIG): Likewise.
24304 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24305 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24306 LIBC_CONFIG_VAR.
24307 (config-cflags-avx): Likewise.
24308 (config-cflags-sse2avx): Likewise.
24309 (have-mfma4): Likewise.
24310 (config-cflags-novzeroupper): Likewise.
24311 * configure: Regenerated.
24312 * sysdeps/i386/configure: Likewise.
24313 * sysdeps/mach/configure: Likewise.
24314 * sysdeps/sparc/configure: Likewise.
24315 * sysdeps/x86_64/configure: Likewise.
24316
912cc4b3
RM
243172013-03-20 Roland McGrath <roland@hack.frob.com>
24318
24319 [BZ #14812]
24320 * locale/programs/localedef.c (options): Put N_ translation marker
24321 on argument names, not just descriptions.
24322
04eed2b0
MS
243232013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24324
24325 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24326
a065ceff
OB
243272013-03-20 Ondřej Bílka <neleai@seznam.cz>
24328
9bb2a810 24329 [BZ #14176]
a065ceff
OB
24330 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24331
a600e5ce
RM
243322013-03-19 Roland McGrath <roland@hack.frob.com>
24333
24334 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24335 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24336 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24337 [!BEFORE_ABORT] (before_abort): New function.
24338 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24339 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24340 (writev_for_fatal): New function.
24341 (WRITEV_FOR_FATAL): New macro; call that.
24342 (backtrace_and_maps): New function.
24343 (BEFORE_ABORT): New macro; call that.
24344 (struct str_list): Type removed.
24345 (__libc_message, __libc_fatal): Functions removed.
24346 Include <sysdeps/posix/libc_fatal.c> instead.
24347
6b18bea6
JM
243482013-03-19 Joseph Myers <joseph@codesourcery.com>
24349
24350 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24351 constants.
24352 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24353 double constants.
24354
aaa8cb4b
AS
243552013-03-19 Andreas Schwab <schwab@suse.de>
24356
44673770
AS
24357 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24358 * sysdeps/gnu/configure: Regenerate.
24359
aaa8cb4b
AS
24360 * configure.in: Substitute libc_cv_rtlddir.
24361 * configure: Regenerate.
24362 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24363 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24364 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24365 * elf/Makefile (install-others, CFLAGS-interp.c)
24366 (ldso_install, common-ldd-rewrite): Likewise.
24367 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24368 $(inst_slibdir)/$(rtld-installed-name).
24369 * scripts/rellns-sh: Add -p option.
24370 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24371 for source.
24372
d3cfc668
SP
243732013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24374
24375 * manual/nptl.texi: Renamed to ...
24376 * manual/threads.texi: ... this.
24377 * manual/Makefile (chapters): Update.
24378
0e2b9cdd
RM
243792013-03-18 Roland McGrath <roland@hack.frob.com>
24380
24381 [BZ #14812]
24382 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24383 on argument names, not just descriptions.
0e2b9cdd
RM
24384 * malloc/memusagestat.c (options): Likewise.
24385 * nss/getent.c (options): Likewise.
63270c24
RM
24386
243872013-03-18 Benno Schulenberg <bensberg@justemail.net>
24388
24389 [BZ #14812]
24390 * iconv/iconv_prog.c (options): Put N_ translation marker
24391 on argument names, not just descriptions.
24392 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24393
b2e1393c
OB
243942013-03-18 Ondrej Bilka <neleai@seznam.cz>
24395
24396 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24397 implementation which is faster on all x86_64 architectures.
24398 Tested on AMD, Intel Nehalem, SNB, IVB.
24399 * sysdeps/x86_64/strnlen.S: Likewise.
24400
24401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24402 Remove all multiarch strlen and strnlen versions.
24403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24404 Remove strlen and strnlen related parts.
24405
24406 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24407 Inline strlen part.
24408 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24409
24410 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24411 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24412 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24413 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24414 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24415 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24416
ec4ff04d
CD
244172013-03-17 Carlos O'Donell <carlos@redhat.com>
24418
24419 * manual/memory.texi (Malloc Tunable Parameters):
24420 Sort parameters alphabetically. Add comments for missing entries.
24421
cd18e90a
DM
244222013-03-17 David S. Miller <davem@davemloft.net>
24423
24424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24425
2a185d32
JM
244262013-03-16 Joseph Myers <joseph@codesourcery.com>
24427
d2f9799e
JM
24428 [BZ #15283]
24429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24430 for arguments at most half maximum finite value.
24431 * math/libm-test.inc (j0_test): Add more tests.
24432 (j1_test): Likewise.
24433 (y0_test): Likewise.
24434 (y1_test): Likewise.
24435 * sysdeps/i386/fpu/libm-test-ulps: Update.
24436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24437
2a185d32
JM
24438 [BZ #14155]
24439 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24440 1 / x and functions P and Q for arguments above 0x1p256L.
24441 (__ieee754_y0l): Likewise.
24442 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24443 (__ieee754_y1l): Likewise.
24444 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24445 (j1_test): Likewise.
24446 (y0_test): Likewise.
24447 (y1_test): Likewise.
24448
6cbec759
TS
244492013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24450
24451 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24452 variable.
24453
bc16e260
RM
244542013-03-15 Roland McGrath <roland@hack.frob.com>
24455
aefc9b8c
RM
24456 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24457 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24458 zero since it's initialized to EXEC_PAGESIZE.
24459
bc16e260
RM
24460 * sysdeps/unix/sysv/linux/ldsodefs.h
24461 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24462 * sysdeps/generic/ldsodefs.h: ... here.
24463
a57da955
TS
244642013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24465
af00a34d
TS
24466 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24467
495ded2c
TS
24468 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24469 math/test-snan.c.
24470 * math/test-snan.c: Renamed from
24471 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24472 * math/Makefile (tests): Add test-snan.
24473 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24474 test-powerpc-snan.
24475
777b0332
TS
24476 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24477 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24478 functions.
24479 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24480 __builtin_nan family of functions.
24481 * math/libm-test.inc (initialize): Initialize qnan_value with
24482 __builtin_nan family of functions.
24483 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24484 Remove variables.
24485 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24486 Remove functions.
24487 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24488 storage class. Initialize qNaN_var and sNaN_var with
24489 __builtin_nan and __builtin_nans families of functions,
24490 respectively.
24491
64d063b8
TS
24492 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24493 (sqrt_test): Remove duplicate test with qNaN input.
24494 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24495 (round_test, signbit_test, significand_test): Note missing +/-Inf
24496 as well as qNaN tests.
24497
67e971f1
TS
24498 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24499 qNaN_var. Fix a few strings, too.
24500 * math/libm-test.inc (nan_value): Rename to qnan_value.
24501 * math/gen-libm-test.pl (%beautify): Adjust to that.
24502 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24503 * math/test-misc.c (main): Likewise.
24504 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24505 to __qnan_bytes, and __qnan_union, respectively.
24506 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24507 Likewise.
24508 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24509 and lqnanval, respectively.
24510 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24511 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24512 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24513 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24514
64487e12
TS
24515 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24516 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24517 doubles.
24518
e015e27b
TS
24519 * math/test-misc.c (main): Fix copy'n'pastos.
24520 * misc/tst-efgcvt.c (special): Likewise.
24521
a57da955
TS
24522 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24523 Remove declarations.
24524
1e380345
SP
245252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24526
24527 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24528 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24529 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24530 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24531
ef26eece
AZ
245322013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24533
24534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24535 macro to return vdso values correctly in IFUNC implementations.
24536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24537 Optimization by using IFUNC.
24538
8cfdb7e0
SP
245392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24540 Richard Henderson <rth@redhat.com>
24541 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24542
24543 * Makefile.in (bench): New target.
24544 * NEWS: Mention the benchmark framework.
24545 * Rules (bench): Likewise.
24546 (binaries-bench): Generate binaries for functions to
24547 benchmark.
24548 * benchtests/Makefile: New makefile for benchmark tests.
24549 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24550 programs.
24551 * benchtests/exp-inputs: New input file for EXP function.
24552 * benchtests/pow-inputs: New input file for POW function.
24553 * scripts/bench.pl: New script to generate source files for
24554 benchmark programs.
24555
bcda9880
SP
245562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24557
d22ca8cd
SP
24558 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24560 computations on mantissa. Use macros for rounding and
24561 division.
24562 (denorm): Likewise.
24563 (__dbl_mp): Likewise.
24564 (add_magnitudes): Likewise.
24565 (sub_magnitudes): Likewise.
24566 (__mul): Likewise.
24567 (__sqr): Likewise.
24568 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24569 powers of two in terms of TWOPOW macro.
24570 (mp_no): Make type of mantissa as MANTISSA_T.
24571 [!RADIXI]: Define RADIXI.
24572 [!TWO52]: Define TWO52.
24573 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24574
bcda9880
SP
24575 * manual/nptl.texi (cindex): Modify threads to pthreads.
24576
06d5adfb
JM
245772013-03-15 Joseph Myers <joseph@codesourcery.com>
24578
24579 * sysdeps/x86_64/preconfigure: Regenerated.
24580
41c7328e
JM
245812013-03-14 Joseph Myers <joseph@codesourcery.com>
24582
24583 [BZ #14155]
24584 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24585 0x1p28 and above.
24586 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24587 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24588 0x1p28 and above.
24589 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24590 * math/libm-test.inc (j0_test): Do not allow one spurious
24591 underflow exception.
24592 (y1_test): Likewise.
24593
e25cfa60
SP
245942013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24595
0409959c
SP
24596 * manual/Makefile (chapters): Add nptl.
24597 * manual/debug.texi (Debugging Support): Add link to Threads
24598 chapter.
24599 * manual/nptl.texi: New file.
24600
e25cfa60
SP
24601 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24602
58a1335e
PB
246032013-03-14 Petr Baudis <pasky@ucw.cz>
24604
24605 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24606 for non-NULL pointer before the memory validity test. Pointed
24607 out by Holger Brunck <holger.brunck@keymile.com>.
24608
9dc7c64f
AS
246092013-03-13 Andreas Schwab <schwab@suse.de>
24610
24611 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24612 instead of .os.
24613
54206aa6
JM
246142013-03-13 Joseph Myers <joseph@codesourcery.com>
24615
24616 * timezone/zic.c: Update from tzcode 2013b.
24617
e98cdb38
CD
246182013-03-12 Carlos O'Donell <carlos@redhat.com>
24619
24620 * manual/install.texi (Configuring and compiling):
24621 Mention i686 and i586.
24622 * INSTALL: Regenerate.
24623
9967e003
RM
246242013-03-12 Roland McGrath <roland@hack.frob.com>
24625
24626 * sysdeps/init_array/elf-init.c: New file.
24627 * csu/elf-init.c
24628 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24629 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24630
24631 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24632 __gmon_start__ as global, but as static with a .preinit_array pointer.
24633 * sysdeps/init_array/gmon-start.c: New file. Use that.
24634 * sysdeps/init_array/crti.S: New file, empty except for comments.
24635 * sysdeps/init_array/crtn.S: Likewise.
24636
e6b5a293 246372013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24638
24639 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24640 definining bcopy.
80f844c9
OB
24641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24642 Remove Prefer_SSE_for_memop.
24643 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24644 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24645 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24647 memset-x86-64.
80f844c9 24648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24649 Remove bzero, memset ifunc support.
80f844c9
OB
24650 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24651 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24652 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24654
fb6b0fcb
AS
246552013-03-11 Andreas Schwab <schwab@suse.de>
24656
24657 [BZ #15234]
24658 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24659 by SHLIB_COMPAT.
24660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24661 (GLIBC_2.16): Remove pthread_atfork.
24662
3e6bd4b1
PP
246632013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24664
24665 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24666 (ptestcases.h): Likewise.
24667
222d7f00
RM
246682013-03-08 Roland McGrath <roland@hack.frob.com>
24669
24670 * Makeconfig ($(common-objpfx)config.status): Depend on
24671 sysdeps/*/preconfigure{,.in} too.
24672
1ba4f030
JM
246732013-03-08 Joseph Myers <joseph@codesourcery.com>
24674
a222d91a
JM
24675 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24676 (__free_hook): Use void * instead of __malloc_ptr_t.
24677 (__malloc_hook): Likewise.
24678 (__realloc_hook): Likewise.
24679 (__memalign_hook): Likewise.
24680 (__after_morecore_hook): Likewise.
24681 * malloc/arena.c (save_malloc_hook): Likewise.
24682 (save_free_hook): Likewise.
24683 * malloc/hooks.c (malloc_hook_ini): Likewise.
24684 (realloc_hook_ini): Likewise.
24685 (memalign_hook_ini): Likewise.
24686 * malloc/malloc.c (malloc_hook_ini): Likewise.
24687 (realloc_hook_ini): Likewise.
24688 (memalign_hook_ini): Likewise.
24689 (__free_hook): Likewise.
24690 (__malloc_hook): Likewise.
24691 (__realloc_hook): Likewise.
24692 (__memalign_hook): Likewise.
24693 (__libc_malloc): Likewise.
24694 (__libc_free): Likewise.
24695 (__libc_realloc): Likewise.
24696 (__libc_memalign): Likewise.
24697 (__libc_valloc): Likewise.
24698 (__libc_pvalloc): Likewise.
24699 (__libc_calloc): Likewise.
24700 (__posix_memalign): Likewise.
24701 * malloc/morecore.c (__sbrk): Likewise.
24702 (__default_morecore): Likewise.
24703
5cc45e10
JM
24704 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24705
dd54b864
JM
24706 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24707 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24708 __malloc_ptrdiff_t.
24709
1ba4f030
JM
24710 * malloc/malloc.h (__malloc_size_t): Remove macro.
24711 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24712 __malloc_size_t.
24713 (old_memalign_hook): Likewise.
24714 (old_realloc_hook): Likewise.
24715 (struct hdr): Likewise.
24716 (flood): Likewise.
24717 (mallochook): Likewise.
24718 (memalignhook): Likewise.
24719 (reallochook): Likewise.
24720 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24721 (tr_old_realloc_hook): Likewise.
24722 (tr_old_memalign_hook): Likewise.
24723 (tr_mallochook): Likewise.
24724 (tr_reallochook): Likewise.
24725 (tr_memalignhook): Likewise.
24726
edf66e57
AZ
247272013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24728
24729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24730 default_ldbl_pack and using as default implementation.
24731 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24732 implementation.
24733 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24734 redundant definition.
24735 (ldbl_insert_mantissa): Likewise.
24736 (ldbl_canonicalize): Likewise.
24737 (ldbl_nearbyint): Likewise.
24738 (ldbl_pack): Rename to ldbl_pack_ppc.
24739 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24740 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24741 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24742
6d9145d8
SP
247432013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24744
24745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24746 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24748 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24750 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24751 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24752 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24753
4dd4e157
AJ
247542013-03-07 Andreas Jaeger <aj@suse.de>
24755
24756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24757 bits/mman-linux.h.
24758
adbb8027
SP
247592013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24760
ce544b5b
SP
24761 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24762 Include mpa.h and declare __MPEXP.
24763 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24765 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24767 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24768 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24769 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24770
4cc149fd
SP
24771 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24772 (__slowpow): Use long double EXPL and LOGL functions to
24773 compute POW.
24774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24775 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24776 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24778 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24779 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24780
e6ebd4a7
SP
24781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24782 intermediate variable to calculate exponent.
24783 (__sqr): Likewise.
24784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24785 Likewise.
24786 (__sqr): Likewise.
24787
82a9811d
SP
24788 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24789 [!NO__SQR]: Define __sqr.
24790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24791 and NO__SQR. Remove all code except __mul and __sqr. Include
24792 sysdeps/ieee754/dbl-64/mpa.c.
24793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24794
adbb8027
SP
24795 [BZ #12723]
24796 * posix/Makefile (tests): Add tst-pathconf.
24797 * posix/tst-pathconf.c: New test case.
24798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24799 _PC_PIPE_BUF.
24800 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24801
39120df9
PF
248022013-03-06 Patsy Franklin <pfrankli@redhat.com>
24803
24804 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24805
67525cb8
AJ
248062013-03-06 Andreas Jaeger <aj@suse.de>
24807
664a9ce4
AJ
24808 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24809 definition via __MAP_ANONYMOUS.
24810
8e39047d
AJ
24811 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24812 it's not part of Linux headers.
24813
67525cb8
AJ
24814 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24815 (MAP_HUGE_MASK): Define.
24816
24817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24818 Define.
24819 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24821 Define.
24822 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24823 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24824 Define.
24825 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24827 Define.
24828 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24829
24830 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24831 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24832 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24833 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24834 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24835 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24836
24837 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24838 Handle f2fs.
24839
24840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24841 Handle f2fs and efivarfs.
24842
24843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24844 f2fs.
24845
24846 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24847 (EFIVARFS_MAGIC): Add.
24848 (F2FS_LINK_MAX): Add.
24849
e1b42695
PP
248502013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24851
24852 * stdio-common/vfprintf.c: Replace __builtin_expect with
24853 __glibc_unlikely.
24854
2d67d91a
JM
248552013-03-06 Joseph Myers <joseph@codesourcery.com>
24856
24857 [BZ #13550]
24858 * sysdeps/generic/bp-sym.h: Remove file.
24859 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24860 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24861 <bp-sym.h> and <bp-asm.h>.
24862 (__longjmp): Don't use BP_SYM.
24863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24864 and <bp-asm.h>.
24865 (memcpy): Don't use BP_SYM.
24866 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24867 <bp-sym.h> and <bp-asm.h>.
24868 (memcpy): Don't use BP_SYM.
24869 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24870 <bp-asm.h>.
24871 (memcpy): Don't use BP_SYM.
24872 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24873 <bp-asm.h>.
24874 (memset): Don't use BP_SYM.
24875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24877 (__bzero): Don't use BP_SYM.
24878 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24879 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24881 <bp-sym.h> and <bp-asm.h>.
24882 (memcmp): Don't use BP_SYM. Remove comment about bounded
24883 pointers.
24884 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24885 <bp-sym.h> and <bp-asm.h>.
24886 (memcpy): Don't use BP_SYM.
24887 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24888 <bp-sym.h> and <bp-asm.h>.
24889 (memset): Don't use BP_SYM.
24890 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24891 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24892 (__bzero): Don't use BP_SYM.
24893 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24894 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24896 <bp-sym.h> and <bp-asm.h>.
24897 (strncmp): Don't use BP_SYM. Remove comment about bounded
24898 pointers.
24899 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24900 <bp-sym.h> and <bp-asm.h>.
24901 (memcpy): Don't use BP_SYM.
24902 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24903 <bp-sym.h> and <bp-asm.h>.
24904 (memset): Don't use BP_SYM.
24905 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24906 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24907 (__bzero): Don't use BP_SYM.
24908 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24909 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24911 <bp-sym.h> and <bp-asm.h>.
24912 (__memchr): Don't use BP_SYM.
24913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24914 <bp-sym.h> and <bp-asm.h>.
24915 (memcmp): Don't use BP_SYM. Remove comment about bounded
24916 pointers.
24917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24918 <bp-sym.h> and <bp-asm.h>.
24919 (memcpy): Don't use BP_SYM.
24920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24921 <bp-sym.h> and <bp-asm.h>.
24922 (__mempcpy): Don't use BP_SYM.
24923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24924 <bp-sym.h> and <bp-asm.h>.
24925 (__memrchr): Don't use BP_SYM.
24926 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24927 <bp-sym.h> and <bp-asm.h>.
24928 (memset): Don't use BP_SYM.
24929 (__bzero): Likewise.
24930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24931 <bp-sym.h> and <bp-asm.h>.
24932 (__rawmemchr): Don't use BP_SYM.
24933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24934 <bp-sym.h> and <bp-asm.h>.
24935 (__STRCMP): Don't use BP_SYM.
24936 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24937 <bp-sym.h> and <bp-asm.h>.
24938 (strchr): Don't use BP_SYM.
24939 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24940 <bp-sym.h> and <bp-asm.h>.
24941 (__strchrnul): Don't use BP_SYM.
24942 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24943 <bp-sym.h> and <bp-asm.h>.
24944 (strlen): Don't use BP_SYM.
24945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24946 <bp-sym.h> and <bp-asm.h>.
24947 (strncmp): Don't use BP_SYM. Remove comment about bounded
24948 pointers.
24949 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24950 <bp-sym.h> and <bp-asm.h>.
24951 (__strnlen): Don't use BP_SYM.
24952 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24953 <bp-sym.h> and <bp-asm.h>.
24954 (__GI__setjmp): Don't use BP_SYM.
24955 (_setjmp): Likewise.
24956 (__sigsetjmp): Likewise.
24957 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24958 (L(start_addresses)): Don't use BP_SYM.
24959 (_start): Likewise.
24960 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24961 <bp-asm.h>.
24962 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24963 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24964 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24965 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24966 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24967 <bp-asm.h>.
24968 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24969 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24970 about bounded pointers.
24971 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24972 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24973 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24974 <bp-asm.h>.
24975 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24976 about bounded pointers. Remove GKM FIXME comments.
24977 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24978 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24979 <bp-asm.h>.
24980 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24981 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24982 Remove GKM FIXME comments.
24983 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24984 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24985 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24986 <bp-asm.h>.
24987 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24988 about bounded pointers. Remove GKM FIXME comment.
24989 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24990 and <bp-asm.h>.
24991 (strncmp): Don't use BP_SYM. Remove comment about bounded
24992 pointers.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24994 <bp-sym.h> and <bp-asm.h>.
24995 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24997 <bp-sym.h> and <bp-asm.h>.
24998 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24999 comment.
25000
cdcf361f
PP
250012013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25002
25003 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25004 call free(NULL).
25005
3c4a2b15
DM
250062013-03-05 David S. Miller <davem@davemloft.net>
25007
25008 * po/es.po: Update from translation team.
25009
cdcf361f 250102013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25011
25012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25013 <bits/mman-linux.h>.
25014 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25015 is fine.
25016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25017 <bits/mman-linux.h> to end of file.
25018 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25019 is fine.
25020 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
25025 <bits/mman-linux.h> to end of file.
25026
25027 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25028 (MCL_CURRENT, MCL_FUTURE): Define here.
25029
5f67c04f
AK
250302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25031
8a4473cc 25032 [BZ #15232]
5f67c04f
AK
25033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25034 attribute_hidden.
25035 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25036
c3e94a95
AK
250372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25038
25039 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25040 fourth parameter needed for rt_sigprocmask syscall.
25041 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25043 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25044 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25045 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25046 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25047
cfb6382a
JM
250482013-03-04 Joseph Myers <joseph@codesourcery.com>
25049
25050 [BZ #13550]
25051 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25052 comment about bounded pointers.
25053 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25054 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25055
539d8e01
AJ
250562013-03-04 Andreas Jaeger <aj@suse.de>
25057
25058 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25059 common definitions.
25060
25061 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25062 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25063 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25064 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25067
2e167a70 250682013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25069
25070 [BZ #15055]
25071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25072 __ieee754_sqrl instead of __sqrl.
25073
68508633
JM
250742013-03-01 Joseph Myers <joseph@codesourcery.com>
25075
25076 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25077 * sysdeps/powerpc/fpu_control.h: ... here.
25078 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25079 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25080 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25081 * sysdeps/powerpc/bits/mathinline.h: ... here.
25082
7775448e
RM
250832013-03-01 Roland McGrath <roland@hack.frob.com>
25084
25085 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25086 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25087 to just [NEED_DL_SYSINFO_DSO].
25088 * elf/dl-support.c: Likewise.
25089 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25090 * elf/rtld.c (dl_main): Likewise.
25091 * elf/setup-vdso.h (setup_vdso): Likewise.
25092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25093 * sysdeps/unix/sysv/linux/dl-sysdep.c
25094 (_dl_discover_osversion): Likewise.
25095
4e9b5995
CD
250962013-03-01 Carlos O'Donell <carlos@redhat.com>
25097
25098 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25099 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25100
e23872c8
SP
251012013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25102
e5c74c63
SP
25103 * NEWS: Mention libm performance improvements and non-x86 PI
25104 futex support.
25105
e23872c8
SP
25106 * csu/libc-start.c (__pthread_initialize_minimal): Change
25107 function arguments.
25108 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25109
b5510883
JM
251102013-02-28 Joseph Myers <joseph@codesourcery.com>
25111
25112 [BZ #13550]
25113 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25115 <bp-sym.h> and <bp-asm.h>.
25116 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25117 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25118 and <bp-asm.h>.
25119 (memcpy): Don't use BP_SYM.
25120 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25121 <bp-asm.h>.
25122 (__mpn_add_n): Don't use BP_SYM.
25123 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25124 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25125 and <bp-asm.h>.
25126 (__mpn_addmul_1): Don't use BP_SYM.
25127 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25128 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25129 <bp-sym.h>.
25130 (_setjmp): Don't use BP_SYM.
25131 (__novmx_setjmp): Likewise.
25132 (__GI__setjmp): Likewise.
25133 (__vmx_setjmp): Likewise.
25134 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25135 <bp-sym.h>.
25136 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25137 (__bzero): Don't use BP_SYM.
25138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25140 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25141 <bp-sym.h> and <bp-asm.h>.
25142 (memcpy): Don't use BP_SYM.
25143 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25144 <bp-sym.h> and <bp-asm.h>.
25145 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25147 <bp-sym.h> and <bp-asm.h>.
25148 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25149 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25150 <bp-asm.h>.
25151 (__mpn_lshift): Don't use BP_SYM.
25152 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25153 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25154 <bp-asm.h>.
25155 (memset): Don't use BP_SYM.
25156 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25157 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25158 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25159 <bp-asm.h>.
25160 (__mpn_mul_1): Don't use BP_SYM.
25161 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25163 <bp-sym.h> and <bp-asm.h>.
25164 (memcmp): Don't use BP_SYM.
25165 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25166 <bp-sym.h> and <bp-asm.h>.
25167 (memcpy): Don't use BP_SYM.
25168 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25169 <bp-sym.h> and <bp-asm.h>.
25170 (memset): Don't use BP_SYM.
25171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25172 <bp-sym.h> and <bp-asm.h>.
25173 (strncmp): Don't use BP_SYM.
25174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25175 <bp-sym.h> and <bp-asm.h>.
25176 (memcpy): Don't use BP_SYM.
25177 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25178 <bp-sym.h> and <bp-asm.h>.
25179 (memset): Don't use BP_SYM.
25180 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25181 <bp-sym.h> and <bp-asm.h>.
25182 (__memchr): Don't use BP_SYM.
25183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25184 <bp-sym.h> and <bp-asm.h>.
25185 (memcmp): Don't use BP_SYM.
25186 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25187 <bp-sym.h> and <bp-asm.h>.
25188 (memcpy): Don't use BP_SYM.
25189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25190 <bp-sym.h> and <bp-asm.h>.
25191 (__mempcpy): Don't use BP_SYM.
25192 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25193 <bp-sym.h> and <bp-asm.h>.
25194 (__memrchr): Don't use BP_SYM.
25195 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25196 <bp-sym.h> and <bp-asm.h>.
25197 (memset): Don't use BP_SYM.
25198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25199 <bp-sym.h> and <bp-asm.h>.
25200 (__rawmemchr): Don't use BP_SYM.
25201 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25202 <bp-sym.h> and <bp-asm.h>.
25203 (__STRCMP): Don't use BP_SYM.
25204 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25205 <bp-sym.h> and <bp-asm.h>.
25206 (strchr): Don't use BP_SYM.
25207 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25208 <bp-sym.h> and <bp-asm.h>.
25209 (__strchrnul): Don't use BP_SYM.
25210 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25211 <bp-sym.h> and <bp-asm.h>.
25212 (strlen): Don't use BP_SYM.
25213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25214 <bp-sym.h> and <bp-asm.h>.
25215 (strncmp): Don't use BP_SYM.
25216 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25217 <bp-sym.h> and <bp-asm.h>.
25218 (__strnlen): Don't use BP_SYM.
25219 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25220 <bp-asm.h>.
25221 (__mpn_rshift): Don't use BP_SYM.
25222 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25223 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25224 <bp-sym.h> and <bp-asm.h>.
25225 (__sigsetjmp): Don't use BP_SYM.
25226 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25227 (L(start_addresses)): Don't use BP_SYM.
25228 (_start): Likewise.
25229 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25230 <bp-asm.h>.
25231 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25232 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25233 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25234 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25235 <bp-asm.h>.
25236 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25237 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25238 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25239 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25240 <bp-asm.h>.
25241 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25242 comments.
25243 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25244 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25245 <bp-asm.h>.
25246 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25247 FIXME comments.
25248 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25249 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25250 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25251 <bp-asm.h>.
25252 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25253 comment.
25254 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25255 and <bp-asm.h>.
25256 (strncmp): Don't use BP_SYM,
25257 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25258 <bp-asm.h>.
25259 (__mpn_sub_n): Don't use BP_SYM.
25260 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25261 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25262 and <bp-asm.h>.
25263 (__mpn_submul_1): Don't use BP_SYM.
25264 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25266 <bp-sym.h> and <bp-asm.h>.
25267 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25269 <bp-sym.h> and <bp-asm.h>.
25270 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25271 comment.
25272
8d19fe64
SP
252732013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25274
25275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25276 Use ZK to minimize writes to Z.
25277 (sub_magnitudes): Simplify code a bit.
25278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25279 Use ZK to minimize writes to Z.
25280 (sub_magnitudes): Simplify code a bit.
25281
85bd816a
RM
252822013-02-27 Roland McGrath <roland@hack.frob.com>
25283
25284 * csu/gmon-start.c: Add special exception to license text.
25285
b5977bf2
RH
252862013-02-27 Richard Henderson <rth@redhat.com>
25287
25288 * scripts/config.guess: Update from config.git.
25289 * scripts/config.sub: Likewise.
25290
11d6e2f2
SP
252912013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25292
09c14ed2
SP
25293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25294
a688864e
SP
25295 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25296
6295157a
SP
25297 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25298
b8de2202
SP
25299 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25300
11d6e2f2
SP
25301 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25302
7e80ddb8
RM
253032013-02-26 Roland McGrath <roland@hack.frob.com>
25304
25305 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25306 [$(build-shared = yes].
7e80ddb8 25307
7da6d9ed
SP
253082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25309
45f05884
SP
25310 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25311 (__mul): Reduce iterations for calculating mantissa.
25312
2236d359
SP
25313 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25314 MPTWO.
25315 (__mpranred): Likewise.
25316
7da6d9ed
SP
25317 [BZ #15160]
25318 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25319 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25320
b7688c42
PE
253212013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25322
25323 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25324 Define __attribute__.
25325
53a5c423
SP
253262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25327
25328 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25329 unused.
25330 * posix/regex_internal.h (__attribute): Remove.
25331 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25332 (re_string_context_at): Likewise.
25333 (bitset_not): Use __attribute__ and mark function as possibly
25334 unused.
25335 (bitset_merge): Likewise.
25336 (bitset_mask): Likewise.
25337 (re_string_char_size_at): Likewise.
25338 (re_string_wchar_at): Likewise.
25339 (re_string_elem_size_at): Likewise.
25340
60f5a8b5
SP
253412013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25342
2a983a2e
SP
25343 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25344 code.
25345 (cc32): Likewise.
25346
e69804d1
SP
25347 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25348 (__acr): Likewise.
25349 (__cpy): Likewise.
25350 (norm): Likewise.
25351 (denorm): Likewise.
25352 (__dbl_mp): Likewise.
25353 (add_magnitudes): Likewise.
25354 (sub_magnitudes): Likewise.
25355 (__mul): Likewise.
25356 (__inv): Likewise.
25357
2f22a1e8
SP
25358 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25359 style.
25360
8930ddc7
SP
25361 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25362 style.
25363
dc60cb11
SP
25364 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25365 code.
25366
60f5a8b5
SP
25367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25368 up changes with default code.
25369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25370 Likewise.
25371
b4d1fd33
AM
253722013-02-24 Allan McRae <allan@archlinux.org>
25373
faf6f8bc
AM
25374 * manual/socket.texi (The Internet Namespace): Order menu items
25375 to match that in the file.
25376
b4d1fd33
AM
25377 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25378 node listing of the info page menu.
25379
2366713d
JM
253802013-02-21 Joseph Myers <joseph@codesourcery.com>
25381
25382 [BZ #13550]
25383 * sysdeps/i386/bp-asm.h: Remove file.
25384 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25385 (PARMS): Do not use macros from bp-asm.h.
25386 (S1): Likewise.
25387 (S2): Likewise.
25388 (SIZE): Likewise.
25389 (__mpn_add_n): Do not use BP_SYM
25390 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25391 "bp-asm.h".
25392 (PARMS): Do not use macros from bp-asm.h.
25393 (S1): Likewise.
25394 (SIZE): Likewise.
25395 (__mpn_addmul_1): Do not use BP_SYM
25396 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25397 "bp-asm.h".
25398 (PARMS): Do not use macros from bp-asm.h.
25399 (SIGMSK): Likewise.
25400 (_setjmp): Likewise. Do not use BP_SYM.
25401 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25402 "bp-asm.h".
25403 (PARMS): Do not use macros from bp-asm.h.
25404 (SIGMSK): Likewise.
25405 (setjmp): Likewise. Do not use BP_SYM.
25406 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25407 "bp-asm.h".
25408 (PARMS): Do not use macros from bp-asm.h.
25409 (__frexp): Do not use BP_SYM.
25410 (frexp): Likewise.
25411 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25412 "bp-asm.h".
25413 (PARMS): Do not use macros from bp-asm.h.
25414 (__frexpf): Do not use BP_SYM.
25415 (frexpf): Likewise.
25416 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25417 "bp-asm.h".
25418 (PARMS): Do not use macros from bp-asm.h.
25419 (__frexpl): Do not use BP_SYM.
25420 (frexpl): Likewise.
25421 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25422 "bp-asm.h".
25423 (PARMS): Do not use macros from bp-asm.h.
25424 (__remquo): Do not use BP_SYM.
25425 (remquo): Likewise.
25426 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25427 "bp-asm.h".
25428 (PARMS): Do not use macros from bp-asm.h.
25429 (__remquof): Do not use BP_SYM.
25430 (remquof): Likewise.
25431 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25432 "bp-asm.h".
25433 (PARMS): Do not use macros from bp-asm.h.
25434 (__remquol): Do not use BP_SYM.
25435 (remquol): Likewise.
25436 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25437 "bp-asm.h".
25438 (PARMS): Do not use macros from bp-asm.h.
25439 (DEST): Likewise.
25440 (SRC): Likewise.
25441 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25442 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25443 "bp-asm.h".
25444 (PARMS): Do not use macros from bp-asm.h.
25445 (strlen): Do not use BP_SYM.
25446 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25447 "bp-asm.h".
25448 (PARMS): Do not use macros from bp-asm.h.
25449 (S1): Likewise.
25450 (S2): Likewise.
25451 (SIZE): Likewise.
25452 (__mpn_add_n): Do not use BP_SYM.
25453 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25454 "bp-asm.h".
25455 (PARMS): Do not use macros from bp-asm.h.
25456 (S1): Likewise.
25457 (SIZE): Likewise.
25458 (__mpn_addmul_1): Do not use BP_SYM.
25459 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25460 weak_alias.
25461 (bzero): Likewise.
25462 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25463 "bp-asm.h".
25464 (PARMS): Do not use macros from bp-asm.h.
25465 (S): Likewise.
25466 (SIZE): Likewise.
25467 (__mpn_lshift): Do not use BP_SYM.
25468 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25469 "bp-asm.h".
25470 (PARMS): Do not use macros from bp-asm.h.
25471 (DEST): Likewise.
25472 (SRC): Likewise.
25473 (LEN): Likewise.
25474 (memcpy): Likewise. Do not use BP_SYM.
25475 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25476 libc_hidden_def and weak_alias.
25477 (mempcpy): Do not use BP_SYM in weak_alias.
25478 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25479 "bp-asm.h".
25480 (PARMS): Do not use macros from bp-asm.h.
25481 (DEST): Likewise.
25482 (LEN): Likewise.
25483 [!BZERO_P] (CHR): Likewise.
25484 (memset): Likewise. Do not use BP_SYM.
25485 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25486 "bp-asm.h".
25487 (PARMS): Do not use macros from bp-asm.h.
25488 (S1): Likewise.
25489 (SIZE): Likewise.
25490 (__mpn_mul_1): Do not use BP_SYM.
25491 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25492 "bp-asm.h".
25493 (PARMS): Do not use macros from bp-asm.h.
25494 (S): Likewise.
25495 (SIZE): Likewise.
25496 (__mpn_rshift): Do not use BP_SYM.
25497 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25498 "bp-asm.h".
25499 (PARMS): Do not use macros from bp-asm.h.
25500 (STR): Likewise.
25501 (CHR): Likewise.
25502 (strchr): Likewise. Do not use BP_SYM.
25503 (index): Do not use BP_SYM in weak_alias.
25504 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25505 "bp-asm.h".
25506 (PARMS): Do not use macros from bp-asm.h.
25507 (DEST): Likewise.
25508 (SRC): Likewise.
25509 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25510 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25511 "bp-asm.h".
25512 (PARMS): Do not use macros from bp-asm.h.
25513 (strlen): Do not use BP_SYM.
25514 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25515 "bp-asm.h".
25516 (PARMS): Do not use macros from bp-asm.h.
25517 (S1): Likewise.
25518 (S2): Likewise.
25519 (SIZE): Likewise.
25520 (__mpn_sub_n): Do not use BP_SYM.
25521 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25522 "bp-asm.h".
25523 (PARMS): Do not use macros from bp-asm.h.
25524 (S1): Likewise.
25525 (SIZE): Likewise.
25526 (__mpn_submul_1): Do not use BP_SYM.
25527 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25528 "bp-asm.h".
25529 (PARMS): Do not use macros from bp-asm.h.
25530 (S1): Likewise.
25531 (S2): Likewise.
25532 (SIZE): Likewise.
25533 (__mpn_add_n): Do not use BP_SYM.
25534 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25535 weak_alias.
25536 (bzero): Likewise.
25537 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25538 "bp-asm.h".
25539 (PARMS): Do not use macros from bp-asm.h.
25540 (BLK2): Likewise.
25541 (LEN): Likewise.
25542 (memcmp): Do not use BP_SYM.
25543 (bcmp): Do not use BP_SYM in weak_alias.
25544 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25545 "bp-asm.h".
25546 (PARMS): Do not use macros from bp-asm.h.
25547 (DEST): Likewise.
25548 (SRC): Likewise.
25549 (LEN): Likewise.
25550 (memcpy): Likewise. Do not use BP_SYM.
25551 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25552 "bp-asm.h".
25553 (PARMS): Do not use macros from bp-asm.h.
25554 (DEST): Likewise.
25555 (SRC): Likewise.
25556 (LEN): Likewise.
25557 (memmove): Likewise. Do not use BP_SYM.
25558 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25559 "bp-asm.h".
25560 (PARMS): Do not use macros from bp-asm.h.
25561 (DEST): Likewise.
25562 (SRC): Likewise.
25563 (LEN): Likewise.
25564 (__mempcpy): Likewise. Do not use BP_SYM.
25565 (mempcpy): Do not use BP_SYM in weak_alias.
25566 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25567 "bp-asm.h".
25568 (PARMS): Do not use macros from bp-asm.h.
25569 (DEST): Likewise.
25570 (LEN): Likewise.
25571 [!BZERO_P] (CHR): Likewise.
25572 (memset): Likewise. Do not use BP_SYM.
25573 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25574 "bp-asm.h".
25575 (PARMS): Do not use macros from bp-asm.h.
25576 (STR2): Likewise.
25577 (strcmp): Do not use BP_SYM.
25578 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25579 "bp-asm.h".
25580 (PARMS): Do not use macros from bp-asm.h.
25581 (STR): Likewise.
25582 (DELIM): Likewise.
25583 [USE_AS_STRTOK_R] (SAVE): Likewise.
25584 (FUNCTION): Likewise. Do not use BP_SYM.
25585 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25586 aliases.
25587 (strtok_r): Likewise.
25588 (__GI___strtok_r): Likewise.
25589 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25590 (PARMS): Do not use macros from bp-asm.h.
25591 (S): Likewise.
25592 (SIZE): Likewise.
25593 (__mpn_lshift): Do not use BP_SYM.
25594 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25595 (PARMS): Do not use macros from bp-asm.h.
25596 (STR): Likewise.
25597 (CHR): Likewise.
25598 (__memchr): Do not use BP_SYM.
25599 (memchr): Do not use BP_SYM in weak_alias.
25600 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25601 (PARMS): Do not use macros from bp-asm.h.
25602 (BLK2): Likewise.
25603 (LEN): Likewise.
25604 (memcmp): Do not use BP_SYM.
25605 (bcmp): Do not use BP_SYM in weak_alias.
25606 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25607 (PARMS): Do not use macros from bp-asm.h.
25608 (S1): Likewise.
25609 (SIZE): Likewise.
25610 (__mpn_mul_1): Do not use BP_SYM.
25611 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25612 "bp-asm.h".
25613 (PARMS): Do not use macros from bp-asm.h.
25614 (STR): Likewise.
25615 (CHR): Likewise.
25616 (__rawmemchr): Do not use BP_SYM.
25617 (rawmemchr): Do not use BP_SYM in weak_alias.
25618 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25619 (PARMS): Do not use macros from bp-asm.h.
25620 (S): Likewise.
25621 (SIZE): Likewise.
25622 (__mpn_rshift): Do not use BP_SYM.
25623 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25624 (PARMS): Do not use macros from bp-asm.h.
25625 (SIGMSK): Likewise.
25626 (__sigsetjmp): Likewise. Do not use BP_SYM.
25627 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25628 (_start): Do not use BP_SYM.
25629 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25630 (PARMS): Do not use macros from bp-asm.h.
25631 (DEST): Likewise.
25632 (SRC): Likewise.
25633 (__stpcpy): Likewise. Do not use BP_SYM.
25634 (stpcpy): Do not use BP_SYM in weak_alias.
25635 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25636 "bp-asm.h".
25637 (PARMS): Do not use macros from bp-asm.h.
25638 (DEST): Likewise.
25639 (SRC): Likewise.
25640 (LEN): Likewise.
25641 (__stpncpy): Likewise. Do not use BP_SYM.
25642 (stpncpy): Do not use BP_SYM in weak_alias.
25643 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25644 (PARMS): Do not use macros from bp-asm.h.
25645 (STR): Likewise.
25646 (CHR): Likewise.
25647 (strchr): Likewise. Do not use BP_SYM.
25648 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25649 "bp-asm.h".
25650 (PARMS): Do not use macros from bp-asm.h.
25651 (STR): Likewise.
25652 (CHR): Likewise.
25653 (__strchrnul): Likewise. Do not use BP_SYM.
25654 (strchrnul): Do not use BP_SYM in weak_alias.
25655 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25656 "bp-asm.h".
25657 (PARMS): Do not use macros from bp-asm.h.
25658 (STOP): Likewise.
25659 (strcspn): Do not use BP_SYM.
25660 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25661 "bp-asm.h".
25662 (PARMS): Do not use macros from bp-asm.h.
25663 (STR): Likewise.
25664 (STOP): Likewise.
25665 (strpbrk): Likewise. Do not use BP_SYM.
25666 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25667 "bp-asm.h".
25668 (PARMS): Do not use macros from bp-asm.h.
25669 (STR): Likewise.
25670 (CHR): Likewise.
25671 (strrchr): Likewise. Do not use BP_SYM.
25672 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25673 (PARMS): Do not use macros from bp-asm.h.
25674 (SKIP): Likewise.
25675 (strspn): Do not use BP_SYM.
25676 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25677 (PARMS): Do not use macros from bp-asm.h.
25678 (STR): Likewise.
25679 (DELIM): Likewise.
25680 (SAVE): Likewise.
25681 (FUNCTION): Likewise. Do not use BP_SYM.
25682 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25683 aliases.
25684 (strtok_r): Likewise.
25685 (__GI___strtok_r): Likewise.
25686 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25687 (PARMS): Do not use macros from bp-asm.h.
25688 (S1): Likewise.
25689 (S2): Likewise.
25690 (SIZE): Likewise.
25691 (__mpn_sub_n): Do not use BP_SYM.
25692 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25693 "bp-asm.h".
25694 (PARMS): Do not use macros from bp-asm.h.
25695 (S1): Likewise.
25696 (SIZE): Likewise.
25697 (__mpn_submul_1): Do not use BP_SYM.
25698 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25699 <bp-sym.h>.
25700 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25701 and <bp-asm.h>.
25702 (PARMS): Do not use macros from bp-asm.h.
25703 (FLAGS): Likewise.
25704 (PTID): Likewise.
25705 (TLS): Likewise.
25706 (CTID): Likewise.
25707 (__clone): Do not use BP_SYM.
25708 (clone): Do not use BP_SYM in weak_alias.
25709 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25710 and <bp-asm.h>.
25711 (PARMS): Do not use macros from bp-asm.h.
25712 (LEN): Likewise.
25713 (__mmap64): Do not use BP_SYM.
25714 (mmap64): Do not use BP_SYM in weak_alias.
25715 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25716 <bp-sym.h> and <bp-asm.h>.
25717 (PARMS): Do not use macros from bp-asm.h.
25718 (__posix_fadvise64_l64): Do not use BP_SYM.
25719 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25720 (PARMS): Do not use macros from bp-asm.h.
25721 (NSOPS): Likewise.
25722 (semtimedop): Do not use BP_SYM.
25723 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25724 and <bp-asm.h>.
25725
582a3cff
AM
257262013-02-21 Allan McRae <allan@archlinux.org>
25727
25728 * manual/message.texi (Charset conversion in gettext):
25729 Move @end statement to beginning of line.
25730
bab8a695
SP
257312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25732
80945231
SP
25733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25734 static.
25735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25736 Likewise.
25737
bab8a695
SP
25738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25739 (denorm): Likewise.
25740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25742
e21d7aa7
AK
257432013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25744
25745 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25746 tail-call to the resolved function if pltexit isn't needed.
25747
4c7a4263
SP
257482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25749
25750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25751 or Y being zero as being unlikely.
25752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25753 Likewise.
25754
41f49342
CD
257552013-02-20 Carlos O'Donell <carlos@redhat.com>
25756
25757 * manual/nss.texi (System Databases and Name Service Switch):
25758 Remove frobnicate @pxref.
25759
50022a93
TS
257602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25761
25762 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25763 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25764
08cbd996
PM
257652013-02-20 Petr Machata <pmachata@redhat.com>
25766
25767 * elf/elf.h (R_ARM_TARGET1): New macro.
25768 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25769 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25770 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25771 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25772 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25773 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25774 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25775 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25776 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25777 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25778 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25779 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25780 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25781 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25782 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25783 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25784 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25785 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25786 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25787 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25788 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25789 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25790 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25791 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25792 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25793 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25794 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25795 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25796 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25797 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25798 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25799 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25800 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25801 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25802 (R_ARM_THM_GOT_BREL12): Likewise.
25803 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25804 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25805 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25806 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25807 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25808 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25809 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25810 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25811 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25812
c7b275d6
TS
258132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25814
25815 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25816 __attribute_used__ to __attribute__ ((unused)).
25817
20cd7fb3
SP
258182013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25819
25820 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25821 powerpc mpa.c.
25822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25823 comment formatting.
25824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25825
92945b52
JM
258262013-02-19 Joseph Myers <joseph@codesourcery.com>
25827
25828 [BZ #13550]
25829 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25830 Remove macro.
25831 (ENTER): Remove both macro definitions.
25832 (LEAVE): Likewise.
25833 (CHECK_BOUNDS_LOW): Likewise.
25834 (CHECK_BOUNDS_HIGH): Likewise.
25835 (CHECK_BOUNDS_BOTH): Likewise.
25836 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25837 (RETURN_BOUNDED_POINTER): Likewise.
25838 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25839 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25840 (POP_ERRNO_LOCATION_RETURN): Likewise.
25841 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25842 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25843 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25844 macros.
25845 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25846 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25847 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25848 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25849 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25850 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25851 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25852 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25853 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25854 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25855 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25856 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25857 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25858 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25859 removed macros.
25860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25861 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25862 macros.
25863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25864 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25865 * sysdeps/i386/i586/memset.S (memset): Likewise.
25866 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25867 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25868 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25869 macros.
25870 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25871 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25872 Change uses of L(2) to L(out).
25873 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25874 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25875 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25876 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25877 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25878 removed macros.
25879 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25880 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25881 macros.
25882 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25883 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25884 (RETURN): Do not use macro LEAVE.
25885 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25886 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25887 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25888 * sysdeps/i386/i686/memset.S (memset): Likewise.
25889 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25890 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25891 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25892 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25893 Likewise.
25894 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25895 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25896 L(1_2) and L(1_3) into L(1).
25897 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25898 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25899 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25900 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25901 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25902 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25903 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25904 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25905 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25906 macros.
25907 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25908 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25909 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25910 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25911 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25912 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25913 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25914 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25915 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25916 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25917 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25918 * sysdeps/i386/strspn.S (strspn): Likewise.
25919 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25920 conditional code.
25921 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25922 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25923 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25924 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25925 L(1_3) into L(1_1).
25926 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25927 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25928 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25929 macros.
25930 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25931
2389741a
JJ
259322013-02-19 Jakub Jelinek <jakub@redhat.com>
25933
25934 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25935 macro.
25936
2016b3cd
SP
259372013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25938
e4f22324
SP
25939 * math/atest-exp.c (exp_mpn): Remove ROUND.
25940 * math/atest-exp2.c (exp_mpn): Likewise.
25941 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25942
2016b3cd
SP
25943 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25944 * stdlib/tst-tls-atexit-lib.c: Likewise.
25945 * stdlib/tst-tls-atexit.c: Likewise.
25946
4be9b544
MF
259472013-02-18 Mike Frysinger <vapier@gentoo.org>
25948
25949 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25950 and __attribute_alloc_size__.
25951
2f62b9ee
MF
259522013-02-18 Mike Frysinger <vapier@gentoo.org>
25953
25954 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25955 __attribute_alloc_size__.
25956 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25957 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25958
6ff444c4
MF
259592013-02-18 Mike Frysinger <vapier@gentoo.org>
25960
25961 * include/programs/xmalloc.h: New file.
25962 * catgets/gencat.c: Include it.
25963 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25964 * elf/pldd.c: Likewise.
25965 * iconv/iconv_charmap.c: Likewise.
25966 * iconv/iconvconfig.c: Likewise.
25967 * iconv/strtab.c: Likewise.
25968 * locale/programs/locale.c: Likewise.
25969 * locale/programs/localedef.h: Likewise.
25970 * locale/programs/simple-hash.c: Likewise.
25971 * nscd/nscd.h: Likewise.
25972 * nss/makedb.c: Likewise.
25973 * sysdeps/generic/ldconfig.h: Likewise.
25974
be179c8a
SP
259752013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25976
ba384f6e
SP
25977 * Versions.def: Add GLIBC_2.18.
25978 * include/link.h (struct link_map): New member l_tls_dtor_count.
25979 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25980 (__call_tls_dtors): Likewise.
25981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25982 __cxa_thread_atexit_impl.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25984 Likewise.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25986 Likewise.
25987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25988 Likewise.
25989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25990 Likewise.
25991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25993 Likewise.
25994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25995 Likewise.
25996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25998 Likewise.
25999 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26000 (tests): Add test case tst-tls-atexit.
26001 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26002 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26003 (GLIBC_PRIVATE): Add __call_tls_dtors.
26004 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26005 for libstdc++.
26006 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26007 * stdlib/tst-tls-atexit.c: New test case.
26008 * stdlib/tst-tls-atexit-lib.c: New test case.
26009
ffaa74cf 26010 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26011
be179c8a
SP
26012 * elf/Versions (ld): Add _dl_find_dso_for_object.
26013 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26014 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26015 (dl_open_worker): Use _dl_find_dso_for_object.
26016 * elf/dl-sym.c (do_sym): Likewise.
26017 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26018
f78b5caa
AK
260192013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26020
26021 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26022 Syntactic changes only.
26023 (_dl_runtime_profile): Do a tail-call to the resolved function.
26024
29691210
JM
260252013-02-17 Joseph Myers <joseph@codesourcery.com>
26026
26027 [BZ #13550]
26028 * sysdeps/x86_64/bp-asm.h: Remove file.
26029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26030 <bp-sym.h> and <bp-asm.h>.
26031 (__clone): Do not use BP_SYM.
26032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26033 <bp-sym.h> and <bp-asm.h>.
26034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26035 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26036 "bp-asm.h".
26037 (_setjmp): Do not use BP_SYM.
26038 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26039 "bp-asm.h".
26040 (setjmp): Do not use BP_SYM.
26041 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26042 libc_hidden_def.
26043 (mempcpy): Do not use BP_SYM in weak_alias.
26044 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26045 "bp-asm.h".
26046 (strchr): Do not use BP_SYM.
26047 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26048 "bp-asm.h".
26049 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26050 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26051 (_start): Do not use BP_SYM.
26052 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26053 "bp-asm.h".
26054 (strcat): Do not use BP_SYM.
26055 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26056 "bp-asm.h".
26057 (STRCMP): Do not use BP_SYM.
26058 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26059 "bp-asm.h".
26060 (STRCPY): Do not use BP_SYM.
26061 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26062 "bp-asm.h".
26063 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26064 "bp-asm.h".
26065 (FUNCTION): Do not use BP_SYM.
26066 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26067 weak_alias.
26068 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26069
f238fd19
AJ
260702013-02-17 Andreas Jaeger <aj@suse.de>
26071
26072 * time/Versions: Sort entries.
26073 * string/Versions: Likewise.
26074 * resolv/Versions: Likewise.
26075 * posix/Versions: Likewise.
26076 * iconv/Versions: Likewise.
26077 * elf/Versions: Likewise.
26078 * wcsmbs/Versions: Likewise.
26079
bd07f23c 260802013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26081
22af19f9
SP
26082 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26083 loop termination condition.
26084
4709fe76
SP
26085 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26086 variable to calculate EZ.
26087 (__sqr): Likewise.
2d0e0f29
SP
26088
26089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26090 the lower precision input.
26091
daaa7713
JM
260922013-02-15 Joseph Myers <joseph@codesourcery.com>
26093
26094 [BZ #13550]
26095 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26096 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26097 (run-via-rtld-prefix): Do not handle %-bp tests.
26098 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26099 (all-object-suffixes): Remove .ob.
26100 (bppfx): Remove variable.
26101 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26102 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26103 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26104 [$(build-bounded) = yes] (libtype.ob): Likewise.
26105 * Makerules (elide-routines.ob): Remove variable.
26106 (do-tests-clean): Do not handle *-bp.out.
26107 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26108 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26109 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26110 (tests): Do not include $(tests-bp.out).
26111 (xtests): Do not include $(xtests-bp.out).
26112 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26113 [$(build-bounded) = yes] ($(addprefix
26114 $(objpfx),$(binaries-bounded))): Remove rule.
26115 ($(objpfx)%-bp.out): Remove rule.
26116 * config.make.in (build-bounded): Remove variable.
26117 * crypt/Makefile [$(build-bounded) = yes]
26118 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26119 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26120 append to variable.
26121 [$(build-bounded) = yes] (install-lib): Likewise.
26122 [$(build-bounded) = yes] (generated): Likewise.
26123 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26124 Remove rule.
26125 * intl/Makefile [$(build-bounded) = yes]
26126 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26127 * math/Makefile [$(build-bounded) = yes]
26128 ($(tests:%=$(objpfx)%-bp): Likewise.
26129 * misc/Makefile [$(build-bounded) = yes]
26130 ($(objpfx)tst-tsearch-bp): Likewise.
26131 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26132 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26133 Remove dependency.
26134 * string/Makefile (o-objects.ob): Remove variable.
26135 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26136 (CFLAGS-.ob): Remove variable.
26137 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26138 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26139 both definitions of variable.
26140 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26141 (ASFLAGS-.ob): Remove variable.
26142
e97ed6dd
JM
261432013-02-14 Joseph Myers <joseph@codesourcery.com>
26144
2bdd4ca6
JM
26145 [BZ #13550]
26146 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26147 Remove __BOUNDED_POINTERS__ from condition.
26148 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26149 * string/bits/string2.h [!__NO_STRING_INLINES &&
26150 !__BOUNDED_POINTERS__]: Likewise.
26151 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26152 Likewise.
26153 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26154 Remove conditional code.
26155 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26156 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26157 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26158 condition.
26159
e97ed6dd
JM
26160 [BZ #13550]
26161 * csu/libc-start.c: Do not include <bp-sym.h>.
26162 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26163 * elf/dl-open.c: Do not include <bp-sym.h>.
26164 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26165 * math/fegetenv.c: Do not include <bp-sym.h>.
26166 (fegetenv): Do not use BP_SYM in versioned symbols.
26167 * nptl/sysdeps/pthread/bits/libc-lockP.h
26168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26169 <bp-sym.h>.
26170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26171 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26173 (__pthread_mutex_destroy): Likewise.
26174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26175 (__pthread_mutex_lock): Likewise.
26176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26177 (__pthread_mutex_trylock): Likewise.
26178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26179 (__pthread_mutex_unlock): Likewise.
26180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26181 (__pthread_mutexattr_init): Likewise.
26182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26183 (__pthread_mutexattr_destroy): Likewise.
26184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26185 (__pthread_mutexattr_settype): Likewise.
26186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26187 (__pthread_rwlock_init): Likewise.
26188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26189 (__pthread_rwlock_destroy): Likewise.
26190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26191 (__pthread_rwlock_rdlock): Likewise.
26192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26193 (__pthread_rwlock_tryrdlock): Likewise.
26194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26195 (__pthread_rwlock_wrlock): Likewise.
26196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26197 (__pthread_rwlock_trywrlock): Likewise.
26198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26199 (__pthread_rwlock_unlock): Likewise.
26200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26201 (__pthread_key_create): Likewise.
26202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26203 (__pthread_setspecific): Likewise.
26204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26205 (__pthread_getspecific): Likewise.
26206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26207 Likewise.
26208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26209 (_pthread_cleanup_push_defer): Likewise.
26210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26211 (_pthread_cleanup_pop_restore): Likewise.
26212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26213 (pthread_setcancelstate): Likewise.
26214 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26215 <bp-sym.h>.
26216 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26217 (memchr): Do not use BP_SYM in weak_alias.
26218 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26219 (fegetenv): Do not use BP_SYM in versioned symbols.
26220 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26221 (fesetenv): Do not use BP_SYM in versioned symbols.
26222 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26223 (feupdateenv): Do not use BP_SYM in versioned symbols.
26224 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26225 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26226 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26227 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26228 (open64): Do not use BP_SYM in weak_alias.
26229 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26230 (fegetenv): Do not use BP_SYM in versioned symbols.
26231 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26232 (fesetenv): Do not use BP_SYM in versioned symbols.
26233 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26234 (feupdateenv): Do not use BP_SYM in versioned symbols.
26235 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26236 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26237 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26238 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26239 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26240 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26241 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26242 <bp-sym.h>.
26243 (__libc_start_main): Do not use BP_SYM.
26244
d6752ccd
SP
262452013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26246
cb57ce60
SP
26247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26248 redundant return line.
26249 (norm): Likewise.
26250 (denorm): Likewise.
26251 (dbl_mp): Likewise.
26252 (sub_magnitudes): Likewise.
26253 (__add): Likewise.
26254 (__sub): Likewise.
26255 (__mul): Likewise.
26256 (__inv): Likewise.
26257 (__dvd): Likewise.
26258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26259 (norm): Likewise.
26260 (denorm): Likewise.
26261 (dbl_mp): Likewise.
26262 (sub_magnitudes): Likewise.
26263 (__add): Likewise.
26264 (__sub): Likewise.
26265 (__mul): Likewise.
26266 (__inv): Likewise.
26267 (__dvd): Likewise.
26268
f414520d
SP
26269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26270 instead of __mul.
26271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26272 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26273 (cc32): Likewise.
26274
d6752ccd
SP
26275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26276 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26278 of __mul for squares.
26279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26280 function
26281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26282 Likewise.
26283 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26284 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26285
70d9946a
JM
262862013-02-13 Joseph Myers <joseph@codesourcery.com>
26287
26288 [BZ #13550]
26289 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26290 code.
26291 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26292 prototype or function definition. Rename ubp_* variables and
26293 parameters. Remove argv definitions conditional on
26294 [__BOUNDED_POINTERS__].
26295 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26296 * elf/dl-runtime.c (_dl_fixup): Likewise.
26297 * include/set-hooks.h (RUN_HOOK): Likewise.
26298 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26299 definition.
26300 * string/strcpy.c (strcpy): Do not use __unbounded.
26301 * sysdeps/generic/frame.h (struct layout): Likewise.
26302 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26303 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26304 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26305 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26306 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26307 (__backtrace): Likewise.
26308 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26309 use __ptrvalue.
26310 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26311 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26312 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26313 Likewise.
26314 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26315 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26316 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26317 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26318 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26319 Do not use __unbounded.
26320 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26321 Rename __unboundedrlimits parameter to rlimits in prototype.
26322 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26323 Do not use __unbounded.
26324 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26325 not use __ptrvalue.
26326 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26327 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26328 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26329 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26330 __ptrvalue or __unbounded.
26331 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26332 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26333 use __unbounded.
26334 (__new_msgctl): Do not use __ptrvalue.
26335 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26336 __unbounded.
26337 (__libc_msgrcv): Do not use __ptrvalue.
26338 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26339 startup_info): Do not use __unbounded.
26340 (__libc_start_main): Likewise. Rename ubp_* variables and
26341 parameters. Remove argv definitions conditional on
26342 [__BOUNDED_POINTERS__].
26343 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26344 __ptrvalue.
26345 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26346 use __unbounded.
26347 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26348 or __ptrvalue.
26349 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26350 use __unbounded.
26351 (__new_shmctl): Do not use __ptrvalue.
26352 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26353 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26354 Likewise.
26355 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26357 (__libc_sigaction): Likewise.
26358 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26360 Likewise.
26361 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26362
cc7834d6
OB
263632013-02-13 Ondřej Bílka <neleai@seznam.cz>
26364
ffb1ec7b 26365 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26366
26367 * string/mempcpy.c: Implement by calling memcpy.
26368
bdf02814
SP
263692013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26370
c2af38aa
SP
26371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26372
4e92d59e
SP
26373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26374 evaluation.
26375
909279a5
SP
26376 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26377 values in the mantissa.
26378
bdf02814
SP
26379 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26380 minimize writes to Z.
26381 (sub_magnitudes): Simplify code a bit.
26382
cd525923
RM
263832013-02-12 Roland McGrath <roland@hack.frob.com>
26384
26385 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26386 from the message. The linker prefixes all warnings with that already.
26387
7e2f0d2d
AS
263882013-02-12 Andreas Schwab <schwab@suse.de>
26389
a445af0b
AS
26390 [BZ #15078]
26391 * posix/regexec.c (extend_buffers): Add parameter min_len.
26392 (check_matching): Pass minimum needed length.
26393 (clean_state_log_if_needed): Likewise.
26394 (get_subexp): Likewise.
26395 * posix/Makefile (tests): Add bug-regex34.
26396 (bug-regex34-ENV): Define.
26397 * posix/bug-regex34.c: New file.
26398
7e2f0d2d
AS
26399 [BZ #11561]
26400 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26401 elements compare against the byte sequence of it, not its name.
26402 * posix/Makefile (tests): Add bug-regex35.
26403 (bug-regex35-ENV): Define.
26404 * posix/bug-regex35.c: New file.
26405
a175b684
TV
264062013-02-11 Tom de Vries <tom@codesourcery.com>
26407
26408 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26409 comment.
26410 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26411 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26412 (CHECK_EOL): Add undef.
26413
310998fe 264142013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26415
26416 * bits/stdlib-bsearch.h: New file.
26417 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26418 * stdlib/stdlib.h: Likewise.
41eda41d 26419
8ded91fb
RM
264202013-02-11 Roland McGrath <roland@hack.frob.com>
26421
26422 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26423 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26424 declaration.
26425 * manual/search.texi (Array Search Function): Add missing const in
26426 lfind prototype.
26427 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26428 declaration to use rlim_t.
26429 (Basic Scheduling Functions): Remove erroneous const from
26430 sched_getparam prototype. Remove erroneous * from
26431 sched_get_priority_max and sched_get_priority_min prototypes.
26432 (Resource Usage): Fix summary @comment on vtimes to refer to
26433 sys/vtimes.h rather than vtimes.h.
26434 Add missing *s in vtimes prototype.
26435 (Limits on Resources): Fix ulimit prototype to return long int.
26436 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26437 prototypes to use long int rather than double.
26438 (BSD Random): Fix initstate and setstate to use char *, not void *.
26439 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26440 prototype to make second argument 'struct aiocb64 *const[]'.
26441 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26442 (Status of AIO Operations): Remove erroneous const in aio_return and
26443 aio_return64 prototypes.
26444 (Synchronizing I/O): Fix sync prototype to return void.
26445 * manual/startup.texi (Suboptions): Remove an erroneous const in
26446 getsubopt prototype.
26447 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26448 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26449 use size_t rather than int.
26450 (Scanning All Users): Likewise for getpwent_r.
26451 (Setting Groups): Add missing const to setgroups prototype.
26452 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26453 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26454 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26455 'const void *' rather than 'const char *'.
26456 (Host Address Functions): Likewise for inet_ntop.
26457 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26458 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26459 ssize_t for return value.
26460 (Sending Data): Likewise for send, sendto, sendmsg.
26461 (Socket Option Functions): Add a missing const in setsockopt prototype.
26462 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26463 use wchar_t for the argument.
26464 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26465 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26466 take no arguments.
26467 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26468 double/float/long double for second argument.
26469 Fix return types of significand, significandf, significandl.
26470 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26471 argument in fchmod prototype.
26472 (File Owner): Use uid_t and gid_t in fchown prototype.
26473 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26474 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26475 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26476 use 'const struct dirent **' as argument types to CMP function pointer
26477 argument.
26478 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26479 (File Times): Fix summary magic @comment for struct utimbuf and utime
26480 to refer to utime.h, not time.h.
26481 * manual/string.texi (Argz Functions): Add missing const in
26482 argz_extract and argz_next prototypes.
26483 (Finding Tokens in a String): Likewise for basename.
26484 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26485 (Copying and Concatenation): Fix typo in wmemmove prototype.
26486 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26487 (Signal Stack): Remove erroneous const in sigstack prototype.
26488 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26489 prototype.
26490 (Simple Calendar Time): Likewise for stime.
26491 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26492 prototype.
26493 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26494 say sys/sysctl.h instead.
26495 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26496 and vsyslog prototypes.
26497
fe77fe6d
TV
264982013-02-11 Tom de Vries <tom@codesourcery.com>
26499
26500 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26501 Remove.
26502
3a09b620
RM
265032013-02-11 Roland McGrath <roland@hack.frob.com>
26504
26505 * misc/sys/mman.h: Fix typo in mremap comment.
26506
550a0b89
RM
265072013-02-08 Roland McGrath <roland@hack.frob.com>
26508
26509 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26510 the '\0' terminator.
26511
a2da1673
JM
265122013-02-08 Joseph Myers <joseph@codesourcery.com>
26513
26514 [BZ #13550]
26515 * debug/segfault.c: Don't include <bp-checks.h>.
26516 * sysdeps/generic/bp-checks.h: Remove file.
26517 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26518 (__GETDENTS): Don't use CHECK_N.
26519 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26520 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26521 (__getgroups): Don't use CHECK_N.
26522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26523 (setgroups): Don't use CHECK_N.
26524 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26525 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26526 (__libc_msgrcv): Don't use CHECK_N.
26527 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26528 (__libc_msgsnd): Don't use CHECK_N.
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26530 <bp-checks.h>.
26531 (__libc_pread): Don't use CHECK_N.
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26533 include <bp-checks.h>.
26534 (__libc_pread64): Don't use CHECK_N.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26536 include <bp-checks.h>.
26537 (__libc_pwrite): Don't use CHECK_N.
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26539 include <bp-checks.h>.
26540 (__libc_pwrite64): Don't use CHECK_N.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26542 <bp-checks.h>.
26543 (__libc_pread): Don't use CHECK_N.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26545 include <bp-checks.h>.
26546 (__libc_pread64): Don't use CHECK_N.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26548 include <bp-checks.h>.
26549 (__libc_pwrite): Don't use CHECK_N.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26551 include <bp-checks.h>.
26552 (__libc_pwrite64): Don't use CHECK_N.
26553 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26554 (do_pread): Don't use CHECK_N.
26555 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26556 (do_pread64): Don't use CHECK_N.
26557 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26558 (do_pwrite): Don't use CHECK_N.
26559 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26560 (do_pwrite64): Don't use CHECK_N.
26561 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26562 (__libc_readv): Don't use CHECK_N.
26563 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26564 (semop): Don't use CHECK_N.
26565 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26566 <bp-checks.h>.
26567 (semtimedop): Don't use CHECK_N.
26568 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26569 (__libc_pread): Don't use CHECK_N.
26570 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26571 <bp-checks.h>.
26572 (__libc_pread64): Don't use CHECK_N.
26573 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26574 <bp-checks.h>.
26575 (__libc_pwrite): Don't use CHECK_N.
26576 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26577 <bp-checks.h>.
26578 (__libc_pwrite64): Don't use CHECK_N.
26579 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26580 <bp-checks.h>.
26581 (__libc_msgrcv): Don't use CHECK_N.
26582 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26583 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26584 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26585 (__libc_writev): Don't use CHECK_N.
26586
b84660a8
RM
265872013-02-08 Roland McGrath <roland@hack.frob.com>
26588
7f3e75f8
RM
26589 * string/strcpy.c: Removed unused variable.
26590
b84660a8
RM
26591 * Makeconfig (+sysdep-includes): Define with := rather than =.
26592 Use an existing include/ subdir of each sysdeps dir before it.
26593
471514d3
CD
265942013-02-08 Carlos O'Donell <carlos@redhat.com>
26595
26596 * nscd/connection.c (register_traced_file): Comment function.
26597 [HAVE_INOTIFY] (union __inev): Define.
26598 [HAVE_INOTIFY] (inotify_check_files): New function.
26599 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26600 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26601 clear_db_cache.
26602 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26603
b2d3c3be
CD
266042013-02-08 Carlos O'Donell <carlos@redhat.com>
26605
26606 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26607 loaded if not already and that a failure is permanent.
26608
b39949d2
CD
266092013-02-08 Carlos O'Donell <carlos@redhat.com>
26610
ddacd1db 26611 [BZ #15006]
b39949d2
CD
26612 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26613 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26614
b2c9eff4
JM
266152013-02-08 Joseph Myers <joseph@codesourcery.com>
26616
f3aae3f3
JM
26617 [BZ #13550]
26618 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26619 (CHECK_1_NULL_OK): Likewise.
26620 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26621 (__fxstat): Do not use CHECK_1.
26622 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26623 <bp-checks.h>.
26624 (___fxstat64): Do not use CHECK_1.
26625 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26626 <bp-checks.h>.
26627 (__fxstatat): Do not use CHECK_1.
26628 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26629 <bp-checks.h>.
26630 (__fxstatat64): Do not use CHECK_1.
26631 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26632 <bp-checks.h>.
26633 (__fxstat): Do not use CHECK_1.
26634 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26635 <bp-checks.h>.
26636 (__fxstatat): Do not use CHECK_1.
26637 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26638 <bp-checks.h>.
26639 (__getresgid): Do not use CHECK_1.
26640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26641 <bp-checks.h>.
26642 (__getresuid): Do not use CHECK_1.
26643 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26644 <bp-checks.h>.
26645 (__lxstat): Do not use CHECK_1.
26646 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26647 <bp-checks.h>.
26648 (__old_msgctl): Do not use CHECK_1.
26649 (__new_msgctl): Likewise.
26650 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26651 <bp-checks.h>.
26652 (__new_setrlimit): Do not use CHECK_1.
26653 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26654 <bp-checks.h>.
26655 (__old_shmctl): Do not use CHECK_1.
26656 (__new_shmctl): Likewise.
26657 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26658 <bp-checks.h>.
26659 (__xstat): Do not use CHECK_1.
26660 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26661 (__lxstat): Do not use CHECK_1.
26662 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26663 <bp-checks.h>.
26664 (___lxstat64): Do not use CHECK_1.
26665 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26666 (__old_msgctl): Do not use CHECK_1.
26667 (__new_msgctl): Likewise.
26668 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26669 <bp-checks.h>.
26670 (__gettimeofday): Do not use CHECK_1.
26671 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26672 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26673 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26674 <bp-checks.h>.
26675 (__gettimeofday): Do not use CHECK_1.
26676 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26677 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26678 (__new_shmctl): Do not use CHECK_1.
26679 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26680 <bp-checks.h>.
26681 (do_sigtimedwait): Do not use CHECK_1.
26682 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26683 <bp-checks.h>.
26684 (do_sigwaitinfo): Do not use CHECK_1.
26685 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26686 <bp-checks.h>.
26687 (msgctl): Do not use CHECK_1.
26688 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26689 <bp-checks.h>.
26690 (shmctl): Do not use CHECK_1.
26691 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26692 (ustat): Do not use CHECK_1.
26693 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26694 <bp-checks.h>.
26695 (__fxstat): Do not use CHECK_1.
26696 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26697 <bp-checks.h>.
26698 (__fxstatat): Do not use CHECK_1.
26699 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26700 <bp-checks.h>.
26701 (__lxstat): Do not use CHECK_1.
26702 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26703 <bp-checks.h>.
26704 (__xstat): Do not use CHECK_1.
26705 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26706 (__xstat): Do not use CHECK_1.
26707 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26708 (___xstat64): Do not use CHECK_1.
26709
b2c9eff4
JM
26710 [BZ #13550]
26711 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26712 definitions.
26713 (CHECK_BOUNDS_HIGH): Likewise.
26714 * string/strcpy.c: Do not include <bp-checks.h>.
26715 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26716
f1d70dad
RM
267172013-02-07 Roland McGrath <roland@hack.frob.com>
26718
26719 * nscd/nscd-client.h (__nscd_drop_map_ref):
26720 Add __attribute__ ((unused)).
26721 * nis/nss-nisplus.h (niserr2nss): Likewise.
26722
26723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26724 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26725
26726 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26727 Remove inline keyword.
26728 * include/rounding-mode.h (round_away): Likewise.
26729 * libio/wfileops.c (adjust_wide_data): Likewise.
26730 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26731 (__m128i_strloadu_tolower): Likewise.
26732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26733 (__m128i_strloadu_tolower): Likewise.
26734 * time/mktime.c (ydhms_diff): Likewise.
26735 * locale/elem-hash.h (elem_hash): Likewise.
26736 * locale/setlocale.c (setdata): Likewise.
26737 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26738 (re_string_wchar_at): Likewise.
26739 (bitset_not, bitset_merge, bitset_mask): Likewise.
26740 [!(__GNUC__ > 3)] (inline): Remove macro.
26741 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26742 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26743 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26744 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26745 * string/memcmp.c (memcmp_bytes): Likewise.
26746 * locale/programs/locarchive.c (compute_hashval): Likewise.
26747 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26748 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26749 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26750 * nss/getent.c (print_rpc, print_protocols): Likewise.
26751 (print_passwd, print_group, print_aliases): Likewise.
26752 * nis/nss-nisplus.h (niserr2nss): Likewise.
26753 * nscd/connections.c (restart_p): Likewise.
26754 Change return type to bool.
26755
eab55bfb
RM
267562013-02-05 Roland McGrath <roland@hack.frob.com>
26757
7bd642f5
RM
26758 * Makeconfig (all-Depend-files): Add existing
26759 $(sorted-subdirs:=/Depend) files.
26760 (all-subdirs): Remove nss.
26761 * sysdeps/unix/inet/Subdirs: Add it here instead.
26762 * hesiod/Depend: New file.
26763
573c29b2
RM
26764 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26765 instead of calling alloca.
26766
b2e25af0
RM
26767 * io/lseek.c (__lseek): Rename to __libc_lseek.
26768 Define __lseek as an alias.
26769
eab55bfb
RM
26770 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26771
9a0d1941
CD
267722013-02-04 Carlos O'Donell <carlos@redhat.com>
26773
26774 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26775 else clause and remove check for non-standard endianness.
26776
b83bbec4
DM
267772013-02-04 David S. Miller <davem@davemloft.net>
26778
26779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26780
6277fdab
JM
267812013-02-04 Joseph Myers <joseph@codesourcery.com>
26782
26783 [BZ #13550]
26784 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26785 (__ubp_memchr): Remove prototype.
26786 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26787 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26788 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26789 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26790 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26791 Remove alias.
26792 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26793 (__ubp_memchr): Likewise.
26794 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26795 (__ubp_memchr): Likewise.
26796 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26797 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26798 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26799 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26800 CHECK_STRING.
26801 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26802 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26803 (__getcwd): Do not use CHECK_STRING.
26804 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26805 <bp-checks.h>.
26806 (__real_chown): Do not use CHECK_STRING.
26807 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26808 <bp-checks.h>.
26809 (fchownat): Do not use CHECK_STRING.
26810 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26811 CHECK_STRING.
26812 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26813 <bp-checks.h>.
26814 (__lchown): Do not use CHECK_STRING.
26815 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26816 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26817 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26818 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26820 include <bp-checks.h>.
26821 (truncate64): Do not use CHECK_STRING.
26822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26823 <bp-checks.h>.
26824 (__real_chown): Do not use CHECK_STRING.
26825 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26826 <bp-checks.h>.
26827 (__lchown): Do not use CHECK_STRING.
26828 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26829 <bp-checks.h>.
26830 (__chown): Do not use CHECK_STRING.
26831 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26832 <bp-checks.h>.
26833 (truncate64): Do not use CHECK_STRING.
26834 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26835 Likewise.
26836 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26837 (__xmknod): Do not use CHECK_STRING.
26838 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26839 <bp-checks.h>.
26840 (__xmknodat): Do not use CHECK_STRING.
26841 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26842 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26843
903ae060
AS
268442013-02-04 Andreas Schwab <schwab@suse.de>
26845
26846 [BZ #14142]
26847 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26848 * include/netdb.h: Likewise for h_errno.
26849 * elf/tst-stackguard1.c: Include <tls.h>.
26850
542f9466
JK
268512013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26852
26853 * elf/link.h (struct link_map): Extend the l_addr comment.
26854 * include/link.h (struct link_map): Likewise.
26855
e782a927
JM
268562013-02-01 Joseph Myers <joseph@codesourcery.com>
26857
26858 [BZ #13550]
26859 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26860 (BOUNDED_1): Remove macro.
26861 * debug/backtrace.c: Don't include <bp-checks.h>.
26862 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26863 (__backtrace): Likewise.
26864 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26865 <bp-checks.h>.
26866 (__backtrace): Don't use BOUNDED_1.
26867 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26868 <bp-checks.h>.
26869 (__backtrace): Don't use BOUNDED_1.
26870 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26871 (__backtrace): Don't use BOUNDED_1.
26872 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26873 (shmat): Don't use BOUNDED_N.
26874
8cf28c5e
JM
268752013-01-31 Joseph Myers <joseph@codesourcery.com>
26876
3a7ac8a0
JM
26877 [BZ #13550]
26878 * sysdeps/generic/bp-start.h: Remove file.
26879 * csu/libc-start.c: Don't include <bp-start.h>.
26880 (LIBC_START_MAIN): Set up __environ directly instead of using
26881 INIT_ARGV_and_ENVIRON.
26882 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26883 <bp-start.h>.
26884
f3499f95
JM
26885 [BZ #13550]
26886 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26887 definitions.
26888 (CHECK_FCNTL): Likewise.
26889 (CHECK_N_PAGES): Likewise.
26890
32a45bea
JM
26891 [BZ #13550]
26892 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26893 definitions.
26894 (CHECK_SIGSET_NULL_OK): Likewise.
26895 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26896 <bp-checks.h>.
26897 (sigpending): Don't use CHECK_SIGSET.
26898 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26899 <bp-checks.h>.
26900 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26901 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26902 <bp-checks.h>.
26903 (do_sigsuspend): Don't use CHECK_SIGSET.
26904 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26905 use CHECK_SIGSET.
26906 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26907 (do_sigwait): Don't use CHECK_SIGSET.
26908 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26909 use CHECK_SIGSET.
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26911 include <bp-checks.h>.
26912 (sigpending): Don't use CHECK_SIGSET.
26913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26914 include <bp-checks.h>.
26915 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26916 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26917 <bp-checks.h>.
26918 (sigpending): Don't use CHECK_SIGSET.
26919 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26920 <bp-checks.h>.
26921 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26922
2e8a5c8c
JM
26923 [BZ #13550]
26924 * sysdeps/generic/bp-semctl.h: Remove file.
26925 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26926 <bp-checks.h> and <bp-semctl.h>.
26927 (__old_semctl): Don't use CHECK_SEMCTL.
26928 (__new_semctl): Likewise.
26929 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26930 and <bp-semctl.h>.
26931 (__old_semctl): Don't use CHECK_SEMCTL.
26932 (__new_semctl): Likewise.
26933 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26934 <bp-checks.h> and <bp-semctl.h>.
26935 (__old_semctl): Don't use CHECK_SEMCTL.
26936 (__new_semctl): Likewise.
26937 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26938 <bp-checks.h> and <bp-semctl.h>.
26939 (semctl): Don't use CHECK_SEMCTL.
26940
c2d54929
JM
26941 [BZ #13550]
26942 * Makerules (elide-bp-thunks): Remove variable.
26943 (elide-routines.oS): Don't use $(elide-bp-thunks).
26944 (elide-routines.os): Likewise.
26945 (elide-routines.o): Likewise.
26946 (elide-routines.op): Likewise.
26947 (elide-routines.og): Likewise.
26948 (objects): Don't use $(bp-thunks).
26949 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26950 include.
26951 (common-generated): Do not add s-proto-bp.d.
26952 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26953 (int): Likewise.
26954 (typ): Likewise.
26955 Do not generate makefile rules for bounded-pointer thunks.
26956 * sysdeps/generic/bp-thunks.h: Remove file.
26957 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26958 * sysdeps/unix/s-proto-bp.S: Likewise.
26959
8cf28c5e
JM
26960 [BZ #15062]
26961 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26962 parts of result separately when argument is not close to line from
26963 -i to i and one part of argument is small.
26964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26966 * math/libm-test.inc (cacos_test): Add more tests.
26967 (casin_test): Likewise.
26968 (casinh_test): Likewise.
26969 * sysdeps/i386/fpu/libm-test-ulps: Update.
26970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26971
c4e33b8d
DM
269722013-01-31 David S. Miller <davem@davemloft.net>
26973
26974 * po/de.po: Update from translation team.
26975
3b60b421
MK
269762013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26977
26978 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26979
bb931195
TS
269802013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26981
b5a5da23
TS
26982 * configure.in (_AC_PROG_CC_C89): New definition.
26983 * configure: Regenerate.
26984
bb931195
TS
26985 * configure.in (AC_PROG_CPP): New definition.
26986 * configure: Regenerate.
26987
8c53a12c
JM
269882013-01-23 Joseph Myers <joseph@codesourcery.com>
26989
26990 * debug/tst-backtrace.h: New file.
26991 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26992 (ret): Remove variable.
26993 (x): Likewise.
26994 (FAIL): Remove macro.
26995 (NO_INLINE): Likewise.
26996 (fn1): Use match function instead of strstr.
26997 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26998 (ret): Remove variable.
26999 (x): Likewise.
27000 (FAIL): Remove macro.
27001 (NO_INLINE): Likewise.
27002 (fn): Use match function instead of strstr.
27003 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27004 (ret): Remove variable.
27005 (x): Likewise.
27006 (FAIL): Remove macro.
27007 (NO_INLINE): Likewise.
27008 (handle_signal): Use match function instead of strstr.
27009 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27010 (ret): Remove variable.
27011 (x): Likewise.
27012 (FAIL): Remove macro.
27013 (NO_INLINE): Likewise.
27014 (handle_signal): Use match function instead of strstr.
27015
4858fa2a
RM
270162013-01-23 Roland McGrath <roland@hack.frob.com>
27017
27018 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27019
bae8e7f5
DM
270202013-01-23 David S. Miller <davem@davemloft.net>
27021
27022 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27023 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27024 argument of CAS if possible.
27025 * sysdeps/sparc/sparc64/bits/atomic.h
27026 (__arch_compare_and_exchange_val_32_acq): Likewise.
27027 (__arch_compare_and_exchange_val_64_acq): Likewise.
27028
9cbbc4ae
PT
270292013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27030
27031 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27032 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27033 Include <limits.h>.
67b3f58c 27034 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27035
5655a0b5
AC
270362013-01-23 Adam Conrad <adconrad@0c3.net>
27037
27038 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27039 (LDFLAGS-tst-array5): Likewise.
27040
052aff95
JM
270412013-01-23 Joseph Myers <joseph@codesourcery.com>
27042
27043 [BZ #15036]
27044 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27045 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27046 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27047 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27048
7c1e01aa
DM
270492013-01-21 David S. Miller <davem@davemloft.net>
27050
27051 * sysdeps/sparc/backtrace.c: New file.
27052 * sysdeps/sparc/sparc32/backtrace.h: New file.
27053 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27054 * sysdeps/sparc/sparc64/backtrace.h: New file.
27055 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27056 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27057 -funwind-tables.
27058
ab087e0a
AS
270592013-01-21 Andreas Schwab <schwab@suse.de>
27060
27061 [BZ #15020]
27062 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27063 closed its stdout.
27064
ed689c2f
AS
270652013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27066
27067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27068 "mpa2.h".
27069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27070
31d470ac
JM
270712013-01-18 Joseph Myers <joseph@codesourcery.com>
27072 Mark Mitchell <mark@codesourcery.com>
27073 Tom de Vries <tom@codesourcery.com>
27074 Paul Pluzhnikov <ppluzhnikov@google.com>
27075
27076 * debug/tst-backtrace2.c: New file.
27077 * debug/tst-backtrace3.c: Likewise.
27078 * debug/tst-backtrace4.c: Likewise.
27079 * debug/tst-backtrace5.c: Likewise.
27080 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27081 (CFLAGS-tst-backtrace3.c): Likewise.
27082 (CFLAGS-tst-backtrace4.c): Likewise.
27083 (CFLAGS-tst-backtrace5.c): Likewise.
27084 (LDFLAGS-tst-backtrace2): Likewise.
27085 (LDFLAGS-tst-backtrace3): Likewise.
27086 (LDFLAGS-tst-backtrace4): Likewise.
27087 (LDFLAGS-tst-backtrace5): Likewise.
27088 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27089 tst-backtrace4 and tst-backtrace5.
27090
90567f30 270912013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27092 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27093
27094 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27095 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27096 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27097 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27099 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27100 "+r" and remove output regs list as redundant. Add explicit inline
27101 asm to specify register of return val to work around compiler codegen
27102 bug. Remove (int) cast on return value. Add return type parameter to
27103 use in macro so that this macro does not truncate return value for
27104 64-bit values.
27105 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27106 pass to INTERNAL_VSYSCALL_NCS.
27107 (INLINE_VSYSCALL): Add 'long int' as return type to
27108 INTERNAL_VSYSCALL_NCS macro invocation.
27109 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27110 INTERNAL_VSYSCALL_NCS macro invocation.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27112
d3b9ea61
SP
271132013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27114
0b57daeb
SP
27115 [BZ #14496]
27116 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27117 Fix application of SIMD FP exception mask.
27118
caa99d06
SP
27119 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27120 mp_no from a power of two.
27121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27122 __mpexp_twomm1. Use __pow_mp.
27123
d3b9ea61
SP
27124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27125 multiplication.
27126
1dbaee3c
DM
271272013-01-17 David S. Miller <davem@davemloft.net>
27128
27129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27130
728d7b43
JM
271312013-01-17 Joseph Myers <joseph@codesourcery.com>
27132
27133 [BZ #15023]
27134 * include/complex.h: Condition contents on [!_COMPLEX_H].
27135 (__kernel_casinhf): New prototype.
27136 (__kernel_casinh): Likewise.
27137 (__kernel_casinhl): Likewise.
27138 * math/Makefile (libm_calls): Add k_casinh.
27139 * math/k_casinh.c: New file.
27140 * math/k_casinhf.c: Likewise.
27141 * math/k_casinhl.c: Likewise.
27142 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27143 finite nonzero arguments.
27144 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27145 finite nonzero arguments.
27146 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27147 finite nonzero arguments.
27148 * math/s_casinh.c: Do not include <float.h>.
27149 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27150 * math/s_casinhf.c: Do not include <float.h>.
27151 (__casinhf): Move code for finite nonzero arguments to
27152 k_casinhf.c.
27153 * math/s_casinhl.c: Do not include <float.h>.
27154 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27155 redefine.
27156 (__casinhl): Move code for finite nonzero arguments to
27157 k_casinhl.c.
27158 * math/libm-test.inc (cacos_test): Add more tests.
27159 * sysdeps/i386/fpu/libm-test-ulps: Update.
27160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27161
2a26ef3a
PT
271622013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27163
27164 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27165 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27166 [!HAVE_MREMAP]: Remove [defined linux] case.
27167 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27168
a897655d
SP
271692013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27170
27171 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27172
881ebe89 271732013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27174
27175 * elf/elf.h (R_386_SIZE32): New relocation.
27176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27177 R_386_SIZE32.
27178 (elf_machine_rela): Likewise.
27179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27180 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27181
59981e9b
JM
271822013-01-17 Joseph Myers <joseph@codesourcery.com>
27183
27184 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27185 (FP_FAST_FMA): Do not define.
27186 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27187 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27188 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27189 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27190 !_SOFT_FLOAT]: Likewise.
27191 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27193 value.
27194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27195 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27197 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27198 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27199 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27200 file.
27201
cfa8054f
AS
272022013-01-16 Andreas Schwab <schwab@suse.de>
27203
27204 [BZ #14327]
27205 * include/stdlib.h (__mktemp): Add declaration.
27206 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27207 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27208
dd930cc5
SP
272092013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27210
881ebe89
SP
27211 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27212 definitions.
27213 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27214 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27215 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27216 definitions here.
27217 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27218 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27219 definitions.
27220 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27221 and ONE.
27222 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27223 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27225 definitions.
27226 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27227 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27228 definitions.
27229 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27230
dd930cc5
SP
27231 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27232
c19a9f89
DM
272332013-01-15 David S. Miller <davem@davemloft.net>
27234
1aa61767
DM
27235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27236 trunc{,f} to libm-sysdep_routes.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27239 file.
27240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27242 file.
27243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27244 file.
27245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27247 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27251 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27252 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27253
c42d5e98
DM
27254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27255 nearbyint{,f} to libm-sysdep_routes.
27256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27258 New file.
27259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27260 file.
27261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27262 New file.
27263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27264 file.
27265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27268 file.
27269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27271 file.
27272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27273 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27274 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27275
c19a9f89
DM
27276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27277 libc_feholdexcept and libc_fesetenv.
27278
357679d2
MF
272792013-01-15 Mike Frysinger <vapier@gentoo.org>
27280
27281 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27282
65a82e3d
DM
272832013-01-14 David S. Miller <davem@davemloft.net>
27284
8b954ab9
DM
27285 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27286 (SPARC_ASM_VIS2_IFUNC): Likewise.
27287 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27289 use of 'siam' instruction.
27290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27291 Likewise.
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27293 Likewise.
27294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27295 Likewise.
27296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27301 file.
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27303 file.
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27305 file.
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27307 file.
27308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27313 new VIS2 routines.
27314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27317 Likewise.
27318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27323 routines to libm-sysdep_routines.
27324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27325
65a82e3d
DM
27326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27327 fdim/fdimf to libm-sysdep_routines.
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27329 file.
27330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27332 file.
27333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27336 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27337 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27338 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27339 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27340
e34ab705
SP
273412013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27342
2a91b573
SP
27343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27344 to optimize copies.
27345
1066a534
SP
27346 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27349
e34ab705
SP
27350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27351 local variable MPTWO.
27352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27353 Likewise.
27354
aba5e596
MF
273552013-01-13 Mike Frysinger <vapier@gentoo.org>
27356
27357 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27358 GLOB_NOESCAPE.
27359
e557e9e5
MF
273602013-01-13 Mike Frysinger <vapier@gentoo.org>
27361
27362 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27363
0428cec9
MF
273642013-01-13 Mike Frysinger <vapier@gentoo.org>
27365
27366 * manual/pattern.texi (glob_t): Document gl_flags.
27367 (glob64_t): Likewise.
27368
8794a964
DM
273692013-01-11 David S. Miller <davem@davemloft.net>
27370
66438c3f
RM
27371 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27372 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27373 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27374 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27375 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27376 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27377 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27378 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27379 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27380 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27381 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27382 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27383 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27384
4ae4244d
DM
27385 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27386 sparc V9 rather than using V8 code.
27387 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27388 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27389
8794a964
DM
27390 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27391 Move to...
27392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27393 Here.
27394
6270516e
RM
273952013-01-11 Roland McGrath <roland@hack.frob.com>
27396
27397 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27398 not in the main loop.
27399 * configure: Regenerated.
27400
6a57d931
JM
274012013-01-11 Joseph Myers <joseph@codesourcery.com>
27402
27403 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27404 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27405 to just #else.
27406 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27407 [!__GLIBC_HAVE_LONG_LONG] case.
27408 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27409 condition to just #else.
27410 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27411 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27412 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27413 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27414 unconditional.
27415 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27416 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27417 #elif condition to just #else.
27418 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27419 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27420 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27421 #elif condition to just #else.
27422
0e8529e9
SE
274232013-01-11 Steve Ellcey <sellcey@mips.com>
27424
27425 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27426 (EF_MIPS_ARCH_64): Fix value.
27427 (EF_MIPS_ARCH_32R2): New.
27428 (EF_MIPS_ARCH_64R2): New.
27429
740b3dbe
L
274302013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27431
27432 * Makeconfig (+link-pie-before-libc): New.
27433 (+link-pie-after-libc): Likewise.
27434 (+link-pie-tests): Likewise.
27435 (+link-pie): Rewritten.
27436 (link-before-libc): Remove $(config-LDFLAGS).
27437 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27438 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27439 (config-LDFLAGS): Renamed to ...
27440 (rtld-LDFLAGS): This.
27441 (rtld-tests-LDFLAGS): New macro.
27442 (link-libc-rpath-link): Likewise.
27443 (link-libc-tests-rpath-link): Likewise.
27444 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27445 (link-libc): Prepand $(link-libc-rpath-link).
27446 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27447 (test-program-prefix): New macro.
27448 (test-via-rtld-prefix): Likewise.
27449 (test-program-cmd): Likewise.
27450 (host-test-program-cmd): Likewise.
27451 * Makefile ($(common-objpfx)testrun.sh): Replace
27452 $(run-program-prefix) with $(test-program-prefix).
27453 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27454 $(rtld-LDFLAGS).
27455 ($(common-objpfx)shlib.lds): Likewise.
27456 (build-module-helper): Likewise.
27457 ($(common-objpfx)format.lds): Likewise.
27458 * Rules (binaries-pie-tests): New.
27459 (binaries-pie-notests): Likewise.
27460 (binaries-pie): Rewritten.
27461 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27462 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27463 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27464 (make-test-out): Replace $(host-built-program-cmd) with
27465 $(host-test-program-cmd).
27466 * config.make.in (build-hardcoded-path-in-tests): New variable.
27467 * configure.in (--enable-hardcoded-path-in-tests): New configure
27468 option.
27469 (hardcoded_path_in_tests): New AC_SUBST.
27470 * configure: Regenerated.
27471 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27472 $(built-program-cmd) with $(test-program-cmd).
27473 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27474 (test_program_cmd): This.
27475 * elf/Makefile ($(objpfx)order.out): Run test with
27476 $(test-program-prefix).
27477 ($(objpfx)order2.out): Likewise.
27478 ($(objpfx)tst-initorder.out): Likewise.
27479 ($(objpfx)tst-initorder2.out): Likewise.
27480 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27481 $(test-program-cmd).
27482 ($(objpfx)tst-array1-static.out): Likewise.
27483 ($(objpfx)tst-array2.out): Likewise.
27484 ($(objpfx)tst-array3.out): Likewise.
27485 ($(objpfx)tst-array4.out): Likewise.
27486 ($(objpfx)tst-array5.out): Likewise.
27487 ($(objpfx)tst-array5-static.out): Likewise.
27488 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27489 $(test-program-cmd).
27490 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27491 $(run-program-prefix) with $(test-program-prefix).
27492 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27493 (test_program_prefix): This.
27494 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27495 $(run-program-prefix) with $(test-program-prefix).
27496 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27497 (test_program_prefix): This.
27498 * iconvdata/tst-tables.sh: Likewise.
27499 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27500 $(run-program-prefix) with $(test-program-prefix).
27501 ($(objpfx)tst-translit.out): Likewise.
27502 ($(objpfx)tst-gettext2.out): Likewise.
27503 ($(objpfx)tst-gettext4.out): Likewise.
27504 ($(objpfx)tst-gettext6.out): Likewise.
27505 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27506 (test_program_prefix): This.
27507 * intl/tst-gettext2.sh: Likewise.
27508 * intl/tst-gettext4.sh Likewise.
27509 * intl/tst-gettext6.sh: Likewise.
27510 * intl/tst-translit.sh: Likewise.
27511 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27512 with $(test-program-cmd).
27513 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27514 $(run-program-prefix) with $(test-program-prefix).
27515 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27516 (test_program_prefix): This.
27517 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27518 $(run-program-prefix) with $(test-program-prefix).
27519 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27520 (test_program_prefix): This.
27521 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27522 * posix/Makefile ($(objpfx)globtest.out): Replace
27523 $(run-via-rtld-prefix) and $(test-wrapper) with
27524 $(test-program-prefix) and $(test-via-rtld-prefix).
27525 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27526 $(test-program-prefix).
27527 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27528 $(host-test-program-cmd).
27529 (tst-spawn-ARGS): Likewise.
27530 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27531 $(test-program-prefix).
27532 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27533 (test_via_rtld_prefix): This.
27534 (test_wrapper): Renamed to ...
27535 (test_program_prefix): This.
27536 (run_program_prefix): Replaced by test_program_prefix.
27537 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27538 (test_program_prefix): This.
27539 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27540 with $(host-test-program-cmd).
27541 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27542 $(run-program-prefix) with $(test-program-prefix).
27543 ($(objpfx)tst-printf.out): Likewise.
27544 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27545 $(test-program-cmd).
27546 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27547 (test_program_prefix): This.
27548 * stdio-common/tst-unbputc.sh: Likewise.
27549 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27550 $(run-program-prefix) with $(test-program-prefix).
27551 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27552 (test_program_prefix): This.
27553 * string/Makefile ($(objpfx)tst-svc.out): Replace
27554 $(built-program-cmd) with $(test-program-cmd).
27555
c6fe55cf
AJ
275562013-01-11 Andreas Jaeger <aj@suse.de>
27557
27558 [BZ #15003]
27559 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27560 value. Sync with Linux 3.7.
27561
9e6919c8
DM
275622013-01-10 David S. Miller <davem@davemloft.net>
27563
27564 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27565 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27566 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27567
1c9f1a02
RM
275682013-01-10 Roland McGrath <roland@hack.frob.com>
27569
27570 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27571 never set.
27572 * configure: Regenerated.
27573
b9de2dde
DM
275742013-01-10 David S. Miller <davem@davemloft.net>
27575
27576 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27577 sparc V9 rather than using V8 code.
27578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27580
e7f68ef4
RM
275812013-01-10 Roland McGrath <roland@hack.frob.com>
27582
27583 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27584 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27585 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27586 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27587 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27588 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27589 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27590 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27591 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27592 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27593 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27594 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27595 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27596 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27597 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27598 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27599 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27600 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27601 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27602 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27603 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27604 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27605 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27606 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27607 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27608 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27609 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27610
5a47cc9c
DM
276112013-01-10 David S. Miller <davem@davemloft.net>
27612
27613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27614
4cf8f209
L
276152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27616
27617 * posix/Makefile (tests-static): New variable.
27618 (tests): Add $(tests-static).
27619 (tst-exec-static-ARGS): New variable.
27620 (tst-spawn-static-ARGS): Likewise.
27621 * posix/tst-exec-static.c: New file.
27622 * posix/tst-spawn-static.c: Likewise.
27623 * posix/tst-exec.c: Support run directly.
27624 * posix/tst-spawn.c: Likewise.
27625
fed0faa1
JM
276262013-01-10 Joseph Myers <joseph@codesourcery.com>
27627
828beb13
JM
27628 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27629 long.
27630 * math/bits/mathcalls.h (llrint): Likewise.
27631 (llround): Likewise.
27632 * stdlib/stdlib.h (struct drand48_data): Likewise.
27633 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27634 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27635 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27636 Likewise.
27637 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27638 Likewise.
27639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27640 (elf_greg_t): Likewise.
27641 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27642 (__jmp_buf): Likewise.
27643 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27644 definitions.
27645 (llrint): Likewise, for all definitions.
27646 (llrintl): Likewise.
27647
fed0faa1
JM
27648 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27649 Remove [__GNUC__] condition.
27650 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27651 condition to just [__USE_ISOC99].
27652 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27653
1a20cb20
L
276542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27655
27656 [BZ #14200]
27657 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27658 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27659 defined.
27660 (_POSIX_V6_ILP32_OFF32): Likewise.
27661 (_XBS5_ILP32_OFF32): Likewise.
27662 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27663 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27664
751b85f7
SP
276652013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27666
7490eb81
SP
27667 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27668
751b85f7
SP
27669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27670 doubles __mpexp_twomm1. Adjust usage.
27671 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27672 Remove.
27673
988197f0
AS
276742013-01-10 Andreas Schwab <schwab@suse.de>
27675
27676 [BZ #14964]
27677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27678 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27679
e83d7298
DM
276802013-01-09 David S. Miller <davem@davemloft.net>
27681
034ed64b 27682 [BZ #15003]
57f41c40
AS
27683 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27684 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27685 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27686 (TCP_FASTOPEN): Define.
e83d7298
DM
27687 (tcp_repair_opt): New structure.
27688 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27689 enum values.
57f41c40
AS
27690 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27691 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27692 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27693 (tcp_cookie_transactions): New structure.
27694
d5e0b9bd
AB
276952013-01-09 Anton Blanchard <anton@samba.org>
27696
27697 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27698 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27699 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27700 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27701
0c07e3ea
JM
277022013-01-09 Joseph Myers <joseph@codesourcery.com>
27703
27704 * include/features.h (__USE_ANSI): Remove.
27705
232f7002
RM
277062013-01-09 Roland McGrath <roland@hack.frob.com>
27707
ad98e30c
RM
27708 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27709
232f7002
RM
27710 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27711
950c99ca
SP
277122013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27713
b5792741
SP
27714 * sysdeps/s390/fpu/libm-test-ulps: Update.
27715
47cf2278
SP
27716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27717
950c99ca
SP
27718 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27719 (__acr): Likewise.
27720 (__cpy): Likewise.
27721 (norm): Likewise.
27722 (denorm): Likewise.
27723 (__mp_dbl): Likewise.
27724 (__dbl_mp): Likewise.
27725 (add_magnitudes): Likewise.
27726 (sub_magnitudes): Likewise.
27727 (__add): Likewise.
27728 (__sub): Likewise.
27729 (__mul): Likewise.
27730 (__inv): Likewise.
27731 (__dvd): Likewise.
27732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27733 (__acr): Likewise.
27734 (__cpy): Likewise.
27735 (norm): Likewise.
27736 (denorm): Likewise.
27737 (__mp_dbl): Likewise.
27738 (__dbl_mp): Likewise.
27739 (add_magnitudes): Likewise.
27740 (sub_magnitudes): Likewise.
27741 (__add): Likewise.
27742 (__sub): Likewise.
27743 (__mul): Likewise.
27744 (__inv): Likewise.
27745 (__dvd): Likewise.
27746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27747 (__acr): Likewise.
27748 (__cpy): Likewise.
27749 (norm): Likewise.
27750 (denorm): Likewise.
27751 (__mp_dbl): Likewise.
27752 (__dbl_mp): Likewise.
27753 (add_magnitudes): Likewise.
27754 (sub_magnitudes): Likewise.
27755 (__add): Likewise.
27756 (__sub): Likewise.
27757 (__mul): Likewise.
27758 (__inv): Likewise.
27759 (__dvd): Likewise.
27760
eede9df9
JM
277612013-01-08 Joseph Myers <joseph@codesourcery.com>
27762
27763 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27764 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27765 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27766 2 && __USE_EXTERN_INLINES]: Likewise.
27767
c40ea3d9
AJ
277682013-01-08 Andreas Jaeger <aj@suse.de>
27769
27770 [BZ# 14985]
27771 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27772 Remove.
27773 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27774 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27775
2ccdea26
AB
277762013-01-07 Anton Blanchard <anton@samba.org>
27777
27778 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27779 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27780 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27781 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27783 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27784 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27785 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27787 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27788 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27790 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27791 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27792 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27796 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27798 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27799 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27801 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27802 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27803 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27807 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27808 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27814 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27815 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27816 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27817 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27818 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27820 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27821
a9708fed
JM
278222013-01-07 Joseph Myers <joseph@codesourcery.com>
27823
375607b9
JM
27824 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27825 (__MALLOC_PMT): Likewise.
27826 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27827 [__GNUC__], only on [_LIBC].
27828 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27829 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27830 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27831 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27832 forward declaration.
27833 (realloc_hook_ini): Likewise.
27834 (memalign_hook_ini): Likewise.
27835 (__libc_memalign): Do not use __MALLOC_PMT in variable
27836 declaration.
27837 (__libc_valloc): Likewise.
27838 (__libc_pvalloc): Likewise.
27839 (__libc_calloc): Likewise.
27840 (__posix_memalign): Likewise.
27841
a9708fed
JM
27842 [BZ #14996]
27843 * math/s_casinh.c: Include <float.h>.
27844 (__casinh): Do not do computation with squaring and square root
27845 for large arguments.
27846 * math/s_casinhf.c: Include <float.h>.
27847 (__casinhf): Do not do computation with squaring and square root
27848 for large arguments.
27849 * math/s_casinhl.c: Include <float.h>.
27850 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27851 (__casinhl): Do not do computation with squaring and square root
27852 for large arguments.
27853 * math/libm-test.inc (casin_test): Add more tests.
27854 (casinh_test): Likewise.
27855 * sysdeps/i386/fpu/libm-test-ulps: Update.
27856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27857
afec409a
L
278582013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27859
27860 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27861 (__x86_64_raw_data_cache_size): Likewise.
27862 (__x86_64_data_cache_size_half): Likewise.
27863 (__x86_64_raw_data_cache_size_half): Likewise.
27864 (__x86_64_shared_cache_size): Likewise.
27865 (__x86_64_raw_shared_cache_size): Likewise.
27866 (__x86_64_shared_cache_size_half): Likewise.
27867 (__x86_64_raw_shared_cache_size_half): Likewise.
27868 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27869 to ...
27870 (__x86_data_cache_size): This.
27871 (__x86_64_raw_data_cache_size): Renamed to ...
27872 (__x86_raw_data_cache_size): This.
27873 (__x86_64_data_cache_size_half): Renamed to ...
27874 (__x86_data_cache_size_half): This.
27875 (__x86_64_raw_data_cache_size_half): Renamed to ...
27876 (__x86_raw_data_cache_size_half): This.
27877 (__x86_64_shared_cache_size): Renamed to ...
27878 (__x86_shared_cache_size): This.
27879 (__x86_64_raw_shared_cache_size): Renamed to ...
27880 (__x86_raw_shared_cache_size): This.
27881 (__x86_64_shared_cache_size_half): Renamed to ...
27882 (__x86_shared_cache_size_half): This.
27883 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27884 (__x86_raw_shared_cache_size_half): This.
27885 * sysdeps/x86_64/memcpy.S: Updated.
27886 * sysdeps/x86_64/memset.S: Likewise.
27887 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27888 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27889 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27890
0b3986d0
DM
278912013-01-04 David S. Miller <davem@davemloft.net>
27892
27893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27894
e47686e9
AS
278952013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27896
d643bac1
AS
27897 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27898 1 to avoid redefinition warning.
27899 (__USE_GNU): Don't define.
27900 (init_signaling_nan): Protoize.
27901
e47686e9
AS
27902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27903
b18decba
SP
279042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27905
fffb407f
SP
27906 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27908 (__cpymn): Likewise.
27909 (norm): Remove commented code.
27910 (denorm): Likewise.
27911 (__mp_dbl): Likewise.
27912 (__inv): Likewise.
27913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27914 (__cpymn): Likewise.
27915 (norm): Remove commented code.
27916 (denorm): Likewise.
27917 (__mp_dbl): Likewise.
27918 (__inv): Likewise.
27919
b18decba
SP
27920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27921 mp_no value for 1.0 and 2.0.
27922 (norm): Use RADIXI instead of radixi.d.
27923 (denorm): Likewise.
27924 (__mul): Use 0.0 instead of zero.d.
27925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27926 mp_no value for 1.0 and 2.0.
27927 (norm): Use RADIXI instead of radixi.d.
27928 (denorm): Likewise.
27929 (__mul): Use 0.0 instead of zero.d.
27930
cdc1c96f
JM
279312013-01-04 Joseph Myers <joseph@codesourcery.com>
27932
27933 [BZ #14994]
27934 * math/s_casinh.c (__casinh): Reduce finite argument to first
27935 quadrant then set signs of results at the end.
27936 * math/s_casinhf.c (__casinhf): Likewise.
27937 * math/s_casinhl.c (__casinhl): Likewise.
27938 * math/libm-test.inc (casin_test): Add more tests.
27939 (casinh_test): Likewise.
27940 * sysdeps/i386/fpu/libm-test-ulps: Update.
27941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27942
302913e1
SP
279432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27944
6420d207
SP
27945 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27946
a9e48ab4
SP
27947 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27948
b7837264
SP
27949 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27950 declarations.
27951 (denorm): Likewise.
27952 (__mp_dbl): Likewise.
27953 (__inv): Likewise.
27954
f8af25d2
SP
27955 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27956 and adjust the header comment.
27957
302913e1
SP
27958 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27959 variable name from declaration.
27960
5d7dd1ca
L
279612013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27962
27963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27964 Initialize COMMON_CPUID_INDEX_7 element.
27965 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27966 (CPUID_RTM): Likewise.
27967 (HAS_RTM): Likewise.
27968 (COMMON_CPUID_INDEX_7): New enum.
27969
2f5f40f4
AS
279702013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27971
27972 [BZ #14981]
27973 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27974 size is zero, record memory as freed.
27975
4056f4a0
AJ
279762013-01-03 Andreas Jaeger <aj@suse.de>
27977
27978 * po/ia.po: Add new Interlingua translation.
27979
ab15736f 279802012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27981
27982 * locale/programs/localedef.c: Fix description of '--posix' flag.
27983
568035b7
JM
279842013-01-02 Joseph Myers <joseph@codesourcery.com>
27985
e6898b8d
JM
27986 * NEWS: Update dates in second copyright notice.
27987 * README: Update copyright dates in example.
27988 * manual/libc.texinfo: Update copyright dates.
27989 * scripts/test-installation.pl: Update copyright date in --version
27990 output.
27991
0e2f9562
JM
27992 * hurd/ctty-input.c: Fix copyright notice formatting.
27993 * hurd/ctty-output.c: Likewise.
27994 * hurd/dtable.c: Likewise.
27995 * hurd/hurd-raise.c: Likewise.
27996 * hurd/hurdprio.c: Likewise.
27997 * hurd/msgportdemux.c: Likewise.
27998 * misc/sys/file.h: Likewise.
27999 * misc/sys/ioctl.h: Likewise.
28000 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28001 * sysdeps/mach/hurd/chdir.c: Likewise.
28002 * sysdeps/mach/hurd/fchdir.c: Likewise.
28003 * sysdeps/mach/hurd/rename.c: Likewise.
28004 * sysdeps/mach/hurd/rmdir.c: Likewise.
28005 * sysdeps/mach/hurd/seekdir.c: Likewise.
28006 * sysdeps/mach/hurd/setsid.c: Likewise.
28007 * sysdeps/posix/wait3.c: Likewise.
28008
568035b7
JM
28009 * All files with FSF copyright notices: Update copyright dates
28010 using scripts/update-copyrights.
28011 * intl/plural.c: Regenerated.
28012 * locale/programs/charmap-kw.h: Likewise.
28013 * locale/programs/locfile-kw.h: Likewise.
28014
da08f647
SP
280152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28016
0f5477af
SP
28017 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28018 four values.
28019
44e0d4c2
SP
28020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28021 calculation loop and add branch prediction.
28022
4d55b4e5
SP
28023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28024 check access beyond bounds of m1np.
28025
da08f647
SP
28026 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28027 MPTWO.
28028 (__inv): Remove local variable MPTWO to use the global
28029 constant.
28030 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28031 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28032 variable MPTWO.
28033 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28034 MP3HALFS static const.
28035
8e051029
DM
280362013-01-01 David S. Miller <davem@davemloft.net>
28037
28038 * po/ca.po: Update from translation team.
28039
f4cf5f2d
JM
280402013-01-01 Joseph Myers <joseph@codesourcery.com>
28041
28042 * scripts/update-copyrights: New file.
28043 * Makeconfig: Reformat copyright notice.
28044 * ctype/ctype.h: Likewise.
28045 * debug/swprintf_chk.c: Likewise.
28046 * elf/dl-cache.c: Likewise.
28047 * elf/dl-debug.c: Likewise.
28048 * elf/dl-object.c: Likewise.
28049 * grp/initgroups.c: Likewise.
28050 * hurd/Makefile: Likewise.
28051 * hurd/hurd/signal.h: Likewise.
28052 * hurd/hurdfault.c: Likewise.
28053 * hurd/hurdioctl.c: Likewise.
28054 * hurd/hurdlookup.c: Likewise.
28055 * hurd/intr-msg.c: Likewise.
28056 * iconv/gconv_open.c: Likewise.
28057 * libio/swprintf.c: Likewise.
28058 * locale/lc-ctype.c: Likewise.
28059 * locale/nl_langinfo.c: Likewise.
28060 * mach/Machrules: Likewise.
28061 * mach/Makefile: Likewise.
28062 * malloc/obstack.h: Likewise.
28063 * manual/Makefile: Likewise.
28064 * manual/tsort.awk: Likewise.
28065 * misc/bits/stab.def: Likewise.
28066 * nis/nis_print_group_entry.c: Likewise.
28067 * nis/nis_table.c: Likewise.
28068 * nis/nss_compat/compat-pwd.c: Likewise.
28069 * nis/nss_compat/compat-spwd.c: Likewise.
28070 * po/Makefile: Likewise.
28071 * posix/fnmatch.c: Likewise.
28072 * posix/regex.h: Likewise.
28073 * resolv/Makefile: Likewise.
28074 * resolv/nss_dns/dns-network.c: Likewise.
28075 * resolv/res_hconf.c: Likewise.
28076 * scripts/gen-sorted.awk: Likewise.
28077 * soft-fp/soft-fp.h: Likewise.
28078 * stdio-common/printf.h: Likewise.
28079 * stdlib/monetary.h: Likewise.
28080 * stdlib/random.c: Likewise.
28081 * stdlib/random_r.c: Likewise.
28082 * sysdeps/generic/Makefile: Likewise.
28083 * sysdeps/gnu/Makefile: Likewise.
28084 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28086 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28088 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28094 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28095 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28096 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28097 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28098 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28100 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28102 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28107 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28108 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28110 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28112 * sysdeps/mach/hurd/errnos.awk: Likewise.
28113 * sysdeps/mach/hurd/fork.c: Likewise.
28114 * sysdeps/mach/hurd/getcwd.c: Likewise.
28115 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28116 * sysdeps/mach/hurd/mmap.c: Likewise.
28117 * sysdeps/mach/hurd/utimes.c: Likewise.
28118 * sysdeps/mach/hurd/xmknod.c: Likewise.
28119 * sysdeps/posix/profil.c: Likewise.
28120 * sysdeps/posix/readdir_r.c: Likewise.
28121 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28122 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28123 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28124 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28126 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28128 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28130 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28131 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28132 * sysdeps/pthread/lio_listio.c: Likewise.
28133 * sysdeps/sparc/dl-procinfo.h: Likewise.
28134 * sysdeps/unix/i386/sysdep.S: Likewise.
28135 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28136 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28137 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28138 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28140 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28141 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28142 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28143 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28144 * sysdeps/wordsize-32/divdi3.c: Likewise.
28145 * time/sys/time.h: Likewise.
28146 * wcsmbs/Makefile: Likewise.
28147
0549fbba
DM
281482013-01-01 David S. Miller <davem@davemloft.net>
28149
a141f1a7
DM
28150 * po/fr.po: Update from translation team.
28151
0549fbba
DM
28152 * catgets/gencat.c: Update copyright year.
28153 * csu/version.c: Likewise.
28154 * debug/catchsegv.sh: Likewise.
28155 * debug/pcprofiledump.c: Likewise.
28156 * debug/xtrace.sh: Likewise.
28157 * elf/ldconfig.c: Likewise.
28158 * elf/ldd.bash.in: Likewise.
28159 * elf/pldd.c: Likewise.
28160 * elf/sotruss.ksh: Likewise.
28161 * elf/sprof.c: Likewise.
28162 * iconv/iconv_prog.c: Likewise.
28163 * iconv/iconvconfig.c: Likewise.
28164 * locale/programs/locale.c: Likewise.
28165 * locale/programs/localedef.c: Likewise.
28166 * login/programs/pt_chown.c: Likewise.
28167 * malloc/memusage.sh: Likewise.
28168 * malloc/memusagestat.c: Likewise.
28169 * malloc/mtrace.pl: Likewise.
28170 * nscd/nscd.c: Likewise.
28171 * nss/getent.c: Likewise.
28172 * nss/makedb.c: Likewise.
28173 * posix/getconf.c: Likewise.
28174
18ea052c
SP
281752012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28176
28177 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28178 numbers.
28179
9c89fca6
MF
281802012-12-30 Mike Frysinger <vapier@gentoo.org>
28181
28182 * math/bits/mathcalls.h (modf): Use __nonnull.
28183
085ec079
SP
281842012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28185
28186 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28187 (split): Use macro CN instead of the bare value.
28188 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28189 could be used.
28190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28191 instead of the bare value.
28192 (power1): Likewise.
28193
6d9f97e1
SP
281942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28195
d63f73be
SP
28196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28197 __ATAN_TWOM.
28198 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28199
6d9f97e1
SP
28200 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28201 their values.
28202 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28203 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28204 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28205 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28206
4c4febf5
AJ
282072012-12-28 Andreas Jaeger <aj@suse.de>
28208
af5843ef
AJ
28209 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28210 values are from Linux 3.7.
28211
4c4febf5
AJ
28212 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28213 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28214
99136f82
SP
282152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28216
2f216c3c 28217 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28218 TRUE case.
28219
99136f82
SP
28220 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28221 (norm): Likewise.
28222 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28223 variables with preprocessor constants.
28224 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28225 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28226 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28227
7fffbdff
BH
282282012-12-27 Bruno Haible <bruno@clisp.org>
28229
28230 [BZ #14317]
28231 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28232 only if needed.
28233
b76eb5f0
SP
282342012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28235
31a7fe5c
SP
28236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28237 and use variable directly.
28238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28239
b76eb5f0
SP
28240 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28241 MPONE.
28242 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28243 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28244 variable MPONE.
28245 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28247 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28248 include directive. Remove local variable MPONE.
28249 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28252
2c8bfe7d
DM
282532012-12-25 David S. Miller <davem@davemloft.net>
28254
28255 * version.h (RELEASE): Set to "development".
28256 (VERSION): Set to "2.17.90".
28257 * NEWS: Add 2.18 section.
28258
147d03b0
DM
282592012-12-21 David S. Miller <davem@davemloft.net>
28260
28261 * po/hr.po: Update from translation team.
28262
a8ebb2b9
AK
282632012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28264
28265 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28266
95b4f1b6
SE
282672012-12-19 Steve Ellcey <sellcey@mips.com>
28268
b2d94007 28269 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28270
cedb2a90
MS
282712012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28272
28273 * manual/contrib.texi (Contributors): Spelling correction.
28274
bbf527d6
DM
282752012-12-15 David S. Miller <davem@davemloft.net>
28276
28277 * po/ru.po: Update from translation team.
28278
bc38c906
DM
282792012-12-13 David S. Miller <davem@davemloft.net>
28280
85429b1a
DM
28281 * NEWS: Mention IFUNC testsuite enhancements.
28282
d283e353
DM
28283 * po/pl.po: Update from translation team.
28284 * po/bg.po: Likewise.
28285
bc38c906
DM
28286 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28287 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28288
a181b0d7
DM
282892012-12-11 David S. Miller <davem@davemloft.net>
28290
4641d57e
DM
28291 * po/sv.po: Update from translation team.
28292
f7bc6495
DM
28293 * po/vi.po: Update from translation team.
28294
6fc9048f
DM
28295 * po/cs.po: Update from translation team.
28296
a181b0d7
DM
28297 * po/de.po: Update from translation team.
28298 * po/eo.po: Likewise.
28299 * po/nl.po: Likewise.
28300
f70bfe80
SP
283012012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28302
3c8b4190
SP
28303 [BZ #14246]
28304 * manual/argp.texi (Argp Helper Functions): Move node to follow
28305 Argp Parsing State.
28306
f70bfe80
SP
28307 [BZ #14872]
28308 * manual/conf.texi (Limits on File System Capacity): Mention if
28309 terminating null is included in the max size.
28310
188f0adf
AJ
283112012-12-10 Andreas Jaeger <aj@suse.de>
28312
28313 * po/cs.po: Update from translation team.
28314
56e7d3ad
SP
283152012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28316
28317 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28318 void pointer and cast to uintptr_t.
28319 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28320 path.
28321 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28322 * sysdeps/s390/s390-64/memset.S: Likewise.
28323
76f2d2ea 283242012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28325
28326 [BZ #14833]
28327 * menual/message.texi (Message Translation): Fix typos.
28328 (Helper programs for gettext): Likewise.
28329
67cbf9a2
AS
283302012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28331
28332 [BZ #14898]
28333 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28334 Change to -1.
28335
682d0e9a
DM
283362012-12-07 David S. Miller <davem@davemloft.net>
28337
28338 * po/libc.pot: Update.
28339
573cd484
RH
283402012-12-07 Richard Henderson <rth@redhat.com>
28341
7e9da188 28342 [BZ #10114]
573cd484
RH
28343 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28344 normal/normal case to before the switch.
28345 (_FP_DIV): Likewise.
28346
e933a943
MF
283472012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28348 Mike Frysinger <vapier@gentoo.org>
28349
28350 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28351 check for __NR_fadvise64_64.
28352
82123268
CM
283532012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28354
28355 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28356 0, not just to plain "0" as a statement.
28357 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28358 with cw.
28359
d9814526
JM
283602012-12-06 Joseph Myers <joseph@codesourcery.com>
28361
28362 * NEWS: Use sourceware.org in Bugzilla URL.
28363
7728c574
SP
283642012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28365
f16946dd
SP
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28367 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28368
5704bbcb
SP
28369 * stdio-common/tst-put-error.c (do_test): Add newline to the
28370 padded test to ensure flush.
28371
17aa0516
JL
283722012-12-05 Jeff Law <law@redhat.com>
28373
28374 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28375
363313b5
JM
283762012-12-05 Joseph Myers <joseph@codesourcery.com>
28377
effbd42a
JM
28378 * README: Don't refer to ports add-on as distributed separately.
28379 Mention AArch64 in list of systems supported in the ports add-on.
28380
87600365
JM
28381 * LICENSES: Add more non-FSF copyright and license notices.
28382
a0d7066a
JM
28383 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28384 ((unused)).
28385
66ca5a5b
JM
28386 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28387
363313b5
JM
28388 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28389 10000 as width of padded output.
28390
b37984ad
JM
283912012-12-04 Joseph Myers <joseph@codesourcery.com>
28392
9003570a
JM
28393 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28394
b37984ad
JM
28395 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28396 variable LX with __attribute__ ((unused)).
28397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28398 Likewise.
28399 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28402 with __attribute__ ((unused)).
28403
c8df52ec
DM
284042012-12-04 David S. Miller <davem@abraco.davemloft.net>
28405
28406 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28407
b3b099af
JM
284082012-12-04 Joseph Myers <joseph@codesourcery.com>
28409
c33aa6e3
JM
28410 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28411 (CFLAGS-nldbl-acos.c): New variable.
28412 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28413 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28414 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28415 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28416 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28417 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28418 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28419 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28420 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28421 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28422 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28423 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28424 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28425 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28426 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28427 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28428 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28429 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28430 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28431 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28432 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28433 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28434 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28435 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28436 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28437 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28438 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28439 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28440 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28441 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28442 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28443 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28444 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28445 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28446 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28447 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28448 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28449 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28450 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28451 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28452 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28453 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28454 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28455 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28456 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28457 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28458 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28459 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28460 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28461 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28462 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28463 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28464 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28465 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28466 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28467 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28468 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28469 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28470 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28471 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28472 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28473 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28474 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28475 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28476 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28477 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28478 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28479 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28480 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28481 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28482 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28483 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28484 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28485 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28486 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28487 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28488 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28489 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28490 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28491 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28492 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28493 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28494 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28495 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28496 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28497 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28498 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28499 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28500 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28501 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28502 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28503 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28504 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28505 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28506 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28507 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28508 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28509
20f0018d
JM
28510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28511 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28512
b3b099af
JM
28513 [BZ #14914]
28514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28515 whole low double instead of just low 47 bits when splitting values
28516 into two parts.
28517
029264d1
AM
285182012-12-03 Allan McRae <allan@archlinux.org>
28519
28520 * manual/stdio.texi (Predefined Printf Handlers): Remove
28521 @hsep and @vsep usage.
28522
c9d6789e
MF
285232012-12-03 Mike Frysinger <vapier@gentoo.org>
28524
28525 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28526 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28527
4b7634a5
JL
285282012-12-03 Jeff Law <law@redhat.com>
28529
28530 * time/sys/time.h (settimeofday): Do not mark TV argument
28531 as __nonnull.
28532
eb6cbd24
MF
285332012-12-01 Mike Frysinger <vapier@gentoo.org>
28534
28535 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28536 when currently writing and seek to current position when not.
28537 * libio/Makefile (tests): Remove bug-fclose1.
28538 * libio/bug-fclose1.c: Delete.
28539
f638872a
JM
285402012-12-01 Joseph Myers <joseph@codesourcery.com>
28541
28542 * manual/arith.texi (feenableexcept): Fix typo.
28543 (fedisableexcept): Likewise.
28544
48085d14
RM
285452012-11-30 Roland McGrath <roland@hack.frob.com>
28546
28547 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28548 second, differently-typed declaration, rather than a cast.
28549
1a538b9f
SP
285502012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28551
28552 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28553 * include/rpc/svc.h: ... here.
28554
d07f2ff1 285552012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28556
28557 [BZ #13013]
28558 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28559 depending n and resplen2 to catch cases where answer
28560 equals answerp2.
28561
c93ec1f0
CD
285622012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28563
28564 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28565 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28566
37db69de
MF
285672012-11-29 Mike Frysinger <vapier@gentoo.org>
28568
28569 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28570
e10c4e4f
RM
285712012-11-29 Roland McGrath <roland@hack.frob.com>
28572
28573 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28574
2af1b328
JL
285752012-11-28 Jeff Law <law@redhat.com>
28576
28577 [BZ #13761]
28578 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28579 dataset_temporary. Track alloca usage into alloca_used.
28580 If dataset is large allocate and release it via malloc/free.
28581
111db5b1
FW
285822012-06-04 Florian Weimer <fweimer@redhat.com>
28583
f06cc227 28584 [BZ #14197]
111db5b1
FW
28585 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28586
dd694abd
DM
285872012-11-28 David S. Miller <davem@davemloft.net>
28588
28589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28590
9984dd01
JM
285912012-11-28 Joseph Myers <joseph@codesourcery.com>
28592
28593 [BZ #14803]
28594 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28595 of pi/2 rounded to nearest to 64 bits.
28596 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28597 nearest to 64 bits.
28598 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28599 bits.
28600
14bc93a9
JL
286012012-11-28 Jeff Law <law@redhat.com>
28602 Martin Osvald <mosvald@redhat.com>
28603
28604 [BZ #14889]
28605 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28606 * sunrpc/svc.c: Include time.h.
28607 (__svc_accept_failed): New function.
28608 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28609 any reason other than EINTR, call __svc_accept_failed.
28610 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28611 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28612
e3c6aa3a
AS
286132012-11-28 Andreas Schwab <schwab@suse.de>
28614
28615 * scripts/abilist.awk: Also handle indirect functions in .opd
28616 section.
28617
1bead169
JM
286182012-11-28 Joseph Myers <joseph@codesourcery.com>
28619
28620 [BZ #13881]
28621 * sysdeps/x86/fpu/powl_helper.c: New file.
28622 * sysdeps/x86/fpu/Makefile: Likewise.
28623 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28624 (p3): New object.
28625 (__ieee754_powl): Use __powl_helper for finite arguments except
28626 integer exponents below 8.
28627 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
28632 previously disabled tests.
28633 * sysdeps/i386/fpu/libm-test-ulps: Update.
28634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28635
0817d63d
SP
286362012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28637 Carlos O'Donell <carlos_odonell@mentor.com>
28638
28639 * nss/makedb.c (is_prime): Assert that input is odd and greater
28640 than 4. Note that fact in a comment too.
28641 (next_prime): Add 4 to input.
28642
de2fd463
SP
286432012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28644
28645 [BZ #11741]
28646 * libio/Makefile (tests): Add test case tst-fwrite-error.
28647 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28648 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28649 * libio/tst-fwrite-error.c: New test case.
28650
c515fb51
L
286512012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28652
28653 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28654 before casting to void *.
28655 * include/libc-internal.h (__pointer_type): New macro.
28656 (__integer_if_pointer_type_sub): Likewise.
28657 (__integer_if_pointer_type): Likewise.
28658 (cast_to_integer): Likewise.
28659 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28660 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28661 before casting to atomic64_t.
28662 (atomic_exchange_acq): Likewise.
28663 (__arch_exchange_and_add_body): Likewise.
28664 (__arch_add_body): Likewise.
28665 (atomic_add_negative): Likewise.
28666 (atomic_add_zero): Likewise.
28667
4cf77aa9
JM
286682012-11-26 Joseph Myers <joseph@codesourcery.com>
28669
28670 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28671 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28672 (add_fdes): Likewise.
28673 (linear_search_fdes): Likewise.
28674 (binary_search_unencoded_fdes): Likewise.
28675
d260b3b4
AS
286762012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28677
28678 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28679
67060746
AC
286802012-11-24 Adam Conrad <adconrad@0c3.net>
28681
28682 * configure.in: Autodetect C++ header directories.
28683 * configure: Regenerated.
28684
800938a1
MF
286852012-11-23 Mike Frysinger <vapier@gentoo.org>
28686
28687 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28688
4e6e34e6
AS
286892012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28690
28691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28692
7c7feb47
JM
286932012-11-22 Joseph Myers <joseph@codesourcery.com>
28694
7184dcdf
JM
28695 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28696 LDBL_MANT_DIG == 106]: Disable some tests.
28697 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28698 Likewise.
28699 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28700 Likewise.
28701
0a42601f
JM
28702 [BZ #14871]
28703 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28704 input for small inputs. Return +/- pi/2 for large inputs.
28705 * math/libm-test.inc (atan_test): Add more tests.
28706
79c9b9fe
JM
28707 * sysdeps/generic/unwind-dw2-fde-glibc.c
28708 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28709 __attribute__ ((unused)).
28710
c60d3bf2
JM
28711 [BZ #14645]
28712 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28713 x * y if x and y are nonzero and z is zero.
28714
ef1e0867
JM
28715 [BZ #14811]
28716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28717 nonzero exponents with absolute value below 0x1p-117 to +/-
28718 0x1p-117.
28719
1468ded3
JM
28720 [BZ #14869]
28721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28722 up arguments below 2**-450, not just those below 2**-500.
28723 * math/libm-test.inc (hypot_test): Add another test.
28724
8e27e3cc
JM
28725 [BZ #14868]
28726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28727 Return a+b for ratio over 2**120, not 2**60.
28728 * math/libm-test.inc (hypot_test): Add another test.
28729
c9c0279b
JM
28730 * math/libm-test.inc (clog_test): Use
28731 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28732 (clog10_test): Likewise.
28733
7c7feb47
JM
28734 [BZ #6778]
28735 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28736
fff1530e
AS
287372012-11-22 Andreas Schwab <schwab@suse.de>
28738
28739 * sysdeps/i386/fpu/libm-test-ulps: Update.
28740
94558d30
PT
287412012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28742
28743 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28744 printf output with newline.
28745
7e1be741
L
287462012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28747
6bfea974
L
28748 [BZ #14865]
28749 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28750 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28751 -z nodlopen, -z initfirst and -z execstack support.
28752 * configure: Regenerated.
28753
7e1be741
L
28754 * elf/elf.h (DF_1_NODIRECT): New macro.
28755 (DF_1_IGNMULDEF): Likewise.
28756 (DF_1_NOKSYMS): Likewise.
28757 (DF_1_NOHDR): Likewise.
28758 (DF_1_EDITED): Likewise.
28759 (DF_1_NORELOC): Likewise.
28760 (DF_1_SYMINTPOSE): Likewise.
28761 (DF_1_GLOBAUDIT): Likewise.
28762 (DF_1_SINGLETON): Likewise.
28763 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28764 DT_1_SUPPORTED_MASK bits.
28765 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28766
105ce2ce
CD
287672012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28768
28769 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28770
123be9de
TS
287712012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28772
d072f3f7
TS
28773 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28774 macro.
28775
123be9de
TS
28776 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28777 (sendmmsg): Move declarations...
28778 * socket/sys/socket.h: ... here.
28779 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28780 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28781 include it from...
28782 * socket/recvmmsg.c: ... this new file.
28783 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28784 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28785 definition of __sendmmsg hidden.
28786 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28787 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28788 Move ENOSYS stub into and include it from...
28789 * socket/sendmmsg.c: ... this new file.
28790 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28791 (sysdep_routines): Move recvmmsg and sendmmsg...
28792 * socket/Makefile (routines): ... here.
28793 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28794 (GLIBC_PRIVATE): Add __sendmmsg.
28795 * include/sys/socket.h (__sendmmsg): Add declarations.
28796 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28797 sendmmsg.
28798
cf9a5d18
JM
287992012-11-20 Joseph Myers <joseph@codesourcery.com>
28800
28801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28802 variable I1 with __attribute__ ((unused)).
28803 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28804
ecd4caf9
JM
288052012-11-19 Joseph Myers <joseph@codesourcery.com>
28806
be14d48f
JM
28807 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28808 DUMMY variables with __attribute__ ((unused)).
28809
ecd4caf9
JM
28810 * bits/byteswap.h: Include <bits/types.h>.
28811 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28812
986cab95
PT
288132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28814
28815 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28816 string_t. Do not manually set errno.
28817 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28818 length with __strnlen. Make sure to both set errno and return it on
28819 failure.
28820
6d33cc9d
DM
288212012-11-19 David S. Miller <davem@davemloft.net>
28822
28823 With help from Joseph Myers.
28824 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28825 very large arguments properly.
28826 * math/libm-test.inc (atan_test): New tests.
28827 (atan2_test): New tests.
28828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28830
ee663277
JM
288312012-11-19 Joseph Myers <joseph@codesourcery.com>
28832
877f2d8e
JM
28833 [BZ #14856]
28834 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28835 Define to 3.
28836
116fc08a
JM
28837 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28838 [POSIX] (EADDRNOTAVAIL): Likewise.
28839 [POSIX] (EAFNOSUPPORT): Likewise.
28840 [POSIX] (EALREADY): Likewise.
28841 [POSIX] (ECONNABORTED): Likewise.
28842 [POSIX] (ECONNREFUSED): Likewise.
28843 [POSIX] (ECONNRESET): Likewise.
28844 [POSIX] (EDESTADDRREQ): Likewise.
28845 [POSIX] (EDQUOT): Likewise.
28846 [POSIX] (EHOSTUNREACH): Likewise.
28847 [POSIX] (EIDRM): Likewise.
28848 [POSIX] (EISCONN): Likewise.
28849 [POSIX] (ELOOP): Likewise.
28850 [POSIX] (EMULTIHOP): Likewise.
28851 [POSIX] (ENETDOWN): Likewise.
28852 [POSIX] (ENETUNREACH): Likewise.
28853 [POSIX] (ENOBUFS): Likewise.
28854 [POSIX] (ENODATA): Likewise.
28855 [POSIX] (ENOLINK): Likewise.
28856 [POSIX] (ENOMSG): Likewise.
28857 [POSIX] (ENOPROTOOPT): Likewise.
28858 [POSIX] (ENOSR): Likewise.
28859 [POSIX] (ENOSTR): Likewise.
28860 [POSIX] (ENOTCONN): Likewise.
28861 [POSIX] (ENOTSOCK): Likewise.
28862 [POSIX] (EOPNOTSUPP): Likewise.
28863 [POSIX] (EOVERFLOW): Likewise.
28864 [POSIX] (EPROTO): Likewise.
28865 [POSIX] (EPROTONOSUPPORT): Likewise.
28866 [POSIX] (EPROTOTYPE): Likewise.
28867 [POSIX] (ESTALE): Likewise.
28868 [POSIX] (ETIME): Likewise.
28869 [POSIX] (ETXTBSY): Likewise.
28870 [POSIX] (EWOULDBLOCK): Likewise.
28871 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28872 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28873 [POSIX] (SEEK_CUR): Likewise.
28874 [POSIX] (SEEK_END): Likewise.
28875 [POSIX || UNIX98] (mode_t): Do not require.
28876 [POSIX] (off_t): Likewise.
28877 [POSIX] (pid_t): Likewise.
28878 [POSIX] (sys/stat.h): Do not allow header.
28879 [POSIX] (unistd.h): Likewise.
28880 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28881 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28882 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28883 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28884 require.
28885 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28886 sigevent): Specify elements.
28887 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28888 entry.
28889 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28890 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28891
a483863f
JM
28892 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28893 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28894 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28895 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28896 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28897 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28898 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28899 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28900 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28901 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28902 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28903 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28904 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28906 Likewise.
28907 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28908 Likewise.
28909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28910 Likewise.
28911 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28912 Likewise.
28913 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28916 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28917 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28918 Specify lower bound on value.
28919 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28920 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28921 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28922 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28923 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28924 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28925 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28926 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28927 value.
28928 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28929 as optional.
28930 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28931 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28932 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28933 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28934 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28935 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28936 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28937 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28938 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28939 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28940 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28941 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28942 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28943 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28944 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28945 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28946 entry.
28947 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28948 optional.
28949 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28950 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28951 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28952 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28953 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28955 Likewise.
28956 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28957 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28958 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28959 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28960 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28961 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28963 as optional.
28964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28967 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28968 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28969 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28970 specify as optional.
28971 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28972 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28973 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28974 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28975 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28976 [XPG3] (NL_LANGMAX): Likewise.
28977 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28978 [POSIX || XPG3] (NL_NMAX): Likewise.
28979 [POSIX || XPG3] (NL_SETMAX): Likewise.
28980 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28981 [XPG3] (NZERO): Likewise.
28982 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28983 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28984 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28985 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28986 (REG_ERANGE): Expect.
28987 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28988 optional-constant.
28989 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28990 Use (void) in prototype.
28991 [POSIX] (*_t): Allow.
28992 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28993 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28994 (WRDE_BADVAL): Expect.
28995
5ba924e3
JM
28996 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28997 expect.
28998 [XPG3 || XPG4] (O_RSYNC): Likewise.
28999 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29000 Likewise.
29001 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29002 [XPG3 || XPG4] (sigqueue): Likewise.
29003 [XPG3 || XPG4] (sigtimedwait): Likewise.
29004 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29005 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29006 [XPG3 || XPG4] (vsnprintf): Likewise.
29007 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29008 Likewise.
29009 [XPG3 || XPG4] (blksize_t): Likewise.
29010 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29011 Likewise.
29012 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29013 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29014 [XPG3 || XPG4] (struct itimerspec): Likewise.
29015 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29016 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29017 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29018 [XPG3 || XPG4] (clockid_t): Likewise.
29019 [XPG3 || XPG4] (timer_t): Likewise.
29020 [XPG3 || XPG4] (clock_getres): Likewise.
29021 [XPG3 || XPG4] (clock_gettime): Likewise.
29022 [XPG3 || XPG4] (clock_settime): Likewise.
29023 [XPG3 || XPG4] (nanosleep): Likewise.
29024 [XPG3 || XPG4] (timer_create): Likewise.
29025 [XPG3 || XPG4] (timer_delete): Likewise.
29026 [XPG3 || XPG4] (timer_gettime): Likewise.
29027 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29028 [XPG3 || XPG4] (timer_settime): Likewise.
29029 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29030 [XPG3 || XPG4] (getlogin_r): Likewise.
29031 [XPG3 || XPG4] (pread): Likewise.
29032 [XPG3 || XPG4] (pthread_atfork): Likewise.
29033 [XPG3 || XPG4] (pwrite): Likewise.
29034
ee663277
JM
29035 [BZ #14835]
29036 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29037 <bits/siginfo.h>.
29038
942caa16
PT
290392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29040
e19af380
PT
29041 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29042 finalizing MALLSTREAM.
29043
942caa16
PT
29044 * sysdeps/mach/hurd/syncfs.c: New file.
29045
cfde9b46
SP
290462012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29047
29048 [BZ #14719]
29049 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29050 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29051 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29052 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29053 (_nss_dns_gethostbyname4_r): Likewise.
29054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29055 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29056
f6da27e5
PH
290572012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29058
29059 [BZ #13763]
29060 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29061
6665d4a2
SM
290622012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29063
1f51ee92
SM
29064 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29065 * elf/cache.c (print_entry): Print ",AArch64" for
29066 FLAG_AARCH64_LIB64
29067
6665d4a2
SM
29068 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29069 * elf/cache.c (print_entry): Print ",hard-float" for
29070 FLAG_ARM_LIBHF.
29071
05b227bd
DM
290722012-11-18 David S. Miller <davem@davemloft.net>
29073
29074 With help from Joseph Myers.
29075 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29076 cutoff to 2**-13.
29077 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29078 cutoff to 2**-25.
29079 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29080 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29081 small.
29082 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29083 * math/libm-test.inc (y0_test): New tests.
29084 (y1_test): New tests.
29085 * sysdeps/i386/fpu/libm-test-ulps: Update.
29086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29088
786b0b67
AS
290892012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29090
29091 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29092 64-bit targets.
29093 * configure: Regenerated.
29094
8e18b86d
DM
290952012-11-17 David S. Miller <davem@davemloft.net>
29096
29097 [BZ #14811]
29098 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29099 nonzero exponents with absolute value below 0x1p-128 to +/-
29100 0x1p-128.
29101
531f1ae0
JM
291022012-11-17 Joseph Myers <joseph@codesourcery.com>
29103
12df29e2
JM
29104 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29105
150dc1a0
JM
29106 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29107
531f1ae0
JM
29108 * posix/getconf-speclist.c: New file.
29109 * posix/posix-envs.def: Likewise.
29110 * posix/confstr.c (START_ENV_GROUP): New macro.
29111 (END_ENV_GROUP): Likewise.
29112 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29113 (KNOWN_PRESENT_ENV_STRING): Likewise.
29114 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29115 (UNKNOWN_ENVIRONMENT): Likewise.
29116 (confstr): Include posix-envs.def instead of handling
29117 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29118 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29119 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29120 (END_ENV_GROUP): Likewise.
29121 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29122 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29123 (UNKNOWN_ENVIRONMENT): Likewise.
29124 (__sysconf): Include posix-envs.def instead of handling associated
29125 cases directly here.
29126 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29127 preprocessing getconf-speclist.c rather than running getconf or
29128 generating empty file.
29129
a93f9cbc
PT
291302012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29131
29132 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29133
d64d9f87
AL
291342012-11-16 Andrej Lajovic <natrij@gmail.com>
29135
29136 [BZ #14672]
29137 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29138
447885eb
DM
291392012-11-16 David S. Miller <davem@davemloft.net>
29140
29141 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29142 smaller than LDBL_EPSILON/2.0L, just return xm1.
29143
bcbf9830
L
291442012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29145
29146 * elf/tst-array1.c (init): Set constructor priority to 1000.
29147 (fini): Set destructor priority to 1000.
29148 * elf/tst-array2dep.c: Likewise.
29149
2b766585
SP
291502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29151
29152 [BZ #11741]
29153 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29154 (_IO_new_file_xsputn): Also return EOF if none of the input
29155 data was written when overflow failed.
29156 * libio/iopadn.c (_IO_padn): Likewise.
29157 * libio/iowpadn.c (_IO_wpadn): Likewise.
29158 * stdio-common/tst-put-error.c: Add copyright notice.
29159 (do_test): Add case for printing padded string.
29160 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29161 _IO_padn returned error.
29162 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29163 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29164 return EOF.
29165
b1848fde
SP
291662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29167
29168 * libio/libioP.h: Add comment note that the references to C++
29169 bits are now obsolete.
29170
2fd89785
MS
291712012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29172
29173 * math/libm-test.inc (check_complex): Use asprintf.
29174
e3ea5409
JM
291752012-11-14 Joseph Myers <joseph@codesourcery.com>
29176
29177 * debug/pcprofiledump.c (print_version): Update copyright year.
29178 * malloc/memusagestat.c (print_version): Likewise.
29179
2e64d265
L
291802012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29181
29182 [BZ #14831]
29183 * elf/Makefile (tests): Add tst-audit8.
29184 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29185 ($(objpfx)tst-audit8.out): New target.
29186 (tst-audit8-ENV): New variable.
29187 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29188 audit if l_reloc_result is NULL.
29189 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29190 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29191 * elf/tst-audit8.c: New file.
29192
c485e4d2
MS
291932012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29194
29195 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29196 * misc/Makefile (CFLAGS-select.c): Define.
29197 * posix/Makefile (CFLAGS-pause.c): Define.
29198
3a0d900a
DM
291992012-11-13 David S. Miller <davem@davemloft.net>
29200
29201 * crypt/Makefile: Move test targets after toplevel Rules
29202 inclusion. Grab any necessary sysdep routines when linking.
29203 * crypt/md5.c (md5_process_block): Remove define, we will always
29204 name it __md5_process_block.
29205 (md5_finish_ctx): Update md5_process_block call.
29206 (md5_stream): Likewise.
29207 (md5_process_bytes): Likewise.
29208 (md5_process_block): Rename to __md5_process_block and move to ...
29209 * crypt/md5-block.c: ... here.
29210 * crypt/sha256.c (sha256_process_block): Move to ...
29211 * crypt/sha256-block.c: ... here.
29212 * crypt/sha512.c (sha512_process_block): Move to ...
29213 * crypt/sha512-block.c: ... here.
29214 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29215 path.
29216 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29217 * sysdeps/sparc/sparc64/multiarch/Makefile
29218 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29219 crypt subdir.
29220 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29221 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29222 multiarch changes.
29223 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29224 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29225 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29226 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29227 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29228 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29229 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29230 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29232 file.
29233 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29235 file.
29236 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29237
8ca89318
JM
292382012-11-13 Joseph Myers <joseph@codesourcery.com>
29239
e27d476a
JM
29240 * timezone/tzselect.ksh: Update from tzcode git revision
29241 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29242 * timezone/zdump.c: Likewise.
29243 * timezone/zic.c: Likewise.
29244 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29245 in TZVERSION setting, not $(PKGVERSION).
29246 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29247 REPORT_BUGS_TO settings.
29248
8ca89318
JM
29249 [BZ #14838]
29250 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29251 macro.
29252
47594329
MS
292532012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29254
29255 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29256 detection to immediately after _FP_ROUND().
29257 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29258 bits are 0.
29259
640ac3f1
DM
292602012-11-11 David S. Miller <davem@davemloft.net>
29261
29262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29263 inttypes.h
29264 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29265 __close rather than their public counterparts.
29266
3d2577bb
JM
292672012-11-10 Joseph Myers <joseph@codesourcery.com>
29268
29269 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29270 file.
29271 [UNIX98] (sem_timedwait): Do not expect.
29272 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29273 [XPG4 || UNIX98] (sockatmark): Do not expect.
29274 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29275 (clock_getcpuclockid): Do not expect.
29276 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29277 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29278 Do not expect.
29279 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29280 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29281 [UNIX98] (vwscanf): Likewise.
29282 [UNIX98] (vswscanf): Likewise.
29283
fb1ae1ee
JM
292842012-11-09 Joseph Myers <joseph@codesourcery.com>
29285
9ec6f8bd
JM
29286 * timezone/version.h: Remove file.
29287 * timezone/README: Do not refer to version.h.
29288 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29289 $(objpfx)version.h.
29290 ($(objpfx)zdump.o): Likewise.
c3f81911 29291 ($(objpfx)version.h): New target.
9ec6f8bd 29292
0aa8f8a1
JM
29293 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29294 2012i.
29295 * timezone/README: Don't mention modification to tzselect.ksh.
29296 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29297 work on unmodified tzselect.ksh. Substitute version numbers in
29298 tzselect.ksh.
29299
4e87147f
JM
29300 * Makefile (format-me): Remove.
29301 (INSTALL): Adjust indentation. Use commands directly instead of
29302 using $(format-me).
29303
8b748aed
JM
29304 * aclocal.m4 (ACX_PKGVERSION): New macro.
29305 (ACX_BUGURL): Likewise.
29306 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29307 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29308 (REPORT_BUGS_TO): Likewise.
29309 * configure: Regenerated.
29310 * config.h.in (PKGVERSION): New macro.
29311 (REPORT_BUGS_TO): Likewise.
29312 * config.make.in (PKGVERSION): New variable.
29313 (PKGVERSION_TEXI): Likewise.
29314 (REPORT_BUGS_TO): Likewise.
29315 (REPORT_BUGS_TEXI): Likewise.
29316 * Makefile (format-me): Use -I$(common-objpfx)manual.
29317 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29318 ($(common-objpfx)manual/%): New target.
29319 (manual/%): Remove target.
29320 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29321 (print_version): Use PKGVERSION.
29322 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29323 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29324 and REPORT_BUGS_TO.
29325 ($(objpfx)xtrace): Likewise.
29326 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29327 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29328 (print_version): Use PKGVERSION.
29329 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29330 (do_version): Use PKGVERSION.
29331 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29332 REPORT_BUGS_TO.
29333 (common-ldd-rewrite): Likewise.
29334 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29335 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29336 (print_version): Use PKGVERSION.
29337 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29338 * elf/pldd.c (argp_program_bug_address): Remove variable.
29339 (more_help): New function.
29340 (argp): Use more_help.
29341 (print_version): Use PKGVERSION.
29342 * elf/sln.c (main): Use PKGVERSION.
29343 (usage): Use REPORT_BUGS_TO.
29344 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29345 (top level): Use PKGVERSION.
29346 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29347 (print_version): Use PKGVERSION.
29348 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29349 (print_version): Use PKGVERSION.
29350 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29351 (print_version): Use PKGVERSION.
29352 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29353 (print_version): Use PKGVERSION.
29354 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29355 (print_version): Use PKGVERSION.
29356 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29357 (print_version): Use PKGVERSION.
29358 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29359 and BUGURL.
29360 ($(objpfx)memusage): Likewise.
29361 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29362 (do_version): Use PKGVERSION.
29363 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29364 (print_version): Use PKGVERSION.
29365 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29366 ($PKGVERSION): New variable.
29367 ($REPORT_BUGS_TO): Likewise.
29368 (usage): Use $REPORT_BUGS_TO.
29369 (top level): Use $PKGVERSION.
29370 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29371 ($(objpfx)pkgvers.texi): New rule.
29372 ($(objpfx)stamp-pkgvers): Likewise.
29373 * manual/install.texi: Include pkgvers.texi.
29374 (--with-pkgversion): Document new configure option.
29375 (--with-bugurl): Likewise.
29376 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29377 than necessarily for this particular distribution. Use
29378 REPORT_BUGS_TO for where to report bugs.
29379 * INSTALL: Regenerated.
29380 * manual/libc.texinfo: Include pkgvers.texi.
29381 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29382 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29383 (print_version): Use PKGVERSION.
29384 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29385 (print_version): Use PKGVERSION.
29386 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29387 (print_version): Use PKGVERSION.
29388 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29389 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29390 macro.
29391 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29392 (print_version): Use PKGVERSION.
29393 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29394 (print_version): Use PKGVERSION.
29395 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29396 and PKGVERSION.
29397
92e4b6a9
JM
29398 * timezone/checktab.awk: Update from tzcode 2012i.
29399 * timezone/ialloc.c: Likewise.
29400 * timezone/private.h: Likewise.
29401 * timezone/scheck.c: Likewise.
29402 * timezone/tzfile.h: Likewise.
29403 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29404 (TZVERSION): Hardcode tzcode version number.
29405 * timezone/zdump.c: Update from tzcode 2012i.
29406 * timezone/zic.c: Likewise.
29407 * timezone/version.h: New file.
29408 * timezone/README: Describe version.h. Update upstream location.
29409
9bde902c
JM
29410 [BZ #14824]
29411 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29412 (mktemp): Enable declaration.
29413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29417 Likewise.
29418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29419 Likewise.
29420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29421 Likewise.
29422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29423 Likewise.
29424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29425 Likewise.
29426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29427 Likewise.
29428
fb1ae1ee
JM
29429 [BZ #14821]
29430 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29431 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29432 for copies of such integer values.
29433 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29434 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29435
2c1adbcb
AJ
294362012-11-09 Andreas Jaeger <aj@suse.de>
29437
29438 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29439 definitions and declarations that are provided by
29440 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29441
d0f8457e
AK
294422012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29443
3a235abb 29444 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29445 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29446 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29447 definition.
29448
57241e26
MS
294492012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29450
29451 * elf/elf.h: Update comment before AArch64 relocations.
29452
60e8270d
DM
294532012-11-07 David S. Miller <davem@davemloft.net>
29454
29455 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29456 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29457 (__start_context): Declare.
29458 (__makecontext_ret): Delete.
29459 (__makecontext): Hook up __start_context instead of
29460 __makecontext_ret.
29461 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29462 (sysdep_routines): Add __start_context when in stdlib.
29463
0fbb0fbc
JM
294642012-11-07 Joseph Myers <joseph@codesourcery.com>
29465
29466 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29467 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29468 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29469 hardcoded "nm".
29470 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29471 (READELF): New variable. Use it instead of hardcoded "readelf".
29472
eb48db7e
L
294732012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29474
29475 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29476 * sysdeps/x86/Makefile: Here.
29477 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29478 * sysdeps/x86/tst-xmmymm.sh: This.
29479
05bcf62a
JM
294802012-11-07 Joseph Myers <joseph@codesourcery.com>
29481
c4b6cf53
JM
29482 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29483 expectations.
29484 [UNIX98] (pthread_barrier_t): Do not expect.
29485 [UNIX98] (pthread_barrierattr_t): Likewise.
29486 [UNIX98] (pthread_spinlock_t): Likewise.
29487 [UNIX98] (pthread_barrier_destroy): Likewise.
29488 [UNIX98] (pthread_barrier_init): Likewise.
29489 [UNIX98] (pthread_barrier_wait): Likewise.
29490 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29491 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29492 [UNIX98] (pthread_barrierattr_init): Likewise.
29493 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29494 [UNIX98] (pthread_getcpuclockid): Likewise.
29495 [UNIX98] (pthread_mutex_timedlock): Likewise.
29496 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29497 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29498 [UNIX98] (pthread_sigmask): Likewise.
29499 [UNIX98] (pthread_spin_destroy): Likewise.
29500 [UNIX98] (pthread_spin_init): Likewise.
29501 [UNIX98] (pthread_spin_lock): Likewise.
29502 [UNIX98] (pthread_spin_trylock): Likewise.
29503 [UNIX98] (pthread_spin_unlock): Likewise.
29504 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29505 Do not expect.
29506 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29507 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29508 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29509 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29510 [XPG3 || XPG4] (pthread_key_t): Likewise.
29511 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29512 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29513 [XPG3 || XPG4] (pthread_once_t): Likewise.
29514 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29515 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29516 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29517 [XPG3 || XPG4] (pthread_t): Likewise.
29518
cbe6e120
JM
29519 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29520 not expect.
29521 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29522
1b126443
JM
29523 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29524 Change function return type to int.
29525
b961a573
JM
29526 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29527 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29528 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29529 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29530 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29531 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29532 [!POSIX] (posix_madvise): Likewise.
29533 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29534 && !UNIX98].
29535 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29536 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29537 (mode_t): Likewise.
29538 (posix_mem_offset): Likewise.
29539 (posix_typed_mem_get_info): Likewise.
29540 (posix_typed_mem_open): Likewise.
29541
9e188909
JM
29542 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29543 Change condition to [XOPEN2K8].
29544
05bcf62a
JM
29545 * conform/conformtest.pl: Preprocess allow-header data with -x c
29546 instead of from stdin.
29547 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29548 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29549 [C99-based standards] (cerfc): Likewise.
29550 [C99-based standards] (cexp2): Likewise.
29551 [C99-based standards] (cexpm1): Likewise.
29552 [C99-based standards] (clog10): Likewise.
29553 [C99-based standards] (clog1p): Likewise.
29554 [C99-based standards] (clog2): Likewise.
29555 [C99-based standards] (clgamma): Likewise.
29556 [C99-based standards] (ctgamma): Likewise.
29557 [C99-based standards] (cerff): Likewise.
29558 [C99-based standards] (cerfcf): Likewise.
29559 [C99-based standards] (cexp2f): Likewise.
29560 [C99-based standards] (cexpm1f): Likewise.
29561 [C99-based standards] (clog10f): Likewise.
29562 [C99-based standards] (clog1pf): Likewise.
29563 [C99-based standards] (clog2f): Likewise.
29564 [C99-based standards] (clgammaf): Likewise.
29565 [C99-based standards] (ctgammaf): Likewise.
29566 [C99-based standards] (cerfl): Likewise.
29567 [C99-based standards] (cerfcl): Likewise.
29568 [C99-based standards] (cexp2l): Likewise.
29569 [C99-based standards] (cexpm1l): Likewise.
29570 [C99-based standards] (clog10l): Likewise.
29571 [C99-based standards] (clog1pl): Likewise.
29572 [C99-based standards] (clog2l): Likewise.
29573 [C99-based standards] (clgammal): Likewise.
29574 [C99-based standards] (ctgammal): Likewise.
29575 * conform/data/inttypes.h-data [C99-based standards]: Include
29576 stdint.h-data. Remove all expectations for stdint.h contents.
29577 [C99-based standards] (PRI*): Do not allow.
29578 [C99-based standards] (SCN*): Likewise.
29579 [C99-based standards] (*_t): Likewise.
29580 [C99-based-standards] (PRId8): Expect macro.
29581 [C99-based-standards] (PRIi8): Likewise.
29582 [C99-based-standards] (PRIo8): Likewise.
29583 [C99-based-standards] (PRIu8): Likewise.
29584 [C99-based-standards] (PRIx8): Likewise.
29585 [C99-based-standards] (PRIX8): Likewise.
29586 [C99-based-standards] (SCNd8): Likewise.
29587 [C99-based-standards] (SCNi8): Likewise.
29588 [C99-based-standards] (SCNo8): Likewise.
29589 [C99-based-standards] (SCNu8): Likewise.
29590 [C99-based-standards] (SCNx8): Likewise.
29591 [C99-based-standards] (PRIdLEAST8): Likewise.
29592 [C99-based-standards] (PRIiLEAST8): Likewise.
29593 [C99-based-standards] (PRIoLEAST8): Likewise.
29594 [C99-based-standards] (PRIuLEAST8): Likewise.
29595 [C99-based-standards] (PRIxLEAST8): Likewise.
29596 [C99-based-standards] (PRIXLEAST8): Likewise.
29597 [C99-based-standards] (SCNdLEAST8): Likewise.
29598 [C99-based-standards] (SCNiLEAST8): Likewise.
29599 [C99-based-standards] (SCNoLEAST8): Likewise.
29600 [C99-based-standards] (SCNuLEAST8): Likewise.
29601 [C99-based-standards] (SCNxLEAST8): Likewise.
29602 [C99-based-standards] (PRIdFAST8): Likewise.
29603 [C99-based-standards] (PRIiFAST8): Likewise.
29604 [C99-based-standards] (PRIoFAST8): Likewise.
29605 [C99-based-standards] (PRIuFAST8): Likewise.
29606 [C99-based-standards] (PRIxFAST8): Likewise.
29607 [C99-based-standards] (PRIXFAST8): Likewise.
29608 [C99-based-standards] (SCNdFAST8): Likewise.
29609 [C99-based-standards] (SCNiFAST8): Likewise.
29610 [C99-based-standards] (SCNoFAST8): Likewise.
29611 [C99-based-standards] (SCNuFAST8): Likewise.
29612 [C99-based-standards] (SCNxFAST8): Likewise.
29613 [C99-based-standards] (PRId16): Likewise.
29614 [C99-based-standards] (PRIi16): Likewise.
29615 [C99-based-standards] (PRIo16): Likewise.
29616 [C99-based-standards] (PRIu16): Likewise.
29617 [C99-based-standards] (PRIx16): Likewise.
29618 [C99-based-standards] (PRIX16): Likewise.
29619 [C99-based-standards] (SCNd16): Likewise.
29620 [C99-based-standards] (SCNi16): Likewise.
29621 [C99-based-standards] (SCNo16): Likewise.
29622 [C99-based-standards] (SCNu16): Likewise.
29623 [C99-based-standards] (SCNx16): Likewise.
29624 [C99-based-standards] (PRIdLEAST16): Likewise.
29625 [C99-based-standards] (PRIiLEAST16): Likewise.
29626 [C99-based-standards] (PRIoLEAST16): Likewise.
29627 [C99-based-standards] (PRIuLEAST16): Likewise.
29628 [C99-based-standards] (PRIxLEAST16): Likewise.
29629 [C99-based-standards] (PRIXLEAST16): Likewise.
29630 [C99-based-standards] (SCNdLEAST16): Likewise.
29631 [C99-based-standards] (SCNiLEAST16): Likewise.
29632 [C99-based-standards] (SCNoLEAST16): Likewise.
29633 [C99-based-standards] (SCNuLEAST16): Likewise.
29634 [C99-based-standards] (SCNxLEAST16): Likewise.
29635 [C99-based-standards] (PRIdFAST16): Likewise.
29636 [C99-based-standards] (PRIiFAST16): Likewise.
29637 [C99-based-standards] (PRIoFAST16): Likewise.
29638 [C99-based-standards] (PRIuFAST16): Likewise.
29639 [C99-based-standards] (PRIxFAST16): Likewise.
29640 [C99-based-standards] (PRIXFAST16): Likewise.
29641 [C99-based-standards] (SCNdFAST16): Likewise.
29642 [C99-based-standards] (SCNiFAST16): Likewise.
29643 [C99-based-standards] (SCNoFAST16): Likewise.
29644 [C99-based-standards] (SCNuFAST16): Likewise.
29645 [C99-based-standards] (SCNxFAST16): Likewise.
29646 [C99-based-standards] (PRId32): Likewise.
29647 [C99-based-standards] (PRIi32): Likewise.
29648 [C99-based-standards] (PRIo32): Likewise.
29649 [C99-based-standards] (PRIu32): Likewise.
29650 [C99-based-standards] (PRIx32): Likewise.
29651 [C99-based-standards] (PRIX32): Likewise.
29652 [C99-based-standards] (SCNd32): Likewise.
29653 [C99-based-standards] (SCNi32): Likewise.
29654 [C99-based-standards] (SCNo32): Likewise.
29655 [C99-based-standards] (SCNu32): Likewise.
29656 [C99-based-standards] (SCNx32): Likewise.
29657 [C99-based-standards] (PRIdLEAST32): Likewise.
29658 [C99-based-standards] (PRIiLEAST32): Likewise.
29659 [C99-based-standards] (PRIoLEAST32): Likewise.
29660 [C99-based-standards] (PRIuLEAST32): Likewise.
29661 [C99-based-standards] (PRIxLEAST32): Likewise.
29662 [C99-based-standards] (PRIXLEAST32): Likewise.
29663 [C99-based-standards] (SCNdLEAST32): Likewise.
29664 [C99-based-standards] (SCNiLEAST32): Likewise.
29665 [C99-based-standards] (SCNoLEAST32): Likewise.
29666 [C99-based-standards] (SCNuLEAST32): Likewise.
29667 [C99-based-standards] (SCNxLEAST32): Likewise.
29668 [C99-based-standards] (PRIdFAST32): Likewise.
29669 [C99-based-standards] (PRIiFAST32): Likewise.
29670 [C99-based-standards] (PRIoFAST32): Likewise.
29671 [C99-based-standards] (PRIuFAST32): Likewise.
29672 [C99-based-standards] (PRIxFAST32): Likewise.
29673 [C99-based-standards] (PRIXFAST32): Likewise.
29674 [C99-based-standards] (SCNdFAST32): Likewise.
29675 [C99-based-standards] (SCNiFAST32): Likewise.
29676 [C99-based-standards] (SCNoFAST32): Likewise.
29677 [C99-based-standards] (SCNuFAST32): Likewise.
29678 [C99-based-standards] (SCNxFAST32): Likewise.
29679 [C99-based-standards] (PRId64): Likewise.
29680 [C99-based-standards] (PRIi64): Likewise.
29681 [C99-based-standards] (PRIo64): Likewise.
29682 [C99-based-standards] (PRIu64): Likewise.
29683 [C99-based-standards] (PRIx64): Likewise.
29684 [C99-based-standards] (PRIX64): Likewise.
29685 [C99-based-standards] (SCNd64): Likewise.
29686 [C99-based-standards] (SCNi64): Likewise.
29687 [C99-based-standards] (SCNo64): Likewise.
29688 [C99-based-standards] (SCNu64): Likewise.
29689 [C99-based-standards] (SCNx64): Likewise.
29690 [C99-based-standards] (PRIdLEAST64): Likewise.
29691 [C99-based-standards] (PRIiLEAST64): Likewise.
29692 [C99-based-standards] (PRIoLEAST64): Likewise.
29693 [C99-based-standards] (PRIuLEAST64): Likewise.
29694 [C99-based-standards] (PRIxLEAST64): Likewise.
29695 [C99-based-standards] (PRIXLEAST64): Likewise.
29696 [C99-based-standards] (SCNdLEAST64): Likewise.
29697 [C99-based-standards] (SCNiLEAST64): Likewise.
29698 [C99-based-standards] (SCNoLEAST64): Likewise.
29699 [C99-based-standards] (SCNuLEAST64): Likewise.
29700 [C99-based-standards] (SCNxLEAST64): Likewise.
29701 [C99-based-standards] (PRIdFAST64): Likewise.
29702 [C99-based-standards] (PRIiFAST64): Likewise.
29703 [C99-based-standards] (PRIoFAST64): Likewise.
29704 [C99-based-standards] (PRIuFAST64): Likewise.
29705 [C99-based-standards] (PRIxFAST64): Likewise.
29706 [C99-based-standards] (PRIXFAST64): Likewise.
29707 [C99-based-standards] (SCNdFAST64): Likewise.
29708 [C99-based-standards] (SCNiFAST64): Likewise.
29709 [C99-based-standards] (SCNoFAST64): Likewise.
29710 [C99-based-standards] (SCNuFAST64): Likewise.
29711 [C99-based-standards] (SCNxFAST64): Likewise.
29712 [C99-based-standards] (PRIdMAX): Likewise.
29713 [C99-based-standards] (PRIiMAX): Likewise.
29714 [C99-based-standards] (PRIoMAX): Likewise.
29715 [C99-based-standards] (PRIuMAX): Likewise.
29716 [C99-based-standards] (PRIxMAX): Likewise.
29717 [C99-based-standards] (PRIXMAX): Likewise.
29718 [C99-based-standards] (SCNdMAX): Likewise.
29719 [C99-based-standards] (SCNiMAX): Likewise.
29720 [C99-based-standards] (SCNoMAX): Likewise.
29721 [C99-based-standards] (SCNuMAX): Likewise.
29722 [C99-based-standards] (SCNxMAX): Likewise.
29723 [C99-based-standards] (PRIdPTR): Likewise.
29724 [C99-based-standards] (PRIiPTR): Likewise.
29725 [C99-based-standards] (PRIoPTR): Likewise.
29726 [C99-based-standards] (PRIuPTR): Likewise.
29727 [C99-based-standards] (PRIxPTR): Likewise.
29728 [C99-based-standards] (PRIXPTR): Likewise.
29729 [C99-based-standards] (SCNdPTR): Likewise.
29730 [C99-based-standards] (SCNiPTR): Likewise.
29731 [C99-based-standards] (SCNoPTR): Likewise.
29732 [C99-based-standards] (SCNuPTR): Likewise.
29733 [C99-based-standards] (SCNxPTR): Likewise.
29734 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29735 allow.
29736 * conform/data/stdint.h-data: Update comments to clarify
29737 requirements.
29738 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29739 type.
29740 [C99-based standards] (INT8_MAX): Likewise.
29741 [C99-based standards] (INT16_MIN): Likewise.
29742 [C99-based standards] (INT16_MAX): Likewise.
29743 [C99-based standards] (INT32_MIN): Likewise.
29744 [C99-based standards] (INT32_MAX): Likewise.
29745 [C99-based standards] (INT64_MIN): Likewise.
29746 [C99-based standards] (INT64_MAX): Likewise.
29747 [C99-based standards] (UINT8_MAX): Likewise.
29748 [C99-based standards] (UINT16_MAX): Likewise.
29749 [C99-based standards] (UINT32_MAX): Likewise.
29750 [C99-based standards] (UINT64_MAX): Likewise.
29751 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29752 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29753 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29754 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29755 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29756 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29757 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29758 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29759 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29760 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29761 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29762 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29763 [C99-based standards] (INT_FAST8_MIN): Likewise.
29764 [C99-based standards] (INT_FAST8_MAX): Likewise.
29765 [C99-based standards] (INT_FAST16_MIN): Likewise.
29766 [C99-based standards] (INT_FAST16_MAX): Likewise.
29767 [C99-based standards] (INT_FAST32_MIN): Likewise.
29768 [C99-based standards] (INT_FAST32_MAX): Likewise.
29769 [C99-based standards] (INT_FAST64_MIN): Likewise.
29770 [C99-based standards] (INT_FAST64_MAX): Likewise.
29771 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29772 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29773 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29774 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29775 [C99-based standards] (INTPTR_MIN): Likewise.
29776 [C99-based standards] (INTPTR_MAX): Likewise.
29777 [C99-based standards] (UINTPTR_MAX): Likewise.
29778 [C99-based standards] (INTMAX_MIN): Likewise.
29779 [C99-based standards] (INTMAX_MAX): Likewise.
29780 [C99-based standards] (UINTMAX_MAX): Likewise.
29781 [C99-based standards] (PTRDIFF_MIN): Likewise.
29782 [C99-based standards] (PTRDIFF_MAX): Likewise.
29783 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29784 [C99-based standards] (SIZE_MAX): Likewise.
29785 [C99-based standards] (WCHAR_MAX): Likewise.
29786 [C99-based standards] (WINT_MAX): Likewise.
29787 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29788 constraint on value.
29789 [C99-based standards] (WCHAR_MIN): Likewise.
29790 [C99-based standards] (WINT_MIN): Likewise.
29791 [C99-based standards] (*_t): Allow.
29792 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29793 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29794 Include math.h-data and complex.h-data. Remove all expectations
29795 of math.h and complex.h contents.
29796 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29797 at end of line.
29798 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29799 (struct tm): Expect tag.
29800 [C99-based-standards] (wcstof): Expect function.
29801 [C99-based-standards] (wcstold): Likewise.
29802 [C99-based-standards] (wcstoll): Likewise.
29803 [C99-based-standards] (wcstoull): Likewise.
29804 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29805 macro-int-constant. Specify type.
29806 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29807 constraint on value.
29808 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29809 Specify type.
29810 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29811 Specify value.
29812 [ISO C standards]: Do not allow headers.
29813 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29814 wcs[abcdefghijklmnopqrstuvwxyz]*.
29815 [ISO C standards] (*_t): Do not allow.
29816 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29817 Expect function.
29818 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29819 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29820 Specify type.
29821 [ISO C standards]: Do not allow headers.
29822 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29823 is[abcdefghijklmnopqrstuvwxyz]*.
29824 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29825 to[abcdefghijklmnopqrstuvwxyz]*.
29826 [ISO C standards] (*_t): Do not allow.
29827 * conform/data/stdalign.h-data: New file.
29828 * conform/data/stdbool.h-data: Likewise.
29829 * conform/data/stdnoreturn.h-data: Likewise.
29830
7514feb8
RM
298312012-11-07 Roland McGrath <roland@hack.frob.com>
29832
29833 [BZ #14815]
29834 * manual/filesys.texi (Directory Entries): Typo fix.
29835 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29836
19b2ecfc
MS
298372012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29838
29839 * elf/elf.h (EM_AARCH64): New macro.
29840 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29841 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29842 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29843 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29844 (R_AARCH64_TLSDESC): Likewise.
29845 (NT_ARM_TLS): Likewise.
29846 (NT_ARM_HW_BREAK): Likewise.
29847 (NT_ARM_HW_WATCH): Likewise.
29848
60e235ee
JM
298492012-11-07 Joseph Myers <joseph@codesourcery.com>
29850
29851 [BZ #14811]
29852 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29853 (__ieee754_powl): Saturate nonzero exponents with absolute value
29854 below 0x1p-79 to +/- 0x1p-79.
29855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29856 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29857 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29858 nonzero exponents with absolute value below 0x1p-32 to +/-
29859 0x1p-32.
29860 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29861 (__ieee754_powl): Saturate nonzero exponents with absolute value
29862 below 0x1p-79 to +/- 0x1p-79.
29863 * math/libm-test.inc (pow_test): Add more tests.
29864
0ab234b7
AK
298652012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29866
29867 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29868 _dl_s390_cap_flags with kernel. Increase string length.
29869 (_dl_s390_platforms): Add z196 and zEC12.
29870
45832f74
JM
298712012-11-07 Joseph Myers <joseph@codesourcery.com>
29872
29873 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29874 Change XOPEN21K to XOPEN2K.
29875
19218757
MK
298762012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29877
29878 * string/memmove.c: Use memcpy when possible.
29879
c5f45721
AJ
298802012-11-06 Andreas Jaeger <aj@suse.de>
29881
29882 * po/eo.po: Update from translation team.
29883
82477c28
JM
298842012-11-06 Joseph Myers <joseph@codesourcery.com>
29885
29886 [BZ #14793]
29887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29888 exponent and small x and y exponents, scale x or y up. Increase
29889 by 2 the exponent used in scaling up.
29890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29892 * math/libm-test.inc (fma_test): Add more tests.
29893 (fma_test_towardzero): Likewise.
29894 (fma_test_downward): Likewise.
29895 (fma_test_upward): Likewise.
29896
99252c8c
JM
298972012-11-05 Joseph Myers <joseph@codesourcery.com>
29898
acfa885f
JM
29899 [BZ #14805]
29900 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29901 fenv_t *.
29902
99252c8c
JM
29903 [BZ #14801]
29904 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29905 namespace for names of struct fields.
29906 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29907 fenv_t fields.
29908 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29909 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29910
d6d98dea
ST
299112012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29912
29913 [BZ #3665]
29914 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29915
e10bb107
TS
299162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29917
29918 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29919 PTR_DEMANGLE.
29920
29921 [BZ #5246]
29922 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29923 PTR_DEMANGLE.
29924
a0c2940d
JM
299252012-11-04 Joseph Myers <joseph@codesourcery.com>
29926
29927 [BZ #14797]
29928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29929 definitely overflow as x * y not x * y + z.
29930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29932 * math/libm-test.inc (fma_test): Add more tests.
29933 (fma_test_towardzero): Likewise.
29934 (fma_test_downward): Likewise.
29935 (fma_test_upward): Likewise.
29936
b830319d
TS
299372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29938
29939 [BZ #157]
29940
29941 * include/stub-tag.h: Remove file.
29942 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29943 '#include' of it.
29944 * manual/maint.texi (Porting): Don't reference it.
29945 * Makerules ($(objpfx)stubs): Likewise.
29946 * dirent/closedir.c: Don't include <stub-tag.h>.
29947 * dirent/dirfd.c: Likewise.
29948 * dirent/fdopendir.c: Likewise.
29949 * dirent/getdents.c: Likewise.
29950 * dirent/getdents64.c: Likewise.
29951 * dirent/opendir.c: Likewise.
29952 * dirent/readdir.c: Likewise.
29953 * dirent/readdir64.c: Likewise.
29954 * dirent/readdir64_r.c: Likewise.
29955 * dirent/readdir_r.c: Likewise.
29956 * dirent/rewinddir.c: Likewise.
29957 * dirent/seekdir.c: Likewise.
29958 * dirent/telldir.c: Likewise.
29959 * gmon/profil.c: Likewise.
29960 * grp/setgroups.c: Likewise.
29961 * inet/if_index.c: Likewise.
29962 * io/access.c: Likewise.
29963 * io/chdir.c: Likewise.
29964 * io/chmod.c: Likewise.
29965 * io/chown.c: Likewise.
29966 * io/close.c: Likewise.
29967 * io/dup.c: Likewise.
29968 * io/dup2.c: Likewise.
29969 * io/dup3.c: Likewise.
29970 * io/euidaccess.c: Likewise.
29971 * io/faccessat.c: Likewise.
29972 * io/fchdir.c: Likewise.
29973 * io/fchmod.c: Likewise.
29974 * io/fchmodat.c: Likewise.
29975 * io/fchown.c: Likewise.
29976 * io/fchownat.c: Likewise.
29977 * io/fcntl.c: Likewise.
29978 * io/flock.c: Likewise.
29979 * io/fstatfs.c: Likewise.
29980 * io/fstatfs64.c: Likewise.
29981 * io/fstatvfs.c: Likewise.
29982 * io/fstatvfs64.c: Likewise.
29983 * io/futimens.c: Likewise.
29984 * io/fxstat.c: Likewise.
29985 * io/fxstat64.c: Likewise.
29986 * io/fxstatat.c: Likewise.
29987 * io/fxstatat64.c: Likewise.
29988 * io/getcwd.c: Likewise.
29989 * io/isatty.c: Likewise.
29990 * io/lchmod.c: Likewise.
29991 * io/lchown.c: Likewise.
29992 * io/link.c: Likewise.
29993 * io/linkat.c: Likewise.
29994 * io/lseek.c: Likewise.
29995 * io/lseek64.c: Likewise.
29996 * io/lxstat64.c: Likewise.
29997 * io/mkdir.c: Likewise.
29998 * io/mkdirat.c: Likewise.
29999 * io/mkfifo.c: Likewise.
30000 * io/mkfifoat.c: Likewise.
30001 * io/open.c: Likewise.
30002 * io/open64.c: Likewise.
30003 * io/openat.c: Likewise.
30004 * io/openat64.c: Likewise.
30005 * io/pipe.c: Likewise.
30006 * io/pipe2.c: Likewise.
30007 * io/poll.c: Likewise.
30008 * io/posix_fadvise.c: Likewise.
30009 * io/posix_fadvise64.c: Likewise.
30010 * io/posix_fallocate.c: Likewise.
30011 * io/posix_fallocate64.c: Likewise.
30012 * io/read.c: Likewise.
30013 * io/readlink.c: Likewise.
30014 * io/readlinkat.c: Likewise.
30015 * io/rmdir.c: Likewise.
30016 * io/sendfile.c: Likewise.
30017 * io/sendfile64.c: Likewise.
30018 * io/statfs.c: Likewise.
30019 * io/statfs64.c: Likewise.
30020 * io/statvfs.c: Likewise.
30021 * io/statvfs64.c: Likewise.
30022 * io/symlink.c: Likewise.
30023 * io/symlinkat.c: Likewise.
30024 * io/ttyname.c: Likewise.
30025 * io/ttyname_r.c: Likewise.
30026 * io/umask.c: Likewise.
30027 * io/unlink.c: Likewise.
30028 * io/unlinkat.c: Likewise.
30029 * io/utime.c: Likewise.
30030 * io/utimensat.c: Likewise.
30031 * io/write.c: Likewise.
30032 * io/xmknod.c: Likewise.
30033 * io/xmknodat.c: Likewise.
30034 * io/xstat.c: Likewise.
30035 * io/xstat64.c: Likewise.
30036 * login/getpt.c: Likewise.
30037 * login/grantpt.c: Likewise.
30038 * login/unlockpt.c: Likewise.
30039 * math/e_acoshl.c: Likewise.
30040 * math/e_acosl.c: Likewise.
30041 * math/e_asinl.c: Likewise.
30042 * math/e_atan2l.c: Likewise.
30043 * math/e_atanhl.c: Likewise.
30044 * math/e_coshl.c: Likewise.
30045 * math/e_expl.c: Likewise.
30046 * math/e_fmodl.c: Likewise.
30047 * math/e_gammal_r.c: Likewise.
30048 * math/e_hypotl.c: Likewise.
30049 * math/e_j0l.c: Likewise.
30050 * math/e_j1l.c: Likewise.
30051 * math/e_jnl.c: Likewise.
30052 * math/e_lgammal_r.c: Likewise.
30053 * math/e_log10l.c: Likewise.
30054 * math/e_log2l.c: Likewise.
30055 * math/e_logl.c: Likewise.
30056 * math/e_powl.c: Likewise.
30057 * math/e_rem_pio2l.c: Likewise.
30058 * math/e_sinhl.c: Likewise.
30059 * math/e_sqrtl.c: Likewise.
30060 * math/fclrexcpt.c: Likewise.
30061 * math/fedisblxcpt.c: Likewise.
30062 * math/feenablxcpt.c: Likewise.
30063 * math/fegetenv.c: Likewise.
30064 * math/fegetexcept.c: Likewise.
30065 * math/fegetround.c: Likewise.
30066 * math/feholdexcpt.c: Likewise.
30067 * math/fesetenv.c: Likewise.
30068 * math/fesetround.c: Likewise.
30069 * math/feupdateenv.c: Likewise.
30070 * math/fgetexcptflg.c: Likewise.
30071 * math/fraiseexcpt.c: Likewise.
30072 * math/fsetexcptflg.c: Likewise.
30073 * math/ftestexcept.c: Likewise.
30074 * math/k_cosl.c: Likewise.
30075 * math/k_rem_pio2l.c: Likewise.
30076 * math/k_sinl.c: Likewise.
30077 * math/k_tanl.c: Likewise.
30078 * math/s_asinhl.c: Likewise.
30079 * math/s_atanl.c: Likewise.
30080 * math/s_cbrtl.c: Likewise.
30081 * math/s_erfl.c: Likewise.
30082 * math/s_expm1l.c: Likewise.
30083 * math/s_log1pl.c: Likewise.
30084 * math/s_tanhl.c: Likewise.
30085 * misc/acct.c: Likewise.
30086 * misc/brk.c: Likewise.
30087 * misc/chflags.c: Likewise.
30088 * misc/chroot.c: Likewise.
30089 * misc/fchflags.c: Likewise.
30090 * misc/fgetxattr.c: Likewise.
30091 * misc/flistxattr.c: Likewise.
30092 * misc/fremovexattr.c: Likewise.
30093 * misc/fsetxattr.c: Likewise.
30094 * misc/fsync.c: Likewise.
30095 * misc/ftruncate.c: Likewise.
30096 * misc/futimes.c: Likewise.
30097 * misc/futimesat.c: Likewise.
30098 * misc/getdomain.c: Likewise.
30099 * misc/getdtsz.c: Likewise.
30100 * misc/gethostid.c: Likewise.
30101 * misc/gethostname.c: Likewise.
30102 * misc/getloadavg.c: Likewise.
30103 * misc/getpagesize.c: Likewise.
30104 * misc/getsysstats.c: Likewise.
30105 * misc/getxattr.c: Likewise.
30106 * misc/gtty.c: Likewise.
30107 * misc/ioctl.c: Likewise.
30108 * misc/lgetxattr.c: Likewise.
30109 * misc/listxattr.c: Likewise.
30110 * misc/llistxattr.c: Likewise.
30111 * misc/lremovexattr.c: Likewise.
30112 * misc/lsetxattr.c: Likewise.
30113 * misc/lutimes.c: Likewise.
30114 * misc/madvise.c: Likewise.
30115 * misc/mincore.c: Likewise.
30116 * misc/mlock.c: Likewise.
30117 * misc/mlockall.c: Likewise.
30118 * misc/mmap.c: Likewise.
30119 * misc/mprotect.c: Likewise.
30120 * misc/msync.c: Likewise.
30121 * misc/munlock.c: Likewise.
30122 * misc/munlockall.c: Likewise.
30123 * misc/munmap.c: Likewise.
30124 * misc/preadv.c: Likewise.
30125 * misc/preadv64.c: Likewise.
30126 * misc/ptrace.c: Likewise.
30127 * misc/pwritev.c: Likewise.
30128 * misc/pwritev64.c: Likewise.
30129 * misc/readv.c: Likewise.
30130 * misc/reboot.c: Likewise.
30131 * misc/remap_file_pages.c: Likewise.
30132 * misc/removexattr.c: Likewise.
30133 * misc/revoke.c: Likewise.
30134 * misc/select.c: Likewise.
30135 * misc/setdomain.c: Likewise.
30136 * misc/setegid.c: Likewise.
30137 * misc/seteuid.c: Likewise.
30138 * misc/sethostid.c: Likewise.
30139 * misc/sethostname.c: Likewise.
30140 * misc/setregid.c: Likewise.
30141 * misc/setreuid.c: Likewise.
30142 * misc/setxattr.c: Likewise.
30143 * misc/sstk.c: Likewise.
30144 * misc/stty.c: Likewise.
30145 * misc/swapoff.c: Likewise.
30146 * misc/swapon.c: Likewise.
30147 * misc/sync.c: Likewise.
30148 * misc/syncfs.c: Likewise.
30149 * misc/syscall.c: Likewise.
30150 * misc/truncate.c: Likewise.
30151 * misc/ualarm.c: Likewise.
30152 * misc/usleep.c: Likewise.
30153 * misc/ustat.c: Likewise.
30154 * misc/utimes.c: Likewise.
30155 * misc/vhangup.c: Likewise.
30156 * misc/writev.c: Likewise.
30157 * posix/_exit.c: Likewise.
30158 * posix/alarm.c: Likewise.
30159 * posix/execve.c: Likewise.
30160 * posix/fexecve.c: Likewise.
30161 * posix/fork.c: Likewise.
30162 * posix/fpathconf.c: Likewise.
30163 * posix/getaddrinfo.c: Likewise.
30164 * posix/getegid.c: Likewise.
30165 * posix/geteuid.c: Likewise.
30166 * posix/getgid.c: Likewise.
30167 * posix/getgroups.c: Likewise.
30168 * posix/getlogin.c: Likewise.
30169 * posix/getlogin_r.c: Likewise.
30170 * posix/getpgid.c: Likewise.
30171 * posix/getpid.c: Likewise.
30172 * posix/getppid.c: Likewise.
30173 * posix/getresgid.c: Likewise.
30174 * posix/getresuid.c: Likewise.
30175 * posix/getsid.c: Likewise.
30176 * posix/getuid.c: Likewise.
30177 * posix/glob64.c: Likewise.
30178 * posix/nanosleep.c: Likewise.
30179 * posix/pathconf.c: Likewise.
30180 * posix/pause.c: Likewise.
30181 * posix/posix_madvise.c: Likewise.
30182 * posix/pread.c: Likewise.
30183 * posix/pread64.c: Likewise.
30184 * posix/pwrite.c: Likewise.
30185 * posix/pwrite64.c: Likewise.
30186 * posix/sched_getaffinity.c: Likewise.
30187 * posix/sched_getp.c: Likewise.
30188 * posix/sched_gets.c: Likewise.
30189 * posix/sched_primax.c: Likewise.
30190 * posix/sched_primin.c: Likewise.
30191 * posix/sched_rr_gi.c: Likewise.
30192 * posix/sched_setaffinity.c: Likewise.
30193 * posix/sched_setp.c: Likewise.
30194 * posix/sched_sets.c: Likewise.
30195 * posix/sched_yield.c: Likewise.
30196 * posix/setgid.c: Likewise.
30197 * posix/setlogin.c: Likewise.
30198 * posix/setpgid.c: Likewise.
30199 * posix/setresgid.c: Likewise.
30200 * posix/setresuid.c: Likewise.
30201 * posix/setsid.c: Likewise.
30202 * posix/setuid.c: Likewise.
30203 * posix/sleep.c: Likewise.
30204 * posix/spawni.c: Likewise.
30205 * posix/sysconf.c: Likewise.
30206 * posix/times.c: Likewise.
30207 * posix/wait.c: Likewise.
30208 * posix/wait3.c: Likewise.
30209 * posix/wait4.c: Likewise.
30210 * posix/waitpid.c: Likewise.
30211 * resolv/gai_sigqueue.c: Likewise.
30212 * resource/getpriority.c: Likewise.
30213 * resource/getrlimit.c: Likewise.
30214 * resource/getrusage.c: Likewise.
30215 * resource/nice.c: Likewise.
30216 * resource/setpriority.c: Likewise.
30217 * resource/setrlimit.c: Likewise.
30218 * resource/ulimit.c: Likewise.
30219 * rt/aio_cancel.c: Likewise.
30220 * rt/aio_fsync.c: Likewise.
30221 * rt/aio_read.c: Likewise.
30222 * rt/aio_sigqueue.c: Likewise.
30223 * rt/aio_suspend.c: Likewise.
30224 * rt/aio_write.c: Likewise.
30225 * rt/clock_getres.c: Likewise.
30226 * rt/clock_gettime.c: Likewise.
30227 * rt/clock_nanosleep.c: Likewise.
30228 * rt/clock_settime.c: Likewise.
30229 * rt/lio_listio.c: Likewise.
30230 * rt/mq_close.c: Likewise.
30231 * rt/mq_getattr.c: Likewise.
30232 * rt/mq_notify.c: Likewise.
30233 * rt/mq_open.c: Likewise.
30234 * rt/mq_receive.c: Likewise.
30235 * rt/mq_send.c: Likewise.
30236 * rt/mq_setattr.c: Likewise.
30237 * rt/mq_timedreceive.c: Likewise.
30238 * rt/mq_timedsend.c: Likewise.
30239 * rt/mq_unlink.c: Likewise.
30240 * rt/shm_open.c: Likewise.
30241 * rt/shm_unlink.c: Likewise.
30242 * rt/timer_create.c: Likewise.
30243 * rt/timer_delete.c: Likewise.
30244 * rt/timer_getoverr.c: Likewise.
30245 * rt/timer_gettime.c: Likewise.
30246 * rt/timer_settime.c: Likewise.
30247 * setjmp/__longjmp.c: Likewise.
30248 * setjmp/setjmp.c: Likewise.
30249 * signal/kill.c: Likewise.
30250 * signal/killpg.c: Likewise.
30251 * signal/raise.c: Likewise.
30252 * signal/sigaction.c: Likewise.
30253 * signal/sigaltstack.c: Likewise.
30254 * signal/sigblock.c: Likewise.
30255 * signal/sigignore.c: Likewise.
30256 * signal/sigintr.c: Likewise.
30257 * signal/signal.c: Likewise.
30258 * signal/sigpause.c: Likewise.
30259 * signal/sigpending.c: Likewise.
30260 * signal/sigqueue.c: Likewise.
30261 * signal/sigreturn.c: Likewise.
30262 * signal/sigset.c: Likewise.
30263 * signal/sigsetmask.c: Likewise.
30264 * signal/sigstack.c: Likewise.
30265 * signal/sigsuspend.c: Likewise.
30266 * signal/sigtimedwait.c: Likewise.
30267 * signal/sigvec.c: Likewise.
30268 * signal/sigwait.c: Likewise.
30269 * signal/sigwaitinfo.c: Likewise.
30270 * signal/sysv_signal.c: Likewise.
30271 * socket/accept.c: Likewise.
30272 * socket/accept4.c: Likewise.
30273 * socket/bind.c: Likewise.
30274 * socket/connect.c: Likewise.
30275 * socket/getpeername.c: Likewise.
30276 * socket/getsockname.c: Likewise.
30277 * socket/getsockopt.c: Likewise.
30278 * socket/isfdtype.c: Likewise.
30279 * socket/listen.c: Likewise.
30280 * socket/recv.c: Likewise.
30281 * socket/recvfrom.c: Likewise.
30282 * socket/recvmsg.c: Likewise.
30283 * socket/send.c: Likewise.
30284 * socket/sendmsg.c: Likewise.
30285 * socket/sendto.c: Likewise.
30286 * socket/setsockopt.c: Likewise.
30287 * socket/shutdown.c: Likewise.
30288 * socket/sockatmark.c: Likewise.
30289 * socket/socket.c: Likewise.
30290 * socket/socketpair.c: Likewise.
30291 * stdio-common/ctermid.c: Likewise.
30292 * stdio-common/cuserid.c: Likewise.
30293 * stdio-common/remove.c: Likewise.
30294 * stdio-common/rename.c: Likewise.
30295 * stdio-common/renameat.c: Likewise.
30296 * stdio-common/tempname.c: Likewise.
30297 * stdlib/getcontext.c: Likewise.
30298 * stdlib/makecontext.c: Likewise.
30299 * stdlib/setcontext.c: Likewise.
30300 * stdlib/swapcontext.c: Likewise.
30301 * stdlib/system.c: Likewise.
30302 * streams/fattach.c: Likewise.
30303 * streams/fdetach.c: Likewise.
30304 * streams/getmsg.c: Likewise.
30305 * streams/getpmsg.c: Likewise.
30306 * streams/putmsg.c: Likewise.
30307 * streams/putpmsg.c: Likewise.
30308 * sysdeps/unix/bsd/getpt.c: Likewise.
30309 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30310 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30311 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30313 Likewise.
30314 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30315 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30316 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30317 * sysvipc/msgctl.c: Likewise.
30318 * sysvipc/msgget.c: Likewise.
30319 * sysvipc/msgrcv.c: Likewise.
30320 * sysvipc/msgsnd.c: Likewise.
30321 * sysvipc/semctl.c: Likewise.
30322 * sysvipc/semget.c: Likewise.
30323 * sysvipc/semop.c: Likewise.
30324 * sysvipc/semtimedop.c: Likewise.
30325 * sysvipc/shmat.c: Likewise.
30326 * sysvipc/shmctl.c: Likewise.
30327 * sysvipc/shmdt.c: Likewise.
30328 * sysvipc/shmget.c: Likewise.
30329 * termios/tcdrain.c: Likewise.
30330 * termios/tcflow.c: Likewise.
30331 * termios/tcflush.c: Likewise.
30332 * termios/tcgetattr.c: Likewise.
30333 * termios/tcgetpgrp.c: Likewise.
30334 * termios/tcsendbrk.c: Likewise.
30335 * termios/tcsetattr.c: Likewise.
30336 * termios/tcsetpgrp.c: Likewise.
30337 * time/adjtime.c: Likewise.
30338 * time/clock.c: Likewise.
30339 * time/getitimer.c: Likewise.
30340 * time/gettimeofday.c: Likewise.
30341 * time/setitimer.c: Likewise.
30342 * time/settimeofday.c: Likewise.
30343 * time/stime.c: Likewise.
30344 * time/time.c: Likewise.
30345
303462012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30347
a20492cf
PT
30348 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30349 /usr/old/bin.
30350
72e182e3
PT
30351 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30352 instead of spaces.
30353 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30354
fbeafede
JM
303552012-11-03 Joseph Myers <joseph@codesourcery.com>
30356
5b5b04d6
JM
30357 [BZ #14796]
30358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30359 FE_TONEAREST before applying Dekker multiplication and Knuth
30360 addition. Clear inexact exceptions and check for exact zero
30361 results afterwards.
30362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30363 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30365 * math/libm-test.inc (fma_test): Add more tests.
30366 (fma_test_towardzero): Likewise.
30367 (fma_test_downward): Likewise.
30368 (fma_test_upward): Likewise.
30369 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30370 function.
30371 (libc_fesetround): New macro.
30372 (libc_fesetroundf): Likewise.
30373 (libc_fesetroundl): Likewise.
30374 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30375 function.
30376 (libc_fesetround_387): Likewise.
30377 (libc_fesetroundf): New macro.
30378 (libc_fesetround): Likewise.
30379 (libc_fesetroundl): Likewise.
30380 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30381 function.
30382 (libc_fesetroundf): New macro.
30383 (libc_fesetround): Likewise.
30384 (libc_fesetroundl): Likewise.
30385 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30386 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30387 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30388 libm_hidden_ver.
30389 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30390 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30391 libm_hidden_def.
30392 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30393 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30394 libm_hidden_ver.
30395 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30396 libm_hidden_def.
30397
fbeafede
JM
30398 [BZ #3439]
30399 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30400 integer constant usable in #if and use that to give value to enum
30401 constant.
30402 (FE_DIVBYZERO): Likewise.
30403 (FE_UNDERFLOW): Likewise.
30404 (FE_OVERFLOW): Likewise.
30405 (FE_INVALID): Likewise.
30406 (FE_INVALID_SNAN): Likewise.
30407 (FE_INVALID_ISI): Likewise.
30408 (FE_INVALID_IDI): Likewise.
30409 (FE_INVALID_ZDZ): Likewise.
30410 (FE_INVALID_IMZ): Likewise.
30411 (FE_INVALID_COMPARE): Likewise.
30412 (FE_INVALID_SOFTWARE): Likewise.
30413 (FE_INVALID_SQRT): Likewise.
30414 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30415 (FE_TONEAREST): Likewise.
30416 (FE_TOWARDZERO): Likewise.
30417 (FE_UPWARD): Likewise.
30418 (FE_DOWNWARD): Likewise.
30419 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30420 (FE_DIVBYZERO): Likewise.
30421 (FE_OVERFLOW): Likewise.
30422 (FE_UNDERFLOW): Likewise.
30423 (FE_INEXACT): Likewise.
30424 (FE_TONEAREST): Likewise.
30425 (FE_DOWNWARD): Likewise.
30426 (FE_UPWARD): Likewise.
30427 (FE_TOWARDZERO): Likewise.
30428 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30429 (FE_UNDERFLOW): Likewise.
30430 (FE_OVERFLOW): Likewise.
30431 (FE_DIVBYZERO): Likewise.
30432 (FE_INVALID): Likewise.
30433 (FE_TONEAREST): Likewise.
30434 (FE_TOWARDZERO): Likewise.
30435 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30436 (FE_OVERFLOW): Likewise.
30437 (FE_UNDERFLOW): Likewise.
30438 (FE_DIVBYZERO): Likewise.
30439 (FE_INEXACT): Likewise.
30440 (FE_TONEAREST): Likewise.
30441 (FE_TOWARDZERO): Likewise.
30442 (FE_UPWARD): Likewise.
30443 (FE_DOWNWARD): Likewise.
30444 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30445 (FE_DIVBYZERO): Likewise.
30446 (FE_OVERFLOW): Likewise.
30447 (FE_UNDERFLOW): Likewise.
30448 (FE_INEXACT): Likewise.
30449 (FE_TONEAREST): Likewise.
30450 (FE_DOWNWARD): Likewise.
30451 (FE_UPWARD): Likewise.
30452 (FE_TOWARDZERO): Likewise.
30453
105ca950
CM
304542012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30455
30456 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30457
a542b389
AS
304582012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30459
30460 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30461 commands. Quote $PWD.
30462 (blacklist_exports): Don't use remove_newlines. Replace "declare
30463 -x" by "export".
30464 (remove_newlines): Remove.
30465
f62c8abc
L
304662012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30467
30468 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30469 * stdlib/stdlib.h (atof): Moved to ...
30470 * include/bits/stdlib-float.h: Here. New file.
30471 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30472 * stdlib/bits/stdlib-float.h: New file.
30473 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30474 -mno-sse -mno-mmx.
30475 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30476 <xmmintrin.h>.
30477
0155d5b2
JM
304782012-11-02 Joseph Myers <joseph@codesourcery.com>
30479
a68d0680
JM
30480 * conform/conformtest.pl (@headers): Add fenv.h.
30481 * conform/data/fenv.h-data: New file.
30482 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30483 include of <math/fenv.h>.
30484
caf7f573
JM
30485 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30486 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30487 && !UNIX98]. Enables tests for XOPEN2K8.
30488 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30489 POSIX2008]: Likewise.
30490
6c073ad6
JM
30491 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30492 (struct rusage): Do not expect type or its members.
30493
0155d5b2
JM
30494 [BZ #3439]
30495 * math/math.h (FP_NAN): Define macro to integer constant usable in
30496 #if and use that to give value to enum constant.
30497 (FP_INFINITE): Likewise.
30498 (FP_ZERO): Likewise.
30499 (FP_SUBNORMAL): Likewise.
30500 (FP_NORMAL): Likewise.
30501
b5dcacb4
AS
305022012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30503
30504 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30505 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30506 arguments.
30507
f7934be8
RM
305082012-11-02 Roland McGrath <roland@hack.frob.com>
30509
30510 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30511 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30512 autoconf-time if not.
30513 * configure.in: Remove AC_PREREQ.
30514
d7d08bde
TMQMF
305152012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30516
30517 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30518 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30519 of the internal implementation.
30520
dcdae19a
JM
305212012-11-02 Joseph Myers <joseph@codesourcery.com>
30522
30523 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30524 except include of <misc/sys/syslog.h>.
30525
d6cffd3e
AS
305262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30527
30528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30529 function returns with a NULL context exit with zero.
30530
b3563932
TMQMF
305312012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30532
30533 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30534
b288a93d
L
305352012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30536
30537 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30538 (run_program_cmd): This.
30539 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30540 (tst_langinfo): New variable. Use it.
30541
a2421a68
SAS
305422012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30543
30544 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30545 floating point opcodes.
30546
6f796e1b
TS
305472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30548
7402596b
TS
30549 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30550 variable.
30551
d0d4f868
TS
30552 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30553
6f796e1b
TS
30554 * sysdeps/mach/hurd/powerpc: Remove directory.
30555 * sysdeps/mach/powerpc: Likewise.
30556
4da224a2
AS
305572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30558
30559 * scripts/check-local-headers.sh: Ignore c++ headers.
30560
341dd673
TS
305612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30562
30563 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30564 __libc_cleanup_region_start argument.
30565
473611b2
JM
305662012-11-01 Joseph Myers <joseph@codesourcery.com>
30567
30568 [BZ #14784]
30569 [BZ #14785]
30570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30571 x * y using scaling, not as x * y + z.
30572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30574 * math/libm-test.inc (fma_test): Add more tests.
30575 (fma_test_towardzero): Likewise.
30576 (fma_test_downward): Likewise.
30577 (fma_test_upward): Likewise.
30578
4078da3d
TS
305792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30580
30581 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30582
903252aa
JM
305832012-10-31 Joseph Myers <joseph@codesourcery.com>
30584
30585 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30586 New variable.
30587
cbc818d0
TS
305882012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30589
30590 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30591
5a03cb1e
AS
305922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30593
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30595 Fix sort order.
30596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30597 Likewise.
30598
90aff2ff
TMQMF
305992012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30600
30601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30602 Fix the order of the list for glibc 2.17.
30603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30604 Likewise.
30605
1818fcb7
AS
306062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30607
30608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30609
ef82f4da
JM
306102012-10-31 Joseph Myers <joseph@codesourcery.com>
30611
16a0e2ec
JM
30612 [BZ #14610]
30613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30614 for low part of x being zero before using __atanl (y).
30615 * math/libm-test.inc (atan2_test): Add another test.
30616
0eb69512
JM
30617 * manual/install.texi (Configuring and compiling): Document
30618 general use of test-wrapper and test-wrapper-env.
30619 * INSTALL: Regenerated.
30620
ef82f4da
JM
30621 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30622 (__fma): Do not extract and scale down low bits on after-rounding
30623 systems when result rounded to normal precision would have normal
30624 exponent.
30625 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30626 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30634 macro.
30635 (fma_test): Add more tests.
30636 (fma_test_towardzero): Likewise.
30637 (fma_test_downward): Likewise.
30638 (fma_test_upward): Likewise.
30639
954ef0d9
L
306402012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30641
30642 * sysdeps/i386/tininess.h: Renamed to ...
30643 * sysdeps/x86/tininess.h: This.
30644 * sysdeps/x86_64/tininess.h: Removed.
30645
df61ffb2
JM
306462012-10-30 Joseph Myers <joseph@codesourcery.com>
30647
30648 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30649 input. Use $(build-program-cmd).
30650 ($(objpfx)tst-array1-static.out): Likewise.
30651 ($(objpfx)tst-array2.out): Likewise.
30652 ($(objpfx)tst-array3.out): Likewise.
30653 ($(objpfx)tst-array4.out): Likewise.
30654 ($(objpfx)tst-array5.out): Likewise.
30655 ($(objpfx)tst-array5-static.out): Likewise.
30656
01767843
CM
306572012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30658
47cc1490
CM
30659 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30660 if defined.
30661
01767843
CM
30662 * nss/nsswitch.h (nss_interface_function): Provide new
30663 macro for use with NSS functions.
30664 * grp/initgroups.c: Use new macro.
30665 * nss/getXXbyYY.c: Likewise.
30666 * nss/getXXbyYY_r.c: Likewise.
30667 * nss/getXXent.c: Likewise.
30668 * nss/getXXent_r.c: Likewise.
30669 * sysdeps/posix/getaddrinfo.c: Likewise.
30670
8321aa97
AJ
306712012-10-30 Andreas Jaeger <aj@suse.de>
30672
30673 * po/ru.po: Update Russion translation from translation project.
30674
2a27fd6d
JM
306752012-10-30 Joseph Myers <joseph@codesourcery.com>
30676
8627a232
JM
30677 [BZ #14152]
30678 [BZ #14783]
30679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30680 result and shift together with sticky bit instead of replicating
30681 round-to-nearest rounding.
30682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30684 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30685 missing underflow exceptions.
30686 (fma_test_towardzero): Add more tests.
30687 (fma_test_downward): Likewise.
30688 (fma_test_upward): Likewise.
30689
2a27fd6d
JM
30690 [BZ #14047]
30691 * sysdeps/generic/tininess.h: New file.
30692 * sysdeps/i386/tininess.h: Likewise.
30693 * sysdeps/sh/tininess.h: Likewise.
30694 * sysdeps/x86_64/tininess.h: Likewise.
30695 * stdlib/tst-strtod-underflow.c: Likewise.
30696 * stdlib/tst-tininess.c: Likewise.
30697 * stdlib/strtod_l.c: Include <tininess.h>.
30698 (round_and_return): Do not set errno for exact underflow cases.
30699 Force an underflow exception when setting errno for underflow.
30700 Determine underflow based on rounding to normal precision if
30701 TININESS_AFTER_ROUNDING.
30702 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30703 ERANGE for exact underflow cases.
30704 * stdlib/Makefile (tests): Add tst-tininess and
30705 tst-strtod-underflow.
30706 ($(objpfx)tst-tininess): Use $(link-libm).
30707 ($(objpfx)tst-strtod-underflow): Likewise.
30708
e7170363
AJ
307092012-10-30 Andreas Jaeger <aj@suse.de>
30710
e5088dc6
AJ
30711 [BZ#14767]
30712 * elf/Makefile (tests): Remove conditional for have-initfini-array
30713 since this is now always required and the variable does not exist
30714 anymore.
30715 (tests-static): Likewise.
30716 (modules-names): Likewise.
30717
e7170363 30718 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30719
30720 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30721 merged with constructor/destructor.
30722 (init_array): Likewise.
30723 * elf/tst-array2dep.c (fini_array): Likewise.
30724 (init_array): Likewise.
30725
60457d8a
MF
307262012-10-29 Mike Frysinger <vapier@gentoo.org>
30727
30728 * manual/message.texi: Delete @cartouche tags.
30729
8bece752
PT
307302012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30731
94ce799f
PT
30732 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30733 EOPNOTSUPP.
30734 * sysdeps/mach/hurd/fsync.c: Likewise.
30735
8bece752
PT
30736 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30737 [_POSIX_REALTIME_SIGNALS]: Change condition to
30738 [_POSIX_REALTIME_SIGNALS > 0].
30739
86ebe6b1
AJ
307402012-10-27 Andreas Jaeger <aj@suse.de>
30741
30742 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30743 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30745 [__WORDSIZE != 64]: Likewise.
30746
54399c08
L
307472012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30748
30749 * iconvdata/tst-table.sh: Remove ${SHELL}.
30750 * iconvdata/tst-tables.sh: Likewise.
30751
e2211bed
DM
307522012-10-25 David S. Miller <davem@davemloft.net>
30753
30754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30755 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30756 of strtoull.
30757
f303f97c
DM
30758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30759 ifunc-impl-list.c
30760 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30761 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30762 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30763 file.
30764
1e9d84cd
RM
307652012-10-25 Roland McGrath <roland@hack.frob.com>
30766
30767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30768 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30769 __getdirentries.
30770
df381762
JM
307712012-10-25 Joseph Myers <joseph@codesourcery.com>
30772 Jim Blandy <jimb@codesourcery.com>
30773
30774 * scripts/cross-test-ssh.sh: New file.
30775 * manual/install.texi (Configuring and compiling): Document use of
30776 cross-test-ssh.sh.
30777 * INSTALL: Regenerated.
30778
bff64913
PT
307792012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30780
30781 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30782 EOPNOTSUPP.
30783
25fe8932
JM
307842012-10-25 Joseph Myers <joseph@codesourcery.com>
30785
30786 * Makeconfig (run-program-prefix): Fix comment.
30787
cc1290d0
JM
307882012-10-24 Joseph Myers <joseph@codesourcery.com>
30789 Jim Blandy <jimb@codesourcery.com>
30790
30791 * Makeconfig (test-wrapper): New variable,
30792 (test-wrapper-env): Likewise.
30793 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30794 (run-built-tests): Define to yes.
30795 (run-program-prefix): Use $(test-wrapper).
30796 (built-program-cmd): Likewise.
30797 * Rules (make-test-out): Use $(test-wrapper-env) and
30798 $(host-built-program-cmd).
30799 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30800 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30801 tst-pathopt.sh.
30802 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30803 $(test-wrapper-env) to tst-rtld-load-self.sh.
30804 ($(objpfx)order2.out): Use $(test-wrapper).
30805 ($(objpfx)tst-initorder.out): Likewise.
30806 ($(objpfx)tst-initorder2.out): Likewise.
30807 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30808 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30809 (test_wrapper_env): New variable. Use it to run ld.so.
30810 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30811 Use it to run ld.so.
30812 (test_wrapper_env): Likewise.
30813 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30814 $(test-wrapper) to run-iconv-test.sh.
30815 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30816 (ICONV): Use $test_wrapper.
30817 * posix/Makefile ($(objpfx)globtest.out): Pass
30818 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30819 globtest.sh, not $(run-program-prefix).
30820 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30821 (test_wrapper): Likewise.
30822 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30823 set together with run_via_rtld_prefix.
30824 (run_program_prefix): Define in terms of test_wrapper and
30825 run_via_rtld_prefix.
30826
6e6249d0
RM
308272012-10-24 Roland McGrath <roland@hack.frob.com>
30828
30829 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30830 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30831 Targets removed.
30832
30833 [BZ #14743]
30834 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30835 Declare __clock_getres, __clock_gettime, __clock_settime,
30836 __clock_nanosleep, and __clock_getcpuclockid.
30837 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30838 Remove librt_hidden_def (clock_gettime).
30839 * sysdeps/unix/clock_gettime.c: Likewise.
30840 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30842 * rt/clock_getres.c: Define __clock_getres as an alias.
30843 * sysdeps/posix/clock_getres.c: Likewise.
30844 * rt/clock_settime.c: Define __clock_settime as an alias.
30845 * sysdeps/unix/clock_settime.c: Likewise.
30846 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30847 * sysdeps/unix/clock_nanosleep.c: Likewise.
30848 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30849 * rt/clock-compat.c: New file.
30850 * rt/Makefile (librt-routines): Add clock-compat and move
30851 $(clock-routines) to ...
30852 (routines): ... here, new variable.
30853 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30854 Don't add get_clockfreq here.
30855 * rt/Versions (libc: GLIBC_2.17): New version set.
30856 Add clock_* symbols here.
30857 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30859 (GLIBC_2.17): Add clock_* symbols.
30860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30864 Likewise.
30865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30866 Likewise.
30867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30871 * NEWS: Mention the move.
30872
30873 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30874 Use __open, __read, __close rather than their public counterparts.
30875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30876 (__get_clockfreq_via_cpuinfo): Likewise.
30877 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30878 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30879
30880 * config.h.in (HAVE_IFUNC): New #undef.
30881 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30882 was successful.
30883 * configure: Regenerated.
30884
0cae3f4b
MF
308852012-10-24 Mike Frysinger <vapier@gentoo.org>
30886
30887 * configure.in: Move READELF check to start of file.
30888 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30889 libc_cv_asm_gnu_indirect_function in the process.
30890 * configure: Regenerated.
30891
8175a253
MF
308922012-10-24 Mike Frysinger <vapier@gentoo.org>
30893
30894 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30895 send the output to /dev/null.
30896 (libc_cv_cc_with_libunwind): Likewise.
30897 (libc_cv_as_noexecstack): Likewise.
30898 * configure: Regenerate.
30899
0708a7d1
JM
309002012-10-24 Joseph Myers <joseph@codesourcery.com>
30901
10b40d85
JM
30902 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30903
0708a7d1
JM
30904 * posix/globtest.sh (TMPDIR): Do not set.
30905 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30906 (testout): Likewise.
30907
9fddec1a
AJ
309082012-10-24 Andreas Jaeger <aj@suse.de>
30909
3a8db22f
AJ
30910 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30911 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30912 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30913 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30914 posix_fadvise64, posix_fallocate64.
30915
9fddec1a
AJ
30916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30917 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30918 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30919 Likewise.
30920 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30921 Likewise.
30922 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30923
30924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30925 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30926 <bits/fcntl-linux.h>.
30927 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30928
30929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30930 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30931 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30932 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30933 [__WORDSIZE != 64]: Likewise.
30934
ebfd1bbd
JM
309352012-10-23 Joseph Myers <joseph@codesourcery.com>
30936
03ac099f
JM
30937 * Makeconfig (run-built-tests): New variable.
30938 * Rules [$(cross-compiling) = yes]: Change condition to
30939 [$(run-built-tests) = no].
30940 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30941 to [$(run-built-tests) = yes].
30942 * elf/Makefile [$(cross-compiling) = no]: Likewise
30943 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30944 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30945 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30946 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30947 * io/Makefile [$(cross-compiling) = no]: Likewise.
30948 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30949 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30950 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30951 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30952 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30953 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30954 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30955 * string/Makefile [$(cross-compiling) = no]: Likewise.
30956
ebfd1bbd
JM
30957 * posix/Makefile ($(objpfx)globtest.out): Pass
30958 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30959 $(rtld-installed-name).
30960 * posix/globtest.sh (elf_objpfx): Remove variable.
30961 (rtld_installed_name): Likewise.
30962 (library_path): Likewise.
30963 (run_program_prefix): New variable. Use for running globtest
30964 binary.
30965
166bca24
JB
309662012-10-23 Jim Blandy <jimb@codesourcery.com>
30967 Joseph Myers <joseph@codesourcery.com>
30968
30969 * Makeconfig (host-built-program-cmd): New variable.
30970 * elf/Makefile (tst-stackguard1-ARGS): Use
30971 $(host-built-program-cmd).
30972 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30973 (tst-spawn-ARGS): Likewise.
30974 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30975
88866099
JM
309762012-10-23 Joseph Myers <joseph@codesourcery.com>
30977 Jim Blandy <jimb@codesourcery.com>
30978
30979 * Makeconfig (run-via-rtld-prefix): New variable.
30980 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30981 (built-program-cmd): Likewise.
30982
b4b4c296
AJ
309832012-10-22 Andreas Jaeger <aj@suse.de>
30984
30985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30986 __O_RSYNC if it exists, otherwise to O_SYNC.
30987
6fb54a22
JB
309882012-10-22 Jim Blandy <jimb@codesourcery.com>
30989 Joseph Myers <joseph@codesourcery.com>
30990
30991 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30992 /dev/null.
30993 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30994 from /dev/null
30995 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30996 /dev/null.
30997
481b90b9
AJ
309982012-10-22 Andreas Jaeger <aj@suse.de>
30999
2a0e2669
AJ
31000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31001 Define always.
31002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31003
76e38f9a
AJ
31004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31005 bits/fcntl-linux.h.
31006
7cd37b43
AJ
31007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31008 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31009
481b90b9
AJ
31010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31011 to __O_LARGEFILE.
31012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31013 to __O_LARGEFILE.
31014
aba75984
JB
310152012-10-21 Jim Blandy <jimb@codesourcery.com>
31016 Joseph Myers <joseph@codesourcery.com>
31017
31018 * config.make.in (NM): New variable.
31019
88d4247f
AJ
310202012-10-21 Andreas Jaeger <aj@suse.de>
31021
31022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31023 definitions and declarations that are provided by
31024 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31025
f2eed205
L
310262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31027
31028 [BZ #14683]
31029 * elf/Makefile (tests-static): Add tst-leaks1-static.
31030 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31031 ($(objpfx)tst-leaks1-static): New rule.
31032 ($(objpfx)tst-leaks1-static-mem): Likewise.
31033 (tst-leaks1-static-ENV): New macro.
31034 * elf/dl-open.c (dl_open_worker): Check the main application
31035 only if SHARED is defined.
31036 * elf/tst-leaks1-static.c: New file.
31037
335e6931
AJ
310382012-10-20 Andreas Jaeger <aj@suse.de>
31039
31040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31041 generic values for Linux.
31042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31043 and declarations that are provided by <bits/fcntl-linux.h> and
31044 include <bits/fcntl-linux.h>.
31045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31047
ac5c94d3
RM
310482012-10-20 Roland McGrath <roland@hack.frob.com>
31049
31050 * io/fcntl.h: Move include of <bits/types.h> to the top and
31051 include it unconditionally.
31052
de54b33a
L
310532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31054
228cfb01
L
31055 * wcsmbs/Makefile (tests-ifunc): New variable.
31056 (tests): Add $(tests-ifunc).
31057 * wcsmbs/test-wcschr-ifunc.c: New file.
31058 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31059 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31060 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31061 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31062 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31063
69f07e5f
L
31064 * string/Makefile (tests-ifunc): New variable.
31065 (tests): Add $(tests-ifunc).
31066 * string/test-memccpy.c (TEST_NAME): New macro.
31067 * string/test-memchr.c (TEST_NAME): Likewise.
31068 * string/test-memcmp.c (TEST_NAME): Likewise.
31069 * string/test-memcpy.c (TEST_NAME): Likewise.
31070 * string/test-memmem.c (TEST_NAME): Likewise.
31071 * string/test-memmove.c (TEST_NAME): Likewise.
31072 * string/test-memset.c (TEST_NAME): Likewise.
31073 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31074 * string/test-stpcpy.c (TEST_NAME): Likewise.
31075 * string/test-stpncpy.c (TEST_NAME): Likewise.
31076 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31077 * string/test-strcasestr.c (TEST_NAME): Likewise.
31078 * string/test-strcat.c (TEST_NAME): Likewise.
31079 * string/test-strchr.c (TEST_NAME): Likewise.
31080 * string/test-strcmp.c(TEST_NAME): Likewise.
31081 * string/test-strcpy.c (TEST_NAME): Likewise.
31082 * string/test-strcspn.c (TEST_NAME): Likewise.
31083 * string/test-strlen.c (TEST_NAME): Likewise.
31084 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31085 * string/test-strncmp.c (TEST_NAME): Likewise.
31086 * string/test-strncpy.c (TEST_NAME): Likewise.
31087 * string/test-strnlen.c (TEST_NAME): Likewise.
31088 * string/test-strpbrk.c (TEST_NAME): Likewise.
31089 * string/test-strrchr.c (TEST_NAME): Likewise.
31090 * string/test-strspn.c (TEST_NAME): Likewise.
31091 * string/test-strstr.c (TEST_NAME): Likewise.
31092 * string/test-bcopy-ifunc.c: New file.
31093 * string/test-bzero-ifunc.c: Likewise.
31094 * string/test-memccpy-ifunc.c: Likewise.
31095 * string/test-memchr-ifunc.c: Likewise.
31096 * string/test-memcmp-ifunc.c: Likewise.
31097 * string/test-memcpy-ifunc.c: Likewise.
31098 * string/test-memmem-ifunc.c: Likewise.
31099 * string/test-memmove-ifunc.c: Likewise.
31100 * string/test-mempcpy-ifunc.c: Likewise.
31101 * string/test-memset-ifunc.c: Likewise.
31102 * string/test-rawmemchr-ifunc.c: Likewise.
31103 * string/test-stpcpy-ifunc.c: Likewise.
31104 * string/test-stpncpy-ifunc.c: Likewise.
31105 * string/test-strcasecmp-ifunc.c: Likewise.
31106 * string/test-strcasestr-ifunc.c: Likewise.
31107 * string/test-strcat-ifunc.c: Likewise.
31108 * string/test-strchr-ifunc.c: Likewise.
31109 * string/test-strchrnul-ifunc.c: Likewise.
31110 * string/test-strcmp-ifunc.c: Likewise.
31111 * string/test-strcpy-ifunc.c: Likewise.
31112 * string/test-strcspn-ifunc.c: Likewise.
31113 * string/test-strlen-ifunc.c: Likewise.
31114 * string/test-strncasecmp-ifunc.c: Likewise.
31115 * string/test-strncat-ifunc.c: Likewise.
31116 * string/test-strncmp-ifunc.c: Likewise.
31117 * string/test-strncpy-ifunc.c: Likewise.
31118 * string/test-strnlen-ifunc.c: Likewise.
31119 * string/test-strpbrk-ifunc.c: Likewise.
31120 * string/test-strrchr-ifunc.c: Likewise.
31121 * string/test-strspn-ifunc.c: Likewise.
31122 * string/test-strstr-ifunc.c: Likewise.
31123
de54b33a
L
31124 * debug/Makefile (tests-ifunc): New variable.
31125 (tests): Add $(tests-ifunc).
31126 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31127 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31128 * debug/test-stpcpy_chk-ifunc.c: New file.
31129 * debug/test-strcpy_chk-ifunc.c: Likewise.
31130
88481c16
SP
311312012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31132
31133 [BZ #13601]
31134 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31135 header is not read in.
31136
135948bd
JM
311372012-10-19 Joseph Myers <joseph@codesourcery.com>
31138
89f1c388
JM
31139 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31140 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31141 directly. Pass built executable to script as
31142 $(built-program-cmd).
31143 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31144 $testprogram without using LD_LIBRARY_PATH and $ldso.
31145
e40a0d21
JM
31146 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31147 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31148 $(rtld-installed-name).
31149 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31150 (rtld_installed_name): Likewise.
31151 (library_path): Likewise.
31152 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31153 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31154 $(run-program-prefix) to tst-tables.sh.
31155 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31156 it to run tst-table-from and tst-table-to.
31157 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31158 Pass it to tst-table.sh.
31159 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31160 $(run-program-prefix) to tst-gettext.sh.
31161 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31162 tst-translit.sh.
31163 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31164 tst-gettext2.sh.
31165 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31166 to run tst-gettext.
31167 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31168 to run tst-gettext2.
31169 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31170 to run tst-translit.
31171 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31172 $(run-program-prefix) to tst-mtrace.sh.
31173 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31174 to run tst-mtrace.
31175 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31176 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31177 $(rtld-installed-name).
31178 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31179 (rtld_installed_name): Likewise.
31180 (run_program_prefix): New variable. Use it to run wordexp-test.
31181
728e272a
JM
31182 * Makeconfig (ARCH): Remove all definitions.
31183 (machine): Likewise.
31184 [ARCH]: Remove conditional code.
31185 [!objdir]: Give error.
31186 [!objdir] (objpfx): Remove.
31187 [!objdir] (common-objpfx): Likewise.
31188 [!objdir] (common-objdir): Likewise.
31189 * configure.in (config_makefile): Remove. Hardcode Makefile in
31190 AC_CONFIG_FILES call.
31191 * configure: Regenerated.
31192
d528cdcf
JM
31193 [BZ #13888]
31194 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31195 or TMPDIR.
31196 (testout): Likewise.
31197
135948bd
JM
31198 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31199 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31200 $(rtld-installed-name).
31201 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31202 (rtld_installed_name): Likwise.
31203 (runit): Remove function.
31204 (run_getconf): New variable, Use it for running getconf binary.
31205
38c78296
L
312062012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31207
31208 [BZ #14716]
31209 * string/test-memmem.c (check_result): New function.
31210 (do_one_test): Use it.
31211 (check1): New function.
31212 (test_main): Use it.
31213
d077f65f
MT
312142012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31215
31216 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31217
ced52c71
JM
312182012-10-18 Joseph Myers <joseph@codesourcery.com>
31219
31220 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31221 (_G_LSEEK64): Likewise.
31222 (_G_MMAP64): Likewise.
31223 (_G_FSTAT64): Likewise.
31224 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31225 (_G_LSEEK64): Likewise.
31226 (_G_MMAP64): Likewise.
31227 (_G_FSTAT64): Likewise.
31228 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31229 unconditional. Call __mmap64 directly.
31230 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31231 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31232 __lseek64 directly.
31233 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31234 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31235 __mmap64 directly.
31236 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31237 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31238 __lseek64 directly.
31239 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31240 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31241 __lseek64 directly.
31242 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31243 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31244 __lseek64 directly.
31245 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31246 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31247 __fxstat64 directly.
31248 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31249 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31250 unconditional.
31251 (freopen64) [!_G_OPEN64]: Remove conditional code.
31252 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31253 unconditional.
31254 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31255 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31256 unconditional.
31257 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31258 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31259 unconditional.
31260 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31261 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31262 unconditional.
31263 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31264 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31265 unconditional.
31266 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31267 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31268 unconditional.
31269 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31270 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31271 unconditional.
31272 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31273
b741de23
SP
312742012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31275
31276 [BZ #12140]
31277 * manual/memory.texi (Malloc Tunable Parameters): Add note
31278 about free list pointers overwriting some perturb bytes.
31279 Wording suggested by Roland McGrath.
31280
f9b9d9c9
JM
312812012-10-17 Joseph Myers <joseph@codesourcery.com>
31282
31283 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31284 (lgamma_test): Likewise.
31285 (tgamma_test): Likewise.
31286
172a631a
FW
312872012-10-16 Florian Weimer <fweimer@redhat.com>
31288
31289 [BZ #14700]
31290 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31291 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31292
e9f37252
MK
312932012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31294
31295 * NEWS: Mention BZ #14716.
31296 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31297 when removing AVAILABLE1_USES_J macro.
31298
d394eb74
L
312992012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31300
31301 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31302 (__bswap_64): __uint64_t for unsigned 64-bit int.
31303
ca38dc17
AS
313042012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31305
31306 * include/string.h (memmem): Declare libc hidden alias.
31307 * string/memmem.c (memmem): Define libc hidden alias.
31308 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31309 __read, __close instead of open, read, close.
31310
9a387d1f
L
313112012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31312
ac49ecaf
L
31313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31314 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31315 global and hidden.
31316 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31317 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31318 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31319 Likewise.
31320 (__rawmemchr_sse2): Likewise.
31321 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31322 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31323 (__strchr_sse2): Likewise.
31324 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31325 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31326 (__strcasecmp_sse2): Likewise.
31327 (__strncasecmp_sse2): Likewise.
31328 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31329 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31330 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31331 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31332 (__strrchr_sse2): Likewise.
31333 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31334 ifunc-impl-list.c.
31335 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31336 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31337 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31338 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31339 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31341 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31342 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31343 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31344 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31345 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31347 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31348 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31349 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31350 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31351 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31352 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31353 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31354 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31355 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31356 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31357 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31358 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31359 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31360 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31361 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31362 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31363 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31364 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31365
b090e8ea
L
31366 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31367 global and hidden.
31368 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31369 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31370 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31371 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31372 Likewise.
31373 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31374 Likewise.
31375 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31376 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31377 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31378 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31379 ifunc-impl-list.c.
31380 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31381 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31382 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31383 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31390 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31392 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31394 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31398 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31411 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31412 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31413 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31414 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31415 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31416 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31417 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31418 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31419 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31420 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31421
11dd4af6
L
31422 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31423 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31424 * include/ifunc-impl-list.h: New file.
31425 * misc/ifunc-impl-list.c: Likewise.
31426 * misc/Makefile (routines): Add ifunc-impl-list.
31427 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31428 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31429 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31430 TEST_NAME]: New variables.
11dd4af6
L
31431 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31432 are defined.
31433 (test_init): Call __libc_ifunc_impl_list to initialize
31434 func_list if TEST_IFUNC and TEST_NAME are defined.
31435
9a387d1f
L
31436 * string/Makefile (strop-tests): Add bcopy and bzero.
31437 * string/test-bcopy.c: New file.
31438 * string/test-bzero.c: Likewise.
31439 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31440 defined.
31441 * string/test-memset.c: Support bzero test if TEST_BZERO is
31442 defined.
31443 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31444 __libc_memmove.
31445 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31446 __libc_memset.
31447 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31448 of memset.
31449
472371b9
JM
314502012-10-10 Joseph Myers <joseph@codesourcery.com>
31451
1e4a9536
JM
31452 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31453 * configure: Regenerated.
31454
d173d12e
JM
31455 * Makeconfig (+link-static-before-libc): Don't include
31456 $(link-static-libc).
31457
472371b9
JM
31458 * libio/libio.h (_IO_pos_t): Remove.
31459
89a3ad0b
AO
314602012-10-10 Alexandre Oliva <aoliva@redhat.com>
31461
31462 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31463 McGrath.
31464
e7451425
AO
314652012-10-10 Alexandre Oliva <aoliva@redhat.com>
31466
31467 * crypt/crypt-entry.c: Include fips-private.h.
31468 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31469 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31470 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31471 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31472
4ba74a35
AO
314732012-10-10 Alexandre Oliva <aoliva@redhat.com>
31474
31475 * crypt/crypt-private.h: Include stdbool.h.
31476 (_ufc_setup_salt_r): Return bool.
31477 * crypt/crypt-entry.c: Include errno.h.
31478 (__crypt_r): Return NULL with EINVAL for bad salt.
31479 * crypt/crypt_util.c (bad_for_salt): New.
31480 (_ufc_setup_salt_r): Check that salt is long enough and within
31481 the specified alphabet.
31482 * crypt/badsalttest.c: New file.
31483 * crypt/Makefile (tests): Add it.
31484 ($(objpfx)badsalttest): New.
31485
f96f1242
MK
314862012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31487
31488 * NEWS: Add entry for BZ #14602.
31489
0e8e0c1c
JM
314902012-10-09 Joseph Myers <joseph@codesourcery.com>
31491
31492 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31493 type-generic.
31494 * math/libm-test.inc: Update comment listing what functions and
31495 macros are tested.
31496 (isgreater_test): New function.
31497 (isgreaterequal_test): Likewise.
31498 (isless_test): Likewise.
31499 (islessequal_test): Likewise.
31500 (islessgreater_test): Likewise.
31501 (isunordered_test): Likewise.
31502 (main): Call the new functions.
31503
273edc5e
RM
315042012-10-09 Roland McGrath <roland@hack.frob.com>
31505
b8493de0
RM
31506 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31507 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31508 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31509 * sysdeps/i386/configure: Regenerated.
31510 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31511 * sysdeps/mach/configure: Regenerated.
31512 * sysdeps/mach/hurd/configure: Regenerated.
31513 * sysdeps/powerpc/configure: Regenerated.
31514 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31515 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31516 * sysdeps/s390/s390-32/configure: Regenerated.
31517 * sysdeps/s390/s390-64/configure: Regenerated.
31518 * sysdeps/sh/configure: Regenerated.
31519 * sysdeps/sparc/configure: Regenerated.
31520 * sysdeps/unix/sysv/linux/configure: Regenerated.
31521 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31522 * sysdeps/x86_64/configure: Regenerated.
31523
273edc5e
RM
31524 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31525 defined. Don't check if MAP is NULL.
31526
c8450f70
JM
315272012-10-09 Joseph Myers <joseph@codesourcery.com>
31528
31529 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31530 (_G_stat64): Likewise.
31531 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31532 (_G_stat64): Likewise.
31533 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31534 instead of struct _G_stat64.
31535 * libio/fileops.c (mmap_remap_check): Likewise.
31536 (decide_maybe_mmap): Likewise.
31537 (_IO_new_file_seekoff): Likewise.
31538 (_IO_file_stat): Likewise.
31539 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31540 _G_off64_t.
31541 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31542 instead of struct _G_stat64.
31543 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31544
57e605ba
MK
315452012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31546
31547 [BZ #14602]
31548 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31549 Replace with ...
31550 (CHECK_EOL): New macro.
31551 (two_way_short_needle): Check beginning of haystack for EOL. Use
31552 CHECK_EOL.
31553 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31554 Replace with CHECK_EOL.
31555 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31556 Replace with CHECK_EOL.
31557
ef1bb361
JM
315582012-10-08 Joseph Myers <joseph@codesourcery.com>
31559
31560 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31561 type-generic.
31562 * math/libm-test.inc: Update comment listing what functions and
31563 macros are tested.
31564 (finite_test): New function.
31565 (isinf_test): Likewise.
31566 (isnan_test): Likewise.
31567 (fpclassify_test): Test subnormal input.
31568 (isfinite_test): Likewise.
31569 (isnormal_test): Likewise.
31570 (main): Call the new functions.
31571
55f11534
JN
315722012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31573
31574 [BZ #14660]
31575 * Makerules (%.dynsym): Force C locale when running
31576 $(OBJDUMP) --dynamic-syms.
31577
1ab29350
AS
315782012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31579
31580 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31581 <stdint.h>.
31582
f1ecb7ef
DM
315832012-10-06 David S. Miller <davem@davemloft.net>
31584
31585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31586 upper 32-bits of the length value in %o2 since we use branch-on-register
31587 tests which consider the entire 64-bit register.
31588
5d41d91a
L
315892012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31590
31591 * string/test-strstr.c (check2): Add a test for page boundary.
31592
3baddb72
DM
315932012-10-05 David S. Miller <davem@davemloft.net>
31594
31595 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31596 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31597 file.
31598 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31599 sysdep_routines.
31600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31601 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31602 and bzero when HWCAP_SPARC_CRYPTO is present.
31603
9cee5585
L
316042012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31605
d7e0dab9
L
31606 [BZ #14602]
31607 * string/test-strstr.c (check2): New function.
31608 (test_main): Call check2.
31609
03759f47
L
31610 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31611 and bug-strchr1.
31612 * string/bug-strcasestr1.c (do_test): Moved to ...
31613 * string/test-strcasestr.c (check1): Here. New function.
31614 (do_one_test): Break out result checking code into ...
31615 (check_result): This. New function.
31616 (do_one_test): Call check_result.
31617 (test_main): Call check1.
31618 * string/bug-strchr1.c (do_test): Moved to ...
31619 * string/test-strchr.c (check1): Here. New function.
31620 (do_one_test): Break out result checking code into ...
31621 (check_result): This. New function.
31622 (do_one_test): Call check_result.
31623 (test_main): Call check1.
31624 * string/bug-strstr1.c (main): Moved to ...
046f153e 31625 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31626 (do_one_test): Break out result checking code into ...
31627 (check_result): This. New function.
31628 (do_one_test): Call check_result.
31629 (test_main): Call check1.
31630 * string/bug-strcasestr1.c: Removed.
31631 * string/bug-strchr1.c: Likewise.
31632 * string/bug-strstr1.c: Likewise.
31633
53cea63e
L
31634 * elf/Makefile (dl-routines): Add hwcaps.
31635 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31636 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31637 (_dl_important_hwcaps): Moved to ...
31638 * elf/dl-hwcaps.c: Here. New file.
31639 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31640
9cee5585 31641 [BZ #14557]
bb859b06
L
31642 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31643 if IS_IN_rtld isn't defined.
31644
9cee5585
L
31645 * elf/dl-support.c (_dl_sysinfo_map): New.
31646 Include "get-dynamic-info.h" and "setup-vdso.h".
31647 (_dl_non_dynamic_init): Call setup_vdso.
31648 * elf/dynamic-link.h: Don't include <assert.h>.
31649 (elf_get_dynamic_info): Moved to ...
31650 * elf/get-dynamic-info.h: Here. New file.
31651 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31652 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31653 * elf/setup-vdso.h: Here. New file.
31654 * elf/rtld.c: Include "setup-vdso.h".
31655 (dl_main): Call setup_vdso.
31656
23c31b76
JM
316572012-10-05 Joseph Myers <joseph@codesourcery.com>
31658
28234b07
JM
31659 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31660 creal in comment listing functions tested. List finite, isinf,
31661 isnan, isless, islessequal, isgreater, isgreaterequal,
31662 islessgreater, isunordered, lgamma_r and pow10 as functions and
31663 macros not tested. Mention which functions not tested are aliases
31664 for other functions. Fix typo. Note that signs of NaNs are not
31665 tested.
31666
23c31b76
JM
31667 * scripts/config.guess: Update from config.git.
31668 * scripts/config.sub: Likewise.
31669
9043e228
RM
316702012-10-04 Roland McGrath <roland@hack.frob.com>
31671
31672 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31673 * misc/madvise.c (madvise): Renamed to __madvise.
31674 Make madvise a weak alias.
31675 * include/sys/mman.h: Declare __madvise.
31676 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31677 * sysdeps/unix/syscalls.list
31678 (madvise): Make __madvise the strong name, and madvise a weak alias.
31679 * sysdeps/unix/sysv/linux/syscalls.list
31680 (madvise, mmap): Remove redundant entries.
31681 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31682 * malloc/malloc.c (mtrim): Likewise.
31683 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31684
f57f8055
RM
316852012-10-03 Roland McGrath <roland@hack.frob.com>
31686
31687 * sysdeps/mach/hurd/dl-cache.c: File removed.
31688 * config.h.in (USE_LDCONFIG): New #undef.
31689 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31690 * configure: Regenerated.
31691 * elf/Makefile (dl-routines): Add dl-cache only under
31692 [$(use-ldconfig) = yes].
31693 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31694 cache on [USE_LDCONFIG].
31695 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31696 [USE_LDCONFIG].
31697 * elf/rtld.c (dl_main): Likewise.
31698
5bb0c10a
PT
316992012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31700
31701 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31702 _SC_LEVEL4_CACHE_LINESIZE.
31703
010188c6
RM
317042012-10-03 Roland McGrath <roland@hack.frob.com>
31705
31706 * sysdeps/unix/bsd/confstr.h: File removed.
31707
b6c5ec07
AO
317082012-10-02 Alexandre Oliva <aoliva@redhat.com>
31709
31710 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31711 sys/sdt-config.h.
31712
408223d4
RM
317132012-10-02 Roland McGrath <roland@hack.frob.com>
31714
31715 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31716 Make 'mapoff' field ElfW(Off) rather than off_t.
31717
bb9510dc
DL
317182012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31719
fc997c6e
DL
31720 * nscd/Makefile: Remove nscd-cflags and all its users.
31721 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31722 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31723
bb9510dc
DL
31724 [BZ #10631]
31725 * malloc.c (malloc_printerr): Clarify error message.
31726
05699367
L
317272012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31728
31729 [BZ #14648]
31730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31731 Set bit_FMA_Usable if FMA is supported.
31732 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31733 macro.
31734 (bit_FMA4_Usable): Updated.
31735 (index_FMA_Usable): New macro.
31736 (CPUID_FMA): Likewise
31737 (HAS_FMA): Defined with bit_FMA_Usable.
31738
51367701
RM
317392012-10-01 Roland McGrath <roland@hack.frob.com>
31740
31741 * bits/types.h (__swblk_t): Type removed.
31742 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31743 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31745 (__SWBLK_T_TYPE): Likewise.
31746 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31747 (__SWBLK_T_TYPE): Likewise.
31748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31749 (__SWBLK_T_TYPE): Likewise.
31750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31751 (__SWBLK_T_TYPE): Likewise.
31752
4d57bf63 317532012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31754 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31755
31756 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31757 (xdr_mapname): Use YPMAXMAP as maxsize.
31758 (xdr_peername): Use YPMAXPEER as maxsize.
31759 (xdr_keydat): Use YPAXRECORD as maxsize.
31760 (xdr_valdat): Use YPMAXRECORD as maxsize.
31761
93c65d43
RM
317622012-10-01 Roland McGrath <roland@hack.frob.com>
31763
497a03d6
RM
31764 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31765
93c65d43
RM
31766 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31767 * csu/init-first.c: ... here.
31768 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31769 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31770 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31771 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31772 * sysdeps/i386/init-first.c: File removed.
31773 * sysdeps/sh/init-first.c: File removed.
31774
bec749fd
JM
317752012-10-01 Joseph Myers <joseph@codesourcery.com>
31776
31777 [BZ #14645]
31778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31779 if x * y might underflow to zero and z is zero.
31780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31782 * math/libm-test.inc (min_subnorm_value): New variable.
31783 (fma_test): Add more tests.
31784 (fma_test_towardzero): Likewise.
31785 (fma_test_downward): Likewise
31786 (fma_test_upward): Likewise.
31787 (initialize): Set min_subnorm_value.
31788
8ec5b013
JM
317892012-09-29 Joseph Myers <joseph@codesourcery.com>
31790
31791 [BZ #14638]
31792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31793 0 + 0.
31794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31795 mode for addition resulting in exact zero.
31796 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31798 exact 0 + 0.
31799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31801 * math/libm-test.inc (fma_test): Add more tests.
31802 (fma_test_towardzero): New function.
31803 (fma_test_downward): Likewise.
31804 (fma_test_upward): Likewise.
31805 (main): Call the new functions.
31806
b1fa802e
DM
318072012-09-28 David S. Miller <davem@davemloft.net>
31808
31809 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31810
d3b9fd9e
RM
318112012-09-28 Roland McGrath <roland@hack.frob.com>
31812
ea4d37b3
RM
31813 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31814 instead of SIGALRM.
31815
ac51c949
RM
31816 * sysdeps/gnu/_G_config.h: Moved to ...
31817 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31818 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31819 * sysdeps/generic/_G_config.h: ... here.
31820
28c195f7
RM
31821 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31822
848917f9
RM
31823 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31824
6bacf05b
RM
31825 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31826 Conditionalize target on [libnss_test1.so-version].
31827
91363dbb
RM
31828 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31829
cc87f7d8
RM
31830 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31831 (elfobjdir): Move out of conditionals.
31832
b1c608fe
RM
31833 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31834 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31835 (__nss_lookup_function): Conditionalize label remove_from_tree on
31836 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31837
1d9a6d96
DM
318382012-09-28 David S. Miller <davem@davemloft.net>
31839
31840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31842 file.
31843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31844 sysdep_routines.
31845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31846 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31847 when HWCAP_SPARC_CRYPTO is present.
31848
72581615
PT
318492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31850
31851 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31852
715a900c
JL
318532012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31854
31855 [BZ #6530]
31856 * stdio-common/vfprintf.c (process_string_arg): Revert
31857 2000-07-22 change.
31858
318592011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31860
31861 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31862 for testcase.
31863 * stdio-common/tst-sprintf.c: Include <locale.h>
31864 (main): Test sprintf's handling of incomplete multibyte
31865 characters.
31866
9bac1d86
L
318672012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 * elf/dl-runtime.c (VERSYMIDX): Removed.
31870 * elf/dl-version.c (VERSYMIDX): Likewise.
31871 * elf/do-rel.h (VERSYMIDX): Likewise.
31872 (VALIDX): Likewise.
31873 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31874 * elf/rtld.c (VALIDX): Likewise.
31875 (ADDRIDX): Likewise.
9bac1d86
L
31876 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31877 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31878 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31879 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31880 (VALIDX): Likewise.
31881 (ADDRIDX): Likewise.
9bac1d86 31882
b31606c0
PT
318832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31884
31885 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31886
11541177
JL
318872012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31888
31889 [BZ #11438]
31890 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31891 to global scope.
31892 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31893 addresses are in the same scope as 192.0.2/24.
31894 * posix/gai.conf: Document new scope table defaults.
31895
adb26fae
SP
318962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31897
31898 [BZ #5298]
31899 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31900 for ftell. Compute offsets from write pointers instead.
31901 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31902
4573c6b0
SP
319032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31904
31905 [BZ #14543]
31906 * libio/Makefile (tests): New test case tst-fseek.
31907 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31908 combination works in wide mode.
31909 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31910 state when the external buffer state changes.
31911
aa9bbfe6
DM
319122012-09-27 David S. Miller <davem@davemloft.net>
31913
31914 [BZ #14376]
31915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31916 pass reloc->r_addend in as the 'high' argument to
31917 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31918
784421e7
DM
31919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31920
c39bc8b8
PT
319212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31922
31923 * rt/tst-aio2.c: Include <pthread.h>.
31924 * rt/tst-aio3.c: Likewise.
31925
1ccc2399
SE
319262012-09-27 Steve Ellcey <sellcey@mips.com>
31927
31928 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31929
31ed4153
L
319302012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31931
25f5f885
L
31932 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31933 contents on [SHARED].
31ed4153 31934
b7bfe116
MP
319352012-09-26 Marek Polacek <polacek@redhat.com>
31936
31937 [BZ #14530]
31938 [BZ #13741]
31939 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31940 for C++ and GCC <4.3 as well as for non GCC compilers.
31941
43c4edba
MT
319422012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31943
31944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31945
6a1bf82f
RM
319462012-09-25 Roland McGrath <roland@hack.frob.com>
31947
31948 * Makefile.in (all, install): Declare with .PHONY.
31949 Reported by Michael Hope <michael.hope@linaro.org>.
31950
8ad11b9a
TMQMF
319512012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31952
31953 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31954 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31955 system header.
31956 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31957 Likewise.
31958 (sydep_routines): Add the new and the internal functions.
31959 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31960 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31962 (GLIBC_2.17): Add the new function.
31963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31964 (GLIBC_2.17): Likewise.
31965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31966 (GLIBC_2.17): Likewise.
31967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31968 (GLIBC_2.17): Likewise.
31969 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31970
7e2fca8d
AM
319712012-09-25 Alan Modra <amodra@gmail.com>
31972
31973 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31974 Add release barrier before setting once_control to say
31975 initialisation is done. Add hints on lwarx. Use macro in
31976 place of isync.
31977 (clear_once_control): Add release barrier.
31978
b87c4b24
JM
319792012-09-25 Joseph Myers <joseph@codesourcery.com>
31980
d032e0d2
JM
31981 [BZ #13629]
31982 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31983 specially.
31984 * math/s_clog10.c (__clog10): Likewise.
31985 * math/s_clog10f.c (__clog10f): Likewise.
31986 * math/s_clog10l.c (__clog10l): Likewise.
31987 * math/s_clogf.c (__clogf): Likewise.
31988 * math/s_clogl.c (__clogl): Likewise.
31989 * math/Makefile (libm-calls): Add x2y2m1.
31990 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31991 (__x2y2m1): Likewise.
31992 (__x2y2m1l): Likewise.
31993 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31994 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31995 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31996 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31997 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31998 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31999 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32000 * sysdeps/i386/fpu/libm-test-ulps: Update.
32001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32002
b87c4b24
JM
32003 [BZ #14621]
32004 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32005 int as type of variable DEPTH.
32006 (glob): Use size_t instead of int as type of variables NEWCOUNT
32007 and OLD_PATHC.
32008
6d3bf199
LD
320092012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32010
22bf5c17
LD
32011 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32012 Add s_sincosf-sse2.
32013 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32014 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32015 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32016 macros for using routine as __sincosf_ia32.
32017 Use macro for function declaration and weak_alias.
32018 * sysdeps/i386/fpu/libm-test-ulps: Update.
32019
32020 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32022
32023 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32024 subnormal argument.
32025 * math/s_cexpf.c (__cexpf): Likewise.
32026 * math/s_csinf.c (__csinf): Likewise.
32027 * math/s_csinhf.c (__csinhf): Likewise.
32028 * math/s_ctanf.c (__ctanf): Likewise.
32029 * math/s_ctanhf.c (__ctanhf): Likewise.
32030 * math/s_ccosh.c (__ccoshf): Likewise.
32031 * math/s_cexp.c (__cexpl): Likewise.
32032 * math/s_csin.c (__csin): Likewise.
32033 * math/s_csinh.c (__csinh): Likewise.
32034 * math/s_ctan.c (__ctan): Likewise.
32035 * math/s_ctanh.c (ctanh): Likewise.
32036 * math/s_ccoshl.c (__ccoshl): Likewise.
32037 * math/s_cexpl.c (__cexpl): Likewise.
32038 * math/s_csinl.c (__csinl): Likewise.
32039 * math/s_csinhl.c (__csinhl): Likewise.
32040 * math/s_ctanl.c (__ctanl): Likewise.
32041 * math/s_ctanhl.c (__ctanhl): Likewise.
32042
203e5603
JM
320432012-09-25 Joseph Myers <joseph@codesourcery.com>
32044
32045 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32046 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32047 (_IO_off_t): Define to __off_t, not _G_off_t.
32048 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32049 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32050 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32051 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32052 type of __dummy and __dummy2 fields.
32053 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32054 (_G_ssize_t): Likewise.
32055 (_G_off_t): Likewise.
32056 (_G_pid_t): Likewise.
32057 (_G_uid_t): Likewise.
32058 (_G_wchar_t): Likewise.
32059 (_G_wint_t): Likewise.
32060 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32061 (_G_ssize_t): Likewise.
32062 (_G_off_t): Likewise.
32063 (_G_pid_t): Likewise.
32064 (_G_uid_t): Likewise.
32065 (_G_wchar_t): Likewise.
32066 (_G_wint_t): Likewise.
32067 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32068 (_G_ssize_t): Likewise.
32069 (_G_off_t): Likewise.
32070 (_G_pid_t): Likewise.
32071 (_G_uid_t): Likewise.
32072 (_G_wchar_t): Likewise.
32073 (_G_wint_t): Likewise.
32074
9fab36eb
SP
320752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32076
32077 * malloc/arena.c: Include malloc-sysdep.h.
32078 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32079 is sufficient to shrink the heap or an unmap is needed.
32080 * sysdeps/generic/malloc-sysdep.h: New file. Define
32081 new function check_may_shrink_heap.
32082 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32083 new function check_may_shrink_heap.
32084
2b4f00d1
SP
320852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32086
32087 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32088 comments.
32089
9a9028b1
DL
320902012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32091
57c69bef
DL
32092 * catgets/test-gencat.sh: Add "set -e".
32093 * elf/tst-pathopt.sh: Likewise.
32094 * grp/tst_fgetgrent.sh: Likewise.
32095 * iconvdata/run-iconv-test.sh: Likewise.
32096 * intl/tst-gettext.sh: Likewise.
32097 * intl/tst-gettext2.sh: Likewise.
32098 * intl/tst-gettext4.sh: Likewise.
32099 * intl/tst-gettext6.sh: Likewise.
32100 * intl/tst-translit.sh: Likewise.
32101 * io/ftwtest-sh: Likewise.
32102 * libio/test-freopen.sh: Likewise.
32103 * malloc/tst-mtrace.sh: Likewise.
32104 * posix/globtest.sh: Likewise.
32105 * posix/tst-getconf.sh: Likewise.
32106 * posix/wordexp-tst.sh: Likewise.
32107 * stdio-common/tst-printf.sh: Likewise.
32108 * stdio-common/tst-unbputc.sh: Likewise.
32109 * stdlib/tst-fmtmsg.sh: Likewise.
32110 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32111 * catgets/Makefile: Do not specify -e option when running
32112 testsuite shell scripts.
32113 * elf/Makefile: Likewise.
32114 * grp/Makefile: Likewise.
32115 * iconvdata/Makefile: Likewise.
32116 * intl/Makefile: Likewise.
32117 * io/Makefile: Likewise.
32118 * libio/Makefile: Likewise.
32119 * malloc/Makefile: Likewise.
32120 * posix/Makefile: Likewise.
32121 * stdio-common/Makefile: Likewise.
32122 * stdlib/Makefile: Likewise.
32123 * sysdeps/x86_64/Makefile: Likewise.
32124
9a9028b1
DL
32125 * io/ftwtest-sh: Add copyright header.
32126 * posix/globtest.sh: Likewise.
32127 * posix/tst-getconf.sh: Likewise.
32128 * posix/wordexp-tst.sh: Likewise.
32129 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32130
ced6f16e
L
321312012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32132
94b32c39
L
32133 [BZ #13679]
32134 * Makeconfig (+link): Defined as $(+link-static) if
32135 $(build-shared) isn't yes.
32136 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32137 isn't yes.
32138 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32139
189e935b
L
32140 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32141
ced6f16e
L
32142 [BZ #14562]
32143 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32144 new chunk size with MALLOC_ALIGN_MASK.
32145
a9f8e53a
JM
321462012-09-24 Joseph Myers <joseph@codesourcery.com>
32147
32148 [BZ #5044]
32149 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32150 <rounding-mode.h>.
32151 (__printf_fphex): Determine rounding using get_rounding_mode and
32152 round_away.
32153 * stdio-common/tst-printf-round.c (struct hex_test): New
32154 structure.
32155 (hex_tests): New variable.
32156 (test_hex_in_one_mode): New function.
32157 (do_test): Also run tests for hex float output.
32158
43153109
JM
321592012-09-21 Joseph Myers <joseph@codesourcery.com>
32160
32161 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32162 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32163 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32164 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32165 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32166 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32167 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32169
8a26625d
JM
321702012-09-20 Joseph Myers <joseph@codesourcery.com>
32171
32172 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32173 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32174 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32175 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32176
f3fd569c
DL
321772012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32178
32179 [BZ #14579]
32180 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32181 mode only.
32182 * elf/tst-rtld-load-self.sh: New test.
32183 * elf/Makefile: Run it.
32184
63bbedd4
JM
321852012-09-18 Joseph Myers <joseph@codesourcery.com>
32186
32187 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32188 (tst-writev-ENV): Remove.
32189 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32190
626f8b6a
CM
321912012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32192
32193 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32194
b7aaa4d6
JM
321952012-09-17 Joseph Myers <joseph@codesourcery.com>
32196
32197 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32198 unconditional.
32199 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32200 Likewise.
32201 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32202 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32203 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32204 Likewise.
32205
65513990
L
322062012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32207
32208 [BZ #14587]
32209 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32210 * config.make.in (have-cpp-asm-debuginfo): Removed.
32211 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32212 * configure: Regenerated.
32213
784761be
JM
322142012-09-14 Joseph Myers <joseph@codesourcery.com>
32215
32216 [BZ #5044]
32217 * stdio-common/printf_fp.c: Include <stdbool.h> and
32218 <rounding-mode.h>.
32219 (___printf_fp): Determine rounding using get_rounding_mode and
32220 round_away.
32221 * stdio-common/tst-printf-round.c: New file.
32222 * stdio-common/Makefile (tests): Add tst-printf-round.
32223 (link-libm): New variable.
32224 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32225
9503345f
L
322262012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32227
32228 [BZ #14576]
32229 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32230 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32231 Likewise.
32232 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32233 Likewise.
32234
ad35fc00
JM
322352012-09-13 Joseph Myers <joseph@codesourcery.com>
32236
32237 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32238 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32239 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32240 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32241
6c9b0f68
JM
322422012-09-12 Joseph Myers <joseph@codesourcery.com>
32243
32244 [BZ #14518]
32245 * include/rounding-mode.h: New file.
32246 * sysdeps/generic/get-rounding-mode.h: Likewise.
32247 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32248 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32249 (MAX_VALUE): New macro.
32250 (MIN_VALUE): Likewise.
32251 (overflow_value): New function.
32252 (underflow_value): Likewise.
32253 (round_and_return): Use overflow_value and underflow_value to
32254 determine return values in overflow and underflow cases. Use
32255 round_away to determine rounding depending on rounding mode.
32256 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32257 determine return values in overflow and underflow cases.
32258 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32259 (struct test_results): New structure.
32260 (struct test): Use struct test_results to store expected results
32261 for all rounding modes.
32262 (TEST): Include expected results for all rounding modes.
32263 (test_in_one_mode): New function.
32264 (do_test): Use test_in_one_mode to compute and check results.
32265 Check results for all rounding modes.
32266 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32267 $(link-libm).
32268
19fcedd5
AM
322692012-12-09 Allan McRae <allan@archlinux.org>
32270
1e9d84cd 32271 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32272
8bbfd2f1
JM
322732012-09-11 Joseph Myers <joseph@codesourcery.com>
32274
32275 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32276 (_G_int32_t): Likewise.
32277 (_G_uint16_t): Likewise.
32278 (_G_uint32_t): Likewise.
32279 (_G_HAVE_BOOL): Likewise.
32280 (_G_HAVE_ATEXIT): Likewise.
32281 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32282 (_G_HAVE_IO_FILE_OPEN): Likewise.
32283 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32284 (_G_int32_t): Likewise.
32285 (_G_uint16_t): Likewise.
32286 (_G_uint32_t): Likewise.
32287 (_G_HAVE_BOOL): Likewise.
32288 (_G_HAVE_ATEXIT): Likewise.
32289 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32290 (_G_HAVE_IO_FILE_OPEN): Likewise.
32291 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32292 (_G_int32_t): Likewise.
32293 (_G_uint16_t): Likewise.
32294 (_G_uint32_t): Likewise.
32295 (_G_HAVE_BOOL): Likewise.
32296 (_G_HAVE_ATEXIT): Likewise.
32297 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32298 (_G_HAVE_IO_FILE_OPEN): Likewise.
32299
b1dc5912
L
323002012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32301
32302 * csu/libc-tls.c: Update copyright years.
32303
0e886ef9
JM
323042012-09-10 Joseph Myers <joseph@codesourcery.com>
32305
28361c5e
JM
32306 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32307 [!_G_USING_THUNKS]: Remove conditional code.
32308 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32309 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32310
0e886ef9
JM
32311 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32312 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32313 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32314 (_G_VTABLE_LABEL_PREFIX): Likewise.
32315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32316 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32317 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32318 (_G_VTABLE_LABEL_PREFIX): Likewise.
32319 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32320 * sysdeps/mach/hurd/_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
bcba7aa2
L
323252012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32326
32327 * libio/Makefile: Include ../Makeconfig before tests.
32328 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32329 only if $(build-shared) is yes.
32330
06585ee8
L
32331 * iconv/gconv_db.c: Update copyright years.
32332
80ccd52c
LD
323332012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32334
32335 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32336 unwind info if defined PIC. Fix special cases description.
32337 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32338
32339 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32340 DP_HI_MASK entry.
32341 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32342
691bc9c1
L
323432012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32344
3d9b46b3
L
32345 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32346
de2139a9
L
32347 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32348 is NULL.
32349
5ca78dd0
L
32350 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32351 (LDLIBS-tst-chk4): This.
32352 (LDFLAGS-tst-chk5): Renamed to ...
32353 (LDLIBS-tst-chk5): This.
32354 (LDFLAGS-tst-chk6): Renamed to ...
32355 (LDLIBS-tst-chk6): This.
32356 (LDFLAGS-tst-lfschk4): Renamed to ...
32357 (LDLIBS-tst-lfschk4): This.
32358 (LDFLAGS-tst-lfschk5): Renamed to ...
32359 (LDLIBS-tst-lfschk5): This.
32360 (LDFLAGS-tst-lfschk6): Renamed to ...
32361 (LDLIBS-tst-lfschk6): This.
32362
691bc9c1
L
32363 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32364 on $(common-objpfx)soversions.mk.
32365
65cafb1c
JM
323662012-09-07 Joseph Myers <joseph@codesourcery.com>
32367
32368 [BZ #10014]
32369 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32370 example host name.
32371
c78ab094
SP
323722012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32373
32374 * malloc/arena.c (arena_get_retry): New function that gets
32375 another arena for the caller to try its request on.
32376 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32377 current arena cannot fulfill the request.
32378 (__libc_memalign): Likewise.
32379 (__libc_memalign): Likewise.
32380 (__libc_pvalloc): Likewise.
32381 (__libc_calloc): Likewise.
32382
01f49f59
JT
323832012-09-05 John Tobey <john.tobey@gmail.com>
32384
32385 [BZ #13542]
32386 * manual/arith.texi (Operations on Complex): Fix description
32387 of carg branch cut.
32388
4c23fed5
JM
323892012-09-06 Joseph Myers <joseph@codesourcery.com>
32390
1d3c8572
JM
32391 [BZ #10014]
32392 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32393 host name.
32394
4c23fed5
JM
32395 [BZ #10038]
32396 * manual/memory.texi (Memory): Make order of menu items match
32397 order of sections.
32398
04570aaa
L
323992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32400
32401 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32402 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32403 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32404
b80af2f4
L
324052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32406
32407 * csu/libc-tls.c (static_dtv): Renamed to ...
32408 (_dl_static_dtv): This. Make it global.
32409 (_dl_initial_dtv): Removed.
32410 (__libc_setup_tls): Updated.
32411 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32412 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32413 DL_INITIAL_DTV.
32414
2abe9f15
PM
324152012-09-06 Petr Machata <pmachata@redhat.com>
32416
32417 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32418 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32419 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32420 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32421
0948c3af
L
324222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32423
32424 [BZ #14545]
32425 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32426 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32427 freeing dtv[-1].
32428
a5055ad1
L
324292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32430
32431 [BZ #14544]
32432 * Makeconfig (link-static-before-libc): Replace $(+prector)
32433 with $(+prectorT).
32434 (link-static-after-libc): Replace $(+postctor) with
32435 $(+postctorT).
32436 (link-bounded): Replace $(+prector)/$(+postctor) with
32437 $(+prectorT)/$(+postctorT).
32438 (+prectorT): New macro.
32439 (+postctorT): Likewise.
32440
ed8c2ecd
JM
324412012-09-06 Joseph Myers <joseph@codesourcery.com>
32442
32443 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32444 (round_str): Handle values above the maximum for IBM long double
32445 as inexact.
32446 * stdlib/tst-strtod-round.c (tests): Regenerated.
32447
14c996c8
AK
324482012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32449
32450 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32451 assembler flag.
32452 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32453 zarch_nohighgprs around the zarch optimized routines.
32454 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32455 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32456 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32457 for zarch.
32458
430d6ce6
DM
324592012-09-05 David S. Miller <davem@davemloft.net>
32460
32461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32462
57f41c40
AS
32463 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32464 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32465 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32466 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32467 entries.
32468
24d4e01b
AO
324692012-09-05 Alexandre Oliva <aoliva@redhat.com>
32470
32471 * malloc/arena.c: Fold copyright years.
32472 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32473
61d58174
AO
324742012-09-05 Alexandre Oliva <aoliva@redhat.com>
32475
32476 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32477
20196a5e
AO
324782012-09-05 Alexandre Oliva <aoliva@redhat.com>
32479
32480 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32481
5c447383
AO
324822012-09-05 Alexandre Oliva <aoliva@redhat.com>
32483
32484 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32485 change internal state upon failure.
32486
fad64255
AO
324872012-09-05 Alexandre Oliva <aoliva@redhat.com>
32488
32489 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32490 * malloc/memusage.c (mmap): Likewise.
32491 (mmap64, mremap): Likewise. Adjust name in comment.
32492
1ffb8c90
SP
324932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32494
32495 * libio/fileops.c: Fix typos in comments.
32496 * libio/oldfileops.c: Likewise.
32497 * libio/wfileops.c: Likewise.
32498
6ef9cc37
SP
324992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32500
32501 [BZ #1349]
32502 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32503 (tst-malloc-usable-ENV): Set environment for test case.
32504 * malloc/hooks.c (malloc_check_get_size): New function to get
32505 requested size.
32506 * malloc/malloc.c (musable): Use malloc_check_get_size.
32507 * malloc/tst-malloc-usable.c: New test case.
32508
4d038ae3
AS
325092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32510
32511 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32512
c4e85184
AM
325132012-09-05 Allan McRae <allan@archlinux.org>
32514
b9dafc56 32515 [BZ #13966]
c4e85184
AM
32516 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32517 determine header location.
32518 * configure: Regenerated.
32519
e1343020
AS
325202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32521
32522 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32523 float format.
32524 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32525 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32526 format.
e1343020
AS
32527 (test): Regenerate.
32528
0a9f1987
DM
325292012-09-04 David S. Miller <davem@davemloft.net>
32530
32531 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32532 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32533 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32534
29237804
FW
325352012-09-04 Florian Weimer <fweimer@redhat.com>
32536
32537 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32538 failures.
32539
edb3cb88
FW
32540 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32541
60160d83
JM
325422012-09-04 Joseph Myers <joseph@codesourcery.com>
32543
32544 [BZ #9914]
32545 * libio/iogetdelim.c: Include <limits.h>.
32546 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32547 + len + 1 would overflow.
32548
bcd6c8dc
AJ
325492012-09-03 Andreas Jaeger <aj@suse.de>
32550
32551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32552 * sysdeps/i386/fpu/libm-test-ulps: Update.
32553
4ffffbd2
LD
325542012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32555
32556 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32557 Add s_sinf-sse2, s_conf-sse2.
32558
32559 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32560 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32561 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32562 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32563
32564 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32565 for using routine as __sinf_ia32.
32566 Use macro for function declaration and weak_alias.
32567 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32568 for using routine as __cosf_ia32.
32569 Use macro for function declaration and weak_alias.
32570
32571 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32572 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32573
32574 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32575 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32577
32578 * math/libm-test.inc (cos_test): Add more test cases.
32579 (sin_test): Likewise.
32580 (sincos_test): Likewise.
32581
511fa286
AK
325822012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32583
32584 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32585 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32586 hidden.
32587 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32588
5f30cfec
L
325892012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32590
32591 [BZ #14538]
32592 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32593 first element of the GOT.
32594 (elf_machine_load_address): Return the difference between
32595 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32596
0786794f
AM
325972012-09-01 Allan McRae <allan@archlinux.org>
32598
5f30cfec
L
32599 [BZ #13412]
32600 * configure.in (AWK): Require gawk version 3.0 or later.
32601 * configure: Regenerated.
0786794f 32602
26889eac
JM
326032012-09-01 Joseph Myers <joseph@codesourcery.com>
32604
32605 * sysdeps/unix/sysv/linux/kernel-features.h
32606 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32607 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32608 [__NR_clock_getres]: Make code unconditional.
32609 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32610 (clock_getcpuclockid): Remove code left unreachable by removal of
32611 conditionals.
32612 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32613 code unconditional.
32614 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32615 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32616 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32617 Make code unconditional.
32618 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32619 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32620 * sysdeps/unix/sysv/linux/clock_settime.c
32621 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32622 conditional code.
32623 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32624 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32625
d22e28b0
L
326262012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32627
32628 [BZ #14476]
32629 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32630 scripts/test-installation.pl.
32631
32632 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32633 and $ld_so_version if it is set.
32634
050af9c4
SP
326352012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32636
32637 [BZ #14516]
32638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32639 failure if reading from procfs failed.
32640 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32641
ad845c0b
JM
326422012-08-27 Joseph Myers <joseph@codesourcery.com>
32643
32644 * sysdeps/unix/sysv/linux/kernel-features.h
32645 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32646 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32647 Remove conditional code.
32648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32649 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32650 Remove conditional code.
32651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32652 * sysdeps/unix/sysv/linux/i386/fxstat.c
32653 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32655 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32656 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32658 * sysdeps/unix/sysv/linux/i386/lxstat.c
32659 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32661 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32662 Remove conditional code.
32663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32664 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32665 Remove conditional code.
32666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32667 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32668 <kernel-features.h>.
32669 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32670 Remove.
32671 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32672 Remove conditional code.
32673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32674 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32675 Remove conditional.
32676
5dbf56af
MF
326772012-08-27 Mike Frysinger <vapier@gentoo.org>
32678
32679 [BZ #5400]
32680 * NEWS: Add fixed bug number.
32681
d6e70f43
JM
326822012-08-27 Joseph Myers <joseph@codesourcery.com>
32683
7efb4737
JM
32684 [BZ #14519]
32685 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32686 underflowing exponent in case of negative sign.
32687 * stdlib/tst-strtod-round-data: Add more tests.
32688 * stdlib/tst-strtod-round.c (tests): Regenerated.
32689
af92131a
JM
32690 [BZ #3479]
32691 * stdlib/strtod_l.c (NDIG): Remove.
32692 (HEXNDIG): Likewise.
32693 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32694 smallest representable value.
32695 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32696 lie within an exact representation of 1/2 ulp of the result.
32697 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32698 unconditionally.
32699 (TENS_P9_IDX): Define unconditionally.
32700 (TENS_P9_SIZE): Likewise.
32701 (TENS_P10_IDX): Likewise.
32702 (TENS_P10_SIZE): Likewise.
32703 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32704 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32705 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32706 entries for 10^2^13 and 10^2^14.
32707 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32708 (TENS_P13_IDX): Define.
32709 (TENS_P13_SIZE): Likewise.
32710 (TENS_P14_IDX): Likewise.
32711 (TENS_P14_SIZE): Likewise.
32712 (_fpioconst_pow10): Change array size to
32713 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32714 unconditional.
32715 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32716 1024]: Add entries for 10^2^13 and 10^2^14.
32717 [LAST_POW10 > _LAST_POW10]: Remove #error.
32718 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32719 (_fpioconst_pow10): Change array size to
32720 FPIOCONST_POW10_ARRAY_SIZE.
32721 * stdlib/gen-fpioconst.c: New file.
32722 * stdlib/gen-tst-strtod-round.c: Likewise.
32723 * stdlib/tst-strtod-round-data: Likewise.
32724 * stdlib/tst-strtod-round.c: Likewise.
32725 * stdlib/Makefile (tests): Add tst-strtod-round.
32726
d6e70f43
JM
32727 [BZ #14459]
32728 * stdlib/strtod_l.c: Include <stdint.h>.
32729 (NDEBUG): Do not define.
32730 (round_and_return): Change EXPONENT parameter to type intmax_t.
32731 Rearrange calculations to avoid internal overflow possibilities.
32732 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32733 Rearrange calculations to avoid internal overflow possibilities.
32734 Assert that number fits inside MPNSIZE limbs.
32735 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32736 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32737 calculations and add assertions to avoid internal overflow
32738 possibilities. Add casts to avoid signed/unsigned operations.
32739 * stdlib/tst-strtod-overflow.c: New file.
32740 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32741
1f529f7d
MP
327422012-08-25 Marek Polacek <polacek@redhat.com>
32743
32744 * time/time.h: Fix some typos in comments.
32745
59a629f1
RM
327462012-08-23 Roland McGrath <roland@hack.frob.com>
32747
32748 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32749 * posix/tst-rfc3484-2.c: Likewise.
32750 * posix/tst-rfc3484-3.c: Likewise.
32751
d3bafbc9
SM
327522012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32753
32754 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32755 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32756
4efcc022
JM
327572012-08-23 Joseph Myers <joseph@codesourcery.com>
32758
32759 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32760 #include of fxstatat64.c.
32761
3cc3ef96
RM
327622012-08-22 Roland McGrath <roland@hack.frob.com>
32763
f04e2132
RM
32764 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32765 * shadow/getspent_r.c: Likewise.
32766 * shadow/getspnam.c: Likewise.
32767 * shadow/getspnam_r.c: Likewise.
32768 * gshadow/getsgent.c: Likewise.
32769 * gshadow/getsgent_r.c: Likewise.
32770 * gshadow/getsgnam.c: Likewise.
32771 * gshadow/getsgnam_r.c: Likewise.
32772 * inet/getnetbyad.c: Likewise.
32773 * inet/getnetbyad_r.c: Likewise.
32774 * inet/getnetbynm.c: Likewise.
32775 * inet/getnetbynm_r.c: Likewise.
32776 * inet/getnetent.c: Likewise.
32777 * inet/getnetent_r.c: Likewise.
32778 * inet/getproto.c: Likewise.
32779 * inet/getproto_r.c: Likewise.
32780 * inet/getprtent.c: Likewise.
32781 * inet/getprtent_r.c: Likewise.
32782 * inet/getprtname.c: Likewise.
32783 * inet/getprtname_r.c: Likewise.
32784 * inet/getrpcbyname.c: Likewise.
32785 * inet/getrpcbyname_r.c: Likewise.
32786 * inet/getrpcbynumber.c: Likewise.
32787 * inet/getrpcbynumber_r.c: Likewise.
32788 * inet/getrpcent.c: Likewise.
32789 * inet/getrpcent_r.c: Likewise.
32790 * inet/getaliasent.c: Likewise.
32791 * inet/getaliasent_r.c: Likewise.
32792 * inet/getaliasname.c: Likewise.
32793 * inet/getaliasname_r.c: Likewise.
32794 * nscd/getgrgid_r.c: Likewise.
32795 * nscd/getgrnam_r.c: Likewise.
32796 * nscd/gethstbyad_r.c: Likewise.
32797 * nscd/gethstbynm3_r.c: Likewise.
32798 * nscd/getpwnam_r.c: Likewise.
32799 * nscd/getpwuid_r.c: Likewise.
32800 * nscd/getsrvbynm_r.c: Likewise.
32801 * nscd/getsrvbypt_r.c: Likewise.
32802 * nscd/gai.c: Likewise.
32803
c53d909c
RM
32804 * configure.in (build_nscd): New substituted variable, set
32805 by --disable-build-nscd and defaults to $use_nscd.
32806 * configure: Regenerated.
32807 * config.make.in (build-nscd): New substituted variable.
32808 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32809 Change conditional to require [$(build-nscd) = yes] as well.
32810 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32811
3cc3ef96
RM
32812 [BZ# 13696]
32813 * configure.in (use_nscd): New substituted variable, set by
32814 --disable-nscd. If enabled, define USE_NSCD.
32815 * configure: Regenerated.
32816 * config.h.in: Add USE_NSCD.
32817 * config.make.in (use-nscd): New substituted variable.
32818 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32819 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32820 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32821 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32822 (CFLAGS-getgrnam_r.c): Likewise.
32823 (CFLAGS-initgroups.c): Likewise.
32824 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32825 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32826 Variables removed.
32827 * inet/getnetgrent_r.c
32828 (nscd_setnetgrent): New function, broken out of ...
32829 (setnetgrent): ... here. Call it.
32830 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32831 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32832 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32833 * nscd/Makefile (routines, aux): Move definitions after include of
32834 Makeconfig. Conditionalize on [$(use-nscd) != no].
32835 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32836 Conditionalize on [USE_NSCD].
32837 (is_nscd, nscd_init_cb): Likewise.
32838 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32839 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32840 * nss/nss_db/db-init.c: Likewise.
32841 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32842 [USE_NSCD].
32843 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32844 (make_request): Use it.
32845 (cache_valid_p): New function.
32846 (__check_pf): Use it.
32847 * NEWS: Add item for --disable-nscd.
32848
07e51550
DL
328492012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32850
32851 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32852 to support sed >= 4.2.1-20-ga9bf076.
32853 * configure: Regenerated.
32854
35a5b08b
RM
328552012-08-22 Roland McGrath <roland@hack.frob.com>
32856
32857 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32858 Conditionalize whole body on [IREL].
32859
8479f23a
JL
328602012-08-22 Jeff Law <law@redhat.com>
32861
32862 [BZ #14505]
32863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32864 if the family is PF_UNSPEC.
32865
48da0b21
MF
328662012-08-22 Mike Frysinger <vapier@gentoo.org>
32867
32868 * Makerules (lib-version): Rename from V.
32869 (install-lib-nosubdir): Change V to lib-version.
32870
15d0da8c
WS
328712012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32872
32873 [BZ #14252]
32874 * powerpc32/power6/wcschr.c: New file.
32875 * powerpc32/power6/wcscpy.c: New file.
32876 * powerpc32/power6/wcsrchr.c: New file.
32877 * powerpc64/power6/wcschr.c: New file.
32878 * powerpc64/power6/wcscpy.c: New file.
32879 * powerpc64/power6/wcsrchr.c: New file.
32880
bcca0895
MK
328812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32882
32883 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32884 (two_way_short_needle): Use it.
5a4aaa33
RM
32885 * string/strstr.c (AVAILABLE1_USES_J): Define.
32886 * string/strcasestr.c: Likewise.
99677e57
MK
32887
32888 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32889 array references.
32890 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32891
400726de
MK
32892 [BZ #11607]
32893 * NEWS: Add an entry.
32894 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32895 define their defaults.
32896 (two_way_short_needle): Detect end-of-string on-the-fly.
32897 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32898 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32899 * string/bug-strcasestr1.c: New test.
32900 * string/Makefile: Run it.
32901
20a71f2c
MK
329022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32903
32904 [BZ #11607]
32905 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32906 the first character.
32907
21ad0558
RM
329082012-08-21 Roland McGrath <roland@hack.frob.com>
32909
32910 * csu/elf-init.c (__libc_csu_irel): Function removed.
32911 * csu/libc-start.c (apply_irel): New function.
32912 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32913
0e1d9911
JM
329142012-08-21 Joseph Myers <joseph@codesourcery.com>
32915
32916 * sysdeps/unix/sysv/linux/kernel-features.h
32917 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32918 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32919 <kernel-features.h>.
32920 [__NR_fadvise64_64]: Make code unconditional.
32921 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32922 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32923 !__NR_fadvise64_64)]: Likewise.
32924 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32925 !__NR_fadvise64_64))]: Likewise.
32926 [__NR_fadvise64]: Make code unconditional.
32927 [!__NR_fadvise64]: Remove conditional code.
32928 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32929 <kernel-features.h>.
32930 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32931 unconditional.
32932 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32933 conditional code.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32935 not include <kernel-features.h>.
32936 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32937 unconditional.
32938 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32939 conditional code.
32940 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32941 include <kernel-features.h>.
32942 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32943 unconditional.
32944 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32945 conditional code.
32946
14a50c9d
WS
329472012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32948
32949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32950 slight instruction rearrangements per scrollpipe analysis.
32951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32952
c0f4faf0
RM
329532012-08-20 Roland McGrath <roland@hack.frob.com>
32954
696da859
RM
32955 * manual/syslog.texi (syslog; vsyslog, closelog):
32956 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32957 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32958
c0f4faf0
RM
32959 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32960 DSOCAPS to match condition on defining it.
32961
348363b2
JM
329622012-08-20 Joseph Myers <joseph@codesourcery.com>
32963
a35cbf28
JM
32964 * sysdeps/unix/sysv/linux/kernel-features.h
32965 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32967 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32968 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32970 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32971 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32973 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32974 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32975
445f7ecd
JM
32976 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32977 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32978
348363b2
JM
32979 * sysdeps/unix/sysv/linux/kernel-features.h
32980 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32981 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32982 unconditional.
32983 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32984 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32985 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32986 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32987 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32988 Make code unconditional.
32989 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32990 (__mmap64) [!__NR_mmap2]: Likewise.
32991 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32992 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32993 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32994 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32995 [__NR_mmap2]: Make code unconditional.
32996 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32997 (__mmap64) [!__NR_mmap2]: Likewise.
32998
bc5bc0e5
AK
329992012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33000
33001 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33002
88d506de
AJ
330032012-08-18 Andreas Jaeger <aj@suse.de>
33004
33005 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33006
493387d2
MF
330072012-08-18 Mike Frysinger <vapier@gentoo.org>
33008
33009 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33010 * include/unistd.h (__have_sock_cloexec): Likewise.
33011 (__have_pipe2): Likewise.
33012 (__have_dup3): Likewise.
33013
a277af22
MF
330142012-08-18 Mike Frysinger <vapier@gentoo.org>
33015
33016 [BZ #9685]
33017 * include/unistd.h (__have_pipe2): Change define into an extern int.
33018 (__have_dup3): Likewise.
33019 * socket/have_sock_cloexec.c: Include fcntl.h.
33020 (__have_pipe2): New variable.
33021 (__have_dup3): Likewise.
33022
fdab8fd3
MF
330232012-08-17 Mike Frysinger <vapier@gentoo.org>
33024
33025 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33026
31035e80
MP
330272012-08-17 Marek Polacek <polacek@redhat.com>
33028
33029 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33030 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33031
3bd9e993
RM
330322012-08-17 Roland McGrath <roland@hack.frob.com>
33033
c91c505f
RM
33034 * configure.in: Add AC_SUBST for sysheaders.
33035 * configure: Regenerated.
33036 * config.make.in (sysheaders): New substituted variable.
33037
7c6f9d53
RM
33038 * sysdeps/unix/mkfifo.c: Moved ...
33039 * sysdeps/posix/mkfifo.c: ... here.
33040 * sysdeps/unix/mkfifoat.c: Moved ...
33041 * sysdeps/posix/mkfifoat.c: ... here.
33042
33043 * sysdeps/unix/utime.c: Moved ...
33044 * sysdeps/posix/utime.c: ... here.
33045
33046 * sysdeps/unix/time.c: Moved ...
33047 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33048 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33049 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33050
33051 * sysdeps/unix/nice.c: Moved ...
33052 * sysdeps/posix/nice.c: ... here.
33053
33054 * sysdeps/unix/alarm.c: Moved ...
33055 * sysdeps/posix/alarm.c: ... here.
33056
3bd9e993
RM
33057 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33058
d1f09384
JL
330592012-08-17 Jeff Law <law@redhat.com>
33060
33061 * intl/Makefile (codeset_mo): New variable.
33062 ($(codeset_mo)): New target.
33063 (tst-codeset.out): Depend on that. Remove explicit rule.
33064 (tst-gettext3.out, tst-gettext5.out): Likewise.
33065 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33066 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33067 * intl/tst-codeset.sh: Remove.
33068 * intl/tst-gettext3.sh: Likewise.
33069 * intl/tst-gettext5.sh: Likewise.
33070
2ae1ae5c
RM
330712012-08-17 Roland McGrath <roland@hack.frob.com>
33072
c31fdb83
RM
33073 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33074 * sysdeps/unix/syscalls.list: ... here.
33075
a0844057
RM
33076 * sysdeps/posix/getaddrinfo.c
33077 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33078 (gaiconf_init, gaiconf_reload): Use them.
33079 [!_STATBUF_ST_NSEC]
33080 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33081 Define using time_t rather than struct timespec.
33082
750c1f2a
RM
33083 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33084 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33085 Macros removed.
33086 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33087 [!NO_THREADS].
33088 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33089 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33090 Likewise.
33091
2ae1ae5c
RM
33092 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33093 __libc_cleanup_push argument.
33094
e66a42f5
RM
33095 * bits/param.h: New file.
33096 * misc/sys/param.h: New file.
33097 * include/sys/param.h: New file.
33098 * misc/Makefile (headers): Add bits/param.h.
33099 * sysdeps/generic/sys/param.h: File removed.
33100 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33101 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33102 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33103 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33104
b7c08a66
RM
33105 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33106 last change.
33107
b2e1c562
RM
33108 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33109 [_IO_MTSAFE_IO].
33110 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33111 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33112 New macros.
33113
c75ccd4c
RM
33114 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33115 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33116 rather than -D_IO_MTSAFE_IO conditionally.
33117 * stdio-common/Makefile (CPPFLAGS): Likewise.
33118 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33119 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33120 Use $(libio-mtsafe).
33121 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33122 of -D_IO_MTSAFE_IO.
33123 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33124 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33125 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33126 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33127 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33128 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33129 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33130 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33131 (CFLAGS-fread_u_chk.c): Likewise.
33132 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33133 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33134 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33135 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33136 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33137 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33138 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33139 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33140 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33141
33142 * libio/Makefile: Test [$(libc-reentrant) = yes]
33143 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33144
33145 * Makeconfig
33146 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33147 * sysdeps/pthread/configure: File removed.
33148 * sysdeps/pthread/Makeconfig: New file.
33149 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33150 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33151
d9195db8
GB
331522012-08-16 Gary Benson <gbenson@redhat.com>
33153
33154 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33155 unmapping the first object in a namespace.
33156
86466cd9
RM
331572012-08-16 Roland McGrath <roland@hack.frob.com>
33158
33159 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33160 (__internal_setnetgrent): ... this. Add internal_function to
33161 definition. Add libc_hidden_def.
33162 (setnetgrent): Update caller.
33163 (internal_endnetgrent): Renamed to ...
33164 (__internal_endnetgrent): ... this. Add internal_function to
33165 definition. Add libc_hidden_def.
33166 (endnetgrent): Update caller.
33167 (internal_getnetgrent_r): Renamed to ...
33168 (__internal_getnetgrent_r): ... this. Add internal_function to
33169 definition. Add libc_hidden_def.
33170 (__getnetgrent_r): Update caller.
33171 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33172
c3c8283c
JM
331732012-08-16 Joseph Myers <joseph@codesourcery.com>
33174
33175 * stdlib/longlong.h: Update from GCC.
33176
db1ee0a8
RM
331772012-08-16 Roland McGrath <roland@hack.frob.com>
33178
33179 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33180 on _QL, which is set by umul_ppmm but never used.
33181 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33182 variables, which are set by GMP macros but never used.
33183 * stdio-common/_itowa.c (_itowa): Likewise.
33184 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33185 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33186
30f69637
CD
331872012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33188
33189 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33190 struct La_sh_regs is not constant.
33191 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33192 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33193 and struct La_sparc64_regs are not constant.
33194
93a78ac4
JM
331952012-08-16 Joseph Myers <joseph@codesourcery.com>
33196
33197 * sysdeps/unix/sysv/linux/kernel-features.h
33198 (__ASSUME_POSIX_TIMERS): Remove.
33199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33201 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33202 Make code unconditional.
33203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33204 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33205 Make code unconditional.
33206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33207 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33208 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33209 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33210 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33211 Make code unconditional.
33212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33213 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33214 (__libc_missing_posix_timers): Remove.
33215
dd924cd7
RM
332162012-08-15 Roland McGrath <roland@hack.frob.com>
33217
4b4f2771
RM
33218 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33219 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33220
601c888b
RM
33221 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33222
176790a7
RM
33223 * elf/dl-sym.c: Include <stdlib.h>.
33224
329bc018
RM
33225 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33226 constants, which avoids warnings in 32-bit builds.
33227
e04e272d
RM
33228 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33229 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33230
952bf94a
RM
33231 * misc/lseek.c: File moved to ...
33232 * io/lseek.c: ... here.
33233
7c99b50a
RM
33234 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33235
dd924cd7
RM
33236 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33237 shifting LEN more than 31 bits at once.
33238
b3f479a8
LD
332392012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33240
33241 [BZ #14195]
8c4ae0d4
RM
33242 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33243 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33244 * string/test-strncasecmp.c (check1): Renamed to...
33245 (bz12205): ...this.
33246 (bz14195): Add new testcase for two empty input strings and N > 0.
33247 (test_main): Call new testcase, adapt for renamed function.
33248
9c55864e
AJ
332492012-08-15 Andreas Jaeger <aj@suse.de>
33250
33251 [BZ #14090]
33252 * crypt/md5test2.c: New test, based on test supplied by Serge
33253 Belyshev <belyshev@depni.sinp.msu.ru>.
33254 * crypt/Makefile (xtests): Add md5test-giant..
33255 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33256
02dcb6c5
PE
332572012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33258
33259 [BZ #14090]
33260 * crypt/md5.c (md5_process_block): Don't assume the buffer
33261 length is less than 2**32.
33262 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33263 length is less than 2**64.
33264
a3f95dcc
RM
332652012-08-15 Roland McGrath <roland@hack.frob.com>
33266
be75d758
RM
33267 * string/str-two-way.h: Include <sys/param.h>.
33268 (MAX): Macro removed.
33269
7312ca90
RM
33270 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33271 Move #define and #undef of memmove to just before and after
33272 including <string.h>.
33273
9a0a5486
RM
33274 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33275 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33276 and after including <string.h>. Move declarations of
33277 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33278 to before #include "string/memmove.c".
33279
67cc348d
RM
33280 * include/dirent.h: Declare __getdirentries.
33281
a3f95dcc
RM
33282 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33283 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33284
ca98e171
MF
332852012-08-14 Mike Frysinger <vapier@gentoo.org>
33286
33287 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33288 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33289 * sysdeps/i386/configure: Regenerated.
33290 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33291 STABS_CURRENT_FILE, and STABS_FUN.
33292 (END): Remove call to STABS_FUN_END.
33293 (STABS_CURRENT_FILE1): Delete.
33294 (STABS_CURRENT_FILE): Likewise.
33295 (STABS_FUN): Likewise.
33296 (STABS_FUN_END): Likewise.
33297 (STABS_FUN2): Likewise.
33298 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33299 * sysdeps/x86_64/configure: Regenerated.
33300
5908bf46
RM
333012012-08-14 Roland McGrath <roland@hack.frob.com>
33302
33303 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33304 * elf/dl-lookup.c: Likewise.
5908bf46 33305
f2c05b9e
JM
333062012-08-14 Joseph Myers <joseph@codesourcery.com>
33307
33308 * sysdeps/unix/sysv/linux/kernel-features.h
33309 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33310 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33311 unconditionally.
33312 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33313 unconditionally.
33314 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33315 condition on __ASSUME_CLONE_THREAD_FLAGS.
33316
e11f5155
AJ
333172012-08-14 Andreas Jaeger <aj@suse.de>
33318
33319 * sysdeps/i386/fpu/libm-test-ulps: Update.
33320
51a9ba86
MK
333212012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33322
2fdd4f78
AJ
33323 * include/atomic.h (atomic_exchange_and_add): Split into ...
33324 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33325 New atomic macros.
51a9ba86 33326
ba6cba9e
MT
333272012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33328
33329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33330
42443a47
JL
333312012-08-13 Jeff Law <law@redhat.com>
33332
33333 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33334 null byte in the output string.
33335
121dce05
JM
333362012-08-10 Joseph Myers <joseph@codesourcery.com>
33337
33338 * sysdeps/unix/sysv/linux/kernel-features.h
33339 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33340 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33341 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33342 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33343 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33344 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33345 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33346
bf51f568
JL
333472012-08-09 Jeff Law <law@redhat.com>
33348
33349 [BZ #13939]
33350 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33351 When avoid_arena is set, don't retry in the that arena. Pick the
33352 next one, whatever it might be.
33353 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33354 (arena_lock): Pass in new parameter to arena_get2.
33355 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33356 arena_get2.
33357 (__libc_malloc): Unify retrying after main arena failure with
33358 __libc_memalign version.
33359 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33360
f85fa270
L
333612012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 [BZ #14166]
33364 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33365 to __redirect_strstr.
33366 (__strstr_sse42): Use typeof __redirect_strstr.
33367 (__strstr_ia32): Likewise.
33368 (__libc_strstr): New prototype.
33369 (strstr): Renamed to ...
33370 (__libc_strstr): This.
33371 (strstr): New strong alias of __libc_strstr.
33372 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33373 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33374 __redirect_time.
33375 Include <time.h>.
33376 (__libc_time): New prototype.
33377 (time_ifunc): Replace time with __libc_time.
33378 (time): New strong alias and hidden definition of __libc_time.
33379 (__GI_time): Remove strong alias.
33380 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33381 Include <stddef.h>.
33382 (memmove): Redefined to __redirect_memmove.
33383 (__memmove_sse2): Use typeof __redirect_memmove.
33384 (__memmove_ssse3): Likewise.
33385 (__memmove_ssse3_back): Likewise.
33386 (__libc_memmove): New prototype.
33387 (memmove): Renamed to ...
33388 (__libc_memmove): This.
33389 (memmove): New strong alias of __libc_memmove.
33390
33b4a91e
MS
333912012-08-08 Mark Salter <msalter@redhat.com>
33392
33393 * elf/elf.h
33394 (R_MN10300_TLS_GD): Define.
33395 (R_MN10300_TLS_LD): Likewise.
33396 (R_MN10300_TLS_LDO): Likewise.
33397 (R_MN10300_TLS_GOTIE): Likewise.
33398 (R_MN10300_TLS_IE): Likewise.
33399 (R_MN10300_TLS_LE): Likewise.
33400 (R_MN10300_TLS_DTPMOD): Likewise.
33401 (R_MN10300_TLS_DTPOFF): Likewise.
33402 (R_MN10300_TLS_TPOFF): Likewise.
33403 (R_MN10300_SYM_DIFF): Likewise.
33404 (R_MN10300_ALIGN): Likewise.
33405 (R_MN10300_NUM): Update.
33406
b36137f1
JM
334072012-08-08 Joseph Myers <joseph@codesourcery.com>
33408
33409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33410 Remove.
33411
cdd915fd
RM
334122012-08-08 Roland McGrath <roland@hack.frob.com>
33413
a2433aac
RM
33414 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33415
cdd915fd
RM
33416 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33417 sysdeps/unix -> sysdeps/posix move.
33418 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33419
bf9b740a
AM
334202012-08-07 Allan McRae <allan@archlinux.org>
33421
33422 [BZ #14303]
33423 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33424 (SUNOS_CPP): Likewise.
33425 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33426 not found.
33427 (open_input): Call CPP using execvp.
33428
93df14ee
JM
334292012-08-07 Joseph Myers <joseph@codesourcery.com>
33430
33431 * sysdeps/unix/sysv/linux/kernel-features.h
33432 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33433 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33434 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33435 (__ASSUME_WAITID_SYSCALL): Likewise.
33436 * sysdeps/unix/sysv/linux/dl-execstack.c
33437 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33438 code unconditional.
33439 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33440 conditional code.
33441 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33442 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33443 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33444 code.
33445 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33446 unconditional.
33447 [__ASSUME_WAITID_SYSCALL]: Likewise.
33448 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33449
d34689de
RM
334502012-08-07 Roland McGrath <roland@hack.frob.com>
33451
a281decc
RM
33452 * sysdeps/unix/closedir.c: Renamed to ...
33453 * sysdeps/posix/closedir.c: ... here.
33454 * sysdeps/unix/dirfd.c: Renamed to ...
33455 * sysdeps/posix/dirfd.c: ... here.
33456 * sysdeps/unix/dirstream.h: Renamed to ...
33457 * sysdeps/posix/dirstream.h: ... here.
33458 * sysdeps/unix/fdopendir.c: Renamed to ...
33459 * sysdeps/posix/fdopendir.c: ... here.
33460 * sysdeps/unix/opendir.c: Renamed to ...
33461 * sysdeps/posix/opendir.c: ... here.
33462 * sysdeps/unix/readdir.c: Renamed to ...
33463 * sysdeps/posix/readdir.c: ... here.
33464 * sysdeps/unix/readdir_r.c: Renamed to ...
33465 * sysdeps/posix/readdir_r.c: ... here.
33466 * sysdeps/unix/rewinddir.c: Renamed to ...
33467 * sysdeps/posix/rewinddir.c: ... here.
33468 * sysdeps/unix/seekdir.c: Renamed to ...
33469 * sysdeps/posix/seekdir.c: ... here.
33470 * sysdeps/unix/telldir.c: Renamed to ...
33471 * sysdeps/posix/telldir.c: ... here.
33472 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33473 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33474 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33475 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33476
22895b47
RM
33477 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33478 * bits/fcntl.h: ... here.
33479
707a53b6
RM
33480 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33481 not 0.
33482 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33483 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33484 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33485 (struct flock): Move l_start, l_len to the beginning.
33486 Use __pid_t for l_pid.
33487 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33488 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33489 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33490 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33491 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33492 [__USE_LARGEFILE64] (struct flock64): New type.
33493 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33494
f0bd3e25
RM
33495 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33496 * bits/dirent.h: ... here.
33497
d34689de
RM
33498 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33499 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33500
6dad2c06
JM
335012012-08-07 Joseph Myers <joseph@codesourcery.com>
33502
33503 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33504 Change from 2.6.0 to 2.6.16.
33505 * sysdeps/unix/sysv/linux/configure: Regenerated.
33506 * sysdeps/unix/sysv/linux/kernel-features.h
33507 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33508 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33509 version.
33510 (__ASSUME_UTIMES): Likewise.
33511 (__ASSUME_CLONE_STOPPED): Remove.
33512 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33513 architectures, not kernel version.
33514 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33515 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33516 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33517 (__ASSUME_WAITID_SYSCALL): Likewise.
33518 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33519 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33520 * README: State 2.6.16 as minimum Linux kernel version. Do not
33521 refer to older versions.
33522
03af9520
RM
335232012-08-06 Roland McGrath <roland@hack.frob.com>
33524
8e49df1d
RM
33525 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33526 Define alphasort64 as an alias.
33527 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33528 Define versionsort64 as an alias.
33529 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33530 Define scandir64 as an alias.
33531 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33532 Define scandirat64 as an alias.
33533 * dirent/alphasort64.c (alphasort64):
33534 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33535 * dirent/versionsort64.c: Likewise.
33536 * dirent/scandir64.c: Likewise.
33537 * dirent/scandirat64.c: Likewise.
33538 * sysdeps/wordsize-64/alphasort.c: File removed.
33539 * sysdeps/wordsize-64/alphasort64.c: File removed.
33540 * sysdeps/wordsize-64/scandir.c: File removed.
33541 * sysdeps/wordsize-64/scandir64.c: File removed.
33542 * sysdeps/wordsize-64/scandirat.c: File removed.
33543 * sysdeps/wordsize-64/scandirat64.c: File removed.
33544 * sysdeps/wordsize-64/versionsort.c: File removed.
33545 * sysdeps/wordsize-64/versionsort64.c: File removed.
33546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33549 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33551 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33554
33555 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33557 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33559 [defined __arch64__ || defined __sparcv9]
33560 (__INO_T_MATCHES_INO64_T): New macro.
33561 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33562 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33563 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33564 * sysdeps/unix/sysv/linux/bits/dirent.h
33565 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33566 (_DIRENT_MATCHES_DIRENT64): New macro.
33567
03af9520
RM
33568 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33569 Define lockf64 as an alias.
33570 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33571 Define fseeko64 as an alias.
33572 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33573 Define ftello64 as an alias.
33574 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33575 Define _IO_fgetpos64 and fgetpos64 as aliases.
33576 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33577 Define _IO_fsetpos64 and fsetpos64 as aliases.
33578 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33579 Conditionalize body on this.
33580 * libio/fseeko64.c: Likewise.
33581 * libio/ftello64.c: Likewise.
33582 * libio/iofgetpos64.c: Likewise.
33583 * libio/iofsetpos64.c: Likewise.
33584 * sysdeps/wordsize-64/lockf.c: File removed.
33585 * sysdeps/wordsize-64/lockf64.c: File removed.
33586 * sysdeps/wordsize-64/fseeko.c: File removed.
33587 * sysdeps/wordsize-64/fseeko64.c: File removed.
33588 * sysdeps/wordsize-64/ftello.c: File removed.
33589 * sysdeps/wordsize-64/ftello64.c: File removed.
33590 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33591 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33592 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33593 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33604
33605 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33607 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33609 [defined __arch64__ || defined __sparcv9]
33610 (__OFF_T_MATCHES_OFF64_T): New macro.
33611 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33612 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33614 (__OFF_T_MATCHES_OFF64_T): New macro.
33615
c5757acd
L
336162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33617
33618 * stdlib/secure-getenv.c (__secure_getenv): Replace
33619 GLIBC_2_16 with GLIBC_2_17.
33620
3a31811e
L
336212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33622
33623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33625
faa2bccb
DM
336262012-08-03 David S. Miller <davem@davemloft.net>
33627
33628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33629
85fe1997
JM
336302012-08-03 Joseph Myers <joseph@codesourcery.com>
33631
33632 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33633 Remove.
33634 (__ASSUME_CORRECT_SI_PID): Likewise.
33635 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33636 (__ASSUME_TMPFS_NAME): Likewise.
33637 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33638 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33639 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33640 (HAVE_AUX_SECURE): Make definition unconditional.
33641 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33642 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33643
4f75b7a0
RM
336442012-08-03 Roland McGrath <roland@hack.frob.com>
33645
33646 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33647 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33648 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33649 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33650 __eloop_threshold instead of SYMLOOP_MAX.
33651
33652 * sysdeps/generic/eloop-threshold.h: New file.
33653 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33654 of MAXSYMLINKS.
33655 * elf/chroot_canon.c (chroot_canon): Likewise.
33656
7aab07e4
JM
336572012-08-03 Joseph Myers <joseph@codesourcery.com>
33658
33659 [BZ #13717]
33660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33661 Change to 2.6.0 everywhere.
33662 * sysdeps/unix/sysv/linux/configure: Regenerated.
33663 * sysdeps/unix/sysv/linux/kernel-features.h
33664 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33665 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33666 kernel versions.
33667 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33668 (__ASSUME_FUTEX_REQUEUE): Remove.
33669 (__ASSUME_STATFS64): Define unconditionally.
33670 (__ASSUME_AT_SECURE): Likewise.
33671 (__ASSUME_CORRECT_SI_PID): Likewise.
33672 (__ASSUME_TGKILL): Define without depending on kernel version for
33673 i386.
33674 (__ASSUME_UTIMES): Likewise.
33675 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33676 kernel version.
33677 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33678 (__ASSUME_TMPFS_NAME): Likewise.
33679 * README: Update reference to Linux kernel versions.
33680
b67e9372
MP
336812012-08-02 Marek Polacek <polacek@redhat.com>
33682
1f529f7d 33683 [BZ# 14150]
b67e9372
MP
33684 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33685 libc_cv_asm_type_prefix with %.
33686 * configure: Regenerated.
d2441631
RM
33687 * include/libc-symbols.h: Remove comment about
33688 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33689 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33690 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33691 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33692 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33693 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33694 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33695 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33696 * elf/tst-unique2mod1.c: Likewise.
33697 * elf/tst-unique1mod2.c: Likewise.
33698 * elf/tst-unique1mod1.c: Likewise.
33699 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33700 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33701 Replace ASM_TYPE_DIRECTIVE with .type.
33702 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33703 * sysdeps/i386/sysdep.h: Likewise.
33704 * sysdeps/x86_64/sysdep.h: Likewise.
33705 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33707 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33708 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33709 * sysdeps/powerpc/powerpc32/sysdep.h:
33710 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33711 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33712 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33713 * sysdeps/i386/fpu/e_powf.S: Likewise.
33714 * sysdeps/i386/fpu/e_expl.S: Likewise.
33715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33717 * sysdeps/i386/fpu/e_pow.S: Likewise.
33718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33722 * sysdeps/i386/fpu/e_log2.S: Likewise.
33723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33725 * sysdeps/i386/fpu/e_powl.S: Likewise.
33726 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33727 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33728 * sysdeps/i386/fpu/e_logl.S: Likewise.
33729 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33730 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33731 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33733 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33734 * sysdeps/i386/fpu/e_log.S: Likewise.
33735 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33736 * sysdeps/i386/fpu/e_logf.S: Likewise.
33737 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33739 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33740 * sysdeps/i386/fpu/e_log10.S: Likewise.
33741 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33742 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33743 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33744 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33747 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33748 * sysdeps/i386/i686/strtok.S: Likewise.
33749 * sysdeps/i386/i386-mcount.S: Likewise.
33750 * sysdeps/i386/strtok.S: Likewise.
33751 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33752 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33755 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33756 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33757 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33758 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33759 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33760 * sysdeps/x86_64/_mcount.S: Likewise.
33761 * sysdeps/x86_64/strtok.S: Likewise.
33762 * sysdeps/sh/_mcount.S: Likewise.
33763
2747bf9a
RM
337642012-08-01 Roland McGrath <roland@hack.frob.com>
33765
33766 * libio/iofopen.c: Include <fcntl.h>.
33767 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33768 (_IO_fopen64, fopen64): Define as aliases.
33769 * libio/iofopen64.c: Include <fcntl.h>.
33770 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33771 Conditionalize body on this.
33772 * sysdeps/wordsize-64/iofopen.c: File removed.
33773 * sysdeps/wordsize-64/iofopen64.c: File removed.
33774
3fb791b8
MP
337752012-08-01 Marek Polacek <polacek@redhat.com>
33776
33777 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33778 Use dlfcn directly instead of a variable.
33779 (binfmt-subdir): Do not define.
33780 (dlfcn): Likewise.
33781
a9f1039f
JM
337822012-08-01 Joseph Myers <joseph@codesourcery.com>
33783
23bddc06
JM
33784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33785 Remove all definitions.
33786 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33787 <kernel-features.h>.
33788 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33789 (miss_F_GETOWN_EX): Remove all definitions.
33790 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33791 macro definition.
33792 [!__ASSUME_FCNTL64]: Remove conditional code.
33793 [__ASSUME_FCNTL64]: Make code unconditional.
33794 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33795 <kernel-features.h>.
33796 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33797 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33798 (lockf64) [__NR_fcntl64]: Make code unconditional.
33799 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33800
a9f1039f
JM
33801 * sysdeps/unix/sysv/linux/kernel-features.h
33802 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33803 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33804 Make code unconditional.
33805 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33806 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33808 [__NR_vfork]: Make code unconditional.
33809 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33810 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33812 [__NR_vfork]: Make code unconditional.
33813 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33814 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33815
09c0ee5f
RM
338162012-08-01 Roland McGrath <roland@hack.frob.com>
33817
48aec5b9
RM
33818 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33819 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33820
cd97c966
RM
33821 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33822 Define mkstemp64 as an alias.
3f55550c
RM
33823 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33824 Define mkstemps64 as an alias.
cd97c966
RM
33825 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33826 Define mkostemp64 as an alias.
b8625cfc
RM
33827 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33828 Define mkostemps64 as an alias.
cd97c966
RM
33829 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33830 Conditionalize body on this.
33831 * misc/mkostemp64.c: Likewise.
b8625cfc 33832 * misc/mkostemps64.c: Likewise.
3f55550c 33833 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33834 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33835 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33836 * sysdeps/wordsize-64/mkostemp.c: File removed.
33837 * sysdeps/wordsize-64/mkstemp.c: File removed.
33838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33842
09c0ee5f
RM
33843 [BZ #14138]
33844 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33845 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33846 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33847 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33848
33849 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33850 compat_symbol macros from <shlib-compat.h> rather than the underlying
33851 default_symbol_version and symbol_version macros, so that DEFAULT
33852 lines in shlib-versions are respected.
33853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33854
7e66ee51
FW
338552012-08-01 Florian Weimer <fweimer@redhat.com>
33856
33857 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33858 Declare with warn_unused_result.
33859 (setgid, setregid, setegid, setresgid): Likewise.
33860 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33861 Likewise.
33862 * WUR-REPORT: Remove set*id functions.
33863
d2a54255
PT
338642012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33865
33866 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33867
7ecdb005
RM
338682012-07-31 Roland McGrath <roland@hack.frob.com>
33869
b4180a5e 33870 [BZ #10191]
789bd351
RM
33871 * include/sys/socket.h (__libc_accept, __libc_accept4):
33872 Add attribute_hidden.
33873 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33874
40ce302d
RM
33875 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33876 use of PTR_MANGLE.
33877 * inet/getnetgrent_r.c (setup): Likewise.
33878
7ecdb005
RM
33879 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33880
e2eabb2c
DM
338812012-07-31 David S. Miller <davem@davemloft.net>
33882
33883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33884
d0419dbf
JM
338852012-07-31 Joseph Myers <joseph@codesourcery.com>
33886
33887 [BZ #13629]
33888 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33889 value between 1.0 and 2.0 and smaller part has absolute value less
33890 than 1.0.
33891 * math/s_clog10.c (__clog10): Likewise.
33892 * math/s_clog10f.c (__clog10f): Likewise.
33893 * math/s_clog10l.c (__clog10l): Likewise.
33894 * math/s_clogf.c (__clogf): Likewise.
33895 * math/s_clogl.c (__clogl): Likewise.
33896 * math/libm-test.inc (clog_test): Add more tests.
33897 (clog10_test): Likewise.
33898 * sysdeps/i386/fpu/libm-test-ulps: Update.
33899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33900
2bc13872
FW
339012012-07-31 Florian Weimer <fweimer@redhat.com>
33902
33903 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33904 Exit with zero in case no suitable GID is found, and write a
33905 message to standard error.
33906
bea9b193
RM
339072012-07-30 Roland McGrath <roland@hack.frob.com>
33908
33909 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33910 rather than to 1.
33911 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33912 (MAXPATHLEN): Removed.
33913 (NOGROUP, NODEV): New macros.
33914 (setbit, clrbit, isset, isclr): New macros.
33915 (howmany, roundup, powerof2): New macros.
33916 (DEV_BSIZE): New macro.
33917
33918 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33919 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33920
33921 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33922 definition on [!__NO_LONG_DOUBLE_MATH].
33923
33924 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33925 PTR_MANGLE and PTR_DEMANGLE.
33926
33927 * socket/accept4.c (accept4): Rename to __libc_accept4.
33928 Define accept4 as a weak alias.
33929
33930 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33931 on [_DIRENT_HAVE_D_TYPE].
33932 * io/ftw.c (ftw_dir): Likewise.
33933
33934 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33935
33936 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33937
33938 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33939 Use the BSD numbers rather than the arbitrary ones we had.
33940 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33941 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33942 (SIGXCPU, SIGXFSZ): New macros.
33943 (_NSIG): Now 32.
33944
33945 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33946 initializer on [_LIBC_REENTRANT].
33947
33948 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33949 definitions inside [_POSIX_MAPPED_FILES].
33950
33951 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33952
33953 * dirent/opendir.c: Include <fcntl.h>.
33954
33955 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33956 (__libc_getspecific): Likewise.
33957 (__libc_key_create): Likewise.
33958
33959 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33960 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33961 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33962 (tmpfile64): Define as alias.
33963 * sysdeps/wordsize-64/tmpfile.c: File removed.
33964 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33967
33968 * stdio-common/vfscanf.c: Include <stdbool.h>.
33969 * nss/makedb.c: Likewise.
33970 * stdio-common/_i18n_number.h: Likewise.
33971 * argp/argp-help.c: Likewise.
33972 * posix/wordexp.c: Likewise.
33973 * sysdeps/posix/spawni.c: Likewise.
33974 * nss/nss_files/files-initgroups.c: Likewise.
33975 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33976 * nss/nss_files/files-initgroups.c: Likewise.
33977 * nss/nss_db/db-netgrp.c: Likewise.
33978 * nss/nss_db/db-initgroups.c: Likewise.
33979 * io/fchmodat.c: Include <sys/stat.h>.
33980
33981 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33982 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33983
33984 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33985 [HAVE_MMAP].
33986
33987 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33988 Add multiple inclusion protection.
33989
e5abc686
DM
339902012-07-27 David S. Miller <davem@davemloft.net>
33991
33992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33993
815e6fa3
GB
339942012-07-27 Gary Benson <gbenson@redhat.com>
33995
33996 [BZ #14298]
33997 * elf/rtld.c: Include <stap-probe.h>.
33998 (dl_main): Added static probes "init_start" and "init_complete".
33999 * elf/dl-load.c: Include <stap-probe.h>.
34000 (lose): Take new parameter "nsid".
34001 Added static probe "map_failed".
34002 (_dl_map_object_from_fd): Pass namespace id to lose.
34003 Added static probe "map_start".
34004 (open_verify): Pass namespace id to lose.
34005 * elf/dl-open.c: Include <stap-probe.h>.
34006 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34007 and "reloc_complete".
34008 * elf/dl-close.c: Include <stap-probe.h>.
34009 (_dl_close_worker): Added static probes "unmap_start" and
34010 "unmap_complete".
34011 * elf/rtld-debugger-interface.txt: New file documenting the above.
34012
9f98c16c
RM
340132012-07-26 Roland McGrath <roland@hack.frob.com>
34014
34015 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34016 rather than a string variable.
34017 * sunrpc/rpc_main.c (h_output): Likewise.
34018 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34019
f3c22df3
PT
340202012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34021
34022 * inet/check_native.c: New file.
34023
3129cfc6
JM
340242012-07-26 Joseph Myers <joseph@codesourcery.com>
34025
da865e95
JM
34026 [BZ #13629]
34027 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34028 if larger part has absolute value 1.0.
34029 * math/s_clog10.c (__clog10): Likewise.
34030 * math/s_clog10f.c (__clog10f): Likewise.
34031 * math/s_clog10l.c (__clog10l): Likewise.
34032 * math/s_clogf.c (__clogf): Likewise.
34033 * math/s_clogl.c (__clogl): Likewise.
34034 * math/libm-test.inc (clog_test): Add more tests.
34035 (clog10_test): Likewise.
34036 * sysdeps/i386/fpu/libm-test-ulps: Update.
34037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34038
3129cfc6
JM
34039 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34040 (pltexit): Likewise.
34041 (La_regs): Likewise.
34042 (La_retval): Likewise.
34043 (int_retval): Likewise.
34044 Update #error for removed macros to refer only to definitions in
34045 tst-audit.h.
34046 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34047 macro.
34048 (pltexit): Likewise.
34049 (La_regs): Likewise.
34050 (La_retval): Likewise.
34051 (int_retval): Likewise.
34052 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34053 macro.
34054 (pltexit): Likewise.
34055 (La_regs): Likewise.
34056 (La_retval): Likewise.
34057 (int_retval): Likewise.
34058 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34059 macro.
34060 (pltexit): Likewise.
34061 (La_regs): Likewise.
34062 (La_retval): Likewise.
34063 (int_retval): Likewise.
34064 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34065 macro.
34066 (pltexit): Likewise.
34067 (La_regs): Likewise.
34068 (La_retval): Likewise.
34069 (int_retval): Likewise.
34070 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34071 macro.
34072 (pltexit): Likewise.
34073 (La_regs): Likewise.
34074 (La_retval): Likewise.
34075 (int_retval): Likewise.
34076 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34077 macro.
34078 (pltexit): Likewise.
34079 (La_regs): Likewise.
34080 (La_retval): Likewise.
34081 (int_retval): Likewise.
34082 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34083 macro definitions in tst-audit.h.
34084 * sysdeps/i386/tst-audit.h: New file.
34085 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34086 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34087 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34088 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34089 * sysdeps/sh/tst-audit.h: Likewise.
34090 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34091 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34092 * sysdeps/x86_64/tst-audit.h: Likewise.
34093
bfc07087
AJ
340942012-07-26 Andreas Jaeger <aj@suse.de>
34095
b1b2aaf8
AJ
34096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34097 ptrace.
34098
34099 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34100 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34101 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34102 PTRACE_O_MASK.
34103 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34104 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34105 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34106
bfc07087
AJ
34107 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34108 value.
34109
34110 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34111 _sigsys.
34112 (si_call_addr, si_syscall, si_arch): Define new macro.
34113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34114 _sigsys.
34115 (si_call_addr, si_syscall, si_arch): Define new marcro.
34116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34117 _sigsys.
34118 (si_call_addr, si_syscall, si_arch): Define new macro.
34119 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34120 _sigsys.
34121 (si_call_addr, si_syscall, si_arch): Define new macro.
34122
89b4b02f
JM
341232012-07-25 Joseph Myers <joseph@codesourcery.com>
34124
34125 [BZ #13717]
34126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34127 Change to 2.4.21 where previously 2.4.1.
34128 * sysdeps/unix/sysv/linux/configure: Regenerated.
34129 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34130 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34131 Linux kernel version.
34132 (__ASSUME_STD_AUXV): Remove.
34133 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34134 kernel version.
34135 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34136 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34137 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34138 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34139 (__ASSUME_NETLINK_SUPPORT): Likewise.
34140 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34141 (__no_netlink_support): Remove conditional definition.
34142 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34143 Remove.
34144 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34145 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34146 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34147 (if_nameindex_ioctl): Remove.
34148 (if_nameindex_netlink): Do not handle __no_netlink_support.
34149 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34150 code.
34151 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34152 Remove conditional code.
34153 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34154 code.
34155 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34156 unconditional.
34157 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34158 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34159 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34160 Remove.
34161 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34162 [!__ASSUME_STD_AUXV]: Remove conditional code.
34163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34164 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34165 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34167 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34168 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34169 code.
34170 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34172 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34173 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34174 conditional code.
34175 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34177 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34178 code.
34179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34180 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34181 conditional code.
34182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34183 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34184 code unconditional.
34185 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34186 conditional code.
34187 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34188 unconditional.
34189 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34190 conditional code.
34191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34192 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34193 unconditional.
34194 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34195 conditional code.
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34197 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34198 code unconditional.
34199 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34200 conditional code.
34201 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34202 unconditional.
34203 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34204 conditional code.
34205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34206 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34207 code unconditional.
34208 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34209 conditional code.
34210 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34211 unconditional.
34212 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34213 conditional code.
34214
842a39cd
AS
342152012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34216
34217 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34218 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34219 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34220 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34221 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34222 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34223 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34224 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34225 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34226 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34227 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34228 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34229 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34230 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34234 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34240
84b3fd84
FW
342412012-07-25 Florian Weimer <fweimer@redhat.com>
34242
34243 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34244 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34245 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34246 Introduce __libc_secure_getenv.
0c7936d5
FW
34247 * stdlib/Versions (2.17): Add secure_getenv
34248 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34249 * stdlib/secure-getenv.c: Rename __secure_getenv to
34250 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34251 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34252 * stdlib/tst-secure-getenv.c: New.
34253 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34254 * manual/startup.texi (Environment Access): Document
34255 secure_getenv.
84b3fd84
FW
34256 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34257 __libc_secure_getenv.
34258 * inet/ruserpass.c (ruserpass): Likewise.
34259 * malloc/mtrace.c (mtrace): Likewise.
34260 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34261 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34262 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34263 * sysdeps/posix/tempname.c: Likewise. Evaluate
34264 HAVE_SECURE_GETENV.
34265 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34266 __secure_getenv to __libc_secure_getenv.
84b3fd84 34267 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34269 Likewise.
34270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34271 Likewise.
34272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34279
56e49b71
JM
342802012-07-25 Joseph Myers <joseph@codesourcery.com>
34281
34282 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34283 (struct La_i86_retval): Likewise.
34284 (struct La_x86_64_regs): Likewise.
34285 (struct La_x86_64_retval): Likewise.
34286 (struct La_x32_regs): Likewise.
34287 (struct La_x32_retval): Likewise.
34288 (struct La_ppc32_regs): Likewise.
34289 (struct La_ppc32_retval): Likewise.
34290 (struct La_ppc64_regs): Likewise.
34291 (struct La_ppc64_retval): Likewise.
34292 (struct La_sh_regs): Likewise.
34293 (struct La_sh_retval): Likewise.
34294 (struct La_s390_32_regs): Likewise.
34295 (struct La_s390_32_retval): Likewise.
34296 (struct La_s390_64_regs): Likewise.
34297 (struct La_s390_64_retval): Likewise.
34298 (struct La_sparc32_regs): Likewise.
34299 (struct La_sparc32_retval): Likewise.
34300 (struct La_sparc64_regs): Likewise.
34301 (struct La_sparc64_retval): Likewise.
34302 (struct audit_ifaces): Remove architecture-specific pltenter and
34303 pltexit members.
34304 * sysdeps/i386/ldsodefs.h: New file.
34305 * sysdeps/powerpc/ldsodefs.h: Likewise.
34306 * sysdeps/s390/ldsodefs.h: Likewise.
34307 * sysdeps/sh/ldsodefs.h: Likewise.
34308 * sysdeps/sparc/ldsodefs.h: Likewise.
34309 * sysdeps/x86_64/ldsodefs.h: Likewise.
34310
354691b7
MP
343112012-07-25 Marek Polacek <polacek@redhat.com>
34312
34313 [BZ #6808]
34314 * math/libm-test.inc (yn_test): Add another test.
34315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34316 to ERANGE when the result is +-Inf.
34317 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34318 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34319 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34320 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34321
bf9e2071
JM
343222012-07-24 Joseph Myers <joseph@codesourcery.com>
34323
34324 * conform/data/time.h-data (NULL): Use macro-constant. Require
34325 equal to 0.
34326 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34327 clock_t.
34328 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34329
57633811
TS
343302012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34331
34332 * configure.in <sysdeps resolving>: Correct printing
34333 Implies_before.
34334 * configure: Regenerate.
34335
c23c33b0
TS
343362012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34337
34338 * math/w_ilogb.c: Include <limits.h>.
34339 * math/w_ilogbl.c: Likewise.
34340
b5982523
JM
343412012-07-20 Joseph Myers <joseph@codesourcery.com>
34342
34343 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34344 va_copy. Document allowing for unavailable va_copy only as
34345 pre-C99 compatibility.
34346 * manual/string.texi (Copying and Concatenation): Use va_copy
34347 instead of __va_copy in concat example.
34348
ac4ea442
PT
343492012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34350
34351 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34352 (__sendto): Use create_address_port. Initialize APORT and deallocate
34353 it if not null.
34354
f98eafbd
PT
34355 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34356 with O_NOLINK passed to __file_name_lookup.
34357
898c7aab
PT
34358 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34359 with O_NOLINK passed to __file_name_lookup.
34360
0ced335a
PT
34361 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34362 negative N or less than NGIDS.
34363
b3404dbd
PT
34364 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34365 type to string_t. Set ERANGE as errno and return it if NAME is not big
34366 enough. Use memcpy instead of strncpy.
34367
0f48659e
JM
343682012-07-20 Joseph Myers <joseph@codesourcery.com>
34369
34370 * elf/Makefile (check-data): Remove.
34371 (localplt.data): New vpath directive.
34372 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34373 instead of $(check-data).
34374 * scripts/data/localplt-generic.data: Move to ...
34375 * sysdeps/generic/localplt.data: ... here.
34376 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34377 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34378 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34380 ... here.
34381 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34383 ... here.
34384 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34386 ... here.
34387 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34389 ... here.
34390 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34392 ... here.
34393 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34395 ... here.
34396
d37cbdaa
AZ
343972012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34398
34399 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34400 PPC32 and PPC64 files.
34401 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34402 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34403
46f85fc2
AK
344042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34405
34406 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34407 __makecontext_ret to ...
34408 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34409 ... here and call exit if uc_link is NULL. New file.
34410 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34411 __makecontext_ret.S.
34412 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34413 __makecontext_ret to ...
34414 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34415 ... here and call exit if uc_link is NULL. New file.
34416 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34417 __makecontext_ret.S.
34418
08f43f9b
AK
344192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34420
34421 * elf/elf.h (R_390_IRELATIVE): New definition.
34422 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34423 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34424 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34426 (elf_machine_lazy_rel): Likewise.
34427 * sysdeps/s390/dl-irel.h: New file.
34428 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34429 * sysdeps/s390/s390-64/memset.S: New asm code.
34430 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34431 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34433 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34434 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34435 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34436 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34437 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34438 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34439 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34440 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34441 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34442 * sysdeps/s390/s390-32/memset.S: New asm code.
34443 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34444
3b05db33
MP
344452012-07-17 Marek Polacek <polacek@redhat.com>
34446
34447 [BZ #14349]
34448 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34449 * sysdeps/s390/s390-64/configure.in: Likewise.
34450 * sysdeps/sparc/configure.in: Likewise.
34451 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34452 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34453 * sysdeps/i386/configure.in: Likewise.
34454 * sysdeps/x86_64/configure.in: Likewise.
34455 * sysdeps/sh/configure.in: Likewise.
34456 * sysdeps/s390/s390-32/configure: Regenerated.
34457 * sysdeps/s390/s390-64/configure: Likewise.
34458 * sysdeps/x86_64/configure: Likewise.
34459 * sysdeps/sh/configure: Likewise.
34460 * sysdeps/powerpc/powerpc64/configure: Likewise.
34461 * sysdeps/powerpc/powerpc32/configure: Likewise.
34462 * sysdeps/sparc/configure: Likwise.
34463 * sysdeps/i386/configure: Likewise.
34464
a66877c6
MP
34465 * elf/dl-open.c: Comment fixes.
34466
cfc82fd8
JM
344672012-07-17 Joseph Myers <joseph@codesourcery.com>
34468
bd29910a
JM
34469 * Makefile [CXX] (check-data): Remove.
34470 [CXX] (c++-types.data): New vpath directive.
34471 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34472 vpath. Do not allow for C++ type data being missing.
34473 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34474 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34475 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34476 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34477 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34478 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34479 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34481 ... here.
34482 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34484 ... here.
34485 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34487 ... here.
34488 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34490 ... here.
34491 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34493 ... here.
34494 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34496 ... here.
34497 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34499 ... here.
34500 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34502
cfc82fd8
JM
34503 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34504 definitions to architecture-specific files.
34505 (TLS_IE): Likewise.
34506 (TLS_LD): Likewise.
34507 (TLS_GD): Likewise.
34508 * sysdeps/i386/tls-macros.h: New file.
34509 * sysdeps/powerpc/tls-macros.h: Likewise.
34510 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34511 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34512 * sysdeps/sh/tls-macros.h: Likewise.
34513 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34514 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34515 * sysdeps/x86_64/tls-macros.h: Likewise.
34516
f7db3170
TS
345172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34518
07cbfc23
TS
34519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34520 zero value for regular exit case.
34521
f7db3170
TS
34522 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34523 (__start_context): Preserve zero value for regular exit case.
34524
dc97c227
TS
345252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34526 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34527
34528 * manual/setjmp.texi (setcontext): Clarify normal process
34529 termination when uc_link is the null pointer.
34530 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34531 exit call.
34532
d0cd7d02
AS
345332012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34534
34535 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34536 preprocessor. Test for each exception mask separately.
34537
dd318934
AJ
345382012-07-16 Andreas Jaeger <aj@suse.de>
34539
34540 * po/ru.po: Update from translation team.
34541
8048311a
JM
345422012-07-15 Joseph Myers <joseph@codesourcery.com>
34543
34544 * conform/data/string.h-data (NULL): Use macro-constant. Require
34545 equal to 0.
34546 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34547 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34548 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34549 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34551
b637d46e
AJ
345522012-07-13 Andreas Jaeger <aj@suse.de>
34553
34554 * po/fr.po: Update from translation team.
34555
541428fe
MP
345562012-07-12 Marek Polacek <polacek@redhat.com>
34557
34558 [BZ #14173]
34559 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34560 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34561 loop condition.
34562
ec332e94
JM
345632012-07-12 Joseph Myers <joseph@codesourcery.com>
34564
34565 [BZ #13717]
34566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34567 Change to 2.4.1 where previously 2.4.0.
34568 * sysdeps/unix/sysv/linux/configure: Regenerated.
34569 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34570 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34571 version.
34572 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34573 (__ASSUME_AT_CLKTCK): Remove.
34574 (__ASSUME_AT_PAGESIZE): Likewise.
34575 (__ASSUME_AT_XID): Likewise.
34576 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34577 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34578 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34579 unconditionally.
34580 (HAVE_AUX_PAGESIZE): Likewise.
34581 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34582 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34583 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34584
7b6e99be
JB
345852012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34586
34587 [BZ #14307]
34588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34589 the temporary buffer used to invoke __gethostbyname2_r,
34590 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34591 host_data / struct gaih_addrtuple.
34592 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34593 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34594 header file nss/nsswitch.h.
34595 * nss/nsswitch.h (global scope): Add definition of implementation
34596 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34597 resolv/nss_dns/dns-host.c).
34598
608404eb
AJ
345992012-07-11 Andreas Jaeger <aj@suse.de>
34600
34601 * po/fr.po: Update from translation team.
34602
71220aca
AJ
34603 * po/sv.po: Update from translation team
34604 * po/fr.po: Another update from translation team.
34605
28cfe843
AZ
346062012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34607
34608 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34609 for subnormals or multiply small sinh result by itself.
34610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34612
6b90f981
DM
346132012-07-11 David S. Miller <davem@davemloft.net>
34614
34615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34616
c6825772
AS
346172012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34618
34619 [BZ #14347]
34620 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34621 (INTERNAL_MARK): Shift it here.
34622
7b8e0d49
MP
346232012-07-10 Marek Polacek <polacek@redhat.com>
34624
34625 [BZ #14151]
34626 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34627 libc_cv_asm_global_directive with .globl.
34628 * configure: Regenerated.
34629 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34630 with .globl.
34631 * sysdeps/i386/configure: Regenerated.
34632 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34633 with .globl.
34634 * sysdeps/x86_64/configure: Regenerated.
34635 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34636 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34637 * elf/tst-unique2mod2.c: Likewise.
34638 * elf/tst-unique2mod1.c: Likewise.
34639 * elf/tst-unique1mod2.c: Likewise.
34640 * elf/tst-unique1mod1.c: Likewise.
34641 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34642 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34644 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34645 * sysdeps/mach/sysdep.h: Likewise.
34646 * sysdeps/i386/sysdep.h: Likewise.
34647 * sysdeps/i386/i386-mcount.S: Likewise.
34648 * sysdeps/x86_64/_mcount.S: Likewise.
34649 * sysdeps/x86_64/sysdep.h: Likewise.
34650 * sysdeps/sh/_mcount.S: Likewise.
34651 * sysdeps/sh/sysdep.h: Likewise.
34652 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34653 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34654 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34655 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34656 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34657 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34658 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34659 * locale/localeinfo.h: Likewise.
34660 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34661 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34662
6c55cda3
RM
346632012-07-09 Roland McGrath <roland@hack.frob.com>
34664
34665 [BZ #14336]
34666 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34667 system".
34668 * manual/message.texi (The Uniforum approach): Likewise.
34669 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34670 (glibc iconv Implementation): Likewise.
34671
638a572e
JM
346722012-07-09 Joseph Myers <joseph@codesourcery.com>
34673
34674 [BZ #14337]
34675 * math/s_clog.c (__clog): Avoid scaling a value down where that
34676 could result in underflow.
34677 * math/s_clog10.c (__clog10): Likewise.
34678 * math/s_clog10f.c (__clog10f): Likewise.
34679 * math/s_clog10l.c (__clog10l): Likewise.
34680 * math/s_clogf.c (__clogf): Likewise.
34681 * math/s_clogl.c (__clogl): Likewise.
34682 * math/libm-test.inc (clog_test): Add more tests.
34683 (clog10_test): Likewise.
34684 * sysdeps/i386/fpu/libm-test-ulps: Update.
34685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34686
261f4859
AS
346872012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34688
0abaf3e4
AS
34689 [BZ #14283]
34690 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34691 by 7 not 8 to examine high bit of fractional part.
34692
261f4859
AS
34693 [BZ #14042]
34694 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34695 for call to __mcount_internal.
34696 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34697 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34698 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34699
f17ac40d
JM
347002012-07-06 Joseph Myers <joseph@codesourcery.com>
34701
9ad63c23
JM
34702 [BZ #14154]
34703 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34704 approximation for values within 0x1p-13f of an odd multiple of
34705 pi/4.
34706 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34707 exception. Add more tests.
34708 * sysdeps/i386/fpu/libm-test-ulps: Update.
34709
f17ac40d
JM
34710 [BZ #6778]
34711 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34712 inputs and return -1 for them. Do not check for +Inf in case not
34713 reachable for +Inf.
34714 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34715 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34716 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34717 and return -1 for them. Do not check for +Inf in case not
34718 reachable for +Inf.
34719 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34720 define.
34721 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34722 and return -1 for them. Do not check for +Inf in case not
34723 reachable for +Inf.
34724 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34725 spurious underflow.
34726 * sysdeps/i386/fpu/libm-test-ulps: Update.
34727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34728
fb21f89b
MF
347292012-07-06 Mike Frysinger <vapier@gentoo.org>
34730
34731 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34732
cdfe2c5e
JM
347332012-07-05 Joseph Myers <joseph@codesourcery.com>
34734
34735 [BZ #14157]
34736 [BZ #14331]
34737 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34738 could result in spurious underflow. Scale down values above
34739 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34740 * math/s_csqrtf.c (__csqrtf): Likewise.
34741 * math/s_csqrtl.c (__csqrtl): Likewise.
34742 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34743 spurious underflow.
34744 * sysdeps/i386/fpu/libm-test-ulps: Update.
34745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34746
70d35b67
AS
347472012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34748
704bc459
AS
34749 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34750 xopen-msg.sed.
34751 * catgets/xopen-msg.awk: New file.
34752 * catgets/xopen-msg.sed: Removed.
34753
70d35b67
AS
34754 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34755 po2text.sed.
34756 * intl/po2test.awk: New file.
34757 * intl/po2test.sed: Removed.
34758
ca61cf32
JM
347592012-07-04 Joseph Myers <joseph@codesourcery.com>
34760
34761 [BZ #14328]
34762 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34763 or multiply small sinh result by itself.
34764 * math/s_ctanf.c (__ctanf): Likewise.
34765 * math/s_ctanh.c (__ctanh): Likewise.
34766 * math/s_ctanhf.c (__ctanhf): Likewise.
34767 * math/s_ctanhl.c (__ctanhl): Likewise.
34768 * math/s_ctanl.c (__ctanl): Likewise.
34769 * math/libm-test.inc (ctan_test_tonearest): New function.
34770 (ctan_test_towardzero): Likewise.
34771 (ctan_test_downward): Likewise.
34772 (ctan_test_upward): Likewise.
34773 (ctanh_test_tonearest): Likewise.
34774 (ctanh_test_towardzero): Likewise.
34775 (ctanh_test_downward): Likewise.
34776 (ctanh_test_upward): Likewise.
34777 (main): Call these new functions.
34778 * sysdeps/i386/fpu/libm-test-ulps: Update.
34779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34780
ca48a46a
MF
347812012-07-03 Mike Frysinger <vapier@gentoo.org>
34782
34783 * .gitignore: Delete /ports entry.
34784
9d63d37d
AJ
347852012-07-03 Andreas Jaeger <aj@suse.de>
34786
34787 * po/bg.po: Update from translation team.
34788 * po/cs.po: Likewise.
34789 * po/de.po: Likewise.
34790 * po/hr.po: Likewise.
34791 * po/nl.pl: Likewise.
34792 * po/pl.po: Likewise.
34793 * po/vi.po: Likewise.
34794
370ca3d2
JM
347952012-07-03 Joseph Myers <joseph@codesourcery.com>
34796
95f5a9a8
JM
34797 * Makeconfig [!+link] (+link-before-libc): New variable.
34798 [!+link] (+link-after-libc): Likewise.
34799 [!+link] (+link-tests): Likewise.
34800 [!+link] (+link): Define in terms of $(+link-before-libc) and
34801 $(+link-after-libc).
34802 [!+link-static] (+link-static-before-libc): New variable.
34803 [!+link-static] (+link-static-after-libc): Likewise.
34804 [!+link-static] (+link-static-tests): Likewise.
34805 [!+link-static] (+link-static): Define in terms of
34806 $(+link-static-before-libc) and $(+link-static-after-libc).
34807 [build-shared] (link-libc-before-gnulib): New variable.
34808 [build-shared] (link-libc-tests): Likewise.
34809 [build-shared] (link-libc): Define in terms of
34810 $(link-libc-before-gnulib).
34811 [!build-shared] (link-libc-tests): New variable.
34812 (link-libc-static-tests): New variable.
34813 [!gnulib] (gnulib-arch): New variable.
34814 [!gnulib] (gnulib-tests): Likewise.
34815 [!gnulib] (static-gnulib-arch): Likewise.
34816 [!gnulib] (static-gnulib-tests): Likewise.
34817 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34818 Define with "=" instead of ":=".
34819 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34820 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34821 * Rules (binaries-all-notests): New variable.
34822 (binaries-all-tests): Likewise.
34823 (binaries-static-notests): Likewise.
34824 (binaries-static-tests): Likewise.
34825 (binaries-all): Define using $(binaries-all-notests) and
34826 $(binaries-all-tests).
34827 (binaries-static): Define using $(binaries-static-notests) and
34828 $(binaries-static-tests).
34829 (binaries-shared-tests): New variable.
34830 (binaries-shared-notests): Likewise.
34831 (binaries-shared): Remove variable.
34832 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34833 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34834 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34835 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34836 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34837 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34838 * elf/Makefile (sln-modules): New variable.
34839 (extra-objs): Add $(sln-modules:=.o).
34840 (ldconfig-modules): Add static-stubs.
34841 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34842 * elf/static-stubs.c: New file.
34843
7a845b2c
JM
34844 [BZ #14283]
34845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34846 by 7 not 8 to examine high bit of fractional part. Use volatile
34847 variables when splitting into final array of floats if
34848 __FLT_EVAL_METHOD__ != 0.
34849 * math/libm-test.inc (cos_test): Add another test.
34850 (sin_test): Likewise.
34851 * sysdeps/i386/fpu/libm-test-ulps: Update.
34852
e2283f38
JM
34853 [BZ #14273]
34854 * math/libm-test.inc (cosh_test): Add more tests.
34855
370ca3d2
JM
34856 * version.h (RELEASE): Set to "development".
34857 (VERSION): Set to "2.16.90".
34858
ee9247c3
CD
348592012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34860
34861 * NEWS: Update copyright. Remove last-updated date.
34862 Mention math library bug fixes and timezone data changes.
34863 * README: Mention GNU/Hurd, x32, and HPPA support status.
34864
4648c381
TS
348652012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34866
34867 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34868
aac78a43
AJ
348692012-06-27 Andreas Jaeger <aj@suse.de>
34870
34871 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34872
ed3dbfad
AJ
348732012-06-25 Andreas Jaeger <aj@suse.de>
34874
34875 * sysdeps/s390/fpu/libm-test-ulps: Update.
34876
4d0ee855
AS
348772012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34878 Thomas Schwinge <thomas@codesourcery.com>
34879
34880 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34881 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34883 fanotify_mark.
34884
af1bce34
TS
348852012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34886
a9fa33ba
TS
34887 * sysdeps/mach/start.c: Remove file.
34888 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34889 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34890 * sysdeps/sh/init-first.c: Likewise.
34891
58f902b8
TS
34892 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34893 registers for frame unwinding purposes, add CFI directives.
34894 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34895 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34896 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34897 Likewise.
34898
1518f58b
TS
34899 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34900 __fortify_fail returning.
34901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34902
db9b5059
TS
34903 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34904 sysdeps/sh/____longjmp_chk.S.
34905 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34906 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34907 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34908 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34909
967705fe
TS
34910 * sysdeps/sh/abort-instr.h: New file.
34911 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34912 process in case exit returns.
34913
a9def8c4
TS
34914 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34915 initialize the GOT register before use.
34916
2a649725
TS
34917 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34918 calculation of ARGC > 4.
34919
af1bce34
TS
34920 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34921 meaningful names to some local labels.
34922
d230f50a
KK
349232012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34924 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34925
34926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34927 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34928 (__arch_compare_and_exchange_val_16_acq): Likewise.
34929 (__arch_compare_and_exchange_val_32_acq): Likewise.
34930 (atomic_exchange_and_add): Fix gUSA sequence.
34931 (atomic_add): Likewise.
34932 (atomic_add_negative): Likewise.
34933 (atomic_add_zero): Likewise.
34934 (atomic_bit_test_set): Likewise.
34935
0479b305
AS
349362012-06-22 Andreas Schwab <schwab@redhat.com>
34937
34938 [BZ #13579]
34939 * include/link.h (struct link_map): Add l_free_initfini.
34940 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34941 l_initfini.
34942 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34943 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34944 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34945 set.
34946
0e3933b9
CD
349472012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34948
34949 * configure.in: Use AC_LANG_SOURCE.
34950 * configure: Regenerate.
34951
4248b1b1
RM
349522012-06-22 Roland McGrath <roland@hack.frob.com>
34953
34954 * configure.in (libc_cv_localstatedir): New substituted variable.
34955 * configure: Regenerated.
34956 * config.make.in (localstatedir): New variable, substituted from
34957 libc_cv_localstatedir.
34958 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34959 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34960 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34961 * sysdeps/gnu/configure: Regenerated.
34962
006dd861
JL
349632012-06-21 Jeff Law <law@redhat.com>
34964
34965 [BZ #14277]
34966 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34967 free. Simplify list management for _LIBC case.
34968
79662d42
JM
349692012-06-21 Joseph Myers <joseph@codesourcery.com>
34970
b7abb4bf
JM
34971 [BZ #14273]
34972 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34973 Clear sign bit of 64-bit integer value before comparing against
34974 overflow value.
34975
79662d42
JM
34976 * sysdeps/mach/configure: Regenerated.
34977
1f150908
L
349782012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34979
34980 [BZ #14278]
34981 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34982
28363bbf
JL
349832012-06-21 Jeff Law <law@redhat.com>
34984
34985 [BZ #13882]
34986 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34987 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34989 * elf/dl-open.c (dl_open_worker): Likewise.
34990
09615db4
CD
349912012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34992
34993 * scripts/list-sources.sh: Scan PORTS for translations.
34994 * po/libc.pot: Regenerated.
34995
2174c6dd
AJ
349962012-06-21 Andreas Jaeger <aj@suse.de>
34997
34998 [BZ #12194]
34999 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35000 warning.
35001 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35002 * bits/byteswap-16.h (__bswap_16): Likewise.
35003 * bits/byteswap.h (__bswap_constant_16): Likewise.
35004
3ee947b1
L
350052012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35006
35007 [BZ #14117]
a2f34833
L
35008 * sysdeps/i386/fpu_control.h: Removed.
35009 * sysdeps/x86_64/fpu_control.h: Moved to ...
35010 * sysdeps/x86/fpu_control.h: Here.
35011
3ee947b1
L
35012 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35013 (_FPU_SETCW): Likewise.
35014
ed1825f8
L
350152012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35016
25f1282a
L
35017 [BZ #14117]
35018 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35019 * sysdeps/x86/fpu/bits/mathinline.h: This.
35020 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35021
ed1825f8
L
35022 [BZ #14050]
35023 [BZ #14117]
35024 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35025 functions if __x86_64__ is defined.
35026
36d54b74
CLT
350272012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35028
35029 * string/endian.h: Add !__ASSEMBLER__ condition for including
35030 conversion interfaces.
35031
10285c21
JM
350322012-06-15 Joseph Myers <joseph@codesourcery.com>
35033
35034 [BZ #14241]
35035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35036 of ABS(x) in calculating zero to negative powers other than odd
35037 integers.
35038 * math/libm-test.inc (pow_test): Add more tests.
35039
06c5abbd
AJ
350402012-06-15 Andreas Jaeger <aj@suse.de>
35041
35042 * manual/contrib.texi (Contributors): Update entry of Liubov
35043 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35044 Machado Filho.
35045
a3aeac40
CH
350462012-06-15 Cyril Hrubis <metan@ucw.cz>
35047
35048 * string/string.h: Add __wur to GNU version of strerror_r.
35049
49bdf4c1
L
350502012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35051
35052 [BZ #14229]
35053 * string/Makefile (tests): Add tst-strtok_r.
35054 * string/tst-strtok_r.c: New file.
35055 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35056 RAX_LP/RDX_LP on SAVE_PTR.
35057
834f9b8d
RM
350582012-06-14 Roland McGrath <roland@hack.frob.com>
35059
35060 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35061
75fa1921
JM
350622012-06-14 Joseph Myers <joseph@codesourcery.com>
35063
35064 * libm_test.inc (csqrt_test): Allow more spurious underflow
35065 exceptions.
35066 (j0_test): Likewise.
35067 (j1_test): Likewise.
35068 (y0_test): Likewise.
35069 (y1_test): Likewise.
35070
771766df
CD
350712012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35072
35073 * po/Makefile (libc.pot): Use UTF-8 charset.
35074
ceb9e56b
PP
350752012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35076
35077 [BZ #14210]
35078 Suppress sign-conversion warning from FD_SET.
35079 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35080 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35081 not unsigned long int.
35082 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35083
ddb28975
L
350842012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35085
35086 [BZ #14050]
35087 [BZ #14117]
35088 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35089 __extern_always_inline instead of __extern_inline.
35090 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35091 (__signbit): Likewise.
35092 (__signbitl): Support C++ namespace.
35093 (lrintf): New inline function.
35094 (lrint): Likewise.
35095 (llrintf): Likewise.
35096 (llrint): Likewise.
35097 (fmaxf): Likewise.
35098 (fmax): Likewise.
35099 (fminf): Likewise.
35100 (fmin): Likewise.
35101 (rint): Likewise.
35102 (rintf): Likewise.
35103 (ceil): Likewise.
35104 (ceilf): Likewise.
35105 (floor): Likewise.
35106 (floorf): Likewise.
35107 (nearbyint): Likewise.
35108 (nearbyintf): Likewise.
35109
d7b4fb26
TS
351102012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35111
35112 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35113 non-default versions.
35114
eb55f5c2
RM
351152012-06-11 Roland McGrath <roland@hack.frob.com>
35116
35117 [BZ #14218]
35118 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35119
366af02c
TS
351202012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35121
99ff6e5c
TS
35122 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35123 (FE_UPWARD, FE_DOWNWARD): Don't define.
35124 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35125 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35126
366af02c
TS
35127 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35128 reading it.
35129 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35130 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35131
793ea851
KK
351322012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35133
35134 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35136 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35137 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35138
a728a38f
L
351392012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35140
35141 [BZ #14117]
c08010c7
L
35142 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35143 * sysdeps/i386/fpu/Implies: New file.
35144 * sysdeps/x86_64/fpu/Implies: Likewise.
35145 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35146 * sysdeps/x86/fpu/bits/fenv.h: This.
35147
a728a38f
L
35148 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35149 __SSE_MATH__.
35150
6e230d11
SP
351512012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35152
35153 [BZ #14134]
35154 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35155 character 0xffff that matches the last element of the
35156 conversion table.
35157
1b671feb
AZ
351582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35159
35160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35161 fmodl commit.
35162
6043738b
AZ
351632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35164
35165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35166 values higher than 25.6283.
35167
34ae0b32
AZ
351682012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35169
35170 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35171 subnormal exponent extraction and add some __builtin_expect.
35172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35173 Fix for subnormal mantissa calculation.
35174
1214ec8f
MF
351752012-06-04 Mike Frysinger <vapier@gentoo.org>
35176
35177 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35178 cpu2 is -1 and errno is not ENOSYS.
35179
f3d1f93c
L
351802012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35181
35182 [BZ #14117]
0e4a3cd7
L
35183 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35184 * sysdeps/x86/bits/string.h: This.
35185 * sysdeps/x86_64/bits/string.h: Removed.
35186
6704c645
L
35187 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35188 if not compiling for x86-64, but compiling for >= i486.
35189
48495318
L
35190 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35191 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35192
14adcbfc
L
35193 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35194 New macro from Linux kernel 3.4.0.
35195 (FP_XSTATE_MAGIC2): Likewise.
35196 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35197 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35198 (struct _fpx_sw_bytes): New struct.
35199 (struct _xsave_hdr): Likewise.
35200 (struct _ymmh_state): Likewise.
35201 (struct _xstate): Likewise.
35202
68e408ab
L
35203 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35204 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35205 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35206 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35207 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35208 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35209
f3d1f93c
L
35210 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35212 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35213 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35214 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35215 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35216
d9dc34cd
TMQMF
352172012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35218
35219 [BZ #13743]
35220 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35221 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35222 (sysdep_headers): Include sys/platform/ppc.h.
35223 * sysdeps/powerpc/test-gettimebase.c: Test for
35224 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35225 * manual/Makefile (appendices): Include platform.texi.
35226 * manual/contrib.texi (Contributors): Update @node pointers.
35227 * manual/maint.texi (Maintenance): Likewise.
35228 (Platform): New node.
35229 * manual/platform.texi: New file. Document the new features.
35230
4af3879c
SP
352312012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35232 Jakub Jelinek <jakub@redhat.com>
35233
35234 [BZ #14188]
35235 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35236 where __builtin_expect is unavailable.
35237
2fd6ff13
DM
352382012-06-03 David S. Miller <davem@davemloft.net>
35239
35240 * stdlib/longlong.h: Updated from GCC.
35241
173f7220
AS
352422012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35243
35244 [BZ #14042]
35245 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35246 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35247 __mcount_internal.
35248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35249 (GLIBC_2.16): Likewise.
35250
f34a1c6f
L
352512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35252
35253 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35254
88a4576f
JM
352552012-06-01 Joseph Myers <joseph@codesourcery.com>
35256
ea32bcdd
JM
35257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35258 (default-abi): New variable.
35259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35260 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35261 variable.
35262 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35263 Likewise.
35264 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35265 Likewise.
35266 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35267 Likewise.
35268
88a4576f
JM
35269 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35270 definition. Document in comment.
35271
402fe938
DM
352722012-06-01 David S. Miller <davem@davemloft.net>
35273
35274 * stdlib/longlong.h: Updated from GCC.
35275
3553723f
L
352762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35277
35278 [BZ #14117]
3bd872c4
L
35279 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35280 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35281 sys/debugreg.h sys/io.h here.
35282 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35283 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35284 sys/io.h.
35285 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35286 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35287 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35288 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35289 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35290 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35291
3553723f
L
35292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35293 Define only if __x86_64__ is defined.
35294
4842e4fe
JM
352952012-06-01 Joseph Myers <joseph@codesourcery.com>
35296
c5bfe3d5
JM
35297 [BZ #14048]
35298 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35299 Use int64_t for variable i.
35300 * math/libm-test.inc (fmod_test): Add more tests.
35301
4842e4fe
JM
35302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35303 z computation is not scheduled after fetestexcept.
35304 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35305 Use math_force_eval instead of asm to ensure calculation scheduled
35306 before exception test.
35307 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35308 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35309
efb73488
AJ
353102012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35311
35312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35313 computation is not scheduled after fetestexcept.
35314
29bcce7c
L
353152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35316
35317 [BZ #14117]
35318 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35319 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35320
73a68f94
AZ
353212012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35322
35323 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35324 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35325
67b6df78
L
353262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35327
edf2933a 35328 [BZ #14117]
ebc64a18
L
35329 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35330 <bits/wordsize.h>.
35331 (__WCHAR_MIN): Support __WORDSIZE == 64.
35332 (__WCHAR_MAX): Likewise.
35333
edf2933a
L
35334 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35335 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35336
57c6cf40
L
35337 [BZ #14183]
35338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35339 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35340
67b6df78 35341 [BZ #14117]
8eb6281e
L
35342 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35344
aac639f4
L
35345 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35346 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35347
67b6df78
L
35348 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35349 Defined to 1 if __x86_64__ isn't defined.
35350 (_STAT_VER_LINUX_OLD): New.
35351 (st_atime): Remove duplicate.
35352 (st_mtime): Likewise.
35353 (st_ctime): Likewise.
35354
1c2cfe81
DM
353552012-05-31 David S. Miller <davem@davemloft.net>
35356
35357 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35358 entries.
35359
5be8418c
AS
353602012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35361
e7725326
AS
35362 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35363 gen-libm-test.pl.
35364
5be8418c
AS
35365 [BZ #14132]
35366 * elf/dl-reloc.c: Include <_itoa.h>.
35367 (_dl_reloc_bad_type): Remove use of INTUSE.
35368 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35369 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35370 * stdio-common/psiginfo.c (psiginfo): Likewise.
35371 * stdio-common/psignal.c (psignal): Likewise.
35372 * string/strsignal.c (strsignal): Likewise.
35373 * include/signal.h (_sys_siglist): Declare hidden proto.
35374 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35375 INTVARDEF with libc_hidden_data_def.
35376 * stdio-common/itoa-udigits.c: Likewise.
35377 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35378 (_itoa_lower_digits_internal): Remove declaration.
35379 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35380 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35381 (_sys_sigabbrev_internal): Remove aliases.
35382 (_sys_siglist): Define hidden alias.
35383
507352f1
MT
353842012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35385
35386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35387 bits/sysctl.h.
35388
42bbb1c3
L
353892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35390
35391 [BZ #14117]
6bd784b6
L
35392 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35393 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35394
8bca20f0
L
35395 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35396 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35397 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35398 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35399 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35400 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35401
f9e890a9
L
35402 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35403 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35404 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35405
471101a1
L
35406 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35407 with __addr.
35408 (insw): Likewise.
35409 (insl): Likewise.
35410 (outsb): Likewise.
35411 (outsw): Likewise.
35412 (outsl): Likewise.
35413
6451c862
L
35414 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35415 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35416 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35417
a254b8c9
L
35418 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35419 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35420 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35421 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35422 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35423 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35424
b8dfdd92
L
35425 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35426 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35427
578cd270
L
35428 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35429 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35430
de662f5f
L
35431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35433 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35434
25653439
L
35435 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35436 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35437 to ...
35438 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35439
6bad24a0
L
35440 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35441 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35442 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35443
42bbb1c3
L
35444 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35445 for x86-64.
35446 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35447
2d10d547
JM
354482012-05-31 Joseph Myers <joseph@codesourcery.com>
35449
35450 * math/math.h (M_El): Use two more decimal places.
35451 (M_LOG2El): Likewise.
35452 (M_LOG10El): Likewise.
35453 (M_LN2l): Likewise.
35454 (M_LN10l): Likewise.
35455 (M_PIl): Likewise.
35456 (M_PI_2l): Likewise.
35457 (M_PI_4l): Likewise.
35458 (M_1_PIl): Likewise.
35459 (M_2_PIl): Likewise.
35460 (M_2_SQRTPIl): Likewise.
35461 (M_SQRT2l): Likewise.
35462 (M_SQRT1_2l): Likewise.
35463
f230c29b
DM
354642012-05-31 David S. Miller <davem@davemloft.net>
35465
35466 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35467 values between float registers.
35468 * sysdeps/sparc/sparc64/memset.S: Likewise.
35469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35470
fed806c3
MF
354712012-05-31 Mike Frysinger <vapier@gentoo.org>
35472
35473 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35474 -D_FORTIFY_SOURCE=1.
35475 (CPPFLAGS-tst-longjmp_chk.c): Define.
35476 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35477 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35478 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35479 CFLAGS-tst-wchar-h.c.
35480
30917259
MP
354812012-05-31 Marek Polacek <polacek@redhat.com>
35482
35483 [BZ #14132]
35484 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35485 __endmntent_internal): Remove declaration.
35486 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35487 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35488 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35489
1c58d5dc
DM
354902012-05-30 David S. Miller <davem@davemloft.net>
35491
35492 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35493 (___Q_simulate_exceptions): Use real FP ops rather than writing
35494 into the %fsr.
35495 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35496 Likewise.
35497
7dc00e0d
L
354982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35499
35500 [BZ #14117]
0bd53985
L
35501 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35502 * sysdeps/x86/bits/xtitypes.h: This.
35503
3a257e66
L
35504 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35505 * sysdeps/x86/bits/wordsize.h: This.
35506
62f62904
L
35507 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35508 * sysdeps/x86/bits/huge_vall.h: This.
35509
404fe9d9
L
35510 * sysdeps/i386/bits/select.h: Removed.
35511 * sysdeps/x86_64/bits/select.h: Renamed to ...
35512 * sysdeps/x86/bits/select.h: This.
35513
d48d0446
L
35514 * sysdeps/i386/bits/setjmp.h: Removed.
35515 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35516 * sysdeps/x86/bits/setjmp.h: This.
35517
7dc00e0d
L
35518 * sysdeps/i386/bits/mathdef.h: Removed.
35519 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35520 * sysdeps/x86/bits/mathdef.h: This.
35521
03277f8f
AS
355222012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35523
35524 [BZ #14132]
35525 * include/sys/socket.h (__connect_internal)
35526 (__libc_sa_len_internal): Remove declaration.
35527 (__connect, __libc_sa_len): Declare hidden_proto.
35528 (SA_LEN): Remove use of INTUSE.
35529 * socket/connect.c: Add libc_hidden_def.
35530 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35531 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35532 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35533 alias.
35534 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35535 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35536 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35537 of adding _internal alias.
35538
13764867
L
355392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35540
35541 [BZ #14117]
6bd97696
L
35542 * sysdeps/i386/bits/link.h: Removed.
35543 * sysdeps/i386/bits/linkmap.h: Likewise.
35544 * sysdeps/x86_64/bits/link.h: Renamed to ...
35545 * sysdeps/x86/bits/link.h: This.
35546 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35547 * sysdeps/x86/bits/linkmap.h: This.
35548
f726f0bb
L
35549 * sysdeps/i386/bits/endian.h: Removed.
35550 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35551 * sysdeps/x86/bits/endian.h: This.
35552
13764867
L
35553 * sysdeps/i386/bits/byteswap.h: Removed.
35554 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35555 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35556 * sysdeps/x86/bits/byteswap.h: This.
35557 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35558 * sysdeps/x86/bits/byteswap-16.h: This.
35559 * sysdeps/i386/Implies: Add x86.
35560 * sysdeps/x86_64/Implies: Likewise.
35561
ae251b0b
DM
355622012-05-30 David S. Miller <davem@davemloft.net>
35563
35564 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35565 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35566 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35567 (FP_TRAPPING_EXCEPTIONS): Define.
35568 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35569 (FP_TRAPPING_EXCEPTIONS): Define.
35570 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35571 subnormals only when inexact has been signalled or underflow
35572 exceptions are enabled.
35573 (_FP_PACK_CANONICAL): Likewise.
35574
d5c90867
L
355752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35576
35577 [BZ #14183]
35578 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35579 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35580
63f1549e
RH
355812012-05-30 Richard Henderson <rth@twiddle.net>
35582
8d8f2279
RH
35583 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35584 with #ifndef NOT_IN_libc.
35585
63f1549e
RH
35586 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35587 marked to avoid plt entry.
35588
0ab0291b
L
355892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35590
35591 [BZ #14112]
35592 * Makeconfig (default-abi): New macro.
35593 (abi-includes): Likewise.
35594 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35595 $(abi-$(default-abi)-lib-soname) for soname if defined.
35596 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35597 abi-variants.
35598 * Makefile (installed-stubs): Likewise.
35599 * include/stubs-biarch.h: Removed.
35600 * scripts/lib-names.awk: Only handle one library at a time.
35601 * scripts/soversions.awk: Remove WORDSIZE support.
35602 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35603 entries.
35604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35605 Removed.
35606 (syscall-list-default-condition): Likewise.
35607 (syscall-list-default-condition): Likewise.
35608 (syscall-list-includes): Likewise.
35609 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35610 syscall-list-* with abi-*. Handle undefined abi-variants.
35611 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35612 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35613 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35614 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35615 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35616 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35617 Removed.
35618 (syscall-list-32-options): Likewise.
35619 (syscall-list-32-condition): Likewise.
35620 (syscall-list-64-options): Likewise.
35621 (syscall-list-64-condition): Likewise.
35622 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35623 macro.
35624 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35625 Renamed to ...
35626 (abi-*): This.
35627 (abi-64-ld-soname): New macro.
35628 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35629 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35630 Renamed to ...
35631 (abi-*): This.
35632 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35633 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35634
4da0431d
JM
356352012-05-30 Joseph Myers <joseph@codesourcery.com>
35636
3a85279c
JM
35637 * sysdeps/unix/sysv/linux/kernel-features.h
35638 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35639 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35640 include <kernel-features.h>.
35641 [!__NR_ftruncate64]: Remove conditional code.
35642 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35643 [__NR_ftruncate64]: Make code unconditional.
35644 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35645 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35646 include <kernel-features.h>.
35647 [!__NR_ftruncate64]: Remove conditional code.
35648 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35649 [__NR_ftruncate64]: Make code unconditional.
35650 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35652 include <kernel-features.h>.
35653 [!__NR_ftruncate64]: Remove conditional code.
35654 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35655 [__NR_ftruncate64]: Make code unconditional.
35656 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35658 include <kernel-features.h>.
35659 [!__NR_ftruncate64]: Remove conditional code.
35660 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35661 [__NR_ftruncate64]: Make code unconditional.
35662 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35663
4da0431d
JM
35664 * configure.in (libc_cv_fpie): Weaken to a compile test using
35665 LIBC_TRY_CC_OPTION.
35666 * configure: Regenerated.
35667
11ef492c
AK
356682012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35669
35670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35674 Refreshed.
35675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35681 Refreshed.
35682
d66ef399
DM
356832012-05-27 David S. Miller <davem@davemloft.net>
35684
35685 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35686 (___Q_zero): New.
35687 (__Q_simulate_exceptions): Return void. Change to simulate
35688 exceptions by writing into the %fsr.
35689 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35690 (__Qp_handle_exceptions): Likewise.
35691 (numbers): Delete.
35692 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35693 __Qp_handle_exceptions.
35694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35695 __Qp_handle_exceptions.
35696 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35697 as unused and give dummy FP_RND_NEAREST initializer.
35698 (FP_INHIBIT_RESULTS): Define.
35699 (___Q_simulate_exceptions): Update declaration.
35700 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35701 formatting.
35702 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35703 as unused and give dummy FP_RND_NEAREST initializer.
35704 (__Qp_handle_exceptions): Update declaration.
35705 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35706 formatting.
35707
04fb54b5
TS
357082012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35709
35710 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35711 the temporary FPU control word.
35712 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35713 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35714 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35715 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35717 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35718 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35719 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35720 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35721 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35722 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35723
3f99608f
KK
357242012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35725
35726 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35727 fields.
35728
65a4de4e
CLT
357292012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35730
35731 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35732 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35733 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35734 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35735 Likewise.
35736 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35737 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35738 Likewise.
35739
15749d40
UD
357402012-05-27 Ulrich Drepper <drepper@gmail.com>
35741
35742 * po/h.po: Update from translation team.
35743
25dbcb27
AS
357442012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35745
3d3f8e55
AS
35746 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35747
25dbcb27
AS
35748 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35749 handling of denormals.
35750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35751 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35757 Likewise.
35758
7ad47a80 357592012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35760
35761 [BZ #14152]
35762 * math/libm-test.inc (fma_test): Don't always expect underflow
35763 exception.
35764
9c6ea9fa
SP
357652012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35766
35767 [BZ #12416]
35768 * elf/tst-execstack.c: Include stackinfo.h.
35769 (do_test): Adjust test case to ensure that pthread_getattr_np
35770 behaviour remains the same after marking stack executable.
35771
a8239222
JM
357722012-05-25 Joseph Myers <joseph@codesourcery.com>
35773
35774 * sysdeps/unix/sysv/linux/kernel-features.h
35775 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35777 kernel-features.h.
35778 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35779 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35780 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
357852012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35786
35787 * configure.in: Define the default includes to being none.
35788 * configure: Regenerated.
35789
3a097cc7
RM
357902012-05-25 Roland McGrath <roland@hack.frob.com>
35791
8422c9a5
RM
35792 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35793 * sysdeps/x86_64/setjmp.S: Likewise.
35794 * sysdeps/i386/bsd-setjmp.S: Likewise.
35795 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35796 * sysdeps/i386/setjmp.S: Likewise.
35797 * sysdeps/i386/__longjmp.S: Likewise.
35798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35799 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35800
3a097cc7
RM
35801 * include/stap-probe.h: New file.
35802 * configure.in: Handle --enable-systemtap.
35803 * configure: Regenerated.
35804 * config.h.in (USE_STAP_PROBE): New #undef.
35805 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35806 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35807 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35808
21708942
JM
358092012-05-25 Joseph Myers <joseph@codesourcery.com>
35810
35811 [BZ #13717]
35812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35813 to 2.4.0 where earlier.
35814 * sysdeps/unix/sysv/linux/configure: Regenerated.
35815 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35816 <kernel-features.h>.
35817 [__ASSUME_32BITUIDS]: Make code unconditional.
35818 [!__ASSUME_32BITUIDS]: Remove conditional code.
35819 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
35824 [__ASSUME_32BITUIDS]: Make code unconditional.
35825 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35826 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35827 <kernel-features.h>.
35828 [__ASSUME_32BITUIDS]: Make code unconditional.
35829 [!__ASSUME_32BITUIDS]: Remove conditional code.
35830 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
35867 <kernel-features.h>.
35868 [__NR_setresgid] (__setresgid): Do not declare.
35869 [__ASSUME_32BITUIDS]: Make code unconditional.
35870 [!__ASSUME_32BITUIDS]: Remove conditional code.
35871 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35872 <kernel-features.h>.
35873 [__NR_setresuid] (__setresuid): Do not declare.
35874 [__ASSUME_32BITUIDS]: Make code unconditional.
35875 [!__ASSUME_32BITUIDS]: Remove conditional code.
35876 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35877 <kernel-features.h>.
35878 [__ASSUME_32BITUIDS]: Make code unconditional.
35879 [!__ASSUME_32BITUIDS]: Remove conditional code.
35880 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
35917 (__ASSUME_SETRESUID_SYSCALL): Remove.
35918 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35919 (__ASSUME_32BITUIDS): Likewise.
35920 (__ASSUME_LDT_WORKS): Likewise.
35921 (__ASSUME_O_DIRECTORY): Likewise.
35922 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35923 architecture but not kernel version.
35924 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35925 (__ASSUME_MMAP2_SYSCALL): Likewise.
35926 (__ASSUME_STAT64_SYSCALL): Likewise.
35927 (__ASSUME_IPC64): Likewise.
35928 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35929 <kernel-features.h>.
35930 [__ASSUME_32BITUIDS]: Make code unconditional.
35931 [!__ASSUME_32BITUIDS]: Remove conditional code.
35932 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35933 <kernel-features.h>.
35934 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35935 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35936 132096]: Remove conditional code.
35937 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35939 <kernel-features.h>.
35940 [__ASSUME_32BITUIDS]: Make code unconditional.
35941 [!__ASSUME_32BITUIDS]: Remove conditional code.
35942 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
35947 <kernel-features.h>.
35948 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35949 unconditional.
35950 (__setresgid): Do not declare.
35951 [__ASSUME_32BITUIDS]: Make code unconditional.
35952 [!__ASSUME_32BITUIDS]: Remove conditional code.
35953 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35954 <kernel-features.h>.
35955 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35956 unconditional.
35957 (__setresuid): Do not declare.
35958 [__ASSUME_32BITUIDS]: Make code unconditional.
35959 [!__ASSUME_32BITUIDS]: Remove conditional code.
35960 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35961 <kernel-features.h>.
35962 [__ASSUME_32BITUIDS]: Make code unconditional.
35963 [!__ASSUME_32BITUIDS]: Remove conditional code.
35964 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35965 <kernel-features.h>.
35966 [__ASSUME_32BITUIDS]: Make code unconditional.
35967 [!__ASSUME_32BITUIDS]: Remove conditional code.
35968
a386f1cc
RH
359692012-05-25 Richard Henderson <rth@twiddle.net>
35970
35971 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35972 dl_hwcap to ifunc resolver.
35973 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35974 elf_ifunc_invoke.
35975 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35976 dl_hwcap to ifunc resolver.
35977 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35978
b6550497
JM
359792012-05-24 Joseph Myers <joseph@codesourcery.com>
35980
35981 [BZ #14153]
35982 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35983 for |x| <= 2**-26, not 2**-57.
35984 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35985 exception.
35986
b0bc23a1
JL
359872012-05-24 Jeff Law <law@redhat.com>
35988
35989 * stdio-common/Makefile (tests): Add bug25.
35990 * stdio-common/bug25.c: New test.
35991
347c92e9
L
359922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35993
35994 [BZ #13576]
35995 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35996 multiple of MALLOC_ALIGNMENT in size.
35997 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35998
6bcc8b3f
JM
359992012-05-24 Joseph Myers <joseph@codesourcery.com>
36000
36001 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36002 Require >= 256.
36003 (FILENAME_MAX): Use macro-int-constant.
36004 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36005 (_IOFBF): Use macro-int-constant.
36006 (_IOLBF): Likewise.
36007 (_IONBF): Likewise.
36008 (SEEK_CUR): Likewise.
36009 (SEEK_END): Likewise.
36010 (SEEK_SET): Likewise.
36011 (TMP_MAX): Likewise.
36012 (EOF): Use macro-int-constant. Require < 0.
36013 (NULL): Use macro-constant. Require == 0.
36014 (stdin): Require type to be FILE *.
36015 (stdout): Likewise.
36016 (stderr): Likewise.
36017 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36018 macro-int-constant.
36019 (EXIT_SUCCESS): Likewise.
36020 (NULL): Use macro-constant. Require == 0.
36021 (RAND_MAX): Use macro-int-constant.
36022 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36023 [C99-based standards] (strtof): Require function.
36024 [C99-based standards] (strtold): Likewise.
36025 [C99-based standards] (strtoll): Likewise.
36026 [C99-based standards] (strtoull): Likewise.
36027 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36028 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36029 [ISO || ISO99 || ISO11] (math.h): Likewise.
36030 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36031 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36033
d18ea0c5
AS
360342012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36035
36036 [BZ #14132]
56d25bb8
AS
36037 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36038 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36039 * intl/dgettext.c (DCGETTEXT): Likewise.
36040 * intl/gettext.c (DCGETTEXT): Likewise.
36041 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36042 * posix/regex_internal.h (gettext): Likewise.
36043 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36044 Remove declaration.
36045 * include/argz.h (__argz_count_internal)
36046 (__argz_stringify_internal): Remove declaration.
36047 (__argz_count, __argz_stringify): Declare hidden proto.
36048 * intl/dcgettext.c: Remove use of INTDEF.
36049 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36050 * string/argz-stringify.c: Likewise.
36051 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36052 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36053 Declare hidden proto.
d18ea0c5
AS
36054 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36055 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36056 Declare hidden proto.
36057 * include/stdio.h (__asprintf_internal): Don't declare.
36058 (__asprintf): Don't define as macro. Declare hidden proto.
36059 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36060 (__fsetlocking): Declare hidden proto.
36061 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36062 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36063 hidden proto.
36064 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36065 (_IO_setlinebuf): Remove use of INTUSE.
36066 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36067 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36068 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36069 Remove declaration.
36070 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36071 (_IO_do_flush): Remove use of INTUSE.
36072 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36073 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36074 (_IO_adjust_column, _IO_least_wmarker)
36075 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36076 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36077 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36078 (_IO_default_doallocate, _IO_wdefault_doallocate)
36079 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36080 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36081 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36082 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36083 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36084 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36085 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36086 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36087 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36088 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36089 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36090 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36091 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36092 proto.
36093 (_IO_flush_all_internal, _IO_adjust_column_internal)
36094 (_IO_default_uflow_internal, _IO_default_finish_internal)
36095 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36096 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36097 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36098 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36099 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36100 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36101 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36102 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36103 (_IO_file_close_internal, _IO_file_close_it_internal)
36104 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36105 (_IO_file_init_internal, _IO_file_attach_internal)
36106 (_IO_file_fopen_internal, _IO_file_read_internal)
36107 (_IO_file_sync_internal, _IO_file_seek_internal)
36108 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36109 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36110 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36111 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36112 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36113 (_IO_list_all_internal, _IO_link_in_internal)
36114 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36115 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36116 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36117 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36118 (_IO_do_write_internal, _IO_padn_internal)
36119 (_IO_getline_info_internal, _IO_getline_internal)
36120 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36121 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36122 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36123 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36124 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36125 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36126 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36127 with libc_hidden_ver, remove use of INTUSE.
36128 * libio/genops.c: Likewise.
36129 * libio/freopen.c: Likewise.
36130 * libio/freopen64.c: Likewise.
36131 * libio/iofclose.c: Likewise.
36132 * libio/iofdopen.c: Likewise.
36133 * libio/iofflush.c: Likewise.
36134 * libio/iofflush_u.c: Likewise.
36135 * libio/iofgets.c: Likewise.
36136 * libio/iofgets_u.c: Likewise.
36137 * libio/iofopen.c: Likewise.
36138 * libio/iofopncook.c: Likewise.
36139 * libio/iofread.c: Likewise.
36140 * libio/iofread_u.c: Likewise.
36141 * libio/ioftell.c: Likewise.
36142 * libio/iofwrite.c: Likewise.
36143 * libio/iogetline.c: Likewise.
36144 * libio/iogets.c: Likewise.
36145 * libio/iogetwline.c: Likewise.
36146 * libio/iopadn.c: Likewise.
36147 * libio/iopopen.c: Likewise.
36148 * libio/ioseekoff.c: Likewise.
36149 * libio/ioseekpos.c: Likewise.
36150 * libio/iosetbuffer.c: Likewise.
36151 * libio/iosetvbuf.c: Likewise.
36152 * libio/ioungetc.c: Likewise.
36153 * libio/ioungetwc.c: Likewise.
36154 * libio/iovdprintf.c: Likewise.
36155 * libio/iovsprintf.c: Likewise.
36156 * libio/iovsscanf.c: Likewise.
36157 * libio/memstream.c: Likewise.
36158 * libio/obprintf.c: Likewise.
36159 * libio/oldfileops.c: Likewise.
36160 * libio/oldiofclose.c: Likewise.
36161 * libio/oldiofdopen.c: Likewise.
36162 * libio/oldiofopen.c: Likewise.
36163 * libio/oldiopopen.c: Likewise.
36164 * libio/oldstdfiles.c: Likewise.
36165 * libio/putc.c: Likewise.
36166 * libio/setbuf.c: Likewise.
36167 * libio/setlinebuf.c: Likewise.
36168 * libio/stdfiles.c: Likewise.
36169 * libio/strops.c: Likewise.
36170 * libio/vasprintf.c: Likewise.
36171 * libio/vscanf.c: Likewise.
36172 * libio/vsnprintf.c: Likewise.
36173 * libio/vswprintf.c: Likewise.
36174 * libio/wfiledoalloc.c: Likewise.
36175 * libio/wfileops.c: Likewise.
36176 * libio/wgenops.c: Likewise.
36177 * libio/wmemstream.c: Likewise.
36178 * libio/wstrops.c: Likewise.
36179 * libio/__fpurge.c: Likewise.
36180 * libio/__fsetlocking.c: Likewise.
36181 * assert/assert.c: Likewise.
36182 * debug/fgets_chk.c: Likewise.
36183 * debug/fgets_u_chk.c: Likewise.
36184 * debug/fread_chk.c: Likewise.
36185 * debug/fread_u_chk.c: Likewise.
36186 * debug/gets_chk.c: Likewise.
36187 * debug/obprintf_chk.c: Likewise.
36188 * debug/vasprintf_chk.c: Likewise.
36189 * debug/vdprintf_chk.c: Likewise.
36190 * debug/vsnprintf_chk.c: Likewise.
36191 * debug/vsprintf_chk.c: Likewise.
36192 * malloc/mtrace.c: Likewise.
36193 * misc/error.c: Likewise.
36194 * misc/syslog.c: Likewise.
36195 * stdio-common/asprintf.c: Likewise.
36196 * stdio-common/fxprintf.c: Likewise.
36197 * stdio-common/getw.c: Likewise.
36198 * stdio-common/isoc99_fscanf.c: Likewise.
36199 * stdio-common/isoc99_scanf.c: Likewise.
36200 * stdio-common/isoc99_vfscanf.c: Likewise.
36201 * stdio-common/isoc99_vscanf.c: Likewise.
36202 * stdio-common/isoc99_vsscanf.c: Likewise.
36203 * stdio-common/printf-prs.c: Likewise.
36204 * stdio-common/printf_fp.c: Likewise.
36205 * stdio-common/printf_fphex.c: Likewise.
36206 * stdio-common/printf_size.c: Likewise.
36207 * stdio-common/putw.c: Likewise.
36208 * stdio-common/scanf.c: Likewise.
36209 * stdio-common/sprintf.c: Likewise.
36210 * stdio-common/tmpfile.c: Likewise.
36211 * stdio-common/vfprintf.c: Likewise.
36212 * stdio-common/vfscanf.c: Likewise.
36213 * stdlib/strfmon_l.c: Likewise.
36214 * sunrpc/openchild.c: Likewise.
36215 * sunrpc/xdr_stdio.c: Likewise.
36216 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36217 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36218
d6c33fda
RM
362192012-05-24 Roland McGrath <roland@hack.frob.com>
36220
c1487492
RM
36221 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36222
36223 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36224 in the third column, to generate for the shared library an IFUNC
36225 that uses _dl_vdso_vsym.
36226 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36227 * Makeconfig (object-suffixes-noshared): New variable.
36228
36229 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36230 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36231 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36232 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36233
d6c33fda
RM
36234 [BZ #14132]
36235 * include/sys/time.h (__gettimeofday): Remove macro.
36236 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36237 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36238 Remove INTDEF.
36239 (__gettimeofday): Add libc_hidden_def.
36240 (gettimeofday): Add libc_hidden_weak.
36241 * sysdeps/mach/gettimeofday.c: Likewise.
36242 * sysdeps/posix/gettimeofday.c: Likewise.
36243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36244 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36246 (__gettimeofday_internal): Remove strong_alias.
36247 (__gettimeofday): Add libc_hidden_def.
36248 (gettimeofday): Add libc_hidden_weak.
36249 * sysdeps/unix/syscalls.list (gettimeofday):
36250 Remove __gettimeofday_internal alias.
36251
b5a2bbe6
L
362522012-05-24 Daniel Jacobowitz <drow@false.org>
36253 H.J. Lu <hongjiu.lu@intel.com>
36254
36255 [BZ #12495]
36256 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36257 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36258 (largebin_index_32_big): New.
36259 (largebin_index): Use it for 16-byte alignment.
36260 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36261 correction with front_misalign.
36262
cfba4fda
L
362632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36264
7f907421
L
36265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36267 Likewise.
36268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36269 Likewise.
36270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36271 Likewise.
36272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36273 Likewise.
36274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36275 Likewise.
36276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36277 Likewise.
36278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36279 Likewise.
36280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36281 Likewise.
36282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36283 Likewise.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36285 Likewise.
36286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36287 Likewise.
36288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36289 Likewise.
36290
cfba4fda
L
36291 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36292 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36293
80bad0cc
JM
362942012-05-24 Joseph Myers <joseph@codesourcery.com>
36295
7a25eb06
JM
36296 [BZ #10846]
36297 [BZ #14036]
36298 * math/libm-test.inc (exp_test): Add test from bug 14036.
36299 (pow_test): Add test from bug 10846.
36300
795405f9
JM
36301 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36302 and other flags.
36303 (special_function): Do not include flags in test name.
36304 (parse_args): Likewise.
36305 * sysdeps/i386/fpu/libm-test-ulps: Update.
36306 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36307 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36308 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36310
80bad0cc
JM
36311 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36312 exceptions.
36313 * math/libm-test.inc ("Philosophy"): Update comment about
36314 exception testing.
36315 (UNDERFLOW_EXCEPTION): New macro.
36316 (UNDERFLOW_EXCEPTION_OK): Likewise.
36317 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36318 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36319 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36320 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36321 (INVALID_EXCEPTION_OK): Update value.
36322 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36323 (OVERFLOW_EXCEPTION_OK): Likewise.
36324 (IGNORE_ZERO_INF_SIGN): Likewise.
36325 (test_exceptions): Handle underflow exceptions.
36326 (acos_test): Update for underflow exception expectations.
36327 (cexp_test): Likewise.
36328 (clog_test): Likewise.
36329 (clog10_test): Likewise.
36330 (csqrt_test): Likewise.
36331 (ctan_test): Likewise.
36332 (ctanh_test): Likewise.
36333 (exp_test): Likewise.
36334 (exp10_test): Likewise.
36335 (exp2_test): Likewise.
36336 (expm1_test): Likewise.
36337 (fma_test): Likewise.
36338 (j0_test): Likewise.
36339 (jn_test): Likewise.
36340 (nexttoward_test): Likewise.
36341 (pow_test): Likewise.
36342 (scalbn_test): Likewise.
36343 (scalbln_test): Likewise.
36344 (tan_test): Likewise.
36345 (y1_test): Likewise.
36346 * sysdeps/i386/fpu/libm-test-ulps: Update.
36347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36348
9e0e3d0b
DM
363492012-05-23 David S. Miller <davem@davemloft.net>
36350
36351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36352 (__libc_sigaction): Remove unused local variables.
36353
ccd0a08f
L
363542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36355
36356 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36357
62bdf9a6
PE
363582012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36359
f8591f80
PE
36360 mktime: avoid signed integer overflow
36361 * time/mktime.c (__mktime_internal): Do not mishandle the case
36362 where diff == INT_MIN.
36363
94c7d826
PE
36364 mktime: simplify computation of average
36365 * time/mktime.c (ranged_convert): Use new time_t_avg function
36366 instead of rolling our own (probably-slower) code.
36367
ce73d683
PE
36368 mktime: do not assume signed right shift propagates sign bit
36369 * time/mktime.c (isdst_differ): New static function.
36370 (__mktime_internal): No need to normalize tm_isdst now.
36371 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36372 tm_isdst values.
36373
72a22e59
PE
36374 mktime: merge another wrapv change from gnulib
36375 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36376 from some compilers.
36377
68605433
PE
36378 mktime: remove incorrect attempt at unusual arithmetics
36379 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36380 The code didn't really work on such machines anyway.
36381 (TYPE_MINIMUM): Assume two's complement.
36382 (twos_complement_arithmetic): Verify that long_int and time_t
36383 are two's complement (or unsigned, in the latter case).
36384
03cf7fe3
PE
36385 mktime: check signed shifts on long_int and time_t, too
36386 * time/mktime.c (SHR): Check that shifts work as desired
36387 on the types long_int and time_t too, as SHR is used on
36388 such types.
36389
f04dfbc2
PE
36390 mktime: do not assume 'long' is wide enough
36391 * time/mktime.c (verify): Move decl up.
36392 (long_int): New type.
36393 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36394 to remove assumption in the code that 'long' is wide enough to
36395 store year values. This assumption is not true on x32 and on
36396 some non-glibc platforms.
36397
62bdf9a6
PE
36398 mktime: merge wrapv change from gnulib
36399 * time/mktime.c (WRAPV): New macro.
36400 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36401 (guess_time_tm, __mktime_internal): Do not assume that signed
36402 integer overflow wraps around; modern compilers generate code
36403 where this assumption is no longer valid.
36404
5e292e4f
L
364052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36406
36407 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36408 Replace "jmp L(pseudo_end)" with "ret".
36409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36410 Likewise.
36411
8caf8c87
AJ
364122012-05-23 Andreas Jaeger <aj@suse.de>
36413
36414 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36415 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36416
1a09dc56
AJ
364172012-05-23 Andreas Jaeger <aj@suse.de>
36418 Maximilian Attems <max@stro.at>
36419
36420 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36421 New macros.
36422
1c87aba0
L
364232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36424
36425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36426 code so that pseudo_end is just ret and the stack pointer is
36427 correct also for static library in error case.
36428
40e45bd5
JM
364292012-05-23 Joseph Myers <joseph@codesourcery.com>
36430
c2670533
JM
36431 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36432 move to syscalls.list.
36433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36437
40e45bd5
JM
36438 * manual/install.texi (Running make install): Do not mention Linux
36439 kernel version for which pt_chown is not needed.
36440 (Linux): Do not mention problems with nscd with 2.0 kernels.
36441 * INSTALL: Regenerated.
36442
be08eda5
AJ
364432012-05-23 Andreas Jaeger <aj@suse.de>
36444
36445 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36446 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36447 macro.
36448 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36450 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36452 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36457 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36458 * sysdeps/unix/sysv/linux/bits/in.h
36459 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36460
a6a056bb
RM
364612012-05-22 Roland McGrath <roland@hack.frob.com>
36462
36463 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36464 (PREPARE_VERSION): Just use assert instead, it will be elided
36465 under [NDEBUG] anyway.
36466
c9009328
L
364672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36468
36469 * sysdeps/unix/sysv/linux/Makefile: Include
36470 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36471 (sysdep_routines): Remove sysctl.
c9009328
L
36472 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36473 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36474 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36475 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36476 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36477
73338355
AJ
364782012-05-22 Andreas Jaeger <aj@suse.de>
36479
36480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36481 that pseudo_end is just ret and the stack pointer is correct also
36482 for static library in error case.
36483
d44638b0
PP
364842012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36485
36486 [BZ #14122]
36487 * nss/nsswitch.c (defconfig_entries): New variable.
36488 (__nss_database_lookup): Don't leak defconfig entries.
36489 (nss_parse_service_list): Don't leak on error paths.
36490 (free_database_entries): New function.
36491 (free_defconfig): New function.
36492 (free_mem): Move common code to free_database_entries.
36493
31a39bd8
L
364942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36495
da0331a8
L
36496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36497 Add arch_prctl.
36498 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36499
31a39bd8
L
36500 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36501 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36503 New macro.
36504 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36505 (INTERNAL_SYSCALL_TYPES): Likewise.
36506 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36507 (LOAD_REGS_TYPES_[1-6]): Likewise.
36508 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36509 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36510
45470df3
AZ
365112012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36512
36513 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36514 copysignl for GLIBC_2_0.
36515 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36516 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36518 logbl for GLIBC_2_0.
36519 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36520 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36521
98a61bcb
L
365222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36523
a4f6e481
L
36524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36526
f63d5db6
L
36527 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36528 Use "neg %eax".
36529
98a61bcb
L
36530 * time/mktime.c: Update copyright years.
36531
95770f14
PE
365322012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36533
6226efbd
PE
36534 mktime: merge comment-quoting-style change from gnulib
36535 * time/mktime.c: Quote 'like this' in comments.
36536 The GNU coding standards suggest that we no longer quote `like this',
36537 as "`" and "'" are typically rendered asymmetrically nowadays.
36538 The typical gnulib style is to quote 'like this' when quoting
36539 code, and "like this" when quoting English.
36540
b99e4f78
PE
36541 * time/mktime.c (compile-command): Add "-I.".
36542
643e01e6
PE
36543 mktime: merge mktime-internal.h change from gnulib
36544 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36545
2554247d
PE
36546 mktime: merge time_r change from gnulib
36547 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36548
826dd0ab
PE
36549 mktime: merge DEBUG change from gnulib
36550 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36551 case system <time.h> has a #define.
36552
bd83aabe
PE
36553 mktime: merge <sys/types.h> change from gnulib
36554 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36555 since <time.t> is now guaranteed to define time_t.
36556
95770f14
PE
36557 mktime: merge HAVE_CONFIG_H change from gnulib
36558 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36559
5e1a27a9
L
365602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36561
0e44a77e
L
36562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36563 Use "neg %eax".
36564
5e1a27a9
L
36565 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36566 __rlim_t cast.
36567 (struct rusage): Use anonymous union to pad each field to
36568 __syscall_slong_t.
36569
46259bec
DM
365702012-05-21 David S. Miller <davem@davemloft.net>
36571
36572 * Makefules (o-iterator): Remove .s cases.
36573 (compile-command.s): Delete.
36574 (COMPILE.s): Delete.
36575 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36576
59f0c22e
JM
365772012-05-21 Joseph Myers <joseph@codesourcery.com>
36578
36579 * configure.in (libc_cv_predef_stack_protector): Only consider
36580 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36581 * configure: Regenerated.
36582
20c07380
L
365832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36584
bbb3154b
L
36585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36586 New macro. Use R*LP on int and pointer.
36587 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36588 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36589 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36590 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36591
20c07380
L
36592 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36593 [__WORDSIZE_TIME64_COMPAT32] instead of
36594 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36595 (struct utmp): Likewise.
36596 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36597 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36598 Renamed to ...
36599 (__WORDSIZE_TIME64_COMPAT32): This.
36600 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36601 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36602 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36603 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36604 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36605 (__WORDSIZE_TIME64_COMPAT32): New macro.
36606
d8d1017e
AJ
366072012-05-21 Andreas Jaeger <aj@suse.de>
36608
36609 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36610 only if [SHARED]. Add prototype for __wcschr_ia32.
36611
6c7fb145
RM
366122012-05-21 Roland McGrath <roland@hack.frob.com>
36613
36614 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36615 of %rbp unmolested in the jmp_buf while mangling the low bits.
36616 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36617 unmolested high bits of %rbp while demangling the low bits.
36618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36619
66274218
AJ
366202012-05-21 Andreas Jaeger <aj@suse.de>
36621
07c58f8f
AJ
36622 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36623 * sunrpc/svc_simple.c: Use it for registerrpc.
36624 * sunrpc/xcrypt.c: Use it for passwd2des.
36625
66274218
AJ
36626 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36627
61f65140
L
366282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36629
36630 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36631 Don't define if [__SYSCALL_WORDSIZE != 32].
36632 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36633 New macro.
36634
5fefb436
AJ
366352012-05-21 Bruno Haible <bruno@clisp.org>
36636 Andreas Jaeger <aj@suse.de>
36637
36638 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36639 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36640 inptr and inend for must_buffer_ch.
36641 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36642 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36643 * stdio-common/Makefile (tests): Remove bug15.
36644 (bug15-ENV): Remove macro.
36645 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36646 anymore.
36647
d8e272ab
AJ
366482012-05-19 Andreas Jaeger <aj@suse.de>
36649 Roland McGrath <roland@hack.frob.com>
36650
36651 * manual/contrib.texi: Completely rewritten. It contains now an
36652 alphabetical list of contributors and their contributions.
36653
4a56a162
RH
366542012-05-21 Richard Henderson <rth@twiddle.net>
36655
36656 * misc/getauxval.c (__getauxval): Use unsigned long int.
36657 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36658 (getauxval): Use unsigned long int.
36659
d024d23c
L
366602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36661
36662 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36663
cbc00a03
RM
366642012-05-21 Roland McGrath <roland@hack.frob.com>
36665
36666 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36667 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36668 __alignof__ (long double).
36669
478143fa
AZ
366702012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36671
36672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36673
c7683a6d
RH
366742012-05-20 Richard Henderson <rth@twiddle.net>
36675
36676 * misc/getauxval.c: New file.
36677 * misc/sys/auxv.h: New file.
36678 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36679 (routines): Add getauxval.
36680 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36681 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36682 * elf/dl-sysdep.c (_dl_auxv): Remove.
36683 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36684 * elf/dl-support.c (_dl_auxv): New variable.
36685 (_dl_aux_init): Initialize it.
36686 * manual/startup.texi (Auxiliary Vector): New node.
36687 * sysdeps/generic/bits/hwcap.h: New file.
36688 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36689 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36690 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36691 * sysdeps/sparc/sysdep.h: ... here. Include it.
36692 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36693 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36695 Update.
c7683a6d
RH
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36704
a6f1845d
AZ
367052012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36706
36707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36708
cbcbe830
DM
367092012-05-19 David S. Miller <davem@davemloft.net>
36710
36711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36712
e0b16cc2
JM
367132012-05-19 Joseph Myers <joseph@codesourcery.com>
36714
36715 [BZ #14123]
36716 * math/s_ccosh.c: Include <float.h>
36717 (__ccosh): Avoid internal overflow calculating sinh and cosh
36718 values before multiplying by sin and cos values.
36719 * math/s_ccoshf.c: Likewise.
36720 * math/s_ccoshl.c: Likewise.
36721 * math/s_csin.c: Likewise.
36722 * math/s_csinf.c: Likewise.
36723 * math/s_csinl.c: Likewise.
36724 * math/s_csinh.c: Likewise.
36725 * math/s_csinhf.c: Likewise.
36726 * math/s_csinhl.c: Likewise.
36727 * math/libm-test.inc (ccos_test): Add more tests.
36728 (ccosh_test): Likewise.
36729 (csin_test): Likewise.
36730 (csinh_test): Likewise.
36731 * sysdeps/i386/fpu/libm-test-ulps: Update.
36732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36733
6ad13e08
L
367342012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36735
f66f0ce8
L
36736 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36737 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36738
6ad13e08
L
36739 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36740
b1d072a7
JM
367412012-05-19 Joseph Myers <joseph@codesourcery.com>
36742
36743 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36744 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36745 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36746 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36747 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36748 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36749 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36750 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36751 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36752 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36753 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36754 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36755 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36756 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36757 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36758 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36759 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36760 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36761 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36762 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36763 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36764 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36765 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36766 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36767 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36768 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36769 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36770 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36771 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36772 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36773 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36774
9eae47cb
AJ
367752012-05-18 Andreas Jaeger <aj@suse.de>
36776
36777 * csu/.gitignore: Delete.
36778
bb07f69f
L
367792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36780
36781 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36782 (timex): Use __syscall_slong_t.
36783
e6bdb741
AJ
367842012-05-18 Andreas Jaeger <aj@suse.de>
36785 Carlos O'Donell <carlos_odonell@mentor.com>
36786
36787 * manual/install.texi (Configuring and compiling): Update
36788 description about files modified in the source directory.
d6c33fda 36789 * INSTALL: Regenerated.
e6bdb741 36790
1b74487e
L
367912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36792
36793 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36794 value. Use "or" to set return value to -1.
36795 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36796 negate return value.
36797
a88b64b9
TMQMF
367982012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36799
57f41c40
AS
36800 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36801 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36802 failure if the compiler has Graphite support disabled.
36803 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36804 Likewise.
57f41c40
AS
36805 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36806 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36807 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36808 Likewise.
36809
3707636e
L
368102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36811
610b8622
L
36812 * sysdeps/x86_64/x32/_itoa.h: New file.
36813
7cd195df
L
36814 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36815 getdents system call only if kernel and user dirents have the
36816 same d_ino and d_off.
36817
94b07d20
L
36818 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36819 LLONG_MAX != LONG_MAX.
36820 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36821 (_fitoa_word): Likewise.
36822
18298070
L
36823 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36824 years.
36825 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36826 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36827 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36828
553c7ea4
L
36829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36830 include <bits/wordsize.h>. Check __x86_64__ instead of
36831 __WORDSIZE.
36832 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36833 if __x86_64__ is defined. Use anonymous union on fpstate.
36834
3707636e
L
36835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36836 anonymous union.
36837
b53ef01a
AS
368382012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36839
37fb1dc0
AS
36840 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36841 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36842 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36843 Refer to _rtld_local_ro instead of _rtld_global_ro.
36844 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36845 Likewise.
36846 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36847 Likewise.
36848 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36849 Likewise.
36850 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36851 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36852 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36853
b53ef01a
AS
36854 * sysdeps/powerpc/powerpc32/dl-machine.c
36855 (__elf_machine_runtime_setup) [PROF]: Don't reference
36856 _dl_prof_resolve.
36857
7a185db2
AJ
368582012-05-18 Andreas Jaeger <aj@suse.de>
36859
36860 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36861 function only available for GCCs before 3.4 since GCC 3.4
36862 introduced a builtin.
36863 (lrint): Likewise.
36864 (llrintf): Likewise.
36865 (llrint): Likewise.
36866 (fmaxf): Likewise.
36867 (fmax): Likewise.
36868 (fminf): Likewise.
36869 (fmin): Likewise.
36870 (rint): Likewise.
36871 (rintf): Likewise.
36872 (nearbyint): Likewise.
36873 (nearbyintf): Likewise.
36874 (ceil): Likewise.
36875 (ceilf): Likewise.
36876 (floor): Likewise.
36877 (floorf): Likewise.
36878
3e5aef87
L
368792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36880
428bd707
L
36881 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36882 on both fields and cast pointer to __syscall_ulong_t.
36883
3e5aef87
L
36884 * bits/types.h (__fsword_t): New type.
36885 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36886 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36888 (__FSWORD_T_TYPE): Likewise.
36889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36890 (__FSWORD_T_TYPE): Likewise.
36891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36892 (__FSWORD_T_TYPE): Likewise.
36893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36894 (__FSWORD_T_TYPE): Likewise.
36895 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36896 __SWORD_TYPE with __fsword_t.
36897 (statfs64): Likewise.
36898
1ba7c3dc
DM
368992012-05-17 David S. Miller <davem@davemloft.net>
36900
36901 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36902
59910343
AJ
369032012-05-17 Andreas Jaeger <aj@suse.de>
36904
36905 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36906 warning.
36907
2e4c1e9e
L
369082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36909
36910 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36911
de7f5ce7
AJ
369122012-05-17 Andreas Jaeger <aj@suse.de>
36913
36914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36915 when it is used.
36916
286abc3d
CM
369172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36918
36919 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36920
477cc68e
L
369212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36922
36923 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36924 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36925
1a0994f5
CD
369262012-05-17 Andreas Jaeger <aj@suse.de>
36927 Carlos O'Donell <carlos_odonell@mentor.com>
36928
36929 [BZ #14059]
36930 * sysdeps/x86_64/multiarch/init-arch.h
36931 (bit_YMM_Usable): Rename to...
36932 (bit_AVX_Usable): ... this.
36933 (bit_FMA4_Usable): New macro.
36934 (bit_XMM_state): New macro.
36935 (bit_YMM_state): New macro.
36936 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36937 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36938 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36939 (CPUID_OSXSAVE): New macro.
36940 (CPUID_AVX): New macro.
36941 (CPUID_FMA4): New macro.
36942 (index_YMM_Usable): Rename to...
36943 (index_AVX_Usable): ... this.
36944 (HAS_AVX): Use HAS_ARCH_FEATURE.
36945 (HAS_FMA4): Likewise.
36946 (HAS_YMM_USABLE): Remove.
36947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36948 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36949 are present.
36950 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36951 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36952 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36953 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36954 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36955
0af797de
CM
369562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36957
36958 * math/libm-test.c: Support platforms without multiple rounding modes.
36959 * math/bug-nextafter.c: Support platforms without FP exceptions.
36960 * math/bug-nexttoward.c: Likewise.
36961 * math/test-fenv.c: Likewise.
36962 * math/test-misc.c: Likewise.
36963 * stdlib/bug-getcontext.c: Likewise.
36964
e39745ff
AJ
369652012-05-17 Andreas Jaeger <aj@suse.de>
36966
36967 * manual/examples/search.c (critter_cmp): Change signature to
36968 avoid warnings.
36969 * manual/string.texi (Collation Functions): Likewise.
36970
48970aba
L
369712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36972
36973 * bits/types.h: Fold copyright years.
36974 * bits/typesizes.h: Likewise.
36975 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36979 * time/time.h: Likewise.
36980
bedee953
PP
369812012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36982
36983 [BZ #208]
36984 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36985 in instead of returning them. Return void.
36986 (__libc_mallinfo): Accumulate over all arenas.
36987 (__malloc_stats): Adjust for change in int_mallinfo interface.
36988
61653dfb
RM
369892012-05-16 Roland McGrath <roland@hack.frob.com>
36990
30b99d79
RM
36991 [BZ #10375]
36992 * configure.in (NM): Add AC_CHECK_TOOL for it.
36993 (libc_extra_cflags): New substituted variable.
36994 Check for -fstack-protector being used implicitly.
36995 * configure: Regenerated.
36996 * config.make.in (config-extra-cflags): New variable,
36997 gets @libc_extra_cflags@.
36998 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36999
61653dfb
RM
37000 [BZ #10375]
37001 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37002 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37003 * configure: Regenerated.
37004 * config.make.in (CPPUNDEFS): New substituted variable.
37005 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37006 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37007 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37008
661768bb
L
370092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37010
37011 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37012 (mq_attr): Use __syscall_slong_t.
37013
d4261567
L
370142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37015
37016 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37017 Check __x86_64__ instead of __WORDSIZE.
37018 (_STAT_VER_LINUX): Likewise.
37019 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37020 __syscall_ulong_t and __syscall_slong_t.
37021 (stat64): Likewise.
37022
cf3ff365
L
370232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37024
37025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37026
76cf3e4d
L
370272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37028
37029 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37030
a637753a
L
370312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37032
37033 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37034 __syscall_ulong_t.
37035
d5e05119
L
37036 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37037 include <bits/wordsize.h>. Check __x86_64__ instead of
37038 __WORDSIZE.
37039 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37040 defined.
37041 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37042
f62ee380
L
37043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37044 include <bits/wordsize.h>. Check __x86_64__ instead of
37045 __WORDSIZE.
37046 (user_regs_struct): Use "__extension__ unsigned long long"
37047 instead of "unsigned long" if __x86_64__ is defined.
37048 (user): Likewise. Pad after pointer field if __ILP32__ is
37049 defined.
37050
4e124ced
JM
370512012-05-16 Joseph Myers <joseph@codesourcery.com>
37052
6a3951a0
JM
37053 * configure.in (makeinfo): Require version 4.5 or later. Allow
37054 versions 5 to 9.
37055 * configure: Regenerated.
37056 * manual/install.texi (texinfo): Increase version requirement to
37057 4.5 or later.
37058 * INSTALL: Regenerated.
37059
4e124ced
JM
37060 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37061
953ca31a
L
370622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37063
37064 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37065
617aca05
L
37066 * sysdeps/x86_64/x32/ffs.c: New file.
37067
5762f7ae
L
37068 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37069 __syscall_ulong_t.
37070 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37071 defined. Use __syscall_ulong_t.
37072 (shminfo): Use __syscall_ulong_t.
37073 (shm_info): Likewise.
37074
a26b6856
L
37075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37076 __syscall_ulong_t.
37077
cb2b9ef7
L
37078 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37079 <bits/wordsize.h>.
37080 (msgqnum_t): Use __syscall_ulong_t.
37081 (msglen_t): Likewise.
37082 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37083 __syscall_ulong_t.
37084
34683bb0
L
37085 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37086 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37087
84a68786
L
37088 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37089
48baa5f1
L
37090 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37091 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37092
180be88b
L
37093 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37094 __syscall_slong_t.
37095
5e90c8ad
L
37096 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37097 include <bits/wordsize.h>. Check __x86_64__ instead of
37098 __WORDSIZE.
37099
23dfb58b
L
37100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37101 "unsigned long long int" if __x86_64__ is defined.
37102 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37103
ce5d54b0
L
37104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37105 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37106 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37107
13dc9eac
L
37108 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37109 <stdint.h>.
37110 (GET_PC): Cast to uintptr_t first.
37111 (GET_FRAME): Likewise.
37112 (GET_STACK): Likewise.
37113
a7895d15
L
37114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37115 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37116 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37117 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37118 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37119 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37120 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37121 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37122 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37123 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37125 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37126 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37131 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37133 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37135 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37136 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37137 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37138 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37142 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37143
656416c9
AS
371442012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37145
5bd66283
AS
37146 * Makerules (+depfiles): Also collect depfiles from .oS in
37147 $(extra-objs).
37148 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37149 .oS, $(libnldbl-routines)).
37150
656416c9
AS
37151 * Makerules (native-compile-mkdep-flags): Define.
37152 * sunrpc/Makefile (extra-objs): Add $(addprefix
37153 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37154 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37155 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37156 calling $(make-target-directory).
37157
a46f2169
L
371582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37159
37160 * bits/types.h (__snseconds_t): Removed.
37161 * time/time.h (struct timespec): Replace __snseconds_t with
37162 __syscall_slong_t.
37163 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37164 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37165 Likewise.
37166 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37167 (__SNSECONDS_T_TYPE): Likewise.
37168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37169 (__SNSECONDS_T_TYPE): Likewise.
37170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37171 (__SNSECONDS_T_TYPE): Likewise.
37172
6af6528b
L
371732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37174
37175 * sysdeps/mach/hurd/bits/typesizes.h
37176 (__SYSCALL_SLONG_TYPE): New macro.
37177 (__SYSCALL_ULONG_TYPE): Likewise.
37178
de986b56
L
371792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37180
37181 * bits/types.h (__syscall_slong_t): New type.
37182 (__syscall_ulong_t): Likewise.
37183
37184 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37185 (__SYSCALL_ULONG_TYPE): Likewise.
37186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37187 (__SYSCALL_SLONG_TYPE): Likewise.
37188 (__SYSCALL_ULONG_TYPE): Likewise.
37189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37190 (__SYSCALL_SLONG_TYPE): Likewise.
37191 (__SYSCALL_ULONG_TYPE): Likewise.
37192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37193 (__SYSCALL_SLONG_TYPE): Likewise.
37194 (__SYSCALL_ULONG_TYPE): Likewise.
37195
85736dc7
L
371962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37197
37198 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37199 Add sigaltstack-offsets.sym.
37200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37201 <sigaltstack-offsets.h>.
37202 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37203 longjmp_msg pointer.
37204 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37205 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37206 signal stack.
37207 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37208
cc03b296
JM
372092012-05-15 Joseph Myers <joseph@codesourcery.com>
37210
a9538892
JM
37211 * elf/stackguard-macros.h: Remove file.
37212 * sysdeps/generic/stackguard-macros.h: New file.
37213 * sysdeps/i386/stackguard-macros.h: Likewise.
37214 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37215 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37216 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37217 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37218 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37219 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37220 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37221 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37222 <elf/stackguard-macros.h>.
37223
cc03b296
JM
37224 [BZ #14109]
37225 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37226 __aligned__ in attribute.
37227 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37228 (gregset_t): Likewise.
37229
93171016
L
372302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37231
37232 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37233 * sysdeps/x86_64/64/Implies-after: Here. New file.
37234 * sysdeps/x86_64/x32/Implies-after: New file.
37235
d86813a0
L
372362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37237
37238 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37239 and access return value for _dl_profile_fixup. Use R10_LP to
37240 load frame size.
37241
2953ec75
L
372422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37243
37244 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37245
3b550e9e
L
372462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37247
37248 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37249 * sysdeps/x86_64/x32/sysdep.h: New file.
37250
eda41706
L
372512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37252
37253 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37254 * sysdeps/x86_64/setjmp.S: Likewise.
37255
9ea01d93
AZ
372562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37257
37258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37260 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37261 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37262 remove unused global constant.
37263
02a91938
CM
372642012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37265
37266 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37267 include of <not-cancel.h>.
37268
6540185f
RM
372692012-05-15 Roland McGrath <roland@hack.frob.com>
37270
37271 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37272
509072a0
AJ
372732012-05-15 Jeff Law <law@redhat.com>
37274 Andreas Jaeger <aj@suse.de>
37275
37276 [BZ #13594]
37277 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37278 out from...
37279 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37280 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37281 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37282 code changing __hst_map_handle.map.
37283
ba75122d
RM
372842012-05-15 Roland McGrath <roland@hack.frob.com>
37285
37286 * configure.in (sysnames): Look for Implies-before and Implies-after
37287 files.
37288 * configure: Regenerated.
37289
890d8bd8
L
372902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37291
37292 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37293 8-byte data alignment with LP_SIZE alignment.
37294
f6ee6623
L
372952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37296
37297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37298 into R10_LP.
37299
ea2626f6
L
373002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37301
37302 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37303
085f715e
L
373042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37305
37306 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37307 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37309 Likewise.
37310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37311
be8498fc
L
373122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37313
37314 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37315 (stackinfo_sub_sp): Likewise.
37316
70bc83b9
L
373172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37318
37319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37320 RAX_LP.
37321
9bc0b730
L
373222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37323
37324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37325 into R*_LP.
37326
6d2850e7
L
373272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37328
37329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37330 sizes into R*_LP.
37331
3cb84561
L
373322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37333
37334 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37335
54e2ed81
L
373362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37337
37338 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37339 into R11_LP and load __x86_64_shared_cache_size_half into
37340 R8_LP.
37341
8a17f349
L
373422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37343
37344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37345 R8_LP.
37346
777b1eea
AZ
373472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37348
37349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37350 logb for POWER7.
37351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37352 logbf for POWER7.
37353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37354 logbl for POWER7.
37355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37356 powerpc32/power7/fpu/s_logb.c via #include.
37357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37358 powerpc32/power7/fpu/s_logbf.c via #include.
37359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37360 powerpc32/power7/fpu/s_logbl.c via #include.
37361
d20d4ac2
JM
373622012-05-15 Joseph Myers <joseph@codesourcery.com>
37363
37364 * README.libm: Remove file.
37365
6cdef1ab
L
373662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37367
37368 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37369 count for x32. Use R*_LP and omit operand-size suffix.
37370
0b254d8f
L
373712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37372
37373 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37374 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37375 * sysdeps/x86_64/x32/shlib-versions: New file.
37376
ceb809dc
RM
373772012-05-14 Roland McGrath <roland@hack.frob.com>
37378
37379 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37380 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37381 Use _dl_fatal_printf instead.
37382
37f1abd4
JM
373832012-05-14 Joseph Myers <joseph@codesourcery.com>
37384
37385 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37386 set if not set by the user. Do not allow for being unset.
37387 * sysdeps/unix/sysv/linux/configure: Regenerated.
37388
11de3a33
L
373892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37390
37391 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37392 the `q' suffix from lea and replace .quad with ASM_ADDR.
37393
e02f153a
L
373942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37395
37396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37397 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37398 instead of $17.
37399 (PTR_DEMANGLE): Likewise.
37400
520ae0fd
L
374012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37402
37403 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37404 (LP_OP): Likewise.
37405 (ASM_ADDR): Likewise.
37406 (RAX_LP): Likewise.
37407 (RBP_LP): Likewise.
37408 (RBX_LP): Likewise.
37409 (RCX_LP): Likewise.
37410 (RDI_LP): Likewise.
37411 (RSI_LP): Likewise.
37412 (RSP_LP): Likewise.
37413 (R8_LP): Likewise.
37414 (R9_LP): Likewise.
37415 (R10_LP): Likewise.
37416 (R10_LP): Likewise.
37417 (R11_LP): Likewise.
37418 (R12_LP): Likewise.
37419 (R13_LP): Likewise.
37420 (R14_LP): Likewise.
37421 (R15_LP): Likewise.
37422
b985be81
L
374232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37424
37425 * sysdeps/x86_64/x32/dl-machine.h: New file.
37426
6a4888ff
AJ
374272012-05-14 Andreas Jaeger <aj@suse.de>
37428
37429 * manual/Makefile (subdir): Remove export of subdir.
37430 (all): Remove target.
37431 (.PHONY): Remove all from list.
37432 (mkinstalldirs): Remove.
37433 (.PHONY): Remove installdirs from list.
37434 ($(inst_infodir)/libc.info): Use make-target-directory.
37435 (installdirs): Remove.
37436 (subdir_%): Remove.
37437 (glibc-targets): Remove.
37438 (lib): Remove.
37439 (stubs): Remove.
37440 ($(objpfx)stubs ../po/manual.pot): Remove.
37441 ($(objpfx)stamp%): Remove.
37442 (make-target-directory): Remove.
37443 (subdir_install): Remove.
37444 (routines): Remove.
37445 (aux): Remove.
37446 (sources): Remove.
37447 (objects): Remove.
37448 (headers): Remove.
37449
37450 [BZ #13750]
37451 * manual/.gitignore: Remove, it's not needed anymore.
37452 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37453 all files in it.
37454 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37455 directory.
37456 (texis): Renamed to $(objpfx)texis.
37457 (texis-path): New, contains path to generated files.
37458 (chapters.%): Use texis-path for complete path, add extra argument
37459 libc-texinfo.sh.
37460 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37461 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37462 (summary,texi, stamp-summary): Use complete path of
37463 files. Generate files in build dir.
37464 (dir-add.texi): Build in build dir.
37465 (libm-err.texi,stamp-libm-err): Likewise.
37466 (version.texi, stamp-version): Likewise.
37467 (.%c.texi): Likewise.
37468 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37469 (mostlyclean): Remove target.
37470 (realclean): Remove target.
37471 (generated): Add new variable with contents from mostlyclean and
37472 realclean, remove entries duplicated in common-mostlyclean, add
37473 stamp-libm-err and stamp-version.
37474 (generated-dirs): Add libc directory.
37475 ($(inst_infodir)/libc.info): Install files from build dir.
37476
37477 * manual/install.texi (Configuring and compiling): Adjust since
37478 the info files are not part of the tar ball anymore.
37479
7ac77294
AJ
374802012-05-14 Andreas Jaeger <aj@suse.de>
37481
37482 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37483 variable.
37484
ffb7875d
JM
374852012-05-14 Joseph Myers <joseph@codesourcery.com>
37486
37487 [BZ #13717]
37488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37489 to 2.2.0 where earlier.
37490 * sysdeps/unix/sysv/linux/configure: Regenerated.
37491 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37492 Remove conditional code.
37493 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37494 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37495 Remove conditional code.
37496 [!__NR_lchown]: Likewise.
37497 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37498 [__NR_lchown]: Likewise.
37499 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37500 comment referencing __ASSUME_LCHOWN_SYSCALL.
37501 * sysdeps/unix/sysv/linux/i386/sigaction.c
37502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37504 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37505 Remove conditional code.
37506 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37507 (__protocol_available): Remove #if 0 code.
37508 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37509 conditional code.
37510 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37511 * sysdeps/unix/sysv/linux/kernel-features.h
37512 (__ASSUME_GETCWD_SYSCALL): Don't define.
37513 (__ASSUME_REALTIME_SIGNALS): Likewise.
37514 (__ASSUME_PREAD_SYSCALL): Likewise.
37515 (__ASSUME_PWRITE_SYSCALL): Likewise.
37516 (__ASSUME_POLL_SYSCALL): Likewise.
37517 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37518 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37519 non-SPARC.
37520 (__ASSUME_SIOCGIFNAME): Don't define.
37521 (__ASSUME_MSG_NOSIGNAL): Likewise.
37522 (__ASSUME_SENDFILE): Define unconditionally.
37523 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37524 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37525 conditional code.
37526 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37527 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37528 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37529 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37530 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37531 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37532 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37534 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37537 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37540 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37557 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37558 Remove conditional code.
37559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37560 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37561 Remove conditional code.
37562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37563 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37564 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37565 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37566 Remove conditional code.
37567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37568 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37569 Remove conditional code.
37570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37571 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37572 Remove conditional code.
37573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37574 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37575 Remove conditional code.
37576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37577 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37578 Remove conditional code.
37579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37580 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37583 * sysdeps/unix/sysv/linux/sigaction.c
37584 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37585 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37586 * sysdeps/unix/sysv/linux/sigpending.c
37587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37589 * sysdeps/unix/sysv/linux/sigprocmask.c
37590 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37591 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37592 * sysdeps/unix/sysv/linux/sigsuspend.c
37593 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37594 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37595 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37596 (__libc_missing_rt_sigs): Remove.
37597 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37598 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37599 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37600 Remove conditional code.
37601 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37602 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37603 return 1.
37604 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37606 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37607 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37608
1bfb7291
AJ
376092012-05-14 Andreas Jaeger <aj@suse.de>
37610
caae5a81
AJ
37611 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37612 it's not used in glibc.
37613 (__coshm1): Likewise.
37614 (__acosh1p): Likewise.
37615 (__sgn): Likewise.
37616
1bfb7291
AJ
37617 * manual/string.texi (Copying and Concatenation): Add missing
37618 variable in concat example.
37619 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37620
c044d724
L
376212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37622
144c5467 37623 [BZ #14103]
c044d724
L
37624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37625 __builtin_clzl with __builtin_clzll.
37626
2523c62b
L
376272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37628
37629 [BZ #14104]
37630 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37631 libc_freeres_ptr.
37632
d7bb4c42
LD
376332012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37634
37635 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37636 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37637 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37638 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37639
9dc4e1fb
MF
376402012-05-14 Mike Frysinger <vapier@gentoo.org>
37641
37642 * NEWS: Update ia64 info.
37643
c7df0112
AS
376442012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37645
37646 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37647 used as bcopy.
37648
dc70356c
TS
376492012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37650
37651 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37652 * sysdeps/unix/syscalls.list (dup3): Likewise.
37653 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37654 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37655
9fb1a21f
L
376562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37657
37658 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37659 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37660
4822a2a5
L
376612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37662
37663 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37664 thread pointer.
37665 (TLS_IE): Use mov/add instead of movq/addq to load thread
37666 pointer.
37667 (TLS_GD_PREFIX): New.
37668 (TLS_GD): Use it.
37669
842b81d6
DM
376702012-05-11 David S. Miller <davem@davemloft.net>
37671
37672 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37673 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37674 (_FPU_SETCW): Likewise.
37675
1cf463cd
L
376762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37677
37678 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37679 is 32-byte aligned.
37680
60cc4a18
AS
376812012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37682
37683 [BZ #11837]
37684 * iconvdata/gb18030.c: Update tables.
37685 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37686 characters specially.
37687 (BODY for TO_LOOP): Add encoding of missing ranges.
37688
febb44a4
TS
376892012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37690
37691 [BZ #13673]
37692 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37693 * sysdeps/mach/hurd/dup3.c: Likewise.
37694 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37695 * sysdeps/powerpc/memmove.c:: Likewise.
37696
0a10fb9e
L
376972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37698
37699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37700 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37701
df8a552f
L
377022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37703
37704 * elf/elf.h (R_X86_64_RELATIVE64): New.
37705 (R_X86_64_NUM): Updated.
37706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37707 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37708 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37709 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37710 tst-quad1pie tst-quad2pie
37711 (modules-names): Add tst-quadmod1 tst-quadmod2.
37712 ($(objpfx)tst-quad1): New dependency.
37713 ($(objpfx)tst-quad2): Likewise.
37714 ($(objpfx)tst-quad1pie): Likewise.
37715 ($(objpfx)tst-quad2pie): Likewise.
37716 * sysdeps/x86_64/tst-quad1.c: New file.
37717 * sysdeps/x86_64/tst-quad1pie.c: New file.
37718 * sysdeps/x86_64/tst-quad2.c: Likewise.
37719 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37720 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37721 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37722 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37723 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37724
f34d6f84
ST
377252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37726
f42d41d1
ST
37727 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37728 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37729 * streams/stropts.h (t_scalar_t): Define type.
37730
3c3571fc
ST
37731 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37732 (_PATH_PRESERVE): Set to "/var/lib".
37733 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37734
61f06bd3
ST
37735 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37736 instead of int.
37737
918d4d71
ST
37738 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37739 if __dir_mkfile succeeded.
37740
f34d6f84
ST
37741 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37742 checking for _hurd_dtablesize. Unlock it right after having
37743 finished _hurd_dtable allocation.
37744
10589b4a
TS
377452012-05-10 Thomas Schwinge <thomas@schwinge.name>
37746
674cdbc7
TS
37747 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37748 * sysdeps/mach/hurd/configure: Regenerated.
37749 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37750 special-casing to...
37751 * sysdeps/gnu/configure.in: ... this new file.
37752 * sysdeps/unix/sysv/linux/configure: Regenerated.
37753 * sysdeps/gnu/configure: New generated file.
37754
8e41b99f
TS
37755 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37756 for Linux: use nsec instead of usec, as well as:
37757 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37758 members of type struct timespec.
37759 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37760 New macros.
37761 (struct stat64): Likewise.
37762 (_STATBUF_ST_NSEC): New macro.
37763 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37764
10589b4a
TS
37765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37766 __strtoul_internal rather than strtoul.
37767
63643c85
PT
377682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37769
37770 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37771 and reject them.
37772
3faebe6a
ST
377732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37774
37775 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37776 which preserves existing values.
37777 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37778
c6474b07
PT
377792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37780
37781 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37782 TIMEOUT values. Return EINVAL for NFDS values either negative or
37783 greater than FD_SETSIZE.
37784
1043890b
ST
377852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37786
37787 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37788 allocated, call __vm_protect to finish enabling the existing space, and
37789 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37790 allocate the remainder.
37791
37ed8b9b
PT
377922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37793
37794 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37795 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37796
db653660
ST
377972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37798
37ed8b9b
PT
37799 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37800 sysdeps/mach/hurd/readlink.c.
b29d4053 37801
db653660
ST
37802 * posix/tst-sysconf.c (posix_options): Only use
37803 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37804 _POSIX_SYNCHRONIZED_IO when they are defined
37805 * sysdeps/mach/hurd/bits/posix_opt.h:
37806 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37807 (_XOPEN_REALTIME): Undefine macro.
37808 (_XOPEN_REALTIME_THREADS): Undefine macro.
37809 (_XOPEN_SHM): Undefine macro.
37810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37811 macro to -1.
37812 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37813 macro to -1.
37814 (_POSIX_ASYNC_IO): Undefine macro.
37815 (_POSIX_PRIORITIZED_IO): Undefine macro.
37816 (_POSIX_SPIN_LOCKS): Define macro to -1.
37817
ee16e894
ST
37818 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37819 SA_NODEFER, SA_RESETHAND.
37820 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37821 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37822 F_DUPFD_CLOEXEC.
37823
6103ae3b
TS
378242012-05-10 Thomas Schwinge <thomas@schwinge.name>
37825
37826 * elf/Makefile (pldd-modules): Define unconditionally.
37827
80b4e5f3
TS
378282012-05-10 Thomas Schwinge <thomas@schwinge.name>
37829
37830 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37831
edadcbd6
ST
378322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37833
37834 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37835 Return ENOENT when name is empty.
37836 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37837
80694780
TS
378382012-05-10 Thomas Schwinge <thomas@schwinge.name>
37839
1792c087
TS
37840 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37841
80694780
TS
37842 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37843
6b645f0d
ST
378442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37845
80694780
TS
37846 Fix mlock in all cases except non-readable pages.
37847 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37848 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37849
6b645f0d
ST
37850 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37851 (__mkdir): When path is `/', just fail with EEXIST.
37852 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37853
e468f8a3
TS
378542012-05-10 Thomas Schwinge <thomas@schwinge.name>
37855
37856 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37857 <sys/uio.h> (for writev).
37858 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37859 and <sys/param.h> (for MIN).
37860
a4186cff
PT
378612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37862
37863 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37864 REQUESTED_TIME. Properly set the remaining time and return EINTR
37865 if interrupted.
37866
510bbf14
TS
378672012-05-10 Thomas Schwinge <thomas@schwinge.name>
37868
37869 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37870 Depend on against $(link-rpcuserlibs).
37871
5d5722e8
ST
378722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37873
a4186cff
PT
37874 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37875 (__libc_stack_end): Do not use attribute_relro.
37876 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37877 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37878 to libthread-provided value.
a4186cff
PT
37879 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37880 attribute_relro.
5d5722e8 37881
37233df9
TS
378822012-05-10 Thomas Schwinge <thomas@schwinge.name>
37883
be971a2b
TS
37884 [BZ #3748]
37885 * bits/libc-lock.h (__libc_once_get): New macro.
37886 * sysdeps/mach/bits/libc-lock.h: Likewise.
37887 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37888 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37889 instead of using implementation details.
37890
37233df9
TS
37891 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37892 * libio/freopen.c: Likewise.
37893 * libio/freopen64.c: Likewise.
37894 * misc/syslog.c: Likewise.
37895 * nscd/connections.c: Likewise.
37896 * nscd/netgroupcache.c: Likewise.
37897 * sysdeps/posix/getcwd.c: Likewise.
37898
38de94a5
RM
378992012-05-10 Roland McGrath <roland@hack.frob.com>
37900
37901 * math/w_ilogbf.c: Add #include <limits.h>.
37902
67530489
ST
379032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37904
a4186cff 37905 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37906 path instead of returning without unlocking.
37907
67530489
ST
37908 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37909 immediate-write ioctls.
37910 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37911
5aa3a74a
TS
379122012-05-10 Thomas Schwinge <thomas@schwinge.name>
37913
18bad2ae
TS
37914 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37915 __builtin_frame_address instead of making assumptions about the
37916 location of the return address relative to DATA. Force early load of
37917 the return address.
37918 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37919 __builtin_frame_address.
37920
5aa3a74a
TS
37921 dup3 for GNU Hurd.
37922 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37923 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37924 implement dup3 and do some further code clean-ups.
37925 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37926 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37927
ecd0de9a
ST
379282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37929
cd9fa985
ST
37930 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37931
a4186cff
PT
37932 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37933 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37934 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37935 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37936 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37937 d->port.lock.
802ca5a5 37938
a4186cff
PT
37939 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37940 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37941 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37942
bcf55240
TS
379432012-05-10 Thomas Schwinge <thomas@schwinge.name>
37944
6960eb42
TS
37945 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37946 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37947 definitions.
37948
eb43375f
TS
37949 accept4 for GNU Hurd.
37950 * include/sys/socket.h (__libc_accept4): New prototype.
37951 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37952 to implement __libc_accept4.
37953 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37954 __libc_accept4.
37955 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37956
bcf55240
TS
37957 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37958 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37959 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37960 signal-defines.sym.
37961
6178c55b
ST
379622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37963
a4186cff 37964 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37965
6f080c2f
TS
379662012-05-10 Thomas Schwinge <thomas@schwinge.name>
37967
37968 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37969 assertion on O_CLOEXEC flag.
37970 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37971 * hurd/intern-fd.c: Likewise.
37972 * hurd/port2fd.c: Likewise.
37973
bcfe3a54
ST
379742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37975
37976 [BZ #3906]
37977 * bits/in.h (IPV6_PKTINFO): Define new macro.
37978 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37979
89c9aa49
AZ
379802012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37981
37982 [BZ #13954]
37983 [BZ #13955]
37984 [BZ #13956]
37985 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37987 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37988 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37990 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37991 * math/libm-test.inc (logb_test) : Additional logb tests.
37992
021db4be
AJ
379932012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37994 Andreas Jaeger <aj@suse.de>
37995
37996 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37997 * configure: Regenerated.
37998 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37999 * config.make.in (link-obsolete-rpc): New substituted variable.
38000 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38001 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38002 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38003 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38004 so that libc.a contains the symbols.
38005 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38006 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38007 * sunrpc/auth_none.c: Likewise.
38008 * sunrpc/auth_unix.c: Likewise.
38009 * sunrpc/authdes_prot.c: Likewise.
38010 * sunrpc/authuxprot.c: Likewise.
38011 * sunrpc/clnt_gen.c: Likewise.
38012 * sunrpc/clnt_perr.c: Likewise.
38013 * sunrpc/clnt_raw.c: Likewise.
38014 * sunrpc/clnt_simp.c: Likewise.
38015 * sunrpc/clnt_tcp.c: Likewise.
38016 * sunrpc/clnt_udp.c: Likewise.
38017 * sunrpc/clnt_unix.c: Likewise.
38018 * sunrpc/des_crypt.c: Likewise.
38019 * sunrpc/des_soft.c: Likewise.
38020 * sunrpc/get_myaddr.c: Likewise.
38021 * sunrpc/key_call.c: Likewise.
38022 * sunrpc/key_prot.c: Likewise.
38023 * sunrpc/netname.c: Likewise.
38024 * sunrpc/pm_getmaps.c: Likewise.
38025 * sunrpc/pm_getport.c: Likewise.
38026 * sunrpc/pmap_clnt.c: Likewise.
38027 * sunrpc/pmap_prot.c: Likewise.
38028 * sunrpc/pmap_prot2.c: Likewise.
38029 * sunrpc/pmap_rmt.c: Likewise.
38030 * sunrpc/publickey.c: Likewise.
38031 * sunrpc/rpc_cmsg.c: Likewise.
38032 * sunrpc/rpc_common.c: Likewise.
38033 * sunrpc/rpc_dtable.c: Likewise.
38034 * sunrpc/rpc_prot.c: Likewise.
38035 * sunrpc/rpc_thread.c: Likewise.
38036 * sunrpc/rtime.c: Likewise.
38037 * sunrpc/svc.c: Likewise.
38038 * sunrpc/svc_auth.c: Likewise.
38039 * sunrpc/svc_raw.c: Likewise.
38040 * sunrpc/svc_run.c: Likewise.
38041 * sunrpc/svc_tcp.c: Likewise.
38042 * sunrpc/svc_udp.c: Likewise.
38043 * sunrpc/svc_unix.c: Likewise.
38044 * sunrpc/svcauth_des.c: Likewise.
38045 * sunrpc/xcrypt.c: Likewise.
38046 * sunrpc/xdr.c: Likewise.
38047 * sunrpc/xdr_array.c: Likewise.
38048 * sunrpc/xdr_float.c: Likewise.
38049 * sunrpc/xdr_intXX_t.c: Likewise.
38050 * sunrpc/xdr_mem.c: Likewise.
38051 * sunrpc/xdr_rec.c: Likewise.
38052 * sunrpc/xdr_ref.c: Likewise.
38053 * sunrpc/xdr_sizeof.c: Likewise.
38054 * sunrpc/xdr_stdio.c: Likewise.
38055
b5c086a2
RM
380562012-05-10 Roland McGrath <roland@hack.frob.com>
38057
38058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38059 change. Update copyright years.
38060
6d74dd09
JM
380612012-05-10 Joseph Myers <joseph@codesourcery.com>
38062
38063 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38064
28e72501
MK
380652012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38066 Joseph Myers <joseph@codesourcery.com>
38067 Paul Pluzhnikov <ppluzhnikov@google.com>
38068
38069 [BZ #14012]
38070 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38071 requiring rpcgen.
38072 [cross-compiling] (extra-libs): Likewise.
38073 [cross-compiling] (extra-libs-others): Likewise.
38074 [cross-compiling] (librpcsvc-routines): Likewise.
38075 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38076 [cross-compiling] (omit-deps): Likewise.
38077 (sunrpc-CPPFLAGS): New variable.
38078 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38079 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38080 (cross-rpcgen-objs): New variable.
38081 (extra-objs): Append $(cross-rpcgen-objs).
38082 ($(cross-rpcgen-objs)): New rule.
38083 ($(objpfx)cross-rpcgen): Likewise.
38084 (rpcgen-cmd): Define to use $(built-program-file). Expand
38085 comment.
38086 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38087 ($(objpfx)x%.stmp): Likewise.
38088 * sunrpc/proto.h [IS_IN_build] (_): Define.
38089 [IS_IN_build] (_libc_intl_domainname): Likewise.
38090
c8c59454
L
380912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38092
38093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38094 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38095 and R_X86_64_TPOFF64.
38096
6f27cd16
JM
380972012-05-10 Joseph Myers <joseph@codesourcery.com>
38098
38099 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38100 sysdeps/unix/sysv/syscalls.list.
38101 (stime): Likewise.
38102 (utime): Likewise.
38103 * sysdeps/unix/sysv/syscalls.list: Remove file.
38104
02467e1c
PE
381052012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38106
38107 [BZ #3440]
38108 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38109 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38110 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38111 (__LC_IDENTIFICATION): Make these macros useful in #if
38112 expressions, as required by C99.
38113
da392631
AS
381142012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38115
38116 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38117 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38118 after this.
38119
8115f29b
L
381202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38121
38122 * stdlib/longlong.h: Updated from GCC.
38123
bdd74070
AJ
381242012-05-09 Andreas Jaeger <aj@suse.de>
38125
edfe0dbe
AJ
38126 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38127 default is first entry.
38128 (run_mode): Set type.
38129 (main): Remove informal message about syslog.
38130 (options): Fix typo.
38131
bcfe3a54
ST
38132 [BZ #14053]
38133 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38134 to asm.
bcfe3a54
ST
38135 (lrint): Likewise.
38136 (llrintf): Likewise.
38137 (llrint): Likewise.
38138 (rint): Likewise.
38139 (rintf): Likewise.
38140 (nearbyint): Likewise.
38141 (nearbyintf): Likewise.
bdd74070 38142
91d8d69e
AJ
381432012-05-09 Andreas Jaeger <aj@suse.de>
38144 Pedro Alves <palves@redhat.com>
38145
38146 * nscd/nscd.c (run_mode): Use enum.
38147 (main): Cleanup coding style issue.
38148
bb90b80b
AJ
381492012-05-09 Alexandre Oliva <aoliva@redhat.com>
38150 Andreas Jaeger <aj@suse.de>
38151
bcfe3a54
ST
38152 * nscd/nscd.c (go_background): Replaced with...
38153 (run_mode): ... this.
bb90b80b 38154 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38155 (options): Add -F --foreground.
38156 (main): Implement it.
38157 (parse_opt): Parse it.
bb90b80b 38158
1a4b75a1
AJ
381592012-05-09 Andreas Jaeger <aj@suse.de>
38160
38161 [BZ #14083]
38162 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38163 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38164 -Wconversion warning.
38165 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38166 Likewise.
38167
b1cc2472
JM
381682012-05-09 Joseph Myers <joseph@codesourcery.com>
38169
38170 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38171 == 0.
38172 (LC_ALL): Use macro-int-constant.
38173 (LC_COLLATE): Likewise.
38174 (LC_CTYPE): Likewise.
38175 (LC_MESSAGES): Likewise.
38176 (LC_MONETARY): Likewise.
38177 (LC_NUMERIC): Likewise.
38178 (LC_TIME): Likewise.
38179 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38180 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38182 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38183 Specify type.
38184 [C99-based standards] (float_t): Expect type.
38185 [C99-based standards] (double_t): Expect type.
38186 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38187 type.
38188 [C99-based standards] (HUGE_VALL): Likewise.
38189 [C99-based standards] (INFINITY): Likewise.
38190 [C99-based standards] (NAN): Likewise.
38191 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38192 [C99-based standards] (FP_NAN): Likewise.
38193 [C99-based standards] (FP_NORMAL): Likewise.
38194 [C99-based standards] (FP_SUBNORMAL): Likewise.
38195 [C99-based standards] (FP_ZERO): Likewise.
38196 [C99-based standards] (FP_FAST_FMA): Use
38197 optional-macro-int-constant. Specify type. Require == 1.
38198 [C99-based standards] (FP_FAST_FMAF): Likewise.
38199 [C99-based standards] (FP_FAST_FMAL): Likewise.
38200 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38201 [C99-based standards] (FP_ILOGBNAN): Likewise.
38202 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38203 Specify type.
38204 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38205 [C99-based standards] (math_errhandling): Specify type.
38206 [ISO99 || ISO11] (signgam): Do not allow.
38207 [non-C99-based standards] (copysignf): Do not allow.
38208 [non-C99-based standards] (exp2f): Likewise.
38209 [non-C99-based standards] (log2f): Likewise.
38210 [non-C99-based standards] (modff): Allow.
38211 [non-C99-based standards] (erff): Do not allow.
38212 [non-C99-based standards] (erfcf): Likewise.
38213 [non-C99-based standards] (gammaf): Likewise.
38214 [non-C99-based standards] (hypotf): Likewise.
38215 [non-C99-based standards] (j0f): Likewise.
38216 [non-C99-based standards] (j1f): Likewise.
38217 [non-C99-based standards] (jnf): Likewise.
38218 [non-C99-based standards] (lgammaf): Likewise.
38219 [non-C99-based standards] (tgammaf): Likewise.
38220 [non-C99-based standards] (y0f): Likewise.
38221 [non-C99-based standards] (y1f): Likewise.
38222 [non-C99-based standards] (ynf): Likewise.
38223 [non-C99-based standards] (isnanf): Likewise.
38224 [non-C99-based standards] (acoshf): Likewise.
38225 [non-C99-based standards] (asinhf): Likewise.
38226 [non-C99-based standards] (atanhf): Likewise.
38227 [non-C99-based standards] (cbrtf): Likewise.
38228 [non-C99-based standards] (expm1f): Likewise.
38229 [non-C99-based standards] (ilogbf): Likewise.
38230 [non-C99-based standards] (log1pf): Likewise.
38231 [non-C99-based standards] (logbf): Likewise.
38232 [non-C99-based standards] (nextafterf): Likewise.
38233 [non-C99-based standards] (remainderf): Likewise.
38234 [non-C99-based standards] (rintf): Likewise.
38235 [non-C99-based standards] (scalbf): Likewise.
38236 [non-C99-based standards] (copysignl): Likewise.
38237 [non-C99-based standards] (exp2l): Likewise.
38238 [non-C99-based standards] (log2l): Likewise.
38239 [non-C99-based standards] (modfl): Allow.
38240 [non-C99-based standards] (erfl): Do not allow.
38241 [non-C99-based standards] (erfcl): Likewise.
38242 [non-C99-based standards] (gammal): Likewise.
38243 [non-C99-based standards] (hypotl): Likewise.
38244 [non-C99-based standards] (j0l): Likewise.
38245 [non-C99-based standards] (j1l): Likewise.
38246 [non-C99-based standards] (jnl): Likewise.
38247 [non-C99-based standards] (lgammal): Likewise.
38248 [non-C99-based standards] (tgammal): Likewise.
38249 [non-C99-based standards] (y0l): Likewise.
38250 [non-C99-based standards] (y1l): Likewise.
38251 [non-C99-based standards] (ynl): Likewise.
38252 [non-C99-based standards] (isnanl): Likewise.
38253 [non-C99-based standards] (acoshl): Likewise.
38254 [non-C99-based standards] (asinhl): Likewise.
38255 [non-C99-based standards] (atanhl): Likewise.
38256 [non-C99-based standards] (cbrtl): Likewise.
38257 [non-C99-based standards] (expm1l): Likewise.
38258 [non-C99-based standards] (ilogbl): Likewise.
38259 [non-C99-based standards] (log1pl): Likewise.
38260 [non-C99-based standards] (logbl): Likewise.
38261 [non-C99-based standards] (nextafterl): Likewise.
38262 [non-C99-based standards] (remainderl): Likewise.
38263 [non-C99-based standards] (rintl): Likewise.
38264 [non-C99-based standards] (scalbl): Likewise.
38265 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38266 [non-C99-based standards] (FP_*): Do not allow.
38267 [C99-based standards] (FP_*): Change to
38268 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38269 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38270 allow.
38271 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38272 (SIG_ERR): Likewise.
38273 [X/Open-based standards] (SIG_HOLD): Likewise.
38274 (SIG_IGN): Likewise.
38275 (SIGABRT): Use macro-int-constant. Specify type. Require
38276 positive value.
38277 (SIGFPE): Likewise.
38278 (SIGILL): Likewise.
38279 (SIGINT): Likewise.
38280 (SIGSEGV): Likewise.
38281 (SIGTER): Likewise.
38282 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38283 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38284 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38285 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38286 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38287 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38288 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38289 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38290 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38291 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38292 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38293 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38294 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38295 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38296 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38297 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38298 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38299 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38300 [X/Open-based standards] (SIGTRAP): Likewise.
38301 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38302 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38303 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38304 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38305 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38306 allow.
38307
b9f1922d
IW
383082012-05-08 Ian Wienand <ianw@vmware.com>
38309
38310 [BZ #14080]
38311 * time/tzset.c (__tzset_parse_tz): Update default rules for
38312 daylight time changes in the Energy Policy Act of 2005.
38313
1db86e88
AJ
383142012-05-09 Andreas Jaeger <aj@suse.de>
38315
38316 [BZ #13983]
38317 * elf/ldconfig.c (parse_conf): Change string to make clear that
38318 ldconfig only issued a warning if ld.so.conf does not exist.
38319
dee4a4e3
DM
383202012-05-08 David S. Miller <davem@davemloft.net>
38321
ee0db190
DM
38322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38323 movxtod instead of popping the value on the stack.
38324
dee4a4e3
DM
38325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38326
6a43ec98
CD
383272012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38328
38329 * config.h.in: Add HAVE_ARM_PCS_VFP.
38330
05c2c961
RMG
383312012-05-08 Roland Mc Grath <roland@hack.frob.com>
38332
bcfe3a54
ST
38333 [BZ #13979]
38334 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38335 checking but the checks are disabled for any reason.
05c2c961 38336
4b30f61a
L
383372012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38338
38339 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38340 and ELF64_R_TYPE with ELFW(R_TYPE).
38341
eee2bc67
JM
383422012-05-08 Joseph Myers <joseph@codesourcery.com>
38343
7ea5391a
JM
38344 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38345 (ulimit): Likewise.
38346
eee2bc67
JM
38347 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38348 (settimeofday): Likewise.
38349
abb66a67
MF
383502012-05-08 Mike Frysinger <vapier@gentoo.org>
38351
38352 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38353 a struct th_u2 inside the union, and move tu_block/tu_code into
38354 a new th_u3 union of tu_block/tu_code inside of that. Move
38355 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38356 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38357 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38358 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38359 (th_stuff): Change to th_u1.tu_stuff.
38360 (th_data): Define.
38361 (th_msg): Change to th_u1.th_u2.tu_data.
38362
7f18b530
DM
383632012-05-07 David S. Miller <davem@davemloft.net>
38364
05760585
DM
38365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38366
7f18b530
DM
38367 [BZ #14074]
38368 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38369 (SETUP_PIC_REG): Use it.
38370 (SETUP_PIC_REG_LEAF): Use it.
38371
495fd99f
JM
383722012-05-07 Joseph Myers <joseph@codesourcery.com>
38373
38374 [BZ #13885]
38375 [BZ #13923]
38376 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38377 USE_AS_EXPM1L.
38378 (EXPL_FINITE): Likewise.
38379 (FLDLOG): Likewise.
38380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38381 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38382 e_expl.S.
38383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38384 USE_AS_EXPM1L.
38385 (EXPL_FINITE): Likewise.
38386 (FLDLOG): Likewise.
38387 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38388 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38389 e_expl.S.
38390 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38391 test of -max_value argument for long double.
38392 * sysdeps/i386/fpu/libm-test-ulps: Update.
38393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38394
6693d694
DM
383952012-05-06 David S. Miller <davem@davemloft.net>
38396
38397 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38398 quad soft-float symbols whose references which are compiler
38399 generated.
38400 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38401
6c23e11c
JM
384022012-05-06 Joseph Myers <joseph@codesourcery.com>
38403
d8b82cad
JM
38404 [BZ #13884]
38405 [BZ #13914]
38406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38407 USE_AS_EXP10L.
38408 (EXPL_FINITE): Likewise.
38409 (FLDLOG): Likewise.
38410 (c0): Likewise.
38411 (c1): Likewise.
38412 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38413 Adjust comments for base varying.
38414 (__expl_finite): Change alias to EXPL_FINITE.
38415 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38416 e_expl.S.
38417 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38418 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38419 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38420 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38421 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38422 USE_AS_EXP10L.
38423 (EXPL_FINITE): Likewise.
38424 (FLDLOG): Likewise.
38425 (c0): Likewise.
38426 (c1): Likewise.
38427 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38428 Adjust comments for base varying.
38429 (__expl_finite): Change alias to EXPL_FINITE.
38430 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38431 tests for bugs.
38432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38433
6c23e11c
JM
38434 [BZ #14064]
38435 * math/libm-test.inc (check_float_internal): Correct ulp
38436 calculation for subnormal expected results.
38437
29ba805c
AJ
384382012-05-06 Andreas Jaeger <aj@suse.de>
38439
38440 * Makeconfig (+math-flags): New, set to -frounding-math.
38441 (+cflags): Add +math-flags so that all of glibc gets compiled with
38442 it.
38443
38444 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38445
7b17aeda
JM
384462012-05-05 Joseph Myers <joseph@codesourcery.com>
38447
5779f134
JM
38448 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38449 Disable one test.
38450
41498f4d
JM
38451 [BZ #13787]
38452 [BZ #13922]
38453 [BZ #14036]
38454 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38455 (__ieee754_expl): Allow for and saturate large arguments.
38456 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38457 (u_threshold): Likewise.
38458 (__exp): Call __ieee754_exp before checking for overflow and
38459 underflow.
38460 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38461 (u_threshold): Likewise.
38462 (__expf): Call __ieee754_expf before checking for overflow and
38463 underflow.
38464 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38465 (u_threshold): Likewise.
38466 (__expl): Call __ieee754_expl before checking for overflow and
38467 underflow.
38468 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38469 (__ieee754_expl): Allow for and saturate large arguments.
38470 * math/libm-test.inc (exp_test): Add another test. Do not allow
38471 missing overflow exception on overflow.
38472 (expm1_test): Do not allow missing overflow exception on overflow.
38473
6698b8bf
JM
38474 * sysdeps/i386/fpu/e_expl.c: Move to ...
38475 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38476 rather than using inline asm.
38477 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38478 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38479 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38480
7b17aeda
JM
38481 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38482 (nice): Likewise.
38483 (poll): Likewise.
38484 (signal): Likewise.
38485 (time): Likewise.
38486 (times): Likewise.
38487
f7c85819
JM
384882012-05-04 Joseph Myers <joseph@codesourcery.com>
38489
38490 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38491 sysdeps/unix/common/syscalls.list.
38492 (fchmod): Likewise.
38493 (fchown): Likewise.
38494 (ftruncate): Likewise.
38495 (getrusage): Likewise.
38496 (gettimeofday): Likewise.
38497 (setpgid): Likewise.
38498 (setregid): Likewise.
38499 (setreuid): Likewise.
38500 (sigaction): Likewise.
38501 (truncate): Likewise.
38502 (vhangup): Likewise.
38503 * sysdeps/unix/common/syscalls.list: Remove file.
38504 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38505 * sysdeps/unix/sysv/linux/Implies: Likewise.
38506
336270d0
L
385072012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38508
38509 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38511 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38512 Moved to ...
38513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38514 Here.
38515 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38516 to ...
38517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38518 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38519 to ...
38520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38521 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38522 to ...
38523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38524 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38525 to ...
38526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38527 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38528 to ...
38529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38530 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38531 to ...
38532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38533 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38534 to ...
38535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38536 Here.
38537 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38538 to ...
38539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38540 Here.
38541 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38542 to ...
38543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38544 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38545 Moved to ...
38546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38547 Here.
38548 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38549 to ...
38550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38551
d128e450
JM
385522012-05-04 Joseph Myers <joseph@codesourcery.com>
38553
fa8ee516
JM
38554 * sysdeps/unix/common/bits/dirent.h: Remove file.
38555 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38556
d128e450
JM
38557 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38558 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38559 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38560 * sysdeps/unix/bsd/isatty.c: Likewise.
38561 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38562 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38563 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38564
ff8faaf0 385652012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38566
62881be4 38567 [BZ #13563]
31dc8730
AZ
38568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38569 long double comparison inaccuracies.
38570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38572
6fef930c
AS
385732012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38574
38575 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38577
8f203e6c
JM
385782012-05-04 Joseph Myers <joseph@codesourcery.com>
38579
38580 [BZ #14049]
38581 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38582 nonzero digits before rounding a hex value.
38583 * stdlib/tst-strtod.c (tests): Add another test.
38584
5197d9c2
AK
385852012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38586
38587 * sysdeps/s390/fpu/libm-test-ulps: Update.
38588
f0c1dedf
AJ
385892012-05-03 Andreas Jaeger <aj@suse.de>
38590
38591 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38592 does not get optimized out.
38593 (malloc_opt_barrier): New.
38594
a65ef2ae 385952012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38596 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38597
2b942cb7 38598 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38599 intermediate file deletion.
2b942cb7 38600 (generated): Add .symlist files.
a65ef2ae 38601
54b71e02
JM
386022012-05-03 Joseph Myers <joseph@codesourcery.com>
38603
38604 [BZ #13775]
38605 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38606 Redirect under this condition.
38607 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38608 [__USE_GNU] (__dprintf_chk): Not under this condition.
38609 [__USE_GNU] (__vdprintf_chk): Likewise.
38610 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38611 under this condition.
38612 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38613 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38614 [__USE_XOPEN2K8] (vdprintf): Likewise.
38615 [__USE_GNU] (__dprintf_chk): Not under this condition.
38616 [__USE_GNU] (__vdprintf_chk): Likewise.
38617 [__USE_GNU] (dprintf): Likewise.
38618 [__USE_GNU] (vdprintf): Likewise.
38619
d3dfcc41
RM
386202012-05-03 Roland McGrath <roland@hack.frob.com>
38621
38622 * elf/Makefile (common-generated): Set this instead of generated for
38623 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38624 $(all-built-dso)-derived lists.
38625
7ac30cc5
AJ
386262012-05-03 Andreas Jaeger <aj@suse.de>
38627
0c51e550
AJ
38628 * sysdeps/i386/fpu/libm-test-ulps: Update.
38629
7ac30cc5
AJ
38630 * FAQ: Removed.
38631 * FAQ.in: Likewise.
38632 * scripts/gen-FAQ.pl: Likewise.
38633 * manual/install.texi (Installation): Point to online location of
38634 FAQ.
38635 * Makefile (files-for-dist): Remove FAQ.
38636 (FAQ): Remove.
38637
d4c2917f
AM
386382012-05-02 Allan McRae <allan@archlinux.org>
38639
38640 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38641 (LDFLAGS-reldepmod5.so): Likewise.
38642 (LDFLAGS-reldep6mod1.so): Likewise.
38643 (LDFLAGS-reldep6mod4.so): Likewise.
38644 (LDFLAGS-reldep8mod3.so): Likewise.
38645 (LDFLAGS-unload4mod1.so): Likewise.
38646 (LDFLAGS-unload4mod2.so): Likewise.
38647 (LDFLAGS-tst-initorder): Likewise.
38648 (LDFLAGS-tst-initordera2.so): Likewise.
38649 (LDFLAGS-tst-initordera3.so): Likewise.
38650 (LDFLAGS-tst-initordera4.so): Likewise.
38651 (LDFLAGS-tst-initorderb2.so): Likewise.
38652 (LDFLAGS-noload): Likewise.
38653 (LDFLAGS-next): Likewise.
38654 (LDFLAGS-order2mod1.so): Likewise.
38655 (LDFLAGS-order2mod2.so): Likewise.
38656 (LDFLAGS-tst-initorder2): Likewise.
38657 (LDFLAGS-tst-initorder2a.so): Likewise.
38658 (LDFLAGS-tst-initorder2b.so): Likewise.
38659 (LDFLAGS-tst-initorder2c.so): Likewise.
38660 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38661
d77f993f
DM
386622012-05-02 David S. Miller <davem@davemloft.net>
38663
38664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38665
171a70b4
PP
386662012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38667
38668 [BZ #14055]
38669 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38670
0be196ad
AJ
386712012-05-02 Andreas Jaeger <aj@suse.de>
38672
38673 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38674 since we manipulate rounding mode.
38675 (CPPFLAGS-test-idouble.c): Likewise.
38676 (CPPFLAGS-test-ifloat.c): Likewise.
38677 (CFLAGS-test-ldouble.c): Likewise.
38678 (CFLAGS-test-double.c): Likewise.
38679 (CFLAGS-test-float.c): Likewise.
38680 (CFLAGS-test-misc.c): Likewise.
38681 (CFLAGS-test-test-fenv.c): Likewise.
38682
4f9d04aa
AZ
386832012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38684
2b942cb7
RM
38685 [BZ #2550]
38686 [BZ #2570]
38687 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38688 comparisons to determine direction to adjust input.
4f9d04aa 38689
82a79e7d
RM
386902012-05-01 Roland McGrath <roland@hack.frob.com>
38691
f5a01ca9
RM
38692 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38693 output to the target.
38694
90fe4186
RM
38695 * scripts/localplt.awk: New file.
38696 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38697 (check-localplt-CFLAGS): Variable removed.
38698 ($(all-built-dso:=.jmprel)): New static pattern rule.
38699 (generated): Add those targets.
38700 (localplt-built-dso): New variable.
38701 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38702
38703 * elf/check-localplt.c: File removed.
38704
82397ed6
RM
38705 * scripts/check-execstack.awk: New file.
38706 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38707 (check-execstack-CFLAGS): Variable removed.
38708 ($(objpfx)check-execstack.h): Target removed.
38709 ($(objpfx)execstack-default): New target.
38710 (generated): Add that instead of check-execstack.h.
38711 ($(all-built-dso:=.phdr)): New static pattern rule.
38712 (generated): Add those targets.
38713 * elf/check-execstack.c: File removed.
38714
82a79e7d
RM
38715 * scripts/check-textrel.awk: New file.
38716 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38717 (check-textrel-CFLAGS): Variable removed.
38718 (all-built-dso): Use := to define.o
38719 ($(all-built-dso:=.dyn)): New static pattern rule.
38720 (generated): Add those targets.
38721 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38722 * config.make.in (READELF): New substituted variable.
38723 * elf/check-textrel.c: File removed.
38724
62fde54f 387252012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38726
615605c9
JM
38727 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38728 allow.
38729 * conform/data/ctype.h-data [C99-based standards] (isblank):
38730 Expect function.
38731 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38732 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38734 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38735 Specify type. Require positive value.
38736 (EILSEQ): Likewise.
38737 (ERANGE): Likewise.
38738 [ISO || POSIX] (EILSEQ): Do not expect.
38739 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38740 Specify type. Require positive value.
38741 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38742 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38743 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38744 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38745 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38746 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38747 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38748 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38749 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38750 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38751 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38752 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38753 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38754 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38755 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38756 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38757 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38758 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38759 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38760 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38761 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38762 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38763 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38764 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38765 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38766 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38767 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38768 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38769 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38770 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38771 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38772 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38773 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38774 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38775 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38776 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38777 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38778 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38779 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38780 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38781 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38782 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38783 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38784 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38785 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38786 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38787 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38788 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38789 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38790 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38791 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38792 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38793 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38794 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38795 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38796 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38797 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38798 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38799 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38800 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38801 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38802 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38803 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38804 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38805 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38806 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38807 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38808 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38809 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38810 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38811 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38812 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38813 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38814 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38815 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38816 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38817 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38818 Require >= 2.
38819 (FLT_ROUNDS): Expect as macro, not constant.
38820 (FLT_MANT_DIG): Use macro-int-constant.
38821 (DBL_MANT_DIG): Likewise.
38822 (LDBL_MANT_DIG): Likewise.
38823 (FLT_DIG): Likewise.
38824 (DBL_DIG): Likewise.
38825 (LDBL_DIG): Likewise.
38826 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38827 (DBL_MIN_EXP): Likewise.
38828 (LDBL_MIN_EXP): Likewise.
38829 (FLT_MAX_EXP): Use macro-int-constant.
38830 (DBL_MAX_EXP): Likewise.
38831 (LDBL_MAX_EXP): Likewise.
38832 (FLT_MAX_10_EXP): Likewise.
38833 (DBL_MAX_10_EXP): Likewise.
38834 (LDBL_MAX_10_EXP): Likewise.
38835 (FLT_MAX): Use macro-constant.
38836 (DBL_MAX): Likewise.
38837 (LDBL_MAX): Likewise.
38838 (FLT_EPSILON): Use macro-constant. Give upper bound.
38839 (DBL_EPSILON): Likewise.
38840 (LDBL_EPSILON): Likewise.
38841 (FLT_MIN): Likewise.
38842 (DBL_MIN): Likewise.
38843 (LDBL_MIN): Likewise.
38844 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38845 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38846 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38847 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38848 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38849 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38850 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38851 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38852 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38853 [ISO11] (FLT_TRUE_MIN): Likewise.
38854 [ISO11] (LDBL_TRUE_MIN): Likewise.
38855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38856 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38857 (SCHAR_MIN): Use macro-int-constant. Specify type.
38858 (SCHAR_MAX): Likewise.
38859 (UCHAR_MAX): Likewise.
38860 (CHAR_MIN): Likewise.
38861 (CHAR_MAX): Likewise.
38862 (MB_LEN_MAX): Use macro-int-constant.
38863 (SHRT_MIN): Use macro-int-constant. Specify type.
38864 (SHRT_MAX): Likewise.
38865 (USHRT_MAX): Likewise.
38866 (INT_MAX): Likewise.
38867 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38868 bound negative.
38869 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38870 bound with "U".
38871 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38872 bound with "L".
38873 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38874 bound negative. Suffix upper bound with "L".
38875 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38876 bound with "UL".
38877 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38878 Specify type.
38879 [C99-based standards] (LLONG_MAX): Likewise.
38880 [C99-based standards] (ULLONG_MAX): Likewise.
38881 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38882 == 0.
38883 [ISO11] (max_align_t): Require type.
38884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38885
c9140a62
JM
38886 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38887 from $CFLAGS, without defining away __attribute__ calls.
38888 (checknamespace): Use $CFLAGS_namespace.
38889
9af0bf29
JM
38890 * conform/conformtest.pl (@keywords): Only include C99 keywords
38891 for standards based on C99 or C11.
38892
343222a2
JM
38893 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38894 Disable tests.
38895 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38896 UNIX98]: Likewise.
38897
661f8cf0
JM
38898 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38899 usability of symbols in #if.
38900
ee74b9cb
JM
38901 * conform/conformtest.pl: If macro or constant types start
38902 "promoted:", expect the symbol to be of the following type
38903 promoted by the integer promotions.
62fde54f 38904
aafc49b3
JM
38905 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38906 in one place. Also handle "macro-constant".
38907
fefdf574
JM
38908 * conform/conformtest.pl: Only accept expected macro values with
38909 "==". Parse all "macro" lines in one place.
38910 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38911
f2d922fe
JM
38912 * conform/conformtest.pl: Handle braced types on "constant" lines
38913 instead of handling "typed-constant".
38914 * conform/data/signal.h-data: Use "constant" instead of
38915 "typed-constant".
38916
d22956c9
JM
38917 * conform/conformtest.pl: Handle "optional-" at start of lines in
38918 one place rather than duplicating several cases. Handle each
38919 format of "macro" line with initial "optional-".
38920
028e2e38
JM
38921 * conform/conformtest.pl: Only accept expected constant or
38922 optional-constant values with "==". Parse all "constant" lines in
38923 one place. Parse all "optional-constant" lines in one place.
38924 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38925 * conform/data/fmtmsg.h-data: Likewise.
38926 * conform/data/netinet/in.h-data: Likewise.
38927 * conform/data/tar.h-data: Likewise.
38928 * conform/data/limits.h-data: Use "==" form on "constant" and
38929 "optional-constant" lines.
38930
1b8f2850
JM
38931 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38932 Use -std=c99 for XOPEN2K.
38933 (@knownproblems): Remove.
38934 (newtoken): Don't check %isknown.
38935
a05a144b
JM
38936 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38937 Do not expect macro.
38938 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38939 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38940 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38941 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38942 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38943 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38944 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38945 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38946 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38947 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38948 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38949 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38950 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38951 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38952 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38953 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38954 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38955 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38956 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38957 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38958 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38960 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38961 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38962 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38963 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38964 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38965 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38966 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38967 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38968 [XPG3] (acosh): Likewise.
38969 [XPG3] (asinh): Likewise.
38970 [XPG3] (atanh): Likewise.
38971 [XPG3] (cbrt): Likewise.
38972 [XPG3] (expm1): Likewise.
38973 [XPG3] (ilogb): Likewise.
38974 [XPG3] (log1p): Likewise.
38975 [XPG3] (logb): Likewise.
38976 [XPG3] (nextafter): Likewise.
38977 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38978 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38979 [XPG3] (remainder): Likewise.
38980 [XPG3] (rint): Likewise.
38981 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38982 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38983 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38984 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38985 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38986 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38987 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38988 [UNIX98 || XOPEN2K] (scalb): Expect.
38989 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38990 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38991 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38992 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38993 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38994 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38995 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38996 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38997 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38998 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38999 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39000 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39001 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39002 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39003 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39004 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39006 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39007 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39008 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39016 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39017 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39034 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39035 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39036 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39037 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39038 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39039 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39040 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39041 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39042 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39043 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39044 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39045 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39046 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39047 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39048 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39049 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39050 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39051 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39052 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39053 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39054 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39055 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39056 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39057 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39058 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39059 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39060 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39061 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39062 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39063 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39064 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39065 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39066 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39067 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39068 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39069 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39070 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39071 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39072 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39073 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39075 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39076 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39077 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39078 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39079 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39080 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39081 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39082 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39084 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39085 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39086 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39087 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39088 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39089 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39090 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39091 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39092 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39093 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39094 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39095 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39096 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39097 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39098 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39099 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39100 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39101 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39102 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39103 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39104 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39105 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39106 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39107 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39108 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39109 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39110 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39111 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39112 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39113 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39114 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39115 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39116 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39117 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39118 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39119 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39120 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39121 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39122 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39123 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39124 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39125 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39126
73c5ebe3
JM
39127 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39128 _XOPEN_SOURCE_EXTENDED for XPG4.
39129
39c33b6c
JM
39130 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39131
62fde54f
JM
39132 * Makeconfig (localtime): Remove variable.
39133 (inst_localtime-file): Likewise.
39134
0741d64c
AS
391352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39136
39137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39138 Update.
39139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39140 Update.
39141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39142 Update.
39143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39144 Update.
39145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39146 Update.
39147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39148 Update.
39149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39150 Update.
39151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39152 Update.
39153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39154 Update.
39155
7cb029ee
JM
391562012-05-01 Joseph Myers <joseph@codesourcery.com>
39157
39158 [BZ #2550]
39159 [BZ #2570]
39160 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39161 comparisons to determine direction to adjust input.
39162 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39163 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39165 Likewise.
39166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39167 Likewise.
39168 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39169 Likewise.
39170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39172 Likewise.
39173 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39174 Likewise.
39175 * math/libm-test.inc (nexttoward_test): Add more tests.
39176
412bd966
AS
391772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39178
39179 [BZ #14040]
39180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39181 in version GLIBC_2.1, not GLIBC_2.0.
39182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39183 Likewise.
39184
9568c0c2
JM
391852012-04-30 Joseph Myers <joseph@codesourcery.com>
39186
adfbc8ac
JM
39187 [BZ #13942]
39188 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39189 (1 - x) * (1 + x).
39190 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39191 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39192 * math/libm-test.inc (acos_test): Add more tests.
39193 (asin_test): Likewise.
39194 * sysdeps/i386/fpu/libm-test-ulps: Update.
39195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39196
5ba3cc69
JM
39197 [BZ #14034]
39198 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39199 of square root.
39200 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39201 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39202 * math/libm-test.inc (acos_test_tonearest): New function.
39203 (acos_test_towardzero): Likewise.
39204 (acos_test_downward): Likewise.
39205 (acos_test_upward): Likewise.
39206 (asin_test_tonearest): Likewise.
39207 (asin_test_towardzero): Likewise.
39208 (asin_test_downward): Likewise.
39209 (asin_test_upward): Likewise.
39210 (main): Call the new functions.
39211 * sysdeps/i386/fpu/libm-test-ulps: Update.
39212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39213
9568c0c2
JM
39214 [BZ #13884]
39215 [BZ #13924]
39216 * math/e_exp10.c: Include <float.h>.
39217 (__ieee754_exp10): Handle underflow here rather than multiplying
39218 large negative argument by M_LN10.
39219 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39220 of __ieee754_expf.
39221 * math/e_exp10l.c: Include <float.h>.
39222 (__ieee754_exp10l): Handle underflow here rather than multiplying
39223 large negative argument by M_LN10l.
39224 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39225 spurious overflow exception on underflow.
39226
5ac3ea17
MP
392272012-04-29 Marek Polacek <polacek@redhat.com>
39228
39229 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39230 (__fortify_function): New macro.
39231 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39232 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39233 __extern_always_inline.
39234 * libio/bits/stdio2.h: Likewise.
39235 * libio/bits/stdio.h: Likewise.
39236 * string/string.h: Likewise.
39237 * string/bits/string3.h: Likewise.
39238 * include/stdio.h: Likewise.
39239 * stdlib/bits/stdlib.h: Likewise.
39240 * stdlib/stdlib.h: Likewise.
39241 * rt/bits/mqueue2.h: Likewise.
39242 * rt/mqueue.h: Likewise.
39243 * posix/bits/unistd.h: Likewise.
39244 * posix/unistd.h: Likewise.
39245 * io/bits/poll2.h: Likewise.
39246 * io/bits/fcntl2.h: Likewise.
39247 * io/fcntl.h: Likewise.
39248 * io/sys/poll.h: Likewise.
39249 * misc/bits/syslog.h: Likewise.
39250 * misc/bits/syslog-ldbl.h: Likewise.
39251 * misc/sys/syslog.h: Likewise.
39252 * socket/bits/socket2.h: Likewise.
39253 * socket/sys/socket.h: Likewise.
39254 * debug/tst-chk1.c: Likewise.
39255 * wcsmbs/bits/wchar2.h: Likewise.
39256 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39257 * wcsmbs/wchar.h: Likewise.
39258
ecf0ebfb
AJ
392592012-04-29 Andreas Jaeger <aj@suse.de>
39260
39261 * Makerules (tests): Remove enable-check-abi protection.
39262 (check-abi-warn): Remove.
39263 (check-abi-%): Remove check-abi-warn usage.
39264
39265 * configure.in: Remove check-abi configure option.
39266 * configure: Regenerated.
39267 * config.make.in (enable-check-abi): Remove.
39268
6d5c57fa
AS
392692012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39270
24c5d07e 39271 [BZ #14033]
ded5180a
AS
39272 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39273 double functions to double *_finite functions.
39274
7e0d315d
AS
39275 [BZ #13941]
39276 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39277 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39278 LDBL_MIN_EXP.
39279 * stdio-common/Makefile (tests): Add tst-sprintf3.
39280 * stdio-common/tst-sprintf3.c: New file.
39281
6d5c57fa
AS
39282 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39283 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39284
0749ff8b
JM
392852012-04-28 Joseph Myers <joseph@codesourcery.com>
39286
39287 * conform/conformtest.pl: Remove duplicate typed-constant
39288 handling.
39289
8dbd5d7b
DM
392902012-04-28 David S. Miller <davem@davemloft.net>
39291
39292 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39293 (check-abi-%): Remove AWK script prerequisite and explicit
39294 abilist directory.
39295 (check-abi): Rewrite to just diff the symlist with the abilist.
39296 (config-tls, config-abi-config): Delete, no longer used.
39297 (update-abi-%): Remove AWK script and explicit abilist directory.
39298 (update-abi): Rewrite to simply compare and conditionally copy the
39299 symlist and the sysdep abilist file. Remove update-abi-config
39300 checks.
39301 * abilist/ld.abilist: Remove.
39302 * abilist/libBrokenLocale.abilist: Remove.
39303 * abilist/libanl.abilist: Remove.
39304 * abilist/libcrypt.abilist: Remove.
39305 * abilist/libdl.abilist: Remove.
39306 * abilist/librt.abilist: Remove.
39307 * abilist/libthread_db.abilist: Remove.
39308 * abilist/libutil.abilist: Remove.
39309 * scripts/extract-abilist.awk: Remove.
39310 * scripts/merge-abilist.awk: Remove.
39311 * sysdeps/generic/libcidn.abilist: New file.
39312 * sysdeps/generic/libnss_compat.abilist: New file.
39313 * sysdeps/generic/libnss_db.abilist: New file.
39314 * sysdeps/generic/libnss_dns.abilist: New file.
39315 * sysdeps/generic/libnss_files.abilist: New file.
39316 * sysdeps/generic/libnss_hesiod.abilist: New file.
39317 * sysdeps/generic/libnss_nis.abilist: New file.
39318 * sysdeps/generic/libnss_nisplus.abilist: New file.
39319 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39320 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39321 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39322 file.
39323 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39324 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39325 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39326 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39327 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39328 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39329 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39330 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39331 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39332 file.
39333 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39334 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39335 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39336 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39337 file.
39338 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39339 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39340 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39341 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39342 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39343 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39344 file.
39345 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39347 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39348 file.
39349 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39351 New file.
39352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39353 New file.
39354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39355 New file.
39356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39357 New file.
39358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39359 New file.
39360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39361 New file.
39362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39363 New file.
39364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39365 New file.
39366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39367 New file.
39368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39369 New file.
39370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39371 New file.
39372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39373 New file.
39374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39375 New file.
39376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39377 file.
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39379 New file.
39380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39381 New file.
39382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39383 file.
39384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39385 New file.
39386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39387 New file.
39388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39389 file.
39390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39391 New file.
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39393 New file.
39394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39395 New file.
39396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39397 New file.
39398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39399 New file.
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39401 New file.
39402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39404 file.
39405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39406 New file.
39407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39408 file.
39409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39410 file.
39411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39412 file.
39413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39414 file.
39415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39416 file.
39417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39418 New file.
39419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39420 file.
39421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39422 file.
39423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39424 New file.
39425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39426 file.
39427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39429 file.
39430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39431 New file.
39432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39433 file.
39434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39435 file.
39436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39437 file.
39438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39439 file.
39440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39441 file.
39442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39443 New file.
39444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39445 file.
39446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39447 file.
39448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39449 New file.
39450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39451 file.
39452 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39453 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39454 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39455 file.
39456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39457 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39458 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39459 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39460 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39461 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39462 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39463 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39464 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39465 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39468 file.
39469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39470 New file.
39471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39472 file.
39473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39474 file.
39475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39476 file.
39477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39478 file.
39479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39480 file.
39481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39482 New file.
39483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39484 New file.
39485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39486 file.
39487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39488 New file.
39489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39490 file.
39491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39493 file.
39494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39495 New file.
39496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39497 file.
39498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39499 file.
39500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39501 file.
39502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39503 file.
39504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39505 file.
39506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39507 New file.
39508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39509 New file.
39510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39511 file.
39512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39513 New file.
39514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39515 file.
39516
41d73a1b
JM
395172012-04-28 Joseph Myers <joseph@codesourcery.com>
39518
39519 * conform/conformtest.pl: Fix typo in handling typed-constant from
39520 allow-header.
39521
28aeeda4
JM
395222012-04-27 Joseph Myers <joseph@codesourcery.com>
39523
adae8f5e
JM
39524 * README: Cut down references to pre-2.6 Linux kernels and
39525 Linuxthreads. Update lists of configurations in libc and ports
39526 and sort alphabetically. Say "or newer" with Linux kernel version
39527 requirements.
39528
28aeeda4
JM
39529 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39530
a462cb63
RA
395312012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39532
39533 [BZ #887]
39534 * math/libm-test.inc (logb_test_downward): New test to expose
39535 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39536 rounding mode.
39537
6ad3493e
JM
395382012-04-27 Joseph Myers <joseph@codesourcery.com>
39539
39540 [BZ #14027]
39541 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39542 to be done.
39543 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39544 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39545
2ce4f015
JM
395462012-04-26 Joseph Myers <joseph@codesourcery.com>
39547
5aeb141a
JM
39548 * sysdeps/unix/i386/brk.S: Remove file.
39549 * sysdeps/unix/i386/dl-brk.S: Likewise.
39550 * sysdeps/unix/i386/pipe.S: Likewise.
39551 * sysdeps/unix/i386/sigreturn.S: Likewise.
39552 * sysdeps/unix/i386/syscall.S: Likewise.
39553 * sysdeps/unix/i386/vfork.S: Likewise.
39554 * sysdeps/unix/i386/wait.S: Likewise.
39555
7143acae
JM
39556 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39557 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39558
2ce4f015
JM
39559 * configure.in (arm*-none*): Do not allow without
39560 --enable-hacker-mode.
39561 (netbsd*): Remove case setting base_os.
39562 (386bsd*): Likewise.
39563 (freebsd*): Likewise.
39564 (bsdi*): Likewise.
39565 (osf*): Likewise.
39566 (sunos*): Likewise.
39567 (ultrix*): Likewise.
39568 (newsos*): Likewise.
39569 (dynix*): Likewise.
39570 (*bsd*): Likewise.
39571 (sysv*): Likewise.
39572 (isc*): Likewise.
39573 (esix*): Likewise.
39574 (sco*): Likewise.
39575 (minix*): Likewise.
39576 (irix4*): Likewise.
39577 (irix6*): Likewise.
39578 (solaris[2-9]*): Likewise.
39579 (none): Likewise.
39580 * configure: Regenerated.
39581
0ac229c8
AZ
395822012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39583
39584 [BZ #11521]
39585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39586 overflow or cancellation in calculating denominator.
39587 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39589 down expression to avoid unexpected rounding in newer GCCs.
39590 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39591
33f244f4
DM
395922012-04-26 David S. Miller <davem@davemloft.net>
39593
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39595 long-double compat symbols.
39596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39609
cfa1f3e8
DM
396102012-04-25 David S. Miller <davem@davemloft.net>
39611
39612 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39613 HWCAP_* values only after the memory barriers have been defined.
39614 (atomic_full_barrier): Define.
39615 (atomic_read_barrier): Define.
39616 (atomic_write_barrier): Define.
39617
6e236b92
SP
396182012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39619
39620 * shlib-versions: Add libgcc_s version information.
39621 * sysdeps/generic/libgcc_s.h: Remove.
39622 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39623 libgcc_s.h.
39624 * sysdeps/gnu/unwind-resume.c: Likewise.
39625 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39626
aab39a09
DM
396272012-04-25 David S. Miller <davem@davemloft.net>
39628
39629 * sysdeps/unix/sparc/brk.S: Delete.
39630 * sysdeps/unix/sparc/dl-brk.S: Delete.
39631 * sysdeps/unix/sparc/pipe.S: Delete.
39632 * sysdeps/unix/sparc/sysdep.S: Delete.
39633 * sysdeps/unix/sparc/sysdep.h: Delete.
39634 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39635 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39636 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39638 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39639 (JUMPTARGET): Remove.
39640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39641 sysdeps/unix/sparc/sysdep.h
39642 (ENTRY, END): Remove.
39643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39644
a3cc4f48
JM
396452012-04-25 Joseph Myers <joseph@codesourcery.com>
39646
2ed8cda2
JM
39647 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39648 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39649 -DIS_IN_build.
39650
35d76d59
JM
39651 * timezone/README: Update upstream location and email address for
39652 tzcode and tzdata.
39653 * timezone/zdump.c: Update from tzcode 2012b.
39654 * timezone/zic.c: Likewise.
39655
a3cc4f48
JM
39656 * configure.in (libc_cv_as_needed): Remove test.
39657 * configure: Regenerated.
39658 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39659 conditional definition.
39660 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39661 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39662 * config.make.in (have-as-needed): Remove variable.
39663
ceab42c3
SP
396642012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39665 Paul Pluzhnikov <ppluzhnikov@google.com>
39666
39667 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39668 strings correctly.
39669
3ce2865f
CLT
396702012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39671
39672 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39673 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39674 * sysdeps/sh/strlen.S: Likewise.
39675
f37e0d68
JM
396762012-04-24 Joseph Myers <joseph@codesourcery.com>
39677
ae186e9a
JM
39678 * sysdeps/unix/fork.S: Remove file.
39679 * sysdeps/unix/i386/fork.S: Likewise.
39680 * sysdeps/unix/sparc/fork.S: Likewise.
39681
b96914af
JM
39682 * sysdeps/unix/system.c: Remove file.
39683 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39684
f37e0d68
JM
39685 * sysdeps/unix/getegid.S: Remove file.
39686 * sysdeps/unix/geteuid.S: Likewise.
39687
87ef29ca
RM
396882012-04-24 Roland McGrath <roland@hack.frob.com>
39689
83bcd236
RM
39690 * scripts/check-localplt.awk: New file.
39691 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39692 of diff.
39693 * scripts/data/localplt-generic.data: Add a comment.
39694
87ef29ca
RM
39695 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39696 NODE when __dir_mkfile failed.
39697 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39698 Reported by Ludovic Courtès <ludo@gnu.org>.
39699
e5a6e567
AJ
397002012-04-24 Andreas Jaeger <aj@suse.de>
39701
39702 * Makerules (common-clean): Also remove gen-as-const-headers
39703 files.
39704
c1820385
JM
397052012-04-24 Joseph Myers <joseph@codesourcery.com>
39706
39707 * Makerules (native-compile): Do not change working directory for
39708 build. Use $(OUTPUT_OPTION) in command.
39709 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39710
94e02fc4
AZ
397112012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39712
39713 [BZ #13886]
39714 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39715 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39716 * math/libm-test.inc (floor_test): Add more tests.
39717 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39718
3a533ca3
JM
397192012-04-24 Joseph Myers <joseph@codesourcery.com>
39720
940ab4b3
JM
39721 * sysdeps/unix/getdents.c: Remove file.
39722 * sysdeps/unix/sysv/getdents.c: Likewise.
39723 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39724
90e037bd
JM
39725 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39726 sysdeps/unix/mman/syscalls.list.
39727 (mmap): Likewise.
39728 (mprotect): Likewise.
39729 (msync): Likewise.
39730 (munmap): Likewise.
39731 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39732 * sysdeps/unix/mman/syscalls.list: Remove.
39733 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39734
3a533ca3
JM
39735 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39736 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39737 * configure: Regenerated.
39738 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39739 $(libgcc_s_suffix).
39740 * config.make.in (libgcc_s_suffix): Remove variable.
39741
1ad743de
JM
397422012-04-23 Joseph Myers <joseph@codesourcery.com>
39743
4ad451e2
JM
39744 * sysdeps/unix/sysv/gethostname.c: Move to ...
39745 * sysdeps/posix/gethostname.c: ... here.
39746
5e37ce39
JM
39747 * sysdeps/unix/execve.S: Remove file.
39748
1ad743de
JM
39749 * sysdeps/unix/_exit.S: Remove file.
39750
4e681b5b
AJ
397512012-04-23 Andreas Jaeger <aj@suse.de>
39752
39753 [BZ #13739]
39754 * manual/Makefile: Remove make dist support, there's no
39755 need for a stand-alone documentation tar ball.
39756 (TEXI2DVI): Define always, it's not in Makeconfig.
39757 (dist): Removed.
39758 (tar-it): Removed.
39759 (edition): Removed.
39760 (glibc-doc-$(edition).tar): Removed
39761 (%.Z): Removed.
39762 (%.gz): Removed.
39763 (%.uu): Removed.
39764 (ETAGS): Remove, it's in Makeconfig.
39765 (move-if-change): Remove, it's in Makeconfig.
39766
38686a03 397672012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39768
39769 [BZ #13970]
39770 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39771 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39772 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39773 (strtod_l, strtof_l, strtold_l): Remove __wur.
39774 It is not necessarily an error to ignore strtol's return value.
39775 One can reliably look at the stored endptr to decide whether
39776 the number had valid syntax.
39777
7c0616fa
AJ
397782012-04-21 Andreas Jaeger <aj@suse.de>
39779
803cb6b7 39780 [BZ #13739]
7c0616fa
AJ
39781 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39782
b0fe253f
JM
397832012-04-21 Joseph Myers <joseph@codesourcery.com>
39784
39785 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39786 * sysdeps/unix/sysv/Versions: Remove file.
39787
8280f22d
MT
397882012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39789
39790 [BZ #13927]
39791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39792
75ce411f 397932012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39794
39795 [BZ #7064]
39796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39797 version from __vm86.
39798
097d59fa
JM
397992012-04-20 Joseph Myers <joseph@codesourcery.com>
39800
a90f3bcb
JM
39801 * sysdeps/unix/common/lxstat.c: Remove file.
39802 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39803
edc7ea78
JM
39804 * sysdeps/unix/sysv/Makefile: Remove file.
39805
cb78c221
JM
39806 * sysdeps/unix/sysv/direct.h: Remove file.
39807
efa6a45f
JM
39808 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39809 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39810 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39811 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39812 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39813 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39814 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39815
9c9f2d0c
JM
39816 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39817
4541c83b
JM
39818 * sysdeps/unix/xmknod.c: Remove file.
39819 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39820
f5d153a0
JM
39821 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39822
aa746595
JM
39823 * sysdeps/unix/sysv/i386/time.S: Remove file.
39824
cce5905e
JM
39825 * sysdeps/unix/fxstat.c: Remove file.
39826 * sysdeps/unix/xstat.c: Likewise.
39827 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39828
37fa3841
JM
39829 * sysdeps/unix/sysv/sigaction.c: Remove file.
39830
ff1962a3
JM
39831 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39832 (sysdep_headers): Remove variable.
39833 [termio.h not in sysdep_headers] (generated): Likewise.
39834 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39835 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39836 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39837 * sysdeps/unix/sysv/tcflow.c: Likewise.
39838 * sysdeps/unix/sysv/tcflush.c: Likewise.
39839 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39840 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39841 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39842 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39843 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39844
e7740d31
JM
39845 * sysdeps/unix/siglist.c: Remove file.
39846
ee06f18b
JM
39847 * sysdeps/unix/getppid.S: Remove file.
39848
097d59fa
JM
39849 * sysdeps/unix/mkdir.c: Remove file.
39850 * sysdeps/unix/rmdir.c: Likewise.
39851
ff3d51ec
AS
398522012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39853
39854 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39855 ERR_MAX value.
39856 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39857 errlist-compat value.
39858
50f81fd7
DM
398592012-04-18 David S. Miller <davem@davemloft.net>
39860
39861 * sysdeps/generic/memcopy.h (reg_char): Delete.
39862 * debug/strcat_chk.c: Use char, not reg_char.
39863 * debug/strcpy_chk.c: Likewise.
39864 * debug/strncat_chk.c: Likewise.
39865 * debug/strncpy_chk.c: Likewise.
39866 * string/memchr.c: Likewise.
39867 * string/memrchr.c: Likewise.
39868 * string/rawmemchr.c: Likewise.
39869 * string/strcat.c: Likewise.
39870 * string/strchr.c: Likewise.
39871 * string/strchrnul.c: Likewise.
39872 * string/strcmp.c: Likewise.
39873 * string/strcpy.c: Likewise.
39874 * string/strncat.c: Likewise.
39875 * string/strncmp.c: Likewise.
39876 * string/strncpy.c: Likewise.
39877
8ff41c46
WS
398782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39879
39880 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39881 __builtin_memcopy is called when src and dest ranges are known to not
39882 overlap.
39883
6b652f46
WS
398842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39885
39886 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39887 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39888 fwd_align_merge macro call.
39889 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39890 bwd_align_merge macro call.
39891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39892
b282631e
WS
398932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39894
39895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39896 bwd_align_merge macros.
39897 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39898 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39900
95aa737c
DM
399012012-04-18 David S. Miller <davem@davemloft.net>
39902
39903 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39904
7a99a614
AJ
399052012-04-18 Andreas Jaeger <aj@suse.de>
39906
39907 [BZ# 6794]
39908 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39909 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39910 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39911
39912 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39913 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39915
39916 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39917 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39918 Adjust for changed ldbl-128 files.
39919
39920 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39921 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39923
e5270c23
DM
399242012-04-17 David S. Miller <davem@davemloft.net>
39925
39926 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39927
fb5e92c9
AS
399282012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39929
39930 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39931 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39932 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39933 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39934 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39935 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39936
76da7265
AZ
399372012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39938
39939 [BZ #6794]
39940 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39941 * math/libm-test.inc: Add ilogb errno and exception tests.
39942 * math/w_ilogb.c: New file: ilogb wrapper.
39943 * math/w_ilogbf.c: New file: ilogbf wrapper.
39944 * math/w_ilogbl.c: New file: ilogbl wrapper.
39945 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39946 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39947 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39948 exception being thrown with 0.0 as argument.
39949 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39950 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39951 exception being thrown with 0.0 as argument.
39952 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39953 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39954 exception being thrown with 0.0 as argument.
39955 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39956 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39957 exception being thrown with 0.0 as argument.
39958 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39959 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39960 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39961 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39962 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39963 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39964 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39965 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39966 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39967
0396e69d
PB
399682012-04-17 Petr Baudis <pasky@ucw.cz>
39969
39970 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39971 with altivec.
39972
750b5926
MP
399732012-04-16 Marek Polacek <polacek@redhat.com>
39974
39975 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39976
751728a1
MP
399772012-04-16 Marek Polacek <polacek@redhat.com>
39978
39979 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39980 operands of fdivp instruction.
39981
34a27407
L
399822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39983
39984 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39985 * elf/tst-auditmod3b.c: Likewise.
39986 * elf/tst-auditmod4b.c: Likewise.
39987 * elf/tst-auditmod5b.c: Likewise.
39988 * elf/tst-auditmod6b.c: Likewise.
39989 * elf/tst-auditmod6c.c: Likewise.
39990 * elf/tst-auditmod7b.c: Likewise.
39991 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39992 * sysdeps/x86_64/preconfigure.in: Likewise.
39993 * sysdeps/x86_64/preconfigure: Regenerated.
39994
7e73e17d
L
399952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39996
39997 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39998 __ILP32__.
39999
c7a6ab72
AB
400002012-04-13 Antoine Balestrat <merkil33@gmail.com>
40001
40002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40003 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40004
a9e8e0e0
CL
400052012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40006
40007 [BZ #13973]
40008 * locale/iso-639.def: Fix gl language name. Spotted by
40009 Yaron Shahrabani.
40010
ec98af7d
RM
400112012-04-12 Roland McGrath <roland@hack.frob.com>
40012
40013 [BZ #2074]
40014 * libio/libio.h (__io_write_fn): Update comment.
40015
247c3ede
PB
400162012-04-12 Petr Baudis <pasky@ucw.cz>
40017
40018 [BZ #2074]
40019 * stdio.texi (Hook Functions): The user provided writer function
40020 is not allowed to return -1.
40021
55939d6d
DM
400222012-04-11 David S. Miller <davem@davemloft.net>
40023
40024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40025
90020f5a
MF
400262012-04-11 Mike Frysinger <vapier@gentoo.org>
40027
40028 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40029 Add a leading slash to rtkaio.
40030
288f9098
JM
400312012-04-11 Jim Meyering <meyering@redhat.com>
40032
90020f5a
MF
40033 [BZ #11959]
40034 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40035 It is not necessarily an error to ignore fwrite's return
40036 value. One can reliably use ferror to test for errors after
40037 the fact.
288f9098 40038
4be2b570
L
400392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40040
40041 * bits/types.h (__snseconds_t): New type.
40042 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40043
40044 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40045 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40046 (__SNSECONDS_T_TYPE): Likewise.
40047 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40048 (__SNSECONDS_T_TYPE): Likewise.
40049 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40050 (__SNSECONDS_T_TYPE): Likewise.
40051
288f9098 400522012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40053
40054 [BZ #2636]
40055 * manual/time.texi (Processor Time): Return type of times is
40056 elapsed real time since an arbitrary point in the past.
40057 (CPU Time): Move CLK_TCK from here...
40058 (Processor Time): ...to here. Correct description.
40059 * manual/conf.texi (Constants for Sysconf): Correct description of
40060 _SC_CLK_TCK.
40061
d7dd4413
DM
400622012-04-10 David S. Miller <davem@davemloft.net>
40063
40064 [BZ #13967]
40065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40066 where the is a gap between DT_REL(A) and DT_JMPREL.
40067
b46068fc
L
400682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40069
40070 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40071 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40072 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40073
73d65cc3
SP
400742012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40075
40076 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40077 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40078 (dl_main): Handle --inhibit-cache.
40079 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40080 _dl_inhibit_cache.
40081 * elf/dl-load.c (_dl_map_object): Use it.
40082 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40083
bcc8d661
JM
400842012-04-09 Joseph Myers <joseph@codesourcery.com>
40085
8f9a2fae
JM
40086 [BZ #13872]
40087 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40088 (__ieee754_powl): Saturate large exponents rather than testing for
40089 overflow of y*log2(x).
40090 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40091 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40092 exceptions.
40093
bcc8d661
JM
40094 [BZ #11521]
40095 * math/s_ctan.c: Include <float.h>.
40096 (__ctan): Avoid internal overflow or cancellation in calculating
40097 denominator.
40098 * math/s_ctanf.c: Likewise.
40099 * math/s_ctanl.c: Likewise.
40100 * math/s_ctanh.c: Likewise.
40101 * math/s_ctanhf.c: Likewise.
40102 * math/s_ctanhl.c: Likewise.
40103 * math/libm-test.inc (ctan_test): Add more tests.
40104 (ctanh_test): Likewise.
40105 * sysdeps/i386/fpu/libm-test-ulps: Update.
40106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40107
823fbbb4
AJ
401082012-04-09 Andreas Jaeger <aj@suse.de>
40109
03879793
AJ
40110 [BZ #6894]
40111 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40112 is an optional BSD extension.
40113
823fbbb4
AJ
40114 [BZ #10254]
40115 * manual/stdio.texi (Opening Streams): Document additional fopen
40116 parameters.
40117
8de131cb
RM
401182012-04-09 Roland McGrath <roland@hack.frob.com>
40119
40120 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40121 %eax without telling the compiler.
40122
c0ed9d7d
CD
401232012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40124
40125 [BZ # 13963]
40126 * manual/install.texi: Use sourceware.org.
40127
c483f6b4
JM
401282012-04-09 Joseph Myers <joseph@codesourcery.com>
40129
d7dd9453
JM
40130 [BZ #13873]
40131 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40132 (__ieee754_pow): Generate overflow and underflow using huge*huge
40133 and tiny*tiny rather than just returning constant infinity or zero
40134 for large exponents.
40135 * math/libm-test.inc (pow_test): Require overflow exceptions for
40136 applicable cases of large exponents.
40137
c483f6b4
JM
40138 [BZ #706]
40139 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40140 (__ieee754_pow): Use iterative multiplication algorithm only for
40141 integer exponents with absolute value below 1024. Check for odd
40142 integer exponents when using algorithm for real exponents.
40143 * math/libm-test.inc (pow_test): Add more tests.
40144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40145
d2de7579
JM
401462012-04-08 Joseph Myers <joseph@codesourcery.com>
40147
40148 [BZ #13705]
40149 * math/libm-test.inc (exp_test): Do not allow overflow exception
40150 on underflow test.
40151
f77f1232
AJ
401522012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40153
40154 [BZ #13705]
40155 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40156 instead of __kernel_standard_f.
40157
3884932b
MF
401582012-04-08 Mike Frysinger <vapier@gentoo.org>
40159
40160 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40161 * sysdeps/x86_64/memset_chk.S: Likewise.
40162
54472e9c
AJ
401632012-04-08 Andreas Jaeger <aj@suse.de>
40164
6ab0fbfc
AJ
40165 [BZ #10153]
40166 * manual/startup.texi (Environment Access): Describe return value
40167 for putenv and setenv.
40168
61efba8c
AJ
40169 [BZ #6895]
40170 * manual/filesys.texi (Directory Entries): Add description for
40171 DT_LNK.
40172
95c3f29a
AJ
40173 [BZ #6890]
40174 * manual/filesys.texi (Directory Entries): Clarify that it's file
40175 system not operating system in the description of DT_UNKNOWN.
40176
54472e9c
AJ
40177 [BZ #6578]
40178 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40179
624254b1
SC
401802012-04-08 Stephen Compall <s11@member.fsf.org>
40181
40182 [BZ #6649]
40183 * manual/llio.texi (Opening and Closing Files): Add cross
40184 reference to explain mode argument.
40185
1e4920e0
MF
401862012-04-07 Mike Frysinger <vapier@gentoo.org>
40187
40188 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40189 * sysdeps/x86_64/memset_chk.S: Likewise.
40190
5ed848f3
DM
401912012-04-07 David S. Miller <davem@davemloft.net>
40192
40193 * elf/elf.h (R_SPARC_WDISP10): Define.
40194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40195 R_SPARC_SIZE32.
40196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40197 R_SPARC_SIZE64 and R_SPARC_H34.
40198
96154cd8
CD
401992012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40200
40201 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40202 conditions and remove no longer applicable assertion.
40203
9904dc47
L
402042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40205
40206 * bits/byteswap.h: Include <features.h>.
40207 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40208 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40209
f8887d0a
L
402102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40211
40212 * bits/byteswap.h (__bswap_16): Removed.
40213 Include <bits/byteswap-16.h> to get __bswap_16.
40214 * sysdeps/i386/bits/byteswap.h: Likewise.
40215 * sysdeps/s390/bits/byteswap.h: Likewise.
40216 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40217 * bits/byteswap-16.h: New file.
40218 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40219 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40220 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40221 * string/Makefile (headers): Add bits/byteswap-16.h.
40222
62470f60
PP
402232012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40224
40225 [BZ #13895]
40226 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40227 extra indirection.
40228 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40229 * nss/tst-nss-static.c: New.
40230
4dad7bab
RM
402312012-04-06 Robert Millan <rmh@gnu.org>
40232
40233 [BZ #6486]
40234 * manual/llio.texi (File Position Primitive): lseek
40235 refers to WHENCE when it really means OFFSET.
40236
e9142a17
AJ
402372012-04-06 Andreas Jaeger <aj@suse.de>
40238
2c040eff
AJ
40239 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40240 strncmp declarations.
40241
e9142a17
AJ
40242 * abilist/libc.abilist: Add __poll and __ppoll.
40243
ff9f1c5f
DM
402442012-04-05 David S. Miller <davem@davemloft.net>
40245
dcd2ae90
DM
40246 * scripts/check-local-headers.sh: Accept a host triplet in the
40247 path matched by the exclude regexp.
40248
993eb054
DM
40249 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40250 definition.
40251 * sysdeps/powerpc/powerpc32/dl-machine.h
40252 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40253 * sysdeps/s390/s390-32/dl-machine.h
40254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40255 * sysdeps/sparc/sparc32/dl-machine.h
40256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40257 * sysdeps/sparc/sparc64/dl-machine.h
40258 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40259
ff9f1c5f
DM
40260 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40261 lazy binding.
48e2e132 40262 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40263 undefined symbol errors.
40264
48e2e132 40265 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40266 DT_NEEDED entries.
40267
e80d6f94
MM
402682012-04-05 Michael Matz <matz@suse.de>
40269
40270 [BZ #13592]
40271 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40272
349fa79f
AJ
402732012-04-05 Andreas Jaeger <aj@suse.de>
40274
40275 [BZ #13908]
40276 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40277 comment.
40278
f402708f
KK
402792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40280
40281 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40282 which ROUND is no valid rounding mode.
40283
2ecccfc9
KK
402842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40285
40286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40287 read again.
40288 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40289
8a53f50f
KK
402902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40291
40292 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40293 an exception using FPU order intentionally.
40294
402952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40296
40297 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40298 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40299 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40300 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40301
d653abb7
SJ
403022012-04-05 Simon Josefsson <simon@josefsson.org>
40303
40304 [BZ #12340]
40305 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40306 EINVAL when BUFLEN is too smal.
40307
c3b1bf7d
TS
403082012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40309
40310 [BZ #13553]
40311 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40312 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40313
b1aa60f3
AJ
403142012-04-03 Andreas Jaeger <aj@suse.de>
40315
c3b1bf7d 40316 [BZ #13938]
67f60a26
AJ
40317 * manual/setjmp.texi (System V contexts): Fix sentence.
40318
b1aa60f3
AJ
40319 [BZ #13926]
40320 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40321 New macro for this case.
40322 [!__GNUC__] (__bswap_64): New inline function for this case.
40323 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40324 * bits/byteswap.h: Likewise.
40325 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40326 ull, guard with __GLIBC_HAVE_LONG_LONG.
40327
40328 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40329 __GLIBC_HAVE_LONG_LONG.
40330
40331 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40332 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40333
39c59c35
TMQMF
403342012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40335
40336 [BZ #13691]
40337 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40338 inptr and inend, rather than using last_ch.
40339
135ffda8
DM
403402012-04-02 David S. Miller <davem@davemloft.net>
40341
40342 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40343 * stdio-common/printf-parse.h (read_int): Change return type to
40344 'int', return -1 on INT_MAX overflow.
40345 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40346 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40347 overflows INT_MAX. Check for overflow of in-format-string precision
40348 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40349 SIZE_MAX not INT_MAX for integer overflow test.
40350 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40351 skip the construct in the format string but do not record anything.
40352 * stdio-common/bug22.c: Adjust to test both width/prevision
40353 INT_MAX overflow as well as total length INT_MAX overflow. Check
40354 explicitly for proper errno values.
40355
228c019e
TS
403562012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40357
302cadd3
TS
40358 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40359 CHAR_MAX.
40360 * string/test-strcmp.c [! WIDE]: Likewise.
40361 * time/tst-mktime2.c: Likewise for INT_MAX.
40362 * string/test-string.h: #include <sys/param.h> for MIN.
40363
228c019e
TS
40364 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40365 * sysdeps/i386/init-first.c (init): Likewise.
40366 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40367 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40368 * sysdeps/sh/init-first.c (init): Likewise.
40369
cfa633f5
UD
403702012-04-01 Ulrich Drepper <drepper@gmail.com>
40371
40372 * po/ru.po: Update from translation team.
d1635ef8 40373 * po/vi.po: Likewise.
cfa633f5 40374
6cd0a5ea
SP
403752012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40376
40377 * resolv/nss_dns/dns-host.c: Merge copyright years.
40378
4b43400f
LD
403792012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40380
40381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40382 Optimize memcpy with prefetch if
40383 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40384 src, dst pointers have unequal 16 byte alignments.
40385
48c41d04
SP
403862012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40387
40388 [BZ #13928]
40389 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40390 from a CNAME entry and return the minimum ttl for the query.
40391 (gaih_getanswer_slice): Likewise.
40392
b8dc394d
JL
403932012-03-30 Jeff Law <law@redhat.com>
40394
40395 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40396 due to long keys.
40397 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40398 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40399
2f5a5ed0
JL
40400 * resolv/nss_dns/dns-host.c: Update copyright year.
40401
1d39e359
UD
404022012-03-30 Ulrich Drepper <drepper@gmail.com>
40403
c030f70c 40404 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40405 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40406
1d39e359
UD
40407 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40408 comments for sendmmsg.
40409
404102012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40411
40412 [BZ #13691]
40413 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40414 with only 1 character between 0x0041 and 0x01b0.
40415 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40416 * wcsmbs/tst-mbsnrtowcs.c: New file.
40417
20fde227
DM
404182012-03-29 David S. Miller <davem@davemloft.net>
40419
40420 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40421 small copies by hand.
40422
984a4237
JL
404232012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40424
40425 [BZ #13761]
57f41c40
AS
40426 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40427 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40428 group memberships.
984a4237 40429
18c9d62b
DM
404302012-03-28 David S. Miller <davem@davemloft.net>
40431
88d85d4f
DM
40432 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40433 that branches into memcpy.
40434 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40437 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40439 bits.
40440 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40441 implementation too.
40442 * sysdeps/sparc/mempcpy.S: New file.
40443
e5aa83e1
DM
40444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40445 the IFUNC routine in the libc case.
40446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40447
88570753
DM
40448 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40449 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40450 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40451 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40452 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40453 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40454 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40455 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40456
249d7567
DM
40457 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40458 loop to 256 bytes instead of 64 bytes and fix test signedness.
40459
18c9d62b
DM
40460 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40461 * sysdeps/sparc/sparc32/Makefile: rather than here...
40462 * sysdeps/sparc/sparc64/Makefile: and here.
40463
05f3d1f6
UD
404642012-03-28 Ulrich Drepper <drepper@gmail.com>
40465
40466 * malloc/mallocbug.c: Avoid warnings about unused variables.
40467
86ae07a8
JL
404682012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40469
40470 [BZ #13760]
40471 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40472 in the right place. Discard and retry query if response is
40473 larger than input buffer size.
40474
41bf21a1
JM
404752012-03-28 Joseph Myers <joseph@codesourcery.com>
40476
d6270972
JM
40477 [BZ #369]
40478 [BZ #2678]
40479 [BZ #3866]
40480 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40481 x for large integer exponent.
40482 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40483 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40484 sign of result as needed afterwards.
40485 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40486 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40487 result for underflowing pow the same as for overflow.
40488 (__kernel_standard_l): Handle powl overflow and underflow here
40489 rather than calling __kernel_standard.
40490 * math/libm-test.inc (pow_test): Add more tests.
40491
414fca03 40492 [BZ #3868]
41bf21a1
JM
40493 [BZ #13879]
40494 [BZ #13910]
40495 [BZ #13911]
40496 [BZ #13912]
40497 [BZ #13913]
40498 [BZ #13915]
40499 [BZ #13916]
40500 [BZ #13917]
40501 [BZ #13918]
40502 [BZ #13919]
40503 [BZ #13920]
40504 [BZ #13921]
40505 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40506 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40507 (__kernel_standard_l): New function.
40508 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40509 __kernel_standard.
40510 * math/w_acosl.c (__acosl): Likewise.
40511 * math/w_asinl.c (__asinl): Likewise.
40512 * math/w_atan2l.c (__atan2l): Likewise.
40513 * math/w_atanhl.c (__atanhl): Likewise.
40514 * math/w_coshl.c (__coshl): Likewise.
40515 * math/w_exp10l.c (__exp10l): Likewise.
40516 * math/w_exp2l.c (__exp2l): Likewise.
40517 * math/w_fmodl.c (__fmodl): Likewise.
40518 * math/w_hypotl.c (__hypotl): Likewise.
40519 * math/w_j0l.c (__j0l, __y0l): Likewise.
40520 * math/w_j1l.c (__j1l, __y1l): Likewise.
40521 * math/w_jnl.c (__jnl, __ynl): Likewise.
40522 * math/w_lgammal.c (__lgammal): Likewise.
40523 * math/w_log10l.c (__log10l): Likewise.
40524 * math/w_log2l.c (__log2l): Likewise.
40525 * math/w_logl.c (__logl): Likewise.
40526 * math/w_powl.c (__powl): Likewise.
40527 * math/w_remainderl.c (__remainderl): Likewise.
40528 * math/w_scalbl.c (sysv_scalbl): Likewise.
40529 * math/w_sinhl.c (__sinhl): Likewise.
40530 * math/w_sqrtl.c (__sqrtl): Likewise.
40531 * math/w_tgammal.c (__tgammal): Likewise.
40532 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40533 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40534 * math/libm-test.inc (acos_test): Add more tests.
40535 (acosh_test): Likewise.
40536 (asin_test): Likewise.
40537 (atanh_test): Likewise.
40538 (exp_test): Likewise.
40539 (exp10_test): Likewise.
40540 (exp2_test): Likewise.
40541 (expm1_test): Likewise.
40542 (lgamma_test): Likewise.
40543 (log_test): Likewise.
40544 (log10_test): Likewise.
40545 (log1p_test): Likewise.
40546 (log2_test): Likewise.
40547 (pow_test): Do not allow some spurious overflow exceptions.
40548 (sqrt_test): Add more tests.
40549 (tgamma_test): Likewise.
40550 (y0_test): Likewise.
40551 (y1_test): Likewise.
40552 (yn_test): Likewise.
40553
dd62fda6
AB
405542012-03-27 Anton Blanchard <anton@samba.org>
40555
40556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40557 MAP_HUGETLB.
40558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40559 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40561
1e3cdfda
AJ
405622012-03-27 David S. Miller <davem@davemloft.net>
40563
b855ab85
DM
40564 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40565
1e3cdfda
AJ
40566 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40567 have-as-vis3 check.
40568
405692012-03-27 Andreas Jaeger <aj@suse.de>
40570
40571 * sysdeps/x86_64/elf/configure.in: Moved to ...
40572 * sysdeps/x86_64/configure.in: ... here.
40573 * sysdeps/x86_64/elf/start.S: Moved to ...
40574 * sysdeps/x86_64/start.S: ... here.
40575 * sysdeps/x86_64/elf/configure: Delete.
40576
40577 * sysdeps/x86_64/configure.in: Merge contents from
40578 sysdeps/i386/configure.in (without i686 check).
40579
40580 * sysdeps/i386/elf/Versions: Merge into ...
40581 * sysdeps/i386/Versions: ... this.
40582 * sysdeps/i386/elf/Versions: Delete file.
40583 * sysdeps/i386/elf/start.S: Moved to ...
40584 * sysdeps/i386/start.S: ...here.
40585 * sysdeps/i386/elf/configure.in: Merge into...
40586 * sysdeps/i386/configure.in: ...here.
40587 * sysdeps/i386/elf/configure.in: Delete file.
40588 * sysdeps/i386/elf/configure: Delete file.
40589
40590 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40591 * debug/backtracesyms.c: ... here.
40592 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40593 * debug/backtracesymsfd.c: ... here.
40594 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40595 * sysdeps/generic/ifunc-sel.h: ... here.
40596
40597 * sysdeps/unix/i386/start.c: Delete file.
40598 * sysdeps/unix/sparc/start.c: Delete file.
40599 * sysdeps/unix/start.c: Delete file.
40600
40601 * sysdeps/sh/elf/configure.in: Moved to ...
40602 * sysdeps/sh/configure.in: ... here.
40603 * sysdeps/sh/elf/start.S: Moved to ...
40604 * sysdeps/sh/start.S: ... here.
40605 * sysdeps/sh/elf/configure: Delete file.
40606
40607 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40608 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40609 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40610 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40611 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40612 * sysdeps/powerpc/powerpc64/start.S: here.
40613 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40614 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40615 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40616 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40617 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40618
40619 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40620 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40621 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40622 * sysdeps/powerpc/powerpc32/start.S: ... here.
40623 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40624 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40625 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40626
40627 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40628 * sysdeps/powerpc/ifunc-sel.h: ... here.
40629 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40630 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40631
40632 * sysdeps/sparc/elf/configure.in: Moved to ...
40633 * sysdeps/sparc/configure.in: ... here.
40634 * sysdeps/sparc/elf/configure: Delete file.
40635 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40636 * sysdeps/sparc/sparc32/start.S: ... here.
40637 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40638 * sysdeps/sparc/sparc64/start.S: ... here.
40639 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40640 * sysdeps/sparc/sparc32/Makefile: ... this.
40641 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40642 * sysdeps/sparc/sparc64/Makefile: ... this.
40643
40644 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40645 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40646 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40647 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40648 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40649 * sysdeps/s390/s390-32/setjmp.S: ... here.
40650 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40651 * sysdeps/s390/s390-32/configure.in: ... here.
40652 * sysdeps/s390/s390-32/elf/configure: Delete file.
40653 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40654 * sysdeps/s390/s390-32/start.S: ... here.
40655
40656 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40657 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40658 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40659 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40660 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40661 * sysdeps/s390/s390-64/setjmp.S: ... here.
40662 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40663 * sysdeps/s390/s390-64/configure.in: ... here
40664 * sysdeps/s390/s390-64/elf/configure: Delete file.
40665 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40666 * sysdeps/s390/s390-64/start.S: ... here.
40667 * sysdeps/s390/s390-64/elf/configure: Delete.
40668
40669 * configure.in: Remove support for elf directories in sysdeps.
40670
40671 * configure: Regenerated.
40672 * sysdeps/i386/configure: Regenerated.
40673 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40674 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40675 * sysdeps/s390/s390-32/configure: Regenerated.
40676 * sysdeps/s390/s390-64/configure: Regenerated.
40677 * sysdeps/sh/configure: Regenerated.
40678 * sysdeps/sparc/configure: Regenerated.
40679 * sysdeps/x86_64/configure: Regenerated.
40680
a3f61311
AS
406812012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40682
c876e002
AS
40683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40684
a3f61311
AS
40685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40686 denormal result into account.
40687
ac4c54f0
RM
406882012-03-25 Roland McGrath <roland@hack.frob.com>
40689
40690 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40691 Reported by Allan McRae <allan@archlinux.org>.
40692
6a9b9c02
JL
406932012-03-23 Jeff Law <law@redhat.com>
40694
40695 * nss/getnssent.c (__nss_getent): Fix typo.
40696
4c42a0c1
DM
406972012-03-23 David S. Miller <davem@davemloft.net>
40698
40699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40700
1532c7ac
L
407012012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40702
40703 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40704 to pad to uint64_t for each field.
40705 (dl_tls_index): Replace unsigned long with uint64_t.
40706
3ff42526
PP
407072012-03-23 Daniel Jacobowitz <dmj@google.com>
40708 Paul Pluzhnikov <ppluzhnikov@google.com>
40709
40710 [BZ #6528]
40711 * grp/Makefile (otherlibs): Don't set it.
40712 * inet/Makefile (otherlibs): Likewise.
40713 * login/Makefile (otherlibs): Likewise.
40714 * nscd/Makefile (otherlibs): Likewise.
40715 * posix/Makefile (otherlibs): Likewise.
40716 * pwd/Makefile (otherlibs): Likewise.
40717 * rt/Makefile (otherlibs): Likewise.
40718 * sunrpc/Makefile (otherlibs): Likewise.
40719 * nss/Makefile (otherlibs): Likewise.
40720 Add libnss_files to routines and static-only-routines.
40721 ($(objpfx)getent): Remove rule.
40722 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40723 static-only-routines.
40724
7c69cd14
JM
407252012-03-22 Joseph Myers <joseph@codesourcery.com>
40726
40727 [BZ #13892]
40728 * math/s_cexp.c: Include <float.h>.
40729 (__cexp): Handle exp result overflowing not necessarily
40730 overflowing both real and imaginary parts of result.
40731 * math/s_cexpf.c: Likewise.
40732 * math/s_cexpl.c: Likewise.
40733 * math/libm-test.inc (cexp_test): Add more tests.
40734 * sysdeps/i386/fpu/libm-test-ulps: Update.
40735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40736
81b035fe
L
407372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40738
40739 * include/link.h (ELFW): New macro.
40740 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40741 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40742
1da7940c
L
407432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40744
40745 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40746 with uint64_t.
40747
b749dbb9
L
407482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40749
40750 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40751 declaration.
40752 (struct La_x32_retval): Likewise.
40753
2ff87f3f
L
407542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40755
40756 * sysdeps/x86_64/preconfigure.in: New file.
40757 * sysdeps/x86_64/preconfigure: New generated file.
40758
c0df8e69
JM
407592012-03-22 Joseph Myers <joseph@codesourcery.com>
40760
48e44791
JM
40761 [BZ #13824]
40762 * math/e_exp2l.c: Include <float.h>.
40763 (__ieee754_exp2l): Handle overflow and underflow cases
40764 separately. Only pass fractional part of argument to
40765 __ieee754_expl.
40766 * math/libm-test.inc (exp2_test): Add more tests.
40767
c0df8e69
JM
40768 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40769 negating x to take absolute value.
40770 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40771 Likewise.
40772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40774 Likewise.
40775 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40776 computing low part if x was negated.
40777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40778
c8e43ba7
L
407792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40780
40781 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40782 la_x32_gnu_pltexit.
40783 (pltexit): Cast int_retval to ptrdiff_t.
40784 * elf/tst-auditmod3b.c: Likewise.
40785 * elf/tst-auditmod4b.c: Likewise.
40786 * elf/tst-auditmod5b.c: Likewise.
40787 * elf/tst-auditmod6b.c: Likewise.
40788 * elf/tst-auditmod6c.c: Likewise.
40789 * elf/tst-auditmod7b.c: Likewise.
40790
40791 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40792 and x32_gnu_pltexit.
40793
40794 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40795 __ELF_NATIVE_CLASS.
40796 (La_x32_regs): New macro.
40797 (La_x32_retval): Likewise.
40798 (la_x32_gnu_pltenter): New function prototype.
40799 (la_x32_gnu_pltexit): Likewise.
40800
7998fa78
AS
408012012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40802
dcb33988
AS
40803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40804 exponent.
40805
233fc563
AS
40806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40807
7998fa78
AS
40808 * configure.in (libc_cv_cc_nofma): Check for option to disable
40809 generation of FMA instructions.
40810 * configure: Regenerate.
40811 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40812 * sysdeps/ieee754/dbl-64/Makefile: New file.
40813 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40814 Remove brandred-fma4.
40815 (CFLAGS-brandred-fma4.c): Remove.
40816 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40817 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40818 define.
40819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40820 define.
40821
8e95c99a
L
408222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40823
40824 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40825 LLONG_MAX != LONG_MAX.
40826 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40827 (_fitoa_word): Likewise.
40828 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40829 LLONG_MAX != LONG_MAX.
40830 * stdio-common/_itowa.h: Include <_itoa.h>.
40831 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40832 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40833 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40834 only if not defined.
40835 (_ITOA_WORD_TYPE): Likewise.
40836 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40837 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40838
6f4db457
DM
408392012-03-21 David S. Miller <davem@davemloft.net>
40840
40841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40842
7785fe5a
L
408432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40844
40845 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40846 of x86_64 when setting libc_cv_slibdir, libdir and
40847 libc_cv_localedir.
40848 * sysdeps/unix/sysv/linux/configure: Regenerated.
40849
4535cd55
JM
408502012-03-21 Joseph Myers <joseph@codesourcery.com>
40851
40852 * manual/lang.texi (Old Varargs): Remove section.
40853 (How Variadic): Update menu.
40854 (va_start): Do not mention varargs.h.
40855
17228132
TS
408562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40857 Joseph Myers <joseph@codesourcery.com>
40858
40859 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40860 link test.
40861 * configure: Regenerated.
40862
8149f976
TS
408632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40864
05f3d1f6
UD
40865 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40866 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40867 conformtest.pl
8149f976 40868
1a4ac776
JM
408692012-03-21 Joseph Myers <joseph@codesourcery.com>
40870
be22ce65
JM
40871 * NOTES: Remove.
40872 * Makefile (files-for-dist): Remove NOTES.
40873 (NOTES): Remove rule.
40874 * README: Don't refer to NOTES.
40875 * manual/creature.texi: Don't include macros.texi.
40876 * manual/intro.texi (creature.texi): Remove comment referring to
40877 NOTES.
40878
40b601fb
JM
40879 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40880 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40881 * configure: Regenerated.
40882 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40883 LIBC_TRY_CC_OPTION.
40884 (libc_cv_as_i686): Likewise.
40885 (libc_cv_cc_avx): Likewise.
40886 (libc_cv_cc_sse2avx): Likewise.
40887 (libc_cv_cc_fma4): Likewise.
40888 (libc_cv_cc_novzeroupper): Likewise.
40889 * sysdeps/i386/configure: Regenerated.
40890
1a4ac776
JM
40891 [BZ #13883]
40892 * sysdeps/i386/fpu/s_cexp.S: Remove.
40893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40894 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40895 * math/libm-test.inc (cexp_test): Add more tests.
40896 * sysdeps/i386/fpu/libm-test-ulps: Update.
40897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40898
a458e7fe
AM
408992012-03-21 Allan McRae <allan@archlinux.org>
40900
40901 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40902
0cb7efc5
JM
409032012-03-21 Joseph Myers <joseph@codesourcery.com>
40904
40905 [BZ #13871]
40906 * math/w_exp2.c: Do not include <float.h>.
40907 (o_threshold, u_threshold): Remove.
40908 (__exp2): Calculate result before checking finiteness and calling
40909 __kernel_standard.
40910 * math/w_exp2f.c: Likewise.
40911 * math/w_exp2l.c: Likewise.
40912 * math/libm-test.inc (exp2_test): Require overflow exception for
40913 1e6 input.
2460d3aa
JM
40914
40915 [BZ #3866]
40916 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40917 range of signed 64-bit integers before using fistpll. Remove
40918 checks for whether integers fit in mantissa bits.
40919 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40920 the range of signed 32-bit integers before using fistpl. Remove
40921 checks for whether integers fit in mantissa bits.
40922 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40923 (__ieee754_powl): Test for y outside the range of signed 64-bit
40924 integers before using fistpll. Reduce 64-bit values to 63-bit
40925 ones as needed.
40926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40927 divide-by-zero is raised for zero to large negative powers.
40928 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40929 (__ieee754_powl): Test for y outside the range of signed 64-bit
40930 integers before using fistpll. Reduce 64-bit values to 63-bit
40931 ones as needed.
40932 * math/libm-test.inc (pow_test): Add more tests.
40933
eb96ffb0
L
409342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40935
40936 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40937 <stdio-common/_itoa.h>.
40938 * debug/segfault.c: Likewise.
40939 * elf/dl-cache.c: Likewise.
40940 * elf/dl-minimal.c: Likewise.
40941 * elf/dl-misc.c: Likewise.
40942 * elf/dl-sysdep.c: Likewise.
40943 * elf/dl-version.c: Likewise.
40944 * elf/rtld.c: Likewise.
40945 * hurd/hurdsock.c: Likewise.
40946 * hurd/lookup-retry.c: Likewise.
40947 * malloc/malloc.c: Likewise.
40948 * malloc/mtrace.c: Likewise.
40949 * nscd/nscd_getgr_r.c: Likewise.
40950 * nscd/nscd_getpw_r.c: Likewise.
40951 * nscd/nscd_getserv_r.c: Likewise.
40952 * posix/getopt_init.c: Likewise.
40953 * posix/wordexp.c: Likewise.
40954 * stdio-common/_itoa.c: Likewise.
40955 * stdio-common/printf_fphex.c: Likewise.
40956 * stdio-common/vfprintf.c: Likewise.
40957 * string/_strerror.c: Likewise.
40958 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40959 * sysdeps/i386/i686/hp-timing.h: Likewise.
40960 * sysdeps/mach/_strerror.c: Likewise.
40961 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40962 * sysdeps/mach/hurd/sethostid.c: Likewise.
40963 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40964 * sysdeps/mach/xpg-strerror.c: Likewise.
40965 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40966 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40967 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40968 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40969 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40970 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40972 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40973 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40974 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40975 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40976 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40977 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40978 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40979 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40980 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40981 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40982 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40983 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40984 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40985 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40986
40987 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40988
40989 * stdio-common/_itoa.h: Moved to ...
40990 * sysdeps/generic/_itoa.h: Here.
40991
40992 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40993
40994 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40995 instead of "_itoa.h" and "_itowa.h".
40996 * stdio-common/vfprintf.: Likewise.
40997
d1af992d
L
409982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40999
41000 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41001 <bits/wordsize.h>.
41002 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41003 (__signbit): Likwise.
41004 (llrintf): Likwise.
41005 (llrint): Likwise.
41006
114883e0
L
410072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41008
41009 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41010 __WORDSIZE != 64.
41011
c135cc1b
JM
410122012-03-20 Joseph Myers <joseph@codesourcery.com>
41013
41014 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41015 OVERFLOW_EXCEPTION_OK.
41016 * math/libm-test.inc ("Philosophy"): Update comment about
41017 exception testing.
41018 (OVERFLOW_EXCEPTION): Define.
41019 (OVERFLOW_EXCEPTION_OK): Likewise.
41020 (INVALID_EXCEPTION_OK): Renumber.
41021 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41022 (IGNORE_ZERO_INF_SIGN): Likewise.
41023 (test_exceptions): Handle FE_OVERFLOW.
41024 (exp10_test): Expect overflow exceptions.
41025 (exp2_test): Likewise.
41026 (expm1_test): Likewise.
41027 (nextafter_test): Likewise.
41028 (pow_test): Likewise.
41029 (scalbn_test): Likewise.
41030 (scalbln_test): Likewise.
41031
95443d88
L
410322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41033
41034 * sysdeps/x86_64/bits/atomic.h
41035 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41036 64bit integer.
41037 (atomic_exchange_acq): Likewise.
41038 (__arch_exchange_and_add_body): Likewise.
41039 (__arch_add_body): Likewise.
41040 (atomic_add_negative): Likewise.
41041 (atomic_add_zero): Likewise.
41042
490df6c4
L
410432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41044
c2722551 41045 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41046 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41047
5e52b189
L
410482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41049
41050 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41051 Check __x86_64__ instead of __WORDSIZE.
41052
a9879d4c
L
410532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41054
41055 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41056
5df98260
DM
410572012-03-19 David S. Miller <davem@davemloft.net>
41058
e1497744
DM
41059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41060
5df98260
DM
41061 * sysdeps/sparc/fpu/fenv_private.h: New file.
41062 * sysdeps/sparc/fpu/math_private.h: Use it.
41063 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41064 Remove.
57f41c40 41065 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41066 (libc_feholdexcept_setroundl): Remove.
41067 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41068 Remove.
41069 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41070 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41071
b4c35121
L
410722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41073
41074 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41075 int64_t instead of long int.
41076 (INSERT_WORDS64): Likwise.
41077
56965fd7
L
410782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41079
41080 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41081 _Unwind_GetCFA return to _Unwind_Ptr first.
41082
83d1aec8
JM
410832012-03-19 Joseph Myers <joseph@codesourcery.com>
41084
1897ad44
JM
41085 [BZ #13629]
41086 * math/s_clog.c: Include <float.h>.
41087 (__clog): Scale large or subnormal inputs.
41088 * math/s_clogf.c: Likewise.
41089 * math/s_clogl.c: Likewise.
41090 * math/s_clog10.c: Include <float.h>.
41091 (M_LOG10_2): Define.
41092 (__clog10): Scale large or subnormal inputs.
41093 * math/s_clog10f.c: Likewise.
41094 * math/s_clog10l.c: Likewise.
41095 * math/libm-test.inc (clog_test): Add more tests.
41096 (clog10_test): Likewise.
41097 * sysdeps/i386/fpu/libm-test-ulps: Update.
41098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41099
7726d6a9
JM
41100 [BZ #11451]
41101 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41102 x and y.
41103 * math/libm-test.inc (atan2_test): Add another test.
41104
83d1aec8
JM
41105 * Makerules (common-objdir-compile): Remove.
41106 * sysdeps/unix/Makefile (config-generated): Do not add
41107 $(unix-generated) to variable.
41108 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41109 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41110 Remove rule.
41111 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41112 Likewise.
41113 [generic bits/local_lim.h] (before-compile): Do not append to
41114 variable.
41115 [generic bits/local_lim.h] (common-generated): Likewise.
41116 [generic sys/param.h] (before-compile): Do not append to variable.
41117 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41118 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41119 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41120 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41121 include.
41122 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41123 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41124 [generic sys/param.h] ($(addprefix
41125 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41126 [generic sys/param.h] (common-generated): Do not append to
41127 variable.
41128 [generic sys/param.h] (sysdep_headers): Likewise.
41129 [generic bits/errno.h] (before-compile): Do not append to
41130 variable.
41131 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41132 rule.
41133 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41134 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41135 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41136 [generic bits/errno.h] (common-generated): Do not append to
41137 variable.
41138 [generic bits/ioctls.h] (before-compile): Do not append to
41139 variable.
41140 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41141 rule.
41142 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41143 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41145 rule.
41146 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41147 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41148 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41149 [generic bits/ioctls.h] (common-generated): Do not append to
41150 variable.
41151 [generic sys/syscall.h] (syscall.h): Remove variable.
41152 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41153 rule.
41154 [generic sys/syscall.h] (before-compile): Do not append to
41155 variable.
41156 [generic sys/syscall.h] (common-generated): Likewise.
41157 * sysdeps/unix/errnos-tmpl.c: Remove file.
41158 * sysdeps/unix/errnos.awk: Likewise.
41159 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41160 * sysdeps/unix/ioctls.awk: Likewise.
41161 * sysdeps/unix/mk-local_lim.c: Likewise.
41162 * sysdeps/unix/snarf-ioctls: Likewise.
41163
4851a949
RH
411642012-03-19 Richard Henderson <rth@twiddle.net>
41165
bd37f2ee
RH
41166 * sysdeps/i386/fpu/fenv_private.h: New file.
41167 * sysdeps/i386/fpu/math_private.h: Use it.
41168 (math_opt_barrier, math_force_eval): Remove.
41169 (libc_feholdexcept_setround_53bit): Remove.
41170 (libc_feupdateenv_53bit): Remove.
41171 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41172 (math_opt_barrier, math_force_eval): Remove.
41173 (libc_feholdexcept): Remove.
41174 (libc_feholdexcept_setround): Remove.
41175 (libc_fetestexcept, libc_fesetenv): Remove.
41176 (libc_feupdateenv_test): Remove.
41177 (libc_feupdateenv, libc_feholdsetround): Remove.
41178 (libc_feresetround): Remove.
41179
d0adc922
RH
41180 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41181 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41182
0fe0f1f8
RH
41183 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41184 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41185 (libc_feupdateenv_testl): New.
41186 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41187 (libc_feupdateenv_testf): New.
41188 (libc_feupdateenv): Use libc_feupdateenv_test.
41189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41190 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41191
eb92c487
RH
41192 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41193 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41194 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41195 (libc_feresetround_noex): New.
41196 (libc_feresetround_noexf): New.
41197 (libc_feresetround_noexl): New.
41198 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41199 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41200 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41201 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41202 SET_RESTORE_ROUND.
41203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41205 (__cos): Likewise.
41206 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41207 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41208 SET_RESTORE_ROUND_NOEX.
41209 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41210 SET_RESTORE_ROUND_NOEXF.
41211 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41212 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41213 (libc_feholdsetroundf): New.
41214 (libc_feresetround, libc_feresetroundf): New.
41215
7d2e8012
RH
41216 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41217 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41218 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41219
b4dabbb4
RH
41220 * sysdeps/generic/math_private.h: Include <fenv.h>.
41221 (default_libc_feholdexcept): New.
41222 (default_libc_feholdexcept_setround): New.
41223 (default_libc_fesetenv, default_libc_feupdateenv): New.
41224 (libc_feholdexcept): Only define if undefined.
41225 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41226 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41227 (libc_feholdexcept_setroundl): Likewise.
41228 (libc_feholdexcept_setround_53bit): Likewise.
41229 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41230 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41231 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41232 (libc_feupdateenv_53bit): Likewise.
41233 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41234 (libc_feholdexcept): Convert from macro to inline function.
41235 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41236 (libc_fesetenv, libc_feupdateenv): Likewise.
41237
4851a949
RH
41238 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41239 not previously defined.
41240 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41241 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41242 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41243 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41244 * sysdeps/ieee754/flt-32/math_private.h: New file.
41245 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41246 math_private.h below SET_FLOAT_WORD.
41247 (__isnan, __isinf_ns, __finite): Remove.
41248 (__isnanf, __isinf_nsf, __finitef): Remove.
41249
e79d442e
AS
412502012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41251
41252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41253
90b80344
DM
412542012-03-17 David S. Miller <davem@davemloft.net>
41255
41256 [BZ #6471]
41257 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41258 for 2.16.
41259
edc21804
DM
412602012-03-16 David S. Miller <davem@davemloft.net>
41261
77e927af
DM
41262 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41263 warnings.
41264
374976dd
DM
41265 [BZ #6471]
41266 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41267 properly.
41268 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41269 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41270 sysdep_routines when subdir is sysvipc.
41271 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41272 __getshmlba helper.
41273
edc21804
DM
41274 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41275
473c3ef3
L
412762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41277
41278 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41279 [__LP64__].
41280
eb0f39b6
L
412812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41282
41283 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41284 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41285 (__lround): Renamed to ...
41286 (__llround): This. Replace long int with long long int.
41287 Define lround functions as aliases of llround functions.
41288 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41289
6b6cd74b
L
412902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41291
41292 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41293 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41294 adresses to uintptr_t. Replace "long int" and "unsigned long
41295 int" with "greg_t" on va_arg.
41296
f1a77b01
L
412972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41298
41299 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41300 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41301
41302 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41303 Move e_machine check before EI_CLASS check. Handle x32
41304 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41305 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41306 SKIP_EM_IA_64 and include
41307 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41308
41309 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41310 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41311 (add_system_dir): New macro.
41312
41313 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41314 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41315
11b90b9f
JM
413162012-03-16 Joseph Myers <joseph@codesourcery.com>
41317
c36e1d23
JM
41318 [BZ #2551]
41319 [BZ #2552]
41320 [BZ #2553]
41321 [BZ #2554]
41322 [BZ #2562]
41323 [BZ #2563]
41324 [BZ #2565]
41325 [BZ #2566]
41326 [BZ #2576]
41327 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41328 (y0): Likewise.
41329 * math/w_j0f.c (j0f): Likewise.
41330 (y0f): Likewise.
41331 * math/w_j0l.c (__j0l): Likewise.
41332 (__y0l): Likewise.
41333 * math/w_j1.c (j1): Likewise.
41334 (y1): Likewise.
41335 * math/w_j1f.c (j1f): Likewise.
41336 (y1f): Likewise.
41337 * math/w_j1l.c (__j1l): Likewise.
41338 (__y1l): Likewise.
41339 * math/w_jn.c (jn): Likewise.
41340 (yn): Likewise.
41341 * math/w_jnf.c (jnf): Likewise.
41342 (ynf): Likewise.
41343 * math/w_jnl.c (__jnl): Likewise.
41344 (__ynl): Likewise.
41345 * math/libm-test.inc (j0_test): Add more tests.
41346 (j1_test): Likewise.
41347 (jn_test): Likewise. Add trailing semicolon to existing test.
41348 (y0_test): Likewise.
41349 (y1_test): Likewise.
41350 * sysdeps/i386/fpu/libm-test-ulps: Update.
41351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41352
11b90b9f
JM
41353 [BZ #13851]
41354 [BZ #13854]
41355 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41356 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41357 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41358 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41359 (__tanl): Set errno for infinite argument.
41360 * sysdeps/i386/fpu/mptan.c: Remove.
41361 * sysdeps/i386/fpu/s_tan.S: Likewise.
41362 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41363 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41364 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41365 * math/libm-test.inc (tan_test): Add more tests and enable more
41366 tests for double and long double.
41367 * sysdeps/i386/fpu/libm-test-ulps: Update.
41368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41369
6a1bd2a1
JK
413702012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41371
41372 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41373 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41374
10a803e0
RM
413752012-03-16 Roland McGrath <roland@hack.frob.com>
41376
41377 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41378 * configure.in: Use it for both main tree and add-ons.
41379 * configure: Regenerated.
41380
f196c7f7
L
413812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41382
41383 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41384
8848d99d
JM
413852012-03-16 Joseph Myers <joseph@codesourcery.com>
41386
96cbe7f4
JM
41387 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41388 in comment.
41389
8848d99d
JM
41390 [BZ #13851]
41391 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41392 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41393 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41394 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41395 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41396 infinite argument.
41397 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41399 != 0 for prec == 2.
41400 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41401 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41402 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41403 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41404 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41405 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41406 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41407 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41408 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41409 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41410 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41411 * math/libm-test.inc (cos_test): Add more tests and enable more
41412 tests for long double.
41413 (sin_test): Likewise.
41414 (sincos_test): Likewise.
41415 * sysdeps/i386/fpu/libm-test-ulps: Update.
41416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41417
dd7f4703
DM
414182012-03-16 David S. Miller <davem@davemloft.net>
41419
41420 * sysdeps/sparc/fpu/math_private.h: New file.
41421
006f1daa
DM
414222012-03-15 David S. Miller <davem@davemloft.net>
41423
c0c83bc8
DM
41424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41425 file.
e6a62e18 41426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41428 file.
e6a62e18
DM
41429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41435 sysdep routines.
41436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41437
88cb87d9
DM
41438 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41439 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41440
006f1daa 41441 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41443 sparc-ifunc.h
006f1daa 41444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41446 Likewise.
41447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41448 Likewise.
006f1daa
DM
41449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41453 Likewise.
006f1daa
DM
41454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41459 Likewise.
41460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41461 Likewise.
006f1daa
DM
41462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41486
11e0098e
AS
414872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41488
41489 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41490 scaling.
41491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41492
e85b09d0
AJ
414932012-03-15 Andreas Jaeger <aj@suse.de>
41494
41495 [BZ #13852]
41496 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41497 ieee754/flt-32 implementation for sin, cos and sincos.
41498 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41499 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41500 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41501 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41502 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41503 ieee754/flt-32 implementation for tan.
41504
41505 * math/libm-test.inc (cos_test): Enable some large input tests for
41506 float as well
41507 (sin_test): Likewise.
41508 (sincos_test): Likewise.
41509 (tan_test): Add tests for large input.
41510
41511 * sysdeps/i386/fpu/libm-test-ulps: Update.
41512
81c64153
AJ
415132012-03-15 Andreas Jaeger <aj@suse.de>
41514
41515 [BZ #13658]
41516 * math/libm-test.inc (cos_test): Add more test cases.
41517 (sin_test): Likewise.
41518 (sincos_test): Likewise.
41519
7bbfa5c6
AJ
415202012-03-15 Andreas Jaeger <aj@suse.de>
41521
41522 [BZ #13837]
41523 * math/libm-test.inc (cos_test): Add a test case for large input
41524 value.
41525 (sin_test): Likewise.
41526 (sincos_test): Likewise.
41527
57f41c40
AS
415282012-03-15 Andreas Jaeger <aj@suse.de>
41529 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41530
41531 [BZ #13658]
0671f479 41532 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41533 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41534 * sysdeps/i386/fpu/branred.c: Likewise.
41535 * sysdeps/i386/fpu/dosincos.c: Likewise.
41536 * sysdeps/i386/fpu/mpa.c: Likewise.
41537 * sysdeps/i386/fpu/s_cos.S: Likewise.
41538 * sysdeps/i386/fpu/s_sin.S: Likewise.
41539 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41540 * sysdeps/i386/fpu/sincos32.c: Likewise.
41541
41542 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41543 Define.
41544 (libc_feupdateenv_53bit): Define.
41545 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41546 Define.
41547 (libc_feupdateenv_53bit): Define.
41548
41549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41550 53 bit (without extend i386 double precision).
41551
41552 * math/libm-test.inc (sincos_test): Add tests for large input.
41553 (sin): Likewise.
41554 (cos): Likewise.
41555
41556 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41557
9cad04ea
AS
415582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41559
41560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41561
f7062b9a
DM
415622012-03-15 David S. Miller <davem@davemloft.net>
41563
41564 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41565 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41566 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41567 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41580 file.
f7062b9a 41581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41583 file.
f7062b9a 41584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41586 file.
f7062b9a 41587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41589 file.
f7062b9a
DM
41590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41592 fmin/fmax sysdep routines.
41593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41594
7bd951ff
DM
415952012-03-14 David S. Miller <davem@davemloft.net>
41596
559398ab
DM
41597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41626 routines.
41627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41628 file.
559398ab 41629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41631 file.
559398ab 41632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41634 file.
559398ab 41635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41637 file.
559398ab 41638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41640 file.
559398ab 41641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41643 file.
41644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41645 file.
41646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41647 file.
41648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41649 file.
41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41651 New file.
41652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41653 file.
41654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41655 file.
559398ab 41656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41658 file.
559398ab 41659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41661 file.
559398ab 41662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41664 file.
559398ab 41665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41667 VIS3 routines.
559398ab
DM
41668
41669 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41670 New file.
41671
5a1c1e32
DM
41672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41673
eae47a36
DM
41674 * sysdeps/sparc/configure.in: New file.
41675 * sysdeps/sparc/configure: Generate.
41676 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41677 * configure: Regenerate.
41678 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41679 * config.make.in (have-as-vis3): New.
41680 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41681 available use -Av9d instead of -Av9a.
41682 * sysdeps/sparc/sparc64/Makefile: Likewise.
41683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41685 New file.
41686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41687 file.
41688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41689 New file.
41690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41691 file.
eae47a36
DM
41692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41697
c0c83bc8
DM
41698 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41699 fzeros/fnegs to load 0x80000000 into a float register instead of
41700 using the stack.
7bd951ff
DM
41701 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41702
bd951ccb
JM
417032012-03-14 Joseph Myers <joseph@codesourcery.com>
41704
41705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41706 bits/syscall.h.
41707 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41708 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41709 ($(inst_includedir)/bits/syscall.h): Remove rule.
41710 ($(objpfx)bits/syscall.d): Include instead of
41711 $(objpfx)syscall-list.d.
41712 (generated): Change syscall-list.h and syscall-list.d to
41713 bits/syscall.h and bits/syscall.d.
41714
bb4e6db2
RM
417152012-03-14 Roland McGrath <roland@hack.frob.com>
41716
41717 [BZ #13846]
41718 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41719
aa4a2ae1
JM
417202012-03-14 Joseph Myers <joseph@codesourcery.com>
41721
e456826d
JM
41722 [BZ #13841]
41723 * math/s_csqrt.c: Include <float.h>.
41724 (__csqrt): Scale large or subnormal inputs.
41725 * math/s_csqrtf.c: Likewise.
41726 * math/s_csqrtl.c: Likewise.
41727 * math/libm-test.inc (csqrt_test): Add more tests.
41728 * sysdeps/i386/fpu/libm-test-ulps: Update.
41729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41730
aa4a2ae1
JM
41731 [BZ #13840]
41732 * math/libm-test.inc (hypot_test): Add more tests.
41733
7c10fd35
DM
417342012-03-13 David S. Miller <davem@davemloft.net>
41735
41736 [BZ #13840]
41737 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41738 double-precision for the calculation instead of scaling.
41739
f453b98b
JM
417402012-03-13 Joseph Myers <joseph@codesourcery.com>
41741
41742 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41743 manipulate bits before adding and subtracting TWO52[sx].
41744 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41746 Likewise.
41747 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41748
09a3453f
DM
417492012-03-13 David S. Miller <davem@davemloft.net>
41750
8e59da90
DM
41751 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41752 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41754 rtld-global-offsets.h
41755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41756
2a8ab7f2
DM
41757 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41758 large parameters.
41759
10f62770
DM
41760 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41761
5f0bdb18
DM
41762 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41763 'err' in the ifdef scope in which it is actually used.
41764
09a3453f
DM
41765 * nss/nss_db/db-init.c: Include string.h
41766
b4b2eb5e
DM
417672012-03-12 David S. Miller <davem@davemloft.net>
41768
98bb2f1c
DM
41769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41770 masking out of the most significant byte of random value used.
41771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41772 Fix coding style in previous change.
41773
b4b2eb5e
DM
41774 * sysdeps/unix/sysv/linux/kernel-features.h
41775 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41776 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41777 expression.
41778 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41779 later.
41780
6e226b09
DM
417812012-03-11 David S. Miller <davem@davemloft.net>
41782
a1bcbd40
DM
41783 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41784 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41786 for 'resultvar' otherwise things get truncated on 64-bit.
41787
cb9d6174
DM
41788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41789 Fix masking out of the most significant byte of random value used.
41790
6e226b09
DM
41791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41792
058c132d
AS
417932012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41794
41795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41796
2d2cd515
DM
417972012-03-09 David S. Miller <davem@davemloft.net>
41798
41799 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41800 variables with appropriate CPP guards.
57f41c40
AS
41801 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41802 from the frame pointer, not the stack pointer. Correct layout
41803 comments. Fix test on resulting framesize and the management of
41804 the outregs buffer for pltexit. Preserve floating point return
41805 values across _dl_call_pltexit call.
2d2cd515
DM
41806 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41807 framesize and the management of the outregs buffer for pltexit.
41808 Preserve floating point return values across _dl_call_pltexit
41809 call.
57f41c40
AS
41810 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41811 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41812 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41813 (print_exit): Fix format string for return register value.
41814
9a07f9d0
JM
418152012-03-10 Joseph Myers <joseph@codesourcery.com>
41816
41817 * sunrpc/Makefile (others): Add rpcgen.
41818 ($(objpfx)rpcgen): Remove special build rule and dependency on
41819 libc.
41820 * sunrpc/rpcgen.c: New file.
41821
547b5e30
PE
418222012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41823
c524201a
PE
41824 [BZ #13673]
41825 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41826 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41827 * sysdeps/i386/crti.S: Likewise.
41828 * sysdeps/i386/crtn.S: Likewise.
41829 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41830 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41831 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41832 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41833 * sysdeps/sh/crti.S: Likewise.
41834 * sysdeps/sh/crtn.S: Likewise.
41835 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41836
7b6235f2
PE
41837 [BZ #13673]
41838 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41839 with URL.
41840 * locale/programs/locfile-kw.gperf: Likewise.
41841 * locale/programs/charmap-kw.h: Regenerated.
41842 * locale/programs/locfile-kw.h: Likewise.
41843
547b5e30
PE
41844 [BZ #13673]
41845 * intl/plural.y: Replace FSF snail mail address with URL.
41846 * intl/plural.c: Regenerated.
41847
5f0a5dae
RH
418482012-03-09 Richard Henderson <rth@twiddle.net>
41849
41850 * include/math_private.h: Remove file.
41851 * math/math_private.h: Move file ...
41852 * sysdeps/generic/math_private.h: ... here.
41853
b8c03620
RH
41854 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41855 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41856 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41857
4e234f5d 41858 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41859 and <math_private.h>.
41860 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41861 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41862 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41863 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41864 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41865 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41866 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41868 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41871 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41872 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41874 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41875 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41879 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41882 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41884 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41885 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41886 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41887 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41892 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41893 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41894 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41895 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41896 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41897 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41898 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41907 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41909 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41910 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41947 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41948 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41949 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41950 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41951 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41954 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41955 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41956 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41957 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41958 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41959 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41960 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41961 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41962 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41963 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41964 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41965 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41966 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41967 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41968 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41970 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41971 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41972 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41973 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41974 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41975 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41976 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41977 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41979 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41982 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41983 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41984 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41985 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41986 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41987 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41989 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41990 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41991 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41993 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41994 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41995 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41996 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41997 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41998 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41999 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42000 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42001 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42002 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42003 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42004 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42005 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42006 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42007 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42008 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42009 * sysdeps/ieee754/k_standard.c: Likewise.
42010 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42011 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42012 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42013 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42014 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42015 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42016 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42017 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42018 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42019 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42020 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42021 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42022 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42023 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42024 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42025 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42026 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42027 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42028 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42029 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42030 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42125 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42129 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42130 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42132 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42137 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42142 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42143 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42150 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42153 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42159 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42160 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42169 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42170 * sysdeps/ieee754/s_lib_version.c: Likewise.
42171 * sysdeps/ieee754/s_matherr.c: Likewise.
42172 * sysdeps/ieee754/s_signgam.c: Likewise.
42173 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42174 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42175 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42176 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42177 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42178 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42179 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42180 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42181 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42182 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42183 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42184 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42185 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42186 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42187 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42188 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42189 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42190 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42191 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42194
1991fa03
JM
421952012-03-09 Joseph Myers <joseph@codesourcery.com>
42196
42197 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42198 * sunrpc/rpc_main.c: Likewise.
42199 * sunrpc/rpc_svcout.c: Likewise.
42200
60d6f5a6
DM
422012012-03-09 David S. Miller <davem@davemloft.net>
42202
42203 * include/math_private.h: New file.
42204
4962050e
JM
422052012-03-09 Joseph Myers <joseph@codesourcery.com>
42206
02a6f887
JM
42207 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42208 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42209 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42210 from <bits/socket_type.h>.
42211 (enum __socket_type): Don't define here.
42212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42214 bits/socket_type.h.
42215
c6e013c1
JM
42216 [BZ #13566]
42217 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42218 checking __USE_GNU.
42219
4962050e
JM
42220 * Makerules ($(inst_includedir)/%.h): New rule.
42221 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42222 (install-others): Remove variable setting.
42223 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42224
38842f45
RH
422252012-03-08 Richard Henderson <rth@twiddle.net>
42226
67bb6da6
RH
42227 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42228 from macro to inline function; merge with the
42229 !__LIBC_INTERNAL_MATH_INLINES version.
42230 (__ieee754_sqrtf): Likewise.
42231
15194b4b
RH
42232 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42233 to inline function.
42234 (__rintf, __floor, __floorf): Likewise.
42235
64e21ede
RH
42236 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42237 macro to inline function.
42238 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42239
38842f45
RH
42240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42241 not <math/math_private.h>.
42242
c64bf5fe
DM
422432012-03-08 David S. Miller <davem@davemloft.net>
42244
42245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42246 copyright year.
42247 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42248
82d86f28
TS
422492012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42250
42251 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42252 normalization.
42253 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42254 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42255
aea5d727
UD
422562012-03-08 Ulrich Drepper <drepper@gmail.com>
42257
42258 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42259 be defined individually, they must be defined as a block. Define
42260 S for printing a string instead of hidint the different by using a
42261 macro for adding the 'l'.
42262 * stdio-common/tst-fphex-wide.c: Adjust.
42263
70bca0a3
MP
422642012-03-07 Marek Polacek <polacek@redhat.com>
42265
42266 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42267
65b81130
MP
422682012-03-08 Marek Polacek <polacek@redhat.com>
42269
42270 [BZ #13806]
42271 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42272 * stdio-common/tst-fphex.c: Define a few macros to make the
42273 test reusable. Use them.
42274 * stdio-common/tst-fphex-wide.c: New file.
42275
07037eeb
JM
422762012-03-08 Joseph Myers <joseph@codesourcery.com>
42277
a7a93d50
JM
42278 [BZ #6911]
42279 * manual/macros.texi (gnusystems): New macro.
42280 (nongnusystems): Likewise.
42281 (gnulinuxhurdsystems): Likewise.
42282 (gnuhurdsystems): Likewise..
42283 (gnulinuxsystems): Likewise.
42284 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42285 variants of the GNU system, not "GNU system".
42286 * manual/conf.texi: Likewise.
42287 * manual/errno.texi: Likewise. Update example of errno macro
42288 expansion.
42289 * manual/filesys.texi: Likewise.
42290 (getumask): Document as specific to GNU/Hurd.
42291 * manual/install.texi: Likewise. Reword some references to
42292 GNU/Linux.
42293 * manual/intro.texi: Likewise.
42294 * manual/io.texi: Likewise.
42295 (File Name Portability): Detail which constraints are inapplicable
42296 to all GNU systems and which are only inapplicable to GNU/Hurd.
42297 * manual/job.texi: Likewise.
42298 * manual/llio.texi: Likewise.
42299 (O_NOCTTY): Document as present on GNU/Linux.
42300 * manual/maint.texi: Likewise.
42301 * manual/memory.texi: Likewise.
42302 * manual/pattern.texi: Likewise.
42303 * manual/pipe.texi: Likewise.
42304 * manual/process.texi: Likewise.
42305 * manual/resource.texi: Likewise.
42306 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42307 child on GNU/Hurd.
42308 * manual/setjmp.texi: Likewise.
42309 * manual/signal.texi: Likewise.
42310 * manual/startup.texi: Likewise.
42311 * manual/stdio.texi: Likewise.
42312 * manual/terminal.texi: Likewise.
42313 (ONLCR): Document as POSIX.
42314 (OXTABS): Document availability on GNU/Linux as XTABS.
42315 (ONOEOT): Document availability separately from other bits.
42316 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42317 * manual/time.texi: Likewise.
42318 * manual/users.texi: Likewise.
42319 * INSTALL: Regenerated.
42320 * sysdeps/gnu/errlist.c: Regenerated.
42321
07037eeb
JM
42322 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42323 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42324 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42325 puts.
42326 * configure: Regenerated.
42327
d1d3431a
JM
423282012-03-07 Joseph Myers <joseph@codesourcery.com>
42329
af6a1e37
JM
42330 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42331 default includes instead of AC_HEADER_CHECK.
42332 * sysdeps/i386/configure: Regenerated.
42333
d1d3431a
JM
42334 [BZ #10716]
42335 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42336 * math/s_cacoshf.c (__cacoshf): Likewise.
42337 * math/s_cacoshl.c (__cacoshl): Likewise.
42338 * math/s_casinh.c (__casinh): Set signs of result from argument.
42339 * math/s_casinhf.c (__casinhf): Likewise.
42340 * math/s_casinhl.c (__casinhl): Likewise.
42341 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42342 (casinh_test): Add more tests.
42343 * sysdeps/i386/fpu/libm-test-ulps: Update.
42344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42345
482ff4da
UD
423462012-03-07 Ulrich Drepper <drepper@gmail.com>
42347
872fda05
UD
42348 * po/zh_TW.po: Update from translation team.
42349
a4300c7a
UD
42350 * login/Makefile (distribute): Remove variable.
42351 * catgets/Makefile: Likewise.
42352 * mach/Makefile: Likewise.
42353 * malloc/Makefile: Likewise.
42354 * misc/Makefile: Likewise.
42355 * iconv/Makefile: Likewise.
42356 * nscd/Makefile: Likewise.
42357 * hurd/Makefile: Likewise.
42358 * manual/Makefile: Likewise.
42359 * locale/Makefile: Likewise.
42360 * intl/Makefile: Likewise.
42361 * conform/Makefile: Likewise.
42362 * nss/Makefile: Likewise.
42363 * time/Makefile: Likewise.
42364 * soft-fp/Makefile: Likewise.
42365 * dirent/Makefile: Likewise.
42366 * gmon/Makefile: Likewise.
42367 * po/Makefile: Likewise.
42368 * rt/Makefile: Likewise.
42369 * socket/Makefile: Likewise.
42370 * math/Makefile: Likewise.
42371 * signal/Makefile: Likewise.
42372 * debug/Makefile: Likewise.
42373 * elf/Makefile: Likewise.
42374 * timezone/Makefile: Likewise.
42375 * stdlib/Makefile: Likewise.
42376 * iconvdata/Makefile: Likewise.
42377 * sunrpc/Makefile: Likewise.
42378 * io/Makefile: Likewise.
42379 * argp/Makefile: Likewise.
42380 * inet/Makefile: Likewise.
42381 * hesiod/Makefile: Likewise.
42382 * grp/Makefile: Likewise.
42383 * csu/Makefile: Likewise.
42384 * wctype/Makefile: Likewise.
42385 * crypt/Makefile: Likewise.
42386 * libio/Makefile: Likewise.
42387 * string/Makefile: Likewise.
42388 * nis/Makefile: Likewise.
42389 * resolv/Makefile: Likewise.
42390 * stdio-common/Makefile: Likewise.
42391 * wcsmbs/Makefile: Likewise.
42392 * dlfcn/Makefile: Likewise.
42393 * posix/Makefile: Likewise.
42394
3b7c4e74 42395 [BZ #6959]
482ff4da
UD
42396 * timezone/Makefile: Don't install timezone files, just the programs
42397 and scripts.
42398
f72ed77d
UD
423992012-03-06 Ulrich Drepper <drepper@gmail.com>
42400
a000466f
UD
42401 * nss/databases.def: Add missing gshadow entry.
42402
f72ed77d
UD
42403 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42404
a53b7a4e
MP
424052012-03-06 Marek Polacek <polacek@redhat.com>
42406
42407 [BZ #13726]
42408 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42409 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42410 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42411 * stdio-common/tst-long-dbl-fphex.c: New file.
42412
e9258400
DM
424132012-03-06 David S. Miller <davem@davemloft.net>
42414
42415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42416 (set_obp_int): New function.
42417 (get_obp_int): New function.
42418 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42420 Avoid unused variable warnings on 'val' and use builtin_expect.
42421 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42422 __builtin_expect.
e9258400
DM
42423 (INLINE_CLONE_SYSCALL): Likewise.
42424
3bd2c723
DM
424252012-03-05 David S. Miller <davem@davemloft.net>
42426
42427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42428
bbb78d03
AS
424292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42430
884c5db4
AS
42431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42432
bbb78d03
AS
42433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42434 only for |x| >= 40.
42435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42436
1c9f702a 424372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42438
42439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42440 Replace gettimeofday with __vdso_gettimeofday.
42441
7be16f82
RM
42442 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42443 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42444 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42445
42446 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42447 time with __vdso_time.
42448
ed58a00f
JM
424492012-03-05 Joseph Myers <joseph@codesourcery.com>
42450
42451 * manual/lang.texi (size_t): Note types to which size_t may be
42452 equivalent with the GNU C Library, but do not describe when
42453 differences between them are significant.
42454
30ee4ced
AJ
424552012-03-05 Andreas Jaeger <aj@suse.de>
42456
42457 * sysdeps/i386/fpu/libm-test-ulps: Update.
42458
b7cd39e8
JM
424592012-03-05 Joseph Myers <joseph@codesourcery.com>
42460
42461 [BZ #3976]
42462 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42463 (__ieee754_pow): Save and restore rounding mode and use
42464 round-to-nearest for main computations.
42465 * math/libm-test.inc (pow_test_tonearest): New function.
42466 (pow_test_towardzero): Likewise.
42467 (pow_test_downward): Likewise.
42468 (pow_test_upward): Likewise.
42469 (main): Call the new functions.
42470 * sysdeps/i386/fpu/libm-test-ulps: Update.
42471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42472
42473 [BZ #3976]
42474 * math/libm-test.inc (cosh_test_tonearest): New function.
42475 (cosh_test_towardzero): Likewise.
42476 (cosh_test_downward): Likewise.
42477 (cosh_test_upward): Likewise.
42478 (sinh_test_tonearest): Likewise.
42479 (sinh_test_towardzero): Likewise.
42480 (sinh_test_downward): Likewise.
42481 (sinh_test_upward): Likewise.
42482 (main): Call the new functions.
42483 * sysdeps/i386/fpu/libm-test-ulps: Update.
42484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42485
6c6a98c9
TV
424862012-03-05 Tom de Vries <tom@codesourcery.com>
42487
42488 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42489 default stack guard is set in last bytes.
42490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42491
21bb2d2e 424922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42493
21bb2d2e 42494 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42495
21bb2d2e
AJ
42496 [BZ #13656]
42497 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42498 possibly allocate from heap instead of stack.
42499 * stdio-common/bug-vfprintf-nargs.c: New file.
42500 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42501
c6922934
AS
425022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42503
42504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42505
bc957d53
MP
425062012-03-03 Marek Polacek <polacek@redhat.com>
42507
42508 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42509 * math/math_private.h: Likewise.
42510 * stdlib/tst-strtod.c: Likewise.
42511 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42512 * sysdeps/x86_64/bits/atomic.h: Likewise.
42513
6358490d
DM
425142012-03-02 David S. Miller <davem@davemloft.net>
42515
42516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42520 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42521 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42522 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42523 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42524
01ae168d
RM
425252012-03-02 Roland McGrath <roland@hack.frob.com>
42526
d9a17c07
RM
42527 [BZ #13792]
42528 * manual/examples/README: New file, says the example source files
42529 can be used under GPL>=2.
42530 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42531 line containing just "*/".
42532 * manual/examples/add.c: Add copyright header (GPL>=2).
42533 * manual/examples/argp-ex1.c: Likewise.
42534 * manual/examples/argp-ex2.c: Likewise.
42535 * manual/examples/argp-ex3.c: Likewise.
42536 * manual/examples/argp-ex4.c: Likewise.
42537 * manual/examples/atexit.c: Likewise.
42538 * manual/examples/db.c: Likewise.
42539 * manual/examples/dir.c: Likewise.
42540 * manual/examples/dir2.c: Likewise.
42541 * manual/examples/execinfo.c: Likewise.
42542 * manual/examples/filecli.c: Likewise.
42543 * manual/examples/filesrv.c: Likewise.
42544 * manual/examples/fmtmsgexpl.c: Likewise.
42545 * manual/examples/genpass.c: Likewise.
42546 * manual/examples/inetcli.c: Likewise.
42547 * manual/examples/inetsrv.c: Likewise.
42548 * manual/examples/isockad.c: Likewise.
42549 * manual/examples/longopt.c: Likewise.
42550 * manual/examples/memopen.c: Likewise.
42551 * manual/examples/memstrm.c: Likewise.
42552 * manual/examples/mkfsock.c: Likewise.
42553 * manual/examples/mkisock.c: Likewise.
42554 * manual/examples/mygetpass.c: Likewise.
42555 * manual/examples/pipe.c: Likewise.
42556 * manual/examples/popen.c: Likewise.
42557 * manual/examples/rprintf.c: Likewise.
42558 * manual/examples/search.c: Likewise.
42559 * manual/examples/select.c: Likewise.
42560 * manual/examples/setjmp.c: Likewise.
42561 * manual/examples/sigh1.c: Likewise.
42562 * manual/examples/sigusr.c: Likewise.
42563 * manual/examples/stpcpy.c: Likewise.
42564 * manual/examples/strdupa.c: Likewise.
42565 * manual/examples/strftim.c: Likewise.
42566 * manual/examples/strncat.c: Likewise.
42567 * manual/examples/subopt.c: Likewise.
42568 * manual/examples/swapcontext.c: Likewise.
42569 * manual/examples/termios.c: Likewise.
42570 * manual/examples/testopt.c: Likewise.
42571 * manual/examples/testpass.c: Likewise.
42572 * manual/examples/timeval_subtract.c: Likewise.
42573
01ae168d
RM
42574 [BZ #13792]
42575 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42576 function to ...
42577 * manual/timeval_subtract.c.texi: ... here, new file.
42578
49efa33d
DM
425792012-03-02 David S. Miller <davem@davemloft.net>
42580
42581 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42582
28afd92d
JM
425832012-03-02 Joseph Myers <joseph@codesourcery.com>
42584
804360ed
JM
42585 [BZ #3976]
42586 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42587 (__sin): Save and restore rounding mode and use round-to-nearest
42588 for all computations.
42589 (__cos): Save and restore rounding mode and use round-to-nearest
42590 for all computations.
42591 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42592 <fenv.h>.
42593 (tan): Save and restore rounding mode and use round-to-nearest for
42594 all computations.
42595 * math/libm-test.inc (cos_test_tonearest): New function.
42596 (cos_test_towardzero): Likewise.
42597 (cos_test_downward): Likewise.
42598 (cos_test_upward): Likewise.
42599 (sin_test_tonearest): Likewise.
42600 (sin_test_towardzero): Likewise.
42601 (sin_test_downward): Likewise.
42602 (sin_test_upward): Likewise.
42603 (tan_test_tonearest): Likewise.
42604 (tan_test_towardzero): Likewise.
42605 (tan_test_downward): Likewise.
42606 (tan_test_upward): Likewise.
42607 (main): Call the new functions.
42608 * sysdeps/i386/fpu/libm-test-ulps: Update.
42609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42610
a6d06d7b
JM
42611 [BZ #10135]
42612 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42613 small n, then large n, before computing and testing k+n.
42614 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42616 Likewise.
42617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42618 Likewise.
42619 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42620 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42627 * math/libm-test.inc (scalbn_test): Add more tests.
42628 (scalbln_test): Likewise.
42629
07e12bb3
JM
42630 * manual/filesys.texi (mode_t): Describe constraints on size and
42631 signedness, not exact equivalence to a particular type.
42632 (ino_t): Likewise.
42633 (ino64_t): Likewise.
42634 (dev_t): Likewise.
42635 (nlink_t): Likewise.
42636 (blkcnt_t): Likewise.
42637 (blkcnt64_t): Likewise.
42638 * manual/llio.texi (off_t): Likewise.
42639
28afd92d
JM
42640 [BZ #3976]
42641 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42642 (__ieee754_exp): Save and restore rounding mode and use
42643 round-to-nearest for all computations.
42644 * math/libm-test.inc (exp_test_tonearest): New function.
42645 (exp_test_towardzero): Likewise.
42646 (exp_test_downward): Likewise.
42647 (exp_test_upward): Likewise.
42648 (main): Call the new functions.
42649 * sysdeps/i386/fpu/libm-test-ulps: Update.
42650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42651
b1eeb65d
CD
426522012-03-01 Chris Demetriou <cgd@google.com>
42653
42654 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42655 have predictable order.
42656
53362a4b
DM
426572012-03-01 David S. Miller <davem@davemloft.net>
42658
3c969083
DM
42659 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42660
759707de
DM
42661 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42662 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42663 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42664 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42665
dfdb8ff2
DM
42666 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42667 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42668 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42670 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42671 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42672 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42673 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42674 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42675
ead89f96
DM
42676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42677
7f66bd07
DM
42678 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42679 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42680 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42681
53362a4b
DM
42682 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42683 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42684 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42685 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42686 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42689 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42690 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42691 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42692 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42695 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42696 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42698 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42699 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42700 * sysdeps/sparc/elf/configure: Regenerated.
42701
7b1902cb
JM
427022012-03-01 Joseph Myers <joseph@codesourcery.com>
42703
bec039bc
JM
42704 * configure.in (AS, LD): Require binutils 2.20 or later.
42705 * configure: Regenerated.
42706 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42707 as required minimum version.
42708 * INSTALL: Regenerated.
42709
7b1902cb
JM
42710 [BZ #2541]
42711 [BZ #4108]
42712 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42713 before squaring exponent.
42714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42715 bottom long double and 27 bits of top long double before squaring
42716 exponent.
42717 * math/libm-test.inc (erfc_test): Add more tests.
42718 * sysdeps/i386/fpu/libm-test-ulps: Update.
42719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42721
f775c276
KT
427222012-03-01 Kai Tietz <ktietz@redhat.com>
42723
42724 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42725 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42726 containing bit-fields.
42727 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42728 * soft-fp/single.h (_FP_UNION_S): Likewise.
42729 * soft-fp/double.h (_FP_UNION_D): Likewise.
42730
5b8a4d4a
JM
427312012-02-29 Joseph Myers <joseph@codesourcery.com>
42732
0bab47b6
JM
42733 [BZ #13786]
42734 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42735 not include ../strcmp.S.
42736 [USE_AS_STRNCASECMP_L]: Likewise.
42737 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42738 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42739 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42740 (__strncasecmp_l_ia32): Define as alias to
42741 __strncasecmp_l_nonascii.
42742
0fcad3e2
JM
42743 [BZ #5794]
42744 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42745 * sysdeps/i386/fpu/libm-test-ulps: Update.
42746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42747
5b8a4d4a
JM
42748 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42750
8fdceb2e
JL
427512012-02-29 Jeff Law <law@redhat.com>
42752
42753 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42754 out of bounds read.
42755
1f393a11
MP
427562012-02-29 Marek Polacek <polacek@redhat.com>
42757
42758 [BZ #13706]
42759 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42760 * elf/Makefile: Add rules to run tst-unused-dep.out.
42761
8847f037
DM
427622012-02-28 David S. Miller <davem@davemloft.net>
42763
42764 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42765 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42766 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42768 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42769 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42770
169d7f11
JM
427712012-02-29 Joseph Myers <joseph@codesourcery.com>
42772
42773 * math/libm-test.inc (llround_test): Move one test from
42774 lround_test. Use TEST_f_L in moved test.
42775 (lround_test): Move misplaced test to llround_test. Add testcase
42776 from bug 2561.
42777
39adf059
UD
427782012-02-28 Ulrich Drepper <drepper@gmail.com>
42779
42780 * sysdeps/x86_64/fpu/e_expf.S: New file.
42781 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42782
71b5d1c5
SB
427832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42784
42785 [BZ #13637]
42786 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42787 of remain_len that may cause incomplete multi-byte character and
42788 false match.
42789 * posix/bug-regex33.c: New file.
42790 * posix/Makefile (tests): Add bug-regex33.
42791
1f77f049
JM
427922012-02-28 Joseph Myers <joseph@codesourcery.com>
42793
42794 * manual/macros.texi: New file.
42795 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42796 * manual/libc.texinfo: Include macros.texi.
42797 * manual/creatute.texi: Likewise.
42798 * manual/install.texi: Likewise.
42799 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42800 @glibcadj{} in references to the GNU C Library.
42801 * manual/charset.texi: Likewise.
42802 * manual/conf.texi: Likewise.
42803 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42804 when not using those macros.
42805 * manual/creature.texi: Likewise.
42806 * manual/crypt.texi: Likewise.
42807 * manual/errno.texi: Likewise.
42808 * manual/filesys.texi: Likewise.
42809 * manual/header.texi: Likewise.
42810 * manual/install.texi: Likewise.
42811 * manual/intro.texi: Likewise.
42812 * manual/io.texi: Likewise.
42813 * manual/job.texi: Likewise.
42814 * manual/lang.texi: Likewise.
42815 * manual/libc.texiinfo: Likewise.
42816 * manual/llio.texi: Likewise.
42817 * manual/locale.texi: Likewise.
42818 * manual/maint.texi: Likewise.
42819 * manual/math.texi: Likewise.
42820 * manual/memory.texi: Likewise.
42821 * manual/message.texi: Likewise.
42822 * manual/nss.texi: Likewise.
42823 * manual/pattern.texi: Likewise.
42824 * manual/process.texi: Likewise.
42825 * manual/resource.texi: Likewise.
42826 * manual/search.texi: Likewise.
42827 * manual/setjmp.texi: Likewise.
42828 * manual/signal.texi: Likewise.
42829 * manual/socket.texi: Likewise.
42830 * manual/startup.texi: Likewise.
42831 * manual/stdio.texi: Likewise.
42832 * manual/string.texi: Likewise.
42833 * manual/sysinfo.texi: Likewise.
42834 * manual/syslog.texi: Likewise.
42835 * manual/terminal.texi: Likewise.
42836 * manual/time.texi: Likewise.
42837 * manual/users.texi: Likewise.
42838 * INSTALL: Regenerated.
42839 * NOTES: Regenerated.
d40c5d54 42840 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42841
450bf206
AS
428422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42843
42844 * include/dirent.h: Include <dirstream.h> before
42845 <dirent/dirent.h>.
42846
741a235b
DM
428472012-02-28 David S. Miller <davem@davemloft.net>
42848
42849 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42850 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42851 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42852 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42853
d6b5aa58
DM
428542012-02-27 David S. Miller <davem@davemloft.net>
42855
1aff59a3
DM
42856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42858 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42859 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42860
d6b5aa58
DM
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42862 frame pointer instead of stack pointer relative arg slot.
42863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42864 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42865 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42866
433f48bf
CD
428672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42868
42869 [BZ #3992]
42870 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42871
d674b76d
DM
428722012-02-27 David S. Miller <davem@davemloft.net>
42873
42874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42880 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42881 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42882
0e7727f7
JM
428832012-02-27 Joseph Myers <joseph@codesourcery.com>
42884
42885 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42886 later. Allow versions 5-9.
43be4ca2 42887 * configure: Regenerated.
0e7727f7
JM
42888 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42889 required minimum version and 4.6 as recommended version. Do not
42890 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42891 * INSTALL: Regenerated.
0e7727f7 42892
a78bc654
DM
428932012-02-27 David S. Miller <davem@davemloft.net>
42894
428d5830
DM
42895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42899 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42900 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42901 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42902 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42903
a78bc654
DM
42904 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42905 manipulate bits before adding and subtracting TWO112[sx].
42906 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42907
4579f81c
RM
429082012-02-27 Roland McGrath <roland@hack.frob.com>
42909
36c8acb4
RM
42910 [BZ #13775]
42911 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42912 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42913 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42914 being in POSIX, because they are in 1003.1-2008.
42915
84ad622b
RM
42916 * rt/tst-aio.c: Include <fcntl.h>.
42917 * rt/tst-aio7.c: Likewise.
42918 * rt/tst-aio64.c: Likewise.
42919
4579f81c
RM
42920 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42921
abd923db
JM
429222012-02-27 Joseph Myers <joseph@codesourcery.com>
42923
42924 * manual/install.texi (--with-headers): Describe headers as
42925 interface headers, not private headers.
42926 (Specific advice for GNU/Linux systems): Describe use of headers
42927 from "make headers_install", not private headers from older
42928 kernels.
43be4ca2 42929 * INSTALL: Regenerated.
abd923db
JM
42930 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42931 Change to 2.6.19.
42932 * sysdeps/unix/sysv/linux/configure: Regenerated.
42933
6664049b
JM
42934 * manual/llio.texi (fclean): Remove documentation.
42935
bb8b6697
JM
42936 * manual/Makefile (libc-texi-generated): New variable. Include
42937 version.texi.
42938 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42939 $(libc-texi-generated), not duplicated list of files.
42940 (version.texi, stamp-version): New rules.
42941 (realclean): Remove $(libc-texi-generated), not individual files
42942 from that list. Do not remove dir-add.texinfo.
42943 * manual/libc.texinfo: Comment out uses of edition numbers and
42944 references to printed manual. Remove last-updated dates.
42945 (EDITION): Comment out.
42946 (ISBN): Likewise.
42947 (VERSION, UPDATED): Remove.
42948 (version.texi): Include.
42949
12e5c3b9
AS
429502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42951
42952 * sysdeps/posix/spawni.c: Include <signal.h>.
42953 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42954 * sysdeps/pthread/aio_fsync.c: Likewise.
42955
4efeffc1 429562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42957
ba63ba08
UD
42958 * conform/Makefile (tests): Run only when not cross-compiling and
42959 when fast-check is not defined.
42960
d94a4670
UD
42961 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42962 * conform/data/limits.h-data: Fixes for POSIX2008.
42963 * conform/run-conformtest.sh: Run all tests.
42964 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42965 headers.
42966 * include/bits/dlfcn.h: Likewise.
42967 * include/langinfo.h: Likewise.
42968 * include/monetary.h: Likewise.
42969 * include/sys/poll.h: Likewise.
42970
42971 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42972 for __USE_GNU.
42973 * posix/spawn.h: Define __need_sigset_t.
42974 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42975 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42976 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42977 to get sigevent_t only.
42978 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42979 only for __USE_GNU.
42980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42981 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42982 process_vm_writev only for __USE_GNU.
42983 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42984
42985 * conform/Makefile: For now ignore errors from run-conformtest.
42986 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42987 POSIX to avoid namespace pollution. Don't prepend headers.
42988 * conform/data/aio.h-data: Fixes for POSIX testing.
42989 * conform/data/fcntl.h-data: Likewise.
42990 * conform/data/glob.h-data: Likewise.
42991 * conform/data/grp.h-data: Likewise.
42992 * conform/data/pthread.h-data: Likewise.
42993 * conform/data/pwd.h-data: Likewise.
42994 * conform/data/signal.h-data: Likewise.
42995 * conform/data/spawn.h-data: Likewise.
42996 * conform/data/stdio.h-data: Likewise.
42997 * conform/data/stdlib.h-data: Likewise.
42998 * conform/data/stropts.h-data: Likewise.
42999 * conform/data/sys/mman.h-data: Likewise.
43000 * conform/data/sys/stat.h-data: Likewise.
43001 * conform/data/sys/types.h-data: Likewise.
43002 * conform/data/sys/wait.h-data: Likewise.
43003 * conform/data/time.h-data: Likewise.
43004 * conform/data/unistd.h-data: Likewise.
43005 * conform/data/utime.h-data: Likewise.
43006
43007 * io/sys/stat.h: fchmod was always in POSIX.
43008 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43009 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43010 * rt/aio.h: Define __need_timespec before including <time.h>.
43011 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43012 struct. Add forward declaration of pthread_attr_t and use it in
43013 sigevent.
43014 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43016 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43017 always remove CLK_TCK definition.
43018
c20105c3
AS
430192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43020
43021 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43022
7a270350
UD
430232012-02-25 Ulrich Drepper <drepper@gmail.com>
43024
31341567
UD
43025 * conform/run-conformtest.sh: New file.
43026 * conform/Makefile: Run run-conformtest for tests.
43027 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43028 support.
43029
43030 * conform/data/uchar.h-data: New file.
43031 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43032 * conform/data/arpa/inet.h-data: Likewise.
43033 * conform/data/assert.h-data: Likewise.
43034 * conform/data/complex.h-data: Likewise.
43035 * conform/data/cpio.h-data: Likewise.
43036 * conform/data/ctype.h-data: Likewise.
43037 * conform/data/dirent.h-data: Likewise.
43038 * conform/data/dlfcn.h-data: Likewise.
43039 * conform/data/errno.h-data: Likewise.
43040 * conform/data/fcntl.h-data: Likewise.
43041 * conform/data/float.h-data: Likewise.
43042 * conform/data/fmtmsg.h-data: Likewise.
43043 * conform/data/fnmatch.h-data: Likewise.
43044 * conform/data/ftw.h-data: Likewise.
43045 * conform/data/glob.h-data: Likewise.
43046 * conform/data/grp.h-data: Likewise.
43047 * conform/data/iconv.h-data: Likewise.
43048 * conform/data/inttypes.h-data: Likewise.
43049 * conform/data/langinfo.h-data: Likewise.
43050 * conform/data/libgen.h-data: Likewise.
43051 * conform/data/limits.h-data: Likewise.
43052 * conform/data/locale.h-data: Likewise.
43053 * conform/data/math.h-data: Likewise.
43054 * conform/data/monetary.h-data: Likewise.
43055 * conform/data/mqueue.h-data: Likewise.
43056 * conform/data/ndbm.h-data: Likewise.
43057 * conform/data/net/if.h-data: Likewise.
43058 * conform/data/netdb.h-data: Likewise.
43059 * conform/data/netinet/in.h-data: Likewise.
43060 * conform/data/nl_types.h-data: Likewise.
43061 * conform/data/poll.h-data: Likewise.
43062 * conform/data/pthread.h-data: Likewise.
43063 * conform/data/pwd.h-data: Likewise.
43064 * conform/data/regex.h-data: Likewise.
43065 * conform/data/sched.h-data: Likewise.
43066 * conform/data/search.h-data: Likewise.
43067 * conform/data/semaphore.h-data: Likewise.
43068 * conform/data/setjmp.h-data: Likewise.
43069 * conform/data/signal.h-data: Likewise.
43070 * conform/data/spawn.h-data: Likewise.
43071 * conform/data/stdarg.h-data: Likewise.
43072 * conform/data/stdio.h-data: Likewise.
43073 * conform/data/stdlib.h-data: Likewise.
43074 * conform/data/string.h-data: Likewise.
43075 * conform/data/strings.h-data: Likewise.
43076 * conform/data/stropts.h-data: Likewise.
43077 * conform/data/sys/ipc.h-data: Likewise.
43078 * conform/data/sys/mman.h-data: Likewise.
43079 * conform/data/sys/msg.h-data: Likewise.
43080 * conform/data/sys/resource.h-data: Likewise.
43081 * conform/data/sys/select.h-data: Likewise.
43082 * conform/data/sys/sem.h-data: Likewise.
43083 * conform/data/sys/shm.h-data: Likewise.
43084 * conform/data/sys/socket.h-data: Likewise.
43085 * conform/data/sys/stat.h-data: Likewise.
43086 * conform/data/sys/statvfs.h-data: Likewise.
43087 * conform/data/sys/time.h-data: Likewise.
43088 * conform/data/sys/timeb.h-data: Likewise.
43089 * conform/data/sys/times.h-data: Likewise.
43090 * conform/data/sys/types.h-data: Likewise.
43091 * conform/data/sys/uio.h-data: Likewise.
43092 * conform/data/sys/un.h-data: Likewise.
43093 * conform/data/sys/utsname.h-data: Likewise.
43094 * conform/data/sys/wait.h-data: Likewise.
43095 * conform/data/syslog.h-data: Likewise.
43096 * conform/data/tar.h-data: Likewise.
43097 * conform/data/termios.h-data: Likewise.
43098 * conform/data/utime.h-data: Likewise.
43099 * conform/data/utmpx.h-data: Likewise.
43100 * conform/data/varargs.h-data: Likewise.
43101 * conform/data/wchar.h-data: Likewise.
43102 * conform/data/wctype.h-data: Likewise.
43103 * conform/data/wordexp.h-data: Likewise.
43104
43105 * include/stropts.h: New file.
43106 * include/uchar.h: New file.
43107 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43108 * include/assert.h: Likewise.
43109 * include/ctype.h: Likewise.
43110 * include/dirent.h: Likewise.
43111 * include/dlfcn.h: Likewise.
43112 * include/fcntl.h: Likewise.
43113 * include/fnmatch.h: Likewise.
43114 * include/glob.h: Likewise.
43115 * include/grp.h: Likewise.
43116 * include/libio.h: Likewise.
43117 * include/locale.h: Likewise.
43118 * include/math.h: Likewise.
43119 * include/net/if.h: Likewise.
43120 * include/netdb.h: Likewise.
43121 * include/netinet/in.h: Likewise.
43122 * include/pthread.h: Likewise.
43123 * include/pwd.h: Likewise.
43124 * include/regex.h: Likewise.
43125 * include/sched.h: Likewise.
43126 * include/search.h: Likewise.
43127 * include/setjmp.h: Likewise.
43128 * include/signal.h: Likewise.
43129 * include/stdio.h: Likewise.
43130 * include/stdlib.h: Likewise.
43131 * include/string.h: Likewise.
43132 * include/sys/cdefs.h: Likewise.
43133 * include/sys/mman.h: Likewise.
43134 * include/sys/msg.h: Likewise.
43135 * include/sys/resource.h: Likewise.
43136 * include/sys/select.h: Likewise.
43137 * include/sys/socket.h: Likewise.
43138 * include/sys/stat.h: Likewise.
43139 * include/sys/statvfs.h: Likewise.
43140 * include/sys/time.h: Likewise.
43141 * include/sys/times.h: Likewise.
43142 * include/sys/uio.h: Likewise.
43143 * include/sys/utsname.h: Likewise.
43144 * include/sys/wait.h: Likewise.
43145 * include/termios.h: Likewise.
43146 * include/time.h: Likewise.
43147 * include/ulimit.h: Likewise.
43148 * include/unistd.h: Likewise.
43149 * include/utime.h: Likewise.
43150 * include/wchar.h: Likewise.
43151 * include/wctype.h: Likewise.
43152 * include/wordexp.h: Likewise.
43153
43154 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43155
7a270350
UD
43156 * time/time.h: TIME_UTC must be a macro.
43157 Make timespec_get available for ISO C11 only as well.
43158
7724defc
UD
431592012-02-24 Ulrich Drepper <drepper@gmail.com>
43160
43161 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43162 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43163
6b1d1d46
JM
431642012-02-24 Joseph Myers <joseph@codesourcery.com>
43165
43166 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43167
0f8bbd69
JM
431682012-02-24 Joseph Myers <joseph@codesourcery.com>
43169
43170 * manual/texinfo.tex: Update to version 2012-01-19.16.
43171
66ab80bc
JM
431722012-02-24 Joseph Myers <joseph@codesourcery.com>
43173
43174 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43175
74981cc5
RM
431762012-02-24 Roland McGrath <roland@hack.frob.com>
43177
ee968201
RM
43178 [BZ #13738]
43179 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43180 * manual/fdl-1.3.texi: New file.
43181 * manual/fdl-1.1.texi: File removed.
43182
74981cc5
RM
43183 [BZ #13738]
43184 * manual/libc.texinfo (FDL_VERSION): New @set.
43185 Use it for mention of FDL in cover text.
43186 (Documentation License): Use it in @include file name.
43187
7bb764bc
JM
431882012-02-22 Joseph Myers <joseph@codesourcery.com>
43189 Roland McGrath <roland@hack.frob.com>
43190
43191 [BZ #5461]
57f41c40
AS
43192 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43193 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43194 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43195 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43196 name.
43197 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43198
6cbeae47
JM
431992012-02-22 Joseph Myers <joseph@codesourcery.com>
43200
43201 [BZ #2547]
43202 [BZ #11365]
43203 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43204 manipulate bits before adding and subtracting TWO23[sx].
43205 * math/libm-test.inc (nearbyint_test): Add more tests.
43206
fe45ce09
JM
432072012-02-22 Joseph Myers <joseph@codesourcery.com>
43208
43209 [BZ #2548]
43210 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43211 bits before adding and subtracting TWO23[sx].
43212 * math/libm-test.inc (rint_test): Add more tests.
43213 (rint_test_tonearest): Likewise.
43214 (rint_test_towardzero): Likewise.
43215 (rint_test_downward): Likewise.
43216 (rint_test_upward: Likewise.
43217
ff3b3d82
JM
432182012-02-22 Joseph Myers <joseph@codesourcery.com>
43219
43220 [BZ #10110]
43221 * include/stdc-predef.h: New file. Extracted from features.h.
43222 * include/features.h: Include stdc-predef.h.
43223 * Makefile (headers): Add stdc-predef.h.
43224 * CONFORMANCE (Compiler limitations): Update.
43225
ef0aab35
JM
432262012-02-22 Joseph Myers <joseph@codesourcery.com>
43227
43228 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43229
58639409
DM
432302012-02-21 David S. Miller <davem@davemloft.net>
43231
43232 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43233 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43234
c0e70b25
DM
432352012-02-20 David S. Miller <davem@davemloft.net>
43236
43237 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43238 using a normal save/restore sequence, rather than allocating a
43239 dummy stack frame just to store a frame pointer and restore.
43240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43241
fb06851d
JM
432422012-02-21 Joseph Myers <joseph@codesourcery.com>
43243
43244 * manual/install.texi: Fix stray word in line-wrapped comment.
43245
7a8b71c3
DM
432462012-02-20 David S. Miller <davem@davemloft.net>
43247
d510c123
DM
43248 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43249 both binutils and gcc support GOTDATA.
43250
0722d7c2
DM
43251 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43252 "rd %pc" in the PIC register setup sequences.
43253
3d2b3019
DM
43254 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43255 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43256 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43257 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43258 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43263 (SYSCALL_ERROR_HANDLER): Likewise.
43264 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43265 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43267 (SYSCALL_ERROR_HANDLER): Likewise.
43268
c80098a9
DM
43269 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43270 (HAVE_GCC_GOTDATA): New.
43271 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43272 relocation support in both binutils and gcc.
43273 * sysdeps/sparc/elf/configure: Regenerate.
43274
3a2545a0
DM
43275 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43276 * sysdeps/sparc/sparc32/elf/configure: Delete.
43277 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43278 * sysdeps/sparc/sparc64/elf/configure: Delete.
43279 * sysdeps/sparc/elf/configure.in: New file.
43280 * sysdeps/sparc/elf/configure: Generate.
43281
7a8b71c3
DM
43282 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43283 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43284 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43285 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43286 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43287
f1e86fca
JM
432882012-02-21 Joseph Myers <joseph@codesourcery.com>
43289
43290 * manual/install.texi: Do not mention specific glibc version
43291 numbers.
43292 * manual/libc.texinfo (VERSION, UPDATED): Update.
43293 (@copying): Use @copyright{} and range of years.
43294
0e7dfaef
JM
432952012-02-21 Joseph Myers <joseph@codesourcery.com>
43296
43297 [BZ #13695]
43298 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43299 [crti.S not in sysdirs] (generated): Do not append.
43300 [crti.S not in sysdirs] (omit-deps): Likewise.
43301 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43302 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43303 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43304 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43305 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43306 Likewise.
43307 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43308 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43309 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43310 * csu/defs.awk: Remove file.
43311 * sysdeps/generic/initfini.c: Likewise.
43312 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43313 variable.
43314 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43315 Likewise.
43316
599af3ca
JM
433172012-02-20 Joseph Myers <joseph@codesourcery.com>
43318
43319 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43320 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43321 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43322 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43324 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43325 <bits/epoll.h>.
43326 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43327 (__EPOLL_PACKED): Define to empty if not defined by
43328 <bits/epoll.h>.
43329 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43331 bits/epoll.h.
43332
0e499750
JM
433332012-02-20 Joseph Myers <joseph@codesourcery.com>
43334
43335 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43336 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43337 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43338 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43339 <bits/timerfd.h>.
43340 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43342 bits/timerfd.h.
43343
5ad91f6e
JM
433442012-02-20 Joseph Myers <joseph@codesourcery.com>
43345
43346 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43347 in C locale.
43348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43352
06b99b02
AJ
433532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43354
43355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43357
7638c0fd
AS
433582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43359
43360 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43361 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43362 defined.
43363 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43364 Likewise.
43365 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43366 entry for 2.16.
43367
92221550
AJ
433682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43369
43370 * math/w_acos.c: Use non-signaling floating-point comparisons.
43371 * math/w_acosf.c: Likewise.
43372 * math/w_acosh.c: Likewise.
43373 * math/w_acoshf.c: Likewise.
43374 * math/w_acoshl.c: Likewise.
43375 * math/w_acosl.c: Likewise.
43376 * math/w_asin.c: Likewise.
43377 * math/w_asinf.c: Likewise.
43378 * math/w_asinl.c: Likewise.
43379 * math/w_atanh.c: Likewise.
43380 * math/w_atanhf.c: Likewise.
43381 * math/w_atanhl.c: Likewise.
43382 * math/w_exp2.c: Likewise.
43383 * math/w_exp2f.c: Likewise.
43384 * math/w_exp2l.c: Likewise.
43385 * math/w_j0.c: Likewise.
43386 * math/w_j0f.c: Likewise.
43387 * math/w_j0l.c: Likewise.
43388 * math/w_j1.c: Likewise.
43389 * math/w_j1f.c: Likewise.
43390 * math/w_j1l.c: Likewise.
43391 * math/w_jn.c: Likewise.
43392 * math/w_jnf.c: Likewise.
43393 * math/w_log.c: Likewise.
43394 * math/w_log10.c: Likewise.
43395 * math/w_log10f.c: Likewise.
43396 * math/w_log10l.c: Likewise.
43397 * math/w_log2.c: Likewise.
43398 * math/w_log2f.c: Likewise.
43399 * math/w_log2l.c: Likewise.
43400 * math/w_logf.c: Likewise.
43401 * math/w_logl.c: Likewise.
43402 * math/w_sqrt.c: Likewise.
43403 * math/w_sqrtf.c: Likewise.
43404 * math/w_sqrtl.c: Likewise.
43405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43406 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43408 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43409 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43410
ebaf36eb
JM
434112012-02-19 Joseph Myers <joseph@codesourcery.com>
43412
43413 [BZ #9739]
43414 * manual/string.texi (strnlen): Use correct parameter name in
43415 equivalent expression.
43416
71c254a6
JM
434172012-02-19 Joseph Myers <joseph@codesourcery.com>
43418
43419 [BZ #11174]
43420 * manual/users.texi (seteuid): Consistently use neweuid for
43421 argument name.
43422
16d2c631
JM
434232012-02-19 Joseph Myers <joseph@codesourcery.com>
43424
43425 [BZ #13704]
43426 * manual/nss.texi (Services in the NSS configuration): Correct
43427 list of services in example configuration file.
43428
cd837b09
NB
434292012-02-19 Nick Bowler <nbowler@draconx.ca>
43430
43431 [BZ #11322]
43432 * manual/arith.texi: Remove statements about negative zero
43433 behaving identically to zero.
43434
02c4bbad
JM
434352012-02-18 Joseph Myers <joseph@codesourcery.com>
43436
43437 [BZ #5993]
43438 * manual/install.texi: Do not document upgrading from libc5.
43439
366842e7
JM
434402012-02-18 Joseph Myers <joseph@codesourcery.com>
43441
43442 [BZ #4596]
43443 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43444
dd54084d
DM
434452012-02-18 David S. Miller <davem@davemloft.net>
43446
43447 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43448 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43449 %o7 across the call.
43450 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43451 instead.
43452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43453 SETUP_PIC_REG_LEAF.
43454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43455 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43456 * sysdeps/sparc/crtn.S: Likewise.
43457
2bcc53a3
UD
434582012-02-17 Ulrich Drepper <drepper@gmail.com>
43459
43460 * aout/Makefile: Remove.
43461
09c093b5
RK
434622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43463
43464 [BZ #13058]
43465 * manual/examples/argp-ex1.c (main): Format definition in GNU
43466 style.
43467 * manual/examples/argp-ex2.c (main): Likewise.
43468 * manual/examples/argp-ex3.c (main): Likewise.
43469 * manual/examples/argp-ex4.c (main): Likewise.
43470 * manual/examples/longopt.c (main): Use new-style prototype
43471 definition.
43472 * manual/examples/strncat.c (main): Specify return type and use
43473 (void) for arguments.
43474 * manual/examples/subopt.c (main): Use char **argv argument.
43475
2ee633a2
JM
434762012-02-17 Joseph Myers <joseph@codesourcery.com>
43477
43478 [BZ #5077]
43479 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43480 rounding modes.
43481
0520adde
FB
434822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43483
43484 [BZ #6907]
43485 * manual/string.texi (strchr): Change when strchrnul is
43486 recommended.
43487
3f4081cd
DGM
434882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43489
43490 [BZ #174]
43491 * manual/locale.texi (setlocale): Document LOCPATH.
43492
d1b10e78
JM
434932012-02-17 Joseph Myers <joseph@codesourcery.com>
43494
43495 [BZ #10210]
43496 * manual/process.texi (execle): Move @dots{} before last argument.
43497
79c6869c
PB
434982012-02-17 Paul Bolle <pebolle@tiscali.nl>
43499
43500 [BZ #12047]
43501 * manual/charset.texi (Generic Charset Conversion): Fix typo
43502 (LC_TYPE -> LC_CTYPE).
43503
cc6e48bc
NB
435042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43505
43506 [BZ #5805]
43507 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43508 (scalbnf): Likewise.
43509 (scalbnl): Likewise.
43510 (scalbln): Likewise.
43511 (scalblnf): Likewise.
43512 (scalblnl): Likewise.
43513 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43514 (vwarnx): Likewise.
43515 (verr): Likewise.
43516 (verrx): Likewise.
43517 * manual/filesys.texi (telldir): Use braces around return type.
43518 * manual/llio.texi (mmap): Add space after comma.
43519 (mmap64): Likewise.
43520 * manual/math.texi (jn): Use @var{} on parameter names.
43521 (jnf): Likewise.
43522 (jnl): Likewise.
43523 (yn): Likewise.
43524 (ynf): Likewise.
43525 (ynl): Likewise.
43526 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43527 line.
43528 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43529 "...".
43530 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43531 (sched_get_priority_max): Likewise.
43532 * manual/signal.texi (sigvec): Add space after comma.
43533 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43534 names.
43535 (if_indextoname): Likewise.
43536 (if_freenameindex): Likewise.
43537 (sendto): Use ',' instead of '.' in prototype.
43538 * manual/startup.texi (syscall): Use @dots{} instead of literal
43539 "...".
43540 * manual/stdio.texi (__fpending): Separate initial words of
43541 paragraph from @deftypefun line.
43542 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43543 "...".
43544 (vsyslog): Use @var{} on parameter names.
43545 * manual/terminal.texi (stty): Use @var{} on parameter names.
43546 * manual/users.texi (getutmp): Use @var{} on parameter names.
43547 (getutmpx): Likewise.
43548
5b23062f
JM
435492012-02-17 Joseph Myers <joseph@codesourcery.com>
43550
43551 [BZ #6884]
43552 * manual/stdio.texi (fopen): Fix typos in description of
43553 ",ccs=STRING".
43554
8dee4833
AJ
435552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43556
43557 [BZ #4026]
43558 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43559 get clock_id definition.
43560
9078ce93
TS
435612012-02-17 Thomas Schwinge <thomas@schwinge.name>
43562
43563 [BZ #4822]
43564 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43565 (madvise): Cast every argument to void on its own.
43566
3835c55f
JM
435672012-02-17 Joseph Myers <joseph@codesourcery.com>
43568
43569 [BZ #9902]
43570 * manual/startup.texi (Exit Status): Fix typo.
43571
35c47e37
JM
435722012-02-17 Joseph Myers <joseph@codesourcery.com>
43573
43574 [BZ #10140]
43575 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43576 * manual/examples/argp-ex2.c: Likewise.
43577 * manual/examples/argp-ex3.c: Likewise.
43578
e3b69ca7
RH
435792012-02-16 Richard Henderson <rth@redhat.com>
43580
43581 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43582 * sysdeps/s390/s390-32/initfini.c: Remove.
43583 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43584 * sysdeps/s390/s390-64/initfini.c: Remove.
43585
df83af67
KK
435862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43587
43588 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43589 compiler output for sysdeps/generic/initfini.c.
43590 * sysdeps/sh/elf/initfini.c: Remove file.
43591
f63f3380
DM
435922012-02-16 David S. Miller <davem@davemloft.net>
43593
fb59b3a4
DM
43594 [BZ #11494]
43595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43596
f63f3380
DM
43597 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43598 * sysdeps/sparc/crti.S: New file.
43599 * sysdeps/sparc/crtn.S: New file.
43600 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43601 * sysdeps/sparc/sparc64/Makefile: Likewise.
43602
df6a4a4a
MF
436032012-02-15 Mike Frysinger <vapier@gentoo.org>
43604
6dd8f3dc 43605 [BZ #3335]
df6a4a4a
MF
43606 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43607
1cac7236
RM
436082012-02-15 Roland McGrath <roland@hack.frob.com>
43609
d2c736f8
RM
43610 [BZ #4822]
43611 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43612
1cac7236
RM
43613 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43614 (write, read, close): Likewise.
43615 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43616
8e475601
JM
436172012-02-15 Joseph Myers <joseph@codesourcery.com>
43618
43619 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43620 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43621 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43622 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43623 <bits/signalfd.h>.
43624 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43626 bits/signalfd.h.
43627
ed656b40
MP
436282012-02-14 Marek Polacek <polacek@redhat.com>
43629
43630 * sysdeps/x86_64/crti.S: New file.
43631 * sysdeps/x86_64/crtn.S: New file.
43632 * sysdeps/x86_64/elf/initfini.c: Remove file.
43633
2a979d3a
JM
436342012-02-13 Joseph Myers <joseph@codesourcery.com>
43635
43636 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43637 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43638 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43639 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43640 <bits/inotify.h>.
43641 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43643 bits/inotify.h.
43644
2a418ac3
JM
436452012-02-13 Joseph Myers <joseph@codesourcery.com>
43646
43647 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43648 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43649 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43650 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43651 <bits/eventfd.h>.
43652 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43654 bits/eventfd.h.
43655
fb779be7
TS
436562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43657
e19e83c5
RM
43658 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43659 __feraiseexcept instead of feraiseexcept.
7c35ffed 43660
fb779be7
TS
43661 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43662 nanosleep invocations.
43663 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43664 strings, and add error checking for a nanosleep invocations.
43665
59ba27a6
PE
436662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43667
43668 Replace FSF snail mail address with URLs, as per GNU coding standards.
43669 Most of the snail mail addresses were wrong anyway, and omitting
43670 them makes the source code easier to maintain. Almost all of the
43671 changes are to license notices and to locale LC_IDENTIFICATION
43672 addresses, except for this one:
43673 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43674 not its snail mail address.
43675
57b957eb
RH
436762012-02-09 Richard Henderson <rth@twiddle.net>
43677
af850b1c
RH
43678 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43679 of kernel-features.h.
43680
57b957eb
RH
43681 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43682
6b73181a
MP
436832012-02-08 Marek Polacek <polacek@redhat.com>
43684
43685 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43686 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43687 * sysdeps/gnu/_G_config.h: Likewise.
43688 * sysdeps/generic/_G_config.h: Likewise.
43689
26ecc33a
AS
436902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43691
6c6dbc63
AS
43692 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43693 tests.
43694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43695
e216c012
AS
43696 * sysdeps/powerpc/powerpc32/crti.S: New file.
43697 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43698 * sysdeps/powerpc/powerpc64/crti.S: New file.
43699 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43700
26ecc33a
AS
43701 * Makeconfig (have-initfini): Don't set.
43702 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43703 * configure.in (nopic_initfini): Don't substitute.
43704 * config.h.in (HAVE_INITFINI): Don't #undef.
43705 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43706 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43707
3add8e13
JM
437082012-02-08 Joseph Myers <joseph@codesourcery.com>
43709
43710 Support crti.S and crtn.S provided directly by architectures.
43711 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43712 [crti.S in sysdirs] (omit-deps): Likewise.
43713 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43714 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43715 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43716 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43717 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43718 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43719 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43720 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43721 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43722 compiler output for sysdeps/generic/initfini.c.
43723 * sysdeps/i386/elf/Makefile: Remove file.
43724 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43725
a22f12b4
MP
437262012-02-07 Marek Polacek <polacek@redhat.com>
43727
43728 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43729 * sysdeps/gnu/_G_config.h: Likewise.
43730 * sysdeps/mach/hurd/_G_config.h: Likewise.
43731
148cf100
MP
437322012-02-07 Marek Polacek <polacek@redhat.com>
43733
43734 * math/Makefile (tests): Add tst-CMPLX2.
43735 * math/tst-CMPLX2.c: New file.
43736
cfdc0dd7
AS
437372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43738
84ba42c4
AS
43739 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43740
cfdc0dd7
AS
43741 * math/libm-test.inc (jn_test): Add missing L suffix.
43742
622c86f4
MP
437432012-02-06 Marek Polacek <polacek@redhat.com>
43744
43745 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43746 * sysdeps/i386/fpu/e_powf.S: Likewise.
43747 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43748 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43749 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43750 * sysdeps/i386/fpu/e_pow.S: Likewise.
43751 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43752 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43753 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43754 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43755 * sysdeps/i386/fpu/e_log2.S: Likewise.
43756 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43757 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43758 * sysdeps/i386/fpu/e_powl.S: Likewise.
43759 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43760 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43761 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43762 * sysdeps/i386/fpu/e_logl.S: Likewise.
43763 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43764 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43765 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43766 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43767 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43768 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43769 * sysdeps/i386/fpu/e_log.S: Likewise.
43770 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43771 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43772 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43773 * sysdeps/i386/fpu/e_logf.S: Likewise.
43774 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43775 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43776 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43777 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43778 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43779 * sysdeps/i386/fpu/e_log10.S: Likewise.
43780 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43781 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43782 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43783 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43784 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43785 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43786 * sysdeps/i386/asm-syntax.h: Likewise.
43787 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43789 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43790 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43791 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43793 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43794 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43796 * sysdeps/powerpc/sysdep.h: Likewise.
43797 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43798 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43799
d4a54ac6
JM
438002012-02-06 Joseph Myers <joseph@codesourcery.com>
43801
43802 [BZ #411]
43803 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43804
314054ea
JM
438052012-02-06 Joseph Myers <joseph@codesourcery.com>
43806
43807 * sysdeps/i386/sysdep.h: Include <features.h>.
43808 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43809 version.
43810
d8e0ca50
JM
438112012-02-05 Joseph Myers <joseph@codesourcery.com>
43812
43813 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43814 Define.
43815 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43816 LOAD_PIC_REG_STR.
43817
b1da7dd9
JM
438182012-02-03 Joseph Myers <joseph@codesourcery.com>
43819
43820 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43821 (SETUP_PIC_REG): Use GET_PC_THUNK.
43822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43823 macro.
43824
9a1d9254
JM
438252012-02-03 Joseph Myers <joseph@codesourcery.com>
43826
43827 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43828 for non-PIC compilation.
43829 (SETUP_PIC_REG): Add .p2align directive.
43830 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43831 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43832 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43833 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43834 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43835 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43836 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43838 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43839 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43840 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43841 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43842 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43843 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43844 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43845 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43846 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43852 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43853 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43854 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43858 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43859 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43860 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43862 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43863 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43864 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43865 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43866 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43867 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43868 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43869 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43870 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43871
65dc3b75
JM
438722012-02-03 Joseph Myers <joseph@codesourcery.com>
43873
43874 * math/tst-CMPLX.c: Include <stdio.h>.
43875
d55bf177
JM
438762012-01-31 Joseph Myers <joseph@codesourcery.com>
43877
43878 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43879 float.
43880 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43881 * sysdeps/sparc/bits/mathdef.h: Likewise.
43882
69db4f8f
MP
438832012-01-31 Marek Polacek <polacek@redhat.com>
43884
43885 * libio/libio.h: Don't define _PARAMS.
43886 * locale/programs/config.h: Don't define PARAMS.
43887 * stdlib/strtol_l.c: Likewise.
43888 (__strtol_l): Remove PARAMS from the prototype.
43889
41b81892
UD
438902012-01-31 Ulrich Drepper <drepper@gmail.com>
43891
3b49edc0
UD
43892 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43893 names. Just use the correct names. Remove unnecessary wrapper
43894 functions.
43895 * malloc/arena.c: Likewise.
43896 * malloc/hooks.c: Likewise.
43897
41b81892
UD
43898 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43899 ARENA_TEST says not to. Simplify test for creation of a new arena.
43900 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43901
27a25b6e
UD
439022012-01-30 Ulrich Drepper <drepper@gmail.com>
43903
43904 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43905 into tail calls.
43906 (update_get_addr): New function.
43907 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43908 GET_ADDR_MODULE parameter.
43909
c8a89e7d
JM
439102012-01-30 Joseph Myers <joseph@codesourcery.com>
43911
43912 * crypt/cert.c: Remove __STDC__ conditionals.
43913 * crypt/crypt-entry.c: Likewise.
43914 * crypt/crypt_util.c: Likewise.
43915 * libio/filedoalloc.c: Likewise.
43916 * libio/fileops.c: Likewise.
43917 * libio/genops.c: Likewise.
43918 * libio/iofclose.c: Likewise.
43919 * libio/iofdopen.c: Likewise.
43920 * libio/iofopen.c: Likewise.
43921 * libio/iofopen64.c: Likewise.
43922 * libio/iogetdelim.c: Likewise.
43923 * libio/iopopen.c: Likewise.
43924 * libio/obprintf.c: Likewise.
43925 * libio/oldfileops.c: Likewise.
43926 * libio/oldiofclose.c: Likewise.
43927 * libio/oldiofdopen.c: Likewise.
43928 * libio/oldiofopen.c: Likewise.
43929 * libio/oldiopopen.c: Likewise.
43930 * libio/wfiledoalloc.c: Likewise.
43931 * libio/wgenops.c: Likewise.
43932 * locale/programs/xmalloc.c: Likewise.
43933 * misc/syslog.c: Likewise.
43934 * stdio-common/xbug.c: Likewise.
43935 * string/memchr.c: Likewise.
43936 * string/memcmp.c: Likewise.
43937 * string/memrchr.c: Likewise.
43938 * string/rawmemchr.c: Likewise.
43939 * sysdeps/posix/getcwd.c: Likewise.
43940 * time/strftime_l.c: Likewise.
43941
3b100462
JM
439422012-01-30 Joseph Myers <joseph@codesourcery.com>
43943
43944 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43945 * config.make.in (config-cflags-sse2avx): Define.
43946 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43947 Fix typo.
43948
607998af
CM
439492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43950
43951 * scripts/config.guess: Update from upstream config git repository.
43952 * scripts/config.sub: Likewise.
43953
3601428f
CM
439542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43955
3ac8b282
CM
43956 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43957 (EM_NUM): Update.
43958 (R_TILEPRO_*, R_TILEGX_*): New macros.
43959
e034841e
CM
43960 * scripts/firstversions.awk: Fix bug in version range handling.
43961
540d7568
CM
43962 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43963
3601428f
CM
43964 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43965
463de862
CM
43966 * include/sys/epoll.h: New file.
43967 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43968 libc_hidden_def.
43969
73139a76
UD
439702012-01-28 Ulrich Drepper <drepper@gmail.com>
43971
96bc5b45
UD
43972 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43973 Avoid unnecessary __WORDSIZE == 64 test.
43974 (fmaxf): Use VEX format if possible.
43975 (fmax): Likewise.
43976 (fminf): Likewise.
43977 (fmin): Likewise.
43978
56f6f6a2
UD
43979 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43980 * math/math_private.h: Remove libc_fegetround* and
43981 libc_fesetround*.
43982 * sysdeps/i386/configure.in: Check for -msse2avx.
43983 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43984 also if SSE2AVX is defined.
43985 Remove libc_fegetround* and libc_fesetround*.
43986 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43987 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43989 of HAS_YMM_USABLE.
43990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43994 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43995
73139a76
UD
43996 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43997
d73f93a4
AZ
439982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43999
44000 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44001 size is not set.
44002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44003
6ee65ed6
UD
440042012-01-27 Ulrich Drepper <drepper@gmail.com>
44005
44006 [BZ #13618]
44007 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44008 relocation.
44009 * Makeconfig (libm): Define.
44010 * elf/Makefile: Add rules to build and run tst-relsort1.
44011 * elf/tst-relsort1.c: New file.
44012 * elf/tst-relsort1mod1.c: New file.
44013 * elf/tst-relsort1mod2.c: New file.
44014
8db21882
JM
440152012-01-27 Joseph Myers <joseph@codesourcery.com>
44016
44017 * math/s_ldexp.c: Remove __STDC__ conditionals.
44018 * math/s_ldexpf.c: Likewise.
44019 * math/s_ldexpl.c: Likewise.
44020 * math/s_nextafter.c: Likewise.
44021 * math/s_nexttowardf.c: Likewise.
44022 * math/s_significand.c: Likewise.
44023 * math/s_significandf.c: Likewise.
44024 * math/s_significandl.c: Likewise.
44025 * math/w_jnl.c: Likewise.
44026 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44027 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44028 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44029 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44030 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44041 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44042 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44047 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44052 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44053 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44054 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44055 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44056 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44058 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44060 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44061 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44062 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44063 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44064 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44065 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44066 * sysdeps/ieee754/k_standard.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44115 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44120 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44123 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44125 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44128 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44129 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44133 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44141 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44142 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44146 * sysdeps/ieee754/s_matherr.c: Likewise.
44147 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44151
965a54a4
JM
441522012-01-26 Joseph Myers <joseph@codesourcery.com>
44153
44154 * crypt/md5.h: Remove __STDC__ conditionals.
44155 * libio/libioP.h: Likewise.
44156 * locale/programs/config.h: Likewise.
44157 * sysdeps/generic/sysdep.h: Likewise.
44158 * sysdeps/i386/asm-syntax.h: Likewise.
44159 * sysdeps/s390/asm-syntax.h: Likewise.
44160 * sysdeps/unix/sysdep.h: Likewise.
44161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44163
7071ad79
JM
441642012-01-26 Joseph Myers <joseph@codesourcery.com>
44165
44166 * libio/libio.h: Remove __STDC__ conditionals.
44167 * malloc/obstack.h: Likewise.
44168 * math/complex.h: Likewise.
44169 * math/math.h: Likewise.
44170 * sysdeps/generic/_G_config.h: Likewise.
44171 * sysdeps/gnu/_G_config.h: Likewise.
44172 * sysdeps/mach/hurd/_G_config.h: Likewise.
44173 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44174 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44175 * sysdeps/sparc/bits/mathdef.h: Likewise.
44176
afc5ed09
UD
441772012-01-26 Ulrich Drepper <drepper@gmail.com>
44178
44179 [BZ #13583]
44180 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44181 Clean up HAS_* macros.
afc5ed09 44182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44183 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44184 possible.
44185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44186 HAS_AVX.
44187 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44188 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44189 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44190 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44191 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44192
bdb6de1d
JM
441932012-01-25 Joseph Myers <joseph@codesourcery.com>
44194
44195 * elf/tst-unique3.cc (gets): Remove declaration.
44196 * elf/tst-unique3lib.cc (gets): Likewise.
44197 * elf/tst-unique3lib2.cc (gets): Likewise.
44198 * elf/tst-unique4.cc (gets): Likewise.
44199
b15549e6
UD
442002012-01-24 Ulrich Drepper <drepper@gmail.com>
44201
44202 * include/stdio.h: Add C++ protection. Add gets declarations and
44203 definitions.
44204 * debug/tst-chk1.c: Don't declare gets here.
44205 * stdio-common/tst-gets.c: Likewise.
44206
a037381f
JM
442072012-01-24 Joseph Myers <joseph@codesourcery.com>
44208
44209 * posix/glob: Remove directory.
44210
f1d4aa75
JM
442112012-01-24 Joseph Myers <joseph@codesourcery.com>
44212
44213 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44214
81c0c964
PT
442152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44216
44217 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44218 of the non-standard EPFNOSUPPORT.
44219
0ea698ae
ST
442202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44221
44222 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44223 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44224 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44225
d220b117
UD
442262012-01-21 Ulrich Drepper <drepper@gmail.com>
44227
44228 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44229
3e1aa84e
UD
442302012-01-20 Ulrich Drepper <drepper@gmail.com>
44231
44232 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44233 transient errors.
44234 * nscd/grpcache.c (cache_addgr): Likewise.
44235 * nscd/hstcache.c (cache_addhst): Likewise.
44236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44237 * nscd/pwdcache.c (cache_addpw): Likewise.
44238 * nscd/servicescache.c (cache_addserv): Likewise.
44239
400aa020
UD
442402012-01-16 Ulrich Drepper <drepper@gmail.com>
44241
d77e7869
UD
44242 * malloc/malloc.c: Various cleanups.
44243 * malloc/hooks.c: Likewise.
44244
400aa020
UD
44245 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44246 * stdlib/bug-fmtmsg1.c: New file.
44247
44248 * stdlib/fmtmsg.c (init): Add missing unlock.
44249 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44250
e0a309cf
MP
442512012-01-12 Marek Polacek <polacek@redhat.com>
44252
44253 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44254 and _GNU_SOURCE.
44255
929d11c7
WS
442562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44257
44258 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44259 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44260 macro to ensure uniqueness of label name.
44261 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44262 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44263
41d0e869
UD
442642012-01-11 Ulrich Drepper <drepper@gmail.com>
44265
0cc5ed3b
UD
44266 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44267
41d0e869
UD
44268 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44269 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44272
a47a831a
UD
442732012-01-10 Ulrich Drepper <drepper@gmail.com>
44274
daa891c0
UD
44275 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44276
44277 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44278 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44279 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44280
e58ef0f2
UD
44281 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44282
a47a831a 44283 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44284 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44285 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44287
44288 * math/bits/math-finite.h: Add ldexp support.
44289
a0bfc9c7
MP
442902012-01-10 Marek Polacek <polacek@redhat.com>
44291
44292 * locale/programs/localedef.h (show_archive_content): Add noreturn
44293 attribute.
44294
d6e97a1d
UD
442952012-01-09 Ulrich Drepper <drepper@gmail.com>
44296
44297 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44298
d5835c26
UD
442992012-01-08 Ulrich Drepper <drepper@gmail.com>
44300
e5f484c6
UD
44301 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44302
d5835c26
UD
44303 * io/Makefile (headers): Add bits/poll2.h.
44304
d1f741e9
WS
443052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44306
44307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44308 typo #include statement.
44309
ec09c1c4
UD
443102012-01-08 Ulrich Drepper <drepper@gmail.com>
44311
44312 * include/sys/cdefs.h: Define __attribute_alloc_size.
44313 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44314 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44315 * elf/pldd.c: Likewise.
44316 * iconv/iconv_charmap.c: Likewise.
44317 * iconv/iconvconfig.c: Likewise.
44318 * iconv/strtab.c: Likewise.
44319 * locale/programs/locale.c: Likewise.
44320 * locale/programs/localedef.h: Likewise.
44321 * locale/programs/simple-hash.c: Likewise.
44322 * nscd/nscd.h: Likewise.
44323 * nss/makedb.c: Likewise.
44324 * sysdeps/generic/ldconfig.h: Likewise.
44325 * locale/programs/localedef.c: Remove xmalloc prototype.
44326 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44327
20b38e03
PP
443282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44329
44330 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44331 appropriate.
44332
a0da5fe1
UD
443332012-01-08 Ulrich Drepper <drepper@gmail.com>
44334
1d5a644a 44335 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44336 * math/tst-CMPLX.c: New file.
1d5a644a 44337
8784a6db
UD
44338 * math/complex.h (CMPLXL): Fix typo.
44339
d9a216c0
UD
44340 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44341 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44342 GLIBC_2.16.
44343 * debug/tst-chk1.c: Add poll and ppoll tests.
44344 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44345 * include/sys/poll.h: Add hidden proto for ppoll.
44346 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44347 * sysdeps/mach/hurd/ppoll.c: Likewise.
44348 * io/ppoll.c: Likewise.
44349 * debug/poll_chk.c: New file.
44350 * debug/ppoll_chk.c: New file.
44351 * include/bits/poll2.h: New file.
44352 * io/bits/poll2.h: New file.
44353
ac097f5c
UD
44354 [BZ #1350]
44355 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44356
2119dcfa
UD
44357 * configure.in: static is always set to yes. Remove.
44358 * config.make.in: Don't set build-static.
44359 * Makeconfig: Remove use of build-static.
44360 * dlfcn/Makefile: Likewise.
44361 * elf/Makefile: Likewise.
44362 * math/Makefile: Likewise.
44363 * misc/Makefile: Likewise.
44364 * nptl/Makefile: Likewise.
44365 * sysdeps/mach/hurd/Makefile: Likewise.
44366
121766a9
UD
44367 * configure.in: PWD_P is not used anymore.
44368 * config.make.in: Remove PWD_P entry.
44369
51a1d39c 44370 * configure.in: Remove last remnants of RANLIB.
8720d066 44371 No need to check for signed size_t anymore.
215f4bdc
UD
44372 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44373 and IA-64.
3857022a 44374 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44375 * aclocal.m4: Likewise.
44376
d3ed7225
UD
44377 * wcsmbs/mbrtoc16.c: Implement using towc function.
44378 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44379 * wcsmbs/wcsmbsload.c: Likewise.
44380 * iconv/gconv_simple.c: Likewise.
44381 * iconv/gconv_int.h: Likewise.
44382 * iconv/gconv_builtin.h: Likewise.
44383 * iconv/iconv_prog.c: Remove CHAR16 handling.
44384
44385 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44386
44387 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44388
a0da5fe1
UD
44389 * configure.in: Remove --with-elf and --enable-bounded options.
44390 Dont set base_machine for ia64. More non-ELF conditions removed.
44391 Remove testing and setting of leading underscore information.
44392 * config.make.in (build-bounded): Set to no.
44393 * config.h.in: Remove NO_UNDERSCORES entry.
44394 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44395 them.
44396 * csu/start.c: Remove !NO_UNDERSCORE code.
44397 * locale/localeinfo.h: Likewise.
44398 * sysdeps/generic/machine-gmon.h: Likewise.
44399 * sysdeps/generic/sysdep.h: Likewise.
44400 * sysdeps/i386/sysdep.h: Likewise.
44401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44402 * sysdeps/mach/sysdep.h: Likewise.
44403 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44405 * sysdeps/sh/sysdep.h: Likewise.
44406 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44407 * sysdeps/unix/i386/sysdep.S: Likewise.
44408 * sysdeps/unix/sparc/start.c: Likewise.
44409 * sysdeps/unix/sparc/sysdep.S: Likewise.
44410 * sysdeps/unix/sparc/sysdep.h: Likewise.
44411 * sysdeps/unix/start.c: Likewise.
44412 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44413 * sysdeps/x86_64/sysdep.h: Likewise.
44414
df78418a
UD
444152012-01-07 Ulrich Drepper <drepper@gmail.com>
44416
a784e502
UD
44417 [BZ #13553]
44418 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44419 for non-gcc.
44420 * argp/argp-fmtstream.h: Use const instead __const.
44421 * argp/argp.h: Likewise.
44422 * assert/assert.h: Likewise.
44423 * bits/fenv.h: Likewise.
44424 * bits/sched.h: Likewise.
44425 * bits/sigset.h: Likewise.
44426 * bits/sigthread.h: Likewise.
44427 * catgets/nl_types.h: Likewise.
44428 * conform/data/pthread.h-data: Likewise.
44429 * crypt/crypt-private.h: Likewise.
44430 * crypt/crypt.h: Likewise.
44431 * crypt/crypt_util.c: Likewise.
44432 * ctype/ctype.h: Likewise.
44433 * debug/execinfo.h: Likewise.
44434 * debug/mbsnrtowcs_chk.c: Likewise.
44435 * debug/mbsrtowcs_chk.c: Likewise.
44436 * debug/wcsnrtombs_chk.c: Likewise.
44437 * debug/wcsrtombs_chk.c: Likewise.
44438 * debug/wcstombs_chk.c: Likewise.
44439 * dirent/dirent.h: Likewise.
44440 * dlfcn/dlfcn.h: Likewise.
44441 * elf/neededtest4.c: Likewise.
44442 * grp/grp.h: Likewise.
44443 * gshadow/gshadow.h: Likewise.
44444 * iconv/gconv.h: Likewise.
44445 * iconv/gconv_int.h: Likewise.
44446 * iconv/gconv_simple.c: Likewise.
44447 * iconv/iconv.h: Likewise.
44448 * iconv/loop.c: Likewise.
44449 * iconv/skeleton.c: Likewise.
44450 * include/aio.h: Likewise.
44451 * include/aliases.h: Likewise.
44452 * include/argz.h: Likewise.
44453 * include/arpa/inet.h: Likewise.
44454 * include/assert.h: Likewise.
44455 * include/dirent.h: Likewise.
44456 * include/dlfcn.h: Likewise.
44457 * include/execinfo.h: Likewise.
44458 * include/fcntl.h: Likewise.
44459 * include/fenv.h: Likewise.
44460 * include/glob.h: Likewise.
44461 * include/grp.h: Likewise.
44462 * include/libintl.h: Likewise.
44463 * include/mntent.h: Likewise.
44464 * include/netdb.h: Likewise.
44465 * include/pwd.h: Likewise.
44466 * include/rpc/netdb.h: Likewise.
44467 * include/sched.h: Likewise.
44468 * include/search.h: Likewise.
44469 * include/shadow.h: Likewise.
44470 * include/signal.h: Likewise.
44471 * include/stdio.h: Likewise.
44472 * include/stdlib.h: Likewise.
44473 * include/string.h: Likewise.
44474 * include/sys/socket.h: Likewise.
44475 * include/sys/stat.h: Likewise.
44476 * include/sys/statfs.h: Likewise.
44477 * include/sys/statvfs.h: Likewise.
44478 * include/sys/syslog.h: Likewise.
44479 * include/sys/time.h: Likewise.
44480 * include/sys/uio.h: Likewise.
44481 * include/time.h: Likewise.
44482 * include/unistd.h: Likewise.
44483 * include/utmp.h: Likewise.
44484 * include/wchar.h: Likewise.
44485 * include/wctype.h: Likewise.
44486 * inet/aliases.h: Likewise.
44487 * inet/arpa/inet.h: Likewise.
44488 * inet/netinet/ether.h: Likewise.
44489 * inet/netinet/in.h: Likewise.
44490 * intl/libintl.h: Likewise.
44491 * io/bits/fcntl2.h: Likewise.
44492 * io/fcntl.h: Likewise.
44493 * io/ftw.h: Likewise.
44494 * io/sys/poll.h: Likewise.
44495 * io/sys/stat.h: Likewise.
44496 * io/sys/statfs.h: Likewise.
44497 * io/sys/statvfs.h: Likewise.
44498 * io/utime.h: Likewise.
44499 * libio/bits/stdio.h: Likewise.
44500 * libio/bits/stdio2.h: Likewise.
44501 * libio/libio.h: Likewise.
44502 * libio/libioP.h: Likewise.
44503 * libio/stdio.h: Likewise.
44504 * locale/lc-ctype.c: Likewise.
44505 * locale/locale.h: Likewise.
44506 * login/utmp.h: Likewise.
44507 * malloc/arena.c: Likewise.
44508 * malloc/malloc.c: Likewise.
44509 * malloc/malloc.h: Likewise.
44510 * malloc/mcheck.c: Likewise.
44511 * malloc/mtrace.c: Likewise.
44512 * math/bits/mathcalls.h: Likewise.
44513 * math/fenv.h: Likewise.
44514 * math/math_private.h: Likewise.
44515 * misc/bits/error.h: Likewise.
44516 * misc/bits/syslog.h: Likewise.
44517 * misc/err.h: Likewise.
44518 * misc/error.h: Likewise.
44519 * misc/fstab.h: Likewise.
44520 * misc/mntent.h: Likewise.
44521 * misc/regexp.h: Likewise.
44522 * misc/search.h: Likewise.
44523 * misc/sgtty.h: Likewise.
44524 * misc/sys/mman.h: Likewise.
44525 * misc/sys/syslog.h: Likewise.
44526 * misc/sys/uio.h: Likewise.
44527 * misc/sys/xattr.h: Likewise.
44528 * misc/ttyent.h: Likewise.
44529 * nis/rpcsvc/ypclnt.h: Likewise.
44530 * nss/nss.h: Likewise.
44531 * posix/bits/unistd.h: Likewise.
44532 * posix/fnmatch.h: Likewise.
44533 * posix/glob.h: Likewise.
44534 * posix/sched.h: Likewise.
44535 * posix/spawn.h: Likewise.
44536 * posix/sys/wait.h: Likewise.
44537 * posix/unistd.h: Likewise.
44538 * posix/wordexp.h: Likewise.
44539 * pwd/pwd.h: Likewise.
44540 * resolv/netdb.h: Likewise.
44541 * resource/sys/resource.h: Likewise.
44542 * rt/aio.h: Likewise.
44543 * rt/bits/mqueue2.h: Likewise.
44544 * rt/mqueue.h: Likewise.
44545 * shadow/shadow.h: Likewise.
44546 * signal/signal.h: Likewise.
44547 * socket/send.c: Likewise.
44548 * socket/sendto.c: Likewise.
44549 * socket/sys/socket.h: Likewise.
44550 * stdio-common/printf.h: Likewise.
44551 * stdlib/bits/stdlib.h: Likewise.
44552 * stdlib/fmtmsg.h: Likewise.
44553 * stdlib/monetary.h: Likewise.
44554 * stdlib/stdlib.h: Likewise.
44555 * stdlib/ucontext.h: Likewise.
44556 * streams/stropts.h: Likewise.
44557 * string/argz.h: Likewise.
44558 * string/bits/string2.h: Likewise.
44559 * string/string.h: Likewise.
44560 * string/strings.h: Likewise.
44561 * sunrpc/rpc/auth.h: Likewise.
44562 * sunrpc/rpc/auth_des.h: Likewise.
44563 * sunrpc/rpc/clnt.h: Likewise.
44564 * sunrpc/rpc/netdb.h: Likewise.
44565 * sunrpc/rpc/pmap_clnt.h: Likewise.
44566 * sunrpc/rpc/xdr.h: Likewise.
44567 * sysdeps/generic/inttypes.h: Likewise.
44568 * sysdeps/generic/net/if.h: Likewise.
44569 * sysdeps/generic/sys/swap.h: Likewise.
44570 * sysdeps/gnu/net/if.h: Likewise.
44571 * sysdeps/gnu/utmpx.h: Likewise.
44572 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44573 * sysdeps/i386/i486/bits/string.h: Likewise.
44574 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44575 * sysdeps/s390/bits/string.h: Likewise.
44576 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44577 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44578 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44579 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44580 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44581 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44582 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44583 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44584 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44585 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44586 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44587 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44588 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44589 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44590 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44591 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44592 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44594 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44597 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44598 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44599 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44600 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44601 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44602 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44604 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44605 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44606 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44607 * sysvipc/sys/ipc.h: Likewise.
44608 * sysvipc/sys/msg.h: Likewise.
44609 * sysvipc/sys/sem.h: Likewise.
44610 * sysvipc/sys/shm.h: Likewise.
44611 * termios/termios.h: Likewise.
44612 * time/sys/time.h: Likewise.
44613 * time/time.h: Likewise.
44614 * wcsmbs/bits/wchar2.h: Likewise.
44615 * wcsmbs/uchar.h: Likewise.
44616 * wcsmbs/wchar.h: Likewise.
44617 * wctype/wctype.h: Likewise.
44618
0269750c
UD
44619 [BZ #13551]
44620 * Makeconfig: Remove all but ELF support including AIX support.
44621 * Makerules: Likewise.
44622 * config.h.in: Likewise.
44623 * config.make.in: Likewise.
44624 * configure: Likewise.
44625 * configure.in: Likewise.
44626 * csu/Makefile: Likewise.
44627 * csu/version.c: Likewise.
44628 * debug/Makefile: Likewise.
44629 * dlfcn/Makefile: Likewise.
44630 * elf/Makefile: Likewise.
44631 * extra-lib.mk: Likewise.
44632 * iconv/Makefile: Likewise.
44633 * include/libc-symbols.h: Likewise.
44634 * include/shlib-compat.h: Likewise.
44635 * resolv/Makefile: Likewise.
44636 * resolv/res_libc.c: Likewise.
44637 * rt/Makefile: Likewise.
44638 * sysdeps/i386/asm-syntax.h: Likewise.
44639 * sysdeps/i386/sysdep.h: Likewise.
44640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44641 * sysdeps/mach/sysdep.h: Likewise.
44642 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44643 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44644 * sysdeps/s390/asm-syntax.h: Likewise.
44645 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44646 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44647 * sysdeps/sh/sysdep.h: Likewise.
44648 * sysdeps/unix/sparc/sysdep.h: Likewise.
44649 * sysdeps/wordsize-32/divdi3.c: Likewise.
44650 * sysdeps/x86_64/sysdep.h: Likewise.
44651
00bbd29b
UD
44652 * argp/Versions: Remove _argp_unlock_xxx.
44653
44654 [BZ #13559]
44655 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44656 * abilist/libBrokenLocale.abilist: Likewise.
44657 * abilist/libanl.abilist: Likewise.
44658 * abilist/libc.abilist: Likewise.
44659 * abilist/libcrypt.abilist: Likewise.
44660 * abilist/libdl.abilist: Likewise.
44661 * abilist/libm.abilist: Likewise.
44662 * abilist/libnsl.abilist: Likewise.
44663 * abilist/libpthread.abilist: Likewise.
44664 * abilist/libresolv.abilist: Likewise.
44665 * abilist/librt.abilist: Likewise.
44666 * abilist/libthread_db.abilist: Likewise.
44667 * abilist/libutil.abilist: Likewise.
44668 * abilist/libnss_db.abilist: New file.
44669
44670 * scripts/abilist.awk: Add support for indirect functions.
44671
a2693a0e
UD
44672 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44673
3f05895f
UD
44674 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44675
ecb6fb48
UD
44676 * shlib-versions: Remove entries for ports architectures.
44677
664f8cb9
UD
44678 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44679 files in ports.
44680 * elf/stackguard-macros.h: Remove support for IA-64.
44681 * elf/tst-auditmod1.c: Likewise.
44682 * sysdeps/generic/ldsodefs.h: Likewise.
44683
7ae81d88
UD
44684 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44685 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44686 configure files.
44687
bdeba135
UD
44688 [BZ #13552]
44689 * configure.in: Remove --enable-omitfp support.
44690 * FAQ.in: Adjust.
44691 * config.make.in: Likewise.
44692 * Makeconfig: Likewise.
44693 * manual/install.texi: Likewise.
44694
d75a0a62
UD
44695 In case anyone cares, the IA-64 architecture could move to ports.
44696 * sysdeps/ia64/*: Removed.
44697 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44698 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44699
dcc9756b
UD
44700 [BZ #13555]
44701 * configure.in: Remove entries for unsupported architectures.
44702
d3761ebc 44703 [BZ #13533]
9954432e
UD
44704 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44705 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44706 routines.
44707 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44708 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44709 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44710 fall back to using wcrtomb.
44711 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44712 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44713 renaming.
44714 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44715 * wcsmbs/tst-c16c32-1.c: New file.
44716
44717 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44718 local variable.
44719
c3a87236
UD
44720 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44721
28926a1b
UD
44722 * elf/tst-unique3.cc: Add explicit declaration of gets.
44723 * elf/tst-unique3lib.cc: Likewise.
44724 * elf/tst-unique3lib2.cc: Likewise.
44725 * elf/tst-unique4.cc: Likewise.
44726
df78418a
UD
44727 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44728
8ecd6b2a
JM
447292012-01-06 Joseph Myers <joseph@codesourcery.com>
44730
44731 [BZ #13566]
44732 * assert/assert.h (static_assert): Don't define for C++.
44733 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44734 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44735
9f115170
UD
447362012-01-03 Ulrich Drepper <drepper@gmail.com>
44737
5e0d0300
UD
44738 * iconv/loop.c (single loop): Fix assertion in storing of
44739 remaining bytes.
44740
9f115170
UD
44741 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44742
81fb02b0
UD
447432012-01-01 Ulrich Drepper <drepper@gmail.com>
44744
44745 * posix/getconf.c: Update copyright year.
44746 * nss/getent.c: Likewise.
a316c1f6 44747 * nss/makedb.c: Likewise.
81fb02b0
UD
44748 * iconv/iconvconfig.c: Likewise.
44749 * iconv/iconv_prog.c: Likewise.
44750 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44751 * elf/pldd.c: Likewise.
44752 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44753 * catgets/gencat.c: Likewise.
44754 * csu/version.c: Likewise.
44755 * elf/ldd.bash.in: Likewise.
44756 * elf/sprof.c (print_version): Likewise.
44757 * locale/programs/locale.c: Likewise.
44758 * locale/programs/localedef.c: Likewise.
a316c1f6 44759 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44760 * nscd/nscd.c (print_version): Likewise.
44761 * debug/xtrace.sh: Likewise.
44762 * malloc/memusage.sh: Likewise.
44763 * malloc/mtrace.pl: Likewise.
44764 * debug/catchsegv.sh: Likewise.
44765
2ba92745
JJ
447662011-12-30 Jakub Jelinek <jakub@redhat.com>
44767
44768 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44769 pure attribute.
44770
dadebdae
UD
447712011-12-24 Ulrich Drepper <drepper@gmail.com>
44772
d3761ebc 44773 [BZ #13533]
db6af3eb
UD
44774 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44775 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44776 transformations.
44777 * iconv/gconv_int.h: Likewise.
44778 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44779 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44780 from libc for GLIBC_2.16.
44781 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44782 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44783 * wcsmbs/uchar.h: Really define mbstate_t.
44784 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44785 * wcsmbs/c16rtomb.c: New file.
44786 * wcsmbs/mbrtoc16.c: New file.
44787 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44788 for C/POSIX locale.
44789 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44790 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44791
dadebdae
UD
44792 * wcsmbs/wchar.h: Add missing __restrict.
44793
67371b56
UD
447942011-12-23 Ulrich Drepper <drepper@gmail.com>
44795
74033a25
UD
44796 [BZ #13532]
44797 * time/Makefile (routines): Add timespec_get.
44798 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44799 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44800 timespec for ISO C11.
44801 * time/timespec_get.c: New file.
44802 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44803 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44804
380d7e87
UD
44805 [BZ #13531]
44806 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44807 * stdlib/stdlib.h: Declare aligned_alloc.
44808 * Versions.def: Add GLIBC_2.16 for libc.
44809 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44810
4e9e7a35
UD
44811 [BZ 13527]
44812 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44813 ISO C11.
44814
380d7e87 44815 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44816 code.
44817
03a71829
UD
44818 [BZ #13528]
44819 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44820
839e283e
UD
44821 [BZ #13529]
44822 * assert/assert.h (static_assert): Define.
44823
ce5294e2 44824 * version.h: Update for 2.16 development version.
90fa7312 44825
8d44e150 44826 [BZ #13526]
d7809905
UD
44827 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44828 _ISOC11_SOURCE.
44829
c0da14cd
UD
44830 * version.h (RELEASE): Bump for 2.15 release.
44831 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44832
530a3249
MP
44833 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44834 Patch by Marek Polacek <mpolacek@redhat.com>.
44835
67371b56
UD
44836 * bits/byteswap.h: Protect long long constants with __extension__.
44837 * sysdeps/i386/bits/byteswap.h: Likewise.
44838 * sysdeps/ia64/bits/byteswap.h: Likewise.
44839 * sysdeps/s390/bits/byteswap.h: Likewise.
44840 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44841
15db4de1
LD
448422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44843
44844 [BZ #13540]
bbe315ea
LD
44845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44846 destination buffer.
15db4de1
LD
44847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44848
2b2596b1
MP
448492011-12-23 Marek Polacek <polacek@redhat.com>
44850
44851 * elf/dl-addr.c (determine_info): Add inline keyword.
44852 * elf/tst-auditmod4b.c (check_avx): Likewise.
44853 * elf/tst-auditmod6b.c (check_avx): Likewise.
44854 * elf/tst-auditmod6c.c (check_avx): Likewise.
44855 * elf/tst-auditmod7b.c (check_avx): Likewise.
44856
70c6c246
UD
448572011-12-23 Ulrich Drepper <drepper@gmail.com>
44858
44859 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44860 !__SSE_MATH__.
44861
c044cf14
LD
448622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44863
15db4de1 44864 [BZ #13540]
c044cf14
LD
44865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44866 processing for last bytes.
44867
6b13d9d9
BH
448682011-08-06 Bruno Haible <bruno@clisp.org>
44869
d455f537
BH
44870 [BZ #13061]
44871 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44872 U+0385, not to U+1FEE.
44873
6b13d9d9
BH
44874 [BZ #13062]
44875 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44876 entry for U+00A5 U+0301.
44877
db910efd
UD
448782011-12-22 Ulrich Drepper <drepper@gmail.com>
44879
27deeafc
UD
44880 [BZ #13166]
44881 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44882 buffer for the output is too small.
44883
aed9d171
UD
44884 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44885 optimization.
44886
db910efd
UD
44887 [BZ #13185]
44888 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44889 SSE flags if possible.
44890
2bd779ae
LD
448912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44892
e7f9dac3 44893 [BZ #13540]
2bd779ae
LD
44894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44895 processing for last bytes.
44896
154bfc16
JM
448972011-12-22 Joseph Myers <joseph@codesourcery.com>
44898
44899 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44900 (syscall-list-default-options, syscall-list-default-condition)
44901 (syscall-list-includes): Define.
44902 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44903 list of ABIs and options and #if conditions for each ABI. Do not
44904 handle common syscalls between ABIs specially.
44905 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44906 Remove.
44907 (syscall-list-variants, syscall-list-32bit-options)
44908 (syscall-list-32bit-condition, syscall-list-64bit-options)
44909 (syscall-list-64bit-condition): Define.
44910 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
44915 Remove.
44916 (syscall-list-variants, syscall-list-32bit-options)
44917 (syscall-list-32bit-condition, syscall-list-64bit-options)
44918 (syscall-list-64bit-condition): Define.
44919 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44920 Remove.
44921 (syscall-list-variants, syscall-list-32bit-options)
44922 (syscall-list-32bit-condition, syscall-list-64bit-options)
44923 (syscall-list-64bit-condition): Define.
44924
21eaf3a5
UD
449252011-12-22 Ulrich Drepper <drepper@gmail.com>
44926
16c6f992
UD
44927 * locale/iso-639.def: Add brx entry.
44928
41043168
UD
44929 [BZ #13328]
44930 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44931 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44932
21eaf3a5
UD
44933 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44934 __feraiseexcept_renamed.
44935
e3a851a2
UD
449362011-12-21 Ulrich Drepper <drepper@gmail.com>
44937
4920765e
UD
44938 [BZ #13538]
44939 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44940 EPOLLET with unsigned values.
44941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44942 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44943
e3a851a2
UD
44944 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44945 to large cancellation.
44946 * math/s_cacoshf.c: Likewise.
44947 * math/s_cacoshl.c: Likewise.
44948
b27e24b8
RK
449492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44950
44951 [BZ #13305]
aebefeee 44952 [BZ #12786]
b27e24b8
RK
44953 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44954 * math/s_cacoshf.c: Likewise.
44955 * math/s_cacoshl.c: Likewise.
44956
ee190f67
UD
449572011-12-21 Ulrich Drepper <drepper@gmail.com>
44958
44959 [BZ #13439]
44960 * iconv/gconv.h: Define __GCONV_SWAP.
44961 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44962 * iconvdata/utf-16.c: Likewise.
44963 * iconvdata/utf-32.c: Likewise.
44964
707f25df
AS
449652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44966
44967 [BZ #13524]
44968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44969 numerator after shifting it by one limb.
44970
d2daaa1e
RÁE
449712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44972
44973 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44974 under [__USE_EXTERN_INLINES].
44975
a4647e72
UD
449762011-12-17 Ulrich Drepper <drepper@gmail.com>
44977
44978 [BZ #13446]
44979 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44980
f0b264f1
AZ
449812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44982
44983 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44984 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44985 optimized code.
44986 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44987 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44988 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44989 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44990 for strncasecmp/strncasecmp_l compilation.
44991 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44992 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44993
8ef4f244
MP
449942011-12-08 Marek Polacek <mpolacek@redhat.com>
44995
44996 [BZ #13484]
44997 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44998 of __asm__.
44999
97ac2654
UD
450002011-12-17 Ulrich Drepper <drepper@gmail.com>
45001
45002 [BZ #13506]
45003 * time/tzfile.c (__tzfile_read): Check values from file header.
45004
91d2a845
WS
450052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45006
45007 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45008 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45009 * powerpc/powerpc32/dl-start.S: Likewise.
45010 * powerpc/powerpc32/elf/start.S: Likewise.
45011 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45012 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45013 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45014 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45015 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45016 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45017 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45018 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45019 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45020 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45021 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45022 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45023 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45024 * powerpc/powerpc32/memset.S: Likewise.
45025 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45026 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45027 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45028 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45029 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45030 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45031 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45032 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45033 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45034 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45035 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45036 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45037 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45038
a1267ba1
AZ
450392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45040
45041 * math/libm-test.inc: Added more nearbyint tests.
45042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45046
ad8ac1bd
RL
450472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45048
45049 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45050 FD_CLOEXEC.
45051
1d3e4b61
UD
450522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45053
45054 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45055 Add wcscpy-ssse3 wcscpy-c.
45056 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45057 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45058 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45059 * sysdeps/x86_64/wcschr.S: New file.
45060 * sysdeps/x86_64/wcsrchr.S: New file.
45061 * string/test-strcmp.c: Remove checking of wcscmp function for
45062 wrong alignments.
45063 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45064 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45065 wcsrchr-sse2 wcsrchr-c.
45066 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45067 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45068 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45069 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45070 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45071 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45072 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45073 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45074 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45075 * wcsmbc/wcschr.c (WCSCHR): New macro.
45076
5b330a2d
UD
450772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45078
45079 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45080 * wcsmbs/test-wcsrchr.c: New file.
45081 * string/test-strrchr.c: Add wcsrchr support.
45082 (WIDE): New macro.
45083 * wcsmbs/test-wcscpy.c: New file.
45084 * string/test-strcpy.c: Add wcscpy support.
45085 (WIDE): New macro.
26428b7c 45086
f039c043
UD
450872011-12-10 Ulrich Drepper <drepper@gmail.com>
45088
45089 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45090 the inner loop.
45091
850fb039
AS
450922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45093
45094 [BZ #13472]
45095 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45096
4efbd5cb
UD
450972011-12-04 Ulrich Drepper <drepper@gmail.com>
45098
52ff5dd0 45099 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45100 Minor optimizations.
52ff5dd0 45101
4efbd5cb
UD
45102 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45103 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45104 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45105
8a426e12
UD
451062011-12-03 Ulrich Drepper <drepper@gmail.com>
45107
aff2453d
UD
45108 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45109 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45110 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45111 for gcc to avoid warnings.
45112 * inet/Makefile (tests): Add tst-checks.
45113 * inet/tst-checks.c: New file.
45114
45115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45116 warning.
45117
45118 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45119 __wmemcmp_sse2.
45120
45121 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45122 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45123
8a426e12
UD
45124 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45125
9bea3473
UD
451262011-12-02 Ulrich Drepper <drepper@gmail.com>
45127
3a965496
UD
45128 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45129 problem.
45130
9bea3473
UD
45131 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45132
f101631b
UD
451332011-11-29 Joseph Myers <joseph@codesourcery.com>
45134
45135 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45136 conditional on GCC version.
45137 (__arch_compare_and_exchange_val_8_acq)
45138 (__arch_compare_and_exchange_val_16_acq)
45139 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45140 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45141 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45142
a98275aa
UD
451432011-12-02 Joseph Myers <joseph@codesourcery.com>
45144
45145 * sysdeps/sh/backtrace.c: New file.
45146
d4cc29a2
AS
451472011-12-02 Andreas Schwab <schwab@redhat.com>
45148
45149 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45150 parenthesis.
45151
6257af2d
AS
451522011-12-01 Andreas Schwab <schwab@redhat.com>
45153
45154 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45155 falling back to utime.
45156
b5f44c1a
AS
451572011-11-30 Andreas Schwab <schwab@redhat.com>
45158
45159 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45160 expectations for float.
45161
f3a6cc0a
AS
451622011-11-29 Andreas Schwab <schwab@redhat.com>
45163
45164 * locale/weight.h (findidx): Add parameter len.
45165 * locale/weightwc.h (findidx): Likewise.
45166 * posix/fnmatch_loop.c (FCT): Adjust caller.
45167 * posix/regcomp.c (build_equiv_class): Likewise.
45168 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45169 * posix/regexec.c (check_node_accept_bytes): Likewise.
45170 * string/strcoll_l.c (STRCOLL): Likewise.
45171 * string/strxfrm_l.c (STRXFRM): Likewise.
45172
9d65ea3a
UD
451732011-11-17 Ulrich Drepper <drepper@gmail.com>
45174
45175 * Makefile.in: Remove CVSOPT handling.
45176 * configure.in: Remove use of AC_REVISION.
45177 * iconvdata/Makefile (distribute): No need to filter out CVS.
45178 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45179 handling.
45180
5583a086
AS
451812011-11-16 Andreas Schwab <schwab@redhat.com>
45182
45183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45184 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45185 [USE_AS_STRNCASECMP_L]: Likewise.
45186 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45187 NO_TLS_DIRECT_SEG_REFS.
45188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45189 Fix argument offsets for non-PIC.
45190 [USE_AS_STRNCASECMP_L]: Likewise.
45191 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45192 NO_TLS_DIRECT_SEG_REFS.
45193
d62a8200
UD
451942011-11-15 Ulrich Drepper <drepper@gmail.com>
45195
9d65ea3a 45196 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45197 O_CLOEXEC.
45198 * locale/loadlocale.c (_nl_load_locale): Likewise.
45199
09f93bd3
AS
452002011-11-15 Andreas Schwab <schwab@redhat.com>
45201
446514f9
AS
45202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45203 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45204 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45205 (SYSCALL_GETTIME): Set errno on error.
45206
09f93bd3
AS
45207 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45208 count references to noai6ai_cached.
45209
312be3f9
UD
452102011-11-15 Ulrich Drepper <drepper@gmail.com>
45211
45212 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45213
45214 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45215 FD_CLOEXEC for /proc/self/maps.
45216
45217 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45218 FD_CLOEXEC for /proc/meminfo.
45219
45220 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45221 gai.conf.
45222
45223 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45224 FD_CLOEXEC for given file.
45225
45226 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45227
45228 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45229 FD_CLOEXEC for /etc/hosts.
45230 (_gethtent): Likewise.
45231
45232 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45233
45234 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45235 cancellation and set FD_CLOEXEC for /etc/netgroup.
45236
45237 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45238 reading /etc/publickey.
45239
45240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45241 allow cancellation when reading /etc/group.
45242
45243 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45244 cancellation.
45245 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45246
45247 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45248 when using data file.
45249
45250 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45251
45252 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45253 (write_nis_obj): Use "c" and "e" in fopen.
45254
45255 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45256
45257 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45258
45259 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45260
45261 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45262
45263 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45264 locale.alias.
45265
45266 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45267
45268 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45269
45270 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45271
45272 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45273 file parsing and set FD_CLOEXEC.
45274
82af0fa8
UD
452752011-11-14 Ulrich Drepper <drepper@gmail.com>
45276
45277 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45278
a5fb313c
AS
452792011-11-14 Andreas Schwab <schwab@redhat.com>
45280
45281 * malloc/arena.c (arena_get2): Don't call reused_arena when
45282 _int_new_arena failed.
45283
6abf3465
UD
452842011-11-14 Ulrich Drepper <drepper@gmail.com>
45285
45286 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45287 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45288 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45289 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45290 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45292 to compile strcasecmp and strncasecmp.
45293 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45294 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45295
45296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45297
76e3966e
UD
452982011-11-13 Ulrich Drepper <drepper@gmail.com>
45299
45300 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45301 locale-defines.sym to gen-as-const-headers.
45302 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45303 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45305 to compile strcasecmp and strncasecmp.
45306 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45307 strcasecmp_l and strncasecmp_l.
45308 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45309 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45310 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45311 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45312 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45313 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45314 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45315 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45316 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45317 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45318 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45319
ab26144e
UD
453202011-11-12 Ulrich Drepper <drepper@gmail.com>
45321
7edb22ef
UD
45322 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45323 result of SYSDEP_GETTIME_CPU to retval.
45324 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45325 parameter list to macro. Remove trailing semicolon. Adjust users.
45326
9694fc44
UD
45327 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45328 variable.
45329
8ad89ef8
UD
45330 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45331 mantissa words.
45332 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45333
0c822ef9
UD
45334 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45335 from unused variable.
45336
874e0564
UD
45337 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45338 DWARF definitions.
45339 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45340 for assembling.
45341
3a2edc79
UD
45342 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45343 over namespaces.
45344
f3c2577f
UD
45345 * sunrpc/rpc_prot.c (rejected): Fix case value.
45346
294ce126
UD
45347 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45348 unsigned long long int to avoid warnings in shift.
45349
5e2b63c6
UD
45350 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45351 of use of trans.
45352 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45353 variable tmp.
45354
e7f4b08e
UD
45355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45356 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45358
ab26144e
UD
45359 * nis/nis_table.c (nis_list): Use variable of correct type for
45360 result of __follow_path call.
45361
8a6d5255
AZ
453622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45363
45364 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45365 of math functions ceil, trunc, floor, round, and sqrt, when
45366 avaliable on the platform.
45367 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45368 name clash.
45369 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45370 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45371 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45372
aaddc98c
MP
453732011-10-30 Marek Polacek <mpolacek@redhat.com>
45374
45375 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45376 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45377
95b7042b
RM
453782011-11-11 Roland McGrath <roland@hack.frob.com>
45379
45380 * include/unistd.h: Fix __readlink return type.
45381 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45382
57769839
UD
453832011-11-11 Ulrich Drepper <drepper@gmail.com>
45384
45385 * stdlib/ucontext.h: Undo last change for makecontext.
45386
edc5984d
AS
453872011-11-11 Andreas Schwab <schwab@redhat.com>
45388
98591e58
AS
45389 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45390
edc5984d
AS
45391 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45392 * setjmp/setjmp.h: Mark functions as non-leaf.
45393 * setjmp/bits/setjmp2.h: Likewise.
45394 * stdlib/ucontext.h: Likewise.
45395
77cdc054
AS
453962011-11-10 Andreas Schwab <schwab@redhat.com>
45397
45398 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45399 (reused_arena): Don't check arena limit.
45400 (arena_get2): Atomically check arena limit.
45401
fe72eebd
UD
454022011-11-08 Ulrich Drepper <drepper@gmail.com>
45403
5f078c32
UD
45404 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45405 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45406
fe72eebd
UD
45407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45408 instructions.
45409
ae1bc2fa
AS
454102011-11-07 Andreas Schwab <schwab@redhat.com>
45411
7583a88d
AS
45412 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45413 handler when locking.
45414
ae1bc2fa
AS
45415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45416 Fix size of allocated buffer.
45417
10fb0bfa
AS
454182011-11-04 Andreas Schwab <schwab@redhat.com>
45419
998832a4
AS
45420 [BZ #10103]
45421 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45422 declarations for long double functions.
45423 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45424
10fb0bfa
AS
45425 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45426
3d7ba52b
AS
454272011-11-03 Andreas Schwab <schwab@redhat.com>
45428
a9ae54a1
AS
45429 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45430 installed.
45431
3d7ba52b
AS
45432 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45433 is disabled.
45434
bc8db248
ST
454352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45436
45437 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45438
45b96dd6
AS
454392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45440
647776f6
AS
45441 * include/alloca.h (stackinfo_alloca_round): Define.
45442 (extend_alloca): Use it.
45443 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45444 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45445 here.
45446
d91a8b93
AS
45447 * scripts/check-local-headers.sh: Ignore libaudit.h.
45448
45b96dd6
AS
45449 * nscd/Makefile (extra-objs): Make recursively expanded.
45450
432d41ce
UD
454512011-11-01 Ulrich Drepper <drepper@gmail.com>
45452
34372fc6
UD
45453 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45454 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45455
fadb59f8
UD
45456 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45457 * posix/tst-rfc3484-2.c: Likewise.
45458 * posix/tst-rfc3484-3.c: Likewise.
45459
78239589
UD
45460 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45461 process_vm_writev.
45462 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45463 process_vm_writev.
45464 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45465 process_vm_writev from libc using GLIBC_2.15 version.
45466
432d41ce
UD
45467 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45468
02f9c6cf
PP
454692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45470
45471 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45472 stack usage.
45473
3a2c0242
UD
454742011-10-31 Ulrich Drepper <drepper@gmail.com>
45475
f4ec4833
UD
45476 [BZ #13367]
45477 * nss/getent.c (initgroups_keys): Show error message in case no group
45478 names are given.
45479
3a2c0242
UD
45480 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45481 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45482 __bump_nl_timestamp.
45483 * nscd/connections (nscd_init): When host database is served open
45484 netlink socket and request notification about configuration changes.
45485 (main_loop_poll): Track netlink file descriptor and bump timestamp
45486 in case data becomes available.
45487 (main_loop_epoll): Likewise.
45488 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45489 (database_pers_head): Add extra_data fileds.
45490 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45491 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45492 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45493 Adjust caller.
45494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45495 in6ai data, call __free_in6ai.
45496 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45497 Add -DHAVE_NETLINK.
45498 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45499 interface information. Reuse previous data if netlink timestamp
45500 is not changed.
45501 (__bump_nl_timestamp): New function.
45502 (__free_in6ai): New function.
45503
636064eb
UD
455042011-10-30 Ulrich Drepper <drepper@gmail.com>
45505
45506 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45507 close_not_cancel_no_status here.
45508 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45509
9beb2334
UD
455102011-10-29 Ulrich Drepper <drepper@gmail.com>
45511
6ef76f3b
UD
45512 [BZ #13276]
45513 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45514 return value.
45515
0ffc4f3e 45516 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45517 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45518 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45519
cb95113e
UD
455202011-07-03 Andreas Jaeger <aj@suse.de>
45521
45522 [BZ #10709]
45523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45524 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45525 * math/libm-test.inc (sin_test): Add test case.
45526
a1b560ff
UD
455272011-10-29 Ulrich Drepper <drepper@gmail.com>
45528
c9aaface
UD
45529 [BZ #13337]
45530 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45531 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45532
d272e7f1
UD
45533 * elf/chroot_canon.c (chroot_canon): Cleanups.
45534
1bc33071
UD
45535 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45536
1760874d
TJ
45537 [BZ #13335]
45538 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45539 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45540
51d91b18
UD
45541 * string/test-strchr.c: Make usable for strchrnul testing.
45542 * string/test-strchrnul.c: New file.
45543 * string/Makefile (strop-tests): Add strchrnul.
45544
a1b560ff 45545 * po/it.po: Update from translation team.
b611fb81 45546 * po/es.po: Likewise.
a1b560ff 45547
a5b81e1f
UD
455482011-10-28 Ulrich Drepper <drepper@gmail.com>
45549
fd52bc6d
UD
45550 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45551 the three constants needed as parameters. Drop the others.
45552 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45553 __m128i_strloadu_tolower.
52e4b9eb
UD
45554 Create and initialize variable zero and use it in all the places
45555 where _mm_setzero_si128 was used.
fd52bc6d 45556
a5b81e1f
UD
45557 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45558 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45559 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45560 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45561 anymore.
45562 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45565 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45566 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45567 __mpranred, __mptan.
45568 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45569 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45570 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45571 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45575 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45576 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45577
b4343346
AS
455782011-10-28 Andreas Schwab <schwab@redhat.com>
45579
0c92d8a8
AS
45580 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45581 redefine if SHARED.
45582 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45583
b4343346
AS
45584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45585 wide char related routines to wcsmbs subdir.
45586
3871f58f
AS
455872011-10-27 Andreas Schwab <schwab@redhat.com>
45588
45589 [BZ #13344]
45590 * misc/sys/cdefs.h (__THROWNL): Define.
45591 * posix/unistd.h: Use __THREADNL instead of __THREAD
45592 for memory synchronization functions.
45593
94d44d9f
RM
455942011-10-26 Roland McGrath <roland@hack.frob.com>
45595
21b64b15 45596 [BZ #13349]
94d44d9f
RM
45597 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45598 doesn't exist.
45599 * manual/stdio.texi (Obstack Streams): Node removed.
45600
f6ce9294
AS
456012011-10-26 Andreas Schwab <schwab@redhat.com>
45602
80479147
AS
45603 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45604 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45606
f6ce9294
AS
45607 * math/math_private.h (math_force_eval): Allow non-addressable
45608 arguments.
45609 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45610
618280a1
UD
456112011-10-25 Ulrich Drepper <drepper@gmail.com>
45612
e0016b11
UD
45613 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45614 file is not needed.
45615
45616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45619 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45623 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45624 Add AVX variants.
45625 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45626 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45627 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45628 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45629 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45630 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45631 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45632 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45633 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45634 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45635 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45636 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45638 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45639 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45640 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45641 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45642 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45643 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45644
45645 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45646 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45647
618280a1
UD
45648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45649 place. Use VEX encoding when compiling for AVX.
45650
37822576
AS
456512011-10-25 Andreas Schwab <schwab@redhat.com>
45652
1f1e1947
AS
45653 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45654 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45655
37822576
AS
45656 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45657
31ea014d
UD
456582011-10-25 Ulrich Drepper <drepper@gmail.com>
45659
d7826aa1 45660 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45661 useless if() expression.
d7826aa1
UD
45662 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45663 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45666 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45667 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45668 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45670 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45673 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45674 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45676 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45680 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45681
31ea014d
UD
45682 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45683
16437fec
AS
456842011-10-25 Andreas Schwab <schwab@redhat.com>
45685
45686 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45687 condition.
45688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45689
31d3cc00
UD
456902011-10-25 Ulrich Drepper <drepper@gmail.com>
45691
45692 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45693 .text section. Avoid duplicate constants.
45694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45702 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45703 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45705 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45706 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45707 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45708 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45710 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45711 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45714 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45715 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45716 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45717 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45718 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45719 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45720 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45721 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45722 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45723 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45724 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45734 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45735 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45736 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45737 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45738 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45739
58985aa9
UD
457402011-10-24 Ulrich Drepper <drepper@gmail.com>
45741
202c9deb
UD
45742 * sysdeps/x86_64/dla.h: Move to ...
45743 * sysdeps/x86_64/fpu/dla.h: ...here.
45744 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45745 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45746
af968f62
UD
45747 * config.make.in: Add have-mfma4 entry.
45748 * configure.in: Substitute libc_cv_cc_fma4.
45749 * math/Makefile (dbl-only-routines): Add sincostab.
45750 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45751 Use __sincostab not sincos.
45752 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45753 name is a macro.
45754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45758 using __copysign.
45759 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45760 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45761 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45762 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45763 and __inv.
45764 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45765 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45766 __copysign.
45767 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45768 define aliases when function name is a macro.
45769 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45770 sysdeps/ieee754/dbl-64/sincos.tbl.
45771 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45772 fma4-enabled routines.
45773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45774 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45775 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45776 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45778 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45780 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45782 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45783 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45784 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45785 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45786 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45788 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45789 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45790 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45791 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45793 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45794 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45800 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45801 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45802 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45803
58985aa9
UD
45804 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45805 rename.
45806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45814
a201fbcf
AS
458152011-10-24 Andreas Schwab <schwab@redhat.com>
45816
45817 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45818
fc2ee42a
LD
458192011-10-23 Ulrich Drepper <drepper@gmail.com>
45820
bb3129bd
UD
45821 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45822
0275fff8
UD
45823 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45824 prediction.
45825 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45826
2fa2ae85
UD
45827 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45828 Remove unused variable magic_bits.
45829 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45830
fc2ee42a
LD
45831 * string/strnlen.c: Define and use STRNLEN macro.
45832 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45833 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45835 * wcsmbs/wcslen.c: Define and use WCSLEN.
45836 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45837 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45838 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45839 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45840 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45841 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45843
ce7dd29f
LD
458442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45845
45846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45847 strnlen-sse2-no-bsf.
45848 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45849 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45850 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45851 Add strnlen support.
45852 (USE_AS_STRNLEN): New macro.
45853 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45854 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45855 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45856 * sysdeps/x86_64/wcslen.S: New file.
45857
979c70a3
MZ
458582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45859
45860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45861 XMM-moves are used for copying on small sizes.
45862
2d09f82f
LD
458632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45864
45865 * wcsmbs/Makefile (strop-tests): Add wcschr.
45866 * wcsmbs/test-wcschr.c: New file.
45867 * string/test-strchr.c: Update.
45868 Add wcschr support.
45869 (WIDE): New macro.
45870
619fccca
LD
458712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45872
2d09f82f 45873 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45874 * wcsmbs/test-wcslen.c: New file.
45875 * string/test-strlen.c: Update.
45876 Add wcslen support.
45877 (WIDE): New macro.
45878
09f699ea
UD
458792011-10-23 Ulrich Drepper <drepper@gmail.com>
45880
45881 * po/it.po: Update from translation team.
45882
95584d3b
LD
458832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45884
45885 * sysdeps/x86_64/wcscmp.S: Update.
45886 Fix wrong comparison semantics.
45887 wcscmp shall use signed comparison not unsigned.
45888 Don't use substraction to avoid overflow bug.
45889 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45890 * wcsmbc/wcscmp.c: Likewise.
45891 * string/test-strcmp.c: Likewise.
45892 Add new tests to check cases with negative values.
45893
c8b3296b
UD
458942011-10-23 Ulrich Drepper <drepper@gmail.com>
45895
45896 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45897 * sysdeps/x86_64/dla.h: ...here. New file.
45898 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45907
246ad57a
AS
459082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45909
45910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45911 __ynl_finite aliases.
45912
a1a87169
UD
459132011-10-22 Ulrich Drepper <drepper@gmail.com>
45914
0d355eb7
UD
45915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45916
a1a87169
UD
45917 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45918 define DLA_FMA.
45919 [DLA_FMA] (EMULV): Use DLA_FMA.
45920 [DLA_FMA] (MUL12): Use EMULV.
45921 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45922 that are not needed.
45923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45930
ee2aafe0
AS
459312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45932
45933 * math/s_nan.c: Undef __nan.
45934 * math/s_nanf.c: Undef __nanf.
45935 * math/s_nanl.c: Undef __nanl.
45936 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45937 "math_private.h".
45938
bc62c2fb
UD
459392011-10-22 Ulrich Drepper <drepper@gmail.com>
45940
77425c63
UD
45941 * math/s_catan.c: Add branch predictions.
45942 * math/s_catanf.c: Likewise.
45943 * math/s_catanh.c: Likewise.
45944 * math/s_catanhf.c: Likewise.
45945 * math/s_catanhl.c: Likewise.
45946 * math/s_catanl.c: Likewise.
45947 * math/s_cexp.c: Likewise.
45948 * math/s_cexpf.c: Likewise.
45949 * math/s_cexpl.c: Likewise.
45950 * math/s_clog.c: Likewise.
45951 * math/s_clog10.c: Likewise.
45952 * math/s_clog10f.c: Likewise.
45953 * math/s_clog10l.c: Likewise.
45954 * math/s_clogf.c: Likewise.
45955 * math/s_clogl.c: Likewise.
45956 * math/s_csqrt.c: Likewise.
45957 * math/s_csqrtf.c: Likewise.
45958 * math/s_csqrtl.c: Likewise.
45959 * math/s_ctanf.c: Likewise.
45960 * math/s_ctanh.c: Likewise.
45961 * math/s_ctanhf.c: Likewise.
45962 * math/s_ctanhl.c: Likewise.
45963 * math/s_ctanl.c: Likewise.
45964
bc62c2fb
UD
45965 * math/math_private.h: Define __nan, __nanf, __nanl.
45966 * math/s_cacosh.c: Include <math_private.h>.
45967 * math/s_cacoshl.c: Likewise.
45968 * math/s_casinh.c: Likewise.
45969 * math/s_casinhf.c: Likewise.
45970 * math/s_casinhl.c: Likewise.
45971 * math/s_ccos.c: Rely entire on ccosh.
45972 * math/s_ccosf.c: Rely entire on ccoshf.
45973 * math/s_ccosl.c: Rely entirely on ccoshl.
45974 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45975 Remove tests for FE_INVALID.
45976 * math/s_ccoshf.c: Likewise.
45977 * math/s_ccoshl.c: Likewise.
45978 * math/s_csin.c: Likewise.
45979 * math/s_csinf.c: Likewise.
45980 * math/s_csinh.c Likewise.
45981 * math/s_csinhf.c: Likewise.
45982 * math/s_csinhl.c: Likewise.
45983 * math/s_csinl.c: Likewise.
45984 * math/s_ctan.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45986 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45987 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45988
8ec250a4
UD
459892011-10-21 Ulrich Drepper <drepper@gmail.com>
45990
c196fed8
UD
45991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45992 compilation problems.
45993
8ec250a4
UD
45994 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45995 __builtin_expect.
45996
8d4f46c6
UD
459972011-10-20 Ulrich Drepper <drepper@gmail.com>
45998
ed72b654
UD
45999 * sysdeps/i386/configure.in: Test for -mfma4 option.
46000 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46001 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46002 COMMON_CPUID_INDEX_80000001.
46003 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46004 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46005 use it if FMA3 is not supported.
46006 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46007
8d4f46c6
UD
46008 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46009 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46010
d45c60c2
AS
460112011-10-20 Andreas Schwab <schwab@redhat.com>
46012
46013 [BZ #12892]
46014 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46015 it would create a cycle with a link time dependency.
46016
d9a4d2ab
UD
460172011-10-19 Ulrich Drepper <drepper@gmail.com>
46018
855d1560
UD
46019 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46020 instruction.
46021 * string/Makefile (strop-tests): Add rawmemchr.
46022 * string/test-rawmemchr.c: New file.
46023
d9a4d2ab
UD
46024 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46026 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46027 when compiling str{,n}casecmp and when AVX is available. Hook up
46028 new optimized code in initializers.
46029
8f3b1ffe
AS
460302011-10-19 Andreas Schwab <schwab@redhat.com>
46031
46032 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46033 __feraiseexcept instead of feraiseexcept.
46034
d38f1dba
UD
460352011-10-18 Ulrich Drepper <drepper@gmail.com>
46036
d9a8d0ab
UD
46037 * math/math_private.h: Define defaults for libc_fetestexcept and
46038 libc_feupdateenv.
46039 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46040 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46041 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46042 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46043 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46044 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46045 libc_fetestexcept and libc_feupdateenv.
46046
4855e3dd
UD
46047 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46048 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46049 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46050 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46051 libc_feholdexcept_setround.
46052
581d30e3
UD
46053 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46054 Add s_nearbyint-c and s_nearbyintf-c.
46055 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46056 nearbyintf inlines.
46057 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46058 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46060 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46061
d38f1dba
UD
46062 * math/math_private.h: Define defaults for libc_fegetround,
46063 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46064 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46065 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46066 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46067 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46068 standard functions.
46069 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46070 Remove comments and hacks for old compiler versions.
46071 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46072 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46073 libc_feholdexceptl.
46074
caa6c9d8
AS
460752011-10-18 Andreas Schwab <schwab@redhat.com>
46076
46077 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46078 (__feraiseexcept_renamed): Add __NTH.
46079 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46080 namespace violations.
46081
97c066e6
UD
460822011-10-17 Ulrich Drepper <drepper@gmail.com>
46083
99ce7b04
UD
46084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46085
1004d182
UD
46086 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46087
228a984d
UD
46088 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46089 recently added interfaces.
46090 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46091
c8553a6a
UD
46092 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46093 about macro parameter expansion.
46094
ed22dcf6
UD
46095 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46096 __NO_MATH_INLINES is defined. Cleanups.
46097
46098 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46099 and __floorf is target has SSE4.1.
46100 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46101 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46102 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46103 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46104
b171c137
UD
46105 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46106 name.
46107 (floorf): Likewise.
46108
97c066e6
UD
46109 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46110
629f62ef
AS
461112011-10-17 Andreas Schwab <schwab@redhat.com>
46112
49a43d80
AS
46113 * misc/sys/cdefs.h: Fix last change.
46114
629f62ef
AS
46115 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46116 database lookup.
46117
e453f6cd
UD
461182011-10-16 Ulrich Drepper <drepper@gmail.com>
46119
aa78043a
UD
46120 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46121
ad0f5cad
UD
46122 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46123 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46129 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46130 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46131 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46132 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46133 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46134 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46135 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46136 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46137 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46138 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46139 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46140 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46141 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46142 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46143 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46144
46145 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46146 ceil, ceilf, floor, floorf.
46147
46148 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46149 Perform IRELATIVE relocations last.
46150
e453f6cd
UD
46151 * elf/do-rel.h: Add another parameter nrelative, replacing the
46152 local variable with the same name. Change name of the function
46153 to end in Rel or Rela (uppercase).
46154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46155 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46156 elf_dynamic_do_##reloc function.
46157
fd5bdc09
UD
461582011-10-15 Ulrich Drepper <drepper@gmail.com>
46159
79b195b5
UD
46160 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46161 is sufficient, at least on modern CPUs.
46162
d4a28569
UD
46163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46164
b61099b5
UD
46165 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46167
bcf01e6d
UD
46168 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46169 __expl_finite.
46170 * math/bits/math-finite.h: Add entries for exp.
46171 * math/e_expl.c: Add __*_finite alias.
46172 * sysdeps/i386/fpu/e_exp.S: Likewise.
46173 * sysdeps/i386/fpu/e_expf.S: Likewise.
46174 * sysdeps/i386/fpu/e_expl.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46176 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46180 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46181 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46182
ba1a0d59
UD
46183 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46184 is sufficient, at least on modern CPUs.
46185
fd5bdc09
UD
46186 * ctype/ctype-info.c (__ctype_init): Define.
46187 * include/ctype.h (__ctype_init): Declare.
46188 (__ctype_b_loc): The variable is always initialized.
46189 (__ctype_toupper_loc): Likewise.
46190 (__ctype_tolower_loc): Likewise.
46191 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46192 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46193
7872cfb0
AS
461942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46195
b468825a
AS
46196 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46197
7872cfb0
AS
46198 * configure.in: Also look in $cxxmachine/include for C++ system
46199 headers.
46200
be13f7bf
LD
462012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46202
46203 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46204 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46205 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46206 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46207 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46208 (USE_AS_WMEMCMP): New macro.
46209 Fixing indents.
46210 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46211 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46212 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46213 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46215 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46216 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46217 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46218 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46219 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46220 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46221 (USE_AS_WMEMCMP): New macro.
46222 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46223 * sysdeps/string/test-memcmp.c: Update.
46224 Fix simple_wmemcmp.
46225 Add new tests.
46226 * wcsmbs/wmemcmp.c: Update.
46227 (WMEMCMP): New macro.
46228 Fix overflow bug.
46229
556a2007
AJ
462302011-10-12 Andreas Jaeger <aj@suse.de>
46231
46232 [BZ #13268]
46233 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46234
538faaa7
UD
462352011-10-15 Ulrich Drepper <drepper@gmail.com>
46236
ab6737ff
UD
46237 * libio/iofwide.c (do_length): Avoid warning.
46238
538faaa7
UD
46239 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46240
396a21b1
UD
462412011-10-14 Ulrich Drepper <drepper@gmail.com>
46242
cdf2901f
UD
46243 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46244
38ad40ce
UD
46245 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46246 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46247 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46248 * sysdeps/i386/i686/fpu/e_log.S: New file.
46249 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46250 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46251
396a21b1
UD
46252 * ctype/ctype.h: Add support for inlined isXXX functions when
46253 compiling C++ code.
46254
6b1f68c9
AS
462552011-10-14 Andreas Schwab <schwab@redhat.com>
46256
349290c0
AS
46257 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46258
6b1f68c9
AS
46259 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46260
f2282d42
RM
462612011-10-13 Roland McGrath <roland@hack.frob.com>
46262
46263 [BZ #13291]
46264 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46265
5298ffa8
AS
462662011-10-13 Andreas Schwab <schwab@redhat.com>
46267
714fad23
AS
46268 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46269 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46270 feraiseexcept.
46271
81dcc7fb
AS
46272 * sysdeps/x86_64/memrchr.S: Check for zero size.
46273
5298ffa8
AS
46274 * string/stratcliff.c: Add memrchr tests.
46275
951fbcec
LD
462762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46277
46278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46279 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46280 rawmemchr-sse2 rawmemchr-sse2-bsf.
46281 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46282 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46283 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46284 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46285 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46286 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46287 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46288 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46289 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46290 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46291 * string/memrchr.c (MEMRCHR): New macro.
46292
0ac5ae23
UD
462932011-10-12 Ulrich Drepper <drepper@gmail.com>
46294
46295 Add integration with gcc's -ffinite-math-only and optimize wrapper
46296 functions in libm.
46297 * Versions.def: Define GLIBC_2.15 version for libm.
46298 * math/Makefile (headers): Add bits/math-finite.h.
46299 * math/bits/math-finite.h: New file.
46300 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46301 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46302 * math/e_acoshl.c: Add __*_finite alias.
46303 * math/e_acosl.c: Likewise.
46304 * math/e_asinl.c: Likewise.
46305 * math/e_atan2l.c: Likewise.
46306 * math/e_atanhl.c: Likewise.
46307 * math/e_coshl.c: Likewise.
46308 * math/e_exp10.c: Likewise.
46309 * math/e_exp10f.c: Likewise.
46310 * math/e_exp10l.c: Likewise.
46311 * math/e_exp2l.c: Likewise.
46312 * math/e_fmodl.c: Likewise.
46313 * math/e_gammal_r.c: Likewise.
46314 * math/e_hypotl.c: Likewise.
46315 * math/e_j0l.c: Likewise.
46316 * math/e_j1l.c: Likewise.
46317 * math/e_jnl.c: Likewise.
46318 * math/e_lgammal_r.c: Likewise.
46319 * math/e_log10l.c: Likewise.
46320 * math/e_log2l.c: Likewise.
46321 * math/e_logl.c: Likewise.
46322 * math/e_powl.c: Likewise.
46323 * math/e_sinhl.c: Likewise.
46324 * math/e_sqrtl.c: Likewise.
46325 * math/e_scalb.c: Completely rewritten and optimized.
46326 * math/e_scalbf.c: Likewise.
46327 * math/e_scalbl.c: Likewise.
46328 * math/w_acos.c: Likewise.
46329 * math/w_acosf.c: Likewise.
46330 * math/w_acosl.c: Likewise.
46331 * math/w_acosh.c: Likewise.
46332 * math/w_acoshf.c: Likewise.
46333 * math/w_acoshl.c: Likewise.
46334 * math/w_asin.c: Likewise.
46335 * math/w_asinf.c: Likewise.
46336 * math/w_asinl.c: Likewise.
46337 * math/w_atan2.c: Likewise.
46338 * math/w_atan2f.c: Likewise.
46339 * math/w_atan2l.c: Likewise.
46340 * math/w_atanh.c: Likewise.
46341 * math/w_atanhf.c: Likewise.
46342 * math/w_atanhl.c: Likewise.
46343 * math/w_exp10.c: Likewise.
46344 * math/w_exp10f.c: Likewise.
46345 * math/w_exp10l.c: Likewise.
46346 * math/w_fmod.c: Likewise.
46347 * math/w_fmodf.c: Likewise.
46348 * math/w_fmodl.c: Likewise.
46349 * math/w_j0.c: Likewise.
46350 * math/w_j0f.c: Likewise.
46351 * math/w_j0l.c: Likewise.
46352 * math/w_j1.c: Likewise.
46353 * math/w_j1f.c: Likewise.
46354 * math/w_j1l.c: Likewise.
46355 * math/w_jn.c: Likewise.
46356 * math/w_jnf.c: Likewise.
46357 * math/w_log.c: Likewise.
46358 * math/w_logf.c: Likewise.
46359 * math/w_logl.c: Likewise.
46360 * math/w_log10.c: Likewise.
46361 * math/w_log10f.c: Likewise.
46362 * math/w_log10l.c: Likewise.
46363 * math/w_log2.c: Likewise.
46364 * math/w_log2f.c: Likewise.
46365 * math/w_log2l.c: Likewise.
46366 * math/w_pow.c: Likewise.
46367 * math/w_powf.c: Likewise.
46368 * math/w_powl.c: Likewise.
46369 * math/w_remainder.c: Likewise.
46370 * math/w_remainderf.c: Likewise.
46371 * math/w_remainderl.c: Likewise.
46372 * math/w_scalb.c: Likewise.
46373 * math/w_scalbf.c: Likewise.
46374 * math/w_scalbl.c: Likewise.
46375 * math/w_sqrt.c: Likewise.
46376 * math/w_sqrtf.c: Likewise.
46377 * math/w_sqrtl.c: Likewise.
46378 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46379 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46380 used.
46381 * math/math_private.h: Declare __kernel_standard_f.
46382 * math/w_cosh.c: Remove cruft and optimize a bit.
46383 * math/w_coshf.c: Likewise.
46384 * math/w_coshl.c: Likewise.
46385 * math/w_exp2.c: Likewise.
46386 * math/w_exp2f.c: Likewise.
46387 * math/w_exp2l.c: Likewise.
46388 * math/w_hypot.c: Likewise.
46389 * math/w_hypotf.c: Likewise.
46390 * math/w_hypotl.c: Likewise.
46391 * math/w_lgamma.c: Likewise.
46392 * math/w_lgamma_r.c: Likewise.
46393 * math/w_lgammaf.c: Likewise.
46394 * math/w_lgammaf_r.c: Likewise.
46395 * math/w_lgammal.c: Likewise.
46396 * math/w_lgammal_r.c: Likewise.
46397 * math/w_sinh.c: Likewise.
46398 * math/w_sinhf.c: Likewise.
46399 * math/w_sinhl.c: Likewise.
46400 * math/w_tgamma.c: Likewise.
46401 * math/w_tgammaf.c: Likewise.
46402 * math/w_tgammal.c: Likewise.
46403 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46405 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46406 Minor optimizations. Pretty printing. Remove cruft.
46407 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46408 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46410 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46411 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46412 * sysdeps/i386/fpu/e_asin.S: Likewise.
46413 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46414 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46415 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46416 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46417 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46418 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46419 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46420 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46421 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46422 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46423 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46424 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46425 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46426 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46427 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46428 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46429 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46430 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46431 * sysdeps/i386/fpu/e_log.S: Likewise.
46432 * sysdeps/i386/fpu/e_log10.S: Likewise.
46433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46435 * sysdeps/i386/fpu/e_log2.S: Likewise.
46436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46438 * sysdeps/i386/fpu/e_logf.S: Likewise.
46439 * sysdeps/i386/fpu/e_logl.S: Likewise.
46440 * sysdeps/i386/fpu/e_pow.S: Likewise.
46441 * sysdeps/i386/fpu/e_powf.S: Likewise.
46442 * sysdeps/i386/fpu/e_powl.S: Likewise.
46443 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46444 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46445 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46446 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46447 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46448 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46449 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46450 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46451 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46452 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46455 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46458 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46459 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46460 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46461 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46462 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46463 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46465 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46466 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46468 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46472 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46473 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46476 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46477 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46478 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46479 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46480 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46481 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46482 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46483 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46485 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46486 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46487 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46488 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46489 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46490 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46492 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46493 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46494 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46495 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46497 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46500 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46502 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46504 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46505 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46506 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46507 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46508 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46509 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46511 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46512 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46513 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46516 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46517 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46518 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46519 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46523 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46531 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46532 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46535 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46537 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46538 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46539 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46540 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46541 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46542 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46543 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46544 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46545 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46546 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46547 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46548 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46549 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46550 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46551 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46552 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46553 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46554 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46555 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46556 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46558 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46560 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46561 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46562 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46563 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46564 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46565 (__isnanf): Likewise.
46566 (__isinf_ns): Likewise.
46567 (__isinf_nsf): Likewise.
46568 (__finite): Likewise.
46569 (__finitef): Likewise.
46570 (__ieee754_sqrt): Define as macro.
46571 (__ieee754_sqrtf): Define as macro.
46572 (__ieee754_sqrtl): Define as macro.
46573 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46574 inlined copy.
46575 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46576 __FINITE_MATH_ONLY__ consistent.
46577 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46578
12cc2fcd
AS
465792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46580
a843a204
AS
46581 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46582 of rawmemchr.
46583
12cc2fcd
AS
46584 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46585
c853acd5
UD
465862011-10-09 Ulrich Drepper <drepper@gmail.com>
46587
46588 * po/ja.po: Update from translation team.
46589
c658d255
RM
465902011-10-08 Roland McGrath <roland@hack.frob.com>
46591
110946e4
RM
46592 * locale/programs/locarchive.c (prepare_address_space): New function.
46593 (create_archive, enlarge_archive, open_archive): Use it.
46594
50604220
RM
46595 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46596 inside [SHARED], where it is used.
46597
c658d255
RM
46598 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46599
46600 * nss/getent.c (netgroup_keys): Remove unused variable.
46601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46602
6a621eb7
UD
466032011-10-08 Ulrich Drepper <drepper@gmail.com>
46604
7edb55ce
UD
46605 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46608 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46609 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46610 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46611 * math/Makefile (libm-calls): Add s_isinf_ns.
46612 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46613 * math/multc3.c: Likewise.
46614 * math/s_casin.c: Likewise.
46615 * math/s_casinf.c: Likewise.
46616 * math/s_casinl.c: Likewise.
46617 * math/s_ccos.c: Likewise.
46618 * math/s_ccosf.c: Likewise.
46619 * math/s_ccosl.c: Likewise.
46620 * math/s_ctan.c: Likewise.
46621 * math/s_ctanf.c: Likewise.
46622 * math/s_ctanh.c: Likewise.
46623 * math/s_ctanhf.c: Likewise.
46624 * math/s_ctanhl.c: Likewise.
46625 * math/s_ctanl.c: Likewise.
46626 * math/w_fmod.c: Likewise.
46627 * math/w_fmodf.c: Likewise.
46628 * math/w_fmodl.c: Likewise.
46629 * math/w_remainder.c: Likewise.
46630 * math/w_remainderf.c: Likewise.
46631 * math/w_remainderl.c: Likewise.
46632 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46633 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46636 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46637 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46638 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46639 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46640
187da0ae
UD
46641 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46642 of the number.
46643 * stdio-common/printf_fphex.c: Likewise.
46644 * stdio-common/printf_size.c: Likewise.
46645
9277c064
UD
46646 * math/e_exp10.c: Include math_private.h using <...> not "...".
46647 * math/e_exp10f.c: Likewise.
46648 * math/e_exp10l.c: Likewise.
46649 * math/e_exp2l.c: Likewise.
46650 * math/e_j0l.c: Likewise.
46651 * math/e_j1l.c: Likewise.
46652 * math/e_jnl.c: Likewise.
46653 * math/e_lgammal_r.c: Likewise.
46654 * math/e_rem_pio2l.c: Likewise.
46655 * math/e_scalb.c: Likewise.
46656 * math/e_scalbf.c: Likewise.
46657 * math/e_scalbl.c: Likewise.
46658 * math/k_cosl.c: Likewise.
46659 * math/k_sinl.c: Likewise.
46660 * math/k_tanl.c: Likewise.
46661 * math/s_cacoshf.c: Likewise.
46662 * math/s_catan.c: Likewise.
46663 * math/s_catanf.c: Likewise.
46664 * math/s_catanh.c: Likewise.
46665 * math/s_catanhf.c: Likewise.
46666 * math/s_catanhl.c: Likewise.
46667 * math/s_catanl.c: Likewise.
46668 * math/s_ccosh.c: Likewise.
46669 * math/s_ccoshf.c: Likewise.
46670 * math/s_ccoshl.c: Likewise.
46671 * math/s_cexp.c: Likewise.
46672 * math/s_cexpf.c: Likewise.
46673 * math/s_cexpl.c: Likewise.
46674 * math/s_clog.c: Likewise.
46675 * math/s_clog10.c: Likewise.
46676 * math/s_clog10f.c: Likewise.
46677 * math/s_clog10l.c: Likewise.
46678 * math/s_clogf.c: Likewise.
46679 * math/s_clogl.c: Likewise.
46680 * math/s_csin.c: Likewise.
46681 * math/s_csinf.c: Likewise.
46682 * math/s_csinh.c: Likewise.
46683 * math/s_csinhf.c: Likewise.
46684 * math/s_csinhl.c: Likewise.
46685 * math/s_csinl.c: Likewise.
46686 * math/s_csqrt.c: Likewise.
46687 * math/s_csqrtf.c: Likewise.
46688 * math/s_csqrtl.c: Likewise.
46689 * math/s_ctan.c: Likewise.
46690 * math/s_ctanf.c: Likewise.
46691 * math/s_ctanh.c: Likewise.
46692 * math/s_ctanhf.c: Likewise.
46693 * math/s_ctanhl.c: Likewise.
46694 * math/s_ctanl.c: Likewise.
46695 * math/s_ldexp.c: Likewise.
46696 * math/s_ldexpf.c: Likewise.
46697 * math/s_ldexpl.c: Likewise.
46698 * math/s_significand.c: Likewise.
46699 * math/s_significandf.c: Likewise.
46700 * math/s_significandl.c: Likewise.
46701 * math/w_acos.c: Likewise.
46702 * math/w_acosf.c: Likewise.
46703 * math/w_acosh.c: Likewise.
46704 * math/w_acoshf.c: Likewise.
46705 * math/w_acoshl.c: Likewise.
46706 * math/w_acosl.c: Likewise.
46707 * math/w_asin.c: Likewise.
46708 * math/w_asinf.c: Likewise.
46709 * math/w_asinl.c: Likewise.
46710 * math/w_atan2.c: Likewise.
46711 * math/w_atan2f.c: Likewise.
46712 * math/w_atan2l.c: Likewise.
46713 * math/w_atanh.c: Likewise.
46714 * math/w_atanhf.c: Likewise.
46715 * math/w_atanhl.c: Likewise.
46716 * math/w_cosh.c: Likewise.
46717 * math/w_coshf.c: Likewise.
46718 * math/w_coshl.c: Likewise.
46719 * math/w_dremf.c: Likewise.
46720 * math/w_exp10.c: Likewise.
46721 * math/w_exp10f.c: Likewise.
46722 * math/w_exp10l.c: Likewise.
46723 * math/w_exp2.c: Likewise.
46724 * math/w_exp2f.c: Likewise.
46725 * math/w_fmod.c: Likewise.
46726 * math/w_fmodf.c: Likewise.
46727 * math/w_fmodl.c: Likewise.
46728 * math/w_hypot.c: Likewise.
46729 * math/w_hypotf.c: Likewise.
46730 * math/w_hypotl.c: Likewise.
46731 * math/w_j0.c: Likewise.
46732 * math/w_j0f.c: Likewise.
46733 * math/w_j0l.c: Likewise.
46734 * math/w_j1.c: Likewise.
46735 * math/w_j1f.c: Likewise.
46736 * math/w_j1l.c: Likewise.
46737 * math/w_jn.c: Likewise.
46738 * math/w_jnf.c: Likewise.
46739 * math/w_jnl.c: Likewise.
46740 * math/w_lgamma.c: Likewise.
46741 * math/w_lgamma_r.c: Likewise.
46742 * math/w_lgammaf.c: Likewise.
46743 * math/w_lgammaf_r.c: Likewise.
46744 * math/w_lgammal.c: Likewise.
46745 * math/w_lgammal_r.c: Likewise.
46746 * math/w_log.c: Likewise.
46747 * math/w_log10.c: Likewise.
46748 * math/w_log10f.c: Likewise.
46749 * math/w_log10l.c: Likewise.
46750 * math/w_log2.c: Likewise.
46751 * math/w_log2f.c: Likewise.
46752 * math/w_log2l.c: Likewise.
46753 * math/w_logf.c: Likewise.
46754 * math/w_logl.c: Likewise.
46755 * math/w_pow.c: Likewise.
46756 * math/w_powf.c: Likewise.
46757 * math/w_powl.c: Likewise.
46758 * math/w_remainder.c: Likewise.
46759 * math/w_remainderf.c: Likewise.
46760 * math/w_remainderl.c: Likewise.
46761 * math/w_scalb.c: Likewise.
46762 * math/w_scalbf.c: Likewise.
46763 * math/w_scalbl.c: Likewise.
46764 * math/w_sinh.c: Likewise.
46765 * math/w_sinhf.c: Likewise.
46766 * math/w_sinhl.c: Likewise.
46767 * math/w_sqrt.c: Likewise.
46768 * math/w_sqrtf.c: Likewise.
46769 * math/w_sqrtl.c: Likewise.
46770 * math/w_tgamma.c: Likewise.
46771 * math/w_tgammaf.c: Likewise.
46772 * math/w_tgammal.c: Likewise.
46773
6a621eb7
UD
46774 * po/ja.po: Update from translation team.
46775
bf582445
AJ
467762011-09-29 Andreas Jaeger <aj@suse.de>
46777
f9efbf3a
AJ
46778 [BZ #13179]
46779 * sunrpc/netname.c (netname2host): Fix logic.
46780
bf582445
AJ
46781 [BZ #6779]
46782 [BZ #6783]
46783 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46784 correctly.
46785 * math/w_remainder.c (__remainder): Likewise.
46786 * math/w_remainderf.c (__remainderf): Likewise.
46787 * math/libm-test.inc (remainder_test): Add test cases.
46788
48693bea
AK
467892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46790
46791 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46792 sdiv_qrnnd.
46793
42622229
LD
467942011-10-07 Ulrich Drepper <drepper@gmail.com>
46795
46796 * string/test-memcmp.c: Avoid unncessary #defines.
46797 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46798
093ecf92
LD
467992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46800
46801 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46802 Use new sse2 version for core i3 - i7 as it's faster
46803 than sse42 version.
46804 (bit_Prefer_PMINUB_for_stringop): New.
46805 * sysdeps/x86_64/rawmemchr.S: Update.
46806 Replace with faster SSE2 version.
46807 * sysdeps/x86_64/memrchr.S: New file.
46808 * sysdeps/x86_64/memchr.S: Update.
46809 Replace with faster SSE2 version.
46810
fde56e5c
MP
468112011-09-12 Marek Polacek <mpolacek@redhat.com>
46812
46813 * elf/dl-load.c (lose): Add cast to avoid warning.
46814
21fd49a9
UD
468152011-10-07 Ulrich Drepper <drepper@gmail.com>
46816
5a06e643
UD
46817 * po/ca.po: Update from translation team.
46818
684ae515
UD
46819 * inet/getnetgrent_r.c: Hook up nscd.
46820 * nscd/Makefile (routines): Add nscd_netgroup.
46821 (nscd-modules): Add netgroupcache.
46822 (CFLAGS-netgroupcache.c): Define.
46823 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46824 (cache_search): Add const to second parameter.
46825 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46826 INNETGR.
46827 (dbs): Add netgrdb entry.
46828 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46829 (verify_persistent_db): Handle netgrdb.
46830 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46831 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46832 GETFDNETGR.
46833 (netgroup_response_header): Define.
46834 (innetgroup_response_header): Define.
46835 (datahead): Add netgroup_response_header and innetgroup_response_header
46836 elements.
46837 * nscd/nscd.conf: Add entries for netgroup cache.
46838 * nscd/nscd.h (dbtype): Add netgrdb.
46839 (_PATH_NSCD_NETGROUP_DB): Define.
46840 (netgroup_iov_disabled): Declare.
46841 (xmalloc, xcalloc, xrealloc): Move declarations here.
46842 (cache_search): Adjust prototype.
46843 Add netgroup-related prototypes.
46844 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46845 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46846 (__nscd_innetgr): Declare.
46847 * nscd/selinux.c (perms): Use access_vector_t as element type and
46848 add netgroup-related initializers.
46849 * nscd/netgroupcache.c: New file.
46850 * nscd/nscd_netgroup.c: New file.
46851 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46852 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46853 For four parameters use innetgr.
46854 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46855 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46856 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46857 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46858
21fd49a9
UD
46859 * nscd/connections.c (register_traced_file): Don't register file
46860 for disabled databases.
46861
054c0457
UD
468622011-10-06 Ulrich Drepper <drepper@gmail.com>
46863
32b63198
UD
46864 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46865
054c0457
UD
46866 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46867 from tree and freeing node.
46868
64031225
JO
468692011-09-25 Jiri Olsa <jolsa@redhat.com>
46870
46871 * nss/nsswitch.c (__nss_database_lookup): Handle
46872 nss_parse_service_list out of memory case.
46873
0490345c
JO
468742011-09-15 Jiri Olsa <jolsa@redhat.com>
46875
46876 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46877 out of memory case.
46878
3a62d00d
AS
468792011-10-04 Andreas Schwab <schwab@redhat.com>
46880
46881 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46882 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46883 pass it down.
46884 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46885 elf_machine_rela, elf_machine_lazy_rel.
46886 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46887 (ELF_DYNAMIC_DO_REL): Likewise.
46888 (ELF_DYNAMIC_DO_RELA): Likewise.
46889 (ELF_DYNAMIC_RELOCATE): Likewise.
46890 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46891 to ELF_DYNAMIC_DO_REL.
46892 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46893 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46894 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46895 elf_machine_rela.
46896 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46897 skip_ifunc, don't call ifunc function if non-zero.
46898 (elf_machine_rela): Likewise.
46899 (elf_machine_lazy_rel): Likewise.
46900 (elf_machine_lazy_rela): Likewise.
46901 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46902 (elf_machine_lazy_rel): Likewise.
46903 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46904 Likewise.
46905 (elf_machine_lazy_rel): Likewise.
46906 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46907 Likewise.
46908 (elf_machine_lazy_rel): Likewise.
46909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46910 (elf_machine_lazy_rel): Likewise.
46911 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46912 (elf_machine_lazy_rel): Likewise.
46913 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46914 (elf_machine_lazy_rel): Likewise.
46915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46916 (elf_machine_lazy_rel): Likewise.
46917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46918 (elf_machine_lazy_rel): Likewise.
46919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46920 (elf_machine_lazy_rel): Likewise.
46921
68577918
UD
469222011-09-28 Ulrich Drepper <drepper@gmail.com>
46923
46924 * nss/nss_files/files-init.c (_nss_files_init): Use static
46925 initialization for all the *_traced_file variables.
46926
68822d74
AS
469272011-09-28 Andreas Schwab <schwab@redhat.com>
46928
46929 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46930
2056100b
RM
469312011-09-27 Roland McGrath <roland@hack.frob.com>
46932
46933 [BZ #13226]
46934 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46935
32c76b63
AS
469362011-09-27 Andreas Schwab <schwab@redhat.com>
46937
46938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46939 Reread the line before reparsing it.
46940
bf972c9d
AS
469412011-09-26 Andreas Schwab <schwab@redhat.com>
46942
46943 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46944
e057a1b5
JM
469452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46946 Maxim Kuvyrkov <maxim@codesourcery.com>
46947 Joseph Myers <joseph@codesourcery.com>
46948
46949 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46950 if needed for __stack_chk_guard.
46951
bc7e1c36
RM
469522011-09-19 Roland McGrath <roland@hack.frob.com>
46953
ecb1482f
RM
46954 * sysdeps/posix/spawni.c (script_execute): Always define it.
46955 It will be optimized away if unused.
46956 (maybe_script_execute): New function.
46957 (__spawni): Call it.
46958
bc7e1c36
RM
46959 * Makerules: Don't include tls.make.
46960 (config-tls): Always set to thread.
46961 * tls.make.c: File removed.
46962
1c3b002b
MF
469632011-09-19 Mike Frysinger <vapier@gentoo.org>
46964
46965 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46966 * config.make.in (CPPFLAGS-config): New substituted variable.
46967
2840865d
UD
469682011-09-15 Ulrich Drepper <drepper@gmail.com>
46969
88738eb6
UD
46970 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46971
cbf645a6 46972 [BZ #13192]
2840865d
UD
46973 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46974 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46975
b402e91a
RM
469762011-09-15 Roland McGrath <roland@hack.frob.com>
46977
46978 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46979 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46981 (CALL_FAIL): Likewise.
46982 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46983 (CALL_FAIL): Macro removed.
46984 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46985
4c1a1f71
UD
469862011-09-15 Ulrich Drepper <drepper@gmail.com>
46987
46988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46989 for __FINITE_MATH_ONLY__ == 1.
46990
edc121be
AS
469912011-09-15 Andreas Schwab <schwab@redhat.com>
46992
46993 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46994 __ieee754_sqrt instead of sqrt.
46995 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46996 __ieee754_sqrtf instead of sqrtf.
46997 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46998 __floorf instead of floorf.
46999 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47000 __floorf, __truncf instead of floorf, truncf.
47001
cd205654
UD
470022011-09-14 Ulrich Drepper <drepper@gmail.com>
47003
ee4d0315
UD
47004 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47005
cd205654
UD
47006 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47007 __extern_always_inline.
47008 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47009 32-bit.
47010
48b67d71
AS
470112011-09-14 Andreas Schwab <schwab@redhat.com>
47012
47013 * elf/rtld.c (dl_main): Also relocate in dependency order when
47014 doing symbol dependency testing.
47015
1ae12c75
AS
470162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47017
47018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47019 Always define `refsym'.
47020
995a80df
AS
470212011-09-13 Andreas Schwab <schwab@redhat.com>
47022
e529793b
AS
47023 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47024 (__FD_ELT): Renamed from __FDELT.
47025 * misc/bits/select2.h (__FD_ELT): Likewise.
47026 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47027 __FD_MASK instead of __FDELT, __FDMASK.
47028 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47029 Likewise.
47030 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47031 Likewise.
47032
52d4fef8
AS
47033 * elf/Makefile (gen-ldd): Fix pattern.
47034
995a80df
AS
47035 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47036 (init_tls): Likewise.
47037
8682f8b0
UD
470382011-09-12 Ulrich Drepper <drepper@gmail.com>
47039
47040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47041
de82006d
AS
470422011-09-12 Andreas Schwab <schwab@redhat.com>
47043
a7c8e6a1
AS
47044 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47045 `struct cmsghdr *' instead of `void *'.
47046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47047 Likewise.
47048
0f31fe77
AS
470492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47050
47051 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47052 if non-absolute.
47053 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47054 ldd_rewrite_script.
0f31fe77 47055
32b4c839
UD
470562011-09-11 Ulrich Drepper <drepper@gmail.com>
47057
83cd1420
UD
47058 * configure.in: Remove --with-tls option.
47059 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47060 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47061 out in case it is missing.
47062 * sysdeps/ia64/elf/configure.in: Likewise.
47063 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47064 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47065 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47066 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47067 * sysdeps/sh/elf/configure.in: Likewise.
47068 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47069 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47070 * sysdeps/x86_64/elf/configure.in: Likewise.
47071 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47072 * sysdeps/mach/hurd/tls.h: Likewise.
47073
633f745d
UD
47074 [BZ #13067]
47075 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47076
f318beb8
UD
47077 [BZ #13090]
47078 * configure.in: Fix use of AC_INIT.
47079
32b4c839
UD
47080 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47081
3ce1f295
UD
470822011-09-10 Ulrich Drepper <drepper@gmail.com>
47083
bb016596
UD
47084 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47085 __set_errno.
8e58439c
UD
47086 * malloc/hooks.c: Likewise.
47087
aebae053 47088 [BZ #11929]
02d46fc4
UD
47089 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47090 variables statically.
47091 (narenas): Initialize.
47092 (list_lock): Initialize.
bb016596
UD
47093 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47094 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47095 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47096 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47097 Add initializers to main_arena and mp_.
47098 (malloc_state): Remove pagesize member. Change all users to use
47099 GLRO(dl_pagesize).
47100
47101 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47102 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47103 is always initialized.
47104
22a89187
UD
47105 * malloc/malloc.c: Removed unused configurations and dead code.
47106 * malloc/arena.c: Likewise.
47107 * malloc/hooks.c: Likewise.
02d46fc4 47108 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47109
d063d164
UD
47110 * include/tls.h: Removed. USE___THREAD must always be defined.
47111 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47112 * elf/dl-libc.c: Likewise.
47113 * elf/dl-tsd.c: Likewise.
47114 * include/errno.h: Likewise.
47115 * include/netdb.h: Likewise.
47116 * include/resolv.h: Likewise.
47117 * inet/herrno-loc.c: Likewise.
47118 * inet/herrno.c: Likewise.
47119 * malloc/arena.c: Likewise.
47120 * malloc/hooks.c: Likewise.
47121 * malloc/malloc.c: Likewise.
47122 * resolv/res-state.c: Likewise.
47123 * resolv/res_libc.c: Likewise.
47124 * sysdeps/i386/dl-machine.h: Likewise.
47125 * sysdeps/ia64/dl-machine.h: Likewise.
47126 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47127 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47128 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47129 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47130 * sysdeps/sh/dl-machine.h: Likewise.
47131 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47132 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47133 * sysdeps/unix/i386/sysdep.S: Likewise.
47134 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47135 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47140 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47145 * sysdeps/x86_64/dl-machine.h: Likewise.
47146 * tls.make.c: Likewise.
47147
3ce1f295
UD
47148 * configure.in: Remove --with-__thread option. Make tests for
47149 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47150 tls_model attribute fail if no support is available. Remove
47151 USE_IN_LIBIO.
47152 * Makeconfig: Adjust for dropped configure option. All features are
47153 now mandatory.
47154 * Makerules: Likewise.
47155 * Versions.def: Likewise.
47156 * argp/argp-fmtstream.c: Likewise.
47157 * argp/argp-fmtstream.h: Likewise.
47158 * argp/argp-help.c: Likewise.
47159 * assert/assert.c: Likewise.
47160 * config.h.in: Likewise.
47161 * config.make.in: Likewise.
47162 * configure: Likewise.
47163 * configure.in: Likewise.
47164 * csu/Versions: Likewise.
47165 * csu/init.c: Likewise.
47166 * elf/tst-audit2.c: Likewise.
47167 * elf/tst-tls10.c: Likewise.
47168 * elf/tst-tls10.h: Likewise.
47169 * elf/tst-tls11.c: Likewise.
47170 * elf/tst-tls12.c: Likewise.
47171 * elf/tst-tls14.c: Likewise.
47172 * elf/tst-tlsmod11.c: Likewise.
47173 * elf/tst-tlsmod12.c: Likewise.
47174 * elf/tst-tlsmod13.c: Likewise.
47175 * elf/tst-tlsmod13a.c: Likewise.
47176 * elf/tst-tlsmod14a.c: Likewise.
47177 * elf/tst-tlsmod15b.c: Likewise.
47178 * elf/tst-tlsmod16a.c: Likewise.
47179 * elf/tst-tlsmod16b.c: Likewise.
47180 * elf/tst-tlsmod7.c: Likewise.
47181 * elf/tst-tlsmod8.c: Likewise.
47182 * elf/tst-tlsmod9.c: Likewise.
47183 * gmon/gmon.c: Likewise.
47184 * grp/fgetgrent_r.c: Likewise.
47185 * grp/putgrent.c: Likewise.
47186 * hurd/fopenport.c: Likewise.
47187 * include/libc-symbols.h: Likewise.
47188 * include/tls.h: Likewise.
47189 * intl/gettextP.h: Likewise.
47190 * intl/loadinfo.h: Likewise.
47191 * locale/global-locale.c: Likewise.
47192 * locale/localeinfo.h: Likewise.
47193 * mach/devstream.c: Likewise.
47194 * malloc/arena.c: Likewise.
47195 * malloc/set-freeres.c: Likewise.
47196 * misc/err.c: Likewise.
47197 * misc/getttyent.c: Likewise.
47198 * misc/mntent_r.c: Likewise.
47199 * posix/getopt.c: Likewise.
47200 * posix/wordexp.c: Likewise.
47201 * pwd/fgetpwent_r.c: Likewise.
47202 * resolv/Versions: Likewise.
47203 * resolv/res_hconf.c: Likewise.
47204 * shadow/fgetspent_r.c: Likewise.
47205 * shadow/putspent.c: Likewise.
47206 * stdio-common/printf_fphex.c: Likewise.
47207 * stdio-common/tmpfile.c: Likewise.
47208 * stdlib/abort.c: Likewise.
47209 * stdlib/fmtmsg.c: Likewise.
47210 * sunrpc/auth_unix.c: Likewise.
47211 * sunrpc/clnt_perr.c: Likewise.
47212 * sunrpc/clnt_tcp.c: Likewise.
47213 * sunrpc/clnt_udp.c: Likewise.
47214 * sunrpc/clnt_unix.c: Likewise.
47215 * sunrpc/openchild.c: Likewise.
47216 * sunrpc/svc_simple.c: Likewise.
47217 * sunrpc/svc_tcp.c: Likewise.
47218 * sunrpc/svc_udp.c: Likewise.
47219 * sunrpc/svc_unix.c: Likewise.
47220 * sunrpc/xdr.c: Likewise.
47221 * sunrpc/xdr_array.c: Likewise.
47222 * sunrpc/xdr_rec.c: Likewise.
47223 * sunrpc/xdr_ref.c: Likewise.
47224 * sunrpc/xdr_stdio.c: Likewise.
47225
1248c1c4
PB
472262011-09-09 Ulrich Drepper <drepper@gmail.com>
47227
47228 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47229
472302011-07-03 Andreas Jaeger <aj@suse.de>
47231
47232 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47233 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47234 regenerate with gen-libm-tests.pl.
47235
472362010-05-12 Petr Baudis <pasky@suse.cz>
47237
47238 [BZ #11589]
47239 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47240 around j0() zero points by switching to j1().
47241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47245
f22e1074
UD
472462011-09-09 Ulrich Drepper <drepper@gmail.com>
47247
f19009c1
UD
47248 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47249 instead of 0.
47250 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47251 instead of 0.
f19009c1
UD
47252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47253 Patch in part by Pavel Roskin <proski@gnu.org>.
47254
3f8cc204
UD
47255 [BZ #13138]
47256 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47257 realloc.
47258 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47259 Free memory block if necessary.
47260
f22e1074
UD
47261 [BZ #12847]
47262 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47263 be NULL. Don't lock in this case.
47264
0a2349f9
RM
472652011-09-09 Roland McGrath <roland@hack.frob.com>
47266
47267 * elf/elf.h (ELFOSABI_GNU): New macro.
47268 (ELFOSABI_LINUX): Define to that.
47269
f3cdd467
DZ
472702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47271
47272 * string/strncat.c (strncat): Undef the symbol in case it has been
47273 defined in bits/string.h.
47274
74718d13
UD
472752011-09-09 Ulrich Drepper <drepper@gmail.com>
47276
633e9e0f
UD
47277 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47278
0a2349f9 47279 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47280 link map.
47281
f9924780
AJ
472822011-08-17 Andreas Jaeger <aj@suse.de>
47283
47284 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47285
7f5517aa
PP
472862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47287 Ian Lance Taylor <iant@google.com>
47288
47289 * math/libm-test.inc (lround_test): New testcase.
47290 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47291
762011fe
UD
472922011-09-08 Ulrich Drepper <drepper@gmail.com>
47293
92963737
UD
47294 * Makefile: Remove support for automatic cvs check-ins.
47295 * Makerules: Likewise.
47296 * config.make.in: Likewise.
47297 * configure.in: Likewise.
47298 * intl/Makefile: Likewise.
47299 * locale/Makefile: Likewise.
47300 * po/Makefile: Likewise.
47301 * posix/Makefile: Likewise.
47302 * sysdeps/gnu/Makefile: Likewise.
47303 * sysdeps/mach/hurd/Makefile: Likewise.
47304 * sysdeps/sparc/sparc32/Makefile: Likewise.
47305
b0727fd8
JS
47306 [BZ #13118]
47307 * posix/Makefile (bug-regex32-ENV): Define.
47308 Patch by John Stanley <jpsinthemix@verizon.net>.
47309
a0f33f99
UD
47310 * misc/Makefile (headers): Add bits/select2.h.
47311 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47312 * misc/bits/select2.h: New file.
47313 * include/bits/select2.h: New file.
47314 * debug/Makefile (routines): Add fdelt_chk.
47315 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47316 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47317 FD_ISSET.
47318 * debug/fdelt_chk.c: New file.
47319
762011fe
UD
47320 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47321 * wcsmbs/test-wmemcmp.c: Likewise.
47322 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47323 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47324
473252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47326
47327 * string/Makefile (strop-tests): Add memcmp.
47328 * string/test-wmemcmp.c: New file.
47329 * string/test-memcmp.c: Add wmemcmp support.
47330
7f513ec8
RM
473312011-09-08 Roland McGrath <roland@hack.frob.com>
47332
0442afb4
RM
47333 [BZ #13153]
47334 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47335 2011-07-19 change.
47336
7f513ec8
RM
47337 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47338 garbage value in a __mach_port_mod_refs call in the cases of the
47339 task-self and thread-self ports.
47340
a12b2239
ST
473412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47342
47343 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47344
610f9ab4
AS
473452011-09-08 Andreas Schwab <schwab@redhat.com>
47346
7f513ec8 47347 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47348
48882a1a
LD
473492011-09-07 Ulrich Drepper <drepper@gmail.com>
47350
b49865be
UD
47351 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47352
fdc86bc9
UD
47353 * elf/dl-libc.c (dlerror_run): Pass back error code from
47354 dl_catch_error.
47355
c966526a
UD
47356 [BZ #13123]
47357 * elf/dl-load.c (lose): Free l_origin if it is valid.
47358
48882a1a
LD
47359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47360 names.
47361 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47363 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47364 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47365 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47366 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47367
77a2a8b4
AZ
473682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47369
47370 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47371 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47372 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47373 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47374 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47375 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47376 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47377 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47378 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47379 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47380
24f579d8
AM
473812011-08-15 Alan Modra <amodra@gmail.com>
47382
47383 [BZ #13092]
47384 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47385 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47386 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47387 ppc_mcount to static-only-routines.
47388 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47389 __mcount_internal.
47390 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47391 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47392
3d4837df
UD
473932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47394
47395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47396 for finite and infinity parameters.
47397
22700377
WS
473982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47399
47400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47401 and add nop instructions for throughput optimization.
47402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47403
5025581e
WS
474042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47405
47406 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47407 aligned copy for power7 with vector-scalar instructions.
47408 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47409
08a300c9
L
474102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47411
47412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47413 AVX check.
47414
59178ef9
AS
474152011-09-07 Andreas Schwab <schwab@redhat.com>
47416
47417 [BZ #13144]
47418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47419 last change.
47420
e38ba7ab
UD
474212011-09-07 Ulrich Drepper <drepper@gmail.com>
47422
47423 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47424 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47425 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47426 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47427 clock_gettime.
47428
d53a73ac
UD
474292011-09-06 Ulrich Drepper <drepper@gmail.com>
47430
fc8bffcc
UD
47431 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47432 Forgot to demangle the pointer.
47433
ceaa0c5d
UD
47434 * sysdeps/i386/sysdep.h: Define atom_text_section.
47435 * sysdeps/x86_64/sysdep.h: Likewise.
47436 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47437 section with atom_text_section.
47438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47439 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47440 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47443
a77d3c17
UD
47444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47446 already be defined. Change to take two parameters and don't assign
47447 result to variable. Adjust all users.
47448 Define INTERNAL_GETTIME if not already defined.
47449 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47450 call.
47451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47452 HAVE_CLOCK_GETTIME_VSYSCALL.
47453 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47454
d53a73ac
UD
47455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47456 gettimeofday vsyscall, just use time.
47457
a8f84144
AS
474582011-09-06 Andreas Schwab <schwab@redhat.com>
47459
47460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47461 <errno.h>.
47462
ef606249
UD
474632011-09-06 Ulrich Drepper <drepper@gmail.com>
47464
47465 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47466 syscall on x86-64.
47467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47468 syscall.
47469 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47471 syscall if possible.
47472
6585cb60
UD
474732011-09-05 Ulrich Drepper <drepper@gmail.com>
47474
47475 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47476 e_ident. Don't pass to find_mapsXX.
47477 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47478
a5f524e4
LD
474792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47480
47481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47482 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47483 * sysdeps/x86_64/multiarch/strchr.S: Update.
47484 Check bit_slow_BSF bit.
47485 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47486 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47488
554881ef
UD
474892011-09-05 Ulrich Drepper <drepper@gmail.com>
47490
d96de963
UD
47491 [BZ #13134]
47492 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47493 before glibc 2.15.
47494 (tryshell): Define.
47495 (__spawni): Change last parameter to be flag. Test
47496 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47497 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47498 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47499 * posix/spawni.c: Likewise.
47500 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47501 * posix/spawnp.c: Likewise. Change normal version to use
47502 SPAWN_XFLAGS_USE_PATH.
47503 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47504 SPAWN_XFLAGS_TRY_SHELL.
47505
d48e5868
UD
47506 [BZ #13150]
47507 * posix/glob.h: Remove gcc 1.x support.
47508
554881ef
UD
47509 [BZ #13068]
47510 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47511
693fb948
LD
475122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47513
47514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47515 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47516 strrchr-sse2-bsf
47517 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47518 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47519 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47521 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47522 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47523
1b48c537
UD
475242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47525
49d42c37
UD
47526 * sysdeps/x86_64/wcscmp.S: New file.
47527
1b48c537
UD
47528 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47529 wcscmp-c wcscmp-sse2
47530 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47531 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47532 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47533 * wcsmbs/wcscmp.c: Allow renaming.
47534
15c95c5d
DM
475352011-09-05 David S. Miller <davem@davemloft.net>
47536
47537 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47538 stack slot, rather than the struct return pointer slot.
47539 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47540 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47542 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47543
2f0ad8f3
UD
475442011-09-05 Ulrich Drepper <drepper@gmail.com>
47545
d88ae418
UD
47546 * po/ja.po: Update from translation team.
47547
2f0ad8f3
UD
47548 [BZ #13144]
47549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47550 kernel in 64-bit binaries.
47551
5f4318d1
DM
475522011-09-01 David S. Miller <davem@davemloft.net>
47553
47554 * elf/elf.h (HWCAP_SPARC_*): Move to..
47555 * sysdeps/sparc/sysdep.h: this new file and add new values.
47556 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47557 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47558 _DL_HWCAP_COUNT to 24.
47559 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47560 entries.
47561 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47562 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47563 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47565 instead of magic constants.
47566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47567
3ba57516
DM
475682011-08-31 David S. Miller <davem@davemloft.net>
47569
47570 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47572 Reimplement to do errno handling inline.
47573 (SYSCALL_ERROR_HANDLER): New macro.
47574 (__SYSCALL_STRING): Do not do errno handling in asm.
47575 (__CLONE_SYSCALL_STRING): Delete.
47576 (__INTERNAL_SYSCALL_STRING): Delete.
47577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47578 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47579 (PSEUDO): Reimplement to do errno handling inline.
47580 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47581 (SYSCALL_ERROR_HANDLER): New macro.
47582 (__SYSCALL_STRING): Do not do errno handling in asm.
47583 (__CLONE_SYSCALL_STRING): Delete.
47584 (__INTERNAL_SYSCALL_STRING): Delete.
47585 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47586 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47587 i386.
47588 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47589 (inline_syscall*): Add 'err' argument.
47590 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47591 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47592 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47593 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47594
47595 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47596 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47597
2bc17433
AS
475982011-08-30 Andreas Schwab <schwab@redhat.com>
47599
47600 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47601
fbeb5f4d
JO
476022011-08-29 Jiri Olsa <jolsa@redhat.com>
47603
47604 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47605 directive.
47606
ad69cc26
DM
476072011-08-24 David S. Miller <davem@davemloft.net>
47608
47609 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47610
39dd69df
AS
476112011-08-24 Andreas Schwab <schwab@redhat.com>
47612
47613 * elf/Makefile: Add rules to build and run unload8 test.
47614 * elf/unload8.c: New file.
47615 * elf/unload8mod1.c: New file.
47616 * elf/unload8mod1x.c: New file.
47617 * elf/unload8mod2.c: New file.
47618 * elf/unload8mod3.c: New file.
47619
47620 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47621 it wasn't used.
47622
2c0b250a
DM
476232011-08-23 David S. Miller <davem@davemloft.net>
47624
47625 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47626 subtract stack bias.
47627 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47628 %sp not %fp in calculations.
47629 (_JMPBUF_UNWINDS_ADJ): Likewise.
47630
22044b48
DM
47631 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47632 (aio_suspend): Call it to force an exception region around the
47633 AIO_MISC_WAIT() invocation.
47634
2cae4995
AS
476352011-08-23 Andreas Schwab <schwab@redhat.com>
47636
47637 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47638 backslash.
47639
873a772e
AJ
476402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47641
47642 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47643 protection macro.
47644 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47645 and <dl-machine.h>.
47646 (Elf64_FuncDesc): Remove.
47647
25ad0df1
DM
476482011-08-22 David S. Miller <davem@davemloft.net>
47649
47650 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47651 sigaltstack check, add missing cfi directives.
47652 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47653 missing cfi directives, and sigaltstack handling.
47654
e888bcbe
AS
476552011-08-16 Andreas Schwab <schwab@redhat.com>
47656
47657 [BZ #11724]
47658 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47659 object is seen twice.
47660 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47661
47662 * elf/Makefile (distribute): Add tst-initorder2.c.
47663 (tests): Add tst-initorder2.
47664 (modules-names): Add tst-initorder2a tst-initorder2b
47665 tst-initorder2c tst-initorder2d. Add rules to build them.
47666 ($(objpfx)tst-initorder2.out): New rule.
47667 * elf/tst-initorder2.c: New file.
47668 * elf/tst-initorder2.exp: New file.
47669
87162f46
AS
476702011-08-22 Andreas Schwab <schwab@redhat.com>
47671
70538b7f
AS
47672 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47673
f55ffe58
AS
47674 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47675 dependencies back to end of function.
47676
87162f46
AS
47677 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47678 $(elfobjdir)/ld.so.
47679
91b392a4
UD
476802011-08-21 Ulrich Drepper <drepper@gmail.com>
47681
47682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47683 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47685 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47686 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47687 of __vdso_gettimeofday.
47688 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47689 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47690 attribute_hidden.
47691 (_libc_vdso_platform_setup): Remove initialization of
47692 __vdso_gettimeofday and __vdso_time.
47693
5c43483f
UD
476942011-08-20 Ulrich Drepper <drepper@gmail.com>
47695
775a77e7
UD
47696 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47697 and fgetc_unlocked.
47698 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47699 getc_unlocked.
89f447ed 47700
49c74ba9
UD
47701 * elf/dl-open.c (add_to_global): Report additions to the global scope
47702 for LD_DEBUG=scopes.
47703 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47704 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47705
5c43483f
UD
47706 [BZ #13114]
47707 * stdio-common/Makefile (tests): Add bug24.
47708 * stdio-common/bug24.c: New file.
47709
a101b025
AJ
477102011-08-19 Andreas Jaeger <aj@suse.de>
47711
47712 [BZ #13114]
47713 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47714 non-existant file when using close-on-exec mode.
47715
c88f1766
UD
477162011-08-20 Ulrich Drepper <drepper@gmail.com>
47717
0276a718
UD
47718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47719 the very first instruction.
47720
c88f1766
UD
47721 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47722 the CFI state in the end.
47723 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47724 inclusion of dl-trampoline.h.
47725 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47726
51ccffa0
AS
477272011-08-19 Andreas Schwab <schwab@redhat.com>
47728
94d7165f
AS
47729 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47730 expectations for long double.
47731
51ccffa0
AS
47732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47733 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47734
fd708658 477352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47736
47737 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47738 artificual limit depends upon the system page size.
47739
44f0a71e
UD
477402011-08-17 Ulrich Drepper <drepper@gmail.com>
47741
47742 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47743 * resolv/Makefile: Define CFLAGS-libresolv.
47744
8de79a24
AS
477452011-08-17 Andreas Schwab <schwab@redhat.com>
47746
47747 * nss/makedb.c (compute_tables): Make variables used in nested
47748 function static.
47749
27724598
UD
477502011-08-17 Ulrich Drepper <drepper@gmail.com>
47751
c5305d88
UD
47752 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47753 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47754 if buffer was too small.
47755
27724598
UD
47756 * elf/pldd.c (main): Attach to all threads in the process.
47757 Rewrite /proc handling to use *at functions.
47758
076fe015
UD
477592011-08-16 Ulrich Drepper <drepper@gmail.com>
47760
174baab3
UD
47761 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47762 specifies first scope to show.
47763 (dl_open_worker): Update callers. Move printing scope of new
47764 object to before the relocation.
44f0a71e 47765 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47766 * sysdeps/generic/ldsodefs.h: Update declaration.
47767
076fe015
UD
47768 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47769 string for the scope number.
47770
a60df2c3
UD
477712011-08-14 Ulrich Drepper <drepper@gmail.com>
47772
47773 * nscd/servicescache.c (cache_addserv): Make sure written is always
47774 initialized.
47775
5e4287d1
RM
477762011-08-14 Roland McGrath <roland@hack.frob.com>
47777
85ae0589
RM
47778 * sysdeps/i386/i486/bits/atomic.h
47779 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47780 statement expression, so as to suppress "set but not used" warning.
47781 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47782
69f63097
RM
47783 * string/strncat.c (STRNCAT): Use prototype definition.
47784
675456ef
RM
47785 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47786 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47787 -Iprograms here.
47788 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47789 (localedef-modules): Add localedef.
47790 (locale-modules): Add locale.
47791
5e4287d1
RM
47792 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47793 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47794 to avoid a warning.
47795
9c96ff23
DM
477962011-08-14 David S. Miller <davem@davemloft.net>
47797
47798 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47799 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47800
f9ddf089
UD
478012011-08-13 Ulrich Drepper <drepper@gmail.com>
47802
44f0a71e 47803 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47804 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47805 * elf/rtld.c (dl_main): Set l_name of vDSO.
47806 Call _dl_show_scope when DL_DEBUG_SCOPES.
47807 (process_dl_debug): Recognize scopes flag and also set it for all.
47808 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47809 Declare _dl_show_scope.
47810
1dc27704
UD
47811 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47812 (do_dlopen): Pass caller_dlopen to dl_open.
47813 (__libc_dlopen_mode): Initialize caller_dlopen.
47814
f9ddf089
UD
47815 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47816 of libc. Make tolower call locale-independent. Optimize a bit by
47817 using isdigit instead of isalnum.
47818 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47819
9ac533d3
UD
478202011-08-12 Ulrich Drepper <drepper@gmail.com>
47821
47822 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47823 was a dependency or dynamically loaded.
47824
89edf2e9
UD
478252011-08-11 Ulrich Drepper <drepper@gmail.com>
47826
8e999d29
UD
47827 * intl/l10nflist.c: Allow architecture-specific pop function.
47828 * sysdeps/x86_64/l10nflist.c: New file.
47829
89edf2e9
UD
47830 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47831 classification.
47832
14d96785
AS
478332011-08-10 Andreas Schwab <schwab@redhat.com>
47834
47835 * include/dirent.h: Add libc_hidden_proto for scandirat and
47836 scandirat64. Don't declare __scandirat64.
47837 * dirent/scandirat.c: Add libc_hidden_def.
47838 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47839 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47840
6761ac04
DM
478412011-08-10 David S. Miller <davem@davemloft.net>
47842
47843 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47844 enum.
47845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47846 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47848
c55fbd1e
UD
478492011-08-09 Ulrich Drepper <drepper@gmail.com>
47850
47851 * Versions.def [libc]: Add GLIBC_2.15.
47852 * dirent/Makefile (routines): Add scandirat and scandirat64.
47853 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47854 GLIBC_2.15.
47855 * dirent/dirent.h: Declare scandirat and scandirat64.
47856 * dirent/scandirat.c: New file.
47857 * dirent/scandirat64.c: New file.
47858 * sysdeps/wordsize-64/scandirat.c: New file.
47859 * sysdeps/wordsize-64/scandirat64.c: New file.
47860 * dirent/opendir.c: Define opendirat.
47861 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47862 using scandirat.
47863 * dirent/scandir64.c: Adjust for scandir.c change.
47864 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47865 __scandirat64, and __scandir_cancel_handler.
47866 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47867 additional parameter and use openat instead of open (outside of ld.so).
47868 Add new __opendir as wrapper around __opendirat.
47869 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47870 here without requiring old scandirat implementation.
47871
879165f2
UD
478722011-08-08 Ulrich Drepper <drepper@gmail.com>
47873
47874 * dirent/scandir.c (cancel_handler): Renamed to
47875 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47876 defined. Adjust users.
47877 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47878 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47879
cb7e923b
UD
478802011-08-04 Ulrich Drepper <drepper@gmail.com>
47881
16292edd
UD
47882 * string/test-string.h (IMPL): Use __STRING to expand name and then
47883 stringify it.
47884
cb7e923b
UD
47885 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47886 of cleanups.
47887
cff82933
LD
478882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47889
47890 * string/Makefile: Update.
47891 (strop-tests): Append strncat.
47892 * string/test-wcscmp.c: New file.
47893 New comprehensive test for wcscmp.
47894 * string/test-strcmp.c: Update.
47895 (WIDE): New define.
47896
9be9bfcc
AS
478972011-07-22 Andreas Schwab <schwab@redhat.com>
47898
47899 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47900 line.
47901
2e96f1c7
AS
479022011-07-26 Andreas Schwab <schwab@redhat.com>
47903
47904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47905 encoding to ACE if AI_IDN.
47906
85188888
JJ
479072011-08-01 Jakub Jelinek <jakub@redhat.com>
47908
47909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47910 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47911
5fa16e9b
LD
479122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47913
47914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47915 Fix overflow bug in strncat.
47916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47917
47918 * string/test-strncat.c: Update.
47919 Add new tests for checking overflow bugs.
47920
479212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47922
47923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47924 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47925 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47926 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47928 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47929 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47930 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47931 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47932
47933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47934 (USE_AS_STRCAT): Define.
47935 Add strcat and strncat support.
47936 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47937
8c1a459f
AS
479382011-07-25 Andreas Schwab <schwab@redhat.com>
47939
47940 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47941 __n bigger than INT_MAX+1.
47942 (__strncmp_g): Likewise.
47943
bba33c28
UD
479442011-07-23 Ulrich Drepper <drepper@gmail.com>
47945
798be72d
UD
47946 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47947 * libio/stido.h: Likewise.
47948
8accd4dc
UD
47949 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47950 (AF_NFC): Define.
47951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47952 (AF_NFC): Define.
47953
cbff0d96
UD
47954 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47955 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47957 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47959
9191c04a
UD
47960 [BZ #13021]
47961 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47962 installed.
47963
bba33c28
UD
47964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47965 typo.
47966 (_dl_x86_64_save_sse): Likewise.
47967
90f139dd
UD
479682011-07-22 Ulrich Drepper <drepper@gmail.com>
47969
1aae088a
UD
47970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47971 OSXSAVE.
47972 (_dl_x86_64_save_sse): Likewise.
47973
8e2045f5
UD
47974 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47975
90f139dd
UD
47976 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47977
1d002f25
AS
479782011-07-21 Andreas Schwab <schwab@redhat.com>
47979
47980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47981 change.
47982 (_dl_x86_64_save_sse): Use correct AVX check.
47983
21137f89
UD
479842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47985
47986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47987 bug in strncpy/strncat.
47988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47989
a65c0b7a
UD
479902011-07-21 Ulrich Drepper <drepper@gmail.com>
47991
47992 * string/tester.c (test_strcat): Add tests for different alignments
47993 of source and destination.
47994 (test_strncat): Likewise.
47995
6986b98a
UD
479962011-07-20 Ulrich Drepper <drepper@gmail.com>
47997
90bb2039
UD
47998 [BZ #12852]
47999 * posix/glob.c (glob): Check passed in values before using them in
48000 expressions to avoid some overflows.
48001 (glob_in_dir): Likewise.
48002
5644ef54
UD
48003 [BZ #13007]
48004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48005 check for AVX enablement so that we don't crash with old kernels and
48006 new hardware.
48007 * elf/tst-audit4.c: Add same checks here.
48008 * elf/tst-audit6.c: Likewise.
48009
48010 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48011
bfc9dc9b
AS
480122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48013
48014 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48015
702e64bb
UD
480162011-07-20 Ulrich Drepper <drepper@gmail.com>
48017
48018 * po/cs.po: Update from translation team.
48019 * po/bg.po: Likewise.
48020
295e904f
MP
480212011-07-12 Marek Polacek <mpolacek@redhat.com>
48022
48023 * misc/sys/cdefs.h: Add support for const attribute.
48024 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48025 to gnu_dev_{major,minor,makedev} functions.
48026
3ff94596
MP
480272011-07-20 Marek Polacek <mpolacek@redhat.com>
48028
48029 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48030
28b59fca
AS
480312011-07-20 Andreas Schwab <schwab@redhat.com>
48032
48033 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48034 strlen results.
48035
19df733e
AK
480362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48037
48038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48039 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48040 register in order to avoid conflicts with the soft frame pointer
48041 being held in r11 when necessary.
48042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48043 (INTERNAL_VSYSCALL_NCS): Likewise.
48044
c8835729
MP
480452011-07-14 Marek Polacek <mpolacek@redhat.com>
48046
48047 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48048 * elf/dl-fini.c (_dl_fini): Adjust caller.
48049 * elf/dl-close.c (_dl_close_worker): Likewise.
48050 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48051
b902330c
MP
480522011-07-15 Marek Polacek <mpolacek@redhat.com>
48053
8991e135
MP
48054 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48055 "aux_cache->nlibs < 0".
48056
b902330c
MP
48057 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48058 in the reload-count case.
48059
99710781
LD
480602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48061
48062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48063 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48064 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48065 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48066 * sysdeps/x86_64/multiarch/strcat.S: New file.
48067 * sysdeps/x86_64/multiarch/strncat.S: New file.
48068 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48069 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48070 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48071 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48073 (USE_AS_STRCAT): Define.
48074 Add strcat and strncat support.
48075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48076 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48077 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48078 * string/strncat.c: Update.
48079 (USE_AS_STRNCAT): Define.
48080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48081 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48082 and i7.
48083 * sysdeps/x86_64/multiarch/init-arch.h
48084 (bit_Prefer_PMINUB_for_stringop): New.
48085 (index_Prefer_PMINUB_for_stringop): Likewise.
48086 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48087 bit_Prefer_PMINUB_for_stringop.
48088
7dc6bd90
UD
480892011-07-19 Ulrich Drepper <drepper@gmail.com>
48090
48091 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48092 buffer64.
48093 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48094 of casting of buffer.
48095 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48096 buffer32 and buffer64.
48097 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48098 writes instead of casting of buffer.
48099 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48100 buffer32.
48101 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48102 casting of buffer.
48103
e0e72284
AS
481042011-07-19 Andreas Schwab <schwab@redhat.com>
48105
48106 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48107
feb1eb0b
UD
481082011-07-19 Ulrich Drepper <drepper@gmail.com>
48109
48110 * nscd/nscd.c (termination_handler): Don't do anything for a database
48111 if it has not yet been initialized.
48112
298711ff
UD
481132011-07-18 Ulrich Drepper <drepper@gmail.com>
48114
48115 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48116
481172011-07-15 Marek Polacek <mpolacek@redhat.com>
48118
48119 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48120
f9d68389
UD
481212011-07-18 Ulrich Drepper <drepper@gmail.com>
48122
48123 * po/nl.po: Update from translation team.
48124 * po/sv.po: Likewise.
48125
db290cf5
RM
481262011-07-16 Roland McGrath <roland@hack.frob.com>
48127
48128 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48129 now disallowed by GCC.
5c550700 48130
fd5e21c7
RM
48131 * configure.in (use-default-link): Default to yes if a test -shared
48132 link meets our qualifications.
48133 * configure: Regenerated.
48134
5c550700
RM
48135 * config.make.in (output-format): New variable.
48136 * configure.in: Check for ld --print-output-format support.
48137 * configure: Regenerated.
48138 * Makerules ($(common-objpfx)format.lds)
48139 [$(output-format) != unknown]: Just use $(output-format),
48140 instead of the linker-script munging.
48141
9fa2c032
RM
481422011-07-14 Roland McGrath <roland@hack.frob.com>
48143
a6928d51
RM
48144 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48145 of $(common-objpfx)shlib.lds.
48146 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48147
661607b3
RM
48148 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48149 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48150
9fa2c032
RM
48151 * configure.in (-z relro check): Adjust test code to add a large
48152 writable data section after it.
48153 * configure: Regenerated.
48154
defe9061
RM
481552011-07-11 Roland McGrath <roland@hack.frob.com>
48156
48157 * configure.in (-z relro check): Fix test code to make the variable
48158 truly const.
48159 * configure: Regenerated.
48160
319b9ad4
UD
481612011-07-11 Ulrich Drepper <drepper@gmail.com>
48162
48163 * nscd/nscd.h (struct traced_file): Define.
48164 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48165 elements. Add traced_files.
48166 (inotify_fd): Declare.
48167 (register_traced_file): Declare.
48168 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48169 (inotify_fd): Export.
48170 (resolv_conf_descr): Remove.
48171 (nscd_init): Move inotify descriptor creation to main.
48172 Don't register files for notification here.
48173 (register_traced_file): New function.
48174 (invalidate_cache): Don't use reset_res to determine whether to call
48175 res_init, go through the list of registered files.
48176 (main_loop_poll): The inotify descriptors are now stored in the
48177 structures for the traced files.
48178 (main_loop_epoll): Likewise
48179 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48180 to __nss_disable_nscd.
48181 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48182 for a database anymore. Check the records for all the registered
48183 files instead.
48184 * nss/Makefile (libnss_files-routines): Add files-init.
48185 (libnss_db-routines): Add db-init.
48186 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48187 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48188 * nss/nss_db/db-init.c: New file.
48189 * nss/nss_files/files-init.c: New file.
48190 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48191 __nss_lookup_function.
48192 (__nss_lookup_function): Call nss_load_library.
48193 (nss_load_all_libraries): New function.
48194 (__nss_disable_nscd): Take parameter with callback function for files
48195 to register. Set is_nscd. Load all the DSOs for the NSS modules
48196 used for the cached services.
48197 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48198 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48199 options for features to all the files in nscd.
48200
48201 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48202
23bee3e8
RM
482032011-07-10 Roland McGrath <roland@hack.frob.com>
48204
48205 * csu/elf-init.c (__libc_csu_init): Comment typo.
48206
46a5b7f0
UD
482072011-07-09 Ulrich Drepper <drepper@gmail.com>
48208
48209 * po/pl.po: Update from translation team.
48210 * po/ja.po: Likewise.
48211 * po/ru.po: Likewise.
48212 * po/ko.po: Likewise.
48213 * po/fr.po: Likewise.
48214
d30cf5bb
RM
482152011-07-09 Roland McGrath <roland@hack.frob.com>
48216
113ddea4
RM
48217 * configure.in (.ctors/.dtors header and trailer check):
48218 Use an empirical test on a built program.
48219 * configure: Regenerated.
48220
574920b4
RM
48221 * configure.in (-z relro check): Use an empirical test on a built DSO.
48222 Detect, but do not require, on ia64.
48223 * configure: Regenerated.
48224
d30cf5bb
RM
48225 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48226 Update tests that use readelf to use $READELF instead.
48227 * configure: Regenerated.
48228
8538fdb3
UD
482292011-07-08 Ulrich Drepper <drepper@gmail.com>
48230
48231 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48232 if the result is not used.
48233
04d08991
AJ
482342011-07-05 Andreas Jaeger <aj@suse.de>
48235
48236 [BZ#9696]
48237 * stdlib/tst-strtod.c: Add testcase.
48238
de283087
AD
482392011-07-07 Ulrich Drepper <drepper@gmail.com>
48240
4e5f31c8 48241 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48242 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48243 The latter has a higher limit. Take additional parameter to pass to
48244 the new function.
48245 (__pathconf): Pass file to __statfs_link_max.
48246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48247 __statfs_link_max.
48248 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48249 __statfs_link_max.
48250
de283087
AD
48251 [BZ #12868]
48252 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48254 Handle Lustre.
48255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48256 (__statfs_filesize_max): Likewise.
48257 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48258
c75fa153
AJ
482592011-07-05 Andreas Jaeger <aj@suse.de>
48260
48261 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48262
1a544854
UD
482632011-07-06 Marek Polacek <mpolacek@redhat.com>
48264
48265 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48266 `status' variable.
48267 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48268 Likewise.
48269
6f0eec67
UD
482702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48271
48272 * Makefile (strop-tests): Add strncat.
48273 * string/test-strncat.c: New file.
48274
aae30307
UD
482752011-06-30 Marek Polacek <mpolacek@redhat.com>
48276
48277 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48278
c0cfb5eb
UD
482792011-06-21 Andreas Jaeger <aj@suse.de>
48280
48281 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48282 Copy rule from iconvdata/Makefile.
48283
01636b21
UD
482842011-07-06 Ulrich Drepper <drepper@gmail.com>
48285
48286 [BZ #12922]
48287 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48288 but no long options are defined, just return 'W'.
48289
9895c8bc
UD
482902011-06-22 Marek Polacek <mpolacek@redhat.com>
48291
48292 [BZ #9696]
48293 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48294
5d4cf042
UD
482952011-07-06 Ulrich Drepper <drepper@gmail.com>
48296
48297 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48298 netgroups to read.
960e5535 48299 (innetgr): Likewise.
5d4cf042 48300
751eb97e
RM
483012011-07-05 Roland McGrath <roland@hack.frob.com>
48302
48303 * config.make.in (install_root): Default to $(DESTDIR).
48304
f15f1e45
UD
483052011-07-05 Ulrich Drepper <drepper@gmail.com>
48306
48307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48308
4e34ac6a
RM
483092011-07-02 Roland McGrath <roland@hack.frob.com>
48310
5e9b6af4
RM
48311 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48312
84f9ea0f
RM
48313 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48314 containing directory rather than embedding absolute directory names.
48315
ea5ee9f7
RM
48316 * scripts/check-local-headers.sh: Rewritten using awk.
48317 Match by word, not by line. Print error messages for matches.
48318 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48319
1b74661a
RM
48320 * Makerules [shlib-lds-flags empty]:
48321 ($(common-objpfx)libc_pic.opts): New target.
48322 ($(common-objpfx)libc_pic.os.clean): New target.
48323 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48324
48325 * config.make.in (OBJCOPY): New variable.
48326 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48327 * configure: Regenerated.
48328
f781ef40
RM
48329 * config.make.in (use-default-link): New variable.
48330 * configure.in (use_default_link): Grok --with-default-link to set it.
48331 * configure: Regenerated.
48332 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48333 (shlib-lds, shlib-lds-flags): Define to empty.
48334
2d4fa81e
RM
48335 * Makerules (shlib-lds): New variable.
48336 (shlib-lds-flags): New variable.
48337 (build-shlib, build-moduile, build-module-asneeded): Use it.
48338 ($(common-objpfx)libc.so): Use $(shlib-lds).
48339 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48340 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48341
31fffa6b
RM
48342 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48343 DT_FLAGS/DT_FLAGS_1 with zero flags.
48344
4e34ac6a
RM
48345 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48346 linker script munging.
48347
fcfc776b
UD
483482011-07-02 Ulrich Drepper <drepper@gmail.com>
48349
48350 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48351 as 128-bit value.
48352 * crypt/sha512.c (sha512_process_block): Perform total addition using
48353 128-bit if possible.
48354 (__sha512_finish_ctx): Likewise.
48355 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48356 as 64-bit value.
48357 * crypt/sha256.c (SWAP64): Define.
48358 (sha256_process_block): Perform total addition using 64-bit if
48359 possible.
48360 (__sha256_finish_ctx): Likewise.
48361
99231d9a
UD
483622011-07-01 Ulrich Drepper <drepper@gmail.com>
48363
48364 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48365 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48366 * nscd/hstcache.c (cache_addhst): Likewise.
48367 * nscd/grpcache.c (cache_addgr): Likewise.
48368 * nscd/aicache.c (addhstaiX): Likewise
48369 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48370
445b4a53
TK
483712011-07-01 Thorsten Kukuk <kukuk@suse.de>
48372
48373 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48375 * nscd/hstcache.c (cache_addhst): Likewise.
48376 * nscd/grpcache.c (cache_addgr): Likewise.
48377 * nscd/aicache.c (addhstaiX): Likewise
48378
6d4d8e8e
AS
483792011-07-01 Andreas Schwab <schwab@redhat.com>
48380
48381 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48382 domain only when needed.
48383
89f654c5
AS
483842011-06-30 Andreas Schwab <schwab@redhat.com>
48385
48386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48387 is always restored.
48388
cf3b23ff
UD
483892011-06-29 Ulrich Drepper <drepper@gmail.com>
48390
48391 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48392 are re-adding the entry.
48393 * nscd/servicescache.c (cache_addserv): Likewise.
48394
751626f9
AJ
483952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48396
48397 * sysdeps/generic/dl-irel.h: fix protection against multiple
48398 inclusions.
48399 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48400
9113ea1f
UD
484012011-06-28 Ulrich Drepper <drepper@gmail.com>
48402
5c0b8d90
UD
48403 [BZ #12935]
48404 * malloc/memusage.sh: Fix quoting in message.
48405 * debug/xtrace.sh: Likewise.
48406
9113ea1f
UD
48407 * configure.in: Remove support for --experimental-malloc option, make
48408 it the default.
48409 * config.make.in: Likewise.
48410 * malloc/Makefile: Likewise.
48411
a4172181
AS
484122011-06-27 Andreas Schwab <schwab@redhat.com>
48413
48414 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48415 two-byte characters.
48416
78a7eee7
RM
484172011-06-27 Roland McGrath <roland@hack.frob.com>
48418
62bede13
RM
48419 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48420 AC_CACHE_CHECK invocation.
48421 * configure: Regenerated.
48422
78a7eee7
RM
48423 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48424
5ce33a62
UD
484252011-06-27 Ulrich Drepper <drepper@gmail.com>
48426
034807a9
UD
48427 [BZ #12350]
48428 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48429 bit from old_res_options.
48430
4902da17
UD
48431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48432
5ce33a62
UD
48433 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48434 value type for setfct.
48435
c2344f56
L
484362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48437
48438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48439 __gettimeofday instead of gettimeofday.
48440
68468076
UD
484412011-06-26 Ulrich Drepper <drepper@gmail.com>
48442
48443 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48444
acb0d739
L
484452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48446
48447 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48448
48449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48450 info.
48451
8912479f
L
484522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48453
48454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48455 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48456 strcpy-sse2-unaligned strncpy-sse2-unaligned
48457 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48458 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48459 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48460 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48461 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48464 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48465 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48466 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48467 (STRCPY): Support SSE2 and SSSE3 versions.
48468
d5495a11
UD
484692011-06-24 Ulrich Drepper <drepper@gmail.com>
48470
48471 [BZ #12874]
48472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48473 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48474 kernels which artificially limit size of requests.
48475
0b1cbaae
L
484762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48477
48478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48479 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48480 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48481 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48482 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48483 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48484 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48485 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48488 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48489 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48490 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48491 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48492 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48494 Enable unaligned load optimization for Intel Core i3, i5 and i7
48495 processors.
48496 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48497 Define.
48498 (index_Fast_Unaligned_Load): Define.
48499 (HAS_FAST_UNALIGNED_LOAD): Define.
48500
07f494a0
MP
485012011-06-23 Marek Polacek <mpolacek@redhat.com>
48502
48503 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48504
fa3fc0fe
UD
485052011-06-22 Ulrich Drepper <drepper@gmail.com>
48506
48507 [BZ #12907]
48508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48509 until it is clear that the information is realy needed.
48510 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48511
e12df166
AS
485122011-06-22 Andreas Schwab <schwab@redhat.com>
48513
48514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48515
852eb34d
UD
485162011-06-22 Ulrich Drepper <drepper@gmail.com>
48517
84e2a551
UD
48518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48519 /sys/devices/system/cpu/online if it is usable.
48520
852eb34d
UD
48521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48522 reading the information from the /proc filesystem to once a second.
48523
6e502e19
UD
485242011-06-21 Andreas Jaeger <aj@suse.de>
48525
48526 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48527 NULL after inclusion of kernel headers.
48528
75d39ff2
UD
485292011-06-21 Ulrich Drepper <drepper@gmail.com>
48530
51f9aa6a
UD
48531 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48532 calls to internal_setent.
48533
c0244a9d
UD
48534 [BZ #12885]
48535 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48536 addresses using gethostbyname4_r ignore IPv4 addresses.
48537
c5e3c2ae
UD
48538 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48539 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48540
75d39ff2
UD
48541 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48542
42675c6f
DM
485432011-06-20 David S. Miller <davem@davemloft.net>
48544
48545 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48546 inclusions.
48547 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48548
48549 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48550 (elf_irel): Use it.
48551 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48552 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48553 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48554 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48555 * sysdeps/x86_64/dl-irel.h: Likewise.
48556
48557 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48558 * elf/dl-sym.c: Likewise.
48559
57912a71
UD
485602011-06-15 Ulrich Drepper <drepper@gmail.com>
48561
48562 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48563 need to dereference resplen2.
48564
ee22793d
AS
485652011-06-14 Andreas Schwab <schwab@redhat.com>
48566
48567 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48568
a9e836b0
UD
485692011-06-15 Ulrich Drepper <drepper@gmail.com>
48570
77fb9117
UD
48571 * Makeconfig: Define vardbdir and inst_vardbdir.
48572 * nss/Makefile: Add rules to install db-Makefile.
48573
40c1b22c
UD
48574 * nss/nss_db/db-XXX.c: Cleanup.
48575
9f2da732
UD
48576 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48577 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48578 GLIBC_PRIVATE.
48579 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48580 * nss/makedb.c: Implement -g option to specify that value strings
48581 are generated and should not be added to table iterated over for
48582 get*ent calls.
48583 * nss/nss_db/db-initgroups.c: New file.
48584
82e9a1f7
UD
48585 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48586 interface.
48587
c41af17e
UD
48588 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48589 (internal_getgrouplist): Adjust to name change.
48590 Update use_initgroups_entry if this is not the first call.
48591 * nss/databases.def: Add initgroups entry.
48592
a9e836b0
UD
48593 * nss/makedb.c (compute_tables): Check result of multiple hash table
48594 sizes to minimize maximum chain length.
48595
2666d441
UD
485962011-06-14 Ulrich Drepper <drepper@gmail.com>
48597
48598 * Versions.def: Add entry for libnss_db.
48599 * shlib-versions: Likewise.
48600 * nss/Makefile: Add rules to build libnss_db.
48601 * nss/Versions: Add libnss_db information. Organize libnss_files
48602 entries better.
48603 * nss/db-Makefile: Add gshadow support. Change rules for the new
48604 makedb progra. Some minor improvements to generate smaller files.
48605 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48606 here from...
48607 * nss/makedb.c: ...here.
48608 Improve database format to be smaller and require less memory at
48609 runtime.
48610 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48611 db anymore.
48612 * nss/nss_db/db-netgrp.c: Likewise.
48613 * nss/nss_db/db-open.c: Likewise.
48614 * nss/nss_files/flies-XXX.x: Adjust comments.
48615 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48616 * nss/nss_files/files-grp.c: Likewise.
48617 * nss/nss_files/files-hosts.c: Likewise.
48618 * nss/nss_files/files-network.c: Likewise.
48619 * nss/nss_files/files-proto.c: Likewise.
48620 * nss/nss_files/files-pwd.c: Likewise.
48621 * nss/nss_files/files-rpc.c: Likewise.
48622 * nss/nss_files/files-service.c: Likewise.
48623 * nss/nss_files/files-sgrp.c: Likewise.
48624 * nss/nss_files/files-spwd.c: Likewise.
48625 * nss/nss_db/db-alias.c: Removed.
48626 * nss/nss_db/dummy-db.h: Removed.
48627
9ee76b5a
UD
486282011-06-02 Ulrich Drepper <drepper@gmail.com>
48629
48630 * nss/makedb.c: Rewritten to not use database library.
48631 * nss/Makefile: Update to build new makedb program.
48632
c71ca1f8
AJ
486332011-06-14 Andreas Jaeger <aj@suse.de>
48634
48635 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48636 memset declaration.
48637
3154bfb8
UD
486382011-06-10 Andreas Schwab <schwab@redhat.com>
48639
48640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48641 tmpbuf.
48642
b350afab
RM
486432011-06-10 Roland McGrath <roland@hack.frob.com>
48644
decd4e50
RM
48645 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48646 * elf/Makefile ($(objpfx)ld.so): Likewise.
48647
5615eaf2
RM
48648 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48649 Don't list ld.so twice in dependencies.
48650
48651 * posix/bug-regex31.c: Include <stdlib.h>.
48652
48653 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48654
48655 * nis/nss_compat/compat-spwd.c
48656 (getspent_next_nss_netgr): Remove unused variable.
48657 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48658
48659 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48660 nonmembers" output to use the right array.
48661
48662 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48663
48664 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48665
48666 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48667 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48668 * catgets/gencat.c (read_input_file): Likewise.
48669 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48670
48671 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48672 variable definition inside #if's controlling its use.
48673
48674 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48675
48676 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48677
48678 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48679
48680 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48681 unreachable code.
48682
48683 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48684
b68e08db
RM
48685 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48686 * configure: Regenerated.
48687
b350afab
RM
48688 * Makerules: Revert last change.
48689 * elf/Makefile: Likewise.
48690
28368601
RM
486912011-06-09 Roland McGrath <roland@hack.frob.com>
48692
48693 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48694 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48695 (reloc-link): Likewise.
48696
11988f8f
UD
486972011-06-09 Ulrich Drepper <drepper@gmail.com>
48698
48699 * elf/Makefile: Add rules to build pldd.
48700 * elf/pldd.c: New file.
48701 * elf/pldd-xx.c: New file.
48702
e80fab37
UD
487032011-06-07 Ulrich Drepper <drepper@gmail.com>
48704
48705 * version.h: Update for 2.15 development version.
48706
9b849836
DM
487072011-06-07 David S. Miller <davem@davemloft.net>
48708
48709 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48710 ifuncs.
48711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48712 elf_machine_lazy_rel): Likewise.
48713 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48715 elf_machine_lazy_rel): Likewise.
48716 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48717 dl_hwcap via passed in argument.
48718 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48719 Likewise.
48720
5a31b283
AK
487212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48722
48723 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48724
069e52f8
RM
487252011-06-06 Roland McGrath <roland@hack.frob.com>
48726
48727 [BZ #12849]
48728 * manual/fdl-1.1.texi: New file, verbatim from:
48729 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48730 * manual/lgpl-2.1.texi: New file, verbatim from:
48731 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48732 * manual/Makefile (licenses): New variable, list those new file names.
48733 (texis): Use it.
48734 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48735
48736 * manual/fdl.texi: File removed.
48737 * manual/lesser.texi: File removed.
48738 * manual/libc.texinfo (Copying, Documentation License):
48739 Use new @include file names, put @appendix directive before @include.
48740
f16846a5
JJ
487412011-06-04 Jakub Jelinek <jakub@redhat.com>
48742
48743 [BZ #12841]
48744 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48745 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48746 (mq_open): Add __NTH.
48747
3d29045b
L
487482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48749
48750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48751 Assume Intel Core i3/i5/i7 processor if AVX is available.
48752
8c297311
UD
487532011-05-31 Ulrich Drepper <drepper@gmail.com>
48754
48755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48756 typo.
48757
c8fc0c91
UD
487582011-05-31 Andreas Schwab <schwab@redhat.com>
48759
48760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48761 memory. Use alloca_account. Fix memory leak when retrying.
48762
5b27a807
UD
487632011-05-31 Ulrich Drepper <drepper@gmail.com>
48764
356f8bc6
UD
48765 * version.h (RELEASE): Bump for 2.14 release.
48766 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48767
5b27a807
UD
48768 * config.make.in (RANLIB): Remove entry.
48769
01f16ab0
UD
487702011-05-30 Ulrich Drepper <drepper@gmail.com>
48771
41fce8bd
UD
48772 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48773 (libc.pot): Work around missing support for .ksh extension in xgettext.
48774
4769ae77
UD
48775 [BZ #12684]
48776 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48777 if both request failed.
48778 (send_dg): In case of server errors clear resplen or *resplen2.
48779
6b1e7d19
UD
48780 [BZ #12454]
48781 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48782 when there are multiple maps.
48783 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48784 (_dl_fini): Remove test here.
48785
01f16ab0
UD
48786 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48787
b1ebd700
UD
487882011-05-29 Ulrich Drepper <drepper@gmail.com>
48789
7ae22829
UD
48790 [BZ #12350]
48791 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48792 bit from old_res_options.
48793 (gaih_inet): Likewise.
48794
553149f6 48795 [BZ #11099]
18a84741 48796 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48797 as signed.
48798
652ffab1
UD
48799 * resolv/res_init.c (res_setoptions): Make the code more compact.
48800
16985fd0
UD
48801 [BZ #11558]
48802 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48803 set RES_USEVC.
48804
0464f746
UD
48805 [BZ #11634]
48806 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48807
7d17596c
UD
48808 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48809
cf6bbbd7
UD
48810 [BZ #11781]
48811 * malloc/malloc.h: Declare malloc hook variables as volatile.
48812
13f1ab36
UD
48813 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48814 in last patch.
48815
b1ebd700
UD
48816 [BZ #11799]
48817 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48818 raise in the comment.
80e2212d
UD
48819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48821 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48822
ce67228d
UD
488232011-05-28 Ulrich Drepper <drepper@gmail.com>
48824
8887a920
UD
48825 [BZ #12811]
48826 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48827 grow the buffers more if it already has to be sufficient.
48828 (build_wcs_upper_buffer): Likewise.
48829 * posix/regexec.c (check_matching): Likewise.
48830 (clean_state_log_if_needed): Likewise.
48831 (extend_buffers): Don't enlarge buffers beyond size of the input
48832 buffer.
48833 Patches mostly by Emil Wojak <emil@wojak.eu>.
48834 * posix/bug-regex32.c: New file.
48835 * posix/Makefile (tests): Add bug-regex32.
48836
4f031072
UD
48837 * locale/findlocale.c (_nl_find_locale): Return right away if
48838 _nl_explode_name failed.
48839 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48840
d0478f0c
UD
48841 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48842
de81b246
UD
48843 * debug/xtrace.sh: Unify messages.
48844 * malloc/memusage.sh: Likewise.
48845
c738465a
UD
48846 [BZ #12813]
48847 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48848 time symbol from vDSO. Substitute with vsyscall if not available.
48849 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48850 __vdso_time.
48851
f1f929d7
UD
48852 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48853 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48854 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48855 Add sendmmsg and internal_sendmmsg.
48856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48857 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48859
ce67228d
UD
48860 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48861 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48863
e57420c6
UD
488642011-05-27 Ulrich Drepper <drepper@gmail.com>
48865
a8509ca5
UD
48866 [BZ #12813]
48867 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48868 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48869 available.
48870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48871 __vdso_getcpu.
48872
e57420c6
UD
48873 [BZ #12814]
48874 * iconvdata/Makefile (tests): Add bug-iconv9.
48875 * iconvdata/bug-iconv9.c: New file.
48876
4d07db15
AS
488772011-05-27 Andreas Schwab <schwab@redhat.com>
48878
48879 [BZ #12814]
48880 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48881
ea486f69
JJ
488822011-05-25 Jakub Jelinek <jakub@redhat.com>
48883
48884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48885 (struct user_regs_struct): Change intcs field back to cs.
48886
6f038433
UD
488872011-05-25 Ulrich Drepper <drepper@gmail.com>
48888
48889 * po/ja.po: Update from translation team.
48890
67f86a25
UD
488912011-05-23 Ulrich Drepper <drepper@gmail.com>
48892
48893 [BZ #12795]
48894 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48895 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48896
def7fbd6
AS
488972011-05-20 Andreas Schwab <schwab@redhat.com>
48898
48899 * stdlib/longlong.h: Update from GCC.
48900
f50ef8f1
AS
489012011-05-23 Andreas Schwab <schwab@redhat.com>
48902
48903 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48904 parameter name.
48905 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48906 Add parameter name.
48907 (__sysconf): Pass it down.
48908
de7ce8f1
UD
489092011-05-22 Ulrich Drepper <drepper@gmail.com>
48910
f2962a71
UD
48911 [BZ #12671]
48912 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48913 some situations.
48914 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48915 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48916 add in in __libc_use_alloca calls. Adjust callers.
48917 (glob): Use malloc in some situations.
48918
de7ce8f1
UD
48919 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48920 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48921 pltexit.
48922
aec84f53
UD
489232011-05-21 Ulrich Drepper <drepper@gmail.com>
48924
05bb4a68
UD
48925 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48926 and CLOCK_BOOTTIME_ALARM.
48927
7ea72f99
UD
48928 [BZ #12782]
48929 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48930 is returned.
48931
7e4afad5
UD
48932 * string/_strerror.c (__strerror_r): Print negative errors as signed
48933 numbers.
48934
8e211fec
UD
48935 [BZ #12777]
48936 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48937 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48938 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48939
f7d82dc9
UD
48940 * configure.in: Fix typo in redirection and correct removal of test
48941 files in two cases.
48942
cc9e536d
UD
48943 [BZ #12788]
48944 * locale/setlocale.c (new_composite_name): Fix test to check for
48945 identical name of all categories.
48946
aec84f53
UD
48947 [BZ #12792]
48948 * libio/filedoalloc.c (local_isatty): New function.
48949 (_IO_file_doallocate): Use local_isatty.
48950 * stdio-common/perror.c (perror): In case a new stream is used
48951 forward the stream error.
48952 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48953 error flag.
48954
78e64fdc
RT
489552011-05-20 Ulrich Drepper <drepper@gmail.com>
48956
34a9094f
UD
48957 [BZ #11869]
48958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48959 alloca.
48960 * include/alloca.h (extend_alloca_account): Define.
48961
78e64fdc
RT
48962 [BZ #11857]
48963 * posix/regex.h: Fix comments with documentation of user-accessible
48964 fields after compilation and describe correct free'ing of pattern
48965 after re_compile_pattern.
48966 Patch by Reuben Thomas <rrt@sc3d.org>.
48967
457bddfc
RA
489682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48969
48970 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48971 and -mno-altivec to prevent the compiler from using Altivec and/or
48972 VSX instructions when the corresponding registers are not available.
48973
a4527b51
AS
489742011-05-19 Andreas Schwab <schwab@redhat.com>
48975
48976 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48977
ed690b2f
UD
489782011-05-19 Ulrich Drepper <drepper@gmail.com>
48979
48980 * libio/freopen.c (freopen): Use __dup2, not dup2.
48981 * libio/freopen64.c (freopen64): Likewise.
48982
8db73634
L
489832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48984
48985 [BZ #12775]
48986 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48987 * math/Makefile (tests): Add test-powl.
48988 (CFLAGS-test-powl.c): Define.
48989 * math/test-powl.c: New file.
48990
0a197a9d
L
489912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48992
48993 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48994
ee30c380
UD
489952011-05-17 Ulrich Drepper <drepper@gmail.com>
48996
48997 [BZ #11837]
48998 * iconvdata/gb18030.c: Update to GB18020-2005.
48999
6ce75379
UD
490002011-05-16 Ulrich Drepper <drepper@gmail.com>
49001
a4b89fd8
AR
49002 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49003 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49004 Patch by Aharon Robbins <arnold@skeeve.com>.
49005
ea389b12
UD
49006 [BZ #11892]
49007 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49008 on the stack.
49009
68a3f91f
UD
49010 [BZ #11895]
49011 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49012 through underflows.
49013
15cc7dd1
UD
49014 [BZ #12766]
49015 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49016 point to strings before performing equality test for error_one_per_line
49017 mode.
49018
f3799213
UD
49019 [BZ #11697]
49020 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49021
d79a9c94
UD
49022 [BZ #11820]
49023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49024 (struct user_fpregs_struct): Avoid __uint*_t types.
49025
56e5eb46
UD
49026 [BZ #6420]
49027 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49028 symbol info. Use it instead of calling _dl_addr locally.
49029 (lock_and_info): New function.
49030 (tr_freehook): Call lock_and_info and pass symbol info as additional
49031 parameter to tr_where.
49032 (tr_mallochook): Likewise.
49033 (tr_reallochook): Likewise.
49034 (tr_memalignhook): Likewise.
49035
6ce75379
UD
49036 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49037 used and couldn't be at all thread-safe.
49038
f8a3b5bf
UD
490392011-05-15 Ulrich Drepper <drepper@gmail.com>
49040
94b7cc37
UD
49041 * libio/freopen.c (freopen): Don't close old file descriptor
49042 before the new one is opened. Instead dup the new file descriptor
49043 to the old one after the new stream is created.
49044 * libio/freopen64.c (freopen64): Likewise.
49045 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49046 * libio/fileops.c (_IO_new_file_close_it): Handle new
49047 _IO_FLAGS2_NOCLOSE flag.
49048 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49049 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49050 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49051 _IO_FLAGS2_NOCLOSE flag.
49052 * include/unistd.h: Add hidden_proto for dup3.
49053 Define __have_dup3.
49054 * io/dup3.c: Define hidden symbol.
49055 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49056
bd25564e
UD
49057 [BZ #7101]
49058 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49059 when an incomplete long option is used.
49060 * posix/tst-getopt_long1.c: New file.
49061 * posix/Makefile (tests): Add tst-getopt_long1.
49062
c84cfef4
UD
49063 [BZ #10138]
49064 * scripts/config.guess: Update from autoconf-2.68.
49065 * scripts/config.sub: Likewise.
49066
3b85df27
UD
49067 [BZ #10157]
49068 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49069 tests into ...
49070 (has_cpuclock): ...this. New function.
49071 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49072 macro here based on has_cpuclock code.
49073
15a856b1
UD
49074 [BZ #10149]
49075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49076 First byte (not low byte) is now always NUL.
49077 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49078
05f399e6
UD
49079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49080 Use non-cancelable interfaces.
49081
10a52685 49082 [BZ #9809]
94ecc67d
UD
49083 * locale/iso-639.def: Add entry for Sorani.
49084
f8a3b5bf
UD
49085 [BZ #11901]
49086 * include/stdlib.h: Move include protection to the right place.
49087 Define abort_msg_s. Declare __abort_msg with it.
49088 * stdlib/abort.c (__abort_msg): Adjust type.
49089 * assert/assert.c (__assert_fail_base): New function. Majority
49090 of code from __assert_fail. Allocate memory for __abort_msg with
49091 mmap.
49092 (__assert_fail): Now call __assert_fail_base.
49093 * assert/assert-perr.c: Remove bulk of implementation. Use
49094 __assert_fail_base.
49095 * include/assert.hL Declare __assert_fail_base.
49096 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49097 mmap.
49098 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49099
1af4e298
UD
491002011-05-14 Ulrich Drepper <drepper@gmail.com>
49101
f8a3b5bf 49102 [BZ #11952]
d26dfc60
MG
49103 [BZ #12453]
49104 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49105 until all modules are registered in the DTV.
49106 * elf/Makefile: Add rules to build and run tst-tls19.
49107 * elf/tst-tls19.c: New file.
49108 * elf/tst-tls19mod1.c: New file.
49109 * elf/tst-tls19mod2.c: New file.
49110 * elf/tst-tls19mod3.c: New file.
49111 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49112
2fc54d6f
UD
49113 [BZ #12083]
49114 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49115 correctly.
49116
98d76b46
UD
49117 [BZ #12601]
49118 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49119 two-byte sequence errors.
49120 * iconvdata/Makefile (tests): Add bug-iconv8.
49121 * iconvdata/bug-iconv8.c: New file.
49122
da3c19ef
UD
49123 [BZ #12626]
49124 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49125 buf2 definition.
49126
ca408c15
UD
49127 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49128
d6f67f7d
UD
49129 [BZ #12432]
49130 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49131 (dummy_getcfa): New function.
49132 (init): Get _Unwind_GetCFA address, use dummy if not found.
49133 (backtrace_helper): In recursion check, also check whether CFA changes.
49134 (__backtrace): Completely initialize arg.
49135
1af4e298 49136 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49137 storing incomplete byte sequence in state object. Avoid testing for
49138 guaranteed too small input if we know there is enough data available.
1af4e298 49139
da62f81b
AS
491402011-05-11 Andreas Schwab <schwab@redhat.com>
49141
49142 * Makeconfig (+link-pie): Indent.
49143 * Rules (binaries-pie): Define if $(have-fpie) and
49144 $(build-shared).
49145 (binaries-shared): Also filter out $(binaries-pie).
49146 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49147 * nscd/Makefile (others-pie): Add nscd.
49148 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49149 ($(objpfx)nscd): Remove command override.
49150 * login/Makefile (others-pie): Add pt_chown.
49151 ($(objpfx)pt_chown): Remove command override.
49152 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49153 remove command overrides.
49154
fcabc0f8
UD
491552011-05-13 Ulrich Drepper <drepper@gmail.com>
49156
20030ae6
UD
49157 * libio/tst_putwc.c: Fix error messages.
49158
fcabc0f8
UD
49159 [BZ #12724]
49160 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49161 currently writing and seek to current position when not.
49162 * libio/Makefile (tests): Add bug-fclose1.
49163 * libio/bug-fclose1.c: New file.
49164
320a5dc0
PB
491652011-05-12 Ulrich Drepper <drepper@gmail.com>
49166
49167 [BZ #12511]
49168 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49169 don't set DF_1_NODELETE here.
49170 (do_lookup_x): When entering new entry test for copy relocation
49171 and if necessary set DF_1_NODELETE flag.
49172 * elf/tst-unique4.cc: New file.
49173 * elf/tst-unique4.h: New file.
49174 * elf/tst-unique4lib.cc: New file.
49175 * elf/Makefile: Add rules to build and run tst-unique4.
49176 Patch by Piotr Bury <pbury@goahead.com>.
49177
22836f52
UD
491782011-05-11 Ulrich Drepper <drepper@gmail.com>
49179
f574184a
UD
49180 [BZ #12052]
49181 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49182
e1fb097f
UD
49183 [BZ #12625]
49184 * misc/mntent_r.c (addmntent): Flush the stream after the output
49185
22836f52
UD
49186 [BZ #12393]
49187 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49188 (is_trusted_path_normalize): Skip initial colon. Append slash
49189 to empty buffer. Duplicate is_trusted_path code but allow
49190 constructed patch to be prefix.
49191 (is_dst): Allow $ORIGIN followed by /.
49192 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49193 Correct testing of result of is_trusted_path_normalize
49194 (decompose_rpath): Fix warning.
49195
7b3b0b2a
UD
491962011-05-10 Ulrich Drepper <drepper@gmail.com>
49197
49198 [BZ #11257]
49199 * grp/initgroups.c (internal_getgrouplist): When we found the service
49200 list through the initgroups entry in nsswitch.conf do not always
49201 continue on a successful lookup. Don't always use the
eac80ce2 49202 __nss_group_database value if it is set.
7b3b0b2a
UD
49203 * nss/nsswitch.conf (initgroups): Change action for successful db
49204 lookup to continue for compatibility.
49205
2a81eaa5
UD
492062011-05-09 Ulrich Drepper <drepper@gmail.com>
49207
be97a69e
UD
49208 [BZ #11532]
49209 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49210 and CP774 modules.
49211 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49212 and CP774 modules.
49213 * iconvdata/tst-tables.sh: Likewise.
49214 * iconvdata/cp770.c: New file.
49215 * iconvdata/cp771.c: New file.
49216 * iconvdata/cp772.c: New file.
49217 * iconvdata/cp773.c: New file.
49218 * iconvdata/cp774.c: New file.
49219 * iconvdata/testdata/CP770: New file.
49220 * iconvdata/testdata/CP770..UTF8: New file.
49221 * iconvdata/testdata/CP771: New file.
49222 * iconvdata/testdata/CP771..UTF8: New file.
49223 * iconvdata/testdata/CP772: New file.
49224 * iconvdata/testdata/CP772..UTF8: New file.
49225 * iconvdata/testdata/CP773: New file.
49226 * iconvdata/testdata/CP773..UTF8: New file.
49227 * iconvdata/testdata/CP774: New file.
49228 * iconvdata/testdata/CP774..UTF8: New file.
49229
49230 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49231 END CHARMAP line.
49232 * iconvdata/gen-8bit-gap.sh: Likewise.
49233 * iconvdata/gen-8bit.sh: Likewise.
49234
c1e9e399
UD
49235 * locale/iso-639.def: Add ary entry.
49236
24c55fb3 49237 [BZ #11258]
96b4b1b0
UD
49238 * locale/C-translit.h.in: Add U20A1 transliteration.
49239
bdc2f971
KB
49240 [BZ #12178]
49241 * locale/iso-639.def: Add wae entry.
49242 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49243
2952b117
UD
49244 [BZ #12545]
49245 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49246 for n.
49247
2a81eaa5
UD
49248 [BZ #12711]
49249 * locale/C-translit.h.in: Add entry for U20B9.
49250 Patch by pravin.d.s@gmail.com.
49251
28377d1b
UD
492522011-05-08 Ulrich Drepper <drepper@gmail.com>
49253
7fb90fb8
UD
49254 [BZ #12713]
49255 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49256 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49257 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49258 in rtld. Use *stat64.
7fb90fb8 49259 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49260 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49261 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49262 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49263 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49264 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49265 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49266 __fstatat64 macros.
7fb90fb8
UD
49267 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49268 * dirent/rewinddir.c: Add libc_hidden_def.
49269 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49270 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49271
28377d1b
UD
49272 * include/dirent.h (__alloc_dir): Add flags parameter.
49273 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49274 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49275 __alloc_dir.
49276 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49277 from fdopendir if O_CLOEXEC is already set.
49278
66bdbaa4
AM
492792011-03-15 Alan Modra <amodra@gmail.com>
49280
49281 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49282 l_tls_firstbyte_offset non-zero. Save padding offset in
49283 l_tls_firstbyte_offset for later use.
49284 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49285 freeing static tls block.
49286
95721191
JN
492872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49288
49289 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49290 where #ifdef was intended. The intent is to prevent ARG_MAX from
49291 being defined by the kernel headers.
49292
f87dfb1f
UD
492932011-05-07 Ulrich Drepper <drepper@gmail.com>
49294
49295 [BZ #12734]
49296 * resolv/resolv.h: Define RES_NOTLDQUERY.
49297 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49298 no-tld-query and set RES_NOTLDQUERY.
49299 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49300 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49301 modern BIND to search name as TLD unless forbidden.
49302
47c3cd7a
UD
493032011-05-07 Petr Baudis <pasky@suse.cz>
49304 Ulrich Drepper <drepper@gmail.com>
49305
49306 [BZ #12393]
49307 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49308 (is_trusted_path): ...to here.
c1e9ea35 49309 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49310 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49311 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49312
8a35c912
PP
493132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49314
49315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49316 __BEGIN/__END_DECLS.
49317
acd41f47
UD
493182011-05-06 Ulrich Drepper <drepper@gmail.com>
49319
49320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49321 NSS_STATUS_NOTFOUND if no record was found.
49322
597df647
AS
493232011-05-05 Andreas Schwab <schwab@redhat.com>
49324
49325 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49326 (headers-not-in-tirpc): Remove rpc/netdb.h
49327 * resolv/netdb.h: Revert last change.
49328
b9af1301
PP
493292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49330
49331 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49332 circular dependency between libgcc.a and libc.a.
49333
4e34d5f5
AS
493342011-05-05 Andreas Schwab <schwab@redhat.com>
49335
49336 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49337 * nis/Makefile: Don't install rpcsvc/*.
49338 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49339 instead of <rpc/types.h>.
49340 (MAXHOSTNAMELEN): Define.
49341
00ee369c
AS
493422011-05-03 Andreas Schwab <schwab@redhat.com>
49343
49344 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49345
0b592a30
MB
493462011-04-28 Maciej Babinski <mbabinski@google.com>
49347
49348 [BZ #12714]
49349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49350 gethostbyname4_r when IPv6 results are possible.
49351
6e04cbbe
UD
493522011-05-02 Ulrich Drepper <drepper@gmail.com>
49353
49354 [BZ #12723]
49355 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49356 _PC_PIPE_BUF handling.
49357
e4ecafe0
BH
493582011-04-30 Bruno Haible <bruno@clisp.org>
49359
49360 [BZ #12717]
49361 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49362 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49363 to 'int'.
49364 * inet/getnameinfo.c (getnameinfo): Likewise.
49365
125ee683
UD
493662011-04-29 Ulrich Drepper <drepper@gmail.com>
49367
49368 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49369 to groups setting in database lookup.
49370 * nss/nsswitch.conf: Add initgroups entry.
49371
b722481a
EB
493722011-04-22 Ulrich Drepper <drepper@gmail.com>
49373
49374 [BZ #12685]
49375 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49376 mode string.
49377 Patch by Eric Blake <eblake@redhat.com>.
49378
4df46dbd
L
493792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49380
49381 * sunrpc/Makefile (need-export-routines): Add svc_run.
49382 (routines): Remove svc_run.
49383 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49384 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49385 * sunrpc/svc_run.c (svc_run): Likewise.
49386 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49387
e84142d2
UD
493882011-04-21 Ulrich Drepper <drepper@gmail.com>
49389
49390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49391 problem in reallocation in last patch.
49392
877175d8
UD
493932011-04-20 Ulrich Drepper <drepper@gmail.com>
49394
49395 * sunrpc/Makefile: Move inclusion of Rules.
49396
ab8eed78
UD
493972011-04-19 Ulrich Drepper <drepper@gmail.com>
49398
49399 * nss/nss_files/files-initgroups.c: New file.
49400 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49401 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49402 _nss_files_initgroups_dyn.
49403
e3d8f584
RS
494042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49405
49406 * elf/elf.h (R_ARM_IRELATIVE): Define.
49407
af190f45
UD
494082011-04-19 Ulrich Drepper <drepper@gmail.com>
49409
49410 * po/ru.po: Update from translation team.
49411
53cf59ef
UD
494122011-04-17 Ulrich Drepper <drepper@gmail.com>
49413
49414 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49415 dependencies.
49416
4c559bcd
MF
494172011-02-06 Mike Frysinger <vapier@gentoo.org>
49418
49419 [BZ #12653]
49420 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49421 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49422 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49424 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49425
4420675c
AS
494262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49427
49428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49429 differing bytes.
49430 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49433
75ea32ab
UD
494342011-04-17 Ulrich Drepper <drepper@gmail.com>
49435
49436 [BZ #12420]
49437 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49438 storing it.
49439 * stdlib/bug-getcontext.c: New file.
49440 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49441
27390476
AK
494422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49443
49444 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49445 instructions into .machine "z9-109".
49446 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49447 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49448
10442705
AK
494492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49450
49451 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49452 between environment variables and auxiliary vector.
49453
7b57bfe5
UD
494542011-04-16 Ulrich Drepper <drepper@gmail.com>
49455
49456 * Makefile: Add rules to build linkobj/libc.so.
49457 * include/libc-symbols.h: Define libc_hidden_nolink.
49458 * include/rpc/auth.h: Mark functions which are to be hidden.
49459 * include/rpc/auth_des.h: Likewise.
49460 * include/rpc/auth_unix.h: Likewise.
49461 * include/rpc/clnt.h: Likewise.
49462 * include/rpc/des_crypt.h: Likewise.
49463 * include/rpc/key_prot.h: Likewise.
49464 * include/rpc/pmap_clnt.h: Likewise.
49465 * include/rpc/pmap_prot.h: Likewise.
49466 * include/rpc/pmap_rmt.h: Likewise.
49467 * include/rpc/rpc_msg.h: Likewise.
49468 * include/rpc/svc.h: Likewise.
49469 * include/rpc/svc_auth.h: Likewise.
49470 * include/rpc/xdr.h: Likewise.
49471 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49472 * nss/Makefile: Likewise.
49473 * sunrpc/Makefile: Don't install headers. Build library with normal
49474 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49475 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49476 for the compat linking library. Remove use of INTDEF/INTUSE.
49477 * sunrpc/auth_none.c: Likewise.
49478 * sunrpc/auth_unix.c: Likewise.
49479 * sunrpc/authdes_prot.c: Likewise.
49480 * sunrpc/authuxprot.c: Likewise.
49481 * sunrpc/clnt_gen.c: Likewise.
49482 * sunrpc/clnt_perr.c: Likewise.
49483 * sunrpc/clnt_raw.c: Likewise.
49484 * sunrpc/clnt_simp.c: Likewise.
49485 * sunrpc/clnt_tcp.c: Likewise.
49486 * sunrpc/clnt_udp.c: Likewise.
49487 * sunrpc/clnt_unix.c: Likewise.
49488 * sunrpc/des_crypt.c: Likewise.
49489 * sunrpc/des_soft.c: Likewise.
49490 * sunrpc/get_myaddr.c: Likewise.
49491 * sunrpc/key_call.c: Likewise.
49492 * sunrpc/key_prot.c: Likewise.
49493 * sunrpc/netname.c: Likewise.
49494 * sunrpc/pm_getmaps.c: Likewise.
49495 * sunrpc/pm_getport.c: Likewise.
49496 * sunrpc/pmap_clnt.c: Likewise.
49497 * sunrpc/pmap_prot.c: Likewise.
49498 * sunrpc/pmap_prot2.c: Likewise.
49499 * sunrpc/pmap_rmt.c: Likewise.
49500 * sunrpc/publickey.c: Likewise.
49501 * sunrpc/rpc_cmsg.c: Likewise.
49502 * sunrpc/rpc_common.c: Likewise.
49503 * sunrpc/rpc_dtable.c: Likewise.
49504 * sunrpc/rpc_prot.c: Likewise.
49505 * sunrpc/rpc_thread.c: Likewise.
49506 * sunrpc/rtime.c: Likewise.
49507 * sunrpc/svc.c: Likewise.
49508 * sunrpc/svc_auth.c: Likewise.
49509 * sunrpc/svc_authux.c: Likewise.
49510 * sunrpc/svc_raw.c: Likewise.
49511 * sunrpc/svc_run.c: Likewise.
49512 * sunrpc/svc_simple.c: Likewise.
49513 * sunrpc/svc_tcp.c: Likewise.
49514 * sunrpc/svc_udp.c: Likewise.
49515 * sunrpc/svc_unix.c: Likewise.
49516 * sunrpc/svcauth_des.c: Likewise.
49517 * sunrpc/xcrypt.c: Likewise.
49518 * sunrpc/xdr.c: Likewise.
49519 * sunrpc/xdr_array.c: Likewise.
49520 * sunrpc/xdr_float.c: Likewise.
49521 * sunrpc/xdr_intXX_t.c: Likewise.
49522 * sunrpc/xdr_mem.c: Likewise.
49523 * sunrpc/xdr_rec.c: Likewise.
49524 * sunrpc/xdr_ref.c: Likewise.
49525 * sunrpc/xdr_sizeof.c: Likewise.
49526 * sunrpc/xdr_stdio.c: Likewise.
49527
e6c61494
UD
495282011-04-10 Ulrich Drepper <drepper@gmail.com>
49529
49530 [BZ #12650]
49531 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49532 * sysdeps/ia64/dl-tls.h: Likewise.
49533 * sysdeps/powerpc/dl-tls.h: Likewise.
49534 * sysdeps/s390/dl-tls.h: Likewise.
49535 * sysdeps/sh/dl-tls.h: Likewise.
49536 * sysdeps/sparc/dl-tls.h: Likewise.
49537 * sysdeps/x86_64/dl-tls.h: Likewise.
49538 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49539
34fe483e
AS
495402011-03-14 Andreas Schwab <schwab@redhat.com>
49541
49542 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49543 rpath element also skip the following colon.
49544 (expand_dynamic_string_token): Add is_path parameter and pass
49545 down to DL_DST_REQUIRED and _dl_dst_substitute.
49546 (decompose_rpath): Call expand_dynamic_string_token with
49547 non-zero is_path. Ignore empty rpaths.
49548 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49549 with zero is_path.
49550
f12a32e6
AS
495512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49552
49553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49554 Make cancelable.
49555
38a7d692
UD
495562011-04-09 Ulrich Drepper <drepper@gmail.com>
49557
49558 [BZ #12655]
49559 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49560 Patch by Filipe David Manana <fdmanana@apache.org>.
49561
e451d22b
AS
495622011-04-07 Andreas Schwab <schwab@redhat.com>
49563
49564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49565 Maintain aligned stack.
49566 (CHECK_RSP): Remove unused macro.
49567
dedc7c7b
UD
495682011-04-03 Ulrich Drepper <drepper@gmail.com>
49569
49570 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49571 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49572
94521213
UD
495732011-04-02 Ulrich Drepper <drepper@gmail.com>
49574
49575 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49576
8cb700c0 49577 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49578
0354e355
L
495792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49580
49581 [BZ #12518]
49582 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49583 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49584 * sysdeps/x86_64/memmove.c: New file.
49585 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49586 (memcpy): Renamed to ...
49587 (__new_memcpy): This.
49588 (memcpy): Provide GLIBC_2_14 memcpy.
49589 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49590 (memcpy): Provide GLIBC_2_2_5 memcpy.
49591
8593482f
UD
495922011-04-01 Ulrich Drepper <drepper@gmail.com>
49593
49594 [BZ #12631]
49595 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49596
81a5726b
AS
495972011-03-30 Andreas Schwab <schwab@redhat.com>
49598
49599 * misc/syncfs.c: New file.
49600 * misc/Makefile (routines): Add syncfs.
49601 * posix/unistd.h: Declare syncfs.
49602 * sysdeps/unix/syscalls.list: Add syncfs.
49603
00e5419f
AS
496042011-04-01 Andreas Schwab <schwab@redhat.com>
49605
49606 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49607 open_by_handle_at.
49608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49609 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49611 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49613 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49615
748876bf
UD
496162011-04-01 Ulrich Drepper <drepper@gmail.com>
49617
658e451d
UD
49618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49619 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49620 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49625
748876bf
UD
49626 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49627 sync_file_range.c with -fexceptions.
49628 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49629 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49630 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49631 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49632 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49633 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49635 sync_file_range as cancellation point
49636 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49637 now a wrapper around __call_sync_file_range with cancellation handling.
49638 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49639 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49640 function name to __call_sync_file_range.
49641 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49642 Add call_sync_file_range.
748876bf 49643
6e63d5e1
AS
496442011-04-01 Andreas Schwab <schwab@redhat.com>
49645
49646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49647 bits/timex.h.
6e63d5e1 49648
46998f74
UD
496492011-04-01 Ulrich Drepper <drepper@gmail.com>
49650
4c1423ed
UD
49651 * iconv/iconv.h: Fix typo in comment.
49652 * io/fcntl.h: Likewise.
49653 * libio/stdio.h: Likewise.
49654 * posix/spawn.h: Likewise.
49655 * posix/unistd.h: Likewise.
49656 * stdlib/stdlib.h: Likewise.
49657 * time/time.h: Likewise.
49658 * wcsmbs/wchar.h: Likewise.
49659
158648c0
UD
49660 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49661 open_by_handle): Add.
49662 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49663 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49664 Augment a few comments.
49665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49670 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49671 open_by_handle.
49672
46998f74
UD
49673 * io/fcntl.h (AT_EMPTY_PATH): Define.
49674
83fe108b
UD
496752011-03-30 Ulrich Drepper <drepper@gmail.com>
49676
49677 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49678 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49679 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49680 to...
49681 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49682 * Versions.def: Add GLIBC_2.14.
49683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49684 Export.
83fe108b 49685
bb242059
UD
496862011-03-22 Ulrich Drepper <drepper@gmail.com>
49687
49688 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49689 round counter.
49690 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49691
c97a1282
L
496922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49693
49694 [BZ #12597]
49695 * string/test-strncmp.c (do_page_test): New function.
49696 (check2): Likewise.
49697 (test_main): Call check2.
49698 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49699
2a115601
UD
497002011-03-20 Ulrich Drepper <drepper@gmail.com>
49701
49702 [BZ #12587]
49703 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49704 Handle cache information in CPU leaf 4.
49705 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49706
8126d904
UD
497072011-03-18 Ulrich Drepper <drepper@gmail.com>
49708
042c49c6 49709 [BZ #12583]
8126d904
UD
49710 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49711 character representation.
49712 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49713
ccfe366e
RA
497142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49715
49716 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49717 END(__isnan) to END(__isnanf) to match function entry point/label
49718 EALIGN(__isnanf,...).
49719
c6e13027
JJ
497202011-03-10 Jakub Jelinek <jakub@redhat.com>
49721
49722 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49723
33f85a3f
UD
497242011-03-10 Ulrich Drepper <drepper@gmail.com>
49725
028478fa
UD
49726 [BZ #12510]
49727 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49728 copy from the symbol referenced in the relocation to initialize the
49729 used variable.
49730 Patch by Piotr Bury <pbury@goahead.com>.
49731 * elf/Makefile: Add rules to build and tst-unique3.
49732 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49733 * elf/tst-unique3.cc: New file.
49734 * elf/tst-unique3.h: New file.
49735 * elf/tst-unique3lib.cc: New file.
49736 * elf/tst-unique3lib2.cc: New file.
49737
33f85a3f
UD
49738 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49739
03592fc7
MF
497402011-03-10 Mike Frysinger <vapier@gentoo.org>
49741
49742 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49743 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49744 to _start.
03592fc7 49745
6a5ee102
UD
497462011-03-06 Ulrich Drepper <drepper@gmail.com>
49747
49748 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49749 to-be-loaded object along a path to loader is ld.so.
49750
7e4ba49c
HJ
497512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49752 Ulrich Drepper <drepper@gmail.com>
49753
49754 * sysdeps/x86_64/memset.S: After aligning destination, code
49755 branches to different locations depending on the value of
49756 misalignment, when multiarch is enabled. Fix this.
49757
497582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49759
49760 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49761 Set _x86_64_preferred_memory_instruction for AMD processsors.
49762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49763 Set bit_Prefer_SSE_for_memop for AMD processors.
49764
13a804de
UD
497652011-03-04 Ulrich Drepper <drepper@gmail.com>
49766
49767 * libio/fmemopen.c (fmemopen): Optimize a bit.
49768
9d25c392
AS
497692011-03-03 Andreas Schwab <schwab@redhat.com>
49770
49771 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49772
a5543c6a
RM
497732011-03-03 Roland McGrath <roland@redhat.com>
49774
49775 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49776
012d35f7
DM
497772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49778
7e4ba49c 49779 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49780 __bzero_ultra1 instead of __memset_ultra1.
49781
4bff6e01
AS
497822011-02-23 Andreas Schwab <schwab@redhat.com>
49783 Ulrich Drepper <drepper@gmail.com>
49784
49785 [BZ #12509]
49786 * include/link.h (struct link_map): Add l_orig_initfini.
49787 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49788 returning unsuccessfully.
49789 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49790 close of a file loaded at startup, restore the original l_initfini
49791 list.
49792 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49793 list, store the pointer.
49794 * elf/Makefile ($(objpfx)noload-mem): New rule.
49795 (noload-ENV): Define.
49796 (tests): Add $(objpfx)noload-mem.
49797 * elf/noload.c: Include <memcheck.h>.
49798 (main): Call mtrace. Close all opened handles.
49799
f2092faf
AS
498002011-02-17 Andreas Schwab <schwab@redhat.com>
49801
49802 [BZ #12454]
49803 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49804 dependencies are missing.
49805
6c8a2e88
ST
498062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49807
f2092faf 49808 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49809 Hurd needs munmap.
49810 * sysdeps/mach/hurd/ifreq.h: New file.
49811
84a42118
PB
498122011-01-27 Petr Baudis <pasky@suse.cz>
49813 Ulrich Drepper <drepper@gmail.com>
49814
071f805e 49815 [BZ 12445]#
84a42118
PB
49816 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49817 to extend_alloca().
49818 * stdio-common/bug23.c: New file.
49819 * stdio-common/Makefile (tests): Add bug23.
49820
e23fe25b
AS
498212010-09-28 Andreas Schwab <schwab@redhat.com>
49822 Ulrich Drepper <drepper@gmail.com>
49823
49824 [BZ #12489]
49825 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49826 before performing relro protection. At old place add assertion
49827 to make sure nothing changed.
49828
d3f02e10
NS
498292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49830 Glauber de Oliveira Costa <glommer@gmail.com>
49831
49832 * elf/elf.h: Add new ARM TLS relocs.
49833
d55fd7a5
RA
498342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49835
49836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49837 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49838 cast from r3.
49839 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49840 'tests' variable.
49841 * sysdeps/wordsize-64/tst-writev.c: New file.
49842
2206397e
RA
498432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49844
49845 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49846 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49847 insns in _dl_start to prevent a TOC reference before relocs are
49848 resolved.
49849
e9433893
UD
498502011-02-15 Ulrich Drepper <drepper@gmail.com>
49851
49852 [BZ #12469]
49853 * Makeconfig: Remove RANLIB definition.
49854 * Makerules: Don't use RANLIB.
49855 * aclocal.m4: Remove ranlib test.
49856 * configure.in: No need to check for ranlib.
49857 * elf/rtld-Rules: Don't use RANLIB.
49858
f75286c6
ST
498592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49860
8e31c82d
ST
49861 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49862 protection macro.
49863 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49864 inclusion protection macro.
49865
f75286c6
ST
49866 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49867 SIGRTMIN and SIGRTMAX and print information in that case only when
49868 SIGRTMIN is defined.
49869
c1d0e639
JJ
498702011-02-11 Jakub Jelinek <jakub@redhat.com>
49871
49872 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49873 arginfo fn returning -1.
49874
49875 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49876 and thousands string is zero terminated.
49877
edf9294e
AS
498782011-02-03 Andreas Schwab <schwab@redhat.com>
49879
49880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49881 sysdeps/unix/sysv/linux/bits/socket.h.
49882
2b7e92df
ST
498832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49884
edf9294e
AS
49885 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49886 (__CPU_COUNT): Remove old macros.
49887 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49888 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49889 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49890 (__sched_cpualloc, __sched_cpufree): Add declarations.
49891
a4c7ea7b
UD
498922011-02-05 Ulrich Drepper <drepper@gmail.com>
49893
49894 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49895 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49896 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49897 (readdhstai): Return value of addhstaiX call.
49898 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49899 (addgrbyX): Return value returned by cache_addgr.
49900 (readdgrbyname): Return value returned by addgrbyX.
49901 (readdgrbygid): Likewise.
49902 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49903 (addpwbyX): Return value returned by cache_addpw.
49904 (readdpwbyname): Return value returned by addhstbyX.
49905 (readdpwbyuid): Likewise.
49906 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49907 (addservbyX): Return value returned by cache_addserv.
49908 (readdservbyname): Return value returned by addservbyX:
49909 (readdservbyport): Likewise.
49910 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49911 (addhstbyX): Return value returned by cache_addhst.
49912 (readdhstbyname): Return value returned by addhstbyX.
49913 (readdhstbyaddr): Likewise.
49914 (readdhstbynamev6): Likewise.
49915 (readdhstbyaddrv6): Likewise.
49916 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49917 (readdinitgroups): Return value returned by addinitgroupsX.
49918 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49919 (prune_cache): Keep track of timeout value of re-added entries.
49920 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49921 * nscd/nscd.h: Adjust prototypes of readd* functions.
49922
a0bf67cc
RM
499232011-02-04 Roland McGrath <roland@redhat.com>
49924
49925 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49926 (nis_stats): Likewise.
49927 * nis/nis_modify.c (nis_modify): Likewise.
49928 * nis/nis_remove.c (nis_remove): Likewise.
49929 * nis/nis_add.c (nis_add): Likewise.
49930
49931 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49932
49933 * posix/fnmatch_loop.c: Add some consts.
49934
49935 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49936
435b95eb
L
499372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49938
49939 [BZ #12460]
49940 * config.make.in (config-cflags-novzeroupper): Define.
49941 * configure.in: Substitute libc_cv_cc_novzeroupper.
49942 * elf/Makefile (AVX-CFLAGS): Define.
49943 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49944 (CFLAGS-tst-auditmod4a.c): Likewise.
49945 (CFLAGS-tst-auditmod4b.c): Likewise.
49946 (CFLAGS-tst-auditmod6b.c): Likewise.
49947 (CFLAGS-tst-auditmod6c.c): Likewise.
49948 (CFLAGS-tst-auditmod7b.c): Likewise.
49949 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49950
8517b15e
UD
499512011-02-02 Ulrich Drepper <drepper@gmail.com>
49952
49953 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49954 function to the callback.
49955 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49956
10a656fe
AS
499572011-02-02 Andreas Schwab <schwab@redhat.com>
49958
49959 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49960 of errno.
49961
968dad0a
UD
499622011-01-19 Ulrich Drepper <drepper@gmail.com>
49963
9f94d2ea 49964 [BZ #11724]
968dad0a
UD
49965 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49966 of constructors.
49967 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49968 of destructors.
49969 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49970
49971 [BZ #11724]
49972 * elf/Makefile: Add rules to build and run new test.
49973 * elf/tst-initorder.c: New file.
49974 * elf/tst-initorder.exp: New file.
49975 * elf/tst-initordera1.c: New file.
49976 * elf/tst-initordera2.c: New file.
49977 * elf/tst-initordera3.c: New file.
49978 * elf/tst-initordera4.c: New file.
49979 * elf/tst-initorderb1.c: New file.
49980 * elf/tst-initorderb2.c: New file.
49981 * elf/tst-order-a1.c: New file.
49982 * elf/tst-order-a2.c: New file.
49983 * elf/tst-order-a3.c: New file.
49984 * elf/tst-order-a4.c: New file.
49985 * elf/tst-order-b1.c: New file.
49986 * elf/tst-order-b2.c: New file.
49987 * elf/tst-order-main.c: New file.
49988 New test case by George Gensure <werkt0@gmail.com>.
49989
86e92359
UD
499902010-10-01 Andreas Schwab <schwab@redhat.com>
49991
49992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49993 decoding ACE if AI_CANONIDN.
49994
5d5732b0
UD
499952011-01-18 Ulrich Drepper <drepper@gmail.com>
49996
49997 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49998
a77e8cbc
UD
499992011-01-17 Ulrich Drepper <drepper@gmail.com>
50000
6392473f
UD
50001 * version.h (RELEASE): Bump for 2.13 release.
50002 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50003
620a0529
UD
50004 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50005
18ba70a5
UD
50006 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50007 MADV_NOHUGEPAGE.
32465c3e
UD
50008 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50009 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50011 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50014
c0dafcf1
UD
50015 * posix/getconf.c: Update copyright year.
50016 * catgets/gencat.c: Likewise.
50017 * csu/version.c: Likewise.
50018 * debug/catchsegv.sh: Likewise.
50019 * debug/xtrace.sh: Likewise.
50020 * elf/ldconfig.c: Likewise.
50021 * elf/ldd.bash.in: Likewise.
50022 * elf/sprof.c (print_version): Likewise.
50023 * iconv/iconv_prog.c: Likewise.
50024 * iconv/iconvconfig.c: Likewise.
50025 * locale/programs/locale.c: Likewise.
50026 * locale/programs/localedef.c: Likewise.
50027 * malloc/memusage.sh: Likewise.
50028 * malloc/mtrace.pl: Likewise.
50029 * nscd/nscd.c (print_version): Likewise.
50030 * nss/getent.c: Likewise.
50031
a77e8cbc
UD
50032 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50033 PF_CAIF, and PF_ALG.
50034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50035
77e8bddf
AS
500362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50037
1f20b93a
AS
50038 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50039 (modules-names): Use them.
50040 (ifunc-test-modules, ifunc-pie-tests): Define.
50041 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50042 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50043 (test-extras): Likewise.
50044 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50045 $(compile-command.c).
50046 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50047 (all-built-dso): Define.
50048 (check-textrel.out, check-execstack.out): Depend on it.
50049
77e8bddf
AS
50050 * configure.in: Don't override --enable-multi-arch.
50051
bc425b33
UD
500522011-01-15 Ulrich Drepper <drepper@gmail.com>
50053
50054 [BZ #6812]
50055 * nscd/hstcache.c (tryagain): Define.
50056 (cache_addhst): Return tryagain not notfound for temporary errors.
50057 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50058 failed.
50059
794c3ad3
UD
500602011-01-14 Ulrich Drepper <drepper@gmail.com>
50061
70181fdd
UD
50062 [BZ #10563]
50063 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50064 to make the syscall.
50065 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50066
794c3ad3
UD
50067 [BZ #12378]
50068 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50069 and fall back to matching as normal character if the string ends before
50070 the matching ']' is found. This is what POSIX requires.
50071 * posix/testfnm.c: Adjust test result.
50072 * posix/globtest.sh: Adjust test result. Add new test.
50073 * posix/tst-fnmatch.input: Likewise.
50074 * posix/tst-fnmatch2.c: Add new test.
50075
68dc9497
AS
500762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50077
50078 * elf/Makefile (check-execstack): Revert last change. Depend on
50079 check-execstack.h.
50080 (check-execstack.h): New target.
50081 (generated): Add check-execstack.h.
50082 * elf/check-execstack.c: Include "check-execstack.h".
50083 (main): Revert last change.
50084 (handle_file): Return zero if GNU_STACK is absent and
50085 DEFAULT_STACK_PERMS doesn't include PF_X.
50086
451f001b
UD
500872011-01-13 Ulrich Drepper <drepper@gmail.com>
50088
cfa28e56
UD
50089 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50090 in child fails because the descriptor is already closed.
8cf8ce17
UD
50091 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50092 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50093 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50094
1086d70d
UD
50095 [BZ #12397]
50096 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50097 syscall.
50098
451f001b
UD
50099 [BZ #10484]
50100 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50101 temporary buffer used to handle multi lookups locally.
a85b5cb4 50102 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50103
08769175
UD
501042011-01-12 Ulrich Drepper <drepper@gmail.com>
50105
50106 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50107 loader is ld.so.
50108
5e49c52e
UD
501092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50110
50111 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50112 alignment for SSE2.
50113
60522a5f
UD
501142011-01-12 Ulrich Drepper <drepper@gmail.com>
50115
50116 [BZ #12394]
50117 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50118 characters. When rounding increased number of integer digits recompute
50119 number of groups.
50120 * stdio-common/tst-grouping.c: New file.
50121 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50122
f257bbd7
UD
501232011-01-09 Ulrich Drepper <drepper@gmail.com>
50124
50125 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50126 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50127
50128 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50129 void.
50130 * bits/select.h: Likewise.
50131
fa9c15cb
UD
501322011-01-08 Ulrich Drepper <drepper@gmail.com>
50133
50134 * po/ja.po: Update from translation team.
50135
16c2895f
DM
501362011-01-04 David S. Miller <davem@sunset.davemloft.net>
50137
50138 [BZ #11155]
50139 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50140 implementation just like for lxstat, fxstatat, et al.
50141
2543fef2
JM
501422010-12-27 Jim Meyering <meyering@redhat.com>
50143
50144 [BZ #12348]
50145 * posix/regexec.c (build_trtable): Return failure indication upon
50146 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50147
98727dbe
UD
501482010-12-25 Ulrich Drepper <drepper@gmail.com>
50149
5bd6dc5c
UD
50150 [BZ #12201]
50151 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50152 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50153 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50155
97983464
UD
50156 [BZ #12207]
50157 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50158
98727dbe
UD
50159 [BZ #12204]
50160 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50161 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50162
4a531bb0
L
501632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50164
50165 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50166 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50167 script has SORT_BY_INIT_PRIORITY.
50168 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50169 NO_CTORS_DTORS_SECTIONS is defined.
50170 * elf/soinit.c: Likewise.
50171 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50172 NO_CTORS_DTORS_SECTIONS is defined.
50173 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50174 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50175 * sysdeps/sh/init-first.c: Likewise.
50176 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50177
07eb4b71
UD
501782010-12-24 Ulrich Drepper <drepper@gmail.com>
50179
50180 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50181 always use the slow path.
50182
30950a5f
RA
501832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50184
50185 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50186 similar rule which adds the sysdep directories to the header search in
50187 order to pick up the correct platform stackinfo.h.
50188 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50189 perform test if it is, otherwise return successfully without testing.
50190 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50191 DEFAULT_STACK_PERMS define in stackinfo.h.
50192 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50193 defined in stackinfo.h.
50194 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50195 DEFAULT_STACK_PERMS defined in stackinfo.h.
50196 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50197 * sysdeps/ia64/stackinfo.h: Likewise.
50198 * sysdeps/s390/stackinfo.h: Likewise.
50199 * sysdeps/sh/stackinfo.h: Likewise.
50200 * sysdeps/sparc/stackinfo.h: Likewise.
50201 * sysdeps/x86_64/stackinfo.h: Likewise.
50202 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50203 PF_X for powerpc64. Retain PF_X for powerpc32.
50204
db753e2c
UD
502052010-12-19 Ulrich Drepper <drepper@gmail.com>
50206
14b697f7
UD
50207 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50208 accurately.
db753e2c
UD
50209 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50210 GETDENTS_64BIT_ALIGNED.
50211
28300719
UD
502122010-12-14 Ulrich Drepper <dreper@gmail.com>
50213
14b697f7 50214 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50215
4f197237
AS
502162010-12-10 Andreas Schwab <schwab@redhat.com>
50217
dbb0472f
AS
50218 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50219 _GNU_SOURCE.
50220
4f197237
AS
50221 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50222 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50223 Remove __restrict.
50224 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50225 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50226
fb88ac72
UD
502272010-12-09 Ulrich Drepper <drepper@gmail.com>
50228
50229 [BZ #11655]
50230 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50231 are initialized.
50232
42acbb92
JJ
502332010-12-09 Jakub Jelinek <jakub@redhat.com>
50234
50235 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50236
c038d98d
UD
502372010-12-03 Ulrich Drepper <drepper@gmail.com>
50238
50239 * po/it.po: Update from translation team.
50240
3a4a2499
L
502412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50242
50243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50244 unused codes.
50245
1e24cf6e
UD
502462010-11-30 Ulrich Drepper <drepper@gmail.com>
50247
50248 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50249
a7690819
AS
502502010-11-24 Andreas Schwab <schwab@redhat.com>
50251
50252 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50253 specially.
50254 (gaih_getanswer_slice): Likewise.
50255
3bf8d1b1
JJ
502562010-10-20 Jakub Jelinek <jakub@redhat.com>
50257
50258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50259
6db52fbb
PB
502602010-05-31 Petr Baudis <pasky@suse.cz>
50261
50262 [BZ #11149]
50263 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50264 silently even in the chroot mode.
50265
eaca7569
UD
502662010-11-22 Ulrich Drepper <drepper@gmail.com>
50267
50268 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50269 last patch a bit. Pretty printing
50270
3056dcdb
UD
502712010-05-31 Petr Baudis <pasky@suse.cz>
50272
50273 [BZ #10085]
50274 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50275 initialization of skip_initgroups_dyn.
50276
cf7c9078
UD
502772010-11-19 Ulrich Drepper <drepper@gmail.com>
50278
50279 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50280 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50281
a1fb5e3e
UD
502822010-11-16 Ulrich Drepper <drepper@gmail.com>
50283
50284 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50285
3540d66b
AS
502862010-11-11 Andreas Schwab <schwab@redhat.com>
50287
50288 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50289 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50290 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50291 ($(objpfx)tst-fnmatch-mem): New rule.
50292 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50293 * posix/tst-fnmatch.c (main): Call mtrace.
50294
13b69574
L
502952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50296
50297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50298 Support Intel processor model 6 and model 0x2c.
50299
da93d214
LM
503002010-11-10 Luis Machado <luisgpm@br.ibm.com>
50301
50302 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50303 signed comparison.
50304
8ca52c6e
L
503052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50306
50307 [BZ #12205]
50308 * string/test-strncasecmp.c (check_result): New function.
50309 (do_one_test): Use it.
50310 (check1): New function.
50311 (test_main): Use it.
50312 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50313 Support strcasecmp and strncasecmp.
50314
69da074d
UD
503152010-11-08 Ulrich Drepper <drepper@gmail.com>
50316
50317 [BZ #12194]
50318 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50319 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50320
ff02d528
L
503212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50322
50323 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50324 IFUNC support.
50325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50326 memset-x86-64.
50327 * sysdeps/x86_64/multiarch/bzero.S: New file.
50328 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50329 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50330 * sysdeps/x86_64/multiarch/memset.S: New file.
50331 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50333 Set bit_Prefer_SSE_for_memop for Intel processors.
50334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50335 Define.
50336 (index_Prefer_SSE_for_memop): Define.
50337 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50338
344d0b54
LM
503392010-11-04 Luis Machado <luisgpm@br.ibm.com>
50340
50341 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50342 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50343
c0dde15b
UD
503442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50345
50346 [BZ #12191]
50347 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50348 (__x86_64_raw_data_cache_size_half): Likewise.
50349 (__x86_64_raw_shared_cache_size): Likewise.
50350 (__x86_64_raw_shared_cache_size_half): Likewise.
50351
50352 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50353 (__x86_64_raw_data_cache_size_half): Likewise.
50354 (__x86_64_raw_shared_cache_size): Likewise.
50355 (__x86_64_raw_shared_cache_size_half): Likewise.
50356 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50357 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50358 and __x86_64_raw_shared_cache_size_half. Round
50359 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50360 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50361 to multiple of 256 bytes.
50362
0e516e0e
MS
503632010-11-03 Ulrich Drepper <drepper@gmail.com>
50364
50365 [BZ #12167]
50366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50367 of inacessible symlinks. Verify result of symlink before returning it.
50368 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50369 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50370
0e012e87
ER
503712010-10-28 Erich Ritz <erichritz@gmail.com>
50372
50373 * math/math.h (isinf): Fix typo in comment.
50374
de0ff7bc
UD
503752010-11-01 Ulrich Drepper <drepper@gmail.com>
50376
50377 * po/da.po: Update from translation team.
50378
fa41c84d
UD
503792010-10-26 Ulrich Drepper <drepper@gmail.com>
50380
50381 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50382 is added to the list.
50383
f0967738
AK
503842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50385 Ulrich Drepper <drepper@gmail.com>
50386
50387 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50388 the global list here. Move code to...
50389 (_dl_add_to_namespace_list): ...here. New function.
50390 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50391 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50392 * elf/dl-load.c (lose): Don't remove the element from the list.
50393 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50394 (_dl_map_object): Likewise.
50395
503962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50397
50398 [BZ #12159]
50399 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50400 into all bytes of SSE register.
50401 Patch by Richard Li <richardpku@gmail.com>.
50402
f0967738 504032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50404
50405 [BZ #12140]
50406 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50407 perturbing.
50408
d0b9e94f
MB
504092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50410
50411 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50412 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50413 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50414 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50416 submachine.
50417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50418
8e9f92e9
AS
504192010-10-22 Andreas Schwab <schwab@redhat.com>
50420
50421 * include/dlfcn.h (__RTLD_SECURE): Define.
50422 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50423 mode & __RTLD_SECURE instead.
50424 (open_path): Rename preloaded parameter to secure.
50425 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50426 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50427 * elf/dl-deps.c (openaux): Likewise.
50428 * elf/rtld.c (struct map_args): Remove is_preloaded.
50429 (map_doit): Don't use it.
50430 (dl_main): Likewise.
50431 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50432 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50433
bc96fbda
AS
504342010-09-09 Andreas Schwab <schwab@redhat.com>
50435
50436 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50437 (sysd-rules-targets): Remove duplicates.
50438 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50439 rtld-%.$o dependency.
50440
22cd1c9b
AS
504412010-10-18 Andreas Schwab <schwab@redhat.com>
50442
50443 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50444 _dl_map_object do it.
50445
18edac48
UD
504462010-10-19 Ulrich Drepper <drepper@gmail.com>
50447
50448 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50449 fast fma builtins, define the macros in the C99 standard.
50450 (FP_FAST_FMAF): Likewise.
50451 (FP_FAST_FMAL): Likewise.
50452 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50453
50454 * bits/mathdef.h: Update copyright year.
50455 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50456
d2050124
MM
504572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50458
50459 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50460 builtins, define the macros in the C99 standard.
50461 (FP_FAST_FMAF): Likewise.
50462 (FP_FAST_FMAL): Likewise.
50463 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50464 multiply/add.
50465 (FP_FAST_FMAF): Likewise.
50466
475facd1
JJ
504672010-10-15 Jakub Jelinek <jakub@redhat.com>
50468
50469 [BZ #3268]
50470 * math/libm-test.inc (fma_test): Some new testcases.
50471 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50473 y and infinite z. Do multiplication by C already in long double.
50474 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50476 y and infinite z. Do bitwise or of inexact bit into u.d.
50477 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50478 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50479 * sysdeps/i386/fpu/s_fma.S: Removed.
50480 * sysdeps/i386/fpu/s_fmal.S: Removed.
50481
7c08a05c
JJ
504822010-10-16 Jakub Jelinek <jakub@redhat.com>
50483
50484 [BZ #3268]
50485 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50487 computation is not scheduled after fetestexcept. Fix value
50488 of minimum denormal long double.
50489
f3f7372d
JJ
504902010-10-14 Jakub Jelinek <jakub@redhat.com>
50491
50492 [BZ #3268]
50493 * math/libm-test.inc (fma_test): Add some more tests.
50494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50495 correctly.
50496
14d43591
AS
504972010-10-15 Andreas Schwab <schwab@redhat.com>
50498
50499 * scripts/data/localplt-s390-linux-gnu.data: New file.
50500 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50501
5e908464
JJ
505022010-10-13 Jakub Jelinek <jakub@redhat.com>
50503
50504 [BZ #3268]
50505 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50506 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50507 instead of dbl-64.
50508 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50509 inlines.
50510 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50512 if one of x and y is very large and the other is subnormal.
50513 * sysdeps/s390/fpu/s_fmaf.c: New file.
50514 * sysdeps/s390/fpu/s_fma.c: New file.
50515 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50516 * sysdeps/powerpc/fpu/s_fma.S: New file.
50517 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50518 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50519 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50520
505212010-10-12 Jakub Jelinek <jakub@redhat.com>
50522
50523 [BZ #3268]
50524 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50525 fma tests.
50526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50527 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50528 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50529 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50530 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50531 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50533
b833d51f
UD
505342010-10-12 Ulrich Drepper <drepper@redhat.com>
50535
50536 [BZ #12078]
50537 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50538 * posix/bug-regex31.input: Add test case.
50539
1751705d
UD
505402010-10-11 Ulrich Drepper <drepper@gmail.com>
50541
e9b9cbf5
UD
50542 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50543 * posix/bug-regex31.input: New file.
50544
50545 [BZ #12078]
50546 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50547 (parse_sub_exp): Fix last change, use postorder.
50548
ef06edbe
UD
50549 * posix/bug-regex31.c: New file.
50550 * posix/Makefile: Add rules to build and run bug-regex31.
50551
a129c80d
UD
50552 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50553
50554 [BZ #12078]
50555 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50556
b76b818e
UD
50557 [BZ #12108]
50558 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50559 to have entries in sys_siglist.
50560
1751705d
UD
50561 [BZ #12093]
50562 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50563 be NULL.
50564
9ff8d36f
JJ
505652010-10-07 Jakub Jelinek <jakub@redhat.com>
50566
50567 [BZ #3268]
50568 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50569 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50570 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50571 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50572 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50573 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50574 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50575 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50576 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50577 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50578 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50579 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50580 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50581 * math/ftestexcept.c (fetestexcept): Likewise.
50582 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50583 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50584 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50585 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50586 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50587 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50588 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50589
af325969
UD
505902010-10-11 Ulrich Drepper <drepper@gmail.com>
50591
c579b202 50592 [BZ #12107]
af325969
UD
50593 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50594 newline.
50595
67a67b95
UD
505962010-10-06 Ulrich Drepper <drepper@gmail.com>
50597
50598 * string/bug-strstr1.c: New file.
50599 * string/Makefile: Add rules to build and run bug-strstr1.
50600
5fb308bc
EB
506012010-10-05 Eric Blake <eblake@redhat.com>
50602
50603 [BZ #12092]
50604 * string/str-two-way.h (two_way_long_needle): Always clear memory
50605 when skipping input due to the shift table.
50606
45db99c7
UD
506072010-10-03 Ulrich Drepper <drepper@gmail.com>
50608
3b111893
UD
50609 [BZ #12005]
50610 * malloc/mcheck.c: Handle large requests.
50611
45db99c7
UD
50612 [BZ #12077]
50613 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50614 for strncmp and strncasecmp.
50615 * string/stratcliff.c: Add tests for strcmp and strncmp.
50616 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50617
cf7a1eb8
NI
506182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50619
50620 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50621 __set_fpscr.
50622
6484ba5e
AJ
506232010-09-30 Andreas Jaeger <aj@suse.de>
50624
50625 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50626 (CGROUP_SUPER_MAGIC): Define.
50627 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50628 Handle btrfs and cgroup file systems.
50629 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50630 Likewise.
50631
91c42559
LM
506322010-09-27 Luis Machado <luisgpm@br.ibm.com>
50633
50634 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50635 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50636
87a97932
AK
506372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50638
50639 [BZ #12067]
50640 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50641 trying to locate the ELF header.
50642
c21cc9bc
AS
506432010-09-27 Andreas Schwab <schwab@redhat.com>
50644
50645 [BZ #11611]
50646 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50647 Mask out sign-bit copies when constructing f_fsid.
50648
315970f6
PB
506492010-09-24 Petr Baudis <pasky@suse.cz>
50650
50651 * debug/stack_chk_fail_local.c: Add missing licence exception.
50652 * debug/warning-nop.c: Likewise.
50653
1ac7a2c7
JM
506542010-09-15 Joseph Myers <joseph@codesourcery.com>
50655
50656 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50657 implementing getdents64 using getdents syscall, set d_type if
50658 __ASSUME_GETDENTS32_D_TYPE.
50659
56801c50
AS
506602010-09-16 Andreas Schwab <schwab@redhat.com>
50661
50662 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50663 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50664
dda51327
UD
506652010-09-21 Ulrich Drepper <drepper@redhat.com>
50666
50667 [BZ #12037]
50668 * posix/unistd.h: Undo change of feature selection for ftruncate from
50669 2010-01-11.
50670
8ffcee4a
UD
506712010-09-20 Ulrich Drepper <drepper@redhat.com>
50672
a545ecd9 50673 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50674 detection.
50675
e24f0a8b
AS
506762010-09-20 Andreas Schwab <schwab@redhat.com>
50677
50678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50679 fanotify_mark.
50680 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50681
7291c56f
AS
506822010-09-14 Andreas Schwab <schwab@redhat.com>
50683
50684 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50685 variables after CHECK_SP call.
50686 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50687
bc5fb037
AS
506882010-09-13 Andreas Schwab <schwab@redhat.com>
50689 Ulrich Drepper <drepper@redhat.com>
50690
50691 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50692 re-relocationg ld.so.
50693 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50694 _dl_init_paths call.
50695 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50696 here anymore.
50697
e66e7419
UD
506982010-09-14 Ulrich Drepper <drepper@redhat.com>
50699
50700 * resolv/res_init.c (__res_vinit): Count the default server we added.
50701
c044aa75
CLT
507022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50703 Ulrich Drepper <drepper@redhat.com>
50704
50705 [BZ #11968]
50706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50707 (____longjmp_chk): Use %ebx for saving value across system call.
50708 Add unwind info.
50709
32cf4069
AS
507102010-09-06 Andreas Schwab <schwab@redhat.com>
50711
50712 * manual/Makefile: Don't mix pattern rules with normal rules.
50713
817328ee
AS
507142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50715
50716 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50717 operation.
50718 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50719 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50720 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50721 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50723 Likewise.
50724
29fddf61
UD
507252010-09-04 Ulrich Drepper <drepper@redhat.com>
50726
50727 [BZ #11979]
50728 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50729 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50730
0959ffc9
UD
507312010-09-02 Ulrich Drepper <drepper@redhat.com>
50732
50733 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50734 * sysdeps/x86_64/addmul_1.S: Likewise.
50735 * sysdeps/x86_64/lshift.S: Likewise.
50736 * sysdeps/x86_64/mul_1.S: Likewise.
50737 * sysdeps/x86_64/rshift.S: Likewise.
50738 * sysdeps/x86_64/sub_n.S: Likewise.
50739 * sysdeps/x86_64/submul_1.S: Likewise.
50740
ece29840
ST
507412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50742
0959ffc9
UD
50743 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50744 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50745 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50746 * bits/sched.h [__need_schedparam]
ece29840 50747 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50748 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50749 (__defined_schedparam): Define to 1.
ece29840
ST
50750 (__sched_param): New structure, identical to sched_param.
50751 (__need_schedparam): Undefine.
50752
e53a31fe
MF
507532010-08-31 Mike Frysinger <vapier@gentoo.org>
50754
fdc0c10d
MF
50755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50756 (epoll_create1): Declare.
50757
e53a31fe
MF
50758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50759
a726d796
AS
507602010-08-31 Andreas Schwab <schwab@redhat.com>
50761
50762 [BZ #7066]
50763 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50764 shifting retval into place.
50765
2f3e3dc7
UD
507662010-09-01 Ulrich Drepper <drepper@redhat.com>
50767
f2933da9
UD
50768 * nis/rpcsvc/nis.h: Update copyright notice.
50769 * nis/rpcsvc/nis.x: Likewise.
50770 * nis/rpcsvc/nis_callback.h: Likewise.
50771 * nis/rpcsvc/nis_callback.x: Likewise.
50772 * nis/rpcsvc/nis_object.x: Likewise.
50773 * nis/rpcsvc/nis_tags.h: Likewise.
50774 * nis/rpcsvc/yp.h: Likewise.
50775 * nis/rpcsvc/yp.x: Likewise.
50776 * nis/rpcsvc/ypupd.h: Likewise.
50777 * nis/yp_xdr.c: Likewise.
50778 * nis/ypupdate_xdr.c: Likewise.
50779
2f3e3dc7
UD
50780 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50781 mainly the body of pmap_getport. Add parameters to specify timeouts.
50782 (pmap_getport): Use __libc_rpc_getport.
50783 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50784 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50785 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50786
f3dcc2f9
AS
507872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50788
50789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50790 fanotify_mark.
50791
6d34eb5b
RM
507922010-08-27 Roland McGrath <roland@redhat.com>
50793
50794 * sysdeps/i386/i686/multiarch/Makefile
50795 (CFLAGS-varshift.c): New variable.
50796
9ea3de11
UD
507972010-08-27 Ulrich Drepper <drepper@redhat.com>
50798
c96d23fc
UD
50799 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50800 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50801
9ea3de11
UD
50802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50803
50804 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50805
623aac7f
L
508062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50807
50808 * sysdeps/x86_64/strlen.S: Unroll the loop.
50809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50810 strlen-sse2 strlen-sse2-bsf.
50811 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50812 __strlen_no_bsf if bit_Slow_BSF is set.
50813 (__strlen_sse42): Removed.
50814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50815 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50816
8b2b7715
RM
508172010-08-25 Roland McGrath <roland@redhat.com>
50818
50819 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50820 * sysdeps/x86_64/multiarch/varshift.c: New file.
50821 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50822 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50823 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50824 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50825
e73015f2
L
508262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50827
50828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50829 strlen-sse2 strlen-sse2-bsf.
50830 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50831 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50832 (__strlen_sse2): Removed.
50833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50836 bit_Slow_BSF for Atom.
50837 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50838 (index_Slow_BSF): Define.
50839 (HAS_SLOW_BSF): Define.
50840
df24a73e
UD
508412010-08-25 Ulrich Drepper <drepper@redhat.com>
50842
50843 [BZ #10851]
50844 * resolv/res_init.c (__res_vinit): When no server address at all
50845 is given default to loopback.
50846
f2ac4868
RM
508472010-08-24 Roland McGrath <roland@redhat.com>
50848
09055553
RM
50849 * configure.in: Remove config-name.h generation.
50850 * configure: Regenerated.
50851 * config-name.in: File removed.
50852 * scripts/config-uname.sh: New file.
50853 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50854 ($(objdir)config-name.h): New target.
50855
f2ac4868
RM
50856 * sunrpc/rpc_parse.h: Avoid nested comment.
50857
73f27d5e
RH
508582010-08-24 Richard Henderson <rth@redhat.com>
50859 Ulrich Drepper <drepper@redhat.com>
50860 H.J. Lu <hongjiu.lu@intel.com>
50861
50862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50864 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50865 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50866 _mm_alignr_epi8 with _mm_loadu_si128.
50867 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50868 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50869 (__m128i_shift_right): Removed.
50870 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50871 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50872 * sysdeps/x86_64/multiarch/varshift.h: New file.
50873 * sysdeps/x86_64/multiarch/varshift.S: New file.
50874
84b9230c
MF
508752010-08-21 Mike Frysinger <vapier@gentoo.org>
50876
50877 * configure.in: Move assembler checks to before sysdep dir checking.
50878
9bbd0ddc
PB
508792010-08-20 Petr Baudis <pasky@suse.cz>
50880
50881 * LICENSES: Sync the sunrpc license.
50882
9da4bb31
UD
508832010-08-19 Ulrich Drepper <drepper@redhat.com>
50884
a7ab6ec8
UD
50885 * sunrpc/auth_des.c: Update copyright notice once again.
50886 * sunrpc/auth_none.c: Likewise.
50887 * sunrpc/auth_unix.c: Likewise.
50888 * sunrpc/authdes_prot.c: Likewise.
50889 * sunrpc/authuxprot.c: Likewise.
50890 * sunrpc/bindrsvprt.c: Likewise.
50891 * sunrpc/clnt_gen.c: Likewise.
50892 * sunrpc/clnt_perr.c: Likewise.
50893 * sunrpc/clnt_raw.c: Likewise.
50894 * sunrpc/clnt_simp.c: Likewise.
50895 * sunrpc/clnt_tcp.c: Likewise.
50896 * sunrpc/clnt_udp.c: Likewise.
50897 * sunrpc/clnt_unix.c: Likewise.
50898 * sunrpc/des_crypt.c: Likewise.
50899 * sunrpc/des_soft.c: Likewise.
50900 * sunrpc/get_myaddr.c: Likewise.
50901 * sunrpc/getrpcport.c: Likewise.
50902 * sunrpc/key_call.c: Likewise.
50903 * sunrpc/key_prot.c: Likewise.
50904 * sunrpc/openchild.c: Likewise.
50905 * sunrpc/pm_getmaps.c: Likewise.
50906 * sunrpc/pm_getport.c: Likewise.
50907 * sunrpc/pmap_clnt.c: Likewise.
50908 * sunrpc/pmap_prot.c: Likewise.
50909 * sunrpc/pmap_prot2.c: Likewise.
50910 * sunrpc/pmap_rmt.c: Likewise.
50911 * sunrpc/rpc/auth.h: Likewise.
50912 * sunrpc/rpc/auth_unix.h: Likewise.
50913 * sunrpc/rpc/clnt.h: Likewise.
50914 * sunrpc/rpc/des_crypt.h: Likewise.
50915 * sunrpc/rpc/key_prot.h: Likewise.
50916 * sunrpc/rpc/netdb.h: Likewise.
50917 * sunrpc/rpc/pmap_clnt.h: Likewise.
50918 * sunrpc/rpc/pmap_prot.h: Likewise.
50919 * sunrpc/rpc/pmap_rmt.h: Likewise.
50920 * sunrpc/rpc/rpc.h: Likewise.
50921 * sunrpc/rpc/rpc_des.h: Likewise.
50922 * sunrpc/rpc/rpc_msg.h: Likewise.
50923 * sunrpc/rpc/svc.h: Likewise.
50924 * sunrpc/rpc/svc_auth.h: Likewise.
50925 * sunrpc/rpc/types.h: Likewise.
50926 * sunrpc/rpc/xdr.h: Likewise.
50927 * sunrpc/rpc_clntout.c: Likewise.
50928 * sunrpc/rpc_cmsg.c: Likewise.
50929 * sunrpc/rpc_common.c: Likewise.
50930 * sunrpc/rpc_cout.c: Likewise.
50931 * sunrpc/rpc_dtable.c: Likewise.
50932 * sunrpc/rpc_hout.c: Likewise.
50933 * sunrpc/rpc_main.c: Likewise.
50934 * sunrpc/rpc_parse.c: Likewise.
50935 * sunrpc/rpc_parse.h: Likewise.
50936 * sunrpc/rpc_prot.c: Likewise.
50937 * sunrpc/rpc_sample.c: Likewise.
50938 * sunrpc/rpc_scan.c: Likewise.
50939 * sunrpc/rpc_scan.h: Likewise.
50940 * sunrpc/rpc_svcout.c: Likewise.
50941 * sunrpc/rpc_tblout.c: Likewise.
50942 * sunrpc/rpc_util.c: Likewise.
50943 * sunrpc/rpc_util.h: Likewise.
50944 * sunrpc/rpcinfo.c: Likewise.
50945 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50946 * sunrpc/rpcsvc/key_prot.x: Likewise.
50947 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50948 * sunrpc/rpcsvc/mount.x: Likewise.
50949 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50950 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50951 * sunrpc/rpcsvc/rex.x: Likewise.
50952 * sunrpc/rpcsvc/rstat.x: Likewise.
50953 * sunrpc/rpcsvc/rusers.x: Likewise.
50954 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50955 * sunrpc/rpcsvc/spray.x: Likewise.
50956 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50957 * sunrpc/rtime.c: Likewise.
50958 * sunrpc/svc.c: Likewise.
50959 * sunrpc/svc_auth.c: Likewise.
50960 * sunrpc/svc_authux.c: Likewise.
50961 * sunrpc/svc_raw.c: Likewise.
50962 * sunrpc/svc_run.c: Likewise.
50963 * sunrpc/svc_simple.c: Likewise.
50964 * sunrpc/svc_tcp.c: Likewise.
50965 * sunrpc/svc_udp.c: Likewise.
50966 * sunrpc/svc_unix.c: Likewise.
50967 * sunrpc/svcauth_des.c: Likewise.
50968 * sunrpc/xcrypt.c: Likewise.
50969 * sunrpc/xdr.c: Likewise.
50970 * sunrpc/xdr_array.c: Likewise.
50971 * sunrpc/xdr_float.c: Likewise.
50972 * sunrpc/xdr_mem.c: Likewise.
50973 * sunrpc/xdr_rec.c: Likewise.
50974 * sunrpc/xdr_ref.c: Likewise.
50975 * sunrpc/xdr_sizeof.c: Likewise.
50976 * sunrpc/xdr_stdio.c: Likewise.
50977
9da4bb31
UD
50978 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50979 handling.
50980
bdaa77bc
AS
509812010-08-19 Andreas Schwab <schwab@redhat.com>
50982
50983 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50984
fe2f79db
LM
509852010-08-19 Luis Machado <luisgpm@br.ibm.com>
50986
50987 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50988 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50989 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50990 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50991 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50992 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50993 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50994 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50995 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50996 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50997 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50998 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50999 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51000 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51001
b9b42ee0
AB
510022010-07-26 Anton Blanchard <anton@samba.org>
51003
51004 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51005 * malloc/arena.c (heap_trim): Likewise.
51006
1c06ba31
UD
510072010-08-16 Ulrich Drepper <drepper@redhat.com>
51008
51009 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51010 here. Not...
51011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51012 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51013
f8392f40
L
510142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51015
51016 * sysdeps/i386/elf/Makefile: New file.
51017
3162f12e
AS
510182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51019
51020 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51021 from fanotify_init.
51022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51024
28c90b2c
UD
510252010-08-15 Ulrich Drepper <drepper@redhat.com>
51026
51027 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51028 of strncasecmp_l.
1feccb6c 51029 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51030
ca6bb004
UD
510312010-08-14 Ulrich Drepper <drepper@redhat.com>
51032
e9f82e0d
UD
51033 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51034 strncase_l-nonascii.
51035 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51036 Add strncase_l-ssse3.
51037 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51038 * sysdeps/x86_64/strcmp.S: Likewise.
51039 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51040 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51041 * sysdeps/x86_64/strncase.S: New file.
51042 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51043 * sysdeps/x86_64/strncase_l.S: New file.
51044 * string/Makefile (strop-tests): Add strncasecmp.
51045 * string/test-strncasecmp.c: New file.
51046
51047 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51048 warning.
51049
ca6bb004
UD
51050 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51052
052fa7b3
AS
510532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51054
51055 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51056
962dba78
UD
510572010-08-12 Ulrich Drepper <drepper@redhat.com>
51058
51059 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51060 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51061 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51062
bebff237
AM
510632010-05-01 Alan Modra <amodra@gmail.com>
51064
51065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51066 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51067 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51068 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51069 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51070 tidying. Don't tail-call __sigjmp_save for static lib.
51071 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51072 save location.
51073 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51074 (CALL_MCOUNT): Add eh info, and nop after bl.
51075 (TAIL_CALL_SYSCALL_ERROR): New macro.
51076 (PSEUDO_RET): Use it.
51077 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51078 Correct save location of integer regs and cr.
51079 (_dl_profile_resolve): Correct cr save location. Delete nops
51080 after bl when SHARED. Reduce cfi size a little by better
51081 placement of cfi directives.
51082 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51083 make a stack frame. Instead use parm save area as a temp.
51084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51085 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51087 Don't make a stack frame for parent, use parm save area.
51088 Increase child stack frame to 112 bytes. Don't save unused reg,
51089 and adjust reg usage. Set up cfi on error recovery and
51090 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51092 (__makecontext): Add dummy nop after jump to exit.
51093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51094 Use correct parm save area and cr save, reduce stack frame.
51095 Correct cfi for possible PSEUDO_RET frame setup.
51096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51097 Branch to local label emitted by PSEUDO_RET rather than
51098 __syscall_error.
51099
02637374
AS
511002010-08-12 Andreas Schwab <schwab@redhat.com>
51101
51102 [BZ #11904]
51103 * locale/programs/locale.c (print_assignment): New function.
51104 (show_locale_vars): Use it.
51105
c3e2f19b
UD
511062010-08-11 Ulrich Drepper <drepper@redhat.com>
51107
3cdaa6ad
UD
51108 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51109 field.
51110 (struct statfs64): Likewise.
51111 (_STATFS_F_FLAGS): Define.
51112 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51113 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51114 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51115 (ST_VALID): Define locally.
51116 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51117 __statvfs_getflags, use the provided value.
51118 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51119 __ASSUME_STATFS_F_FLAGS.
51120
754f7da3
UD
51121 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51122
10b3bedc
UD
51123 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51124 Add sys/fanotify.h.
51125 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51126 fanotify_mask for GLIBC_2.13.
51127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51128 fanotify_init and fanotify_mark.
51129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51130 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51131
c08fb0d7
UD
51132 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51133 Add prlimit.
51134 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51135 prlimit64 for GLIBC_2.13.
51136 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51137 prlimit64.
51138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51139 syscall.
51140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51141 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51142 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51143 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51144 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51145 add prlimit alias.
51146 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51147
15bac72b
UD
51148 [BZ #11903]
51149 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51150 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51151
c3e2f19b
UD
51152 * nss/Makefile: Add rules to build and run tst-nss-test1.
51153 * shlib-versions: Add entry for libnss_test1.
51154 * nss/nss_test1.c: New file.
51155 * nss/tst-nss-test1.c: New file.
51156
51157 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51158 (__nss_configure_lookup): Set appropriate entry in
51159 __nss_configure_lookup to true.
51160 * nss/nsswitch.h: Define enum with indeces of databases in
51161 databases and __nss_database_custom arrays. Declare
51162 __nss_database_custom.
51163 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51164 to avoid using nscd when custom rules are installed.
51165 * nss/getXXbyYY_r.c: Likewise.
51166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51167
51168 * nss/nss_files/files-parse.c: Whitespace fixes.
51169
f15ce4d8
UD
511702010-08-09 Ulrich Drepper <drepper@redhat.com>
51171
51172 [BZ #11883]
51173 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51174 * posix/fnmatch_loop.c: Likewise.
51175
d22e4cc9
AK
511762010-07-17 Andi Kleen <ak@linux.intel.com>
51177
51178 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51179 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51180 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51181 * Versions.def [GLIBC_2.13]: Add.
51182
805bc17d
UD
511832010-08-06 Ulrich Drepper <drepper@redhat.com>
51184
51185 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51186 Also fail if tpwd after pwuid call is NULL.
51187
5a42321d
ST
511882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51189
51190 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51191 when converting to ms.
51192
fd3ebeda
ST
511932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51194
51195 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51196 EOPNOTSUPP errors with ENOTTY.
51197 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51198 EOPNOTSUPP errors with ENOTTY.
51199
73507d3a
UD
512002010-07-31 Ulrich Drepper <drepper@redhat.com>
51201
51202 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51203 Add strcasecmp_l-ssse3.
51204 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51205 strcasecmp.
51206 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51207 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51208 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51209
fe36dd02
UD
512102010-07-30 Ulrich Drepper <drepper@redhat.com>
51211
66f6765a
UD
51212 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51213
42e08a54
UD
51214 * string/Makefile (strop-tests): Add strcasecmp.
51215 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51216 strcasecmp_l-nonascii.
51217 (gen-as-const-headers): Add locale-defines.sym.
51218 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51219 * sysdeps/x86_64/strcasecmp.S: New file.
51220 * sysdeps/x86_64/strcasecmp_l.S: New file.
51221 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51222 * sysdeps/x86_64/locale-defines.sym: New file.
51223 * string/test-strcasecmp.c: New file.
51224
fe36dd02
UD
51225 * string/test-strcasestr.c: Test both ends of the range of characters.
51226 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51227
48cbc0d6
RM
512282010-07-29 Roland McGrath <roland@redhat.com>
51229
76e6d6bc 51230 [BZ #11856]
48cbc0d6
RM
51231 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51232
880113d9
UD
512332010-07-27 Ulrich Drepper <drepper@redhat.com>
51234
51235 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51236 for ld.so.
51237
deb9cabb
AS
512382010-07-27 Andreas Schwab <schwab@redhat.com>
51239
51240 * manual/memory.texi (Malloc Tunable Parameters): Document
51241 M_PERTURB.
51242
1c7570ff
RM
512432010-07-26 Roland McGrath <roland@redhat.com>
51244
51245 [BZ #11840]
51246 * configure.in (-fgnu89-inline check): Set and substitute
51247 gnu89_inline, not libc_cv_gnu89_inline.
51248 * configure: Regenerated.
51249 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51250
24fb0f88
UD
512512010-07-26 Ulrich Drepper <drepper@redhat.com>
51252
51253 * string/test-strnlen.c: New file.
51254 * string/Makefile (strop-tests): Add strnlen.
51255 * string/tester.c (test_strnlen): Add a few more test cases.
51256 * string/tst-strlen.c: Better error reporting.
51257
51258 * sysdeps/x86_64/strnlen.S: New file.
51259
8e96b93a
UD
512602010-07-24 Ulrich Drepper <drepper@redhat.com>
51261
51262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51263 lower-latency instructions.
51264
dbc676d4
UD
512652010-07-23 Ulrich Drepper <drepper@redhat.com>
51266
51267 * string/test-strcasestr.c: New file.
51268 * string/test-strstr.c: New file.
51269 * string/Makefile (strop-tests): Add strstr and strcasestr.
51270 * string/str-two-way.h: Don't undefine MAX.
51271 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51272
f6a31e0e
AS
512732010-07-21 Andreas Schwab <schwab@redhat.com>
51274
51275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51276 strcasestr-nonascii.
51277 (CFLAGS-strcasestr-nonascii.c): Define.
51278 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51280 Remove unused attribute.
51281
5dbc3b6c
RM
512822010-07-20 Roland McGrath <roland@redhat.com>
51283
51284 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51285 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51286 ld.so.cache was broken. With it, there is no way to disable dsocaps
51287 like LD_HWCAP_MASK can disable hwcaps.
51288
23d101d8
EPM
512892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51290
51291 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51292
cc9f2e47
UD
512932010-07-16 Ulrich Drepper <drepper@redhat.com>
51294
51295 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51296 call in strcasestr.
51297 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51298 __strcasestr_sse42_nonascii.
51299 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51300 strcasestr-nonascii.c.
51301 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51302
77c1b069
LM
513032010-06-15 Luis Machado <luisgpm@br.ibm.com>
51304
51305 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51307 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51309
440566c3
UD
513102010-07-09 Ulrich Drepper <drepper@redhat.com>
51311
51312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51313 fcntl.
51314
5be9d05d
AS
513152010-07-06 Andreas Schwab <schwab@redhat.com>
51316
c30b7ee2 51317 [BZ #11577]
5be9d05d
AS
51318 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51319 dl_signal_cerror.
51320
8a492a67
UD
513212010-07-06 Ulrich Drepper <drepper@redhat.com>
51322
51323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51324 _PC_PIPE_BUF using F_GETPIPE_SZ.
51325
713df3d5
RM
513262010-07-05 Roland McGrath <roland@redhat.com>
51327
51328 * manual/arith.texi (Rounding Functions): Fix rint description
51329 implicit in round description.
51330
702e8f14
UD
513312010-07-02 Ulrich Drepper <drepper@redhat.com>
51332
51333 * elf/Makefile: Fix linking for a few tests to make recent linker
51334 happy.
51335
52ed8be9
AS
513362010-06-30 Andreas Schwab <schwab@redhat.com>
51337
51338 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51339 $(common-objpfx)libc_nonshared.a.
51340
f47c9a11
LM
513412010-06-21 Luis Machado <luisgpm@br.ibm.com>
51342
51343 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51344 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51345 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51346 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51347 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51348 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51349 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51350 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51365 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51366 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51367 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51368 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51369 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51370 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51371 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51372 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51373 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51374 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51375 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51376 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51391
6fb8cbcb
L
513922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51393
51394 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51395 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51396 * string/memmove.c (memmove): Renamed to ...
51397 (MEMMOVE): ...this. Default to memmove.
51398 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51399 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51400 (END_CHK): Define.
51401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51402 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51403 mempcpy-ssse3-back memmove-ssse3-back.
51404 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51406 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51407 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51408 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51409 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51410 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51411 * sysdeps/x86_64/multiarch/memmove.c: New file.
51412 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51413 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51414 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51415 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51416 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51417 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51418 Define.
51419 (index_Fast_Copy_Backward): Define.
51420 (HAS_ARCH_FEATURE): Define.
51421 (HAS_FAST_REP_STRING): Define.
51422 (HAS_FAST_COPY_BACKWARD): Define.
51423
4e733bac 514242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51425
51426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51427 Restore proper fallback handling.
51428
63c4ed22
UD
514292010-06-19 Ulrich Drepper <drepper@redhat.com>
51430
ac2b484c
UD
51431 [BZ #11701]
51432 * posix/group_member.c (__group_member): Correct checking loop.
51433
63c4ed22
UD
51434 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51435 OOM in getpwuid_r correctly. Return error number when the caller
51436 should return, otherwise -1.
51437 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51438 call returning > 0 value.
51439 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51440
765ade4b
AS
514412010-06-07 Andreas Schwab <schwab@redhat.com>
51442
51443 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51444 libc_nonshared.a from targets in modules-names.
51445
80da2e09
KS
514462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51447
51448 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51449 requires it.
51450
158db122
LM
514512010-06-10 Luis Machado <luisgpm@br.ibm.com>
51452
51453 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51454 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51457
caa78cf8
AS
514582010-06-02 Andreas Schwab <schwab@redhat.com>
51459
51460 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51461
b2ef2c01
UD
514622010-06-14 Ulrich Drepper <drepper@redhat.com>
51463
51464 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51465 and F_GETPIPE_SZ.
51466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51471 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51472
fbd643b6
RM
514732010-06-14 Roland McGrath <roland@redhat.com>
51474
51475 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51476
f32f2869
JJ
514772010-06-07 Jakub Jelinek <jakub@redhat.com>
51478
51479 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51480 __REDIRECT followed by __THROW.
51481 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51482 * posix/getopt.h (getopt): Likewise.
51483
2a50c078
EPM
514842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51485
51486 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51487 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51488 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51489 in AT_FLAGS.
51490 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51491 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51492
eb5ad2eb
LM
514932010-05-28 Luis Machado <luisgpm@br.ibm.com>
51494
51495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51496
3c88fe1e
L
514972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51498
51499 [BZ #11640]
51500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51501 Properly check family and model.
51502
d2f73151
TY
515032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51504
51505 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51506
ebd2e13d
LM
515072010-05-24 Luis Machado <luisgpm@br.ibm.com>
51508
51509 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51510
b32b8b45
UD
515112010-05-21 Ulrich Drepper <drepper@redhat.com>
51512
51513 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51514 symbol reference.
51515
9acbe24d
AS
515162010-05-19 Andreas Schwab <schwab@redhat.com>
51517
51518 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51519 symbol reference.
51520
f0ccf6ea
AS
515212010-05-21 Andreas Schwab <schwab@redhat.com>
51522
3d04ff3a
AS
51523 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51524 and internal_recvmmsg.
51525 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51526 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51527 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51528 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51529
f0ccf6ea
AS
51530 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51531 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51532 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51533
5b08ac57
AS
515342010-05-20 Andreas Schwab <schwab@redhat.com>
51535
51536 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51537
4828935d
LM
515382010-05-17 Luis Machado <luisgpm@br.ibm.com>
51539
51540 POWER7 optimizations.
51541 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51542 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51543
373d545e
UD
515442010-05-19 Ulrich Drepper <drepper@redhat.com>
51545
51546 * version.h: Update for 2.13 development version.
51547
21a2b1ae
AS
515482010-05-12 Andrew Stubbs <ams@codesourcery.com>
51549
51550 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51551 exceptions. Return 0.
51552
3f7dcb2b
RM
515532010-05-07 Roland McGrath <roland@redhat.com>
51554
51555 * elf/ldconfig.c (main): Add a const.
51556
5f24d53a 515572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51558
a160f8d8
UD
51559 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51560 (args_options): Add no-idn option.
51561 (ahosts_keys_int): Add idn_flags to ai_flags.
51562 (parse_option): Handle 'i' option to clear idn_flags.
51563
5f24d53a
UD
51564 * malloc/malloc.c (_int_free): Possible race in the most recently
51565 added check. Only act on the data if no current modification
51566 happened.
265bb1ce
UD
51567
51568See ChangeLog.17 for earlier changes.