]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[AArch64] End frame record chain correctly.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
80085def
RL
12014-11-10 Renlin Li <Renlin.Li@arm.com>
2
3 [BZ #17555]
4 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5
bd805071
AS
62014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7
8 * configure.ac: Updated check of minimal required version to
9 2.22.
10 * manual/install.texi (Tools for Compilation): Updated version
11 number.
12 * configure: Regenerated.
13 * INSTALL: Likewise.
14
1400983e
AS
152014-11-07 Andreas Schwab <schwab@linux-m68k.org>
16
17 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18 __tls_get_addr.
19
2c46a66a
JM
202014-11-07 Joseph Myers <joseph@codesourcery.com>
21
22 * include/sys/wait.h (__libc_waitpid): Remove declaration.
23 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24 (__waitpid): Don't define as alias. Use libc_hidden_def not
25 libc_hidden_weak.
26 (waitpid): Define as alias of __waitpid.
27 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28 __waitpid.
29 (__waitpid): Don't define as alias. Use libc_hidden_def not
30 libc_hidden_weak.
31 (waitpid): Define as alias of __waitpid.
32 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33 __libc_waitpid alias.
34 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36 Likewise.
37 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
39 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40 alias.
41 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42 __waitpid.
43 (__waitpid): Don't define as alias. Use libc_hidden_def not
44 libc_hidden_weak.
45 (waitpid): Define as alias of __waitpid.
46
da53d6db
CD
472014-11-06 Carlos O'Donell <carlos@redhat.com>
48
a2887bdb
CD
49 * manual/llio.texi: Add comment that write safety has been
50 fixed in Linux.
51
da53d6db
CD
52 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
53 (localplt-build-dso): Add elf/ld.so.
54 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
55 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
56 and free for ld.so.
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
58 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
60 Likewise.
61 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
62 Likewise.
63 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
64 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
65 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
66 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
67 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
68 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
69 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
70 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
71 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
72 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
73 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
74
9cf27b8d
JM
752014-11-05 Joseph Myers <joseph@codesourcery.com>
76
77 [BZ #14132]
78 * include/libc-symbols.h (INTUSE): Remove macro.
79 (INTDEF): Likewise.
80 (INTVARDEF): Likewise.
81 (_INTVARDEF): Likewise.
82 (INTDEF2): Likewise.
83 (INTVARDEF2): Likewise.
84 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
85 rtld_hidden_def instead of INTVARDEF.
86 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
87 (_dl_starting_up_internal): Remove declaration.
88 (_dl_starting_up): Use rtld_hidden_proto.
89 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
90 declaration.
91 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
92 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
93 _dl_starting_up.
94 * elf/dl-writev.h (_dl_writev): Likewise.
95 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
96 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
97 _dl_starting_up_internal.
98
af83568d
AZ
992014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
100
101 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
102 test-skeleton.c.
103
b01ee67c
WN
1042014-11-05 Will Newton <will.newton@linaro.org>
105
106 * benchtests/Makefile: (bench-malloc): Add malloc thread
107 scalability benchmark.
108 * benchtests/bench-malloc-threads.c: New file.
109
be9d4ccc
RE
1102014-11-05 Richard Earnshaw <rearnsha@arm.com>
111
112 * sysdeps/aarch64/strchrnul.S: New file.
113
7110166d
AZ
1142014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115
116 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
117 definition.
118 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
119 Likwise.
120 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
121 Likewise.
122 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
123 Likewise.
124 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
125 Likewise.
126 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
127 Likewise.
128
1292014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
130
131 * catgets/test-gencat.c: Use test-skeleton.c.
132 * catgets/tst-catgets.c: Likewise.
133 * csu/tst-empty.c: Likewise.
134 * elf/tst-audit2.c: Likewise.
135 * elf/tst-global1.c: Likewise.
136 * elf/tst-pathopt.c: Likewise.
137 * elf/tst-piemod1.c: Likewise.
138 * elf/tst-tls10.c: Likewise.
139 * elf/tst-tls11.c: Likewise.
140 * elf/tst-tls12.c: Likewise.
141 * gnulib/tst-gcc.c: Likewise.
142 * iconvdata/tst-e2big.c: Likewise.
143 * iconvdata/tst-loading.c: Likewise.
144 * iconv/tst-iconv1.c: Likewise.
145 * iconv/tst-iconv2.c: Likewise.
146 * inet/test-inet6_opt.c: Likewise.
147 * inet/tst-gethnm.c: Likewise.
148 * inet/tst-network.c: Likewise.
149 * inet/tst-ntoa.c: Likewise.
150 * intl/tst-codeset.c: Likewise.
151 * intl/tst-gettext2.c: Likewise.
152 * intl/tst-gettext3.c: Likewise.
153 * intl/tst-ngettext.c: Likewise.
154 * intl/tst-translit.c: Likewise.
155 * io/test-stat.c: Likewise.
156 * libio/test-fmemopen.c: Likewise.
157 * libio/tst-freopen.c: Likewise.
158 * libio/tst-sscanf.c: Likewise.
159 * libio/tst-ungetwc1.c: Likewise.
160 * libio/tst-ungetwc2.c: Likewise.
161 * libio/tst-widetext.c: Likewise.
162 * localedata/tst-ctype.c: Likewise.
163 * localedata/tst-digits.c: Likewise.
164 * localedata/tst-leaks.c: Likewise.
165 * localedata/tst-mbswcs1.c: Likewise.
166 * localedata/tst-mbswcs2.c: Likewise.
167 * localedata/tst-mbswcs3.c: Likewise.
168 * localedata/tst-mbswcs4.c: Likewise.
169 * localedata/tst-mbswcs5.c: Likewise.
170 * localedata/tst-setlocale.c: Likewise.
171 * localedata/tst-trans.c: Likewise.
172 * localedata/tst-wctype.c: Likewise.
173 * localedata/tst-xlocale1.c: Likewise.
174 * login/tst-grantpt.c: Likewise.
175 * malloc/tst-calloc.c: Likewise.
176 * malloc/tst-malloc.c: Likewise.
177 * malloc/tst-mallocstate.c: Likewise.
178 * malloc/tst-mcheck.c: Likewise.
179 * malloc/tst-mtrace.c: Likewise.
180 * malloc/tst-obstack.c: Likewise.
181 * math/atest-exp2.c: Likewise.
182 * math/atest-exp.c: Likewise.
183 * math/atest-sincos.c: Likewise.
184 * math/test-matherr.c: Likewise.
185 * math/test-misc.c: Likewise.
186 * math/test-powl.c: Likewise.
187 * math/tst-definitions.c: Likewise.
188 * misc/tst-dirname.c: Likewise.
189 * misc/tst-efgcvt.c: Likewise.
190 * misc/tst-fdset.c: Likewise.
191 * misc/tst-hsearch.c: Likewise.
192 * misc/tst-mntent2.c: Likewise.
193 * nptl/tst-sem7.c: Likewise.
194 * nptl/tst-sem8.c: Likewise.
195 * nptl/tst-sem9.c: Likewise.
196 * nss/test-netdb.c: Likewise.
197 * posix/tst-fnmatch.c: Likewise.
198 * posix/tst-getlogin.c: Likewise.
199 * posix/tst-gnuglob.c: Likewise.
200 * posix/tst-mmap.c: Likewise.
201 * pwd/tst-getpw.c: Likewise.
202 * resolv/tst-inet_ntop.c: Likewise.
203 * rt/tst-timer.c: Likewise.
204 * stdio-common/test-fseek.c: Likewise.
205 * stdio-common/test-popen.c: Likewise.
206 * stdio-common/test-vfprintf.c: Likewise.
207 * stdio-common/tst-cookie.c: Likewise.
208 * stdio-common/tst-fileno.c: Likewise.
209 * stdio-common/tst-gets.c: Likewise.
210 * stdio-common/tst-obprintf.c: Likewise.
211 * stdio-common/tst-perror.c: Likewise.
212 * stdio-common/tst-sprintf2.c: Likewise.
213 * stdio-common/tst-sprintf3.c: Likewise.
214 * stdio-common/tst-sprintf.c: Likewise.
215 * stdio-common/tst-swprintf.c: Likewise.
216 * stdio-common/tst-tmpnam.c: Likewise.
217 * stdio-common/tst-unbputc.c: Likewise.
218 * stdio-common/tst-wc-printf.c: Likewise.
219 * stdlib/tst-environ.c: Likewise.
220 * stdlib/tst-fmtmsg.c: Likewise.
221 * stdlib/tst-limits.c: Likewise.
222 * stdlib/tst-rand48-2.c: Likewise.
223 * stdlib/tst-rand48.c: Likewise.
224 * stdlib/tst-random2.c: Likewise.
225 * stdlib/tst-random.c: Likewise.
226 * stdlib/tst-strtol.c: Likewise.
227 * stdlib/tst-strtoll.c: Likewise.
228 * stdlib/tst-tls-atexit.c: Likewise.
229 * stdlib/tst-xpg-basename.c: Likewise.
230 * string/test-ffs.c: Likewise.
231 * string/tst-bswap.c: Likewise.
232 * string/tst-inlcall.c: Likewise.
233 * string/tst-strtok.c: Likewise.
234 * string/tst-strxfrm.c: Likewise.
235 * sysdeps/x86_64/tst-audit10.c: Likewise.
236 * sysdeps/x86_64/tst-audit3.c: Likewise.
237 * sysdeps/x86_64/tst-audit4.c: Likewise.
238 * sysdeps/x86_64/tst-audit5.c: Likewise.
239 * time/tst-ftime_l.c: Likewise.
240 * time/tst-getdate.c: Likewise.
241 * time/tst-mktime3.c: Likewise.
242 * time/tst-mktime.c: Likewise.
243 * time/tst-posixtz.c: Likewise.
244 * time/tst-strptime2.c: Likewise.
245 * time/tst-strptime3.c: Likewise.
246 * wcsmbs/tst-btowc.c: Likewise.
247 * wcsmbs/tst-mbrtowc.c: Likewise.
248 * wcsmbs/tst-mbsrtowcs.c: Likewise.
249 * wcsmbs/tst-wchar-h.c: Likewise.
250 * wcsmbs/tst-wcpncpy.c: Likewise.
251 * wcsmbs/tst-wcrtomb.c: Likewise.
252 * wcsmbs/tst-wcsnlen.c: Likewise.
253 * wcsmbs/tst-wcstof.c: Likewise.
254
2004e7fb
JM
2552014-11-04 Joseph Myers <joseph@codesourcery.com>
256
ab97ee8f
JM
257 [BZ #14132]
258 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
259 INTDEF.
260 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
261 declaration.
262 (_dl_mcount): Use rtld_hidden_proto.
263 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
264 _dl_mcount.
265 * elf/rtld.c (_rtld_global_ro): Likewise.
266
c5684fdb
JM
267 [BZ #14132]
268 * elf/dl-init.c (_dl_init): Don't use INTDEF.
269 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
270 of _dl_init_internal.
271 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
272 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
273 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
274 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
275 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
276 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
277 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
278 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
279 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
280 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
281 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
282 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
283 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
284 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
285 * sysdeps/tile/dl-start.S (_start): Likewise.
286 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
287 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
288
4243cbea
JM
289 [BZ #14132]
290 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
291 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
292 (rtld_progname): Make macro definition unconditional.
293 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
294 INTDEF.
295 (dlmopen_doit): Do not use INTUSE with _dl_argv.
296 (dl_main): Likewise.
297 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
298 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
299 instead of _dl_argv_internal.
300 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
301 __GI__dl_argv instead of INTUSE(_dl_argv).
302 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
303 __GI__dl_argv instead of _dl_argv_internal.
304
2004e7fb
JM
305 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
306 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
307 macro.
308 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
309 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
310 New macro.
311 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
312 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
313 macro.
314 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
315 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
316
97827bfc
AS
3172014-11-04 Andreas Schwab <schwab@suse.de>
318
319 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
320
5e4df284
AZ
3212014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
322
323 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
324 mtvsrd instruction in binary form.
325
04b76b5a
AS
3262014-11-03 Andreas Schwab <schwab@suse.de>
327
328 [BZ #17522]
329 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
330 for less than MB_LEN_MAX use a local buffer of that size.
331 * libio/tst-fputws.c: New file.
332 * libio/Makefile (tests): Add tst-fputws.
333
4c6da7da
JM
3342014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
335
336 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
337 the size of the fpu_fr.fpu_dregs[] array.
338
1679ba8e
JM
3392014-11-01 Joseph Myers <joseph@codesourcery.com>
340
341 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
342 (__nanosleep): Do not define as alias.
343 (nanosleep): Define as alias of __nanosleep.
344 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
345 __libc_nanosleep name.
346
2626c183
JM
3472014-10-31 Joseph Myers <joseph@codesourcery.com>
348
349 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
350 install.texi in comment.
351
7f981fc2
TR
3522014-10-31 Torvald Riegel <triegel@redhat.com>
353
354 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
355 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
356 ... add here and use lwsync or sync ...
357 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
358 ... and add here using lwsync.
359
d6f373d2
MF
3602014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
361
362 * elf/dl-machine-reject-phdr.h: New file.
363 * elf/dl-load.c: #include that.
364 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
365 if that returned true.
366
67c37987
RM
3672014-10-31 Roland McGrath <roland@hack.frob.com>
368
369 [BZ #17496]
370 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
371 gen-as-const-headers chunk. Add a big scare comment after the last
372 safe place to touch before-compile.
373
94a42455 3742014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 375
f3f5d895
JM
376 * manual/install.texi (Tools for Compilation): Update autoconf
377 version requirements.
378 * INSTALL: Regenerated.
379
f62ff286
JM
380 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
381 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
382 (__libc_pselect): Likewise.
94a42455
JM
383
384 [BZ #14138]
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
389
ff9dbdc0
TR
3902014-10-31 Torvald Riegel <triegel@redhat.com>
391
392 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
393 correct barrier instruction.
394 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
395 Likewise.
396 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
397 Likewise.
398
b4f66884
RM
3992014-10-30 Roland McGrath <roland@hack.frob.com>
400
401 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
402 after defining inlines. Instead, just use parens to defeat macro
403 expansion of __isctype in its declaration.
404
e19c95fd
JM
4052014-10-30 Joseph Myers <joseph@codesourcery.com>
406
407 * include/sys/uio.h (__libc_readv): Remove declaration.
408 (__libc_writev): Likewise.
409 * misc/readv.c (__libc_readv): Rename to __readv.
410 (__readv): Do not define as alias.
411 (readv): Define as alias of __readv.
412 * misc/writev.c (__libc_writev): Rename to __writev.
413 (__writev): Do not define as alias.
414 (writev): Define as alias of __writev.
415 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
416 (__readv): Do not define as alias.
417 (readv): Define unconditionally as alias of __readv.
418 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
419 (__writev): Do not define as alias.
420 (writev): Define unconditionally as alias of __writev.
421 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
422 name.
423 (writev): Do not define __libc_writev name.
424
65b00b6c
RM
4252014-10-30 Roland McGrath <roland@hack.frob.com>
426
427 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
428 (convert_charseq): New function, broken out of ...
429 (use_from_charmap): ... here. Call it.
430 (use_to_charmap): Use convert_charseq and free instead of duplicating
431 its code with a variable-length stack struct.
432
d4e157aa
JM
4332014-10-30 Joseph Myers <joseph@codesourcery.com>
434
435 * include/fcntl.h (__libc_creat): Remove declaration.
436 * io/creat.c (__libc_creat): Rename to creat.
437 (creat): Do not define as alias.
438 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
439 of creat instead of __libc_creat.
440 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
441 to creat.
442 (creat): Do not define as alias.
443 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
444 __libc_creat.
445 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
446 __libc_creat name.
447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
448 Likewise.
449
0c6891a0
CD
4502014-10-29 Carlos O'Donell <carlos@redhat.com>
451
452 * manual/llio.texi: Add comments discussing why write() may be
453 considered MT-unsafe on Linux.
454
cc00cece
CD
4552014-10-28 Carlos O'Donell <carlos@redhat.com>
456
457 * dl-load.c (local_strdup): Remove.
458 (expand_dynamic_string_token): Use __strdup.
459 (decompose_rpath): Likewise.
460 (_dl_map_object): Likewise.
461
51e623f2
JM
4622014-10-28 Joseph Myers <joseph@codesourcery.com>
463
464 [BZ #14132]
465 * sysdeps/generic/unwind-dw2-fde.c
466 (__register_frame_info_bases_internal): Do not declare.
467 (__register_frame_info_table_bases_internal): Likewise.
468 (__deregister_frame_info_bases_internal): Likewise.
469 (__register_frame_info_bases): Declare and use hidden_proto before
470 definition. Use hidden_def instead of INTDEF.
471 (__register_frame_info_table_bases): Likewise.
472 (__deregister_frame_info_bases): Likewise.
473 (__register_frame_info): Do not use INTUSE.
474 (__register_frame): Likewise.
475 (__register_frame_info_table): Likewise.
476 (__register_frame_table): Likewise.
477 (__deregister_frame_info): Likewise.
478 (__deregister_frame): Likewise.
479
03d41216
GC
4802014-10-27 Gratian Crisan <gratian.crisan@ni.com>
481
482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
483 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
484 not undefine.
485 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
486 Likewise.
487 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
488 Likewise.
489
a4b3624d
JM
4902014-10-27 Joseph Myers <joseph@codesourcery.com>
491
492 [BZ #14138]
493 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
494 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
495 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
496 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
497 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
498 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
499 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
500 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
501 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
502 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
503 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
504 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
505 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
506 syscall.
507 (setfsuid): Likewise.
508 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
509 (setfsuid): Likewise.
510 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
511 (setfsuid): Likewise.
512 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
513 Likewise.
514 (setfsuid): Likewise.
515 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
516 (setfsuid): Likewise.
517 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
518 Likewise.
519 (setfsuid): Likewise.
520
3574f2fd
AS
5212014-10-27 Andreas Schwab <schwab@suse.de>
522
523 [BZ #17501]
524 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
525 check for Slow_SSE4_2 feature bit.
526 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
527 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
528 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
529 Likewise. Fix check for Fast_Unaligned_Load feature bit.
530
70996a37
RM
5312014-10-24 Roland McGrath <roland@hack.frob.com>
532
461a7b1e
RM
533 * configure.ac: Validate compiler version with a empirical test of
534 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
535 $CC -v output.
536 * configure: Regenerated.
537
70996a37
RM
538 * inet/htons.c (htons): Prototypify.
539 * inet/htonl.c (htonl): Likewise.
540
e80514b5
WD
5412014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
542
543 * string/strncat.c (strncat): Improve performance by using strlen.
544
6e46de42
WD
5452014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
546
547 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
548
6a9ad2fa
WD
5492014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
550
551 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
552 Call libc_fetestexcept_aarch64.
553
1c8810ed
WD
5542014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
555
556 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
557 Call libc_feholdexcept_aarch64.
558
8b1af712
WD
5592014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
560
561 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
562 Call get_rounding_mode.
563
a7b00c11
WD
5642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
565
566 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
567 Simplify logic.
568
3a84f1a6
WD
5692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
570
571 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
572 Simplify logic.
573
48eb7a94
JM
5742014-10-24 Joseph Myers <joseph@codesourcery.com>
575
c8bc4038
JM
576 [BZ #14138]
577 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
578 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
579 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
580 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
581 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
582 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
583 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
584 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
585 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
586 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
587 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
588 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
589 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
590 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
591 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
592 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
593 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
594 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
595 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
596 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
597 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
598 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
599 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
600 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
601 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
602 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
603 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
604 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
605 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
606 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
607 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
608 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
609 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
610 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
611 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
612 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
613 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
614 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
615 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
616 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
617 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
618 syscall.
619 (geteuid): Likewise.
620 (getgid): Likewise.
621 (getuid): Likewise.
622 (getresgid): Likewise.
623 (getresuid): Likewise.
624 (getgroups): Likewise.
625 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
626 (geteuid): Likewise.
627 (getgid): Likewise.
628 (getuid): Likewise.
629 (getresgid): Likewise.
630 (getresuid): Likewise.
631 (getgroups): Likewise.
632 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
633 (geteuid): Likewise.
634 (getgid): Likewise.
635 (getuid): Likewise.
636 (getresgid): Likewise.
637 (getresuid): Likewise.
638 (getgroups): Likewise.
639 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
640 Likewise.
641 (geteuid): Likewise.
642 (getgid): Likewise.
643 (getuid): Likewise.
644 (getresgid): Likewise.
645 (getresuid): Likewise.
646 (getgroups): Likewise.
647 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
648 (geteuid): Likewise.
649 (getgid): Likewise.
650 (getuid): Likewise.
651 (getresgid): Likewise.
652 (getresuid): Likewise.
653 (getgroups): Likewise.
654 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
655 Likewise.
656 (geteuid): Likewise.
657 (getgid): Likewise.
658 (getuid): Likewise.
659 (getgroups): Likewise.
660
48eb7a94
JM
661 [BZ #14138]
662 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
663 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
664 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
665 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
666 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
667 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
668 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
669 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
670 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
671 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
672 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
673 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
674 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
675 __chown.
676 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
677 (lchown): Likewise.
678 (fchown): Likewise.
679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
680 Likewise.
681 (lchown): Likewise.
682 (fchown): Likewise.
683 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
684 (lchown): Likewise.
685 (fchown): Likewise.
686 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
687 Likewise.
688 (lchown): Likewise.
689 (fchown): Likewise.
690
ea9a7c8b
WD
6912014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
692
693 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
694 Simplify logic.
695
e226de33
WD
6962014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
697
698 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
699 Cleanup logic.
700
6e3d8ed3
WD
7012014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
702
703 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
704 Remove unused include.
705
eb04247d
WD
7062014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
707
708 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
709 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
710 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
711 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
712
13d84554
CD
7132014-10-23 Carlos O'Donell <carlos@systemhalted.org>
714 Helge Deller <deller@gmx.de>
715
716 [BZ #17508]
717 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
718 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
719 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
720
15f9c5df
JM
7212014-10-23 Joseph Myers <joseph@codesourcery.com>
722
723 [BZ #14132]
724 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
725 Remove macro definition.
726 (__ashrdi3_v_glibc20): Likewise.
727 (__lshrdi3_v_glibc20): Likewise.
728 (__cmpdi2_v_glibc20): Likewise.
729 (__ucmpdi2_v_glibc20): Likewise.
730 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
731 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
732 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
733 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
734 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
735 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
736
c6dfed24
RM
7372014-10-22 Roland McGrath <roland@hack.frob.com>
738
739 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
740 old GNU extension [0] syntax.
741 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
742 alloca rather than an array member with variable length.
743 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
744 * nscd/nscd.c (invalidate_db): New function, broken out of ...
745 (parse_opt): ... here. Likewise use alloca there.
746 Validate the -i argument before checking for rootness.
747 (send_shutdown): New function, broken out of ...
748 (parse_opt): ... here.
749
8c2b1ed8
RM
7502014-10-22 Roland McGrath <roland@hack.frob.com>
751
752 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
753 macro to get at the _rt_local_ro field.
754 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
755 ([PIC] case) or _dl_hwcap ([!PIC] case).
756 * sysdeps/arm/setjmp.S: Likewise.
757
758 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
759 * sysdeps/arm/configure.ac: New check to define it.
760 * sysdeps/arm/configure: Regenerated.
761 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
762 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
763 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
764 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
765 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
766 Use move/movt pair instead of a load.
767 (LDST_GLOBAL): Macro removed.
768 (LDR_GLOBAL): New macro replaces it.
769 (LDR_HIDDEN): New macro.
770 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
771 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
772
773 * setjmp/tst-setjmp-static.c: New file.
774 * setjmp/Makefile (tests): Add it.
775 (tests-static): New variable.
776
b5af9297
MR
7772014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
778
779 [BZ #17485]
780 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
781
a13d0d74
JM
7822014-10-21 Joseph Myers <joseph@codesourcery.com>
783
784 [BZ #14132]
785 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
786
f05e73f6
RM
7872014-10-21 Roland McGrath <roland@hack.frob.com>
788
789 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
790
6ab1d1ea
RM
7912014-10-20 Roland McGrath <roland@hack.frob.com>
792
793 * io/fts.c (dirent_not_directory): New function.
794 (fts_build): Call it.
795
ab49e763
RM
7962014-10-20 Roland McGrath <roland@hack.frob.com>
797
e436eb79
RM
798 * nptl/version.c (__nptl_main): Use normal __write rather than
799 INTERNAL_SYSCALL.
800 (banner): Update copyright years.
801
6af246cf
RM
802 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
803 gettimeofday.
804 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
805 * nptl/pthread_cond_timedwait.c: Likewise.
806 * nptl/pthread_mutex_timedlock.c: Likewise.
807 * nptl/sem_timedwait.c: Likewise.
808
ab49e763
RM
809 * sysdeps/nptl/bits/libc-lock.h
810 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
811 (__libc_lock_init_recursive): Return void, not 0.
812 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
813 (__libc_rwlock_init): Likewise.
814 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
815
f50277c1
TR
8162014-10-20 Torvald Riegel <triegel@redhat.com>
817
818 [BZ #15215]
819 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
820 (__pthread_once_slow): ... here.
821 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
822 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
823
63668b70
TR
8242014-10-20 Torvald Riegel <triegel@redhat.com>
825
826 [BZ #15215]
827 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
828 __PTHREAD_ONCE_FORK_GEN_INCR): New.
829 * sysdeps/nptl/fork.c (__libc_fork): Use them.
830 * nptl/pthread_once.c (__pthread_once): Likewise.
831 Update comments.
832
42b7f5d4
JM
8332014-10-20 Joseph Myers <joseph@codesourcery.com>
834
835 [BZ #14138]
836 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
837 name.
838 (writev): Use __libc_writev as strong name.
839 * sysdeps/unix/sysv/linux/readv.c: Remove file.
840 * sysdeps/unix/sysv/linux/writev.c: Likewise.
841
b0643088
RM
8422014-10-17 Roland McGrath <roland@hack.frob.com>
843
114c4e09
RM
844 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
845
674b8978
RM
846 * sysdeps/i386/nptl/tls.h
847 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
848 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
849 New macros.
850 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
851 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
852 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
853 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
854 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
855 Call CHECK_THREAD_SYSINFO instead of doing an assert.
856
184ee940
RM
857 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
858 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
859 on [__NR_futex].
860 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
861 broken out of ...
862 (__pthread_mutex_init): ... here. Call it.
863 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
864 Conditionalize PI cases on [__NR_futex].
865 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
866 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
867 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
868
327ae257
RM
869 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
870 conditional on [SIGSETXID].
871 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
872 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
873 is defined. Likewise for SIGSETXID.
874 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
875 Conditionalize definitions on [SIGSETXID].
876 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
877 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
878 unblocking on [SIGCANCEL].
879
b0643088
RM
880 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
881 [__NR_set_robust_list].
882
33cc770b
SP
8832014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
884
885 * string/strcoll_l.c (get_next_seq): Fix up formatting.
886 (do_compare): Likewise.
887
0742aef6
LH
8882014-10-17 Leonhard Holz <leonhard.holz@web.de>
889
890 [BZ #15884]
891 * string/strcoll_l.c: Don't include stdio.h.
892 (coll_seq): Remove members idxarr and rulearr.
893 (get_next_seq_cached): Remove function.
894 (get_next_seq): Likewise.
895 (get_next_seq_nocache): Rename to get_next_seq.
896 (do_compare): Remove function.
897 (do_compare_nocache): Rename to do_compare.
898 (STRCOLL): Remove weight and rules cache.
899
ee54ce44
RM
9002014-10-16 Roland McGrath <roland@hack.frob.com>
901
902 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
903 * sysdeps/arm/sfp-machine.h: ... to here.
904 * sysdeps/arm/Implies: Remove arm/soft-fp.
905
a75d3b02
JM
9062014-10-14 Joseph Myers <joseph@codesourcery.com>
907
908 * conform/data/sys/utsname.h-data (*_t): Allow.
909 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
910 [POSIX] (WEXITED): Do not expect constant.
911 [POSIX] (WSTOPPED): Likewise.
912 [POSIX] (WNOHANG): Likewise.
913 [POSIX] (WNOWAIT): Likewise.
914 [POSIX] (siginfo_t): Do not expect type or elements.
915 [POSIX] (pid_t): Do not expect type.
916 [POSIX] (signal.h): Do not allow header.
917 [POSIX] (sys/resource.h): Likewise.
918 [POSIX] (si_*): Do not allow pattern.
919 [POSIX] (W*): Likewise.
920 [POSIX] (P_*): Likewise.
921 [POSIX] (BUS_*): Likewise.
922 [POSIX] (CLD_*): Likewise.
923 [POSIX] (FPE_*): Likewise.
924 [POSIX] (ILL_*): Likewise.
925 [POSIX] (POLL_*): Likewise.
926 [POSIX] (SEGV_*): Likewise.
927 [POSIX] (SI_*): Likewise.
928 [POSIX] (TRAP_*): Likewise.
929 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
930 variable.
931
fda389c8
SP
9322014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
933
934 [BZ #12926]
935 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
936 infinite loop when __recvmsg returns 0.
937
6bc6bd3b
JM
9382014-10-10 Joseph Myers <joseph@codesourcery.com>
939
fcb32af1
JM
940 * CANCEL-FCT-WAIVE: Remove file.
941 * CANCEL-FILE-WAIVE: Likewise.
942
6bc6bd3b
JM
943 [BZ #14132]
944 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
945 instead of INTVARDEF.
946 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
947 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
948 rtld_hidden_data_def instead of INTVARDEF.
949 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
950 * elf/dl-deps.c (expand_dst): Likewise.
951 * elf/dl-load.c (_dl_dst_count): Likewise.
952 (_dl_dst_substitute): Likewise.
953 (decompose_rpath): Likewise.
954 (_dl_init_paths): Likewise.
955 (open_path): Likewise.
956 (_dl_map_object): Likewise.
957 * elf/rtld.c (dl_main): Likewise.
958 (process_dl_audit): Likewise.
959 (process_envvars): Likewise.
960 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
961 Remove declaration.
962 (__libc_enable_secure): Use rtld_hidden_proto.
963
b8c80a7e
KS
9642014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
965
966 * elf/dl-load.c
967 (add_path): New function broken out of _dl_rtld_di_serinfo.
968 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
969
ff12c11f
JM
9702014-10-09 Joseph Myers <joseph@codesourcery.com>
971
5c0508a3
JM
972 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
973 parentheses around macro arguments.
974 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
975 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
976 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
977 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
978 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
979 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
980 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
981 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
982 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
983 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
984 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
985 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
986 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
987 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
988 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
989 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
990 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
991 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
992 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
993 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
994 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
995 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
996 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
997 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
998 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
999 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1000 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1001 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1002 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1003 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1004 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1005 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1006 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1007 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1008 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1009 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1010 Likewise.
1011 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1012 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1013 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1014 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1015 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1016 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1017 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1018 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1019 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1020 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1021 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1022 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1023 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1024 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1025 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1026 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1027 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1028 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1029 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1030 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1031 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1032 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1033 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1034 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1035 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1036 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1037 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1038 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1039 (_FP_FRAC_SRS_1): Likewise.
1040 (_FP_FRAC_CLZ_1): Likewise.
1041 (_FP_MUL_MEAT_1_imm): Likewise.
1042 (_FP_MUL_MEAT_1_wide): Likewise.
1043 (_FP_MUL_MEAT_1_hard): Likewise.
1044 (_FP_SQRT_MEAT_1): Likewise.
1045 (_FP_FRAC_ASSEMBLE_1): Likewise.
1046 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1047 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1048 (__FP_CLZ_2): Likewise.
1049 (_FP_MUL_MEAT_2_wide): Likewise.
1050 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1051 (_FP_MUL_MEAT_2_gmp): Likewise.
1052 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1053 (_FP_SQRT_MEAT_2): Likewise.
1054 (_FP_FRAC_ASSEMBLE_2): Likewise.
1055 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1056 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1057 (_FP_FRAC_CLZ_4): Likewise.
1058 (_FP_MUL_MEAT_4_wide): Likewise.
1059 (_FP_MUL_MEAT_4_gmp): Likewise.
1060 (_FP_SQRT_MEAT_4): Likewise.
1061 (_FP_FRAC_ASSEMBLE_4): Likewise.
1062 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1063 * soft-fp/op-common.h (_FP_CMP): Likewise.
1064 (_FP_CMP_EQ): Likewise.
1065 (_FP_CMP_UNORD): Likewise.
1066 (_FP_TO_INT): Likewise.
1067 (_FP_FROM_INT): Likewise.
1068 [!__FP_CLZ] (__FP_CLZ): Likewise.
1069 (_FP_DIV_HELP_imm): Likewise.
1070 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1071 Likewise.
1072 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1073 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1074 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1075 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1076 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1077 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1078 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1079 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1080 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1081 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1082 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1083 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1084 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1085 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1086 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1087 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1088 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1089 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1090 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1091 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1092 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1093 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1094 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1095 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1096 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1097 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1098 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1099 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1100 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1101 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1102 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1103 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1104 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1105 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1106 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1107 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1108 (FP_UNPACK_RAW_SP): Likewise.
1109 (FP_PACK_RAW_S): Likewise.
1110 (FP_PACK_RAW_SP): Likewise.
1111 (FP_UNPACK_S): Likewise.
1112 (FP_UNPACK_SP): Likewise.
1113 (FP_UNPACK_SEMIRAW_S): Likewise.
1114 (FP_UNPACK_SEMIRAW_SP): Likewise.
1115 (FP_PACK_S): Likewise.
1116 (FP_PACK_SP): Likewise.
1117 (FP_PACK_SEMIRAW_S): Likewise.
1118 (FP_PACK_SEMIRAW_SP): Likewise.
1119 (_FP_SQRT_MEAT_S): Likewise.
1120 (FP_CMP_S): Likewise.
1121 (FP_CMP_EQ_S): Likewise.
1122 (FP_CMP_UNORD_S): Likewise.
1123 (FP_TO_INT_S): Likewise.
1124 (FP_FROM_INT_S): Likewise.
1125
a736ec37
JM
1126 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1127
ff12c11f
JM
1128 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1129 (FP_EX_INVALID_IMZ): Likewise.
1130 (FP_EX_INVALID_IMZ_FMA): Likewise.
1131 (FP_EX_INVALID_ISI): Likewise.
1132 (FP_EX_INVALID_ZDZ): Likewise.
1133 (FP_EX_INVALID_IDI): Likewise.
1134 (FP_EX_INVALID_SQRT): Likewise.
1135 (FP_EX_INVALID_CVI): Likewise.
1136 (FP_EX_INVALID_VC): Likewise.
1137 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1138 "invalid" exceptions.
1139 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1140 (_FP_ADD_INTERNAL): Likewise.
1141 (_FP_MUL): Likewise.
1142 (_FP_FMA): Likewise.
1143 (_FP_DIV): Likewise.
1144 (_FP_CMP_CHECK_NAN): Likewise.
1145 (_FP_SQRT): Likewise.
1146 (_FP_TO_INT): Likewise.
1147 (FP_EXTEND): Likewise.
1148
b6dcfe8c
AM
11492014-10-09 Allan McRae <allan@archlinux.org>
1150
1151 * po/fr.po: Update French translation from translation project.
1152
2d6a47ba
JM
11532014-10-09 Joseph Myers <joseph@codesourcery.com>
1154
cb831245
JM
1155 [BZ #14132]
1156 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1157 of INTDEF.
1158 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1159 (__cxa_atexit): Use libc_hidden_proto.
1160 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1161
5deeb190
JM
1162 [BZ #14132]
1163 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1164 declaration.
1165 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1166 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1167 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1168 [!_ISOMAC] (__iswctype_internal): Likewise.
1169 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1170 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1171 alias.
1172 (fcntl): Remove __fcntl_internal alias.
1173 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1174 __connect_internal alias.
1175 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1176 Likewise.
1177
454ac701
JM
1178 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1179 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1180 FP_DENORM_ZERO.
1181 (_FP_CHECK_FLUSH_ZERO): New macro.
1182 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1183 (_FP_CMP): Likewise.
1184 (_FP_CMP_EQ): Likewise.
1185 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1186 FP_DENORM_ZERO.
1187 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1188 (FP_TRUNC): Likewise.
1189
0022e688
JM
1190 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1191 treated as invalid conversion, not as normal exponent.
1192
73e28d9c
JM
1193 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1194 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1195 (_FP_CMP_EQ): Likewise.
1196 (_FP_CMP_UNORD): Likewise.
1197 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1198 (FP_CMP_EQ_D): Likewise.
1199 (FP_CMP_UNORD_D): Likewise.
1200 * soft-fp/extended.h (FP_CMP_E): Likewise.
1201 (FP_CMP_EQ_E): Likewise.
1202 (FP_CMP_UNORD_E): Likewise.
1203 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1204 (FP_CMP_EQ_Q): Likewise.
1205 (FP_CMP_UNORD_Q): Likewise.
1206 * soft-fp/single.h (FP_CMP_S): Likewise.
1207 (FP_CMP_EQ_S): Likewise.
1208 (FP_CMP_UNORD_S): Likewise.
1209 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1210 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1211 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1212 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1213 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1214 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1215 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1216 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1217 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1218 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1219 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1220 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1221 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1222 to FP_CMP_Q.
1223 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1224 FP_CMP_Q.
1225 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1226 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1227 FP_CMP_EQ_Q.
1228 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1229 FP_CMP_Q.
1230 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1231 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1232 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1233 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1234 FP_CMP_EQ_Q.
1235 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1236 FP_CMP_Q.
1237 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1238 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1239 FP_CMP_EQ_Q.
1240 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1241 FP_CMP_Q.
1242 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1243 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1244 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1245 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1246 FP_CMP_EQ_Q.
1247
43059f42
JM
1248 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1249 a subnormal result, set the underflow exception if trapping on
1250 underflow is enabled.
1251 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1252 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1253 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1254 redefine to 0.
1255 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1256 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1257 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1258 * soft-fp/extendxftf2.c (__extendxftf2): Use
1259 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1260
2d6a47ba
JM
1261 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1262 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1263 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1264 FP_HANDLE_EXCEPTIONS.
1265 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1266 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1267 FP_HANDLE_EXCEPTIONS.
1268 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1269 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1270 FP_HANDLE_EXCEPTIONS.
1271 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1272 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1273 FP_HANDLE_EXCEPTIONS.
1274
620f462e
JM
12752014-10-08 Joseph Myers <joseph@codesourcery.com>
1276
1277 [BZ #14132]
1278 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1279 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1280 use INTUSE.
1281 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1282 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1283 Remove alias.
1284 (__adjtimex): Define using libc_hidden_ver.
1285 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1286 Remove declaration.
1287 (ntp_gettime): Call __adjtimex directly.
1288 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1289 Remove declaration.
1290 (ntp_gettimex): Call __adjtimex directly.
1291 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1292 __adjtimex_internal alias.
1293
c763c5d2
RM
12942014-10-08 Roland McGrath <roland@hack.frob.com>
1295
1296 [BZ #17460]
1297 * nscd/nscd.c (more_help): Rewrite list of tables collection
1298 using xstrdup and asprintf.
1299
1300 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1301
7b8fb2b8
RM
13022014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1303 Roland McGrath <roland@hack.frob.com>
1304
1305 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1306 (do_lookup_unique): ... local function 'enter' here; update callers.
1307
abb280f7
JM
13082014-10-06 Joseph Myers <joseph@codesourcery.com>
1309
f7b42517
JM
1310 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1311 compat_symbol calls on [SHARED].
1312 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1313 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1314 Remove.
1315 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1316 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1317 (oldsetrlimit): Remove.
1318 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1320 (lchown): New syscall entry.
1321 (oldsetrlimit): Remove.
1322 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1323 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1324 (oldsetrlimit): Remove.
1325 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1326
abb280f7
JM
1327 [BZ #14138]
1328 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1329 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1330 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1331 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1333 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1334 (fchown): Likewise.
1335 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1336 (fchown): Likewise.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1338 Likewise.
1339
47d46237
AZ
13402014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341
1342 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1343 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1344 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1345 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1346 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1347 Likewise.
1348 (__old_sem_post): Likewise.
1349
13502014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1351
845a7343
CM
1352 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1353 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1354 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1355 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1356 Use INLINE_VSYSCALL macro.
1357 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1358 __vdso_clock_gettime.
1359 * sysdeps/unix/sysv/linux/tile/init-first.c
1360 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1361 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1362 __vdso_clock_gettime.
1363
83d641ef
CM
1364 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1365 to set up frame more cleanly.
1366
d9cd52e6
CM
1367 * sysdeps/tile/memcmp.c: New file.
1368
4b68ea11
CM
1369 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1370
c86f7b80
CM
1371 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1372 * sysdeps/tile/tilegx/strcasestr.c: New file.
1373 * sysdeps/tile/tilegx/strnlen.c: New file.
1374 * sysdeps/tile/tilegx/strstr.c: New file.
1375
1c4c1a6f
CM
1376 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1377
99d86ea3
AS
13782014-10-06 Arjun Shankar <arjun.is@lostca.se>
1379
1380 * nptl/tst-setuid3.c: Write errors to stdout.
1381
06210a44
KS
13822014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1383
1384 * elf/dl-deps.c
1385 (preload): New functions broken out of _dl_map_object_deps.
1386 (_dl_map_object_deps): Remove a nested function. Update call sites.
1387
6268f532
JM
13882014-10-01 Joseph Myers <joseph@codesourcery.com>
1389
1390 [BZ #14138]
1391 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1392 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1393
b925285f
SE
13942014-10-01 Steve Ellcey <sellcey@mips.com>
1395
1396 * sysdeps/mips/strcmp.S: New.
1397
754a15c6
JM
13982014-09-30 Joseph Myers <joseph@codesourcery.com>
1399
1400 [BZ #14138]
1401 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1402 (linkat): Likewise.
1403 (mkdirat): Likewise.
1404 (readlinkat): Likewise.
1405 (renameat): Likewise.
1406 (symlinkat): Likewise.
1407 (unlinkat): Likewise.
1408 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1409 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1410 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1411 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1412 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1413 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1414 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1415
85bb81c9
WN
14162014-09-30 Will Newton <will.newton@linaro.org>
1417
dc6fe23b
WN
1418 * math/math.h: Define long double math functions if
1419 _LIBC_TEST is defined.
1420 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1421
85bb81c9
WN
1422 * localedata/Makefile: Move assignment to tests-special
1423 into an ifdef testing run-built-tests.
1424 * timezone/Makefile: Likewise.
1425
b7e02da4
JM
14262014-09-29 Joseph Myers <joseph@codesourcery.com>
1427
1428 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1429 with $(BASH) not $(SHELL).
1430
62058ce6
CD
14312014-09-29 Carlos O'Donell <carlos@redhat.com>
1432 Matthew LeGendre <legendre1@llnl.gov>
1433
1434 [BZ #17411]
1435 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1436 l_reloc_result.
1437
8e257a29
KS
14382014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1439
1440 * stdio-common/printf_fp.c
1441 (hack_digit): New function, broken out of ...
1442 (__printf_fp): ... local function here. Update call sites.
1443 hack_digit now takes an additional parameter that is a pointer
1444 to a struct of the referenced locals. Those locals moved inside
1445 the struct and references updated.
1446
f4a58f0d
L
14472014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * aclocal.m4: Require autoconf 2.69.
1450 * configure: Regenerated.
1451 * sysdeps/aarch64/configure: Likewise.
1452 * sysdeps/alpha/configure: Likewise.
1453 * sysdeps/arm/armv7/configure: Likewise.
1454 * sysdeps/arm/configure: Likewise.
1455 * sysdeps/ia64/configure: Likewise.
1456 * sysdeps/mach/configure: Likewise.
1457 * sysdeps/mips/configure: Likewise.
1458 * sysdeps/s390/configure: Likewise.
1459 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1461
1462 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1463 file.
1464 * sysdeps/ia64/configure.ac: Likewise.
1465
93ae1eba
JM
14662014-09-26 Joseph Myers <joseph@codesourcery.com>
1467
1810d3ab
JM
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1469 specify symbol version for ld.so. Do not include entry for
1470 libpthread.
1471 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1473 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1474
93ae1eba
JM
1475 [BZ #14171]
1476 * Makeconfig [$(build-shared) = yes]
1477 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1478 makefiles.
1479 [$(build-shared) = yes && $(soversions.mk-done) = t]
1480 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1481 [$(build-shared) = yes && $(soversions.mk-done) = t]
1482 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1483 to Makerules.
1484 [$(build-shared) = yes && $(soversions.mk-done) = t]
1485 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1486 here.
1487 [$(build-shared) = yes && $(soversions.mk-done) = t]
1488 (common-generated): Don't append gnu/lib-names.h and
1489 gnu/lib-names.stmp here.
1490 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1491 (lib-names-h-abi): New variable.
1492 [$(build-shared) = yes && $(soversions.mk-done) = t]
1493 (lib-names-stmp-abi): Likewise.
1494 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1495 abi-variants] (before-compile): Append
1496 $(common-objpfx)$(lib-names-h-abi).
1497 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1498 abi-variants] (common-generated): Append gnu/lib-names.h.
1499 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1500 abi-variants] (install-others-nosubdir): Depend on
1501 $(inst_includedir)/$(lib-names-h-abi).
1502 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1503 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1504 [$(build-shared) = yes && $(soversions.mk-done) = t]
1505 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1506 [$(build-shared) = yes && $(soversions.mk-done) = t]
1507 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1508 [$(build-shared) = yes && $(soversions.mk-done) = t]
1509 (common-generated): Append $(lib-names-h-abi) and
1510 $(lib-names-stmp-abi).
1511 * scripts/lib-names.awk: Do not handle multi being set.
1512 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1513 Remove variable.
1514 (abi-lp64_be-ld-soname): Likewise.
1515 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1516 Likewise.
1517 (abi-hard-ld-soname): Likewise.
1518 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1519 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1520 Remove variable.
1521 (abi-o32_hard-ld-soname): Likewise.
1522 (abi-o32_soft_2008-ld-soname): Likewise.
1523 (abi-o32_hard_2008-ld-soname): Likewise.
1524 (abi-n32_soft-ld-soname): Likewise.
1525 (abi-n32_hard-ld-soname): Likewise.
1526 (abi-n32_soft_2008-ld-soname): Likewise.
1527 (abi-n32_hard_2008-ld-soname): Likewise.
1528 (abi-n64_soft-ld-soname): Likewise.
1529 (abi-n64_hard-ld-soname): Likewise.
1530 (abi-n64_soft_2008-ld-soname): Likewise.
1531 (abi-n64_hard_2008-ld-soname): Likewise.
1532 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1533 Likewise.
1534 (abi-64-v2-ld-soname): Likewise.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1536 ld.so entries.
1537 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1538 variable.
1539 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1540 entry.
1541 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1542 variable.
1543 (abi-64-ld-soname): Likewise.
1544 (abi-x32-ld-soname): Likewise.
1545 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1546 entry.
1547 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1548
68870f12
JM
15492014-09-23 Joseph Myers <joseph@codesourcery.com>
1550
1551 [BZ #14138]
1552 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1553 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1554 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1555 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1556 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1557 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1558 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1559 syscall entry for GLIBC_2.2 symbol version.
1560 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1561 Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1563 (setrlimit): Likewise.
1564 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1565 Likewise.
1566
ea58f202
WN
15672014-09-23 Will Newton <will.newton@linaro.org>
1568
1569 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1570 _LINUX_ARM_SYSDEP_H include guard too.
1571 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1572 define.
1573
69eb9a18
RV
15742014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1575
1576 * sysdeps/unix/sysv/linux/eventfd.c:
1577 Make first argument unsigned.
1578 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1579 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1580
20e5a5f7
OB
15812014-09-20 Ondřej Bílka <neleai@seznam.cz>
1582
1583 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1584 * socket/sys/socket.h: Likewise
1585 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1586
d3c827e7
AK
15872014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1588
1589 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1590
fe1cc35a
AS
15912014-09-17 Arjun Shankar <arjun.is@lostca.se>
1592
1593 * time/tst-ftime.c: New test.
1594 * time/Makefile (tests): Add tst-ftime.
1595
4e8afe69
JM
15962014-09-17 Joseph Myers <joseph@codesourcery.com>
1597
c4fe3ea7
JM
1598 * soft-fp/extended.h: Fix comment formatting.
1599 * soft-fp/op-1.h: Likewise.
1600 * soft-fp/op-2.h: Likewise.
1601 * soft-fp/op-4.h: Likewise.
1602 * soft-fp/op-8.h: Likewise.
1603 * soft-fp/op-common.h: Likewise.
1604 * soft-fp/soft-fp.h: Likewise.
1605
4e8afe69
JM
1606 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1607
af296fcd
JM
16082014-09-16 Joseph Myers <joseph@codesourcery.com>
1609
1610 [BZ #6652]
1611 * Makeconfig (soversions-default-setname): Remove variable.
1612 ($(common-objpfx)soversions.i): Don't pass default_setname to
1613 soversions.awk.
1614 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1615 oldest_abi to abi-versions.awk.
1616 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1617 * config.make.in (oldest-abi): Remove variable.
1618 * configure.ac (--enable-oldest-abi): Remove configure option.
1619 * configure: Regenerated.
1620 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1621 text.
1622 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1623 * scripts/soversions.awk: Do not handle default_setname variable.
1624 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1625 variable.
1626 * sysdeps/mach/hurd/configure: Regenerated.
1627 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1628 variable.
1629 * sysdeps/unix/sysv/linux/configure: Regenerated.
1630
545583d6
SP
16312014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1632
d330b980
SP
1633 * elf/Makefile (CFLAGS-interp.c): Remove.
1634 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1635 path string.
1636 * elf/interp.c: Include generated runtime-linker.h
1637
02657da2
SP
1638 * Makerules (lib%.so): Don't include $(+interp) in
1639 prerequisites.
1640 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1641 * dlfcn/eval.c: Remove file.
1642
653b1080
SP
1643 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1644 macros.
1645
602f80ec
SP
1646 [BZ #17266]
1647 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1648 4.2 and newer.
1649
545583d6
SP
1650 [BZ #17370]
1651 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1652
884ddc50
SP
16532014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1654 Jakub Jelinek <jakub@redhat.com>
1655
1656 [BZ #17266]
1657 * libio/stdio.h: Check definition of __fortify_function
1658 instead of __extern_always_inline to include bits/stdio2.h.
1659 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1660 check if __extern_always_inline is defined.
1661 [__USE_MISC || __USE_XOPEN]: Likewise.
1662 [__USE_ISOC99] Likewise.
1663 * misc/sys/cdefs.h (__fortify_function): Define only if
1664 __extern_always_inline is defined.
1665 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1666 __extern_always_inline and __extern_inline only for g++-4.3
1667 and newer or a compatible gcc.
1668
a7b87268
AS
16692014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1670
1671 [BZ #17371]
1672 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1673 last change to handle zero prefix length.
1674
3f41521d
SP
16752014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1676
61fe374a
SP
1677 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1678 _SC_REGEX_VERSION.
1679
3f41521d
SP
1680 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1681 _POSIX_RAW_SOCKETS.
1682
d8f879ee
AM
16832014-09-13 Allan McRae <allan@archlinux.org>
1684
1685 * po/ru.po: Update Russian translation from translation project.
1686
c079afb7
RM
16872014-09-12 Roland McGrath <roland@hack.frob.com>
1688
a62b3c15
RM
1689 * locale/programs/locale.c (show_locale_vars): Inline local function
1690 into its sole call site. Clean up some style nits.
1691 (print_item): New function, broken out of ...
1692 (show_info): ... local function here. Clean up style nits.
1693
d7e49b19
RM
1694 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1695 out of ...
1696 (set_class_defaults): ... local function set_default here.
1697 Define set_default as a macro locally to pass constant parameters.
1698 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1699 rather than a shared local.
1700
c079afb7
RM
1701 * stdlib/rpmatch.c (try): New function, broken out of ...
1702 (rpmatch): ... local function here. Also, prototypify definition.
1703
0bd72468
JM
17042014-09-12 Joseph Myers <joseph@codesourcery.com>
1705
ba90e050
JM
1706 * scripts/soversions.awk: Do not handle configuration names.
1707 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1708 vendor and os variables to soversions.awk.
1709 * configure.ac: Do not modify gnu-* host_os.
1710 * configure: Regenerated
1711 * shlib-versions: Remove first column with configuration names.
1712 * nptl/shlib-versions: Likewise.
1713 * nptl_db/shlib-versions: Likewise.
1714 * sysdeps/hppa/shlib-versions: Likewise.
1715 * sysdeps/m68k/shlib-versions: Likewise.
1716 * sysdeps/mach/hurd/shlib-versions: Likewise.
1717 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1718 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1719 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1720 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1721 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1722 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1723 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1724 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1726 Likewise.
1727 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1728 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1729 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1730 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1731 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1732 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1734 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1735
73a39112
JM
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1737 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1739 Regenerated.
1740 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1742 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1743
c729e7c1
JM
1744 * shlib-versions: Remove OS-specific entries. Moved to files in
1745 sysdeps.
1746 * sysdeps/mach/hurd/shlib-versions: New file.
1747 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1748
dc932a24
JM
1749 * nptl/shlib-versions: Remove architecture-specific entries.
1750 Moved to files in sysdeps.
1751 * shlib-versions: Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1753 file.
1754 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1755 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1756 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1757 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1758
0bd72468
JM
1759 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1760 (UDP_NO_CHECK6_RX): Likewise.
1761
920238e0
SP
17622014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1763
1764 * sysdeps/posix/sysconf.c (__sysconf): Spell
1765 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1766
ba7b4d29
FW
17672014-08-12 Florian Weimer <fweimer@redhat.com>
1768
1769 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1770 loading.
1771 * iconv/Versions (__gconv_transliterate): Export for use from
1772 gconv modules.
1773 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1774 (struct __gconv_trans_data, __gconv_trans_fct,
1775 __gconv_trans_context_fct, __gconv_trans_query_fct,
1776 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1777 definitions.
1778 (struct __gconv_step_data): Remove __trans member.
1779 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1780 longer hidden. Remove unused trans_data argument.
1781 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1782 (__gconv_translit_find): Remove declaration.
1783 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1784 prototype.
1785 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1786 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1787 trans_data argument. Add hidden definition.
1788 (__gconv_translit_find): Remove.
1789 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1790 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1791 * iconv/skeleton.c: Remove transliteration initialization.
1792 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1793 __gconv_step_data initialization.
1794 * libio/iofwide.c (__libio_translit_): Remove.
1795 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1796 * wcsmbs/btowc.c (__btowc): Likewise.
1797 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1798 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1799 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1800 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1801 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1802 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1803 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1804 * wcsmbs/wctob.c (wctob): Likewise.
1805
5379aebd
SP
18062014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1807
1808 [BZ #16194]
1809 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1810 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1811 register usage.
1812 * sysdeps/x86/Makefile: Adjust.
1813
8c0ab919
RM
18142014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1815 Roland McGrath <roland@hack.frob.com>
1816
1817 * locale/weight.h: Add include guard.
1818 (findidx): Make static rather than auto; take new parameters
1819 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1820 * locale/weightwc.h: Likewise.
1821 * posix/fnmatch_loop.c
1822 (FCT): Change type of EXTRA from int32_t to wint_t.
1823 Don't include either header inside the function.
1824 Call FINDIDX rather than findidx, and pass new arguments.
1825 #undef FINDIDX at the end of the file.
1826 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1827 FINDIDX before including fnmatch_loop.c for the non-wide version.
1828 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1829 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1830 for the wide version.
1831 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1832 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1833 Pass new arguments to findidx.
1834 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1835 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1836 Don't #include it inside the function. Pass new arguments to findidx.
1837 * posix/regex_internal.h
1838 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1839 (re_string_elem_size_at): Don't #include it inside the function.
1840 Pass new arguments to findidx.
1841 * string/strcoll_l.c: #include WEIGHT_H at top level.
1842 (get_next_seq): Don't #include it inside the function.
1843 Pass new arguments to findidx.
1844 (get_next_seq_nocache): Likewise.
1845 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1846 (STRXFRM): Don't #include it inside the function.
1847 Pass new arguments to findidx.
1848
52ffbdf2
FW
18492014-09-11 Florian Weimer <fweimer@redhat.com>
1850
1851 [BZ #17344]
1852 * malloc/malloc.c (unlink): Turn asserts into a call to
1853 malloc_printerr.
1854
984c0ea9
TL
18552014-09-11 Tim Lammens <tim.lammens@gmail.com>
1856
1857 [BZ #17370]
1858 * libio/wfileops (do_ftell_wide): Free OUT.
1859
3daee107
CM
18602014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1861
1862 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1863
58b930ae
SP
18642014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1865
1866 [BZ #17363]
1867 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1868 group if the current group is empty.
1869
3b473fec
AZ
18702014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871
71ae8647
AZ
1872 * benchtests/bench-memset.c (test_main): Add more test from size
1873 from 32 to 512 bytes.
1874 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1875 Add POWER8 memset object.
1876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1877 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1878 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1879 implementation.
1880 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1881 Likewise.
1882 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1883 multiarch POWER8 memset optimization.
1884 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1885 POWER8 memset optimization.
1886
3b473fec
AZ
1887 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1888 Remove bzero multiarch objects.
1889 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1890 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1891 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1892 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1893 Remove define.
1894 [__bzero]: Redefine to specific name.
1895 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1896 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1897 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1898 define.
1899 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1900 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1901
e6fb9587
FW
19022014-09-10 Florian Weimer <fweimer@redhat.com>
1903
1904 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1905 warnings into errors.
1906
1907 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1908 __cxa_thread_atexit_impl prototype.
1909
9d3a350b
SE
19102014-09-09 Steve Ellcey <sellcey@mips.com>
1911
1912 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1913 Fix capitalization of error message.
1914
0febba23
SE
19152014-09-09 Steve Ellcey <sellcey@mips.com>
1916
1917 * sysdeps/mips/preconfigure: Modify ABI tests.
1918
645a0e9c
CD
19192014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1920
1921 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1922
d83f0734
CD
19232014-09-07 Roland McGrath <roland@hack.frob.com>
1924 Carlos O'Donell <carlos@systemhalted.org>
1925
1926 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1927 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1928 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1929 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1930 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1931 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1932 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1933 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1934 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1935 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1936 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1937 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1938 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1939 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1940 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1941 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1942 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1943 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1944 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1945 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1946 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1947 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1948 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1949 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1950 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1951 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1952 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1953 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1954 Deconditionalize the code that was previously under [RESET_PID].
1955 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1956 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1957 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1958 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1959 include sysdep.h.
1960
21c83793
AM
19612014-09-08 Allan McRae <allan@archlinux.org>
1962
1963 * version.h (RELEASE): Set to "development".
1964 (VERSION): Set to "2.20.90"
1965
1cd9b65c
AM
19662014-09-07 Allan McRae <allan@archlinux.org
1967
b8079dd0
AM
1968 * version.h (RELEASE): Set to "stable".
1969 (VERSION): Set to "2.20"
1970 * include/features.h (__GLIBC_MINOR__): Set to 20.
1971
c46303ef
AM
1972 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1973 Liebler.
1974
1cd9b65c
AM
1975 * po/ko.po: Update Korean translation from translation project.
1976
8622092d
CM
19772014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1978
1979 [BZ #17354]
1980 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1981 macro for handling signed relocations.
1982
41488498
FW
19832014-09-03 Florian Weimer <fweimer@redhat.com>
1984
1985 [BZ #17325]
1986 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1987 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1988 assert.
1989 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1990 * iconvdata/ibm935.c (BODY): Likewise.
1991 * iconvdata/ibm937.c (BODY): Likewise.
1992 * iconvdata/ibm939.c (BODY): Likewise.
1993 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1994 assert.
1995 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1996 script.
1997 * iconvdata/run-iconv-test.sh: New test loop for checking for
1998 decoder crashers.
1999
a78b712d
KR
20002014-09-02 Khem Raj <raj.khem@gmail.com>
2001
2002 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2003 libm_hidden_ver.
2004
cb08abc6
AM
20052014-09-01 Allan McRae <allan@archlinux.org>
2006
2c31e102
AM
2007 * po/eo.po: Update Esperanto translation from translation project.
2008
cb08abc6
AM
2009 * po/ca.po: Update Catalan translation from translation project.
2010
17a62de1
ST
20112014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2012
2013 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2014 __proc_dostop call.
2015
9570bc53
MW
20162014-08-27 Mark Wielaard <mjw@redhat.com>
2017
2018 [BZ #17319]
2019 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2020 to call set_thread_area instead of hand written asm.
2021 (__NR_set_thread_area): Removed define.
2022 (TLS_FLAG_WRITABLE): Likewise.
2023 (__ASSUME_SET_THREAD_AREA): Remove check.
2024 (TLS_EBX_ARG): Remove define.
2025 (TLS_LOAD_EBX): Likewise.
2026
b0f955c9
ST
20272014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2028
2029 Simplify atomicity of socket creation in bind.
2030
2031 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2032 looking up the name after linking the file.
2033
529bf515
AM
20342014-08-27 Allan McRae <allan@archlinux.org>
2035
2036 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2037
a1a6a401
FW
20382014-08-26 Florian Weimer <fweimer@redhat.com>
2039
2040 [BZ #17187]
2041 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2042 trans_compare, open_translit, __gconv_translit_find):
2043 Remove module loading code.
2044
686ab290
AM
20452014-08-26 Allan McRae <allan@archlinux.org>
2046
e4e7cfd2
AM
2047 * po/vi.po: Update Vietnamese translation from translation project.
2048
6aa09f71
AM
2049 * po/uk.po: Update Ukrainian translation from translation project.
2050
edc0660e
AM
2051 * po/fr.po: Update French translation from translation project.
2052
7eea72ac
AM
2053 * po/ru.po: Update Russian translation from translation project.
2054
93c49eff
AM
2055 * po/pl.po: Update Polish translation from translation project.
2056
46acaf63
AM
2057 * po/cs.po: Update Czech translation from translation project.
2058
a9f5ce98
AM
2059 * po/de.po: Update German translation from translation project.
2060
373f2b78
AM
2061 * po/bg.po: Update Bulgarian translation from translation project.
2062
e7548bd8
AM
2063 * po/sv.po: Update Sweedish translation from translation project.
2064
c526bf4d
AM
2065 * po/nl.po: Update Dutch translation from translation project.
2066
686ab290
AM
2067 * po/es.po: Update Spanish translation from translation project.
2068
eb72478a
SP
20692014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2070
dd763fdb
SP
2071 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2072
318c7a58
SP
2073 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2074 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2075 (CPPFLAGS-iconvconfig): Likewise.
2076 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2077
eb72478a
SP
2078 * include/libc-symbols.h: Remove unnecessary check for
2079 NOT_IN_libc.
2080 * nptl/pthreadP.h: Likewise.
2081 * sysdeps/aarch64/setjmp.S: Likewise.
2082 * sysdeps/alpha/setjmp.S: Likewise.
2083 * sysdeps/arm/sysdep.h: Likewise.
2084 * sysdeps/i386/setjmp.S: Likewise.
2085 * sysdeps/m68k/setjmp.c: Likewise.
2086 * sysdeps/posix/getcwd.c: Likewise.
2087 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2088 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2089 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2090 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2091 * sysdeps/sh/sh3/setjmp.S: Likewise.
2092 * sysdeps/sh/sh4/setjmp.S: Likewise.
2093 * sysdeps/unix/alpha/sysdep.h: Likewise.
2094 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2095 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2096 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2097 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2102 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2105 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2107 * sysdeps/x86_64/setjmp.S: Likewise.
2108
d44a052c
JM
21092014-08-13 Joseph Myers <joseph@codesourcery.com>
2110
2111 [BZ #17263]
2112 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2113 <stdint.h>.
2114 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2115 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2116
508ce3ac
SP
21172014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2118
e44c8b0e
SP
2119 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2120
508ce3ac
SP
2121 [BZ #17262]
2122 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2123 and __x86_64__ when disabling x87 inline functions.
2124
b4acef1f
L
21252014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 [BZ #17259]
2128 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2129 asm statement with __cpuid_count.
2130
61b1ef6e
MF
21312014-08-12 Mike Frysinger <vapier@gentoo.org>
2132
2133 * configure.ac: Change __ehdr_start code to dereference the struct.
2134 Run readelf on the output to look for relocations.
2135 * configure: Regenerated.
2136
898c62f4
JM
21372014-08-12 Joseph Myers <joseph@codesourcery.com>
2138
2139 [BZ #17261]
2140 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2141 value to 0.
2142 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2143
9a8a5720
RM
21442014-08-12 Roland McGrath <roland@hack.frob.com>
2145
2146 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2147
4e75751c
BO
21482014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2149
2150 [BZ #16892]
2151 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2152 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2153
bb2ce416
SA
21542014-08-12 Sean Anderson <seanga2@gmail.com>
2155
2156 * malloc/malloc.c: Fix typo in comment.
2157
7950a4ee
AM
21582014-08-09 Allan McRae <allan@archlinux.org>
2159
2160 * Regenerate libc.po.
2161
f469c49f
MF
21622014-08-08 Mike Frysinger <vapier@gentoo.org>
2163
2164 * intl/tst-gettext2.sh: Check every lang file for creation.
2165
656b84c2
WD
21662014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2167
2168 * sysdeps/aarch64/fpu/math_private.h
2169 (libc_feholdsetround_noex_aarch64_ctx): New function.
2170
538e9e45
W
21712014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2172
2173 * sysdeps/arm/armv6/strcpy.S (strcpy):
2174 Fix performance issue in misaligned cases.
2175
d4795e4a
AZ
21762014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2179 Move definition from termios.h.
2180 (struct termio): Likewise.
2181 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2182 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2183 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2184 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2185 Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2187 Move definition to ioctl-types.h
2188 (struct termio): Likewise.
2189 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2190 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2191 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2192 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2193 Likewise.
2194
64accb62
RH
21952014-08-05 Richard Henderson <rth@redhat.com>
2196
27bb6dc0
RH
2197 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2198 exceptions.
2199 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2200 Add fraiseexcpt.
2201 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2202 Use __feraiseexcept.
2203 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2204 Protect libm symbols with IS_IN_libm.
2205
64accb62
RH
2206 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2207
e5292691
BO
22082014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2209
2210 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2211
5b4bd2d4
WN
22122014-08-04 Will Newton <will.newton@linaro.org>
2213
2214 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2215 file.
2216
fcadaeef
MF
22172014-08-04 Mike Frysinger <vapier@gentoo.org>
2218
2219 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2220 variants for each function.
2221
43a94c64
RM
22222014-08-04 Roland McGrath <roland@hack.frob.com>
2223
2224 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2225 appended ...
2226 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2227 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2228 appended ...
2229 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2230 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2231 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2232 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2233 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2234 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2235 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2236 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2237 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2238 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2239 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2241 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2242 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2243 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2244 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2245 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2257 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2259 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2261 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2265 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2266 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2267 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2268 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2269 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2270 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2271 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2272 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2273 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2274 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2275 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2276 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2277 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2278 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2279 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2280 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2281 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2282 Update #include.
2283 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2284 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2285
8f3c1fa4
RM
22862014-08-04 Roland McGrath <roland@hack.frob.com>
2287
2288 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2289 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2290 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2291 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2292 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2293 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2294
ca08746f
RM
22952014-08-04 Roland McGrath <roland@hack.frob.com>
2296
2297 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2298 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2299 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2300 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2301
9c925ff9
RM
23022014-08-04 Roland McGrath <roland@hack.frob.com>
2303
2304 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2305 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2306 (__libc_vfork): Define function under this name.
2307 (__vfork): Define as an alias.
2308 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2309 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2310
e641054c
RM
23112014-08-04 Roland McGrath <roland@hack.frob.com>
2312
2313 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2314 that was previously under [RESET_PID].
2315 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2316
dacdc867
AS
23172014-08-04 Andreas Schwab <schwab@suse.de>
2318
2319 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2320
41f725ff
MF
23212014-08-03 Mike Frysinger <vapier@gentoo.org>
2322
2323 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2324 (main): Likewise.
2325
277cfb31
RM
23262014-08-01 Roland McGrath <roland@hack.frob.com>
2327
2328 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2329
4896f049
RH
23302014-08-01 Richard Henderon <rth@redhat.com>
2331
2332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2333 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2334 typo in exact zero test.
2335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2336 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2338
6f64e7d7
RM
23392014-08-01 Roland McGrath <roland@hack.frob.com>
2340
2341 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2342 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2343 * sysdeps/arm/sysdep.h: ... here.
2344 [!__ASSEMBLER__]: Include <stdint.h>.
2345
3f3dd810
SP
23462014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2347
a476ac4b
SP
2348 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2349 (HAVE_WCTYPE_H): Likewise.
2350 (HAVE_ISWCTYPE): Likewise.
2351 (ENABLE_NLS): Likewise.
2352 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2353 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2354
78dd658a
SP
2355 * posix/regex_internal.c: Check if DEBUG is defined and is
2356 set.
2357
3f3dd810
SP
2358 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2359 (HAVE_MBSRTOWCS): Likewise.
2360 * posix/fnmatch.c: Include string.h unconditionally.
2361
95ee7fb1
SL
23622014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2363
2364 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2365 reversal.
2366
23fe486b
RM
23672014-07-31 Roland McGrath <roland@hack.frob.com>
2368
f61a113f
RM
2369 * sysdeps/generic/safe-fatal.h: New file.
2370 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2371 * nptl/forward.c: Include it.
2372 (__pthread_unwind): Use __safe_fatal as default action, rather
2373 than a bogus use of INTERNAL_SYSCALL that could never work.
2374
9fe7e787
RM
2375 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2376 * configure.ac (libc_cv_builtin_trap): New test.
2377 * configure: Regenerated.
2378 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2379 (ABORT_INSTRUCTION): Define using __builtin_trap.
2380
23fe486b
RM
2381 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2382 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2383 * sysdeps/nptl/nptl-signals.h: New file.
2384 * nptl/pthreadP.h: Include <nptl-signals.h>.
2385
f349489e
SL
23862014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2387
2388 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2389 (ONE_DIRECTION): Define.
2390 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2391 (ONE_DIRECTION): Define.
2392 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2393 (ONE_DIRECTION): Define.
2394
2f438e20
SL
23952014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2396
2397 * sysdeps/s390/Makefile: Delete file.
2398 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2399 * sysdeps/s390/__longjmp.c: Delete file.
2400 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2401 Remove fields __flags and __reserved.
2402 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2403 and add versioning.
2404 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2405 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2406 * sysdeps/s390/rtld-setjmp.S: Likewise.
2407 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2408 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2409 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2410 * sysdeps/s390/s390-32/setjmp.S: ... here.
2411 Add versioning.
2412 (__sigsetjmp): Remove setting __flags field.
2413 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2414 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2415 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2416 * sysdeps/s390/s390-64/setjmp.S: ... here.
2417 Add versioning.
2418 (__sigsetjmp): Remove setting __flags field.
2419 * sysdeps/s390/setjmp.S: Delete file.
2420 * sysdeps/s390/sigjmp.c: Likewise.
2421 * sysdeps/s390/v1-longjmp.c: Likewise.
2422 * sysdeps/s390/v1-setjmp.h: Likewise.
2423 * sysdeps/s390/v1-sigjmp.c: Likewise.
2424 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2425 Remove v1-longjmp_chk.
2426 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2427 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2428 Include debug/longjmp_chk.c and add versioning.
2429 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2430 Include nptl/pt-longjmp.c and add versioning.
2431 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2432 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2433 Include __longjmp.c.
2434 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2435 Move to ...
2436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2437 (__getcontext): Remove setting __flags field.
2438 Add versioning.
2439 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2440 Don't restore upper high grps.
2441 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2442 Likewise.
2443 (__swapcontext): Remove setting uc_flags field.
2444 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2445 Delete file.
2446 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2447 Include __longjmp.c.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2449 Move to ...
2450 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2451 (__getcontext): Remove setting __flags field.
2452 Add versioning.
2453 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2454 (__swapcontext): Remove setting uc_flags field.
2455 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2457 Remove fields uc_high_gprs and __reserved.
2458 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2459 New file with reverted content.
2460 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2462 Regenerated.
2463 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2464 Regenerated.
2465
6c9578a2
AS
24662014-07-31 Andreas Schwab <schwab@suse.de>
2467
2468 * config.h.in (HAVE_IFUNC): Define to 0.
2469 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2470 definedness.
2471
05f3633d
LM
24722014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2473
2474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2475 memmove-avx-unaligned, memcpy-avx-unaligned and
2476 mempcpy-avx-unaligned.
2477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2478 Add tests for AVX memcpy functions.
2479 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2480 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2481 memcpy_chk.
2482 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2483 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2484 memmove_chk.
2485 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2486 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2487 mempcpy_chk.
2488 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2489 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2490 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2491
a53fbd8e
AZ
24922013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493
2494 [BZ #17213]
2495 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2496 powerpc64le.
2497
0961f7e1
JL
24982014-07-29 Jeff Layton <jlayton@poochiereds.net>
2499
2500 [BZ #16839]
2501 * manual/llio.texi: Add section about open file description locks.
2502 * manual/examples/ofdlocks.c: Example of open file description
2503 lock usage.
2504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2505 F_OFD_SETLK, and F_OFD_SETLKW.
2506
cc5fb300
AM
25072014-07-23 Allan McRae <allan@archlinux.org>
2508
2509 * po/es.po: Update Spanish translation from translation project.
2510
23329dca
AS
25112014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2512
2513 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2514
9c82da17
MR
25152014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2516
2517 [BZ #17078]
2518 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2519 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2520 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2521
29c4f53e
JM
25222014-07-17 Joseph Myers <joseph@codesourcery.com>
2523
831b9896
JM
2524 [BZ #17088]
2525 * math/fesetenv.c (__fesetenv)
2526 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2527 * math/feupdateenv.c (__feupdateenv)
2528 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2529
b21c2d50
JM
2530 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2531 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2532 (__ASSUME_SOCKETCALL): Do not define.
2533
067764ef
JM
2534 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2535 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2536 (__ASSUME_SOCKETCALL): Do not define.
2537 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2538 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2539 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2540 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2541 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2542 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2543 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2544 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2545
642530c1
JM
2546 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2547 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2548 (__ASSUME_SOCKETCALL): Do not define.
2549 (__ASSUME_IPC64): Define unconditionally.
2550 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2551 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2552 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2553 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2554 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2555 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2556 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2557 Likewise.
2558
03f77315
JM
2559 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2560 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2561 (__ASSUME_SOCKETCALL): Do not define.
2562 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2563 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2564 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2565 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2566 (__ASSUME_REQUEUE_PI): Define unconditionally.
2567 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2568 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2569 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2570 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2571 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2572 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2573
083b1f7c
JM
2574 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2575 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2576 (__ASSUME_SOCKETCALL): Do not define.
2577 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2578 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2579 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2580 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2581 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2582 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2583
5be44ea6
JM
2584 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2585 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2586 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2587 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2588 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2589 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2590 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2591 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2592 (__ASSUME_GETCPU_SYSCALL): Likewise.
2593
d95ffd4c
JM
2594 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2595 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2596 cases for individual architectures.
2597 * sysdeps/gnu/configure: Regenerated.
2598 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2599 LIBC_SLIBDIR_RTLDDIR.
2600 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2601 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2602 LIBC_SLIBDIR_RTLDDIR.
2603 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2605 LIBC_SLIBDIR_RTLDDIR.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2607 Regenerated.
2608 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2609 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2610 file.
2611 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2612 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2613 file.
2614 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2615 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2616 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2617 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2618
29c4f53e
JM
2619 * sysdeps/aarch64/shlib-versions: Move to ...
2620 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2621 * sysdeps/alpha/shlib-versions: Move to ...
2622 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2623 * sysdeps/arm/shlib-versions: Move to ...
2624 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2625 * sysdeps/hppa/shlib-versions: Move all contents except for
2626 libgcc_s entry to ...
2627 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2628 entry from ...
2629 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2630 * sysdeps/ia64/shlib-versions: Move to ...
2631 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2632 entry from ...
2633 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2634 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2635 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2636 * sysdeps/microblaze/shlib-versions: Move to ...
2637 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2638 * sysdeps/mips/shlib-versions: Move to ...
2639 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2640 entry from ...
2641 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2642 * sysdeps/tile/shlib-versions: Move to ...
2643 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2644 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2645 from ...
2646 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2647 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2648 entry from ...
2649 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2650
32bead5b
WN
26512014-07-17 Will Newton <will.newton@linaro.org>
2652
57977c4b
WN
2653 * sysdeps/arm/bits/atomic.h
2654 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2655 (__arch_compare_and_exchange_bool_16_int): Likewise.
2656 (__arch_compare_and_exchange_bool_64_int): Likewise.
2657
32bead5b
WN
2658 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2659 into an #else block.
2660
37fccd41
RM
26612014-07-16 Roland McGrath <roland@hack.frob.com>
2662
2663 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2664 just Linux configurations. Test empirically that the compiler sets
2665 __ARM_EABI__, rather than using the tuple to decide.
2666 * sysdeps/arm/preconfigure: Regenerated.
2667 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2668 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2669 contents appended ...
2670 * sysdeps/arm/configure.ac: ... here.
2671 * sysdeps/arm/configure: Regenerated.
2672
b365f3ec
RM
26732014-07-15 Roland McGrath <roland@hack.frob.com>
2674
8badf496
RM
2675 * nptl/pthread_kill.c: New file.
2676 * nptl/pthread_sigmask.c: New file.
2677 * nptl/pthread_sigqueue.c: New file.
2678
3df6f22e
RM
2679 * sysdeps/nptl/lowlevellock.h: New file.
2680 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2681 * sysdeps/nptl/lowlevellock-futex.h: New file.
2682
b365f3ec
RM
2683 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2684 Remove dead declarations.
2685
f2fef657
L
26862014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2687
2688 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2689 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2690 config-cflags-avx2.
2691 * sysdeps/x86_64/configure.ac: Likewise.
2692 * sysdeps/i386/configure: Regenerated.
2693 * sysdeps/x86_64/configure: Likewise.
2694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2695 memset-avx2 only if config-cflags-avx2 is yes.
2696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2697 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2698 defined.
2699 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2700 only if HAVE_AVX2_SUPPORT is defined.
2701 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2702
f6c44d47
AM
27032014-07-14 Alan Modra <amodra@gmail.com>
2704
2705 [BZ #17153]
2706 * elf/elf.h (DT_PPC64_NUM): Correct value.
2707 * NEWS: Add to fixed bug list.
2708
7ee03f00
JM
27092014-07-13 Jim Meyering <meyering@fb.com>
2710
2711 [BZ 17150]
2712 regex: don't deref NULL upon heap allocation failure
2713 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2714 failure in one more place.
2715 To trigger the segfault, configure grep -with-included-regex,
2716 build it, and run these commands:
2717 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2718
9d39d517
AS
27192014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2720
2721 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2722
a75b89b7
RH
27232014-07-11 Richard Henderson <rth@redhat.com>
2724
2725 * sysdeps/aarch64/libm-test-ulps: Update.
2726
771eb141
FW
27272014-07-10 Florian Weimer <fweimer@redhat.com>
2728
2729 [BZ #17135]
2730 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2731 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2732 (__nptl_setxid): Initialize error member. Call
2733 __nptl_setxid_error.
2734 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2735 * nptl/descr.h (struct xid_command): Add error member.
2736 * nptl/tst-setuid3.c: New file.
2737 * nptl/Makefile (tests): Add it.
2738
bc1da176
AZ
27392014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740
2741 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2742 New define.
2743 (__lll_trylock): Use __lll_base_trylock.
2744 (__lll_cond_trylock): Likewise.
2745
887865fc
RM
27462014-07-10 Roland McGrath <roland@hack.frob.com>
2747
c0c6bac9
RM
2748 * nptl/pthread_create.c (start_thread): Use atomic_or and
2749 lll_futex_wake directly rather than lll_robust_dead.
2750 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2751 (lll_robust_dead): Macro removed.
6a42be57 2752 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2753 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2754 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2755 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2756 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2757 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2758 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2759 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2760 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2761 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2762 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2763 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2765 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2766 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2767
887865fc
RM
2768 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2769 Use atomic_compare_and_exchange_val_acq directly rather than
2770 lll_robust_trylock.
2771 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2772 (__lll_robust_trylock, lll_robust_trylock): Removed.
2773 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2774 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2775 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2776 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2777 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2778 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2779 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2780 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2782 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2783 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2784 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2785 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2786 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2787
58536726
FW
27882014-07-02 Florian Weimer <fweimer@redhat.com>
2789
2790 * manual/locale.texi (Locale Names): New section documenting
2791 locale name syntax. Adjust menu and node chaining accordingly.
2792 (Choosing Locale): Reference Locale Names, Locale Categories.
2793 Mention setting LC_ALL=C. Reflect that name syntax is now
2794 documented.
2795 (Locale Categories): New section title. Reference Locale Names.
2796 LC_ALL is an environment variable, but not a category.
2797 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2798 description, now in Locale Name. Reference that section. Locale
2799 name syntax is now documented.
2800
4e8f95a0
FW
28012014-07-02 Florian Weimer <fweimer@redhat.com>
2802
2803 [BZ #17137]
2804 * locale/findlocale.c (name_present, valid_locale_name): New
2805 functions.
2806 (_nl_find_locale): Use the loc_name variable to store name
2807 candidates. Call name_present and valid_locale_name to check and
2808 validate locale names. Return an error if the locale is invalid.
2809
d1836456
FW
28102014-07-02 Florian Weimer <fweimer@redhat.com>
2811
2812 * locale/setlocale.c (setlocale): Use strdup for allocating
2813 composite name copy.
2814
d69b7f5a
SP
28152014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2816
888c679b
SP
2817 Sync up with gnulib.
2818 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2819 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2820 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2821 and _GL_ARG_NONNULL.
2822 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2823 [!_LIBC]: Include code for Windows and Cygwin.
2824 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2825 Include prototype for int strerror_r.
2826 [!_LIBC] (is_open): New function.
2827 (flush_stdout): New function.
2828 (print_errno_message): Use it.
2829 (error): Likewise.
2830 (error_at_line): Likewise.
2831 (error_tail) Add function attribute macros. Use
2832 __builtin_expect.
2833
180e0e4b
SP
2834 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2835
d22f1fe2
SP
2836 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2837
12f2254b
SP
2838 * io/ftw.c: Include sys/param.h unconditionally.
2839
c3c7c360
SP
2840 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2841
d62aa75a
SP
2842 [BZ #17125]
2843 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2844 libc_freeres_ptr.
2845 (freecache): New function to free CACHE on exit.
2846
d69b7f5a
SP
2847 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2848 initialization.
2849
5efe06a1
DM
28502014-07-09 David S. Miller <davem@davemloft.net>
2851
2852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2853
7000d82e
DM
2854 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2855 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2856 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2857 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2858 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2859 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2860 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2861 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2862 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2863 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2864 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2865 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2866 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2867
c213442d
AS
28682014-07-09 Andreas Schwab <schwab@suse.de>
2869
4a2552c3
AS
2870 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2871 output.
2872 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2873 (do_test): Likewise.
2874
c213442d
AS
2875 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2876
82374e65
WN
28772014-07-09 Will Newton <will.newton@linaro.org>
2878
2879 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2880 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2881 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2882 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2883 * sysdeps/hppa/start.S (_start): Likewise.
2884
6680738a
SP
28852014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2886
6ee3eab4
SP
2887 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2888
6680738a
SP
2889 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2890 defined.
2891
80b5c505
SP
28922014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2893
e35c53e3
SP
2894 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2895 after checking that it is non-NULL.
2896
80b5c505
SP
2897 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2898
91f4b564
AZ
28992014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2900
27b75f56
AZ
2901 * sysdeps/powerpc/memmove.c: Remove file.
2902 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2903 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2904 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2905 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2906 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2907 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2908 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2909 string memmove instead of removed powerpc one.
2910
e7f95bb5
AZ
2911 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2912 [weak_alias]: Fix compiler warning due trailing data.
2913 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2914 [weak_alias]: Likewise.
2915 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2916 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2917
91f4b564
AZ
2918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2919 (__libc_ifunc_impl_list): Add memmove functions.
2920
7c33f1e5
SP
29212014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2922
2923 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2924 Remove code.
2925 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2926 Likewise
2927 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2928 Likewise
2929 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2930 Likewise
2931 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2932 Likewise
2933 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2934 Likewise
2935 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2936 Likewise
2937 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2938 Likewise
2939 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2940 Likewise
2941 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2942 Likewise
2943 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2944 Likewise
2945 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2946 Likewise
2947 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2948 Likewise
2949 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2950 Likewise
2951 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2952 Likewise
2953 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2954 Likewise
2955 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2956 Likewise
2957
3f17b03b
AZ
29582014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959
87868c24
AZ
2960 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2961 to avoid alignment traps in non-cacheable memory.
2962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2963
07aedd78
AZ
2964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2965 multiarch objects.
2966 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2967 file: multiarch power7 memmove.
2968 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2969 multiarch default memmove.
2970 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2971 multiarch memove for powerpc32/power4.
2972
17762f66
AZ
2973 * string/bcopy.c: Use full path to include memmove.c.
2974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2975 multiarch objects.
2976 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2977 bcopy for powerpc64.
2978 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2979 bcopy for powerpc64.
2980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2981 and memmove implementations.
2982 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2983 optimized multiarch memmove for POWER7/powerpc64.
2984 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2985 default multiarch memmove for powerpc64.
2986 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2987 multiarch for powerpc64.
2988 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2989 for POWER7/powerpc64.
2990 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2991 memmove for POWER7/powerpc64.
2992
d6f68bbe
AZ
2993 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2994 glibc default one.
2995
3f17b03b
AZ
2996 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2997 __ELF_NATIVE_CLASS equal to 64.
2998
08192659
RM
29992014-07-07 Roland McGrath <roland@hack.frob.com>
3000
f4c4021b
RM
3001 * sysdeps/nptl/lowlevellock.h: File removed.
3002
f083450f
RM
3003 * NEWS: NPTL is no longer an add-on!
3004 * nptl/internaltypes.h: Moved ...
3005 * sysdeps/nptl/internaltypes.h: ... here.
3006 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3007 * sysdeps/nptl/fork.c: Likewise.
3008 * sysdeps/nptl/gai_misc.h: Likewise.
3009 * sysdeps/nptl/librt-cancellation.c: Likewise.
3010 * sysdeps/nptl/jmp-unwind.c: Likewise.
3011 * sysdeps/nptl/setxid.h: Likewise.
3012 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3013 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3014 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3015 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3016 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3017 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3018 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3019 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3020 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3021 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3022 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3023 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3024 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3025 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3026 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3027 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3028 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3029 * nptl/Makeconfig: Moved ...
3030 * sysdeps/nptl/Makeconfig: ... here.
3031 * nptl/configure: File removed.
3032 * nptl/ANNOUNCE: File removed.
3033 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3034 * sysdeps/unix/sysv/linux/configure: Regenerated.
3035
08192659
RM
3036 * nptl/Makefile (routines): Add libc_pthread_init,
3037 libc_multiple_threads, register-atfork and unregister-atfork.
3038 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3039 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3040 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3041 pthread-pi-defines.sym, structsem.sym.
3042 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3043 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3044 [$(subdir) = nptl] (tests): Add tst-setgetname.
3045 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3046 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3047 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3048 [!LIBC_SIGACTION]: Remove aliases.
3049 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3050 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3051 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3052 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3053 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3054 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3057 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3058 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3059 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3060 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3061 __libc_allocate_rtsig_private.
3062 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3063 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3064 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3065 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3066 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3067 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3068 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3069 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3070 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3071 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3072 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3073 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3074 * nptl/internaltypes.h: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3076 * sysdeps/nptl/jmp-unwind.c: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3078 * nptl/libc-lowlevellock.c: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3080 * nptl/libc_multiple_threads.c: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3082 * nptl/libc_pthread_init.c: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3084 * nptl/lowlevelbarrier.sym: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3086 * nptl/lowlevelcond.sym: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3088 * nptl/lowlevellock.c: ... here.
3089 * nptl/lowlevellock.h: Moved ...
3090 * sysdeps/nptl/lowlevellock.h: ... here.
3091 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3092 * nptl/lowlevelrobustlock.c: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3094 * nptl/lowlevelrobustlock.sym: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3096 * nptl/lowlevelrwlock.sym: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3098 * nptl/pt-fork.c: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3100 * nptl/pthread-pi-defines.sym: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3102 * nptl/pthread_attr_getaffinity.c: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3104 * nptl/pthread_attr_setaffinity.c: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3106 * nptl/pthread_mutex_cond_lock.c: ... here.
3107 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3108 Update #include.
3109 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3110 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3111 * nptl/pthread_once.c: ... here, replacing old file.
3112 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3113 * nptl/pthread_yield.c: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3115 * nptl/register-atfork.c: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3117 * nptl/sem_post.c: ... here.
3118 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3119 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3120 * nptl/sem_timedwait.c: ... here.
3121 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3122 * nptl/sem_trywait.c: ... here.
3123 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3124 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3125 * nptl/sem_wait.c: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3127 * nptl/structsem.sym: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3129 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3130 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3131 * nptl/unregister-atfork.c: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3133 * nptl/unwindbuf.sym: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3135 * sysdeps/nptl/fork.c: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3137 * sysdeps/nptl/fork.h: ... here.
3138 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3139 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3140 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3141 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3142 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3143 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3144 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3145 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3146 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3148 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3149 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3150 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3151 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3152 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3153 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3154 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3155 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3156 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3157 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3158 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3160 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3161 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3162 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3163 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3164 * sysdeps/unix/sysv/linux/raise.c: ... here.
3165 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3166 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3168 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3169 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3170 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3171 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3172 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3174 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3176 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3178 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3179 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3180
96baf6ff
SP
31812014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3182
3183 * sysdeps/generic/memcopy.h: Add comment for
3184 MEMCPY_OK_FOR_FWD_MEMMOVE.
3185
6b7b14b2
WN
31862014-07-04 Will Newton <will.newton@linaro.org>
3187
1570a72b
WN
3188 * string/memchr.c: Merge from gnulib.
3189 [_LIBC]: Remove conditionals.
3190 (__ptr_t): Remove define.
3191 (LONG_MAX_32_BITS): Likewise.
3192 (LONG_MAX): Likewise.
3193 (MEMCHR): Use ANSI prototype and optimize algorithm.
3194
6b7b14b2
WN
3195 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3196
38851324
SP
31972014-07-03 Roland McGrath <roland@hack.frob.com>
3198
3d9eb57c
RM
3199 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3200 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3201
78b984ae
RM
3202 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3203 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3204 in a bare environment with no <stdlib.h> installed.
3205 * sysdeps/nptl/configure: Regenerated.
3206
2d5976a5
RM
3207 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3208
c1f5acd4
RM
3209 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3210 AC_EGREP_CPP for kernel header checks, so they only succeed if
3211 including <linux/version.h> actually works right.
3212 * sysdeps/unix/sysv/linux/configure: Regenerated.
3213
4d614fe5
RM
3214 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3215 value so it's not diagnosed as unused.
3216
38851324
SP
3217 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3218 thing) with "ifeq ($(subdir),rt)".
3219
b3ec00e5
RH
32202014-07-03 Richard Henderson <rth@redhat.com>
3221
69862e25
RH
3222 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3223 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3224 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3225
d5e16ade
RH
3226 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3227 (math_force_eval): New.
3228
ca7b945c
RH
3229 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3230 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3231
cd1175a3
RH
3232 * sysdeps/alpha/fpu/s_round.c: Remove file.
3233 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3234
b3ec00e5
RH
3235 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3236 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3237 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3238 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3239 (_dl_start, print_statistics): Likewise.
3240 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3241 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3242
3243 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3244 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3245 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3246 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3247 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3248 (HP_SMALL_TIMING_AVAIL): Define.
3249 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3250 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3251 (HP_SMALL_TIMING_AVAIL): Define.
3252 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3253 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3254
3255 * sysdeps/aarch64/hp-timing.h: New file.
3256
3257 * sysdeps/generic/hp-timing.h: Remove dead comment.
3258 * sysdeps/generic/hp-timing-common.h: New file.
3259 * sysdeps/alpha/hp-timing.h: Include it.
3260 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3261 * sysdeps/i386/i686/hp-timing.h: Likewise.
3262 * sysdeps/ia64/hp-timing.h: Likewise.
3263 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3264 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3265 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3266 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3267 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3268 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3269 (hp_timing_t): New.
3270
3271 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3272 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3273 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3274 * elf/rtld.c (_dl_start_final): Likewise.
3275 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3276 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3277 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3278 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3279 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3281 (HP_TIMING_DIFF_INIT): Remove.
3282 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3283 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3284 (HP_TIMING_DIFF_INIT): Remove.
3285 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3286 * sysdeps/i386/i686/hp-timing.c: Remove file.
3287 * sysdeps/x86_64/hp-timing.c: Remove file.
3288 * sysdeps/ia64/hp-timing.c: Remove file.
3289 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3290 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3291 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3292 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3293
3294 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3295 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3296 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3297 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3299 (HP_TIMING_ACCUM): Remove.
3300 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3302 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3303
3304 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3305 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3306 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3307 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3308 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3309 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3310 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3311 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3312
3313 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3314
225f410f
MR
33152014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3316
3317 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3318
3247f285
SP
33192014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3320
3321 Sync up with gettext.
3322 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3323 [_MSC_VER]: Include malloc.h
3324 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3325 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3326 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3327 TEMP_FAILURE_RETRY. Cast return of alloca.
3328 [!_LIBC] Call gl_rwlock_init.
3329 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3330
d12704c7
SP
33312014-07-02 Roland McGrath <roland@hack.frob.com>
3332
3333 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3334 before checking its value.
3335
99f8dc92
SP
33362014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3337
05fdac77
SP
3338 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3339
99f8dc92
SP
3340 * debug/memcpy_chk.c: Don't include pagecopy.h.
3341 * debug/mempcpy_chk.c: Likewise.
3342 * string/memcpy.c: Likewise.
3343 * string/memmove.c: Likewise.
3344 * sysdeps/powerpc/memmove.c: Likewise.
3345 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3346 definition of PAGE_COPY_FWD_MAYBE here...
3347 * sysdeps/generic/pagecopy.h: ... from here.
3348 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3349
bc8ea385
VR
33502014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3351 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352
3353 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3355 optimizations.
3356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3357 (__libc_ifunc_impl_list): Likewise.
3358 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3359 multiarch strcat for PPC64.
3360 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3361 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3362
fe5f34e4
RM
33632014-07-02 Roland McGrath <roland@hack.frob.com>
3364
3365 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3366
256aa665
SP
33672014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3368
d4eb8195
SP
3369 * intl/loadmsgcat.c: Remove declaration of
3370 get_sysdep_segment_value.
3371 (get_sysdep_segment_value): Use ISO C style.
3372 (_nl_load_domain): Use ISO C style. Get rid of redundant
3373 semicolon. Fix typo and formatting in comment.
3374 (_nl_unload_domain): Use ISO C style.
3375
256aa665
SP
3376 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3377
b100f9aa
WN
33782014-07-02 Will Newton <will.newton@linaro.org>
3379
3380 * malloc/obstack.c: Merge from gnulib master.
3381 [HAVE_CONFIG_H]: Remove conditional code.
3382 [!_LIBC]: Include config.h.
3383 [!ELIDE_CODE]: Don't include inttypes.h, include
3384 stdint.h unconditionally.
3385 (print_and_abort): Mark as _Noreturn.
3386 (_obstack_allocated_p): Mark as __attribute_pure__.
3387 (obstack_free): Rename to __obstack_free.
3388 [!__attribute__]: Remove conditional code.
3389 * malloc/obstack.h: Merge from gnulib master.
3390 [__cplusplus]: Move conditional down.
3391 [!__attribute_pure__]: Define __attribute_pure__ here
3392 if it is not already defined.
3393 (_obstack_memory_used): Mark as __attribute_pure__.
3394 [!__obstack_free]: Define as obstack_free.
3395 [__GNUC__]: Remove check for ancient NeXT gcc.
3396
c4c41244
PE
33972014-07-02 Will Newton <will.newton@linaro.org>
3398 Paul Eggert <eggert@cs.ucla.edu>
3399
3400 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3401
e1e041c4
SP
34022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3403
3404 * resolv/gethnamaddr.c: Add comment warning that the file is
3405 not maintained.
3406
ccf431ff
CD
34072014-07-01 Carlos O'Donell <carlos@redhat.com>
3408
d34570a6
CD
3409 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3410 entries.
3411
ccf431ff
CD
3412 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3413 entry for aio_cancel and aio_cancel64.
3414 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3415 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3416 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3417 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3418 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3419 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3420 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3421 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3422 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3423 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3424 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3425 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3426 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3427
ca06321d
RM
34282014-07-01 Roland McGrath <roland@hack.frob.com>
3429
3430 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3431 * nptl/pthread_mutex_lock.c: Likewise.
3432 * nptl/pthread_mutex_timedlock.c: Likewise.
3433 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3434
a1ac3184
RH
34352014-07-01 Richard henderson <rth@redhat.com>
3436
631021e0
RH
3437 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3438 (__isnan, __isnanl): Remove.
3439 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3440
a1ac3184
RH
3441 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3442
0c1d731f
SL
34432014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3444
3445 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3446
76985d3e
SP
34472014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3448
3449 * resolv/nss_dns/dns-host.c (getanswer_r)
3450 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3451
b0cb3096
JM
34522014-07-01 Joseph Myers <joseph@codesourcery.com>
3453
3454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3455 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3456 undefine.
3457 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3458 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3459
4d76cb39
RM
34602014-07-01 Roland McGrath <roland@hack.frob.com>
3461
3462 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3463 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3464
3465 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3466 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3467
3468 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3469 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3470 ... here.
3471 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3472 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3473
3474 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3475 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3476 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3477 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3478
3479 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3480 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3481 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3482 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3484 Moved ...
3485 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3486 ... here.
3487 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3488 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3489 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3490 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3491 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3492 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3493 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3494 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3495 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3496 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3498 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3499 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3500 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3501 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3502 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3503 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3504 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3506 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3507 ... here.
3508 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3509 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3510 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3511 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3512 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3513 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3514 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3515 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3516
0cdcad17
DH
35172014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3518
3519 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3520 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3521 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3522 Add sysdep.
3523
9b71d0e3
AZ
35242014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3527
665390c2
JM
35282014-06-30 Joseph Myers <joseph@codesourcery.com>
3529
ae05a9d7
JM
3530 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3531 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3532
a7672a2f
JM
3533 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3534
665390c2
JM
3535 * sysdeps/arm/libm-test-ulps: Regenerated.
3536
d7a05d07
MR
35372014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3538 Roland McGrath <roland@hack.frob.com>
3539
3540 * test-skeleton.c (signal_handler): Kill the whole process group
3541 before killing the child individually.
3542 (main): Report any failure on `setpgid'.
3543
46f1d8a6
RM
35442014-06-30 Roland McGrath <roland@hack.frob.com>
3545
3546 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3547 from _TLS_H to _ARM_NPTL_TLS_H.
3548 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3549 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3550
9c37ec0b
JM
35512014-06-30 Joseph Myers <joseph@codesourcery.com>
3552
ce9c5b3e
JM
3553 [BZ #16539]
3554 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3555 (__expm1l): Return argument unchanged when small but not
3556 subnormal.
3557
3a6e9887
JM
3558 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3559 include macro name.
3560 (_FP_UNPACK_RAW_1_P): Likewise.
3561 (_FP_PACK_RAW_1): Likewise.
3562 (_FP_PACK_RAW_1_P): Likewise.
3563 (_FP_MUL_MEAT_1_wide): Likewise.
3564 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3565 (_FP_MUL_MEAT_1_hard): Likewise.
3566 (_FP_DIV_MEAT_1_imm): Likewise.
3567 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3568 (_FP_DIV_MEAT_1_udiv): Likewise.
3569 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3570 (_FP_UNPACK_RAW_2): Likewise.
3571 (_FP_UNPACK_RAW_2_P): Likewise.
3572 (_FP_PACK_RAW_2): Likewise.
3573 (_FP_PACK_RAW_2_P): Likewise.
3574 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3575 (_FP_MUL_MEAT_2_wide): Likewise.
3576 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3577 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3578 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3579 (_FP_MUL_MEAT_2_gmp): Likewise.
3580 (_FP_DIV_MEAT_2_udiv): Likewise.
3581 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3582 (_FP_FRAC_SRL_4): Likewise.
3583 (_FP_FRAC_SRST_4): Likewise.
3584 (_FP_FRAC_SRS_4): Likewise.
3585 (_FP_UNPACK_RAW_4): Likewise.
3586 (_FP_UNPACK_RAW_4_P): Likewise.
3587 (_FP_PACK_RAW_4): Likewise.
3588 (_FP_PACK_RAW_4_P): Likewise.
3589 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3590 (_FP_MUL_MEAT_4_wide): Likewise.
3591 (_FP_MUL_MEAT_4_gmp): Likewise.
3592 (umul_ppppmnnn): Likewise.
3593 (_FP_DIV_MEAT_4_udiv): Likewise.
3594 (__FP_FRAC_ADD_4): Likewise.
3595 (__FP_FRAC_SUB_3): Likewise.
3596 (__FP_FRAC_SUB_4): Likewise.
3597 (__FP_FRAC_DEC_3): Likewise.
3598 (__FP_FRAC_DEC_4): Likewise.
3599 (__FP_FRAC_ADDI_4): Likewise.
3600 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3601 (_FP_FRAC_SRL_8): Likewise.
3602 (_FP_FRAC_SRS_8): Likewise.
3603
9c37ec0b
JM
3604 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3605 include macro name.
3606 (FP_UNPACK_RAW_EP): Likewise.
3607 (FP_PACK_RAW_E): Likewise.
3608 (FP_PACK_RAW_EP): Likewise.
3609 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3610 (_FP_ISSIGNAN): Likewise.
3611 (_FP_ADD_INTERNAL): Likewise.
3612 (_FP_FMA): Likewise.
3613 (_FP_CMP): Likewise.
3614 (_FP_SQRT): Likewise.
3615 (_FP_TO_INT): Likewise.
3616 (_FP_FROM_INT): Likewise.
3617 (FP_EXTEND): Likewise.
3618 (_FP_DIV_MEAT_N_loop): Likewise.
3619
2125f674
MR
36202014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3621
3622 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3623 throughout.
3624
edea4028
JM
36252014-06-29 Joseph Myers <joseph@codesourcery.com>
3626
3627 [BZ #17097]
3628 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3629 result with correct sign in case of exponents that produce
3630 overflow except for X very close to 1.
3631
dd0ba018
PE
36322014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3633
3634 mktime: merge #if/#ifdef usage from glibc
3635 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3636 as that works with both Glibc's and Gnulib's style.
3637 See thread starting at Siddhesh Poyarekar's bug report at:
3638 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3639
64df73c2
SP
36402014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3641
3642 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3643 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3644 * sysdeps/tile/tilegx/memmove.c: Remove file.
3645
f1eafb41
JM
36462014-06-27 Joseph Myers <joseph@codesourcery.com>
3647
3648 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3649 abi-name definition.
3650 * scripts/soversions.awk: Do not handle or generate ABI lines.
3651 * shlib-versions: Remove ABI entries.
3652 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3653 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3654
58eb0862
RM
36552014-06-27 Roland McGrath <roland@hack.frob.com>
3656
37caf178
RM
3657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3658 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3659 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3660 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3661 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3662 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3663 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3664 Moved ...
3665 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3666 ... here.
3667 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3668 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3670 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3674 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3675 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3676 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3678 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3680 Moved ...
3681 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3685 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3687 Moved ...
3688 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3690 Moved ...
3691 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3692 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3693 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3695 Moved ...
3696 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3697 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3698 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3700 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3702 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3704 Moved ...
3705 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3707 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3709 Moved ...
3710 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3711 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3712 Moved ...
3713 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3715 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3717 Moved ...
3718 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3719 ... here.
3720 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3721 Identical file removed.
3722 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3723 Moved ...
3724 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3725 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3726 Identical file removed.
3727 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3728 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3729 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3730 Moved ...
3731 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3732 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3733 Identical file removed.
3734 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3735 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3736 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3737 Identical file removed.
3738 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3739 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3740 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3741 Identical file removed.
3742 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3743 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3744 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3745 Identical file removed.
3746 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3747 Moved ...
3748 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3750 Identical file removed.
3751 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3752 Moved ...
3753 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3757 Identical file removed.
3758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3759 Moved ...
3760 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3761 ... here.
3762 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3763 Identical file removed.
3764 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3765 Moved ...
3766 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3767 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3768 Identical file removed.
3769 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3770 Moved ...
3771 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3772 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3773 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3774 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3775 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3776 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3777 Moved ...
3778 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3779 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3780 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3781
58eb0862
RM
3782 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3783 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3784 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3785 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3786 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3787
6f12d062
AS
37882014-06-27 Arjun Shankar <arjun.is@lostca.se>
3789
3790 [BZ #17092]
3791 * nscd/nscd.c (monitor_child): Return exit status of child
3792 instead of return value from wait syscall.
3793
be254932
JM
37942014-06-27 Joseph Myers <joseph@codesourcery.com>
3795
cb403c34
JM
3796 * configure.ac (libc_commonpagesize): Remove variable.
3797 (libc_relro_required): Likewise.
3798 (libc_cv_z_relro): Remove configure test.
3799 * configure: Regenerated.
3800 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3801 variable.
3802 (libc_relro_required): Likewise.
3803 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3804 (libc_relro_required): Likewise.
3805 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3806 (libc_relro_required): Likewise.
3807 * sysdeps/arm/preconfigure: Regenerated.
3808 * sysdeps/ia64/preconfigure: Remove file.
3809 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3810 variable.
3811 (libc_relro_required): Likewise.
3812
be254932
JM
3813 [BZ #16561]
3814 [BZ #16562]
3815 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3816 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3817 recompute overflowing results in original rounding mode.
3818 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3819 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3820 recompute overflowing results in original rounding mode.
3821 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3822 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3823 recompute overflowing results in original rounding mode.
3824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3825 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3826 recompute overflowing results in original rounding mode.
3827 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3828 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3829 recompute overflowing results in original rounding mode.
3830 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3831 (libc_feholdsetround_ctx): New macro.
3832 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3833 * sysdeps/i386/fpu/libm-test-ulps: Update.
3834 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3835
b351d85a
JM
38362014-06-26 Joseph Myers <joseph@codesourcery.com>
3837
3838 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3839 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3840 corresponding .cpsetup call.
3841
3cb4de47
RM
38422014-06-26 Roland McGrath <roland@hack.frob.com>
3843
3844 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3845 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3846 * sysdeps/arm/Makefile [$(subdir) = csu]
3847 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3848 (static-only-routines): Add aeabi_read_tp here.
3849 (shared-only-routines): Add libc-aeabi_read_tp here.
3850 (CFLAGS-libc-start.c): Add -fexceptions here.
3851 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3852 (sysdep_routines, static-only-routines, shared-only-routines):
3853 Don't add to these here.
3854 (CFLAGS-libc-start.c): Likewise.
3855
3856 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3857 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3858 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3859 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3860 * sysdeps/arm/Makefile [$(subdir) = rt]
3861 (librt-sysdep_routines, librt-shared-only-routines):
3862 Append rt-aeabi_unwind_cpp_pr1 here.
3863 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3864 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3865 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3866 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3867 Append nptl-aeabi_unwind_cpp_pr1 here.
3868 (tests): Filter out tst-cleanupx4 here.
3869 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3870 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3871 Don't do those here.
3872
354426bb
JM
38732014-06-26 Joseph Myers <joseph@codesourcery.com>
3874
3875 * scripts/list-sources.sh: Do not handle ports specially.
3876
28b0a8c9
RM
38772014-06-26 Roland McGrath <roland@hack.frob.com>
3878
a3dd035d
RM
3879 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3880 * sysdeps/arm/feupdateenv.c: Likewise.
3881
28b0a8c9
RM
3882 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3883
e66a8203
JM
38842014-06-26 Joseph Myers <joseph@codesourcery.com>
3885
3886 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3887 trailing whitespace removed.
3888 * scripts/config.guess: Update to version 2014-03-23.
3889 * scripts/config.sub: Update to version 2014-05-01
3890 * scripts/install-sh: Update to version 2013-12-25.23.
3891 * scripts/move-if-change: Update from gnulib.
3892
74171115
SP
38932014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3894
b97c9ce5
SP
3895 * debug/memmove_chk.c: Remove pagecopy.h include.
3896
4000f892
SP
38972014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3898
74171115
SP
3899 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3900 identical to gnulib mktime.
3901
a8779c28
JM
39022014-06-26 Joseph Myers <joseph@codesourcery.com>
3903
e64708de
JM
3904 * configure.ac: Do not test for machine being rs6000. Do not test
3905 for powerpc*-*soft.
3906 * configure: Regenerated.
3907
a8779c28
JM
3908 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3909 test.
3910 * configure: Regenerated.
3911 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3912 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3913 Remove configure test.
3914 * sysdeps/arm/configure: Regenerated.
3915 * sysdeps/nptl/configure.ac: Do not check
3916 libc_cv_asm_cfi_directives.
3917 * sysdeps/nptl/configure: Regenerated.
3918 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3919 * sysdeps/x86_64/nptl/configure: Remove generated file.
3920 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3921 unconditional.
3922 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3923
2aac0a86
SP
39242014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3925
059bf913
SP
3926 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3927 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3928 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3929 it is defined.
3930
4cf5b6d0
SP
3931 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3932 instead of whether it is defined.
3933 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3934 * sysdeps/hppa/dl-machine.h: Likewise.
3935 * sysdeps/ia64/dl-machine.h: Likewise.
3936 * sysdeps/m68k/dl-machine.h: Likewise.
3937 * sysdeps/microblaze/dl-machine.h: Likewise.
3938 * sysdeps/mips/dl-machine.: Likewise.
3939 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3940 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3941 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3942 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3943 * sysdeps/sh/dl-machine.h: Likewise.
3944 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3945 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3946 * sysdeps/tile/dl-machine.h: Likewise.
3947 * sysdeps/x86_64/dl-machine.h: Likewise.
3948
2aac0a86
SP
3949 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3950 code.
3951 (verify_persistent_db): Likewise.
3952
6ad2df0b
RM
39532014-06-26 Roland McGrath <roland@hack.frob.com>
3954
d8a483f3
RM
3955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3956 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3958 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3960 Moved ...
3961 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3962 ... here.
3963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3964 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3966 Identical file removed.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3968 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3970 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3972 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3974 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3976 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3978 Moved ...
3979 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3983 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3985 Moved ...
3986 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3988 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3990 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3992 Identical file removed.
3993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3994 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3996 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3998 Moved ...
3999 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4000 ... here.
4001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4002 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4004 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4006 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4010 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4012 Moved ...
4013 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4015 Moved ...
4016 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4018 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4020 Moved ...
4021 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4023 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4024
52ae23b4
RM
4025 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4026 folded into ...
4027 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4028 * sysdeps/unix/sysv/linux/s390/Versions
4029 (libpthread: GLIBC_2.19): New version set.
4030 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4031 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4032 (librt: GLIBC_2.3.3): New version set.
4033 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4034 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4035 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4036 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4037 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4038 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4039 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4040 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4041 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4042 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4043 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4044 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4045 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4046 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4047 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4048 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4049 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4050 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4051 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4052 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4053 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4055 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4057 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4058 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4059 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4060 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4061 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4063 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4064 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4068 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4069 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4071 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4072 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4073 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4075 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4077 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4078
39507e4a
RM
4079 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4080 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4081 (__libc_vfork): Define the function under this name.
4082 [!NOT_IN_libc] (__vfork): Make this an alias.
4083 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4084 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4085 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4086 (__libc_vfork): Define the function under this name.
4087 [!NOT_IN_libc] (__vfork): Make this an alias.
4088 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4089 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4090 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4091 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4093 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4094
e549ee56
RM
4095 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4096 code that was previously under [RESET_PID].
4097 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4098 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4099 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4100
6ad2df0b
RM
4101 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4102 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4103 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4104 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4105 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4106 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4107 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4108 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4109 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4112 Moved ...
4113 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4125 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4129 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4131 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4133 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4134 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4135 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4137 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4138 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4139 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4140 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4141 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4142
7c1c1d8e
RM
41432014-06-25 Roland McGrath <roland@hack.frob.com>
4144
4145 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4146 that was previously under [RESET_PID].
4147 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4148
3e239be6
JM
41492014-06-25 Joseph Myers <joseph@codesourcery.com>
4150
74385da5
JM
4151 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4152 not undefine and redefine.
4153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4154 [O_CLOEXEC]: Make code unconditional.
4155 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4156 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4157 <kernel-features.h>.
4158 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4159 conditional variable definition.
4160 (shm_open) [O_CLOEXEC]: Make code unconditional.
4161 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4162 code.
4163
c2570a0b
JM
4164 * configure.ac (USE_REGPARMS): Don't define here.
4165 * configure: Regenerated.
4166 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4167 * sysdeps/i386/configure: Regenerated.
4168
11b076bb
JM
4169 * nptl/createthread.c: Don't include kernel-features.h.
4170 * nptl/pthread_cancel.c: Likewise.
4171 * nptl/pthread_condattr_setclock.c: Likewise.
4172 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4173 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4174 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4175 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4176 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4177 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4178 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4179 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4181 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4182 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4183 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4184 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4185 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4186 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4187 * nscd/gai.c: Likewise.
4188 * nss/nss_db/db-open.c: Likewise.
4189 * sysdeps/generic/ldsodefs.h: Likewise.
4190 * sysdeps/sh/nptl/tls.h: Likewise.
4191 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4192 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4193 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4194 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4195 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4196 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4197 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4198 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4200 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4201 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4202 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4203 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4204 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4205 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4206 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4207 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4208 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4209 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4210 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4211 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4212 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4213 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4214 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4215 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4216 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4217 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4218 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4219 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4220 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4221 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4222 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4223 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4224 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4225 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4226 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4227 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4228 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4229 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4230 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4231 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4232 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4233 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4234 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4235 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4236 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4237 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4238 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4239 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4240 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4241 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4242 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4243 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4244 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4245 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4246 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4247 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4248 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4271 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4272 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4273 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4274 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4275 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4276 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4277 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4278 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4279 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4280 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4281 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4282 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4283 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4284 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4285 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4286 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4287 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4288 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4289 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4290 * sysdeps/unix/sysv/linux/system.c: Likewise.
4291 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4292 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4293 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4294 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4295 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4296 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4297 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4298
92072d57
JM
4299 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4300 * configure: Regenerated.
4301 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4302
3e239be6
JM
4303 * configure.ac (base_machine): Do not set specially for particular
4304 machines here.
4305 * configure: Regenerated.
4306 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4307 settings from configure.ac.
4308 * sysdeps/i386/preconfigure: New file.
4309 * sysdeps/s390/preconfigure: Likewise.
4310 * sysdeps/sh/preconfigure: Likewise.
4311 * sysdeps/sparc/preconfigure: Likewise.
4312
06d50baa
RM
43132014-06-25 Roland McGrath <roland@hack.frob.com>
4314
74836003
RM
4315 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4316 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4317 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4318 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4319 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4320 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4321 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4322 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4323 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4324 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4325 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4326 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4327 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4328 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4329 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4330 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4331 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4332 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4333 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4334
4335 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4336 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4337 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4338 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4339 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4340 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4341 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4342 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4343 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4344 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4345 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4346 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4347 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4348 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4349 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4350 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4351 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4352 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4353 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4354 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4355 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4356 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4357 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4358 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4359 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4360 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4362 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4363 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4364 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4365 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4366 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4367 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4368 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4369 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4370 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4372 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4373
06d50baa
RM
4374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4375 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4377 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4379 Moved ...
4380 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4381 ... here.
4382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4383 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4385 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4387 Moved ...
4388 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4390 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4392 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4394 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4396 Moved ...
4397 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4399 Moved ...
4400 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4402 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4404 Moved ...
4405 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4407 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4409 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4411 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4415 Moved ...
4416 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4417 ... here.
4418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4421 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4423 Moved ...
4424 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4426 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4428 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4430 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4432 Moved ...
4433 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4435 Moved ...
4436 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4438 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4440 Moved ...
4441 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4443 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4445 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4446
a4ccbc9b
JM
44472014-06-25 Joseph Myers <joseph@codesourcery.com>
4448
0828edbf
JM
4449 * timezone/checktab.awk: Update from tzcode 2014e.
4450 * timezone/private.h: Likewise.
4451 * timezone/tzfile.h: Likewise.
4452 * timezone/zdump.c: Likewise.
4453 * timezone/zic.c: Likewise.
4454
a4ccbc9b
JM
4455 * sysdeps/unix/sysv/linux/kernel-features.h
4456 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4458 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4459 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4460 Remove conditional code.
4461
9aea0cb8
WN
44622014-06-25 Will Newton <will.newton@linaro.org>
4463
4464 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4465 (_dl_arm_cap_flags): Add HWCAP2 values.
4466 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4467 (_DL_HWCAP_COUNT): Increase to 37.
4468 (_DL_HWCAP_LAST): New define.
4469 (_DL_HWCAP2_LAST): New define.
4470 (_dl_procinfo): Add support for printing
4471 AT_HWCAP2 entries.
4472 (_dl_string_hwcap): Use _dl_hwcap_string.
4473
6eaa65ce
AZ
44742014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4475
4476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4477
0f5b7185
JM
44782014-06-25 Joseph Myers <joseph@codesourcery.com>
4479
cfd2ea50
JM
4480 * README: Do not mention ports directory.
4481
cecf2ed4
JM
4482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4483 Remove macro.
4484 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4485 <kernel-features.h>.
4486 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4487 conditional variable definition.
4488 (__futimes): Update comment.
4489 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4490 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4491
a638de82
JM
4492 [BZ #16560]
4493 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4494 arguments close to 0.
4495 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4496 Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4498 Likewise.
4499 * math/auto-libm-test-in: Add more tests of exp10.
4500 * math/auto-libm-test-out: Regenerated.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4502
0f5b7185
JM
4503 * sysdeps/unix/sysv/linux/kernel-features.h
4504 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4505 * sysdeps/unix/sysv/linux/readv.c: Do not include
4506 <kernel-features.h>.
4507 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4508 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4509 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4510 unconditional.
4511 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4512 conditional code.
4513 * sysdeps/unix/sysv/linux/writev.c: Do not include
4514 <kernel-features.h>.
4515 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4516 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4517 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4518 unconditional.
4519 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4520 conditional code.
4521
c7aec4be
WN
45222014-06-25 Will Newton <will.newton@linaro.org>
4523
4524 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4525 comment changes throughout the file. Remove checks
4526 for HAVE_*_H definitions that are not required.
4527 (__gen_tempname): Call abort if an unknown kind value is
4528 passed.
4529
c5241f95
AS
45302014-06-25 Andreas Schwab <schwab@suse.de>
4531
4532 [BZ #17086]
4533 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4534 scalbln, scalblnf, scalblnl in libc.
4535
911422da
SP
45362014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4537
4538 [BZ #17086]
4539 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4540 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4541 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4542
0d749bbe
RM
45432014-06-24 Roland McGrath <roland@hack.frob.com>
4544
4545 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4546 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4547 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4548 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4549 Update #include.
4550 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4551 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4552 Update #include.
4553 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4554 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4555 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4556 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4557 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4558 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4559 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4560 * sysdeps/x86/bits/semaphore.h: ... here.
4561 * sysdeps/x86/nptl/elide.h: Moved ...
4562 * sysdeps/x86/elide.h: ... here.
4563 * sysdeps/x86_64/nptl/Implies: File removed.
4564 * sysdeps/i386/nptl/Implies: File removed.
4565
0ea5d373
JM
45662014-06-24 Joseph Myers <joseph@codesourcery.com>
4567
4060283d
JM
4568 [BZ #16539]
4569 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4570 return the argument for normal arguments with exponent below -64.
4571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4572 Likewise.
4573 * math/auto-libm-test-in: Add another test of expm1.
4574 * math/auto-libm-test-out: Regenerated.
4575
e7dd3c8c
JM
4576 [BZ #16287]
4577 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4578 calling __erfcl for arguments at least 16.
4579 * math/auto-libm-test-in: Add more tests of erf.
4580 * math/auto-libm-test-out: Regenerated.
4581
0ea5d373
JM
4582 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4583 individual architectures.
4584 * sysdeps/unix/sysv/linux/configure: Regenerated.
4585 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4586 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4587 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4588 (ldd_rewrite_script): Define variable.
4589 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4591 file.
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4593 generated file.
4594 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4595 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4596 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4597 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4598 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4599 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4600 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4601 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4602
2307e126
SP
46032014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4604
4605 [BZ #17084]
4606 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4607 Rename member __data.d to __data.__elision_data.
4608
c0a4ed77
W
46092014-06-24 Wilco <wdijkstr@arm.com>
4610
4611 * NEWS: Add 16918 to fixed bug list.
4612
b8c00573
W
46132014-06-24 Wilco <wdijkstr@arm.com>
4614
4615 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4616
b5570d92
W
46172014-06-24 Wilco <wdijkstr@arm.com>
4618
4619 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4620 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4621 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4622 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4623 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4624 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4625 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4626 Use _FPU_MASK_RM.
4627
947bdca2
W
46282014-06-24 Wilco <wdijkstr@arm.com>
4629
4630 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4631
00f669ed
W
46322014-06-24 Wilco <wdijkstr@arm.com>
4633
4634 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4635 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4636 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4637 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4638
db59bad3
W
46392014-06-24 Wilco <wdijkstr@arm.com>
4640
4641 [BZ #16918]
4642 * sysdeps/arm/feupdateenv.c (feupdateenv):
4643 Rewrite to reduce FPSCR accesses and fix return value.
4644
001f7b77
W
46452014-06-24 Wilco <wdijkstr@arm.com>
4646
4647 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4648 Optimize to avoid unnecessary FPSCR writes.
4649 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4650 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4651 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4652 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4653
4841e6a6
W
46542014-06-24 Wilco <wdijkstr@arm.com>
4655
4656 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4657 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4658 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4659 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4660 Call libc_fetestexcept_vfp.
4661 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4662 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4663 __SOFTFP__ ifdef so that they can be built for softfp.
4664
0813022c
SP
46652014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4666
08e5862f
SP
4667 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4668 argument type signed char.
4669
0813022c
SP
4670 * Makerules (check-abi): Dump diff of symlist if the test
4671 fails.
4672
3fc7236a
RM
46732014-06-23 Roland McGrath <roland@hack.frob.com>
4674
aba8ef95
RM
4675 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4676 using abort.
4677
3fc7236a
RM
4678 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4679 Remove unused variable ST.
4680
4da6db51
JM
46812014-06-23 Joseph Myers <joseph@codesourcery.com>
4682
4648909d
JM
4683 [BZ #16354]
4684 [BZ #17061]
4685 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4686 small arguments before calling __expm1.
4687 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4688 small arguments before calling __expm1f.
4689 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4690 small arguments before calling __expm1l.
4691 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4692 Likewise.
4693 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4694 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4695 spurious underflow for some cosh tests.
4696 * math/auto-libm-test-out: Regenerated.
4697 * sysdeps/i386/fpu/libm-test-ulps: Update.
4698
46a3d3c7
JM
4699 [BZ #17050]
4700 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4701 (__ieee754_y1): Set errno if return value overflows.
4702 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4703 (__ieee754_y1f): Set errno if return value overflows.
4704 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4705 (__ieee754_y1l): Set errno if return value overflows.
4706 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4707 (__ieee754_y1l): Set errno if return value overflows.
4708 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4709 * math/auto-libm-test-out: Regenerated.
4710
863893ec
JM
4711 * math/gen-auto-libm-tests.c: Document use of
4712 ignore-zero-inf-sign.
4713 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4714 (input_flags): Add ignore-zero-inf-sign.
4715 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4716 * math/gen-libm-test.pl (generate_testfile): Handle
4717 ignore-zero-inf-sign.
4718 * math/auto-libm-test-in: Mark some cpow tests with
4719 ignore-zero-inf-sign and some with xfail-rounding.
4720 * math/auto-libm-test-out: Regenerated.
4721 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4722 * sysdeps/i386/fpu/libm-test-ulps: Update.
4723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4724
4da6db51
JM
4725 [BZ #16315]
4726 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4727 overflowing or underflowing operations take place with sign of
4728 result.
4729 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4730 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4731 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4732 (__ieee754_pow): Recompute overflowing and underflowing results in
4733 original rounding mode.
4734 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4735 (__powl_helper): Allow negative argument X and scale negated value
4736 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4737 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4738 overflowing or underflowing operations take place with sign of
4739 result.
4740 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4741 Include <math.h>.
4742 * math/auto-libm-test-in: Add more tests of pow.
4743 * math/auto-libm-test-out: Regenerated.
4744 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4745 (pow_tonearest_test_data): Remove.
4746 (pow_test_tonearest): Likewise.
4747 (pow_towardzero_test_data): Likewise.
4748 (pow_test_towardzero): Likewise.
4749 (pow_downward_test_data): Likewise.
4750 (pow_test_downward): Likewise.
4751 (pow_upward_test_data): Likewise.
4752 (pow_test_upward): Likewise.
4753 (main): Don't call removed functions.
4754 * sysdeps/i386/fpu/libm-test-ulps: Update.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4756
5686b236
RM
47572014-06-23 Roland McGrath <roland@hack.frob.com>
4758
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4760 Moved ...
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4763 Moved ...
4764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4766 Moved ...
4767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4769 Moved ...
4770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4772 File removed.
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4774 File removed.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4776 File removed.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4778 File removed.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4780 File removed.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4782 File removed.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4784 File removed.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4786 File removed.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4788 File removed.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4790 File removed.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4792 File removed.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4794 File removed.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4796 Moved ...
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4799 Moved ...
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4801 ... here.
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4803 Moved ...
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4806 Moved ...
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4809 Moved ...
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4812 Moved ...
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4815 Moved ...
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4818 Moved ...
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4821 Moved ...
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4825 ... here.
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4827 Moved ...
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4830 Moved ...
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4832 ... here.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4834 Moved ...
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4836 ... here.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4838 Moved ...
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4840 ... here.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4842 Moved ...
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4845 Moved ...
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4850 Moved ...
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4852 ... here.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4854 Moved ...
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4856 ... here.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4858 Moved ...
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4861 Moved ...
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4864 Moved ...
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4867 Moved ...
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4870 Moved ...
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4872 ... here.
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4874 Moved ...
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4877 Moved ...
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4880 Moved ...
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4883 Moved ...
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4888 Moved ...
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4891 Moved ...
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4894 Moved ...
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4896 ... here.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4898 Moved ...
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4900 ... here.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4902 Moved ...
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4904 ... here.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4906 Moved ...
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4909 Moved ...
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4912 Moved ...
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4915 Moved ...
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4917 ... here.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4919 Moved ...
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4921 ... here.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4923 Moved ...
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4925 ... here.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4927 Moved ...
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4930 Moved ...
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4932
e6d90d67
WD
49332014-06-23 Will Newton <will.newton@linaro.org>
4934 Wilco <wdijkstr@arm.com>
4935
4936 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4937 implementation. Include get-rounding-mode.h.
4938 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4939 [!libc_feholdsetround_noex_ctx]: Define
4940 libc_feholdsetround_noex_ctx.
4941 [!libc_feholdsetround_noexf_ctx]: Define
4942 libc_feholdsetround_noexf_ctx.
4943 [!libc_feholdsetround_noexl_ctx]: Define
4944 libc_feholdsetround_noexl_ctx.
4945 (libc_feholdsetround_ctx): New function.
4946 (libc_feresetround_ctx): New function.
4947 (libc_feholdsetround_noex_ctx): New function.
4948 (libc_feresetround_noex_ctx): New function.
4949
d42df555
RM
49502014-06-23 Roland McGrath <roland@hack.frob.com>
4951
88a46474
RM
4952 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4953 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4954 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4955 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4956 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4957 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4958
15bed472
RM
4959 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4960 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4961 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4962 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4963 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4964 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4965 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4966 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4967 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4968 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4969 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4970 Moved ...
4971 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4972 ... here.
4973 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4974 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4975 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4976 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4978 Moved ...
4979 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4980 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4981 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4985 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4986 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4987 Moved ...
4988 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4989 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4990 Moved ...
4991 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4992 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4993 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4994 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4995 Moved ...
4996 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4997 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4998 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5000 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5001 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5002 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5003 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5004 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5006 Moved ...
5007 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5008 ... here.
5009 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5010 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5011 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5012 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5014 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5015 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5016 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5017 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5018 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5019 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5020 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5021 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5022 Moved ...
5023 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5025 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5026 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5027 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5028 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5029 Moved ...
5030 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5031 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5032 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5033 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5034 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5035
d42df555
RM
5036 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5037 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5038 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5039 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5040 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5041 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5042 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5043 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5044 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5045 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5046 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5047 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5048 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5049 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5050 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5051 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5052 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5053 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5054 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5055 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5056 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5057 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5058 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5059 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5060 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5061 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5062 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5063 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5064
76e5216e
JM
50652014-06-23 Joseph Myers <joseph@codesourcery.com>
5066
5067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5068 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5069 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5070 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5071 (IPV6_PMTUDISC_INTERFACE): Likewise.
5072 (IPV6_PMTUDISC_OMIT): Likewise.
5073
7a81cbcc
AS
50742014-06-23 Andreas Schwab <schwab@suse.de>
5075
5076 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5077 Remove unused errout label.
5078
db224009
AZ
50792014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080
5081 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5082 macro: hardware supports Vector Crypto instructions.
5083
f393b4aa
WN
50842014-06-23 Will Newton <will.newton@linaro.org>
5085
cc7d0447
WN
5086 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5087 rather than __builtin_expect.
5088
d6d06225
WN
5089 * elf/dl-lookup.c (undefined_msg): Remove variable.
5090 (_dl_lookup_symbol_x): Replace undefined_msg with string
5091 literal.
5092
f393b4aa
WN
5093 * elf/dl-lookup.c (do_lookup_unique): New function.
5094 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5095 to a separate function.
5096
ac60763e
AS
50972014-06-23 Andreas Schwab <schwab@suse.de>
5098
5099 [BZ #17079]
5100 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5101 before reading the next line.
5102
c5c13355
WN
51032014-06-23 Will Newton <will.newton@linaro.org>
5104
5105 * test-skeleton.c (signal_handler): Use printf and %m
5106 rather than perror. Use printf rather than fprintf to
5107 stderr. Use puts rather than fputs to stderr.
5108 (main): Likewise.
5109
bd3675f9
LC
51102014-06-22 Ludovic Courtès <ludo@gnu.org>
5111
5112 * nscd/nscd.c (thread_info_t): Remove typedef.
5113 (thread_info): Remove variable.
5114
d03efb2f
AM
51152014-06-21 Allan McRae <allan@archlinux.org>
5116
5117 * NEWS: Mention CVE-2014-4043.
5118
bc4a86fa
RM
51192014-06-20 Roland McGrath <roland@hack.frob.com>
5120
dc9a54f8
RM
5121 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5122 * nptl/smp.h: ... here.
5123
bd7022c4
RM
5124 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5125
26ffd5e6
RM
5126 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5127 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5128 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5129 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5130
93a6d082
RM
5131 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5132 * nptl/stack-aliasing.h: New file.
5133 * sysdeps/i386/i686/stack-aliasing.h: New file.
5134 * sysdeps/i386/i686/nptl/Makefile: File removed.
5135 * sysdeps/x86_64/stack-aliasing.h: New file.
5136 * sysdeps/x86_64/nptl/Makefile
5137 (CFLAGS-pthread_create.c): Variable removed.
5138
bc4a86fa
RM
5139 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5140 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5141 old file.
5142 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5143 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5144 old file.
5145
2272ffc1
JM
51462014-06-21 Joseph Myers <joseph@codesourcery.com>
5147
5148 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5149 (__ASSUME_SIGFRAME_V2): Remove macro.
5150 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5151 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5152 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5153 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5154 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5155 Declare as function. Remove conditional macro definitions.
5156 (__default_rt_sa_restorer): Likewise.
5157 (__default_sa_restorer_v1): Remove declaration.
5158 (__default_sa_restorer_v2): Likewise.
5159 (__default_rt_sa_restorer_v1): Likewise.
5160 (__default_rt_sa_restorer_v2): Likewise.
5161 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5162 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5163 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5164
4b88139b
RM
51652014-06-20 Roland McGrath <roland@hack.frob.com>
5166
5167 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5168 (libpthread-routines): Add sysdep.
5169 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5170 * sysdeps/unix/sysv/linux/sparc/Versions
5171 (libpthread: GLIBC_2.3.3): New version set.
5172 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5173 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5174 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5176 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5177 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5178 Moved ...
5179 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5180 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5181 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5182 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5183 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5184 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5185 * sysdeps/sparc/nptl/sem_init.c: ... here.
5186 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5187 * sysdeps/sparc/nptl/sem_post.c: ... here.
5188 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5189 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5190 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5191 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5192 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5193 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5194 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5195 (libpthread-routines): Add cpu_relax.
5196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5197 File removed.
5198 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5199 (librt: GLIBC_2.3.3): New version set.
5200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5201 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5203 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5206 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5208 Moved ...
5209 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5211 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5213 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5214 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5215 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5217 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5219 Moved ...
5220 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5221 Update #include.
5222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5223 Moved ...
5224 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5225 Update #include.
5226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5227 Moved ...
5228 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5229 Update #include.
5230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5231 Moved ...
5232 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5233 Update #include.
5234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5235 Moved ...
5236 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5237 Update #include.
5238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5239 Moved ...
5240 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5241 Update #include.
5242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5243 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5249 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5253 Moved ...
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5258 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5259
d7109027
JM
52602014-06-20 Joseph Myers <joseph@codesourcery.com>
5261
9bc6103d
JM
5262 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5263 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5264 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5265 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5266 * nscd/nscd.c: Likewise.
5267 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5268 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5269 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5270 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5271
d7109027
JM
5272 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5273 <kernel-features.h>.
5274 (init_mq_netlink): Remove conditional have_sock_cloexec
5275 definitions. Remove code conditional on have_sock_cloexec < 0.
5276 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5277 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5278 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5279 <kernel-features.h>.
5280 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5281 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5282
d92d8f8a
L
52832014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5284
5285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5286 Add tests for memset_chk and memset.
5287
5288 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5289 with AVX2_Usable.
5290
4e6d2347
MR
52912014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5292
257ce712
MR
5293 [BZ #16046]
5294 * elf/tst-dl-iter-static.c: New file.
5295 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5296
4e6d2347
MR
5297 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5298 error.
5299
a2a76afe
JM
53002014-06-20 Joseph Myers <joseph@codesourcery.com>
5301
7fd00f99
JM
5302 * sysdeps/unix/sysv/linux/kernel-features.h
5303 (__ASSUME_F_GETOWN_EX): Remove macro.
5304 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5305 <kernel-features.h>.
5306 (miss_F_GETOWN_EX): Remove variable or macro.
5307 (do_fcntl): Do not check miss_F_GETOWN_EX.
5308 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5309
4a103975
JM
5310 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5311 Remove macro.
5312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5313 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5314 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5315
a2a76afe
JM
5316 * sysdeps/unix/sysv/linux/kernel-features.h
5317 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5318 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5319 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5320 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5321
90e5dd48
MR
53222014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5323
5324 [BZ #17075]
5325 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5326 Fix calculation of the symbol's value.
5327 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5328 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5329 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5330 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5331 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5332 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5333 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5334 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5335 (modules-names): Add `tst-armtlsdescmod',
5336 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5337 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5338 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5339 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5340 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5341 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5342 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5343 ($(objpfx)tst-armtlsdescloc): New dependency.
5344 ($(objpfx)tst-armtlsdescextnow): Likewise.
5345 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5346 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5347 TLS scheme support.
5348 * sysdeps/arm/configure: Regenerate.
5349
809fdf0d
JM
53502014-06-20 Joseph Myers <joseph@codesourcery.com>
5351
5352 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5353 (__atfct_seterrno_2): Likewise.
5354 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5355 <kernel-features.h>.
5356 (__ASSUME_ATFCTS): Do not undefine and redefine.
5357 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5358 (__have_atfcts): Remove conditional definition.
5359 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5360 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5361 unreachable if [__ASSUME_ATFCTS].
5362 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5363 not undefine and redefine.
5364 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5365 <kernel-features.h>.
5366 (faccessat) [__NR_faccessat]: Make code unconditional.
5367 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5368 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5369 <kernel-features.h>.
5370 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5371 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5372 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5373 <kernel-features.h>.
5374 (fchownat) [__NR_fchownat]: Make code unconditional.
5375 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5376 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5377 <kernel-features.h>.
5378 (futimesat) [__NR_futimesat]: Make code unconditional.
5379 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5380 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5381 <kernel-features.h>.
5382 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5383 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5384 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5385 <kernel-features.h>.
5386 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5387 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5388 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5389 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5390 <kernel-features.h>.
5391 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5392 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5393 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5394 <kernel-features.h>.
5395 (linkat) [__NR_linkat]: Make code unconditional.
5396 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5397 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5398 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5399 <kernel-features.h>.
5400 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5401 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5402 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5403 <kernel-features.h>.
5404 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5405 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5406 * sysdeps/unix/sysv/linux/openat.c: Do not include
5407 <kernel-features.h>.
5408 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5409 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5410 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5411 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5412 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5413 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5414 <kernel-features.h>.
5415 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5416 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5417 result of INLINE_SYSCALL directly, not via int variable.
5418 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5419 <kernel-features.h>.
5420 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5421 (renameat) [__NR_renameat]: Make code unconditional.
5422 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5423 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5424 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5425 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5426 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5427 (__ASSUME_ATFCTS): Do not undefine and redefine.
5428 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5429 <kernel-features.h>.
5430 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5431 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5432 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5433 <kernel-features.h>.
5434 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5435 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5436 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5437 (__ASSUME_ATFCTS): Do not undefine and redefine.
5438 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5439 <kernel-features.h>.
5440 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5441 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5442 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5443 <kernel-features.h>.
5444 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5445 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5446
224c6c51
L
54472014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5448
5449 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5450
aa6ec754
AS
54512014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5452
5453 [BZ #17069]
5454 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5455 constructed tree before returning error.
5456 * posix/bug-regexp36.c: Expand test case.
5457
d8c2869d
SL
54582014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5459
3ef6b850
SL
5460 [BZ #6803]
5461 * math/libm-test.inc (scalbln_test_date):
5462 Add errno expectations.
5463 * math/w_scalblnf.c: New File.
5464 Add wrapper which checks for setting errno to ERANGE.
5465 Add weak_alias for corresponding scalbln function.
5466 * math/w_scalbln.c: Likewise.
5467 * math/w_scalblnl.c: Likewise.
5468 * math/Makefile (libm-calls): Add w_scalbln.
5469 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5470 Remove weak_alias for corresponding scalbln function.
5471 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5473 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5475 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5476 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5477 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5478 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5479 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5480 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5481 Remove long_double_symbol for scalblnl function in libm, libc.
5482 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5483 Add wrapper which checks for setting errno to ERANGE.
5484 Add long_double_symbol for scalblnl function in libm, libc.
5485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5486 Remove long_double_symbol for scalblnl in libm.
5487 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5488 Add wrapper which checks for setting errno to ERANGE.
5489 Add long_double_symbol for scalblnl function in libm.
5490 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5491 Do not use wrapper because of own implementation.
5492
c8daec5c
L
54932014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5494
5495 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5496 3 bytes for __pad1 for x32.
5497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5498
5c74e47c
LM
54992014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5500 H.J. Lu <hongjiu.lu@intel.com>
5501
5502 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5503 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5504 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5505 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5506 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5507
4d43ef1e
AS
55082014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5509
5510 [BZ #17069]
5511 * posix/regcomp.c (parse_expression): Deallocate partially
5512 constructed tree before returning error.
5513 * posix/Makefile.c (tests): Add bug-regex36.
5514 (generated): Add bug-regex36.mtrace.
5515 (tests-special): Add $(objpfx)bug-regex36-mem.out
5516 (bug-regex36-ENV): New variable.
5517 ($(objpfx)bug-regex36-mem.out): New rule.
5518 * posix/bug-regex36.c: New file.
5519
51a7380b
WN
55202014-06-19 Will Newton <will.newton@linaro.org>
5521
5522 * malloc/malloc.c (systrim): If extra is zero then return
5523 early.
5524
91b84fe5
SP
55252014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5526
5527 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5528
f940b965
RE
55292014-06-19 Richard Earnshaw <rearnsha@arm.com>
5530
5531 * sysdeps/aarch64/strchr.S: New file.
5532
4ba7a00f
JM
55332014-06-18 Joseph Myers <joseph@codesourcery.com>
5534
5535 [BZ #17022]
5536 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5537 from arguments -2 or below.
5538 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5539 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5540
b3a9f56b
AS
55412014-06-18 Andreas Schwab <schwab@suse.de>
5542
5543 [BZ #17062]
5544 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5545 of a bracket expr not to run off the end of the string.
5546 * posix/Makefile (tests): Add tst-fnmatch3.
5547 * posix/tst-fnmatch3.c: New file.
5548
85d89278
JM
55492014-06-18 Joseph Myers <joseph@codesourcery.com>
5550
5551 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5552 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5553 [$(cross-compiling) = no]: Likewise.
5554 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5555 [$(cross-compiling) = no]: Likewise.
5556
754c5a08
RS
55572014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5558
5559 [BZ #17031]
5560 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5561 double, adjusted for any remainder from the high double.
5562 * math/libm-test.inc (nearbyint): Add tests.
5563 (rint): Likewise.
5564
556f529d
AZ
55652014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5566
5567 * nptl/sysdeps/powerpc/Makefile: Moved ...
5568 * sysdeps/powerpc/nptl/Makefile: ... here.
5569 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5570 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5571 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5572 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5573 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5574 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5575 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5576 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5577 * nptl/sysdeps/powerpc/tls.h: Moved ...
5578 * sysdeps/powerpc/nptl/tls.h: ... here.
5579
91c03c53
JM
55802014-06-16 Joseph Myers <joseph@codesourcery.com>
5581
5582 [BZ #16681]
5583 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5584 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5585 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5586 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5587 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5588 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5589 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5590 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5591 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5592
a76e63c5
AS
55932014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5594
5595 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5596
f2f6d82f
AS
55972014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5598
ea8a15f6
AS
5599 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5600 defined operator.
5601
f2f6d82f
AS
5602 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5603 $TIMEOUTFACTOR.
5604
a7291117
FW
56052014-06-16 Florian Weimer <fweimer@redhat.com>
5606
5607 [BZ #17058]
5608 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5609 non-executed part of the test.
5610
3d7c00e3
AS
56112014-06-16 Andreas Schwab <schwab@suse.de>
5612
5613 * string/bits/string2.h (strdup, strndup): Update feature guard.
5614
6957fb31
DM
56152014-06-14 David S. Miller <davem@davemloft.net>
5616
5617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5618
11b9e55b
AS
56192014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5620
1d2a0492
AS
5621 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5622 that was previously under [RESET_PID].
5623 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5624
11b9e55b
AS
5625 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5626 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5627 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5628 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5629 (__libc_vfork): New strong alias.
5630 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5631
0f6901d0
AK
56322014-06-14 Andi Kleen <ak@linux.intel.com>
5633
5634 * sysdeps/generic/elide.h: New file.
5635
38bbbb9f
SL
56362014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5637
5638 * Makefile (installed-headers): Adjust path of pthread.h header.
5639
45193bb8
RM
56402014-06-13 Roland McGrath <roland@hack.frob.com>
5641
9a25fd1e
RM
5642 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5643 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5645 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5646
4004f7e4
RM
5647 * nptl/sysdeps/s390/Makefile: Moved ...
5648 * sysdeps/s390/nptl/Makefile: ... here.
5649 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5650 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5651 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5652 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5653 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5654 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5655 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5656 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5657 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5658 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5659 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5660 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5661 * nptl/sysdeps/s390/tls.h: Moved ...
5662 * sysdeps/s390/nptl/tls.h: ... here.
5663
45193bb8
RM
5664 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5665 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5666
f6fdf533
DM
56672014-06-13 David S. Miller <davem@davemloft.net>
5668
5669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5672 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5676 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5677 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5678 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5679 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5680 Remove RESET_PID cpp guards.
5681 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5682 Remove RESET_PID cpp guards.
5683 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5684
f5d71e14
AS
56852014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5686
5687 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5688 __sp to uintptr_t.
5689
b7aa8caa
AK
56902014-06-13 Andi Kleen <ak@linux.intel.com>
5691
4b266200
AZ
5692 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5693 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5694 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5695 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5696 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5697 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5698 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5699 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5700 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5701 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5702 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5703 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5704 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5705 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5706 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5707 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5708 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5709 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5710 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5711 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5712
5713 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5714 (pthread_rwlock_rdlock): Add elision.
5715 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5716 (pthread_rwlock_wrlock): Add elision.
5717 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5718 (pthread_rwlock_trywrlock): Add elision.
5719 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5720 (pthread_rwlock_tryrdlock): Add elision.
5721 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5722 (pthread_rwlock_tryrdlock): Add elision unlock.
5723 * nptl/sysdeps/pthread/pthread.h:
5724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5725 (PTHREAD_RWLOCK_INITIALIZER,
5726 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5727 Handle new elision field.
5728 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5729 * sysdeps/arm/nptl/bits/pthreadtypes.h
5730 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5731 * sysdeps/sh/nptl/bits/pthreadtypes.h
5732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5733 * sysdeps/tile/nptl/bits/pthreadtypes.h
5734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5735 * sysdeps/a/nptl/bits/pthreadtypes.h
5736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5737 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5739 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5741 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5742 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5743 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5744 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5745 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5746 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5747 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5748 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5749 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5750 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5751 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5752 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5753 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5754 (elision_init): Set try_xbegin to zero when no RTM.
5755 * sysdeps/x86/nptl/bits/pthreadtypes.h
5756 (pthread_rwlock_t): Change __pad1 to __rwelision.
5757 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5758
a832bdd3
AK
57592014-06-13 Andi Kleen <ak@linux.intel.com>
5760
5761 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5762 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5763 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5764 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5765
995a46bb
MI
57662014-06-13 Meador Inge <meadori@codesourcery.com>
5767
5768 [BZ #16996]
03ed7738 5769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5770 that the cached result has been set before returning it.
5771
45262aee
RM
57722014-06-12 Roland McGrath <roland@hack.frob.com>
5773
febf6cc5
RM
5774 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5775 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5776 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5777 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5779 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5780
e2682246
RM
5781 * nptl/sysdeps/sparc/Makefile: Moved ...
5782 * sysdeps/sparc/nptl/Makefile: ... here.
5783 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5784 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5785 * nptl/sysdeps/sparc/tls.h: Moved ...
5786 * sysdeps/sparc/nptl/tls.h: ... here.
5787 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5788 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5789 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5790 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5791 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5792 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5793 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5794 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5795 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5796 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5797 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5798 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5799 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5800 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5801 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5802 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5803 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5805 Update #include.
5806 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5807 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5808 Update #include.
5809 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5810 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5811 Update #include.
5812 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5813 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5814 Update #include.
5815
b0725f43
RM
5816 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5817
b14368b8
RM
5818 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5819 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5820
c5620eb3
RM
5821 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5822 (struct list_links): Type removed.
5823 (struct thread_node, struct timer_node): Replace struct list_links
5824 with struct list_head.
5825 (list_unlink_ip): Likewise.
5826 * sysdeps/pthread/timer_routines.c
5827 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5828 (list_append, list_insbefore): Likewise.
5829 (list_init): Function removed.
5830 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5831 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5832 * sysdeps/pthread/Makefile: ... here, new file.
5833
5834 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5835 * sysdeps/nptl/Implies: ... here.
5836 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5837 * nptl/sysdeps/pthread/list.h: Moved ...
5838 * include/list.h: ... here.
5839 * nptl/sysdeps/pthread/createthread.c: Moved ...
5840 * nptl/createthread.c: ... here.
5841 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5842 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5843 * nptl/pt-longjmp.c: ... here.
5844 * nptl/sysdeps/pthread/Makefile: Moved ...
5845 * sysdeps/nptl/Makefile: ... here.
5846 * nptl/sysdeps/pthread/Subdirs: Moved ...
5847 * sysdeps/nptl/Subdirs: ... here.
5848 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5849 * sysdeps/nptl/aio_misc.h: ... here.
5850 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5851 * sysdeps/nptl/bits/libc-lock.h: ... here.
5852 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5853 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5854 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5855 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5856 * nptl/sysdeps/pthread/configure: Moved ...
5857 * sysdeps/nptl/configure: ... here.
5858 * nptl/sysdeps/pthread/configure.ac: Moved ...
5859 * sysdeps/nptl/configure.ac: ... here.
5860 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5861 * sysdeps/nptl/gai_misc.h: ... here.
5862 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5863 * sysdeps/nptl/librt-cancellation.c: ... here.
5864 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5865 * sysdeps/nptl/malloc-machine.h: ... here.
5866 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5867 * sysdeps/nptl/pthread-functions.h: ... here.
5868 * nptl/sysdeps/pthread/pthread.h: Moved ...
5869 * sysdeps/nptl/pthread.h: ... here.
5870 * nptl/sysdeps/pthread/setxid.h: Moved ...
5871 * sysdeps/nptl/setxid.h: ... here.
5872 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5873 * sysdeps/nptl/sigfillset.c: ... here.
5874 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5875 * sysdeps/nptl/tcb-offsets.h: ... here.
5876 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5877 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5878 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5879 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5880 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5881 * sysdeps/pthread/allocalim.h: ... here.
5882 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5883 * sysdeps/pthread/bits/sigthread.h: ... here.
5884 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5885 * sysdeps/pthread/flockfile.c: ... here.
5886 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5887 * sysdeps/pthread/ftrylockfile.c: ... here.
5888 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5889 * sysdeps/pthread/funlockfile.c: ... here.
5890 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5891 * sysdeps/pthread/posix-timer.h: ... here.
5892 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5893 * sysdeps/pthread/timer_create.c: ... here.
5894 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5895 * sysdeps/pthread/timer_delete.c: ... here.
5896 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5897 * sysdeps/pthread/timer_getoverr.c: ... here.
5898 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5899 * sysdeps/pthread/timer_gettime.c: ... here.
5900 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5901 * sysdeps/pthread/timer_routines.c: ... here.
5902 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5903 * sysdeps/pthread/timer_settime.c: ... here.
5904 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5905 * sysdeps/pthread/tst-timer.c: ... here.
5906 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5907 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5908
e876b090
RM
5909 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5910 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5911
f6b07b3d
RM
5912 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5913 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5914 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5915 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5916 Update #include target.
5917 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5918 * sysdeps/i386/i686/nptl/Makefile: ... here.
5919 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5920 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5921 Update #include target.
5922 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5923 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5924 * nptl/sysdeps/i386/Makefile: Moved ...
5925 * sysdeps/i386/nptl/Makefile: ... here.
5926 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5927 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5928 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5929 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5930 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5931 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5932 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5933 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5934 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5935 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5936 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5937 * nptl/sysdeps/i386/tls.h: Moved ...
5938 * sysdeps/i386/nptl/tls.h: ... here.
5939
45262aee
RM
5940 * sysdeps/sh/Makefile [$(subdir) = csu]
5941 (gen-as-const-headers): Add tcb-offsets.sym.
5942 * nptl/sysdeps/sh/Makefile: File removed.
5943 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5944 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5945 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5946 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5947 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5948 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5949 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5950 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5951 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5952 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5953 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5954 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5955 * nptl/sysdeps/sh/tls.h: Moved ...
5956 * sysdeps/sh/nptl/tls.h: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5958 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5959 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5960 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5961 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5962 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5964 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5966 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5967 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5968 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5970 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5971 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5972 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5973 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5974 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5975 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5976 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5977 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5978 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5979 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5980 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5981 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5982 Moved ...
5983 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5985 Moved ...
5986 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5988 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5990 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5991 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5992 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5993 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5994 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5995 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5996 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5997 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5998 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5999 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6000 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6001 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6002 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6003 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6004 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6005
35a5e3e3
SL
60062014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6007
6008 * posix/spawn_faction_addopen.c: Include string.h.
6009
14642b85
RM
60102014-06-11 Roland McGrath <roland@hack.frob.com>
6011
6012 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6013 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6014 * nptl/sysdeps/x86_64/Makefile: Moved ...
6015 * sysdeps/x86_64/nptl/Makefile: ... here.
6016 * nptl/sysdeps/x86_64/configure: Moved ...
6017 * sysdeps/x86_64/nptl/configure: ... here.
6018 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6019 * sysdeps/x86_64/nptl/configure.ac: ... here.
6020 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6021 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6022 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6023 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6024 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6025 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6026 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6027 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6028 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6029 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6030 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6031 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6032 * nptl/sysdeps/x86_64/tls.h: Moved ...
6033 * sysdeps/x86_64/nptl/tls.h: ... here.
6034 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6035 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6036 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6037 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6038
6039 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6040
31c44fea
AZ
60412014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6044
e81a4f9a
JM
60452014-06-11 Joseph Myers <joseph@codesourcery.com>
6046
6047 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6048 type.
6049 [POSIX] (off_t): Likewise.
6050 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6051 [POSIX] (S_ISBLK): Require macro.
6052 [POSIX] (S_ISCHR): Likewise.
6053 [POSIX] (S_ISDIR): Likewise.
6054 [POSIX] (S_ISFIFO): Likewise.
6055 [POSIX] (S_ISREG): Likewise.
6056 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6057 optional-macro.
6058 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6059 type.
6060 [POSIX] (time_t): Likewise.
6061 [POSIX] (timer_t): Likewise.
6062
89e435f3
FW
60632014-06-11 Florian Weimer <fweimer@redhat.com>
6064
6065 [BZ #17048]
6066 * posix/spawn_int.h (struct __spawn_action): Make the path string
6067 non-const to support deallocation.
6068 * posix/spawn_faction_addopen.c
6069 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6070 * posix/spawn_faction_destroy.c
6071 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6072 path in all spawn_do_open actions.
6073 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6074 posix_spawn_file_actions_addopen.
6075
c3a2ebe1
CM
60762014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6077
6078 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6079 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6080 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6081 conditional code always true.
6082 (__libc_vfork): New alias.
6083
9503784a
RM
60842014-06-11 Roland McGrath <roland@hack.frob.com>
6085
c9cab3d2
RM
6086 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6087 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6088
d3996c79
RM
6089 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6090
ba5ec611
RM
6091 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6092 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6093
f12b4814
RM
6094 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6095 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6096
9503784a
RM
6097 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6098 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6099
e23d3d26
VR
61002014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6101
6102 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6103 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6104 multiarch strcmp for PPC64.
6105 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6106 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6108 multiarch optimizations.
6109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6110 (__libc_ifunc_impl_list): Likewise.
6111
42b1161e
SP
61122014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6113
6114 * benchtests/scripts/validate_benchout.py: New script.
6115 * benchtests/Makefile (bench-func): Call it.
6116 * benchtests/scripts/benchout.schema.json: New file.
6117
2d0fc4dc
CM
61182014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6119
4a594c34
AZ
6120 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6121 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6122 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6123 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6124 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6125 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6126 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6127 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6128 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6129 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6130 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6131 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6132 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6133 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6134 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6135 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6137 Moved ...
4a594c34 6138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6139 ... here.
4a594c34 6140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6141 Moved ...
4a594c34
AZ
6142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6144 Moved ...
4a594c34 6145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6146 ... here.
4a594c34 6147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6148 Moved ...
4a594c34 6149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6150 ... here.
4a594c34 6151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6152 Moved ...
4a594c34
AZ
6153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6155 Moved ...
4a594c34 6156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6157 ... here.
4a594c34 6158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6159 Moved ...
4a594c34 6160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6161 ... here.
4a594c34 6162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6163 Moved ...
4a594c34
AZ
6164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6166 Moved ...
4a594c34 6167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6168 ... here.
4a594c34 6169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6170 Moved ...
4a594c34 6171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6172 ... here.
4a594c34 6173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6174 Moved ...
4a594c34 6175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6176 ... here.
4a594c34 6177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6178 Moved ...
4a594c34
AZ
6179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6181 Moved ...
4a594c34 6182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6183 ... here.
4a594c34 6184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6185 Moved ...
4a594c34 6186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6187 ... here.
4a594c34 6188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6189 Moved ...
4a594c34 6190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6191 ... here.
4a594c34 6192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6193 Moved ...
4a594c34
AZ
6194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6196 Moved ...
4a594c34 6197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6198 ... here.
4a594c34 6199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6200 Moved ...
4a594c34 6201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6202 ... here.
4a594c34 6203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6204 Moved ...
4a594c34
AZ
6205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6207 Moved ...
4a594c34 6208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6209 ... here.
4a594c34 6210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6211 Moved ...
4a594c34
AZ
6212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6214 Moved ...
4a594c34
AZ
6215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6217 Moved ...
4a594c34 6218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6219 ... here.
4a594c34 6220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6221 Moved ...
4a594c34 6222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6223 ... here.
4a594c34 6224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6225 Moved ...
4a594c34 6226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6227 ... here.
4a594c34 6228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6229 Moved ...
4a594c34
AZ
6230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6232 Moved ...
4a594c34 6233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6234 ... here.
4a594c34 6235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6236 Moved ...
4a594c34 6237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6238 ... here.
4a594c34
AZ
6239 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6240 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6241 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6242 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6243 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6244 Moved ...
4a594c34 6245 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6246 ... here.
4a594c34
AZ
6247 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6248 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6249 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6250 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6251 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6252 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6253 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6254 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6255 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6256 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6257 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6258 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6259 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6260 Moved ...
4a594c34
AZ
6261 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6262 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6263 Moved ...
4a594c34
AZ
6264 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6265 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6266 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6267 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6268 Moved ...
4a594c34
AZ
6269 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6270 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6271 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6273 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6274 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6275 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6276
0570cfed
W
62772014-06-10 Wilco <wdijkstr@arm.com>
6278
6279 * math/test-fenv-return.c: New file.
6280 * math/Makefile: Add new test test-fenv-return.
6281
f8ba1b56
JM
62822014-06-10 Joseph Myers <joseph@codesourcery.com>
6283
6284 [BZ #17042]
6285 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6286 when x - 1 is zero.
6287 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6288 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6289 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6290 0.0L for an argument of 1.0L.
6291 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6292 Likewise.
6293 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6294 value when x - 1 is zero.
6295 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6296 * sysdeps/i386/fpu/libm-test-ulps: Update.
6297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6298
2c3520d9
BO
62992014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6300
6301 [BZ #15119]
6302 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6303
acaa4d24
RM
63042014-06-09 Roland McGrath <roland@hack.frob.com>
6305
6306 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6307 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6308
962b744d
RM
63092014-06-09 Roland McGrath <roland@hack.frob.com>
6310
d752f0cc
RM
6311 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6312 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6313
34eda6d1
RM
6314 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6315 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6316
50f0a637
RM
6317 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6318 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6319
08f41f04
RM
6320 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6321 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6322
962b744d
RM
6323 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6324 if not already defined.
6325 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6326 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6327 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6328 (TLS_INIT_TP): Use it.
6329 (TLS_DEFINE_INIT_TP): New macro.
6330 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6331
09f19b05
JM
63322014-06-09 Joseph Myers <joseph@codesourcery.com>
6333
6334 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6335 constant.
6336 [POSIX] (IXANY): Likewise.
6337 [POSIX] (OLCUC): Likewise.
6338 [POSIX || POSIX2008] (CBAUD): Do not allow.
6339 [POSIX || POSIX2008] (DEFECHO): Likewise.
6340 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6341 [POSIX || POSIX2008] (ECHOKE): Likewise.
6342 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6343 [POSIX || POSIX2008] (EXTA): Likewise.
6344 [POSIX || POSIX2008] (EXTB): Likewise.
6345 [POSIX || POSIX2008] (FLUSHO): Likewise.
6346 [POSIX || POSIX2008] (LOBLK): Likewise.
6347 [POSIX || POSIX2008] (PENDIN): Likewise.
6348 [POSIX || POSIX2008] (SWTCH): Likewise.
6349 [POSIX || POSIX2008] (VDISCARD): Likewise.
6350 [POSIX || POSIX2008] (VDSUSP): Likewise.
6351 [POSIX || POSIX2008] (VLNEXT): Likewise.
6352 [POSIX || POSIX2008] (VREPRINT): Likewise.
6353 [POSIX || POSIX2008] (VSTATUS): Likewise.
6354 [POSIX || POSIX2008] (VWERASE): Likewise.
6355 (B*): Change to B[0123456789]*.
6356 * conform/data/time.h-data [POSIX || UNIX98]
6357 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6358 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6359 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6360 [POSIX] (tm_*): Do not allow.
6361
686554bf
JM
63622014-06-07 Joseph Myers <joseph@codesourcery.com>
6363
6364 * Makefile (install): Don't set LANGUAGE.
6365 * Makefile.in (install): Likewise.
6366 * assert/Makefile (test-assert-ENV): Remove variable.
6367 (test-assert-perr-ENV): Likewise.
6368 * elf/Makefile (neededtest4-ENV): Likewise.
6369 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6370 [$(cross-compiling) = no]: Don't set LANGUAGE.
6371 * io/ftwtest-sh (LANG): Remove variable.
6372 * libio/Makefile (tst-widetext-ENV): Likewise.
6373 * manual/install.texi (Running make install): Don't refer to
6374 environment settings for make install.
6375 * INSTALL: Regenerated.
6376 * nptl/tst-tls6.sh: Don't set LANG.
6377 * posix/globtest.sh (LANG): Remove variable.
6378 * string/Makefile (tester-ENV): Likewise.
6379 (inl-tester-ENV): Likewise.
6380 (noinl-tester-ENV): Likewise.
6381 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6382 [$(cross-compiling) = no]: Don't set LANGUAGE.
6383 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6384 without explicit environment settings.
6385
68e6b6b1
RM
63862014-06-06 Roland McGrath <roland@hack.frob.com>
6387
6388 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6389 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6390 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6391 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6392
4d3ae034
CM
63932014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6394
6395 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6396 other files in the crypt directory.
6397 * crypt/crypt.c: Remove duplicate includes.
6398 * crypt/crypt-entry.c: Likewise.
6399 * crypt/crypt_util.c: Likewise.
6400
8540f6d2
JM
64012014-06-06 Joseph Myers <joseph@codesourcery.com>
6402
6403 * Makeconfig (run-program-env): New variable.
6404 (run-program-prefix-before-env): Likewise.
6405 (run-program-prefix-after-env): Likewise.
6406 (run-program-prefix): Define in terms of new variables.
6407 (built-program-cmd-before-env): New variable.
6408 (built-program-cmd-after-env): Likewise.
6409 (built-program-cmd): Define in terms of new variables.
6410 (test-program-prefix-before-env): New variable.
6411 (test-program-prefix-after-env): Likewise.
6412 (test-program-prefix): Define in terms of new variables.
6413 (test-program-cmd-before-env): New variable.
6414 (test-program-cmd-after-env): Likewise.
6415 (test-program-cmd): Define in terms of new variables.
6416 * Rules (make-test-out): Use $(run-program-env).
6417 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6418 (help): Do not mention environment variables. Mention
6419 --timeoutfactor option.
6420 (timeoutfactor): New variable.
6421 (blacklist_exports): Remove function.
6422 (exports): Remove variable.
6423 (command): Do not include ${exports}.
6424 * manual/install.texi (Configuring and compiling): Do not mention
6425 test wrappers preserving environment variables. Mention that last
6426 assignment to a variable must take precedence.
6427 * INSTALL: Regenerated.
6428 * benchtests/Makefile (run-bench): Use $(run-program-env).
6429 * catgets/Makefile ($(objpfx)test1.cat): Use
6430 $(built-program-cmd-before-env), $(run-program-env) and
6431 $(built-program-cmd-after-env).
6432 ($(objpfx)test2.cat): Do not specify environment variables
6433 explicitly.
6434 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6435 $(run-program-env) and $(built-program-cmd-after-env).
6436 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6437 $(run-program-env) and $(test-program-cmd-after-env).
6438 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6439 explicitly.
6440 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6441 run_program_env and test_program_cmd_after_env arguments.
6442 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6443 * elf/tst-pathopt.sh: Use run_program_env argument.
6444 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6445 $(test-wrapper-env) and $(run-program-env).
6446 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6447 run_program_env arguments.
6448 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6449 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6450 $(test-program-prefix-before-env), $(run-program-env) and
6451 $(test-program-prefix-after-env).
6452 ($(objpfx)tst-gettext2.out): Likewise.
6453 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6454 run_program_env and test_program_prefix_after_env arguments.
6455 * intl/tst-gettext2.sh: Likewise.
6456 * intl/tst-gettext4.sh: Do not set environment variables
6457 explicitly.
6458 * intl/tst-gettext6.sh: Likewise.
6459 * intl/tst-translit.sh: Likewise.
6460 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6461 $(test-program-prefix-before-env), $(run-program-env) and
6462 $(test-program-prefix-after-env).
6463 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6464 run_program_env and test_program_prefix_after_env arguments.
6465 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6466 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6467 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6468 explicitly with each use of ${test_wrapper_env}.
6469 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6470 $(test-program-prefix-before-env), $(run-program-env) and
6471 $(test-program-prefix-after-env).
6472 * posix/tst-getconf.sh: Do not set environment variables
6473 explicitly.
6474 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6475 run_program_env and test_program_prefix_after_env arguments.
6476 * stdio-common/tst-printf.sh: Do not set environment variables
6477 explicitly.
6478 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6479 $(test-program-prefix-before-env), $(run-program-env) and
6480 $(test-program-prefix-after-env).
6481 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6482 run_program_env and test_program_prefix_after_env arguments.
6483 Split $test calls into $test_pre and $test.
6484 * timezone/Makefile (build-testdata): Use
6485 $(built-program-cmd-before-env), $(run-program-env) and
6486 $(built-program-cmd-after-env).
6487
ed36bfa1
AZ
64882014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6489
6490 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6491 strlen for non SHARED builds.
6492
fc75bf46
SP
64932014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6494
6495 * nptl/allocatestack.c (check_list): Inlined function...
6496 (__reclaim_stacks): ... here.
6497
d89b3d80
OB
64982014-06-05 Ondřej Bílka <neleai@seznam.cz>
6499
6500 [BZ #15698]
6501 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6502 memory overrun.
6503
2bf18041
JM
65042014-06-05 Joseph Myers <joseph@codesourcery.com>
6505
6506 * Rules (make-test-out): Include
6507 LOCPATH=$(common-objpfx)localedata in default environment.
6508 * debug/Makefile (tst-chk1-ENV): Remove variable.
6509 (tst-chk2-ENV): Likewise.
6510 (tst-chk3-ENV): Likewise.
6511 (tst-chk4-ENV): Likewise.
6512 (tst-chk5-ENV): Likewise.
6513 (tst-chk6-ENV): Likewise.
6514 (tst-lfschk1-ENV): Likewise.
6515 (tst-lfschk2-ENV): Likewise.
6516 (tst-lfschk3-ENV): Likewise.
6517 (tst-lfschk4-ENV): Likewise.
6518 (tst-lfschk5-ENV): Likewise.
6519 (tst-lfschk6-ENV): Likewise.
6520 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6521 (tst-iconv7-ENV): Likewise.
6522 * intl/Makefile (LOCPATH-ENV): Likewise.
6523 (tst-codeset-ENV): Likewise.
6524 (tst-gettext3-ENV): Likewise.
6525 (tst-gettext5-ENV): Likewise.
6526 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6527 (tst-fopenloc-ENV): Likewise.
6528 (tst-fgetws-ENV): Remove variable.
6529 (tst-ungetwc1-ENV): Likewise.
6530 (tst-ungetwc2-ENV): Likewise.
6531 (bug-ungetwc2-ENV): Likewise.
6532 (tst-swscanf-ENV): Likewise.
6533 (bug-ftell-ENV): Likewise.
6534 (tst-fgetwc-ENV): Likewise.
6535 (tst-fseek-ENV): Likewise.
6536 (tst-ftell-partial-wide-ENV): Likewise.
6537 (tst-ftell-active-handler-ENV): Likewise.
6538 (tst-ftell-append-ENV): Likewise.
6539 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6540 (tst-regexloc-ENV): Likewise.
6541 (bug-regex1-ENV): Likewise.
6542 (tst-regex-ENV): Likewise.
6543 (tst-regex2-ENV): Likewise.
6544 (bug-regex5-ENV): Likewise.
6545 (bug-regex6-ENV): Likewise.
6546 (bug-regex17-ENV): Likewise.
6547 (bug-regex18-ENV): Likewise.
6548 (bug-regex19-ENV): Likewise.
6549 (bug-regex20-ENV): Likewise.
6550 (bug-regex22-ENV): Likewise.
6551 (bug-regex23-ENV): Likewise.
6552 (bug-regex25-ENV): Likewise.
6553 (bug-regex26-ENV): Likewise.
6554 (bug-regex30-ENV): Likewise.
6555 (bug-regex32-ENV): Likewise.
6556 (bug-regex33-ENV): Likewise.
6557 (bug-regex34-ENV): Likewise.
6558 (bug-regex35-ENV): Likewise.
6559 (tst-rxspencer-ENV): Likewise.
6560 (tst-rxspencer-no-utf8-ENV): Likewise.
6561 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6562 (tst-sscanf-ENV): Likewise.
6563 (tst-swprintf-ENV): Likewise.
6564 (tst-swscanf-ENV): Likewise.
6565 (test-vfprintf-ENV): Likewise.
6566 (scanf13-ENV): Likewise.
6567 (bug14-ENV): Likewise.
6568 (tst-grouping-ENV): Likewise.
6569 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6570 (tst-strtod3-ENV): Likewise.
6571 (tst-strtod4-ENV): Likewise.
6572 (tst-strtod5-ENV): Likewise.
6573 (testmb2-ENV): Likewise./
6574 * string/Makefile (tst-strxfrm-ENV): Likewise.
6575 (tst-strxfrm2-ENV): Likewise.
6576 (bug-strcoll1-ENV): Likewise.
6577 (test-strcasecmp-ENV): Likewise.
6578 (test-strncasecmp-ENV): Likewise.
6579 * time/Makefile (tst-strptime-ENV): Likewise.
6580 (tst-ftime_l-ENV): Likewise.
6581 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6582 (tst-mbrtowc-ENV): Likewise.
6583 (tst-wcrtomb-ENV): Likewise.
6584 (tst-mbrtowc2-ENV): Likewise.
6585 (tst-c16c32-1-ENV): Likewise.
6586 (tst-mbsnrtowcs-ENV): Likewise.
6587
cd1fb604
OB
65882014-06-05 Ondřej Bílka <neleai@seznam.cz>
6589
6590 * manual/resource.texi (How to get information about the memory
6591 subsystem?): Fix typo.
6592 Reported by Peon de la Parra Ivan <peon@keba.com>
6593
b42eca7d
GY
65942014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6595
6596 [BZ #16882]
6597 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6598 (pthread_spin_lock): Branch out of spin loop to proper location.
6599 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6600 (pthread_spin_lock): Likewise.
6601
902b71f9
DM
6602 * nptl/tst-spin4.c: New test.
6603 * nptl/Makefile (tests): Add tst-spin4.
6604
f9d2d032
AS
66052014-06-03 Andreas Schwab <schwab@suse.de>
6606
6607 [BZ #15946]
6608 * resolv/res_send.c (send_dg): Reload file descriptor after
6609 calling reopen.
6610
cf7bfd28
SL
66112014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6612
6613 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6614
111cc714
RH
66152014-06-03 Richard Henderson <rth@redhat.com>
6616
89b4bd6b
RH
6617 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6618 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6619 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6620 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6621 in the SAVE_PID block.
6622 (__libc_vfork): New alias.
71840409 6623 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6624
111cc714
RH
6625 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6626 child in registers, not on the stack. Remove RESET_PID conditionals.
6627 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6628
ccc39911
MS
66292014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6630
6631 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6632
693096cc
W
66332014-06-03 Wilco <wdijkstr@arm.com>
6634
6635 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6636 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6637 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6638 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6639 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6640 Likewise.
6641
0b4366bc
W
66422014-06-03 Wilco <wdijkstr@arm.com>
6643
6644 * sysdeps/aarch64/fpu/math_private.h
6645 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6646 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6647 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6648 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6649 Fix declarations.
6650
8747cd03
KS
66512014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6652
6653 * crypt/crypt-private.h: Include ufc-crypt.h.
6654 (__b64_from_24bit): Declare extern.
6655 * crypt/crypt_util.c(__b64_from_24bit): New function.
6656 (b64t): New static const variable.
6657 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6658 (b64t): Remove variable.
6659 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6660 * crypt/sha256-crypt.c: Include crypt-private.h.
6661 (b64t): Remove variable.
6662 (__sha256_crypt_r): Remove b64_from_24bit and replace
6663 with __b64_from_24bit.
6664 * crypt/sha512-crypt.c: Likewise.
6665
d936d379
RM
66662014-06-02 Roland McGrath <roland@hack.frob.com>
6667
6668 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6669 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6670 Label the code __libc_vfork rather than __vfork.
6671 [!NOT_IN_libc] (vfork): Define as weak alias.
6672 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6673 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6674 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6675
9fa76613
SP
66762014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6677
6678 * malloc/malloc.c (malloc_info): Fix format specifier for
6679 n_mmaps.
6680
a88dadbe
W
66812014-06-02 Wilco <wdijkstr@arm.com>
6682
6683 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6684 FPCR write.
6685
c95b3011
W
66862014-06-02 Wilco <wdijkstr@arm.com>
6687
6688 [BZ #17009]
6689 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6690 Rewrite to reduce FPCR/FPSR accesses.
6691
6b4d7a90
DM
66922014-06-01 David S. Miller <davem@davemloft.net>
6693
6694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6695
30f3d07c
DM
66962014-05-31 David S. Miller <davem@davemloft.net>
6697
6698 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6699 to occur in round to nearest mode when |x| >= 2.0
6700
74f31c18
RH
67012014-05-30 Richard Henderson <rth@twiddle.net>
6702
f0712b54
RH
6703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6704 (PSEUDO_RET_NOERRNO): Remove.
6705 (ret): Don't redefine.
6706 (ret_NOERRNO): Define in terms of ret.
6707 (ret_ERRVAL): Likewise.
6708
74f31c18
RH
6709 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6710 use of PSEUDO_RET; perform the error check directly.
6711
30477995
MM
67122014-05-30 Marko Myllynen <myllynen@redhat.com>
6713
6714 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6715 with __int128_t.
6716
62a58816
SP
67172014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6718
6719 * malloc/malloc (malloc_info): Fix formatting.
6720
4d653a59
SP
67212014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6722 Roland McGrath <roland@hack.frob.com>
6723
6724 * malloc/malloc (malloc_info): Also print mmapped statistics.
6725
5190c17f
RM
67262014-05-30 Roland McGrath <roland@hack.frob.com>
6727
6728 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6729 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6730
987c0269
OB
67312014-05-30 Ondřej Bílka <neleai@seznam.cz>
6732
6733 * malloc/malloc.c (malloc_info): Inline mi_arena.
6734
af4e8ef9
RH
67352014-05-29 Richard Henderson <rth@twiddle.net>
6736
1670e207
RH
6737 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6738 Remove comma before expanding ASM_ARGS_##nr.
6739 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6740 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6741 of ASM_ARGS_##nr.
6742 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6743 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6744 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6745 (ASM_ARGS_1): Add leading comma.
6746
11a28aee
RH
6747 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6748 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6749 to __errno_location.
6750 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6751 Remove the expected plt for __errno_location.
6752
a17e5ffb 6753 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6754 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6755 call to __read_tp.
6756
b5be4597
RH
6757 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6758 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6759 it and break it down.
6760 (DOCARGS_0, DOCARGS_1): Do nothing.
6761 (DOCARGS_2): Update to store into the new stack frame.
6762 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6763 (UNDOCARGS_1): Update to restore from the new stack frame.
6764 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6765 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6766
645d44ab
RH
6767 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6768 (SINGLE_THREAD_P): New parameter for result regno.
6769 (PSEUDO): Update to match; use cbz instead of beq.
6770
a8b4f04a
RH
6771 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6772 Use ENTRY to define the _nocancel entry point. Share the syscall
6773 and syscall error check paths with the cancel path.
6774 (PSEUDO_END): New.
6775
af4e8ef9
RH
6776 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6777 whitespace; tabs before and after asm mnemonics.
6778
26b0d2e1
EW
67792014-05-29 Eric Wong <normalperson@yhbt.net>
6780
6781 [BZ #15132]
6782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6783 Call fstat64 or stat64 internally, depending on arguments passed.
6784 Replace stat buffer argument with file descriptor argument.
6785 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6786 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6787 Pass fd to __internal_statvfs instead of calling fstat64.
6788 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6789 Pass fd to __internal_statvfs64 instead of calling fstat64.
6790 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6791 Pass -1 to __internal_statvfs instead of calling stat64.
6792 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6793 Pass -1 to __internal_statvfs64 instead of calling stat64.
6794
1efe2bd9
RM
67952014-05-28 Roland McGrath <roland@hack.frob.com>
6796
0d3b7a19
RM
6797 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6798 that was previously under [RESET_PID].
6799 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6800
1efe2bd9
RM
6801 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6802 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6803
a6bea3ca
RM
68042014-05-27 Roland McGrath <roland@hack.frob.com>
6805
30b6629e
RM
6806 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6807
a6bea3ca
RM
6808 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6809 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6810
3dfb9a5c
OB
68112014-05-27 Ondřej Bílka <neleai@seznam.cz>
6812
6813 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6814
774f9285
AS
68152014-05-27 Andreas Schwab <schwab@suse.de>
6816
6817 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6818 TLS_INIT_TP macro.
6819 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6820 * elf/rtld.c (init_tls, dl_main): Likewise.
6821 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6822 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6823 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6824 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6825 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6826 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6827 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6828 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6829 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6830 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6831 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6832 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6833 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6834 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6835 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6836 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6837 * sysdeps/generic/tls.h: Update description.
6838
36ffe739
WN
68392014-05-27 Will Newton <will.newton@linaro.org>
6840
6841 [BZ #16990]
6842 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6843 and restore r2 rather than just restoring.
6844
2482ae43
SP
68452014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6846
6847 [BZ #16724]
6848 * libio/tst-ftell-append.c: New test case.
6849 * libio/Makefile (tests): Add test case.
6850 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6851 append mode.
6852 * libio/wfileops.c (do_ftell_wide): Likewise.
6853
3d1024e8
AZ
68542014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855
bab90016
AZ
6856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6857
c7a8d667
AZ
6858 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6859 ...
6860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6862 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6863 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6864 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6865 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6866 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6867 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6868 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6869 Moved ...
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6871 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6872 Moved ...
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6874 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6875 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6876 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6877 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6878 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6879 ...
6880 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6881 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6882 Moved ...
6883 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6884 here.
6885 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6886 ...
6887 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6888 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6889 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6890
daee7851
AZ
6891 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6892 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6893 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6894 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6895
50a40819
AZ
6896 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6897 merge into ...
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6899 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6900 ...
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6902 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6903 ...
6904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6905 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6906 Moved ...
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6908 here.
6909 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6910 Moved ...
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6913 Moved ...
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6915
8464c2a1
AZ
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6917 conditional [RESET_PID].
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6920 removed.
6921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6922 removed.
6923
3d1024e8
AZ
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6925 <tcb-offsets.h>.
6926 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6927 (__libc_vfork): New strong alias.
6928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6929 removed.
6930 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6931 Removed.
6932
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6934 <tcb-offsets.h>.
6935 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6936 (__libc_vfork): New strong alias.
6937 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6938 removed.
6939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6940 removed.
6941
fdfd175d
CD
69422014-05-26 Carlos O'Donell <carlos@redhat.com>
6943
6944 * malloc/malloc.c (mi_arena): New function.
6945 (malloc_info): Remove nested function mi_arena. Call non-nosted
6946 function mi_arena.
6947
d298c416
AZ
69482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949
6950 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6951 by insrwi.
6952 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6953 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6954 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6955 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6957 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6959
b60ea6ff
AS
69602014-05-26 Andreas Schwab <schwab@suse.de>
6961
6962 [BZ #16984]
6963 * locale/programs/repertoire.c (repertoire_read): Add slash
6964 between I18NPATH element and file name.
6965 * locale/programs/locfile.c (locfile_read): Likewise.
6966
67365926
SL
69672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6968
6969 * nptl/pthread_mutexattr_settype.c
6970 (__pthread_mutexattr_settype):
6971 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6972
f8bdf1f0
SL
69732014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6974
6975 * nptl/tst-mutex5 (do_test):
6976 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6977
15eaf6ff
SP
69782014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6979
6980 * benchtests/README: Document 'init' directive.
6981 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6982 BENCH_INIT.
6983 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6984 (parse_file): Recognize 'init' directive.
6985
75f11331
KM
69862014-05-26 Kyle McMartin <kyle@redhat.com>
6987
6988 [BZ #16796]
6989 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6990 alignment of struct pthread.
6991
c3ec475c
SP
69922014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6993
6994 [BZ #16878]
6995 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6996 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6997 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6998 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6999
82aab97c
RH
70002014-05-25 Richard Henderson <rth@twiddle.net>
7001
aa2f176d
RH
7002 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7003 (SINGLE_THREAD_P_PIC): Remove.
7004 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7005 (SINGLE_THREAD_P_PIC): Remove.
7006
ca3cfa40
RH
7007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7008 branch to syscall error ...
7009 (PSEUDO): ... here.
7010 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7011 from __local_syscall_error to .Lsyscall_error.
7012 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7013 (SYSCALL_ERROR): Update label name.
7014
6e6c2d01
RH
7015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7016 Do not use DOARGS/UNDOARGS.
7017 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7018 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7019 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7020 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7021 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7022
c69abcee
RH
7023 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7024 block comment.
7025
82aab97c
RH
7026 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7027 define if !NOT_IN_libc.
7028 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7029 define with non-default symbol versions.
7030
8820e3ac
RH
70312014-05-23 Richard Henderson <rth@twiddle.net>
7032
900e445f
RH
7033 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7034 (vfork, __vfork): Define via compat_symbol.
7035
8820e3ac
RH
7036 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7037 [!HAVE_IFUNC] (vfork_compat): Remove.
7038 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7039
e59252a5
JM
70402014-05-23 Joseph Myers <joseph@codesourcery.com>
7041
7042 [BZ #16978]
7043 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7044 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7045 variable.
7046
132c7f5f
RH
70472014-05-23 Richard Henderson <rth@twiddle.net>
7048
bc89e962
RH
7049 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7050 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7051 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7052 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7053
7054 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7055 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7056 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7057 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7058 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7059 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7060 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7061 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7062 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7063 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7064 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7065 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7066 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7067 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7069 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7071 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7072 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7073 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7074 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7075 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7076 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7077 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7078 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7079 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7080 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7081 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7082 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7083 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7084 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7085 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7086 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7087 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7088 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7089 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7090 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7091 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7092 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7093 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7094 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7095 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7096 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7097 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7098 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7099 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7100 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7101 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7103 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7104 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7105 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7106 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7107 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7108 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7109 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7110
e2fa4bc2
RH
7111 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7112 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7113 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7114 before exiting on error.
7115 (__libc_vfork): New strong alias.
7116 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7117 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7118
279b24e2
RH
7119 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7120 that was previously under [RESET_PID].
7121 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7122
132c7f5f
RH
7123 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7124
b72592e7
JM
71252014-05-23 Joseph Myers <joseph@codesourcery.com>
7126
7127 [BZ #16977]
7128 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7129 value when x - 1 is zero.
7130 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7131 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7132 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7133 0.0L for an argument of 1.0L.
7134 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7135 Likewise.
7136 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7137 value when x - 1 is zero.
7138 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7139 * sysdeps/i386/fpu/libm-test-ulps: Update.
7140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7141
2302d679
RV
71422014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7143
7144 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7145 alphasort and versionsort.
7146
32999d63
AZ
71472014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7148
7149 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7150 macro.
7151 [copysignf]: Likewise.
7152
019324d0
SP
71532014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7154
7155 * crypt/md5-crypt.c: Fix formatting.
7156
34fff5c2
KS
71572014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7158
7159 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7160 (b64_from_24bit): New function.
7161
3d2badac
AZ
71622014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7163
7164 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7165 libc_hidden_builtin_def to ifunc.
7166 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7167 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7168
f7bb179f 71692014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7170
7171 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7172 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7173
4134b50d
JM
71742014-05-21 Joseph Myers <joseph@codesourcery.com>
7175
bb7d0337
JM
7176 * nscd/Depend (linuxthreads): Remove.
7177 (nptl): Add.
7178 * resolv/Depend (linuxthreads): Remove.
7179 * rt/Depend (linuxthreads): Remove.
7180
4134b50d
JM
7181 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7182 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7183 $(common-objpfx)elf/.
7184 (link-libc-before-gnulib): Likewise.
7185 (elfobjdir): Remove variable.
7186 * Makefile (install): Use $(elf-objpfx) instead of
7187 $(common-objpfx)elf/.
7188 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7189 $(elfobjdir)/.
7190 (link-libc-deps): Likewise.
7191 ($(common-objpfx)libc.so): Likewise.
7192 ($(common-objpfx)linkobj/libc.so): Likewise.
7193 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7194 instead of $(common-objpfx)elf/.
7195 (symbolic-link-list): Likewise.
7196 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7197 [$(cross-compiling) = no]: Likewise.
7198 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7199 $(elfobjdir)/.
7200 (static-gnulib-arch): Likewise.
7201 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7202 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7203 $(common-objpfx)elf/.
7204
3612eb8f
RH
72052014-05-21 Richard Henderson <rth@redhat.com>
7206
a6b3657b
RH
7207 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7208 (SINGLE_THREAD_P): Use the correct width load. Fold
7209 into the ldr offset.
7210
3612eb8f
RH
7211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7212 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7213
175cef41
JM
72142014-05-20 Joseph Myers <joseph@codesourcery.com>
7215
7216 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7217 (libgcc_s_resume): Use __attribute_used__.
7218 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7219 Likewise.
7220
e13bccd3
AZ
72212014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7222
7223 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7224 optimization when used with float constants.
7225
7c112a38
AZ
7226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7227
ae75a883
AJ
72282014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7229
7230 [BZ #16915]
7231 * locale/nl_langinfo_l.c: Make direct reference to every
7232 _nl_current_CATEGORY symbol.
7233 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7234 (tests-static): Add tst-langinfo-static.
7235 (tests-special): Add tst-langinfo-static.out.
7236 ($(objpfx)tst-langinfo.out): Redirect output.
7237 ($(objpfx)tst-langinfo-static.out): New.
7238 * localedata/tst-langinfo.sh: Send output to stdout.
7239 * localedata/tst-langinfo-static.c: New file.
7240
4406c41c
AJ
7241 [BZ #16965]
7242 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7243 when the shift amount is modulo the limb size.
7244
4c0a1e63
RH
72452014-05-20 Richard Henderson <rth@redhat.com>
7246
de9d8f20
RH
7247 [BZ #16967]
7248 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7249 Change type of sa_flags from unsigned int to int.
7250
4c0a1e63
RH
7251 [BZ #16966]
7252 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7253
7254 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7255
a60339aa
WN
72562014-05-20 Will Newton <will.newton@linaro.org>
7257
7258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7259 Test the return value of the system call in the nocancel case.
7260
7d05a816
YR
72612014-05-20 Will Newton <will.newton@linaro.org>
7262 Yvan Roux <yvan.roux@linaro.org>
7263
7264 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7265 #include of asm/ptrace.h.
7266 (PTRACE_GET_THREAD_AREA): Remove #undef.
7267 (PTRACE_GETHBPREGS): Likewise.
7268 (PTRACE_SETHBPREGS): Likewise.
7269 (struct user_regs_struct): New structure.
7270 (struct user_fpsimd_struct): New structure.
7271 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7272 #include of asm/ptrace.h and second #include of sys/user.h.
7273 (PTRACE_GET_THREAD_AREA): Remove #undef.
7274 (PTRACE_GETHBPREGS): Likewise.
7275 (PTRACE_SETHBPREGS): Likewise.
7276 (ELF_NGREG): Use new struct user_regs_struct.
7277 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7278
af121e37
AZ
72792014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7280
7281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7283
834caf06
JM
72842014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7285
7286 [BZ #16958]
7287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7288 membar to avoid block loads/stores to overlap previous stores.
7289
e184a918
RH
72902014-05-17 Richard Henderson <rth@redhat.com>
7291
7292 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7293 Create the __##syscall_name##_nocancel entry point.
7294 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7295 Remove; let the sysdep-cancel.h code create it.
7296
f56c7a6a
DM
72972014-05-17 David S. Miller <davem@davemloft.net>
7298
7299 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7300 Protect with __USE_GNU.
7301 (TIOCSET_TEMPT): Likewise.
7302 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7303 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7304 these are already provided in bits/ioctl-types.h
7305
f75616b2
RM
73062014-05-16 Roland McGrath <roland@hack.frob.com>
7307
3edeca86
RM
7308 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7309 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7310
f75616b2
RM
7311 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7312 Use wait4 regardless of [__NR_waitpid].
7313
deb0f7f6
MR
73142014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7315
7316 PR libgcc/60166
7317 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7318 (_FP_NANSIGN_Q): Set the quiet bit.
7319
79520f4b
JM
73202014-05-16 Joseph Myers <joseph@codesourcery.com>
7321
7322 * benchtests/Makefile
7323 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7324 not $(common-objpfx)math/libm.so.
7325 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7326 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7327 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7328 $(common-objpfx)dlfcn/libdl.so.
7329 ($(objpfx)tst-audit8): Depend on $(libm), not
7330 $(common-objpfx)math/libm.so.
7331 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7332 not $(common-objpfx)dlfcn/libdl.so.
7333 * math/Makefile
7334 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7335 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7336 [$(build-shared) = yes].
7337 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7338 $(common-objpfx)nptl/libpthread.so.
7339 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7340 $(common-objpfx)math/libm.so$(libm.so-version) or
7341 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7342 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7343 $(common-objpfx)dlfcn/libdl.so.
7344 * setjmp/Makefile (link-libm): Remove variable.
7345 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7346 * stdio-common/Makefile (link-libm): Remove variable.
7347 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7348 * stdlib/Makefile (link-libm): Remove variable.
7349 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7350 ($(objpfx)tst-strtod-round): Likewise.
7351 ($(objpfx)tst-tininess): Likewise.
7352 ($(objpfx)tst-strtod-underflow): Likewise.
7353 ($(objpfx)tst-strtod6): Likewise.
7354 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7355 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7356 $(common-objpfx)dlfcn/libdl.so.
7357
026b0fe4
AZ
73582014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359
7360 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7361 BSD terminal modes definitions.
7362
def4bcb2
RM
73632014-05-16 Roland McGrath <roland@hack.frob.com>
7364
fe39b021
RM
7365 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7366 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7367
1d1fc46e 7368 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7369 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7370 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7371 Don't do #include_next.
7372 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7373 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7374 Don't do #include_next.
7375 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7376 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7377 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7378 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7379
c72399fb
AM
73802014-05-16 Allan McRae <allan@archlinux.org>
7381
d51d659d
AM
7382 * po/sv.po: Update Swedish translation from translation project.
7383
c72399fb
AM
7384 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7385 in sed expression.
7386
d0583c40
AJ
73872014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7388
7389 [BZ #16917]
7390 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7391 errno if the TIOCGPTN ioctl fails with an error different than
7392 EINVAL.
7393 * login/tst-ptsname.c: New file.
7394 * login/Makefile (tests): Add tst-ptsname.
7395
d16e6ec7
AJ
7396 [BZ #16943]
7397 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7398 and prlimit64.
7399
cf26a0cb
SP
74002014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7401
7402 [BZ #16849]
7403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7404 herrno to return EAI_AGAIN.
7405
5675da1e
RM
74062014-05-14 Roland McGrath <roland@hack.frob.com>
7407
a5d87b3d
RM
7408 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7409 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7410 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7411 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7412 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7413 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7415 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7417 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7418 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7419 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7420 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7421 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7422 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7423 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7429 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7431 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7432 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7433 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7434 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7435 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7436 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7437 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7439 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7441 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7443 Moved ...
7444 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7446 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7448 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7450 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7452 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7454 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7456 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7458 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7460 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7462 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7464 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7466 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7468 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7470 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7472 Moved ...
7473 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7475 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7477 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7479 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7483 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7485 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7487 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7489 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7491 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7493 Moved ...
7494 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7497
039890a6
RM
7498 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7499 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7500 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7501 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7502 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7503 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7504 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7505 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7506 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7507 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7508 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7509 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7510 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7511 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7512 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7513 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7514 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7515 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7516 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7517 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7518 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7519 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7520 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7521 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7522 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7523 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7524 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7525 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7526 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7527 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7528 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7529
65c89320
RM
7530 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7531 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7532
348f8e8c
RM
7533 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7534 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7535 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7536 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7537 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7538 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7539 Moved ...
7540 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7541 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7542 Moved ...
7543 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7544 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7545 Moved ...
7546 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7547 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7548 Moved ...
7549 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7551 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7552 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7553 Moved ...
7554 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7555 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7556 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7557 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7558 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7559 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7560 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7561 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7562 Moved ...
7563 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7564 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7565 Moved ...
7566 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7567 ... here.
7568 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7569 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7570 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7571 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7573 Moved ...
7574 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7575 ... here.
7576 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7577 Moved ...
7578 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7579 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7580 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7581 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7582 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7583 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7584 Moved ...
7585 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7587 Moved ...
7588 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7590 Moved ...
7591 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7593 Moved ...
7594 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7596 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7598 Moved ...
7599 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7600 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7601 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7603 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7604 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7605 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7606 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7607 Moved ...
7608 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7610 Moved ...
7611 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7612 ... here.
7613 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7614 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7616 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7618 Moved ...
7619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7620 ... here.
7621 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7622 Moved ...
7623 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7624 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7625 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7626 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7627 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7628 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7629 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7630 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7631 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7632 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7633 Moved ...
7634 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7635 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7636 Moved ...
7637 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7639 Moved ...
7640 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7641 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7642 Moved ...
7643 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7645 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7647 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7649 Moved ...
7650 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7651 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7652 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7653 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7654 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7655 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7656 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7657 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7658 Moved ...
7659 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7661 Moved ...
7662 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7663 ... here.
7664 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7665 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7667 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7669 Moved ...
7670 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7671 ... here.
7672 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7673 Moved ...
7674 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7675 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7676 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7677 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7678 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7679 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7680 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7681 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7682 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7684 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7685
5085af05
RM
7686 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7687 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7688
708f0813
RM
7689 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7690 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7691
c96067bc
RM
7692 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7693 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7694 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7695 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7696 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7698 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7699 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7700 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7702 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7703 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7704 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7705 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7706 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7707 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7708 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7709 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7710 Moved ...
7711 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7712 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7713 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7715 Moved ...
7716 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7718 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7720 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7722 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7724 Moved ...
7725 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7726 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7727 Moved ...
7728 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7729 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7730 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7732 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7734 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7736 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7738 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7739 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7740 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7742 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7744 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7745
ec136444
RM
7746 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7747 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7748 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7749 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7750 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7751
2fbdf533
RM
7752 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7753 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7754 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7755 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7756 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7757 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7758 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7759 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7760 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7761 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7762
4c68138b
RM
7763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7764 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7765
4eaae765
RM
7766 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7767 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7768 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7769 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7770 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7771 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7772 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7773 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7774 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7775 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7776 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7777 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7778 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7779 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7780 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7781 Update #include.
7782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7783 Likewise.
7784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7785 Likewise.
7786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7787 Likewise.
7788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7789 Likewise.
7790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7791 Likewise.
7792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7793 Likewise.
7794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7795 Likewise.
7796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7797 Likewise.
7798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7799 Likewise.
4ef6befa
RM
7800 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7801 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7803 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7804 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7805 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7807 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7809 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7810 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7811 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7812 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7813 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7814 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7815
941d7dfd
RM
7816 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7817 that was previously under [RESET_PID].
7818 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7819 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7820 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7821
1b731c35
RM
7822 * sysdeps/i386/nptl/Implies: New file.
7823 * sysdeps/x86_64/nptl/Implies: New file.
7824 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7825 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7826 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7827 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7828
e2787137
RM
7829 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7830 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7831 (__libc_vfork): New strong alias.
7832 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7833 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7834
7835 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7836 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7837 (__libc_vfork): New strong alias.
7838 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7839 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7840
5675da1e
RM
7841 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7842 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7843 (__libc_vfork): New strong alias.
7844 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7845 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7846 * nptl/pt-vfork.c: New file.
7847 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7848 (libpthread: GLIBC_2.20): New version set (empty).
7849
4f02e2b8
WN
78502014-05-14 Will Newton <will.newton@linaro.org>
7851
7852 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7853 rather than #if.
7854
0bf061d3
JM
78552014-05-14 Joseph Myers <joseph@codesourcery.com>
7856
1a84c3d6
JM
7857 [BZ #16564]
7858 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7859 arguments with exponent 65 or above.
7860 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7861 arguments 0x1p113L or above.
7862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7863 to arguments 0x1p107L or above.
7864 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7865 positive arguments with exponent 65 or above.
7866 * math/auto-libm-test-in: Add more tests of log1p.
7867 * math/auto-libm-test-out: Regenerated.
7868
01dbacd2
JM
7869 [BZ #16928]
7870 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7871 non-finite arguments is +0.
7872 * math/s_cacosf.c (__cacosf): Likewise.
7873 * math/s_cacosl.c (__cacosl): Likewise.
7874 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update.
7876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7877
913d03c8
JM
7878 [BZ #16927]
7879 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7880 value.
7881 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7882 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7883 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7884 for explicit high bit of mantissa when testing for argument equal
7885 to 1.
7886 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7887 * sysdeps/i386/fpu/libm-test-ulps: Update.
7888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7889
0bf061d3
JM
7890 [BZ #16516]
7891 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7892 (__erf): Scale by 16 instead of 8 in potentially underflowing
7893 case. Ensure exception if result actually underflows.
7894 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7895 (__erff): Scale by 16 instead of 8 in potentially underflowing
7896 case. Ensure exception if result actually underflows.
7897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7898 (efx8): Remove variable.
7899 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7900 case. Ensure exception if result actually underflows.
7901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7902 (efx8): Remove variable.
7903 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7904 case. Ensure exception if result actually underflows.
7905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7906 (efx8): Remove variable.
7907 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7908 case. Ensure exception if result actually underflows.
7909 * math/auto-libm-test-in: Add more tests of erf.
7910 * math/auto-libm-test-out: Regenerated.
7911
73ba67cb
AS
79122014-05-14 Andreas Schwab <schwab@suse.de>
7913
3d8c8bff
AS
7914 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7915 Remove code conditionalized on USE___THREAD.
7916
73ba67cb
AS
7917 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7918 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7919 not definedness.
7920
5c521ecd
JM
79212014-05-14 Joseph Myers <joseph@codesourcery.com>
7922
5e7698c6
JM
7923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7924 Define unconditionally.
7925 (__ASSUME_O_CLOEXEC): Likewise.
7926 (__ASSUME_SOCK_CLOEXEC): Likewise.
7927 (__ASSUME_IN_NONBLOCK): Likewise.
7928 (__ASSUME_PIPE2): Likewise.
7929 (__ASSUME_EVENTFD2): Likewise.
7930 (__ASSUME_SIGNALFD4): Likewise.
7931 (__ASSUME_DUP3): Likewise.
7932 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7933 (__ASSUME_DUP3): Do not define.
7934 (__ASSUME_EVENTFD2): Likewise.
7935 (__ASSUME_IN_NONBLOCK): Likewise.
7936 (__ASSUME_O_CLOEXEC): Likewise.
7937 (__ASSUME_PIPE2): Likewise.
7938 (__ASSUME_SIGNALFD4): Likewise.
7939 (__ASSUME_SOCK_CLOEXEC): Likewise.
7940 (__ASSUME_UTIMES): Undefine.
7941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7942 (__ASSUME_UTIMES): Do not define.
7943 (__ASSUME_O_CLOEXEC): Likewise.
7944 (__ASSUME_SOCK_CLOEXEC): Likewise.
7945 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7946 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7947 0x020621].
7948 (__ASSUME_PIPE2): Likewise.
7949 (__ASSUME_EVENTFD2): Likewise.
7950 (__ASSUME_SIGNALFD4): Likewise.
7951 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7952 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7953 Do not define.
7954 (__ASSUME_EVENTFD2): Likewise.
7955 (__ASSUME_SIGNALFD4): Likewise.
7956 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7957 (__ASSUME_32BITUIDS): Likewise.
7958 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7959 (__ASSUME_IPC64): Likewise.
7960 (__ASSUME_ST_INO_64_BIT): Likewise.
7961 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7962 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7963 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7964 (__ASSUME_UTIMES): Do not define.
7965 (__ASSUME_PSELECT): Likewise.
7966 (__ASSUME_PPOLL): Likewise.
7967 (__ASSUME_O_CLOEXEC): Likewise.
7968 (__ASSUME_SOCK_CLOEXEC): Likewise.
7969 (__ASSUME_IN_NONBLOCK): Likewise.
7970 (__ASSUME_PIPE2): Likewise.
7971 (__ASSUME_EVENTFD2): Likewise.
7972 (__ASSUME_SIGNALFD4): Likewise.
7973 (__ASSUME_DUP3): Likewise.
7974 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7975 (__ASSUME_UTIMES): Likewise.
7976 (__ASSUME_O_CLOEXEC): Likewise.
7977 (__ASSUME_SOCK_CLOEXEC): Likewise.
7978 (__ASSUME_IN_NONBLOCK): Likewise.
7979 (__ASSUME_PIPE2): Likewise.
7980 (__ASSUME_EVENTFD2): Likewise.
7981 (__ASSUME_SIGNALFD4): Likewise.
7982 (__ASSUME_DUP3): Likewise.
7983 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7984 (__ASSUME_UTIMES): Likewise.
7985 (__ASSUME_O_CLOEXEC): Likewise.
7986 (__ASSUME_SOCK_CLOEXEC): Likewise.
7987 (__ASSUME_IN_NONBLOCK): Likewise.
7988 (__ASSUME_PIPE2): Likewise.
7989 (__ASSUME_EVENTFD2): Likewise.
7990 (__ASSUME_SIGNALFD4): Likewise.
7991 (__ASSUME_DUP3): Likewise.
7992 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7993 Likewise.
7994 (__ASSUME_UTIMES): Likewise.
7995 (__ASSUME_EVENTFD2): Likewise.
7996 (__ASSUME_SIGNALFD4): Likewise.
7997 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7998 (__ASSUME_O_CLOEXEC): Likewise.
7999 (__ASSUME_SOCK_CLOEXEC): Likewise.
8000 (__ASSUME_IN_NONBLOCK): Likewise.
8001 (__ASSUME_PIPE2): Likewise.
8002 (__ASSUME_EVENTFD2): Likewise.
8003 (__ASSUME_SIGNALFD4): Likewise.
8004 (__ASSUME_DUP3): Likewise.
8005 (__ASSUME_UTIMES): Undefine.
8006
5c521ecd
JM
8007 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8008 feclearexcept. Remove symbol versioning code.
8009 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8010 symbol versioning code.
8011 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8012 symbol versioning code.
8013 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8014 feupdateenv. Remove symbol versioning code.
8015 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8016 fegetexceptflag. Remove symbol versioning code.
8017 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8018 fesetexceptflag. Remove symbol versioning code.
8019 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8020 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8021 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8022 (__posix_fadvise64_l32): Remove prototype.
8023 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8024 code.
8025
5da9dfad
RM
80262014-05-13 Roland McGrath <roland@hack.frob.com>
8027
8028 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8029 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8030 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8031 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8032
893b4f37
SK
80332014-05-13 Sami Kerola <kerolasa@iki.fi>
8034
8035 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8036 current working directory
8037
e0db6517
RM
80382014-05-13 Roland McGrath <roland@hack.frob.com>
8039
58aa195d
RM
8040 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8041 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8042 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8043 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8044 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8045 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8046 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8047 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8049 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8051 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8052 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8053 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8054 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8055 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8056 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8057 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8058 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8059 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8065 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8066 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8067 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8068 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8069 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8073 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8074 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8075 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8076 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8077 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8078 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8079 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8080 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8081 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8082
8c6d01f0
RM
8083 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8084 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8085
8086 * sysdeps/unix/sysv/linux/arm/Makefile
8087 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8088 Add rt-aeabi_unwind_cpp_pr1.
8089 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8090 Add nptl-aeabi_unwind_cpp_pr1.
8091 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8092 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8093 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8094 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8095 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8096 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8097
8098 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8099 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8100 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8101 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8102
bba6da4e
RM
8103 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8104 Deconditionalize the code that was previously under [RESET_PID].
8105 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8106
e0db6517
RM
8107 * sysdeps/generic/exit-thread.h: New file.
8108 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8109 * include/unistd.h (__exit_thread): Remove declaration.
8110 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8111 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8112 * csu/libc-start.c: Include <exit-thread.h>.
8113 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8114 * nptl/pthread_create.c: Include <exit-thread.h>.
8115 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8116 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8117 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8118 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8119 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8120 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8121 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8122 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8123 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8124 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8125 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8126 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8127 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8128 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8129 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8130 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8131 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8132
01eb16fd
AS
81332014-05-13 Andreas Schwab <schwab@suse.de>
8134
8135 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8136
637461d9
JM
81372014-05-12 Joseph Myers <joseph@codesourcery.com>
8138
8139 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8140 (__ASSUME_UTIMES): Do not condition on kernel version.
8141 (__ASSUME_PSELECT): Define unconditionally.
8142 (__ASSUME_PPOLL): Likewise.
8143 (__ASSUME_ATFCTS): Likewise.
8144 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8145 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8146 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8147 (__ASSUME_UTIMENSAT): Define unconditionally.
8148 (__ASSUME_PRIVATE_FUTEX): Likewise.
8149 (__ASSUME_FALLOCATE): Likewise.
8150 (__ASSUME_O_CLOEXEC): Likewise.
8151 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8152 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8153 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8154 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8155 (__ASSUME_IN_NONBLOCK): Likewise.
8156 (__ASSUME_PIPE2): Likewise.
8157 (__ASSUME_EVENTFD2): Likewise.
8158 (__ASSUME_SIGNALFD4): Likewise.
8159 (__ASSUME_DUP3): Likewise.
8160 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8161 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8162 (__ASSUME_AT_RANDOM): Likewise.
8163 (__ASSUME_PREADV): Likewise.
8164 (__ASSUME_PWRITEV): Likewise.
8165 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8166 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8167 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8168 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8169 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8170 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8171 (__ASSUME_O_CLOEXEC): Define unconditionally.
8172 (__ASSUME_PSELECT): Do not undefine conditionally.
8173 (__ASSUME_PPOLL): Likewise.
8174 (__ASSUME_ATFCTS): Likewise.
8175 (__ASSUME_SET_ROBUST_LIST): Likewise.
8176 (__ASSUME_UTIMENSAT): Likewise.
8177 (__ASSUME_FDATASYNC): Define unconditionally.
8178 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8179 (__ASSUME_SIGFRAME_V2): Likewise.
8180 )__ASSUME_EVENTFD2): Likewise.
8181 (__ASSUME_SIGNALFD4): Likewise.
8182 (__ASSUME_PSELECT): Do not undefine conditionally.
8183 (__ASSUME_PPOLL): Likewise.
8184 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8185 (__ASSUME_PSELECT): Define unconditionally.
8186 (__ASSUME_PPOLL): Likewise.
8187 (__ASSUME_O_CLOEXEC): Likewise.
8188 (__ASSUME_SOCK_CLOEXEC): Likewise.
8189 (__ASSUME_IN_NONBLOCK): Likewise.
8190 (__ASSUME_PIPE2): Likewise.
8191 (__ASSUME_EVENTFD2): Likewise.
8192 (__ASSUME_SIGNALFD4): Likewise.
8193 (__ASSUME_DUP3): Likewise.
8194 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8195 (__ASSUME_O_CLOEXEC): Likewise.
8196 (__ASSUME_SOCK_CLOEXEC): Likewise.
8197 (__ASSUME_IN_NONBLOCK): Likewise.
8198 (__ASSUME_PIPE2): Likewise.
8199 (__ASSUME_EVENTFD2): Likewise.
8200 (__ASSUME_SIGNALFD4): Likewise.
8201 (__ASSUME_DUP3): Likewise.
8202 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8203 (__ASSUME_EVENTFD2): Likewise.
8204 (__ASSUME_SIGNALFD4): Likewise.
8205 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8206
315eb1d8
AS
82072014-05-12 Andreas Schwab <schwab@suse.de>
8208
8209 [BZ #16932]
8210 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8211 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8212 than maximum RPC packet size.
8213 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8214 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8215 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8216 (_nss_nis_getservbyport_r): Likewise.
8217
91df99f7
WN
82182014-05-12 Will Newton <will.newton@linaro.org>
8219
8220 * malloc/Makefile (tests): Add tst-mallopt.
8221 * malloc/tst-mallopt.c: New file.
8222
0a982a29
RM
82232014-05-09 Roland McGrath <roland@hack.frob.com>
8224
8225 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8226 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8227
0ded08a5
AZ
82282014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8229
8230 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8231 (tst-tlsmod6.so): Likewise.
8232
55d4d550
RM
82332014-05-09 Roland McGrath <roland@hack.frob.com>
8234
8235 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8236
77d08aca
JM
82372014-05-09 Joseph Myers <joseph@codesourcery.com>
8238
8239 [BZ #16064]
8240 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8241 and <dl-procinfo.h>.
8242 (__fegetenv): Save SSE state in envp->__eip if supported.
8243 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8244 envp->__eip if supported.
8245 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8246 and <dl-procinfo.h>.
8247 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8248 __data_offset and __data_selector in environment to 0. Set SSE
8249 state if supported.
8250 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8251 test-fenv-sse.
8252 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8253 -mfpmath=sse.
8254 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8255
28162f4d
WN
82562014-05-09 Will Newton <will.newton@linaro.org>
8257
8258 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8259 and libc_relro_required for ARM.
8260 * sysdeps/arm/preconfigure: Regenerate.
8261
5a414ff7
DV
82622014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8263 Stefan Liebler <stli@linux.vnet.ibm.com>
8264
8265 * config.make.in (enable-lock-elision): New Makefile variable.
8266 * configure.ac: Likewise.
8267 * configure: Regenerate.
8268 * sysdeps/s390/configure.ac:
8269 Add check for gcc transactions support.
8270 * sysdeps/s390/configure: Regenerate.
8271 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8272 Build elision files if enabled.
8273 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8274 Add lock elision support for s390.
8275 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8276 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8277 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8278 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8279 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8280 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8281 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8282 Likewise.
8283 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8284 Likewise.
8285 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8286 Likewise.
8287 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8288 Likewise.
8289 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8290 (__lll_timedlock_elision, __lll_lock_elision)
8291 (__lll_unlock_elision, __lll_trylock_elision)
8292 (lll_timedlock_elision, lll_lock_elision)
8293 (lll_unlock_elision, lll_trylock_elision): Add.
8294 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8295 (pthread_mutex_t): Add lock elision support for s390.
8296
1a2f40e5
W
82972014-05-14 Wilco <wdijkstr@arm.com>
8298
8299 * sysdeps/arm/fclrexcpt.c: Cleanup.
8300 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8301 * sysdeps/arm/feenablxcpt.c: Cleanup.
8302 * sysdeps/arm/fegetenv.c: Cleanup.
8303 * sysdeps/arm/fegetexcept.c: Cleanup.
8304 * sysdeps/arm/fegetround.c: Cleanup.
8305 * sysdeps/arm/feholdexcpt.c: Cleanup.
8306 * sysdeps/arm/fesetenv.c: Cleanup.
8307 * sysdeps/arm/fesetround.c: Cleanup.
8308 * sysdeps/arm/feupdateenv.c: Cleanup.
8309 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8310 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8311 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8312 * sysdeps/arm/ftestexcept.c: Cleanup.
8313 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8314 * sysdeps/arm/setfpucw.c: Cleanup.
8315
f63c86fe
WN
83162014-05-09 Will Newton <will.newton@linaro.org>
8317
8318 * sysdeps/arm/armv7/strcmp.S: New file.
8319 * NEWS: Mention addition of ARMv7 optimized strcmp.
8320
7a1a51b5
RM
83212014-05-08 Roland McGrath <roland@hack.frob.com>
8322
95afbbe5
RM
8323 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8324 look for %.ac rather than %.in.
8325
8326 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8327 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8328 * sysdeps/mach/hurd/configure: Regenerated.
8329 * sysdeps/unix/sysv/linux/configure: Regenerated.
8330
7a1a51b5
RM
8331 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8332
5057ad3b
SE
83332014-05-07 Steve Ellcey <sellcey@mips.com>
8334
8335 [BZ# 16922]
8336 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8337 (LONG_SUB): Ditto.
8338 (PTR_SUB): Ditto.
8339
8dc97517
AS
83402014-05-07 Andreas Schwab <schwab@suse.de>
8341
8342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8343 when skipping over non-matching result from nscd.
8344
ce0c5b8f
OB
83452014-05-07 Ondřej Bílka <neleai@seznam.cz>
8346
8347 [BZ #16876]
8348 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8349
a1189263
OB
8350 [BZ #16877]
8351 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8352 nscd security class.
ce0c5b8f 8353
0f58d252
RM
83542014-05-06 Roland McGrath <roland@hack.frob.com>
8355
8356 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8357 * sysdeps/arm/unwind.h: ... here.
8358
83df9ad0
AJ
83592014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8360
ce0c5b8f
OB
8361 [BZ# 16916]
8362 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8363 Define.
83df9ad0 8364
f360f94a
VR
83652014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8366
8367 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8368 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8369 multiarch strncpy for PPC64.
8370 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8371 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8373 multiarch optimizations.
8374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8375 (__libc_ifunc_impl_list): Likewise.
8376 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8377 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8378 multiarch stpncpy for PPC64.
8379 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8380 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8381
978a41c3
AS
83822014-05-06 Andreas Schwab <schwab@suse.de>
8383
8384 [BZ #16912]
8385 * gmon/mcount.c (_MCOUNT_DECL): Use
8386 atomic_compare_and_exchange_bool_acq instead of
8387 catomic_compare_and_exchange_bool_acq.
8388
eb1ed03d
RM
83892014-05-05 Roland McGrath <roland@hack.frob.com>
8390
fe658845
RM
8391 * elf/Makefile (others, install-bin): Remove pldd.
8392 (pldd-modules): Variable removed.
8393 ($(objpfx)pldd): Target removed.
8394 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8395 (others, install-bin): Append pldd here.
8396 ($(objpfx)pldd): New target.
8397
eb1ed03d
RM
8398 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8399 to 0, so the first #if test emitted later doesn't see it undefined.
8400 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8401 * sysdeps/gnu/errlist.c: Regenerated.
8402
19c4bec0
AZ
84032014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8404
8405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8406 [libc_hidden_builtin_def]: Define to empty value.
8407 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8408 [libc_hidden_builtin_def]: Likewise.
8409 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8410 [libc_hidden_builtin_def]: Likewise.
8411 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8412 [libc_hidden_builtin_def]: Likewise.
8413 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8414 __redirect_memcpy and define ifunc as default hidden symbol.
8415 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8416 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8417
7776e669
AC
84182014-05-04 Adam Conrad <adconrad@0c3.net>
8419
8420 * locale/iso-4217.def: Reintroduce XDR currency.
8421
d69aeb12
AM
84222014-05-04 Allan McRae <allan@archlinux.org>
8423
8424 * po/eo.po: Update Esperanto translation from translation project.
8425
8f1df5cf
CD
84262014-05-02 Carlos O'Donell <carlos@redhat.com>
8427
8428 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8429 and FEATURE_INDEX_MAX to 1.
8430 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8431
13e402e7
SE
84322014-05-01 Steve Ellcey <sellcey@mips.com>
8433
8434 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8435 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8436 * iconvdata/big5.c (ONE_DIRECTION): Define.
8437 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8438 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8439 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8440 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8441 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8442 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8443 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8444 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8445 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8446 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8447 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8448 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8449 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8450 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8451 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8452 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8453 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8454 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8455 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8456 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8457 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8458 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8459 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8460 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8461 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8462 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8463 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8464 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8465 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8466 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8467 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8468 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8469 * iconvdata/johab.c (ONE_DIRECTION): Define.
8470 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8471 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8472 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8473 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8474 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8475 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8476 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8477 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8478 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8479 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8480
c727f032
RM
84812014-05-01 Roland McGrath <roland@hack.frob.com>
8482
8f2f08d0
RM
8483 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8484 (_IO_JUMPS_OFFSET): Define to 0.
8485
c727f032
RM
8486 * nptl/sysdeps/pthread/bits/libc-lock.h
8487 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8488 (__libc_lock_define_initialized_recursive): Always define using
8489 initializer. Modern compilers treat uninitialized (implicit zero) and
8490 explicit zero initializers the same (i.e. put the datum in bss).
8491
a849e800
AS
84922014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8493
8494 * nscd/nscd-client.h: Include <string.h>.
8495
5331255b
DM
84962014-05-01 David S. Miller <davem@davemloft.net>
8497
8498 [BZ #16885]
8499 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8500 multiple zero bytes exist at the end of a string.
8501 Reported by Aurelien Jarno <aurelien@aurel32.net>
8502
8503 * string/test-strcmp.c (check): Add explicit test for situations where
8504 there are multiple zero bytes after the first.
8505
4fdfe821
AS
85062014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8507
8508 [BZ #16890]
8509 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8510 when compiling wprintf.
8511 * stdio-common/tstdiomisc.c (t3): New function.
8512 (main): Call it.
8513
0cdddc25
SE
85142014-05-01 Steve Ellcey <sellcey@mips.com>
8515
8516 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8517 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8518 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8519 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8520
6426d77e
SE
85212014-05-01 Steve Ellcey <sellcey@mips.com>
8522
8523 * stdlib/longlong.h: Updated from GCC.
8524
6d96f5e4
WN
85252014-05-01 Will Newton <will.newton@linaro.org>
8526 Bernard Ogden <bernie.ogden@linaro.org>
8527
7470db0c
WN
8528 * NEWS: Update fixed bug list.
8529
6d96f5e4
WN
8530 [BZ #15119]
8531 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8532
211d653c
DM
85332014-04-30 David S. Miller <davem@davemloft.net>
8534
4fa262fa
DM
8535 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8536 (libc_feholdexcept_setround_sparc_ctx): New function.
8537 (libc_fesetenv_sparc_ctx): Likewise.
8538 (libc_feupdateenv_sparc_ctx): Likewise.
8539 (libc_feholdsetround_sparc_ctx): Likewise.
8540 (libc_feholdexcept_setround_ctx): Define.
8541 (libc_feholdexcept_setroundf_ctx): Likewise.
8542 (libc_feholdexcept_setroundl_ctx): Likewise.
8543 (libc_fesetenv_ctx): Likewise.
8544 (libc_fesetenvf_ctx): Likewise.
8545 (libc_fesetenvl_ctx): Likewise.
8546 (libc_feupdateenv_ctx): Likewise.
8547 (libc_feupdateenvf_ctx): Likewise.
8548 (libc_feupdateenvl_ctx): Likewise.
8549 (libc_feresetround_ctx): Likewise.
8550 (libc_feresetroundf_ctx): Likewise.
8551 (libc_feresetroundl_ctx): Likewise.
8552 (libc_feholdsetround_ctx): Likewise.
8553 (libc_feholdsetroundf_ctx): Likewise.
8554 (libc_feholdsetroundl_ctx): Likewise.
8555
1d3d93ef
DM
8556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8557 with __USE_GNU instead of XOPEN cpp guards.
8558
8aa583c3
DM
8559 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8560 0.
8561
211d653c
DM
8562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8563 with XOPEN cpp guards.
8564
60c8f1f6
JB
85652014-04-30 Julian Brown <julian@codesourcery.com>
8566
8567 [BZ #16888]
8568 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8569 handling.
8570
9a461d46
JM
85712014-04-30 Joseph Myers <joseph@codesourcery.com>
8572
d0f5b3f8
JM
8573 [BZ #9894]
8574 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8575 Change to 2.6.32.
8576 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8577 * sysdeps/unix/sysv/linux/configure: Regenerated.
8578 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8579 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8580 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8581 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8582 * README: Update reference to required Linux kernel version.
8583 * manual/install.texi (Linux): Update reference to required Linux
8584 kernel headers version.
8585 * INSTALL: Regenerated.
8586
9a461d46
JM
8587 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8588 header inclusion.
8589 [POSIX] (limits.h): Likewise.
8590 [POSIX] (math.h): Likewise.
8591 [POSIX] (sys/wait.h): Likewise.
8592 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8593 function.
8594 [POSIX] (stddef.h): Do not allow header inclusion.
8595
1775babf
AZ
85962014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8597
57f41c40 8598 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8599
8f630cca
YY
86002014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8601
8602 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8603 Return immediately after lll_futex_wake.
8604
1cdeb237
SP
86052014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8606
bc8f194c
SP
8607 [BZ #16791]
8608 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8609 structure.
8610 (datahead_init_pos): Call datahead_init_common early.
8611 (datahead_init_neg): Likewise.
8612
1cdeb237
SP
8613 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8614 datahead_init_neg): New functions.
8615 * nscd/aicache.c (addhstaiX): Use them.
8616 * nscd/grpcache.c (cache_addgr): Likewise.
8617 * nscd/hstcache.c (cache_addhst): Likewise.
8618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8619 * nscd/netgroupcache.c (do_notfound): Likewise.
8620 (addgetnetgrentX): Likewise.
8621 (addinnetgrX): Likewise.
8622 * nscd/pwdcache.c (cache_addpw): Likewise.
8623 * nscd/servicescache.c (cache_addserv): Likewise.
8624
16b293a7
SP
86252014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8626 Atsushi Onoe <atsushi@onoe.org>
8627
8628 [BZ #14308]
8629 [BZ #12994]
8630 [BZ #13651]
8631 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8632 one response is valid.
8633 * resolv/res_send.c (send_dg): Check for validity of other
8634 response if the current response is a referral.
8635
a28a9b94
SE
86362014-04-29 Steve Ellcey <sellcey@mips.com>
8637
8638 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8639
2ca180e9
SL
86402014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8641
8642 [BZ #16823]
8643 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8644 Always divide by positive zero when computing -Inf result.
8645 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8646 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8647
18f2945a
AZ
86482014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8649
8650 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8651 FPSCR if value do not change.
8652 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8653 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8654 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8655 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8656 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8657 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8658 function.
8659
5abebba4
CD
86602014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8661
8662 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8663 * sysdeps/unix/sysv/linux/hppa: Move directory from
8664 ports/systeps/unix/sysv/linux/hppa.
8665 * README: Update listing for hppa-*-linux-gnu.
8666
f7ed60c2
OB
86672014-04-28 Ondřej Bílka <neleai@seznam.cz>
8668
fff763a5
OB
8669 [BZ #16754]
8670 * manual/stdio.texi (Hook functions): Fix types of stream hook
8671 functions.
f7ed60c2
OB
8672 [BZ #16854]
8673 * socket/sys/socket.h: Fix typo in comment.
8674
df639d73
WD
86752014-04-28 Wilco <wdijkstr@arm.com>
8676
f7ed60c2 8677 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8678 * sysdeps/arm/math_private.h: New file.
8679 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8680
48332d82
L
86812014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8682
8683 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8684 with __int128_t.
8685 (La_x86_64_retval): Likewise.
8686
e5e0d9a4
IB
86872014-04-24 Ian Bolton <ian.bolton@arm.com>
8688
8689 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8690 fpsr if value didn't change.
8691 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8692 to fpcr if value didn't change.
8693 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8694 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8695 fpsr or fpcr if value didn't change.
8696 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8697 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8698 fpcr if value didn't change.
8699 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8700 to fpsr if value didn't change.
8701
bacc75f7
SP
87022014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8703
8704 * nptl/tst-sem3.c: Use test-skeleton.c
8705 (main): Rename to do_test. Use return instead of
8706 exit.
8707 * nptl/tst-sem4.c: Use test-skeleton.c
8708 (main): Rename to do_test.
8709
a059d359
DM
87102014-04-22 David S. Miller <davem@davemloft.net>
8711
8712 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8713 (struct sigaction): New struct member __glibc_reserved0, change
8714 type of sa_flags to int.
8715
ea6c92f3
YZ
87162014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8717
8718 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8719 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8720
766c4a36
SP
87212014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8722
8723 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8724 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8725
140cc7ab
VK
87262014-04-22 Will Newton <will.newton@linaro.org>
8727 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8728
8729 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8730 (__longjmp): Add longjmp and longjmp_target SystemTap
8731 probes.
8732 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8733 (__sigsetjmp): Add setjmp SystemTap probe.
8734
c54e5cf7
CD
87352014-04-17 Carlos O'Donell <carlos@redhat.com>
8736
8737 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8738 match manual order.
8739
75ffb047
AZ
87402014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8741
8742 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8743
2cd925f7
AZ
8744 * sysdeps/powerpc/fpu/fenv_private.h
8745 (libc_feholdexcept_setroundl_ctx): Define to
8746 libc_feholdexcept_setround_ppc_ctx.
8747 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8748 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8749 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8750 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8751
39e6cd8d
IB
87522014-04-17 Ian Bolton <ian.bolton@arm.com>
8753
8754 * sysdeps/aarch64/math-tests.h: New file.
8755
f9281df9
SY
87562014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8757
8758 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8759 New.
8760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8761 Check and set bit_AVX2_Usable.
8762 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8763 macro.
8764 (bit_AVX2): Likewise.
8765 (index_AVX2_Usable): Likewise.
8766 (CPUID_AVX2): Likewise.
8767 (HAS_AVX2): Likewise.
8768
37d35007
WN
87692014-04-17 Will Newton <will.newton@linaro.org>
8770
7c677662
WN
8771 * manual/setjmp.texi (System V contexts): Add note that
8772 calling setcontext on a context created by a call to a
8773 signal handler is undefined. Update text to note that
8774 setcontext from a signal handler is possible but not
8775 recommended.
8776
37d35007 8777 [BZ #16629]
e04a4e9d
WN
8778 * stdlib/tst-setcontext.c: Include signal.h.
8779 (main): Check that the signal stack before and
8780 after swapcontext is the same.
8781
37d35007
WN
8782 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8783 Re-implement to restore registers in user code and avoid
8784 rt_sigreturn system call.
8785
423a7160
W
87862014-04-17 Wilco <wdijkstr@arm.com>
8787
8788 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8789 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8790 * math/test-fenv.c: Skip exception trap tests on targets which only
8791 support non-stop mode.
8792
bc93ab29
IB
87932014-04-17 Ian Bolton <ian.bolton@arm.com>
8794 Wilco Dijkstra <wilco.dijkstra@arm.com>
8795
8796 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8797 (libc_feholdsetround_aarch64_ctx)
8798 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8799 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8800 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8801 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8802 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8803 (libc_feresetround_noexl_ctx): Define.
8804
95fc5fa3
RH
88052014-04-16 Richard Henderson <rth@redhat.com>
8806
ddb04724
RH
8807 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8808
d77c0899
RH
8809 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8810 unwind tables.
8811
a3df56fc
RH
8812 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8813 const from the non-libc, non-ldso copy.
8814
95fc5fa3
RH
8815 * sysdeps/alpha/libm-test-ulps: Regenerate.
8816
7e0b6763
IB
88172014-04-16 Ian Bolton <ian.bolton@arm.com>
8818 Wilco Dijkstra <wilco.dijkstra@arm.com>
8819
8820 * sysdeps/aarch64/fpu/math_private.h: New file.
8821
a9ea2e0c
MS
88222014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8823
8824 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8825
ea8ba7cd
IZ
88262014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8827
7e54fd04 8828 [BZ #16275]
ea8ba7cd
IZ
8829 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8830 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8831 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8832 Intel MPX bound registers before _dl_profile_fixup.
8833 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8834 registers after _dl_profile_fixup. Save and restore bound
8835 registers bnd0/bnd1 when calling _dl_call_pltexit.
8836 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8837 (LR_BND_OFFSET): Likewise.
8838 (LRV_BND0_OFFSET): Likewise.
8839 (LRV_BND1_OFFSET): Likewise.
8840
9f2a4fbc
ST
88412014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8842
8843 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8844 to...
8845 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8846 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8847 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8848 fields.
9f2a4fbc 8849
fd15a59b
ST
88502014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8851
8852 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8853
f19dfa0a
SL
88542014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8855
8856 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8857
4fa8bc3b
SL
88582014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8859
8860 [BZ #14770]
8861 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8862 * sysdeps/s390/configure: Regenerate.
8863
8ea587db
SL
8864 [BZ #16824]
8865 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8866 Set round-to-nearest internally to reduce error accumulation.
8867
aa5f0ff1
AM
88682014-04-16 Alan Modra <amodra@gmail.com>
8869
8870 [BZ #16740]
8871 [BZ #16619]
8872 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8873 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8874 * NEWS: Update fixed bug list.
aa5f0ff1 8875
bb9c256f
SP
88762014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8877
8878 * benchtests/Makefile: Depend on libraries in build directory.
8879 (bench-math): Separate out math tests.
8880 (bench-pthread): Separate out pthread tests.
8881 (bench): Include math and pthread tests.
8882
f737dfd0
CD
88832014-04-14 Carlos O'Donell <carlos@redhat.com>
8884
8885 [BZ #16831]
8886 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8887 _dl_debug_initialize.
8888
0699f766
CD
8889 * configure.ac: Remove SELinux header check.
8890 * configure: Regenerate.
8891 * nscd/selinux.c (perms): Array of const char* to permission names.
8892 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8893 default policy. Call string_to_security_class and string_to_av_perm to
8894 translate strings. Enforce default policy and call avs_has_perm with
8895 results of translated strings.
8896
809bd45f
DM
88972014-04-13 David S. Miller <davem@davemloft.net>
8898
8899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8900
89e691f2
AM
89012014-04-12 Allan McRae <allan@archlinux.org>
8902
8903 [BZ #16838]
8904 * manual/string.texi (Collation Functions): Fix qsort argument
8905 order in example.
8906 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8907
9c9daaeb
CM
89082014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8909
8910 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8911 Make the test a no-op if there are no exceptions defined.
8912
95561fb9
PP
89132014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8914
fe8d072c 8915 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8916 enable-hardcoded-path-in-tests
8917
970c602a
WN
89182014-04-11 Will Newton <will.newton@linaro.org>
8919
8920 * benchtests/Makefile (extra-objs): Add json-lib.o.
8921 (bench-func): Tidy up JSON output.
8922 * benchtests/bench-skeleton.c: Include json-lib.h.
8923 (main): Use JSON library functions to do output of
8924 benchmark results.
8925 * benchtests/bench-timing-type.c (main): Output the
8926 timing type simply, leaving formatting to the user.
8927 * benchtests/json-lib.c: New file.
8928 * benchtests/json-lib.h: Likewise.
8929
36875b06
TR
89302014-04-11 Torvald Riegel <triegel@redhat.com>
8931
8932 [BZ #15215]
8933 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8934 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8935 memory barriers. Add comments.
8936 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8937 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8938 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8939 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8940 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8941 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8942
579db35a
SL
89432014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8944
8945 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8946 * sysdeps/s390/s390-64/configure.ac: ... this ...
8947 * sysdeps/s390/configure.ac: ... to here.
8948 * sysdeps/s390/s390-32/configure: Delete file.
8949 * sysdeps/s390/s390-64/configure: Delete file.
8950 * sysdeps/s390/configure: Regenerate.
8951
c12e9f37
JAPH
89522014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8953
8954 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8955
439bda32
WN
89562014-04-11 Will Newton <will.newton@linaro.org>
8957
8958 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8959 to zero if it is not defined elsewhere. (mtrim): Test
8960 the value of MALLOC_DEBUG with #if rather than #ifdef.
8961
6a5d6ea1
TR
89622014-04-10 Torvald Riegel <triegel@redhat.com>
8963
8964 * benchtests/pthread_once-inputs: New file.
8965 * benchtests/pthread_once-source.c: New file.
8966 * benchtests/README: Update documentation.
8967
a4c75cfd
IZ
89682014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8969 H.J. Lu <hongjiu.lu@intel.com>
8970
7e54fd04 8971 [BZ #16275]
a4c75cfd
IZ
8972 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8973 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8974 * sysdeps/x86_64/configure: Regenerated.
8975 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8976 macro.
8977 (REGISTER_SAVE_RAX): Likewise.
8978 (REGISTER_SAVE_RCX): Likewise.
8979 (REGISTER_SAVE_RDX): Likewise.
8980 (REGISTER_SAVE_RSI): Likewise.
8981 (REGISTER_SAVE_RDI): Likewise.
8982 (REGISTER_SAVE_R8): Likewise.
8983 (REGISTER_SAVE_R9): Likewise.
8984 (REGISTER_SAVE_BND0): Likewise.
8985 (REGISTER_SAVE_BND1): Likewise.
8986 (REGISTER_SAVE_BND2): Likewise.
8987 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8988 bound registers when calling _dl_fixup.
8989
27822ce6
AZ
89902014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8991
8992 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8993 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8994 of its definition.
27822ce6
AZ
8995 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8996 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8997 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8998 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8999 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9000 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9001 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9002
a88ddc90
PTB
90032014-04-09 Peter Brett <peter@peter-b.co.uk>
9004
9005 [BZ #15514]
9006 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9007 pathconf(_PC_NAME_MAX).
9008
01f8eac2
AZ
90092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9010
9011 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9012 Remove macro usage.
9013 (__PTHREAD_SPINS): Move definition to ...
9014 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9015 (__PTHREAD_SPINS): ... here.
9016 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9017 (__PTHREAD_SPIN): Likewise.
9018 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9019 (__PTHREAD_SPIN): Likewise.
9020 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9021 (__PTHREAD_SPIN): Likewise.
9022 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9023 (__PTHREAD_SPIN): Likewise.
9024 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9025 (__PTHREAD_SPIN): Likewise.
9026 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9027 (__PTHREAD_SPIN): Likewise.
9028 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9029 (__PTHREAD_SPIN): Likewise.
9030 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9031 (__PTHREAD_SPIN): Likewise.
9032 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9033 (__PTHREAD_SPIN): Likewise.
9034 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9035 (__PTHREAD_SPIN): Likewise.
9036 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9037 (__PTHREAD_SPIN): Likewise.
9038 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9039 (__PTHREAD_SPIN): Likewise.
9040
de21c33c
AZ
9041 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9042 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9043 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9044 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9045 imply folder.
9046 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9047 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9048 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9049 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9050 correct imply path.
9051 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9052 strlen symbol for non multi-arch builds.
9053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9054 missing hidden_def and weak_alias.
9055
862c472e
CD
90562014-04-08 Carlos O'Donell <carlos@redhat.com>
9057
9058 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9059
8667f90e
WN
90602014-04-07 Will Newton <will.newton@linaro.org>
9061
9062 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9063 and contents. [!_LIBC] Remove #ifndef and contents.
9064 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9065 * string/memccpy.c (__memccpy): Use ANSI prototype.
9066 * string/memfrob.c (memfrob): Likewise.
9067 * string/strcoll.c (STRCOLL): Likewise.
9068 * string/strlen.c (strlen): Likewise.
9069 * string/strtok.c (STRTOK): Likewise.
9070 * string/strcat.c: Remove unused #include of memcopy.h.
9071 (strcat): Use ANSI prototype.
9072 * string/strchr.c: Remove unused #include of memcopy.h.
9073 (strchr): Use ANSI prototype.
9074 * string/strcmp.c: Remove unused #include of memcopy.h.
9075 (strcmp): Use ANSI prototype.
9076 * string/strcpy.c: Remove unused #include of memcopy.h.
9077 (strcpy): Use ANSI prototype.
9078
7ffa9423
AZ
90792014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9080
9081 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9082 * config.make.in (config-extra-cppflags): Set it from
9083 libc_extra_cppflags.
9084 * configure.ac (libc_extra_cflags): Make it accumulate over
9085 configure fragments.
9086 (libc_extra_cppflags): New flag.
9087 * configure. Regenerate.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9089 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9090 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9092
8bd70862
AZ
9093 [BZ #16815]
9094 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9095 result for FE_DOWNWARD rounding mode.
9096 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9097 Likewise.
9098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9099
d42f3448
CM
91002014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9101
9102 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9103 in function argument name.
9104
1c21d115
DS
91052014-04-03 David Svoboda <svoboda@cert.org>
9106
9107 [BZ #5666]
9108 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9109 explicitly.
9110
fcccd512
RM
91112014-04-03 Roland McGrath <roland@hack.frob.com>
9112
9113 * elf/dl-unmap-segments.h: New file.
9114 * sysdeps/generic/ldsodefs.h
9115 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9116 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9117 * elf/dl-fptr.c: Likewise.
9118 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9119 * sysdeps/aarch64/tlsdesc.c: Likewise.
9120 * sysdeps/arm/tlsdesc.c: Likewise.
9121 * sysdeps/i386/tlsdesc.c: Likewise.
9122 * sysdeps/tile/dl-runtime.c: Likewise.
9123 * sysdeps/x86_64/tlsdesc.c: Likewise.
9124 * elf/dl-load.h: New file.
9125 * elf/dl-load.c: Include it.
9126 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9127 Macros moved to dl-load.h.
9128 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9129 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9130 Use _dl_unmap_segments in place of __munmap.
9131 Break out segment-mapping loop into ...
9132 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9133
f6488e2b
WN
91342014-04-03 Will Newton <will.newton@linaro.org>
9135
9136 * elf/dl-lookup.c (do_lookup_x): Remove comment
9137 referring to nested function and move variable
9138 declarations down to before first use.
9139
6f05bafe
JM
91402014-04-02 Joseph Myers <joseph@codesourcery.com>
9141
a84e78c8
JM
9142 [BZ #16799]
9143 [BZ #16800]
9144 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9145 with 0 numerator.
9146 * math/s_catanf.c (__catanf): Likewise.
9147 * math/s_catanh.c (__catanh): Likewise.
9148 * math/s_catanhf.c (__catanhf): Likewise.
9149 * math/s_catanhl.c (__catanhl): Likewise.
9150 * math/s_catanl.c (__catanl): Likewise.
9151 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9152 by positive zero when computing -Inf result.
9153 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9154 (catanh_test): Likewise.
9155 * sysdeps/i386/fpu/libm-test-ulps: Update.
9156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157
6f05bafe
JM
9158 [BZ #16789]
9159 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9160 instead of using underflowing value in computing result.
9161 * math/s_clog10.c (__clog10): Likewise.
9162 * math/s_clog10f.c (__clog10f): Likewise.
9163 * math/s_clog10l.c (__clog10l): Likewise.
9164 * math/s_clogf.c (__clogf): Likewise.
9165 * math/s_clogl.c (__clogl): Likewise.
9166 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9167 (clog10_test): Likewise.
9168 * sysdeps/i386/fpu/libm-test-ulps: Update.
9169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9170
b0abbc21
AM
91712014-04-02 Alan Modra <amodra@gmail.com>
9172
9173 [BZ #16739]
9174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9175 output when value is near a power of two. Use int64_t for lx and
9176 remove casts. Use decimal rather than hex exponent constants.
9177 Don't use long double multiplication when double will suffice.
9178 * math/libm-test.inc (nextafter_test_data): Add tests.
9179 * NEWS: Add 16739 and 16786 to bug list.
9180
af6b1797
AM
9181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9182
483818d7
AM
9183 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9184
f6c55796
WN
91852014-04-01 Will Newton <will.newton@linaro.org>
9186
9187 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9188 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9189
13f7fe35
FW
91902014-04-01 Florian Weimer <fweimer@redhat.com>
9191
9192 [BZ #13347]
9193 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9194 * nptl/tst-setuid2.c: New file.
9195 * nptl/Makefile (xtests): Add tst-setuid2.
9196
c859b32e
AM
91972014-04-01 Alan Modra <amodra@gmail.com>
9198
9199 [BZ #16786]
9200 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9201
54fa2475
JM
92022014-03-31 Joseph Myers <joseph@codesourcery.com>
9203
8795b4a4
JM
9204 [BZ #6803]
9205 [BZ #6804]
9206 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9207 set errno as appropriate.
9208 * math/w_scalbf.c (__scalbf): Likewise.
9209 * math/w_scalbl.c (__scalbl): Likewise.
9210 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9211 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9212 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9213 Add more NaN tests.
9214
54fa2475
JM
9215 [BZ #16349]
9216 * math/w_atan2.c: Include <errno.h>.
9217 (__atan2): Set errno for result underflowing to zero.
9218 * math/w_atan2f.c: Include <errno.h>.
9219 (__atan2f): Set errno for result underflowing to zero.
9220 * math/w_atan2l.c: Include <errno.h>.
9221 (__atan2l): Set errno for result underflowing to zero.
9222 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9223 tests.
9224 * math/auto-libm-test-out: Regenerated.
9225
757d9dd5
AZ
92262014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9227
9228 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9229 Encode instruction correctly in little endian.
9230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9231 Likewise.
9232 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9233 Likewise.
9234 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9235 Likewise.
9236 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9237 Likewise.
9238
d7a68734
JM
92392014-03-31 Joseph Myers <joseph@codesourcery.com>
9240
47c5adeb
JM
9241 [BZ #9894]
9242 * sysdeps/unix/sysv/linux/kernel-features.h
9243 [__sparc__ && !__arch64__ && !__sparc_v9__]
9244 (__ASSUME_SET_ROBUST_LIST): Do not define.
9245 [__sparc__ && !__arch64__ && !__sparc_v9__]
9246 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9247 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9248 Likewise.
9249 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9250 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9251 (__ASSUME_REQUEUE_PI): Likewise.
9252 (__ASSUME_SET_ROBUST_LIST): Likewise.
9253 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9254 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9255 Undefine.
9256 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9257 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9258 Likewise.
9259 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9260 Likewise.
9261 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9262 Likewise.
9263 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9264 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9265 Undefine.
9266 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9267 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9268 Likewise.
9269
d7a68734
JM
9270 [BZ #16648]
9271 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9272 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9273 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9274
c760f5c2
WN
92752014-03-31 Will Newton <will.newton@linaro.org>
9276
9277 * benchtests/Makefile (bench): Add ffs and ffsll to list
9278 of tests.
9279 * benchtests/ffs-inputs: New file.
9280 * benchtests/ffsll-inputs: Likewise.
9281
ea6029b1
JM
92822014-03-29 Joseph Myers <joseph@codesourcery.com>
9283
9284 [BZ #16770]
9285 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9286 too large before casting to int.
9287 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9288 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9289 * math/libm-test.inc (scalb_test_data): Add more tests.
9290
cf806aff
SP
92912014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9292
56737508
SP
9293 * benchtests/Makefile (DETAILED_OPT): New make option.
9294 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9295 set.
9296 * benchtests/bench-skeleton.c: Include stdbool.h.
9297 (main): Store and print timings per input.
9298 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9299 member to each argument value.
9300 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9301 (_print_arg_data): Initialize per-input timing to 0.
9302
cb5e4aad
SP
9303 * benchtests/Makefile (timing-type): New binary.
9304 (bench-clean): Also remove bench-timing-type.
9305 (bench): New target for timing-type.
9306 (bench-func): Print output in JSON format.
9307 * benchtests/bench-skeleton.c (main): Print output in JSON
9308 format.
9309 * benchtests/bench-timing-type.c: New file.
9310 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9311 (TIMING_PRINT_STATS): Remove.
9312 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9313 name separately.
9314
cf806aff
SP
9315 * benchtests/bench-modf.c: Remove.
9316 * benchtests/modf-inputs: New inputs file.
9317
289e0779
JM
93182014-03-28 Joseph Myers <joseph@codesourcery.com>
9319
9320 [BZ #16362]
9321 * math/s_clog10.c (M_PI_LOG10E): New macro.
9322 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9323 imaginary parts are 0.
9324 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9325 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9326 imaginary parts are 0.
9327 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9328 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9329 imaginary parts are 0.
9330 * math/libm-test.inc (clog10_test_data): Update expected results
9331 for when real and imaginary parts are 0.
9332
277ae3f1
PP
93332014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9334
9335 * elf/dl-load.c: Finish conversion of __builtin_expect into
9336 __glibc_{un}likely.
9337
03a7091f
JM
93382014-03-27 Joseph Myers <joseph@codesourcery.com>
9339
9340 [BZ #16348]
9341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9342 1+x for argument with exponent below -67.
9343 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9344 Likewise.
9345 * math/auto-libm-test-in: Add more tests of exp.
9346 * math/auto-libm-test-out: Regenerated.
9347
ea7d8b95
SP
93482014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9349
dd3022d7
SP
9350 [BZ #16759]
9351 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9352 (nscd_getnetgrent): Use it.
9353
ea7d8b95
SP
9354 [BZ #16760]
9355 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9356 of stpcpy.
9357
df5b85da
AK
93582014-03-27 Andi Kleen <ak@linux.intel.com>
9359
57f41c40
AS
9360 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9361 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9362 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9363 (lll_robust_unlock): Remove out of line section. Use cfi
9364 intrinsics.
df5b85da 9365 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9366 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9367 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9368 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9369 (lll_robust_unlock): Remove out of line section. Use cfi
9370 intrinsics.
df5b85da
AK
9371 (LLL_STUB_UNWIND_INFO*): Remove.
9372
fbd6b5a4
SP
93732014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9374
9375 [BZ #16758]
9376 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9377 blank values.
9378
1b26b855
PP
93792014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9380
9381 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9382
9be36fb8
JM
93832014-03-26 Joseph Myers <joseph@codesourcery.com>
9384
9385 [BZ #16198]
9386 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9387 fnstenv.
9388 * math/test-fenv-preserve.c: New file.
9389 * math/Makefile (tests): Add test-fenv-preserve.
9390
60a2f3c1
WN
93912014-03-26 Will Newton <will.newton@linaro.org>
9392
9393 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9394
a5e5f1e2
RM
93952014-03-25 Roland McGrath <roland@hack.frob.com>
9396
9397 * scripts/versionlist.awk: Partition the version sets and emit all
9398 GLIBC_* (sorted) before all others (sorted).
9399
00f4012a
JM
94002014-03-25 Joseph Myers <joseph@codesourcery.com>
9401
9402 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9403 GLIBC_2.2.5 version.
9404
7bc5a741
AZ
94052014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9406
9407 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9408 calls.
9409
7578473b
AZ
9410 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9411 previous change.
9412
f3f1dab3
AZ
9413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9414
6da36183
AS
94152014-03-25 Andreas Schwab <schwab@suse.de>
9416
9417 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9418 label to be used after in6ailist is initialized.
9419
f3f1dab3 94202014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9421
7578473b 9422 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9423 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9424
046651c1
JM
94252014-03-25 Joseph Myers <joseph@codesourcery.com>
9426
9427 [BZ #16357]
9428 [BZ #16599]
9429 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9430 min_plus_half.
9431 (fp_formats): Update initializers.
9432 (init_fp_formats): Initialize new field.
9433 (output_for_one_input_case): Allow underflow for results up to
9434 min_plus_half.
9435 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9436 * math/auto-libm-test-in: Don't mark some underflows from asin and
9437 atanh as spurious.
9438 * math/auto-libm-test-out: Regenerated.
9439 * sysdeps/i386/fpu/libm-test-ulps: Update.
9440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9441
003e49ed
AS
94422014-03-25 Andreas Schwab <schwab@suse.de>
9443
9444 * libio/Makefile (tst-ftell-partial-wide-ENV)
9445 (tst-ftell-active-handler-ENV): Define.
9446
de031874
SL
94472014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9448
9449 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9450
55a81e3b
PP
94512014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9452
9453 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9454
f3426898
JM
94552014-03-24 Joseph Myers <joseph@codesourcery.com>
9456
9457 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9458 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9459 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9460
a42faf59
PP
94612014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9462
9463 [BZ #16634]
a42faf59 9464 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9465 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9466 (open_path): Change from boolean 'secure' to complete flag 'mode'
9467 (_dl_map_object): Adjust.
a42faf59
PP
9468 * elf/Makefile (tests): Add tst-dlopen-aout.
9469 * elf/tst-dlopen-aout.c: New test.
9470
50936127
SL
94712014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9472
9473 [BZ #16714]
9474 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9475 (struct stat): Rename member pad0 to __glibc_reserved0.
9476
26011b5c
SL
9477 [BZ #16712]
9478 * sysdeps/s390/s390-32/bits/wordsize.h
9479 (__WORDSIZE32_SIZE_ULONG): New define.
9480 * sysdeps/s390/s390-64/bits/wordsize.h
9481 (__WORDSIZE32_SIZE_ULONG): Likewise.
9482 * sysdeps/generic/stdint.h (SIZE_MAX):
9483 Define as UL if __WORDSIZE32_SIZE_ULONG.
9484
a2d86bf1
SL
9485 [BZ #16713]
9486 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9487 (__glibc_reserved0): New variable.
9488 (sa_flags): Change type to int.
9489
78b6eebc
SL
9490 * posix/Makefile (before-compile): Use += before-compile instead
9491 of a :=.
9492
f1399b5a
SL
9493 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9494 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9495
a071766e
AS
94962014-03-20 Andreas Schwab <schwab@suse.de>
9497
9498 [BZ #16743]
9499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9500 non-matching result from nscd.
9501
27c673b8
SP
95022014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9503
9504 * scripts/bench.py: Moved to ...
9505 * benchtests/scripts/bench.py: ... here.
9506 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9507
44152e4b
AS
95082014-03-24 Andreas Schwab <schwab@suse.de>
9509
9510 [BZ #16002]
9511 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9512 alloca_account and account alloca use for struct in6ailist.
9513
b376a11a
JM
95142014-03-24 Joseph Myers <joseph@codesourcery.com>
9515
9516 [BZ #16284]
9517 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9518 rounding mode to recompute results that overflow to infinity or
9519 underflow to zero.
9520 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9521 bug 16284.
9522 * math/auto-libm-test-out: Regenerated.
9523 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9524 (ccosh_test): Likewise.
9525 (csin_test_data): Use plus_oflow.
9526 (csin_test): Use ALL_RM_TEST.
9527 (csinh_test_data): Use plus_oflow.
9528 (csinh_test): Use ALL_RM_TEST.
9529 * sysdeps/i386/fpu/libm-test-ulps: Update.
9530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9531
f7be7376
JM
95322014-03-21 Joseph Myers <joseph@codesourcery.com>
9533
1ca2d03e
JM
9534 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9535 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9536 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9537
f7be7376
JM
9538 [BZ #16731]
9539 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9540 when x - 1 is zero.
9541 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9542 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9543 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9544 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9545 argument is 1.
9546 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9547 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9548 zero.
9549 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9550 * sysdeps/i386/fpu/libm-test-ulps: Update.
9551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9552
fdf4534d
SP
95532014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9554
df26ea53
SP
9555 * scripts/bench.pl: Remove file.
9556 * scripts/bench.py: New benchmark script.
9557 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9558 * benchtests/README: Mention python dependency.
9559 * scripts/pylintrc: New file.
9560 * scripts/pylint: New file.
9561
fdf4534d
SP
9562 * bits/mathdef.h: Use #ifdef instead of #if.
9563 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9564 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9565 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9566 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9567 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9568 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9569
6f23d093
AZ
95702014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9571 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9572
9573 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9575 and strpbrk-ppc64 objects.
9576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9577 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9578 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9579 multiarch strpbrk for POWER7.
9580 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9581 multiarch strpbrk for PPC64.
9582 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9583 ifunc selector.
9584 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9585 strpbrk for POWER7.
9586
8c92dfff
JM
95872014-03-20 Joseph Myers <joseph@codesourcery.com>
9588
9589 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9590 (atan_test): Likewise.
9591 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9592 (atanh_test): Use ALL_RM_TEST.
9593 (atan2_test_data): Likewise.
9594 (cabs_test): Likewise.
9595 (cacosh_test): Likewise.
9596 (carg_test): Likewise.
9597 (casin_test): Likewise.
9598 (casinh_test): Likewise.
9599 (cbrt_test): Likewise.
9600 (csqrt_test): Likewise.
9601 (erf_test): Likewise.
9602 (erfc_test): Likewise.
9603 (pow10_test): Likewise.
9604 (exp2_test): Likewise.
9605 (hypot_test): Likewise.
9606 (j0_test): Likewise.
9607 (j1_test): Likewise.
9608 (lgamma_test): Likewise.
9609 (gamma_test): Likewise.
9610 (sincos_test): Likewise.
9611 (tanh_test): Likewise.
9612 (y0_test): Likewise.
9613 (y1_test): Likewise.
9614 * sysdeps/i386/fpu/libm-test-ulps: Update.
9615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9616
6eaf95cb
AZ
96172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9618
a387428c
SP
9619 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9621 and strcspn-ppc64 objects.
9622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9623 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9624 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9625 multiarch strcspn for POWER7.
9626 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9627 multiarch strcspn for PPC64.
9628 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9629 ifunc selector.
9630 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9631 strcspn for POWER7.
9632
ae3a5dff
JM
96332014-03-20 Joseph Myers <joseph@codesourcery.com>
9634
9635 * math/gen-libm-test.pl (generate_testfile): Expect only function
9636 name as argument to AUTO_TESTS_* and pass results for all rounding
9637 modes to parse_args.
9638 (parse_auto_input): Separate inputs of automatic tests from
9639 outputs before storing in %auto_tests.
9640 * math/libm-test.inc (acos_test_data): Update call to
9641 AUTO_TESTS_f_f.
9642 (acos_test): Use ALL_RM_TEST.
9643 (acos_tonearest_test_data): Remove.
9644 (acos_test_tonearest): Likewise.
9645 (acos_towardzero_test_data): Likewise.
9646 (acos_test_towardzero): Likewise.
9647 (acos_downward_test_data): Likewise.
9648 (acos_test_downward): Likewise.
9649 (acos_upward_test_data): Likewise.
9650 (acos_test_upward): Likewise.
9651 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9652 (asin_test_data): Likewise.
9653 (asin_test): Use ALL_RM_TEST.
9654 (asin_tonearest_test_data): Remove.
9655 (asin_test_tonearest): Likewise.
9656 (asin_towardzero_test_data): Likewise.
9657 (asin_test_towardzero): Likewise.
9658 (asin_downward_test_data): Likewise.
9659 (asin_test_downward): Likewise.
9660 (asin_upward_test_data): Likewise.
9661 (asin_test_upward): Likewise.
9662 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9663 (atan_test_data): Likewise.
9664 (atanh_test_data): Likewise.
9665 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9666 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9667 (carg_test_data): Likewise.
9668 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9669 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9670 (ccosh_test_data): Likewise.
9671 (cexp_test_data): Likewise.
9672 (clog_test_data): Likewise.
9673 (clog10_test_data): Likewise.
9674 (cos_test_data): Update call to AUTO_TESTS_f_f.
9675 (cos_test): Use ALL_RM_TEST.
9676 (cos_tonearest_test_data): Remove.
9677 (cos_test_tonearest): Likewise.
9678 (cos_towardzero_test_data): Likewise.
9679 (cos_test_towardzero): Likewise.
9680 (cos_downward_test_data): Likewise.
9681 (cos_test_downward): Likewise.
9682 (cos_upward_test_data): Likewise.
9683 (cos_test_upward): Likewise.
9684 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9685 (cosh_test): Use ALL_RM_TEST.
9686 (cosh_tonearest_test_data): Remove.
9687 (cosh_test_tonearest): Likewise.
9688 (cosh_towardzero_test_data): Likewise.
9689 (cosh_test_towardzero): Likewise.
9690 (cosh_downward_test_data): Likewise.
9691 (cosh_test_downward): Likewise.
9692 (cosh_upward_test_data): Likewise.
9693 (cosh_test_upward): Likewise.
9694 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9695 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9696 (ctan_test_data): Likewise.
9697 (ctan_test): Use ALL_RM_TEST.
9698 (ctan_tonearest_test_data): Remove.
9699 (ctan_test_tonearest): Likewise.
9700 (ctan_towardzero_test_data): Likewise.
9701 (ctan_test_towardzero): Likewise.
9702 (ctan_downward_test_data): Likewise.
9703 (ctan_test_downward): Likewise.
9704 (ctan_upward_test_data): Likewise.
9705 (ctan_test_upward): Likewise.
9706 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9707 (ctanh_test): Use ALL_RM_TEST.
9708 (ctanh_tonearest_test_data): Remove.
9709 (ctanh_test_tonearest): Likewise.
9710 (ctanh_towardzero_test_data): Likewise.
9711 (ctanh_test_towardzero): Likewise.
9712 (ctanh_downward_test_data): Likewise.
9713 (ctanh_test_downward): Likewise.
9714 (ctanh_upward_test_data): Likewise.
9715 (ctanh_test_upward): Likewise.
9716 (erf_test_data): Update call to AUTO_TESTS_f_f.
9717 (erfc_test_data): Likewise.
9718 (exp_test_data): Likewise.
9719 (exp_test): Use ALL_RM_TEST.
9720 (exp_tonearest_test_data): Remove.
9721 (exp_test_tonearest): Likewise.
9722 (exp_towardzero_test_data): Likewise.
9723 (exp_test_towardzero): Likewise.
9724 (exp_downward_test_data): Likewise.
9725 (exp_test_downward): Likewise.
9726 (exp_upward_test_data): Likewise.
9727 (exp_test_upward): Likewise.
9728 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9729 (exp10_test): Use ALL_RM_TEST.
9730 (exp10_tonearest_test_data): Remove.
9731 (exp10_test_tonearest): Likewise.
9732 (exp10_towardzero_test_data): Likewise.
9733 (exp10_test_towardzero): Likewise.
9734 (exp10_downward_test_data): Likewise.
9735 (exp10_test_downward): Likewise.
9736 (exp10_upward_test_data): Likewise.
9737 (exp10_test_upward): Likewise.
9738 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9739 (expm1_test_data): Likewise.
9740 (expm1_test): Use ALL_RM_TEST.
9741 (expm1_tonearest_test_data): Remove.
9742 (expm1_test_tonearest): Likewise.
9743 (expm1_towardzero_test_data): Likewise.
9744 (expm1_test_towardzero): Likewise.
9745 (expm1_downward_test_data): Likewise.
9746 (expm1_test_downward): Likewise.
9747 (expm1_upward_test_data): Likewise.
9748 (expm1_test_upward): Likewise.
9749 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9750 (fma_test): Use ALL_RM_TEST.
9751 (fma_towardzero_test_data): Remove.
9752 (fma_test_towardzero): Likewise.
9753 (fma_downward_test_data): Likewise.
9754 (fma_test_downward): Likewise.
9755 (fma_upward_test_data): Likewise.
9756 (fma_test_upward): Likewise.
9757 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9758 (j0_test_data): Update call to AUTO_TESTS_f_f.
9759 (j1_test_data): Likewise.
9760 (jn_test_data): Update call to AUTO_TESTS_if_f.
9761 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9762 (log_test_data): Update call to AUTO_TESTS_f_f.
9763 (log10_test_data): Likewise.
9764 (log1p_test_data): Likewise.
9765 (log2_test_data): Likewise.
9766 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9767 (pow_tonearest_test_data): Likewise.
9768 (sin_test_data): Update call to AUTO_TESTS_f_f.
9769 (sin_test): Use ALL_RM_TEST.
9770 (sin_tonearest_test_data): Remove.
9771 (sin_test_tonearest): Likewise.
9772 (sin_towardzero_test_data): Likewise.
9773 (sin_test_towardzero): Likewise.
9774 (sin_downward_test_data): Likewise.
9775 (sin_test_downward): Likewise.
9776 (sin_upward_test_data): Likewise.
9777 (sin_test_upward): Likewise.
9778 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9779 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9780 (sinh_test): Use ALL_RM_TEST.
9781 (sinh_tonearest_test_data): Remove.
9782 (sinh_test_tonearest): Likewise.
9783 (sinh_towardzero_test_data): Likewise.
9784 (sinh_test_towardzero): Likewise.
9785 (sinh_downward_test_data): Likewise.
9786 (sinh_test_downward): Likewise.
9787 (sinh_upward_test_data): Likewise.
9788 (sinh_test_upward): Likewise.
9789 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9790 (sqrt_test): Use ALL_RM_TEST.
9791 (sqrt_tonearest_test_data): Remove.
9792 (sqrt_test_tonearest): Likewise.
9793 (sqrt_towardzero_test_data): Likewise.
9794 (sqrt_test_towardzero): Likewise.
9795 (sqrt_downward_test_data): Likewise.
9796 (sqrt_test_downward): Likewise.
9797 (sqrt_upward_test_data): Likewise.
9798 (sqrt_test_upward): Likewise.
9799 (tan_test_data): Update call to AUTO_TESTS_f_f.
9800 (tan_test): Use ALL_RM_TEST.
9801 (tan_tonearest_test_data): Remove.
9802 (tan_test_tonearest): Likewise.
9803 (tan_towardzero_test_data): Likewise.
9804 (tan_test_towardzero): Likewise.
9805 (tan_downward_test_data): Likewise.
9806 (tan_test_downward): Likewise.
9807 (tan_upward_test_data): Likewise.
9808 (tan_test_upward): Likewise.
9809 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9810 (tgamma_test_data): Likewise.
9811 (y0_test_data): Likewise.
9812 (y1_test_data): Likewise.
9813 (yn_test_data): Update call to AUTO_TESTS_if_f.
9814 (main): Do not call removed functions.
9815
d71aeee8
JM
98162014-03-19 Joseph Myers <joseph@codesourcery.com>
9817
9818 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9819 (ldexp_test_data): Remove.
9820 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9821 scalbn_test_data.
9822 (scalb_test): Use ALL_RM_TEST.
9823
baaf1ded
AS
98242014-03-19 Andreas Schwab <schwab@suse.de>
9825
9826 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9827
b1115e91
JM
98282014-03-19 Joseph Myers <joseph@codesourcery.com>
9829
9830 [BZ #16649]
9831 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9832 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9833 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9835 (__ASSUME_PREADV): Undefine.
9836 (__ASSUME_PWRITEV): Likewise.
9837
0283ecca
RM
98382014-03-18 Roland McGrath <roland@hack.frob.com>
9839
7d375303
RM
9840 * bits/mman-linux.h: Add comment about non-Linux use.
9841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9842 bits/mman-linux.h resting place.
9843
0283ecca
RM
9844 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9845 * bits/mman-linux.h: ... here.
9846
aebe1003
AZ
98472014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9848
9849 * conform/conformtest.pl: Add standard definition when calling C
9850 preprocessor on data files.
9851 (checknamespace): Remove unused variable.
9852
b29b6bb8
JM
98532014-03-18 Joseph Myers <joseph@codesourcery.com>
9854
9855 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9856 minus_oflow, plus_uflow and minus_uflow in expected results.
9857 * math/libm-test.inc (scalbn_test_data): Add more tests of
9858 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9859 minus_uflow.
9860 (scalbn_test): Use ALL_RM_TEST.
9861 (scalbln_test_data): Add more tests of negative arguments. Use
9862 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9863 (scalbln_test): Use ALL_RM_TEST.
9864
c8f8fa15
RM
98652014-03-18 Roland McGrath <roland@hack.frob.com>
9866
9867 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9868
fede7a5f
WN
98692014-03-18 Will Newton <will.newton@linaro.org>
9870
9871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9872 inaccurate comment.
9873
80cf0a58
JM
98742014-03-18 Joseph Myers <joseph@codesourcery.com>
9875
9876 * Makerules [!subdir] (check-abi): Exit with error status if a
9877 test failed.
9878
b3620862
JM
98792014-03-17 Joseph Myers <joseph@codesourcery.com>
9880
9881 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9882 for rint. Include results for all rounding modes.
9883 (nearbyint_test): Use ALL_RM_TEST.
9884 (rint_test_data): Include all tests used for nearbyint.
9885
788bba36
WN
98862014-03-17 Will Newton <will.newton@linaro.org>
9887
04ec140a
WN
9888 * nptl/sysdeps/pthread/pthread.h: Revert previous
9889 change.
9890
7579d8d5
WN
9891 * sysdeps/generic/ldsodefs.h: Revert previous
9892 change.
9893
c15cf13a
WN
9894 * libio/genops.c: Revert previous change.
9895 * libio/libioP.h: Likewise.
9896 * stdio-common/vfprintf.c: Likewise.
9897
d0ac1324
WN
9898 * sysdeps/generic/math_private.h: Revert previous
9899 change.
9900
9290130a
WN
9901 * sysdeps/generic/math_private.h: Check whether
9902 HAVE_RM_CTX is defined with #ifdef rather
9903 than #if.
9904
afb466fc
WN
9905 * argp/argp-fmtstream.h: Check whether
9906 __STRICT_ANSI__ is defined with #ifdef rather
9907 than #if.
9908 * argp/argp.h: Likewise.
9909
f7efd7c3
WN
9910 * libio/genops.c: Check whether
9911 _IO_JUMPS_OFFSET is defined with #ifdef rather
9912 than #if.
9913 * libio/libioP.h: Likewise.
9914 * stdio-common/vfprintf.c: Likewise.
9915
53f1bed3
WN
9916 * sysdeps/generic/ldsodefs.h: Check whether
9917 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9918 than #if.
9919
788bba36
WN
9920 * nptl/sysdeps/pthread/pthread.h: Check
9921 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9922 its value.
9923
fcd89ebe
SP
99242014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9925
ae42bbc5
SP
9926 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9927 setting O_APPEND.
9928 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9929 test case.
9930
ea33158c
SP
9931 [BZ #16680]
9932 * libio/fileops.c (_IO_file_open): Seek to end of file but
9933 don't cache the offset.
9934 (get_file_offset): Remove function.
9935 (do_ftell): Use cached offset when available.
9936 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9937 don't cache the offset.
9938 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9939 case.
9940 (do_one_test): Call it.
9941 (do_ftell_test): Fix up expected old offset for a+ mode.
9942 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9943 available.
9944
b1dbb426
SP
9945 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9946 up test status with function return status.
9947 (do_write_test): Likewise.
9948 (do_append_test): Likewise.
9949
fcd89ebe
SP
9950 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9951 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9952 Remove.
9953
9962a2d3
JM
99542014-03-17 Joseph Myers <joseph@codesourcery.com>
9955
9956 * math/gen-libm-test.pl (parse_args): Handle results specified for
9957 each rounding mode separately.
9958 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9959 tests and results from lrint_tonearest_test_data,
9960 lrint_towardzero_test_data, lrint_downward_test_data and
9961 lrint_upward_test_data.
9962 (lrint_test): Use ALL_RM_TEST.
9963 (lrint_tonearest_test_data): Remove.
9964 (lrint_test_tonearest): Likewise.
9965 (lrint_towardzero_test_data): Likewise.
9966 (lrint_test_towardzero): Likewise.
9967 (lrint_downward_test_data): Likewise.
9968 (lrint_test_downward): Likewise.
9969 (lrint_upward_test_data): Likewise.
9970 (lrint_test_upward): Likewise.
9971 (llrint_test_data): Merge in per-rounding-mode tests and results
9972 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9973 llrint_downward_test_data and llrint_upward_test_data.
9974 (llrint_test): Use ALL_RM_TEST.
9975 (llrint_tonearest_test_data): Remove.
9976 (llrint_test_tonearest): Likewise.
9977 (llrint_towardzero_test_data): Likewise.
9978 (llrint_test_towardzero): Likewise.
9979 (llrint_downward_test_data): Likewise.
9980 (llrint_test_downward): Likewise.
9981 (llrint_upward_test_data): Likewise.
9982 (llrint_test_upward): Likewise.
9983 (rint_test_data): Merge in per-rounding-mode tests and results
9984 from rint_tonearest_test_data, rint_towardzero_test_data,
9985 rint_downward_test_data and rint_upward_test_data. Add
9986 per-rounding-mode results for tests not in those arrays.
9987 (rint_test): Use ALL_RM_TEST.
9988 (rint_tonearest_test_data): Remove.
9989 (rint_test_tonearest): Likewise.
9990 (rint_towardzero_test_data): Likewise.
9991 (rint_test_towardzero): Likewise.
9992 (rint_downward_test_data): Likewise.
9993 (rint_test_downward): Likewise.
9994 (rint_upward_test_data): Likewise.
9995 (rint_test_upward): Likewise.
9996 (main): Don't call removed functions.
9997
5006148e
RM
99982014-03-14 Roland McGrath <roland@hack.frob.com>
9999
10000 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10001 "Compiled on ..." crapola. It is anti-useful.
10002
d6fe5e58
JM
100032014-03-14 Joseph Myers <joseph@codesourcery.com>
10004
10005 * scripts/evaluate-test.sh: Handle fourth argument to determine
10006 whether test run should stop on failure.
10007 * Makeconfig (stop-on-test-failure): New variable.
10008 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10009 $(stop-on-test-failure).
10010 * Makefile (tests): Give a summary of results from testing and
10011 exit with failure status if they include an ERROR or FAIL.
10012 (xtests): Likewise.
10013 * manual/install.texi (Configuring and compiling): Mention
10014 stop-on-test-failure=y.
10015 * INSTALL: Regenerated.
10016
498a2233
RM
100172014-03-14 Roland McGrath <roland@hack.frob.com>
10018
22dbc19d
RM
10019 * scripts/versionlist.awk: New file.
10020 * Makerules [$(build-shared) = yes]
10021 (postclean-generated): Add Versions.def, not Versions.def.v and
10022 Versions.def.v.i.
10023 ($(common-objpfx)Versions.def.v.i): Target removed.
10024 ($(common-objpfx)Versions.def): New target.
10025 ($(common-objpfx)Versions.all): Depend on that rather that
10026 $(common-objpfx)Versions.def.v.
10027 * Versions.def: File removed.
10028
498a2233
RM
10029 * Makeconfig (+gccwarn): Add -Wundef.
10030 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10031 a dl-sysdep.h breaking its contract.
10032 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10033 * include/stackinfo.h: New file.
10034 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10035 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10036 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10037 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10038 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10039 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10040 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10041 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10042 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10043 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10044 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10045 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10046 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10047 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10048 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10049
c7de5025
AZ
100502014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10051
10052 [BZ #16707]
10053 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10054 implementation.
10055 * math/libm-test.inc (round_test_data): Add more tests.
10056
98fb27a3
AZ
10057 [BZ #16706]
10058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10059 implementation.
10060 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10061
374f7f61
AZ
10062 [BZ #16701]
10063 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10064 implementation.
10065 * math/libm-test.inc (ceil_test_data): Add more tests.
10066
4655c291
AZ
10067 * math/libm-test.inc (trunc_test_data): Add more tests related to
10068 BZ#16414.
10069
d7329d4b
RM
100702014-03-14 Roland McGrath <roland@hack.frob.com>
10071
10072 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10073 with #if rather than #ifdef.
10074 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10075
aa4de9ce
L
100762014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10079 first. Disable AVX-512 GCC support if assembler doesn't support
10080 it.
10081 * sysdeps/x86_64/configure: Regenerated.
10082
2e03fae7
CD
100832014-03-13 Carlos O'Donell <carlos@redhat.com>
10084
10085 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10086 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10087 (__old_pthread_attr_setstack): Likewise.
10088 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10089 [!_STACK_GROWS_DOWN]: Likewise.
10090
43ca83ec
MF
100912014-03-13 Mike Frysinger <vapier@gentoo.org>
10092
10093 * config.make.in (have-bash2): Delete.
10094 * configure.ac (libc_cv_have_bash2): Delete.
10095 * configure: Regenerate.
10096 * elf/Makefile (common-ldd-rewrite): Rename to ...
10097 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10098 (sh-ldd-rewrite): Delete.
10099 (bash-ldd-rewrite): Delete.
10100 (have-bash2): Delete checks.
57f41c40
AS
10101 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10102 ldd-rewrite.
c66e48b4
MF
10103
10104 * config.make.in (have-ksh): Delete.
10105 (KSH): Delete.
10106 * configure.ac (libc_cv_have_ksh): Delete.
10107 * configure: Regenerate.
10108
b93834ef
MF
10109 * elf/Makefile: Delete $(have-ksh) check.
10110 ($(objpfx)sotruss): Change KSH to BASH.
10111 * elf/sotruss.ksh: Rename to ...
10112 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10113 function style to match POSIX. Drop ksh vim mode setting.
10114
f3a4632a
MF
10115 * manual/time.texi (Specifying the Time Zone with TZ): Change
10116 Tuesday to Thursday.
10117
5896c8bd
MF
10118 * debug/tst-longjmp_chk2.c: Update header comment.
10119 (stackoverflow_handler): Add comment. Call assert on pass value.
10120
2d63a517
IZ
101212014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10122
7e54fd04 10123 [BZ #16194]
2d63a517
IZ
10124 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10125 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10126 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10127 (La_x86_64_vector): Add zmm.
10128 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10129 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10130 ($(objpfx)tst-audit10): New target.
10131 ($(objpfx)tst-audit10.out): Likewise.
10132 (tst-audit10-ENV): New.
10133 (AVX512-CFLAGS): Likewise.
10134 (CFLAGS-tst-audit10.c): Likewise.
10135 (CFLAGS-tst-auditmod10a.c): Likewise.
10136 (CFLAGS-tst-auditmod10b.c): Likewise.
10137 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10138 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10139 * sysdeps/x86_64/configure: Regenerated.
10140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10141 AVX-512 zmm register support.
10142 (_dl_x86_64_save_sse): Likewise.
10143 (_dl_x86_64_restore_sse): Likewise.
10144 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10145 size vector registers.
10146 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10147 (ZMM_SIZE): Likewise.
10148 * sysdeps/x86_64/tst-audit10.c: New file.
10149 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10150 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10151
44c4e5d5
RM
101522014-03-13 Roland McGrath <roland@hack.frob.com>
10153
10154 * configure.ac (HAVE_EHDR_START): New check.
10155 * configure: Regenerated.
10156 * config.h.in (HAVE_EHDR_START): New #undef.
10157 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10158 assuming the lowest-addressed segment maps the start of the file.
10159
acd6e389
JM
101602014-03-13 Joseph Myers <joseph@codesourcery.com>
10161
10162 * INSTALL: Regenerated.
10163
6f918f36
WN
101642014-03-13 Will Newton <will.newton@linaro.org>
10165
10166 * manual/setjmp.texi (System V contexts): Improve
10167 clarity and grammar of documentation.
10168
798212a0
PP
101692014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10170
10171 [BZ #16381]
798212a0 10172 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10173 (tests-pie): Add tst-pie2.
798212a0
PP
10174 * elf/tst-pie2.c: New file.
10175 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10176 for ET_EXEC.
10177 * elf/rtld.c (map_doit): Load executable as lt_executable.
10178 (dl_main): Likewise.
10179
abe6d90c
JM
101802014-03-12 Joseph Myers <joseph@codesourcery.com>
10181
10182 [BZ #16642]
10183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10184 (__ASSUME_PSELECT): Undefine.
10185
dd3946c6
AZ
101862014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10187
10188 [BZ #16689]
10189 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10190 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10191 static build.
10192 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10193 selector for static builds.
10194
c44496df
SP
101952014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10196
10197 [BZ #16695]
10198 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10199 key in the buffer.
10200
27c7220a
AZ
102012014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10202
57f41c40
AS
10203 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10204 IFUNC selector for static builds.
27c7220a 10205
600fa361
JM
102062014-03-11 Joseph Myers <joseph@codesourcery.com>
10207
76c96cf7
JM
10208 * sysdeps/mips/math_private.h [__mips_hard_float]
10209 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10210 libc_feresetround_mips_ctx.
10211 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10212 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10213 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10214
600fa361
JM
10215 [BZ #16677]
10216 * math/s_nextafter.c (__nextafter): Do not return value from
10217 overflowing computation.
10218 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10219 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10221 Likewise.
10222 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10223 Likewise.
10224 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10225 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10226
d7706c32
RM
102272014-03-11 Roland McGrath <roland@hack.frob.com>
10228
10229 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10230 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10231 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10232 the new mov targetting sp.
10233
4facea47
AZ
102342014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10235
10236 [BZ #16683]
10237 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10238 Define it for static builds as well.
10239 (NO_BZERO_IMPL): Likewise.
10240
e65caf1f
VR
102412014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10242
10243 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10244 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10245 multiarch strspn for PPC64.
10246 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10247 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10249 (__libc_ifunc_impl_list): Likewise.
10250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10251 multiarch optimizations
10252 * string/strspn.c (strspn): Using macro to redefine symbol name.
10253
ba9cc071
AZ
102542014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10255 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10256
10257 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10258 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10259 multiarch strncat for PPC64.
10260 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10261 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10263 (__libc_ifunc_impl_list): Likewise.
10264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10265 multiarch optimizations
10266
8b4ff974
SP
102672014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10268
10269 [BZ #16639]
10270 * nscd/nscd.service: Make service type forking.
10271
54b46a4b
AZ
102722014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10273
10274 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10275 sign in non default rounding modes.
10276 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10277
e9996ef7
JM
102782014-03-08 Joseph Myers <joseph@codesourcery.com>
10279
10280 * math/libm-test.inc (ALL_RM_TEST): New macro.
10281 (ceil_test): Use ALL_RM_TEST.
10282 (cimag_test): Likewise.
10283 (conj_test): Likewise.
10284 (copysign_test): Likewise.
10285 (cproj_test): Likewise.
10286 (creal_test): Likewise.
10287 (fabs_test): Likewise.
10288 (floor_test): Likewise.
10289 (fmax_test): Likewise.
10290 (fmin_test): Likewise.
10291 (fmod_test): Likewise.
10292 (fpclassify_test): Likewise.
10293 (frexp_test): Likewise.
10294 (ilogb_test): Likewise.
10295 (isfinite_test): Likewise.
10296 (finite_test): Likewise.
10297 (isgreater_test): Likewise.
10298 (isgreaterequal_test): Likewise.
10299 (isinf_test): Likewise.
10300 (isless_test): Likewise.
10301 (islessequal_test): Likewise.
10302 (islessgreater_test): Likewise.
10303 (isnan_test): Likewise.
10304 (isnormal_test): Likewise.
10305 (issignaling_test): Likewise.
10306 (isunordered_test): Likewise.
10307 (logb_test): Likewise.
10308 (logb_downward_test_data): Remove.
10309 (logb_test_downward): Likewise.
10310 (lround_test): Use ALL_RM_TEST.
10311 (llround_test): Likewise.
10312 (modf_test): Likewise.
10313 (nexttoward_test): Likewise.
10314 (remainder_test): Likewise.
10315 (drem_test): Likewise.
10316 (remainder_tonearest_test_data): Likewise.
10317 (remainder_test_tonearest): Likewise.
10318 (drem_test_tonearest): Likewise.
10319 (remainder_towardzero_test_data): Likewise.
10320 (remainder_test_towardzero): Likewise.
10321 (drem_test_towardzero): Likewise.
10322 (remainder_downward_test_data): Likewise.
10323 (remainder_test_downward): Likewise.
10324 (drem_test_downward): Likewise.
10325 (remainder_upward_test_data): Likewise.
10326 (remainder_test_upward): Likewise.
10327 (drem_test_upward): Likewise.
10328 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10329 (round_test): Use ALL_RM_TEST.
10330 (signbit_test): Likewise.
10331 (trunc_test): Likewise.
10332 (significand_test): Likewise.
10333 (main): Don't call removed functions.
10334
bc61d27c
JM
103352014-03-07 Joseph Myers <joseph@codesourcery.com>
10336
5c780849
JM
10337 [BZ #16674]
10338 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10339 || __USE_XOPEN2K8].
10340 (ILL_ILLOPN): Likewise.
10341 (ILL_ILLADR): Likewise.
10342 (ILL_ILLTRP): Likewise.
10343 (ILL_PRVOPC): Likewise.
10344 (ILL_PRVREG): Likewise.
10345 (ILL_COPROC): Likewise.
10346 (ILL_BADSTK): Likewise.
10347 (FPE_INTDIV): Likewise.
10348 (FPE_INTOVF): Likewise.
10349 (FPE_FLTDIV): Likewise.
10350 (FPE_FLTOVF): Likewise.
10351 (FPE_FLTUND): Likewise.
10352 (FPE_FLTRES): Likewise.
10353 (FPE_FLTINV): Likewise.
10354 (FPE_FLTSUB): Likewise.
10355 (SEGV_MAPERR): Likewise.
10356 (SEGV_ACCERR): Likewise.
10357 (BUS_ADRALN): Likewise.
10358 (BUS_ADRERR): Likewise.
10359 (BUS_OBJERR): Likewise.
10360 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10361 (TRAP_TRACE): Likewise.
10362 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10363 __USE_XOPEN2K8].
10364 (CLD_KILLED): Likewise.
10365 (CLD_DUMPED): Likewise.
10366 (CLD_TRAPPED): Likewise.
10367 (CLD_STOPPED): Likewise.
10368 (CLD_CONTINUED): Likewise.
10369 (POLL_IN): Likewise.
10370 (POLL_OUT): Likewise.
10371 (POLL_MSG): Likewise.
10372 (POLL_ERR): Likewise.
10373 (POLL_PRI): Likewise.
10374 (POLL_HUP): Likewise.
10375 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10376 Likewise.
10377 (ILL_ILLOPN): Likewise.
10378 (ILL_ILLADR): Likewise.
10379 (ILL_ILLTRP): Likewise.
10380 (ILL_PRVOPC): Likewise.
10381 (ILL_PRVREG): Likewise.
10382 (ILL_COPROC): Likewise.
10383 (ILL_BADSTK): Likewise.
10384 (FPE_INTDIV): Likewise.
10385 (FPE_INTOVF): Likewise.
10386 (FPE_FLTDIV): Likewise.
10387 (FPE_FLTOVF): Likewise.
10388 (FPE_FLTUND): Likewise.
10389 (FPE_FLTRES): Likewise.
10390 (FPE_FLTINV): Likewise.
10391 (FPE_FLTSUB): Likewise.
10392 (SEGV_MAPERR): Likewise.
10393 (SEGV_ACCERR): Likewise.
10394 (BUS_ADRALN): Likewise.
10395 (BUS_ADRERR): Likewise.
10396 (BUS_OBJERR): Likewise.
10397 (BUS_MCEERR_AR): Likewise.
10398 (BUS_MCEERR_AO): Likewise.
10399 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10400 (TRAP_TRACE): Likewise.
10401 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10402 __USE_XOPEN2K8].
10403 (CLD_KILLED): Likewise.
10404 (CLD_DUMPED): Likewise.
10405 (CLD_TRAPPED): Likewise.
10406 (CLD_STOPPED): Likewise.
10407 (CLD_CONTINUED): Likewise.
10408 (POLL_IN): Likewise.
10409 (POLL_OUT): Likewise.
10410 (POLL_MSG): Likewise.
10411 (POLL_ERR): Likewise.
10412 (POLL_PRI): Likewise.
10413 (POLL_HUP): Likewise.
10414 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10415 (ILL_ILLOPN): Likewise.
10416 (ILL_ILLADR): Likewise.
10417 (ILL_ILLTRP): Likewise.
10418 (ILL_PRVOPC): Likewise.
10419 (ILL_PRVREG): Likewise.
10420 (ILL_COPROC): Likewise.
10421 (ILL_BADSTK): Likewise.
10422 (FPE_INTDIV): Likewise.
10423 (FPE_INTOVF): Likewise.
10424 (FPE_FLTDIV): Likewise.
10425 (FPE_FLTOVF): Likewise.
10426 (FPE_FLTUND): Likewise.
10427 (FPE_FLTRES): Likewise.
10428 (FPE_FLTINV): Likewise.
10429 (FPE_FLTSUB): Likewise.
10430 (SEGV_MAPERR): Likewise.
10431 (SEGV_ACCERR): Likewise.
10432 (BUS_ADRALN): Likewise.
10433 (BUS_ADRERR): Likewise.
10434 (BUS_OBJERR): Likewise.
10435 (BUS_MCEERR_AR): Likewise.
10436 (BUS_MCEERR_AO): Likewise.
10437 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10438 (TRAP_TRACE): Likewise.
10439 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10440 __USE_XOPEN2K8].
10441 (CLD_KILLED): Likewise.
10442 (CLD_DUMPED): Likewise.
10443 (CLD_TRAPPED): Likewise.
10444 (CLD_STOPPED): Likewise.
10445 (CLD_CONTINUED): Likewise.
10446 (POLL_IN): Likewise.
10447 (POLL_OUT): Likewise.
10448 (POLL_MSG): Likewise.
10449 (POLL_ERR): Likewise.
10450 (POLL_PRI): Likewise.
10451 (POLL_HUP): Likewise.
10452 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10453 Likewise.
10454 (ILL_ILLOPN): Likewise.
10455 (ILL_ILLADR): Likewise.
10456 (ILL_ILLTRP): Likewise.
10457 (ILL_PRVOPC): Likewise.
10458 (ILL_PRVREG): Likewise.
10459 (ILL_COPROC): Likewise.
10460 (ILL_BADSTK): Likewise.
10461 (ILL_BADIADDR): Likewise.
10462 (ILL_BREAK): Likewise.
10463 (FPE_INTDIV): Likewise.
10464 (FPE_INTOVF): Likewise.
10465 (FPE_FLTDIV): Likewise.
10466 (FPE_FLTOVF): Likewise.
10467 (FPE_FLTUND): Likewise.
10468 (FPE_FLTRES): Likewise.
10469 (FPE_FLTINV): Likewise.
10470 (FPE_FLTSUB): Likewise.
10471 (FPE_DECOVF): Likewise.
10472 (FPE_DECDIV): Likewise.
10473 (FPE_DECERR): Likewise.
10474 (FPE_INVASC): Likewise.
10475 (FPE_INVDEC): Likewise.
10476 (SEGV_MAPERR): Likewise.
10477 (SEGV_ACCERR): Likewise.
10478 (SEGV_PSTKOVF): Likewise.
10479 (BUS_ADRALN): Likewise.
10480 (BUS_ADRERR): Likewise.
10481 (BUS_OBJERR): Likewise.
10482 (BUS_MCEERR_AR): Likewise.
10483 (BUS_MCEERR_AO): Likewise.
10484 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10485 (TRAP_TRACE): Likewise.
10486 (TRAP_BRANCH): Likewise.
10487 (TRAP_HWBKPT): Likewise.
10488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10489 __USE_XOPEN2K8].
10490 (CLD_KILLED): Likewise.
10491 (CLD_DUMPED): Likewise.
10492 (CLD_TRAPPED): Likewise.
10493 (CLD_STOPPED): Likewise.
10494 (CLD_CONTINUED): Likewise.
10495 (POLL_IN): Likewise.
10496 (POLL_OUT): Likewise.
10497 (POLL_MSG): Likewise.
10498 (POLL_ERR): Likewise.
10499 (POLL_PRI): Likewise.
10500 (POLL_HUP): Likewise.
10501 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10502 (ILL_ILLOPN): Likewise.
10503 (ILL_ILLADR): Likewise.
10504 (ILL_ILLTRP): Likewise.
10505 (ILL_PRVOPC): Likewise.
10506 (ILL_PRVREG): Likewise.
10507 (ILL_COPROC): Likewise.
10508 (ILL_BADSTK): Likewise.
10509 (FPE_INTDIV): Likewise.
10510 (FPE_INTOVF): Likewise.
10511 (FPE_FLTDIV): Likewise.
10512 (FPE_FLTOVF): Likewise.
10513 (FPE_FLTUND): Likewise.
10514 (FPE_FLTRES): Likewise.
10515 (FPE_FLTINV): Likewise.
10516 (FPE_FLTSUB): Likewise.
10517 (SEGV_MAPERR): Likewise.
10518 (SEGV_ACCERR): Likewise.
10519 (BUS_ADRALN): Likewise.
10520 (BUS_ADRERR): Likewise.
10521 (BUS_OBJERR): Likewise.
10522 (BUS_MCEERR_AR): Likewise.
10523 (BUS_MCEERR_AO): Likewise.
10524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10525 (TRAP_TRACE): Likewise.
10526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10527 __USE_XOPEN2K8].
10528 (CLD_KILLED): Likewise.
10529 (CLD_DUMPED): Likewise.
10530 (CLD_TRAPPED): Likewise.
10531 (CLD_STOPPED): Likewise.
10532 (CLD_CONTINUED): Likewise.
10533 (POLL_IN): Likewise.
10534 (POLL_OUT): Likewise.
10535 (POLL_MSG): Likewise.
10536 (POLL_ERR): Likewise.
10537 (POLL_PRI): Likewise.
10538 (POLL_HUP): Likewise.
10539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10540 (ILL_ILLOPN): Likewise.
10541 (ILL_ILLADR): Likewise.
10542 (ILL_ILLTRP): Likewise.
10543 (ILL_PRVOPC): Likewise.
10544 (ILL_PRVREG): Likewise.
10545 (ILL_COPROC): Likewise.
10546 (ILL_BADSTK): Likewise.
10547 (FPE_INTDIV): Likewise.
10548 (FPE_INTOVF): Likewise.
10549 (FPE_FLTDIV): Likewise.
10550 (FPE_FLTOVF): Likewise.
10551 (FPE_FLTUND): Likewise.
10552 (FPE_FLTRES): Likewise.
10553 (FPE_FLTINV): Likewise.
10554 (FPE_FLTSUB): Likewise.
10555 (SEGV_MAPERR): Likewise.
10556 (SEGV_ACCERR): Likewise.
10557 (BUS_ADRALN): Likewise.
10558 (BUS_ADRERR): Likewise.
10559 (BUS_OBJERR): Likewise.
10560 (BUS_MCEERR_AR): Likewise.
10561 (BUS_MCEERR_AO): Likewise.
10562 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10563 (TRAP_TRACE): Likewise.
10564 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10565 __USE_XOPEN2K8].
10566 (CLD_KILLED): Likewise.
10567 (CLD_DUMPED): Likewise.
10568 (CLD_TRAPPED): Likewise.
10569 (CLD_STOPPED): Likewise.
10570 (CLD_CONTINUED): Likewise.
10571 (POLL_IN): Likewise.
10572 (POLL_OUT): Likewise.
10573 (POLL_MSG): Likewise.
10574 (POLL_ERR): Likewise.
10575 (POLL_PRI): Likewise.
10576 (POLL_HUP): Likewise.
10577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10578 (ILL_ILLOPN): Likewise.
10579 (ILL_ILLADR): Likewise.
10580 (ILL_ILLTRP): Likewise.
10581 (ILL_PRVOPC): Likewise.
10582 (ILL_PRVREG): Likewise.
10583 (ILL_COPROC): Likewise.
10584 (ILL_BADSTK): Likewise.
10585 (FPE_INTDIV): Likewise.
10586 (FPE_INTOVF): Likewise.
10587 (FPE_FLTDIV): Likewise.
10588 (FPE_FLTOVF): Likewise.
10589 (FPE_FLTUND): Likewise.
10590 (FPE_FLTRES): Likewise.
10591 (FPE_FLTINV): Likewise.
10592 (FPE_FLTSUB): Likewise.
10593 (SEGV_MAPERR): Likewise.
10594 (SEGV_ACCERR): Likewise.
10595 (BUS_ADRALN): Likewise.
10596 (BUS_ADRERR): Likewise.
10597 (BUS_OBJERR): Likewise.
10598 (BUS_MCEERR_AR): Likewise.
10599 (BUS_MCEERR_AO): Likewise.
10600 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10601 (TRAP_TRACE): Likewise.
10602 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10603 __USE_XOPEN2K8].
10604 (CLD_KILLED): Likewise.
10605 (CLD_DUMPED): Likewise.
10606 (CLD_TRAPPED): Likewise.
10607 (CLD_STOPPED): Likewise.
10608 (CLD_CONTINUED): Likewise.
10609 (POLL_IN): Likewise.
10610 (POLL_OUT): Likewise.
10611 (POLL_MSG): Likewise.
10612 (POLL_ERR): Likewise.
10613 (POLL_PRI): Likewise.
10614 (POLL_HUP): Likewise.
10615 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10616 (ILL_ILLOPN): Likewise.
10617 (ILL_ILLADR): Likewise.
10618 (ILL_ILLTRP): Likewise.
10619 (ILL_PRVOPC): Likewise.
10620 (ILL_PRVREG): Likewise.
10621 (ILL_COPROC): Likewise.
10622 (ILL_BADSTK): Likewise.
10623 (ILL_DBLFLT): Likewise.
10624 (ILL_HARDWALL): Likewise.
10625 (FPE_INTDIV): Likewise.
10626 (FPE_INTOVF): Likewise.
10627 (FPE_FLTDIV): Likewise.
10628 (FPE_FLTOVF): Likewise.
10629 (FPE_FLTUND): Likewise.
10630 (FPE_FLTRES): Likewise.
10631 (FPE_FLTINV): Likewise.
10632 (FPE_FLTSUB): Likewise.
10633 (SEGV_MAPERR): Likewise.
10634 (SEGV_ACCERR): Likewise.
10635 (BUS_ADRALN): Likewise.
10636 (BUS_ADRERR): Likewise.
10637 (BUS_OBJERR): Likewise.
10638 (BUS_MCEERR_AR): Likewise.
10639 (BUS_MCEERR_AO): Likewise.
10640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10641 (TRAP_TRACE): Likewise.
10642 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10643 __USE_XOPEN2K8].
10644 (CLD_KILLED): Likewise.
10645 (CLD_DUMPED): Likewise.
10646 (CLD_TRAPPED): Likewise.
10647 (CLD_STOPPED): Likewise.
10648 (CLD_CONTINUED): Likewise.
10649 (POLL_IN): Likewise.
10650 (POLL_OUT): Likewise.
10651 (POLL_MSG): Likewise.
10652 (POLL_ERR): Likewise.
10653 (POLL_PRI): Likewise.
10654 (POLL_HUP): Likewise.
10655 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10656 (ILL_ILLOPN): Likewise.
10657 (ILL_ILLADR): Likewise.
10658 (ILL_ILLTRP): Likewise.
10659 (ILL_PRVOPC): Likewise.
10660 (ILL_PRVREG): Likewise.
10661 (ILL_COPROC): Likewise.
10662 (ILL_BADSTK): Likewise.
10663 (FPE_INTDIV): Likewise.
10664 (FPE_INTOVF): Likewise.
10665 (FPE_FLTDIV): Likewise.
10666 (FPE_FLTOVF): Likewise.
10667 (FPE_FLTUND): Likewise.
10668 (FPE_FLTRES): Likewise.
10669 (FPE_FLTINV): Likewise.
10670 (FPE_FLTSUB): Likewise.
10671 (SEGV_MAPERR): Likewise.
10672 (SEGV_ACCERR): Likewise.
10673 (BUS_ADRALN): Likewise.
10674 (BUS_ADRERR): Likewise.
10675 (BUS_OBJERR): Likewise.
10676 (BUS_MCEERR_AR): Likewise.
10677 (BUS_MCEERR_AO): Likewise.
10678 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10679 (TRAP_TRACE): Likewise.
10680 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10681 __USE_XOPEN2K8].
10682 (CLD_KILLED): Likewise.
10683 (CLD_DUMPED): Likewise.
10684 (CLD_TRAPPED): Likewise.
10685 (CLD_STOPPED): Likewise.
10686 (CLD_CONTINUED): Likewise.
10687 (POLL_IN): Likewise.
10688 (POLL_OUT): Likewise.
10689 (POLL_MSG): Likewise.
10690 (POLL_ERR): Likewise.
10691 (POLL_PRI): Likewise.
10692 (POLL_HUP): Likewise.
10693 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10694 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10695
bc61d27c
JM
10696 [BZ #16670]
10697 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10698 before #include of <time.h>.
10699 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10700 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10701 (test-xfail-UNIX98/sched.h/conform): Likewise.
10702
302949e2
MS
107032014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10704
10705 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10706 error absence of trapping exception support.
10707 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10708
a00f522a
JM
107092014-03-07 Joseph Myers <joseph@codesourcery.com>
10710
6f99f280
JM
10711 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10712 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10713 * timezone/Makefile (testdata): Move definition above include of
10714 Rules.
10715 (test-zones): New variable.
10716 (tests-special): Add zone files.
10717 (build-testdata): Use $(evaluate-test).
10718
0b20a9e8
JM
10719 * elf/Makefile (tests-special): Rename tests to end with .out.
10720 ($(objpfx)noload-mem): Likewise.
10721 ($(objpfx)tst-leaks1-mem): Likewise.
10722 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10723 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10724 $(objpfx)test-iconvconfig.out.
10725 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10726 set -e inside subshell and redirect output to file.
10727 * iconvdata/Makefile (generated): Rename tests to end with .out.
10728 Correct type.
10729 (tests-special): Rename tests to end with .out.
10730 ($(objpfx)mtrace-tst-loading): Likewise.
10731 * intl/Makefile (generated): Likewise.
10732 (tests-special): Likewise.
10733 ($(objpfx)mtrace-tst-gettext): Likewise.
10734 * misc/Makefile (generated): Likewise.
10735 (tests-special): Likewise.
10736 ($(objpfx)tst-error1-mem): Likewise.
10737 * nptl/Makefile (tests-special): Likewise.
10738 ($(objpfx)tst-stack3-mem): Likewise.
10739 (generated): Likewise.
10740 * posix/Makefile (generated): Likewise.
10741 (tests-special): Likewise.
10742 (xtests-special): Likewise.
10743 ($(objpfx)tst-fnmatch-mem): Likewise.
10744 ($(objpfx)bug-regex2-mem): Likewise.
10745 ($(objpfx)bug-regex14-mem): Likewise.
10746 ($(objpfx)bug-regex21-mem): Likewise.
10747 ($(objpfx)bug-regex31-mem): Likewise.
10748 ($(objpfx)tst-vfork3-mem): Likewise.
10749 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10750 ($(objpfx)tst-pcre-mem): Likewise.
10751 ($(objpfx)tst-boost-mem): Likewise.
10752 ($(objpfx)bug-ga2-mem): Likewise.
10753 ($(objpfx)bug-glob2-mem): Likewise.
10754 * resolv/Makefile (generate): Likewise.
10755 (tests-special): Likewise.
10756 (xtests-special): Likewise.
10757 (generated): Likewise.
10758 ($(objpfx)mtrace-tst-leaks): Likewise.
10759 ($(objpfx)mtrace-tst-leaks2): Likewise.
10760
265d52ab
JM
10761 * scripts/merge-test-results.sh: New file.
10762 * Makefile (tests-special-notdir): New variable.
10763 (tests): Run merge-test-results.sh.
10764 (xtests): Likewise.
10765 * Rules (tests-special-notdir): New variable.
10766 (xtests-special-notdir): Likewise.
10767 (tests): Run merge-test-results.sh
10768 (xtests): Likewise.
10769
54ee292d
JM
10770 * Makeconfig (test-xfail-name): New variable.
10771 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10772 compute variable name for expected failures.
10773 * conform/Makefile (conformtest-headers-data): New variable.
10774 (conformtest-standards): Likewise.
10775 (conformtest-headers-ISO): Likewise.
10776 (conformtest-headers-ISO99): Likewise.
10777 (conformtest-headers-ISO11): Likewise.
10778 (conformtest-headers-POSIX): Likewise.
10779 (conformtest-headers-XPG3): Likewise.
10780 (conformtest-headers-XPG4): Likewise.
10781 (conformtest-headers-UNIX98): Likewise.
10782 (conformtest-headers-XOPEN2K): Likewise.
10783 (conformtest-headers-POSIX2008): Likewise.
10784 (conformtest-headers-XOPEN2K8): Likewise.
10785 (conformtest-header-list-base): Likewise.
10786 (conformtest-header-list-tests): Likewise.
10787 (conformtest-header-base): Likewise.
10788 (conformtest-header-tests): Likewise.
10789 (tests-special): Add $(conformtest-header-list-tests). If
10790 [$(fast-check) && !$(cross-compiling)], add
10791 $(conformtest-header-tests) instead of
10792 $(objpfx)run-conformtest.out.
10793 (generated): Add $(conformtest-header-list-base). If
10794 [$(fast-check) && !$(cross-compiling)], add
10795 $(conformtest-header-base). Remove previous setting.
10796 ($(conformtest-header-list-tests)): New target.
10797 (test-xfail-run-conformtest): Remove variable.
10798 ($(objpfx)run-conformtest.out): Remove target.
10799 (test-xfail-ISO11/complex.h/conform): New variable.
10800 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10801 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10802 (test-xfail-XPG3/varargs.h/conform): Likewise.
10803 (test-xfail-XPG4/varargs.h/conform): Likewise.
10804 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10805 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10806 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10807 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10808 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10809 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10810 (test-xfail-XPG3/ftw.h/conform): Likewise.
10811 (test-xfail-XPG3/grp.h/conform): Likewise.
10812 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10813 (test-xfail-XPG3/limits.h/conform): Likewise.
10814 (test-xfail-XPG3/pwd.h/conform): Likewise.
10815 (test-xfail-XPG3/search.h/conform): Likewise.
10816 (test-xfail-XPG3/signal.h/conform): Likewise.
10817 (test-xfail-XPG3/stdio.h/conform): Likewise.
10818 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10819 (test-xfail-XPG3/string.h/conform): Likewise.
10820 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10821 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10822 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10823 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10824 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10825 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10826 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10827 (test-xfail-XPG3/termios.h/conform): Likewise.
10828 (test-xfail-XPG3/time.h/conform): Likewise.
10829 (test-xfail-XPG3/unistd.h/conform): Likewise.
10830 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10831 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10832 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10833 (test-xfail-XPG4/netdb.h/conform): Likewise.
10834 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10835 (test-xfail-XPG4/signal.h/conform): Likewise.
10836 (test-xfail-XPG4/stdio.h/conform): Likewise.
10837 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10838 (test-xfail-XPG4/stropts.h/conform): Likewise.
10839 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10840 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10841 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10842 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10843 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10844 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10845 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10846 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10847 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10848 (test-xfail-XPG4/termios.h/conform): Likewise.
10849 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10850 (test-xfail-XPG4/unistd.h/conform): Likewise.
10851 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10852 (test-xfail-POSIX/sched.h/conform): Likewise.
10853 (test-xfail-POSIX/signal.h/conform): Likewise.
10854 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10855 (test-xfail-POSIX/tar.h/conform): Likewise.
10856 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10857 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10858 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10859 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10860 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10861 (test-xfail-UNIX98/sched.h/conform): Likewise.
10862 (test-xfail-UNIX98/signal.h/conform): Likewise.
10863 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10864 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10865 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10866 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10867 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10868 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10869 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10870 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10871 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10872 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10873 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10874 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10875 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10876 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10877 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10878 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10879 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10880 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10881 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10882 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10883 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10884 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10885 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10886 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10887 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10888 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10889 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10890 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10891 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10892 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10893 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10894 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10895 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10896 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10897 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10898 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10899 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10900 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10901 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10902 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10903 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10904 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10905 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10906 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10907 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10908 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10909 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10910 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10911 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10912 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10913 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10914 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10915 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10916 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10917 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10918 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10919 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10920 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10921 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10922 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10923 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10924 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10925 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10926 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10927 (conformtest-cc-flags): Likewise.
10928 ($(conformtest-header-tests): New target.
10929 * conform/check-header-lists.sh: New file.
10930 * conform/run-conformtest.sh: Remove.
10931
a00f522a
JM
10932 * conform/conformtest.pl: Allow ' and \ in values given for
10933 constants.
10934 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10935 inclusion.
10936 [POSIX] (sys/types.h): Likewise.
10937 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10938 inclusion.
10939 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10940 inclusion.
10941 * conform/data/signal.h-data (SIGIO): Remove expectation.
10942 [XPG3] (SIGBUS): Do not expect.
10943 [POSIX || XPG3] (SIGPOLL): Likewise.
10944 [POSIX || XPG3] (SIGPROF): Likewise.
10945 [POSIX || XPG3] (SIGSYS): Likewise.
10946 [XPG3] (SIGTRAP): Likewise.
10947 [POSIX || XPG3] (SIGURG): Likewise.
10948 [POSIX || XPG3] (SIGVTALRM): Likewise.
10949 [POSIX || XPG3] (SIGXCPU): Likewise.
10950 [POSIX || XPG3] (SIGXFSZ): Likewise.
10951 [POSIX] (SA_SIGINFO): Expect.
10952 [XPG3] (siginfo_t): Do not expect type or contents.
10953 [POSIX] (si_pid): Do not expect element.
10954 [POSIX] (si_uid): Likewise.
10955 [POSIX] (si_addr): Likewise.
10956 [POSIX] (si_status): Likewise.
10957 [POSIX] (si_band): Likewise.
10958 [XPG4] (si_value): Likewise.
10959 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10960 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10961 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10962 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10963 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10964 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10965 [POSIX || XPG3] (ILL_COPROC): Likewise.
10966 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10967 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10968 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10969 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10970 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10971 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10972 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10973 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10974 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10975 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10976 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10977 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10978 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10979 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10980 [POSIX || XPG3] (CLD_EXITED): Likewise.
10981 [POSIX || XPG3] (CLD_KILLED): Likewise.
10982 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10983 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10984 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10985 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10986 [POSIX || XPG3] (POLL_IN): Likewise.
10987 [POSIX || XPG3] (POLL_OUT): Likewise.
10988 [POSIX || XPG3] (POLL_MSG): Likewise.
10989 [POSIX || XPG3] (POLL_ERR): Likewise.
10990 [POSIX || XPG3] (POLL_PRI): Likewise.
10991 [POSIX || XPG3] (POLL_HUP): Likewise.
10992 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10993 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10994 (SIG*): Do not allow.
10995 [XPG3] (si_*): Likewise.
10996 [XPG3] (SI_*): Likewise.
10997 [XPG3 || XPG4] (sigev_*): Likewise.
10998 [XPG3 || XPG4] (SIGEV_*): Likewise.
10999 [XPG3 || XPG4] (sival_*): Likewise.
11000 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11001 [POSIX || XPG3] (BUS_*): Likewise.
11002 [POSIX || XPG3] (CLD_*): Likewise.
11003 [POSIX || XPG3] (FPE_*): Likewise.
11004 [POSIX || XPG3] (ILL_*): Likewise.
11005 [POSIX || XPG3] (POLL_*): Likewise.
11006 [POSIX || XPG3] (SEGV_*): Likewise.
11007 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11008 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11009 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11010 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11011 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11012 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11013 Specify type and value.
11014 (TVERSLEN): Likewise.
11015 (REGTYPE): Likewise.
11016 (AREGTYPE): Likewise.
11017 (LNKTYPE): Likewise.
11018 (SYMTYPE): Likewise.
11019 (CHRTYPE): Likewise.
11020 (BLKTYPE): Likewise.
11021 (DIRTYPE): Likewise.
11022 (FIFOTYPE): Likewise.
11023 (CONTTYPE): Likewise.
11024 (TSUID): Likewise.
11025 (TSGID): Likewise.
11026 (TSVTX): Likewise.
11027 (TUREAD): Likewise.
11028 (TUWRITE): Likewise.
11029 (TUEXEC): Likewise.
11030 (TGREAD): Likewise.
11031 (TGWRITE): Likewise.
11032 (TGEXEC): Likewise.
11033 (TOREAD): Likewise.
11034 (TOWRITE): Likewise.
11035 (TOEXEC): Likewise.
11036 [POSIX] (TSVTX): Expect constant.
11037
aa97dee1
JM
110382014-03-06 Joseph Myers <joseph@codesourcery.com>
11039
f214606a
JM
11040 * Makefile (tests): Change dependencies to ....
11041 (tests-special): ... additions to this variable.
11042 (tests): Depend on $(tests-special).
11043 * Makerules (check-abi-list): New variable.
11044 (check-abi): Depend on $(check-abi-list).
11045 [$(subdir) = elf] (tests-special): Add
11046 $(objpfx)check-abi-libc.out.
11047 [$(build-shared) = yes && subdir] (tests-special): Add
11048 $(check-abi-list).
11049 [$(build-shared) = yes && subdir] (tests): Do not depend on
11050 check-abi.
11051 * Rules (tests): Depend on $(tests-special).
11052 (xtests): Depend on $(xtests-special).
11053 * catgets/Makefile (tests): Change dependencies to ....
11054 (tests-special): ... additions to this variable.
11055 * conform/Makefile (tests): Change dependencies to ....
11056 (tests-special): ... additions to this variable.
11057 * elf/Makefile (tests): Change dependencies to ....
11058 (tests-special): ... additions to this variable.
11059 * grp/Makefile (tests): Change dependencies to ....
11060 (tests-special): ... additions to this variable.
11061 * iconv/Makefile (xtests): Change dependencies to ....
11062 (xtests-special): ... additions to this variable.
11063 * iconvdata/Makefile (tests): Change dependencies to ....
11064 (tests-special): ... additions to this variable.
11065 * intl/Makefile (tests): Change dependencies to ....
11066 (tests-special): ... additions to this variable. Also add
11067 $(objpfx)tst-gettext.out.
11068 * io/Makefile (tests): Change dependencies to ....
11069 (tests-special): ... additions to this variable.
11070 * libio/Makefile (tests): Change dependencies to ....
11071 (tests-special): ... additions to this variable.
11072 * malloc/Makefile (tests): Change dependencies to ....
11073 (tests-special): ... additions to this variable.
11074 * misc/Makefile (tests): Change dependencies to ....
11075 (tests-special): ... additions to this variable.
11076 * nptl/Makefile (tests): Change dependencies to ....
11077 (tests-special): ... additions to this variable.
11078 * nptl_db/Makefile (tests): Change dependencies to ....
11079 (tests-special): ... additions to this variable.
11080 * posix/Makefile (tests): Change dependencies to ....
11081 (tests-special): ... additions to this variable.
11082 (xtests): Change dependencies to ....
11083 (xtests-special): ... additions to this variable.
11084 * resolv/Makefile (tests): Change dependencies to ....
11085 (tests-special): ... additions to this variable.
11086 (xtests): Change dependencies to ....
11087 (xtests-special): ... additions to this variable.
11088 * stdio-common/Makefile (tests): Change dependencies to ....
11089 (tests-special): ... additions to this variable.
11090 (do-tst-unbputc): Remove target.
11091 (do-tst-printf): Likewise.
11092 * stdlib/Makefile (tests): Change dependencies to ....
11093 (tests-special): ... additions to this variable.
11094 * string/Makefile (tests): Change dependencies to ....
11095 (tests-special): ... additions to this variable.
11096 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11097 (tests-special): ... additions to this variable.
11098
81700b53
JM
11099 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11100 whole file.
11101 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11102 whole file.
11103 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11104 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11105
2ea18461
JM
11106 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11107 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11108 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11109 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11110 * conform/data/libgen.h-data [XPG3]: Likewise.
11111 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11112 * conform/data/ndbm.h-data [XPG3]: Likewise.
11113 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11114 * conform/data/netdb.h-data [XPG3]: Likewise.
11115 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11116 * conform/data/poll.h-data [XPG3]: Likewise.
11117 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11118 * conform/data/strings.h-data [XPG3]: Likewise.
11119 * conform/data/stropts.h-data [XPG3]: Likewise.
11120 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11121 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11122 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11123 Likewise.
11124 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11125 * conform/data/sys/time.h-data [XPG3]: Likewise.
11126 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11127 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11128 * conform/data/sys/un.h-data [XPG3]: Likewise.
11129 * conform/data/syslog.h-data [XPG3]: Likewise.
11130 * conform/data/ucontext.h-data [XPG3]: Likewise.
11131 * conform/data/utmpx.h-data [XPG3]: Likewise.
11132 * conform/data/varargs.h-data [UNIX98]: Enable file.
11133
355bc986
JM
11134 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11135
215db402
JM
11136 * math/libm-test.inc (struct test_f_f_data): Move expected results
11137 into structure for each rounding mode.
11138 (struct test_ff_f_data): Likewise.
11139 (struct test_ff_f_data_nexttoward): Likewise.
11140 (struct test_fi_f_data): Likewise.
11141 (struct test_fl_f_data): Likewise.
11142 (struct test_if_f_data): Likewise.
11143 (struct test_fff_f_data): Likewise.
11144 (struct test_c_f_data): Likewise.
11145 (struct test_f_f1_data): Likewise.
11146 (struct test_fF_f1_data): Likewise.
11147 (struct test_ffI_f1_data): Likewise.
11148 (struct test_c_c_data): Likewise.
11149 (struct test_cc_c_data): Likewise.
11150 (struct test_f_i_data): Likewise.
11151 (struct test_ff_i_data): Likewise.
11152 (struct test_f_l_data): Likewise.
11153 (struct test_f_L_data): Likewise.
11154 (struct test_fFF_11_data): Likewise.
11155 (RM_): New macro.
11156 (RM_FE_DOWNWARD): Likewise.
11157 (RM_FE_TONEAREST): Likewise.
11158 (RM_FE_TOWARDZERO): Likewise.
11159 (RM_FE_UPWARD): Likewise.
11160 (RUN_TEST_LOOP_f_f): Update references to expected results.
11161 (RUN_TEST_LOOP_2_f): Likewise.
11162 (RUN_TEST_LOOP_fff_f): Likewise.
11163 (RUN_TEST_LOOP_c_f): Likewise.
11164 (RUN_TEST_LOOP_f_f1): Likewise.
11165 (RUN_TEST_LOOP_fF_f1): Likewise.
11166 (RUN_TEST_LOOP_fI_f1): Likewise.
11167 (RUN_TEST_LOOP_ffI_f1): Likewise.
11168 (RUN_TEST_LOOP_c_c): Likewise.
11169 (RUN_TEST_LOOP_cc_c): Likewise.
11170 (RUN_TEST_LOOP_f_i): Likewise.
11171 (RUN_TEST_LOOP_f_i_tg): Likewise.
11172 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11173 (RUN_TEST_LOOP_f_b): Likewise.
11174 (RUN_TEST_LOOP_f_b_tg): Likewise.
11175 (RUN_TEST_LOOP_f_l): Likewise.
11176 (RUN_TEST_LOOP_f_L): Likewise.
11177 (RUN_TEST_LOOP_fFF_11): Likewise.
11178 * math/gen-libm-test.pl (parse_args): Output four copies of
11179 expected results for each test.
11180
67737b8f
JM
11181 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11182 (__ASSUME_UTIMES): Remove.
11183 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11184 (__ASSUME_UTIMES): Likewise.
11185
aa97dee1
JM
11186 * math/gen-auto-libm-tests.c: Update comment on output format.
11187 (output_for_one_input_case): Generate before-rounding and
11188 after-rounding information as conditions on output flags not
11189 floating-point format.
11190 * math/auto-libm-test-out: Regenerated.
11191 * math/gen-libm-test.pl (cond_value): New function.
11192 (or_cond_value): Use cond_value.
11193 (generate_testfile): Handle conditional exceptions.
11194
e6b6a857
JM
111952014-03-05 Joseph Myers <joseph@codesourcery.com>
11196
2f0a0f44
JM
11197 * math/libm-test.inc (max_valid_error): New variable.
11198 (init_max_error): Take new argument specifying whether function
11199 results are exactly determined. Set max_valid_error and bound
11200 other variables for errors based on this argument.
11201 (set_max_error): Do not record results above max_valid_error.
11202 (check_float_internal): Only accept errors of up to 0.5ulps if
11203 also at most max_valid_error.
11204 (START): Take new argument EXACT and pass it to init_max_error.
11205 (acos_test): Update call to START.
11206 (acos_test_tonearest): Likewise.
11207 (acos_test_towardzero): Likewise.
11208 (acos_test_downward): Likewise.
11209 (acos_test_upward): Likewise.
11210 (acosh_test): Likewise.
11211 (asin_test): Likewise.
11212 (asin_test_tonearest): Likewise.
11213 (asin_test_towardzero): Likewise.
11214 (asin_test_downward): Likewise.
11215 (asin_test_upward): Likewise.
11216 (asinh_test): Likewise.
11217 (atan_test): Likewise.
11218 (atanh_test): Likewise.
11219 (atan2_test): Likewise.
11220 (cabs_test): Likewise.
11221 (cacos_test): Likewise.
11222 (cacosh_test): Likewise.
11223 (carg_test): Likewise.
11224 (casin_test): Likewise.
11225 (casinh_test): Likewise.
11226 (catan_test): Likewise.
11227 (catanh_test): Likewise.
11228 (cbrt_test): Likewise.
11229 (ccos_test): Likewise.
11230 (ccosh_test): Likewise.
11231 (ceil_test): Likewise.
11232 (cexp_test): Likewise.
11233 (cimag_test): Likewise.
11234 (clog_test): Likewise.
11235 (clog10_test): Likewise.
11236 (conj_test): Likewise.
11237 (copysign_test): Likewise.
11238 (cos_test): Likewise.
11239 (cos_test_tonearest): Likewise.
11240 (cos_test_towardzero): Likewise.
11241 (cos_test_downward): Likewise.
11242 (cos_test_upward): Likewise.
11243 (cosh_test): Likewise.
11244 (cosh_test_tonearest): Likewise.
11245 (cosh_test_towardzero): Likewise.
11246 (cosh_test_downward): Likewise.
11247 (cosh_test_upward): Likewise.
11248 (cpow_test): Likewise.
11249 (cproj_test): Likewise.
11250 (creal_test): Likewise.
11251 (csin_test): Likewise.
11252 (csinh_test): Likewise.
11253 (csqrt_test): Likewise.
11254 (ctan_test): Likewise.
11255 (ctan_test_tonearest): Likewise.
11256 (ctan_test_towardzero): Likewise.
11257 (ctan_test_downward): Likewise.
11258 (ctan_test_upward): Likewise.
11259 (ctanh_test): Likewise.
11260 (ctanh_test_tonearest): Likewise.
11261 (ctanh_test_towardzero): Likewise.
11262 (ctanh_test_downward): Likewise.
11263 (ctanh_test_upward): Likewise.
11264 (erf_test): Likewise.
11265 (erfc_test): Likewise.
11266 (exp_test): Likewise.
11267 (exp_test_tonearest): Likewise.
11268 (exp_test_towardzero): Likewise.
11269 (exp_test_downward): Likewise.
11270 (exp_test_upward): Likewise.
11271 (exp10_test): Likewise.
11272 (exp10_test_tonearest): Likewise.
11273 (exp10_test_towardzero): Likewise.
11274 (exp10_test_downward): Likewise.
11275 (exp10_test_upward): Likewise.
11276 (pow10_test): Likewise.
11277 (exp2_test): Likewise.
11278 (expm1_test): Likewise.
11279 (expm1_test_tonearest): Likewise.
11280 (expm1_test_towardzero): Likewise.
11281 (expm1_test_downward): Likewise.
11282 (expm1_test_upward): Likewise.
11283 (fabs_test): Likewise.
11284 (fdim_test): Likewise.
11285 (floor_test): Likewise.
11286 (fma_test): Likewise.
11287 (fma_test_towardzero): Likewise.
11288 (fma_test_downward): Likewise.
11289 (fma_test_upward): Likewise.
11290 (fmax_test): Likewise.
11291 (fmin_test): Likewise.
11292 (fmod_test): Likewise.
11293 (fpclassify_test): Likewise.
11294 (frexp_test): Likewise.
11295 (hypot_test): Likewise.
11296 (ilogb_test): Likewise.
11297 (isfinite_test): Likewise.
11298 (finite_test): Likewise.
11299 (isgreater_test): Likewise.
11300 (isgreaterequal_test): Likewise.
11301 (isinf_test): Likewise.
11302 (isless_test): Likewise.
11303 (islessequal_test): Likewise.
11304 (islessgreater_test): Likewise.
11305 (isnan_test): Likewise.
11306 (isnormal_test): Likewise.
11307 (issignaling_test): Likewise.
11308 (isunordered_test): Likewise.
11309 (j0_test): Likewise.
11310 (j1_test): Likewise.
11311 (jn_test): Likewise.
11312 (ldexp_test): Likewise.
11313 (lgamma_test): Likewise.
11314 (gamma_test): Likewise.
11315 (lrint_test): Likewise.
11316 (lrint_test_tonearest): Likewise.
11317 (lrint_test_towardzero): Likewise.
11318 (lrint_test_downward): Likewise.
11319 (lrint_test_upward): Likewise.
11320 (llrint_test): Likewise.
11321 (llrint_test_tonearest): Likewise.
11322 (llrint_test_towardzero): Likewise.
11323 (llrint_test_downward): Likewise.
11324 (llrint_test_upward): Likewise.
11325 (log_test): Likewise.
11326 (log10_test): Likewise.
11327 (log1p_test): Likewise.
11328 (log2_test): Likewise.
11329 (logb_test): Likewise.
11330 (logb_test_downward): Likewise.
11331 (lround_test): Likewise.
11332 (llround_test): Likewise.
11333 (modf_test): Likewise.
11334 (nearbyint_test): Likewise.
11335 (nextafter_test): Likewise.
11336 (nexttoward_test): Likewise.
11337 (pow_test): Likewise.
11338 (pow_test_tonearest): Likewise.
11339 (pow_test_towardzero): Likewise.
11340 (pow_test_downward): Likewise.
11341 (pow_test_upward): Likewise.
11342 (remainder_test): Likewise.
11343 (drem_test): Likewise.
11344 (remainder_test_tonearest): Likewise.
11345 (drem_test_tonearest): Likewise.
11346 (remainder_test_towardzero): Likewise.
11347 (drem_test_towardzero): Likewise.
11348 (remainder_test_downward): Likewise.
11349 (drem_test_downward): Likewise.
11350 (remainder_test_upward): Likewise.
11351 (drem_test_upward): Likewise.
11352 (remquo_test): Likewise.
11353 (rint_test): Likewise.
11354 (rint_test_tonearest): Likewise.
11355 (rint_test_towardzero): Likewise.
11356 (rint_test_downward): Likewise.
11357 (rint_test_upward): Likewise.
11358 (round_test): Likewise.
11359 (scalb_test): Likewise.
11360 (scalbn_test): Likewise.
11361 (scalbln_test): Likewise.
11362 (signbit_test): Likewise.
11363 (sin_test): Likewise.
11364 (sin_test_tonearest): Likewise.
11365 (sin_test_towardzero): Likewise.
11366 (sin_test_downward): Likewise.
11367 (sin_test_upward): Likewise.
11368 (sincos_test): Likewise.
11369 (sinh_test): Likewise.
11370 (sinh_test_tonearest): Likewise.
11371 (sinh_test_towardzero): Likewise.
11372 (sinh_test_downward): Likewise.
11373 (sinh_test_upward): Likewise.
11374 (sqrt_test): Likewise.
11375 (sqrt_test_tonearest): Likewise.
11376 (sqrt_test_towardzero): Likewise.
11377 (sqrt_test_downward): Likewise.
11378 (sqrt_test_upward): Likewise.
11379 (tan_test): Likewise.
11380 (tan_test_tonearest): Likewise.
11381 (tan_test_towardzero): Likewise.
11382 (tan_test_downward): Likewise.
11383 (tan_test_upward): Likewise.
11384 (tanh_test): Likewise.
11385 (tgamma_test): Likewise.
11386 (trunc_test): Likewise.
11387 (y0_test): Likewise.
11388 (y1_test): Likewise.
11389 (yn_test): Likewise.
11390 (significand_test): Likewise.
11391
e6b6a857
JM
11392 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11393 individual tests in comment.
11394 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11395 (prev_max_error): New variable.
11396 (prev_real_max_error): Likewise.
11397 (prev_imag_max_error): Likewise.
11398 (compare_ulp_data): Don't refer to test names in comment.
11399 (find_test_ulps): Remove function.
11400 (find_function_ulps): Likewise.
11401 (find_complex_function_ulps): Likewise.
11402 (init_max_error): Take function name as argument. Look up ulps
11403 for that function.
11404 (print_ulps): Remove function.
11405 (print_max_error): Use prev_max_error instead of calling
11406 find_function_ulps.
11407 (print_complex_max_error): Use prev_real_max_error and
11408 prev_imag_max_error instead of calling find_complex_function_ulps.
11409 (check_float_internal): Take max_ulp parameter instead of calling
11410 find_test_ulps. Don't call print_ulps.
11411 (check_float): Update call to check_float_internal.
11412 (check_complex): Update calls to check_float_internal.
11413 (START): Pass argument to init_max_error.
11414 * math/gen-libm-test.pl (%results): Don't include "kind"
11415 information.
11416 (parse_ulps): Don't handle ulps of individual tests.
11417 (print_ulps_file): Likewise.
11418 (output_ulps): Likewise.
11419 * math/README.libm-test: Update.
11420 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11421 individual tests.
11422 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11423 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11424 * sysdeps/arm/libm-test-ulps: Likewise.
11425 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11426 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11427 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11428 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11429 * sysdeps/microblaze/libm-test-ulps: Likewise.
11430 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11431 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11433 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11434 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11435 * sysdeps/sh/libm-test-ulps: Likewise.
11436 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11437 * sysdeps/tile/libm-test-ulps: Likewise.
11438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11439
45adef3c
JM
114402014-03-04 Joseph Myers <joseph@codesourcery.com>
11441
11442 * math/libm-test.inc (print_complex_max_error): Check separately
11443 whether real and imaginary errors are within allowed range and
11444 pass 0 to print_complex_function_ulps instead of value within
11445 allowed range.
11446
000232b9
SP
114472014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11448
d4b17258
SP
11449 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11450 formatting.
11451 (get_handles_fopen): Likewise.
11452 (do_write_test): Likewise.
11453
091eff71
SP
11454 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11455
fa3cd248
SP
11456 * libio/fileops.c (do_ftell): Use cached offset when
11457 available.
11458 * libio/iofwide.c (do_ftell_wide): Likewise.
11459 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11460 _IO_file_attach.
11461 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11462
000232b9
SP
11463 [BZ #16532]
11464 * libio/libioP.h (get_file_offset): New function.
11465 * libio/fileops.c (get_file_offset): Likewise.
11466 (do_ftell): Likewise.
11467 (_IO_new_file_seekoff): Split out ftell logic.
11468 * libio/wfileops.c (do_ftell_wide): Likewise.
11469 (_IO_wfile_seekoff): Split out ftell logic.
11470 * libio/tst-ftell-active-handler.c: New test case.
11471 * libio/Makefile (tests): Add it.
11472
116f4d1a
RM
114732014-03-03 Roland McGrath <roland@hack.frob.com>
11474
11475 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11476 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11477
532a6035
SP
114782014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11479
11480 [BZ #16639]
11481 * nscd/connections.c (nscd_init): Call do_exit.
11482 (start_threads): Call do_exit and notify_parent.
11483 (begin_drop_privileges): Call do_exit.
11484 (finish_drop_privileges): Likewise.
11485 * nscd/selinux.c (preserve_capabilities): Likewise.
11486 (install_real_capabilities): Likewise.
11487 (nscd_selinux_enabled): Likewise.
11488 (avc_create_thread): Likewise.
11489 (avc_alloc_lock): Likewise.
11490 (nscd_avc_init): Likewise.
11491 * nscd/nscd.c (parent_fd): New static variable.
11492 (main): Create a pipe between parent and child processes.
11493 Skip closing parent_fd.
11494 (monitor_child): New function.
11495 (do_exit): Likewise.
11496 (notify_parent): Likewise.
11497 * nscd/nscd.h (notify_parent): Likewise.
11498 (do_exit): Likewise.
11499
d6285c9f
CD
115002014-03-03 Carlos O'Donell <carlos@redhat.com>
11501
11502 * malloc/malloc.c (__libc_calloc): Revert last change.
11503
2b85d2a0
AZ
115042014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11505
11506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11507
c7debbdf
RS
115082014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11509
11510 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11512 implementation.
11513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11514 (__libc_ifunc_impl_list): Likewise.
11515 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11516 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11517 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11518 * string/strrchr.c: Define STRRCHR.
11519
235eed86
OB
115202014-02-28 Ondřej Bílka <neleai@seznam.cz>
11521
11522 * benchtest/bench-strtok.c (simple_strtok): Delete.
11523 (strtok_string): Use as benchmark.
11524 * string/strtok (STRTOK): New macro.
11525
8e25d1e7
CD
115262014-02-28 Carlos O'Donell <carlos@redhat.com>
11527
ef563f92
CD
11528 * manual/threads.texi: Add header and standard comments to all
11529 functions.
11530
8e25d1e7
CD
11531 * elf/dl-lookup.c (check_match): New function.
11532 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11533 (do_lookup_x): Remove nested function check_match. Use non-nested
11534 function check_match.
11535
ff71cc37
RM
115362014-02-28 Roland McGrath <roland@hack.frob.com>
11537
f08e9a26
RM
11538 * csu/Makefile (generated, before-compile): Use += rather than =.
11539 * catgets/Makefile (generated, generated-dirs): Likewise.
11540 * debug/Makefile (generated): Likewise.
11541 * dlfcn/Makefile (generated): Likewise.
11542 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11543 * iconvdata/Makefile (before-compile, generated): Likewise.
11544 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11545 * libio/Makefile (generated): Likewise.
11546 * malloc/Makefile (generated): Likewise.
11547 * manual/Makefile (generated, generated-dirs): Likewise.
11548 * misc/Makefile (generated): Likewise.
11549 * posix/Makefile (generated): Likewise.
11550 * resolv/Makefile (generated): Likewise.
11551 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11552 * timezone/Makefile (generated, generated-dirs): Likewise.
11553
ff71cc37
RM
11554 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11555
fe13a20c
AZ
115562014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557
57f41c40
AS
11558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11559 power8 implementation.
11560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11561 file: POWER8 llround ifunc implementation.
11562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11563 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11564 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11565 POWER8 llround implementation.
11566
57f41c40
AS
11567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11568 power8 implementation.
11569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11570 file: POWER8 llrint ifunc implementation.
11571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11572 Add POWER8 implementation.
1ad8950a
AZ
11573 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11574 POWER8 llrint implementation.
11575
57f41c40
AS
11576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11577 power8 implementation.
11578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11579 file: POWER8 finite ifunc implementation.
11580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11581 Add POWER8 implementation.
cac626d6
AZ
11582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11583 Likewise.
11584 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11585 POWER8 finite implementation.
11586 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11587
57f41c40
AS
11588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11589 power8 implementation.
11590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11591 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11593 POWER8 implementation.
11594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11595 Likewise.
57f41c40
AS
11596 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11597 isinf implementation.
4393fc11
AZ
11598 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11599
57f41c40
AS
11600 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11601 (INIT_ARCH): Add hwcap2 initialization.
11602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11603 power8 implementation.
11604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11605 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11607 POWER8 implementation.
11608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11609 Likewise.
57f41c40
AS
11610 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11611 isnan implementation.
487972ae
AZ
11612 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11613
7d92b787
JY
116142014-02-27 Joey Ye <joey.ye@arm.com>
11615
11616 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11617 (_FP_NANFRAC_Q): Set to zero.
11618
1cadc858
SP
116192014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11620
11621 [BZ #16623]
11622 * math/auto-libm-test-in: New test inputs.
11623 * math/auto-libm-test-out: Regenerate.
11624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11625 and DA.
11626 (__cos): Likewise.
11627 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11628
f8c17e79
JM
116292014-02-27 Joseph Myers <joseph@codesourcery.com>
11630
11631 * scripts/evaluate-test.sh: Take new argument indicating whether
11632 failure is expected.
11633 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11634 indicating whether failure is expected.
11635 * conform/Makefile (test-xfail-run-conformtest): New variable.
11636 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11637 level.
11638 * posix/Makefile (test-xfail-annexc): New variable.
11639 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11640
a5f891ac
JM
116412014-02-26 Joseph Myers <joseph@codesourcery.com>
11642
11643 * argp/Makefile: Include Makeconfig immediately after defining
11644 subdir.
11645 * assert/Makefile: Likewise.
11646 * benchtests/Makefile: Likewise.
11647 * catgets/Makefile: Likewise.
11648 * conform/Makefile: Likewise.
11649 * crypt/Makefile: Likewise.
11650 * csu/Makefile: Likewise.
11651 (all): Remove target.
11652 * ctype/Makefile: Include Makeconfig immediately after defining
11653 subdir.
11654 * debug/Makefile: Likewise.
11655 * dirent/Makefile: Likewise.
11656 * dlfcn/Makefile: Likewise.
11657 * gmon/Makefile: Likewise.
11658 * gnulib/Makefile: Likewise.
11659 * grp/Makefile: Likewise.
11660 * gshadow/Makefile: Likewise.
11661 * hesiod/Makefile: Likewise.
11662 * hurd/Makefile: Likewise.
11663 (all): Remove target.
11664 * iconvdata/Makefile: Include Makeconfig immediately after
11665 defining subdir.
11666 * inet/Makefile: Likewise.
11667 * intl/Makefile: Likewise.
11668 * io/Makefile: Likewise.
11669 * libio/Makefile: Likewise.
11670 (all): Remove target.
11671 * locale/Makefile: Include Makeconfig immediately after defining
11672 subdir.
11673 * login/Makefile: Likewise.
11674 * mach/Makefile: Likewise.
11675 (all): Remove target.
11676 * malloc/Makefile: Include Makeconfig immediately after defining
11677 subdir.
11678 (all): Remove target.
11679 * manual/Makefile: Include Makeconfig immediately after defining
11680 subdir.
11681 * math/Makefile: Likewise.
11682 * misc/Makefile: Likewise.
11683 * nis/Makefile: Likewise.
11684 * nss/Makefile: Likewise.
11685 * po/Makefile: Likewise.
11686 (all): Remove target.
11687 * posix/Makefile: Include Makeconfig immediately after defining
11688 subdir.
11689 * pwd/Makefile: Likewise.
11690 * resolv/Makefile: Likewise.
11691 * resource/Makefile: Likewise.
11692 * rt/Makefile: Likewise.
11693 * setjmp/Makefile: Likewise.
11694 * shadow/Makefile: Likewise.
11695 * signal/Makefile: Likewise.
11696 * socket/Makefile: Likewise.
11697 * soft-fp/Makefile: Likewise.
11698 * stdio-common/Makefile: Likewise.
11699 * stdlib/Makefile: Likewise.
11700 * streams/Makefile: Likewise.
11701 * string/Makefile: Likewise.
11702 * sunrpc/Makefile: Likewise.
11703 (all): Remove target.
11704 * sysvipc/Makefile: Include Makeconfig immediately after defining
11705 subdir.
11706 * termios/Makefile: Likewise.
11707 * time/Makefile: Likewise.
11708 * timezone/Makefile: Likewise.
11709 (all): Remove target.
11710 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11711 subdir.
11712 * wctype/Makefile: Likewise.
11713
5b456e9d
SE
117142014-02-26 Steve Ellcey <sellcey@mips.com>
11715
11716 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11717 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11718 (libc_feholdexcept_setround_mips): Ditto.
11719 (libc_feholdsetround): New.
11720 (libc_feholdsetroundf): New.
11721 (libc_feholdsetroundl): New.
11722 (libc_feupdateenv_test_mips): New.
11723 (libc_feupdateenv_test): New.
11724 (libc_feupdateenv_testf): New.
11725 (libc_feupdateenv_testl): New.
11726 (libc_feresetround): New.
11727 (libc_feresetroundf): New.
11728 (libc_feresetroundl): New.
11729 (libc_fetestexcept_mips): New.
11730 (libc_fetestexcept): New.
11731 (libc_fetestexceptf): New.
11732 (libc_fetestexceptl): New.
11733 (HAVE_RM_CTX): New.
11734 (libc_feholdexcept_setround_mips_ctx): New.
11735 (libc_feholdexcept_setround_ctx): New.
11736 (libc_feholdexcept_setroundf_ctx): New.
11737 (libc_feholdexcept_setroundl_ctx): New.
11738 (libc_fesetenv_mips_ctx): New.
11739 (libc_fesetenv_ctx): New.
11740 (libc_fesetenv_ctxf): New.
11741 (libc_fesetenv_ctxl): New.
11742 (libc_feupdateenv_mips_ctx): New.
11743 (libc_feupdateenv_ctx): New.
11744 (libc_feupdateenvf_ctx): New.
11745 (libc_feupdateenvl_ctx): New.
11746 (libc_feholdsetround_mips_ctx): New.
11747 (libc_feholdsetround_ctx): New.
11748 (libc_feholdsetroundf_ctx): New.
11749 (libc_feholdsetroundl_ctx): New.
11750 (libc_feresetround_mips_ctx): New.
11751 (libc_feresetround_ctx): New.
11752 (libc_feresetroundf_ctx): New.
11753 (libc_feresetroundl_ctx): New.
11754
085d0e35
CD
117552014-02-26 Carlos O'Donell <carlos@redhat.com>
11756
f067bf1f
CD
11757 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11758
085d0e35
CD
11759 * manual/ipc.texi: New file.
11760 * manual/Makefile (chapters): Add ipc.
11761 * manual/job.texi: Add "Inter-Process Communication" to next.
11762 * manual/process.texi: Add "Inter-Process Communication" to prev.
11763
86e58c08
AZ
117642014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11765
11766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11767
4248f0da
OB
117682014-02-26 Ondřej Bílka <neleai@seznam.cz>
11769
11770 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11771
cf822e3c
OB
11772 * manual/arith.texi: Fix spaces after sentences.
11773 * manual/charset.texi: Likewise.
11774 * manual/errno.texi: Likewise.
11775 * manual/install.texi: Likewise.
11776 * manual/llio.texi: Likewise.
11777 * manual/locale.texi: Likewise.
11778 * manual/maint.texi: Likewise.
11779 * manual/math.texi: Likewise.
11780 * manual/memory.texi: Likewise.
11781 * manual/message.texi: Likewise.
11782 * manual/probes.texi: Likewise.
11783 * manual/resource.texi: Likewise.
11784 * manual/signal.texi: Likewise.
11785 * manual/socket.texi: Likewise.
11786 * manual/stdio.texi: Likewise.
11787 * manual/string.texi: Likewise.
11788 * manual/time.texi: Likewise.
11789 * manual/users.texi: Likewise.
11790
ade40b10
CD
117912014-02-25 Carlos O'Donell <carlos@redhat.com>
11792
11793 [BZ #16632]
11794 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11795 _DEFAULT_SOURCE is defined.
11796
d0503676
CD
117972014-02-25 Ulrich Drepper <drepper@gmail.com>
11798 Carlos O'Donell <carlos@redhat.com>
11799
11800 [BZ #16613]
11801 * elf/dl-tls.c (_dl_count_modids): New function.
11802 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11803 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11804 audit library and increment generation counter.
11805 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11806 * elf/tst-audit9.c: New file.
11807 * elf/tst-auditmod9a.c: New file.
11808 * elf/tst-auditmod9b.c: New file.
11809 * elf/Makefile: Add rules to build and run tst-audit9.
11810
4cbf380c
FW
118112014-02-25 Florian Weimer <fweimer@redhat.com>
11812
11813 [BZ #15347]
11814 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11815
80a56cc3
WN
118162014-02-25 Will Newton <will.newton@linaro.org>
11817
11818 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11819 (__longjmp): Restore sp and lr before restoring callee
11820 saved registers. Add longjmp and longjmp_target
11821 SystemTap probe point.
11822 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11823 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11824 Define to zero to match jmpbuf layout.
11825 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11826 (__sigsetjmp): Save sp and lr before saving callee
11827 saved registers. Add setjmp SystemTap probe point.
11828
3ea0f74e
SL
118292014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11830
11831 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11832
b04acb26
AS
118332014-02-24 Andreas Schwab <schwab@suse.de>
11834
11835 [BZ #15804]
11836 * elf/pldd.c (wait_for_ptrace_stop): New function.
11837 (main): Call it after attaching.
11838
098ad55c
RM
118392014-02-22 Roland McGrath <roland@hack.frob.com>
11840
d4ec6ae1
RM
11841 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11842 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11843 Versions files is now verboten.
11844 * hurd/Versions (libc: GLIBC_2.0):
11845 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11846 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11847 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11848 * mach/Versions: Likewise.
11849
098ad55c
RM
11850 * csu/Versions: Remove unused %include.
11851 * resolv/Versions: Likewise.
11852
acd7f096
JM
118532014-02-21 Joseph Myers <joseph@codesourcery.com>
11854
f0881698
JM
11855 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11856 ($(objpfx)check-local-headers.out): Likewise.
11857 ($(objpfx)begin-end-check.out): Likewise.
11858 * Makerules (check-abi-%.out): Likewise.
11859 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11860 ($(objpfx)test2.cat): Likewise.
11861 ($(objpfx)de/libc.cat): Likewise.
11862 ($(objpfx)test-gencat.out): Likewise.
11863 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11864 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11865 ($(objpfx)noload-mem): Likewise.
11866 ($(objpfx)tst-pathopt.out): Likewise.
11867 ($(objpfx)tst-rtld-load-self.out): Likewise.
11868 ($(objpfx)tst-array1-cmp.out): Likewise.
11869 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11870 ($(objpfx)tst-array2-cmp.out): Likewise.
11871 ($(objpfx)tst-array3-cmp.out): Likewise.
11872 ($(objpfx)tst-array4-cmp.out): Likewise.
11873 ($(objpfx)tst-array5-cmp.out): Likewise.
11874 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11875 ($(objpfx)check-textrel.out): Likewise.
11876 ($(objpfx)check-execstack.out): Likewise.
11877 ($(objpfx)check-localplt.out): Likewise.
11878 ($(objpfx)order2-cmp.out): Likewise.
11879 ($(objpfx)tst-leaks1-mem): Likewise.
11880 ($(objpfx)tst-leaks1-static-mem): Likewise.
11881 ($(objpfx)tst-initorder-cmp.out): Likewise.
11882 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11883 ($(objpfx)tst-unused-dep.out): Likewise.
11884 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11885 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11886 * iconv/Makefile (test-iconvconfig): Likewise.
11887 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11888 ($(objpfx)iconv-test.out): Likewise.
11889 ($(objpfx)tst-tables.out): Likewise.
11890 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11891 ($(objpfx)tst-gettext.out): Likewise.
11892 ($(objpfx)tst-translit.out): Likewise.
11893 ($(objpfx)tst-gettext2.out): Likewise.
11894 ($(objpfx)tst-gettext4.out): Likewise.
11895 ($(objpfx)tst-gettext6.out): Likewise.
11896 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11897 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11898 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11899 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11900 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11901 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11902 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11903 ($(objpfx)wordexp-tst.out): Likewise.
11904 ($(objpfx)annexc.out): Likewise.
11905 ($(objpfx)tst-fnmatch-mem): Likewise.
11906 ($(objpfx)bug-regex2-mem): Likewise.
11907 ($(objpfx)bug-regex14-mem): Likewise.
11908 ($(objpfx)bug-regex21-mem): Likewise.
11909 ($(objpfx)bug-regex31-mem): Likewise.
11910 ($(objpfx)tst-vfork3-mem): Likewise.
11911 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11912 ($(objpfx)tst-pcre-mem): Likewise.
11913 ($(objpfx)tst-boost-mem): Likewise.
11914 ($(objpfx)tst-getconf.out): Likewise.
11915 ($(objpfx)bug-ga2-mem): Likewise.
11916 ($(objpfx)bug-glob2-mem): Likewise.
11917 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11918 ($(objpfx)mtrace-tst-leaks2): Likewise.
11919 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11920 ($(objpfx)tst-printf.out): Likewise.
11921 ($(objpfx)tst-setvbuf1.out): Likewise.
11922 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11923 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11924 ($(objpfx)tst-fmtmsg.out): Likewise.
11925 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11926 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11927
acd7f096
JM
11928 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11929 * bits/sigaction.h [__USE_MISC]: Likewise.
11930 * bits/waitstatus.h: Update #endif comments.
11931 * ctype/ctype.h: Likewise.
11932 * dirent/dirent.h: Likewise.
11933 [__USE_MISC]: Remove redundant conditionals.
11934 * grp/grp.h: Update #endif comments.
11935 [__USE_GNU]: Remove redundant conditionals.
11936 [__USE_MISC]: Likewise.
11937 * inet/netinet/in.h [__USE_GNU]: Likewise.
11938 * io/sys/stat.h [__USE_MISC]: Likewise.
11939 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11940 * libio/bits/stdio.h: Update #endif comments.
11941 [__USE_MISC]: Remove redundant conditionals.
11942 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11943 * libio/stdio.h: Update #endif comments.
11944 [__USE_MISC]: Remove redundant conditionals.
11945 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11946 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11947 * math/math.h: Update #else and #endif comments.
11948 [__USE_MISC]: Remove redundant conditionals.
11949 * misc/sys/uio.h: Update #endif comments.
11950 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11951 * posix/glob.h [__USE_MISC]: Likewise.
11952 * posix/sys/types.h: Update #endif comments.
11953 [__USE_MISC]: Remove redundant conditionals.
11954 * posix/sys/wait.h: Update #endif comments.
11955 [__USE_MISC]: Remove redundant conditionals.
11956 * posix/unistd.h: Update #endif comments.
11957 [__USE_MISC]: Remove redundant conditionals.
11958 * pwd/pwd.h [__USE_GNU]: Likewise.
11959 [__USE_MISC]: Likewise.
11960 * resolv/netdb.h [__USE_GNU]: Likewise.
11961 * signal/signal.h: Update #endif comments.
11962 [__USE_MISC]: Remove redundant conditionals.
11963 * stdlib/stdlib.h: Update #else and #endif comments.
11964 [__USE_MISC]: Remove redundant conditionals.
11965 [__USE_GNU]: Likewise.
11966 * string/bits/string2.h [__USE_MISC]: Likewise.
11967 * string/string.h: Update #endif comments.
11968 [__USE_MISC]: Remove redundant conditionals.
11969 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11970 Likewise.
11971 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11972 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11973 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11974 Likewise.
11975 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11976 Likewise.
11977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11978 comments.
11979 [__USE_MISC]: Remove redundant conditionals.
11980 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11981 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11982 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11983 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11984 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11985 Likewise.
11986 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11987 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11988 Likewise.
11989 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11990 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11991 Likewise.
11992 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11993 Likewise.
11994 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11996 Likewise.
11997 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11998 Likewise.
11999 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12000 * sysdeps/x86/bits/string.h: Update #endif comments.
12001 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12002 conditionals.
12003 * time/sys/time.h: Update #endif comments.
12004 * time/time.h: Likewise.
12005 [__USE_MISC]: Remove redundant conditionals.
12006
a5d82e4e
YG
120072014-02-21 Yury Gribov <y.gribov@samsung.com>
12008
12009 [BZ #16600]
12010 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12011
9a80491d
AS
120122014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12013
12014 * Versions.def (librt): Add GLIBC_2.17.
12015
105fa381
AC
120162014-02-21 Adam Conrad <adconrad@0c3.net>
12017
12018 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12019 synonym for _SYS_AUXV_H to allow direct inclusion.
12020 * sysdeps/sparc/bits/hwcap.h: Likewise.
12021 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12022 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12023 * sysdeps/sparc/sysdep.h: Likewise.
12024
b8cd1c4e
SP
120252014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12026
12027 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12028
bd939d23
RS
120292014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12030
12031 * benchtests/bench-strrchr.c: Print length instead of position.
12032
5d7b57ca
JM
120332014-02-20 Joseph Myers <joseph@codesourcery.com>
12034
bc688c10
JM
12035 [BZ #16611]
12036 * sysdeps/unix/sysv/linux/kernel-features.h
12037 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12038 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12039 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12040 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12041 Likewise.
12042 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12043 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12044 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12045 (__ASSUME_SENDMMSG): Define instead of using previous
12046 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12047 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12048 (__ASSUME_SENDMMSG_SYSCALL): Define.
12049 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12050 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12051 Likewise.
12052 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12053 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12054 Likewise.
12055 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12056 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12057 Likewise.
12058 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12059 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12060 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12061 [__ASSUME_SENDMMSG]: Change conditionals to
12062 [__ASSUME_SENDMMSG_SOCKETCALL].
12063 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12064 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12065 Define.
12066 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12067 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12068 Likewise.
12069 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12070 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12071 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12072 [!__ASSUME_SENDMMSG]: Change conditional to
12073 [!__ASSUME_SENDMMSG_SOCKETCALL].
12074 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12075 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12076 Define.
12077
0e31b18c
JM
12078 [BZ #16610]
12079 * sysdeps/unix/sysv/linux/kernel-features.h
12080 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12081 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12082 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12083 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12084 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12085 [__i386__ || __sparc__]
12086 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12087 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12088 (__ASSUME_RECVMMSG): Define instead of using previous
12089 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12090 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12091 (__ASSUME_RECVMMSG_SYSCALL): Define.
12092 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12093 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12094 Likewise.
12095 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12096 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12097 Likewise.
12098 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12099 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12100 Likewise.
12101 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12102 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12103 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12104 [__ASSUME_RECVMMSG]: Change condition to
12105 [__ASSUME_RECVMMSG_SOCKETCALL].
12106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12107 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12108 Define.
12109 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12110 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12111 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12112 Likewise.
12113 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12114 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12115 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12116 [!__ASSUME_RECVMMSG]: Change condition to
12117 [!__ASSUME_RECVMMSG_SOCKETCALL].
12118 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12119 (__ASSUME_RECVMMSG_SYSCALL): Define.
12120
dd481ccf
JM
12121 [BZ #16609]
12122 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12123 __powerpc__ || __s390__ || __sh__ || __sparc__]
12124 (__ASSUME_SOCKETCALL): Define.
12125 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12126 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12127 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12128 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12129 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12130 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12131 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12132 (__ASSUME_ACCEPT4): Define instead of using previous
12133 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12134 __powerpc__ || __sparc__ || __s390__)] condition.
12135 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12136 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12137 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12138 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12139 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12140 [!__ASSUME_ACCEPT4]: Change condition to
12141 [!__ASSUME_ACCEPT4_SOCKETCALL].
12142 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12143 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12144 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12145 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12146 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12147 __ASSUME_ACCEPT4_SYSCALL.
12148 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12149 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12150 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12151 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12152 __ASSUME_ACCEPT4_SYSCALL.
12153 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12154 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12155 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12156 [__ASSUME_ACCEPT4]: Change condition to
12157 [__ASSUME_ACCEPT4_SOCKETCALL].
12158 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12159 (__ASSUME_SOCKETCALL): Define.
12160 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12161 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12162 (__ASSUME_SOCKETCALL): Define.
12163 (__ASSUME_ACCEPT4): Remove.
12164 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12165 Define.
12166 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12167 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12168 Likewise.
12169 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12170 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12171
5d7b57ca
JM
12172 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12173 macro.
12174 (HWCAP_ARM_LPAE): Likewise.
12175 (HWCAP_ARM_EVTSTRM): Likewise.
12176 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12177 Add vpfd32, lpae and evtstrm.
12178 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12179 Increase to 22.
12180
63689d61
JM
121812014-02-19 Joseph Myers <joseph@codesourcery.com>
12182
12183 * math/auto-libm-test-in: Add tests of clog10.
12184 * math/auto-libm-test-out: Regenerated.
12185 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12186 * sysdeps/i386/fpu/libm-test-ulps: Update.
12187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188
ab09bf61
AS
121892014-02-18 Andreas Schwab <schwab@suse.de>
12190
12191 [BZ #16574]
12192 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12193 Store non-zero if the second buffer was newly allocated.
12194 (send_dg): Likewise.
12195 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12196 to send_vc and send_dg.
12197 (res_nsend): Pass NULL for ansp2_malloced.
12198 * resolv/res_query.c (__libc_res_nquery): Add parameter
12199 answerp2_malloced and pass it down to __libc_res_nsend.
12200 (res_nquery): Pass additional NULL to __libc_res_nquery.
12201 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12202 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12203 second answer buffer if answerp2_malloced was set.
12204 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12205 (__libc_res_nquerydomain): Add parameter
12206 answerp2_malloced and pass it down to __libc_res_nquery.
12207 (res_nquerydomain): Pass additional NULL to
12208 __libc_res_nquerydomain.
12209 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12210 additional NULL to __libc_res_nsend and __libc_res_nquery.
12211 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12212 additional NULL to __libc_res_nsearch.
12213 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12214 parameter of __libc_res_nsearch to check for separately allocated
12215 second buffer.
12216 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12217 __libc_res_nquery.
12218 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12219 additional NULL to __libc_res_nquery.
12220 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12221 __libc_res_nsearch.
12222 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12223 * include/resolv.h: Update prototypes of __libc_res_nquery,
12224 __libc_res_nsearch, __libc_res_nsend.
12225
a4fb7861
JM
122262014-02-18 Joseph Myers <joseph@codesourcery.com>
12227
c6af2d89
JM
12228 * math/auto-libm-test-in: Add tests of fma.
12229 * math/auto-libm-test-out: Regenerated.
12230 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12231 (fma_towardzero_test_data): Likewise.
12232 (fma_downward_test_data): Likewise.
12233 (fma_upward_test_data): Likewise.
12234 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12235 mpc_mode.
12236 (rounding_modes): Add values for new field.
12237 (func_calc_method): Add value mpfr_fff_f.
12238 (func_calc_desc): Add mpfr_fff_f union field.
12239 (test_function): Add field exact_args.
12240 (FUNC): Add macro argument EXACT_ARGS.
12241 (FUNC_mpfr_f_f): Update call to FUNC.
12242 (FUNC_mpfr_f_f): Likewise.
12243 (FUNC_mpfr_ff_f): Likewise.
12244 (FUNC_mpfr_if_f): Likewise.
12245 (FUNC_mpc_c_f): Likewise.
12246 (FUNC_mpc_c_c): Likewise.
12247 (test_functions): Add fma. Update calls to FUNC.
12248 (handle_input_arg): Add argument exact_args.
12249 (add_test): Update call to handle_input_arg.
12250 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12251 (output_for_one_input_case): Update call to calc_generic_results.
12252 Recalculate exact zero results in each rounding mode.
12253
a4fb7861
JM
12254 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12255 non-negative before setting low bit.
12256 * math/auto-libm-test-in: Mark one asin test possibly having
12257 spurious underflow.
12258 * math/auto-libm-test-out: Regenerated.
12259 * sysdeps/i386/fpu/libm-test-ulps: Update.
12260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12261
ef114eaf
DH
122622014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12263
2b7f4f2c
SP
12264 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12265 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12266 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12267 * README: Add missing listing for microblaze*-*-linux-gnu.
12268
8125aedc
AM
122692014-02-16 Ondřej Bílka <neleai@seznam.cz>
12270
12271 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12272 duplicate code
12273
c70a4b1d
MF
122742014-02-16 Mike Frysinger <vapier@gentoo.org>
12275
12276 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12277 * sysdeps/unix/sysv/linux/ia64: Move directory from
12278 ports/sysdeps/unix/sysv/linux/ia64.
12279 * README: Update listing for ia64-*-linux-gnu.
12280
591aeaf7
TD
122812014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12282 Joseph Myers <joseph@codesourcery.com>
12283
12284 * Makeconfig (test-name): New variable.
12285 (evaluate-test): Likewise.
12286 * Makerules (do-test-clean): Remove .test-result files.
12287 (common-mostlyclean): Likewise.
12288 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12289 * scripts/evaluate-test.sh: New file.
12290
6e89caf1
JM
122912014-02-14 Joseph Myers <joseph@codesourcery.com>
12292
7f98f180
JM
12293 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12294 separate $(objpfx)tst-fopenloc-cmp.out and
12295 $(objpfx)tst-fopenloc-mem.out targets.
12296 (tests): Update dependencies.
12297 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12298 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12299 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12300 (tst-rxspencer-no-utf8-ARGS): New variable.
12301 (tst-rxspencer-no-utf8-ENV): Likewise.
12302 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12303 instead of $(objpfx)tst-rxspencer-mem.
12304 ($(objpfx)tst-rxspencer-mem): Change target to
12305 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12306 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12307 * posix/tst-rxspencer-no-utf8.c: New file.
12308
6e89caf1
JM
12309 * elf/Makefile ($(objpfx)order.out): Remove rule.
12310 [$(run-built-tests) = yes] (tests): Depend on
12311 $(objpfx)order-cmp.out.
12312 ($(objpfx)order-cmp.out): New rule.
12313 [$(run-built-tests) = yes] (tests): Depend on
12314 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12315 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12316 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12317 $(objpfx)tst-array5-static-cmp.out.
12318 ($(objpfx)tst-array1.out): Remove rule.
12319 ($(objpfx)tst-array1-cmp.out): New rule.
12320 ($(objpfx)tst-array1-static.out): Remove rule.
12321 ($(objpfx)tst-array1-static-cmp.out): New rule.
12322 ($(objpfx)tst-array2.out): Remove rule.
12323 ($(objpfx)tst-array2-cmp.out): New rule.
12324 ($(objpfx)tst-array3.out): Remove rule.
12325 ($(objpfx)tst-array3-cmp.out): New rule.
12326 ($(objpfx)tst-array4.out): Remove rule.
12327 ($(objpfx)tst-array4-cmp.out): New rule.
12328 ($(objpfx)tst-array5.out): Remove rule.
12329 ($(objpfx)tst-array5-cmp.out): New rule.
12330 ($(objpfx)tst-array5-static.out): Remove rule.
12331 ($(objpfx)tst-array5-static-cmp.out): New rule.
12332 [$(run-built-tests) = yes] (tests): Depend on
12333 $(objpfx)order2-cmp.out.
12334 ($(objpfx)order2.out): Remove rule.
12335 ($(objpfx)order2-cmp.out): New rule.
12336 ($(objpfx)tst-initorder.out): Remove rule.
12337 [$(run-built-tests) = yes] (tests): Depend on
12338 $(objpfx)tst-initorder-cmp.out.
12339 ($(objpfx)tst-initorder-cmp.out): New rule.
12340 ($(objpfx)tst-initorder2.out): Remove rule.
12341 [$(run-built-tests) = yes] (tests): Depend on
12342 $(objpfx)tst-initorder2-cmp.out.
12343 ($(objpfx)tst-initorder2-cmp.out): New rule.
12344 [$(run-built-tests) = yes] (tests): Depend on
12345 $(objpfx)tst-unused-dep-cmp.out.
12346 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12347 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12348 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12349 on $(objpfx)tst-setvbuf1-cmp.out.
12350 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12351 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12352 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12353 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12354 ($(objpfx)tst-svc.out): Remove rule.
12355 ($(objpfx)tst-svc-cmp.out): New rule.
12356
ed9a38e2
JM
123572014-02-13 Joseph Myers <joseph@codesourcery.com>
12358
12359 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12360 * ctype/ctype.h [__USE_MISC]: Likewise.
12361 * dirent/dirent.h [__USE_MISC]: Likewise.
12362 * grp/grp.h [__USE_MISC]: Likewise.
12363 * io/fcntl.h [__USE_MISC]: Likewise.
12364 * io/sys/stat.h [__USE_MISC]: Likewise.
12365 * libio/stdio.h [__USE_MISC]: Likewise.
12366 * posix/unistd.h [__USE_MISC]: Likewise.
12367 * pwd/pwd.h [__USE_MISC]: Likewise.
12368 * stdlib.h [__USE_MISC]: Likewise.
12369 * string/bits/string2.h [__USE_MISC]: Likewise.
12370 * string/string.h [__USE_MISC]: Likewise.
12371 * time/time.h [__USE_MISC]: Likewise.
12372
d6680619
AS
123732014-02-13 Andreas Schwab <schwab@suse.de>
12374
12375 [BZ #16574]
12376 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12377 second answer buffer if it was separately allocated.
12378
ace614b8
JM
123792014-02-12 Joseph Myers <joseph@codesourcery.com>
12380
743151ae
JM
12381 * sysdeps/mips/math-tests.h: Include <features.h>.
12382 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12383 (ROUNDING_TESTS_long_double): Do not define.
12384 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12385 (EXCEPTION_TESTS_long_double): Likewise.
12386 * sysdeps/mips/mips64/libm-test-ulps: Update.
12387
498afc54
JM
12388 * include/features.h (__USE_BSD): Remove macro definitions.
12389 (__USE_SVID): Likewise.
12390 (_BSD_SOURCE): Likewise.
12391 (_SVID_SOURCE): Likewise.
12392 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12393 from definition of _DEFAULT_SOURCE.
12394 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12395 [_DEFAULT_SOURCE].
12396 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12397 * bits/mman.h [__USE_BSD]: Likewise.
12398 * bits/termios.h [__USE_BSD]: Likewise.
12399 * bits/waitstatus.h [__USE_BSD]: Likewise.
12400 * ctype/ctype.h [__USE_SVID]: Likewise.
12401 * dirent/dirent.h [__USE_BSD]: Likewise.
12402 * grp/grp.h [__USE_SVID]: Likewise.
12403 [__USE_BSD]: Likewise.
12404 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12405 * io/fcntl.h [__USE_BSD]: Likewise.
12406 * io/ftw.h [__USE_BSD]: Likewise.
12407 * io/sys/stat.h [__USE_BSD]: Likewise.
12408 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12409 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12410 * libio/stdio.h [__USE_SVID]: Likewise.
12411 [__USE_BSD]: Likewise.
12412 * math/math.h [__USE_SVID]: Likewise.
12413 [__USE_BSD]: Likewise.
12414 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12415 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12416 * misc/search.h [__USE_SVID]: Likewise.
12417 * misc/sys/mman.h [__USE_BSD]: Likewise.
12418 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12419 * misc/sys/uio.h [__USE_BSD]: Likewise.
12420 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12421 * posix/glob.h [__USE_BSD]: Likewise.
12422 * posix/regex.h [__USE_BSD]: Likewise.
12423 * posix/sys/types.h [__USE_BSD]: Likewise.
12424 [__USE_SVID]: Likewise.
12425 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12426 * posix/sys/wait.h [__USE_BSD]: Likewise.
12427 [__USE_SVID]: Likewise.
12428 * posix/unistd.h [__USE_BSD]: Likewise.
12429 [__USE_SVID]: Likewise.
12430 * pwd/pwd.h [__USE_SVID]: Likewise.
12431 * resolv/netdb.h [__USE_BSD]: Likewise.
12432 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12433 * signal/signal.h [__USE_BSD]: Likewise.
12434 [__USE_SVID]: Likewise.
12435 * socket/sys/socket.h [__USE_BSD]: Likewise.
12436 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12437 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12438 [__USE_SVID]: Likewise.
12439 * string/bits/string2.h [__USE_BSD]: Likewise.
12440 [__USE_SVID]: Likewise.
12441 * string/bits/string3.h [__USE_BSD]: Likewise.
12442 * string/endian.h [__USE_BSD]: Likewise.
12443 * string/string.h [__USE_SVID]: Likewise.
12444 [__USE_BSD]: Likewise.
12445 * string/strings.h [__USE_BSD]: Likewise.
12446 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12447 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12448 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12449 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12450 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12451 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12452 Likewise.
12453 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12454 Likewise.
12455 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12456 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12457 Likewise.
12458 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12459 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12460 Likewise.
12461 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12462 Likewise.
12463 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12464 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12465 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12466 Likewise.
12467 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12468 Likewise.
12469 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12470 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12471 * termios/termios.h [__USE_BSD]: Likewise.
12472 * time/sys/time.h [__USE_BSD]: Likewise.
12473 * time/time.h [__USE_BSD]: Likewise.
12474 [__USE_SVID]: Likewise.
12475
dd7b064c
JM
12476 * Makefile (subdir_targets): Remove subdir_lint.out.
12477
a2c4c199
JM
12478 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12479 (do-tst-printf): Likewise.
12480 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12481 $(objpfx)tst-printf.out.
12482
8756f740
JM
12483 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12484
1b6dd3f1
JM
12485 * Makerules (check-abi-%): Change target to
12486 $(objpfx)check-abi-%.out.
12487 (check-abi target): Update dependencies.
12488 (check-abi-pattern variable): Redirect output of diff to $@.
12489 (check-abi variable): Likewise.
12490 * elf/Makefile (check-abi): Update dependencies.
12491
ace614b8
JM
12492 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12493 unused.
12494 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12495 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12496 subnormal range.
12497 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12498 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12499 value has largest subnormal exponent.
12500 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12501 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12502 * sysdeps/aarch64/soft-fp/sfp-machine.h
12503 (_FP_TININESS_AFTER_ROUNDING): New macro.
12504 * sysdeps/alpha/soft-fp/sfp-machine.h
12505 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12506 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12507 Likewise.
12508 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12509 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12510 * sysdeps/mips/soft-fp/sfp-machine.h
12511 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12512 * sysdeps/powerpc/soft-fp/sfp-machine.h
12513 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12514 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12515 Likewise.
12516 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12517 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12519 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12520 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12521 Likewise.
12522
fbfdf9cb
DAS
125232014-02-12 Dylan Alex Simon <dylan@dylex.net>
12524
12525 [BZ #16545]
12526 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12527 model 1.
12528
68b7efaa
RH
125292014-02-12 Richard Henderson <rth@redhat.com>
12530
c70a4b1d 12531 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12532 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12533 * sysdeps/unix/sysv/linux/alpha: Move directory from
12534 ports/sysdeps/unix/sysv/linux/alpha.
12535 * README: Update listing for alpha-*-linux-gnu.
12536
cb4a2928
JM
125372014-02-11 Joseph Myers <joseph@codesourcery.com>
12538
c941736c
JM
12539 * include/features.h: Update comment documenting feature test
12540 macros.
12541 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12542 _DEFAULT_SOURCE.
12543 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12544 (_SVID_SOURCE): Likewise.
12545 (_DEFAULT_SOURCE): Update description of default features.
12546 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12547 with _GNU_SOURCE.
12548 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12549 (S_ISVTX): Likewise.
12550 * manual/math.texi (Mathematical Constants): Likewise.
12551 * manual/signal.texi (Interrupted Primitives): Likewise.
12552 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12553 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12554 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12555 Don't refer to _SVID_SOURCE in warning text.
12556
e8d8d7ec
JM
12557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12558
cb4a2928
JM
12559 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12560 already defined.
12561 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12562 * sysdeps/mips/dl-lookup.c: Remove.
12563 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12564
7e6424e3
AK
125652014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12566
12567 [BZ #16447]
12568 * math/auto-libm-test-in: Add testcase for expl.
12569 * math/auto-libm-test-out: Regenerate.
12570 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12571 calculation of unsafe.
12572 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12573
75eff3fe
MS
125742014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12575
12576 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12577 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12578 ports/sysdeps/unix/sysv/linux/aarch64.
12579 * README: Update listing for aarch64*-*-linux-gnu.
12580
d35f1e80
WN
125812014-02-11 Will Newton <will.newton@linaro.org>
12582
12583 * manual/probes.texi (Mathematical Function Probes): Use
12584 "triggered" instead of "hit".
12585
7b3436d4
WN
12586 * manual/probes.texi (Internal Probes): Add documentation
12587 of setjmp, longjmp and longjmp_target probes.
12588
b4f12ca3
WN
12589 * include/stap-probe.h: Add comment about probe argument
12590 format.
12591
c13a72b7
WN
12592 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12593 definition. (tr_where, tr_freehook, tr_mallochook,
12594 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12595
195b8165
DM
125962014-02-11 David S. Miller <davem@davemloft.net>
12597
12598 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12599 processing int_tests.
12600
2ad7600b
JM
126012014-02-10 Joseph Myers <joseph@codesourcery.com>
12602
12603 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12604 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12605 * sysdeps/unix/sysv/linux/mips: Move directory from
12606 ports/sysdeps/unix/sysv/linux/mips.
12607 * README: Update listing for mips-*-linux-gnu and
12608 mips64-*-linux-gnu.
12609
73588a72
AS
126102014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12611
12612 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12613 * sysdeps/unix/sysv/linux/m68k: Move directory from
12614 ports/sysdeps/unix/sysv/linux/m68k.
12615 * README: Update listing for m68k-*-linux-gnu.
12616
4372980f
CM
126172014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12618
12619 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12620 * sysdeps/unix/sysv/linux/generic: Move directory from
12621 ports/sysdeps/unix/sysv/linux/generic.
12622 * sysdeps/unix/sysv/linux/tile: Move directory from
12623 ports/sysdeps/unix/sysv/linux/tile.
12624 * README: Update listing for tile*-*-linux-gnu.
12625
a1ffb40e
OB
126262014-02-10 Ondřej Bílka <neleai@seznam.cz>
12627
57f41c40
AS
12628 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12629 __builtin_expect.
a1ffb40e
OB
12630 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12631 * catgets/open_catalog.c (__open_catalog): Likewise.
12632 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12633 * debug/confstr_chk.c: Likewise.
12634 * debug/fread_chk.c (__fread_chk): Likewise.
12635 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12636 * debug/getgroups_chk.c: Likewise.
12637 * debug/mbsnrtowcs_chk.c: Likewise.
12638 * debug/mbsrtowcs_chk.c: Likewise.
12639 * debug/mbstowcs_chk.c: Likewise.
12640 * debug/memcpy_chk.c: Likewise.
12641 * debug/memmove_chk.c: Likewise.
12642 * debug/mempcpy_chk.c: Likewise.
12643 * debug/memset_chk.c: Likewise.
12644 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12645 * debug/strcat_chk.c (__strcat_chk): Likewise.
12646 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12647 * debug/strncat_chk.c (__strncat_chk): Likewise.
12648 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12649 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12650 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12651 * debug/wcpncpy_chk.c: Likewise.
12652 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12653 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12654 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12655 * debug/wcsncpy_chk.c: Likewise.
12656 * debug/wcsnrtombs_chk.c: Likewise.
12657 * debug/wcsrtombs_chk.c: Likewise.
12658 * debug/wcstombs_chk.c: Likewise.
12659 * debug/wmemcpy_chk.c: Likewise.
12660 * debug/wmemmove_chk.c: Likewise.
12661 * debug/wmempcpy_chk.c: Likewise.
12662 * debug/wmemset_chk.c: Likewise.
12663 * dirent/scandirat.c (SCANDIRAT): Likewise.
12664 * dlfcn/dladdr1.c (dladdr1): Likewise.
12665 * dlfcn/dladdr.c (dladdr): Likewise.
12666 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12667 * dlfcn/dlerror.c (__dlerror): Likewise.
12668 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12669 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12670 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12671 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12672 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12673 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12674 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12675 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12676 Likewise.
12677 * elf/dl-conflict.c: Likewise.
12678 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12679 * elf/dl-dst.h: Likewise.
12680 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12681 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12683 * elf/dl-init.c (call_init, _dl_init): Likewise.
12684 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12685 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12686 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12687 Likewise.
a1ffb40e
OB
12688 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12689 Likewise.
12690 * elf/dl-minimal.c (__libc_memalign): Likewise.
12691 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12692 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12693 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12694 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12695 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12696 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12697 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12698 * elf/dl-writev.h (_dl_writev): Likewise.
12699 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12700 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12701 (dl_main): Likewise.
a1ffb40e
OB
12702 * elf/setup-vdso.h (setup_vdso): Likewise.
12703 * grp/compat-initgroups.c (compat_call): Likewise.
12704 * grp/fgetgrent.c (fgetgrent): Likewise.
12705 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12706 * grp/putgrent.c (putgrent): Likewise.
12707 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12708 Likewise.
12709 * hurd/hurdinit.c: Likewise.
12710 * iconvdata/8bit-gap.c (struct): Likewise.
12711 * iconvdata/ansi_x3.110.c : Likewise.
12712 * iconvdata/big5.c : Likewise.
12713 * iconvdata/big5hkscs.c : Likewise.
12714 * iconvdata/cp1255.c: Likewise.
12715 * iconvdata/cp1258.c : Likewise.
12716 * iconvdata/cp932.c : Likewise.
12717 * iconvdata/euc-cn.c: Likewise.
12718 * iconvdata/euc-jisx0213.c : Likewise.
12719 * iconvdata/euc-jp.c: Likewise.
12720 * iconvdata/euc-jp-ms.c : Likewise.
12721 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12722 * iconvdata/gb18030.c : Likewise.
12723 * iconvdata/gbbig5.c (const): Likewise.
12724 * iconvdata/gbgbk.c: Likewise.
12725 * iconvdata/gbk.c : Likewise.
12726 * iconvdata/ibm1364.c : Likewise.
12727 * iconvdata/ibm930.c : Likewise.
12728 * iconvdata/ibm932.c: Likewise.
12729 * iconvdata/ibm933.c : Likewise.
12730 * iconvdata/ibm935.c : Likewise.
12731 * iconvdata/ibm937.c : Likewise.
12732 * iconvdata/ibm939.c : Likewise.
12733 * iconvdata/ibm943.c: Likewise.
12734 * iconvdata/iso_11548-1.c: Likewise.
12735 * iconvdata/iso-2022-cn.c : Likewise.
12736 * iconvdata/iso-2022-cn-ext.c : Likewise.
12737 * iconvdata/iso-2022-jp-3.c: Likewise.
12738 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12739 * iconvdata/iso-2022-kr.c : Likewise.
12740 * iconvdata/iso646.c (gconv_end): Likewise.
12741 * iconvdata/iso_6937-2.c : Likewise.
12742 * iconvdata/iso_6937.c : Likewise.
12743 * iconvdata/iso8859-1.c: Likewise.
12744 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12745 * iconvdata/shift_jisx0213.c : Likewise.
12746 * iconvdata/sjis.c : Likewise.
12747 * iconvdata/t.61.c : Likewise.
12748 * iconvdata/tcvn5712-1.c : Likewise.
12749 * iconvdata/tscii.c: Likewise.
12750 * iconvdata/uhc.c : Likewise.
12751 * iconvdata/unicode.c (gconv_end): Likewise.
12752 * iconvdata/utf-16.c (gconv_end): Likewise.
12753 * iconvdata/utf-32.c (gconv_end): Likewise.
12754 * iconvdata/utf-7.c (base64): Likewise.
12755 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12756 * iconv/gconv_close.c (__gconv_close): Likewise.
12757 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12758 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12759 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12760 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12761 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12762 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12763 * iconv/iconv.c (iconv): Likewise.
12764 * iconv/iconv_close.c: Likewise.
12765 * iconv/loop.c (SINGLE): Likewise.
12766 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12767 * include/atomic.h: Likewise.
12768 * inet/inet6_option.c (option_alloc): Likewise.
12769 * intl/bindtextdom.c (set_binding_values): Likewise.
12770 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12771 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12772 * intl/localealias.c (read_alias_file): Likewise.
12773 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12774 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12775 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12776 * libio/fmemopen.c (fmemopen): Likewise.
12777 * libio/iofgets.c (_IO_fgets): Likewise.
12778 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12779 * libio/iofgetws.c (fgetws): Likewise.
12780 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12781 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12782 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12783 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12784 * locale/findlocale.c (_nl_find_locale): Likewise.
12785 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12786 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12787 Likewise.
12788 * locale/setlocale.c (setlocale): Likewise.
12789 * login/programs/pt_chown.c (main): Likewise.
12790 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12791 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12792 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12793 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12794 * math/e_exp2l.c: Likewise.
12795 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12796 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12797 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12798 * math/s_catan.c (__catan): Likewise.
12799 * math/s_catanf.c (__catanf): Likewise.
12800 * math/s_catanh.c (__catanh): Likewise.
12801 * math/s_catanhf.c (__catanhf): Likewise.
12802 * math/s_catanhl.c (__catanhl): Likewise.
12803 * math/s_catanl.c (__catanl): Likewise.
12804 * math/s_ccosh.c (__ccosh): Likewise.
12805 * math/s_ccoshf.c (__ccoshf): Likewise.
12806 * math/s_ccoshl.c (__ccoshl): Likewise.
12807 * math/s_cexp.c (__cexp): Likewise.
12808 * math/s_cexpf.c (__cexpf): Likewise.
12809 * math/s_cexpl.c (__cexpl): Likewise.
12810 * math/s_clog10.c (__clog10): Likewise.
12811 * math/s_clog10f.c (__clog10f): Likewise.
12812 * math/s_clog10l.c (__clog10l): Likewise.
12813 * math/s_clog.c (__clog): Likewise.
12814 * math/s_clogf.c (__clogf): Likewise.
12815 * math/s_clogl.c (__clogl): Likewise.
12816 * math/s_csin.c (__csin): Likewise.
12817 * math/s_csinf.c (__csinf): Likewise.
12818 * math/s_csinh.c (__csinh): Likewise.
12819 * math/s_csinhf.c (__csinhf): Likewise.
12820 * math/s_csinhl.c (__csinhl): Likewise.
12821 * math/s_csinl.c (__csinl): Likewise.
12822 * math/s_csqrt.c (__csqrt): Likewise.
12823 * math/s_csqrtf.c (__csqrtf): Likewise.
12824 * math/s_csqrtl.c (__csqrtl): Likewise.
12825 * math/s_ctan.c (__ctan): Likewise.
12826 * math/s_ctanf.c (__ctanf): Likewise.
12827 * math/s_ctanh.c (__ctanh): Likewise.
12828 * math/s_ctanhf.c (__ctanhf): Likewise.
12829 * math/s_ctanhl.c (__ctanhl): Likewise.
12830 * math/s_ctanl.c (__ctanl): Likewise.
12831 * math/w_pow.c: Likewise.
12832 * math/w_powf.c: Likewise.
12833 * math/w_powl.c: Likewise.
12834 * math/w_scalb.c (sysv_scalb): Likewise.
12835 * math/w_scalbf.c (sysv_scalbf): Likewise.
12836 * math/w_scalbl.c (sysv_scalbl): Likewise.
12837 * misc/error.c (error_tail): Likewise.
12838 * misc/pselect.c (__pselect): Likewise.
12839 * nis/nis_callback.c (__nis_create_callback): Likewise.
12840 * nis/nis_call.c (__nisfind_server): Likewise.
12841 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12842 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12843 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12844 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12845 * nis/nis_lookup.c (nis_lookup): Likewise.
12846 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12847 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12848 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12849 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12850 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12851 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12852 * nis/nss_compat/compat-initgroups.c (add_group)
12853 (internal_getgrent_r): Likewise.
12854 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12855 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12856 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12857 (internal_getspnam_r): Likewise.
12858 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12859 (_nss_nis_getaliasbyname_r): Likewise.
12860 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12861 (_nss_nis_getntohost_r): Likewise.
12862 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12863 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12864 (_nss_nis_getgrgid_r): Likewise.
12865 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12866 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12867 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12868 (_nss_nis_gethostbyname4_r): Likewise.
12869 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12870 (initgroups_netid): Likewise.
a1ffb40e 12871 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12872 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12873 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12874 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12875 (_nss_nis_getprotobynumber_r): Likewise.
12876 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12877 (_nss_nis_getsecretkey): Likewise.
12878 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12879 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12880 (_nss_nis_getpwuid_r): Likewise.
12881 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12882 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12883 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12884 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12885 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12886 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12887 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12888 Likewise.
57f41c40
AS
12889 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12890 (_nss_nisplus_getntohost_r): Likewise.
12891 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12892 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12893 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12894 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12895 Likewise.
57f41c40
AS
12896 * nis/nss_nisplus/nisplus-initgroups.c
12897 (_nss_nisplus_initgroups_dyn): Likewise.
12898 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12899 (_nss_nisplus_getnetbyaddr_r): Likewise.
12900 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12901 (_nss_nisplus_getprotobynumber_r): Likewise.
12902 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12903 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12904 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12905 Likewise.
57f41c40
AS
12906 * nis/nss_nisplus/nisplus-service.c
12907 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12908 (_nss_nisplus_getservbyport_r): Likewise.
12909 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12910 (_nss_nisplus_getspnam_r): Likewise.
12911 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12912 Likewise.
a1ffb40e
OB
12913 * nscd/aicache.c (addhstaiX): Likewise.
12914 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12915 * nscd/connections.c (register_traced_file, send_ro_fd)
12916 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12917 (main_loop_epoll): Likewise.
a1ffb40e
OB
12918 * nscd/grpcache.c (addgrbyX): Likewise.
12919 * nscd/hstcache.c (addhstbyX): Likewise.
12920 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12921 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12922 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12923 (addinnetgrX): Likewise.
12924 * nscd/nscd-client.h (__nscd_acquire_maplock)
12925 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12926 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12927 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12928 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12929 Likewise.
12930 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12932 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12933 (__nscd_get_map_ref): Likewise.
a1ffb40e 12934 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12935 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12936 Likewise.
a1ffb40e
OB
12937 * nscd/pwdcache.c (addpwbyX): Likewise.
12938 * nscd/selinux.c (preserve_capabilities): Likewise.
12939 * nscd/servicescache.c (addservbyX): Likewise.
12940 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12941 * posix/fnmatch.c (fnmatch): Likewise.
12942 * posix/getopt.c (_getopt_internal_r): Likewise.
12943 * posix/glob.c (glob, glob_in_dir): Likewise.
12944 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12945 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12946 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12947 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12948 * resolv/res_init.c: Likewise.
12949 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12950 * resolv/res_query.c (__libc_res_nquery): Likewise.
12951 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12952 Likewise.
12953 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12954 * stdio-common/perror.c (perror): Likewise.
12955 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12956 * stdio-common/tmpnam.c (tmpnam): Likewise.
12957 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12958 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12959 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12960 Likewise.
a1ffb40e
OB
12961 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12962 * stdlib/putenv.c (putenv): Likewise.
12963 * stdlib/setenv.c (__add_to_environ): Likewise.
12964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12965 * stdlib/strtol_l.c (INTERNAL): Likewise.
12966 * string/memmem.c (memmem): Likewise.
12967 * string/strerror.c (strerror): Likewise.
12968 * string/strnlen.c (__strnlen): Likewise.
12969 * string/test-memmem.c (simple_memmem): Likewise.
12970 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12971 * sunrpc/pm_getport.c (__get_socket): Likewise.
12972 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12973 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12974 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12975 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12976 Likewise.
12977 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12978 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12979 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12980 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12981 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12982 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12983 Likewise.
12984 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12985 Likewise.
a1ffb40e
OB
12986 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12987 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12988 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12989 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12990 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12992 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12994 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12995 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12996 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12997 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12998 Likewise.
12999 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13000 Likewise.
13001 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13002 Likewise.
13003 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13005 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13007 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13008 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13009 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13012 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13013 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13015 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13016 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13018 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13019 Likewise.
a1ffb40e
OB
13020 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13021 Likewise.
13022 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13023 Likewise.
13024 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13025 Likewise.
13026 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13028 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13029 Likewise.
13030 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13031 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13032 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13033 * sysdeps/posix/sleep.c: Likewise.
13034 * sysdeps/posix/tempname.c: Likewise.
13035 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13036 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13037 Likewise.
57f41c40
AS
13038 * sysdeps/powerpc/powerpc32/dl-machine.h
13039 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13040 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13042 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13043 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13044 Likewise.
13045 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13046 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13047 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13048 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13049 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13050 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13051 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13052 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13053 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13054 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13056 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13057 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13059 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13060 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13061 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13062 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13063 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13064 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13065 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13066 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13068 Likewise.
13069 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13070 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13071 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13072 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13073 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13074 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13075 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13076 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13077 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13078 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13079 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13080 Likewise.
13081 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13082 (__posix_fallocate64_l64): Likewise.
13083 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13084 (posix_fallocate): Likewise.
57f41c40
AS
13085 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13086 Likewise.
a1ffb40e 13087 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13088 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13089 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13090 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13091 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13092 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13093 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13094 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13095 (__posix_fallocate64_l64): Likewise.
13096 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13097 Likewise.
13098 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13099 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13100 (__get_clockfreq): Likewise.
a1ffb40e
OB
13101 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13102 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13103 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13106 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13107 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13108 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13109 Likewise.
13110 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13111 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13112 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13113 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13114 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13115 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13116 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13117 Likewise.
13118 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13119 (posix_fallocate): Likewise.
13120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13121 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13122 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13123 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13124 (elf_machine_rela, elf_machine_rela_relative)
13125 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13126 * time/asctime.c (asctime_internal): Likewise.
13127 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13128 * time/tzset.c (__tzset_parse_tz): Likewise.
13129 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13130 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13131 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13132 * wcsmbs/wcsmbsload.h: Likewise.
13133
f3d338c9
OB
13134 [BZ #15894]
13135 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13136
57f41c40
AS
13137 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13138 (arena_get2): Remove THREAD_STATS conditionals.
13139 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13140 (__malloc_stats, int): Likewise.
bdfe308a 13141
d674667c
MF
131422014-02-08 Mike Frysinger <vapier@gentoo.org>
13143
13144 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13145 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13146
6349768c
MF
13147 * manual/setjmp.texi: Fix typos/grammar errors.
13148
0b7c7473
MF
13149 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13150 Only return early when n is <= 0. Delete unused return statement.
13151
ac8cc9e3
MF
13152 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13153 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13154 * debug/tst-longjmp_chk3.c: New file.
13155
c5bb8e23
MF
13156 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13157 (test_main): Replace code with set_fortify_handler call.
13158 * debug/test-strcpy_chk.c: Likewise.
13159 * debug/tst-chk1.c: Likewise.
13160 * debug/tst-longjmp_chk.c: Likewise.
13161 * test-skeleton.c: Include fcntl.h & paths.h
13162 (set_fortify_handler): Define.
13163
10444e42
MF
13164 * debug/tst-longjmp_chk.c: Add header comment and include
13165 ../test-skeleton.c.
13166 (do_test): Mark static.
13167 (TEST_FUNCTION): Define.
13168
1e805e8d
MF
13169 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13170 (IP_PMTUDISC_INTERFACE): Likewise.
13171 (IP_MULTICAST_IF): Likewise.
13172 (IP_MULTICAST_TTL): Likewise.
13173 (IP_MULTICAST_LOOP): Likewise.
13174 (IP_ADD_MEMBERSHIP): Likewise.
13175 (IP_DROP_MEMBERSHIP): Likewise.
13176 (IP_UNBLOCK_SOURCE): Likewise.
13177 (IP_BLOCK_SOURCE): Likewise.
13178 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13179 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13180 (IP_MSFILTER): Likewise.
13181 (MCAST_JOIN_GROUP): Likewise.
13182 (MCAST_BLOCK_SOURCE): Likewise.
13183 (MCAST_UNBLOCK_SOURCE): Likewise.
13184 (MCAST_LEAVE_GROUP): Likewise.
13185 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13186 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13187 (MCAST_MSFILTER): Likewise.
13188 (IP_MULTICAST_ALL): Likewise.
13189 (IP_UNICAST_IF): Likewise.
13190
73f79bb7
MF
13191 * timezone/Makefile: Delete $(have-ksh) check.
13192 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13193 * timezone/tzselect.ksh: Add +x mode bits.
13194
8da79b60
MF
13195 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13196 (ANON_INODE_FS_MAGIC): Likewise.
13197 (BDEVFS_MAGIC): Likewise.
13198 (BINFMTFS_MAGIC): Likewise.
13199 (BTRFS_TEST_MAGIC): Likewise.
13200 (CRAMFS_MAGIC_WEND): Likewise.
13201 (DEBUGFS_MAGIC): Likewise.
13202 (ECRYPTFS_SUPER_MAGIC): Likewise.
13203 (EXT3_SUPER_MAGIC): Likewise.
13204 (EXT4_SUPER_MAGIC): Likewise.
13205 (FUTEXFS_SUPER_MAGIC): Likewise.
13206 (HOSTFS_SUPER_MAGIC): Likewise.
13207 (HUGETLBFS_MAGIC): Likewise.
13208 (MINIX3_SUPER_MAGIC): Likewise.
13209 (MTD_INODE_FS_MAGIC): Likewise.
13210 (NILFS_SUPER_MAGIC): Likewise.
13211 (OPENPROM_SUPER_MAGIC): Likewise.
13212 (PIPEFS_MAGIC): Likewise.
13213 (PSTOREFS_MAGIC): Likewise.
13214 (QNX6_SUPER_MAGIC): Likewise.
13215 (RAMFS_MAGIC): Likewise.
13216 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13217 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13218 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13219 (SECURITYFS_MAGIC): Likewise.
13220 (SELINUX_MAGIC): Likewise.
13221 (SMACK_MAGIC): Likewise.
13222 (SOCKFS_MAGIC): Likewise.
13223 (SQUASHFS_MAGIC): Likewise.
13224 (STACK_END_MAGIC): Likewise.
13225 (TMPFS_MAGIC): Likewise.
13226 (USBDEVICE_SUPER_MAGIC): Likewise.
13227 (V9FS_MAGIC): Likewise.
13228 (XENFS_SUPER_MAGIC): Likewise.
13229 (CRAMFS_MAGIC): Fix typo in comment.
13230 (EXT2_SUPER_MAGIC): Update comment.
13231 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13232
464263cc
JM
132332014-02-08 Joseph Myers <joseph@codesourcery.com>
13234
c6bfe5c4
JM
13235 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13236 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13237 * sysdeps/unix/sysv/linux/arm: Move directory from
13238 ports/sysdeps/unix/sysv/linux/arm.
13239 * README: Update listing for arm-*-linux-gnueabi.
13240
464263cc
JM
13241 * README: Remove mention of am33.
13242
32749f6c
RM
132432014-02-07 Roland McGrath <roland@hack.frob.com>
13244
13245 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13246 than the comma operator, to avoid "rhs of comma has no effect"
13247 compiler warnings.
13248 (__sigfillset, __sigandset, __sigorset): Likewise.
13249 * include/signal.h (__sigemptyset): Likewise.
13250 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13251
d5b396c1
AM
132522014-02-07 Allan McRae <allan@archlinux.org>
13253
13254 * version.h (RELEASE): Set to "development".
13255 (VERSION): Set to "2.19.90"
13256 * NEWS: Add 2.20 section.
13257
3bfff2ed
CD
132582014-02-06 Carlos O'Donell <carlos@redhat.com>
13259
13260 [BZ #16529]
13261 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13262
ee7cc385
SP
132632014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13264
13265 * manual/contrib.texi: Update entry for Carlos O'Donell,
13266 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13267
f877c4f2
CD
132682014-02-05 Carlos O'Donell <carlos@rehdat.com>
13269
27e839f6
CD
13270 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13271
f877c4f2
CD
13272 * sysdeps/unix/sysv/linux/kernel-features.h
13273 [__LINUX_KERNEL_VERSION >= 0x020621]
13274 (__ASSUME_PROC_PID_TASK_COMM): Define.
13275
68159946
SP
132762014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13277
ba17cdbd
SP
13278 [BZ #16398]
13279 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13280 conversion when destination buffer does not have enough space.
13281 * libio/tst-ftell-partial-wide.c: New test case.
13282 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13283
68159946
SP
13284 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13285 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13286 Leonard and Allan McRae.
13287
2b528732
DM
132882014-02-04 David S. Miller <davem@davemloft.net>
13289
13290 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13291 32-bit.
13292
0ff82463
AZ
132932014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13294
57f41c40
AS
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13296 New file
c01603f7
AZ
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13298 New file
57f41c40
AS
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13300 New file.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13302 New file.
c01603f7
AZ
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13304 New file.
57f41c40
AS
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13306 New file.
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13308 New file.
c01603f7
AZ
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13310 New file.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13312 New file.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13314 New file.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13316 New file.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13318 New file.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13320 New file.
13321
133222014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13323
0ff82463
AZ
13324 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13325 * shlib-versions: Likewise.
13326
1695c773
AZ
133272014-02-04 Roland McGrath <roland@hack.frob.com>
13328 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13329
13330 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13331 (abilist-pattern): New variable, set to %-le.abilist.
13332
13333 * Makerules (abilist-pattern): New variable.
13334 (vpath): Use $(abilist-pattern) in place of %.abilist.
13335 (check-abi-% pattern rule): Likewise.
13336 (check-abi, update-abi): Likewise.
13337
6c0ce4b4
EW
133382014-02-04 Eric Wong <normalperson@yhbt.net>
13339
13340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13341
481e3524
CD
133422014-02-03 Carlos O'Donell <carlos@redhat.com>
13343
13344 * manual/startup.texi: Add next, previous, and top entries for
13345 the `Program Arguments' and `Environment Variables' nodes.
13346
375592d3
AO
133472014-02-03 Alexandre Oliva <aoliva@redhat.com>
13348
13349 * manual/macros.texi: Add comments before MTASC-safety macros.
13350
f54838ba
AO
13351 * manual/users.texi: Document MTASC-safety properties.
13352
57f41c40
AS
13353 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13354 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13355 @deftypefun, and add @safety note.
13356 * manual/signal.texi: Move comments that analyze the above
13357 functions to their home place.
13358
fd3daba4
AM
133592014-02-03 Allan McRae <allan@archlinux.org>
13360
13361 * po/sl.po: Update Slovenian translation from translation project.
13362
597636d7
AO
133632014-02-02 Alexandre Oliva <aoliva@redhat.com>
13364
13365 * manual/time.texi (timegm): Add missing blank after @c.
13366 Reported by Joseph Myers <joseph@codesourcery.com>.
13367
ee196e3c
AO
133682014-02-01 Alexandre Oliva <aoliva@redhat.com>
13369
13370 * manual/check-safety.sh: New.
13371 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13372
f8d529d5
AO
13373 * manual/terminal.texi: Document MTASC-safety properties.
13374
de55fdf4
AO
13375 * manual/filesys.texi: Document MTASC-safety properties.
13376
c3299c08
AO
13377 * manual/errno.texi: Document MTASC-safety properties.
13378
06e90b14
AO
13379 * manual/intro.texi: Document safety identifiers and
13380 conditionals.
13381
1acd4371
AO
13382 * manual/string.texi (wcstok): Fix prototype.
13383 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13384
23e5b8cb
AO
13385 * manual/time.texi: Document MTASC-safety properties.
13386
11087373
AO
13387 * manual/string.texi: Document MTASC-safety properties.
13388
5da2c93d
AO
13389 * manual/threads.texi: Document MTASC-safety properties.
13390
171e9210
AO
13391 * manual/stdio.texi: Document MTASC-safety properties.
13392
d9e02532
AO
13393 * manual/syslog.texi: Document MTASC-safety properties.
13394
6af8bab7
AO
13395 * manual/sysinfo.texi: Document MTASC-safety properties.
13396
663b02d7
AO
13397 * manual/startup.texi: Document MTASC-safety properties.
13398
973f180b
AO
13399 * manual/socket.texi: Document MTASC-safety properties.
13400
8f3c25c8
AO
13401 * manual/signal.texi: Document MTASC-safety properties.
13402
542210fb
AO
134032014-01-31 Alexandre Oliva <aoliva@redhat.com>
13404
13405 * manual/setjmp.texi: Document MTASC-safety properties.
13406
433c45a2
AO
13407 * manual/search.texi: Document MTASC-safety properties.
13408
c8ce789c
AO
13409 * manual/resource.texi: Document MTASC-safety properties.
13410
19f5d29c
AO
13411 * manual/process.texi: Document MTASC-safety properties.
13412
e2dfb7f4
AO
13413 * manual/platform.texi: Document MTASC-safety properties.
13414
8c1413f5
AO
13415 * manual/pipe.texi: Document MTASC-safety properties.
13416
03483ada
AO
13417 * manual/pattern.texi: Document MTASC-safety properties.
13418
29e7e2df
AO
13419 * manual/message.texi: Document MTASC-safety properties.
13420
9f529d7c
AO
13421 [BZ #12751]
13422 * manual/memory.texi: Document MTASC-safety properties.
13423
27aaa791
AO
13424 * manual/math.texi: Document MTASC-safety properties.
13425
f2d58726
AO
13426 * manual/locale.texi: Document MTASC-safety properties.
13427
2cc3615c
AO
13428 * manual/llio.texi: Document MTASC-safety properties.
13429
d9f0ec97
AO
13430 * manual/libdl.texi: New.
13431
e7c4409a
AO
13432 * manual/lang.texi: Document MTASC-safety properties.
13433
27bdc63c
AO
13434 * manual/job.texi: Document MTASC-safety properties.
13435
a7b90ea9
AO
13436 * manual/getopt.texi: Document MTASC-safety properties.
13437
c49130e3
AO
13438 * manual/ctype.texi: Document MTASC-safety properties.
13439
0d23a5c1
MR
134402014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13441
13442 [BZ #16046]
13443 * csu/libc-tls.c (static_map): Remove variable.
13444 (__libc_setup_tls): Use main executable's link map for TLS data.
13445 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13446 casing for LM_ID_BASE and GL(dl_nns).
13447 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13448 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13449 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13450 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13451 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13452 member.
13453 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13454 l_phnum members.
13455
0037bb60
AO
134562014-01-30 Alexandre Oliva <aoliva@redhat.com>
13457
13458 * manual/debug.texi: Document MTASC-safety properties.
13459
409e00bd
L
134602014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13461
13462 [BZ #16510]
13463 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13464 of __x86_64__ when disabling x87 inline functions.
13465
86e60666
AO
134662014-01-29 Alexandre Oliva <aoliva@redhat.com>
13467
13468 * manual/charset.texi: Document MTASC-safety properties.
13469
76167637
AO
13470 * manual/crypt.texi: Document MTASC-safety properties.
13471
e567f2a0
AO
13472 * manual/conf.texi: Document MTASC-safety properties.
13473
b719dafd
AO
13474 * manual/arith.texi: Document MTASC-safety properties.
13475
4a16c662
AO
13476 * manual/argp.texi: Document MTASC-safety properties.
13477
0a57b83e
AO
13478 * manual/macros.texi: Introduce macros to document multi
13479 thread, asynchronous signal and asynchronous cancellation
13480 safety properties.
13481 * manual/intro.texi: Introduce the properties themselves.
13482
feab2397
KK
134832014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13484
13485 * sysdeps/sh/sh4/Makefile: New file.
13486
1c0d11bc
AS
134872014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13488
13489 * math/gen-libm-test.pl ($srcdir): New variable.
13490 ($auto_input): Use it.
13491
af37a8a3
SP
134922014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13493
d7b00f98
SP
13494 [BZ #16506]
13495 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13496 access beyond array bounds when parsing netgroups file.
13497
af37a8a3
SP
13498 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13499 the old buffer before realloc.
13500
0c00f062
AM
135012014-01-27 Allan McRae <allan@archlinux.org>
13502
13503 * po/fr.po: Update French translation from translation project.
13504
7d69a1b0
KK
135052014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13506
13507 * sysdeps/sh/libm-test-ulps: Regenerate.
13508
6e697ff7
DM
135092014-01-24 David S. Miller <davem@davemloft.net>
13510
13511 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13512
9cadb35c
KK
135132014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13514
13515 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13516 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13517
5d41dadf
SP
135182013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13519
13520 [BZ #16474]
13521 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13522 string pointers after reallocation.
13523
0bad441c
KK
135242014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13525
13526 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13527 __SH4A__ instead of __SH_FPU_ANY__.
13528
7007c661
KK
135292014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13530
13531 * sysdeps/sh/fpu_control.h: New file.
13532 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13533 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13534 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13535 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13536 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13537 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13538 * sysdeps/sh/sys/ucontext.h: Remove.
13539 * sysdeps/sh/sys: Remove directory.
13540
0f0c35e4
AK
135412014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13542
13543 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13544 s390/sys/ucontext.h.
13545 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13546 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13547
4959e284
L
135482014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13549
13550 [BZ #15605]
13551 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13552
d98720e0
AZ
135532014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13554
13555 [BZ#16431]
13556 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13557 Adjust the vDSO correctly for internal calls.
13558 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13559
91cbd0bc
AM
135602014-01-20 Allan McRae <allan@archlinux.org>
13561
13562 * po/ca.po: Update Catalan translation from translation project.
13563
7a02cfad
MF
135642014-01-16 Mike Frysinger <vapier@gentoo.org>
13565
13566 * sysdeps/s390/sotruss-lib.c: New file.
13567
736c304a
AZ
135682014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13569
13570 [BZ#16430]
6e077ee5 13571 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13572 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13573 local calls issues by not having a PLT stub required for IFUNC calls.
13574 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13575
94d0cea0
JM
135762014-01-16 Joseph Myers <joseph@codesourcery.com>
13577
13578 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13579 * math/test-fpucw-static.c: Likewise.
13580
980cb518
SP
135812013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13582
13583 [BZ #16453]
13584 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13585
2393fc01
AZ
135862014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13587
13588 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13589 implementation for powerpc.
13590
d359bcc2
OB
135912014-01-15 Ondřej Bílka <neleai@seznam.cz>
13592
13593 [BZ #14782]
13594 * sysdeps/posix/system.c (__libc_system): Do not enable
13595 asynchronous cancellation.
13596
7beb48cb
AK
135972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13598
13599 [BZ #16427]
13600 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13601 handling only for numbers special also in the IEEE case.
13602
c20d5bf5
AK
136032014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13604
13605 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13606
e83bd4ee
AM
136072014-01-11 Allan McRae <allan@archlinux.org>
13608
76d0ea69
AM
13609 * po/bg.po: Update Bulgarian translation from translation project.
13610
e83bd4ee
AM
13611 * po/de.po: Update German translation from translation project.
13612
bc2ba20a
RM
136132014-01-10 Roland McGrath <roland@hack.frob.com>
13614
13615 * sysdeps/generic/gcc-compat.h: New file.
13616
649ecea2
SP
136172014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13618
13619 * benchtests/asin-inputs: Correct slow inputs.
13620 * benchtests/acos-inputs: Likewise.
13621
1b19c006
AM
136222014-01-10 Allan McRae <allan@archlinux.org>
13623
a46dab08
AM
13624 * po:sv.po: Update Swedish translation from translation project.
13625
421df74a
AM
13626 * po/vi.po: Update Vietnamese translation from translation project.
13627
d61c51a7
AM
13628 * po/eo.po: Update Esperanto translation from translation project.
13629
0339a319
AM
13630 * po/cs.po: Update Czech translation from translation project.
13631
94ad3e99
AM
13632 * po/nl.po: Update Dutch translation from translation project.
13633
e349ca71
AM
13634 * po/pl.po: Update Polish translation from translation project.
13635
ddf930c1
AM
13636 * po/ru.po: Update Russian translation from translation project.
13637
1b19c006
AM
13638 * po/uk.po: Update Ukrainian translation from translation project.
13639
9f236c49
BM
136402014-01-08 Brooks Moses <bmoses@google.com>
13641
13642 * elf/dl-load.c: Fix comment typo.
13643
cd6701cf
CD
136442014-01-08 Carlos O'Donell <carlos@redhat.com>
13645
13646 * po/header.pot: Rename to...
13647 * po/pot.header: ... this.
13648 * po/Makefile: Use pot.header.
13649
66671c84
YK
136502014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13651 Maxim Kuvyrkov <maxim@kugelworks.com>
13652
13653 [BZ #16394]
cd6701cf
CD
13654 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13655 SRC and DEST against LEN.
66671c84 13656
38f34581
AZ
136572014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13658
13659 [BZ #16414]
13660 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13661 implementation.
13662 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13663
136642014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13665
13666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13667
4c327f2a
JM
136682014-01-08 Joseph Myers <joseph@codesourcery.com>
13669
13670 [BZ #16408]
13671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13672 for large positive arguments.
13673
b821f414
JM
136742014-01-07 Joseph Myers <joseph@codesourcery.com>
13675
1f0f2067
JM
13676 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13677
a5a326f6
JM
13678 * math/auto-libm-test-in: Mark various tests with
13679 xfail-rounding:ldbl-128ibm.
13680 * math/auto-libm-test-out: Regenerated.
13681
b821f414
JM
13682 [BZ #16407]
13683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13684 Increase overflow threshold.
13685
94c8a4bc
OB
136862014-01-07 Ondřej Bílka <neleai@seznam.cz>
13687
13688 [BZ #14286]
13689 * stdio-common/vfprintf.c: Check for integer overflow.
13690
87ded0c3
AK
136912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13692
13693 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13694 the first argument and return value of __tls_get_addr_internal.
13695
c5eebdd0
AK
136962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13697
13698 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13699 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13700
05d138ef
AK
137012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13702
13703 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13704 * sysdeps/s390/rtld-global-offsets.sym: New file.
13705 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13706 GLIBC_2.19 symbol.
13707 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13708 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13709 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13710 ... this.
13711 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13712 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13713 ... this.
13714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13715 Regenerate.
13716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13717 Regenerate.
13718 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13719 halfs of GPRs for high_gprs contexts.
13720 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13721 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13722 field.
13723 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13724 uc_flags field.
13725 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13726 64 bit versions:
13727 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13728 for high GPRs (uc_high_gprs) and for future extensions
13729 (__reserved).
13730 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13731 for future extensions (__reserved).
13732 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13733 64 bit versions:
13734 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13735 SC_HIGHGPRS offset definition.
13736 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13737 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13738
93a45ff1
AK
13739 * Versions.def: Add GLIBC_2.19 for libpthread.
13740 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13741 siglongjmp for libpthread with GLIBC_2.19 symver.
13742 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13743 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13744 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13745 * sysdeps/s390/__longjmp.c: New file.
13746 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13747 * sysdeps/s390/longjmp.c: New file.
13748 * sysdeps/s390/setjmp.S: New file.
13749 * sysdeps/s390/sigjmp.S: New file.
13750 * sysdeps/s390/v1-longjmp.c: New file.
13751 * sysdeps/s390/v1-setjmp.h: New file.
13752 * sysdeps/s390/v1-sigjmp.c: New file.
13753 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13754 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13755 GLIBC_2.19 version.
13756 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13757 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13758 versioned symbols for ____longjmp_chk.
13759 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13760 Likewise.
13761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13762 Regenerate.
13763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13764 Regenerate.
13765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13766 Regenerate.
13767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13768 Regenerate.
13769 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13770 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13771 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13772 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13773 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13774 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13775 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13776 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13777 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13778 * sysdeps/s390/rtld-__longjmp.c: New file.
13779 * sysdeps/s390/rtld-setjmp.S: New file.
13780
eb3fc44b
JM
137812014-01-06 Joseph Myers <joseph@codesourcery.com>
13782
13783 [BZ #16400]
13784 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13785 Return -__logl (x) for small positive arguments without evaluating
13786 a polynomial.
13787
9341dde4
MF
137882014-01-06 Mike Frysinger <vapier@gentoo.org>
13789
13790 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13791 Rename to ...
13792 (__ptrace_peeksiginfo_args): ... this.
13793 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13794 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13795 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13796
4cff0293
AM
137972014-01-06 Allan McRae <allan@archlinux.org>
13798
13799 * inet/netinet/in.h: Fix typo in comment.
13800
75595dcf
AJ
138012014-01-05 Andreas Jaeger <aj@suse.de>
13802
13803 * sysdeps/i386/fpu/libm-test-ulps: Update.
13804
79c1e109
AM
138052014-01-05 Allan McRae <allan@archlinux.org>
13806
dd804818
AM
13807 * po/libc.pot: Regenerated.
13808
79c1e109
AM
13809 * malloc/memusagestat.c: Fix gettext call formatting.
13810
0c813d1f
SK
138112014-01-04 Sami Kerola <kerolasa@iki.fi>
13812
13813 * nscd/nscd.c: Improve usage() output.
13814
20f4a8d9
MF
138152014-01-04 Mike Frysinger <vapier@gentoo.org>
13816
13817 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13818 * sysdeps/unix/sysv/linux/configure: Regenerated.
13819 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13820 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13821
22562bb2
JM
138222014-01-03 Joseph Myers <joseph@codesourcery.com>
13823
13824 [BZ #16390]
13825 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13826 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13827
d7ad2d9b
AZ
138282014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13829
13830 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13831 extra tokens at end of #undef directive.
13832 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13833 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13834 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13835
7dd009d8
JM
138362014-01-03 Joseph Myers <joseph@codesourcery.com>
13837
24db925a
JM
13838 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13839
7dd009d8
JM
13840 * math/auto-libm-test-in: Mark various tests with
13841 xfail-rounding:ldbl-128ibm.
13842 * math/auto-libm-test-out: Regenerated.
13843
396e3ecf
JM
138442014-01-02 Joseph Myers <joseph@codesourcery.com>
13845
819e5d50
JM
13846 [BZ #16386]
13847 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13848 numbers with subnormal high part when calculating exponent.
13849
90b6a1e5
JM
13850 [BZ #16385]
13851 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13852 fabs.
13853
396e3ecf
JM
13854 [BZ #16384]
13855 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13856 M_LN2l.
13857 (__ieee754_acoshl): Use __log1pl not __log1p.
13858
6c8dbf00
OB
138592013-01-02 Ondřej Bílka <neleai@seznam.cz>
13860
57f41c40
AS
13861 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13862 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13863 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13864 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13865 (reused_arena, arena_get2): Convert to GNU style.
13866 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13867 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13868 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13869 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13870 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13871 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13872 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13873 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13874 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13875 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13876 * malloc/malloc.h: Likewise.
57f41c40
AS
13877 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13878 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13879 * malloc/mcheck.h: Likewise.
57f41c40
AS
13880 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13881 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13882 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13883 * malloc/morecore.c (__default_morecore): Likewise.
13884 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13885 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13886 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13887 (print_and_abort): Likewise.
6c8dbf00
OB
13888 * malloc/obstack.h: Likewise.
13889 * malloc/set-freeres.c (__libc_freeres): Likewise.
13890 * malloc/tst-mallocstate.c (main): Likewise.
13891 * malloc/tst-mtrace.c (main): Likewise.
13892 * malloc/tst-realloc.c (do_test): Likewise.
13893
d4124212
SP
138942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13895
9a3c6a6f
SP
13896 [BZ #16366]
13897 * nscd/netgroupcache.c (do_notfound): New function.
13898 (addgetnetgrentX): Use it.
13899
d4124212
SP
13900 [BZ # 16365]
13901 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13902 NSS_STATUS_NOTFOUND.
13903
97b9a009
JM
139042014-01-01 Joseph Myers <joseph@codesourcery.com>
13905
13906 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13908
d4697bc9
AM
139092014-01-01 Allan McRae <allan@archlinux.org>
13910
ddb3687f
AM
13911 * scripts/update-copyrights: Update configure input file suffix.
13912
88726d48
AM
13913 * NEWS: Update copyright year.
13914 * catgets/gencat.c: Likewise.
13915 * csu/version.c: Likewise.
13916 * debug/catchsegv.sh: Likewise.
13917 * debug/pcprofiledump.c: Likewise.
13918 * debug/xtrace.sh: Likewise.
13919 * elf/ldconfig.c: Likewise.
13920 * elf/ldd.bash.in: Likewise.
13921 * elf/pldd.c: Likewise.
13922 * elf/sotruss.ksh: Likewise.
13923 * elf/sprof.c: Likewise.
13924 * iconv/iconv_prog.c: Likewise.
13925 * iconv/iconvconfig.c: Likewise.
13926 * locale/programs/locale.c: Likewise.
13927 * locale/programs/localedef.c: Likewise.
13928 * login/programs/pt_chown.c: Likewise.
13929 * malloc/memusage.sh: Likewise.
13930 * malloc/memusagestat.c: Likewise.
13931 * malloc/mtrace.pl: Likewise.
13932 * manual/libc.texinfo: Likewise.
13933 * nscd/nscd.c: Likewise.
13934 * nss/getent.c: Likewise.
13935 * nss/makedb.c: Likewise.
13936 * posix/getconf.c: Likewise.
13937 * scripts/test-installation.pl: Likewise.
13938
d4697bc9
AM
13939 * All files with FSF copyright notices: Update copyright dates
13940 using scripts/update-copyrights.
13941 * intl/plural.c: Regenerated.
13942 * locale/programs/charmap-kw.h: Likewise.
13943 * locale/programs/locfile-kw.h: Likewise.
13944
c8590f9d
MF
139452013-12-31 Mike Frysinger <vapier@gentoo.org>
13946
13947 * sysdeps/unix/sysv/linux/configure: Regenerated.
13948 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13949 the linux/fanotify.h header.
13950 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13951 HAVE_LINUX_FANOTIFY_H is defined.
13952
b19221b9
SP
139532013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13954
dd1d85e5
SP
13955 * benchtests/cos-inputs: New inputs.
13956 * benchtests/sin-inputs: Likewise.
13957
1acbb90f
SP
13958 * benchtests/atan-inputs: New inputs. Fix name of multiple
13959 precision fallback inputs.
13960
4c012ed3
SP
13961 * benchtests/atanh-inputs: New inputs.
13962 * benchtests/tanh-inputs: Likewise.
13963
eff98324
SP
13964 * benchtests/acosh-inputs: New inputs.
13965 * benchtests/asinh-inputs: Likewise.
13966
ce641152
SP
13967 * benchtests/cosh-inputs: New inputs.
13968 * benchtests/sinh-inputs: Likewise.
13969
b19221b9
SP
13970 * benchtests/acos-inputs: Add more inputs.
13971 * benchtests/asin-inputs: Likewise.
13972
030a4976 139732013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13974
030a4976 13975 [BZ #16375]
9dcc8f11
VS
13976 * manual/arith.texi: Fix spelling.
13977 * manual/charset.texi: Likewise.
13978 * manual/errno.texi: Likewise.
13979 * manual/filesys.texi: Likewise.
13980 * manual/lang.texi: Likewise.
13981 * manual/llio.texi: Likewise.
13982 * manual/locale.texi: Likewise.
13983 * manual/message.texi: Likewise.
13984 * manual/resource.texi: Likewise.
13985 * manual/search.texi: Likewise.
13986 * manual/setjmp.texi: Likewise.
13987 * manual/stdio.texi: Likewise.
13988 * manual/string.texi: Likewise.
13989 * manual/sysinfo.texi: Likewise.
13990 * manual/time.texi: Likewise.
13991
11520a57
CD
139922013-12-27 Carlos O'Donell <carlos@redhat.com>
13993
13994 * po/sl.po: New file.
13995
471103ae
MF
139962013-12-27 Mike Frysinger <vapier@gentoo.org>
13997
13998 * .gitignore: Add core/.gdbinit/.gdb_history.
13999
6c9642ed
AM
140002013-12-27 Allan McRae <allan@archlinux.org>
14001
14002 [BZ #16369]
14003 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14004 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14005
3f637079
BM
140062013-12-24 Brooks Moses <bmoses@google.com>
14007
14008 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14009 all compilers that claim C++98 compliance, not just GCC.
14010 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14011 Likewise.
14012
abc26e99
MK
140132013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14014
14015 * NEWS: Restore accidentally deleted bug-fix entries.
14016
362b47fe
MK
140172013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14018 Ondřej Bílka <neleai@seznam.cz>
14019
14020 [BZ #15073]
14021 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14022 have_lock.
362b47fe 14023
b9bcbbcb
OB
140242013-12-23 Ondřej Bílka <neleai@seznam.cz>
14025
14026 [BZ #12986]
14027 * manual/stdio.texi (String Input Conversions): Clarify that character
14028 classes are not supported.
14029
fb55fcd2
AZ
140302013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14031
14032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14033
ef7344f0
JM
140342013-12-22 Joseph Myers <joseph@codesourcery.com>
14035
4f40e4b3
JM
14036 [BZ #16337]
14037 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14038 Calculate results for small negative arguments directly rather
14039 than using reflection formula with special underflow handling.
14040
ef7344f0
JM
14041 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14042 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14043 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14044 (fchflags): Likewise.
14045 (revoke): Likewise.
14046 (setlogin): Likewise.
14047 (sigaltstack): Likewise.
14048 (wait4): Likewise.
14049 (sigblock): Remove.
14050 (sigsetmask): Likewise.
14051 (wait3): Likewise.
14052 (waitpid): Likewise.
14053 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14054 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14055 file.
14056 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14057 * sysdeps/unix/bsd/Makefile: ... here.
14058 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14059 * sysdeps/unix/bsd/Versions: ... here.
14060 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14061 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14062 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14063 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14064 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14065 * sysdeps/unix/bsd/sigblock.c: ... here.
14066 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14067 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14068 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14069 * sysdeps/unix/bsd/sigvec.c: ... here.
14070 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14071 * sysdeps/unix/bsd/tcdrain.c: ... here.
14072 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14073 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14074 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14075 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14076 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14077 * sysdeps/unix/bsd/wait.c: ... here.
14078 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14079 * sysdeps/unix/bsd/wait3.c: ... here.
14080 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14081 * sysdeps/unix/bsd/waitpid.c: ... here.
14082
5b0626b9
JM
140832013-12-21 Joseph Myers <joseph@codesourcery.com>
14084
14085 [BZ #16356]
14086 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14087 round-to-nearest for [!USE_AS_EXPM1L].
14088 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14089 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14090 more tests of exp and exp10. Expect some exp10 tests to miss
14091 exceptions or fail in directed rounding modes.
14092 * math/auto-libm-test-out: Regenerated.
14093 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14094 (exp10_test_tonearest): New function.
14095 (exp10_towardzero_test_data): New array.
14096 (exp10_test_towardzero): New function.
14097 (exp10_downward_test_data): New array.
14098 (exp10_test_downward): New function.
14099 (exp10_upward_test_data): New array.
14100 (exp10_test_upward): New function.
14101 (main): Call the new functions.
14102 * sysdeps/i386/fpu/libm-test-ulps: Update.
14103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14104
7fda5682
JM
141052013-12-20 Joseph Myers <joseph@codesourcery.com>
14106
31e3a405
JM
14107 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14108 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14109 * math/auto-libm-test-out: Regenerated.
14110 * math/libm-test.inc (acosh_test_data): Add more tests.
14111 (atanh_test_data): Likewise.
14112 (ceil_test_data): Likewise.
14113 (copysign_test_data): Likewise.
14114 * sysdeps/i386/fpu/libm-test-ulps: Update.
14115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14116
85bff96a
JM
14117 * timezone/checktab.awk: Update from tzcode 2013i.
14118 * timezone/private.h: Likewise.
14119 * timezone/scheck.c: Likewise.
14120 * timezone/tzfile.h: Likewise.
14121 * timezone/tzselect.ksh: Likewise.
14122 * timezone/zdump.c: Likewise.
14123 * timezone/zic.c: Likewise.
14124
b7867a3b
JM
14125 * math/auto-libm-test-in: Add tests of cpow.
14126 * math/auto-libm-test-out: Regenerated.
14127 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14128 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14129 mpc_cc_c.
14130 (func_calc_desc): Add mpc_cc_c union field.
14131 (test_functions): Add cpow.
14132 (special_fill_2pi): New function.
14133 (special_real_inputs): Add 2pi.
14134 (calc_generic_results): Handle mpc_cc_c.
14135 * sysdeps/i386/fpu/libm-test-ulps: Update.
14136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14137
7fda5682
JM
14138 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14139 csqrt, ctan and ctanh.
14140 * math/auto-libm-test-out: Regenerated.
14141 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14142 (TEST_COND_x86): Likewise.
14143 (ccos_test_data): Use AUTO_TESTS_c_c.
14144 (ccosh_test_data): Likewise.
14145 (cexp_test_data): Likewise.
14146 (clog_test_data): Likewise.
14147 (csqrt_test_data): Likewise.
14148 (ctan_test_data): Likewise.
14149 (ctan_tonearest_test_data): Likewise.
14150 (ctan_towardzero_test_data): Likewise.
14151 (ctan_downward_test_data): Likewise.
14152 (ctan_upward_test_data): Likewise.
14153 (ctanh_test_data): Likewise.
14154 (ctanh_tonearest_test_data): Likewise.
14155 (ctanh_towardzero_test_data): Likewise.
14156 (ctanh_downward_test_data): Likewise.
14157 (ctanh_upward_test_data): Likewise.
14158 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14159 mpc_c_c.
14160 (func_calc_desc): Add mpc_c_c union field.
14161 (FUNC_mpc_c_c): New macro.
14162 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14163 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14164 ctanh.
14165 (special_fill_min_subnorm_p120): New function.
14166 (special_real_inputs): Add min_subnorm_p120.
14167 (calc_generic_results): Handle mpc_c_c.
14168 * sysdeps/i386/fpu/libm-test-ulps: Update.
14169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14170
5ff8d60e
SP
141712013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14172
57f41c40
AS
14173 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14174 (do_sin_slow): New functions.
14175 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14176 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14177
84ba214c
SP
14178 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14179 Use M to change sign of result instead of X. Assume X is
14180 positive.
14181 (csloww1): Likewise.
14182 (__sin): Adjust.
14183 (__cos): Adjust.
14184
975195e4
SP
14185 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14186 arguments A and DA.
14187 (__sin): Adjust.
14188 (__cos): Likewise.
14189
5ff8d60e
SP
14190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14191 (__cos): Likewise.
14192 (sloww1): Don't adjust sign of DX.
14193 (csloww1): Likewise.
14194 (sloww2): Use X directly and don't adjust sign of DX.
14195 (csloww2): Likewise.
14196
eb983568
JM
141972013-12-19 Joseph Myers <joseph@codesourcery.com>
14198
64a17f1a
JM
14199 * math/auto-libm-test-in: Add tests of cabs and carg.
14200 * math/auto-libm-test-out: Regenerated.
14201 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14202 (carg_test_data): Likewise.
14203 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14204 mpc_c_f.
14205 (func_calc_desc): Add mpc_c_f union field.
14206 (test_functions): Add cabs and carg.
14207 (calc_generic_results): Handle mpc_c_f.
14208
eb983568
JM
14209 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14210 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14211 as a macro and a compat symbol.
14212 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14213 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14214 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14215 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14216 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14217 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14218 not use .hidden.
14219 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14220 Likewise.
14221 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14222 Likewise.
14223 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14224 Likewise.
14225 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14226 Likewise.
14227 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14228 Likewise.
14229 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14230 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14231 from GLIBC_2.3.2.
14232
6eeb678a
AZ
142332013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14234
14235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14236
6f6fc482
JM
142372013-12-19 Joseph Myers <joseph@codesourcery.com>
14238
21fea2e2
JM
14239 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14240 trailing whitespace removed.
14241 * scripts/config.guess: Update to version 2013-11-29.
14242 * scripts/config.sub: Update to version 2013-10-01.
14243
6f6fc482
JM
14244 * math/auto-libm-test-in: Add tests of sincos.
14245 * math/auto-libm-test-out: Regenerated.
14246 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14247 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14248 mpfr_f_11.
14249 (func_calc_desc): Add mpfr_f_11 union field.
14250 (test_functions): Add sincos.
14251 (calc_generic_results): Handle mpfr_f_11.
14252 * sysdeps/i386/fpu/libm-test-ulps: Update.
14253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14254
83f5c32d
AS
142552013-12-19 Andreas Schwab <schwab@suse.de>
14256
14257 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14258 CALL_MCOUNT.
14259 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14260 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14261 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14262
c688b419
JM
142632013-12-19 Joseph Myers <joseph@codesourcery.com>
14264
335ee092
JM
14265 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14266 * sysdeps/i386/fpu/libm-test-ulps: Update.
14267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14268
f88acd39
JM
14269 [BZ #16293]
14270 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14271 round-to-nearest mode when using frndint.
14272 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14273 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14274 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14275 Likewise.
14276 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14277 sinh test to fail.
14278 * math/auto-libm-test-out: Regenerated.
14279 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14280 (TEST_COND_x86): Likewise.
14281 (expm1_tonearest_test_data): New array.
14282 (expm1_test_tonearest): New function.
14283 (expm1_towardzero_test_data): New array.
14284 (expm1_test_towardzero): New function.
14285 (expm1_downward_test_data): New array.
14286 (expm1_test_downward): New function.
14287 (expm1_upward_test_data): New array.
14288 (expm1_test_upward): New function.
14289 (main): Run the new test functions.
14290 * sysdeps/i386/fpu/libm-test-ulps: Update.
14291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14292
c688b419
JM
14293 * include/features.h: Update comment documenting feature test
14294 macros. Mention _DEFAULT_SOURCE in comment.
14295 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14296 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14297 _BSD_SOURCE and _SVID_SOURCE.
14298 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14299 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14300 !_SVID_SOURCE]: Likewise.
14301 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14302 (__USE_POSIX_IMPLICITLY): Define.
14303 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14304 (_POSIX_SOURCE): Undefine and redefine.
14305 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14306 (_POSIX_C_SOURCE): Likewise.
14307 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14308 (Feature Test Macros): Update documentation of default features.
14309
9f6e964c
RS
143102013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14311
14312 * benchtests/Makefile: Add bench-strtok.
14313 * benchtests/bench-strtok.c: New file: strtok benchtest.
14314
ee0a148a
AM
143152013-12-19 Allan McRae <allan@archlinux.org>
14316
14317 * manual/install.texi: Suppress menu for plain text output.
14318 * INSTALL: Regenerated.
14319
b9ab448f
BM
143202013-12-18 Brooks Moses <bmoses@google.com>
14321
14322 [BZ #15846]
14323 * misc/getauxval.c: Include errno.h.
14324 (__getauxval): Set errno to ENOENT if the requested type is not
14325 found.
14326 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14327 don't declare with __attribute_const__.
14328 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14329 * manual/startup.texi: Document that getauxval sets errno.
14330
23776487
JM
143312013-12-18 Joseph Myers <joseph@codesourcery.com>
14332
f889953b
JM
14333 * math/auto-libm-test-in: Add tests of jn and yn.
14334 * math/auto-libm-test-out: Regenerated.
14335 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14336 (yn_test_data): Likewise.
14337 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14338 mpfr_if_f.
14339 (func_calc_desc): Add mpfr_if_f union field.
14340 (FUNC_mpfr_if_f): New macro.
14341 (test_functions): Add jn and yn.
14342 (calc_generic_results): Assert type of second input for
14343 mpfr_ff_f. Handle mpfr_if_f.
14344 (output_for_one_input_case): Disable all checking for arguments
14345 fitting floating-point types in case of an integer argument.
14346 * sysdeps/i386/fpu/libm-test-ulps: Update.
14347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14348
23776487
JM
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14350 Don't expect fegetround reference in libm.so.
14351
cb756c6d
MS
143522013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14353
14354 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14355 $(config-cflags-nofma).
14356
2dec468f
JM
143572013-12-18 Joseph Myers <joseph@codesourcery.com>
14358
5953eb3a
JM
14359 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14360 * math/auto-libm-test-out: Regenerated.
14361
2dec468f
JM
14362 [BZ #16338]
14363 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14364 to determine exponent and adjust argument to have exponent of -1.
14365 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14366 log2.
14367 * math/auto-libm-test-out: Regenerated.
14368 * sysdeps/i386/fpu/libm-test-ulps: Update.
14369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14370
4d84e6ad
OB
143712013-12-18 Ondřej Bílka <neleai@seznam.cz>
14372
14373 * manual/probes.texi: Remove cases when per-thread arenas are
14374 disabled.
14375
1818483b
AS
143762013-12-18 Andreas Schwab <schwab@suse.de>
14377
14378 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14379 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14380 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14381 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14382 * sysdeps/i386/i686/multiarch/Makefile: Update.
14383 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14384
25de95bf
JM
143852013-12-17 Joseph Myers <joseph@codesourcery.com>
14386
14387 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14388 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14389
674762d9
PE
143902013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14391
ed27ed83 14392 [BZ #15968]
0748546f
PE
14393 Support TZ transition times < 00:00:00.
14394 This is needed for version-3 tz-format files; it supports time
14395 stamps past 2037 for America/Godthab (the only entry in the tz
14396 database for which this change is relevant).
14397 * manual/time.texi (TZ Variable): Document transition times
14398 from -167:59:59 through -00:00:01.
14399 * time/tzset.c (tz_rule): Time of day is now signed.
14400 (__tzset_parse_tz): Parse negative time of day.
14401
4480e934
PE
14402 Document TZ transition times >= 25:00:00.
14403 * manual/time.texi (TZ Variable): Document transition times from
14404 25:00:00 through 167:59:59. These are already supported, and this
14405 support will help with version-3 tz-format files.
14406
69947401
PE
14407 * manual/time.texi (TZ Variable): Modernize North America example
14408 to reflect current (i.e., 2007-and-later) daylight saving rules.
14409
674762d9
PE
14410 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14411
7011c262
JM
144122013-12-17 Joseph Myers <joseph@codesourcery.com>
14413
2fc6557e
JM
14414 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14415 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14416 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14417 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14418 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14419 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14420 * sysdeps/unix/bsd/clock.c: Likewise.
14421 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14422 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14423 * sysdeps/unix/bsd/init-posix.c: Likewise.
14424 * sysdeps/unix/bsd/poll.c: Likewise.
14425 * sysdeps/unix/bsd/ptsname.c: Likewise.
14426 * sysdeps/unix/bsd/seekdir.c: Likewise.
14427 * sysdeps/unix/bsd/setegid.c: Likewise.
14428 * sysdeps/unix/bsd/seteuid.c: Likewise.
14429 * sysdeps/unix/bsd/setgid.c: Likewise.
14430 * sysdeps/unix/bsd/setrgid.c: Likewise.
14431 * sysdeps/unix/bsd/setruid.c: Likewise.
14432 * sysdeps/unix/bsd/setsid.c: Likewise.
14433 * sysdeps/unix/bsd/setuid.c: Likewise.
14434 * sysdeps/unix/bsd/sigaction.c: Likewise.
14435 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14436 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14437 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14438 * sysdeps/unix/bsd/telldir.c: Likewise.
14439 * sysdeps/unix/bsd/times.c: Likewise.
14440 * sysdeps/unix/bsd/usleep.c: Likewise.
14441
029c7b25
JM
14442 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14443 ($(objpfx)libbsd-compat.a): Remove rule.
14444
7011c262
JM
14445 * include/features.h (__FAVOR_BSD): Do not define.
14446 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14447 features conflicting with POSIX.
14448 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14449 (_BSD_SOURCE): Remove description of not being a subset of other
14450 feature test macros.
14451 * manual/job.texi (getpgrp): Do not document BSD version.
14452 (getpgid): Do not document by reference to BSD getpgrp.
14453 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14454 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14455 * signal/signal.h [__FAVOR_BSD]: Likewise.
14456 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14457 instead of making contents conditional on [__FAVOR_BSD].
14458 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14459
affb6f78
AZ
144602013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14461
14462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14463
c88769dd
JM
144642013-12-17 Joseph Myers <joseph@codesourcery.com>
14465
6432a540
JM
14466 [BZ #16314]
14467 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14468 values below 2**-450, not 2**-500.
14469 * math/auto-libm-test-in: Don't allow spurious underflow from
14470 hypot.
14471 * math/auto-libm-test-out: Regenerated.
14472
c88769dd
JM
14473 [BZ #16316]
14474 [BZ #16330]
14475 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14476 values of ha and hb and sort them after adjusting subnormal
14477 arguments.
14478 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14479 Likewise.
14480 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14481 values of ea and eb and sort them after adjusting subnormal
14482 arguments.
14483 * math/auto-libm-test-in: Do not expect some hypot tests of
14484 subnormals to fail. Add more hypot tests.
14485 * math/auto-libm-test-out: Regenerated.
14486
29618f6b
KK
144872013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14488
14489 [BZ #13304]
14490 * sysdeps/sh/s_fma.c: New file.
14491 * sysdeps/sh/s_fmaf.c: New file.
14492 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14493 version.
14494 * sysdeps/sh/Implies: Add sh/soft-fp.
14495
eacfdfbf
RM
144962013-12-16 Roland McGrath <roland@hack.frob.com>
14497
14498 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14499 level of indirection to members `objname', `errstring', `malloced'.
14500 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14501 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14502 it as the __longjmp argument (just pass 1 instead).
14503 (_dl_catch_error): Initialize C with argument pointers and address of
14504 volatile local ERRCODE rather than copying values out of C at return.
14505
ff362e5b
JM
145062013-12-16 Joseph Myers <joseph@codesourcery.com>
14507
14508 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14509 * math/auto-libm-test-out: Regenerated.
14510 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14511 (hypot_test_data): Likewise.
14512 (pow_test_data): Likewise.
14513 (pow_tonearest_test_data): Likewise.
14514 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14515 mpfr_ff_f.
14516 (func_calc_desc): Add mpfr_ff_f union field.
14517 (FUNC_mpfr_ff_f): New macro.
14518 (test_functions): Add atan2, hypot and pow.
14519 (special_fill_min): New function.
14520 (special_fill_minus_min): Likewise.
14521 (special_fill_min_subnorm): Likewise.
14522 (special_fill_minus_min_subnorm): Likewise.
14523 (special_real_inputs): Add min, -min, min_subnorm and
14524 -min_subnorm.
14525 (calc_generic_results): Handle mpfr_ff_f.
14526 * sysdeps/i386/fpu/libm-test-ulps: Update.
14527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14528
5764c27f
WN
145292013-12-16 Will Newton <will.newton@linaro.org>
14530
14531 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14532 (Aligned Memory Blocks): Add documentation for aligned_alloc
14533 and suggest it as an alternative to posix_memalign.
14534 (Hooks for Malloc): Document __memalign_hook is also called
14535 for aligned_alloc. (Summary of Malloc): Add summary for
14536 aligned alloc. Document __memalign_hook is also called
14537 for aligned_alloc.
14538
0a096e44
WN
145392013-12-16 Will Newton <will.newton@linaro.org>
14540
14541 * manual/memory.texi (Malloc Examples): Clarify default
14542 alignment documentation. Suggest posix_memalign rather
14543 than memalign or valloc.
14544 (Aligned Memory Blocks): Remove suggestion to use memalign
14545 or valloc. Remove obsolete comment about BSD.
14546 Document memalign errno values and mark the function obsolete.
14547 Document posix_memalign returned error codes. Mark valloc
14548 as obsolete. (Hooks for Malloc): __memalign_hook is also
14549 called for posix_memalign and valloc.
14550 (Summary of Malloc): Add posix_memalign to function summary.
14551 __memalign_hook is also called for posix_memalign and valloc.
14552
8d561986
SP
145532013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14554
14555 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14556 TAYLOR_SIN.
14557 (__sin): Adjust.
14558 (__cos): Likewise.
14559 (sloww): Use mynumber union. Expand ternary operator into
14560 if-else statements.
14561 (cslow): use mynumber union.
14562
73616a74
AM
145632013-12-16 Allan McRae <allan@archlinux.org>
14564
9e8ac24b
AM
14565 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14566 * configure: Regenerated.
14567
6f8e37eb
AM
14568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14569
8894bad3
AM
14570 [BZ #14120]
14571 * configure.ac: Added --enable-maintainer-mode. Check for
14572 autoconf when enabled.
14573 * configure: Regenerated.
14574
73616a74
AM
14575 * nscd/nscd.service: New file.
14576 * nscd/nscd.tmpfiles: New file.
14577
584b18eb
OB
145782013-12-14 Ondřej Bílka <neleai@seznam.cz>
14579
14580 [BZ #12100]
14581 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14582 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14583 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14584 (strstr): Add __strstr_sse2_unaligned ifunc.
14585 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14586 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14587 (strcasestr): Remove __strcasestr_sse42 ifunc.
14588 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14591
8a5c7897
KK
145922013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14593
14594 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14595 * sysdeps/sh/bits/fenv.h: ... here.
14596 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14597
fd712ef3
AZ
145982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14599
14600 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14601
42fcb46c
AZ
14602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14603 hypotf multiarch implementations.
14604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14605 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14606 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14607 multiarch hypot for PPC64.
14608 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14609 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14610 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14611 multiarch hypotf for PPC64.
14612
83efded4
AZ
14613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14614 modff multiarch implementations.
14615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14618 multiarch modf for PPC64.
14619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14622 multiarch modff for PPC64.
14623
43e246d2
AZ
14624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14625 and logl multiarch implementations.
14626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14629 multiarch logb for PPC64.
14630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14633 multiarch logb for PPC64.
14634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14637 multiarch logb for PPC64.
14638
8fdad123
AZ
14639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14640 isinff multiarch implementation.
14641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14642 file.
14643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14645 multiarch isinf for PPC64.
14646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14647 file.
14648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14649 multiarch isinff for PPC64.
14650
1481d706
AZ
14651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14652 finitef multiarch implementation.
14653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14654 file.
14655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14657 multiarch finite for PPC64.
14658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14659 file.
14660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14661 multiarch finitef for PPC64.
14662
5ccd5fc8
AZ
14663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14664 lrint multiarch implementation.
14665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14666 file.
14667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14669 multiarch llrint for PPC64.
14670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14671 multiarch lrint for PPC64.
14672
2568f3fa
AZ
14673 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14674 copysignf multiarch implementation.
14675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14676 file.
14677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14678 file.
14679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14680 multiarch copysign for PPC64.
14681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14682 multiarch copysignf for PPC64.
14683
1cb341fd
AZ
14684 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14685 multiarch implementation.
14686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14687 file.
14688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14689 file.
14690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14691 file.
14692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14693 file.
14694 multiarch llround for PPC64.
14695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14696 multiarch trunc for PPC64.
14697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14698 multiarch truncf for PPC64.
14699
59a3e194
AZ
14700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14701 multiarch implementation.
14702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14703 file.
14704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14705 file.
14706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14707 file.
14708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14709 file.
14710 multiarch llround for PPC64.
14711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14712 multiarch round for PPC64.
14713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14714 multiarch roundf for PPC64.
14715
357fd3b4
AZ
14716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14717 multiarch implementation.
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14719 file.
14720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14721 file.
14722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14723 file.
14724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14725 file.
14726 multiarch llround for PPC64.
14727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14728 multiarch floor for PPC64.
14729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14730 multiarch floorf for PPC64.
14731
96770f12
AZ
14732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14733 multiarch implementation.
14734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14735 file.
14736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14737 file.
14738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14739 file.
14740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14741 file.
14742 multiarch llround for PPC64.
14743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14744 multiarch ceil for PPC64.
14745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14746 multiarch ceilf for PPC64.
14747
c3627f6e
AZ
14748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14749 multiarch implementation.
14750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14751 file.
14752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14753 file.
14754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14755 file.
14756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14757 multiarch llround for PPC64.
14758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14759 multiarch lround for PPC64.
14760
b2284ad7
AZ
14761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14762 multiarch implementation.
14763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14766 file.
14767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14770 multiarch isnan for PPC64.
14771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14772 multiarch isnanf for PPC64.
14773
69bbc63d
AZ
14774 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14775 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14776 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14777 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14778 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14780
c24517c9
AZ
14781 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14785
a52374e8
AZ
14786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14787 multiarch implementations.
14788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14789 (__libc_ifunc_impl_list): Likewise.
14790 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14791 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14792 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14793 multiarch stpcpy for PPC64.
14794
7f5ec113
AZ
14795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14796 multiarch implementations.
14797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14798 (__libc_ifunc_impl_list): Likewise.
14799 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14800 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14801 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14802 multiarch strcpy for PPC64.
14803
e28bcd42
AZ
14804 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14805 redefine function name.
14806 (_wordcopy_fwd_dest_aligned): Likewise.
14807 (_wordcopy_bwd_aligned): Likewise.
14808 (_wordcopy_bwd_dest_aligned): Likewise.
14809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14810 multiarch implementations.
14811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14812 (__libc_ifunc_impl_list): Likewise.
14813 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14814 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14815 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14816 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14817 multiarch wcscpy for PPC64.
14818
92cacfce
AZ
14819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14820 multiarch implementations.
14821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14822 (__libc_ifunc_impl_list): Likewise.
14823 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14824 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14825 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14826 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14827 multiarch wcscpy for PPC64.
14828
7b714620
AZ
14829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14830 multiarch implementations.
14831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14832 (__libc_ifunc_impl_list): Likewise.
14833 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14834 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14835 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14836 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14837 multiarch wcsrchr for PPC64.
14838
16fd2ae3
AZ
14839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14840 multiarch implementations.
14841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14842 (__libc_ifunc_impl_list): Likewise.
14843 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14844 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14845 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14846 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14847 multiarch wcschr for PPC64.
14848
9ee2969b
AZ
14849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14850 multiarch implementations.
14851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14852 (__libc_ifunc_impl_list): Likewise.
14853 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14854 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14855 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14856 multiarch strchrnul for PPC64.
14857
372dc060
AZ
14858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14859 implementations.
14860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14861 (__libc_ifunc_impl_list): Likewise.
14862 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14863 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14864 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14865 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14866 strchr for PPC64.
14867
24c2c3b9
AZ
14868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14869 implementations.
14870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14871 (__libc_ifunc_impl_list): Likewise.
14872 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14873 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14874 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14875 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14876 strncmp for PPC64.
14877
1c92d9a0
AZ
14878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14879 multiarch implementations.
14880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14881 (__libc_ifunc_impl_list): Likewise.
14882 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14883 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14884 strncasecmp for PPC64.
14885 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14886 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14887 multiarch strncasecmp_l for PPC64.
14888
17de3ee3
AZ
14889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14890 multiarch implementations.
14891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14892 (__libc_ifunc_impl_list): Likewise.
14893 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14894 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14895 multiarch strcasecmp for PPC64.
14896 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14897 file.
14898 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14899 multiarch strcasecmp_l for PPC64.
14900
62982bf9
AZ
14901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14902 implementations.
14903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14904 (__libc_ifunc_impl_list): Likewise.
14905 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14906 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14907 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14908 strnlen for PPC64.
14909
a65f4904
AZ
14910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14911 implementations.
14912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14913 (__libc_ifunc_impl_list): Likewise.
14914 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14915 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14916 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14917 strlen for PPC64.
14918
1fd005ad
AZ
14919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14920 implementations.
14921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14922 (__libc_ifunc_impl_list): Likewise.
14923 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14924 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14925 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14926 rawmemrchr for PPC64.
14927
cd05ba91
AZ
14928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14929 implementation.
14930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14931 (__libc_ifunc_impl_list): Likewise.
14932 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14933 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14934 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14935 memrchr for PPC64.
14936
870f8676
AZ
14937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14938 implementation.
14939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14940 (__libc_ifunc_impl_list): Likewise.
14941 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14942 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14943 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14944 memchr for PPC64.
14945
f00be62b
AZ
14946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14947 implementation.
14948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14949 (__libc_ifunc_impl_list): Likewise.
14950 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14951 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14952 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14953 mempcpy for PPC64.
14954
8a29a3d0
AZ
14955 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14956 avoid cretion of __bzero symbol.
14957 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14958 Likewise.
14959 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14960 Likewise.
14961 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14962 Likewise.
14963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14964 multiarch implementations.
14965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14966 (__libc_ifunc_impl_list): Likewise.
14967 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14968 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14969 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14970 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14971 bzero for PPC32.
14972 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14973 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14974 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14975 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14976 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14977 memset for PPC64.
14978 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14979
07253fcf
AZ
14980 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14982 implementations.
14983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14984 (__libc_ifunc_impl_list): Likewise.
14985 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14986 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14987 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14988 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14989 memcmp for PPC64.
14990
b5beafbc
AZ
14991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14992 multiarch for POWER/PPC64.
14993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14994 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14995 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14996 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14997 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14998 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14999 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15000 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15001 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15002 memcpy for PPC64.
15003
5e6a4d4b
AZ
15004 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15005 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15006 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15007 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15008 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15009 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15010 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15011 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15012 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15013 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15014 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15015 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15016 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15017 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15018 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15026
ddfab6dc
KK
150272013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15028
15029 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15030
19b5525e
SP
150312013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15032
15033 * benchtests/Makefile (bench): Add exp2 and log2.
15034 (LDLIBS-bench-exp2): Add -lm.
15035 (LDLIBS-bench-log2): Likewise.
15036 * benchtests/exp2-inputs: New inputs file.
15037 * benchtests/log2-inputs: New inputs file.
15038 * benchtests/log-inputs: Add new inputs.
15039 * benchtests/tan-inputs: Likewise.
15040
196f7f5d
SP
150412013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15042
7a74607f
SP
15043 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15044 definition...
57f41c40
AS
15045 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15046 (csloww2): ... from here.
7a74607f 15047
196f7f5d
SP
15048 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15049 instead of structures.
15050 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15051 (POLYNOMIAL): Likewise.
15052 (TAYLOR_SLOW): Likewise.
15053 (__sin): Likewise.
15054 (__cos): Likewise.
15055 (slow1): Likewise.
15056 (slow2): Likewise.
15057 (sloww): Likewise.
15058 (sloww1); Likewise.
15059 (sloww2): Likewise.
15060 (bsloww1): Likewise.
15061 (bsloww2): Likewise.
15062 (cslow2): Likewise.
15063 (csloww): Likewise.
15064 (csloww1): Likewise.
15065 (csloww2): Likewise.
15066
0dfa665c
OB
150672013-12-10 Ondřej Bílka <neleai@seznam.cz>
15068
15069 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15070 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15071 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15072 * malloc/hooks.c (realloc_check): Likewise.
15073
5782a80f
OB
15074 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15075 * malloc/arena.c: Remove PER_THREAD conditional.
15076 [!PER_THREAD]: Remove code.
15077 (ptmalloc_unlock_all2): Likewise.
15078 (ptmalloc_init): Likewise.
15079 (_int_new_arena): Likewise.
15080 (arena_get2): Likewise.
15081 * malloc/hooks.c (__malloc_get_state): Likewise.
15082 (__malloc_set_state): Likewise.
15083 * malloc/malloc.c: Likewise.
15084 (struct malloc_state): Likewise.
15085 (struct malloc_par): Likewise.
15086 (__libc_realloc): Likewise.
15087 (__libc_mallopt): Likewise.
15088
aeb95445
AZ
150892013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15090
15091 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15092
e8349efd
OB
150932013-12-09 Ondřej Bílka <neleai@seznam.cz>
15094
15095 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15096 macro to a function. Check for zero perturb_byte.
15097 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15098
f3eeb3fc 15099 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15100 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15101 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15102 force_reg by atomic_forced_read.
15103 * malloc/arena.c (ptmalloc_init): Likewise.
15104 * malloc/hooks.c (top_check): Likewise.
15105
be2f9009
AZ
151062013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15107
15108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15109
e7b914bd
MT
151102013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15111
15112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15113
9f0be4f8
JM
151142013-12-08 Joseph Myers <joseph@codesourcery.com>
15115
15116 * math/auto-libm-test-in: Add tests of lgamma.
15117 * math/auto-libm-test-out: Regenerated.
15118 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15119 (M_LOG_2_SQRT_PIl): Likewise.
15120 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15121 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15122 mpfr_f_f1.
15123 (func_calc_desc): Add mpfr_f_f1 union field.
15124 (ARGS1): New macro.
15125 (ARGS2): Likewise.
15126 (ARGS3): Likewise.
15127 (ARGS4): Likewise.
15128 (RET1): Likewise.
15129 (RET2): Likewise.
15130 (CALC): Likewise.
15131 (FUNC): Likewise.
15132 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15133 (test_functions): Add lgamma.
15134 (calc_generic_results): Handle mpfr_f_f1.
15135 * sysdeps/i386/fpu/libm-test-ulps: Update.
15136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15137
24eeafdb
AZ
151382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15139
15140 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15141 __mpn_add_n for PowerPC64/POWER7.
15142 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15143 __mpn_sub_n for PowerPC64/POWER7.
15144
4a2c0fd4
AZ
15145 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15146 __mpn_addmul_1 for PowerPC64.
15147 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15148 __mpn_submul_1 for PowerPC64.
15149 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15150 for PowerPC64.
15151 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15152 for PowerPC64.
15153
4b5b548c
FS
151542013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15155
15156 [BZ #15089]
15157 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15158
0a3ac0aa
AZ
151592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15160
15161 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15162
ccdc8438
AZ
15163 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15164 add multiarch folders.
15165 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15166 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15167 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15168 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15169 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15170 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15171 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15172 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15173 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15174 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15175 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15182
2e973d99
AZ
15183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15184 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15186 New file.
15187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15188 New file.
15189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15190 multiarch __ieee754_hypot for PowerPC32.
15191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15192 New file.
15193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15194 New file.
15195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15196 multiarch __ieee754_hypotf for PowerPC32.
15197
2d9470b2
AZ
15198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15199 long_double_symbol only if __logbl is defined.
15200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15201 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15203 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15204 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15205 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15206 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15207 path for implementation.
15208 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15211 logb, and logbl multiarch implementations for PowerPC32.
15212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15213 file.
15214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15215 file.
15216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15217 multiarch logb for PowerPC32.
15218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15219 file.
15220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15221 file.
15222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15223 multiarch logbf for PowerPC32.
15224 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15226 file.
15227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15228 multiarch logbl implementation for PowerPC32.
15229
5212ffce
AZ
15230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15231 and modff multiarch implementations.
15232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15233 New file.
15234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15235 New file.
15236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15237 multiarch modf for PowerPC32.
15238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15239 New file.
15240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15241 New file.
15242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15243 multiarch modff for PowerPC32.
15244
79dccf31
AZ
15245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15246 and lrintf multiarch implementations.
15247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15248 New file.
15249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15250 New file.
15251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15252 multiarch lrint for PowerPC32.
15253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15254 file: multiarch lrintf for PowerPC32.
15255
deb66480
AZ
15256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15257 and lroundf multiarch implementations.
15258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15259 New file.
15260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15261 New file.
15262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15263 New file.
15264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15265 multiarch lround for PowerPC32.
15266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15267 file: multiarch lroundf for PowerPC32.
15268
264b036b
AZ
15269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15270 copysign and copysignf multiarch implementations.
15271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15272 New file.
15273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15274 New file.
15275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15276 file: multiarch copysign for PowerPC32.
15277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15278 file: multiarch copysignf for PowerPC32.
15279
d47db6c9
AZ
15280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15281 and truncf multiarch implementations.
15282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15283 New file.
15284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15285 file.
15286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15287 multiarch trunc for PowerPC32.
15288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15289 New file.
15290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15291 New file.
15292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15293 multiarch truncf for PowerPC32.
15294
ddb60b5a
AZ
15295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15296 and roundf multiarch implementations.
15297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15298 New file.
15299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15300 file.
15301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15302 multiarch round for PowerPC32.
15303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15304 New file.
15305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15306 New file.
15307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15308 multiarch roundf for PowerPC32.
15309
bedcf49b
AZ
15310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15311 and floorf multiarch implementations.
15312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15313 New file.
15314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15315 file.
15316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15317 multiarch floor for PowerPC32.
15318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15319 New file.
15320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15321 New file.
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15323 multiarch floorf for PowerPC32.
15324
35ae5b40
AZ
15325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15326 and ceilf multiarch implementations.
15327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15328 New file.
15329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15330 file.
15331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15332 multiarch ceil for PowerPC32.
15333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15334 New file.
15335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15336 file.
15337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15338 multiarch ceilf for PowerPC32.
15339
ae1a4cd9
AZ
15340 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15341 is defined.
15342 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15343 FINITEF is defined.
15344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15345 and finitef multiarch implementations.
15346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15347 New file.
15348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15349 file.
15350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15351 multiarch finite for PowerPC32.
15352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15353 New file.
15354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15355 file: multiarch finitef for PowerPC32.
15356
64fffd65
AZ
15357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15358 and isinff multiarch implementations.
15359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15360 file.
15361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15362 file.
15363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15364 multiarch isinf for PowerPC32.
15365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15366 New file.
15367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15368 multiarch isinff for PowerPC32.
15369
8e4e7ba2
AZ
15370 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15371 alias when __isnan is defined.
15372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15373 and isnanf multiarch implementations.
15374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15375 file.
15376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15377 file.
15378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15379 file.
15380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15381 file.
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15383 multiarch isnan for PowerPC32.
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15385 New file.
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15387 New file.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15389 multiarch isnanf for PowerPC32.
15390
ddba588e
AZ
15391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15392 and sqrtf multiarch implementations.
15393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15394 file.
15395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15396 file.
15397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15398 multiarch sqrt for PowerPC32.
15399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15400 file.
15401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15402 file.
15403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15404 multiarch sqrtf for PowerPC32.
15405
0f96a2f0
AZ
15406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15407 and llroundf multiarch implementations.
15408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15409 New file.
15410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15411 New file.
15412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15413 New file.
15414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15415 file: multiarch llround for PowerPC32.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15417 file: multiarch llroundf for PowerPC32.
15418
c9b5d79e
AZ
15419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15420 multiarch PowerPC32 fpu implementations.
15421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15422 New file.
15423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15424 New file.
15425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15426 multiarch llrint for PowerPC32.
15427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15428 New file.
15429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15430 New file.
15431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15432 file.
15433
9cbb3aab
AZ
15434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15435
ea5a72f8
AZ
15436 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15437 file.
15438 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15439 file.
15440 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15441 file.
15442 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15443 multiarch wordcopy for PPC32.
15444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15445 wordcopy objects.
15446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15447 (__libc_ifunc_impl_list): Likewise.
15448 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15449 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15450 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15451 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15452 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15453 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15454
93be09e7
AZ
15455 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15457 file.
15458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15459 file.
15460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15461 file.
15462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15463 multiarch wcscpy for PPC32.
15464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15465 multiarch objects.
15466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15467 (__libc_ifunc_impl_list): Likewise.
15468 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15469 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15470 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15471 sysdeps/powerpc/power6/wcscpy.c.
15472
bb04e529
AZ
15473 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15474 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15475 file.
15476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15477 file.
15478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15479 file.
15480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15481 multiarch wcsrchr for PPC32.
15482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15483 multiarch objects.
15484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15485 (__libc_ifunc_impl_list): Likewise.
15486 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15487 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15488 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15489 sysdeps/powerpc/power6/wcsrchr.c.
15490
05b5cd1c
AZ
15491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15492 file.
15493 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15494 file.
15495 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15497 multiarch wcschr for PPc32.
15498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15499 multiarch objects.
15500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15501 (__libc_ifunc_impl_list): Likewise.
15502 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15503 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15504 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15505 sysdeps/powerpc/power6/wcschr.c.
15506
ba964147
AZ
15507 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15508 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15509 file.
15510 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15511 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15512 file: multiarch strchr for PPC32.
15513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15514 multiarch objects.
15515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15516 (__libc_ifunc_impl_list): Likewise.
15517
31c81aaa
AZ
15518 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15519 name.
15520 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15521 file.
15522 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15523 file.
15524 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15525 multiarch strchrnul for PPC32.
15526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15527 multiarch objects.
15528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15529 (__libc_ifunc_impl_list): Likewise.
15530
0d0607d9
AZ
15531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15532 file.
15533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15534 multiarch strncasecmp for PPC32.
15535 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15536 file.
15537 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15538 multiarch strncasecmp_l for PPC32.
15539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15540 strncasecmp multiarch objects.
15541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15542 (__libc_ifunc_impl_list): Likewise.
15543
4dfd5c86
AZ
15544 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15545 file.
15546 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15547 multiarch strncasecmp for PPC32.
15548 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15549 New file.
15550 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15551 multiarch strcasecmp_l for PPC32.
15552 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15553 multiarch objects.
15554 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15555 (__libc_ifunc_impl_list): Likewise.
15556
a19e01a3
AZ
15557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15558 file.
15559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15560 file.
15561 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15562 multiarch strncmp for PPC32.
15563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15564 multiarch objects.
15565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15566 (__libc_ifunc_impl_list): Likewise.
15567
ae9cf7a2
AZ
15568 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15569 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15570 file.
15571 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15572 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15574 multiarch objects.
15575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15576 (__libc_ifunc_impl_list): Likewise.
15577
3148bb7d
AZ
15578 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15579 file.
15580 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15581 file.
15582 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15584 multiarch objects.
15585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15586 (__libc_ifunc_impl_list): Likewise.
15587
7af8b946
AZ
15588 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15589 file.
15590 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15591 file.
15592 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15593 multiarch rawmemchr for PPC32.
15594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15595 multiarch objects.
15596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15597 (__libc_ifunc_impl_list): Likewise.
15598
03a6aa6a
AZ
15599 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15600 file.
15601 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15602 file.
15603 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15604 file: memrchr multiarch for PPC32.
15605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15606 multiarch objects.
15607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15608 (__libc_ifunc_impl_list): Likewise.
15609
1c62e6d9
AZ
15610 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15611 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15612 file.
15613 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15614 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15615 multiarch memchr for PPC32.
15616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15617 multiarch objects.
15618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15619 (__libc_ifunc_impl_list): Likewise.
15620
87da8bdb
AZ
15621 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15622 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15623 file.
15624 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15625 file.
15626 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15627 file: multiarch mempcpy for PPC32.
15628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15629 multiarch objects.
15630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15631 (__libc_ifunc_impl_list): Likewise.
15632
20ed4714
AZ
15633 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15634 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15635 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15636 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15637 multiarch bzero for PPC32.
15638 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15639 file.
15640 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15641 file.
15642 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15643 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15644 file: multiarch memset for PPC32.
15645 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15647 memset multiarch objects.
15648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15649 (__libc_ifunc_impl_list): Likewise.
15650
ab3e3a46
AZ
15651 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15652 file.
15653 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15655 memcmp for PPC32.
15656 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15658 multiarch objects.
15659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15660 (__libc_ifunc_impl_list): Likewise.
15661
930de6f0
AZ
15662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15663 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15665 file.
15666 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15667 file.
15668 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15669 file.
15670 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15671 multiarch memcpy for PPC32.
15672 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15673 multiarch objects.
15674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15675 (__libc_ifunc_impl_list): Likewise.
15676
4c628e00
AZ
15677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15678 support multiarch for POWER/PPC32.
15679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15680 Likewise.
15681 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15683 Implies file to make multiarch folder appers before the fpu and
15684 default folder for power4 configuration.
15685
f4479220
SP
156862013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15687
15688 * scripts/bench.pl: Append volatile keyword to type.
15689
8517800f
KK
156902013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15691
15692 * sysdeps/sh/sotruss-lib.c: New file.
15693 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15694
180138f1
AZ
156952013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15696
15697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15698
bbf37bdc
JM
156992013-12-05 Joseph Myers <joseph@codesourcery.com>
15700
e47cc4e0
JM
15701 [BZ #6810]
15702 * math/w_tgamma.c: Include <errno.h>.
15703 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15704 * math/w_tgammaf.c: Include <errno.h>.
15705 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15706 * math/w_tgammal.c: Include <errno.h>.
15707 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15708 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15709 underflow. Add more tgamma tests.
15710 * math/auto-libm-test-out: Regenerated.
15711 * sysdeps/i386/fpu/libm-test-ulps: Update.
15712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15713
bbf37bdc
JM
15714 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15715 sin, sinh, tan, tanh, tgamma, y0 and y1.
15716 * math/auto-libm-test-out: Regenerated.
15717 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15718 (TEST_COND_x86): Likewise.
15719 (M_E2l): Remove macro.
15720 (M_E3l): Likewise.
15721 (M_2_SQRT_PIl): Likewise.
15722 (M_SQRT_PIl): Likewise.
15723 (M_1_DIV_El): Likewise.
15724 (log_test_data): Use AUTO_TESTS_f_f.
15725 (log10_test_data): Likewise.
15726 (log1p_test_data): Likewise.
15727 (log2_test_data): Likewise.
15728 (sin_test_data): Likewise.
15729 (sin_tonearest_test_data): Likewise.
15730 (sin_towardzero_test_data): Likewise.
15731 (sin_downward_test_data): Likewise.
15732 (sin_upward_test_data): Likewise.
15733 (sinh_test_data): Likewise.
15734 (sinh_tonearest_test_data): Likewise.
15735 (sinh_towardzero_test_data): Likewise.
15736 (sinh_downward_test_data): Likewise.
15737 (sinh_upward_test_data): Likewise.
15738 (tan_test_data): Likewise.
15739 (tan_tonearest_test_data): Likewise.
15740 (tan_towardzero_test_data): Likewise.
15741 (tan_downward_test_data): Likewise.
15742 (tan_upward_test_data): Likewise.
15743 (tanh_test_data): Likewise.
15744 (tgamma_test_data): Likewise.
15745 (y0_test_data): Likewise.
15746 (y1_test_data): Likewise.
15747 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15748 (special_real_inputs): Add pi/4.
15749 * sysdeps/i386/fpu/libm-test-ulps: Update.
15750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15751
eb5ad6b9
AZ
157522013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15753
15754 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15755 "longjmp_target" static probes.
15756 (__longjmp): Rename to __longjmp_symbol.
15757 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15758 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15759 on which longjmp to generate.
15760 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15761 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15762 probe.
15763 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15764 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15765 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15766 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15767 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15768 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15770 __longjmp_symbol based on which __longjmp to generate.
15771 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15772 probe.
15773 (setjmp): Rename to setjmp_symbol.
15774 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15775 (_setjmp): Rename to _setjmp_symbol.
15776 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15777 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15778 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15779 which setjmp to generate.
15780 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15781 "longjmp_target" static probes.
15782
d136c6dc
SP
157832013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15784
9298ecba
SP
15785 * benchtests/README: Add note about output arguments.
15786 * benchtests/bench-sincos.c: Remove file.
15787 * benchtests/sincos-inputs: New file.
15788 * scripts/bench.pl: Identify output arguments and define
15789 static variables for them.
15790
232983e9
SP
15791 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15792
d136c6dc
SP
15793 [BZ #15941]
15794 * Makefile (INSTALL): Add install-plain.texi as the primary
15795 dependency.
15796 * manual/install-plain.texi: New file.
15797 * manual/install.texi: Include node directive only for
15798 non-plaintext output.
15799
699ff837
JM
158002013-12-04 Joseph Myers <joseph@codesourcery.com>
15801
ab07cea8
JM
15802 * stdlib/longlong.h: Update from GCC.
15803
699ff837
JM
15804 [BZ #6807]
15805 [BZ #15901]
15806 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15807 * math/w_j0f.c (y0f): Likewise.
15808 * math/w_j0l.c (__y0l): Likewise.
15809 * math/w_j1.c (y1): Likewise.
15810 * math/w_j1f.c (y1f): Likewise.
15811 * math/w_j1l.c (__y1l): Likewise
15812 * math/w_jn.c (yn): Likewise.
15813 * math/w_jnf.c (ynf): Likewise.
15814 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15815 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15816 value for Bessel function domain errors outside _SVID_ mode.
15817 Adjust sign of return value for yn (negative integer, 0).
15818 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15819 by zero in return for negative x and set sign appropriately for
15820 negative n.
15821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15822 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15823 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15824 expectations in error cases.
15825 (y1_test_data): Likewise.
15826 (yn_test_data): Likewise.
15827 * sysdeps/i386/fpu/libm-test-ulps: Update.
15828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15829
5b118558
UW
158302013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15831
15832 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15833 "64" to "64-v1". Add "64-v2".
15834 (abi-64-options): Rename to ...
15835 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15836 (abi-64-condition): Rename to ...
15837 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15838 (abi-64-ld-soname): Rename to ...
15839 (abi-64-v1-ld-soname): ... this.
15840 (abi-64-v2-options): Define.
15841 (abi-64-v2-condition): Likewise.
15842 (abi-64-v2-ld-soname): Likewise.
15843 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15844 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15848
61cd8fe4
UW
158492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15850 Alan Modra <amodra@gmail.com>
15851
15852 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15853 New versions for use with the ELFv2 ABI.
15854 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15855 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15856 declaration.
15857 (struct La_ppc64v2_retval): Likewise.
15858 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15859 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15860 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15861 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15862 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15863 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15864 Do not save or restore CR.
15865 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15866 (_dl_profile_resolve): Do no save or restore CR. Support extended
15867 return values for ELFv2 ABI. Fix location of FPR return registers.
15868 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15869 updated values for _CALL_ELF == 2.
15870 (La_regs, La_retval, int_retval): Likewise.
15871
8b8a692c
UW
158722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15873
15874 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15875 (FRAME_MIN_SIZE_PARM): Likewise.
15876 (FRAME_BACKCHAIN): Likewise.
15877 (FRAME_CR_SAVE): Likewise.
15878 (FRAME_LR_SAVE): Likewise.
15879 (FRAME_TOC_SAVE): Likewise.
15880 (FRAME_PARM_SAVE): Likewise.
15881 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15882 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15883 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15884 (call_mcount_parm_offset): New macro.
15885 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15886 (PROF): Use symbolic stack frame offsets.
15887 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15888 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15889 Redefine in terms of FRAME_MIN_SIZE.
15890 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15891 (_dl_profile_resolve): Likewise. Update comment.
15892 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15893 symbols stack frame offsets.
15894 (__sigsetjmp): Likewise.
15895 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15896 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15897 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15898 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15899
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15901 (FRAME_BACKCHAIN): Remove.
15902 (FRAME_CR_SAVE): Likewise.
15903 (FRAME_LR_SAVE): Likewise.
15904 (FRAME_COMPILER_DW): Likewise.
15905 (FRAME_LINKER_DW): Likewise.
15906 (FRAME_TOC_SAVE): Likewise.
15907 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15908 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15909 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15910 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15912 (CHECK_SP): Use symbolic stack frame offsets.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15914 zone" instead of caller's parameter save area for temp storage.
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15916 Likewise. Also, use symbolic stack frame offsets.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15918 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15919 our own stack frame instead of the caller's.
15920 (__socket): Use symbolic stack frame offsets.
15921
122b66de
UW
159222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15923 Alan Modra <amodra@gmail.com>
15924
15925 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15926 Define.
57f41c40
AS
15927 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15928 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15929 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15930 New function.
15931 (elf_machine_fixup_plt): Call it.
15932 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15933 reloc arguments.
15934 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15935 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15936 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15937 r2 before calling target.
15938
696caf1d
UW
159392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15940 Alan Modra <amodra@gmail.com>
15941
15942 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15943 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15944 versions of macros to support ELFv2 ABI.
15945 (LOCALENTRY): New macro.
15946 (ENTRY, EALIGN): Use it.
15947 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15948 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15949 fall through into ENTRY entry point.
15950 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15951 Only define if _CALL_ELF != 2.
15952
15953 (elf_machine_matches_host): Verify ABI version matches.
15954 (RTLD_START): Use LOCALENTRY.
15955 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15956 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15957 (PLT_ENTRY_WORDS): New macro.
15958 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15959 (elf_machine_runtime_setup): Support ELFv2 ABI.
15960 (elf_machine_fixup_plt): Likewise.
15961 (elf_machine_plt_conflict): Likewise.
15962 (resolve_ifunc): Likewise.
15963 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15964 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15965 Likewise.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15967 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15969 (makecontext): Support ELFv2 ABI.
15970 * elf/elf.h (EF_PPC64_ABI): Define.
15971
d31beafa
UW
159722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15973
57f41c40
AS
15974 * sysdeps/powerpc/powerpc64/sysdep.h
15975 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15976 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15977 (ENTRY) [ASSEMBLER]: ... but instead here ...
15978 (EALIGN) [ASSEMBLER]: ... and here.
15979 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15980 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15981 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15982 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15983 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15984 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15985 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15986 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15988 Use PPC64_LOAD_FUNCPTR.
15989
b525166b
UW
15990 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15991
7ec07d9a
AM
159922013-12-04 Alan Modra <amodra@gmail.com>
15993
15994 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15995 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15996 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15997 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15998
15999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16000 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16001 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16002 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16003 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16004 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16005
5162e7dd
UW
160062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16007
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16009 (__makecontext): Fix incorrect CFI when backtracing out of
16010 context created via makecontext.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16012 (__setcontext): Fix incorrect CFI during switch to new context.
16013 (__novec_setcontext): Likewise.
16014
19e3372b
OB
160152013-12-04 Ondřej Bílka <neleai@seznam.cz>
16016
16017 [BZ #4772]
16018 * time/strptime_l.c (__strptime_internal): Allow modifiers
16019 in strptime.
16020 * time/tst-strptime.c (day_tests): Add testcase.
16021
ecaf142d
SP
160222013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16023
16024 * scripts/bench.pl: Skip over blank lines.
16025
fbf964ae
PE
160262013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16027
16028 [BZ #926]
16029 * manual/time.texi (Calendar Time): Clarify what timezone functions
16030 use.
16031
fa60a674
AZ
160322013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16033
16034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16035
d674f0ef
OB
160362013-12-04 Ondřej Bílka <neleai@seznam.cz>
16037
16038 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16039 implementation.
16040 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16041 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16042 * debug/memset_chk.c (__memset_chk): Likewise.
16043 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16044 * debug/strncpy_chk.c: Likewise.
16045
17dea188
JM
160462013-12-03 Joseph Myers <joseph@codesourcery.com>
16047
749008ff
JM
16048 [BZ #15268]
16049 [BZ #15425]
16050 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16051 (__ieee754_exp): For possibly underflowing results, check size of
16052 result and force underflow exception if required.
16053 * math/auto-libm-test-in: Add more tests of exp.
16054 * math/auto-libm-test-out: Regenerated.
16055 * sysdeps/i386/fpu/libm-test-ulps: Update.
16056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16057
17dea188
JM
16058 [BZ #16283]
16059 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16060 * math/w_exp2f.c (__exp2f): Likewise.
16061 * math/w_exp2l.c (__exp2l): Likewise.
16062 * math/auto-libm-test-in: Do not allow missing errno on exp2
16063 underflow.
16064 * math/auto-libm-test-out: Regenerated.
16065
b20de2c3
OB
160662013-12-03 Ondřej Bílka <neleai@seznam.cz>
16067
16068 [BZ #16274]
16069 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16070 handle filename validation.
16071 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16072 (do_open): Delete.
16073
d8e2dbe3
JM
160742013-12-03 Joseph Myers <joseph@codesourcery.com>
16075
34e16df5
JM
16076 [BZ #6786]
16077 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16078 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16079 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16080 <float.h>.
16081 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16082 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16083 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16084 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16085 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16086 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16087 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16088 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16089 Add more erfc tests.
16090 * math/auto-libm-test-out: Regenerated.
16091 * sysdeps/i386/fpu/libm-test-ulps: Update.
16092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16093
d8e2dbe3
JM
16094 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16095 exp2, expm1, j0 and j1.
16096 * math/auto-libm-test-out: Regenerated.
16097 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16098 (erfc_test_data): Likewise.
16099 (exp_test_data): Likewise.
16100 (exp_tonearest_test_data): Likewise.
16101 (exp_towardzero_test_data): Likewise.
16102 (exp_downward_test_data): Likewise.
16103 (exp_upward_test_data): Likewise.
16104 (exp10_test_data): Likewise.
16105 (exp2_test_data): Likewise.
16106 (expm1_test_data): Likewise.
16107 (j0_test_data): Likewise.
16108 (j1_test_data): Likewise.
16109 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16110 (input_flag_type): Add flag_xfail_rounding.
16111 (input_flags): Add xfail-rounding.
16112 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16113 (output_for_one_input_case): Handle flag_xfail_rounding.
16114 * sysdeps/i386/fpu/libm-test-ulps: Update.
16115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16116
18d14251
AJ
161172013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16118
3d2e6075 16119 [BZ #16289]
18d14251
AJ
16120 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16121 division by 0.
16122
520d437b
SP
161232013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16124
16125 [BZ #16195]
16126 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16127 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16128 (STAP_PROBE0): New macro.
16129 (STAP_PROBE1): Likewise.
16130 (STAP_PROBE2): Likewise.
16131 (STAP_PROBE3): Likewise.
16132 (STAP_PROBE4): Likewise.
16133
416e0145
OB
161342013-12-02 Ondřej Bílka <neleai@seznam.cz>
16135
16136 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16137
9d17796a
SE
161382013-12-02 Steve Ellcey <sellcey@mips.com>
16139
16140 * benchtests/Makefile (bench): Add sqrt.
16141 (LDLIBS-bench-sqrt): New.
16142 * benchtests/sqrt-input: New.
16143
f524d6a8
PS
161442013-12-02 Pavel Simerda <psimerda@redhat.com>
16145
639a0ef8
PS
16146 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16147 (GAIH_EAI): Likewise.
16148 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16149 (gaih_inet): Likewise.
16150 (getaddrinfo): Don't use GAIH_EAI.
16151
f524d6a8
PS
16152 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16153 (struct gaih): Remove definition.
16154
df3aedaf
SP
161552013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16156
16157 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16158 Use HERRNOP directly.
16159
1ab19dec
AZ
161602013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16161
b42ad38d 16162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16163
176b0c79
JM
161642013-11-30 Joseph Myers <joseph@codesourcery.com>
16165
16166 * math/gen-auto-libm-tests.c (test_functions): Add more
16167 single-argument functions.
16168 (special_fill_pi_2): New function.
16169 (special_fill_minus_pi_2): Likewise.
16170 (special_fill_pi_6): Likewise.
16171 (special_fill_minus_pi_6): Likewise.
16172 (special_fill_pi_3): Likewise.
16173 (special_fill_2pi_3): Likewise.
16174 (special_fill_e): Likewise.
16175 (special_fill_1_e): Likewise.
16176 (special_fill_e_minus_1): Likewise.
16177 (special_real_inputs): Add more special inputs.
16178 (output_for_one_input_case): Do not require ERANGE on underflow to
16179 zero if round-to-nearest result does not underflow to zero, unless
16180 exact results required.
16181 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16182 atan, atanh, cbrt, cos and cosh.
16183 * math/auto-libm-test-out: Regenerated.
16184 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16185 (acos_tonearest_test_data): Likewise.
16186 (acos_towardzero_test_data): Likewise.
16187 (acos_downward_test_data): Likewise.
16188 (acos_upward_test_data): Likewise.
16189 (acosh_test_data): Likewise.
16190 (asin_test_data): Likewise.
16191 (asin_tonearest_test_data): Likewise.
16192 (asin_towardzero_test_data): Likewise.
16193 (asin_upward_test_data): Likewise.
16194 (asinh_test_data): Likewise.
16195 (atan_test_data): Likewise.
16196 (atanh_test_data): Likewise.
16197 (cbrt_test_data): Likewise.
16198 (cos_test_data): Likewise.
16199 (cos_tonearest_test_data): Likewise.
16200 (cos_towardzero_test_data): Likewise.
16201 (cos_downward_test_data): Likewise.
16202 (cos_upward_test_data): Likewise.
16203 (cosh_test_data): Likewise.
16204 (cosh_tonearest_test_data): Likewise.
16205 (cosh_towardzero_test_data): Likewise.
16206 (cosh_downward_test_data): Likewise.
16207 (cosh_upward_test_data): Likewise.
16208 * sysdeps/i386/fpu/libm-test-ulps: Update.
16209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16210
ffb536d0
JM
162112013-11-29 Joseph Myers <joseph@codesourcery.com>
16212
2a77a467
JM
16213 [BZ #6787]
16214 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16215 * math/w_exp10f.c (__exp10f): Likewise.
16216 * math/w_exp10l.c (__exp10l): Likewise.
16217 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16218 errno settings in existing tests.
16219
ea3bc4e8
JM
16220 [BZ #14032]
16221 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16222 precision control set to double precision.
16223 * sysdeps/i386/fpu/w_sqrt.c: New file.
16224 * math/auto-libm-test-in: Add more tests.
16225 * math/auto-libm-test-out: Update.
16226
0712c9d8
JM
16227 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16228 (sqrt_test_tonearest): New function.
16229 (sqrt_towardzero_test_data): New variable.
16230 (sqrt_test_towardzero): New function.
16231 (sqrt_downward_test_data): New variable.
16232 (sqrt_test_downward): New function.
16233 (sqrt_upward_test_data): New variable.
16234 (sqrt_test_upward): New function.
16235 (main): Call the new functions.
16236
ffb536d0
JM
16237 * math/gen-auto-libm-tests.c: New file.
16238 * math/auto-libm-test-in: Likewise.
16239 * math/auto-libm-test-out: New generated file.
16240 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16241 variables.
16242 (%beautify): Add generated representations of zero.
16243 (top level): Set $auto_input and call parse_auto_input.
16244 (beautify): Remove trailing "f" from hex float constants.
16245 (parse_args): Handle XFAIL_TEST.
16246 (convert_condition): New function.
16247 (or_value): Likewise.
16248 (or_cond_value): Likewise.
16249 (generate_testfile): Handle AUTO_TESTS_* lines.
16250 (parse_auto_input): New function.
16251 * math/libm-test.inc (XFAIL_TEST): New macro.
16252 (ERRNO_UNCHANGED): Update value.
16253 (ERRNO_EDOM): Likewise.
16254 (ERRNO_ERANGE): Likewise.
16255 (IGNORE_RESULT): Likewise.
16256 (TEST_COND_flt_32): New macro.
16257 (TEST_COND_dbl_64): Likewise.
16258 (TEST_COND_ldbl_96_intel): Likewise.
16259 (TEST_COND_ldbl_96_m68k): Likewise.
16260 (TEST_COND_ldbl_128): Likewise.
16261 (TEST_COND_ldbl_128ibm): Likewise.
16262 (TEST_COND_long32): Likewise.
16263 (TEST_COND_long64): Likewise.
16264 (TEST_COND_before_rounding): Likewise.
16265 (TEST_COND_after_rounding): Likewise.
16266 (enable_test): Handle XFAIL_TEST flag.
16267 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16268 with finite results.
16269 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16270 auto-libm-test-out.
16271
acd98a8e
AK
162722013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16273 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16274
16275 [BZ #16214]
16276 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16277 __tls_get_addr_internal instead of __tls_get_offset in order to
16278 avoid GOT pointer dependency. Make rtld export
16279 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16280 __tls_get_addr since we are a __tls_get_offset platform.
16281 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16282 GOT pointer being set up before.
16283 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16284
3c1c46a6
JM
162852013-11-28 Joseph Myers <joseph@codesourcery.com>
16286
7475aef5
JM
16287 * manual/math.texi (Errors in Math Functions): Document accuracy
16288 goals.
16289
8bca7cd8
JM
16290 [BZ #15004]
16291 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16292 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16294 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16295 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16297 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16307
91a1f3fe
JM
16308 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16309 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16310 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16311 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16312 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16313 Likewise.
16314 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16315 Likewise.
16316 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16317 Likewise.
16318 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16319 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16320 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16321 atomic-feupdateenv and flt-rounds.
16322 * sysdeps/powerpc/nofpu/Versions (libc): Add
16323 __atomic_feholdexcept, __atomic_feclearexcept,
16324 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16325 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16326 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16327 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16328 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16329 here.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16331 Update.
16332
c5df7609
JM
16333 * manual/arith.texi (FP Exceptions): Document that exceptions may
16334 not be raised when matherr is used.
16335 (Math Error Reporting): Document overflow in directed rounding
16336 modes. Document that errno may not be set when finite values are
16337 returned on overflow. Document intent to set errno on underflow
16338 only for underflow to zero.
16339
3c1c46a6
JM
16340 [BZ #16271]
16341 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16342 round-to-nearest then adjust result for other rounding modes.
16343 * include/fenv.h (fegetround): Use libm_hidden_proto.
16344 * math/fegetround.c (fegetround): Use libm_hidden_def.
16345 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16346 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16347 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16348 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16349 Likewise.
16350 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16351 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16352 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16353 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16354
5a4c6d53
SP
163552013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16356
16357 [BZ #16077]
16358 * nss/Versions (libnss_files): Add
16359 _nss_files_gethostbyname3_r.
16360 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16361 New function.
16362 (HOST_DB_LOOKUP): Remove macro.
16363 (_nss_files_gethostbyname_r): Implement function without the
16364 HOST_DB_LOOKUP macro.
16365 (_nss_files_gethostbyname2_r): Likewise.
16366
897b98ba
OB
163672013-11-28 Ondřej Bílka <neleai@seznam.cz>
16368
16369 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16370
6f476861
UB
163712013-11-26 Uros Bizjak <ubizjak@gmail.com>
16372
16373 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16374 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16375 warning.
16376
bd12ab55
AZ
163772013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16378
16379 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16380 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16381 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16382 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16383 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16384 __fe_nomask_env_priv and attribute_hidden.
16385 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16386 (libc_feupdateenv_test_ppc): Likewise.
16387 (libc_feresetround_ppc): Likewise.
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16389 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16390 compat_symbol macro.
16391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16392 (__fe_nomask_env): Likewise.
16393 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16394
52bb6543
OB
163952013-11-26 Ondřej Bílka <neleai@seznam.cz>
16396
16397 * string/Makefile: Remove ifunc tests.
16398 * string/test-string.h: Define TEST_IFUNC.
16399 * string/test-bcopy-ifunc.c: Remove.
16400 * string/test-bzero-ifunc.c: Likewise.
16401 * string/test-memccpy-ifunc.c: Likewise.
16402 * string/test-memchr-ifunc.c: Likewise.
16403 * string/test-memcmp-ifunc.c: Likewise.
16404 * string/test-memcpy-ifunc.c: Likewise.
16405 * string/test-memmem-ifunc.c: Likewise.
16406 * string/test-memmove-ifunc.c: Likewise.
16407 * string/test-mempcpy-ifunc.c: Likewise.
16408 * string/test-memrchr-ifunc.c: Likewise.
16409 * string/test-memset-ifunc.c: Likewise.
16410 * string/test-rawmemchr-ifunc.c: Likewise.
16411 * string/test-stpcpy-ifunc.c: Likewise.
16412 * string/test-stpncpy-ifunc.c: Likewise.
16413 * string/test-strcasecmp-ifunc.c: Likewise.
16414 * string/test-strcasestr-ifunc.c: Likewise.
16415 * string/test-strcat-ifunc.c: Likewise.
16416 * string/test-strchr-ifunc.c: Likewise.
16417 * string/test-strchrnul-ifunc.c: Likewise.
16418 * string/test-strcmp-ifunc.c: Likewise.
16419 * string/test-strcpy-ifunc.c: Likewise.
16420 * string/test-strcspn-ifunc.c: Likewise.
16421 * string/test-strlen-ifunc.c: Likewise.
16422 * string/test-strncasecmp-ifunc.c: Likewise.
16423 * string/test-strncat-ifunc.c: Likewise.
16424 * string/test-strncmp-ifunc.c: Likewise.
16425 * string/test-strncpy-ifunc.c: Likewise.
16426 * string/test-strnlen-ifunc.c: Likewise.
16427 * string/test-strpbrk-ifunc.c: Likewise.
16428 * string/test-strrchr-ifunc.c: Likewise.
16429 * string/test-strspn-ifunc.c: Likewise.
16430 * string/test-strstr-ifunc.c: Likewise.
16431
ab260039 164322013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16433
16434 * benchtests/Makefile: Remove ifunc tests.
16435 * benchtests/bench-string.h: Define TEST_IFUNC.
16436 * benchtests/bench-bcopy-ifunc.c: Remove.
16437 * benchtests/bench-bzero-ifunc.c: Likewise.
16438 * benchtests/bench-memccpy-ifunc.c: Likewise.
16439 * benchtests/bench-memchr-ifunc.c: Likewise.
16440 * benchtests/bench-memcmp-ifunc.c: Likewise.
16441 * benchtests/bench-memcpy-ifunc.c: Likewise.
16442 * benchtests/bench-memmem-ifunc.c: Likewise.
16443 * benchtests/bench-memmove-ifunc.c: Likewise.
16444 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16445 * benchtests/bench-memrchr-ifunc.c: Likewise.
16446 * benchtests/bench-memset-ifunc.c: Likewise.
16447 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16448 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16449 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16450 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16451 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16452 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16453 * benchtests/bench-strcat-ifunc.c: Likewise.
16454 * benchtests/bench-strchr-ifunc.c: Likewise.
16455 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16456 * benchtests/bench-strcmp-ifunc.c: Likewise.
16457 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16458 * benchtests/bench-strcpy-ifunc.c: Likewise.
16459 * benchtests/bench-strcspn-ifunc.c: Likewise.
16460 * benchtests/bench-strlen-ifunc.c: Likewise.
16461 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16462 * benchtests/bench-strncat-ifunc.c: Likewise.
16463 * benchtests/bench-strncmp-ifunc.c: Likewise.
16464 * benchtests/bench-strncpy-ifunc.c: Likewise.
16465 * benchtests/bench-strnlen-ifunc.c: Likewise.
16466 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16467 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16468 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16469 * benchtests/bench-strspn-ifunc.c: Likewise.
16470 * benchtests/bench-strstr-ifunc.c: Likewise.
16471
164722013-11-26 Ondřej Bílka <neleai@seznam.cz>
16473
ab260039
OB
16474 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16475
d1d9eaf4 164762013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16477
d1d9eaf4
OB
16478 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16479 * rt/aio.h: Likewise.
16480 * sysdeps/gnu/bits/utmp.h: Likewise.
16481 * sysdeps/gnu/bits/utmpx.h: Likewise.
16482 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16483 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16484 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16485 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16486 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16487 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16488 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16489 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16491 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16492 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16493 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16494 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16496 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16497 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16498 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16499 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16500 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16501 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16502 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16503 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16504 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16505 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16506 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16508 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16509 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16510 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16511 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16512 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16513 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16514 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16515 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16516 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16517 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16518 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16519 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16520 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16521 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16522 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16523 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16524
a7624ed9
CD
165252013-11-25 Carlos O'Donell <carlos@redhat.com>
16526
16527 [BZ #16245]
16528 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16529 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16530
63cfe52b
JM
165312013-11-25 Joseph Myers <joseph@codesourcery.com>
16532
16533 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16534 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16535 Likewise.
16536
41e8926a
AZ
165372013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16538
16539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16540 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16541 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16542 (__fesetround): Remove define.
16543 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16544 rounding and exceptions handling.
16545 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16546 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16547 (__fe_nomask_env): Likewise.
16548 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16549 __fegetround instead of fegetround.
16550 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16551 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16552
6851bd4d
RM
165532013-11-21 Roland McGrath <roland@hack.frob.com>
16554
070906ff
RM
16555 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16556 it's there.
16557
6851bd4d
RM
16558 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16559
84ae135d
MI
165602013-11-21 Meador Inge <meadori@codesourcery.com>
16561
16562 [BZ #11157]
16563 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16564 (encrypt_r): Likewise.
16565 * malloc/obstack.h (obstack_free): Likewise.
16566 * posix/unistd.h (encrypt): Likewise.
16567
daf75146
GM
165682013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16569
16570 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16571 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16572 DL_CALL_DT_FINI() that call the functions directly.
16573 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16574 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16575 * elf/dl-fini.c: Likewise.
16576
10ad46bc
OB
165772013-11-20 Ondřej Bílka <neleai@seznam.cz>
16578
16579 * malloc/hooks.c (memalign_check): Add alignment rounding.
16580 * malloc/malloc.c (_mid_memalign): New function.
16581 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16582 Implement by calling _mid_memalign.
16583 * manual/probes.texi (Memory Allocation Probes): Remove
16584 memory_valloc_retry and memory_pvalloc_retry.
16585
f3fd2628
SP
165862013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16587
4712799f
SP
16588 * locale/programs/locarchive.c (open_archive): Add const
16589 qualifier to ARCHIVEFNAME and copy default fname to
16590 DEFAULT_FNAME.
16591
0417b20f
SP
16592 [BZ #15601]
16593 * libio/tst-widetext.input: Rename Oriya to Odia.
16594 * locale/iso-639.def: Likewise.
16595
f3fd2628
SP
16596 * manual/probes.texi (Mathematical Function Probes): Add
16597 documentation for sin, cos, asin and acos probes.
16598 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16599 (__sin32): Add slowasin probe.
16600 (__cos32): Add slowacos probe.
16601 (__mpsin): Add slowsin probe.
16602 (__mpcos): Add slowcos probe.
16603
73c1ce4f
JM
166042013-11-19 Joseph Myers <joseph@codesourcery.com>
16605
16606 [BZ #15483]
16607 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16608 thread-local __sim_exceptions_thread and global
16609 __sim_exceptions_global.
16610 (__sim_disabled_exceptions): Change to thread-local
16611 __sim_disabled_exceptions_thread and global
16612 __sim_disabled_exceptions_global.
16613 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16614 and global __sim_round_mode_global.
16615 (__simulate_exceptions): Use thread-local floating-point state and
16616 set global state from it as needed.
16617 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16618 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16619 __sim_round_mode_thread.
16620 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16621 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16622 and global __sim_exceptions_global.
16623 (__sim_disabled_exceptions): Change to thread-local
16624 __sim_disabled_exceptions_thread and global
16625 __sim_disabled_exceptions_global.
16626 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16627 and global __sim_round_mode_global.
16628 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16629 (SIM_SET_GLOBAL): Likewise.
16630 * sysdeps/powerpc/soft-fp/sfp-machine.h
16631 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16632 __sim_round_mode_thread.
16633 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16634 __sim_disabled_exceptions_thread.
16635 (__sim_exceptions): Change to __sim_exceptions_thread.
16636 (__sim_disabled_exceptions): Change to
16637 __sim_disabled_exceptions_thread.
16638 (__sim_round_mode): Change to __sim_round_mode_thread.
16639 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16640 thread-local floating-point state and set global state from it as
16641 needed.
16642 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16643 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16644 (__sim_disabled_exceptions): Remove extern declaration.
16645 (feenableexcept): Use thread-local floating-point state and set
16646 global state from it as needed.
16647 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16648 extern declaration.
16649 (__sim_disabled_exceptions): Likewise.
16650 (__sim_round_mode): Likewise.
16651 (__fegetenv): Use thread-local floating-point state.
16652 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16653 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16654 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16655 floating-point state and set global state from it as needed.
16656 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16657 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16658 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16659 Likewise.
16660 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16661 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16662 Likewise.
16663 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16664 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16665 Use __sim_round_mode_thread.
16666 * math/test-fenv-tls.c: New file.
16667 * math/Makefile (tests): Add test-fenv-tls.
16668 ($(objpfx)test-fenv-tls): Depend on
16669 $(common-objpfx)nptl/libpthread.so.
16670
b5449b12
AS
166712013-11-19 Andreas Schwab <schwab@suse.de>
16672
16673 * locale/programs/locale.c (show_info): Decode wordarray elements.
16674 * locale/categories.def (LC_MONETARY): Add element for
16675 _NL_MONETARY_CRNCYSTR.
16676 * locale/C-monetary.c (conversion_rate): New variable.
16677 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16678 element.
16679
e186536b
CM
166802013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16681
16682 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16683 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16684
5c349950
PP
166852013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16686
16687 * elf/Makefile (tst-auxv): New test.
16688 * elf/tst-auxv.c: New
16689 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16690
699df45b
JM
166912013-11-18 Joseph Myers <joseph@codesourcery.com>
16692
16693 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16694 (hidden_proto): Caller changed.
16695 (hidden_tls_proto): New macro.
16696 (libc_hidden_tls_proto): Likewise.
16697 (rtld_hidden_tls_proto): Likewise.
16698 (libm_hidden_tls_proto): Likewise.
16699 (libresolv_hidden_tls_proto): Likewise.
16700 (librt_hidden_tls_proto): Likewise.
16701 (libdl_hidden_tls_proto): Likewise.
16702 (libnss_files_hidden_tls_proto): Likewise.
16703 (libnsl_hidden_tls_proto): Likewise.
16704 (libnss_nisplus_hidden_tls_proto): Likewise.
16705 (libutil_hidden_tls_proto): Likewise.
16706
b7589107
OB
167072013-11-18 Ondřej Bílka <neleai@seznam.cz>
16708
16709 [BZ #10253]
16710 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16711 (decompose_rpath): Defer expansion to fillin_rpath.
16712 (_dl_init_paths): Pass linkmap to fillin_rpath.
16713
250c23bd
RS
167142013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16715
16716 * benchtests/Makefile: Add strsep.
16717 * benchtests/bench-strsep.c: New file: strsep benchtest.
16718 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16719
a7931fcf
AS
167202013-11-18 Andreas Schwab <schwab@suse.de>
16721
16722 * locale/programs/locale.c (show_info) [case byte]: Check for
16723 '\377' instead of '\177'.
16724 * locale/C-monetary.c (not_available): Always use "\377".
16725 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16726 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16727 detect unavailable sign_posn locale elements.
16728 * locale/localeconv.c (__localeconv): For grouping and
16729 mon_grouping handle "\177" and "\377" like no grouping.
16730 (INT_ELEM): New macro. Use it to set all numeric members.
16731 * locale/programs/ld-monetary.c (monetary_read)
16732 <tok_mon_grouping>: Normalize single -1 to the empty string.
16733 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16734 Likewise.
16735
728dab0e
OB
167362013-11-07 Ondřej Bílka <neleai@seznam.cz>
16737
16738 [BZ #16055]
16739 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16740 when we match (nil).
16741 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16742
66294491
JM
167432013-11-16 Joseph Myers <joseph@codesourcery.com>
16744
ce665817
JM
16745 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16746 (NO_TEST_INLINE): Update value.
16747 (ERRNO_UNCHANGED): Likewise.
16748 (ERRNO_EDOM): Likewise.
16749 (ERRNO_ERANGE): Likewise.
16750 (IGNORE_RESULT): Likewise.
16751 (check_float_internal): Check signs of NaN results if
16752 TEST_NAN_SIGN used.
16753 (check_complex): Pass TEST_NAN_SIGN flag through to second
16754 check_float_internal call.
16755 (copysign_test_data): Add tests with quiet NaNs as second
16756 argument. Use TEST_NAN_SIGN.
16757 (fabs_test_data): Add test of negative quiet NaN argument. Use
16758 TEST_NAN_SIGN.
16759 (signbit_test_data): Add tests of quiet NaN argument.
16760 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16761
ee1466a9
JM
16762 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16763 $ignore_result.
16764 (parse_args): Handle function results specified as IGNORE.
16765 * math/libm-test.inc (IGNORE_RESULT): New macro.
16766 (check_float_internal): Do not check numerical result if flag
16767 IGNORE_RESULT set.
16768 (check_complex): Pass through IGNORE_RESULT to second
16769 check_float_internal call.
16770 (check_int): Do not check numerical result if flag IGNORE_RESULT
16771 set.
16772 (check_long): Likewise.
16773 (check_bool): Likewise.
16774 (check_longlong): Likewise.
16775 (lrint_test_data): Add tests of infinite and NaN arguments.
16776 (lrint_tonearest_test_data): Likewise.
16777 (lrint_towardzero_test_data): Likewise.
16778 (lrint_downward_test_data): Likewise.
16779 (lrint_upward_test_data): Likewise.
16780 (llrint_test_data): Likewise.
16781 (llrint_tonearest_test_data): Likewise.
16782 (llrint_towardzero_test_data): Likewise.
16783 (llrint_downward_test_data): Likewise.
16784 (llrint_upward_test_data): Likewise.
16785 (lround_test_data): Likewise.
16786 (llround_test_data): Likewise.
16787
14407b7e
JM
16788 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16789 (ERRNO_UNCHANGED): Update value.
16790 (ERRNO_EDOM): Likewise.
16791 (ERRNO_ERANGE): Likewise.
16792 (NO_TEST_INLINE_FLOAT): New macro.
16793 (NO_TEST_INLINE_DOUBLE): Likewise.
16794 (enable_test): New function.
16795 (RUN_TEST_f_f): Check enable_test before running test.
16796 (RUN_TEST_2_f): Likewise.
16797 (RUN_TEST_fff_f): Likewise.
16798 (RUN_TEST_c_f): Likewise.
16799 (RUN_TEST_f_f1): Likewise.
16800 (RUN_TEST_fF_f1): Likewise.
16801 (RUN_TEST_fI_f1): Likewise.
16802 (RUN_TEST_ffI_f1): Likewise.
16803 (RUN_TEST_c_c): Likewise.
16804 (RUN_TEST_cc_c): Likewise.
16805 (RUN_TEST_f_i): Likewise.
16806 (RUN_TEST_f_i_tg): Likewise.
16807 (RUN_TEST_ff_i_tg): Likewise.
16808 (RUN_TEST_f_b): Likewise.
16809 (RUN_TEST_f_b_tg): Likewise.
16810 (RUN_TEST_f_l): Likewise.
16811 (RUN_TEST_f_L): Likewise.
16812 (RUN_TEST_fFF_11): Likewise.
16813 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16814 conditionals.
16815 (cosh_test_data): Likewise.
16816 (exp_test_data): Likewise.
16817 (expm1_test_data): Likewise.
16818 (hypot_test_data): Likewise.
16819 (pow_test_data): Likewise.
16820 (sinh_test_data): Likewise.
16821 (tanh_test_data): Likewise.
16822 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16823 flags argument.
16824
ca07f197
JM
16825 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16826 tests with quiet NaN input and output.
16827 (acosh_test_data): Likewise.
16828 (asin_test_data): Likewise.
16829 (asinh_test_data): Likewise.
16830 (atan_test_data): Likewise.
16831 (atanh_test_data): Likewise.
16832 (atan2_test_data): Likewise.
16833 (cbrt_test_data): Likewise.
16834 (cos_test_data): Likewise.
16835 (cosh_test_data): Likewise.
16836 (erf_test_data): Likewise.
16837 (erfc_test_data): Likewise.
16838 (exp_test_data): Likewise.
16839 (exp10_test_data): Likewise.
16840 (exp2_test_data): Likewise.
16841 (expm1_test_data): Likewise.
16842 (hypot_test_data): Likewise.
16843 (j0_test_data): Likewise.
16844 (j1_test_data): Likewise.
16845 (jn_test_data): Likewise.
16846 (lgamma_test_data): Likewise.
16847 (log_test_data): Likewise.
16848 (log10_test_data): Likewise.
16849 (log1p_test_data): Likewise.
16850 (log2_test_data): Likewise.
16851 (pow_test_data): Likewise.
16852 (scalb_test_data): Likewise.
16853 (sin_test_data): Likewise.
16854 (sincos_test_data): Likewise.
16855 (sinh_test_data): Likewise.
16856 (tan_test_data): Likewise.
16857 (tanh_test_data): Likewise.
16858 (tgamma_test_data): Likewise.
16859 (y0_test_data): Likewise.
16860 (y1_test_data): Likewise.
16861 (yn_test_data): Likewise.
16862
66294491
JM
16863 [BZ #16167]
16864 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16865 argument being NaN and avoid computations with second argument in
16866 that case.
16867 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16868 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16869 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16870
1820b143
CL
168712013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16872
16873 * locale/iso-639.def: Add Chitwani Tharu (the).
16874
714bd261
AS
168752013-11-14 Andreas Schwab <schwab@suse.de>
16876
16877 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16878 word instead of empty string.
16879
7ab44563
AZ
168802013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16881
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16883 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16885 (__fe_nomask_env): Likewise.
16886
e8470ea2
SE
168872013-11-13 Steve Ellcey <sellcey@mips.com>
16888
16889 * benchtests/bench-timing.h: Include time.h.
16890
17c1d9f0
L
168912013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16892
16893 [BZ #15997]
16894 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16895 to 3.4.0 for x32.
16896 * sysdeps/unix/sysv/linux/configure: Regenerated.
16897
9310c284
JM
168982013-11-13 Joseph Myers <joseph@codesourcery.com>
16899
16900 [BZ #16151]
16901 * stdlib/strtod_l.c (round_and_return): Do not consider
16902 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16903 exponent one less than half the least subnormal exponent.
16904 * stdlib/test-strtod-round-data: Add more tests.
16905 * stdlib/tst-strtod-round.c (tests): Regenerated.
16906
7a2ad8cf
AZ
169072013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16908
16909 [BZ #14143]
16910 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16911 (__fe_mask_env): Likewise.
16912 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16913 libm_hidden_proto and add function prototype.
16914 (__fe_mask_env): Add function prototype.
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16916 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16918 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16920 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16921
50727aa7
MS
169222013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16923
b2f386c1 16924 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16925 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16926
a615be46
MS
169272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16928
16929 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16930 of htab_find_slot().
16931
7ddace62
DM
169322013-11-11 David S. Miller <davem@davemloft.net>
16933
16934 [BZ #16150]
16935 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16936 symbol in the non-vis3 case in static builds.
16937 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16938 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16939 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16940 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16941
9182aa67
JK
169422013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16943
16944 [BZ #387]
16945 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16946 it is empty.
16947
450a2e2d
AZ
169482013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16949
b2f386c1
SP
16950 * benchtests/Makefile: Add bench-strtod.
16951 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16952
8ec3f656
AS
169532013-11-11 Andreas Schwab <schwab@suse.de>
16954
16955 [BZ #16153]
16956 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16957 terminating NUL in key length.
16958
76a9b998
AZ
169592013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16960
16961 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16962 Add artificial ODP entry for vDSO symbol for PPC64.
16963 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16964 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16965
e4368156
OB
169662013-11-07 Ondřej Bílka <neleai@seznam.cz>
16967
16968 [BZ #15374]
16969 * nss/getent.c (services_keys): Recognize services starting with digit.
16970
8d6bb57c
DM
169712013-11-06 David S. Miller <davem@davemloft.net>
16972
16973 [BZ #15985]
16974 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16975 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16976
e256c421
WN
169772013-11-06 Will Newton <will.newton@linaro.org>
16978
16979 * manual/memory.texi (Malloc Examples): Remove register
16980 keyword from examples.
16981
f6e12daa 169822013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16983
f6e12daa 16984 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16985
9d880655
AS
169862013-11-04 Joseph Myers <joseph@codesourcery.com>
16987
fd2f9486 16988 [BZ #6981]
9d880655
AS
16989 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16990 depending on [__GCC_IEC_559 > 0].
16991 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16992 depending on [__GCC_IEC_559_COMPLEX > 0].
16993
ae129d3c
CL
169942013-11-03 Chris Leonard <cjl@sugarlabs.org>
16995
16996 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16997 to iso-639.def.
16998
4a15c2a4 169992013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17000
17001 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17002
8b35e35d
OB
170032013-11-01 Ondřej Bílka <neleai@seznam.cz>
17004
17005 [BZ #16112]
17006 * malloc/malloc (malloc_info): Do not handle first bin as
17007 special case.
17008
1d70fd6c
CL
170092013-11-01 Chris Leonard <cjl@sugarlabs.org>
17010
17011 * locale/iso-639.def: Add Central Nahuatl (nhn).
17012
8c5c2600
BH
170132013-11-01 Bruno Haible <bruno@clisp.org>
17014
17015 [BZ #7003]
17016 * manual/math.texi (BSD Random): Specify range upper bound as
17017 in POSIX.
17018
da5579c2
CL
170192013-10-31 Chris Leonard <cjl@sugarlabs.org>
17020
17021 * locale/iso-639.def: Add Meadow Mari (mhr).
17022
5d30d853
OB
170232013-10-31 Ondřej Bílka <neleai@seznam.cz>
17024
17025 [BZ #14752], [BZ #15763]
17026 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17027 Validate name.
17028 * rt/tst_shm.c: Add test for escaping directory.
17029
a4966c61
AS
170302013-10-31 Andreas Schwab <schwab@suse.de>
17031
8a43e768 17032 [BZ #15917]
a4966c61
AS
17033 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17034 followed by 'x' as part of digit sequence.
17035 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17036
28d708c4
MAP
170372013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17038
17039 [BZ #16037]
17040 * configure.ac: allow GNU Make 4.0 and greater.
17041 * configure: Regenerated.
17042
a56ee40b
WN
170432013-10-30 Will Newton <will.newton@linaro.org>
17044
17045 [BZ #16038]
17046 * malloc/hooks.c (memalign_check): Limit alignment to the
17047 maximum representable power of two.
17048 * malloc/malloc.c (__libc_memalign): Likewise.
17049 * malloc/tst-memalign.c (do_test): Add test for very
17050 large alignment values.
17051 * malloc/tst-posix_memalign.c (do_test): Likewise.
17052
c6e4925d
OB
170532013-10-30 Ondřej Bílka <neleai@seznam.cz>
17054
17055 [BZ #11087]
17056 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17057 (munmap_chunk): Likewise.
17058 (mremap_chunk): Likewise.
17059
170602013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17061
8a43e768 17062 [BZ #15799]
bbea82f7
OB
17063 * stdlib/div.c (div): Remove obsolete code.
17064 * stdlib/ldiv.c (ldiv): Likewise.
17065 * stdlib/lldiv.c (lldiv): Likewise.
17066
977f4b31
SP
170672013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17068
17069 [BZ #16071]
17070 * nss/nss_files/files-XXX.c (get_contents_ret): New
17071 enumerator.
17072 (get_contents): New function.
17073 (internal_getent): Use it. Expand size of LINEBUFLEN.
17074
cb8a6dbd
MF
170752013-10-30 Mike Frysinger <vapier@gentoo.org>
17076
17077 * configure.in: Moved to ...
17078 * configure.ac: ... here. Change reference to configure.in
17079 to configure.ac.
17080 * sysdeps/arm/preconfigure.ac: ... here.
17081 configure.in to configure.ac.
17082 * sysdeps/gnu/configure.in: Moved to ...
17083 * sysdeps/gnu/configure.ac: ... here.
17084 * sysdeps/i386/configure.in: Moved to ...
17085 * sysdeps/i386/configure.ac: ... here.
17086 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17087 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17088 * sysdeps/mach/configure.in: Moved to ...
17089 * sysdeps/mach/configure.ac: ... here.
17090 * sysdeps/mach/hurd/configure.in: Moved to ...
17091 * sysdeps/mach/hurd/configure.ac: ... here.
17092 * sysdeps/powerpc/configure.in: Moved to ...
17093 * sysdeps/powerpc/configure.ac: ... here.
17094 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17095 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17096 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17097 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17098 * sysdeps/s390/s390-32/configure.in: Moved to ...
17099 * sysdeps/s390/s390-32/configure.ac: ... here.
17100 * sysdeps/s390/s390-64/configure.in: Moved to ...
17101 * sysdeps/s390/s390-64/configure.ac: ... here.
17102 * sysdeps/sh/configure.in: Moved to ...
17103 * sysdeps/sh/configure.ac: ... here.
17104 * sysdeps/sparc/configure.in: Moved to ...
17105 * sysdeps/sparc/configure.ac: ... here.
17106 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17107 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17108 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17109 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17110 * sysdeps/x86_64/configure.in: Moved to ...
17111 * sysdeps/x86_64/configure.ac: ... here.
17112 * sysdeps/x86_64/preconfigure.in: Moved to ...
17113 * sysdeps/x86_64/preconfigure.ac: ... here.
17114 * aclocal.m4: Change reference to configure.in to configure.ac.
17115 * config.h.in: Likewise.
17116 * manual/install.texi: Likewise.
17117 * manual/maint.texi: Likewise.
17118 * Makefile: Likewise.
17119 * malloc/Makefile: Likewise.
17120 * nscd/Makefile: Likewise.
17121 * Makeconfig: Change reference to configure.in and
17122 preconfigure.in to configure.ac and preconfigure.ac
17123 respectively.
17124 * INSTALL: Regenerated.
17125 * configure: Likewise.
17126 * sysdeps/gnu/configure: Likewise.
17127 * sysdeps/i386/configure: Likewise.
17128 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17129 * sysdeps/mach/configure: Likewise.
17130 * sysdeps/mach/hurd/configure: Likewise.
17131 * sysdeps/powerpc/configure: Likewise.
17132 * sysdeps/powerpc/powerpc32/configure: Likewise.
17133 * sysdeps/powerpc/powerpc64/configure: Likewise.
17134 * sysdeps/s390/s390-32/configure: Likewise.
17135 * sysdeps/s390/s390-64/configure: Likewise.
17136 * sysdeps/sh/configure: Likewise.
17137 * sysdeps/sparc/configure: Likewise.
17138 * sysdeps/unix/sysv/linux/configure: Likewise.
17139 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17140 * sysdeps/x86_64/configure: Likewise.
17141 * sysdeps/x86_64/preconfigure: Likewise.
17142
36a4953a
AS
171432013-10-29 Andreas Schwab <schwab@suse.de>
17144
17145 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17146
c79a1204
SP
171472013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17148
dfa1b402
SP
17149 * benchtests/pow-inputs: Add new inputs.
17150
54f73d9c
SP
17151 * benchtests/exp-inputs: Add new inputs.
17152
c79a1204
SP
17153 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17154 conditional check for return value.
17155 (__cos32): Likewise.
17156
67beb545 171572013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17158
17159 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17160 to provide a boost for large inputs with word alignment.
17161 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17162 implementation based on optimized PPC64 strcpy.
17163 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17164 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17165 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17166 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17167
151659f6
OB
171682013-10-25 Ondřej Bílka <neleai@seznam.cz>
17169
482a077e 17170 [BZ #2801]
151659f6
OB
17171 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17172
10b0f26b
OB
171732013-10-25 Ondřej Bílka <neleai@seznam.cz>
17174
17175 [BZ #14876]
17176 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17177 * time/tst-strptime.c (day_tests): Add testcase.
17178
ca42d35e
OB
171792013-10-25 Ondřej Bílka <neleai@seznam.cz>
17180
482a077e 17181 [BZ #14029]
ca42d35e
OB
17182 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17183
52e6d801
FB
171842013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17185
17186 [BZ #16074]
17187 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17188 MAP_FAILED on error.
17189
7cbcdb36
SP
171902013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17191
17192 [BZ #16072]
17193 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17194 heap for large requests.
17195
894f3f10
AM
171962013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17197
17198 [BZ #9954]
17199 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17200 result if the result has no associated interface.
17201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17202 interface for all 127.X.Y.Z addresses.
17203
b85545a6
CL
172042013-10-24 Chris Leonard <cjl@sugarlabs.org>
17205
17206 * locale/iso-639.def: Add Ligurian (lij)
17207
d1f23d46
OB
172082013-10-21 Ondřej Bílka <neleai@seznam.cz>
17209
17210 [BZ #15825]
17211 * sunrpc/rpc_main.c: Document rpcgen -5.
17212
4db5b08f
MS
172132013-10-19 Michael Stahl <mstahl@redhat.com>
17214
17215 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17216
a471e96a
OB
172172013-10-19 Ondřej Bílka <neleai@seznam.cz>
17218
d1f23d46 17219 [BZ #10278]
a471e96a
OB
17220 * posix/glob.c: Match only directories when trailing slash is present.
17221 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17222 (main): Add testcase.
17223
45c30c61
OB
172242013-10-19 Ondřej Bílka <neleai@seznam.cz>
17225
17226 [BZ #15670]
17227 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17228
484c12fb
CD
172292013-10-18 Carlos O'Donell <carlos@redhat.com>
17230
3d7dc513
CD
17231 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17232 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17233 AUTH_DES and cindex for FIPS 140-2.
17234 (DES Encryption): Add cindex FIPS 46-3.
17235
484c12fb
CD
17236 * locale/locarchive.h (struct locarhandle): Add fname.
17237 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17238 if an optional argument was specified to --list-archive,
17239 otherwise NULL.
17240 * locale/programs/locarchive.c (show_archive_content): Take new
17241 argument fname and pass it via ah.fname to open_archive.
17242 * locale/programs/localedef.h: Update decl.
17243 (open_archive): If AH->fname is non-null, open that file
17244 rather than the default file name, and don't ignore ENOENT.
17245 (create_archive): Set AH.fname to NULL.
17246 (delete_locales_from_archive): Likewise.
17247 (add_locales_to_archive): Likewise.
17248 * locale/programs/locfile.c (write_all_categories): Likewise.
17249
3c8325fb
JM
172502013-10-18 Joseph Myers <joseph@codesourcery.com>
17251 Aldy Hernandez <aldyh@redhat.com>
17252
17253 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17254 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17255 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17256 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17257 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17258 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17259 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17260 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17261 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17262 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17263 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17264 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17265 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17266 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17267 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17268 Likewise.
17269 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17270 Likewise.
17271 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17272 Likewise.
17273 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17274 Likewise.
17275 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17276 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17277 Likewise.
17278 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17279 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17280 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17281 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17282 Likewise.
17283 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17284 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17285 * sysdeps/powerpc/preconfigure: Likewise.
17286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17287 Likewise.
17288 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17289 Replace contents of file by #include of <fenv_libc.h>.
17290 * sysdeps/powerpc/soft-fp/sfp-machine.h
17291 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17292 and <sys/prctl.h>.
17293 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17294 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17295 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17297 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17300 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17301 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17302 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17303 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17304 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17306 Allow copysignl PLT reference to be missing.
17307
5abe0682
RS
173082013-10-18 Richard Sandiford <richard@codesourcery.com>
17309 Joseph Myers <joseph@codesourcery.com
17310
17311 [BZ #15948]
17312 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17313 single character.
17314 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17315
c7738d08
SP
173162013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17317
17318 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17319 * elf/tst-tls1.c: Likewise.
17320 * elf/tst-tls10.h: Likewise.
17321 * elf/tst-tls14.c: Likewise.
17322 * elf/tst-tls2.c: Likewise.
17323 * elf/tst-tls3.c: Likewise.
17324 * elf/tst-tls4.c: Likewise.
17325 * elf/tst-tls5.c: Likewise.
17326 * elf/tst-tls6.c: Likewise.
17327 * elf/tst-tls7.c: Likewise.
17328 * elf/tst-tls8.c: Likewise.
17329 * elf/tst-tls9.c: Likewise.
17330 * elf/tst-tlsmod1.c: Likewise.
17331 * elf/tst-tlsmod13.c: Likewise.
17332 * elf/tst-tlsmod13a.c: Likewise.
17333 * elf/tst-tlsmod14a.c: Likewise.
17334 * elf/tst-tlsmod16a.c: Likewise.
17335 * elf/tst-tlsmod16b.c: Likewise.
17336 * elf/tst-tlsmod2.c: Likewise.
17337 * elf/tst-tlsmod3.c: Likewise.
17338 * elf/tst-tlsmod4.c: Likewise.
17339 * elf/tst-tlsmod5.c: Likewise.
17340 * elf/tst-tlsmod6.c: Likewise.
17341
0bfcf2c7
OB
173422013-10-18 Ondřej Bílka <neleai@seznam.cz>
17343
17344 [BZ #12486]
17345 * malloc/malloc.c: remove checks for statistics.
17346
264aad1e
OB
173472013-10-17 Ondřej Bílka <neleai@seznam.cz>
17348
17349 [BZ #15277]
17350 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17351 * inet/tst-network.c: Add testcase.
17352
b957ced8
AS
173532013-10-17 Andreas Schwab <schwab@suse.de>
17354
17355 [BZ #15218]
17356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17357 to determine canonical name.
17358
c5d5d574
OB
173592013-10-17 Ondřej Bílka <neleai@seznam.cz>
17360
17361 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17362 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17385 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17386 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17391 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17419
e5c2c2d0
JM
174202013-10-17 Joseph Myers <joseph@codesourcery.com>
17421
17422 [BZ #16041]
17423 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17424 make result into a quiet NaN.
17425
51ca9e29
JM
174262013-10-16 Joseph Myers <joseph@codesourcery.com>
17427
17428 * soft-fp/adddf3.c: Fix horizontal whitespace.
17429 * soft-fp/addsf3.c: Likewise.
17430 * soft-fp/addtf3.c: Likewise.
17431 * soft-fp/divdf3.c: Likewise.
17432 * soft-fp/divsf3.c: Likewise.
17433 * soft-fp/divtf3.c: Likewise.
17434 * soft-fp/double.h: Likewise.
17435 * soft-fp/eqdf2.c: Likewise.
17436 * soft-fp/eqsf2.c: Likewise.
17437 * soft-fp/eqtf2.c: Likewise.
17438 * soft-fp/extenddftf2.c: Likewise.
17439 * soft-fp/extended.h: Likewise.
17440 * soft-fp/extendsfdf2.c: Likewise.
17441 * soft-fp/extendsftf2.c: Likewise.
17442 * soft-fp/extendxftf2.c: Likewise.
17443 * soft-fp/fixdfdi.c: Likewise.
17444 * soft-fp/fixdfsi.c: Likewise.
17445 * soft-fp/fixdfti.c: Likewise.
17446 * soft-fp/fixsfdi.c: Likewise.
17447 * soft-fp/fixsfsi.c: Likewise.
17448 * soft-fp/fixsfti.c: Likewise.
17449 * soft-fp/fixtfdi.c: Likewise.
17450 * soft-fp/fixtfsi.c: Likewise.
17451 * soft-fp/fixtfti.c: Likewise.
17452 * soft-fp/fixunsdfdi.c: Likewise.
17453 * soft-fp/fixunsdfsi.c: Likewise.
17454 * soft-fp/fixunsdfti.c: Likewise.
17455 * soft-fp/fixunssfdi.c: Likewise.
17456 * soft-fp/fixunssfsi.c: Likewise.
17457 * soft-fp/fixunssfti.c: Likewise.
17458 * soft-fp/fixunstfdi.c: Likewise.
17459 * soft-fp/fixunstfsi.c: Likewise.
17460 * soft-fp/fixunstfti.c: Likewise.
17461 * soft-fp/floatdidf.c: Likewise.
17462 * soft-fp/floatdisf.c: Likewise.
17463 * soft-fp/floatditf.c: Likewise.
17464 * soft-fp/floatsidf.c: Likewise.
17465 * soft-fp/floatsisf.c: Likewise.
17466 * soft-fp/floatsitf.c: Likewise.
17467 * soft-fp/floattidf.c: Likewise.
17468 * soft-fp/floattisf.c: Likewise.
17469 * soft-fp/floattitf.c: Likewise.
17470 * soft-fp/floatundidf.c: Likewise.
17471 * soft-fp/floatundisf.c: Likewise.
17472 * soft-fp/floatunditf.c: Likewise.
17473 * soft-fp/floatunsidf.c: Likewise.
17474 * soft-fp/floatunsisf.c: Likewise.
17475 * soft-fp/floatunsitf.c: Likewise.
17476 * soft-fp/floatuntidf.c: Likewise.
17477 * soft-fp/floatuntisf.c: Likewise.
17478 * soft-fp/floatuntitf.c: Likewise.
17479 * soft-fp/fmadf4.c: Likewise.
17480 * soft-fp/fmasf4.c: Likewise.
17481 * soft-fp/fmatf4.c: Likewise.
17482 * soft-fp/gedf2.c: Likewise.
17483 * soft-fp/gesf2.c: Likewise.
17484 * soft-fp/getf2.c: Likewise.
17485 * soft-fp/ledf2.c: Likewise.
17486 * soft-fp/lesf2.c: Likewise.
17487 * soft-fp/letf2.c: Likewise.
17488 * soft-fp/muldf3.c: Likewise.
17489 * soft-fp/mulsf3.c: Likewise.
17490 * soft-fp/multf3.c: Likewise.
17491 * soft-fp/negdf2.c: Likewise.
17492 * soft-fp/negsf2.c: Likewise.
17493 * soft-fp/negtf2.c: Likewise.
17494 * soft-fp/op-1.h: Likewise.
17495 * soft-fp/op-2.h: Likewise.
17496 * soft-fp/op-4.h: Likewise.
17497 * soft-fp/op-8.h: Likewise.
17498 * soft-fp/op-common.h: Likewise.
17499 * soft-fp/quad.h: Likewise.
17500 * soft-fp/single.h: Likewise.
17501 * soft-fp/soft-fp.h: Likewise.
17502 * soft-fp/sqrtdf2.c: Likewise.
17503 * soft-fp/sqrtsf2.c: Likewise.
17504 * soft-fp/sqrttf2.c: Likewise.
17505 * soft-fp/subdf3.c: Likewise.
17506 * soft-fp/subsf3.c: Likewise.
17507 * soft-fp/subtf3.c: Likewise.
17508 * soft-fp/truncdfsf2.c: Likewise.
17509 * soft-fp/trunctfdf2.c: Likewise.
17510 * soft-fp/trunctfsf2.c: Likewise.
17511 * soft-fp/trunctfxf2.c: Likewise.
17512 * soft-fp/unorddf2.c: Likewise.
17513 * soft-fp/unordsf2.c: Likewise.
17514 * soft-fp/unordtf2.c: Likewise.
17515
9ebb0332
JM
175162013-10-15 Joseph Myers <joseph@codesourcery.com>
17517
17518 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17519 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17520
4b1a6d8b
OB
175212013-10-15 Ondřej Bílka <neleai@seznam.cz>
17522
17523 * elf/dl-libc.c: Clear initfini list after freeing.
17524
1e145589
JM
175252013-10-14 Joseph Myers <joseph@codesourcery.com>
17526
17527 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17528 * soft-fp/addsf3.c: Likewise.
17529 * soft-fp/addtf3.c: Likewise.
17530 * soft-fp/divdf3.c: Likewise.
17531 * soft-fp/divsf3.c: Likewise.
17532 * soft-fp/divtf3.c: Likewise.
17533 * soft-fp/double.h: Likewise.
17534 * soft-fp/eqdf2.c: Likewise.
17535 * soft-fp/eqsf2.c: Likewise.
17536 * soft-fp/eqtf2.c: Likewise.
17537 * soft-fp/extenddftf2.c: Likewise.
17538 * soft-fp/extended.h: Likewise.
17539 * soft-fp/extendsfdf2.c: Likewise.
17540 * soft-fp/extendsftf2.c: Likewise.
17541 * soft-fp/extendxftf2.c: Likewise.
17542 * soft-fp/fixdfdi.c: Likewise.
17543 * soft-fp/fixdfsi.c: Likewise.
17544 * soft-fp/fixdfti.c: Likewise.
17545 * soft-fp/fixsfdi.c: Likewise.
17546 * soft-fp/fixsfsi.c: Likewise.
17547 * soft-fp/fixsfti.c: Likewise.
17548 * soft-fp/fixtfdi.c: Likewise.
17549 * soft-fp/fixtfsi.c: Likewise.
17550 * soft-fp/fixtfti.c: Likewise.
17551 * soft-fp/fixunsdfdi.c: Likewise.
17552 * soft-fp/fixunsdfsi.c: Likewise.
17553 * soft-fp/fixunsdfti.c: Likewise.
17554 * soft-fp/fixunssfdi.c: Likewise.
17555 * soft-fp/fixunssfsi.c: Likewise.
17556 * soft-fp/fixunssfti.c: Likewise.
17557 * soft-fp/fixunstfdi.c: Likewise.
17558 * soft-fp/fixunstfsi.c: Likewise.
17559 * soft-fp/fixunstfti.c: Likewise.
17560 * soft-fp/floatdidf.c: Likewise.
17561 * soft-fp/floatdisf.c: Likewise.
17562 * soft-fp/floatditf.c: Likewise.
17563 * soft-fp/floatsidf.c: Likewise.
17564 * soft-fp/floatsisf.c: Likewise.
17565 * soft-fp/floatsitf.c: Likewise.
17566 * soft-fp/floattidf.c: Likewise.
17567 * soft-fp/floattisf.c: Likewise.
17568 * soft-fp/floattitf.c: Likewise.
17569 * soft-fp/floatundidf.c: Likewise.
17570 * soft-fp/floatundisf.c: Likewise.
17571 * soft-fp/floatunsidf.c: Likewise.
17572 * soft-fp/floatunsisf.c: Likewise.
17573 * soft-fp/floatuntidf.c: Likewise.
17574 * soft-fp/floatuntisf.c: Likewise.
17575 * soft-fp/floatuntitf.c: Likewise.
17576 * soft-fp/fmadf4.c: Likewise.
17577 * soft-fp/fmasf4.c: Likewise.
17578 * soft-fp/fmatf4.c: Likewise.
17579 * soft-fp/gedf2.c: Likewise.
17580 * soft-fp/gesf2.c: Likewise.
17581 * soft-fp/getf2.c: Likewise.
17582 * soft-fp/ledf2.c: Likewise.
17583 * soft-fp/lesf2.c: Likewise.
17584 * soft-fp/letf2.c: Likewise.
17585 * soft-fp/muldf3.c: Likewise.
17586 * soft-fp/mulsf3.c: Likewise.
17587 * soft-fp/multf3.c: Likewise.
17588 * soft-fp/negdf2.c: Likewise.
17589 * soft-fp/negsf2.c: Likewise.
17590 * soft-fp/negtf2.c: Likewise.
17591 * soft-fp/op-1.h: Likewise.
17592 * soft-fp/op-2.h: Likewise.
17593 * soft-fp/op-4.h: Likewise.
17594 * soft-fp/op-8.h: Likewise.
17595 * soft-fp/op-common.h: Likewise.
17596 * soft-fp/quad.h: Likewise.
17597 * soft-fp/single.h: Likewise.
17598 * soft-fp/soft-fp.h: Likewise.
17599 * soft-fp/sqrtdf2.c: Likewise.
17600 * soft-fp/sqrtsf2.c: Likewise.
17601 * soft-fp/sqrttf2.c: Likewise.
17602 * soft-fp/subdf3.c: Likewise.
17603 * soft-fp/subsf3.c: Likewise.
17604 * soft-fp/subtf3.c: Likewise.
17605 * soft-fp/truncdfsf2.c: Likewise.
17606 * soft-fp/trunctfdf2.c: Likewise.
17607 * soft-fp/trunctfsf2.c: Likewise.
17608 * soft-fp/trunctfxf2.c: Likewise.
17609 * soft-fp/unorddf2.c: Likewise.
17610 * soft-fp/unordsf2.c: Likewise.
17611 * soft-fp/unordtf2.c: Likewise.
17612
17c48a60
OB
176132013-10-14 Ondřej Bílka <neleai@seznam.cz>
17614
17615 [BZ #15672]
17616 * misc/error.c (error_tail): Fix possible buffer overflow.
17617
cabba934
OB
176182013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17619
17620 [BZ #13028]
17621 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17622 address.
17623
94bf958a
PM
176242013-10-14 P. J. McDermott <pj@pehjota.net>
17625
17626 [BZ #832]
17627 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17628 testing pipefail option.
17629
71b4dea7
JM
176302013-10-12 Joseph Myers <joseph@codesourcery.com>
17631
17632 * soft-fp/double.h: Indent preprocessor directives inside #if.
17633 * soft-fp/extended.h: Likewise.
17634 * soft-fp/op-2.h: Likewise.
17635 * soft-fp/op-4.h: Likewise.
17636 * soft-fp/op-common.h: Likewise.
17637 * soft-fp/quad.h: Likewise.
17638 * soft-fp/single.h: Likewise.
17639 * soft-fp/soft-fp.h: Likewise.
17640
55602758
YC
176412013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17642
17643 * iconv/iconv_prog.c: Fix typos.
17644 * stdio-common/psiginfo-data.h: Likewise.
17645
9cd83302
RT
176462013-10-12 Reuben Thomas <rrt@sc3d.org>
17647
17648 [BZ #15764]
17649 * locale/setlocale.c: Fix typo.
17650
99fd9f47
JM
176512013-10-12 Joseph Myers <joseph@codesourcery.com>
17652
b7ea74f0
JM
17653 [BZ #16036]
17654 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17655 signaling NaN arguments.
17656 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17657 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17658
8a509447
JM
17659 [BZ #14910]
17660 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17661 unordered operands.
17662 * soft-fp/gesf2.c (__gesf2): Likewise.
17663 * soft-fp/getf2.c (__getf2): Likewise.
17664 * soft-fp/ledf2.c (__ledf2): Likewise.
17665 * soft-fp/lesf2.c (__lesf2): Likewise.
17666 * soft-fp/letf2.c (__letf2): Likewise.
17667
98998e9f
JM
17668 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17669 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17670 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17671 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17672 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17673 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17674 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17675 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17676 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17677 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17678 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17679 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17680 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17681 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17682 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17683 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17684 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17685 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17686 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17687 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17688 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17689 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17690 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17691 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17692 * soft-fp/floattidf.c (__floattidf): Likewise.
17693 * soft-fp/floattisf.c (__floattisf): Likewise.
17694 * soft-fp/floattitf.c (__floattitf): Likewise.
17695 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17696 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17697 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17698 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17699 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17700 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17701 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17702 * soft-fp/gesf2.c (__gesf2): Likewise.
17703 * soft-fp/getf2.c (__getf2): Likewise.
17704 * soft-fp/ledf2.c (__ledf2): Likewise.
17705 * soft-fp/lesf2.c (__lesf2): Likewise.
17706 * soft-fp/letf2.c (__letf2): Likewise.
17707
8edc4a11
JM
17708 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17709 Undefine and redefine.
17710 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17711 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17712 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17713 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17714 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17715 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17716 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17717 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17718 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17719 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17720 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17721 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17722 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17723 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17724 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17725
8399acaf
JM
17726 [BZ #16032]
17727 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17728 without decrementing exponent if mantissa >= that for the
17729 denominator, not >.
17730 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17731 denominator, not >. Decrement exponent in < case instead of
17732 incrementing in >= case.
17733 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17734 without decrementing exponent if mantissa >= that for the
17735 denominator, not >.
17736
99fd9f47
JM
17737 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17738 computing saturated result for unsigned overflow.
17739
10e1cf6b
SP
177402013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17741 Jeff Law <law@redhat.com>
17742
17743 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17744 (atan2Mp): Add systemtap probe marker.
17745 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17746 (__ieee754_log): Add systemtap probe marker.
17747 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17748 (atanMp): Add systemtap probe marker.
17749 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17750 (tanMp): Add systemtap probe marker.
17751 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17752 (__slowexp): Add systemtap probe marker.
17753 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17754 (__slowpow): Add systemtap probe marker.
17755 * manual/probes.texi: Document probes.
17756
3d110c7c
EB
177572013-10-11 Eric Biggers <ebiggers3@gmail.com>
17758
17759 [BZ #15362]
17760 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17761 written.
17762 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17763 written.
17764 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17765 written to buffer but not flushed.
17766 * libio/iofwrite_u.c: Likewise.
17767 * libio/iopadn.c: Return bytes returned even if EOF was
17768 encountered.
17769 * libio/iowpadn.c: Likewise.
17770 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17771 if _IO_padn does not write the whole buffer.
17772 [!COMPILE_WPRINTF] (PAD): Likewise.
17773
75b4202a
DM
177742013-10-10 David S. Miller <davem@davemloft.net>
17775
17776 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17777 directory block.
17778
6c6352e6
JM
177792013-10-10 Joseph Myers <joseph@codesourcery.com>
17780
33b853c3
JM
17781 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17782 instead of FSF address.
17783 * soft-fp/fixdfti.c: Likewise.
17784 * soft-fp/fixsfti.c: Likewise.
17785 * soft-fp/fixtfti.c: Likewise.
17786 * soft-fp/fixunsdfti.c: Likewise.
17787 * soft-fp/fixunssfti.c: Likewise.
17788 * soft-fp/fixunstfti.c: Likewise.
17789 * soft-fp/floattidf.c: Likewise.
17790 * soft-fp/floattisf.c: Likewise.
17791 * soft-fp/floattitf.c: Likewise.
17792 * soft-fp/floatuntidf.c: Likewise.
17793 * soft-fp/floatuntisf.c: Likewise.
17794 * soft-fp/floatuntitf.c: Likewise.
17795 * soft-fp/trunctfxf2.c: Likewise.
17796
6c6352e6
JM
17797 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17798 * soft-fp/fixdfti.c: Likewise.
17799 * soft-fp/fixsfti.c: Likewise.
17800 * soft-fp/fixtfti.c: Likewise.
17801 * soft-fp/fixunsdfti.c: Likewise.
17802 * soft-fp/fixunssfti.c: Likewise.
17803 * soft-fp/fixunstfti.c: Likewise.
17804 * soft-fp/floattidf.c: Likewise.
17805 * soft-fp/floattisf.c: Likewise.
17806 * soft-fp/floattitf.c: Likewise.
17807 * soft-fp/floatuntidf.c: Likewise.
17808 * soft-fp/floatuntisf.c: Likewise.
17809 * soft-fp/floatuntitf.c: Likewise.
17810 * soft-fp/trunctfxf2.c: Likewise.
17811
3bf78b71
DM
178122013-10-10 David S. Miller <davem@davemloft.net>
17813
17814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17815
6f10289e
JM
178162013-10-10 Joseph Myers <joseph@codsourcery.com>
17817
bd878fc0
JM
17818 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17819 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17820 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17821 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17822 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17823 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17824 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17825
6f10289e
JM
17826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17827 for NaNs before doing comparisons on argument.
17828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17829 Likewise.
17830
321e2684
WN
178312013-10-10 Will Newton <will.newton@linaro.org>
17832
17833 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17834 passed to _int_memalign does not overflow.
17835
40fefba1
TR
178362013-10-10 Torvald Riegel <triegel@redhat.com>
17837
17838 * scripts/bench.pl: Add include-sources directive.
17839 * benchtests/README: Update documentation.
17840
2ae21ed2
JM
178412013-10-10 Joseph Myers <joseph@codesourcery.com>
17842
dcc2dd3f
JM
17843 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17844 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17845 instead of FP_INIT_ROUNDMODE.
17846 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17847 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17848
2ae21ed2
JM
17849 [BZ #16034]
17850 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17851 copy class of input value.
17852 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17853 not handle exceptions.
17854 * soft-fp/negsf2.c (__negsf2): Likewise.
17855 * soft-fp/negtf2.c (__negtf2): Likewise.
17856 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17857
cb8f9562
JM
178582013-10-09 Joseph Myers <joseph@codesourcery.com>
17859
17860 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17861 semicolon. From Linux kernel.
17862
5b60c59d
AB
178632013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17864
17865 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17866
b86835ca
YC
178672013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17868
17869 [BZ #156]
17870 * manual/socket.texi: Added statement about buffer
17871 for gethostbyname2_r.
17872
e7044ea7
OB
178732013-10-08 Ondřej Bílka <neleai@seznam.cz>
17874
17875 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17876 Use .p2align directive instead, throughout.
17877 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17878 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17879 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17882 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17883 * sysdeps/x86_64/strchr.S: Likewise.
17884 * sysdeps/x86_64/strrchr.S: Likewise.
17885
09544cbc
SP
178862013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17887
88576635
SP
17888 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17889
e7b2d1dd
SP
17890 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17891
09544cbc
SP
17892 * sysdeps/generic/math_private.h (__mpsin1): Remove
17893 declaration.
17894 (__mpcos1): Likewise.
17895 (__mpsin): New argument __range_reduce.
17896 (__mpcos): Likewise.
17897 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17898 (slow): Use __mpsin and __mpcos.
17899 (slow1): Likewise.
17900 (slow2): Likewise.
17901 (sloww): Likewise.
17902 (sloww1): Likewise.
17903 (sloww2): Likewise.
17904 (bsloww): Likewise.
17905 (bsloww1): Likewise.
17906 (bsloww2): Likewise.
17907 (cslow2): Likewise.
17908 (csloww): Likewise.
17909 (csloww1): Likewise.
17910 (csloww2): Likewise.
17911 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17912 range_reduce. Merge in __mpsin1.
17913 (__mpcos): Likewise.
17914 (__mpsin1): Remove.
17915 (__mpcos1): Likewise.
17916
7602d070
JM
179172013-10-07 Joseph Myers <joseph@codesourcery.com>
17918
17919 * locale/loadlocale.c (_nl_intern_locale_data): Use
17920 LOCFILE_ALIGNED_P.
17921 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17922 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17923 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17924 obstack data is appropriately aligned.
17925 (obstack_int32_grow_fast): Likewise.
17926 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17927 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17928 (add_locale_uint32_array): Likewise.
17929
a357259b
SP
179302013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17931
17932 * benchtests/Makefile: Remove ARGLIST and RET variables.
17933 ($(objpfx)bench-%.c): Pass only function name to the script.
17934 * benchtests/README: Update documentation.
17935 * benchtests/acos-inputs: Add new directives.
17936 * benchtests/acosh-inputs: Likewise.
17937 * benchtests/asin-inputs: Likewise.
17938 * benchtests/asinh-inputs: Likewise.
17939 * benchtests/atan-inputs: Likewise.
17940 * benchtests/atanh-inputs: Likewise.
17941 * benchtests/cos-inputs: Likewise.
17942 * benchtests/cosh-inputs: Likewise.
17943 * benchtests/exp-inputs: Likewise.
17944 * benchtests/log-inputs: Likewise.
17945 * benchtests/pow-inputs: Likewise.
17946 * benchtests/rint-inputs: Likewise.
17947 * benchtests/sin-inputs: Likewise.
17948 * benchtests/sinh-inputs: Likewise.
17949 * benchtests/tan-inputs: Likewise.
17950 * benchtests/tanh-inputs: Likewise.
17951 * scripts/bench.pl: Add support for new directives.
17952
9ec1b13d
AM
179532013-10-07 Alan Modra <amodra@gmail.com>
17954
17955 * README: Fix careless merge.
17956
8b7d57cd
AM
179572013-10-05 Alan Modra <amodra@gmail.com>
17958
17959 * NEWS: Mention powerpc64le support and bugs fixed.
17960 * README: Both big-endian and little-endian powerpc64 supported.
17961
7b7bab13
ST
179622013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17963
57f41c40
AS
17964 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17965 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17966 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17967 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17968
d39baad1
RA
179692013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17970
17971 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17972 match prototype.
17973
cd78f7e7
JM
179742013-10-04 Joseph Myers <joseph@codesourcery.com>
17975
29d73d86
JM
17976 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17977 Move -mhard-float appending from
17978 ports/sysdeps/powerpc/powerpc32/Makefile.
17979 [$(with-fp) = yes] (ASFLAGS): Likewise.
17980 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17981 * sysdeps/powerpc/nofpu: Move directory from
17982 ports/sysdeps/powerpc/nofpu.
17983 * sysdeps/powerpc/soft-fp: Move directory from
17984 ports/sysdeps/powerpc/soft-fp.
17985 * sysdeps/powerpc/powerpc32/405: Move directory from
17986 ports/sysdeps/powerpc/powerpc32/405.
17987 * sysdeps/powerpc/powerpc32/440: Move directory from
17988 ports/sysdeps/powerpc/powerpc32/440.
17989 * sysdeps/powerpc/powerpc32/464: Move directory from
17990 ports/sysdeps/powerpc/powerpc32/464.
17991 * sysdeps/powerpc/powerpc32/476: Move directory from
17992 ports/sysdeps/powerpc/powerpc32/476.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17994 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17996 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17998 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18000 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18002 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18003 * README: Update for powerpc-*-linux-gnu software floating point
18004 support in libc.
18005
e246b347
JM
18006 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18007 case to powerpc/powerpc32*.
18008 * sysdeps/unix/sysv/linux/configure: Regenerated.
18009
89c2003e
JM
18010 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18011 (_FPU_MASK_OM): Define as 0x04.
18012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18013 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18014 0x00c10080.
18015 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18016 0x0000003c.
18017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18018
cd78f7e7
JM
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18020 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18021 getcontext_e500.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18023 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18024 setcontext_e500.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18026 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18027 and setcontext_e500.
18028
c755294d
CL
180292013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18030
18031 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18032
e16d221c
SP
180332013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18034
18035 * manual/threads.texi (Default Thread Attributes): Fix typo.
18036
215c7d43
WN
180372013-10-04 Will Newton <will.newton@linaro.org>
18038
18039 * malloc/Makefile: Add tst-memalign.
18040 * malloc/tst-memalign.c: New file.
18041
27d0461b
WN
18042 * malloc/tst-posix_memalign.c: Add comments.
18043 (do_test): Add comments and call free on all potentially
18044 allocated pointers. Add space after cast.
18045
1bc92709
WN
18046 * malloc/tst-pvalloc.c: Add comments.
18047 (do_test): Add comments and call free on all potentially
18048 allocated pointers. Remove duplicate check for NULL pointer.
18049 Add space after cast.
18050
66a9be9d
WN
18051 * malloc/tst-valloc.c: Add comments.
18052 (do_test): Add comments and call free on all potentially
18053 allocated pointers. Remove duplicate check for NULL pointer.
18054 Add space after cast.
18055
4cb81307
AM
180562013-10-04 Alan Modra <amodra@gmail.com>
18057
18058 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18059 Use stdint types in rather than __attribute__((mode())).
18060 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18061
f8e3e9f3
AM
180622013-10-04 Alan Modra <amodra@gmail.com>
18063
18064 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18065 Correct handling of unaligned relocs for little-endian.
18066 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18067
8f9ebb08
AM
180682013-10-04 Alan Modra <amodra@gmail.com>
18069
18070 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18071 * configure: Regenerate.
18072 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18073 * shlib-versions: Likewise.
18074
0edf96c2
AM
180752013-10-04 Alan Modra <amodra@gmail.com>
18076
18077 * string/tester.c (test_memrchr): Increment reported test cycle.
18078
e0f7a380
AM
180792013-10-04 Alan Modra <amodra@gmail.com>
18080
18081 * string/test-memcpy.c (do_one_test): When reporting errors, print
18082 string address and don't overrun end of string.
18083
466b0393
AM
180842013-10-04 Alan Modra <amodra@gmail.com>
18085
18086 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18087 insrdi. Make better use of reg selection to speed exit slightly.
18088 Schedule entry path a little better. Remove useless "are we done"
18089 checks on entry to main loop. Handle wrapping around zero address.
18090 Correct main loop count. Handle single left-over word from main
18091 loop inline rather than by using loop_small. Remove extra word
18092 case in loop_small caused by wrong loop count. Add little-endian
18093 support.
18094 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18095 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18096 cache hint.
18097 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18098 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18099 support. Avoid rlwimi.
18100 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18101
3be87c77
AM
181022013-10-04 Alan Modra <amodra@gmail.com>
18103
18104 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18105 insrdi. Formatting.
3be87c77
AM
18106 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18107 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18108 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18109 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18110 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18111 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18112
759cfef3
AM
181132013-10-04 Alan Modra <amodra@gmail.com>
18114
18115 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18116 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18117 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18118 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18119 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18120 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18121 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18122 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18123 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18124 use of regs. Use power7 mtocrf. Tidy function tails.
18125
fe6e95d7
AM
181262013-10-04 Alan Modra <amodra@gmail.com>
18127
18128 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18129 Formatting. Consistently use rXXX register defines or rN defines.
18130 Use early exit labels that avoid restoring unused non-volatile regs.
18131 Make cr field use more consistent with rWORDn compares. Rename
18132 regs used as shift registers for unaligned loop, using rN defines
18133 for short lifetime/multiple use regs.
18134 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18135 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18136 addi 1,1,64 to pop stack frame. Simplify return value code.
18137 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18138
664318c3
AM
181392013-10-04 Alan Modra <amodra@gmail.com>
18140
18141 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18142 support. Correct typos, formatting. Optimize tail. Use insrdi
18143 rather than rlwimi.
18144 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18145 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18146 little-endian support. Correct typos.
18147 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18148 rather than rlwimi.
18149 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18150 in loop and entry code to keep "and." results.
18151 (strchr): Add little-endian support. Comment. Move cntlzd
18152 earlier in tail.
18153 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18154
43b84013
AM
181552013-10-04 Alan Modra <amodra@gmail.com>
18156
18157 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18158 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18159 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18160 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18161
8a7413f9
AM
181622013-10-04 Alan Modra <amodra@gmail.com>
18163
18164 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18165 (rTMP): Define as r11.
18166 (strcmp): Add little-endian support. Optimise tail.
18167 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18168 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18169 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18170 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18173 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18174
33ee81de
AM
181752013-10-04 Alan Modra <amodra@gmail.com>
18176
18177 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18178 little-endian support. Remove unnecessary "are we done" tests.
18179 Handle "s" wrapping around zero and extremely large "size".
18180 Correct main loop count. Handle single left-over word from main
18181 loop inline rather than by using small_loop. Correct comments.
18182 Delete "zero" tail, use "end_max" instead.
18183 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18184
db9b4570
AM
181852013-10-04 Alan Modra <amodra@gmail.com>
18186
18187 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18188 support. Don't branch over align.
18189 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18190 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18191 support. Rearrange tmp reg use to suit. Comment.
18192 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18193
f7c399cf
AM
181942013-10-04 Alan Modra <amodra@gmail.com>
18195
18196 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18197
0b2c2ace
AM
181982013-10-04 Alan Modra <amodra@gmail.com>
18199
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18201 conditional form of branch and link when obtaining pc.
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18203
02f04a6c
AM
182042013-10-04 Alan Modra <amodra@gmail.com>
18205
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18207 HIWORD/LOWORD.
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18210
9b874b2f
AM
182112013-10-04 Alan Modra <amodra@gmail.com>
18212
18213 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18214 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18215 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18216 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18217 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18218 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18219 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18220 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18221 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18222 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18223
be1e5d31
AB
182242013-10-04 Anton Blanchard <anton@au1.ibm.com>
18225 Alistair Popple <alistair@ozlabs.au.ibm.com>
18226 Alan Modra <amodra@gmail.com>
18227
18228 [BZ #15723]
18229 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18230 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18231 _dl_hwcap access for little-endian.
18232 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18233 destroy vmx regs when saving unaligned.
18234 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18235 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18236 destroy vmx regs when saving unaligned.
18237
fef13a78
AM
182382013-10-04 Alan Modra <amodra@gmail.com>
18239
18240 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18241 Don't use a union to pack hi/low value.
18242
76a66d51
AB
182432013-10-04 Anton Blanchard <anton@au1.ibm.com>
18244
18245 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18246 for little-endian.
18247 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18248 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18249 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18250 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18251 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18252
6a31fe7f
AM
182532013-10-04 Alan Modra <amodra@gmail.com>
18254
18255 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18256 constants to usual value for .cst8 section, and remove redundant
18257 high address load.
18258 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18259 constant for 0x1p52. Load little-endian words of double from
18260 correct stack offsets.
18261
7b88401f
AM
182622013-10-04 Alan Modra <amodra@gmail.com>
18263
18264 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18265 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18266 words of double from correct stack offsets.
18267 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18268 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18269 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18270 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18272 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18273 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18274 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18275 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18276 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18279 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18280 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18281 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18282 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18283 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18284
9c008155
AM
182852013-10-04 Alan Modra <amodra@gmail.com>
18286
18287 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18288 64-bit int/double union.
18289 (_FPU_SETCW): Likewise.
18290 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18291 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18292
da13146d
AM
182932013-10-04 Alan Modra <amodra@gmail.com>
18294
18295 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18296 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18297
603e8410
AM
182982013-10-04 Alan Modra <amodra@gmail.com>
18299
18300 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18301 use vector int constants.
18302 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18303
4a28b3ca
AB
183042013-10-04 Anton Blanchard <anton@au1.ibm.com>
18305
18306 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18307 array with long long.
18308 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18309 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18310 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18311 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18312 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18313 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18314 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18315 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18316 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18317 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18318 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18319 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18320 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18321
2ca85d2b
AB
183222013-10-04 Anton Blanchard <anton@au1.ibm.com>
18323
18324 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18325 (__signbit): Likewise. Correct for little-endian.
18326 (__signbitl): Call __signbit.
18327 (lrint): Correct for little-endian.
18328 (lrintf): Call lrint.
18329
62a728ae
AM
183302013-10-04 Alan Modra <amodra@gmail.com>
18331
18332 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18333 union 32-bit int array member with 64-bit int array.
18334 (t515, tm256): Double rather than long double.
18335 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18336
32c301df
AM
183372013-10-04 Alan Modra <amodra@gmail.com>
18338
18339 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18340 Delete.
18341 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18343 version of math_ldbl.h.
18344
650ef4bd
AM
183452013-10-04 Alan Modra <amodra@gmail.com>
18346
18347 [BZ #15734], [BZ #15735]
18348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18349 all uses of ieee875 long double macros and unions. Simplify test
18350 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18351 ldbl_extract_mantissa value for ix,iy exponents. Properly
18352 normalize after ldbl_extract_mantissa, and don't add hidden bit
18353 already handled. Don't treat low word of ieee854 mantissa like
18354 low word of IBM long double and mask off bit when testing for
18355 zero.
18356 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18357 all uses of ieee875 long double macros and unions. Simplify tests
18358 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18359 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18360 two1022, instead use their values. Recognise that tests for large
18361 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18362 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18363 Rewrite all uses of ieee875 long double macros and unions. Simplify
18364 test for 0.0L and nan. Correct negation.
18365 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18366 ieee875 long double macros and unions. Correct output for large
18367 magnitude x. Correct absolute value calculation.
18368 (__erfcl): Likewise.
18369 * math/libm-test.inc: Add tests for errors discovered in IBM long
18370 double versions of fmodl, remainderl, erfl and erfcl.
18371
765714ca
AM
183722013-10-04 Alan Modra <amodra@gmail.com>
18373
18374 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18375 all uses of ieee854 long double macros and unions. Simplify tests
18376 for long doubles that are fully specified by the high double.
18377 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18378 Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18380 Remove dead code too.
18381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18382 (__ieee754_ynl): Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18385 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18386 Remove dead code too.
18387 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18388 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18389 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18390 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18391 Simplify.
18392 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18393 Simplify.
18394 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18395 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18396 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18397 Comment on variable precision.
18398 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18399 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18400 Likewise.
18401 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18402 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18403 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18404 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18406
4ebd120c
AM
184072013-10-04 Alan Modra <amodra@gmail.com>
18408
18409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18410 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18411 all uses of ieee854 long double macros and unions.
18412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18414 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18416 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18417 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18418 Likewise.
18419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18420 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18421 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18422 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18423 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18424 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18425 Simplify sign and nan test too.
18426 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18427 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18428 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18429 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18430 Likewise.
18431 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18432 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18433 Likewise.
18434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18435 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18436 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18437 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18438 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18440
1b6adf88
AM
184412013-10-04 Alan Modra <amodra@gmail.com>
18442
18443 * stdio-common/printf_size.c (__printf_size): Don't use
18444 union ieee854_long_double in fpnum union.
18445 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18446 signbit macro to retrieve sign from long double.
18447 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18448 retrieve sign from long double.
18449 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18450 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18451 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18452 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18453 * math/test-misc.c (main): Don't use union ieee854_long_double.
18454
4cf69995
AM
184552013-10-04 Alan Modra <amodra@gmail.com>
18456
18457 [BZ #15680]
18458 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18459 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18460 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18461 calculation. Remove unnecessary test for denormal exponent.
18462 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18463 Correct handling of denormals. Avoid undefined shift behaviour.
18464 Correct normalisation of low mantissa when low double is denormal.
18465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18466 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18467 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18468 Correct normalisation of low mantissa. Test for overflow of high
18469 mantissa and normalise.
18470 (ldbl_nearbyint): Use more readable constant for two52.
18471 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18472 (__mpn_construct_long_double): Fix test for overflow of high
18473 mantissa and correct normalisation. Avoid undefined shift.
18474
9605ca6c
AM
184752013-10-04 Alan Modra <amodra@gmail.com>
18476
18477 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18478 (union ibm_extended_long_double): Define as an array of ieee754_double.
18479 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18480 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18481 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18482 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18486 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18488 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18489 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18490
975569d0
JM
184912013-10-03 Joseph Myers <joseph@codesourcery.com>
18492
d3d23756
JM
18493 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18494 page size instead of calling getpagesize.
18495
975569d0
JM
18496 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18497 (LOCFILE_ALIGN_MASK): Likewise.
18498 (LOCFILE_ALIGN_UP): Likewise.
18499 (LOCFILE_ALIGNED_P): Likewise.
18500 * locale/programs/ld-collate.c (collate_output): Use the new
18501 macros instead of __alignof__ (int32_t).
18502 * locale/weight.h (findidx): Likewise.
18503
b1fe1f2b
OB
185042013-10-03 Ondřej Bílka <neleai@seznam.cz>
18505
18506 [BZ #431]
18507 * manual/string.texi: Fix strncat and wcsncat.
18508
5f855e35
BM
185092013-10-03 Brooks Moses <bmoses@google.com>
18510
18511 [BZ #15915]
18512 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18513 * Makerules: ...here, and adjust associated comments.
18514
3cef6009
WN
185152013-10-02 Will Newton <will.newton@linaro.org>
18516
18517 * malloc/Makefile: Add tst-pvalloc.
18518 * malloc/tst-pvalloc.c: New file.
18519
7815420b
WN
185202013-10-02 Will Newton <will.newton@linaro.org>
18521
18522 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18523 improve test coverage.
18524
4868b204
WN
185252013-10-02 Will Newton <will.newton@linaro.org>
18526
18527 * malloc/Makefile: Add tst-posix_memalign.
18528 * malloc/tst-posix_memalign.c: New file.
18529
29c793b3
EB
185302013-10-01 Eric Blake <eblake@redhat.com>
18531
18532 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18533 Use __THROWNL rather than __THROW on static functions.
18534
fd967522
PM
185352013-09-30 Petr Machata <pmachata@redhat.com>
18536
18537 * elf/elf.h (R_AARCH64_ABS16): New macro.
18538 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18539 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18540 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18541 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18542 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18543 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18544 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18545 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18546 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18547 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18548 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18549 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18550 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18551 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18552 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18553 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18554 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18555 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18556 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18557 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18558 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18559 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18560 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18561 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18562 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18563 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18564 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18565 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18566 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18567 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18568 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18569 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18570 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18571 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18572 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18573 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18574 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18575 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18576 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18577 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18578 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18579 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18580 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18581 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18582 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18583 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18584 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18585 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18586 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18587 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18588 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18589 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18590 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18591 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18592 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18593 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18594 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18595 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18596 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18597 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18598 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18599 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18600 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18601 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18602 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18603 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18604 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18605 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18606 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18607 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18608 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18609 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18610 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18611 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18612 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18613 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18614 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18615 (R_AARCH64_TLSDESC_LDR): Likewise.
18616 (R_AARCH64_TLSDESC_ADD): Likewise.
18617 (R_AARCH64_TLSDESC_CALL): Likewise.
18618
b2179107
AS
186192013-09-30 Andreas Schwab <schwab@suse.de>
18620
18621 [BZ #15048]
18622 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18623 the nss database lookup.
18624 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18626
47f28d0a
MF
186272013-09-28 Mike Frysinger <vapier@gentoo.org>
18628
18629 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18630
186312013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18632
18633 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18634 ${Bash-specific parameter/pattern/string} parameter expansion.
18635 * sysdeps/unix/make-syscalls.sh: Likewise.
18636
f4518a17
KK
186372013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18638
18639 * sysdeps/sh/stackguard-macros.h: New file.
18640
dc1a95c7
OB
186412013-09-26 Ondřej Bílka <neleai@seznam.cz>
18642
18643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18645 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18646 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18647 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18648 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18649
5ebbff8f
AZ
186502013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18651
18652 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18653 Fix thread ID register.
18654
4fd2cf9f
JM
186552013-09-25 Joseph Myers <joseph@codesourcery.com>
18656
18657 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18658 [POSIX || UNIX98]: Require rather than permitting all symbols from
18659 <time.h>.
18660 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18661 element of struct sched_param.
18662 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18663 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18664 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18665 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18666 constant.
18667
12c22bc4
OL
186682013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18669
18670 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18671 argument calculation.
18672
a03d8ea7
JM
186732013-09-24 Joseph Myers <joseph@codesourcery.com>
18674
18675 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18676 Expect macro.
18677 [POSIX] (pthread_attr_t): Do not require type.
18678 [POSIX] (pthread_cond_t): Likewise.
18679 [POSIX] (pthread_condattr_t): Likewise.
18680 [POSIX] (pthread_key_t): Likewise.
18681 [POSIX] (pthread_mutex_t): Likewise.
18682 [POSIX] (pthread_mutexattr_t): Likewise.
18683 [POSIX] (pthread_once_t): Likewise.
18684 [POSIX] (pthread_t): Likewise.
18685 [POSIX-based standards] (pthread_atfork): Expect function.
18686
6055173a
JM
186872013-09-24 Joseph Myers <joseph@codesourcery.com>
18688 Richard Sandiford <richard@codesourcery.com>
18689
18690 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18691 (swap_endianness_p): New extern variable.
18692 (set_big_endian): New inline function.
18693 (maybe_swap_uint32): Likewise.
18694 (maybe_swap_uint32_array): Likewise.
18695 (maybe_swap_uint32_obstack): Likewise.
18696 * locale/programs/locfile.c: Include <stdbool.h>.
18697 (swap_endianness_p): New variable.
18698 (add_locale_uint32): Call maybe_swap_uint32.
18699 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18700 (write_locale_data): Call maybe_swap_uint32_array.
18701 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18702 maybe_swap_uint32.
18703 (obstack_int32_grow_fast): Likewise.
18704 (output_weightwc): Call maybe_swap_uint32_obstack.
18705 (collate_output): Likewise.
18706 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18707 (OPT_LITTLE_ENDIAN): Likewise.
18708 (options): Add --little-endian and --big-endian options.
18709 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18710 * locale/programs/locarchive.c: Include "locfile.h".
18711 (GET): New macro.
18712 (SET): Likewise.
18713 (INC): Likewise.
18714 (create_archive): Use the new macros to access fields of
18715 structures directly mapped from or written to locale archives.
18716 (oldlocrecentcmp): Likewise.
18717 (enlarge_archive): Likewise.
18718 (insert_name): Likewise.
18719 (add_alias): Likewise.
18720 (add_locale): Likewise.
18721 (delete_locales_from_archive): Likewise.
18722 (show_archive_content): Likewise.
18723 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18724 locale data.
18725
39bf0bb4
RM
187262013-09-24 Roland McGrath <roland@hack.frob.com>
18727
18728 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18729 http://www.gnu.org/doc/freemanuals.texi.
18730 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18731
f02eed10
WN
187322013-09-24 Will Newton <will.newton@linaro.org>
18733
18734 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18735 macro.
18736
a3a6c312
JM
187372013-09-23 Joseph Myers <joseph@codesourcery.com>
18738
18739 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18740 unsigned char.
18741
107375ac
MR
187422013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18743
18744 * manual/threads.texi (POSIX Threads): Fix a typo.
18745
141f3a77
SP
187462013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18747
303e567a
SP
18748 [BZ #14547]
18749 * string/tst-strcoll-overflow.c: New test case.
18750 * string/Makefile (xtests): Add tst-strcoll-overflow.
18751 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18752 cache if string sizes may cause integer overflow.
18753
141f3a77
SP
18754 [BZ #14547]
18755 * string/strcoll_l.c (coll_seq): New members rule, idx,
18756 save_idx and back_us.
18757 (get_next_seq_nocache): New function.
18758 (do_compare_nocache): New function.
18759 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18760 when malloc fails.
18761
c61b4d41
CD
187622013-09-23 Carlos O'Donell <carlos@redhat.com>
18763
0b1f8e35
CD
18764 [BZ #15754]
18765 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18766 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18767 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18768
c61b4d41
CD
18769 [BZ #15754]
18770 * elf/Makefile (tests): Add tst-ptrguard1.
18771 (tests-static): Add tst-ptrguard1-static.
18772 (tst-ptrguard1-ARGS): Define.
18773 (tst-ptrguard1-static-ARGS): Define.
18774 * elf/tst-ptrguard1.c: New file.
18775 * elf/tst-ptrguard1-static.c: New file.
18776 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18777 * sysdeps/i386/stackguard-macros.h: Likewise.
18778 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18779 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18780 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18781 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18782 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18783 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18784
187852013-09-23 Hector Marco <hecmargi@upv.es>
18786 Ismael Ripoll <iripoll@disca.upv.es>
18787 Carlos O'Donell <carlos@redhat.com>
18788
18789 [BZ #15754]
18790 * sysdeps/generic/stackguard-macros.h: Define
18791 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18792 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18793 Define __pointer_chk_guard_local.
18794 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18795 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18796
f5f4e7b4
VV
187972013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18798
18799 [BZ #15859]
18800 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18801
5bb43a43
AS
188022013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18803
18804 * include/string.h (__ffs): Declare as hidden.
18805 * string/ffs.c (__ffs): Define as hidden.
18806 * sysdeps/i386/ffs.c (__ffs): Likewise.
18807 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18808 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18809 * sysdeps/s390/ffs.c (__ffs): Likewise.
18810 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18811
3ea5be54
AO
188122013-09-20 Alexandre Oliva <aoliva@redhat.com>
18813
ffb89e53
AO
18814 * NEWS: Mention malloc probes.
18815
322dea08
AO
18816 * malloc/arena.c (new_heap): New memory_heap_new probe.
18817 (grow_heap): New memory_heap_more probe.
18818 (shrink_heap): New memory_heap_less probe.
18819 (heap_trim): New memory_heap_free probe.
18820 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18821 (systrim): New memory_sbrk_less probe.
18822 * manual/probes.texi: Document them.
18823
655673f3
AO
18824 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18825 * manual/probes.texi: Document it.
18826
35fed6f1
AO
18827 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18828 (__libc_realloc): Add memory_realloc_retry probe.
18829 (__libc_memalign): Add memory_memalign_retry probe.
18830 (__libc_valloc): Add memory_valloc_retry probe.
18831 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18832 (__libc_calloc): Add memory_calloc_retry probe.
18833 * manual/probes.texi: Document them.
18834
6999d38c
AO
18835 * malloc/arena.c (get_free_list): Add probe
18836 memory_arena_reuse_free_list.
18837 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18838 and memory_arena_reuse.
18839 (arena_get2) [!PER_THREAD]: Likewise.
18840 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18841 memory_arena_reuse_realloc.
18842 * manual/probes.texi: Document them.
18843
0653427f
AO
18844 * malloc/malloc.c (__libc_free): Add
18845 memory_mallopt_free_dyn_thresholds probe.
18846 (__libc_mallopt): Add multiple memory_mallopt probes.
18847 * manual/probes.texi: Document them.
18848
3ea5be54
AO
18849 * malloc/malloc.c: Include stap-probe.h.
18850 (__libc_mallopt): Add memory_mallopt probe.
18851 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18852 * manual/probes.texi: New.
18853 * manual/Makefile (chapters): Add probes.
18854 * manual/threads.texi: Set next node.
18855
e35696c3 188562013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18857
e35696c3
CL
18858 [BZ #15963, #13985]
18859 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18860 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18861 Add `Chinese' to `nan' entry name.
18862
4aafb73c
SP
188632013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18864
18865 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18866 (POLYNOMIAL): Likewise.
18867 (TAYLOR_SINCOS): Likewise.
18868 (TAYLOR_SLOW): Likewise.
18869 (__sin): Use TAYLOR_SINCOS.
18870 (__cos): Likewise.
18871 (slow): Use TAYLOR_SLOW.
18872 (sloww): Likewise.
18873 (bsloww): Likewise.
18874 (csloww): Likewise.
18875
d84f25c7
LD
188762013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18877
18878 * stdlib/strtod_l.c: Fix buffer overrun.
18879
5eea0404
SP
188802013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18881
7849ff93
SP
18882 * benchtests/Makefile (bench): Add sincos.
18883 * benchtests/bench-sincos.c: New file.
18884
cfa3c886
SP
18885 * math/libm-test.inc (cos_test_data): New test inputs.
18886 (sin_test_data): Likewise.
18887
b348e1e3
SP
18888 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18889 macro.
18890 (__sin): Use it.
18891 (__cos): Likewise.
18892 (slow1): Likewise.
18893 (slow2): Likewise.
18894 (sloww1): Likewise.
18895 (sloww2): Likewise.
18896 (bsloww1): Likewise.
18897 (bsloww2): Likewise.
18898 (cslow2): Likewise.
18899 (csloww1): Likewise.
18900 (csloww2): Likewise.
18901
6cce25f8
SP
18902 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18903 function.
18904 (__sin): Use it.
18905 (__cos): Likewise.
18906
5eea0404
SP
18907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18908 gotos.
18909 (__cos): Likewise.
18910
9c21573c
MR
189112013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18912
18913 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18914 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18915 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18916 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18917 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18918 * elf/cache.c (print_entry): Handle the new cache flags.
18919
24d22e65
JM
189202013-09-18 Joseph Myers <joseph@codesourcery.com>
18921 Aldy Hernandez <aldyh@redhat.com>
18922
18923 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18924 Change condition to [_SOFT_FLOAT].
18925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18937 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18940 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18941 declaration.
18942
d13ef066
JM
189432013-09-18 Joseph Myers <joseph@codesourcery.com>
18944
2e071de0
JM
18945 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18946 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18947 (__longjmp): Use LOAD_GP to load saved GPRs.
18948 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18949 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18950 (__sigsetjmp): Use SAVE_GP to save GPRs.
18951
d13ef066
JM
18952 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18953 Do not append -msoft-float.
18954 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18955
97a0650b
SP
189562013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18957
18958 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18959
11ca09e9
JM
189602013-09-17 Joseph Myers <joseph@codesourcery.com>
18961
18962 [BZ #15966]
18963 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18964 (_FPU_GETCW): Use initial "__" on variable and field names but not
18965 on macro parameter name.
18966 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18967 parentheses around reference to macro parameter.
18968
08ffcf34
RS
189692013-09-13 Richard Sandiford <richard@codesourcery.com>
18970
18971 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18972 prototype.
18973 (ctype_startup): Use uint32_t in cast and sizeof for
18974 ctype->charnames.
18975
ae7080d3
JL
189762013-09-11 Jia Liu <proljc@gmail.com>
18977
18978 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18979 __daddr_t_defined.
18980 [__FreeBSD__]: Likewise.
18981
5905e7b3
OB
189822013-09-11 Ondřej Bílka <neleai@seznam.cz>
18983
18984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18985 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18986 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18987 (strchr): Remove __strchr_sse42 ifunc selection.
18988 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18989 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18990
b987c776
WN
189912013-09-11 Will Newton <will.newton@linaro.org>
18992
18993 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18994 parameter to RES. Remove hardcoded 1000 value.
18995 * benchtests/bench-skeleton.c (main): Pass RES parameter
18996 to TIMING_INIT and multiply result by 1000.
18997
ddf985af
AZ
189982013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18999
19000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19001
ffdd3181
AS
190022013-09-11 Andreas Schwab <schwab@suse.de>
19003
19004 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19005 if not defined.
19006 (O_TMPFILE) [__USE_GNU]: Define.
19007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19008 Define.
19009
b73ed247
WN
190102013-09-11 Will Newton <will.newton@linaro.org>
19011
19012 [BZ #15857]
19013 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19014 does not overflow.
19015
55e17aad
WN
190162013-09-11 Will Newton <will.newton@linaro.org>
19017
19018 [BZ #15856]
19019 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19020 does not overflow.
19021
1159a193
WN
190222013-09-11 Will Newton <will.newton@linaro.org>
19023
19024 [BZ #15855]
19025 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19026 does not overflow.
19027
5905e7b3 190282013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19029
19030 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19031 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19035
cdfc721b
AM
190362013-09-10 Allan McRae <allan@archlinux.org>
19037
aa04af00
AM
19038 [BZ #15748]
19039 * manual/arith.texi (Parsing of Floats): Clarify
19040 cross-reference.
19041
cdfc721b
AM
19042 [BZ #15849]
19043 * manual/install.texi (Running make install): Mention
19044 --enable-pt-chown.
19045 * INSTALL: Regenerated.
19046
95e7cf29
MR
190472013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19048
19049 * csu/init-first.c (_init): Remove the !SHARED condition around
19050 FPU control word initialization.
19051 * elf/dl-support.c (_dl_fpu_control): New variable.
19052 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19053 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19054 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19055 * math/test-fpucw-static.c: New file.
19056 * math/test-fpucw-ieee.c: New file.
19057 * math/test-fpucw-ieee-static.c: New file.
19058 * math/Makefile (tests): Add `test-fpucw-ieee' and
19059 `$(tests-static)'.
19060 (tests-static): New variable.
19061 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19062 dependency to...
19063 [($(build-shared),yes)]
19064 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19065 ... this.
19066 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19067 New dependency.
19068
83e43bf0
AM
190692013-09-09 Allan McRae <allan@archlinux.org>
19070
a9f5ce09
AM
19071 [BZ #15939]
19072 * manual/string.texi (Collation Functions): Fix typo in
19073 strcoll example.
19074 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19075
34829bc2
AM
19076 [BZ #15893]
19077 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19078
3932737d
AM
19079 [BZ #15892]
19080 * libio/memstream.c (open_memstream): Fix memory leak.
19081 * libio/wmemstream.c (open_wmemstream): Likewise.
19082
83e43bf0
AM
19083 [BZ #15895]
19084 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19085
0c66b8e9
WN
190862013-09-09 Will Newton <will.newton@linaro.org>
19087
19088 * malloc/Makefile: Add tst-realloc to tests.
19089 * malloc/tst-realloc.c: New file.
19090
f6b00fd1
AM
190912013-09-09 Allan McRae <allan@archlinux.org>
19092
19093 [BZ #15844]
19094 * COPYING: Update from GNU website to fix FSF address.
19095 * COPYING.LIB: Likewise.
19096
eec55e16
DM
190972013-09-06 David S. Miller <davem@davemloft.net>
19098
19099 * po/zh_TW.po: Update Chinese (traditional) translation from
19100 translation project.
19101
1ecbb381
RS
191022013-09-06 Richard Sandiford <richard@codesourcery.com>
19103 Joseph Myers <joseph@codesourcery.com>
19104
19105 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19106 "localeinfo.h".
19107 (obstack_chunk_alloc): New macro.
19108 (obstack_chunk_free): Likewise.
19109 (record_offset): New function.
19110 (init_locale_data): Likewise.
19111 (align_locale_data): Likewise.
19112 (add_locale_empty): Likewise.
19113 (add_locale_raw_data): Likewise.
19114 (add_locale_raw_obstack): Likewise.
19115 (add_locale_string): Likewise.
19116 (add_locale_wstring): Likewise.
19117 (add_locale_uint32): Likewise.
19118 (add_locale_uint32_array): Likewise.
19119 (add_locale_char): Likewise.
19120 (start_locale_structure): Likewise.
19121 (end_locale_structure): Likewise.
19122 (start_locale_prelude): Likewise.
19123 (end_locale_prelude): Likewise.
19124 (write_locale_data): Take locale_file structure rather than an
19125 iovec.
19126 * locale/programs/locfile.h: Include "obstack.h".
19127 (struct locale_file): Change to store locale file contents instead
19128 of header.
19129 (init_locale_data): New prototype.
19130 (align_locale_data): Likewise.
19131 (add_locale_empty): Likewise.
19132 (add_locale_raw_data): Likewise.
19133 (add_locale_raw_obstack): Likewise.
19134 (add_locale_string): Likewise.
19135 (add_locale_wstring): Likewise.
19136 (add_locale_uint32): Likewise.
19137 (add_locale_uint32_array): Likewise.
19138 (add_locale_char): Likewise.
19139 (start_locale_structure): Likewise.
19140 (end_locale_structure): Likewise.
19141 (start_locale_prelude): Likewise.
19142 (end_locale_prelude): Likewise.
19143 (write_locale_data): Update prototype.
19144 * locale/programs/3level.h (struct TABLE): Remove result field.
19145 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19146 Use new locale_file interface.
19147 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19148 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19149 * locale/programs/ld-address.c (address_output): Use new
19150 locale_file interface.
19151 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19152 NO_ADD_LOCALE.
19153 (collate_finish): Don't call collseq_table_finalize.
19154 (collate_output): Use new locale_file interface.
19155 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19156 in file.
19157 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19158 (TABLE): Move defines earlier in file.
19159 (ELEMENT): Likewise.
19160 (DEFAULT): Likewise.
19161 (wctrans_table_add): Move macro and inline function earlier in
19162 file.
19163 (struct wctype_table): Move type earlier in file.
19164 (add_locale_wctype_table): New static prototype.
19165 (struct locale_ctype_t): Use logical types instead of struct iovec
19166 pointers for members.
19167 (ctype_output): Use new locale_file interface.
19168 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19169 new locale_file interface.
19170 (allocate_arrays): Update for use of new locale_file interface.
19171 * locale/programs/ld-identification.c (identification_output): Use
19172 new locale_file interface.
19173 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19174 * locale/programs/ld-messages.c (messages_output): Likewise.
19175 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19176 * locale/programs/ld-name.c (name_output): Likewise.
19177 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19178 * locale/programs/ld-paper.c (paper_output): Likewise.
19179 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19180 * locale/programs/ld-time.c (time_output): Likewise.
19181
e029e2e5
AZ
191822013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19183
19184 * benchtests/Makefile: Add memrchr benchmark.
19185 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19186 benchmark as memrchr.
19187 * benchtests/bench-memrchr-ifunc.c: New file.
19188 * benchtests/bench-memrchr.c: New file.
19189
bbf6e8e4
WN
191902013-09-06 Will Newton <will.newton@linaro.org>
19191
19192 * benchtests/Makefile (string-bench): Add memcpy.
19193
6c82a2f8
CD
191942013-09-05 Carlos O'Donell <carlos@redhat.com>
19195 Cong Wang <amwang@redhat.com>
19196
e732c5f0 19197 [BZ #15850]
6c82a2f8
CD
19198 * sysdeps/unix/sysv/linux/bits/in.h
19199 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19200 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19201 before __USE_KERNEL_IPV6_DEFS uses.
19202 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19203 IPPROTO_BEETPH.
19204 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19205 sockaddr_in6, or ipv6_mreq.
19206
5430fc65
AZ
192072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19208
19209 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19210 memory access for final bytes in some large inputs.
19211 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19212
4660856c
AZ
192132013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19214
19215 * string/test-memrchr.c: New file.
19216 * string/test-memrchr-ifunc.c: New file.
19217 * string/Makefile: Add new memrchr testcase.
19218
bb8ea713
MF
192192013-09-05 Mike Frysinger <vapier@gentoo.org>
19220
19221 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19222 fanotify_init returns EPERM.
19223
b92a20b5
JM
192242013-09-04 Joseph Myers <joseph@codesourcery.com>
19225
19226 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19227 errors.
19228 (top level): Treat second token from macro or constant entries for
19229 allowed headers as allowed.
19230 * include/complex.h: Condition internal declarations on
19231 [!_ISOMAC].
19232 * include/fenv.h: Condition include of <stdbool.h> and internal
19233 declarations on [!_ISOMAC].
7447ccd9
CL
19234
192352013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19236
3e181dda 19237 [BZ #15923]
7447ccd9
CL
19238 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19239
3f2e46a4
JM
192402013-09-04 Joseph Myers <joseph@codesourcery.com>
19241
19242 * configure.in (--enable-versioning): Remove configure option.
19243 (libc_cv_asm_symver_directive): Remove configure test.
19244 (libc_cv_ld_version_script_option): Likewise.
19245 (VERSIONING): Remove variable and AC_SUBST.
19246 (DO_VERSIONING): Remove AC_DEFINE.
19247 * configure: Regenerated.
19248 * config.h.in (DO_VERSIONING): Remove macro.
19249 * Makerules [$(versioning) = yes]: Change conditionals to
19250 [$(build-shared) = yes].
19251 * config.make.in (versioning): Remove variable.
19252 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19253 [$(build-shared) = yes].
19254 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19255 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19256 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19257 [$(build-shared) = yes].
19258 * extra-lib.mk [$(versioning) = yes]: Likewise.
19259 * hurd/Makefile [$(versioning) = yes]: Likewise.
19260 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19261 [SHARED].
19262 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19263 [SHARED].
19264 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19265 [SHARED && !NO_HIDDEN].
19266 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19267 [SHARED].
19268 [SHARED && DO_VERSIONING]: Likewise..
19269 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19270 [$(build-shared) = yes].
19271 * manual/install.texi (--disable-versioning): Remove
19272 documentation.
19273 * INSTALL: Regenerated.
19274 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19275 to [SHARED].
19276 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19277 [$(build-shared) = yes].
19278 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19279 * sysdeps/i386/i686/multiarch/strstr-c.c
19280 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19281 [SHARED && !NO_HIDDEN].
19282 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19283 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19284 * sysdeps/powerpc/powerpc32/dl-machine.c
19285 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19286 * sysdeps/powerpc/powerpc32/sysdep.h
19287 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19288 to [SHARED && PIC && !NO_HIDDEN].
19289 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19290 conditional to [SHARED].
19291
44558701
WN
192922013-09-04 Will Newton <will.newton@linaro.org>
19293
19294 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19295 * benchtests/bench-string.h: Include bench-timing.h instead
19296 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19297 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19298 call to HP_TIMING_DIFF_INIT.
19299 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19300 instead of hp-timing.h macros.
19301 * benchtests/bench-memchr.c: Likewise.
19302 * benchtests/bench-memcmp.c: Likewise.
19303 * benchtests/bench-memcpy.c: Likewise.
19304 * benchtests/bench-memmem.c: Likewise.
19305 * benchtests/bench-memmove.c: Likewise.
19306 * benchtests/bench-memset.c: Likewise.
19307 * benchtests/bench-rawmemchr.c: Likewise.
19308 * benchtests/bench-strcasecmp.c: Likewise.
19309 * benchtests/bench-strcasestr.c: Likewise.
19310 * benchtests/bench-strcat.c: Likewise.
19311 * benchtests/bench-strchr.c: Likewise.
19312 * benchtests/bench-strcmp.c: Likewise.
19313 * benchtests/bench-strcpy.c: Likewise.
19314 * benchtests/bench-strcpy_chk.c: Likewise.
19315 * benchtests/bench-strlen.c: Likewise.
19316 * benchtests/bench-strncasecmp.c: Likewise.
19317 * benchtests/bench-strncat.c: Likewise.
19318 * benchtests/bench-strncmp.c: Likewise.
19319 * benchtests/bench-strncpy.c: Likewise.
19320 * benchtests/bench-strnlen.c: Likewise.
19321 * benchtests/bench-strpbrk.c: Likewise.
19322 * benchtests/bench-strrchr.c: Likewise.
19323 * benchtests/bench-strspn.c: Likewise.
19324 * benchtests/bench-strstr.c: Likewise.
19325
cae16d66
WN
193262013-09-04 Will Newton <will.newton@linaro.org>
19327
19328 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19329
ffa3cd7f
JM
193302013-09-03 Joseph Myers <joseph@codesourcery.com>
19331
19332 [BZ #15427]
19333 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19334 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19335 * math/libm-test.inc (lgamma_test_data): Add more tests.
19336 * sysdeps/i386/fpu/libm-test-ulps: Update.
19337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19338
8f02859f
OB
193392013-09-03 Ondřej Bílka <neleai@seznam.cz>
19340
19341 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19343 Add ifunc.
19344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19345 Add strcmp-sse2-unaligned
19346 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19347
18d43716
MF
193482013-09-02 Mike Frysinger <vapier@gentoo.org>
19349
19350 * Versions.def (libc): Add GLIBC_2.19.
19351
ac444012
MF
193522013-09-02 Mike Frysinger <vapier@gentoo.org>
19353
19354 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19355 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19356
b7835e32
JM
193572013-09-02 Joseph Myers <joseph@codesourcery.com>
19358
19359 [BZ #14155]
19360 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19361 intermediate calculations in recurrence.
19362 (__ieee754_ynf): Likewise.
19363 * math/libm-test.inc (jn_test_data): Do not allow spurious
19364 underflow exception. Add more tests.
19365 (yn_test_data): Add more tests.
19366 * sysdeps/i386/fpu/libm-test-ulps: Update.
19367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19368
8220f4f0
OB
193692013-09-02 Ondřej Bílka <neleai@seznam.cz>
19370
19371 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19372
f24a6d08
OB
193732013-08-30 Ondřej Bílka <neleai@seznam.cz>
19374
19375 * csu/init-first.c: Fix then/than typos.
19376 * locale/programs/ld-collate.c: Likewise.
19377 * locale/programs/linereader.h: Likewise.
19378 * manual/charset.texi: Likewise.
19379 * manual/filesys.texi: Likewise.
19380 * manual/stdio.texi: Likewise.
19381 * manual/string.texi: Likewise.
19382 * stdlib/fmtmsg.c: Likewise.
19383 * sysdeps/i386/stpncpy.S: Likewise.
19384 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19385 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19386 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19387 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19388
382466e0
OB
193892013-08-30 Ondřej Bílka <neleai@seznam.cz>
19390
19391 * elf/dl-open.c: Fix typos.
19392 * iconvdata/gbbig5.c: Likewise.
19393 * iconvdata/iso-2022-jp.c: Likewise.
19394 * iconv/gconv_int.h: Likewise.
19395 * iconv/loop.c: Likewise.
19396 * nis/rpcsvc/nis.h: Likewise.
19397 * resolv/ns_name.c: Likewise.
19398 * stdio-common/vfscanf.c: Likewise.
19399 * streams/stropts.h: Likewise.
19400 * sunrpc/rpc_thread.c: Likewise.
19401 * sysdeps/i386/strpbrk.S: Likewise.
19402 * sysdeps/ieee754/k_standard.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19405 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19406 * sysdeps/mach/hurd/profil.c: Likewise.
19407 * sysdeps/s390/dl-procinfo.h: Likewise.
19408 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19409 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19410 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19411 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19412 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19413
0186c6e9
OB
194142013-08-30 Ondřej Bílka <neleai@seznam.cz>
19415
19416 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19418
d4e16af1
OB
194192013-08-29 Ondřej Bílka <neleai@seznam.cz>
19420
19421 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19422 aix specific files.
19423 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19424 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19425 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19426 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19427 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19428 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19429 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19430 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19431
88335980
TS
194322013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19433 Roland McGrath <roland@hack.frob.com>
19434
19435 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19436 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19437
ed479b02
ST
194382013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19439
19440 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19441 __executable_start symbol instead of _start.
19442
f1cc4c86
TS
194432013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19444
d821f07c
TS
19445 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19446 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19447 Move macros to...
19448 * sysdeps/gnu/ldsodefs.h: ... this new file.
19449
c54290cf
TS
19450 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19451 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19452 instead of ELFOSABI_LINUX.
19453
0007fc9b 19454 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19455 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19456 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19457 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19458 Likewise.
19459 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19460 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19461 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19462 Likewise.
19463 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19464 (ibm_extended_long_double): Add ieee_nan member.
19465 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19466 (do_test): New function.
19467
f1cc4c86
TS
19468 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19469 TEST_TRUNC.
19470 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19471 functions, renamed from truncdfsf_test, trunctfsf_test,
19472 trunctfdf_test.
19473 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19474 functions.
19475 (do_test): Run all these.
19476
6f65e668
OB
194772013-08-29 Ondřej Bílka <neleai@seznam.cz>
19478
19479 * argp/argp-help.c: Fix typos.
19480 * argp/argp-parse.c: Likewise.
19481 * debug/backtracesyms.c: Likewise.
19482 * elf/elf.h: Likewise.
19483 * malloc/malloc.c: Likewise.
19484 * nis/nis_print.c: Likewise.
19485 * resolv/res_comp.c: Likewise.
19486 * stdlib/stdlib.h: Likewise.
19487 * sunrpc/clnt_tcp.c: Likewise.
19488 * sunrpc/clnt_udp.c: Likewise.
19489 * sunrpc/clnt_unix.c: Likewise.
19490 * sysdeps/unix/bsd/ptsname.c: Likewise.
19491 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19492 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19494 Likewise.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19496 Likewise.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19498 Likewise.
6f65e668
OB
19499 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19500
3a309239
SP
195012013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19502
19503 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19505
3b813b29
MF
195062013-08-27 Mike Frysinger <vapier@gentoo.org>
19507
19508 [BZ #15897]
19509 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19510 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19511 ($(objpfx)bug-dl-leaf): New rule.
19512 ($(objpfx)bug-dl-leaf.so): Likewise.
19513 ($(objpfx)bug-dl-leaf.out): Likewise.
19514 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19515 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19516 * dlfcn/bug-dl-leaf.c: New test.
19517 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19518 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19519 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19520 (dlclose): Likewise.
19521 (dlmopen): Likewise.
19522
8cc3269f
RM
195232013-08-27 Roland McGrath <roland@hack.frob.com>
19524
7f9d0034
RM
19525 * include/netdb.h [!_ISOMAC]:
19526 Don't include <tls.h>.
19527 (h_errno, __libc_h_errno): Move declaration and macros out of
19528 [_LIBC_REENTRANT].
19529
fb431262
RM
19530 * include/resolv.h [_RESOLV_H_]:
19531 Don't include <tls.h>.
19532 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19533 * resolv/res_libc.c: Don't include <tls.h>.
19534 (_res): Use __attribute__ ((nocommon)) in place of
19535 __attribute__ ((section (".bss"))).
19536
bd81123a
RM
19537 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19538 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19539
c4e42566
RM
19540 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19541
f890a59b
RM
19542 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19543 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19544
19545 * resolv/res_mkquery.c: Include <sys/time.h>.
19546
5d1f0a09
RM
19547 * inet/ifreq.c: Moved to ...
19548 * sysdeps/unix/ifreq.c: ... here.
19549 * inet/ifreq.c: New file, true stub version.
19550
6fcf28b3
RM
19551 * socket/sa_len.c: New file.
19552 * socket/Makefile (aux): Add it.
19553 * sysdeps/unix/sysv/linux/Makefile
19554 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19555 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19556 and #include <socket/sa_len.c>.
19557 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19558 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19559
e041fb8b
RM
19560 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19561 * bits/socket.h: ... here.
19562
8cc3269f
RM
19563 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19564 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19565 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19566
5d228a43
AS
195672013-08-27 Andreas Schwab <schwab@suse.de>
19568
45b8accc
AS
19569 [BZ #15736]
19570 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19571 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19572 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19573 * string/test-strcasecmp.c (test_main): Run tests in several
19574 locales.
19575 * string/test-strncasecmp.c (test_main): Likewise.
19576
5d228a43
AS
19577 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19578 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19579 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19581 (__strncasecmp_ssse3) [PIC]: Likewise.
19582
59d112a4
RM
195832013-08-26 Roland McGrath <roland@hack.frob.com>
19584
53234cc3
RM
19585 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19586
59d112a4
RM
19587 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19588 instead of explicitly declaring xdecrypt.
19589 * nis/nss_nis/nis-publickey.c: Likewise.
19590
595aba70
SP
195912013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19592
19593 [BZ #15890]
19594 * nscd/aicache.c: Include res_hconf.h.
19595 (addhstaiX): Initialize res_hconf.
19596
ffabd393
AS
195972013-08-26 Andreas Schwab <schwab@suse.de>
19598
19599 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19600 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19601
e0a69f5c
SP
196022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19603
19604 * nscd/aicache.c (addhstaiX): Fix indentation.
19605
8c12f01d
MF
196062013-08-25 Mike Frysinger <vapier@gentoo.org>
19607
19608 * configure.ac: Quote $build_pt_chown test.
19609 * configure: Regenerated.
19610
8fe89494
JM
196112013-08-23 Joseph Myers <joseph@codesourcery.com>
19612
19613 [BZ #15532]
19614 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19615 * math/s_cexpf.c (__cexpf): Likewise.
19616 * math/s_cexpl.c (__cexpl): Likewise.
19617 * math/libm-test.inc (cexp_test_data): Correct expected return
19618 value for NaN + i0. Add another test.
19619
75b181d6
DM
196202013-08-22 David S. Miller <davem@davemloft.net>
19621
19622 * po/ca.po: Update Catalan translation from translation project.
936241e4 19623 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19624
acd06bb1
JM
196252013-08-21 Joseph Myers <joseph@codesourcery.com>
19626
19627 [BZ #15797]
19628 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19629 is infinite, not alongside NaN test.
19630 * math/s_fdimf.c (__fdimf): Likewise.
19631 * math/s_fdiml.c (__fdiml): Likewise.
19632 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19633 errno is unchanged.
19634
c0c3f78a
OB
196352013-08-21 Ondřej Bílka <neleai@seznam.cz>
19636
19637 * argp/argp-help.c: Fix typos.
19638 * crypt/speeds.c: Likewise.
19639 * csu/check_fds.c: Likewise.
19640 * elf/dl-load.c: Likewise.
19641 * elf/dl-open.c: Likewise.
19642 * elf/reldep3.c: Likewise.
19643 * elf/reldep.c: Likewise.
19644 * elf/sprof.c: Likewise.
19645 * iconv/iconv_charmap.c: Likewise.
19646 * iconv/skeleton.c: Likewise.
19647 * iconv/strtab.c: Likewise.
19648 * io/lockf64.c: Likewise.
19649 * libio/libioP.h: Likewise.
19650 * resolv/gai_notify.c: Likewise.
19651 * resolv/ns_name.c: Likewise.
19652 * resolv/ns_samedomain.c: Likewise.
19653 * resolv/res_send.c: Likewise.
19654 * stdlib/random.c: Likewise.
19655 * sunrpc/rpc/xdr.h: Likewise.
19656 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19657 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19658 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19659 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19661 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19664 * sysdeps/mach/hurd/check_fds.c: Likewise.
19665 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19666 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19667 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19668 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19669 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19670 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19671 * sysdeps/pthread/aio_notify.c: Likewise.
19672 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19673 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19674 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19675 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19676 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19677
46ed1038
LD
196782013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19679
19680 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19681 version if bit_Slow_SSE4_2 is set.
19682 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19683 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19684
d400dcac
AZ
196852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19686
19687 [BZ #15867]
19688 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19689 trampoline stack frame information.
19690 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19691 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19692 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19693 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19694 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19695 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19696 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19697 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19698 sa_flags value.
19699 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19700 interrupting a syscall and set with option SA_SIGINFO.
19701
42c8fdd8
JM
197022013-08-20 Joseph Myers <joseph@codesourcery.com>
19703
c980f2f4
JM
19704 [BZ #15531]
19705 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19706 argument is infinite.
19707 * math/s_cprojf.c (__cprojf): Likewise.
19708 * math/s_cprojl.c (__cprojl): Likewise.
19709 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19710 * math/libm-test.inc (cproj_test_data): Add more tests.
19711
0716c4fc
JM
19712 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19713
42c8fdd8
JM
19714 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19715 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19716 size. Use __ffs to determine corresponding shift.
19717
b31469d0
JM
197182013-08-20 Joseph Myers <joseph@codesourcery.com>
19719 Roland McGrath <roland@hack.frob.com>
19720
19721 * Makefile (INSTALL): Remove trailing blank lines from output of
19722 makeinfo.
19723
4e39af6e
AK
197242013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19725
19726 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19727 Align 32 bit compat elf_greg to 8 bytes.
19728
f315524e
AA
197292013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19730
19731 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19732
1326ba1a
SP
197332013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19734
19735 * string/strcoll_l.c (coll_seq): New structure.
19736 (get_next_seq_cached): New function.
19737 (get_next_seq): New function.
19738 (do_compare): New function.
19739 (STRCOLL): Use GNU style definition. Simplify implementation
19740 by using get_next_seq, get_next_seq_cached and do_compare.
19741
91ce4085
FW
197422013-08-16 Florian Weimer <fweimer@redhat.com>
19743
19744 [BZ #14699]
19745 CVE-2013-4237
19746 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19747 member.
19748 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19749 member.
19750 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19751 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19752 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19753 conditional.
19754 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19755 GETDENTS_64BIT_ALIGNED.
19756 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19757 * manual/filesys.texi (Reading/Closing Directory): Document
19758 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19759 strongly.
19760 * manual/conf.texi (Limits for Files): Add portability note to
19761 NAME_MAX, PATH_MAX.
19762 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19763
ca0a6bc4
AS
197642013-08-13 Andreas Schwab <schwab@suse.de>
19765
19766 [BZ #15749]
19767 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19768 of fabs.
19769 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19770 LDBL_MAX_EXP >= 16384]: Add tests for it.
19771
6c1fd795
DM
197722013-08-12 David S. Miller <davem@davemloft.net>
19773
19774 * version.h (RELEASE): Set to "development".
19775 (VERSION): Set to "2.18.90".
19776 * NEWS: Add 2.19 section.
19777
31ad488d
DM
197782013-08-03 David S. Miller <davem@davemloft.net>
19779
19780 * po/ko.po: Update Korean translation from translation project.
19781
db24e684
DM
197822013-08-01 David S. Miller <davem@davemloft.net>
19783
19784 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19785 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19786 Bilka.
19787
f723285b
DM
197882013-07-30 David S. Miller <davem@davemloft.net>
19789
19790 * po/fr.po: Update French translation from translation project.
19791
3cbc52db
DM
197922013-07-28 David S. Miller <davem@davemloft.net>
19793
30bbc0cc
DM
19794 * po/cs.po: Update Czech translation from translation project.
19795
3cbc52db
DM
19796 * po/sv.po: Update Swedish translation from translation project.
19797
d492e6d0
DM
197982013-07-27 David S. Miller <davem@davemloft.net>
19799
f1a7f492
DM
19800 * po/eo.po: Update Esperanto translation from translation project.
19801
90e62a4a
DM
19802 * po/vi.po: Update Vietnamese translation from translation project.
19803
d492e6d0
DM
19804 * po/de.po: Update German translation from translation project.
19805
d4baa62d
DM
198062013-07-26 David S. Miller <davem@davemloft.net>
19807
641aa7b4
DM
19808 * po/bg.po: Update Bulgarian translation from translation project.
19809
d4baa62d
DM
19810 * po/nl.po: Update Dutch translation from translation project.
19811 * po/pl.po: Update Polish translation from translation project.
19812 * po/ru.po: Update Russian translation from translation project.
19813
61a9dcb9
DM
198142013-07-24 David S. Miller <davem@davemloft.net>
19815
19816 * po/libc.pot: Update.
19817
7b1f8b58
AZ
198182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19819
19820 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19821 variable page size.
19822 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19823 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19824 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19825
a8fc7a03
AK
198262013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19827
19828 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19829
e4608715
CD
198302013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19831 Andreas Schwab <schwab@suse.de>
19832 Roland McGrath <roland@hack.frob.com>
19833 Joseph Myers <joseph@codesourcery.com>
19834 Carlos O'Donell <carlos@redhat.com>
19835
19836 [BZ #15755]
19837 * config.h.in: Define HAVE_PT_CHOWN.
19838 * config.make.in (build-pt-chown): New variable.
19839 * configure.in (--enable-pt_chown): New configure option.
19840 * configure: Regenerate.
19841 * login/Makefile: Include Makeconfig. Build pt_chown only if
19842 build-pt-chown is enabled.
19843 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19844 pt_chown to fix pty ownership.
19845 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19846 CLOSE_ALL_FDS.
19847 * manual/install.texi (Configuring and compiling): Mention
19848 --enable-pt_chown. Add @findex for grantpt.
19849 * INSTALL: Regenerate.
19850
da2d62df
DM
198512013-07-20 David S. Miller <davem@davemloft.net>
19852
19853 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19854 difference between 32-bit and 64-bit.
19855
d7e06450
CD
198562013-07-15 Carlos O'Donell <carlos@redhat.com>
19857
19858 [BZ #15711]
19859 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19860 Avoid system header dependency with -ffreestanding.
19861 ($(objpfx)bits/syscall%d): Likewise.
19862
f959cfd7
DM
198632013-07-13 David S. Miller <davem@davemloft.net>
19864
19865 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19866 underflows from atanl/atan2l due to bug 15319.
19867 (casinh_test_data): Likewise.
19868
c61f8513
DM
198692013-07-07 David S. Miller <davem@davemloft.net>
19870
19871 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19872
72c90ed0
JA
198732013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19874
19875 * sysdeps/i386/fpu/libm-test-ulps: Update.
19876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19877
52dfbe13
SP
198782013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19879
19880 * configure.in (--enable-lock-elision): Fix message text.
19881 * INSTALL: Regenerate.
19882 * configure: Regenerate.
19883
3f169543
AZ
198842013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19885
19886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19887
521c6785
AJ
198882013-07-03 Andreas Jaeger <aj@suse.de>
19889
19890 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19891 define.
19892 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19893 (ptrace_peeksiginfo_args): Add.
19894 (__ptrace_peeksiginfo_flags): Add.
19895 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19897 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19898
d2cc15cb
AM
198992013-07-03 Allan McRae <allan@archlinux.org>
19900
19901 * sysdeps/i386/fpu/libm-test-ulps: Update.
19902
3aaeeca7
DM
199032013-07-02 David S. Miller <davem@davemloft.net>
19904
19905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19906
5314ed1a
MT
199072013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19908
19909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19910
67338156
JM
199112013-07-02 Joseph Myers <joseph@codesourcery.com>
19912
19913 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19915
1717da59
AK
199162013-07-02 Andi Kleen <ak@linux.intel.com>
19917
19918 * config.h.in (ENABLE_LOCK_ELISION): Add.
19919 * configure.in (--enable-lock-elision): Add option.
19920 * manual/install.texi: Document --enable lock elision.
19921 * configure: Regenerate
19922 * INSTALL: Regenerate.
19923
1c81621c
L
199242013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19925
19926 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19927 SSE4.2 strcasecmp for libc.a.
19928 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19929
77f01ab5
JM
199302013-07-02 Joseph Myers <joseph@codesourcery.com>
19931
19932 [BZ #13304]
19933 * soft-fp/op-common.h (_FP_FMA): New macro.
19934 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19935 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19936 (_FP_MUL_MEAT_1_imm): ... here.
19937 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19938 (_FP_MUL_MEAT_1_wide): ... here.
19939 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19940 (_FP_MUL_MEAT_1_hard): ... here.
19941 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19942 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19943 (_FP_MUL_MEAT_2_wide): ... here.
19944 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19945 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19946 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19947 (_FP_MUL_MEAT_2_gmp): ... here.
19948 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19949 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19950 (_FP_MUL_MEAT_4_wide): ... here.
19951 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19952 (_FP_MUL_MEAT_4_gmp): ... here.
19953 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19954 (_FP_WFRACBITS_DW_S): Likewise.
19955 (_FP_WFRACXBITS_DW_S): Likewise.
19956 (_FP_HIGHBIT_DW_S): Likewise.
19957 (FP_FMA_S): Likewise.
19958 (_FP_FRAC_HIGH_DW_S): Likewise.
19959 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19960 (_FP_WFRACBITS_DW_D): Likewise.
19961 (_FP_WFRACXBITS_DW_D): Likewise.
19962 (_FP_HIGHBIT_DW_D): Likewise.
19963 (FP_FMA_D): Likewise.
19964 (_FP_FRAC_HIGH_DW_D): Likewise.
19965 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19966 (_FP_WFRACBITS_DW_E): Likewise.
19967 (_FP_WFRACXBITS_DW_E): Likewise.
19968 (_FP_HIGHBIT_DW_E): Likewise.
19969 (FP_FMA_E): Likewise.
19970 (_FP_FRAC_HIGH_DW_E): Likewise.
19971 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19972 (_FP_WFRACBITS_DW_Q): Likewise.
19973 (_FP_WFRACXBITS_DW_Q): Likewise.
19974 (_FP_HIGHBIT_DW_Q): Likewise.
19975 (FP_FMA_Q): Likewise.
19976 (_FP_FRAC_HIGH_DW_Q): Likewise.
19977 * soft-fp/fmasf4.c: New file.
19978 * soft-fp/fmadf4.c: Likewise.
19979 * soft-fp/fmatf4.c: Likewise.
19980
6308fd9a
LD
199812013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19982
19983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19984 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19985 Silvermont.
19986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19987 macro.
19988 (index_Slow_SSE4_2): Likewise.
19989 (index_Prefer_PMINUB_for_stringop): Likewise.
19990 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19991 bit_Slow_SSE4_2 is set.
19992 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19993 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19994
89cd9569
RA
199952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19996
19997 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19998 rtld_global._dl_hwcap2.
19999 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20000 POWER8.
20001 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20002 POWER8 feature descriptions defined in _dl_hwcap2.
20003 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20004 string handling for POWER8 feature bits.
20005 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20006 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20007 _dl_powerpc_cap_flags.
20008 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20009 * sysdeps/powerpc/rtld-global-offsets.sym
20010 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20011 _dl_hwcap2 in the rtld_global_ro structure.
20012
1ae8bfe0
RA
200132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20014
20015 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20016 hardware capabilities in support of AT_HWCAP2.
20017 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20018 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20019 GLRO(dl_hwcap2).
20020 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20021 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20022 explicitly the unknown a_type display mechanism is used.
20023 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20024 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20025 struct member.
20026 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20027 to macro prototype for AT_HWCAP2 support.
20028 * sysdeps/i386/dl-procinfo.h: Likewise.
20029 * sysdeps/s390/dl-procinfo.h: Likewise.
20030 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20031 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20032 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20033 return -1 for unknown a_type display fallback.
20034 * sysdeps/sparc/dl-procinfo.h: Likewise.
20035 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20036 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20037
8fbec010
JM
200382013-06-28 Joseph Myers <joseph@codesourcery.com>
20039
20040 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20041 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20042
0432680e
PY
200432013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20044
20045 [BZ #12492]
20046 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20047 mprotect making __stack_prot writable.
20048
ce61a2ad
NF
200492013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20050 Joseph Myers <joseph@codesourcery.com>
20051
20052 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20053 as being properly aligned.
20054
f91f1c0f
MR
200552013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20056
3d0f5d0c
MR
20057 * dlfcn/modstatic5.c: New file.
20058 * dlfcn/tststatic5.c: New file.
20059 * dlfcn/Makefile (tests): Add tststatic5.
20060 (tests-static): Likewise.
20061 (modules-names): Add modstatic5.
20062 (tststatic5-ENV): New variable.
20063 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20064
f91f1c0f
MR
20065 [BZ #15022]
20066 * elf/dl-support.c (_dl_main_map): New variable.
20067 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20068 (_dl_nns, _dl_load_adds): Set to 1.
20069 (_dl_initial_searchlist): Refer to _dl_main_map.
20070 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20071 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20072 call to _dl_get_origin.
20073 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20074 around call_map.
20075 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20076 * dlfcn/modstatic3.c: New file.
20077 * dlfcn/tststatic3.c: New file.
20078 * dlfcn/tststatic4.c: New file.
20079 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20080 (tests-static): Likewise.
20081 (modules-names): Add modstatic3.
20082 (tststatic3-ENV, tststatic4-ENV): New variables.
20083 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20084 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20085
cbe7d24b
JM
200862013-06-26 Joseph Myers <joseph@codesourcery.com>
20087
20088 * configure.in (CC): Require GCC version 4.4 or later.
20089 * configure: Regenerated.
20090 * manual/install.texi (Tools for Compilation): Update GCC version
20091 requirement.
20092 * INSTALL: Regenerated.
20093
11b8a0e1
LD
200942013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20095
20096 [BZ #15674]
bb5bb87c
L
20097 * string/test-memcmp.c (check2): New.
20098 (main): Call check2.
20099
11b8a0e1
LD
20100 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20101
b0037103
MR
201022013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20103
20104 [BZ #15022]
20105 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20106 over to...
20107 (dl_open_worker) [!SHARED]: ... here.
20108
c18c701d
RA
201092013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20110
20111 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20112
1d17fa5f
RH
201132013-06-25 Richard Henderson <rth@redhat.com>
20114
20115 * locale/programs/locarchive.c: Include <libc-internal.h>
20116
8fcb833a
JM
201172013-06-25 Joseph Myers <joseph@codesourcery.com>
20118
20119 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20120 trailing whitespace removed.
20121
17db6e8d
MF
201222013-06-24 Mike Frysinger <vapier@gentoo.org>
20123
20124 [BZ #10283]
17db6e8d
MF
20125 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20126 * locale/programs/locarchive.c: Include libc-mmap.h.
20127 (prepare_address_space): Take two new outputs (the mmap base and len).
20128 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20129 values.
20130 (create_archive): Declare new mmap base and len values for
20131 prepare_address_space, and store the result in ah.
20132 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20133 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20134 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20135 Declare new mmap base and len values for
20136 prepare_address_space, and store the result in new_ah.
20137 (open_archive): Declare new mmap base and len values for
20138 prepare_address_space, and store the result in ah.
20139 (close_archive): If ah->mmap_base is not NULL, use that and
20140 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20141 * sysdeps/generic/libc-mmap.h: New file.
20142
d605071e
MF
201432013-06-24 Mike Frysinger <vapier@gentoo.org>
20144
20145 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20146 (ALIGN_UP): Likewise.
20147 (PTR_ALIGN_DOWN): Likewise.
20148 (PTR_ALIGN_UP): Likewise.
20149
2f063a6e
RA
201502013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20151
20152 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20153 entry mapped to PPC_PLATFORM_POWER8.
20154 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20155 POWER8.
20156 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20157 (_dl_string_platform): Add case for exporting platform position for
20158 POWER8.
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20160 search path to sysdeps/powerpc/powerpc32/power8 directory.
20161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20162 search path to sysdeps/powerpc/powerpc64/power8 directory.
20163 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20164 power7 directories.
20165 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20166 power7 directories.
20167
a31ee4b3
SP
201682013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20169
a74ca98f
SP
20170 * INSTALL: Regenerate.
20171
a31ee4b3
SP
20172 * nscd/connections.c (nscd_init): Fix comment.
20173
695c378f
JM
201742013-06-22 Joseph Myers <joseph@codesourcery.com>
20175
d8412221
JM
20176 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20177
695c378f
JM
20178 [BZ #15667]
20179 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20180 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20181
d1d54715
MR
201822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20183
20184 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20185 DL_DST_REQ_STATIC.
20186 (DL_DST_REQ_STATIC): Remove macro.
20187
8fdda7af
JM
201882013-06-21 Joseph Myers <joseph@codesourcery.com>
20189
20190 [BZ #7006]
20191 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20192 with a shift of 0 bits.
20193
f3bc5e5a
MR
201942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20195
20196 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20197 $(tststatic-ENV).
20198
be09e8c9
KK
201992013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20200
20201 [BZ #15655]
20202 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20203
85c2e611
AZ
202042013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20205
20206 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20207 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20208 accepts -fno-tree-loop-distribute-patterns.
20209 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20210 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20211 recursive call.
20212 * string/memset.c (memset): Likewise.
20213 * string/test-memmove.c (simple_memmove): Disable loop transformation
20214 to library calls.
20215 * string/test-memset.c (simple_memset): Likewise.
20216 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20217 * benchtests/bench-memset.c (simple_memset): Likewise.
20218 * configure: Regenerated.
20219
c91e0825
JM
202202013-06-20 Joseph Myers <joseph@codesourcery.com>
20221
b8c792af
JM
20222 * math/test-misc.c (main): Ignore fesetround failure when failures
20223 of subsequent rounding tests would be ignored.
20224
c91e0825
JM
20225 [BZ #15654]
20226 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20227 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20228 * math/fegetenv.c (__fegetenv): Return 0.
20229 * math/fegetexcept.c (fegetexcept): Return 0.
20230 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20231 FE_TONEAREST.
20232 * math/feholdexcpt.c (feholdexcept): Return 0.
20233 * math/fesetenv.c (__fesetenv): Return 0.
20234 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20235 argument FE_TONEAREST.
20236 * math/feupdateenv.c (__feupdateenv): Return 0.
20237 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20238
bfcacbde
RM
202392013-06-18 Roland McGrath <roland@hack.frob.com>
20240
20241 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20242 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20243 ($(objpfx)rtld-%.os rules): Use them.
20244
e55a9b25
AZ
202452013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20246
20247 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20248 fields.
20249
346d65b3
RM
202502013-06-17 Roland McGrath <roland@hack.frob.com>
20251
12086fb4
RM
20252 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20253 length of target pattern, then descending length of dependency pattern.
20254 * configure.in (AWK): Require gawk 3.1.2 or newer.
20255 * manual/install.texi (Tools for Compilation): Say that we do.
20256 * configure: Regenerated.
20257
346d65b3
RM
20258 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20259 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20260 * scripts/sysd-rules.awk: ... this new script.
20261 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20262 than a glob-style pattern.
20263
1a846317
JM
202642013-06-17 Joseph Myers <joseph@codesourcery.com>
20265
20266 * math/test-misc.c (main): Do not treat incorrectly rounded
20267 conversions as failure unless ROUNDING_TESTS passes.
20268
8fc75e6f
JM
202692013-06-15 Joseph Myers <joseph@codesourcery.com>
20270
3711a167
JM
20271 [BZ #15631]
20272 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20273 restore exception state around main square root computation, then
20274 check for inexactness explicitly.
20275
8fc75e6f
JM
20276 * math/libm-test.inc (fma_test_data): Add another test.
20277
61dd6208
SP
202782013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20279
adf23d2c
SP
20280 * manual/threads.texi (Non-POSIX Extensions): New document
20281 node. Document pthread_getattr_default_np and
20282 pthread_setattr_default_np.
20283
61dd6208
SP
20284 * Versions.def (libpthread): Add GLIBC_2.18.
20285 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20287 Likewise.
20288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20289 Likewise.
20290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20291 Likewise.
20292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20293 Likewise.
20294 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20295 Likewise.
20296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20297 Likewise.
20298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20299 Likewise.
20300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20301 Likewise.
20302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20303 Likewise.
20304
d086fc7b
LD
203052013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20306
20307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20308 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20309
747ef469
SP
203102013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20311 H.J. Lu <hjl.tools@gmail.com>
20312
20313 [BZ #15627]
20314 * sysdeps/x86_64/rtld-memset.c: Remove file.
20315 * sysdeps/x86_64/rtld-memset.S: New file.
20316
1b2feed2
JM
203172013-06-14 Joseph Myers <joseph@codesourcery.com>
20318
20319 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20320 (test_in_one_mode): Take arguments for whether the rounding mode
20321 is supported for each floating-point type.
20322 (do_test): Pass new arguments to test_in_one_mode using
20323 ROUNDING_TESTS.
20324
a58ad3f8
RM
203252013-06-13 Roland McGrath <roland@hack.frob.com>
20326
20327 * posix/tst-waitid.c (do_test): Distinguish different instances of
20328 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20329 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20330 before entering the kernel for waitpid.
20331
c204ab28
SP
203322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20333
20334 * NEWS: Fix note on clock function precision. Text by Roland
20335 McGrath.
20336
f4a29fba
RM
203372013-06-13 Roland McGrath <roland@hack.frob.com>
20338
20339 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20340 it into place only when and if the sanity check passes.
20341
1f24b9ad
JM
203422013-06-13 Joseph Myers <joseph@codesourcery.com>
20343
20344 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20345 output for whether conversion result is exact. Take argument
20346 indicating whether type is IBM long double.
20347 (round_for_all): Change need_exact field to ibm_ld.
20348 * stdlib/tst-strtod-round.c (struct exactness): New type.
20349 (struct test): Change bool ld_ok field to struct exactness exact.
20350 (TEST): Update all definitions for change to field.
20351 (tests): Regenerate array contents.
20352 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20353 field value. Check for IBM long double here.
20354 (do_test): Update calls to test_in_one_mode.
20355
58206c68
SP
203562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20357
20358 [BZ #12515]
20359 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20360 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20361
2d6f4c5b 203622013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20363
20364 [BZ #15605]
20365 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20366 generated by the compiler on loop optimizations.
20367 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20368 general definitions.
20369
94f2c076
JM
203702013-06-12 Joseph Myers <joseph@codesourcery.com>
20371
20372 * math/bug-nextafter.c: Include <math-tests.h>.
20373 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20374 the relevant type.
20375 * math/bug-nexttoward.c: Include <math-tests.h>.
20376 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20377 the relevant type.
20378 * math/test-misc.c: Include <math-tests.h>.
20379 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20380 the relevant type.
20381
e0e50a0a
AJ
203822013-06-12 Andreas Jaeger <aj@suse.de>
20383
20384 * po/ia.po: Update Interlingua translation from translation
20385 project.
20386
25061094
SP
203872013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20388
20389 * include/fenv.h: Include stdbool.h.
20390 (struct rm_ctx): New structure.
20391 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20392 Define macro.
20393 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20394 (SET_RESTORE_ROUNDF): Likewise.
20395 (SET_RESTORE_ROUNDL): Likewise.
20396 (SET_RESTORE_ROUND_NOEX): Likewise.
20397 (SET_RESTORE_ROUND_NOEXF): Likewise.
20398 (SET_RESTORE_ROUND_NOEXL): Likewise.
20399 (SET_RESTORE_ROUND_53BIT): Likewise.
20400 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20401 (libc_feresetround_noexf_ctx): Likewise.
20402 (libc_feresetround_noexl_ctx): Likewise.
20403 (libc_feholdsetround_53bit_ctx): Likewise.
20404 (libc_feresetround_53bit_ctx): Likewise.
20405 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20406 (libc_feholdexcept_setround_sse_ctx): New function.
20407 (libc_fesetenv_sse_ctx): Likewise.
20408 (libc_feupdateenv_sse_ctx): Likewise.
20409 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20410 (libc_feholdexcept_setround_387_ctx): Likewise.
20411 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20412 (libc_feholdsetround_387_prec_ctx): Likewise.
20413 (libc_feholdsetround_387_ctx): Likewise.
20414 (libc_feholdsetround_387_53bit_ctx): Likewise.
20415 (libc_feholdsetround_sse_ctx): Likewise.
20416 (libc_feresetround_sse_ctx): Likewise.
20417 (libc_feresetround_387_ctx): Likewise.
20418 (libc_feupdateenv_387_ctx): Likewise.
20419 (libc_feholdexcept_setroundf_ctx): Define macro.
20420 (libc_fesetenvf_ctx): Likewise.
20421 (libc_feupdateenvf_ctx): Likewise.
20422 (libc_feholdsetroundf_ctx): Likewise.
20423 (libc_feresetroundf_ctx): Likewise.
20424 (libc_feholdexcept_setround_ctx): Likewise.
20425 (libc_fesetenv_ctx): Likewise.
20426 (libc_feupdateenv_ctx): Likewise.
20427 (libc_feholdsetround_ctx): Likewise.
20428 (libc_feresetround_ctx): Likewise.
20429 (libc_feholdexcept_setroundl_ctx): Likewise.
20430 (libc_feupdateenvl_ctx): Likewise.
20431 (libc_feholdsetroundl_ctx): Likewise.
20432 (libc_feresetroundl_ctx): Likewise.
20433 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20434 (libc_feresetround_53bit_ctx): Likewise.
20435
59b30555
SP
204362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20437
20438 * locale/iso-639.def: Convert to UTF-8.
20439
f1d73d30
JM
204402013-06-11 Joseph Myers <joseph@codesourcery.com>
20441
20442 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20443 (EXCEPTION_TESTS_double): Likewise.
20444 (EXCEPTION_TESTS_long_double): Likewise.
20445 (EXCEPTION_TESTS): Likewise.
20446 * math/libm-test.inc (test_exceptions): Only test exceptions if
20447 EXCEPTION_TESTS (FLOAT).
20448
94aca5e7
SP
204492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20450
20451 * benchtests/Makefile (string-bench): Add strcpy_chk and
20452 stpcpy_chk.
20453 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20454 * benchtests/bench-stpcpy_chk.c: New file.
20455 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20456 * benchtests/bench-strcpy_chk.c: New file.
20457 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20458 code.
20459 (do_test): Likewise.
20460
fac0c5f2
RA
204612013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20462
20463 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20464 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20465 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20466 with tabs where appropriate.
20467 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20468 dl-procinfo.h.
20469 [PPC_PLATFORM_PPC440]: Likewise.
20470 [PPC_PLATFORM_PPC464]: Likewise.
20471 [PPC_PLATFORM_PPC476]: Likewise.
20472 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20473 ppc464, and ppc476 platform strings merging from ports/
20474 dl-procinfo.h.
20475
f22bc486
AS
204762013-06-11 Andreas Schwab <schwab@suse.de>
20477
20478 [BZ #14991]
20479 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20480 (from_ucs4_idx): Regenerate.
20481 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20482 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20483 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20484 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20485 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20486 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20487 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20488 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20489 from FROM_LOOP and TO_LOOP specific macros.
20490 (BODY): Handle combining characters.
20491 * iconvdata/BIG5HKSCS.irreversible: Update.
20492 * iconvdata/BIG5HKSCS.precomposed: New file.
20493 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20494 characters.
20495 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20496
c1f75dc3
SP
204972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20498
4eacded2
SP
20499 * include/sys/time.h: Fix indentation and add copyright header.
20500
fec799f8
SP
20501 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20502 (do_test): Likewise.
20503 * string/test-memchr.c (do_one_test): Likewise.
20504 (do_test): Likewise.
20505 * string/test-memcmp.c (do_one_test): Likewise.
20506 (do_test): Likewise.
20507 * string/test-memcpy.c (do_one_test): Likewise.
20508 (do_test): Likewise.
20509 * string/test-memmem.c (do_one_test): Likewise.
20510 (do_test): Likewise.
20511 (do_random_tests): Likewise.
20512 * string/test-memmove.c (do_one_test): Likewise.
20513 (do_test): Likewise.
20514 * string/test-memset.c (do_one_test): Likewise.
20515 (do_test): Likewise.
20516 * string/test-rawmemchr.c (do_one_test): Likewise.
20517 (do_test): Likewise.
20518 * string/test-strcasecmp.c (do_one_test): Likewise.
20519 (do_test): Likewise.
20520 * string/test-strcasestr.c (do_one_test): Likewise.
20521 (do_test): Likewise.
20522 * string/test-strcat.c (do_one_test): Likewise.
20523 (do_test): Likewise.
20524 * string/test-strchr.c (do_one_test): Likewise.
20525 (do_test): Likewise.
20526 * string/test-strcmp.c (do_one_test): Likewise.
20527 (do_test): Likewise.
20528 * string/test-strcpy.c (do_one_test): Likewise.
20529 (do_test): Likewise.
20530 * string/test-string.h: Likewise.
20531 (test_init): Likewise.
20532 * string/test-strlen.c (do_one_test): Likewise.
20533 (do_test): Likewise.
20534 * string/test-strncasecmp.c (do_one_test): Likewise.
20535 (do_test): Likewise.
20536 * string/test-strncat.c (do_one_test): Likewise.
20537 (do_test): Likewise.
20538 * string/test-strncmp.c (do_one_test): Likewise.
20539 (do_test_limit): Likewise.
20540 (do_test): Likewise.
20541 * string/test-strncpy.c (do_one_test): Likewise.
20542 (do_test): Likewise.
20543 * string/test-strnlen.c (do_one_test): Likewise.
20544 (do_test): Likewise.
20545 * string/test-strpbrk.c (do_one_test): Likewise.
20546 (do_test): Likewise.
20547 * string/test-strrchr.c (do_one_test): Likewise.
20548 (do_test): Likewise.
20549 * string/test-strspn.c (do_one_test): Likewise.
20550 (do_test): Likewise.
20551 * string/test-strstr.c (do_one_test): Likewise.
20552 (do_test): Likewise.
20553
97020474
SP
20554 * benchtests/Makefile (string-bench): Add string benchmarks.
20555 * benchtests/bench-bcopy-ifunc.c: New file.
20556 * benchtests/bench-bcopy.c: New file.
20557 * benchtests/bench-bzero-ifunc.c: New file.
20558 * benchtests/bench-bzero.c: New file.
20559 * benchtests/bench-memccpy-ifunc.c: New file.
20560 * benchtests/bench-memccpy.c: New file.
20561 * benchtests/bench-memchr-ifunc.c: New file.
20562 * benchtests/bench-memchr.c: New file.
20563 * benchtests/bench-memcmp-ifunc.c: New file.
20564 * benchtests/bench-memcmp.c: New file.
20565 * benchtests/bench-memmem-ifunc.c: New file.
20566 * benchtests/bench-memmem.c: New file.
20567 * benchtests/bench-memmove-ifunc.c: New file.
20568 * benchtests/bench-memmove.c: New file.
20569 * benchtests/bench-mempcpy-ifunc.c: New file.
20570 * benchtests/bench-mempcpy.c: New file.
20571 * benchtests/bench-memset-ifunc.c: New file.
20572 * benchtests/bench-memset.c: New file.
20573 * benchtests/bench-rawmemchr-ifunc.c: New file.
20574 * benchtests/bench-rawmemchr.c: New file.
20575 * benchtests/bench-stpcpy-ifunc.c: New file.
20576 * benchtests/bench-stpcpy.c: New file.
20577 * benchtests/bench-stpncpy-ifunc.c: New file.
20578 * benchtests/bench-stpncpy.c: New file.
20579 * benchtests/bench-strcasecmp-ifunc.c: New file.
20580 * benchtests/bench-strcasecmp.c: New file.
20581 * benchtests/bench-strcasestr-ifunc.c: New file.
20582 * benchtests/bench-strcasestr.c: New file.
20583 * benchtests/bench-strcat-ifunc.c: New file.
20584 * benchtests/bench-strcat.c: New file.
20585 * benchtests/bench-strchr-ifunc.c: New file.
20586 * benchtests/bench-strchr.c: New file.
20587 * benchtests/bench-strchrnul-ifunc.c: New file.
20588 * benchtests/bench-strchrnul.c: New file.
20589 * benchtests/bench-strcmp-ifunc.c: New file.
20590 * benchtests/bench-strcmp.c: New file.
20591 * benchtests/bench-strcpy-ifunc.c: New file.
20592 * benchtests/bench-strcpy.c: New file.
20593 * benchtests/bench-strcspn-ifunc.c: New file.
20594 * benchtests/bench-strcspn.c: New file.
20595 * benchtests/bench-strlen-ifunc.c: New file.
20596 * benchtests/bench-strlen.c: New file.
20597 * benchtests/bench-strncasecmp-ifunc.c: New file.
20598 * benchtests/bench-strncasecmp.c: New file.
20599 * benchtests/bench-strncat-ifunc.c: New file.
20600 * benchtests/bench-strncat.c: New file.
20601 * benchtests/bench-strncmp-ifunc.c: New file.
20602 * benchtests/bench-strncmp.c: New file.
20603 * benchtests/bench-strncpy-ifunc.c: New file.
20604 * benchtests/bench-strncpy.c: New file.
20605 * benchtests/bench-strnlen-ifunc.c: New file.
20606 * benchtests/bench-strnlen.c: New file.
20607 * benchtests/bench-strpbrk-ifunc.c: New file.
20608 * benchtests/bench-strpbrk.c: New file.
20609 * benchtests/bench-strrchr-ifunc.c: New file.
20610 * benchtests/bench-strrchr.c: New file.
20611 * benchtests/bench-strspn-ifunc.c: New file.
20612 * benchtests/bench-strspn.c: New file.
20613 * benchtests/bench-strstr-ifunc.c: New file.
20614 * benchtests/bench-strstr.c: New file.
20615
c1f75dc3
SP
20616 * benchtests/Makefile: Disable parallel execution of targets.
20617 (string-bench): Add memcpy.
20618 (benchset): New variable to store a list of benchmark sets.
20619 (bench-func): Renamed from bench.
20620 (bench-set): New target.
20621 (bench): Depend on bench-func and bench-set.
20622 * benchtests/README: Add section on benchmark sets.
20623 * benchtests/bench-memcpy-ifunc.c: New file.
20624 * benchtests/bench-memcpy.c: New file.
20625 * benchtests/bench-string.h: New file.
20626
50fd745b
AS
206272013-06-11 Andreas Schwab <schwab@suse.de>
20628
20629 [BZ #15577]
20630 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20631 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20632 values in the triple.
20633 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20634 terminator in the group key.
20635
3ee7e9fe
AJ
206362013-06-11 Andreas Jaeger <aj@suse.de>
20637
20638 * po/zh_TW.po: Update Chinese (traditional) translation from
20639 translation project.
20640
89fb6835
SP
206412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20642
20643 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20644 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20645 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20647 (clock_getcpuclockid): Likewise.
20648 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20649 Add weak_alias and libc_hidden_def.
20650 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20651 * rt/clock_gettime.c (clock_gettime): Rename to
20652 __clock_gettime. Add weak_alias and libc_hidden_def.
20653 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20654 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20655 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20656 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20657 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20658 Likewise.
20659 * rt/clock_settime.c (clock_settime): Rename to
20660 __clock_settime. Add weak_alias and libc_hidden_def.
20661 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20662
0efa6f8b
JM
206632013-06-10 Joseph Myers <joseph@codesourcery.com>
20664
b8c61b4b
JM
20665 * mach/err_boot.sub: Remove trailing whitespace.
20666 * mach/err_ipc.sub: Likewise.
20667 * mach/err_mach.sub: Likewise.
20668
0efa6f8b
JM
20669 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20670 (ROUNDING_TESTS_double): Likewise.
20671 (ROUNDING_TESTS_long_double): Likewise.
20672 (ROUNDING_TESTS): Likewise.
20673 * math/libm-test.inc: Include <math-tests.h>.
20674 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20675 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20676 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20677 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20678
50b818bf
SP
206792013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20680
20681 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20682 of assigning.
20683
60d2f8f3
JM
206842013-06-08 Joseph Myers <joseph@codesourcery.com>
20685
4902d2c3
JM
20686 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20687 otherwise empty TRANS lines.
20688 * sysdeps/gnu/errlist.c: Regenerated.
20689
60d2f8f3
JM
20690 * catgets/gencat.c (error_print): Use (void) in function
20691 definition.
20692 * crypt/crypt_util.c (__init_des): Likewise.
20693 * crypt/speeds.c (Stop): Likewise.
20694 (main): Likewise.
20695 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20696 * inet/ruserpass.c (token): Likewise.
20697 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20698 * intl/localealias.c (extend_alias_table): Likewise.
20699 * intl/plural-exp.c (init_germanic_plural): Likewise.
20700 * libio/fcloseall.c (__fcloseall): Likewise.
20701 * libio/genops.c (_IO_flush_all): Likewise.
20702 (_IO_flush_all_linebuffered): Likewise.
20703 (_IO_cleanup): Likewise.
20704 (_IO_iter_begin): Likewise.
20705 (_IO_iter_end): Likewise.
20706 (_IO_list_lock): Likewise.
20707 (_IO_list_unlock): Likewise.
20708 (_IO_list_resetlock): Likewise.
20709 * libio/getchar.c (getchar): Likewise.
20710 * libio/getchar_u.c (getchar_unlocked): Likewise.
20711 * libio/getwchar.c (getwchar): Likewise.
20712 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20713 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20714 * login/getpt.c (__getpt): Likewise.
20715 * login/tst-utmp.c (main): Likewise.
20716 * malloc/hooks.c (__malloc_check_init): Likewise.
20717 * malloc/malloc.c (__malloc_stats): Likewise.
20718 * malloc/mtrace.c (tr_break): Likewise.
20719 (mtrace): Likewise.
20720 (muntrace): Likewise.
20721 * misc/fstab.c (endfsent): Likewise.
20722 * misc/getclktck.c (__getclktck): Likewise.
20723 * misc/getdtsz.c (__getdtablesize): Likewise.
20724 * misc/gethostid.c (gethostid): Likewise.
20725 * misc/getpagesize.c (__getpagesize): Likewise.
20726 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20727 (__get_nprocs): Likewise.
20728 (__get_phys_pages): Likewise.
20729 (__get_avphys_pages): Likewise.
20730 * misc/getttyent.c (getttyent): Likewise.
20731 (setttyent): Likewise.
20732 (endttyent): Likewise.
20733 * misc/getusershell.c (getusershell): Likewise.
20734 (endusershell): Likewise.
20735 (setusershell): Likewise.
20736 (initshells): Likewise.
20737 * misc/hsearch.c (__hdestroy): Likewise.
20738 * misc/sync.c (sync): Likewise.
20739 * misc/syslog.c (closelog_internal): Likewise.
20740 (closelog): Likewise.
20741 * misc/ttyslot.c (ttyslot): Likewise.
20742 * misc/vhangup.c (vhangup): Likewise.
20743 * posix/fork.c (__fork): Likewise.
20744 * posix/getegid.c (__getegid): Likewise.
20745 * posix/geteuid.c (__geteuid): Likewise.
20746 * posix/getgid.c (__getgid): Likewise.
20747 * posix/getpid.c (__getpid): Likewise.
20748 * posix/getppid.c (__getppid): Likewise.
20749 * posix/getuid.c (__getuid): Likewise.
20750 * posix/pause.c (pause): Likewise.
20751 * posix/setpgrp.c (setpgrp): Likewise.
20752 * posix/setsid.c (__setsid): Likewise.
20753 * posix/test-vfork.c (noop): Likewise.
20754 * resolv/gethnamaddr.c (_endhtent): Likewise.
20755 (_gethtent): Likewise.
20756 (ht_endhostent): Likewise.
20757 (gethostent): Likewise.
20758 (dns_service): Likewise.
20759 * stdlib/drand48.c (drand48): Likewise.
20760 * stdlib/lrand48.c (lrand48): Likewise.
20761 * stdlib/mrand48.c (mrand48): Likewise.
20762 * stdlib/rand.c (rand): Likewise.
20763 * stdlib/random.c (__random): Likewise.
20764 * stdlib/setenv.c (clearenv): Likewise.
20765 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20766 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20767 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20768 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20769 (__get_nprocs): Likewise.
20770 (__get_phys_pages): Likewise.
20771 (__get_avphys_pages): Likewise.
20772 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20773 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20774 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20775 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20776 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20777 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20778 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20779 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20780 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20781 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20782 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20783 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20784 * sysdeps/posix/clock.c (clock): Likewise.
20785 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20786 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20787 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20788 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20789 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20791 (__get_nprocs_conf): Likewise.
20792 (__get_phys_pages): Likewise.
20793 (__get_avphys_pages): Likewise.
20794 * time/clock.c (clock): Likewise.
20795 * time/tzset.c (__tzname_max): Likewise.
20796
2e09a79a
JM
207972013-06-07 Joseph Myers <joseph@codesourcery.com>
20798
20799 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20800 (__bswap_32): Do not use "register".
20801 * crypt/crypt.c (_ufc_doit_r): Likewise.
20802 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20803 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20804 * gmon/gmon.c (__monstartup): Likewise.
20805 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20806 * hurd/hurdmalloc.c (more_memory): Likewise.
20807 (malloc): Likewise.
20808 (free): Likewise.
20809 (realloc): Likewise.
20810 (malloc_fork_prepare): Likewise.
20811 (malloc_fork_parent): Likewise.
20812 (malloc_fork_child): Likewise.
20813 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20814 (_svcauth_des): Likewise.
20815 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20816 * inet/inet_net.c (inet_network): Likewise.
20817 * inet/inet_netof.c (inet_netof): Likewise.
20818 * inet/rcmd.c (__validuser2_sa): Likewise.
20819 * io/fts.c (fts_open): Likewise.
20820 (fts_load): Likewise.
20821 (fts_close): Likewise.
20822 (fts_read): Likewise.
20823 (fts_children): Likewise.
20824 (fts_build): Likewise.
20825 (fts_stat): Likewise.
20826 (fts_sort): Likewise.
20827 (fts_alloc): Likewise.
20828 (fts_lfree): Likewise.
20829 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20830 (_IO_file_xsgetn): Likewise.
20831 (_IO_file_xsgetn_mmap): Likewise.
20832 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20833 (_IO_cookie_write): Likewise.
20834 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20835 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20836 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20837 * malloc/obstack.c (_obstack_begin): Likewise.
20838 (_obstack_begin_1): Likewise.
20839 (_obstack_newchunk): Likewise.
20840 (_obstack_allocated_p): Likewise.
20841 (obstack_free): Likewise.
20842 (_obstack_memory_used): Likewise.
20843 * misc/getttyent.c (getttynam): Likewise.
20844 (getttyent): Likewise.
20845 (skip): Likewise.
20846 (value): Likewise.
20847 * misc/getusershell.c (initshells): Likewise.
20848 * misc/syslog.c (__vsyslog_chk): Likewise.
20849 * misc/ttyslot.c (ttyslot): Likewise.
20850 * nis/nis_hash.c (__nis_hash): Likewise.
20851 * posix/fnmatch_loop.c (FCT): Likewise.
20852 * posix/getconf.c (print_all): Likewise.
20853 (main): Likewise.
20854 * posix/getopt.c (exchange): Likewise.
20855 * posix/glob.c (globfree): Likewise.
20856 (prefix_array): Likewise.
20857 (__glob_pattern_type): Likewise.
20858 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20859 (NS_GET32): Likewise.
20860 (NS_PUT16): Likewise.
20861 (NS_PUT32): Likewise.
20862 * resolv/gethnamaddr.c (getanswer): Likewise.
20863 (gethostbyname2): Likewise.
20864 (gethostbyaddr): Likewise.
20865 (_gethtent): Likewise.
20866 (_gethtbyname2): Likewise.
20867 (_gethtbyaddr): Likewise.
20868 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20869 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20870 * resolv/res_init.c (__res_vinit): Likewise.
20871 (net_mask): Likewise.
20872 * resolv/res_mkquery.c (outchar): Likewise.
20873 (PRINT): Likewise.
20874 * stdio-common/printf_fp.c (outchar): Likewise.
20875 (PRINT): Likewise.
20876 * stdio-common/printf_fphex.c (outchar): Likewise.
20877 (PRINT): Likewise.
20878 * stdio-common/printf_size.c (outchar): Likewise.
20879 (PRINT): Likewise.
20880 * stdio-common/test_rdwr.c (main): Likewise.
20881 * stdio-common/tfformat.c (matches): Likewise.
20882 * stdio-common/vfprintf.c (outchar): Likewise.
20883 (printf_unknown): Likewise.
20884 (buffered_vfprintf): Likewise.
20885 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20886 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20887 (ReadFile): Likewise.
20888 * stdlib/qsort.c (SWAP): Likewise.
20889 (_quicksort): Likewise.
20890 * stdlib/setenv.c (__add_to_environ): Likewise.
20891 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20892 * stdlib/strtol_l.c (__strtol_l): Likewise.
20893 * stdlib/tst-strtod.c (main): Likewise.
20894 * stdlib/tst-strtol.c (main): Likewise.
20895 * stdlib/tst-strtoll.c (main): Likewise.
20896 * string/bits/string2.h (__strcmp_cc): Likewise.
20897 (__strcmp_cg): Likewise.
20898 (__strcspn_c1): Likewise.
20899 (__strcspn_c2): Likewise.
20900 (__strcspn_c3): Likewise.
20901 (__strspn_c1): Likewise.
20902 (__strspn_c2): Likewise.
20903 (__strspn_c3): Likewise.
20904 (__strsep_1c): Likewise.
20905 (__strsep_2c): Likewise.
20906 (__strsep_3c): Likewise.
20907 * string/memccpy.c (__memccpy): Likewise.
20908 * string/stpcpy.c (__stpcpy): Likewise.
20909 * string/strcmp.c (strcmp): Likewise.
20910 * string/strrchr.c (strrchr): Likewise.
20911 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20912 Likewise.
20913 * sysdeps/mach/hurd/getcwd.c
20914 (_hurd_canonicalize_directory_name_internal): Likewise.
20915 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20916 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20917 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20918 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20919 Likewise, in both definitions.
20920 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20921 definitions.
20922 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20923 64] (__bswap_64): Likewise.
20924 * time/test_time.c (main): Likewise.
20925 * time/tzfile.c (__tzfile_read): Likewise.
20926 (__tzfile_compute): Likewise.
20927 * time/tzset.c (__tzset_parse_tz): Likewise.
20928 (tzset_internal): Likewise.
20929 (compute_change): Likewise.
20930 * wcsmbs/wcscat.c (__wcscat): Likewise.
20931 * wcsmbs/wcschr.c (wcschr): Likewise.
20932 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20933 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20934 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20935 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20936 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20937 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20938 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20939 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20940 * wcsmbs/wmemset.c (wmemset): Likewise.
20941
9e54314b
JM
209422013-06-06 Joseph Myers <joseph@codesourcery.com>
20943
20944 * scripts/config.guess: Update to version 2013-05-16.
20945 * scripts/config.sub: Update to version 2013-04-24.
20946 * scripts/install-sh: Update to version 2011-11-20.07.
20947 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20948 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20949
350635a5
OB
209502013-06-06 Ondřej Bílka <neleai@seznam.cz>
20951
20952 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20953 * elf/sln.c: Likewise.
20954 * hurd/hurd/ioctl.h: Likewise.
20955 * hurd/hurdmalloc.c: Likewise.
20956 * hurd/xattr.c: Likewise.
20957 * include/shlib-compat.h: Likewise.
20958 * inet/ruserpass.c: Likewise.
20959 * libio/iofgets_u.c: Likewise.
20960 * libio/iofgetws_u.c: Likewise.
20961 * locale/programs/ld-identification.c: Likewise.
20962 * locale/programs/ld-time.c: Likewise.
20963 * mach/msg-destroy.c: Likewise.
20964 * nss/nss_files/files-netgrp.c: Likewise.
20965 * resolv/res_data.c: Likewise.
20966 * soft-fp/op-1.h: Likewise.
20967 * soft-fp/op-2.h: Likewise.
20968 * soft-fp/op-4.h: Likewise.
20969 * soft-fp/op-common.h: Likewise.
20970 * stdio-common/printf_fphex.c: Likewise.
20971 * stdlib/strtod_l.c: Likewise.
20972 * sunrpc/rpc/clnt.h: Likewise.
20973 * sysdeps/generic/framestate.c: Likewise.
20974 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20975 * sysdeps/i386/bsd-setjmp.S: Likewise.
20976 * sysdeps/i386/__longjmp.S: Likewise.
20977 * sysdeps/i386/setjmp.S: Likewise.
20978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20979 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20980 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20996 * sysdeps/ieee754/support.c: Likewise.
20997 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20998 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20999 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21000 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21001 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21002 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21003 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21004 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21005 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21006 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21007 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21008 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21009 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21010 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21011 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21012 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21013 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21015
44a988af
OB
210162013-06-05 Ondřej Bílka <neleai@seznam.cz>
21017
25506f09 21018 * posix/transbug.c: Remove executable mode.
44a988af 21019
9c84384c
JM
210202013-06-05 Joseph Myers <joseph@codesourcery.com>
21021
21022 * crypt/speeds.c: Remove trailing whitespace.
21023 * dlfcn/default.c: Likewise.
21024 * elf/ifuncdep2.c: Likewise.
21025 * elf/ifuncmain1.c: Likewise.
21026 * elf/ifuncmain1vis.c: Likewise.
21027 * elf/testobj.h: Likewise.
21028 * elf/tst-stackguard1.c: Likewise.
21029 * gmon/sys/gmon.h: Likewise.
21030 * hurd/hurdmsg.c: Likewise.
21031 * hurd/new-fd.c: Likewise.
21032 * hurd/ports-get.c: Likewise.
21033 * iconvdata/ibm1008_420.c: Likewise.
21034 * inet/tst-getni1.c: Likewise.
21035 * inet/tst-getni2.c: Likewise.
21036 * libio/ioungetc.c: Likewise.
21037 * libio/wfiledoalloc.c: Likewise.
21038 * manual/libm-err-tab.pl: Likewise.
21039 * math/w_dremf.c: Likewise.
21040 * misc/ftruncate.c: Likewise.
21041 * posix/bug-glob2.c: Likewise.
21042 * posix/tst-pcre.c: Likewise.
21043 * posix/wait4.c: Likewise.
21044 * resolv/README: Likewise.
21045 * resolv/res_debug.h: Likewise.
21046 * resolv/tst-inet_ntop.c: Likewise.
21047 * setjmp/bug269-setjmp.c: Likewise.
21048 * soft-fp/extended.h: Likewise.
21049 * soft-fp/op-1.h: Likewise.
21050 * soft-fp/op-2.h: Likewise.
21051 * soft-fp/op-4.h: Likewise.
21052 * soft-fp/op-8.h: Likewise.
21053 * soft-fp/testit.c: Likewise.
21054 * stdio-common/bug16.c: Likewise.
21055 * stdlib/random.c: Likewise.
21056 * sunrpc/rpcsvc/rquota.x: Likewise.
21057 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21058 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21059 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21060 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21061 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21062 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21064 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21065 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21066 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21067 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21068 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21069 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21073 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21075 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21086 * sysdeps/ieee754/s_lib_version.c: Likewise.
21087 * sysdeps/mach/hurd/check_fds.c: Likewise.
21088 * sysdeps/mach/hurd/getsockname.c: Likewise.
21089 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21090 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21091 * sysdeps/powerpc/bits/link.h: Likewise.
21092 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21093 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21094 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21095 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21096 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21097 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21098 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21099 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21100 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21101 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21102 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21103 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21104 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21105 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21106 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21107 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21108 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21109 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21111 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21112 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21113 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21114 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21115 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21116 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21117 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21118 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21119 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21120 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21121 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21122 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21123 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21124 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21125 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21126 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21127 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21128 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21129 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21130 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21131 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21132 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21133 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21134 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21135 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21136 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21137 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21138 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21139 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21140 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21141 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21144 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21145 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21146 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21147 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21148 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21149 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21151 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21152 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21153 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21154 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21155 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21156 * sysdeps/powerpc/sysdep.h: Likewise.
21157 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21158 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21159 * sysdeps/sh/dl-trampoline.S: Likewise.
21160 * sysdeps/sh/memset.S: Likewise.
21161 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21162 * sysdeps/sh/strlen.S: Likewise.
21163 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21164 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21165 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21166 * sysdeps/sparc/sparc32/rem.S: Likewise.
21167 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21168 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21169 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21170 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21171 * sysdeps/sparc/sparc32/urem.S: Likewise.
21172 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21173 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21174 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21175 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21177 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21178 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21179 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21180 * sysdeps/unix/bsd/times.c: Likewise.
21181 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21182 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21186 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21187 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21188 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21189 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21190 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21191 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21193 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21194 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21195 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21196 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21197 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21198 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21199 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21200 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21201 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21202 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21203 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21204 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21205 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21206 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21207 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21208 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21209 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21210 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21211 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21212 * sysdeps/x86_64/strcspn.S: Likewise.
21213
869378a5
RA
212142013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21215
21216 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21217 generated file. Regenerate properly from gen-translit.pl.
21218 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21219 locale/C-translit.h.
21220
840e2943
AS
212212013-06-05 Andreas Schwab <schwab@suse.de>
21222
21223 [BZ #15100]
21224 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21225 week as 6 instead of -1.
21226 * time/tst-strptime.c (day_tests): Add test case.
21227
4c60cb0c
SP
212282013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21229
21230 * sysdeps/generic/math_private.h
21231 (libc_feholdexcept_setround_53bit): Replace with
21232 libc_feholdsetround_53bit.
21233 (libc_feupdateenv_53bit): Replace with
21234 libc_feresetround_53bit.
21235 (SET_RESTORE_ROUND_53BIT): Adjust.
21236
d180203e
SP
212372013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21238
96df079a
SP
21239 * string/test-strchrnul.c: Add copyright header.
21240
d180203e
SP
21241 * posix/tst-getaddrinfo4.c: Increase test timeout.
21242
8b0ccb2d
CD
212432013-06-03 Carlos O'Donell <carlos@redhat.com>
21244
21245 [BZ #15536]
21246 * math/libm-test.inc (MAX_EXP): Remove
21247 (MIN_EXP): Define.
21248 (ulp): Use MIN_EXP - MANT_DIG.
21249 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21250
3b3c4d40
CD
212512013-05-31 Carlos O'Donell <carlos@redhat.com>
21252
21253 * po/be.po: Revert last change.
21254 * po/zh_CN.po: Likewise.
21255 * po/header.pot: Likewise.
21256
fab7ce3f
JM
212572013-05-31 Joseph Myers <joseph@codesourcery.com>
21258
21259 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21260 link-libc-deps to empty as target-specific variable.
21261 * Makerules (link-libc-args): New variable.
21262 (libc-for-link): Likewise.
21263 (link-libc-deps): Likewise.
21264 (lib%.so): Depend on $(link-libc-deps). Link with
21265 $(link-libc-args).
21266 (build-module): Link with $(link-libc-args).
21267 (build-module-asneeded): Likewise.
21268 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21269 list of objects.
21270 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21271 target-specific variable.
21272 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21273 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21274 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21275 libc.
21276 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21277 libc and ld.so.
21278 ($(objpfx)libpcprofile.so): Likewise.
21279 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21280 libc_nonshared.a.
21281 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21282 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21283 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21284 $(link-libc-deps).
21285 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21286 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21287 * login/Makefile ($(objpfx)libutil.so): Likewise.
21288 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21289 * math/Makefile ($(objpfx)libm.so): Likewise.
21290 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21291 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21292 variable instead of depending directly on libc.
21293 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21294 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21295 $(link-libc-deps).
21296 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21297 libc.
21298 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21299 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21300 ($(objpfx)libanl.so): Likewise.
21301 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21302 ld.so.
21303 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21304 $(link-libc-deps).
21305 * sysdeps/i386/fpu/Makefile: Remove file.
21306 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21307 ($(objpfx)libm.so): Remove dependency on ld.so.
21308
eca5920c
PF
213092013-05-30 Patsy Franklin <pfrankli@redhat.com>
21310
21311 [BZ # 15553]
21312 * nis/yp_xdr.c (XDRMAXNAME): Define.
21313 (XDRMAXRECORD): Define.
21314 (xdr_domainname): Use XDRMAXNAME.
21315 (xdr_mapname): Likewise.
21316 (xdr_peername): Likewise.
21317 (xdr_keydat): Use XDRMAXRECORD.
21318 (xdr_valdat): Likewise.
21319
213202013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21321
21322 [BZ #14256]
21323 * manual/errno.texi (ESTALE): Update to account for more than
21324 just NFS file systems.
21325 * sysdeps/gnu/errlist.c: Regenerated.
21326
b9375348
SP
213272013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21328
21329 [BZ #15465]
21330 * elf/Makefile (tests): Add tst-null-argv.
21331 (modules-names): Add tst-null-argv-lib.
21332 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21333 (tst-null-argv-ENV): Set environment for tst-null-argv.
21334 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21335 (RTLD_PROGNAME): New macro.
21336 * elf/tst-null-argv.c: New test case.
21337 * elf/tst-null-argv-lib.c: Library for test case.
21338 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21339 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21340 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21341 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21342 * elf/dl-init.c (call_init): Likewise.
21343 (_dl_init): Likewise.
21344 * elf/dl-load.c (print_search_path): Likewise.
21345 (_dl_map_object): Likewise.
21346 * elf/dl-lookup.c (do_lookup_x): Likewise.
21347 (add_dependency): Likewise.
21348 (_dl_lookup_symbol_x): Likewise.
21349 (_dl_debug_bindings): Likewise.
21350 * elf/dl-open.c (_dl_show_scope): Likewise.
21351 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21352 * elf/dl-version.c (match_symbol): Likewise.
21353 (_dl_check_map_versions): Likewise.
21354 * elf/rtld.c (dl_main): Likewise.
21355 (print_unresolved): Use RTLD_PROGNAME.
21356 (print_missing_version): Likewise.
21357 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21358 (elf_machine_rela): Likewise.
21359 * sysdeps/powerpc/powerpc32/dl-machine.c
21360 (__process_machine_rela): Likewise.
21361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21362 Likewise.
21363 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21364 Likewise.
21365 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21366 Likewise.
21367 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21368 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21369 Likewise.
21370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21371 Likewise.
21372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21373
8a9f20c8
CD
213742013-05-28 Carlos O'Donell <carlos@redhat.com>
21375
21376 * po/be.po: Add descriptive title.
21377 * po/zh_CN.po: Likewise.
21378 * po/header.pot: Likewise.
21379
0e60d68e
MF
213802013-05-28 Mike Frysinger <vapier@gentoo.org>
21381
21382 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21383 error message.
21384 (enlarge_archive): Likewise.
21385
56b672e9
BN
213862013-05-28 Ben North <ben@redfrontdoor.org>
21387
21388 * manual/arith.texi (frexp): It is the magnitude of the return
21389 value which lies in [0.5, 1), not the return value itself.
21390
5e056687
AZ
213912013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21392
21393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21394
2b66ef5d
TS
213952013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21396
528c2405
TS
21397 * stdio-common/bug26.c (main): Correct fscanf template.
21398
07b4c13d
TS
21399 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21400 declare _dl_skip_args.
21401
ec9dd97c
TS
21402 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21403 Don't declare.
21404
2b66ef5d
TS
21405 * manual/platform.texi: Add missing @end deftypefun.
21406
4f8dfe27
JM
214072013-05-24 Joseph Myers <joseph@codesourcery.com>
21408
0323d086
JM
21409 [BZ #15529]
21410 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21411 bit of mantissa of 2^16382.
21412 * math/libm-test.inc (hypot_test_data): Add more tests.
21413
dd4259b9
JM
21414 * math/libm-test.inc: Add drem and pow10 to list of tested
21415 functions.
21416 (pow10_test): New function.
21417 (drem_test): Likewise.
21418 (drem_test_tonearest): Likewise.
21419 (drem_test_towardzero): Likewise.
21420 (drem_test_downward): Likewise.
21421 (drem_test_upward): Likewise.
21422 (main): Call the new functions.
21423
4f8dfe27
JM
21424 * math/libm-test.inc (finite_test_data): Remove.
21425 (finite_test): Run tests from isfinite_test_data.
21426 (gamma_test_data): Remove.
21427 (gamma_test): Run tests from lgamma_test_data.
21428 * sysdeps/i386/fpu/libm-test-ulps: Update.
21429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21430
d116b7c4
AZ
214312013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21432
21433 * manual/platform.texi: Add PowerPC PPR function set documentation.
21434 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21435 implementation.
21436
e96e3767
CD
214372013-05-24 Carlos O'Donell <carlos@redhat.com>
21438
21439 * math/libm-test.inc (MAX_EXP): Define.
21440 (ULPDIFF): Define.
21441 (ulp): New function.
21442 (check_float_internal): Use ULPDIFF.
21443 (cpow_test): Disable failing test.
21444 (check_ulp): Test ulp() implemetnation.
21445 (main): Call check_ulp before starting tests.
21446
b679a606
JM
214472013-05-24 Joseph Myers <joseph@codesourcery.com>
21448
e8bdba36
JM
21449 * math/gen-libm-test.pl (generate_testfile): Do not handle
21450 START_DATA and END_DATA.
21451 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21452 END_DATA.
21453 (acos_tonearest_test_data): Likewise.
21454 (acos_towardzero_test_data): Likewise.
21455 (acos_downward_test_data): Likewise.
21456 (acos_upward_test_data): Likewise.
21457 (acosh_test_data): Likewise.
21458 (asin_test_data): Likewise.
21459 (asin_tonearest_test_data): Likewise.
21460 (asin_towardzero_test_data): Likewise.
21461 (asin_downward_test_data): Likewise.
21462 (asin_upward_test_data): Likewise.
21463 (asinh_test_data): Likewise.
21464 (atan_test_data): Likewise.
21465 (atanh_test_data): Likewise.
21466 (atan2_test_data): Likewise.
21467 (cabs_test_data): Likewise.
21468 (cacos_test_data): Likewise.
21469 (cacosh_test_data): Likewise.
21470 (carg_test_data): Likewise.
21471 (casin_test_data): Likewise.
21472 (casinh_test_data): Likewise.
21473 (catan_test_data): Likewise.
21474 (catanh_test_data): Likewise.
21475 (cbrt_test_data): Likewise.
21476 (ccos_test_data): Likewise.
21477 (ccosh_test_data): Likewise.
21478 (ceil_test_data): Likewise.
21479 (cexp_test_data): Likewise.
21480 (cimag_test_data): Likewise.
21481 (clog_test_data): Likewise.
21482 (clog10_test_data): Likewise.
21483 (conj_test_data): Likewise.
21484 (copysign_test_data): Likewise.
21485 (cos_test_data): Likewise.
21486 (cos_tonearest_test_data): Likewise.
21487 (cos_towardzero_test_data): Likewise.
21488 (cos_downward_test_data): Likewise.
21489 (cos_upward_test_data): Likewise.
21490 (cosh_test_data): Likewise.
21491 (cosh_tonearest_test_data): Likewise.
21492 (cosh_towardzero_test_data): Likewise.
21493 (cosh_downward_test_data): Likewise.
21494 (cosh_upward_test_data): Likewise.
21495 (cpow_test_data): Likewise.
21496 (cproj_test_data): Likewise.
21497 (creal_test_data): Likewise.
21498 (csin_test_data): Likewise.
21499 (csinh_test_data): Likewise.
21500 (csqrt_test_data): Likewise.
21501 (ctan_test_data): Likewise.
21502 (ctan_tonearest_test_data): Likewise.
21503 (ctan_towardzero_test_data): Likewise.
21504 (ctan_downward_test_data): Likewise.
21505 (ctan_upward_test_data): Likewise.
21506 (ctanh_test_data): Likewise.
21507 (ctanh_tonearest_test_data): Likewise.
21508 (ctanh_towardzero_test_data): Likewise.
21509 (ctanh_downward_test_data): Likewise.
21510 (ctanh_upward_test_data): Likewise.
21511 (erf_test_data): Likewise.
21512 (erfc_test_data): Likewise.
21513 (exp_test_data): Likewise.
21514 (exp_tonearest_test_data): Likewise.
21515 (exp_towardzero_test_data): Likewise.
21516 (exp_downward_test_data): Likewise.
21517 (exp_upward_test_data): Likewise.
21518 (exp10_test_data): Likewise.
21519 (exp2_test_data): Likewise.
21520 (expm1_test_data): Likewise.
21521 (fabs_test_data): Likewise.
21522 (fdim_test_data): Likewise.
21523 (finite_test_data): Likewise.
21524 (floor_test_data): Likewise.
21525 (fma_test_data): Likewise.
21526 (fma_towardzero_test_data): Likewise.
21527 (fma_downward_test_data): Likewise.
21528 (fma_upward_test_data): Likewise.
21529 (fmax_test_data): Likewise.
21530 (fmin_test_data): Likewise.
21531 (fmod_test_data): Likewise.
21532 (fpclassify_test_data): Likewise.
21533 (frexp_test_data): Likewise.
21534 (gamma_test_data): Likewise.
21535 (hypot_test_data): Likewise.
21536 (ilogb_test_data): Likewise.
21537 (isfinite_test_data): Likewise.
21538 (isgreater_test_data): Likewise.
21539 (isgreaterequal_test_data): Likewise.
21540 (isinf_test_data): Likewise.
21541 (isless_test_data): Likewise.
21542 (islessequal_test_data): Likewise.
21543 (islessgreater_test_data): Likewise.
21544 (isnan_test_data): Likewise.
21545 (isnormal_test_data): Likewise.
21546 (issignaling_test_data): Likewise.
21547 (isunordered_test_data): Likewise.
21548 (j0_test_data): Likewise.
21549 (j1_test_data): Likewise.
21550 (jn_test_data): Likewise.
21551 (ldexp_test_data): Likewise.
21552 (lgamma_test_data): Likewise.
21553 (lrint_test_data): Likewise.
21554 (lrint_tonearest_test_data): Likewise.
21555 (lrint_towardzero_test_data): Likewise.
21556 (lrint_downward_test_data): Likewise.
21557 (lrint_upward_test_data): Likewise.
21558 (llrint_test_data): Likewise.
21559 (llrint_tonearest_test_data): Likewise.
21560 (llrint_towardzero_test_data): Likewise.
21561 (llrint_downward_test_data): Likewise.
21562 (llrint_upward_test_data): Likewise.
21563 (log_test_data): Likewise.
21564 (log10_test_data): Likewise.
21565 (log1p_test_data): Likewise.
21566 (log2_test_data): Likewise.
21567 (logb_test_data): Likewise.
21568 (logb_downward_test_data): Likewise.
21569 (lround_test_data): Likewise.
21570 (llround_test_data): Likewise.
21571 (modf_test_data): Likewise.
21572 (nearbyint_test_data): Likewise.
21573 (nextafter_test_data): Likewise.
21574 (nexttoward_test_data): Likewise.
21575 (pow_test_data): Likewise.
21576 (pow_tonearest_test_data): Likewise.
21577 (pow_towardzero_test_data): Likewise.
21578 (pow_downward_test_data): Likewise.
21579 (pow_upward_test_data): Likewise.
21580 (remainder_test_data): Likewise.
21581 (remainder_tonearest_test_data): Likewise.
21582 (remainder_towardzero_test_data): Likewise.
21583 (remainder_downward_test_data): Likewise.
21584 (remainder_upward_test_data): Likewise.
21585 (remquo_test_data): Likewise.
21586 (rint_test_data): Likewise.
21587 (rint_tonearest_test_data): Likewise.
21588 (rint_towardzero_test_data): Likewise.
21589 (rint_downward_test_data): Likewise.
21590 (rint_upward_test_data): Likewise.
21591 (round_test_data): Likewise.
21592 (scalb_test_data): Likewise.
21593 (scalbn_test_data): Likewise.
21594 (scalbln_test_data): Likewise.
21595 (signbit_test_data): Likewise.
21596 (sin_test_data): Likewise.
21597 (sin_tonearest_test_data): Likewise.
21598 (sin_towardzero_test_data): Likewise.
21599 (sin_downward_test_data): Likewise.
21600 (sin_upward_test_data): Likewise.
21601 (sincos_test_data): Likewise.
21602 (sinh_test_data): Likewise.
21603 (sinh_tonearest_test_data): Likewise.
21604 (sinh_towardzero_test_data): Likewise.
21605 (sinh_downward_test_data): Likewise.
21606 (sinh_upward_test_data): Likewise.
21607 (sqrt_test_data): Likewise.
21608 (tan_test_data): Likewise.
21609 (tan_tonearest_test_data): Likewise.
21610 (tan_towardzero_test_data): Likewise.
21611 (tan_downward_test_data): Likewise.
21612 (tan_upward_test_data): Likewise.
21613 (tanh_test_data): Likewise.
21614 (tgamma_test_data): Likewise.
21615 (trunc_test_data): Likewise.
21616 (y0_test_data): Likewise.
21617 (y1_test_data): Likewise.
21618 (yn_test_data): Likewise.
21619 (significand_test_data): Likewise.
21620
b679a606
JM
21621 * math/gen-libm-test.pl (@functions): Remove variable.
21622 (generate_testfile): Don't handle START and END lines.
21623 * math/libm-test.inc (START): New macro.
21624 (END): Likewise.
21625 (END_COMPLEX): Likewise.
21626 (acos_test): Use END macro without arguments.
21627 (acos_test_tonearest): Likewise.
21628 (acos_test_towardzero): Likewise.
21629 (acos_test_downward): Likewise.
21630 (acos_test_upward): Likewise.
21631 (acosh_test): Likewise.
21632 (asin_test): Likewise.
21633 (asin_test_tonearest): Likewise.
21634 (asin_test_towardzero): Likewise.
21635 (asin_test_downward): Likewise.
21636 (asin_test_upward): Likewise.
21637 (asinh_test): Likewise.
21638 (atan_test): Likewise.
21639 (atanh_test): Likewise.
21640 (atan2_test): Likewise.
21641 (cabs_test): Likewise.
21642 (cacos_test): Use END_COMPLEX macro without arguments.
21643 (cacosh_test): Likewise.
21644 (carg_test): Use END macro without arguments.
21645 (casin_test): Use END_COMPLEX macro without arguments.
21646 (casinh_test): Likewise.
21647 (catan_test): Likewise.
21648 (catanh_test): Likewise.
21649 (cbrt_test): Use END macro without arguments.
21650 (ccos_test): Use END_COMPLEX macro without arguments.
21651 (ccosh_test): Likewise.
21652 (ceil_test): Use END macro without arguments.
21653 (cexp_test): Use END_COMPLEX macro without arguments.
21654 (cimag_test): Use END macro without arguments.
21655 (clog_test): Use END_COMPLEX macro without arguments.
21656 (clog10_test): Likewise.
21657 (conj_test): Likewise.
21658 (copysign_test): Use END macro without arguments.
21659 (cos_test): Likewise.
21660 (cos_test_tonearest): Likewise.
21661 (cos_test_towardzero): Likewise.
21662 (cos_test_downward): Likewise.
21663 (cos_test_upward): Likewise.
21664 (cosh_test): Likewise.
21665 (cosh_test_tonearest): Likewise.
21666 (cosh_test_towardzero): Likewise.
21667 (cosh_test_downward): Likewise.
21668 (cosh_test_upward): Likewise.
21669 (cpow_test): Use END_COMPLEX macro without arguments.
21670 (cproj_test): Likewise.
21671 (creal_test): Use END macro without arguments.
21672 (csin_test): Use END_COMPLEX macro without arguments.
21673 (csinh_test): Likewise.
21674 (csqrt_test): Likewise.
21675 (ctan_test): Likewise.
21676 (ctan_test_tonearest): Likewise.
21677 (ctan_test_towardzero): Likewise.
21678 (ctan_test_downward): Likewise.
21679 (ctan_test_upward): Likewise.
21680 (ctanh_test): Likewise.
21681 (ctanh_test_tonearest): Likewise.
21682 (ctanh_test_towardzero): Likewise.
21683 (ctanh_test_downward): Likewise.
21684 (ctanh_test_upward): Likewise.
21685 (erf_test): Use END macro without arguments.
21686 (erfc_test): Likewise.
21687 (exp_test): Likewise.
21688 (exp_test_tonearest): Likewise.
21689 (exp_test_towardzero): Likewise.
21690 (exp_test_downward): Likewise.
21691 (exp_test_upward): Likewise.
21692 (exp10_test): Likewise.
21693 (exp2_test): Likewise.
21694 (expm1_test): Likewise.
21695 (fabs_test): Likewise.
21696 (fdim_test): Likewise.
21697 (finite_test): Likewise.
21698 (floor_test): Likewise.
21699 (fma_test): Likewise.
21700 (fma_test_towardzero): Likewise.
21701 (fma_test_downward): Likewise.
21702 (fma_test_upward): Likewise.
21703 (fmax_test): Likewise.
21704 (fmin_test): Likewise.
21705 (fmod_test): Likewise.
21706 (fpclassify_test): Likewise.
21707 (frexp_test): Likewise.
21708 (gamma_test): Likewise.
21709 (hypot_test): Likewise.
21710 (ilogb_test): Likewise.
21711 (isfinite_test): Likewise.
21712 (isgreater_test): Likewise.
21713 (isgreaterequal_test): Likewise.
21714 (isinf_test): Likewise.
21715 (isless_test): Likewise.
21716 (islessequal_test): Likewise.
21717 (islessgreater_test): Likewise.
21718 (isnan_test): Likewise.
21719 (isnormal_test): Likewise.
21720 (issignaling_test): Likewise.
21721 (isunordered_test): Likewise.
21722 (j0_test): Likewise.
21723 (j1_test): Likewise.
21724 (jn_test): Likewise.
21725 (ldexp_test): Likewise.
21726 (lgamma_test): Likewise.
21727 (lrint_test): Likewise.
21728 (lrint_test_tonearest): Likewise.
21729 (lrint_test_towardzero): Likewise.
21730 (lrint_test_downward): Likewise.
21731 (lrint_test_upward): Likewise.
21732 (llrint_test): Likewise.
21733 (llrint_test_tonearest): Likewise.
21734 (llrint_test_towardzero): Likewise.
21735 (llrint_test_downward): Likewise.
21736 (llrint_test_upward): Likewise.
21737 (log_test): Likewise.
21738 (log10_test): Likewise.
21739 (log1p_test): Likewise.
21740 (log2_test): Likewise.
21741 (logb_test): Likewise.
21742 (logb_test_downward): Likewise.
21743 (lround_test): Likewise.
21744 (llround_test): Likewise.
21745 (modf_test): Likewise.
21746 (nearbyint_test): Likewise.
21747 (nextafter_test): Likewise.
21748 (nexttoward_test): Likewise.
21749 (pow_test): Likewise.
21750 (pow_test_tonearest): Likewise.
21751 (pow_test_towardzero): Likewise.
21752 (pow_test_downward): Likewise.
21753 (pow_test_upward): Likewise.
21754 (remainder_test): Likewise.
21755 (remainder_test_tonearest): Likewise.
21756 (remainder_test_towardzero): Likewise.
21757 (remainder_test_downward): Likewise.
21758 (remainder_test_upward): Likewise.
21759 (remquo_test): Likewise.
21760 (rint_test): Likewise.
21761 (rint_test_tonearest): Likewise.
21762 (rint_test_towardzero): Likewise.
21763 (rint_test_downward): Likewise.
21764 (rint_test_upward): Likewise.
21765 (round_test): Likewise.
21766 (scalb_test): Likewise.
21767 (scalbn_test): Likewise.
21768 (scalbln_test): Likewise.
21769 (signbit_test): Likewise.
21770 (sin_test): Likewise.
21771 (sin_test_tonearest): Likewise.
21772 (sin_test_towardzero): Likewise.
21773 (sin_test_downward): Likewise.
21774 (sin_test_upward): Likewise.
21775 (sincos_test): Likewise.
21776 (sinh_test): Likewise.
21777 (sinh_test_tonearest): Likewise.
21778 (sinh_test_towardzero): Likewise.
21779 (sinh_test_downward): Likewise.
21780 (sinh_test_upward): Likewise.
21781 (sqrt_test): Likewise.
21782 (tan_test): Likewise.
21783 (tan_test_tonearest): Likewise.
21784 (tan_test_towardzero): Likewise.
21785 (tan_test_downward): Likewise.
21786 (tan_test_upward): Likewise.
21787 (tanh_test): Likewise.
21788 (tgamma_test): Likewise.
21789 (trunc_test): Likewise.
21790 (y0_test): Likewise.
21791 (y1_test): Likewise.
21792 (yn_test): Likewise.
21793 (significand_test): Likewise.
21794
bae143d2
OB
217952013-05-24 Ondřej Bílka <neleai@seznam.cz>
21796
21797 [BZ #15381]
21798 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21799
9323d39b
EM
218002013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21801
d4ea44a0 21802 [BZ #14894]
9323d39b
EM
21803 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21804 __ppc_mdoio and __ppc_mdoom.
21805 * manual/platform.texi: Document new functions __ppc_yield,
21806 __ppc_mdoio and __ppc_mdoom.
21807
13e23af7
CD
218082013-05-22 Carlos O'Donell <carlos@redhat.com>
21809
21810 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21811 (main): Mention "tls" pseudo-hwcap is legacy.
21812 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21813
351fe550
JM
218142013-05-22 Joseph Myers <joseph@codesourcery.com>
21815
21816 * math/gen-libm-test.pl (parse_args): Output only string of
21817 arguments as text for test name, not full call or descriptions of
21818 tests for extra outputs.
21819 (generate_testfile): Do not pass function name to parse_args.
21820 Generate this_func variable from START.
21821 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21822 field to arg_str.
21823 (struct test_ff_f_data): Likewise.
21824 (test_ff_f_data_nexttoward): Likewise.
21825 (struct test_fi_f_data): Likewise.
21826 (struct test_fl_f_data): Likewise.
21827 (struct test_if_f_data): Likewise.
21828 (struct test_fff_f_data): Likewise.
21829 (struct test_c_f_data): Likewise.
21830 (struct test_f_f1_data): Likewise. Remove field extra_name.
21831 (struct test_fF_f1_data): Likewise.
21832 (struct test_ffI_f1_data): Likewise.
21833 (struct test_c_c_data): Rename test_name field to arg_str.
21834 (struct test_cc_c_data): Likewise.
21835 (struct test_f_i_data): Likewise.
21836 (struct test_ff_i_data): Likewise.
21837 (struct test_f_l_data): Likewise.
21838 (struct test_f_L_data): Likewise.
21839 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21840 and extra2_name.
21841 (COMMON_TEST_SETUP): New macro.
21842 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21843 (COMMON_TEST_CLEANUP): Likewise.
21844 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21845 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21846 macros.
21847 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21848 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21849 macros.
21850 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21851 (RUN_TEST_fff_f): Take argument string. Call new setup and
21852 cleanup macros.
21853 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21854 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21855 macros.
21856 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21857 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21858 macros.
21859 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21860 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21861 cleanup macros.
21862 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21863 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21864 cleanup macros.
21865 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21866 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21867 cleanup macros.
21868 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21869 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21870 macros.
21871 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21872 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21873 macros.
21874 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21875 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21876 macros.
21877 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21878 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21879 cleanup macros.
21880 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21881 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21882 cleanup macros.
21883 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21884 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21885 macros.
21886 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21887 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21888 cleanup macros.
21889 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21890 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21891 macros.
21892 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21893 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21894 macros.
21895 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21896 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21897 cleanup macros.
21898 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21899
85118d4d
EBM
219002013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21901
21902 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21903 to _sifields.sigfault.
21904 (si_addr_lsb): Define new macro.
21905 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21906 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21907 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21908
7a44c18f
CD
219092013-05-03 Carlos O'Donell <carlos at redhat.com>
21910
21911 [BZ #15441]
21912 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21913 returns -1.
21914 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21915 null return -1.
21916 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21917 loading the domain.
21918
b50a7181
JM
219192013-05-22 Joseph Myers <joseph@codesourcery.com>
21920
21921 * math/gen-libm-test.pl (parse_args): Do not include expected
21922 result in test name.
21923 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21925 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21926 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21927 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21929
051063c8
SP
219302013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21931
3ce9e010
SP
21932 * benchtests/Makefile: Sort function entries.
21933
051063c8
SP
21934 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21935 tanh, asinh, acosh, atanh.
21936 * benchtests/acos-inputs: New file.
21937 * benchtests/acosh-inputs: New file.
21938 * benchtests/asin-inputs: New file.
21939 * benchtests/asinh-inputs: New file.
21940 * benchtests/atanh-inputs: New file.
21941 * benchtests/cosh-inputs: New file.
21942 * benchtests/log-inputs: New file.
21943 * benchtests/sinh-inputs: New file.
21944 * benchtests/tanh-inputs: New file.
21945
47c22455
DL
219462013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21947
21948 [BZ #15339]
21949 * posix/tst-getaddrinfo4.c: New test.
21950 * posix/Makefile (tests): Add it.
21951
3d04f5db
SP
219522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21953
21954 [BZ #15339]
21955 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21956 when no services were used.
21957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21958 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21959
d5dd6189
AS
219602013-05-21 Andreas Schwab <schwab@suse.de>
21961
21962 [BZ #15014]
21963 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21964 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21965 successful.
21966 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21967 redundant variable declarations and reallocation of buffer when
21968 parsing as IPv6 address. Always set NSS status when called from
21969 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21970 buffer too small. Correct computation of needed size.
21971 * nss/Makefile (tests): Add test-digits-dots.
21972 * nss/test-digits-dots.c: New test.
21973
fef94eab
SP
219742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21975
21976 * benchtests/Makefile: Remove instructions for adding
21977 benchmark tests.
21978 * benchtests/README: New file to explain how to execute and
21979 enhance the benchmark tests.
21980
e39adf43
AS
219812013-05-21 Andreas Schwab <schwab@suse.de>
21982
21983 [BZ #15493]
21984 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21985 * setjmp/tst-sigsetjmp.c: New test.
21986
b2b671b6
OB
219872013-05-20 Ondřej Bílka <neleai@seznam.cz>
21988
21989 * sysdeps/x86_64/memset.S (memset): New implementation.
21990 (__bzero): Likewise.
21991 (__memset_tail): New function.
21992
2d48b41c
OB
219932013-05-20 Ondřej Bílka <neleai@seznam.cz>
21994
21995 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21996 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21997 __memcpy_sse2_unaligned ifunc selection.
21998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21999 Add memcpy-sse2-unaligned.S.
22000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22001 Add: __memcpy_sse2_unaligned.
22002
f16cc3eb
JM
220032013-05-19 Joseph Myers <joseph@codesourcery.com>
22004
3e694268
JM
22005 [BZ #15490]
22006 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22007 math_force_eval before restoring floating-point envrionment.
22008 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22010 Likewise.
22011 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22012 <math_private.h>.
22013 (__nearbyintl): Use math_force_eval before restoring
22014 floating-point environment.
22015 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22016
db62a907
JM
22017 * math/gen-libm-test.pl (special_functions): Remove.
22018 (parse_args): Don't handle TEST_extra. Handle functions with no
22019 return value.
22020 * math/libm-test.inc (struct test_sincos_data): Replace with
22021 struct test_fFF_11_data.
22022 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22023 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22024 (sincos_test_data): Change element type to struct
22025 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22026 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22027 RUN_TEST_LOOP_sincos.
22028 * math/README.libm-test: Don't mention special handling of
22029 individual functions.
22030 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22031 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22032 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22033 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22034 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22036
f16cc3eb
JM
22037 * math/gen-libm-test.pl (get_variable): Remove function.
22038 (parse_args): Don't show pointer parameters to call in test
22039 names. Use "extra output N" in test names for extra outputs
22040 rather than naming variables.
22041
3779b5b6
JM
220422013-05-18 Joseph Myers <joseph@codesourcery.com>
22043
2ee094ff
JM
22044 [BZ #15488]
22045 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22046 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22047 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22048 double tests.
22049 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22050 disable.
22051 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22052 check_long_double.
22053
3779b5b6
JM
22054 * math/gen-libm-test.pl (@tests): Remove variable.
22055 ($count): Likewise.
22056 (new_test): Remove function.
22057 (show_exceptions): New function.
22058 (special_functions): Use show_exceptions instead of new_test.
22059 (parse_args): Likewise.
22060 (generate_testfile): Pass only function name in generated call to
22061 print_max_error or print_complex_max_error.
22062 (get_ulps): Do not handle complex tests specially.
22063 (output_test): Rename to ...
22064 (get_all_ulps_for_test): ... this. Return a string rather than
22065 printing to a file. Require ulps to be present.
22066 (output_ulps): Generate arrays rather than #defines.
22067 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22068 (struct ulp_data): New type.
22069 (BUILD_COMPLEX_ULP): Remove macro.
22070 (compare_ulp_data): New function.
22071 (find_ulps): Likewise.
22072 (find_test_ulps): Likewise.
22073 (find_function_ulps): Likewise.
22074 (find_complex_function_ulps): Likewise.
22075 (print_max_error): Determine allowed ulps using
22076 find_function_ulps.
22077 (print_complex_max_error): Determine allowed ulps using
22078 find_complex_function_ulps.
22079 (check_float_internal): Determine max ulps using find_test_ulps.
22080 (check_float): Do not take max_ulp parameter. Update call to
22081 check_float_internal.
22082 (check_complex): Likewise.
22083 (check_int): Do not take max_ulp parameter.
22084 (check_long): Likewise.
22085 (check_bool): Likewise.
22086 (check_longlong): Likewise.
22087 (struct test_f_f_data): Remove max_ulp field.
22088 (struct test_ff_f_data): Likewise.
22089 (struct test_ff_f_data_nexttoward): Likewise.
22090 (struct test_fi_f_data): Likewise.
22091 (struct test_fl_f_data): Likewise.
22092 (struct test_if_f_data): Likewise.
22093 (struct test_fff_f_data): Likewise.
22094 (struct test_c_f_data): Likewise.
22095 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22096 (struct test_fF_f1_data): Likewise.
22097 (struct test_ffI_f1_data): Likewise.
22098 (struct test_c_c_data): Remove max_ulp field.
22099 (struct test_cc_c_data): Likewise.
22100 (struct test_f_i_data): Likewise.
22101 (struct test_ff_i_data): Likewise.
22102 (struct test_f_l_data): Likewise.
22103 (struct test_f_L_data): Likewise.
22104 (struct test_sincos_data): Likewise.
22105 (RUN_TEST_f_f): Do not handle ulps.
22106 (RUN_TEST_LOOP_f_f): Likewise.
22107 (RUN_TEST_2_f): Likewise.
22108 (RUN_TEST_LOOP_2_f): Likewise.
22109 (RUN_TEST_fff_f): Likewise.
22110 (RUN_TEST_LOOP_fff_f): Likewise.
22111 (RUN_TEST_c_f): Likewise.
22112 (RUN_TEST_LOOP_c_f): Likewise.
22113 (RUN_TEST_f_f1): Likewise.
22114 (RUN_TEST_LOOP_f_f1): Likewise.
22115 (RUN_TEST_fF_f1): Likewise.
22116 (RUN_TEST_LOOP_fF_f1): Likewise.
22117 (RUN_TEST_fI_f1): Likewise.
22118 (RUN_TEST_LOOP_fI_f1): Likewise.
22119 (RUN_TEST_ffI_f1): Likewise.
22120 (RUN_TEST_LOOP_ffI_f1): Likewise.
22121 (RUN_TEST_c_c): Likewise.
22122 (RUN_TEST_LOOP_c_c): Likewise.
22123 (RUN_TEST_cc_c): Likewise.
22124 (RUN_TEST_LOOP_cc_c): Likewise.
22125 (RUN_TEST_f_i): Likewise.
22126 (RUN_TEST_LOOP_f_i): Likewise.
22127 (RUN_TEST_f_i_tg): Likewise.
22128 (RUN_TEST_LOOP_f_i_tg): Likewise.
22129 (RUN_TEST_ff_i_tg): Likewise.
22130 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22131 (RUN_TEST_f_b): Likewise.
22132 (RUN_TEST_LOOP_f_b): Likewise.
22133 (RUN_TEST_f_b_tg): Likewise.
22134 (RUN_TEST_LOOP_f_b_tg): Likewise.
22135 (RUN_TEST_f_l): Likewise.
22136 (RUN_TEST_LOOP_f_l): Likewise.
22137 (RUN_TEST_f_L): Likewise.
22138 (RUN_TEST_LOOP_f_L): Likewise.
22139 (RUN_TEST_sincos): Likewise.
22140 (RUN_TEST_LOOP_sincos): Likewise.
22141
8269107f
JM
221422013-05-17 Joseph Myers <joseph@codesourcery.com>
22143
bb38759d
JM
22144 [BZ #15480]
22145 [BZ #15485]
22146 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22147 main case of finite arguments, set rounding mode to FE_TONEAREST
22148 and discard exceptions.
22149 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22150 exceptions.
22151 (remainder_tonearest_test_data): New variable.
22152 (remainder_test_tonearest): New function.
22153 (remainder_towardzero_test_data): New variable.
22154 (remainder_test_towardzero): New function.
22155 (remainder_downward_test_data): New variable.
22156 (remainder_test_downward): New function.
22157 (remainder_upward_test_data): New variable.
22158 (remainder_test_upward): New function.
22159 (main): Call the new test functions.
22160
a00bdcf0
JM
22161 * math/libm-test.inc (struct test_f_f1_data): Remove field
22162 extra_init.
22163 (struct test_fF_f1_data): Likewise.
22164 (struct test_ffI_f1_data): Likewise.
22165 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22166 based on value of EXTRA_EXPECTED.
22167 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22168 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22169 EXTRA_VAR based on value of EXTRA_EXPECTED.
22170 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22171 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22172 EXTRA_VAR based on value of EXTRA_EXPECTED.
22173 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22174 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22175 EXTRA_VAR based on value of EXTRA_EXPECTED.
22176 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22177 * math/gen-libm-test.pl (parse_args): Don't output initializers
22178 for extra output values.
22179
de407f79
JM
22180 * math/libm-test.inc (check_int): Expect result to be exactly
22181 equal to expected value and do not handle ulps.
22182 (check_long): Likewise.
22183 (check_longlong): Likewise.
22184
8269107f
JM
22185 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22186 exceptions.
22187 (cimag_test_data): Likewise.
22188 (conj_test_data): Likewise.
22189 (copysign_test_data): Likewise.
22190 (cproj_test_data): Likewise.
22191 (creal_test_data): Likewise.
22192 (fabs_test_data): Likewise.
22193 (fdim_test_data): Likewise.
22194 (finite_test_data): Likewise.
22195 (floor_test_data): Likewise.
22196 (fmax_test_data): Likewise.
22197 (fmin_test_data): Likewise.
22198 (fmod_test_data): Likewise.
22199 (fpclassify_test_data): Likewise.
22200 (frexp_test_data): Likewise.
22201 (ilogb_test_data): Likewise.
22202 (isfinite_test_data): Likewise.
22203 (isgreater_test_data): Likewise.
22204 (isgreaterequal_test_data): Likewise.
22205 (isinf_test_data): Likewise.
22206 (isless_test_data): Likewise.
22207 (islessequal_test_data): Likewise.
22208 (islessgreater_test_data): Likewise.
22209 (isnan_test_data): Likewise.
22210 (isnormal_test_data): Likewise.
22211 (issignaling_test_data): Likewise.
22212 (isunordered_test_data): Likewise.
22213 (ldexp_test_data): Likewise.
22214 (lrint_test_data): Likewise.
22215 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22216 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22217 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22218 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22219 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22220 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22221 test input.
22222 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22223 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22224 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22225 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22226 that test input.
22227 (lrint_downward_test_data): Test for "inexact" exceptions.
22228 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22229 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22230 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22231 test input.
22232 (lrint_upward_test_data): Test for "inexact" exceptions.
22233 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22234 test input.
22235 (llrint_test_data): Test for "inexact" exceptions.
22236 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22237 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22238 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22239 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22240 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22241 (llrint_downward_test_data): Test for "inexact" exceptions.
22242 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22243 (llrint_upward_test_data): Test for "inexact" exceptions.
22244 (logb_test_data): Likewise.
22245 (logb_downward_test_data): Likewise.
22246 (nextafter_test_data): Likewise.
22247 (nexttoward_test_data): Likewise.
22248 (remainder_test_data): Likewise.
22249 (remquo_test_data): Likewise.
22250 (scalbn_test_data): Likewise.
22251 (scalbln_test_data): Likewise.
22252 (signbit_test_data): Likewise.
22253 (sqrt_test_data): Likewise.
22254 (significand_test_data): Likewise.
22255
48a18de1
SP
222562013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22257
22258 [BZ #15424]
22259 * benchtests/bench-modf.c (struct args): Mark arg0 as
22260 volatile.
22261 * scripts/bench.pl: Mark members of struct args as volatile.
22262
13d3b41a
AZ
222632013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22264
68191c1d 22265 [BZ # 15497]
13d3b41a
AZ
22266 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22267 negative infinity on POWER6 or lower.
22268 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22269
2848b105
MR
222702013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22271
22272 [BZ #15442]
22273 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22274 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22275 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22276 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22277 (_FP_SETQNAN): New macro.
22278 (_FP_SETQNAN_SEMIRAW): Likewise.
22279 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22280 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22281 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22282 (FP_EXTEND): Use _FP_FRAC_SNANP.
22283 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22284 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22285 into account.
22286 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22287 New macro.
22288 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22289 Likewise.
22290
323e5cb7
JM
222912013-05-16 Joseph Myers <joseph@codesourcery.com>
22292
c58b274f
JM
22293 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22294 with DIVIDE_BY_ZERO_EXCEPTION.
22295 (gamma_test_data): Likewise.
22296 (lgamma_test_data): Likewise.
22297 (log_test_data): Likewise.
22298 (log10_test_data): Likewise.
22299 (log2_test_data): Likewise.
22300 (tgamma_test_data): Likewise.
22301
0ab34904
JM
22302 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22303 (acos_test_tonearest): Likewise.
22304 (acos_test_towardzero): Likewise.
22305 (acos_test_downward): Likewise.
22306 (acos_test_upward): Likewise.
22307 (acosh_test): Likewise.
22308 (asin_test): Likewise.
22309 (asin_test_tonearest): Likewise.
22310 (asin_test_towardzero): Likewise.
22311 (asin_test_downward): Likewise.
22312 (asin_test_upward): Likewise.
22313 (asinh_test): Likewise.
22314 (atan_test): Likewise.
22315 (atanh_test): Likewise.
22316 (atan2_test): Likewise.
22317 (cabs_test): Likewise.
22318 (cacos_test): Likewise.
22319 (cacosh_test): Likewise.
22320 (casin_test): Likewise.
22321 (casinh_test): Likewise.
22322 (catan_test): Likewise.
22323 (catanh_test): Likewise.
22324 (cbrt_test): Likewise.
22325 (ccos_test): Likewise.
22326 (ccosh_test): Likewise.
22327 (cexp_test): Likewise.
22328 (clog_test): Likewise.
22329 (clog10_test): Likewise.
22330 (cos_test): Likewise.
22331 (cos_test_tonearest): Likewise.
22332 (cos_test_towardzero): Likewise.
22333 (cos_test_downward): Likewise.
22334 (cos_test_upward): Likewise.
22335 (cosh_test): Likewise.
22336 (cosh_test_tonearest): Likewise.
22337 (cosh_test_towardzero): Likewise.
22338 (cosh_test_downward): Likewise.
22339 (cosh_test_upward): Likewise.
22340 (cpow_test): Likewise.
22341 (csin_test): Likewise.
22342 (csinh_test): Likewise.
22343 (csqrt_test): Likewise.
22344 (ctan_test): Likewise.
22345 (ctan_test_tonearest): Likewise.
22346 (ctan_test_towardzero): Likewise.
22347 (ctan_test_downward): Likewise.
22348 (ctan_test_upward): Likewise.
22349 (ctanh_test): Likewise.
22350 (ctanh_test_tonearest): Likewise.
22351 (ctanh_test_towardzero): Likewise.
22352 (ctanh_test_downward): Likewise.
22353 (ctanh_test_upward): Likewise.
22354 (erf_test): Likewise.
22355 (erfc_test): Likewise.
22356 (exp_test): Likewise.
22357 (exp_test_tonearest): Likewise.
22358 (exp_test_towardzero): Likewise.
22359 (exp_test_downward): Likewise.
22360 (exp_test_upward): Likewise.
22361 (exp10_test): Likewise.
22362 (exp2_test): Likewise.
22363 (expm1_test): Likewise.
22364 (fmod_test): Likewise.
22365 (gamma_test): Likewise.
22366 (hypot_test): Likewise.
22367 (j0_test): Likewise.
22368 (j1_test): Likewise.
22369 (jn_test): Likewise.
22370 (lgamma_test): Likewise.
22371 (log_test): Likewise.
22372 (log10_test): Likewise.
22373 (log1p_test): Likewise.
22374 (log2_test): Likewise.
22375 (logb_test_downward): Likewise.
22376 (pow_test): Likewise.
22377 (pow_test_tonearest): Likewise.
22378 (pow_test_towardzero): Likewise.
22379 (pow_test_downward): Likewise.
22380 (pow_test_upward): Likewise.
22381 (remainder_test): Likewise.
22382 (remquo_test): Likewise.
22383 (sin_test): Likewise.
22384 (sin_test_tonearest): Likewise.
22385 (sin_test_towardzero): Likewise.
22386 (sin_test_downward): Likewise.
22387 (sin_test_upward): Likewise.
22388 (sincos_test): Likewise.
22389 (sinh_test): Likewise.
22390 (sinh_test_tonearest): Likewise.
22391 (sinh_test_towardzero): Likewise.
22392 (sinh_test_downward): Likewise.
22393 (sinh_test_upward): Likewise.
22394 (sqrt_test): Likewise.
22395 (tan_test): Likewise.
22396 (tan_test_tonearest): Likewise.
22397 (tan_test_towardzero): Likewise.
22398 (tan_test_downward): Likewise.
22399 (tan_test_upward): Likewise.
22400 (tanh_test): Likewise.
22401 (tgamma_test): Likewise.
22402 (y0_test): Likewise.
22403 (y1_test): Likewise.
22404 (yn_test): Likewise.
22405
323e5cb7
JM
22406 * math/gen-libm-test.pl (adjust_arg): Remove function.
22407 (special_function): Remove argument $in_func. Only handle
22408 generating output for tables of tests, not inside functions.
22409 (parse_args): Likewise.
22410 (generate_testfile): Remove variable $in_func. Update call to
22411 parse_args.
22412 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22413 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22414 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22415 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22416 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22417 (MAX_VALUE_INIT): Rename macro to max_value.
22418 (MIN_VALUE_INIT): Rename macro to min_value.
22419 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22420 (plus_zero): Remove variable.
22421 (minus_zero): Likewise.
22422 (plus_infty): Likewise.
22423 (minus_infty): Likewise.
22424 (qnan_value): Likewise.
22425 (max_value): Likewise.
22426 (min_value): Likewise.
22427 (min_subnorm_value): Likewise.
22428
e054f494
RA
224292013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22430
22431 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22432 uint64_t or uint32_t usage.
22433 * crypt/sha256-block.c: Likewise.
22434 * crypt/sha256-crypt.c: Likewise.
22435 * crypt/sha256.c: Likewise.
22436 * crypt/sha512-block.c: Likewise.
22437 * crypt/sha512-crypt.c: Likewise.
22438 * crypt/sha512.c: Likewise.
22439 * debug/backtrace-tst.c: Likewise.
22440 * debug/pcprofiledump.c: Likewise.
22441 * elf/cache.c: Likewise.
22442 * elf/dl-cache.c: Likewise.
22443 * elf/dl-misc.c: Likewise.
22444 * elf/dl-profile.c: Likewise.
22445 * elf/dl-support.c: Likewise.
22446 * elf/ldconfig.c: Likewise.
22447 * elf/sprof.c: Likewise.
22448 * iconv/dummy-repertoire.c: Likewise.
22449 * iconv/iconv_charmap.c: Likewise.
22450 * iconv/skeleton.c: Likewise.
22451 * iconvdata/8bit-generic.c: Likewise.
22452 * iconvdata/cp737.h: Likewise.
22453 * iconvdata/cp775.h: Likewise.
22454 * iconvdata/ibm1008.h: Likewise.
22455 * iconvdata/ibm1025.h: Likewise.
22456 * iconvdata/ibm1046.h: Likewise.
22457 * iconvdata/ibm1097.h: Likewise.
22458 * iconvdata/ibm1112.h: Likewise.
22459 * iconvdata/ibm1122.h: Likewise.
22460 * iconvdata/ibm1123.h: Likewise.
22461 * iconvdata/ibm1124.h: Likewise.
22462 * iconvdata/ibm1129.h: Likewise.
22463 * iconvdata/ibm1130.h: Likewise.
22464 * iconvdata/ibm1132.h: Likewise.
22465 * iconvdata/ibm1133.h: Likewise.
22466 * iconvdata/ibm1137.h: Likewise.
22467 * iconvdata/ibm1140.h: Likewise.
22468 * iconvdata/ibm1141.h: Likewise.
22469 * iconvdata/ibm1142.h: Likewise.
22470 * iconvdata/ibm1143.h: Likewise.
22471 * iconvdata/ibm1144.h: Likewise.
22472 * iconvdata/ibm1145.h: Likewise.
22473 * iconvdata/ibm1146.h: Likewise.
22474 * iconvdata/ibm1147.h: Likewise.
22475 * iconvdata/ibm1148.h: Likewise.
22476 * iconvdata/ibm1149.h: Likewise.
22477 * iconvdata/ibm1153.h: Likewise.
22478 * iconvdata/ibm1154.h: Likewise.
22479 * iconvdata/ibm1155.h: Likewise.
22480 * iconvdata/ibm1156.h: Likewise.
22481 * iconvdata/ibm1157.h: Likewise.
22482 * iconvdata/ibm1158.h: Likewise.
22483 * iconvdata/ibm1160.h: Likewise.
22484 * iconvdata/ibm1161.h: Likewise.
22485 * iconvdata/ibm1162.h: Likewise.
22486 * iconvdata/ibm1163.h: Likewise.
22487 * iconvdata/ibm1164.h: Likewise.
22488 * iconvdata/ibm1166.h: Likewise.
22489 * iconvdata/ibm1167.h: Likewise.
22490 * iconvdata/ibm12712.h: Likewise.
22491 * iconvdata/ibm1390.h: Likewise.
22492 * iconvdata/ibm1399.h: Likewise.
22493 * iconvdata/ibm16804.h: Likewise.
22494 * iconvdata/ibm4517.h: Likewise.
22495 * iconvdata/ibm4899.h: Likewise.
22496 * iconvdata/ibm4909.h: Likewise.
22497 * iconvdata/ibm4971.h: Likewise.
22498 * iconvdata/ibm5347.h: Likewise.
22499 * iconvdata/ibm803.h: Likewise.
22500 * iconvdata/ibm856.h: Likewise.
22501 * iconvdata/ibm901.h: Likewise.
22502 * iconvdata/ibm902.h: Likewise.
22503 * iconvdata/ibm9030.h: Likewise.
22504 * iconvdata/ibm9066.h: Likewise.
22505 * iconvdata/ibm921.h: Likewise.
22506 * iconvdata/ibm922.h: Likewise.
22507 * iconvdata/ibm9448.h: Likewise.
22508 * iconvdata/isiri-3342.h: Likewise.
22509 * iconvdata/jis0201.h: Likewise.
22510 * include/link.h: Likewise.
22511 * include/netdb.h: Likewise.
22512 * inet/check_native.c: Likewise.
22513 * inet/check_pf.c: Likewise.
22514 * inet/getipv4sourcefilter.c: Likewise.
22515 * inet/getnameinfo.c: Likewise.
22516 * inet/getsourcefilter.c: Likewise.
22517 * inet/htonl.c: Likewise.
22518 * inet/setipv4sourcefilter.c: Likewise.
22519 * inet/setsourcefilter.c: Likewise.
22520 * inet/test-inet6_opt.c: Likewise.
22521 * inet/tst-network.c: Likewise.
22522 * locale/C-collate.c: Likewise.
22523 * locale/C-ctype.c: Likewise.
22524 * locale/C-time.c: Likewise.
22525 * locale/C-translit.h: Likewise.
22526 * locale/loadarchive.c: Likewise.
22527 * locale/programs/3level.h: Likewise.
22528 * locale/programs/charmap.c: Likewise.
22529 * locale/programs/charmap.h: Likewise.
22530 * locale/programs/ld-address.c: Likewise.
22531 * locale/programs/ld-collate.c: Likewise.
22532 * locale/programs/ld-ctype.c: Likewise.
22533 * locale/programs/ld-identification.c: Likewise.
22534 * locale/programs/ld-measurement.c: Likewise.
22535 * locale/programs/ld-messages.c: Likewise.
22536 * locale/programs/ld-monetary.c: Likewise.
22537 * locale/programs/ld-name.c: Likewise.
22538 * locale/programs/ld-numeric.c: Likewise.
22539 * locale/programs/ld-paper.c: Likewise.
22540 * locale/programs/ld-telephone.c: Likewise.
22541 * locale/programs/ld-time.c: Likewise.
22542 * locale/programs/linereader.c: Likewise.
22543 * locale/programs/locale.c: Likewise.
22544 * locale/programs/locarchive.c: Likewise.
22545 * locale/programs/locfile.h: Likewise.
22546 * locale/programs/repertoire.c: Likewise.
22547 * locale/programs/simple-hash.c: Likewise.
22548 * locale/programs/simple-hash.h: Likewise.
22549 * malloc/memusage.c: Likewise.
22550 * malloc/memusagestat.c: Likewise.
22551 * nis/nis_defaults.c: Likewise.
22552 * nis/nis_hash.c: Likewise.
22553 * nis/nis_print.c: Likewise.
22554 * nis/nis_xdr.c: Likewise.
22555 * nscd/connections.c: Likewise.
22556 * nscd/hstcache.c: Likewise.
22557 * nscd/nscd_gethst_r.c: Likewise.
22558 * nscd/nscd_getserv_r.c: Likewise.
22559 * nscd/nscd_helper.c: Likewise.
22560 * nscd/servicescache.c: Likewise.
22561 * nss/makedb.c: Likewise.
22562 * nss/nss_db/db-XXX.c: Likewise.
22563 * nss/nss_db/db-initgroups.c: Likewise.
22564 * nss/nss_db/db-netgrp.c: Likewise.
22565 * nss/nss_files/files-network.c: Likewise.
22566 * nss/nss_files/files-parse.c: Likewise.
22567 * posix/bug-regex5.c: Likewise.
22568 * posix/fnmatch_loop.c: Likewise.
22569 * posix/regcomp.c: Likewise.
22570 * posix/regexec.c: Likewise.
22571 * posix/tst-rfc3484-2.c: Likewise.
22572 * posix/tst-rfc3484-3.c: Likewise.
22573 * posix/tst-rfc3484.c: Likewise.
22574 * resolv/nss_dns/dns-canon.c: Likewise.
22575 * resolv/nss_dns/dns-network.c: Likewise.
22576 * resolv/res_init.c: Likewise.
22577 * resolv/res_mkquery.c: Likewise.
22578 * resolv/tst-aton.c: Likewise.
22579 * stdlib/cxa_atexit.c: Likewise.
22580 * stdlib/cxa_finalize.c: Likewise.
22581 * stdlib/gen-fpioconst.c: Likewise.
22582 * stdlib/strtol_l.c: Likewise.
22583 * string/tst-endian.c: Likewise.
22584 * sunrpc/auth_des.c: Likewise.
22585 * sunrpc/clnt_udp.c: Likewise.
22586 * sunrpc/rtime.c: Likewise.
22587 * sunrpc/svcauth_des.c: Likewise.
22588 * sunrpc/xdr.c: Likewise.
22589 * sunrpc/xdr_intXX_t.c: Likewise.
22590 * sunrpc/xdr_rec.c: Likewise.
22591 * sysdeps/generic/ldconfig.h: Likewise.
22592 * sysdeps/generic/ldsodefs.h: Likewise.
22593 * sysdeps/generic/memusage.h: Likewise.
22594 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22597 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22604 * sysdeps/posix/getaddrinfo.c: Likewise.
22605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22609 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22610 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22611 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22612 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22613 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22614 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22615 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22616 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22617 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22618 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22619 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22620 * sysdeps/x86_64/dl-tls.h: Likewise.
22621 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22622 * time/alt_digit.c: Likewise.
22623 * time/era.c: Likewise.
22624 * wcsmbs/tst-c16c32-1.c: Likewise.
22625
8c75f674
JM
226262013-05-16 Joseph Myers <joseph@codesourcery.com>
22627
22628 * math/libm-test.inc (struct test_sincos_data): New type.
22629 (RUN_TEST_LOOP_sincos): New macro.
22630 (sincos_test_data): New variable.
22631 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22632
e6e49e59
RH
226332013-05-16 Richard Henderson <rth@redhat.com>
22634
22635 * math/atest-exp2.c (LIMB64): New macro.
22636 (CONSTSZ): New macro.
22637 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22638 (hexdig): Move ...
22639 (print_mpn_fp): ... to function scope.
22640 (read_mpn_hex): Remove.
22641 (get_log2): Remove.
22642 (exp2_mpn): Use mp_log2.
22643 (main): Use mp_exp1.
22644
15c7c18d
JM
226452013-05-16 Joseph Myers <joseph@codesourcery.com>
22646
105a07df
JM
22647 * math/libm-test.inc: Remove comment about not testing "inexact"
22648 exceptions.
22649 (INEXACT_EXCEPTION): New macro.
22650 (NO_INEXACT_EXCEPTION): Likewise.
22651 (INVALID_EXCEPTION_OK): Update value.
22652 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22653 (OVERFLOW_EXCEPTION_OK): Likewise.
22654 (UNDERFLOW_EXCEPTION_OK): Likewise.
22655 (IGNORE_ZERO_INF_SIGN): Likewise.
22656 (ERRNO_UNCHANGED): Likewise.
22657 (ERRNO_EDOM): Likewise.
22658 (ERRNO_ERANGE): Likewise.
22659 (test_exceptions): Handle testing "inexact" exceptions.
22660 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22661 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22662 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22663 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22664 INEXACT_EXCEPTION.
22665 (rint_towardzero_test_data): Likewise.
22666 (rint_downward_test_data): Likewise.
22667 (rint_upward_test_data): Likewise.
22668
e9eee333
JM
22669 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22670 with OVERFLOW_EXCEPTION.
22671 (exp10_test_data): Likewise.
22672 (exp2_test_data): Likewise.
22673 (expm1_test_data): Likewise.
22674 (lgamma_test_data): Likewise.
22675 (pow_test_data): Likewise.
22676 (tgamma_test_data): Likewise.
22677 (yn_test_data): Remove duplicate test of overflow.
22678
1c38ff73
JM
22679 * math/libm-test.inc (struct test_cc_c_data): New type.
22680 (RUN_TEST_LOOP_cc_c): New macro.
22681 (cpow_test_data): New variable.
22682 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22683
15c7c18d
JM
22684 * math/libm-test.inc (struct test_f_L_data): New type.
22685 (RUN_TEST_LOOP_f_L): New macro.
22686 (llrint_test_data): New variable.
22687 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22688 (llrint_tonearest_test_data): New variable.
22689 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22690 (llrint_towardzero_test_data): New variable.
22691 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22692 (llrint_downward_test_data): New variable.
22693 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22694 (llrint_upward_test_data): New variable.
22695 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22696 (llround_test_data): New variable.
22697 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22698
f137ff13
PC
226992013-05-13 Peter Collingbourne <pcc@google.com>
22700
22701 * math/atest-exp2.c (get_log2): Remove const attribute.
22702
3608cb24
JM
227032013-05-15 Joseph Myers <joseph@codesourcery.com>
22704
22705 * math/libm-test.inc (struct test_f_l_data): New type.
22706 (RUN_TEST_LOOP_f_l): New macro.
22707 (lrint_test_data): New variable.
22708 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22709 (lrint_tonearest_test_data): New variable.
22710 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22711 (lrint_towardzero_test_data): New variable.
22712 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22713 (lrint_downward_test_data): New variable.
22714 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22715 (lrint_upward_test_data): New variable.
22716 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22717 (lround_test_data): New variable.
22718 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22719
39b1f617
PC
227202013-05-15 Peter Collingbourne <pcc@google.com>
22721
1deff3dc
PC
22722 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22723 (EXTRACT_WORDS64) Use where appropriate.
22724 (INSERT_WORDS64) Likewise.
22725
791f3ba0
PC
22726 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22727 constraints with x constraints.
22728 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22729
39b1f617
PC
22730 * malloc/obstack.c (_obstack_compat): Add initializer.
22731
12fba011
EM
227322013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22733
22734 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22735 si_trapno and add si_addr_lsb to _sifields.sigfault.
22736 (si_trapno): Remove macro.
22737 (si_addr_lsb): Define new macro.
22738 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22739
d369f531
JM
227402013-05-15 Joseph Myers <joseph@codesourcery.com>
22741
b861c6c4
JM
22742 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22743 instead of TEST_f_l.
22744 (llrint_test_tonearest): Likewise.
22745 (llrint_test_towardzero): Likewise.
22746 (llrint_test_downward): Likewise.
22747 (llrint_test_upward): Likewise.
22748 (llround_test): Likewise.
22749
7abeee12
JM
22750 * math/libm-test.inc (struct test_f_i_data): Add comment.
22751 (RUN_TEST_LOOP_f_b): New macro.
22752 (RUN_TEST_LOOP_f_b_tg): Likewise.
22753 (finite_test_data): New variable.
22754 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22755 (isfinite_test_data): New variable.
22756 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22757 (isinf_test_data): New variable.
22758 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22759 (isnan_test_data): New variable.
22760 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22761 (isnormal_test_data): New variable.
22762 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22763 (issignaling_test_data): New variable.
22764 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22765 (signbit_test_data): New variable.
22766 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22767
cbe8c4d3
JM
22768 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22769 with INVALID_EXCEPTION.
22770 (acosh_test_data): Likewise.
22771 (asin_test_data): Likewise.
22772 (atanh_test_data): Likewise.
22773 (fmod_test_data): Likewise.
22774 (log_test_data): Likewise.
22775 (log10_test_data): Likewise.
22776 (log2_test_data): Likewise.
22777 (pow_test_data): Likewise.
22778 (sqrt_test_data): Likewise.
22779 (y0_test_data): Likewise.
22780 (y1_test_data): Likewise.
22781 (yn_test_data): Likewise.
22782
5575c0e5
JM
22783 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22784 function contents.
22785
d369f531
JM
22786 * math/libm-test.inc (struct test_ff_i_data): New type.
22787 (RUN_TEST_LOOP_ff_i_tg): New macro.
22788 (isgreater_test_data): New variable.
22789 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22790 (isgreaterequal_test_data): New variable.
22791 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22792 (isless_test_data): New variable.
22793 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22794 (islessequal_test_data): New variable.
22795 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22796 (islessgreater_test_data): New variable.
22797 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22798 (isunordered_test_data): New variable.
22799 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22800
781fd748
DM
228012013-05-14 David S. Miller <davem@davemloft.net>
22802
22803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22804
87aa21df
JM
228052013-05-14 Joseph Myers <joseph@codesourcery.com>
22806
5e908270
JM
22807 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22808
f71172e5
JM
22809 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22810 extra_test to int.
22811 (struct test_f_i_data): Change type of max_ulp to int.
22812
8cfa635a
JM
22813 * math/libm-test.inc (test_ffI_f1_data): New type.
22814 (RUN_TEST_LOOP_ffI_f1): New macro.
22815 (remquo_test_data): New variable.
22816 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22817
2bcb36b2
JM
22818 * setjmp/tst-setjmp-fp.c: New file.
22819 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22820 (link-libm): New variable.
22821 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22822
acbd839a
JM
22823 * math/libm-test.inc (struct test_f_i_data): New type.
22824 (RUN_TEST_LOOP_f_i): New macro.
22825 (RUN_TEST_LOOP_f_i_tg): Likewise.
22826 (fpclassify_test_data): New variable.
22827 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22828 (ilogb_test_data): New variable.
22829 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22830
e414d745
JM
22831 * math/libm-test.inc (scalbln_test): Correct function name in END
22832 call.
22833
d9c2a0fd
JM
22834 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22835 (RUN_TEST_LOOP_fI_f1): New macro.
22836 (frexp_test_data): New variable.
22837 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22838
9dc9095d
JM
22839 * math/libm-test.inc (struct test_fF_f1_data): New type.
22840 (RUN_TEST_LOOP_fF_f1): New macro.
22841 (modf_test_data): New variable.
22842 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22843
87aa21df
JM
22844 * math/libm-test.inc (struct test_f_f1_data): New type.
22845 (RUN_TEST_LOOP_f_f1): New macro.
22846 (gamma_test_data): New variable.
22847 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22848 (lgamma_test_data): New variable.
22849 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22850
141af660
CD
228512013-05-13 Carlos O'Donell <carlos@redhat.com>
22852
22853 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22854 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22855 (main): Comment "tls" pseudo-hwcap.
22856
6d33265c
JM
228572013-05-13 Joseph Myers <joseph@codesourcery.com>
22858
68fc074c
JM
22859 * math/libm-test.inc (struct test_fl_f_data): New type.
22860 (RUN_TEST_LOOP_fl_f): New variable.
22861 (scalbln_test_data): New variable.
22862 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22863
243216e1
JM
22864 * math/libm-test.inc (struct test_fi_f_data): New type.
22865 (RUN_TEST_LOOP_fi_f): New macro.
22866 (ldexp_test_data): New variable.
22867 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22868 (scalbn_test_data): New variable.
22869 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22870
6a1992e2
JM
22871 * math/libm-test.inc (struct test_c_f_data): New type.
22872 (RUN_TEST_LOOP_c_f): New macro.
22873 (cabs_test_data): New variable.
22874 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22875 (carg_test_data): New variable.
22876 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22877 (cimag_test_data): New variable.
22878 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22879 (creal_test_data): New variable.
22880 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22881
0e400df5
JM
22882 * math/libm-test.inc (struct test_if_f_data): New type.
22883 (RUN_TEST_LOOP_if_f): New macro.
22884 (jn_test_data): New variable.
22885 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22886 (yn_test_data): New variable.
22887 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22888
6d33265c
JM
22889 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22890
f98ece5f
AZ
228912013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22892
22893 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22894 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22895
0f7d347b
SP
228962013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22897
43fe811b
SP
22898 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22899 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22900 (bench-deps): Add bench-timing.h.
22901 * benchtests-bench-skeleton.c: Include bench-timing.h.
22902 (main): Use TIMING_* macros instead of clock_gettime.
22903 * benchtests/bench-timing.h: New file.
22904
0f7d347b
SP
22905 [BZ #14582]
22906 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22907 Renamed from _LIB_VERSION.
22908 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22909
601a3a5f
JM
229102013-05-12 Joseph Myers <joseph@codesourcery.com>
22911
4f184d30
JM
22912 * math/libm-test.inc (struct test_fff_f_data): New type.
22913 (RUN_TEST_LOOP_fff_f): New macro.
22914 (fma_test_data): New variable.
22915 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22916 (fma_towardzero_test_data): New variable.
22917 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22918 (fma_downward_test_data): New variable.
22919 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22920 (fma_upward_test_data): New variable.
22921 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22922
08198877
JM
22923 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22924 (struct test_c_c_data): New type.
22925 (RUN_TEST_LOOP_c_c): New macro.
22926 (cacos_test_data): New variable.
22927 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22928 (cacosh_test_data): New variable.
22929 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22930 (casin_test_data): New variable.
22931 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22932 (casinh_test_data): New variable.
22933 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22934 (catan_test_data): New variable.
22935 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22936 (catanh_test_data): New variable.
22937 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22938 (ccos_test_data): New variable.
22939 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22940 (ccosh_test_data): New variable.
22941 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22942 (cexp_test_data): New variable.
22943 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22944 (clog_test_data): New variable.
22945 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22946 (clog10_test_data): New variable.
22947 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22948 (conj_test_data): New variable.
22949 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22950 (cproj_test_data): New variable.
22951 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22952 (csin_test_data): New variable.
22953 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22954 (csinh_test_data): New variable.
22955 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22956 (csqrt_test_data): New variable.
22957 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22958 (ctan_test_data): New variable.
22959 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22960 (ctan_tonearest_test_data): New variable.
22961 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22962 (ctan_towardzero_test_data): New variable.
22963 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22964 (ctan_downward_test_data): New variable.
22965 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22966 (ctan_upward_test_data): New variable.
22967 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22968 (ctanh_test_data): New variable.
22969 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22970 (ctanh_tonearest_test_data): New variable.
22971 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22972 (ctanh_towardzero_test_data): New variable.
22973 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22974 (ctanh_downward_test_data): New variable.
22975 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22976 (ctanh_upward_test_data): New variable.
22977 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22978 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22979 of BUILD_COMPLEX.
22980
601a3a5f
JM
22981 * math/libm-test.inc (struct test_ff_f_data): New type.
22982 (struct test_ff_f_data_nexttoward): Likewise.
22983 (RUN_TEST_LOOP_2_f): New macro.
22984 (RUN_TEST_LOOP_ff_f): Likewise.
22985 (atan2_test_data): New variable.
22986 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22987 (copysign_test_data): New variable.
22988 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22989 (fdim_test_data): New variable.
22990 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22991 (fmax_test_data): New variable.
22992 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22993 (fmin_test_data): New variable.
22994 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22995 (fmod_test_data): New variable.
22996 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22997 (hypot_test_data): New variable.
22998 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22999 (nextafter_test_data): New variable.
23000 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23001 (nexttoward_test_data): New variable.
23002 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23003 (pow_test_data): New variable.
23004 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23005 (pow_tonearest_test_data): New variable.
23006 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23007 (pow_towardzero_test_data): New variable.
23008 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23009 (pow_downward_test_data): New variable.
23010 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23011 (pow_upward_test_data): New variable.
23012 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23013 (remainder_test_data): New variable.
23014 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23015 (scalb_test_data): New variable.
23016 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23017 * sysdeps/i386/fpu/libm-test-ulps: Update.
23018
74c57478
JM
230192013-05-11 Joseph Myers <joseph@codesourcery.com>
23020
8329e4da
JM
23021 * math/libm-test.inc (fma_test): Use max_value instead of local
23022 variable fltmax.
23023 (nextafter_test): Likewise.
23024
74c57478
JM
23025 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23026 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23027 (acos_downward_test_data): New variable.
23028 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23029 (acos_upward_test_data): New variable.
23030 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23031 (acosh_test_data): New variable.
23032 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23033 (asin_test_data): New variable.
23034 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23035 (asin_tonearest_test_data): New variable.
23036 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23037 (asin_towardzero_test_data): New variable.
23038 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23039 (asin_downward_test_data): New variable.
23040 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23041 (asin_upward_test_data): New variable.
23042 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23043 (asinh_test_data): New variable.
23044 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23045 (atan_test_data): New variable.
23046 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23047 (atanh_test_data): New variable.
23048 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23049 (cbrt_test_data): New variable.
23050 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23051 (ceil_test_data): New variable.
23052 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23053 (cos_test_data): New variable.
23054 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23055 (cos_tonearest_test_data): New variable.
23056 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23057 (cos_towardzero_test_data): New variable.
23058 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23059 (cos_downward_test_data): New variable.
23060 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23061 (cos_upward_test_data): New variable.
23062 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23063 (cosh_test_data): New variable.
23064 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23065 (cosh_tonearest_test_data): New variable.
23066 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23067 (cosh_towardzero_test_data): New variable.
23068 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23069 (cosh_downward_test_data): New variable.
23070 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23071 (cosh_upward_test_data): New variable.
23072 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23073 (erf_test_data): New variable.
23074 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23075 (erfc_test_data): New variable.
23076 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23077 (exp_test_data): New variable.
23078 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23079 (exp_tonearest_test_data): New variable.
23080 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23081 (exp_towardzero_test_data): New variable.
23082 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23083 (exp_downward_test_data): New variable.
23084 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23085 (exp_upward_test_data): New variable.
23086 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23087 (exp10_test_data): New variable.
23088 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23089 (exp2_test_data): New variable.
23090 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23091 (expm1_test_data): New variable.
23092 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23093 (fabs_test_data): New variable.
23094 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23095 (floor_test_data): New variable.
23096 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23097 (j0_test_data): New variable.
23098 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23099 (j1_test_data): New variable.
23100 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23101 (log_test_data): New variable.
23102 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23103 (log10_test_data): New variable.
23104 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23105 (log1p_test_data): New variable.
23106 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23107 (log2_test_data): New variable.
23108 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23109 (logb_test_data): New variable.
23110 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23111 (logb_downward_test_data): New variable.
23112 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23113 (nearbyint_test_data): New variable.
23114 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23115 (rint_test_data): New variable.
23116 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23117 (rint_tonearest_test_data): New variable.
23118 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23119 (rint_towardzero_test_data): New variable.
23120 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23121 (rint_downward_test_data): New variable.
23122 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23123 (rint_upward_test_data): New variable.
23124 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23125 (round_test_data): New variable.
23126 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23127 (sin_test_data): New variable.
23128 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23129 (sin_tonearest_test_data): New variable.
23130 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23131 (sin_towardzero_test_data): New variable.
23132 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23133 (sin_downward_test_data): New variable.
23134 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23135 (sin_upward_test_data): New variable.
23136 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23137 (sinh_test_data): New variable.
23138 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23139 (sinh_tonearest_test_data): New variable.
23140 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23141 (sinh_towardzero_test_data): New variable.
23142 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23143 (sinh_downward_test_data): New variable.
23144 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23145 (sinh_upward_test_data): New variable.
23146 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23147 (sqrt_test_data): New variable.
23148 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23149 (tan_test_data): New variable.
23150 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23151 (tan_tonearest_test_data): New variable.
23152 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23153 (tan_towardzero_test_data): New variable.
23154 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23155 (tan_downward_test_data): New variable.
23156 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23157 (tan_upward_test_data): New variable.
23158 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23159 (tanh_test_data): New variable.
23160 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23161 (tgamma_test_data): New variable.
23162 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23163 (trunc_test_data): New variable.
23164 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23165 (y0_test_data): New variable.
23166 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23167 (y1_test_data): New variable.
23168 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23169 (significand_test_data): New variable.
23170 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23171
7187d844
CG
231722013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23173
23174 [BZ #12387]
23175 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23176
f63fae73
PT
231772013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23178
23179 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23180
8a67a4b3
AJ
231812013-05-10 Andreas Jaeger <aj@suse.de>
23182
23183 [BZ #15448]
23184 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23185 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23186
51df539d
JM
231872013-05-10 Joseph Myers <joseph@codesourcery.com>
23188
23189 * math/gen-libm-test.pl (adjust_arg): New function.
23190 (special_functions): Handle generating output in both functions
23191 and arrays.
23192 (parse_args): Likewise.
23193 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23194 $in_func argument to parse_args.
23195 * math/libm-test.inc (struct test_f_f_data): New type.
23196 (IF_ROUND_INIT_): New macro.
23197 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23198 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23199 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23200 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23201 (ROUND_RESTORE_): Likewise.
23202 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23203 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23204 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23205 (ROUND_RESTORE_FE_UPWARD): Likewise.
23206 (RUN_TEST_LOOP_f_f): New macro.
23207 (acos_test_data): New variable.
23208 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23209 (acos_tonearest_test_data): New variable.
23210 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23211
5c637fe5
SP
232122013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23213
23214 * benchtests/bench-skeleton.c (startup): Fix coding style.
23215
ab2b9461
JM
232162013-05-10 Joseph Myers <joseph@codesourcery.com>
23217
23218 [BZ #6809]
23219 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23220 negative infinity argument.
23221 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23222 negative infinity argument.
23223 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23224 negative infinity argument.
23225 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23226 domain errors.
23227
4c0fe6fe
FW
232282013-05-10 Florian Weimer <fweimer@redhat.com>
23229
23230 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23231 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23232 * iconv/iconv_prog.c (main): Likewise.
23233 * locale/programs/charmap-dir.c (charmap_readdir)
23234 (fopen_uncompressed): Likewise.
23235 * locale/programs/locfile.c (siblings_uncached)
23236 (write_locale_data): Use lstat64 instead of lstat.
23237 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23238 stat.
23239
a3375d29
AJ
232402013-05-10 Andreas Jaeger <aj@suse.de>
23241
23242 [BZ #15395]
23243 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23244 localization.
23245 Include <locale.h>.
23246
36129722
CD
232472013-05-09 Carlos O'Donell <carlos@redhat.com>
23248
23249 * elf/dl-close.c (_dl_close_worker): Add comments.
23250
faa7f811
JM
232512013-05-09 Joseph Myers <joseph@codesourcery.com>
23252
ed41ffef
JM
23253 [BZ #15359]
23254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23255 high part of pi/2.
23256 (__ieee754_rem_pio2l): Update comments.
23257
d0213cd0
JM
23258 [BZ #15429]
23259 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23260 high part of pi/2.
23261 (__ieee754_rem_pio2l): Update comments.
23262
0d3e777a
JM
23263 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23264 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23265
24f56066
JM
23266 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23267 M_PI_4l.
23268
faa7f811
JM
23269 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23270 (M_PI_34_LOG10El): Likewise.
23271 (M_PI2_LOG10El): Likewise.
23272 (M_PI4_LOG10El): Likewise.
23273 (M_PI_LOG10El): Likewise.
23274
e9a5e0fd
AZ
232752013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23276
23277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23278
d8cd06db
JM
232792013-05-08 Joseph Myers <joseph@codesourcery.com>
23280
a0d9f9d7
JM
23281 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23282 (MINUS_ZERO_INIT): Likewise.
23283 (PLUS_INFTY_INIT): Likewise.
23284 (MINUS_INFTY_INIT): Likewise.
23285 (QNAN_VALUE_INIT): Likewise.
23286 (MAX_VALUE_INIT): Likewise.
23287 (MIN_VALUE_INIT): Likewise.
23288 (MIN_SUBNORM_VALUE_INIT): Likewise.
23289 (plus_zero): Initialize with PLUS_ZERO_INIT.
23290 (minus_zero): Initialize with MINUS_ZERO_INIT.
23291 (plus_infty): Initialize with PLUS_INFTY_INIT.
23292 (minus_infty): Initialize with MINUS_INFTY_INIT.
23293 (qnan_value): Initialize with QNAN_VALUE_INIT.
23294 (max_value): Initialize with MAX_VALUE_INIT.
23295 (min_value): Initialize with MIN_VALUE_INIT.
23296 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23297
ae08db3b
JM
23298 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23299 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23300 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23301 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23302
f44bf14a
JM
23303 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23304 (RUN_TEST_2_f): Likewise.
23305 (RUN_TEST_ff_f): Likewise.
23306 (RUN_TEST_fi_f): Likewise.
23307 (RUN_TEST_fl_f): Likewise.
23308 (RUN_TEST_fff_f): Likewise.
23309 (RUN_TEST_c_f): Likewise.
23310 (RUN_TEST_f_f1): Likewise.
23311 (RUN_TEST_fF_f1): Likewise.
23312 (RUN_TEST_fI_f1): Likewise.
23313 (RUN_TEST_ffI_f1): Likewise.
23314 (RUN_TEST_c_c): Likewise.
23315 (RUN_TEST_cc_c): Likewise.
23316 (RUN_TEST_f_i): Likewise.
23317 (RUN_TEST_f_i_tg): Likewise.
23318 (RUN_TEST_ff_i_tg): Likewise.
23319 (RUN_TEST_f_b): Likewise.
23320 (RUN_TEST_f_b_tg): Likewise.
23321 (RUN_TEST_f_l): Likewise.
23322 (RUN_TEST_f_L): Likewise.
23323 (RUN_TEST_sincos): Likewise.
23324 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23325 whether to show exceptions. Do not include ");\n" in return
23326 value.
23327 (special_functions): Output call to RUN_TEST_sincos instead of
23328 check_float calls. Update calls to new_test.
23329 (parse_args): Output call to single RUN_TEST_* macro instead of
23330 check_* calls and other assignments. Update calls to new_test.
23331
d8cd06db
JM
23332 [BZ #2546]
23333 [BZ #2560]
23334 [BZ #5159]
23335 [BZ #15426]
23336 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23337 input to result for tgamma overflow.
23338 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23339 (gamma_coeff): New variable.
23340 (NCOEFF): New macro.
23341 (gamma_positive): New function.
23342 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23343 underflow here. Use gamma_positive instead of exp (lgamma) for
23344 other arguments.
23345 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23346 (gamma_coeff): New variable.
23347 (NCOEFF): New macro.
23348 (gammaf_positive): New function.
23349 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23350 underflow here. Use gamma_positive instead of exp (lgamma) for
23351 other arguments.
23352 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23353 (gamma_coeff): New variable.
23354 (NCOEFF): New macro.
23355 (gammal_positive): New function.
23356 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23357 underflow here. Use gamma_positive instead of exp (lgamma) for
23358 other arguments.
23359 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23360 (gamma_coeff): New variable.
23361 (NCOEFF): New macro.
23362 (gammal_positive): New function.
23363 (__ieee754_gammal_r): Handle positive infinity, overflow and
23364 underflow here. Handle NaN the same as positive infinity. Remove
23365 check x < 0xffffffff for negative integers. Use gamma_positive
23366 instead of exp (lgamma) for other arguments.
23367 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23368 (gamma_coeff): New variable.
23369 (NCOEFF): New macro.
23370 (gammal_positive): New function.
23371 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23372 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23376 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23377 * sysdeps/generic/math_private.h (__gamma_productf): New
23378 prototype.
23379 (__gamma_product): Likewise.
23380 (__gamma_productl): Likewise.
23381 * math/Makefile (libm-calls): Add gamma_product.
23382 * math/libm-test.inc (tgamma_test): Add more tests.
23383 * sysdeps/i386/fpu/libm-test-ulps: Update.
23384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23385
bb7cf681
OB
233862013-05-08 Ondřej Bílka <neleai@seznam.cz>
23387
23388 * benchtests/bench-skeleton.c (main): Preheat CPU.
23389
ba853947
AJ
233902013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23391
23392 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23393
8347c74c
RM
233942013-05-07 Roland McGrath <roland@hack.frob.com>
23395
23396 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23397 and _dl_skip_args_internal.
23398
e8dd4791
CD
233992013-05-07 Carlos O'Donell <carlos@redhat.com>
23400
23401 * manual/message.texi (Message Translation): Talk about users.
23402 Message to key mapping impacts design.
23403
c7405830
RM
234042013-05-06 Roland McGrath <roland@hack.frob.com>
23405
a9173057
RM
23406 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23407
976e2f03
RM
23408 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23409
9723ffc5
RM
23410 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23411 * sysdeps/wordsize-64/glob64.c: ... here.
23412
962e6658
RM
23413 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23414 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23415 New macros.
23416
ee586a6d
RM
23417 * debug/getlogin_r_chk.c: Moved to ...
23418 * login/getlogin_r_chk.c: ... here.
23419 * debug/Makefile (routines): Move getlogin_r_chk to ...
23420 * login/Makefile (routines): ... here.
23421 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23422 * login/Versions (libc: GLIBC_2.4): ... here.
23423
355f9165
RM
23424 * io/poll.c (__poll): Renamed from poll.
23425 Add libc_hidden_def.
23426 (poll): Define as weak alias.
23427
bd9ffde6
RM
23428 * debug/ptsname_r_chk.c: Moved to ...
23429 * login/ptsname_r_chk.c: ... here.
23430 * debug/Makefile (routines): Move ptsname_r_chk to ...
23431 * login/Makefile (routines): ... here.
23432 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23433 * login/Versions (libc: GLIBC_2.4): ... here.
23434
8fb16a04
RM
23435 * posix/getlogin.c: Moved to ...
23436 * login/getlogin.c: ... here.
23437 * posix/getlogin_r.c: Moved to ...
23438 * login/getlogin_r.c: ... here.
23439 * posix/getlogin_r.c: Moved to ...
23440 * login/getlogin_r.c: ... here.
23441 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23442 * login/Makefile (routines): ... here.
23443 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23444 * login/Versions (libc: GLIBC_2.0): ... here.
23445
b99b892f
RM
23446 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23447 (setrlimit): Define as weak alias.
23448
c7405830
RM
23449 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23450 Call __ names for open, ftruncate, and close.
23451 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23452 (truncate): Define as weak alias.
23453
5bf96de5
JM
234542013-05-06 Joseph Myers <joseph@codesourcery.com>
23455
9ea3513c
JM
23456 * math/gen-libm-test.pl (parse_args): Initialize x before each
23457 test of frexp, modf and remquo.
23458
5bf96de5
JM
23459 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23460 test signgam value.
23461
16e616a7
AZ
234622013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23463
23464 [BZ #15418]
23465 [BZ #15419]
23466 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23467 internal tests.
23468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23469
d5e82754
RM
234702013-05-06 Roland McGrath <roland@hack.frob.com>
23471
23472 * elf/dl-writev.h: New file.
23473 * elf/dl-misc.c: Include it.
23474 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23475 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23476
a7548d41
JM
234772013-05-04 Joseph Myers <joseph@codesourcery.com>
23478
b7dab1e4
JM
23479 * math/libm-test.inc (noXFails): Remove variable.
23480 (noXPasses): Likewise.
23481 (BUILD_COMPLEX_INT): Remove macro.
23482 (print_screen): Remove xfail argument.
23483 (print_screen_max_error): Likewise.
23484 (update_stats): Likewise.
23485 (print_max_error): Likewise. Update calls to other affected
23486 functions.
23487 (print_complex_max_error): Likewise.
23488 (test_single_exception): Update calls to print_screen.
23489 (test_single_errno): Likewise.
23490 (check_float_internal): Remove xfail argument. Update calls to
23491 other affected functions.
23492 (check_float): Likewise.
23493 (check_complex): Likewise.
23494 (check_int): Likewise.
23495 (check_long): Likewise.
23496 (check_bool): Likewise.
23497 (check_longlong): Likewise.
23498 (main): Don't print noXFails and noXPasses.
23499 * math/gen-libm-test.pl (top level): Don't mention expected
23500 failure handling in comment.
23501 (new_test): Don't handle expected failures.
23502 (parse_args): Don't mention expected failure handling in comment.
23503 (generate_testfile): Don't handle expected failures.
23504 (parse_ulps): Likewise.
23505 (print_ulps_file): Likewise.
23506 (get_failure): Remove function.
23507 (output_test): Don't handle expected failures.
23508 * make/README.libm-test: Don't mention expected failure handling.
23509
a7548d41
JM
23510 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23511 (minus_zero): Likewise.
23512 (plus_infty): Likewise.
23513 (minus_infty): Likewise.
23514 (qnan_value): Likewise.
23515 (max_value): Likewise.
23516 (min_value): Likewise.
23517 (min_subnorm_value): Likewise.
23518 (initialize): Do not initialize those variables dynamically.
23519
60bfd54c
RM
235202013-05-03 Roland McGrath <roland@hack.frob.com>
23521
cc0e6ed8
RM
23522 * io/open.c (__open_2): Moved to ...
23523 * io/open_2.c: ... this new file.
23524 * io/open64.c (__open64_2): Moved to ...
23525 * io/open64_2.c: ... this new file.
23526 * io/openat.c (__openat_2): Moved to ...
23527 * io/openat_2.c: ... this new file.
23528 * io/openat64.c (__openat64_2): Moved to ...
23529 * io/openat64_2.c: ... this new file.
23530 * io/Makefile (routines): Add them.
23531 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23532 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23533 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23534 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23535 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23536 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23537 (__openat64): Add hidden_ver.
23538 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23539 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23540
60bfd54c
RM
23541 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23542 Separately conditionalize setting of GLRO(dl_sysinfo) so
23543 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23544 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23545
83e7640f
AZ
235462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23547
23548 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23549 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23550 definition.
23551 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23552 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23553 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23554 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23555 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23556
d5dc2af3
JM
235572013-05-03 Joseph Myers <joseph@codesourcery.com>
23558
c31a5b1e
JM
23559 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23560 test signgam value.
23561
d5dc2af3
JM
23562 * math/libm-test.inc (hypot_test): Do not use
23563 IGNORE_ZERO_INF_SIGN.
23564
164fd39d
AJ
235652013-05-03 Andreas Jaeger <aj@suse.de>
23566
23567 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23568 Linux 3.9.
23569 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23570 (PF_MAX): Adjust for VSOCK change.
23571
8237f48c
AZ
235722013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23573
23574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23575
9df02941
CD
235762013-05-02 Carlos O'Donell <carlos@redhat.com>
23577
23578 [BZ #15264]
23579 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23580 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23581 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23582
d422395e
DM
235832013-05-02 David S. Miller <davem@davemloft.net>
23584
23585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23586
a07c5731
OB
235872013-05-01 Ondřej Bílka <neleai@seznam.cz>
23588
23589 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23590
1324e37f
RM
235912013-05-01 Roland McGrath <roland@hack.frob.com>
23592
23593 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23594
0695940b
RS
235952013-05-01 Richard Smith <richard@metafoo.co.uk>
23596
bb5f27ad 23597 [BZ #14952]
0695940b
RS
23598 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23599 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23600 Use __attribute__ ((__gnu_inline__)).
23601 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23602 Don't use __attribute__ ((__gnu_inline__)).
23603
10de07f5
JM
236042013-05-01 Joseph Myers <joseph@codesourcery.com>
23605
23606 [BZ #15423]
23607 * math/s_catan.c (__catan): Handle small real or imaginary part of
23608 input specially to avoid spurious underflow.
23609 * math/s_catanf.c (__catanf): Likewise.
23610 * math/s_catanh.c (__catanh): Likewise.
23611 * math/s_catanhf.c (__catanhf): Likewise.
23612 * math/s_catanhl.c (__catanhl): Likewise.
23613 * math/s_catanl.c (__catanl): Likewise.
23614 * math/libm-test.inc (catan_test): Add more tests.
23615 (catanh_test): Likewise.
23616 * sysdeps/i386/fpu/libm-test-ulps: Update.
23617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23618
cb4d5414
AZ
236192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23620
23621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23622
caf84319
JM
236232013-04-30 Joseph Myers <joseph@codesourcery.com>
23624
23625 [BZ #15416]
23626 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23627 accurately for denominator in atan2.
23628 * math/s_catanf.c (__catanf): Likewise.
23629 * math/s_catanh.c (__catanh): Likewise.
23630 * math/s_catanhf.c (__catanhf): Likewise.
23631 * math/s_catanhl.c (__catanhl): Likewise.
23632 * math/s_catanl.c (__catanl): Likewise.
23633 * math/libm-test.inc (catan_test): Add more tests.
23634 (catanh_test): Likewise.
23635 * sysdeps/i386/fpu/libm-test-ulps: Update.
23636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23637
d569c6ee
SP
236382013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23639
6dbe713d
SP
23640 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23641
f0ee064b
SP
23642 * benchtests/Makefile (bench): Remove slow benchmarks.
23643 * benchtests/atan-inputs: Add slow benchmark inputs.
23644 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23645 (BENCH_FUNC): Accept variant offset.
23646 (VARIANT): Define.
23647 * benchtests/bench-skeleton.c (main): Run benchmark for each
23648 variant.
23649 * benchtests/cos-inputs: Add slow benchmark inputs.
23650 * benchtests/exp-inputs: Likewise.
23651 * benchtests/pow-inputs: Likewise.
23652 * benchtests/sin-inputs: Likewise.
23653 * benchtests/slowatan-inputs: Remove.
23654 * benchtests/slowatan.c: Remove.
23655 * benchtests/slowcos-inputs: Remove.
23656 * benchtests/slowcos.c: Remove.
23657 * benchtests/slowexp-inputs: Remove.
23658 * benchtests/slowexp.c: Remove.
23659 * benchtests/slowpow-inputs: Remove.
23660 * benchtests/slowpow.c: Remove.
23661 * benchtests/slowsin-inputs: Remove.
23662 * benchtests/slowsin.c: Remove.
23663 * benchtests/slowtan-inputs: Remove.
23664 * benchtests/slowtan.c: Remove.
23665 * benchtests/tan-inputs: Add slow benchmark inputs.
23666 * scripts/bench.pl: Parse comments and directives.
23667
d569c6ee
SP
23668 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23669 in CPPFLAGS.
23670 ($(objpfx)bench-%.c): Remove *-ITER.
23671 * benchtests/bench-modf.c: Remove definition of ITER.
23672 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23673 (main): Loop for DURATION seconds instead of fixed number of
23674 iterations.
23675 * scripts/bench.pl: Don't expect iterations in parameters.
23676
a6a242fe
RM
236772013-04-29 Roland McGrath <roland@hack.frob.com>
23678
23679 * io/fchdir.c (__fchdir): Renamed from fchdir.
23680 (fchdir): Define as weak alias.
23681
f2da7793
JM
236822013-04-29 Joseph Myers <joseph@codesourcery.com>
23683
23684 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23685 (ERRNO_EDOM): Likewise.
23686 (ERRNO_ERANGE): Likewise.
23687 (noErrnoTests): New variable.
23688 (init_max_error): Set errno to 0.
23689 (test_single_errno): New function.
23690 (test_errno): Likewise.
23691 (check_float_internal): Call test_errno. Set errno to 0.
23692 (check_complex): Refer to errno tests in comment.
23693 (check_int): Call test_errno. Set errno to 0.
23694 (check_long): Likewise.
23695 (check_bool): Likewise.
23696 (check_longlong): Likewise.
23697 (cos_test): Use ERRNO_* flags for errno tests instead of
23698 check_int.
23699 (expm1_test): Likewise.
23700 (fmod_test): Likewise.
23701 (ilogb_test): Likewise.
23702 (lgamma_test): Likewise.
23703 (pow_test): Likewise.
23704 (remainder_test): Likewise.
23705 (sin_test): Likewise.
23706 (tan_test): Likewise.
23707 (yn_test): Likewise.
23708 (initialize): Set errno to 0.
23709 (main): Print number of errno tests.
23710 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23711
b1a36ceb
AJ
237122013-04-29 Andreas Jaeger <aj@suse.de>
23713
c3ed8088
AJ
23714 [BZ #15084]
23715 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23716 and RES_USEVC.
23717
f1a24198
AJ
23718 [BZ #15085]
23719 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23720 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23721 unimplemented.
23722
9ce3b2cb
AJ
23723 [BZ #15380]
23724 * stdlib/random.c (__initstate): Return NULL if
23725 __initstate fails.
23726
f1a24198 23727 [BZ #15086]
b1a36ceb
AJ
23728 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23729 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23730 RES_SNGLKUPREOP.
23731
7e7b6f36
AZ
237322013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23733
23734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23735
4d14f449
JM
237362013-04-29 Joseph Myers <joseph@codesourcery.com>
23737
23738 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23739 of individual tests.
23740 (casin_test): Likewise.
23741 (casinh_test): Likewise.
23742
5b4217d7
JM
237432013-04-27 Joseph Myers <joseph@codesourcery.com>
23744
23745 [BZ #15409]
23746 * math/s_catan.c (__catan): Handle arguments with large real or
23747 imaginary part separately without squaring.
23748 * math/s_catanf.c (__catanf): Likewise.
23749 * math/s_catanh.c (__catanh): Likewise.
23750 * math/s_catanhf.c (__catanhf): Likewise.
23751 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23752 and redefine.
23753 (__catanhl): Handle arguments with large real or imaginary part
23754 separately without squaring.
23755 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23756 and redefine.
23757 (__catanl): Handle arguments with large real or imaginary part
23758 separately without squaring.
23759 * math/libm-test.inc (catan_test): Add more tests.
23760 (catanh_test): Likewise.
23761 * sysdeps/i386/fpu/libm-test-ulps: Update.
23762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23763
4220c3ef
AJ
237642013-04-27 Andreas Jaeger <aj@suse.de>
23765
23766 [BZ #15007]
23767 * stdlib/stdlib.h: Update guards for qecvt.
23768 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23769 <stdlib.h>.
23770
4721b2d1
AM
237712013-04-27 Allan McRae <allan@archlinux.org>
23772
23773 * sysdeps/i386/fpu/libm-test-ulps: Update.
23774
f0302940
JM
237752013-04-26 Joseph Myers <joseph@codesourcery.com>
23776
9457fd95
JM
23777 [BZ #15406]
23778 * math/s_catan.c: Include <float.h>.
23779 (__catan): Ensure underflow exception occurs for underflowed
23780 result.
23781 * math/s_catanf.c: Include <float.h>.
23782 (__catanf): Ensure underflow exception occurs for underflowed
23783 result.
23784 * math/s_catanh.c: Include <float.h>.
23785 (__catanh): Ensure underflow exception occurs for underflowed
23786 result.
23787 * math/s_catanhf.c: Include <float.h>.
23788 (__catanhf): Ensure underflow exception occurs for underflowed
23789 result.
23790 * math/s_catanhl.c: Include <float.h>.
23791 (__catanhl): Ensure underflow exception occurs for underflowed
23792 result.
23793 * math/s_catanl.c: Include <float.h>.
23794 (__catanl): Ensure underflow exception occurs for underflowed
23795 result.
23796 * math/libm-test.inc (catan_test): Add more tests.
23797 (catanh_test): Likewise.
23798
f0302940
JM
23799 [BZ #15405]
23800 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23801 underflowed result.
23802 * math/s_ccoshf.c (__ccoshf): Likewise.
23803 * math/s_ccoshl.c (__ccoshl): Likewise.
23804 * math/s_csin.c (__csin): Likewise.
23805 * math/s_csinf.c (__csinf): Likewise.
23806 * math/s_csinh.c (__csinh): Likewise.
23807 * math/s_csinhf.c (__csinhf): Likewise.
23808 * math/s_csinhl.c (__csinhl): Likewise.
23809 * math/s_csinl.c (__csinl): Likewise.
23810 * math/libm-test.inc (ccos_test): Add more tests.
23811 (ccosh_test): Likewise.
23812 (csin_test): Likewise.
23813 (csinh_test): Likewise.
23814
aa630f59
AZ
238152013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23816
23817 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23818 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23819 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23820 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23821 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23822 powerpc/power5+/fpu folders.
23823 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23824
23825
1b835983
MT
238262013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23827
23828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23829
73709b26
JM
238302013-04-25 Joseph Myers <joseph@codesourcery.com>
23831
23832 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23833 additions to variable.
23834 [$(config-machine) = x86_64] (modules-names): Likewise.
23835 ($(objpfx)tst-audit3): Remove dependency.
23836 ($(objpfx)tst-audit3.out): Likewise.
23837 ($(objpfx)tst-audit4): Likewise.
23838 ($(objpfx)tst-audit4.out): Likewise.
23839 ($(objpfx)tst-audit5): Likewise.
23840 ($(objpfx)tst-audit5.out): Likewise.
23841 ($(objpfx)tst-audit6): Likewise.
23842 ($(objpfx)tst-audit6.out): Likewise.
23843 ($(objpfx)tst-audit7): Likewise.
23844 ($(objpfx)tst-audit7.out): Likewise.
23845 (tst-audit3-ENV): Remove variable.
23846 (tst-audit4-ENV): Likewise.
23847 (tst-audit5-ENV): Likewise.
23848 (tst-audit6-ENV): Likewise.
23849 (tst-audit7-ENV): Likewise.
23850 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23851 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23852 addition to variable.
23853 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23854 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23855 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23856 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23857 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23858 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23859 tst-audit3, tst-audit4 and tst-audit5.
23860 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23861 tst-audit6 and tst-audit7.
23862 [$(subdir) = elf] (modules-names): Add audit modules for those
23863 tests.
23864 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23865 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23866 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23867 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23868 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23869 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23870 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23871 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23872 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23873 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23874 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23875 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23876 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23877 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23878 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23879 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23880 Likewise.
23881 [$(subdir) = elf && $(config-cflags-avx) = yes]
23882 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23883 [$(subdir) = elf && $(config-cflags-avx) = yes]
23884 (CFLAGS-tst-auditmod4a.c): Likewise.
23885 [$(subdir) = elf && $(config-cflags-avx) = yes]
23886 (CFLAGS-tst-auditmod4b.c): Likewise.
23887 [$(subdir) = elf && $(config-cflags-avx) = yes]
23888 (CFLAGS-tst-auditmod6b.c): Likewise.
23889 [$(subdir) = elf && $(config-cflags-avx) = yes]
23890 (CFLAGS-tst-auditmod6c.c): Likewise.
23891 [$(subdir) = elf && $(config-cflags-avx) = yes]
23892 (CFLAGS-tst-auditmod7b.c): Likewise.
23893 * elf/tst-audit3.c: Move to ...
23894 * sysdeps/x86_64/tst-audit3.c: ... here.
23895 * elf/tst-audit4.c: Move to ...
23896 * sysdeps/x86_64/tst-audit4.c: ... here.
23897 * elf/tst-audit5.c: Move to ...
23898 * sysdeps/x86_64/tst-audit5.c: ... here.
23899 * elf/tst-audit6.c: Move to ...
23900 * sysdeps/x86_64/tst-audit6.c: ... here.
23901 * elf/tst-audit7.c: Move to ...
23902 * sysdeps/x86_64/tst-audit7.c: ... here.
23903 * elf/tst-auditmod3a.c: Move to ...
23904 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23905 * elf/tst-auditmod3b.c: Move to ...
23906 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23907 * elf/tst-auditmod4a.c: Move to ...
23908 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23909 * elf/tst-auditmod4b.c: Move to ...
23910 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23911 * elf/tst-auditmod5a.c: Move to ...
23912 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23913 * elf/tst-auditmod5b.c: Move to ...
23914 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23915 * elf/tst-auditmod6a.c: Move to ...
23916 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23917 * elf/tst-auditmod6b.c: Move to ...
23918 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23919 * elf/tst-auditmod6c.c: Move to ...
23920 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23921 * elf/tst-auditmod7a.c: Move to ...
23922 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23923 * elf/tst-auditmod7b.c: Move to ...
23924 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23925
1ef74943
PP
239262013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23927
23928 [BZ #15366]
23929 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23930 define unconditionally.
23931 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23932 define unconditionally.
23933 (INT8_C, INT16_C, etc.): Likewise.
23934
93fd48c5
MR
239352013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23936
ae9552cf
MR
23937 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23938 __ehdr_start with hidden visibility.
23939
93fd48c5
MR
23940 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23941
418601aa
CD
239422013-04-24 Carlos O'Donell <carlos@redhat.com>
23943
23944 * math/libm-test.inc (cos_test): Use accurate hex constants.
23945 (sincost_test): Likewise.
23946
2f38fbfe
JM
239472013-04-24 Joseph Myers <joseph@codesourcery.com>
23948
5e221800
JM
23949 * math/libm-test.inc (catan_test): Add more tests.
23950 (catanh_test): Likewise.
23951
77f143fd
JM
23952 * math/s_catanf.c (__catanf): Use suffixed floating-point
23953 constants.
23954 * math/s_catanhf.c (__catanhf): Likewise.
23955 * math/s_catanhl.c (__catanhl): Likewise.
23956 * math/s_catanl.c (__catanl): Likewise.
23957
2f38fbfe
JM
23958 [BZ #15394]
23959 * math/s_catan.c (__catan): Calculate imaginary part of result
23960 with log1p not log unless computing log of number close to 0.
23961 * math/s_catanf.c (__catanf): Likewise.
23962 * math/s_catanl.c (__catanl): Likewise.
23963 * math/s_catanh.c (__catanh): Calculate real part of result with
23964 log1p not log unless computing log of number close to 0.
23965 * math/s_catanhf.c (__catanhf): Likewise.
23966 * math/s_catanhl.c (__catanhl): Likewise.
23967 * math/libm-test.inc (catan_test): Add more tests.
23968 (catanh_test): Likewise.
23969 * sysdeps/i386/fpu/libm-test-ulps: Update.
23970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23971
45d69176
SP
239722013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23973
23974 * benchtests/Makefile: Mention files in which fast and slow
23975 paths of math functions are implemented.
23976
87f51853
RM
239772013-04-23 Roland McGrath <roland@hack.frob.com>
23978
23979 * sysdeps/posix/timespec_get.c: New file.
23980
3c026539
AZ
239812013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23982
23983 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23984 POWER.
23985 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23986 for POWER.
23987 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23988 powerpc/power5/fpu folders.
23989 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23990 * benchtests/Makefile: Add modf testcase.
23991 * benchtests/bench-modf.c: New file: Benchmark test for mo
23992
ff491d14
SP
239932013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23994
23995 [BZ #14888]
23996 * time/Makefile (tests): Add tst-strptime-whitespace.
23997 * time/strptime_l.c (get_number): Use ISSPACE.
23998 (__strptime_internal): Likewise.
23999 * time/tst-strptime-whitespace.c: New test case.
24000
7ed3f4e8
AS
240012013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24002
24003 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24004 member.
24005 (_nss_files_init): Set it here.
24006
5c95f7b6
HC
240072013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24008
24009 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24010 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24011 unsigned.
24012
d34c9158
JBG
240132013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24014
24015 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24016
2169712d
SP
240172013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24018
24019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24020 size just once.
24021
29c5de99
DM
240222013-04-21 David S. Miller <davem@davemloft.net>
24023
24024 * po/ru.po: Update Russion translation from translation project.
24025
ccdad15d
AC
240262013-04-17 Adam Conrad <adconrad@0c3.net>
24027
24028 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24029 and setfsgid.
24030
0f122b8d
CD
240312013-04-17 Carlos O'Donell <carlos@redhat.com>
24032
5c5b07da 24033 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24034 * configure: Regenerate.
5c5b07da 24035 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24036 Add example to error message.
24037 * sysdeps/i386/configure: Regenerate.
24038
037714dd
SP
240392013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24040
24041 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24042 slowtan.
24043 * benchtests/cos-inputs: New file.
24044 * benchtests/slowcos-inputs: New file.
24045 * benchtests/slowcos.c: New file.
24046 * benchtests/slowtan-inputs: New file.
24047 * benchtests/slowtan.c: New file.
24048 * benchtests/tan-inputs: New file.
24049
e913141d
RM
240502013-04-16 Roland McGrath <roland@hack.frob.com>
24051
24052 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24053 considered kosher.
24054
a2964074
SP
240552013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24056
4856bcd2
SP
24057 * benchtests/Makefile: Include cppflags-iterator.mk to add
24058 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24059
a2964074
SP
24060 * Makefile.in (bench-clean): New target.
24061 * benchtests/Makefile (bench-clean): Likewise.
24062
9fbf9aca
DH
240632013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24064
24065 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24066
207d1e2a
TS
240672013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24068
24069 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24070
306dfba9
AS
240712013-04-15 Andreas Schwab <schwab@suse.de>
24072
24073 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24074 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24075 * nscd/pwdcache.c (cache_addpw): Likewise.
24076 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24077 more than recsize.
24078
206a6699
SP
240792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24080
24081 * benchtests/Makefile (bench): Write all output to
24082 bench-out.tmp together.
24083
0582f6b3
AS
240842013-04-15 Andreas Schwab <schwab@suse.de>
24085
24086 * nscd/nscd.c (main): Don't fork again after closing files.
24087
acb4325f
SP
240882013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24089
5cb26d0a
SP
24090 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24091
acb4325f
SP
24092 * benchtests/Rules (bench-deps): Collect dependencies into a
24093 single variable. Add Makefile to dependencies.
24094 ($(objpfx)bench-%.c): Depend on bench-deps.
24095
47792506
RM
240962013-04-12 Roland McGrath <roland@hack.frob.com>
24097 Xavier Roche <roche+kml2@exalead.com>
24098
24099 [BZ #15361]
24100 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24101 just that it's a file descriptor.
24102 * manual/llio.texi (Synchronizing AIO Operations): Update description
24103 for EBADF error from aio_fsync.
24104
8fc1bee5
SP
241052013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24106
24107 * Rules (bench): Move target definition...
24108 * benchtests/Makefile: ... here.
24109
aba5e333
CD
241102013-04-11 Carlos O'Donell <carlos@redhat.com>
24111
24112 * math/libm-test.inc (cos_test): Fix PI/2 test.
24113 (sincos_test): Likewise.
24114 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24115 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24116
273cdee8
AS
241172013-04-11 Andreas Schwab <schwab@suse.de>
24118
6ecec3b6
AS
24119 [BZ #13988]
24120 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24121 accept exponent character only when digits were seen.
24122 * stdio-common/Makefile (tests): Add bug26.
24123 * stdio-common/bug26.c: New file.
24124
273cdee8
AS
24125 [BZ #14293]
24126 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24127 non-freeable.
24128
8da491f5
SP
241292013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24130
01dc6df9
SP
24131 * Makeconfig (rtld-prefix): Define built linker prefix.
24132 * Rules (run-bench): Use it.
24133 * math/Makefile (run-regen-ulps): Likewise.
24134
8da491f5
SP
24135 * Rules (bench): Remove eval.
24136
abe7f530
SP
241372013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24138 Roland McGrath <roland@hack.frob.com>
24139 Ondrej Bilka <neleai@seznam.cz>
24140
24141 [BZ #15346]
24142 * time/getdate.c: Include ctype.h and alloca.h.
24143 (__getdate_r): Trim leading and trailing spaces of input.
24144 * time/tst-getdate.c (tests): Add tests with leading and
24145 trailing spaces.
24146
61c23e62
RM
241472013-04-08 Roland McGrath <roland@hack.frob.com>
24148
24149 [BZ #14280]
24150 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24151 when computing value.
24152
7208a313
CD
241532013-04-06 Carlos O'Donell <carlos@redhat.com>
24154
085b2d41
CD
24155 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24156 Use testrun.sh to run libm tests.
24157
7208a313
CD
24158 [BZ #15309]
24159 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24160
872c0acd
MM
241612013-04-06 Marko Myllynen <myllynen@redhat.com>
24162
24163 [BZ #15264]
24164 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24165
26510bdd
CD
241662013-04-06 Carlos O'Donell <carlos@redhat.com>
24167
24168 * Makefile.in (regen-ulps): New target.
24169 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24170 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24171 [ifneq (no,$(PERL)] (regen-ulps): New target.
24172 [ifeq (no,$(PERL)] (regen-ulps): New target.
24173 * math/libm-test.inc (ulps_file_name): Define.
24174 (output_dir): New variable.
24175 (options): Add "output-dir" option.
24176 (parse_opt): Handle 'o' case.
24177 (main): If output_dir is non-NULL use it as a prefix
24178 otherwise use "".
24179 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24180
a01f19c8
CD
241812013-04-06 Carlos O'Donell <carlos@redhat.com>
24182
24183 [BZ #10060, #10062]
24184 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24185 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24186 fail configure if __sync_val_compare_and_swap is not inlined.
24187 * sysdeps/i386/configure: Regenerate.
24188 * configure.in: Build for i686 when configured for i386.
24189 * configure: Regenerate.
24190 * README: Remove i386 reference.
24191
b7a329a5
CD
241922013-04-06 Carlos O'Donell <carlos@redhat.com>
24193
24194 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24196
bf0f50df
TS
241972013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24198
ee091edf
TS
24199 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24200 (lmsnanval): New variables.
24201 (F): Add conversion tests.
24202 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24203 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24204
a8b792d6
TS
24205 * stdio-common/tstdiomisc.c (F): Properly collect individual
24206 tests' results.
24207
a1cbf437
TS
24208 [BZ #14686, #15336]
24209 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24210 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24211 Instead, use input NaN values or generate a qNaN by arithmetic
24212 operation. Also fix bugs to comply with the standard.
24213 * math/libm-test.inc (remainder_test): Add more tests.
24214
8b43a0c9
TS
24215 [BZ #15335, #15342]
24216 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24218 input NaN values or generate a qNaN by arithmetic operation.
24219
d91da4ce
TS
24220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24221 unreachable code.
24222
bf0f50df
TS
24223 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24224 definitions.
24225
05e166c8
JM
242262013-04-03 Joseph Myers <joseph@codesourcery.com>
24227
24228 [BZ #14478]
24229 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24230 underflowed result.
24231 * math/s_cexpf.c (__cexpf): Likewise.
24232 * math/s_cexpl.c (__cexpl): Likewise.
24233 * math/libm-test.inc (cexp_test): Add more tests.
24234
1cef1b19
AS
242352013-04-03 Andreas Schwab <schwab@suse.de>
24236
24237 [BZ #15330]
24238 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24239 order arrays from heap if bigger than alloca cutoff.
24240
74d87055
TS
242412013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24242
24243 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24244 (SNAN_TESTS_double): Refer to GCC PR56831.
24245 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24246 GCC PR56828.
24247
d755bba4
SP
242482013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24249
90d5d5bb
SP
24250 * Rules (bench): Move bench.out after the run is complete.
24251
73e0cd5d
SP
24252 * Rules (bench): Echo currently running benchmark.
24253
64aabd4b
SP
24254 * benchtests/Makefile (bench): Add atan and slowatan.
24255 * benchtests/atan-inputs: New file.
24256 * benchtests/slowatan-inputs: New file.
24257 * benchtests/slowatan.c: New file.
24258
c871eccd
SP
24259 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24261 its value.
24262
d755bba4
SP
24263 [BZ #15305]
24264 * sysdeps/unix/sysv/linux/kernel-features.h
24265 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24266 __ASSUME_XFS_RESTRICTED_CHOWN.
24267 * sysdeps/unix/sysv/linux/pathconf.c
24268 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24269 Save and restore errno.
24270
52ce4860
JM
242712013-04-02 Joseph Myers <joseph@codesourcery.com>
24272
24273 [BZ #15327]
24274 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24275 arguments using __kernel_casinh.
24276 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24277 arguments using __kernel_casinhf.
24278 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24279 arguments using __kernel_casinhl.
24280 * math/libm-test.inc (cacosh_test): Add more tests.
24281 * sysdeps/i386/fpu/libm-test-ulps: Update.
24282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24283
81f311c2
SP
242842013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24285
e7906a47
SP
24286 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24288
92e3664b
SP
24289 * bench/Makefile (bench): Add sin and slowsin.
24290 * benchtests/sin-inputs: New file.
24291 * benchtests/slowsin-inputs: New file.
24292 * benchtests/slowsin.c: New file.
24293
81f311c2
SP
24294 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24295 (bench): Add slowexp and slowpow.
24296 (exp-ITER): Increase iterations.
24297 (pow-ITER): Likewise.
24298 * benchtests/exp-inputs: Change input.
24299 * benchtests/pow-inputs: Likewise.
24300 * benchtests/slowexp-inputs: New file.
24301 * benchtests/slowexp.c: New file.
24302 * benchtests/slowpow-inputs: New file.
24303 * benchtests/slowpow.c: New file.
24304
ab0f1aa9
AZ
243052013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24306
24307 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24308 instructions.
24309 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24310 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24311 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24312 * benchtests/Makefile: Add rint benchtest.
24313 * benchtests/rint-inputs: Input for rint benchtest.
24314
57267616
TS
243152013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24316
24317 * Versions.def (libm): Add GLIBC_2.18.
24318 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24319 hidden libm prototypes.
24320 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24321 * math/Makefile (libm-calls): Add s_issignaling.
24322 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24323 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24324 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24325 declaration.
24326 * math/math.h [__USE_GNU] (issignaling): New macro.
24327 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24328 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24329 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24330 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24333 * manual/arith.texi (issignaling): New section.
24334 * manual/libm-err-tab.pl (@all_functions): Update comment.
24335 * math/gen-libm-test.pl (parse_args): Apply special handling for
24336 issignaling.
24337 * math/libm-test.inc (print_float, issignaling_test): New
24338 functions.
24339 (check_float_internal): Add issignaling checks.
24340 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24341 default definition.
24342 * sysdeps/powerpc/math-tests.h: New file.
24343 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24344 tests.
24345 * math/test-snan.c (TEST_FUNC): Likewise.
24346
6142896d
DM
243472013-03-30 David S. Miller <davem@davemloft.net>
24348
24349 * po/de.po: Update from translation team.
24350
ccc8cadf
JM
243512013-03-30 Joseph Myers <joseph@codesourcery.com>
24352
24353 [BZ #10357]
24354 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24355 imaginary part less than 1.0 and real part less than 0.5
24356 specially.
24357 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24358 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24359 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24360 (cacos_test): Add more tests.
24361 (casin_test): Likewise.
24362 (casinh_test): Likewise.
24363 * sysdeps/i386/fpu/libm-test-ulps: Update.
24364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24365
0f6a8d4b
SP
243662013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24367
0d1029de
SP
24368 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24369 ONE with its value.
24370
c2d94018
SP
24371 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24372 (__pow_mp): Replace ONE and MONE with their values.
24373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24374 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24375 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24376 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24377 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24378 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24379
27ec37f1
SP
24380 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24381
a64d7e0e
SP
24382 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24383 (__pow_mp): Replace ZERO and MZERO with their values.
24384 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24385 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24386 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24388 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24389 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24390 (__sqr): Likewise.
24391
d26dd3eb
SP
24392 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24393
0f6a8d4b
SP
24394 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24395
e57b0c61
RM
243962013-03-28 Roland McGrath <roland@hack.frob.com>
24397
24398 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24399 Declare with __attribute__ ((weak)).
24400 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24401 Call __call_tls_dtors only if it's not NULL.
24402
356b3480
RM
244032013-03-28 Roland McGrath <roland@hack.frob.com>
24404
288f7d79
RM
24405 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24406 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24407 magic __ehdr_start linker symbol if it's defined.
24408 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24409 them up here if it was already done.
24410
dc0a0263
RM
24411 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24412 (_dl_aux_init): Use const in cast when setting it.
24413 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24414 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24415 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24416
3d3436ae
RM
24417 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24418 Declare them here.
24419 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24420 * csu/libc-tls.c: Nor here.
24421 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24422
356b3480
RM
24423 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24424 (__libc_message): Never call vsyslog.
24425
b0f1246a
AM
244262013-03-28 Alan Modra <amodra@gmail.com>
24427
24428 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24429 Define as empty.
24430 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24431 Likewise.
24432
fbbe2b9a
AZ
244332013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24434
24435 [BZ #15214]
24436 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24437 underflow.
24438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24439
1728ab37
SP
244402013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24441
7a86be6e
SP
24442 [BZ #15304]
24443 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24444 Don't add gid passed as argument.
24445
1728ab37
SP
24446 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24447
3a7182a1
JM
244482013-03-27 Joseph Myers <joseph@codesourcery.com>
24449
24450 [BZ #15307]
24451 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24452 imaginary part between 1.0 and 1.5 and real part less than 0.5
24453 specially.
24454 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24455 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24456 * math/libm-test.inc (cacos_test): Add more tests.
24457 (casin_test): Likewise.
24458 (casinh_test): Likewise.
24459 * sysdeps/i386/fpu/libm-test-ulps: Update.
24460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24461
6f2e90e7
SP
244622013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24463
5739f705
SP
24464 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24465 constants.
24466 (norm): Likewise.
24467 (denorm): Likewise.
24468 (__dbl_mp): Likewise.
24469 (add_magnitudes): Likewise.
24470 (sub_magnitudes): Likewise.
24471 (__add): Likewise.
24472 (__sub): Likewise.
24473 (__mul): Likewise.
24474 (__sqr): Likewise.
24475 (__inv): Likewise.
24476 (__dvd): Likewise.
24477
e375e83d
SP
24478 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24479 commented code.
24480 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24481 (__dubcos): Likewise.
24482 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24483 (__ieee754_acos): Likewise.
24484 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24485 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24486 (__exp1): Likewise.
24487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24489 (log1): Likewise.
24490 (my_log2): Likewise.
24491 (checkint): Likewise.
24492 * sysdeps/ieee754/dbl-64/e_remainder.c
24493 (__ieee754_remainder): Likewise.
24494 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24495 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24496 (bsloww): Likewise.
24497 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24498
6f2e90e7
SP
24499 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24500 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24501 MANTISSA_STORE_T to store computations on mantissa. Use
24502 macros for rounding and division.
24503 (denorm): Likewise.
24504 (__dbl_mp): Likewise.
24505 (add_magnitudes): Likewise.
24506 (sub_magnitudes): Likewise.
24507 (__mul): Likewise.
24508 (__sqr): Likewise.
24509 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24510 powers of two in terms of TWOPOW macro.
24511 (mp_no): Make type of mantissa as MANTISSA_T.
24512 [!RADIXI]: Define RADIXI.
24513 [!TWO52]: Define TWO52.
24514 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24515
fce14d4e
AZ
245162013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24517
24518 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24519 llroundl symbol when building for PPC32.
24520
9ad027fb
MW
245212013-03-24 Mark H Weaver <mhw@netris.org>
24522
24523 * manual/arith.texi (Normalization Functions): Fix prototypes for
24524 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24525
e42a38dd
AZ
245262013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24527
24528 [BZ #13889]
24529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24530 high value to check if expl overflow.
24531 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24532 to check for underflow and overflow.
24533 * math/libm-test.inc: Add exp test.
24534
2e0fb521
DL
245352013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24536
24537 [BZ #11120]
24538 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24539 with NOT_IN_libc.
24540
b5784d95
AZ
245412013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24542
24543 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24544 symbol.
24545
5aa4a1a1
TS
245462013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24547
bdef0be7
TS
24548 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24549 wrap blocks consisting of several statements.
24550
5aa4a1a1
TS
24551 * sysdeps/generic/math-tests.h: New file.
24552 * sysdeps/i386/fpu/math-tests.h: Likewise.
24553 * math/test-snan.c: Include it.
24554 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24555
98c48fe5
JM
245562013-03-21 Joseph Myers <joseph@codesourcery.com>
24557
24558 [BZ #15285]
24559 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24560 (__ieee754_j0l): Do not improve calculations using cos of twice
24561 input for inputs above LDBL_MAX / 2.0L.
24562 (__ieee754_y0l): Likewise.
24563 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24564 (__ieee754_j1l): Do not improve calculations using cos of twice
24565 input for inputs above LDBL_MAX / 2.0L.
24566 (__ieee754_y1l): Likewise.
24567 * math/libm-test.inc (j0_test): Add another test.
24568 (j1_test): Likewise.
24569 (y0_test): Likewise.
24570 (y1_test): Likewise.
24571 * sysdeps/i386/fpu/libm-test-ulps: Update.
24572
3775a8bc
SP
245732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24574
24575 * Rules ($(objpfx)bench-%.c): Include code from a C source
24576 file.
24577
0a1b2ae6
JM
245782013-03-21 Joseph Myers <joseph@codesourcery.com>
24579
24580 [BZ #15287]
24581 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24582 imaginary part 1.0 and real part less than 0.5 specially.
24583 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24584 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24585 * math/libm-test.inc (cacos_test): Add more tests.
24586 (casin_test): Likewise.
24587 (casinh_test): Likewise.
24588 * sysdeps/i386/fpu/libm-test-ulps: Update.
24589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24590
b33d4ce4
SP
245912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24592
24593 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24594 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24595
bef0b507
JM
245962013-03-20 Joseph Myers <joseph@codesourcery.com>
24597
24598 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24599 * config.make.in (config-cflags-sse4): Remove variable.
24600 (config-cflags-avx): Likewise.
24601 (config-cflags-sse2avx): Likewise.
24602 (config-cflags-novzeroupper): Likewise.
24603 (config-asflags-i686): Likewise.
24604 (have-mfma4): Likewise.
24605 (have-as-vis3): Likewise.
24606 (MIG): Likewise.
24607 * configure.in (MIG): Do not AC_SUBST.
24608 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24609 (libc_cv_cc_sse4): Do not AC_SUBST.
24610 (libc_cv_cc_avx): Likewise.
24611 (libc_cv_cc_sse2avx): Likewise.
24612 (libc_cv_cc_novzeroupper): Likewise.
24613 (libc_cv_cc_fma4): Likewise.
24614 (libc_cv_as_i686): Likewise.
24615 (libc_cv_sparc_as_vis3): Likewise.
24616 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24617 LIBC_CONFIG_VAR.
24618 (config-asflags-i686): Likewise.
24619 (config-cflags-avx): Likewise.
24620 (config-cflags-sse2avx): Likewise.
24621 (have-mfma4): Likewise.
24622 (config-cflags-novzeroupper): Likewise.
24623 * sysdeps/mach/configure.in (MIG): Likewise.
24624 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24625 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24626 LIBC_CONFIG_VAR.
24627 (config-cflags-avx): Likewise.
24628 (config-cflags-sse2avx): Likewise.
24629 (have-mfma4): Likewise.
24630 (config-cflags-novzeroupper): Likewise.
24631 * configure: Regenerated.
24632 * sysdeps/i386/configure: Likewise.
24633 * sysdeps/mach/configure: Likewise.
24634 * sysdeps/sparc/configure: Likewise.
24635 * sysdeps/x86_64/configure: Likewise.
24636
912cc4b3
RM
246372013-03-20 Roland McGrath <roland@hack.frob.com>
24638
24639 [BZ #14812]
24640 * locale/programs/localedef.c (options): Put N_ translation marker
24641 on argument names, not just descriptions.
24642
04eed2b0
MS
246432013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24644
24645 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24646
a065ceff
OB
246472013-03-20 Ondřej Bílka <neleai@seznam.cz>
24648
9bb2a810 24649 [BZ #14176]
a065ceff
OB
24650 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24651
a600e5ce
RM
246522013-03-19 Roland McGrath <roland@hack.frob.com>
24653
24654 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24655 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24656 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24657 [!BEFORE_ABORT] (before_abort): New function.
24658 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24659 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24660 (writev_for_fatal): New function.
24661 (WRITEV_FOR_FATAL): New macro; call that.
24662 (backtrace_and_maps): New function.
24663 (BEFORE_ABORT): New macro; call that.
24664 (struct str_list): Type removed.
24665 (__libc_message, __libc_fatal): Functions removed.
24666 Include <sysdeps/posix/libc_fatal.c> instead.
24667
6b18bea6
JM
246682013-03-19 Joseph Myers <joseph@codesourcery.com>
24669
24670 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24671 constants.
24672 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24673 double constants.
24674
aaa8cb4b
AS
246752013-03-19 Andreas Schwab <schwab@suse.de>
24676
44673770
AS
24677 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24678 * sysdeps/gnu/configure: Regenerate.
24679
aaa8cb4b
AS
24680 * configure.in: Substitute libc_cv_rtlddir.
24681 * configure: Regenerate.
24682 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24683 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24684 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24685 * elf/Makefile (install-others, CFLAGS-interp.c)
24686 (ldso_install, common-ldd-rewrite): Likewise.
24687 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24688 $(inst_slibdir)/$(rtld-installed-name).
24689 * scripts/rellns-sh: Add -p option.
24690 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24691 for source.
24692
d3cfc668
SP
246932013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24694
24695 * manual/nptl.texi: Renamed to ...
24696 * manual/threads.texi: ... this.
24697 * manual/Makefile (chapters): Update.
24698
0e2b9cdd
RM
246992013-03-18 Roland McGrath <roland@hack.frob.com>
24700
24701 [BZ #14812]
24702 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24703 on argument names, not just descriptions.
0e2b9cdd
RM
24704 * malloc/memusagestat.c (options): Likewise.
24705 * nss/getent.c (options): Likewise.
63270c24
RM
24706
247072013-03-18 Benno Schulenberg <bensberg@justemail.net>
24708
24709 [BZ #14812]
24710 * iconv/iconv_prog.c (options): Put N_ translation marker
24711 on argument names, not just descriptions.
24712 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24713
b2e1393c
OB
247142013-03-18 Ondrej Bilka <neleai@seznam.cz>
24715
24716 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24717 implementation which is faster on all x86_64 architectures.
24718 Tested on AMD, Intel Nehalem, SNB, IVB.
24719 * sysdeps/x86_64/strnlen.S: Likewise.
24720
24721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24722 Remove all multiarch strlen and strnlen versions.
24723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24724 Remove strlen and strnlen related parts.
24725
24726 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24727 Inline strlen part.
24728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24729
24730 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24731 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24732 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24733 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24734 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24735 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24736
ec4ff04d
CD
247372013-03-17 Carlos O'Donell <carlos@redhat.com>
24738
24739 * manual/memory.texi (Malloc Tunable Parameters):
24740 Sort parameters alphabetically. Add comments for missing entries.
24741
cd18e90a
DM
247422013-03-17 David S. Miller <davem@davemloft.net>
24743
24744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24745
2a185d32
JM
247462013-03-16 Joseph Myers <joseph@codesourcery.com>
24747
d2f9799e
JM
24748 [BZ #15283]
24749 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24750 for arguments at most half maximum finite value.
24751 * math/libm-test.inc (j0_test): Add more tests.
24752 (j1_test): Likewise.
24753 (y0_test): Likewise.
24754 (y1_test): Likewise.
24755 * sysdeps/i386/fpu/libm-test-ulps: Update.
24756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24757
2a185d32
JM
24758 [BZ #14155]
24759 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24760 1 / x and functions P and Q for arguments above 0x1p256L.
24761 (__ieee754_y0l): Likewise.
24762 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24763 (__ieee754_y1l): Likewise.
24764 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24765 (j1_test): Likewise.
24766 (y0_test): Likewise.
24767 (y1_test): Likewise.
24768
6cbec759
TS
247692013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24770
24771 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24772 variable.
24773
bc16e260
RM
247742013-03-15 Roland McGrath <roland@hack.frob.com>
24775
aefc9b8c
RM
24776 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24777 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24778 zero since it's initialized to EXEC_PAGESIZE.
24779
bc16e260
RM
24780 * sysdeps/unix/sysv/linux/ldsodefs.h
24781 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24782 * sysdeps/generic/ldsodefs.h: ... here.
24783
a57da955
TS
247842013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24785
af00a34d
TS
24786 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24787
495ded2c
TS
24788 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24789 math/test-snan.c.
24790 * math/test-snan.c: Renamed from
24791 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24792 * math/Makefile (tests): Add test-snan.
24793 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24794 test-powerpc-snan.
24795
777b0332
TS
24796 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24797 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24798 functions.
24799 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24800 __builtin_nan family of functions.
24801 * math/libm-test.inc (initialize): Initialize qnan_value with
24802 __builtin_nan family of functions.
24803 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24804 Remove variables.
24805 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24806 Remove functions.
24807 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24808 storage class. Initialize qNaN_var and sNaN_var with
24809 __builtin_nan and __builtin_nans families of functions,
24810 respectively.
24811
64d063b8
TS
24812 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24813 (sqrt_test): Remove duplicate test with qNaN input.
24814 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24815 (round_test, signbit_test, significand_test): Note missing +/-Inf
24816 as well as qNaN tests.
24817
67e971f1
TS
24818 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24819 qNaN_var. Fix a few strings, too.
24820 * math/libm-test.inc (nan_value): Rename to qnan_value.
24821 * math/gen-libm-test.pl (%beautify): Adjust to that.
24822 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24823 * math/test-misc.c (main): Likewise.
24824 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24825 to __qnan_bytes, and __qnan_union, respectively.
24826 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24827 Likewise.
24828 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24829 and lqnanval, respectively.
24830 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24831 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24832 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24833 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24834
64487e12
TS
24835 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24836 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24837 doubles.
24838
e015e27b
TS
24839 * math/test-misc.c (main): Fix copy'n'pastos.
24840 * misc/tst-efgcvt.c (special): Likewise.
24841
a57da955
TS
24842 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24843 Remove declarations.
24844
1e380345
SP
248452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24846
24847 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24848 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24849 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24850 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24851
ef26eece
AZ
248522013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24853
24854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24855 macro to return vdso values correctly in IFUNC implementations.
24856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24857 Optimization by using IFUNC.
24858
8cfdb7e0
SP
248592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24860 Richard Henderson <rth@redhat.com>
24861 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24862
24863 * Makefile.in (bench): New target.
24864 * NEWS: Mention the benchmark framework.
24865 * Rules (bench): Likewise.
24866 (binaries-bench): Generate binaries for functions to
24867 benchmark.
24868 * benchtests/Makefile: New makefile for benchmark tests.
24869 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24870 programs.
24871 * benchtests/exp-inputs: New input file for EXP function.
24872 * benchtests/pow-inputs: New input file for POW function.
24873 * scripts/bench.pl: New script to generate source files for
24874 benchmark programs.
24875
bcda9880
SP
248762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24877
d22ca8cd
SP
24878 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24879 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24880 computations on mantissa. Use macros for rounding and
24881 division.
24882 (denorm): Likewise.
24883 (__dbl_mp): Likewise.
24884 (add_magnitudes): Likewise.
24885 (sub_magnitudes): Likewise.
24886 (__mul): Likewise.
24887 (__sqr): Likewise.
24888 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24889 powers of two in terms of TWOPOW macro.
24890 (mp_no): Make type of mantissa as MANTISSA_T.
24891 [!RADIXI]: Define RADIXI.
24892 [!TWO52]: Define TWO52.
24893 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24894
bcda9880
SP
24895 * manual/nptl.texi (cindex): Modify threads to pthreads.
24896
06d5adfb
JM
248972013-03-15 Joseph Myers <joseph@codesourcery.com>
24898
24899 * sysdeps/x86_64/preconfigure: Regenerated.
24900
41c7328e
JM
249012013-03-14 Joseph Myers <joseph@codesourcery.com>
24902
24903 [BZ #14155]
24904 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24905 0x1p28 and above.
24906 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24907 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24908 0x1p28 and above.
24909 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24910 * math/libm-test.inc (j0_test): Do not allow one spurious
24911 underflow exception.
24912 (y1_test): Likewise.
24913
e25cfa60
SP
249142013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24915
0409959c
SP
24916 * manual/Makefile (chapters): Add nptl.
24917 * manual/debug.texi (Debugging Support): Add link to Threads
24918 chapter.
24919 * manual/nptl.texi: New file.
24920
e25cfa60
SP
24921 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24922
58a1335e
PB
249232013-03-14 Petr Baudis <pasky@ucw.cz>
24924
24925 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24926 for non-NULL pointer before the memory validity test. Pointed
24927 out by Holger Brunck <holger.brunck@keymile.com>.
24928
9dc7c64f
AS
249292013-03-13 Andreas Schwab <schwab@suse.de>
24930
24931 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24932 instead of .os.
24933
54206aa6
JM
249342013-03-13 Joseph Myers <joseph@codesourcery.com>
24935
24936 * timezone/zic.c: Update from tzcode 2013b.
24937
e98cdb38
CD
249382013-03-12 Carlos O'Donell <carlos@redhat.com>
24939
24940 * manual/install.texi (Configuring and compiling):
24941 Mention i686 and i586.
24942 * INSTALL: Regenerate.
24943
9967e003
RM
249442013-03-12 Roland McGrath <roland@hack.frob.com>
24945
24946 * sysdeps/init_array/elf-init.c: New file.
24947 * csu/elf-init.c
24948 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24949 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24950
24951 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24952 __gmon_start__ as global, but as static with a .preinit_array pointer.
24953 * sysdeps/init_array/gmon-start.c: New file. Use that.
24954 * sysdeps/init_array/crti.S: New file, empty except for comments.
24955 * sysdeps/init_array/crtn.S: Likewise.
24956
e6b5a293 249572013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24958
24959 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24960 definining bcopy.
80f844c9
OB
24961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24962 Remove Prefer_SSE_for_memop.
24963 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24964 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24965 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24967 memset-x86-64.
80f844c9 24968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24969 Remove bzero, memset ifunc support.
80f844c9
OB
24970 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24971 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24972 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24973 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24974
fb6b0fcb
AS
249752013-03-11 Andreas Schwab <schwab@suse.de>
24976
24977 [BZ #15234]
24978 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24979 by SHLIB_COMPAT.
24980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24981 (GLIBC_2.16): Remove pthread_atfork.
24982
3e6bd4b1
PP
249832013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24984
24985 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24986 (ptestcases.h): Likewise.
24987
222d7f00
RM
249882013-03-08 Roland McGrath <roland@hack.frob.com>
24989
24990 * Makeconfig ($(common-objpfx)config.status): Depend on
24991 sysdeps/*/preconfigure{,.in} too.
24992
1ba4f030
JM
249932013-03-08 Joseph Myers <joseph@codesourcery.com>
24994
a222d91a
JM
24995 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24996 (__free_hook): Use void * instead of __malloc_ptr_t.
24997 (__malloc_hook): Likewise.
24998 (__realloc_hook): Likewise.
24999 (__memalign_hook): Likewise.
25000 (__after_morecore_hook): Likewise.
25001 * malloc/arena.c (save_malloc_hook): Likewise.
25002 (save_free_hook): Likewise.
25003 * malloc/hooks.c (malloc_hook_ini): Likewise.
25004 (realloc_hook_ini): Likewise.
25005 (memalign_hook_ini): Likewise.
25006 * malloc/malloc.c (malloc_hook_ini): Likewise.
25007 (realloc_hook_ini): Likewise.
25008 (memalign_hook_ini): Likewise.
25009 (__free_hook): Likewise.
25010 (__malloc_hook): Likewise.
25011 (__realloc_hook): Likewise.
25012 (__memalign_hook): Likewise.
25013 (__libc_malloc): Likewise.
25014 (__libc_free): Likewise.
25015 (__libc_realloc): Likewise.
25016 (__libc_memalign): Likewise.
25017 (__libc_valloc): Likewise.
25018 (__libc_pvalloc): Likewise.
25019 (__libc_calloc): Likewise.
25020 (__posix_memalign): Likewise.
25021 * malloc/morecore.c (__sbrk): Likewise.
25022 (__default_morecore): Likewise.
25023
5cc45e10
JM
25024 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25025
dd54b864
JM
25026 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25027 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25028 __malloc_ptrdiff_t.
25029
1ba4f030
JM
25030 * malloc/malloc.h (__malloc_size_t): Remove macro.
25031 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25032 __malloc_size_t.
25033 (old_memalign_hook): Likewise.
25034 (old_realloc_hook): Likewise.
25035 (struct hdr): Likewise.
25036 (flood): Likewise.
25037 (mallochook): Likewise.
25038 (memalignhook): Likewise.
25039 (reallochook): Likewise.
25040 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25041 (tr_old_realloc_hook): Likewise.
25042 (tr_old_memalign_hook): Likewise.
25043 (tr_mallochook): Likewise.
25044 (tr_reallochook): Likewise.
25045 (tr_memalignhook): Likewise.
25046
edf66e57
AZ
250472013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25048
25049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25050 default_ldbl_pack and using as default implementation.
25051 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25052 implementation.
25053 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25054 redundant definition.
25055 (ldbl_insert_mantissa): Likewise.
25056 (ldbl_canonicalize): Likewise.
25057 (ldbl_nearbyint): Likewise.
25058 (ldbl_pack): Rename to ldbl_pack_ppc.
25059 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25060 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25061 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25062
6d9145d8
SP
250632013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25064
25065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25066 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25067 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25068 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25070 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25071 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25072 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25073
4dd4e157
AJ
250742013-03-07 Andreas Jaeger <aj@suse.de>
25075
25076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25077 bits/mman-linux.h.
25078
adbb8027
SP
250792013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25080
ce544b5b
SP
25081 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25082 Include mpa.h and declare __MPEXP.
25083 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25084 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25085 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25086 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25087 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25088 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25089 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25090
4cc149fd
SP
25091 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25092 (__slowpow): Use long double EXPL and LOGL functions to
25093 compute POW.
25094 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25095 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25096 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25097 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25098 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25099 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25100
e6ebd4a7
SP
25101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25102 intermediate variable to calculate exponent.
25103 (__sqr): Likewise.
25104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25105 Likewise.
25106 (__sqr): Likewise.
25107
82a9811d
SP
25108 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25109 [!NO__SQR]: Define __sqr.
25110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25111 and NO__SQR. Remove all code except __mul and __sqr. Include
25112 sysdeps/ieee754/dbl-64/mpa.c.
25113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25114
adbb8027
SP
25115 [BZ #12723]
25116 * posix/Makefile (tests): Add tst-pathconf.
25117 * posix/tst-pathconf.c: New test case.
25118 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25119 _PC_PIPE_BUF.
25120 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25121
39120df9
PF
251222013-03-06 Patsy Franklin <pfrankli@redhat.com>
25123
25124 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25125
67525cb8
AJ
251262013-03-06 Andreas Jaeger <aj@suse.de>
25127
664a9ce4
AJ
25128 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25129 definition via __MAP_ANONYMOUS.
25130
8e39047d
AJ
25131 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25132 it's not part of Linux headers.
25133
67525cb8
AJ
25134 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25135 (MAP_HUGE_MASK): Define.
25136
25137 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25138 Define.
25139 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25140 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25141 Define.
25142 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25143 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25144 Define.
25145 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25146 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25147 Define.
25148 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25149
25150 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25151 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25152 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25153 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25154 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25155 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25156
25157 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25158 Handle f2fs.
25159
25160 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25161 Handle f2fs and efivarfs.
25162
25163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25164 f2fs.
25165
25166 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25167 (EFIVARFS_MAGIC): Add.
25168 (F2FS_LINK_MAX): Add.
25169
e1b42695
PP
251702013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25171
25172 * stdio-common/vfprintf.c: Replace __builtin_expect with
25173 __glibc_unlikely.
25174
2d67d91a
JM
251752013-03-06 Joseph Myers <joseph@codesourcery.com>
25176
25177 [BZ #13550]
25178 * sysdeps/generic/bp-sym.h: Remove file.
25179 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25180 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25181 <bp-sym.h> and <bp-asm.h>.
25182 (__longjmp): Don't use BP_SYM.
25183 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25184 and <bp-asm.h>.
25185 (memcpy): Don't use BP_SYM.
25186 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25187 <bp-sym.h> and <bp-asm.h>.
25188 (memcpy): Don't use BP_SYM.
25189 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25190 <bp-asm.h>.
25191 (memcpy): Don't use BP_SYM.
25192 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25193 <bp-asm.h>.
25194 (memset): Don't use BP_SYM.
25195 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25196 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25197 (__bzero): Don't use BP_SYM.
25198 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25199 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25200 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25201 <bp-sym.h> and <bp-asm.h>.
25202 (memcmp): Don't use BP_SYM. Remove comment about bounded
25203 pointers.
25204 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25205 <bp-sym.h> and <bp-asm.h>.
25206 (memcpy): Don't use BP_SYM.
25207 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25208 <bp-sym.h> and <bp-asm.h>.
25209 (memset): Don't use BP_SYM.
25210 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25211 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25212 (__bzero): Don't use BP_SYM.
25213 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25214 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25215 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25216 <bp-sym.h> and <bp-asm.h>.
25217 (strncmp): Don't use BP_SYM. Remove comment about bounded
25218 pointers.
25219 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25220 <bp-sym.h> and <bp-asm.h>.
25221 (memcpy): Don't use BP_SYM.
25222 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25223 <bp-sym.h> and <bp-asm.h>.
25224 (memset): Don't use BP_SYM.
25225 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25226 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25227 (__bzero): Don't use BP_SYM.
25228 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25229 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25230 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25231 <bp-sym.h> and <bp-asm.h>.
25232 (__memchr): Don't use BP_SYM.
25233 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25234 <bp-sym.h> and <bp-asm.h>.
25235 (memcmp): Don't use BP_SYM. Remove comment about bounded
25236 pointers.
25237 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25238 <bp-sym.h> and <bp-asm.h>.
25239 (memcpy): Don't use BP_SYM.
25240 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25241 <bp-sym.h> and <bp-asm.h>.
25242 (__mempcpy): Don't use BP_SYM.
25243 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25244 <bp-sym.h> and <bp-asm.h>.
25245 (__memrchr): Don't use BP_SYM.
25246 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25247 <bp-sym.h> and <bp-asm.h>.
25248 (memset): Don't use BP_SYM.
25249 (__bzero): Likewise.
25250 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25251 <bp-sym.h> and <bp-asm.h>.
25252 (__rawmemchr): Don't use BP_SYM.
25253 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25254 <bp-sym.h> and <bp-asm.h>.
25255 (__STRCMP): Don't use BP_SYM.
25256 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25257 <bp-sym.h> and <bp-asm.h>.
25258 (strchr): Don't use BP_SYM.
25259 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25260 <bp-sym.h> and <bp-asm.h>.
25261 (__strchrnul): Don't use BP_SYM.
25262 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25263 <bp-sym.h> and <bp-asm.h>.
25264 (strlen): Don't use BP_SYM.
25265 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25266 <bp-sym.h> and <bp-asm.h>.
25267 (strncmp): Don't use BP_SYM. Remove comment about bounded
25268 pointers.
25269 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25270 <bp-sym.h> and <bp-asm.h>.
25271 (__strnlen): Don't use BP_SYM.
25272 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25273 <bp-sym.h> and <bp-asm.h>.
25274 (__GI__setjmp): Don't use BP_SYM.
25275 (_setjmp): Likewise.
25276 (__sigsetjmp): Likewise.
25277 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25278 (L(start_addresses)): Don't use BP_SYM.
25279 (_start): Likewise.
25280 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25281 <bp-asm.h>.
25282 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25283 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25284 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25285 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25286 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25287 <bp-asm.h>.
25288 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25289 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25290 about bounded pointers.
25291 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25292 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25293 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25294 <bp-asm.h>.
25295 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25296 about bounded pointers. Remove GKM FIXME comments.
25297 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25298 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25299 <bp-asm.h>.
25300 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25301 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25302 Remove GKM FIXME comments.
25303 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25304 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25305 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25306 <bp-asm.h>.
25307 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25308 about bounded pointers. Remove GKM FIXME comment.
25309 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25310 and <bp-asm.h>.
25311 (strncmp): Don't use BP_SYM. Remove comment about bounded
25312 pointers.
25313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25314 <bp-sym.h> and <bp-asm.h>.
25315 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25317 <bp-sym.h> and <bp-asm.h>.
25318 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25319 comment.
25320
cdcf361f
PP
253212013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25322
25323 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25324 call free(NULL).
25325
3c4a2b15
DM
253262013-03-05 David S. Miller <davem@davemloft.net>
25327
25328 * po/es.po: Update from translation team.
25329
cdcf361f 253302013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25331
25332 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25333 <bits/mman-linux.h>.
25334 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25335 is fine.
25336 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25337 <bits/mman-linux.h> to end of file.
25338 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25339 is fine.
25340 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25341 <bits/mman-linux.h> to end of file.
25342 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25343 is fine.
25344 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25345 <bits/mman-linux.h> to end of file.
25346
25347 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25348 (MCL_CURRENT, MCL_FUTURE): Define here.
25349
5f67c04f
AK
253502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25351
8a4473cc 25352 [BZ #15232]
5f67c04f
AK
25353 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25354 attribute_hidden.
25355 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25356
c3e94a95
AK
253572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25358
25359 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25360 fourth parameter needed for rt_sigprocmask syscall.
25361 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25362 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25363 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25364 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25365 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25366 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25367
cfb6382a
JM
253682013-03-04 Joseph Myers <joseph@codesourcery.com>
25369
25370 [BZ #13550]
25371 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25372 comment about bounded pointers.
25373 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25374 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25375
539d8e01
AJ
253762013-03-04 Andreas Jaeger <aj@suse.de>
25377
25378 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25379 common definitions.
25380
25381 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25382 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25383 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25384 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25385 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25386 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25387
2e167a70 253882013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25389
25390 [BZ #15055]
25391 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25392 __ieee754_sqrl instead of __sqrl.
25393
68508633
JM
253942013-03-01 Joseph Myers <joseph@codesourcery.com>
25395
25396 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25397 * sysdeps/powerpc/fpu_control.h: ... here.
25398 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25399 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25400 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25401 * sysdeps/powerpc/bits/mathinline.h: ... here.
25402
7775448e
RM
254032013-03-01 Roland McGrath <roland@hack.frob.com>
25404
25405 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25406 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25407 to just [NEED_DL_SYSINFO_DSO].
25408 * elf/dl-support.c: Likewise.
25409 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25410 * elf/rtld.c (dl_main): Likewise.
25411 * elf/setup-vdso.h (setup_vdso): Likewise.
25412 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25413 * sysdeps/unix/sysv/linux/dl-sysdep.c
25414 (_dl_discover_osversion): Likewise.
25415
4e9b5995
CD
254162013-03-01 Carlos O'Donell <carlos@redhat.com>
25417
25418 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25419 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25420
e23872c8
SP
254212013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25422
e5c74c63
SP
25423 * NEWS: Mention libm performance improvements and non-x86 PI
25424 futex support.
25425
e23872c8
SP
25426 * csu/libc-start.c (__pthread_initialize_minimal): Change
25427 function arguments.
25428 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25429
b5510883
JM
254302013-02-28 Joseph Myers <joseph@codesourcery.com>
25431
25432 [BZ #13550]
25433 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25434 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25435 <bp-sym.h> and <bp-asm.h>.
25436 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25437 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25438 and <bp-asm.h>.
25439 (memcpy): Don't use BP_SYM.
25440 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25441 <bp-asm.h>.
25442 (__mpn_add_n): Don't use BP_SYM.
25443 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25444 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25445 and <bp-asm.h>.
25446 (__mpn_addmul_1): Don't use BP_SYM.
25447 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25448 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25449 <bp-sym.h>.
25450 (_setjmp): Don't use BP_SYM.
25451 (__novmx_setjmp): Likewise.
25452 (__GI__setjmp): Likewise.
25453 (__vmx_setjmp): Likewise.
25454 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25455 <bp-sym.h>.
25456 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25457 (__bzero): Don't use BP_SYM.
25458 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25459 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25460 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25461 <bp-sym.h> and <bp-asm.h>.
25462 (memcpy): Don't use BP_SYM.
25463 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25464 <bp-sym.h> and <bp-asm.h>.
25465 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25466 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25467 <bp-sym.h> and <bp-asm.h>.
25468 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25469 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25470 <bp-asm.h>.
25471 (__mpn_lshift): Don't use BP_SYM.
25472 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25473 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25474 <bp-asm.h>.
25475 (memset): Don't use BP_SYM.
25476 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25477 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25478 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25479 <bp-asm.h>.
25480 (__mpn_mul_1): Don't use BP_SYM.
25481 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25482 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25483 <bp-sym.h> and <bp-asm.h>.
25484 (memcmp): Don't use BP_SYM.
25485 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25486 <bp-sym.h> and <bp-asm.h>.
25487 (memcpy): Don't use BP_SYM.
25488 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25489 <bp-sym.h> and <bp-asm.h>.
25490 (memset): Don't use BP_SYM.
25491 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25492 <bp-sym.h> and <bp-asm.h>.
25493 (strncmp): Don't use BP_SYM.
25494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25495 <bp-sym.h> and <bp-asm.h>.
25496 (memcpy): Don't use BP_SYM.
25497 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25498 <bp-sym.h> and <bp-asm.h>.
25499 (memset): Don't use BP_SYM.
25500 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25501 <bp-sym.h> and <bp-asm.h>.
25502 (__memchr): Don't use BP_SYM.
25503 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25504 <bp-sym.h> and <bp-asm.h>.
25505 (memcmp): Don't use BP_SYM.
25506 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25507 <bp-sym.h> and <bp-asm.h>.
25508 (memcpy): Don't use BP_SYM.
25509 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25510 <bp-sym.h> and <bp-asm.h>.
25511 (__mempcpy): Don't use BP_SYM.
25512 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25513 <bp-sym.h> and <bp-asm.h>.
25514 (__memrchr): Don't use BP_SYM.
25515 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25516 <bp-sym.h> and <bp-asm.h>.
25517 (memset): Don't use BP_SYM.
25518 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25519 <bp-sym.h> and <bp-asm.h>.
25520 (__rawmemchr): Don't use BP_SYM.
25521 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25522 <bp-sym.h> and <bp-asm.h>.
25523 (__STRCMP): Don't use BP_SYM.
25524 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25525 <bp-sym.h> and <bp-asm.h>.
25526 (strchr): Don't use BP_SYM.
25527 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25528 <bp-sym.h> and <bp-asm.h>.
25529 (__strchrnul): Don't use BP_SYM.
25530 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25531 <bp-sym.h> and <bp-asm.h>.
25532 (strlen): Don't use BP_SYM.
25533 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25534 <bp-sym.h> and <bp-asm.h>.
25535 (strncmp): Don't use BP_SYM.
25536 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25537 <bp-sym.h> and <bp-asm.h>.
25538 (__strnlen): Don't use BP_SYM.
25539 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25540 <bp-asm.h>.
25541 (__mpn_rshift): Don't use BP_SYM.
25542 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25543 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25544 <bp-sym.h> and <bp-asm.h>.
25545 (__sigsetjmp): Don't use BP_SYM.
25546 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25547 (L(start_addresses)): Don't use BP_SYM.
25548 (_start): Likewise.
25549 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25550 <bp-asm.h>.
25551 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25552 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25553 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25554 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25555 <bp-asm.h>.
25556 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25557 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25558 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25559 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25560 <bp-asm.h>.
25561 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25562 comments.
25563 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25564 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25565 <bp-asm.h>.
25566 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25567 FIXME comments.
25568 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25569 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25570 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25571 <bp-asm.h>.
25572 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25573 comment.
25574 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25575 and <bp-asm.h>.
25576 (strncmp): Don't use BP_SYM,
25577 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25578 <bp-asm.h>.
25579 (__mpn_sub_n): Don't use BP_SYM.
25580 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25581 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25582 and <bp-asm.h>.
25583 (__mpn_submul_1): Don't use BP_SYM.
25584 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25586 <bp-sym.h> and <bp-asm.h>.
25587 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25589 <bp-sym.h> and <bp-asm.h>.
25590 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25591 comment.
25592
8d19fe64
SP
255932013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
25595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25596 Use ZK to minimize writes to Z.
25597 (sub_magnitudes): Simplify code a bit.
25598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25599 Use ZK to minimize writes to Z.
25600 (sub_magnitudes): Simplify code a bit.
25601
85bd816a
RM
256022013-02-27 Roland McGrath <roland@hack.frob.com>
25603
25604 * csu/gmon-start.c: Add special exception to license text.
25605
b5977bf2
RH
256062013-02-27 Richard Henderson <rth@redhat.com>
25607
25608 * scripts/config.guess: Update from config.git.
25609 * scripts/config.sub: Likewise.
25610
11d6e2f2
SP
256112013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25612
09c14ed2
SP
25613 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25614
a688864e
SP
25615 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25616
6295157a
SP
25617 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25618
b8de2202
SP
25619 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25620
11d6e2f2
SP
25621 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25622
7e80ddb8
RM
256232013-02-26 Roland McGrath <roland@hack.frob.com>
25624
25625 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25626 [$(build-shared = yes].
7e80ddb8 25627
7da6d9ed
SP
256282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25629
45f05884
SP
25630 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25631 (__mul): Reduce iterations for calculating mantissa.
25632
2236d359
SP
25633 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25634 MPTWO.
25635 (__mpranred): Likewise.
25636
7da6d9ed
SP
25637 [BZ #15160]
25638 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25639 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25640
b7688c42
PE
256412013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25642
25643 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25644 Define __attribute__.
25645
53a5c423
SP
256462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25647
25648 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25649 unused.
25650 * posix/regex_internal.h (__attribute): Remove.
25651 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25652 (re_string_context_at): Likewise.
25653 (bitset_not): Use __attribute__ and mark function as possibly
25654 unused.
25655 (bitset_merge): Likewise.
25656 (bitset_mask): Likewise.
25657 (re_string_char_size_at): Likewise.
25658 (re_string_wchar_at): Likewise.
25659 (re_string_elem_size_at): Likewise.
25660
60f5a8b5
SP
256612013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25662
2a983a2e
SP
25663 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25664 code.
25665 (cc32): Likewise.
25666
e69804d1
SP
25667 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25668 (__acr): Likewise.
25669 (__cpy): Likewise.
25670 (norm): Likewise.
25671 (denorm): Likewise.
25672 (__dbl_mp): Likewise.
25673 (add_magnitudes): Likewise.
25674 (sub_magnitudes): Likewise.
25675 (__mul): Likewise.
25676 (__inv): Likewise.
25677
2f22a1e8
SP
25678 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25679 style.
25680
8930ddc7
SP
25681 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25682 style.
25683
dc60cb11
SP
25684 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25685 code.
25686
60f5a8b5
SP
25687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25688 up changes with default code.
25689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25690 Likewise.
25691
b4d1fd33
AM
256922013-02-24 Allan McRae <allan@archlinux.org>
25693
faf6f8bc
AM
25694 * manual/socket.texi (The Internet Namespace): Order menu items
25695 to match that in the file.
25696
b4d1fd33
AM
25697 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25698 node listing of the info page menu.
25699
2366713d
JM
257002013-02-21 Joseph Myers <joseph@codesourcery.com>
25701
25702 [BZ #13550]
25703 * sysdeps/i386/bp-asm.h: Remove file.
25704 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25705 (PARMS): Do not use macros from bp-asm.h.
25706 (S1): Likewise.
25707 (S2): Likewise.
25708 (SIZE): Likewise.
25709 (__mpn_add_n): Do not use BP_SYM
25710 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25711 "bp-asm.h".
25712 (PARMS): Do not use macros from bp-asm.h.
25713 (S1): Likewise.
25714 (SIZE): Likewise.
25715 (__mpn_addmul_1): Do not use BP_SYM
25716 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25717 "bp-asm.h".
25718 (PARMS): Do not use macros from bp-asm.h.
25719 (SIGMSK): Likewise.
25720 (_setjmp): Likewise. Do not use BP_SYM.
25721 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25722 "bp-asm.h".
25723 (PARMS): Do not use macros from bp-asm.h.
25724 (SIGMSK): Likewise.
25725 (setjmp): Likewise. Do not use BP_SYM.
25726 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25727 "bp-asm.h".
25728 (PARMS): Do not use macros from bp-asm.h.
25729 (__frexp): Do not use BP_SYM.
25730 (frexp): Likewise.
25731 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25732 "bp-asm.h".
25733 (PARMS): Do not use macros from bp-asm.h.
25734 (__frexpf): Do not use BP_SYM.
25735 (frexpf): Likewise.
25736 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25737 "bp-asm.h".
25738 (PARMS): Do not use macros from bp-asm.h.
25739 (__frexpl): Do not use BP_SYM.
25740 (frexpl): Likewise.
25741 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25742 "bp-asm.h".
25743 (PARMS): Do not use macros from bp-asm.h.
25744 (__remquo): Do not use BP_SYM.
25745 (remquo): Likewise.
25746 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25747 "bp-asm.h".
25748 (PARMS): Do not use macros from bp-asm.h.
25749 (__remquof): Do not use BP_SYM.
25750 (remquof): Likewise.
25751 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25752 "bp-asm.h".
25753 (PARMS): Do not use macros from bp-asm.h.
25754 (__remquol): Do not use BP_SYM.
25755 (remquol): Likewise.
25756 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25757 "bp-asm.h".
25758 (PARMS): Do not use macros from bp-asm.h.
25759 (DEST): Likewise.
25760 (SRC): Likewise.
25761 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25762 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25763 "bp-asm.h".
25764 (PARMS): Do not use macros from bp-asm.h.
25765 (strlen): Do not use BP_SYM.
25766 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25767 "bp-asm.h".
25768 (PARMS): Do not use macros from bp-asm.h.
25769 (S1): Likewise.
25770 (S2): Likewise.
25771 (SIZE): Likewise.
25772 (__mpn_add_n): Do not use BP_SYM.
25773 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25774 "bp-asm.h".
25775 (PARMS): Do not use macros from bp-asm.h.
25776 (S1): Likewise.
25777 (SIZE): Likewise.
25778 (__mpn_addmul_1): Do not use BP_SYM.
25779 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25780 weak_alias.
25781 (bzero): Likewise.
25782 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25783 "bp-asm.h".
25784 (PARMS): Do not use macros from bp-asm.h.
25785 (S): Likewise.
25786 (SIZE): Likewise.
25787 (__mpn_lshift): Do not use BP_SYM.
25788 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25789 "bp-asm.h".
25790 (PARMS): Do not use macros from bp-asm.h.
25791 (DEST): Likewise.
25792 (SRC): Likewise.
25793 (LEN): Likewise.
25794 (memcpy): Likewise. Do not use BP_SYM.
25795 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25796 libc_hidden_def and weak_alias.
25797 (mempcpy): Do not use BP_SYM in weak_alias.
25798 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25799 "bp-asm.h".
25800 (PARMS): Do not use macros from bp-asm.h.
25801 (DEST): Likewise.
25802 (LEN): Likewise.
25803 [!BZERO_P] (CHR): Likewise.
25804 (memset): Likewise. Do not use BP_SYM.
25805 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25806 "bp-asm.h".
25807 (PARMS): Do not use macros from bp-asm.h.
25808 (S1): Likewise.
25809 (SIZE): Likewise.
25810 (__mpn_mul_1): Do not use BP_SYM.
25811 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25812 "bp-asm.h".
25813 (PARMS): Do not use macros from bp-asm.h.
25814 (S): Likewise.
25815 (SIZE): Likewise.
25816 (__mpn_rshift): Do not use BP_SYM.
25817 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25818 "bp-asm.h".
25819 (PARMS): Do not use macros from bp-asm.h.
25820 (STR): Likewise.
25821 (CHR): Likewise.
25822 (strchr): Likewise. Do not use BP_SYM.
25823 (index): Do not use BP_SYM in weak_alias.
25824 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25825 "bp-asm.h".
25826 (PARMS): Do not use macros from bp-asm.h.
25827 (DEST): Likewise.
25828 (SRC): Likewise.
25829 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25830 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25831 "bp-asm.h".
25832 (PARMS): Do not use macros from bp-asm.h.
25833 (strlen): Do not use BP_SYM.
25834 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25835 "bp-asm.h".
25836 (PARMS): Do not use macros from bp-asm.h.
25837 (S1): Likewise.
25838 (S2): Likewise.
25839 (SIZE): Likewise.
25840 (__mpn_sub_n): Do not use BP_SYM.
25841 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25842 "bp-asm.h".
25843 (PARMS): Do not use macros from bp-asm.h.
25844 (S1): Likewise.
25845 (SIZE): Likewise.
25846 (__mpn_submul_1): Do not use BP_SYM.
25847 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25848 "bp-asm.h".
25849 (PARMS): Do not use macros from bp-asm.h.
25850 (S1): Likewise.
25851 (S2): Likewise.
25852 (SIZE): Likewise.
25853 (__mpn_add_n): Do not use BP_SYM.
25854 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25855 weak_alias.
25856 (bzero): Likewise.
25857 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25858 "bp-asm.h".
25859 (PARMS): Do not use macros from bp-asm.h.
25860 (BLK2): Likewise.
25861 (LEN): Likewise.
25862 (memcmp): Do not use BP_SYM.
25863 (bcmp): Do not use BP_SYM in weak_alias.
25864 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25865 "bp-asm.h".
25866 (PARMS): Do not use macros from bp-asm.h.
25867 (DEST): Likewise.
25868 (SRC): Likewise.
25869 (LEN): Likewise.
25870 (memcpy): Likewise. Do not use BP_SYM.
25871 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25872 "bp-asm.h".
25873 (PARMS): Do not use macros from bp-asm.h.
25874 (DEST): Likewise.
25875 (SRC): Likewise.
25876 (LEN): Likewise.
25877 (memmove): Likewise. Do not use BP_SYM.
25878 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25879 "bp-asm.h".
25880 (PARMS): Do not use macros from bp-asm.h.
25881 (DEST): Likewise.
25882 (SRC): Likewise.
25883 (LEN): Likewise.
25884 (__mempcpy): Likewise. Do not use BP_SYM.
25885 (mempcpy): Do not use BP_SYM in weak_alias.
25886 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25887 "bp-asm.h".
25888 (PARMS): Do not use macros from bp-asm.h.
25889 (DEST): Likewise.
25890 (LEN): Likewise.
25891 [!BZERO_P] (CHR): Likewise.
25892 (memset): Likewise. Do not use BP_SYM.
25893 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25894 "bp-asm.h".
25895 (PARMS): Do not use macros from bp-asm.h.
25896 (STR2): Likewise.
25897 (strcmp): Do not use BP_SYM.
25898 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25899 "bp-asm.h".
25900 (PARMS): Do not use macros from bp-asm.h.
25901 (STR): Likewise.
25902 (DELIM): Likewise.
25903 [USE_AS_STRTOK_R] (SAVE): Likewise.
25904 (FUNCTION): Likewise. Do not use BP_SYM.
25905 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25906 aliases.
25907 (strtok_r): Likewise.
25908 (__GI___strtok_r): Likewise.
25909 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25910 (PARMS): Do not use macros from bp-asm.h.
25911 (S): Likewise.
25912 (SIZE): Likewise.
25913 (__mpn_lshift): Do not use BP_SYM.
25914 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25915 (PARMS): Do not use macros from bp-asm.h.
25916 (STR): Likewise.
25917 (CHR): Likewise.
25918 (__memchr): Do not use BP_SYM.
25919 (memchr): Do not use BP_SYM in weak_alias.
25920 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25921 (PARMS): Do not use macros from bp-asm.h.
25922 (BLK2): Likewise.
25923 (LEN): Likewise.
25924 (memcmp): Do not use BP_SYM.
25925 (bcmp): Do not use BP_SYM in weak_alias.
25926 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25927 (PARMS): Do not use macros from bp-asm.h.
25928 (S1): Likewise.
25929 (SIZE): Likewise.
25930 (__mpn_mul_1): Do not use BP_SYM.
25931 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25932 "bp-asm.h".
25933 (PARMS): Do not use macros from bp-asm.h.
25934 (STR): Likewise.
25935 (CHR): Likewise.
25936 (__rawmemchr): Do not use BP_SYM.
25937 (rawmemchr): Do not use BP_SYM in weak_alias.
25938 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25939 (PARMS): Do not use macros from bp-asm.h.
25940 (S): Likewise.
25941 (SIZE): Likewise.
25942 (__mpn_rshift): Do not use BP_SYM.
25943 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25944 (PARMS): Do not use macros from bp-asm.h.
25945 (SIGMSK): Likewise.
25946 (__sigsetjmp): Likewise. Do not use BP_SYM.
25947 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25948 (_start): Do not use BP_SYM.
25949 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25950 (PARMS): Do not use macros from bp-asm.h.
25951 (DEST): Likewise.
25952 (SRC): Likewise.
25953 (__stpcpy): Likewise. Do not use BP_SYM.
25954 (stpcpy): Do not use BP_SYM in weak_alias.
25955 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25956 "bp-asm.h".
25957 (PARMS): Do not use macros from bp-asm.h.
25958 (DEST): Likewise.
25959 (SRC): Likewise.
25960 (LEN): Likewise.
25961 (__stpncpy): Likewise. Do not use BP_SYM.
25962 (stpncpy): Do not use BP_SYM in weak_alias.
25963 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25964 (PARMS): Do not use macros from bp-asm.h.
25965 (STR): Likewise.
25966 (CHR): Likewise.
25967 (strchr): Likewise. Do not use BP_SYM.
25968 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25969 "bp-asm.h".
25970 (PARMS): Do not use macros from bp-asm.h.
25971 (STR): Likewise.
25972 (CHR): Likewise.
25973 (__strchrnul): Likewise. Do not use BP_SYM.
25974 (strchrnul): Do not use BP_SYM in weak_alias.
25975 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25976 "bp-asm.h".
25977 (PARMS): Do not use macros from bp-asm.h.
25978 (STOP): Likewise.
25979 (strcspn): Do not use BP_SYM.
25980 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25981 "bp-asm.h".
25982 (PARMS): Do not use macros from bp-asm.h.
25983 (STR): Likewise.
25984 (STOP): Likewise.
25985 (strpbrk): Likewise. Do not use BP_SYM.
25986 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25987 "bp-asm.h".
25988 (PARMS): Do not use macros from bp-asm.h.
25989 (STR): Likewise.
25990 (CHR): Likewise.
25991 (strrchr): Likewise. Do not use BP_SYM.
25992 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25993 (PARMS): Do not use macros from bp-asm.h.
25994 (SKIP): Likewise.
25995 (strspn): Do not use BP_SYM.
25996 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25997 (PARMS): Do not use macros from bp-asm.h.
25998 (STR): Likewise.
25999 (DELIM): Likewise.
26000 (SAVE): Likewise.
26001 (FUNCTION): Likewise. Do not use BP_SYM.
26002 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26003 aliases.
26004 (strtok_r): Likewise.
26005 (__GI___strtok_r): Likewise.
26006 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26007 (PARMS): Do not use macros from bp-asm.h.
26008 (S1): Likewise.
26009 (S2): Likewise.
26010 (SIZE): Likewise.
26011 (__mpn_sub_n): Do not use BP_SYM.
26012 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26013 "bp-asm.h".
26014 (PARMS): Do not use macros from bp-asm.h.
26015 (S1): Likewise.
26016 (SIZE): Likewise.
26017 (__mpn_submul_1): Do not use BP_SYM.
26018 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26019 <bp-sym.h>.
26020 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26021 and <bp-asm.h>.
26022 (PARMS): Do not use macros from bp-asm.h.
26023 (FLAGS): Likewise.
26024 (PTID): Likewise.
26025 (TLS): Likewise.
26026 (CTID): Likewise.
26027 (__clone): Do not use BP_SYM.
26028 (clone): Do not use BP_SYM in weak_alias.
26029 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26030 and <bp-asm.h>.
26031 (PARMS): Do not use macros from bp-asm.h.
26032 (LEN): Likewise.
26033 (__mmap64): Do not use BP_SYM.
26034 (mmap64): Do not use BP_SYM in weak_alias.
26035 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26036 <bp-sym.h> and <bp-asm.h>.
26037 (PARMS): Do not use macros from bp-asm.h.
26038 (__posix_fadvise64_l64): Do not use BP_SYM.
26039 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26040 (PARMS): Do not use macros from bp-asm.h.
26041 (NSOPS): Likewise.
26042 (semtimedop): Do not use BP_SYM.
26043 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26044 and <bp-asm.h>.
26045
582a3cff
AM
260462013-02-21 Allan McRae <allan@archlinux.org>
26047
26048 * manual/message.texi (Charset conversion in gettext):
26049 Move @end statement to beginning of line.
26050
bab8a695
SP
260512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26052
80945231
SP
26053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26054 static.
26055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26056 Likewise.
26057
bab8a695
SP
26058 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26059 (denorm): Likewise.
26060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26062
e21d7aa7
AK
260632013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26064
26065 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26066 tail-call to the resolved function if pltexit isn't needed.
26067
4c7a4263
SP
260682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26069
26070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26071 or Y being zero as being unlikely.
26072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26073 Likewise.
26074
41f49342
CD
260752013-02-20 Carlos O'Donell <carlos@redhat.com>
26076
26077 * manual/nss.texi (System Databases and Name Service Switch):
26078 Remove frobnicate @pxref.
26079
50022a93
TS
260802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26081
26082 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26083 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26084
08cbd996
PM
260852013-02-20 Petr Machata <pmachata@redhat.com>
26086
26087 * elf/elf.h (R_ARM_TARGET1): New macro.
26088 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26089 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26090 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26091 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26092 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26093 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26094 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26095 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26096 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26097 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26098 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26099 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26100 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26101 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26102 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26103 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26104 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26105 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26106 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26107 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26108 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26109 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26110 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26111 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26112 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26113 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26114 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26115 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26116 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26117 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26118 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26119 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26120 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26121 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26122 (R_ARM_THM_GOT_BREL12): Likewise.
26123 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26124 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26125 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26126 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26127 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26128 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26129 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26130 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26131 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26132
c7b275d6
TS
261332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26134
26135 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26136 __attribute_used__ to __attribute__ ((unused)).
26137
20cd7fb3
SP
261382013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26139
26140 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26141 powerpc mpa.c.
26142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26143 comment formatting.
26144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26145
92945b52
JM
261462013-02-19 Joseph Myers <joseph@codesourcery.com>
26147
26148 [BZ #13550]
26149 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26150 Remove macro.
26151 (ENTER): Remove both macro definitions.
26152 (LEAVE): Likewise.
26153 (CHECK_BOUNDS_LOW): Likewise.
26154 (CHECK_BOUNDS_HIGH): Likewise.
26155 (CHECK_BOUNDS_BOTH): Likewise.
26156 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26157 (RETURN_BOUNDED_POINTER): Likewise.
26158 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26159 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26160 (POP_ERRNO_LOCATION_RETURN): Likewise.
26161 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26162 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26163 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26164 macros.
26165 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26166 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26167 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26168 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26169 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26170 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26171 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26172 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26173 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26174 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26175 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26176 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26177 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26178 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26179 removed macros.
26180 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26181 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26182 macros.
26183 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26184 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26185 * sysdeps/i386/i586/memset.S (memset): Likewise.
26186 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26187 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26188 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26189 macros.
26190 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26191 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26192 Change uses of L(2) to L(out).
26193 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26194 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26195 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26196 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26197 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26198 removed macros.
26199 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26200 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26201 macros.
26202 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26203 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26204 (RETURN): Do not use macro LEAVE.
26205 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26206 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26207 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26208 * sysdeps/i386/i686/memset.S (memset): Likewise.
26209 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26210 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26211 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26212 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26213 Likewise.
26214 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26215 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26216 L(1_2) and L(1_3) into L(1).
26217 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26218 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26219 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26220 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26221 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26222 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26223 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26224 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26225 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26226 macros.
26227 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26228 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26229 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26230 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26231 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26232 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26233 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26234 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26235 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26236 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26237 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26238 * sysdeps/i386/strspn.S (strspn): Likewise.
26239 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26240 conditional code.
26241 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26242 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26243 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26244 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26245 L(1_3) into L(1_1).
26246 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26247 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26248 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26249 macros.
26250 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26251
2389741a
JJ
262522013-02-19 Jakub Jelinek <jakub@redhat.com>
26253
26254 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26255 macro.
26256
2016b3cd
SP
262572013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26258
e4f22324
SP
26259 * math/atest-exp.c (exp_mpn): Remove ROUND.
26260 * math/atest-exp2.c (exp_mpn): Likewise.
26261 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26262
2016b3cd
SP
26263 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26264 * stdlib/tst-tls-atexit-lib.c: Likewise.
26265 * stdlib/tst-tls-atexit.c: Likewise.
26266
4be9b544
MF
262672013-02-18 Mike Frysinger <vapier@gentoo.org>
26268
26269 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26270 and __attribute_alloc_size__.
26271
2f62b9ee
MF
262722013-02-18 Mike Frysinger <vapier@gentoo.org>
26273
26274 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26275 __attribute_alloc_size__.
26276 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26277 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26278
6ff444c4
MF
262792013-02-18 Mike Frysinger <vapier@gentoo.org>
26280
26281 * include/programs/xmalloc.h: New file.
26282 * catgets/gencat.c: Include it.
26283 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26284 * elf/pldd.c: Likewise.
26285 * iconv/iconv_charmap.c: Likewise.
26286 * iconv/iconvconfig.c: Likewise.
26287 * iconv/strtab.c: Likewise.
26288 * locale/programs/locale.c: Likewise.
26289 * locale/programs/localedef.h: Likewise.
26290 * locale/programs/simple-hash.c: Likewise.
26291 * nscd/nscd.h: Likewise.
26292 * nss/makedb.c: Likewise.
26293 * sysdeps/generic/ldconfig.h: Likewise.
26294
be179c8a
SP
262952013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26296
ba384f6e
SP
26297 * Versions.def: Add GLIBC_2.18.
26298 * include/link.h (struct link_map): New member l_tls_dtor_count.
26299 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26300 (__call_tls_dtors): Likewise.
26301 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26302 __cxa_thread_atexit_impl.
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26304 Likewise.
26305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26306 Likewise.
26307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26308 Likewise.
26309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26310 Likewise.
26311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26313 Likewise.
26314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26315 Likewise.
26316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26318 Likewise.
26319 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26320 (tests): Add test case tst-tls-atexit.
26321 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26322 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26323 (GLIBC_PRIVATE): Add __call_tls_dtors.
26324 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26325 for libstdc++.
26326 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26327 * stdlib/tst-tls-atexit.c: New test case.
26328 * stdlib/tst-tls-atexit-lib.c: New test case.
26329
ffaa74cf 26330 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26331
be179c8a
SP
26332 * elf/Versions (ld): Add _dl_find_dso_for_object.
26333 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26334 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26335 (dl_open_worker): Use _dl_find_dso_for_object.
26336 * elf/dl-sym.c (do_sym): Likewise.
26337 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26338
f78b5caa
AK
263392013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26340
26341 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26342 Syntactic changes only.
26343 (_dl_runtime_profile): Do a tail-call to the resolved function.
26344
29691210
JM
263452013-02-17 Joseph Myers <joseph@codesourcery.com>
26346
26347 [BZ #13550]
26348 * sysdeps/x86_64/bp-asm.h: Remove file.
26349 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26350 <bp-sym.h> and <bp-asm.h>.
26351 (__clone): Do not use BP_SYM.
26352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26353 <bp-sym.h> and <bp-asm.h>.
26354 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26355 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26356 "bp-asm.h".
26357 (_setjmp): Do not use BP_SYM.
26358 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26359 "bp-asm.h".
26360 (setjmp): Do not use BP_SYM.
26361 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26362 libc_hidden_def.
26363 (mempcpy): Do not use BP_SYM in weak_alias.
26364 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26365 "bp-asm.h".
26366 (strchr): Do not use BP_SYM.
26367 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26368 "bp-asm.h".
26369 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26370 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26371 (_start): Do not use BP_SYM.
26372 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26373 "bp-asm.h".
26374 (strcat): Do not use BP_SYM.
26375 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26376 "bp-asm.h".
26377 (STRCMP): Do not use BP_SYM.
26378 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26379 "bp-asm.h".
26380 (STRCPY): Do not use BP_SYM.
26381 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26382 "bp-asm.h".
26383 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26384 "bp-asm.h".
26385 (FUNCTION): Do not use BP_SYM.
26386 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26387 weak_alias.
26388 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26389
f238fd19
AJ
263902013-02-17 Andreas Jaeger <aj@suse.de>
26391
26392 * time/Versions: Sort entries.
26393 * string/Versions: Likewise.
26394 * resolv/Versions: Likewise.
26395 * posix/Versions: Likewise.
26396 * iconv/Versions: Likewise.
26397 * elf/Versions: Likewise.
26398 * wcsmbs/Versions: Likewise.
26399
bd07f23c 264002013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26401
22af19f9
SP
26402 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26403 loop termination condition.
26404
4709fe76
SP
26405 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26406 variable to calculate EZ.
26407 (__sqr): Likewise.
2d0e0f29
SP
26408
26409 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26410 the lower precision input.
26411
daaa7713
JM
264122013-02-15 Joseph Myers <joseph@codesourcery.com>
26413
26414 [BZ #13550]
26415 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26416 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26417 (run-via-rtld-prefix): Do not handle %-bp tests.
26418 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26419 (all-object-suffixes): Remove .ob.
26420 (bppfx): Remove variable.
26421 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26422 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26423 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26424 [$(build-bounded) = yes] (libtype.ob): Likewise.
26425 * Makerules (elide-routines.ob): Remove variable.
26426 (do-tests-clean): Do not handle *-bp.out.
26427 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26428 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26429 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26430 (tests): Do not include $(tests-bp.out).
26431 (xtests): Do not include $(xtests-bp.out).
26432 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26433 [$(build-bounded) = yes] ($(addprefix
26434 $(objpfx),$(binaries-bounded))): Remove rule.
26435 ($(objpfx)%-bp.out): Remove rule.
26436 * config.make.in (build-bounded): Remove variable.
26437 * crypt/Makefile [$(build-bounded) = yes]
26438 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26439 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26440 append to variable.
26441 [$(build-bounded) = yes] (install-lib): Likewise.
26442 [$(build-bounded) = yes] (generated): Likewise.
26443 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26444 Remove rule.
26445 * intl/Makefile [$(build-bounded) = yes]
26446 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26447 * math/Makefile [$(build-bounded) = yes]
26448 ($(tests:%=$(objpfx)%-bp): Likewise.
26449 * misc/Makefile [$(build-bounded) = yes]
26450 ($(objpfx)tst-tsearch-bp): Likewise.
26451 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26452 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26453 Remove dependency.
26454 * string/Makefile (o-objects.ob): Remove variable.
26455 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26456 (CFLAGS-.ob): Remove variable.
26457 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26458 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26459 both definitions of variable.
26460 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26461 (ASFLAGS-.ob): Remove variable.
26462
e97ed6dd
JM
264632013-02-14 Joseph Myers <joseph@codesourcery.com>
26464
2bdd4ca6
JM
26465 [BZ #13550]
26466 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26467 Remove __BOUNDED_POINTERS__ from condition.
26468 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26469 * string/bits/string2.h [!__NO_STRING_INLINES &&
26470 !__BOUNDED_POINTERS__]: Likewise.
26471 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26472 Likewise.
26473 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26474 Remove conditional code.
26475 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26476 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26477 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26478 condition.
26479
e97ed6dd
JM
26480 [BZ #13550]
26481 * csu/libc-start.c: Do not include <bp-sym.h>.
26482 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26483 * elf/dl-open.c: Do not include <bp-sym.h>.
26484 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26485 * math/fegetenv.c: Do not include <bp-sym.h>.
26486 (fegetenv): Do not use BP_SYM in versioned symbols.
26487 * nptl/sysdeps/pthread/bits/libc-lockP.h
26488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26489 <bp-sym.h>.
26490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26491 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26493 (__pthread_mutex_destroy): Likewise.
26494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26495 (__pthread_mutex_lock): Likewise.
26496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26497 (__pthread_mutex_trylock): Likewise.
26498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26499 (__pthread_mutex_unlock): Likewise.
26500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26501 (__pthread_mutexattr_init): Likewise.
26502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26503 (__pthread_mutexattr_destroy): Likewise.
26504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26505 (__pthread_mutexattr_settype): Likewise.
26506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26507 (__pthread_rwlock_init): Likewise.
26508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26509 (__pthread_rwlock_destroy): Likewise.
26510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26511 (__pthread_rwlock_rdlock): Likewise.
26512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26513 (__pthread_rwlock_tryrdlock): Likewise.
26514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26515 (__pthread_rwlock_wrlock): Likewise.
26516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26517 (__pthread_rwlock_trywrlock): Likewise.
26518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26519 (__pthread_rwlock_unlock): Likewise.
26520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26521 (__pthread_key_create): Likewise.
26522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26523 (__pthread_setspecific): Likewise.
26524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26525 (__pthread_getspecific): Likewise.
26526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26527 Likewise.
26528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26529 (_pthread_cleanup_push_defer): Likewise.
26530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26531 (_pthread_cleanup_pop_restore): Likewise.
26532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26533 (pthread_setcancelstate): Likewise.
26534 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26535 <bp-sym.h>.
26536 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26537 (memchr): Do not use BP_SYM in weak_alias.
26538 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26539 (fegetenv): Do not use BP_SYM in versioned symbols.
26540 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26541 (fesetenv): Do not use BP_SYM in versioned symbols.
26542 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26543 (feupdateenv): Do not use BP_SYM in versioned symbols.
26544 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26545 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26546 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26547 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26548 (open64): Do not use BP_SYM in weak_alias.
26549 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26550 (fegetenv): Do not use BP_SYM in versioned symbols.
26551 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26552 (fesetenv): Do not use BP_SYM in versioned symbols.
26553 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26554 (feupdateenv): Do not use BP_SYM in versioned symbols.
26555 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26556 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26557 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26558 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26559 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26560 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26561 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26562 <bp-sym.h>.
26563 (__libc_start_main): Do not use BP_SYM.
26564
d6752ccd
SP
265652013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26566
cb57ce60
SP
26567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26568 redundant return line.
26569 (norm): Likewise.
26570 (denorm): Likewise.
26571 (dbl_mp): Likewise.
26572 (sub_magnitudes): Likewise.
26573 (__add): Likewise.
26574 (__sub): Likewise.
26575 (__mul): Likewise.
26576 (__inv): Likewise.
26577 (__dvd): Likewise.
26578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26579 (norm): Likewise.
26580 (denorm): Likewise.
26581 (dbl_mp): Likewise.
26582 (sub_magnitudes): Likewise.
26583 (__add): Likewise.
26584 (__sub): Likewise.
26585 (__mul): Likewise.
26586 (__inv): Likewise.
26587 (__dvd): Likewise.
26588
f414520d
SP
26589 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26590 instead of __mul.
26591 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26592 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26593 (cc32): Likewise.
26594
d6752ccd
SP
26595 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26596 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26598 of __mul for squares.
26599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26600 function
26601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26602 Likewise.
26603 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26604 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26605
70d9946a
JM
266062013-02-13 Joseph Myers <joseph@codesourcery.com>
26607
26608 [BZ #13550]
26609 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26610 code.
26611 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26612 prototype or function definition. Rename ubp_* variables and
26613 parameters. Remove argv definitions conditional on
26614 [__BOUNDED_POINTERS__].
26615 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26616 * elf/dl-runtime.c (_dl_fixup): Likewise.
26617 * include/set-hooks.h (RUN_HOOK): Likewise.
26618 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26619 definition.
26620 * string/strcpy.c (strcpy): Do not use __unbounded.
26621 * sysdeps/generic/frame.h (struct layout): Likewise.
26622 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26623 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26624 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26625 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26626 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26627 (__backtrace): Likewise.
26628 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26629 use __ptrvalue.
26630 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26631 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26632 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26633 Likewise.
26634 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26635 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26636 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26637 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26638 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26639 Do not use __unbounded.
26640 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26641 Rename __unboundedrlimits parameter to rlimits in prototype.
26642 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26643 Do not use __unbounded.
26644 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26645 not use __ptrvalue.
26646 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26647 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26648 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26649 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26650 __ptrvalue or __unbounded.
26651 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26652 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26653 use __unbounded.
26654 (__new_msgctl): Do not use __ptrvalue.
26655 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26656 __unbounded.
26657 (__libc_msgrcv): Do not use __ptrvalue.
26658 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26659 startup_info): Do not use __unbounded.
26660 (__libc_start_main): Likewise. Rename ubp_* variables and
26661 parameters. Remove argv definitions conditional on
26662 [__BOUNDED_POINTERS__].
26663 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26664 __ptrvalue.
26665 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26666 use __unbounded.
26667 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26668 or __ptrvalue.
26669 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26670 use __unbounded.
26671 (__new_shmctl): Do not use __ptrvalue.
26672 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26673 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26674 Likewise.
26675 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26677 (__libc_sigaction): Likewise.
26678 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26679 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26680 Likewise.
26681 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26682
cc7834d6
OB
266832013-02-13 Ondřej Bílka <neleai@seznam.cz>
26684
ffb1ec7b 26685 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26686
26687 * string/mempcpy.c: Implement by calling memcpy.
26688
bdf02814
SP
266892013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26690
c2af38aa
SP
26691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26692
4e92d59e
SP
26693 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26694 evaluation.
26695
909279a5
SP
26696 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26697 values in the mantissa.
26698
bdf02814
SP
26699 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26700 minimize writes to Z.
26701 (sub_magnitudes): Simplify code a bit.
26702
cd525923
RM
267032013-02-12 Roland McGrath <roland@hack.frob.com>
26704
26705 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26706 from the message. The linker prefixes all warnings with that already.
26707
7e2f0d2d
AS
267082013-02-12 Andreas Schwab <schwab@suse.de>
26709
a445af0b
AS
26710 [BZ #15078]
26711 * posix/regexec.c (extend_buffers): Add parameter min_len.
26712 (check_matching): Pass minimum needed length.
26713 (clean_state_log_if_needed): Likewise.
26714 (get_subexp): Likewise.
26715 * posix/Makefile (tests): Add bug-regex34.
26716 (bug-regex34-ENV): Define.
26717 * posix/bug-regex34.c: New file.
26718
7e2f0d2d
AS
26719 [BZ #11561]
26720 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26721 elements compare against the byte sequence of it, not its name.
26722 * posix/Makefile (tests): Add bug-regex35.
26723 (bug-regex35-ENV): Define.
26724 * posix/bug-regex35.c: New file.
26725
a175b684
TV
267262013-02-11 Tom de Vries <tom@codesourcery.com>
26727
26728 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26729 comment.
26730 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26731 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26732 (CHECK_EOL): Add undef.
26733
310998fe 267342013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26735
26736 * bits/stdlib-bsearch.h: New file.
26737 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26738 * stdlib/stdlib.h: Likewise.
41eda41d 26739
8ded91fb
RM
267402013-02-11 Roland McGrath <roland@hack.frob.com>
26741
26742 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26743 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26744 declaration.
26745 * manual/search.texi (Array Search Function): Add missing const in
26746 lfind prototype.
26747 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26748 declaration to use rlim_t.
26749 (Basic Scheduling Functions): Remove erroneous const from
26750 sched_getparam prototype. Remove erroneous * from
26751 sched_get_priority_max and sched_get_priority_min prototypes.
26752 (Resource Usage): Fix summary @comment on vtimes to refer to
26753 sys/vtimes.h rather than vtimes.h.
26754 Add missing *s in vtimes prototype.
26755 (Limits on Resources): Fix ulimit prototype to return long int.
26756 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26757 prototypes to use long int rather than double.
26758 (BSD Random): Fix initstate and setstate to use char *, not void *.
26759 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26760 prototype to make second argument 'struct aiocb64 *const[]'.
26761 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26762 (Status of AIO Operations): Remove erroneous const in aio_return and
26763 aio_return64 prototypes.
26764 (Synchronizing I/O): Fix sync prototype to return void.
26765 * manual/startup.texi (Suboptions): Remove an erroneous const in
26766 getsubopt prototype.
26767 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26768 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26769 use size_t rather than int.
26770 (Scanning All Users): Likewise for getpwent_r.
26771 (Setting Groups): Add missing const to setgroups prototype.
26772 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26773 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26774 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26775 'const void *' rather than 'const char *'.
26776 (Host Address Functions): Likewise for inet_ntop.
26777 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26778 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26779 ssize_t for return value.
26780 (Sending Data): Likewise for send, sendto, sendmsg.
26781 (Socket Option Functions): Add a missing const in setsockopt prototype.
26782 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26783 use wchar_t for the argument.
26784 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26785 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26786 take no arguments.
26787 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26788 double/float/long double for second argument.
26789 Fix return types of significand, significandf, significandl.
26790 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26791 argument in fchmod prototype.
26792 (File Owner): Use uid_t and gid_t in fchown prototype.
26793 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26794 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26795 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26796 use 'const struct dirent **' as argument types to CMP function pointer
26797 argument.
26798 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26799 (File Times): Fix summary magic @comment for struct utimbuf and utime
26800 to refer to utime.h, not time.h.
26801 * manual/string.texi (Argz Functions): Add missing const in
26802 argz_extract and argz_next prototypes.
26803 (Finding Tokens in a String): Likewise for basename.
26804 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26805 (Copying and Concatenation): Fix typo in wmemmove prototype.
26806 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26807 (Signal Stack): Remove erroneous const in sigstack prototype.
26808 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26809 prototype.
26810 (Simple Calendar Time): Likewise for stime.
26811 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26812 prototype.
26813 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26814 say sys/sysctl.h instead.
26815 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26816 and vsyslog prototypes.
26817
fe77fe6d
TV
268182013-02-11 Tom de Vries <tom@codesourcery.com>
26819
26820 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26821 Remove.
26822
3a09b620
RM
268232013-02-11 Roland McGrath <roland@hack.frob.com>
26824
26825 * misc/sys/mman.h: Fix typo in mremap comment.
26826
550a0b89
RM
268272013-02-08 Roland McGrath <roland@hack.frob.com>
26828
26829 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26830 the '\0' terminator.
26831
a2da1673
JM
268322013-02-08 Joseph Myers <joseph@codesourcery.com>
26833
26834 [BZ #13550]
26835 * debug/segfault.c: Don't include <bp-checks.h>.
26836 * sysdeps/generic/bp-checks.h: Remove file.
26837 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26838 (__GETDENTS): Don't use CHECK_N.
26839 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26840 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26841 (__getgroups): Don't use CHECK_N.
26842 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26843 (setgroups): Don't use CHECK_N.
26844 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26845 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26846 (__libc_msgrcv): Don't use CHECK_N.
26847 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26848 (__libc_msgsnd): Don't use CHECK_N.
26849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26850 <bp-checks.h>.
26851 (__libc_pread): Don't use CHECK_N.
26852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26853 include <bp-checks.h>.
26854 (__libc_pread64): Don't use CHECK_N.
26855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26856 include <bp-checks.h>.
26857 (__libc_pwrite): Don't use CHECK_N.
26858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26859 include <bp-checks.h>.
26860 (__libc_pwrite64): Don't use CHECK_N.
26861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26862 <bp-checks.h>.
26863 (__libc_pread): Don't use CHECK_N.
26864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26865 include <bp-checks.h>.
26866 (__libc_pread64): Don't use CHECK_N.
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26868 include <bp-checks.h>.
26869 (__libc_pwrite): Don't use CHECK_N.
26870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26871 include <bp-checks.h>.
26872 (__libc_pwrite64): Don't use CHECK_N.
26873 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26874 (do_pread): Don't use CHECK_N.
26875 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26876 (do_pread64): Don't use CHECK_N.
26877 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26878 (do_pwrite): Don't use CHECK_N.
26879 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26880 (do_pwrite64): Don't use CHECK_N.
26881 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26882 (__libc_readv): Don't use CHECK_N.
26883 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26884 (semop): Don't use CHECK_N.
26885 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26886 <bp-checks.h>.
26887 (semtimedop): Don't use CHECK_N.
26888 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26889 (__libc_pread): Don't use CHECK_N.
26890 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26891 <bp-checks.h>.
26892 (__libc_pread64): Don't use CHECK_N.
26893 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26894 <bp-checks.h>.
26895 (__libc_pwrite): Don't use CHECK_N.
26896 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26897 <bp-checks.h>.
26898 (__libc_pwrite64): Don't use CHECK_N.
26899 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26900 <bp-checks.h>.
26901 (__libc_msgrcv): Don't use CHECK_N.
26902 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26903 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26904 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26905 (__libc_writev): Don't use CHECK_N.
26906
b84660a8
RM
269072013-02-08 Roland McGrath <roland@hack.frob.com>
26908
7f3e75f8
RM
26909 * string/strcpy.c: Removed unused variable.
26910
b84660a8
RM
26911 * Makeconfig (+sysdep-includes): Define with := rather than =.
26912 Use an existing include/ subdir of each sysdeps dir before it.
26913
471514d3
CD
269142013-02-08 Carlos O'Donell <carlos@redhat.com>
26915
26916 * nscd/connection.c (register_traced_file): Comment function.
26917 [HAVE_INOTIFY] (union __inev): Define.
26918 [HAVE_INOTIFY] (inotify_check_files): New function.
26919 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26920 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26921 clear_db_cache.
26922 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26923
b2d3c3be
CD
269242013-02-08 Carlos O'Donell <carlos@redhat.com>
26925
26926 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26927 loaded if not already and that a failure is permanent.
26928
b39949d2
CD
269292013-02-08 Carlos O'Donell <carlos@redhat.com>
26930
ddacd1db 26931 [BZ #15006]
b39949d2
CD
26932 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26933 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26934
b2c9eff4
JM
269352013-02-08 Joseph Myers <joseph@codesourcery.com>
26936
f3aae3f3
JM
26937 [BZ #13550]
26938 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26939 (CHECK_1_NULL_OK): Likewise.
26940 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26941 (__fxstat): Do not use CHECK_1.
26942 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26943 <bp-checks.h>.
26944 (___fxstat64): Do not use CHECK_1.
26945 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26946 <bp-checks.h>.
26947 (__fxstatat): Do not use CHECK_1.
26948 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26949 <bp-checks.h>.
26950 (__fxstatat64): Do not use CHECK_1.
26951 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26952 <bp-checks.h>.
26953 (__fxstat): Do not use CHECK_1.
26954 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26955 <bp-checks.h>.
26956 (__fxstatat): Do not use CHECK_1.
26957 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26958 <bp-checks.h>.
26959 (__getresgid): Do not use CHECK_1.
26960 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26961 <bp-checks.h>.
26962 (__getresuid): Do not use CHECK_1.
26963 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26964 <bp-checks.h>.
26965 (__lxstat): Do not use CHECK_1.
26966 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26967 <bp-checks.h>.
26968 (__old_msgctl): Do not use CHECK_1.
26969 (__new_msgctl): Likewise.
26970 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26971 <bp-checks.h>.
26972 (__new_setrlimit): Do not use CHECK_1.
26973 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26974 <bp-checks.h>.
26975 (__old_shmctl): Do not use CHECK_1.
26976 (__new_shmctl): Likewise.
26977 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26978 <bp-checks.h>.
26979 (__xstat): Do not use CHECK_1.
26980 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26981 (__lxstat): Do not use CHECK_1.
26982 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26983 <bp-checks.h>.
26984 (___lxstat64): Do not use CHECK_1.
26985 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26986 (__old_msgctl): Do not use CHECK_1.
26987 (__new_msgctl): Likewise.
26988 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26989 <bp-checks.h>.
26990 (__gettimeofday): Do not use CHECK_1.
26991 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26992 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26993 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26994 <bp-checks.h>.
26995 (__gettimeofday): Do not use CHECK_1.
26996 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26997 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26998 (__new_shmctl): Do not use CHECK_1.
26999 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27000 <bp-checks.h>.
27001 (do_sigtimedwait): Do not use CHECK_1.
27002 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27003 <bp-checks.h>.
27004 (do_sigwaitinfo): Do not use CHECK_1.
27005 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27006 <bp-checks.h>.
27007 (msgctl): Do not use CHECK_1.
27008 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27009 <bp-checks.h>.
27010 (shmctl): Do not use CHECK_1.
27011 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27012 (ustat): Do not use CHECK_1.
27013 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27014 <bp-checks.h>.
27015 (__fxstat): Do not use CHECK_1.
27016 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27017 <bp-checks.h>.
27018 (__fxstatat): Do not use CHECK_1.
27019 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27020 <bp-checks.h>.
27021 (__lxstat): Do not use CHECK_1.
27022 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27023 <bp-checks.h>.
27024 (__xstat): Do not use CHECK_1.
27025 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27026 (__xstat): Do not use CHECK_1.
27027 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27028 (___xstat64): Do not use CHECK_1.
27029
b2c9eff4
JM
27030 [BZ #13550]
27031 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27032 definitions.
27033 (CHECK_BOUNDS_HIGH): Likewise.
27034 * string/strcpy.c: Do not include <bp-checks.h>.
27035 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27036
f1d70dad
RM
270372013-02-07 Roland McGrath <roland@hack.frob.com>
27038
27039 * nscd/nscd-client.h (__nscd_drop_map_ref):
27040 Add __attribute__ ((unused)).
27041 * nis/nss-nisplus.h (niserr2nss): Likewise.
27042
27043 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27044 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27045
27046 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27047 Remove inline keyword.
27048 * include/rounding-mode.h (round_away): Likewise.
27049 * libio/wfileops.c (adjust_wide_data): Likewise.
27050 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27051 (__m128i_strloadu_tolower): Likewise.
27052 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27053 (__m128i_strloadu_tolower): Likewise.
27054 * time/mktime.c (ydhms_diff): Likewise.
27055 * locale/elem-hash.h (elem_hash): Likewise.
27056 * locale/setlocale.c (setdata): Likewise.
27057 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27058 (re_string_wchar_at): Likewise.
27059 (bitset_not, bitset_merge, bitset_mask): Likewise.
27060 [!(__GNUC__ > 3)] (inline): Remove macro.
27061 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27062 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27063 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27064 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27065 * string/memcmp.c (memcmp_bytes): Likewise.
27066 * locale/programs/locarchive.c (compute_hashval): Likewise.
27067 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27068 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27069 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27070 * nss/getent.c (print_rpc, print_protocols): Likewise.
27071 (print_passwd, print_group, print_aliases): Likewise.
27072 * nis/nss-nisplus.h (niserr2nss): Likewise.
27073 * nscd/connections.c (restart_p): Likewise.
27074 Change return type to bool.
27075
eab55bfb
RM
270762013-02-05 Roland McGrath <roland@hack.frob.com>
27077
7bd642f5
RM
27078 * Makeconfig (all-Depend-files): Add existing
27079 $(sorted-subdirs:=/Depend) files.
27080 (all-subdirs): Remove nss.
27081 * sysdeps/unix/inet/Subdirs: Add it here instead.
27082 * hesiod/Depend: New file.
27083
573c29b2
RM
27084 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27085 instead of calling alloca.
27086
b2e25af0
RM
27087 * io/lseek.c (__lseek): Rename to __libc_lseek.
27088 Define __lseek as an alias.
27089
eab55bfb
RM
27090 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27091
9a0d1941
CD
270922013-02-04 Carlos O'Donell <carlos@redhat.com>
27093
27094 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27095 else clause and remove check for non-standard endianness.
27096
b83bbec4
DM
270972013-02-04 David S. Miller <davem@davemloft.net>
27098
27099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27100
6277fdab
JM
271012013-02-04 Joseph Myers <joseph@codesourcery.com>
27102
27103 [BZ #13550]
27104 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27105 (__ubp_memchr): Remove prototype.
27106 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27107 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27108 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27109 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27110 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27111 Remove alias.
27112 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27113 (__ubp_memchr): Likewise.
27114 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27115 (__ubp_memchr): Likewise.
27116 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27117 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27118 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27119 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27120 CHECK_STRING.
27121 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27122 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27123 (__getcwd): Do not use CHECK_STRING.
27124 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27125 <bp-checks.h>.
27126 (__real_chown): Do not use CHECK_STRING.
27127 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27128 <bp-checks.h>.
27129 (fchownat): Do not use CHECK_STRING.
27130 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27131 CHECK_STRING.
27132 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27133 <bp-checks.h>.
27134 (__lchown): Do not use CHECK_STRING.
27135 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27136 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27137 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27138 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27140 include <bp-checks.h>.
27141 (truncate64): Do not use CHECK_STRING.
27142 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27143 <bp-checks.h>.
27144 (__real_chown): Do not use CHECK_STRING.
27145 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27146 <bp-checks.h>.
27147 (__lchown): Do not use CHECK_STRING.
27148 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27149 <bp-checks.h>.
27150 (__chown): Do not use CHECK_STRING.
27151 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27152 <bp-checks.h>.
27153 (truncate64): Do not use CHECK_STRING.
27154 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27155 Likewise.
27156 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27157 (__xmknod): Do not use CHECK_STRING.
27158 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27159 <bp-checks.h>.
27160 (__xmknodat): Do not use CHECK_STRING.
27161 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27162 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27163
903ae060
AS
271642013-02-04 Andreas Schwab <schwab@suse.de>
27165
27166 [BZ #14142]
27167 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27168 * include/netdb.h: Likewise for h_errno.
27169 * elf/tst-stackguard1.c: Include <tls.h>.
27170
542f9466
JK
271712013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27172
27173 * elf/link.h (struct link_map): Extend the l_addr comment.
27174 * include/link.h (struct link_map): Likewise.
27175
e782a927
JM
271762013-02-01 Joseph Myers <joseph@codesourcery.com>
27177
27178 [BZ #13550]
27179 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27180 (BOUNDED_1): Remove macro.
27181 * debug/backtrace.c: Don't include <bp-checks.h>.
27182 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27183 (__backtrace): Likewise.
27184 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27185 <bp-checks.h>.
27186 (__backtrace): Don't use BOUNDED_1.
27187 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27188 <bp-checks.h>.
27189 (__backtrace): Don't use BOUNDED_1.
27190 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27191 (__backtrace): Don't use BOUNDED_1.
27192 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27193 (shmat): Don't use BOUNDED_N.
27194
8cf28c5e
JM
271952013-01-31 Joseph Myers <joseph@codesourcery.com>
27196
3a7ac8a0
JM
27197 [BZ #13550]
27198 * sysdeps/generic/bp-start.h: Remove file.
27199 * csu/libc-start.c: Don't include <bp-start.h>.
27200 (LIBC_START_MAIN): Set up __environ directly instead of using
27201 INIT_ARGV_and_ENVIRON.
27202 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27203 <bp-start.h>.
27204
f3499f95
JM
27205 [BZ #13550]
27206 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27207 definitions.
27208 (CHECK_FCNTL): Likewise.
27209 (CHECK_N_PAGES): Likewise.
27210
32a45bea
JM
27211 [BZ #13550]
27212 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27213 definitions.
27214 (CHECK_SIGSET_NULL_OK): Likewise.
27215 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27216 <bp-checks.h>.
27217 (sigpending): Don't use CHECK_SIGSET.
27218 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27219 <bp-checks.h>.
27220 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27221 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27222 <bp-checks.h>.
27223 (do_sigsuspend): Don't use CHECK_SIGSET.
27224 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27225 use CHECK_SIGSET.
27226 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27227 (do_sigwait): Don't use CHECK_SIGSET.
27228 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27229 use CHECK_SIGSET.
27230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27231 include <bp-checks.h>.
27232 (sigpending): Don't use CHECK_SIGSET.
27233 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27234 include <bp-checks.h>.
27235 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27236 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27237 <bp-checks.h>.
27238 (sigpending): Don't use CHECK_SIGSET.
27239 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27240 <bp-checks.h>.
27241 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27242
2e8a5c8c
JM
27243 [BZ #13550]
27244 * sysdeps/generic/bp-semctl.h: Remove file.
27245 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27246 <bp-checks.h> and <bp-semctl.h>.
27247 (__old_semctl): Don't use CHECK_SEMCTL.
27248 (__new_semctl): Likewise.
27249 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27250 and <bp-semctl.h>.
27251 (__old_semctl): Don't use CHECK_SEMCTL.
27252 (__new_semctl): Likewise.
27253 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27254 <bp-checks.h> and <bp-semctl.h>.
27255 (__old_semctl): Don't use CHECK_SEMCTL.
27256 (__new_semctl): Likewise.
27257 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27258 <bp-checks.h> and <bp-semctl.h>.
27259 (semctl): Don't use CHECK_SEMCTL.
27260
c2d54929
JM
27261 [BZ #13550]
27262 * Makerules (elide-bp-thunks): Remove variable.
27263 (elide-routines.oS): Don't use $(elide-bp-thunks).
27264 (elide-routines.os): Likewise.
27265 (elide-routines.o): Likewise.
27266 (elide-routines.op): Likewise.
27267 (elide-routines.og): Likewise.
27268 (objects): Don't use $(bp-thunks).
27269 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27270 include.
27271 (common-generated): Do not add s-proto-bp.d.
27272 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27273 (int): Likewise.
27274 (typ): Likewise.
27275 Do not generate makefile rules for bounded-pointer thunks.
27276 * sysdeps/generic/bp-thunks.h: Remove file.
27277 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27278 * sysdeps/unix/s-proto-bp.S: Likewise.
27279
8cf28c5e
JM
27280 [BZ #15062]
27281 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27282 parts of result separately when argument is not close to line from
27283 -i to i and one part of argument is small.
27284 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27285 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27286 * math/libm-test.inc (cacos_test): Add more tests.
27287 (casin_test): Likewise.
27288 (casinh_test): Likewise.
27289 * sysdeps/i386/fpu/libm-test-ulps: Update.
27290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27291
c4e33b8d
DM
272922013-01-31 David S. Miller <davem@davemloft.net>
27293
27294 * po/de.po: Update from translation team.
27295
3b60b421
MK
272962013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27297
27298 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27299
bb931195
TS
273002013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27301
b5a5da23
TS
27302 * configure.in (_AC_PROG_CC_C89): New definition.
27303 * configure: Regenerate.
27304
bb931195
TS
27305 * configure.in (AC_PROG_CPP): New definition.
27306 * configure: Regenerate.
27307
8c53a12c
JM
273082013-01-23 Joseph Myers <joseph@codesourcery.com>
27309
27310 * debug/tst-backtrace.h: New file.
27311 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27312 (ret): Remove variable.
27313 (x): Likewise.
27314 (FAIL): Remove macro.
27315 (NO_INLINE): Likewise.
27316 (fn1): Use match function instead of strstr.
27317 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27318 (ret): Remove variable.
27319 (x): Likewise.
27320 (FAIL): Remove macro.
27321 (NO_INLINE): Likewise.
27322 (fn): Use match function instead of strstr.
27323 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27324 (ret): Remove variable.
27325 (x): Likewise.
27326 (FAIL): Remove macro.
27327 (NO_INLINE): Likewise.
27328 (handle_signal): Use match function instead of strstr.
27329 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27330 (ret): Remove variable.
27331 (x): Likewise.
27332 (FAIL): Remove macro.
27333 (NO_INLINE): Likewise.
27334 (handle_signal): Use match function instead of strstr.
27335
4858fa2a
RM
273362013-01-23 Roland McGrath <roland@hack.frob.com>
27337
27338 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27339
bae8e7f5
DM
273402013-01-23 David S. Miller <davem@davemloft.net>
27341
27342 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27343 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27344 argument of CAS if possible.
27345 * sysdeps/sparc/sparc64/bits/atomic.h
27346 (__arch_compare_and_exchange_val_32_acq): Likewise.
27347 (__arch_compare_and_exchange_val_64_acq): Likewise.
27348
9cbbc4ae
PT
273492013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27350
27351 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27352 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27353 Include <limits.h>.
67b3f58c 27354 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27355
5655a0b5
AC
273562013-01-23 Adam Conrad <adconrad@0c3.net>
27357
27358 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27359 (LDFLAGS-tst-array5): Likewise.
27360
052aff95
JM
273612013-01-23 Joseph Myers <joseph@codesourcery.com>
27362
27363 [BZ #15036]
27364 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27365 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27366 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27367 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27368
7c1e01aa
DM
273692013-01-21 David S. Miller <davem@davemloft.net>
27370
27371 * sysdeps/sparc/backtrace.c: New file.
27372 * sysdeps/sparc/sparc32/backtrace.h: New file.
27373 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27374 * sysdeps/sparc/sparc64/backtrace.h: New file.
27375 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27376 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27377 -funwind-tables.
27378
ab087e0a
AS
273792013-01-21 Andreas Schwab <schwab@suse.de>
27380
27381 [BZ #15020]
27382 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27383 closed its stdout.
27384
ed689c2f
AS
273852013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27386
27387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27388 "mpa2.h".
27389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27390
31d470ac
JM
273912013-01-18 Joseph Myers <joseph@codesourcery.com>
27392 Mark Mitchell <mark@codesourcery.com>
27393 Tom de Vries <tom@codesourcery.com>
27394 Paul Pluzhnikov <ppluzhnikov@google.com>
27395
27396 * debug/tst-backtrace2.c: New file.
27397 * debug/tst-backtrace3.c: Likewise.
27398 * debug/tst-backtrace4.c: Likewise.
27399 * debug/tst-backtrace5.c: Likewise.
27400 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27401 (CFLAGS-tst-backtrace3.c): Likewise.
27402 (CFLAGS-tst-backtrace4.c): Likewise.
27403 (CFLAGS-tst-backtrace5.c): Likewise.
27404 (LDFLAGS-tst-backtrace2): Likewise.
27405 (LDFLAGS-tst-backtrace3): Likewise.
27406 (LDFLAGS-tst-backtrace4): Likewise.
27407 (LDFLAGS-tst-backtrace5): Likewise.
27408 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27409 tst-backtrace4 and tst-backtrace5.
27410
90567f30 274112013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27412 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27413
27414 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27415 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27416 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27417 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27419 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27420 "+r" and remove output regs list as redundant. Add explicit inline
27421 asm to specify register of return val to work around compiler codegen
27422 bug. Remove (int) cast on return value. Add return type parameter to
27423 use in macro so that this macro does not truncate return value for
27424 64-bit values.
27425 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27426 pass to INTERNAL_VSYSCALL_NCS.
27427 (INLINE_VSYSCALL): Add 'long int' as return type to
27428 INTERNAL_VSYSCALL_NCS macro invocation.
27429 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27430 INTERNAL_VSYSCALL_NCS macro invocation.
27431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27432
d3b9ea61
SP
274332013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27434
0b57daeb
SP
27435 [BZ #14496]
27436 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27437 Fix application of SIMD FP exception mask.
27438
caa99d06
SP
27439 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27440 mp_no from a power of two.
27441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27442 __mpexp_twomm1. Use __pow_mp.
27443
d3b9ea61
SP
27444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27445 multiplication.
27446
1dbaee3c
DM
274472013-01-17 David S. Miller <davem@davemloft.net>
27448
27449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27450
728d7b43
JM
274512013-01-17 Joseph Myers <joseph@codesourcery.com>
27452
27453 [BZ #15023]
27454 * include/complex.h: Condition contents on [!_COMPLEX_H].
27455 (__kernel_casinhf): New prototype.
27456 (__kernel_casinh): Likewise.
27457 (__kernel_casinhl): Likewise.
27458 * math/Makefile (libm_calls): Add k_casinh.
27459 * math/k_casinh.c: New file.
27460 * math/k_casinhf.c: Likewise.
27461 * math/k_casinhl.c: Likewise.
27462 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27463 finite nonzero arguments.
27464 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27465 finite nonzero arguments.
27466 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27467 finite nonzero arguments.
27468 * math/s_casinh.c: Do not include <float.h>.
27469 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27470 * math/s_casinhf.c: Do not include <float.h>.
27471 (__casinhf): Move code for finite nonzero arguments to
27472 k_casinhf.c.
27473 * math/s_casinhl.c: Do not include <float.h>.
27474 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27475 redefine.
27476 (__casinhl): Move code for finite nonzero arguments to
27477 k_casinhl.c.
27478 * math/libm-test.inc (cacos_test): Add more tests.
27479 * sysdeps/i386/fpu/libm-test-ulps: Update.
27480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27481
2a26ef3a
PT
274822013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27483
27484 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27485 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27486 [!HAVE_MREMAP]: Remove [defined linux] case.
27487 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27488
a897655d
SP
274892013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27490
27491 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27492
881ebe89 274932013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27494
27495 * elf/elf.h (R_386_SIZE32): New relocation.
27496 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27497 R_386_SIZE32.
27498 (elf_machine_rela): Likewise.
27499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27500 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27501
59981e9b
JM
275022013-01-17 Joseph Myers <joseph@codesourcery.com>
27503
27504 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27505 (FP_FAST_FMA): Do not define.
27506 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27507 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27508 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27509 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27510 !_SOFT_FLOAT]: Likewise.
27511 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27512 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27513 value.
27514 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27515 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27516 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27517 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27518 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27519 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27520 file.
27521
cfa8054f
AS
275222013-01-16 Andreas Schwab <schwab@suse.de>
27523
27524 [BZ #14327]
27525 * include/stdlib.h (__mktemp): Add declaration.
27526 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27527 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27528
dd930cc5
SP
275292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27530
881ebe89
SP
27531 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27532 definitions.
27533 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27534 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27535 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27536 definitions here.
27537 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27538 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27539 definitions.
27540 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27541 and ONE.
27542 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27543 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27544 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27545 definitions.
27546 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27547 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27548 definitions.
27549 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27550
dd930cc5
SP
27551 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27552
c19a9f89
DM
275532013-01-15 David S. Miller <davem@davemloft.net>
27554
1aa61767
DM
27555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27556 trunc{,f} to libm-sysdep_routes.
27557 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27559 file.
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27562 file.
27563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27564 file.
27565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27567 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27568 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27569 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27570 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27571 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27572 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27573
c42d5e98
DM
27574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27575 nearbyint{,f} to libm-sysdep_routes.
27576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27578 New file.
27579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27580 file.
27581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27582 New file.
27583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27584 file.
27585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27587 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27588 file.
27589 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27590 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27591 file.
27592 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27593 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27594 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27595
c19a9f89
DM
27596 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27597 libc_feholdexcept and libc_fesetenv.
27598
357679d2
MF
275992013-01-15 Mike Frysinger <vapier@gentoo.org>
27600
27601 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27602
65a82e3d
DM
276032013-01-14 David S. Miller <davem@davemloft.net>
27604
8b954ab9
DM
27605 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27606 (SPARC_ASM_VIS2_IFUNC): Likewise.
27607 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27609 use of 'siam' instruction.
27610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27611 Likewise.
27612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27613 Likewise.
27614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27615 Likewise.
27616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27621 file.
27622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27623 file.
27624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27625 file.
27626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27627 file.
27628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27633 new VIS2 routines.
27634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27637 Likewise.
27638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27641 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27643 routines to libm-sysdep_routines.
27644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27645
65a82e3d
DM
27646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27647 fdim/fdimf to libm-sysdep_routines.
27648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27649 file.
27650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27652 file.
27653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27656 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27657 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27658 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27659 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27660
e34ab705
SP
276612013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27662
2a91b573
SP
27663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27664 to optimize copies.
27665
1066a534
SP
27666 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27669
e34ab705
SP
27670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27671 local variable MPTWO.
27672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27673 Likewise.
27674
aba5e596
MF
276752013-01-13 Mike Frysinger <vapier@gentoo.org>
27676
27677 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27678 GLOB_NOESCAPE.
27679
e557e9e5
MF
276802013-01-13 Mike Frysinger <vapier@gentoo.org>
27681
27682 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27683
0428cec9
MF
276842013-01-13 Mike Frysinger <vapier@gentoo.org>
27685
27686 * manual/pattern.texi (glob_t): Document gl_flags.
27687 (glob64_t): Likewise.
27688
8794a964
DM
276892013-01-11 David S. Miller <davem@davemloft.net>
27690
66438c3f
RM
27691 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27692 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27693 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27694 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27695 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27696 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27697 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27698 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27699 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27700 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27701 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27702 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27703 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27704
4ae4244d
DM
27705 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27706 sparc V9 rather than using V8 code.
27707 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27708 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27709
8794a964
DM
27710 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27711 Move to...
27712 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27713 Here.
27714
6270516e
RM
277152013-01-11 Roland McGrath <roland@hack.frob.com>
27716
27717 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27718 not in the main loop.
27719 * configure: Regenerated.
27720
6a57d931
JM
277212013-01-11 Joseph Myers <joseph@codesourcery.com>
27722
27723 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27724 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27725 to just #else.
27726 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27727 [!__GLIBC_HAVE_LONG_LONG] case.
27728 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27729 condition to just #else.
27730 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27731 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27732 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27733 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27734 unconditional.
27735 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27736 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27737 #elif condition to just #else.
27738 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27739 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27740 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27741 #elif condition to just #else.
27742
0e8529e9
SE
277432013-01-11 Steve Ellcey <sellcey@mips.com>
27744
27745 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27746 (EF_MIPS_ARCH_64): Fix value.
27747 (EF_MIPS_ARCH_32R2): New.
27748 (EF_MIPS_ARCH_64R2): New.
27749
740b3dbe
L
277502013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27751
27752 * Makeconfig (+link-pie-before-libc): New.
27753 (+link-pie-after-libc): Likewise.
27754 (+link-pie-tests): Likewise.
27755 (+link-pie): Rewritten.
27756 (link-before-libc): Remove $(config-LDFLAGS).
27757 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27758 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27759 (config-LDFLAGS): Renamed to ...
27760 (rtld-LDFLAGS): This.
27761 (rtld-tests-LDFLAGS): New macro.
27762 (link-libc-rpath-link): Likewise.
27763 (link-libc-tests-rpath-link): Likewise.
27764 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27765 (link-libc): Prepand $(link-libc-rpath-link).
27766 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27767 (test-program-prefix): New macro.
27768 (test-via-rtld-prefix): Likewise.
27769 (test-program-cmd): Likewise.
27770 (host-test-program-cmd): Likewise.
27771 * Makefile ($(common-objpfx)testrun.sh): Replace
27772 $(run-program-prefix) with $(test-program-prefix).
27773 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27774 $(rtld-LDFLAGS).
27775 ($(common-objpfx)shlib.lds): Likewise.
27776 (build-module-helper): Likewise.
27777 ($(common-objpfx)format.lds): Likewise.
27778 * Rules (binaries-pie-tests): New.
27779 (binaries-pie-notests): Likewise.
27780 (binaries-pie): Rewritten.
27781 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27782 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27783 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27784 (make-test-out): Replace $(host-built-program-cmd) with
27785 $(host-test-program-cmd).
27786 * config.make.in (build-hardcoded-path-in-tests): New variable.
27787 * configure.in (--enable-hardcoded-path-in-tests): New configure
27788 option.
27789 (hardcoded_path_in_tests): New AC_SUBST.
27790 * configure: Regenerated.
27791 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27792 $(built-program-cmd) with $(test-program-cmd).
27793 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27794 (test_program_cmd): This.
27795 * elf/Makefile ($(objpfx)order.out): Run test with
27796 $(test-program-prefix).
27797 ($(objpfx)order2.out): Likewise.
27798 ($(objpfx)tst-initorder.out): Likewise.
27799 ($(objpfx)tst-initorder2.out): Likewise.
27800 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27801 $(test-program-cmd).
27802 ($(objpfx)tst-array1-static.out): Likewise.
27803 ($(objpfx)tst-array2.out): Likewise.
27804 ($(objpfx)tst-array3.out): Likewise.
27805 ($(objpfx)tst-array4.out): Likewise.
27806 ($(objpfx)tst-array5.out): Likewise.
27807 ($(objpfx)tst-array5-static.out): Likewise.
27808 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27809 $(test-program-cmd).
27810 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27811 $(run-program-prefix) with $(test-program-prefix).
27812 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27813 (test_program_prefix): This.
27814 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27815 $(run-program-prefix) with $(test-program-prefix).
27816 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27817 (test_program_prefix): This.
27818 * iconvdata/tst-tables.sh: Likewise.
27819 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27820 $(run-program-prefix) with $(test-program-prefix).
27821 ($(objpfx)tst-translit.out): Likewise.
27822 ($(objpfx)tst-gettext2.out): Likewise.
27823 ($(objpfx)tst-gettext4.out): Likewise.
27824 ($(objpfx)tst-gettext6.out): Likewise.
27825 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27826 (test_program_prefix): This.
27827 * intl/tst-gettext2.sh: Likewise.
27828 * intl/tst-gettext4.sh Likewise.
27829 * intl/tst-gettext6.sh: Likewise.
27830 * intl/tst-translit.sh: Likewise.
27831 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27832 with $(test-program-cmd).
27833 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27834 $(run-program-prefix) with $(test-program-prefix).
27835 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27836 (test_program_prefix): This.
27837 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27838 $(run-program-prefix) with $(test-program-prefix).
27839 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27840 (test_program_prefix): This.
27841 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27842 * posix/Makefile ($(objpfx)globtest.out): Replace
27843 $(run-via-rtld-prefix) and $(test-wrapper) with
27844 $(test-program-prefix) and $(test-via-rtld-prefix).
27845 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27846 $(test-program-prefix).
27847 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27848 $(host-test-program-cmd).
27849 (tst-spawn-ARGS): Likewise.
27850 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27851 $(test-program-prefix).
27852 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27853 (test_via_rtld_prefix): This.
27854 (test_wrapper): Renamed to ...
27855 (test_program_prefix): This.
27856 (run_program_prefix): Replaced by test_program_prefix.
27857 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27858 (test_program_prefix): This.
27859 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27860 with $(host-test-program-cmd).
27861 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27862 $(run-program-prefix) with $(test-program-prefix).
27863 ($(objpfx)tst-printf.out): Likewise.
27864 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27865 $(test-program-cmd).
27866 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27867 (test_program_prefix): This.
27868 * stdio-common/tst-unbputc.sh: Likewise.
27869 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27870 $(run-program-prefix) with $(test-program-prefix).
27871 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27872 (test_program_prefix): This.
27873 * string/Makefile ($(objpfx)tst-svc.out): Replace
27874 $(built-program-cmd) with $(test-program-cmd).
27875
c6fe55cf
AJ
278762013-01-11 Andreas Jaeger <aj@suse.de>
27877
27878 [BZ #15003]
27879 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27880 value. Sync with Linux 3.7.
27881
9e6919c8
DM
278822013-01-10 David S. Miller <davem@davemloft.net>
27883
27884 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27885 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27886 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27887
1c9f1a02
RM
278882013-01-10 Roland McGrath <roland@hack.frob.com>
27889
27890 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27891 never set.
27892 * configure: Regenerated.
27893
b9de2dde
DM
278942013-01-10 David S. Miller <davem@davemloft.net>
27895
27896 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27897 sparc V9 rather than using V8 code.
27898 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27899 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27900
e7f68ef4
RM
279012013-01-10 Roland McGrath <roland@hack.frob.com>
27902
27903 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27904 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27905 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27906 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27907 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27908 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27909 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27910 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27911 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27912 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27913 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27914 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27915 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27916 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27917 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27918 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27919 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27920 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27921 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27922 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27923 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27924 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27925 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27926 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27927 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27928 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27929 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27930
5a47cc9c
DM
279312013-01-10 David S. Miller <davem@davemloft.net>
27932
27933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27934
4cf8f209
L
279352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 * posix/Makefile (tests-static): New variable.
27938 (tests): Add $(tests-static).
27939 (tst-exec-static-ARGS): New variable.
27940 (tst-spawn-static-ARGS): Likewise.
27941 * posix/tst-exec-static.c: New file.
27942 * posix/tst-spawn-static.c: Likewise.
27943 * posix/tst-exec.c: Support run directly.
27944 * posix/tst-spawn.c: Likewise.
27945
fed0faa1
JM
279462013-01-10 Joseph Myers <joseph@codesourcery.com>
27947
828beb13
JM
27948 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27949 long.
27950 * math/bits/mathcalls.h (llrint): Likewise.
27951 (llround): Likewise.
27952 * stdlib/stdlib.h (struct drand48_data): Likewise.
27953 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27954 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27955 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27956 Likewise.
27957 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27958 Likewise.
27959 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27960 (elf_greg_t): Likewise.
27961 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27962 (__jmp_buf): Likewise.
27963 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27964 definitions.
27965 (llrint): Likewise, for all definitions.
27966 (llrintl): Likewise.
27967
fed0faa1
JM
27968 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27969 Remove [__GNUC__] condition.
27970 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27971 condition to just [__USE_ISOC99].
27972 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27973
1a20cb20
L
279742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 [BZ #14200]
27977 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27978 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27979 defined.
27980 (_POSIX_V6_ILP32_OFF32): Likewise.
27981 (_XBS5_ILP32_OFF32): Likewise.
27982 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27983 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27984
751b85f7
SP
279852013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27986
7490eb81
SP
27987 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27988
751b85f7
SP
27989 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27990 doubles __mpexp_twomm1. Adjust usage.
27991 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27992 Remove.
27993
988197f0
AS
279942013-01-10 Andreas Schwab <schwab@suse.de>
27995
27996 [BZ #14964]
27997 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27998 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27999
e83d7298
DM
280002013-01-09 David S. Miller <davem@davemloft.net>
28001
034ed64b 28002 [BZ #15003]
57f41c40
AS
28003 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28004 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28005 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28006 (TCP_FASTOPEN): Define.
e83d7298
DM
28007 (tcp_repair_opt): New structure.
28008 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28009 enum values.
57f41c40
AS
28010 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28011 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28012 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28013 (tcp_cookie_transactions): New structure.
28014
d5e0b9bd
AB
280152013-01-09 Anton Blanchard <anton@samba.org>
28016
28017 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28018 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28019 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28020 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28021
0c07e3ea
JM
280222013-01-09 Joseph Myers <joseph@codesourcery.com>
28023
28024 * include/features.h (__USE_ANSI): Remove.
28025
232f7002
RM
280262013-01-09 Roland McGrath <roland@hack.frob.com>
28027
ad98e30c
RM
28028 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28029
232f7002
RM
28030 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28031
950c99ca
SP
280322013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28033
b5792741
SP
28034 * sysdeps/s390/fpu/libm-test-ulps: Update.
28035
47cf2278
SP
28036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28037
950c99ca
SP
28038 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28039 (__acr): Likewise.
28040 (__cpy): Likewise.
28041 (norm): Likewise.
28042 (denorm): Likewise.
28043 (__mp_dbl): Likewise.
28044 (__dbl_mp): Likewise.
28045 (add_magnitudes): Likewise.
28046 (sub_magnitudes): Likewise.
28047 (__add): Likewise.
28048 (__sub): Likewise.
28049 (__mul): Likewise.
28050 (__inv): Likewise.
28051 (__dvd): Likewise.
28052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28053 (__acr): Likewise.
28054 (__cpy): Likewise.
28055 (norm): Likewise.
28056 (denorm): Likewise.
28057 (__mp_dbl): Likewise.
28058 (__dbl_mp): Likewise.
28059 (add_magnitudes): Likewise.
28060 (sub_magnitudes): Likewise.
28061 (__add): Likewise.
28062 (__sub): Likewise.
28063 (__mul): Likewise.
28064 (__inv): Likewise.
28065 (__dvd): Likewise.
28066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28067 (__acr): Likewise.
28068 (__cpy): Likewise.
28069 (norm): Likewise.
28070 (denorm): Likewise.
28071 (__mp_dbl): Likewise.
28072 (__dbl_mp): Likewise.
28073 (add_magnitudes): Likewise.
28074 (sub_magnitudes): Likewise.
28075 (__add): Likewise.
28076 (__sub): Likewise.
28077 (__mul): Likewise.
28078 (__inv): Likewise.
28079 (__dvd): Likewise.
28080
eede9df9
JM
280812013-01-08 Joseph Myers <joseph@codesourcery.com>
28082
28083 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28084 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28085 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28086 2 && __USE_EXTERN_INLINES]: Likewise.
28087
c40ea3d9
AJ
280882013-01-08 Andreas Jaeger <aj@suse.de>
28089
28090 [BZ# 14985]
28091 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28092 Remove.
28093 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28094 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28095
2ccdea26
AB
280962013-01-07 Anton Blanchard <anton@samba.org>
28097
28098 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28099 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28100 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28101 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28102 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28103 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28104 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28105 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28107 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28108 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28109 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28111 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28112 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28113 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28115 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28116 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28117 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28118 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28119 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28120 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28121 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28122 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28123 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28124 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28125 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28126 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28127 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28128 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28131 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28132 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28133 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28134 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28135 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28136 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28137 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28138 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28140 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28141
a9708fed
JM
281422013-01-07 Joseph Myers <joseph@codesourcery.com>
28143
375607b9
JM
28144 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28145 (__MALLOC_PMT): Likewise.
28146 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28147 [__GNUC__], only on [_LIBC].
28148 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28149 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28150 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28151 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28152 forward declaration.
28153 (realloc_hook_ini): Likewise.
28154 (memalign_hook_ini): Likewise.
28155 (__libc_memalign): Do not use __MALLOC_PMT in variable
28156 declaration.
28157 (__libc_valloc): Likewise.
28158 (__libc_pvalloc): Likewise.
28159 (__libc_calloc): Likewise.
28160 (__posix_memalign): Likewise.
28161
a9708fed
JM
28162 [BZ #14996]
28163 * math/s_casinh.c: Include <float.h>.
28164 (__casinh): Do not do computation with squaring and square root
28165 for large arguments.
28166 * math/s_casinhf.c: Include <float.h>.
28167 (__casinhf): Do not do computation with squaring and square root
28168 for large arguments.
28169 * math/s_casinhl.c: Include <float.h>.
28170 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28171 (__casinhl): Do not do computation with squaring and square root
28172 for large arguments.
28173 * math/libm-test.inc (casin_test): Add more tests.
28174 (casinh_test): Likewise.
28175 * sysdeps/i386/fpu/libm-test-ulps: Update.
28176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28177
afec409a
L
281782013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28179
28180 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28181 (__x86_64_raw_data_cache_size): Likewise.
28182 (__x86_64_data_cache_size_half): Likewise.
28183 (__x86_64_raw_data_cache_size_half): Likewise.
28184 (__x86_64_shared_cache_size): Likewise.
28185 (__x86_64_raw_shared_cache_size): Likewise.
28186 (__x86_64_shared_cache_size_half): Likewise.
28187 (__x86_64_raw_shared_cache_size_half): Likewise.
28188 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28189 to ...
28190 (__x86_data_cache_size): This.
28191 (__x86_64_raw_data_cache_size): Renamed to ...
28192 (__x86_raw_data_cache_size): This.
28193 (__x86_64_data_cache_size_half): Renamed to ...
28194 (__x86_data_cache_size_half): This.
28195 (__x86_64_raw_data_cache_size_half): Renamed to ...
28196 (__x86_raw_data_cache_size_half): This.
28197 (__x86_64_shared_cache_size): Renamed to ...
28198 (__x86_shared_cache_size): This.
28199 (__x86_64_raw_shared_cache_size): Renamed to ...
28200 (__x86_raw_shared_cache_size): This.
28201 (__x86_64_shared_cache_size_half): Renamed to ...
28202 (__x86_shared_cache_size_half): This.
28203 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28204 (__x86_raw_shared_cache_size_half): This.
28205 * sysdeps/x86_64/memcpy.S: Updated.
28206 * sysdeps/x86_64/memset.S: Likewise.
28207 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28210
0b3986d0
DM
282112013-01-04 David S. Miller <davem@davemloft.net>
28212
28213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28214
e47686e9
AS
282152013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28216
d643bac1
AS
28217 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28218 1 to avoid redefinition warning.
28219 (__USE_GNU): Don't define.
28220 (init_signaling_nan): Protoize.
28221
e47686e9
AS
28222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28223
b18decba
SP
282242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28225
fffb407f
SP
28226 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28228 (__cpymn): Likewise.
28229 (norm): Remove commented code.
28230 (denorm): Likewise.
28231 (__mp_dbl): Likewise.
28232 (__inv): Likewise.
28233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28234 (__cpymn): Likewise.
28235 (norm): Remove commented code.
28236 (denorm): Likewise.
28237 (__mp_dbl): Likewise.
28238 (__inv): Likewise.
28239
b18decba
SP
28240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28241 mp_no value for 1.0 and 2.0.
28242 (norm): Use RADIXI instead of radixi.d.
28243 (denorm): Likewise.
28244 (__mul): Use 0.0 instead of zero.d.
28245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28246 mp_no value for 1.0 and 2.0.
28247 (norm): Use RADIXI instead of radixi.d.
28248 (denorm): Likewise.
28249 (__mul): Use 0.0 instead of zero.d.
28250
cdc1c96f
JM
282512013-01-04 Joseph Myers <joseph@codesourcery.com>
28252
28253 [BZ #14994]
28254 * math/s_casinh.c (__casinh): Reduce finite argument to first
28255 quadrant then set signs of results at the end.
28256 * math/s_casinhf.c (__casinhf): Likewise.
28257 * math/s_casinhl.c (__casinhl): Likewise.
28258 * math/libm-test.inc (casin_test): Add more tests.
28259 (casinh_test): Likewise.
28260 * sysdeps/i386/fpu/libm-test-ulps: Update.
28261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28262
302913e1
SP
282632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28264
6420d207
SP
28265 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28266
a9e48ab4
SP
28267 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28268
b7837264
SP
28269 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28270 declarations.
28271 (denorm): Likewise.
28272 (__mp_dbl): Likewise.
28273 (__inv): Likewise.
28274
f8af25d2
SP
28275 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28276 and adjust the header comment.
28277
302913e1
SP
28278 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28279 variable name from declaration.
28280
5d7dd1ca
L
282812013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28282
28283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28284 Initialize COMMON_CPUID_INDEX_7 element.
28285 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28286 (CPUID_RTM): Likewise.
28287 (HAS_RTM): Likewise.
28288 (COMMON_CPUID_INDEX_7): New enum.
28289
2f5f40f4
AS
282902013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28291
28292 [BZ #14981]
28293 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28294 size is zero, record memory as freed.
28295
4056f4a0
AJ
282962013-01-03 Andreas Jaeger <aj@suse.de>
28297
28298 * po/ia.po: Add new Interlingua translation.
28299
ab15736f 283002012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28301
28302 * locale/programs/localedef.c: Fix description of '--posix' flag.
28303
568035b7
JM
283042013-01-02 Joseph Myers <joseph@codesourcery.com>
28305
e6898b8d
JM
28306 * NEWS: Update dates in second copyright notice.
28307 * README: Update copyright dates in example.
28308 * manual/libc.texinfo: Update copyright dates.
28309 * scripts/test-installation.pl: Update copyright date in --version
28310 output.
28311
0e2f9562
JM
28312 * hurd/ctty-input.c: Fix copyright notice formatting.
28313 * hurd/ctty-output.c: Likewise.
28314 * hurd/dtable.c: Likewise.
28315 * hurd/hurd-raise.c: Likewise.
28316 * hurd/hurdprio.c: Likewise.
28317 * hurd/msgportdemux.c: Likewise.
28318 * misc/sys/file.h: Likewise.
28319 * misc/sys/ioctl.h: Likewise.
28320 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28321 * sysdeps/mach/hurd/chdir.c: Likewise.
28322 * sysdeps/mach/hurd/fchdir.c: Likewise.
28323 * sysdeps/mach/hurd/rename.c: Likewise.
28324 * sysdeps/mach/hurd/rmdir.c: Likewise.
28325 * sysdeps/mach/hurd/seekdir.c: Likewise.
28326 * sysdeps/mach/hurd/setsid.c: Likewise.
28327 * sysdeps/posix/wait3.c: Likewise.
28328
568035b7
JM
28329 * All files with FSF copyright notices: Update copyright dates
28330 using scripts/update-copyrights.
28331 * intl/plural.c: Regenerated.
28332 * locale/programs/charmap-kw.h: Likewise.
28333 * locale/programs/locfile-kw.h: Likewise.
28334
da08f647
SP
283352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28336
0f5477af
SP
28337 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28338 four values.
28339
44e0d4c2
SP
28340 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28341 calculation loop and add branch prediction.
28342
4d55b4e5
SP
28343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28344 check access beyond bounds of m1np.
28345
da08f647
SP
28346 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28347 MPTWO.
28348 (__inv): Remove local variable MPTWO to use the global
28349 constant.
28350 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28352 variable MPTWO.
28353 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28354 MP3HALFS static const.
28355
8e051029
DM
283562013-01-01 David S. Miller <davem@davemloft.net>
28357
28358 * po/ca.po: Update from translation team.
28359
f4cf5f2d
JM
283602013-01-01 Joseph Myers <joseph@codesourcery.com>
28361
28362 * scripts/update-copyrights: New file.
28363 * Makeconfig: Reformat copyright notice.
28364 * ctype/ctype.h: Likewise.
28365 * debug/swprintf_chk.c: Likewise.
28366 * elf/dl-cache.c: Likewise.
28367 * elf/dl-debug.c: Likewise.
28368 * elf/dl-object.c: Likewise.
28369 * grp/initgroups.c: Likewise.
28370 * hurd/Makefile: Likewise.
28371 * hurd/hurd/signal.h: Likewise.
28372 * hurd/hurdfault.c: Likewise.
28373 * hurd/hurdioctl.c: Likewise.
28374 * hurd/hurdlookup.c: Likewise.
28375 * hurd/intr-msg.c: Likewise.
28376 * iconv/gconv_open.c: Likewise.
28377 * libio/swprintf.c: Likewise.
28378 * locale/lc-ctype.c: Likewise.
28379 * locale/nl_langinfo.c: Likewise.
28380 * mach/Machrules: Likewise.
28381 * mach/Makefile: Likewise.
28382 * malloc/obstack.h: Likewise.
28383 * manual/Makefile: Likewise.
28384 * manual/tsort.awk: Likewise.
28385 * misc/bits/stab.def: Likewise.
28386 * nis/nis_print_group_entry.c: Likewise.
28387 * nis/nis_table.c: Likewise.
28388 * nis/nss_compat/compat-pwd.c: Likewise.
28389 * nis/nss_compat/compat-spwd.c: Likewise.
28390 * po/Makefile: Likewise.
28391 * posix/fnmatch.c: Likewise.
28392 * posix/regex.h: Likewise.
28393 * resolv/Makefile: Likewise.
28394 * resolv/nss_dns/dns-network.c: Likewise.
28395 * resolv/res_hconf.c: Likewise.
28396 * scripts/gen-sorted.awk: Likewise.
28397 * soft-fp/soft-fp.h: Likewise.
28398 * stdio-common/printf.h: Likewise.
28399 * stdlib/monetary.h: Likewise.
28400 * stdlib/random.c: Likewise.
28401 * stdlib/random_r.c: Likewise.
28402 * sysdeps/generic/Makefile: Likewise.
28403 * sysdeps/gnu/Makefile: Likewise.
28404 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28411 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28414 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28416 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28417 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28419 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28420 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28424 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28432 * sysdeps/mach/hurd/errnos.awk: Likewise.
28433 * sysdeps/mach/hurd/fork.c: Likewise.
28434 * sysdeps/mach/hurd/getcwd.c: Likewise.
28435 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28436 * sysdeps/mach/hurd/mmap.c: Likewise.
28437 * sysdeps/mach/hurd/utimes.c: Likewise.
28438 * sysdeps/mach/hurd/xmknod.c: Likewise.
28439 * sysdeps/posix/profil.c: Likewise.
28440 * sysdeps/posix/readdir_r.c: Likewise.
28441 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28442 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28443 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28444 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28446 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28447 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28448 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28450 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28451 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28452 * sysdeps/pthread/lio_listio.c: Likewise.
28453 * sysdeps/sparc/dl-procinfo.h: Likewise.
28454 * sysdeps/unix/i386/sysdep.S: Likewise.
28455 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28456 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28457 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28458 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28460 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28461 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28462 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28463 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28464 * sysdeps/wordsize-32/divdi3.c: Likewise.
28465 * time/sys/time.h: Likewise.
28466 * wcsmbs/Makefile: Likewise.
28467
0549fbba
DM
284682013-01-01 David S. Miller <davem@davemloft.net>
28469
a141f1a7
DM
28470 * po/fr.po: Update from translation team.
28471
0549fbba
DM
28472 * catgets/gencat.c: Update copyright year.
28473 * csu/version.c: Likewise.
28474 * debug/catchsegv.sh: Likewise.
28475 * debug/pcprofiledump.c: Likewise.
28476 * debug/xtrace.sh: Likewise.
28477 * elf/ldconfig.c: Likewise.
28478 * elf/ldd.bash.in: Likewise.
28479 * elf/pldd.c: Likewise.
28480 * elf/sotruss.ksh: Likewise.
28481 * elf/sprof.c: Likewise.
28482 * iconv/iconv_prog.c: Likewise.
28483 * iconv/iconvconfig.c: Likewise.
28484 * locale/programs/locale.c: Likewise.
28485 * locale/programs/localedef.c: Likewise.
28486 * login/programs/pt_chown.c: Likewise.
28487 * malloc/memusage.sh: Likewise.
28488 * malloc/memusagestat.c: Likewise.
28489 * malloc/mtrace.pl: Likewise.
28490 * nscd/nscd.c: Likewise.
28491 * nss/getent.c: Likewise.
28492 * nss/makedb.c: Likewise.
28493 * posix/getconf.c: Likewise.
28494
18ea052c
SP
284952012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28496
28497 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28498 numbers.
28499
9c89fca6
MF
285002012-12-30 Mike Frysinger <vapier@gentoo.org>
28501
28502 * math/bits/mathcalls.h (modf): Use __nonnull.
28503
085ec079
SP
285042012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28505
28506 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28507 (split): Use macro CN instead of the bare value.
28508 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28509 could be used.
28510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28511 instead of the bare value.
28512 (power1): Likewise.
28513
6d9f97e1
SP
285142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28515
d63f73be
SP
28516 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28517 __ATAN_TWOM.
28518 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28519
6d9f97e1
SP
28520 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28521 their values.
28522 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28523 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28524 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28525 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28526
4c4febf5
AJ
285272012-12-28 Andreas Jaeger <aj@suse.de>
28528
af5843ef
AJ
28529 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28530 values are from Linux 3.7.
28531
4c4febf5
AJ
28532 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28533 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28534
99136f82
SP
285352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28536
2f216c3c 28537 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28538 TRUE case.
28539
99136f82
SP
28540 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28541 (norm): Likewise.
28542 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28543 variables with preprocessor constants.
28544 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28545 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28546 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28547
7fffbdff
BH
285482012-12-27 Bruno Haible <bruno@clisp.org>
28549
28550 [BZ #14317]
28551 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28552 only if needed.
28553
b76eb5f0
SP
285542012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28555
31a7fe5c
SP
28556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28557 and use variable directly.
28558 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28559
b76eb5f0
SP
28560 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28561 MPONE.
28562 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28563 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28564 variable MPONE.
28565 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28567 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28568 include directive. Remove local variable MPONE.
28569 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28570 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28572
2c8bfe7d
DM
285732012-12-25 David S. Miller <davem@davemloft.net>
28574
28575 * version.h (RELEASE): Set to "development".
28576 (VERSION): Set to "2.17.90".
28577 * NEWS: Add 2.18 section.
28578
147d03b0
DM
285792012-12-21 David S. Miller <davem@davemloft.net>
28580
28581 * po/hr.po: Update from translation team.
28582
a8ebb2b9
AK
285832012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28584
28585 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28586
95b4f1b6
SE
285872012-12-19 Steve Ellcey <sellcey@mips.com>
28588
b2d94007 28589 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28590
cedb2a90
MS
285912012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28592
28593 * manual/contrib.texi (Contributors): Spelling correction.
28594
bbf527d6
DM
285952012-12-15 David S. Miller <davem@davemloft.net>
28596
28597 * po/ru.po: Update from translation team.
28598
bc38c906
DM
285992012-12-13 David S. Miller <davem@davemloft.net>
28600
85429b1a
DM
28601 * NEWS: Mention IFUNC testsuite enhancements.
28602
d283e353
DM
28603 * po/pl.po: Update from translation team.
28604 * po/bg.po: Likewise.
28605
bc38c906
DM
28606 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28607 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28608
a181b0d7
DM
286092012-12-11 David S. Miller <davem@davemloft.net>
28610
4641d57e
DM
28611 * po/sv.po: Update from translation team.
28612
f7bc6495
DM
28613 * po/vi.po: Update from translation team.
28614
6fc9048f
DM
28615 * po/cs.po: Update from translation team.
28616
a181b0d7
DM
28617 * po/de.po: Update from translation team.
28618 * po/eo.po: Likewise.
28619 * po/nl.po: Likewise.
28620
f70bfe80
SP
286212012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28622
3c8b4190
SP
28623 [BZ #14246]
28624 * manual/argp.texi (Argp Helper Functions): Move node to follow
28625 Argp Parsing State.
28626
f70bfe80
SP
28627 [BZ #14872]
28628 * manual/conf.texi (Limits on File System Capacity): Mention if
28629 terminating null is included in the max size.
28630
188f0adf
AJ
286312012-12-10 Andreas Jaeger <aj@suse.de>
28632
28633 * po/cs.po: Update from translation team.
28634
56e7d3ad
SP
286352012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28636
28637 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28638 void pointer and cast to uintptr_t.
28639 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28640 path.
28641 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28642 * sysdeps/s390/s390-64/memset.S: Likewise.
28643
76f2d2ea 286442012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28645
28646 [BZ #14833]
28647 * menual/message.texi (Message Translation): Fix typos.
28648 (Helper programs for gettext): Likewise.
28649
67cbf9a2
AS
286502012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28651
28652 [BZ #14898]
28653 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28654 Change to -1.
28655
682d0e9a
DM
286562012-12-07 David S. Miller <davem@davemloft.net>
28657
28658 * po/libc.pot: Update.
28659
573cd484
RH
286602012-12-07 Richard Henderson <rth@redhat.com>
28661
7e9da188 28662 [BZ #10114]
573cd484
RH
28663 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28664 normal/normal case to before the switch.
28665 (_FP_DIV): Likewise.
28666
e933a943
MF
286672012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28668 Mike Frysinger <vapier@gentoo.org>
28669
28670 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28671 check for __NR_fadvise64_64.
28672
82123268
CM
286732012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28674
28675 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28676 0, not just to plain "0" as a statement.
28677 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28678 with cw.
28679
d9814526
JM
286802012-12-06 Joseph Myers <joseph@codesourcery.com>
28681
28682 * NEWS: Use sourceware.org in Bugzilla URL.
28683
7728c574
SP
286842012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28685
f16946dd
SP
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28687 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28688
5704bbcb
SP
28689 * stdio-common/tst-put-error.c (do_test): Add newline to the
28690 padded test to ensure flush.
28691
17aa0516
JL
286922012-12-05 Jeff Law <law@redhat.com>
28693
28694 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28695
363313b5
JM
286962012-12-05 Joseph Myers <joseph@codesourcery.com>
28697
effbd42a
JM
28698 * README: Don't refer to ports add-on as distributed separately.
28699 Mention AArch64 in list of systems supported in the ports add-on.
28700
87600365
JM
28701 * LICENSES: Add more non-FSF copyright and license notices.
28702
a0d7066a
JM
28703 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28704 ((unused)).
28705
66ca5a5b
JM
28706 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28707
363313b5
JM
28708 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28709 10000 as width of padded output.
28710
b37984ad
JM
287112012-12-04 Joseph Myers <joseph@codesourcery.com>
28712
9003570a
JM
28713 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28714
b37984ad
JM
28715 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28716 variable LX with __attribute__ ((unused)).
28717 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28718 Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28721 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28722 with __attribute__ ((unused)).
28723
c8df52ec
DM
287242012-12-04 David S. Miller <davem@abraco.davemloft.net>
28725
28726 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28727
b3b099af
JM
287282012-12-04 Joseph Myers <joseph@codesourcery.com>
28729
c33aa6e3
JM
28730 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28731 (CFLAGS-nldbl-acos.c): New variable.
28732 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28733 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28734 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28735 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28736 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28737 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28738 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28739 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28740 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28741 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28742 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28743 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28744 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28745 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28746 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28747 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28748 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28749 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28750 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28751 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28752 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28753 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28754 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28755 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28756 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28757 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28758 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28759 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28760 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28761 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28762 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28763 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28764 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28765 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28766 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28767 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28768 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28769 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28770 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28771 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28772 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28773 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28774 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28775 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28776 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28777 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28778 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28779 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28780 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28781 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28782 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28783 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28784 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28785 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28786 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28787 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28788 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28789 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28790 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28791 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28792 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28793 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28794 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28795 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28796 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28797 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28798 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28799 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28800 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28801 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28802 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28803 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28804 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28805 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28806 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28807 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28808 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28809 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28810 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28811 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28812 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28813 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28814 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28815 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28816 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28817 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28818 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28819 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28820 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28821 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28822 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28823 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28824 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28825 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28826 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28827 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28828 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28829
20f0018d
JM
28830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28831 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28832
b3b099af
JM
28833 [BZ #14914]
28834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28835 whole low double instead of just low 47 bits when splitting values
28836 into two parts.
28837
029264d1
AM
288382012-12-03 Allan McRae <allan@archlinux.org>
28839
28840 * manual/stdio.texi (Predefined Printf Handlers): Remove
28841 @hsep and @vsep usage.
28842
c9d6789e
MF
288432012-12-03 Mike Frysinger <vapier@gentoo.org>
28844
28845 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28846 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28847
4b7634a5
JL
288482012-12-03 Jeff Law <law@redhat.com>
28849
28850 * time/sys/time.h (settimeofday): Do not mark TV argument
28851 as __nonnull.
28852
eb6cbd24
MF
288532012-12-01 Mike Frysinger <vapier@gentoo.org>
28854
28855 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28856 when currently writing and seek to current position when not.
28857 * libio/Makefile (tests): Remove bug-fclose1.
28858 * libio/bug-fclose1.c: Delete.
28859
f638872a
JM
288602012-12-01 Joseph Myers <joseph@codesourcery.com>
28861
28862 * manual/arith.texi (feenableexcept): Fix typo.
28863 (fedisableexcept): Likewise.
28864
48085d14
RM
288652012-11-30 Roland McGrath <roland@hack.frob.com>
28866
28867 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28868 second, differently-typed declaration, rather than a cast.
28869
1a538b9f
SP
288702012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28871
28872 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28873 * include/rpc/svc.h: ... here.
28874
d07f2ff1 288752012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28876
28877 [BZ #13013]
28878 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28879 depending n and resplen2 to catch cases where answer
28880 equals answerp2.
28881
c93ec1f0
CD
288822012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28883
28884 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28885 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28886
37db69de
MF
288872012-11-29 Mike Frysinger <vapier@gentoo.org>
28888
28889 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28890
e10c4e4f
RM
288912012-11-29 Roland McGrath <roland@hack.frob.com>
28892
28893 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28894
2af1b328
JL
288952012-11-28 Jeff Law <law@redhat.com>
28896
28897 [BZ #13761]
28898 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28899 dataset_temporary. Track alloca usage into alloca_used.
28900 If dataset is large allocate and release it via malloc/free.
28901
111db5b1
FW
289022012-06-04 Florian Weimer <fweimer@redhat.com>
28903
f06cc227 28904 [BZ #14197]
111db5b1
FW
28905 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28906
dd694abd
DM
289072012-11-28 David S. Miller <davem@davemloft.net>
28908
28909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28910
9984dd01
JM
289112012-11-28 Joseph Myers <joseph@codesourcery.com>
28912
28913 [BZ #14803]
28914 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28915 of pi/2 rounded to nearest to 64 bits.
28916 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28917 nearest to 64 bits.
28918 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28919 bits.
28920
14bc93a9
JL
289212012-11-28 Jeff Law <law@redhat.com>
28922 Martin Osvald <mosvald@redhat.com>
28923
28924 [BZ #14889]
28925 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28926 * sunrpc/svc.c: Include time.h.
28927 (__svc_accept_failed): New function.
28928 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28929 any reason other than EINTR, call __svc_accept_failed.
28930 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28931 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28932
e3c6aa3a
AS
289332012-11-28 Andreas Schwab <schwab@suse.de>
28934
28935 * scripts/abilist.awk: Also handle indirect functions in .opd
28936 section.
28937
1bead169
JM
289382012-11-28 Joseph Myers <joseph@codesourcery.com>
28939
28940 [BZ #13881]
28941 * sysdeps/x86/fpu/powl_helper.c: New file.
28942 * sysdeps/x86/fpu/Makefile: Likewise.
28943 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28944 (p3): New object.
28945 (__ieee754_powl): Use __powl_helper for finite arguments except
28946 integer exponents below 8.
28947 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28948 (p3): New object.
28949 (__ieee754_powl): Use __powl_helper for finite arguments except
28950 integer exponents below 8.
28951 * math/libm-test.inc (pow_test): Add more tests and enable some
28952 previously disabled tests.
28953 * sysdeps/i386/fpu/libm-test-ulps: Update.
28954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28955
0817d63d
SP
289562012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28957 Carlos O'Donell <carlos_odonell@mentor.com>
28958
28959 * nss/makedb.c (is_prime): Assert that input is odd and greater
28960 than 4. Note that fact in a comment too.
28961 (next_prime): Add 4 to input.
28962
de2fd463
SP
289632012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28964
28965 [BZ #11741]
28966 * libio/Makefile (tests): Add test case tst-fwrite-error.
28967 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28968 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28969 * libio/tst-fwrite-error.c: New test case.
28970
c515fb51
L
289712012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28972
28973 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28974 before casting to void *.
28975 * include/libc-internal.h (__pointer_type): New macro.
28976 (__integer_if_pointer_type_sub): Likewise.
28977 (__integer_if_pointer_type): Likewise.
28978 (cast_to_integer): Likewise.
28979 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28980 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28981 before casting to atomic64_t.
28982 (atomic_exchange_acq): Likewise.
28983 (__arch_exchange_and_add_body): Likewise.
28984 (__arch_add_body): Likewise.
28985 (atomic_add_negative): Likewise.
28986 (atomic_add_zero): Likewise.
28987
4cf77aa9
JM
289882012-11-26 Joseph Myers <joseph@codesourcery.com>
28989
28990 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28991 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28992 (add_fdes): Likewise.
28993 (linear_search_fdes): Likewise.
28994 (binary_search_unencoded_fdes): Likewise.
28995
d260b3b4
AS
289962012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28997
28998 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28999
67060746
AC
290002012-11-24 Adam Conrad <adconrad@0c3.net>
29001
29002 * configure.in: Autodetect C++ header directories.
29003 * configure: Regenerated.
29004
800938a1
MF
290052012-11-23 Mike Frysinger <vapier@gentoo.org>
29006
29007 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29008
4e6e34e6
AS
290092012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29010
29011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29012
7c7feb47
JM
290132012-11-22 Joseph Myers <joseph@codesourcery.com>
29014
7184dcdf
JM
29015 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29016 LDBL_MANT_DIG == 106]: Disable some tests.
29017 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29018 Likewise.
29019 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29020 Likewise.
29021
0a42601f
JM
29022 [BZ #14871]
29023 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29024 input for small inputs. Return +/- pi/2 for large inputs.
29025 * math/libm-test.inc (atan_test): Add more tests.
29026
79c9b9fe
JM
29027 * sysdeps/generic/unwind-dw2-fde-glibc.c
29028 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29029 __attribute__ ((unused)).
29030
c60d3bf2
JM
29031 [BZ #14645]
29032 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29033 x * y if x and y are nonzero and z is zero.
29034
ef1e0867
JM
29035 [BZ #14811]
29036 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29037 nonzero exponents with absolute value below 0x1p-117 to +/-
29038 0x1p-117.
29039
1468ded3
JM
29040 [BZ #14869]
29041 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29042 up arguments below 2**-450, not just those below 2**-500.
29043 * math/libm-test.inc (hypot_test): Add another test.
29044
8e27e3cc
JM
29045 [BZ #14868]
29046 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29047 Return a+b for ratio over 2**120, not 2**60.
29048 * math/libm-test.inc (hypot_test): Add another test.
29049
c9c0279b
JM
29050 * math/libm-test.inc (clog_test): Use
29051 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29052 (clog10_test): Likewise.
29053
7c7feb47
JM
29054 [BZ #6778]
29055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29056
fff1530e
AS
290572012-11-22 Andreas Schwab <schwab@suse.de>
29058
29059 * sysdeps/i386/fpu/libm-test-ulps: Update.
29060
94558d30
PT
290612012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29062
29063 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29064 printf output with newline.
29065
7e1be741
L
290662012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29067
6bfea974
L
29068 [BZ #14865]
29069 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29070 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29071 -z nodlopen, -z initfirst and -z execstack support.
29072 * configure: Regenerated.
29073
7e1be741
L
29074 * elf/elf.h (DF_1_NODIRECT): New macro.
29075 (DF_1_IGNMULDEF): Likewise.
29076 (DF_1_NOKSYMS): Likewise.
29077 (DF_1_NOHDR): Likewise.
29078 (DF_1_EDITED): Likewise.
29079 (DF_1_NORELOC): Likewise.
29080 (DF_1_SYMINTPOSE): Likewise.
29081 (DF_1_GLOBAUDIT): Likewise.
29082 (DF_1_SINGLETON): Likewise.
29083 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29084 DT_1_SUPPORTED_MASK bits.
29085 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29086
105ce2ce
CD
290872012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29088
29089 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29090
123be9de
TS
290912012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29092
d072f3f7
TS
29093 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29094 macro.
29095
123be9de
TS
29096 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29097 (sendmmsg): Move declarations...
29098 * socket/sys/socket.h: ... here.
29099 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29100 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29101 include it from...
29102 * socket/recvmmsg.c: ... this new file.
29103 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29104 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29105 definition of __sendmmsg hidden.
29106 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29107 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29108 Move ENOSYS stub into and include it from...
29109 * socket/sendmmsg.c: ... this new file.
29110 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29111 (sysdep_routines): Move recvmmsg and sendmmsg...
29112 * socket/Makefile (routines): ... here.
29113 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29114 (GLIBC_PRIVATE): Add __sendmmsg.
29115 * include/sys/socket.h (__sendmmsg): Add declarations.
29116 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29117 sendmmsg.
29118
cf9a5d18
JM
291192012-11-20 Joseph Myers <joseph@codesourcery.com>
29120
29121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29122 variable I1 with __attribute__ ((unused)).
29123 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29124
ecd4caf9
JM
291252012-11-19 Joseph Myers <joseph@codesourcery.com>
29126
be14d48f
JM
29127 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29128 DUMMY variables with __attribute__ ((unused)).
29129
ecd4caf9
JM
29130 * bits/byteswap.h: Include <bits/types.h>.
29131 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29132
986cab95
PT
291332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29134
29135 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29136 string_t. Do not manually set errno.
29137 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29138 length with __strnlen. Make sure to both set errno and return it on
29139 failure.
29140
6d33cc9d
DM
291412012-11-19 David S. Miller <davem@davemloft.net>
29142
29143 With help from Joseph Myers.
29144 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29145 very large arguments properly.
29146 * math/libm-test.inc (atan_test): New tests.
29147 (atan2_test): New tests.
29148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29150
ee663277
JM
291512012-11-19 Joseph Myers <joseph@codesourcery.com>
29152
877f2d8e
JM
29153 [BZ #14856]
29154 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29155 Define to 3.
29156
116fc08a
JM
29157 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29158 [POSIX] (EADDRNOTAVAIL): Likewise.
29159 [POSIX] (EAFNOSUPPORT): Likewise.
29160 [POSIX] (EALREADY): Likewise.
29161 [POSIX] (ECONNABORTED): Likewise.
29162 [POSIX] (ECONNREFUSED): Likewise.
29163 [POSIX] (ECONNRESET): Likewise.
29164 [POSIX] (EDESTADDRREQ): Likewise.
29165 [POSIX] (EDQUOT): Likewise.
29166 [POSIX] (EHOSTUNREACH): Likewise.
29167 [POSIX] (EIDRM): Likewise.
29168 [POSIX] (EISCONN): Likewise.
29169 [POSIX] (ELOOP): Likewise.
29170 [POSIX] (EMULTIHOP): Likewise.
29171 [POSIX] (ENETDOWN): Likewise.
29172 [POSIX] (ENETUNREACH): Likewise.
29173 [POSIX] (ENOBUFS): Likewise.
29174 [POSIX] (ENODATA): Likewise.
29175 [POSIX] (ENOLINK): Likewise.
29176 [POSIX] (ENOMSG): Likewise.
29177 [POSIX] (ENOPROTOOPT): Likewise.
29178 [POSIX] (ENOSR): Likewise.
29179 [POSIX] (ENOSTR): Likewise.
29180 [POSIX] (ENOTCONN): Likewise.
29181 [POSIX] (ENOTSOCK): Likewise.
29182 [POSIX] (EOPNOTSUPP): Likewise.
29183 [POSIX] (EOVERFLOW): Likewise.
29184 [POSIX] (EPROTO): Likewise.
29185 [POSIX] (EPROTONOSUPPORT): Likewise.
29186 [POSIX] (EPROTOTYPE): Likewise.
29187 [POSIX] (ESTALE): Likewise.
29188 [POSIX] (ETIME): Likewise.
29189 [POSIX] (ETXTBSY): Likewise.
29190 [POSIX] (EWOULDBLOCK): Likewise.
29191 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29192 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29193 [POSIX] (SEEK_CUR): Likewise.
29194 [POSIX] (SEEK_END): Likewise.
29195 [POSIX || UNIX98] (mode_t): Do not require.
29196 [POSIX] (off_t): Likewise.
29197 [POSIX] (pid_t): Likewise.
29198 [POSIX] (sys/stat.h): Do not allow header.
29199 [POSIX] (unistd.h): Likewise.
29200 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29201 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29202 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29203 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29204 require.
29205 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29206 sigevent): Specify elements.
29207 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29208 entry.
29209 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29210 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29211
a483863f
JM
29212 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29213 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29214 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29215 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29216 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29217 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29218 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29219 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29220 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29221 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29222 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29223 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29224 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29225 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29226 Likewise.
29227 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29228 Likewise.
29229 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29230 Likewise.
29231 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29232 Likewise.
29233 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29234 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29235 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29236 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29237 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29238 Specify lower bound on value.
29239 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29240 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29241 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29242 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29243 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29244 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29245 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29246 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29247 value.
29248 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29249 as optional.
29250 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29251 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29252 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29253 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29254 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29255 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29256 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29257 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29258 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29259 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29260 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29261 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29262 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29263 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29264 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29265 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29266 entry.
29267 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29268 optional.
29269 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29270 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29271 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29272 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29273 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29274 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29275 Likewise.
29276 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29277 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29278 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29279 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29280 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29281 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29282 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29283 as optional.
29284 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29285 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29286 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29287 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29288 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29289 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29290 specify as optional.
29291 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29292 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29293 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29294 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29295 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29296 [XPG3] (NL_LANGMAX): Likewise.
29297 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29298 [POSIX || XPG3] (NL_NMAX): Likewise.
29299 [POSIX || XPG3] (NL_SETMAX): Likewise.
29300 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29301 [XPG3] (NZERO): Likewise.
29302 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29303 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29304 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29305 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29306 (REG_ERANGE): Expect.
29307 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29308 optional-constant.
29309 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29310 Use (void) in prototype.
29311 [POSIX] (*_t): Allow.
29312 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29313 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29314 (WRDE_BADVAL): Expect.
29315
5ba924e3
JM
29316 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29317 expect.
29318 [XPG3 || XPG4] (O_RSYNC): Likewise.
29319 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29320 Likewise.
29321 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29322 [XPG3 || XPG4] (sigqueue): Likewise.
29323 [XPG3 || XPG4] (sigtimedwait): Likewise.
29324 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29325 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29326 [XPG3 || XPG4] (vsnprintf): Likewise.
29327 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29328 Likewise.
29329 [XPG3 || XPG4] (blksize_t): Likewise.
29330 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29331 Likewise.
29332 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29333 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29334 [XPG3 || XPG4] (struct itimerspec): Likewise.
29335 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29336 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29337 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29338 [XPG3 || XPG4] (clockid_t): Likewise.
29339 [XPG3 || XPG4] (timer_t): Likewise.
29340 [XPG3 || XPG4] (clock_getres): Likewise.
29341 [XPG3 || XPG4] (clock_gettime): Likewise.
29342 [XPG3 || XPG4] (clock_settime): Likewise.
29343 [XPG3 || XPG4] (nanosleep): Likewise.
29344 [XPG3 || XPG4] (timer_create): Likewise.
29345 [XPG3 || XPG4] (timer_delete): Likewise.
29346 [XPG3 || XPG4] (timer_gettime): Likewise.
29347 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29348 [XPG3 || XPG4] (timer_settime): Likewise.
29349 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29350 [XPG3 || XPG4] (getlogin_r): Likewise.
29351 [XPG3 || XPG4] (pread): Likewise.
29352 [XPG3 || XPG4] (pthread_atfork): Likewise.
29353 [XPG3 || XPG4] (pwrite): Likewise.
29354
ee663277
JM
29355 [BZ #14835]
29356 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29357 <bits/siginfo.h>.
29358
942caa16
PT
293592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29360
e19af380
PT
29361 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29362 finalizing MALLSTREAM.
29363
942caa16
PT
29364 * sysdeps/mach/hurd/syncfs.c: New file.
29365
cfde9b46
SP
293662012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29367
29368 [BZ #14719]
29369 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29370 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29371 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29372 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29373 (_nss_dns_gethostbyname4_r): Likewise.
29374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29375 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29376
f6da27e5
PH
293772012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29378
29379 [BZ #13763]
29380 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29381
6665d4a2
SM
293822012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29383
1f51ee92
SM
29384 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29385 * elf/cache.c (print_entry): Print ",AArch64" for
29386 FLAG_AARCH64_LIB64
29387
6665d4a2
SM
29388 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29389 * elf/cache.c (print_entry): Print ",hard-float" for
29390 FLAG_ARM_LIBHF.
29391
05b227bd
DM
293922012-11-18 David S. Miller <davem@davemloft.net>
29393
29394 With help from Joseph Myers.
29395 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29396 cutoff to 2**-13.
29397 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29398 cutoff to 2**-25.
29399 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29400 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29401 small.
29402 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29403 * math/libm-test.inc (y0_test): New tests.
29404 (y1_test): New tests.
29405 * sysdeps/i386/fpu/libm-test-ulps: Update.
29406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29408
786b0b67
AS
294092012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29410
29411 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29412 64-bit targets.
29413 * configure: Regenerated.
29414
8e18b86d
DM
294152012-11-17 David S. Miller <davem@davemloft.net>
29416
29417 [BZ #14811]
29418 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29419 nonzero exponents with absolute value below 0x1p-128 to +/-
29420 0x1p-128.
29421
531f1ae0
JM
294222012-11-17 Joseph Myers <joseph@codesourcery.com>
29423
12df29e2
JM
29424 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29425
150dc1a0
JM
29426 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29427
531f1ae0
JM
29428 * posix/getconf-speclist.c: New file.
29429 * posix/posix-envs.def: Likewise.
29430 * posix/confstr.c (START_ENV_GROUP): New macro.
29431 (END_ENV_GROUP): Likewise.
29432 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29433 (KNOWN_PRESENT_ENV_STRING): Likewise.
29434 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29435 (UNKNOWN_ENVIRONMENT): Likewise.
29436 (confstr): Include posix-envs.def instead of handling
29437 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29438 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29439 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29440 (END_ENV_GROUP): Likewise.
29441 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29442 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29443 (UNKNOWN_ENVIRONMENT): Likewise.
29444 (__sysconf): Include posix-envs.def instead of handling associated
29445 cases directly here.
29446 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29447 preprocessing getconf-speclist.c rather than running getconf or
29448 generating empty file.
29449
a93f9cbc
PT
294502012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29451
29452 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29453
d64d9f87
AL
294542012-11-16 Andrej Lajovic <natrij@gmail.com>
29455
29456 [BZ #14672]
29457 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29458
447885eb
DM
294592012-11-16 David S. Miller <davem@davemloft.net>
29460
29461 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29462 smaller than LDBL_EPSILON/2.0L, just return xm1.
29463
bcbf9830
L
294642012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29465
29466 * elf/tst-array1.c (init): Set constructor priority to 1000.
29467 (fini): Set destructor priority to 1000.
29468 * elf/tst-array2dep.c: Likewise.
29469
2b766585
SP
294702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29471
29472 [BZ #11741]
29473 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29474 (_IO_new_file_xsputn): Also return EOF if none of the input
29475 data was written when overflow failed.
29476 * libio/iopadn.c (_IO_padn): Likewise.
29477 * libio/iowpadn.c (_IO_wpadn): Likewise.
29478 * stdio-common/tst-put-error.c: Add copyright notice.
29479 (do_test): Add case for printing padded string.
29480 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29481 _IO_padn returned error.
29482 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29483 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29484 return EOF.
29485
b1848fde
SP
294862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29487
29488 * libio/libioP.h: Add comment note that the references to C++
29489 bits are now obsolete.
29490
2fd89785
MS
294912012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29492
29493 * math/libm-test.inc (check_complex): Use asprintf.
29494
e3ea5409
JM
294952012-11-14 Joseph Myers <joseph@codesourcery.com>
29496
29497 * debug/pcprofiledump.c (print_version): Update copyright year.
29498 * malloc/memusagestat.c (print_version): Likewise.
29499
2e64d265
L
295002012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29501
29502 [BZ #14831]
29503 * elf/Makefile (tests): Add tst-audit8.
29504 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29505 ($(objpfx)tst-audit8.out): New target.
29506 (tst-audit8-ENV): New variable.
29507 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29508 audit if l_reloc_result is NULL.
29509 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29510 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29511 * elf/tst-audit8.c: New file.
29512
c485e4d2
MS
295132012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29514
29515 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29516 * misc/Makefile (CFLAGS-select.c): Define.
29517 * posix/Makefile (CFLAGS-pause.c): Define.
29518
3a0d900a
DM
295192012-11-13 David S. Miller <davem@davemloft.net>
29520
29521 * crypt/Makefile: Move test targets after toplevel Rules
29522 inclusion. Grab any necessary sysdep routines when linking.
29523 * crypt/md5.c (md5_process_block): Remove define, we will always
29524 name it __md5_process_block.
29525 (md5_finish_ctx): Update md5_process_block call.
29526 (md5_stream): Likewise.
29527 (md5_process_bytes): Likewise.
29528 (md5_process_block): Rename to __md5_process_block and move to ...
29529 * crypt/md5-block.c: ... here.
29530 * crypt/sha256.c (sha256_process_block): Move to ...
29531 * crypt/sha256-block.c: ... here.
29532 * crypt/sha512.c (sha512_process_block): Move to ...
29533 * crypt/sha512-block.c: ... here.
29534 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29535 path.
29536 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29537 * sysdeps/sparc/sparc64/multiarch/Makefile
29538 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29539 crypt subdir.
29540 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29541 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29542 multiarch changes.
29543 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29544 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29545 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29546 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29547 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29548 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29549 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29550 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29551 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29552 file.
29553 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29554 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29555 file.
29556 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29557
8ca89318
JM
295582012-11-13 Joseph Myers <joseph@codesourcery.com>
29559
e27d476a
JM
29560 * timezone/tzselect.ksh: Update from tzcode git revision
29561 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29562 * timezone/zdump.c: Likewise.
29563 * timezone/zic.c: Likewise.
29564 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29565 in TZVERSION setting, not $(PKGVERSION).
29566 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29567 REPORT_BUGS_TO settings.
29568
8ca89318
JM
29569 [BZ #14838]
29570 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29571 macro.
29572
47594329
MS
295732012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29574
29575 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29576 detection to immediately after _FP_ROUND().
29577 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29578 bits are 0.
29579
640ac3f1
DM
295802012-11-11 David S. Miller <davem@davemloft.net>
29581
29582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29583 inttypes.h
29584 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29585 __close rather than their public counterparts.
29586
3d2577bb
JM
295872012-11-10 Joseph Myers <joseph@codesourcery.com>
29588
29589 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29590 file.
29591 [UNIX98] (sem_timedwait): Do not expect.
29592 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29593 [XPG4 || UNIX98] (sockatmark): Do not expect.
29594 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29595 (clock_getcpuclockid): Do not expect.
29596 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29597 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29598 Do not expect.
29599 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29600 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29601 [UNIX98] (vwscanf): Likewise.
29602 [UNIX98] (vswscanf): Likewise.
29603
fb1ae1ee
JM
296042012-11-09 Joseph Myers <joseph@codesourcery.com>
29605
9ec6f8bd
JM
29606 * timezone/version.h: Remove file.
29607 * timezone/README: Do not refer to version.h.
29608 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29609 $(objpfx)version.h.
29610 ($(objpfx)zdump.o): Likewise.
c3f81911 29611 ($(objpfx)version.h): New target.
9ec6f8bd 29612
0aa8f8a1
JM
29613 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29614 2012i.
29615 * timezone/README: Don't mention modification to tzselect.ksh.
29616 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29617 work on unmodified tzselect.ksh. Substitute version numbers in
29618 tzselect.ksh.
29619
4e87147f
JM
29620 * Makefile (format-me): Remove.
29621 (INSTALL): Adjust indentation. Use commands directly instead of
29622 using $(format-me).
29623
8b748aed
JM
29624 * aclocal.m4 (ACX_PKGVERSION): New macro.
29625 (ACX_BUGURL): Likewise.
29626 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29627 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29628 (REPORT_BUGS_TO): Likewise.
29629 * configure: Regenerated.
29630 * config.h.in (PKGVERSION): New macro.
29631 (REPORT_BUGS_TO): Likewise.
29632 * config.make.in (PKGVERSION): New variable.
29633 (PKGVERSION_TEXI): Likewise.
29634 (REPORT_BUGS_TO): Likewise.
29635 (REPORT_BUGS_TEXI): Likewise.
29636 * Makefile (format-me): Use -I$(common-objpfx)manual.
29637 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29638 ($(common-objpfx)manual/%): New target.
29639 (manual/%): Remove target.
29640 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29641 (print_version): Use PKGVERSION.
29642 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29643 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29644 and REPORT_BUGS_TO.
29645 ($(objpfx)xtrace): Likewise.
29646 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29647 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29648 (print_version): Use PKGVERSION.
29649 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29650 (do_version): Use PKGVERSION.
29651 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29652 REPORT_BUGS_TO.
29653 (common-ldd-rewrite): Likewise.
29654 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29655 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29656 (print_version): Use PKGVERSION.
29657 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29658 * elf/pldd.c (argp_program_bug_address): Remove variable.
29659 (more_help): New function.
29660 (argp): Use more_help.
29661 (print_version): Use PKGVERSION.
29662 * elf/sln.c (main): Use PKGVERSION.
29663 (usage): Use REPORT_BUGS_TO.
29664 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29665 (top level): Use PKGVERSION.
29666 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29667 (print_version): Use PKGVERSION.
29668 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29669 (print_version): Use PKGVERSION.
29670 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29671 (print_version): Use PKGVERSION.
29672 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29673 (print_version): Use PKGVERSION.
29674 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29675 (print_version): Use PKGVERSION.
29676 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29677 (print_version): Use PKGVERSION.
29678 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29679 and BUGURL.
29680 ($(objpfx)memusage): Likewise.
29681 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29682 (do_version): Use PKGVERSION.
29683 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29684 (print_version): Use PKGVERSION.
29685 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29686 ($PKGVERSION): New variable.
29687 ($REPORT_BUGS_TO): Likewise.
29688 (usage): Use $REPORT_BUGS_TO.
29689 (top level): Use $PKGVERSION.
29690 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29691 ($(objpfx)pkgvers.texi): New rule.
29692 ($(objpfx)stamp-pkgvers): Likewise.
29693 * manual/install.texi: Include pkgvers.texi.
29694 (--with-pkgversion): Document new configure option.
29695 (--with-bugurl): Likewise.
29696 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29697 than necessarily for this particular distribution. Use
29698 REPORT_BUGS_TO for where to report bugs.
29699 * INSTALL: Regenerated.
29700 * manual/libc.texinfo: Include pkgvers.texi.
29701 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29702 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29703 (print_version): Use PKGVERSION.
29704 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29705 (print_version): Use PKGVERSION.
29706 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29707 (print_version): Use PKGVERSION.
29708 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29709 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29710 macro.
29711 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29712 (print_version): Use PKGVERSION.
29713 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29714 (print_version): Use PKGVERSION.
29715 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29716 and PKGVERSION.
29717
92e4b6a9
JM
29718 * timezone/checktab.awk: Update from tzcode 2012i.
29719 * timezone/ialloc.c: Likewise.
29720 * timezone/private.h: Likewise.
29721 * timezone/scheck.c: Likewise.
29722 * timezone/tzfile.h: Likewise.
29723 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29724 (TZVERSION): Hardcode tzcode version number.
29725 * timezone/zdump.c: Update from tzcode 2012i.
29726 * timezone/zic.c: Likewise.
29727 * timezone/version.h: New file.
29728 * timezone/README: Describe version.h. Update upstream location.
29729
9bde902c
JM
29730 [BZ #14824]
29731 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29732 (mktemp): Enable declaration.
29733 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29735 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29737 Likewise.
29738 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29739 Likewise.
29740 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29741 Likewise.
29742 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29743 Likewise.
29744 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29745 Likewise.
29746 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29747 Likewise.
29748
fb1ae1ee
JM
29749 [BZ #14821]
29750 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29751 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29752 for copies of such integer values.
29753 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29754 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29755
2c1adbcb
AJ
297562012-11-09 Andreas Jaeger <aj@suse.de>
29757
29758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29759 definitions and declarations that are provided by
29760 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29761
d0f8457e
AK
297622012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29763
3a235abb 29764 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29765 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29766 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29767 definition.
29768
57241e26
MS
297692012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29770
29771 * elf/elf.h: Update comment before AArch64 relocations.
29772
60e8270d
DM
297732012-11-07 David S. Miller <davem@davemloft.net>
29774
29775 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29776 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29777 (__start_context): Declare.
29778 (__makecontext_ret): Delete.
29779 (__makecontext): Hook up __start_context instead of
29780 __makecontext_ret.
29781 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29782 (sysdep_routines): Add __start_context when in stdlib.
29783
0fbb0fbc
JM
297842012-11-07 Joseph Myers <joseph@codesourcery.com>
29785
29786 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29787 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29788 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29789 hardcoded "nm".
29790 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29791 (READELF): New variable. Use it instead of hardcoded "readelf".
29792
eb48db7e
L
297932012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29794
29795 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29796 * sysdeps/x86/Makefile: Here.
29797 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29798 * sysdeps/x86/tst-xmmymm.sh: This.
29799
05bcf62a
JM
298002012-11-07 Joseph Myers <joseph@codesourcery.com>
29801
c4b6cf53
JM
29802 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29803 expectations.
29804 [UNIX98] (pthread_barrier_t): Do not expect.
29805 [UNIX98] (pthread_barrierattr_t): Likewise.
29806 [UNIX98] (pthread_spinlock_t): Likewise.
29807 [UNIX98] (pthread_barrier_destroy): Likewise.
29808 [UNIX98] (pthread_barrier_init): Likewise.
29809 [UNIX98] (pthread_barrier_wait): Likewise.
29810 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29811 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29812 [UNIX98] (pthread_barrierattr_init): Likewise.
29813 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29814 [UNIX98] (pthread_getcpuclockid): Likewise.
29815 [UNIX98] (pthread_mutex_timedlock): Likewise.
29816 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29817 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29818 [UNIX98] (pthread_sigmask): Likewise.
29819 [UNIX98] (pthread_spin_destroy): Likewise.
29820 [UNIX98] (pthread_spin_init): Likewise.
29821 [UNIX98] (pthread_spin_lock): Likewise.
29822 [UNIX98] (pthread_spin_trylock): Likewise.
29823 [UNIX98] (pthread_spin_unlock): Likewise.
29824 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29825 Do not expect.
29826 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29827 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29828 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29829 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29830 [XPG3 || XPG4] (pthread_key_t): Likewise.
29831 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29832 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29833 [XPG3 || XPG4] (pthread_once_t): Likewise.
29834 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29835 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29836 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29837 [XPG3 || XPG4] (pthread_t): Likewise.
29838
cbe6e120
JM
29839 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29840 not expect.
29841 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29842
1b126443
JM
29843 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29844 Change function return type to int.
29845
b961a573
JM
29846 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29847 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29848 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29849 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29850 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29851 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29852 [!POSIX] (posix_madvise): Likewise.
29853 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29854 && !UNIX98].
29855 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29856 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29857 (mode_t): Likewise.
29858 (posix_mem_offset): Likewise.
29859 (posix_typed_mem_get_info): Likewise.
29860 (posix_typed_mem_open): Likewise.
29861
9e188909
JM
29862 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29863 Change condition to [XOPEN2K8].
29864
05bcf62a
JM
29865 * conform/conformtest.pl: Preprocess allow-header data with -x c
29866 instead of from stdin.
29867 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29868 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29869 [C99-based standards] (cerfc): Likewise.
29870 [C99-based standards] (cexp2): Likewise.
29871 [C99-based standards] (cexpm1): Likewise.
29872 [C99-based standards] (clog10): Likewise.
29873 [C99-based standards] (clog1p): Likewise.
29874 [C99-based standards] (clog2): Likewise.
29875 [C99-based standards] (clgamma): Likewise.
29876 [C99-based standards] (ctgamma): Likewise.
29877 [C99-based standards] (cerff): Likewise.
29878 [C99-based standards] (cerfcf): Likewise.
29879 [C99-based standards] (cexp2f): Likewise.
29880 [C99-based standards] (cexpm1f): Likewise.
29881 [C99-based standards] (clog10f): Likewise.
29882 [C99-based standards] (clog1pf): Likewise.
29883 [C99-based standards] (clog2f): Likewise.
29884 [C99-based standards] (clgammaf): Likewise.
29885 [C99-based standards] (ctgammaf): Likewise.
29886 [C99-based standards] (cerfl): Likewise.
29887 [C99-based standards] (cerfcl): Likewise.
29888 [C99-based standards] (cexp2l): Likewise.
29889 [C99-based standards] (cexpm1l): Likewise.
29890 [C99-based standards] (clog10l): Likewise.
29891 [C99-based standards] (clog1pl): Likewise.
29892 [C99-based standards] (clog2l): Likewise.
29893 [C99-based standards] (clgammal): Likewise.
29894 [C99-based standards] (ctgammal): Likewise.
29895 * conform/data/inttypes.h-data [C99-based standards]: Include
29896 stdint.h-data. Remove all expectations for stdint.h contents.
29897 [C99-based standards] (PRI*): Do not allow.
29898 [C99-based standards] (SCN*): Likewise.
29899 [C99-based standards] (*_t): Likewise.
29900 [C99-based-standards] (PRId8): Expect macro.
29901 [C99-based-standards] (PRIi8): Likewise.
29902 [C99-based-standards] (PRIo8): Likewise.
29903 [C99-based-standards] (PRIu8): Likewise.
29904 [C99-based-standards] (PRIx8): Likewise.
29905 [C99-based-standards] (PRIX8): Likewise.
29906 [C99-based-standards] (SCNd8): Likewise.
29907 [C99-based-standards] (SCNi8): Likewise.
29908 [C99-based-standards] (SCNo8): Likewise.
29909 [C99-based-standards] (SCNu8): Likewise.
29910 [C99-based-standards] (SCNx8): Likewise.
29911 [C99-based-standards] (PRIdLEAST8): Likewise.
29912 [C99-based-standards] (PRIiLEAST8): Likewise.
29913 [C99-based-standards] (PRIoLEAST8): Likewise.
29914 [C99-based-standards] (PRIuLEAST8): Likewise.
29915 [C99-based-standards] (PRIxLEAST8): Likewise.
29916 [C99-based-standards] (PRIXLEAST8): Likewise.
29917 [C99-based-standards] (SCNdLEAST8): Likewise.
29918 [C99-based-standards] (SCNiLEAST8): Likewise.
29919 [C99-based-standards] (SCNoLEAST8): Likewise.
29920 [C99-based-standards] (SCNuLEAST8): Likewise.
29921 [C99-based-standards] (SCNxLEAST8): Likewise.
29922 [C99-based-standards] (PRIdFAST8): Likewise.
29923 [C99-based-standards] (PRIiFAST8): Likewise.
29924 [C99-based-standards] (PRIoFAST8): Likewise.
29925 [C99-based-standards] (PRIuFAST8): Likewise.
29926 [C99-based-standards] (PRIxFAST8): Likewise.
29927 [C99-based-standards] (PRIXFAST8): Likewise.
29928 [C99-based-standards] (SCNdFAST8): Likewise.
29929 [C99-based-standards] (SCNiFAST8): Likewise.
29930 [C99-based-standards] (SCNoFAST8): Likewise.
29931 [C99-based-standards] (SCNuFAST8): Likewise.
29932 [C99-based-standards] (SCNxFAST8): Likewise.
29933 [C99-based-standards] (PRId16): Likewise.
29934 [C99-based-standards] (PRIi16): Likewise.
29935 [C99-based-standards] (PRIo16): Likewise.
29936 [C99-based-standards] (PRIu16): Likewise.
29937 [C99-based-standards] (PRIx16): Likewise.
29938 [C99-based-standards] (PRIX16): Likewise.
29939 [C99-based-standards] (SCNd16): Likewise.
29940 [C99-based-standards] (SCNi16): Likewise.
29941 [C99-based-standards] (SCNo16): Likewise.
29942 [C99-based-standards] (SCNu16): Likewise.
29943 [C99-based-standards] (SCNx16): Likewise.
29944 [C99-based-standards] (PRIdLEAST16): Likewise.
29945 [C99-based-standards] (PRIiLEAST16): Likewise.
29946 [C99-based-standards] (PRIoLEAST16): Likewise.
29947 [C99-based-standards] (PRIuLEAST16): Likewise.
29948 [C99-based-standards] (PRIxLEAST16): Likewise.
29949 [C99-based-standards] (PRIXLEAST16): Likewise.
29950 [C99-based-standards] (SCNdLEAST16): Likewise.
29951 [C99-based-standards] (SCNiLEAST16): Likewise.
29952 [C99-based-standards] (SCNoLEAST16): Likewise.
29953 [C99-based-standards] (SCNuLEAST16): Likewise.
29954 [C99-based-standards] (SCNxLEAST16): Likewise.
29955 [C99-based-standards] (PRIdFAST16): Likewise.
29956 [C99-based-standards] (PRIiFAST16): Likewise.
29957 [C99-based-standards] (PRIoFAST16): Likewise.
29958 [C99-based-standards] (PRIuFAST16): Likewise.
29959 [C99-based-standards] (PRIxFAST16): Likewise.
29960 [C99-based-standards] (PRIXFAST16): Likewise.
29961 [C99-based-standards] (SCNdFAST16): Likewise.
29962 [C99-based-standards] (SCNiFAST16): Likewise.
29963 [C99-based-standards] (SCNoFAST16): Likewise.
29964 [C99-based-standards] (SCNuFAST16): Likewise.
29965 [C99-based-standards] (SCNxFAST16): Likewise.
29966 [C99-based-standards] (PRId32): Likewise.
29967 [C99-based-standards] (PRIi32): Likewise.
29968 [C99-based-standards] (PRIo32): Likewise.
29969 [C99-based-standards] (PRIu32): Likewise.
29970 [C99-based-standards] (PRIx32): Likewise.
29971 [C99-based-standards] (PRIX32): Likewise.
29972 [C99-based-standards] (SCNd32): Likewise.
29973 [C99-based-standards] (SCNi32): Likewise.
29974 [C99-based-standards] (SCNo32): Likewise.
29975 [C99-based-standards] (SCNu32): Likewise.
29976 [C99-based-standards] (SCNx32): Likewise.
29977 [C99-based-standards] (PRIdLEAST32): Likewise.
29978 [C99-based-standards] (PRIiLEAST32): Likewise.
29979 [C99-based-standards] (PRIoLEAST32): Likewise.
29980 [C99-based-standards] (PRIuLEAST32): Likewise.
29981 [C99-based-standards] (PRIxLEAST32): Likewise.
29982 [C99-based-standards] (PRIXLEAST32): Likewise.
29983 [C99-based-standards] (SCNdLEAST32): Likewise.
29984 [C99-based-standards] (SCNiLEAST32): Likewise.
29985 [C99-based-standards] (SCNoLEAST32): Likewise.
29986 [C99-based-standards] (SCNuLEAST32): Likewise.
29987 [C99-based-standards] (SCNxLEAST32): Likewise.
29988 [C99-based-standards] (PRIdFAST32): Likewise.
29989 [C99-based-standards] (PRIiFAST32): Likewise.
29990 [C99-based-standards] (PRIoFAST32): Likewise.
29991 [C99-based-standards] (PRIuFAST32): Likewise.
29992 [C99-based-standards] (PRIxFAST32): Likewise.
29993 [C99-based-standards] (PRIXFAST32): Likewise.
29994 [C99-based-standards] (SCNdFAST32): Likewise.
29995 [C99-based-standards] (SCNiFAST32): Likewise.
29996 [C99-based-standards] (SCNoFAST32): Likewise.
29997 [C99-based-standards] (SCNuFAST32): Likewise.
29998 [C99-based-standards] (SCNxFAST32): Likewise.
29999 [C99-based-standards] (PRId64): Likewise.
30000 [C99-based-standards] (PRIi64): Likewise.
30001 [C99-based-standards] (PRIo64): Likewise.
30002 [C99-based-standards] (PRIu64): Likewise.
30003 [C99-based-standards] (PRIx64): Likewise.
30004 [C99-based-standards] (PRIX64): Likewise.
30005 [C99-based-standards] (SCNd64): Likewise.
30006 [C99-based-standards] (SCNi64): Likewise.
30007 [C99-based-standards] (SCNo64): Likewise.
30008 [C99-based-standards] (SCNu64): Likewise.
30009 [C99-based-standards] (SCNx64): Likewise.
30010 [C99-based-standards] (PRIdLEAST64): Likewise.
30011 [C99-based-standards] (PRIiLEAST64): Likewise.
30012 [C99-based-standards] (PRIoLEAST64): Likewise.
30013 [C99-based-standards] (PRIuLEAST64): Likewise.
30014 [C99-based-standards] (PRIxLEAST64): Likewise.
30015 [C99-based-standards] (PRIXLEAST64): Likewise.
30016 [C99-based-standards] (SCNdLEAST64): Likewise.
30017 [C99-based-standards] (SCNiLEAST64): Likewise.
30018 [C99-based-standards] (SCNoLEAST64): Likewise.
30019 [C99-based-standards] (SCNuLEAST64): Likewise.
30020 [C99-based-standards] (SCNxLEAST64): Likewise.
30021 [C99-based-standards] (PRIdFAST64): Likewise.
30022 [C99-based-standards] (PRIiFAST64): Likewise.
30023 [C99-based-standards] (PRIoFAST64): Likewise.
30024 [C99-based-standards] (PRIuFAST64): Likewise.
30025 [C99-based-standards] (PRIxFAST64): Likewise.
30026 [C99-based-standards] (PRIXFAST64): Likewise.
30027 [C99-based-standards] (SCNdFAST64): Likewise.
30028 [C99-based-standards] (SCNiFAST64): Likewise.
30029 [C99-based-standards] (SCNoFAST64): Likewise.
30030 [C99-based-standards] (SCNuFAST64): Likewise.
30031 [C99-based-standards] (SCNxFAST64): Likewise.
30032 [C99-based-standards] (PRIdMAX): Likewise.
30033 [C99-based-standards] (PRIiMAX): Likewise.
30034 [C99-based-standards] (PRIoMAX): Likewise.
30035 [C99-based-standards] (PRIuMAX): Likewise.
30036 [C99-based-standards] (PRIxMAX): Likewise.
30037 [C99-based-standards] (PRIXMAX): Likewise.
30038 [C99-based-standards] (SCNdMAX): Likewise.
30039 [C99-based-standards] (SCNiMAX): Likewise.
30040 [C99-based-standards] (SCNoMAX): Likewise.
30041 [C99-based-standards] (SCNuMAX): Likewise.
30042 [C99-based-standards] (SCNxMAX): Likewise.
30043 [C99-based-standards] (PRIdPTR): Likewise.
30044 [C99-based-standards] (PRIiPTR): Likewise.
30045 [C99-based-standards] (PRIoPTR): Likewise.
30046 [C99-based-standards] (PRIuPTR): Likewise.
30047 [C99-based-standards] (PRIxPTR): Likewise.
30048 [C99-based-standards] (PRIXPTR): Likewise.
30049 [C99-based-standards] (SCNdPTR): Likewise.
30050 [C99-based-standards] (SCNiPTR): Likewise.
30051 [C99-based-standards] (SCNoPTR): Likewise.
30052 [C99-based-standards] (SCNuPTR): Likewise.
30053 [C99-based-standards] (SCNxPTR): Likewise.
30054 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30055 allow.
30056 * conform/data/stdint.h-data: Update comments to clarify
30057 requirements.
30058 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30059 type.
30060 [C99-based standards] (INT8_MAX): Likewise.
30061 [C99-based standards] (INT16_MIN): Likewise.
30062 [C99-based standards] (INT16_MAX): Likewise.
30063 [C99-based standards] (INT32_MIN): Likewise.
30064 [C99-based standards] (INT32_MAX): Likewise.
30065 [C99-based standards] (INT64_MIN): Likewise.
30066 [C99-based standards] (INT64_MAX): Likewise.
30067 [C99-based standards] (UINT8_MAX): Likewise.
30068 [C99-based standards] (UINT16_MAX): Likewise.
30069 [C99-based standards] (UINT32_MAX): Likewise.
30070 [C99-based standards] (UINT64_MAX): Likewise.
30071 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30072 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30073 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30074 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30075 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30076 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30077 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30078 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30079 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30080 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30081 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30082 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30083 [C99-based standards] (INT_FAST8_MIN): Likewise.
30084 [C99-based standards] (INT_FAST8_MAX): Likewise.
30085 [C99-based standards] (INT_FAST16_MIN): Likewise.
30086 [C99-based standards] (INT_FAST16_MAX): Likewise.
30087 [C99-based standards] (INT_FAST32_MIN): Likewise.
30088 [C99-based standards] (INT_FAST32_MAX): Likewise.
30089 [C99-based standards] (INT_FAST64_MIN): Likewise.
30090 [C99-based standards] (INT_FAST64_MAX): Likewise.
30091 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30092 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30093 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30094 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30095 [C99-based standards] (INTPTR_MIN): Likewise.
30096 [C99-based standards] (INTPTR_MAX): Likewise.
30097 [C99-based standards] (UINTPTR_MAX): Likewise.
30098 [C99-based standards] (INTMAX_MIN): Likewise.
30099 [C99-based standards] (INTMAX_MAX): Likewise.
30100 [C99-based standards] (UINTMAX_MAX): Likewise.
30101 [C99-based standards] (PTRDIFF_MIN): Likewise.
30102 [C99-based standards] (PTRDIFF_MAX): Likewise.
30103 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30104 [C99-based standards] (SIZE_MAX): Likewise.
30105 [C99-based standards] (WCHAR_MAX): Likewise.
30106 [C99-based standards] (WINT_MAX): Likewise.
30107 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30108 constraint on value.
30109 [C99-based standards] (WCHAR_MIN): Likewise.
30110 [C99-based standards] (WINT_MIN): Likewise.
30111 [C99-based standards] (*_t): Allow.
30112 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30113 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30114 Include math.h-data and complex.h-data. Remove all expectations
30115 of math.h and complex.h contents.
30116 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30117 at end of line.
30118 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30119 (struct tm): Expect tag.
30120 [C99-based-standards] (wcstof): Expect function.
30121 [C99-based-standards] (wcstold): Likewise.
30122 [C99-based-standards] (wcstoll): Likewise.
30123 [C99-based-standards] (wcstoull): Likewise.
30124 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30125 macro-int-constant. Specify type.
30126 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30127 constraint on value.
30128 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30129 Specify type.
30130 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30131 Specify value.
30132 [ISO C standards]: Do not allow headers.
30133 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30134 wcs[abcdefghijklmnopqrstuvwxyz]*.
30135 [ISO C standards] (*_t): Do not allow.
30136 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30137 Expect function.
30138 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30139 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30140 Specify type.
30141 [ISO C standards]: Do not allow headers.
30142 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30143 is[abcdefghijklmnopqrstuvwxyz]*.
30144 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30145 to[abcdefghijklmnopqrstuvwxyz]*.
30146 [ISO C standards] (*_t): Do not allow.
30147 * conform/data/stdalign.h-data: New file.
30148 * conform/data/stdbool.h-data: Likewise.
30149 * conform/data/stdnoreturn.h-data: Likewise.
30150
7514feb8
RM
301512012-11-07 Roland McGrath <roland@hack.frob.com>
30152
30153 [BZ #14815]
30154 * manual/filesys.texi (Directory Entries): Typo fix.
30155 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30156
19b2ecfc
MS
301572012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30158
30159 * elf/elf.h (EM_AARCH64): New macro.
30160 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30161 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30162 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30163 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30164 (R_AARCH64_TLSDESC): Likewise.
30165 (NT_ARM_TLS): Likewise.
30166 (NT_ARM_HW_BREAK): Likewise.
30167 (NT_ARM_HW_WATCH): Likewise.
30168
60e235ee
JM
301692012-11-07 Joseph Myers <joseph@codesourcery.com>
30170
30171 [BZ #14811]
30172 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30173 (__ieee754_powl): Saturate nonzero exponents with absolute value
30174 below 0x1p-79 to +/- 0x1p-79.
30175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30176 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30177 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30178 nonzero exponents with absolute value below 0x1p-32 to +/-
30179 0x1p-32.
30180 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30181 (__ieee754_powl): Saturate nonzero exponents with absolute value
30182 below 0x1p-79 to +/- 0x1p-79.
30183 * math/libm-test.inc (pow_test): Add more tests.
30184
0ab234b7
AK
301852012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30186
30187 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30188 _dl_s390_cap_flags with kernel. Increase string length.
30189 (_dl_s390_platforms): Add z196 and zEC12.
30190
45832f74
JM
301912012-11-07 Joseph Myers <joseph@codesourcery.com>
30192
30193 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30194 Change XOPEN21K to XOPEN2K.
30195
19218757
MK
301962012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30197
30198 * string/memmove.c: Use memcpy when possible.
30199
c5f45721
AJ
302002012-11-06 Andreas Jaeger <aj@suse.de>
30201
30202 * po/eo.po: Update from translation team.
30203
82477c28
JM
302042012-11-06 Joseph Myers <joseph@codesourcery.com>
30205
30206 [BZ #14793]
30207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30208 exponent and small x and y exponents, scale x or y up. Increase
30209 by 2 the exponent used in scaling up.
30210 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30211 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30212 * math/libm-test.inc (fma_test): Add more tests.
30213 (fma_test_towardzero): Likewise.
30214 (fma_test_downward): Likewise.
30215 (fma_test_upward): Likewise.
30216
99252c8c
JM
302172012-11-05 Joseph Myers <joseph@codesourcery.com>
30218
acfa885f
JM
30219 [BZ #14805]
30220 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30221 fenv_t *.
30222
99252c8c
JM
30223 [BZ #14801]
30224 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30225 namespace for names of struct fields.
30226 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30227 fenv_t fields.
30228 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30229 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30230
d6d98dea
ST
302312012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30232
30233 [BZ #3665]
30234 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30235
e10bb107
TS
302362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30237
30238 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30239 PTR_DEMANGLE.
30240
30241 [BZ #5246]
30242 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30243 PTR_DEMANGLE.
30244
a0c2940d
JM
302452012-11-04 Joseph Myers <joseph@codesourcery.com>
30246
30247 [BZ #14797]
30248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30249 definitely overflow as x * y not x * y + z.
30250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30252 * math/libm-test.inc (fma_test): Add more tests.
30253 (fma_test_towardzero): Likewise.
30254 (fma_test_downward): Likewise.
30255 (fma_test_upward): Likewise.
30256
b830319d
TS
302572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30258
30259 [BZ #157]
30260
30261 * include/stub-tag.h: Remove file.
30262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30263 '#include' of it.
30264 * manual/maint.texi (Porting): Don't reference it.
30265 * Makerules ($(objpfx)stubs): Likewise.
30266 * dirent/closedir.c: Don't include <stub-tag.h>.
30267 * dirent/dirfd.c: Likewise.
30268 * dirent/fdopendir.c: Likewise.
30269 * dirent/getdents.c: Likewise.
30270 * dirent/getdents64.c: Likewise.
30271 * dirent/opendir.c: Likewise.
30272 * dirent/readdir.c: Likewise.
30273 * dirent/readdir64.c: Likewise.
30274 * dirent/readdir64_r.c: Likewise.
30275 * dirent/readdir_r.c: Likewise.
30276 * dirent/rewinddir.c: Likewise.
30277 * dirent/seekdir.c: Likewise.
30278 * dirent/telldir.c: Likewise.
30279 * gmon/profil.c: Likewise.
30280 * grp/setgroups.c: Likewise.
30281 * inet/if_index.c: Likewise.
30282 * io/access.c: Likewise.
30283 * io/chdir.c: Likewise.
30284 * io/chmod.c: Likewise.
30285 * io/chown.c: Likewise.
30286 * io/close.c: Likewise.
30287 * io/dup.c: Likewise.
30288 * io/dup2.c: Likewise.
30289 * io/dup3.c: Likewise.
30290 * io/euidaccess.c: Likewise.
30291 * io/faccessat.c: Likewise.
30292 * io/fchdir.c: Likewise.
30293 * io/fchmod.c: Likewise.
30294 * io/fchmodat.c: Likewise.
30295 * io/fchown.c: Likewise.
30296 * io/fchownat.c: Likewise.
30297 * io/fcntl.c: Likewise.
30298 * io/flock.c: Likewise.
30299 * io/fstatfs.c: Likewise.
30300 * io/fstatfs64.c: Likewise.
30301 * io/fstatvfs.c: Likewise.
30302 * io/fstatvfs64.c: Likewise.
30303 * io/futimens.c: Likewise.
30304 * io/fxstat.c: Likewise.
30305 * io/fxstat64.c: Likewise.
30306 * io/fxstatat.c: Likewise.
30307 * io/fxstatat64.c: Likewise.
30308 * io/getcwd.c: Likewise.
30309 * io/isatty.c: Likewise.
30310 * io/lchmod.c: Likewise.
30311 * io/lchown.c: Likewise.
30312 * io/link.c: Likewise.
30313 * io/linkat.c: Likewise.
30314 * io/lseek.c: Likewise.
30315 * io/lseek64.c: Likewise.
30316 * io/lxstat64.c: Likewise.
30317 * io/mkdir.c: Likewise.
30318 * io/mkdirat.c: Likewise.
30319 * io/mkfifo.c: Likewise.
30320 * io/mkfifoat.c: Likewise.
30321 * io/open.c: Likewise.
30322 * io/open64.c: Likewise.
30323 * io/openat.c: Likewise.
30324 * io/openat64.c: Likewise.
30325 * io/pipe.c: Likewise.
30326 * io/pipe2.c: Likewise.
30327 * io/poll.c: Likewise.
30328 * io/posix_fadvise.c: Likewise.
30329 * io/posix_fadvise64.c: Likewise.
30330 * io/posix_fallocate.c: Likewise.
30331 * io/posix_fallocate64.c: Likewise.
30332 * io/read.c: Likewise.
30333 * io/readlink.c: Likewise.
30334 * io/readlinkat.c: Likewise.
30335 * io/rmdir.c: Likewise.
30336 * io/sendfile.c: Likewise.
30337 * io/sendfile64.c: Likewise.
30338 * io/statfs.c: Likewise.
30339 * io/statfs64.c: Likewise.
30340 * io/statvfs.c: Likewise.
30341 * io/statvfs64.c: Likewise.
30342 * io/symlink.c: Likewise.
30343 * io/symlinkat.c: Likewise.
30344 * io/ttyname.c: Likewise.
30345 * io/ttyname_r.c: Likewise.
30346 * io/umask.c: Likewise.
30347 * io/unlink.c: Likewise.
30348 * io/unlinkat.c: Likewise.
30349 * io/utime.c: Likewise.
30350 * io/utimensat.c: Likewise.
30351 * io/write.c: Likewise.
30352 * io/xmknod.c: Likewise.
30353 * io/xmknodat.c: Likewise.
30354 * io/xstat.c: Likewise.
30355 * io/xstat64.c: Likewise.
30356 * login/getpt.c: Likewise.
30357 * login/grantpt.c: Likewise.
30358 * login/unlockpt.c: Likewise.
30359 * math/e_acoshl.c: Likewise.
30360 * math/e_acosl.c: Likewise.
30361 * math/e_asinl.c: Likewise.
30362 * math/e_atan2l.c: Likewise.
30363 * math/e_atanhl.c: Likewise.
30364 * math/e_coshl.c: Likewise.
30365 * math/e_expl.c: Likewise.
30366 * math/e_fmodl.c: Likewise.
30367 * math/e_gammal_r.c: Likewise.
30368 * math/e_hypotl.c: Likewise.
30369 * math/e_j0l.c: Likewise.
30370 * math/e_j1l.c: Likewise.
30371 * math/e_jnl.c: Likewise.
30372 * math/e_lgammal_r.c: Likewise.
30373 * math/e_log10l.c: Likewise.
30374 * math/e_log2l.c: Likewise.
30375 * math/e_logl.c: Likewise.
30376 * math/e_powl.c: Likewise.
30377 * math/e_rem_pio2l.c: Likewise.
30378 * math/e_sinhl.c: Likewise.
30379 * math/e_sqrtl.c: Likewise.
30380 * math/fclrexcpt.c: Likewise.
30381 * math/fedisblxcpt.c: Likewise.
30382 * math/feenablxcpt.c: Likewise.
30383 * math/fegetenv.c: Likewise.
30384 * math/fegetexcept.c: Likewise.
30385 * math/fegetround.c: Likewise.
30386 * math/feholdexcpt.c: Likewise.
30387 * math/fesetenv.c: Likewise.
30388 * math/fesetround.c: Likewise.
30389 * math/feupdateenv.c: Likewise.
30390 * math/fgetexcptflg.c: Likewise.
30391 * math/fraiseexcpt.c: Likewise.
30392 * math/fsetexcptflg.c: Likewise.
30393 * math/ftestexcept.c: Likewise.
30394 * math/k_cosl.c: Likewise.
30395 * math/k_rem_pio2l.c: Likewise.
30396 * math/k_sinl.c: Likewise.
30397 * math/k_tanl.c: Likewise.
30398 * math/s_asinhl.c: Likewise.
30399 * math/s_atanl.c: Likewise.
30400 * math/s_cbrtl.c: Likewise.
30401 * math/s_erfl.c: Likewise.
30402 * math/s_expm1l.c: Likewise.
30403 * math/s_log1pl.c: Likewise.
30404 * math/s_tanhl.c: Likewise.
30405 * misc/acct.c: Likewise.
30406 * misc/brk.c: Likewise.
30407 * misc/chflags.c: Likewise.
30408 * misc/chroot.c: Likewise.
30409 * misc/fchflags.c: Likewise.
30410 * misc/fgetxattr.c: Likewise.
30411 * misc/flistxattr.c: Likewise.
30412 * misc/fremovexattr.c: Likewise.
30413 * misc/fsetxattr.c: Likewise.
30414 * misc/fsync.c: Likewise.
30415 * misc/ftruncate.c: Likewise.
30416 * misc/futimes.c: Likewise.
30417 * misc/futimesat.c: Likewise.
30418 * misc/getdomain.c: Likewise.
30419 * misc/getdtsz.c: Likewise.
30420 * misc/gethostid.c: Likewise.
30421 * misc/gethostname.c: Likewise.
30422 * misc/getloadavg.c: Likewise.
30423 * misc/getpagesize.c: Likewise.
30424 * misc/getsysstats.c: Likewise.
30425 * misc/getxattr.c: Likewise.
30426 * misc/gtty.c: Likewise.
30427 * misc/ioctl.c: Likewise.
30428 * misc/lgetxattr.c: Likewise.
30429 * misc/listxattr.c: Likewise.
30430 * misc/llistxattr.c: Likewise.
30431 * misc/lremovexattr.c: Likewise.
30432 * misc/lsetxattr.c: Likewise.
30433 * misc/lutimes.c: Likewise.
30434 * misc/madvise.c: Likewise.
30435 * misc/mincore.c: Likewise.
30436 * misc/mlock.c: Likewise.
30437 * misc/mlockall.c: Likewise.
30438 * misc/mmap.c: Likewise.
30439 * misc/mprotect.c: Likewise.
30440 * misc/msync.c: Likewise.
30441 * misc/munlock.c: Likewise.
30442 * misc/munlockall.c: Likewise.
30443 * misc/munmap.c: Likewise.
30444 * misc/preadv.c: Likewise.
30445 * misc/preadv64.c: Likewise.
30446 * misc/ptrace.c: Likewise.
30447 * misc/pwritev.c: Likewise.
30448 * misc/pwritev64.c: Likewise.
30449 * misc/readv.c: Likewise.
30450 * misc/reboot.c: Likewise.
30451 * misc/remap_file_pages.c: Likewise.
30452 * misc/removexattr.c: Likewise.
30453 * misc/revoke.c: Likewise.
30454 * misc/select.c: Likewise.
30455 * misc/setdomain.c: Likewise.
30456 * misc/setegid.c: Likewise.
30457 * misc/seteuid.c: Likewise.
30458 * misc/sethostid.c: Likewise.
30459 * misc/sethostname.c: Likewise.
30460 * misc/setregid.c: Likewise.
30461 * misc/setreuid.c: Likewise.
30462 * misc/setxattr.c: Likewise.
30463 * misc/sstk.c: Likewise.
30464 * misc/stty.c: Likewise.
30465 * misc/swapoff.c: Likewise.
30466 * misc/swapon.c: Likewise.
30467 * misc/sync.c: Likewise.
30468 * misc/syncfs.c: Likewise.
30469 * misc/syscall.c: Likewise.
30470 * misc/truncate.c: Likewise.
30471 * misc/ualarm.c: Likewise.
30472 * misc/usleep.c: Likewise.
30473 * misc/ustat.c: Likewise.
30474 * misc/utimes.c: Likewise.
30475 * misc/vhangup.c: Likewise.
30476 * misc/writev.c: Likewise.
30477 * posix/_exit.c: Likewise.
30478 * posix/alarm.c: Likewise.
30479 * posix/execve.c: Likewise.
30480 * posix/fexecve.c: Likewise.
30481 * posix/fork.c: Likewise.
30482 * posix/fpathconf.c: Likewise.
30483 * posix/getaddrinfo.c: Likewise.
30484 * posix/getegid.c: Likewise.
30485 * posix/geteuid.c: Likewise.
30486 * posix/getgid.c: Likewise.
30487 * posix/getgroups.c: Likewise.
30488 * posix/getlogin.c: Likewise.
30489 * posix/getlogin_r.c: Likewise.
30490 * posix/getpgid.c: Likewise.
30491 * posix/getpid.c: Likewise.
30492 * posix/getppid.c: Likewise.
30493 * posix/getresgid.c: Likewise.
30494 * posix/getresuid.c: Likewise.
30495 * posix/getsid.c: Likewise.
30496 * posix/getuid.c: Likewise.
30497 * posix/glob64.c: Likewise.
30498 * posix/nanosleep.c: Likewise.
30499 * posix/pathconf.c: Likewise.
30500 * posix/pause.c: Likewise.
30501 * posix/posix_madvise.c: Likewise.
30502 * posix/pread.c: Likewise.
30503 * posix/pread64.c: Likewise.
30504 * posix/pwrite.c: Likewise.
30505 * posix/pwrite64.c: Likewise.
30506 * posix/sched_getaffinity.c: Likewise.
30507 * posix/sched_getp.c: Likewise.
30508 * posix/sched_gets.c: Likewise.
30509 * posix/sched_primax.c: Likewise.
30510 * posix/sched_primin.c: Likewise.
30511 * posix/sched_rr_gi.c: Likewise.
30512 * posix/sched_setaffinity.c: Likewise.
30513 * posix/sched_setp.c: Likewise.
30514 * posix/sched_sets.c: Likewise.
30515 * posix/sched_yield.c: Likewise.
30516 * posix/setgid.c: Likewise.
30517 * posix/setlogin.c: Likewise.
30518 * posix/setpgid.c: Likewise.
30519 * posix/setresgid.c: Likewise.
30520 * posix/setresuid.c: Likewise.
30521 * posix/setsid.c: Likewise.
30522 * posix/setuid.c: Likewise.
30523 * posix/sleep.c: Likewise.
30524 * posix/spawni.c: Likewise.
30525 * posix/sysconf.c: Likewise.
30526 * posix/times.c: Likewise.
30527 * posix/wait.c: Likewise.
30528 * posix/wait3.c: Likewise.
30529 * posix/wait4.c: Likewise.
30530 * posix/waitpid.c: Likewise.
30531 * resolv/gai_sigqueue.c: Likewise.
30532 * resource/getpriority.c: Likewise.
30533 * resource/getrlimit.c: Likewise.
30534 * resource/getrusage.c: Likewise.
30535 * resource/nice.c: Likewise.
30536 * resource/setpriority.c: Likewise.
30537 * resource/setrlimit.c: Likewise.
30538 * resource/ulimit.c: Likewise.
30539 * rt/aio_cancel.c: Likewise.
30540 * rt/aio_fsync.c: Likewise.
30541 * rt/aio_read.c: Likewise.
30542 * rt/aio_sigqueue.c: Likewise.
30543 * rt/aio_suspend.c: Likewise.
30544 * rt/aio_write.c: Likewise.
30545 * rt/clock_getres.c: Likewise.
30546 * rt/clock_gettime.c: Likewise.
30547 * rt/clock_nanosleep.c: Likewise.
30548 * rt/clock_settime.c: Likewise.
30549 * rt/lio_listio.c: Likewise.
30550 * rt/mq_close.c: Likewise.
30551 * rt/mq_getattr.c: Likewise.
30552 * rt/mq_notify.c: Likewise.
30553 * rt/mq_open.c: Likewise.
30554 * rt/mq_receive.c: Likewise.
30555 * rt/mq_send.c: Likewise.
30556 * rt/mq_setattr.c: Likewise.
30557 * rt/mq_timedreceive.c: Likewise.
30558 * rt/mq_timedsend.c: Likewise.
30559 * rt/mq_unlink.c: Likewise.
30560 * rt/shm_open.c: Likewise.
30561 * rt/shm_unlink.c: Likewise.
30562 * rt/timer_create.c: Likewise.
30563 * rt/timer_delete.c: Likewise.
30564 * rt/timer_getoverr.c: Likewise.
30565 * rt/timer_gettime.c: Likewise.
30566 * rt/timer_settime.c: Likewise.
30567 * setjmp/__longjmp.c: Likewise.
30568 * setjmp/setjmp.c: Likewise.
30569 * signal/kill.c: Likewise.
30570 * signal/killpg.c: Likewise.
30571 * signal/raise.c: Likewise.
30572 * signal/sigaction.c: Likewise.
30573 * signal/sigaltstack.c: Likewise.
30574 * signal/sigblock.c: Likewise.
30575 * signal/sigignore.c: Likewise.
30576 * signal/sigintr.c: Likewise.
30577 * signal/signal.c: Likewise.
30578 * signal/sigpause.c: Likewise.
30579 * signal/sigpending.c: Likewise.
30580 * signal/sigqueue.c: Likewise.
30581 * signal/sigreturn.c: Likewise.
30582 * signal/sigset.c: Likewise.
30583 * signal/sigsetmask.c: Likewise.
30584 * signal/sigstack.c: Likewise.
30585 * signal/sigsuspend.c: Likewise.
30586 * signal/sigtimedwait.c: Likewise.
30587 * signal/sigvec.c: Likewise.
30588 * signal/sigwait.c: Likewise.
30589 * signal/sigwaitinfo.c: Likewise.
30590 * signal/sysv_signal.c: Likewise.
30591 * socket/accept.c: Likewise.
30592 * socket/accept4.c: Likewise.
30593 * socket/bind.c: Likewise.
30594 * socket/connect.c: Likewise.
30595 * socket/getpeername.c: Likewise.
30596 * socket/getsockname.c: Likewise.
30597 * socket/getsockopt.c: Likewise.
30598 * socket/isfdtype.c: Likewise.
30599 * socket/listen.c: Likewise.
30600 * socket/recv.c: Likewise.
30601 * socket/recvfrom.c: Likewise.
30602 * socket/recvmsg.c: Likewise.
30603 * socket/send.c: Likewise.
30604 * socket/sendmsg.c: Likewise.
30605 * socket/sendto.c: Likewise.
30606 * socket/setsockopt.c: Likewise.
30607 * socket/shutdown.c: Likewise.
30608 * socket/sockatmark.c: Likewise.
30609 * socket/socket.c: Likewise.
30610 * socket/socketpair.c: Likewise.
30611 * stdio-common/ctermid.c: Likewise.
30612 * stdio-common/cuserid.c: Likewise.
30613 * stdio-common/remove.c: Likewise.
30614 * stdio-common/rename.c: Likewise.
30615 * stdio-common/renameat.c: Likewise.
30616 * stdio-common/tempname.c: Likewise.
30617 * stdlib/getcontext.c: Likewise.
30618 * stdlib/makecontext.c: Likewise.
30619 * stdlib/setcontext.c: Likewise.
30620 * stdlib/swapcontext.c: Likewise.
30621 * stdlib/system.c: Likewise.
30622 * streams/fattach.c: Likewise.
30623 * streams/fdetach.c: Likewise.
30624 * streams/getmsg.c: Likewise.
30625 * streams/getpmsg.c: Likewise.
30626 * streams/putmsg.c: Likewise.
30627 * streams/putpmsg.c: Likewise.
30628 * sysdeps/unix/bsd/getpt.c: Likewise.
30629 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30630 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30631 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30633 Likewise.
30634 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30635 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30636 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30637 * sysvipc/msgctl.c: Likewise.
30638 * sysvipc/msgget.c: Likewise.
30639 * sysvipc/msgrcv.c: Likewise.
30640 * sysvipc/msgsnd.c: Likewise.
30641 * sysvipc/semctl.c: Likewise.
30642 * sysvipc/semget.c: Likewise.
30643 * sysvipc/semop.c: Likewise.
30644 * sysvipc/semtimedop.c: Likewise.
30645 * sysvipc/shmat.c: Likewise.
30646 * sysvipc/shmctl.c: Likewise.
30647 * sysvipc/shmdt.c: Likewise.
30648 * sysvipc/shmget.c: Likewise.
30649 * termios/tcdrain.c: Likewise.
30650 * termios/tcflow.c: Likewise.
30651 * termios/tcflush.c: Likewise.
30652 * termios/tcgetattr.c: Likewise.
30653 * termios/tcgetpgrp.c: Likewise.
30654 * termios/tcsendbrk.c: Likewise.
30655 * termios/tcsetattr.c: Likewise.
30656 * termios/tcsetpgrp.c: Likewise.
30657 * time/adjtime.c: Likewise.
30658 * time/clock.c: Likewise.
30659 * time/getitimer.c: Likewise.
30660 * time/gettimeofday.c: Likewise.
30661 * time/setitimer.c: Likewise.
30662 * time/settimeofday.c: Likewise.
30663 * time/stime.c: Likewise.
30664 * time/time.c: Likewise.
30665
306662012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30667
a20492cf
PT
30668 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30669 /usr/old/bin.
30670
72e182e3
PT
30671 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30672 instead of spaces.
30673 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30674
fbeafede
JM
306752012-11-03 Joseph Myers <joseph@codesourcery.com>
30676
5b5b04d6
JM
30677 [BZ #14796]
30678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30679 FE_TONEAREST before applying Dekker multiplication and Knuth
30680 addition. Clear inexact exceptions and check for exact zero
30681 results afterwards.
30682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30683 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30685 * math/libm-test.inc (fma_test): Add more tests.
30686 (fma_test_towardzero): Likewise.
30687 (fma_test_downward): Likewise.
30688 (fma_test_upward): Likewise.
30689 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30690 function.
30691 (libc_fesetround): New macro.
30692 (libc_fesetroundf): Likewise.
30693 (libc_fesetroundl): Likewise.
30694 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30695 function.
30696 (libc_fesetround_387): Likewise.
30697 (libc_fesetroundf): New macro.
30698 (libc_fesetround): Likewise.
30699 (libc_fesetroundl): Likewise.
30700 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30701 function.
30702 (libc_fesetroundf): New macro.
30703 (libc_fesetround): Likewise.
30704 (libc_fesetroundl): Likewise.
30705 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30706 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30707 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30708 libm_hidden_ver.
30709 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30710 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30711 libm_hidden_def.
30712 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30713 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30714 libm_hidden_ver.
30715 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30716 libm_hidden_def.
30717
fbeafede
JM
30718 [BZ #3439]
30719 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30720 integer constant usable in #if and use that to give value to enum
30721 constant.
30722 (FE_DIVBYZERO): Likewise.
30723 (FE_UNDERFLOW): Likewise.
30724 (FE_OVERFLOW): Likewise.
30725 (FE_INVALID): Likewise.
30726 (FE_INVALID_SNAN): Likewise.
30727 (FE_INVALID_ISI): Likewise.
30728 (FE_INVALID_IDI): Likewise.
30729 (FE_INVALID_ZDZ): Likewise.
30730 (FE_INVALID_IMZ): Likewise.
30731 (FE_INVALID_COMPARE): Likewise.
30732 (FE_INVALID_SOFTWARE): Likewise.
30733 (FE_INVALID_SQRT): Likewise.
30734 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30735 (FE_TONEAREST): Likewise.
30736 (FE_TOWARDZERO): Likewise.
30737 (FE_UPWARD): Likewise.
30738 (FE_DOWNWARD): Likewise.
30739 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30740 (FE_DIVBYZERO): Likewise.
30741 (FE_OVERFLOW): Likewise.
30742 (FE_UNDERFLOW): Likewise.
30743 (FE_INEXACT): Likewise.
30744 (FE_TONEAREST): Likewise.
30745 (FE_DOWNWARD): Likewise.
30746 (FE_UPWARD): Likewise.
30747 (FE_TOWARDZERO): Likewise.
30748 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30749 (FE_UNDERFLOW): Likewise.
30750 (FE_OVERFLOW): Likewise.
30751 (FE_DIVBYZERO): Likewise.
30752 (FE_INVALID): Likewise.
30753 (FE_TONEAREST): Likewise.
30754 (FE_TOWARDZERO): Likewise.
30755 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30756 (FE_OVERFLOW): Likewise.
30757 (FE_UNDERFLOW): Likewise.
30758 (FE_DIVBYZERO): Likewise.
30759 (FE_INEXACT): Likewise.
30760 (FE_TONEAREST): Likewise.
30761 (FE_TOWARDZERO): Likewise.
30762 (FE_UPWARD): Likewise.
30763 (FE_DOWNWARD): Likewise.
30764 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30765 (FE_DIVBYZERO): Likewise.
30766 (FE_OVERFLOW): Likewise.
30767 (FE_UNDERFLOW): Likewise.
30768 (FE_INEXACT): Likewise.
30769 (FE_TONEAREST): Likewise.
30770 (FE_DOWNWARD): Likewise.
30771 (FE_UPWARD): Likewise.
30772 (FE_TOWARDZERO): Likewise.
30773
105ca950
CM
307742012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30775
30776 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30777
a542b389
AS
307782012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30779
30780 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30781 commands. Quote $PWD.
30782 (blacklist_exports): Don't use remove_newlines. Replace "declare
30783 -x" by "export".
30784 (remove_newlines): Remove.
30785
f62c8abc
L
307862012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30787
30788 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30789 * stdlib/stdlib.h (atof): Moved to ...
30790 * include/bits/stdlib-float.h: Here. New file.
30791 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30792 * stdlib/bits/stdlib-float.h: New file.
30793 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30794 -mno-sse -mno-mmx.
30795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30796 <xmmintrin.h>.
30797
0155d5b2
JM
307982012-11-02 Joseph Myers <joseph@codesourcery.com>
30799
a68d0680
JM
30800 * conform/conformtest.pl (@headers): Add fenv.h.
30801 * conform/data/fenv.h-data: New file.
30802 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30803 include of <math/fenv.h>.
30804
caf7f573
JM
30805 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30806 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30807 && !UNIX98]. Enables tests for XOPEN2K8.
30808 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30809 POSIX2008]: Likewise.
30810
6c073ad6
JM
30811 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30812 (struct rusage): Do not expect type or its members.
30813
0155d5b2
JM
30814 [BZ #3439]
30815 * math/math.h (FP_NAN): Define macro to integer constant usable in
30816 #if and use that to give value to enum constant.
30817 (FP_INFINITE): Likewise.
30818 (FP_ZERO): Likewise.
30819 (FP_SUBNORMAL): Likewise.
30820 (FP_NORMAL): Likewise.
30821
b5dcacb4
AS
308222012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30823
30824 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30825 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30826 arguments.
30827
f7934be8
RM
308282012-11-02 Roland McGrath <roland@hack.frob.com>
30829
30830 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30831 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30832 autoconf-time if not.
30833 * configure.in: Remove AC_PREREQ.
30834
d7d08bde
TMQMF
308352012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30836
30837 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30838 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30839 of the internal implementation.
30840
dcdae19a
JM
308412012-11-02 Joseph Myers <joseph@codesourcery.com>
30842
30843 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30844 except include of <misc/sys/syslog.h>.
30845
d6cffd3e
AS
308462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30847
30848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30849 function returns with a NULL context exit with zero.
30850
b3563932
TMQMF
308512012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30852
30853 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30854
b288a93d
L
308552012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30856
30857 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30858 (run_program_cmd): This.
30859 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30860 (tst_langinfo): New variable. Use it.
30861
a2421a68
SAS
308622012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30863
30864 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30865 floating point opcodes.
30866
6f796e1b
TS
308672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30868
7402596b
TS
30869 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30870 variable.
30871
d0d4f868
TS
30872 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30873
6f796e1b
TS
30874 * sysdeps/mach/hurd/powerpc: Remove directory.
30875 * sysdeps/mach/powerpc: Likewise.
30876
4da224a2
AS
308772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30878
30879 * scripts/check-local-headers.sh: Ignore c++ headers.
30880
341dd673
TS
308812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30882
30883 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30884 __libc_cleanup_region_start argument.
30885
473611b2
JM
308862012-11-01 Joseph Myers <joseph@codesourcery.com>
30887
30888 [BZ #14784]
30889 [BZ #14785]
30890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30891 x * y using scaling, not as x * y + z.
30892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30894 * math/libm-test.inc (fma_test): Add more tests.
30895 (fma_test_towardzero): Likewise.
30896 (fma_test_downward): Likewise.
30897 (fma_test_upward): Likewise.
30898
4078da3d
TS
308992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30900
30901 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30902
903252aa
JM
309032012-10-31 Joseph Myers <joseph@codesourcery.com>
30904
30905 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30906 New variable.
30907
cbc818d0
TS
309082012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30909
30910 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30911
5a03cb1e
AS
309122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30913
30914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30915 Fix sort order.
30916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30917 Likewise.
30918
90aff2ff
TMQMF
309192012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30920
30921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30922 Fix the order of the list for glibc 2.17.
30923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30924 Likewise.
30925
1818fcb7
AS
309262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30927
30928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30929
ef82f4da
JM
309302012-10-31 Joseph Myers <joseph@codesourcery.com>
30931
16a0e2ec
JM
30932 [BZ #14610]
30933 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30934 for low part of x being zero before using __atanl (y).
30935 * math/libm-test.inc (atan2_test): Add another test.
30936
0eb69512
JM
30937 * manual/install.texi (Configuring and compiling): Document
30938 general use of test-wrapper and test-wrapper-env.
30939 * INSTALL: Regenerated.
30940
ef82f4da
JM
30941 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30942 (__fma): Do not extract and scale down low bits on after-rounding
30943 systems when result rounded to normal precision would have normal
30944 exponent.
30945 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30946 (__fmal): Do not extract and scale down low bits on after-rounding
30947 systems when result rounded to normal precision would have normal
30948 exponent.
30949 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30950 (__fmal): Do not extract and scale down low bits on after-rounding
30951 systems when result rounded to normal precision would have normal
30952 exponent.
30953 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30954 macro.
30955 (fma_test): Add more tests.
30956 (fma_test_towardzero): Likewise.
30957 (fma_test_downward): Likewise.
30958 (fma_test_upward): Likewise.
30959
954ef0d9
L
309602012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30961
30962 * sysdeps/i386/tininess.h: Renamed to ...
30963 * sysdeps/x86/tininess.h: This.
30964 * sysdeps/x86_64/tininess.h: Removed.
30965
df61ffb2
JM
309662012-10-30 Joseph Myers <joseph@codesourcery.com>
30967
30968 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30969 input. Use $(build-program-cmd).
30970 ($(objpfx)tst-array1-static.out): Likewise.
30971 ($(objpfx)tst-array2.out): Likewise.
30972 ($(objpfx)tst-array3.out): Likewise.
30973 ($(objpfx)tst-array4.out): Likewise.
30974 ($(objpfx)tst-array5.out): Likewise.
30975 ($(objpfx)tst-array5-static.out): Likewise.
30976
01767843
CM
309772012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30978
47cc1490
CM
30979 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30980 if defined.
30981
01767843
CM
30982 * nss/nsswitch.h (nss_interface_function): Provide new
30983 macro for use with NSS functions.
30984 * grp/initgroups.c: Use new macro.
30985 * nss/getXXbyYY.c: Likewise.
30986 * nss/getXXbyYY_r.c: Likewise.
30987 * nss/getXXent.c: Likewise.
30988 * nss/getXXent_r.c: Likewise.
30989 * sysdeps/posix/getaddrinfo.c: Likewise.
30990
8321aa97
AJ
309912012-10-30 Andreas Jaeger <aj@suse.de>
30992
30993 * po/ru.po: Update Russion translation from translation project.
30994
2a27fd6d
JM
309952012-10-30 Joseph Myers <joseph@codesourcery.com>
30996
8627a232
JM
30997 [BZ #14152]
30998 [BZ #14783]
30999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31000 result and shift together with sticky bit instead of replicating
31001 round-to-nearest rounding.
31002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31004 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31005 missing underflow exceptions.
31006 (fma_test_towardzero): Add more tests.
31007 (fma_test_downward): Likewise.
31008 (fma_test_upward): Likewise.
31009
2a27fd6d
JM
31010 [BZ #14047]
31011 * sysdeps/generic/tininess.h: New file.
31012 * sysdeps/i386/tininess.h: Likewise.
31013 * sysdeps/sh/tininess.h: Likewise.
31014 * sysdeps/x86_64/tininess.h: Likewise.
31015 * stdlib/tst-strtod-underflow.c: Likewise.
31016 * stdlib/tst-tininess.c: Likewise.
31017 * stdlib/strtod_l.c: Include <tininess.h>.
31018 (round_and_return): Do not set errno for exact underflow cases.
31019 Force an underflow exception when setting errno for underflow.
31020 Determine underflow based on rounding to normal precision if
31021 TININESS_AFTER_ROUNDING.
31022 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31023 ERANGE for exact underflow cases.
31024 * stdlib/Makefile (tests): Add tst-tininess and
31025 tst-strtod-underflow.
31026 ($(objpfx)tst-tininess): Use $(link-libm).
31027 ($(objpfx)tst-strtod-underflow): Likewise.
31028
e7170363
AJ
310292012-10-30 Andreas Jaeger <aj@suse.de>
31030
e5088dc6
AJ
31031 [BZ#14767]
31032 * elf/Makefile (tests): Remove conditional for have-initfini-array
31033 since this is now always required and the variable does not exist
31034 anymore.
31035 (tests-static): Likewise.
31036 (modules-names): Likewise.
31037
e7170363 31038 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31039
31040 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31041 merged with constructor/destructor.
31042 (init_array): Likewise.
31043 * elf/tst-array2dep.c (fini_array): Likewise.
31044 (init_array): Likewise.
31045
60457d8a
MF
310462012-10-29 Mike Frysinger <vapier@gentoo.org>
31047
31048 * manual/message.texi: Delete @cartouche tags.
31049
8bece752
PT
310502012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31051
94ce799f
PT
31052 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31053 EOPNOTSUPP.
31054 * sysdeps/mach/hurd/fsync.c: Likewise.
31055
8bece752
PT
31056 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31057 [_POSIX_REALTIME_SIGNALS]: Change condition to
31058 [_POSIX_REALTIME_SIGNALS > 0].
31059
86ebe6b1
AJ
310602012-10-27 Andreas Jaeger <aj@suse.de>
31061
31062 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31063 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31065 [__WORDSIZE != 64]: Likewise.
31066
54399c08
L
310672012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31068
31069 * iconvdata/tst-table.sh: Remove ${SHELL}.
31070 * iconvdata/tst-tables.sh: Likewise.
31071
e2211bed
DM
310722012-10-25 David S. Miller <davem@davemloft.net>
31073
31074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31075 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31076 of strtoull.
31077
f303f97c
DM
31078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31079 ifunc-impl-list.c
31080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31081 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31082 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31083 file.
31084
1e9d84cd
RM
310852012-10-25 Roland McGrath <roland@hack.frob.com>
31086
31087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31088 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31089 __getdirentries.
31090
df381762
JM
310912012-10-25 Joseph Myers <joseph@codesourcery.com>
31092 Jim Blandy <jimb@codesourcery.com>
31093
31094 * scripts/cross-test-ssh.sh: New file.
31095 * manual/install.texi (Configuring and compiling): Document use of
31096 cross-test-ssh.sh.
31097 * INSTALL: Regenerated.
31098
bff64913
PT
310992012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31100
31101 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31102 EOPNOTSUPP.
31103
25fe8932
JM
311042012-10-25 Joseph Myers <joseph@codesourcery.com>
31105
31106 * Makeconfig (run-program-prefix): Fix comment.
31107
cc1290d0
JM
311082012-10-24 Joseph Myers <joseph@codesourcery.com>
31109 Jim Blandy <jimb@codesourcery.com>
31110
31111 * Makeconfig (test-wrapper): New variable,
31112 (test-wrapper-env): Likewise.
31113 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31114 (run-built-tests): Define to yes.
31115 (run-program-prefix): Use $(test-wrapper).
31116 (built-program-cmd): Likewise.
31117 * Rules (make-test-out): Use $(test-wrapper-env) and
31118 $(host-built-program-cmd).
31119 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31120 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31121 tst-pathopt.sh.
31122 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31123 $(test-wrapper-env) to tst-rtld-load-self.sh.
31124 ($(objpfx)order2.out): Use $(test-wrapper).
31125 ($(objpfx)tst-initorder.out): Likewise.
31126 ($(objpfx)tst-initorder2.out): Likewise.
31127 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31128 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31129 (test_wrapper_env): New variable. Use it to run ld.so.
31130 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31131 Use it to run ld.so.
31132 (test_wrapper_env): Likewise.
31133 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31134 $(test-wrapper) to run-iconv-test.sh.
31135 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31136 (ICONV): Use $test_wrapper.
31137 * posix/Makefile ($(objpfx)globtest.out): Pass
31138 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31139 globtest.sh, not $(run-program-prefix).
31140 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31141 (test_wrapper): Likewise.
31142 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31143 set together with run_via_rtld_prefix.
31144 (run_program_prefix): Define in terms of test_wrapper and
31145 run_via_rtld_prefix.
31146
6e6249d0
RM
311472012-10-24 Roland McGrath <roland@hack.frob.com>
31148
31149 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31150 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31151 Targets removed.
31152
31153 [BZ #14743]
31154 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31155 Declare __clock_getres, __clock_gettime, __clock_settime,
31156 __clock_nanosleep, and __clock_getcpuclockid.
31157 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31158 Remove librt_hidden_def (clock_gettime).
31159 * sysdeps/unix/clock_gettime.c: Likewise.
31160 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31161 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31162 * rt/clock_getres.c: Define __clock_getres as an alias.
31163 * sysdeps/posix/clock_getres.c: Likewise.
31164 * rt/clock_settime.c: Define __clock_settime as an alias.
31165 * sysdeps/unix/clock_settime.c: Likewise.
31166 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31167 * sysdeps/unix/clock_nanosleep.c: Likewise.
31168 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31169 * rt/clock-compat.c: New file.
31170 * rt/Makefile (librt-routines): Add clock-compat and move
31171 $(clock-routines) to ...
31172 (routines): ... here, new variable.
31173 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31174 Don't add get_clockfreq here.
31175 * rt/Versions (libc: GLIBC_2.17): New version set.
31176 Add clock_* symbols here.
31177 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31178 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31179 (GLIBC_2.17): Add clock_* symbols.
31180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31184 Likewise.
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31186 Likewise.
31187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31191 * NEWS: Mention the move.
31192
31193 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31194 Use __open, __read, __close rather than their public counterparts.
31195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31196 (__get_clockfreq_via_cpuinfo): Likewise.
31197 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31198 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31199
31200 * config.h.in (HAVE_IFUNC): New #undef.
31201 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31202 was successful.
31203 * configure: Regenerated.
31204
0cae3f4b
MF
312052012-10-24 Mike Frysinger <vapier@gentoo.org>
31206
31207 * configure.in: Move READELF check to start of file.
31208 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31209 libc_cv_asm_gnu_indirect_function in the process.
31210 * configure: Regenerated.
31211
8175a253
MF
312122012-10-24 Mike Frysinger <vapier@gentoo.org>
31213
31214 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31215 send the output to /dev/null.
31216 (libc_cv_cc_with_libunwind): Likewise.
31217 (libc_cv_as_noexecstack): Likewise.
31218 * configure: Regenerate.
31219
0708a7d1
JM
312202012-10-24 Joseph Myers <joseph@codesourcery.com>
31221
10b40d85
JM
31222 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31223
0708a7d1
JM
31224 * posix/globtest.sh (TMPDIR): Do not set.
31225 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31226 (testout): Likewise.
31227
9fddec1a
AJ
312282012-10-24 Andreas Jaeger <aj@suse.de>
31229
3a8db22f
AJ
31230 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31231 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31232 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31233 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31234 posix_fadvise64, posix_fallocate64.
31235
9fddec1a
AJ
31236 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31237 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31238 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31239 Likewise.
31240 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31241 Likewise.
31242 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31243
31244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31245 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31246 <bits/fcntl-linux.h>.
31247 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31248
31249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31250 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31251 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31252 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31253 [__WORDSIZE != 64]: Likewise.
31254
ebfd1bbd
JM
312552012-10-23 Joseph Myers <joseph@codesourcery.com>
31256
03ac099f
JM
31257 * Makeconfig (run-built-tests): New variable.
31258 * Rules [$(cross-compiling) = yes]: Change condition to
31259 [$(run-built-tests) = no].
31260 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31261 to [$(run-built-tests) = yes].
31262 * elf/Makefile [$(cross-compiling) = no]: Likewise
31263 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31264 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31265 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31266 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31267 * io/Makefile [$(cross-compiling) = no]: Likewise.
31268 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31269 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31270 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31271 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31272 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31273 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31274 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31275 * string/Makefile [$(cross-compiling) = no]: Likewise.
31276
ebfd1bbd
JM
31277 * posix/Makefile ($(objpfx)globtest.out): Pass
31278 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31279 $(rtld-installed-name).
31280 * posix/globtest.sh (elf_objpfx): Remove variable.
31281 (rtld_installed_name): Likewise.
31282 (library_path): Likewise.
31283 (run_program_prefix): New variable. Use for running globtest
31284 binary.
31285
166bca24
JB
312862012-10-23 Jim Blandy <jimb@codesourcery.com>
31287 Joseph Myers <joseph@codesourcery.com>
31288
31289 * Makeconfig (host-built-program-cmd): New variable.
31290 * elf/Makefile (tst-stackguard1-ARGS): Use
31291 $(host-built-program-cmd).
31292 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31293 (tst-spawn-ARGS): Likewise.
31294 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31295
88866099
JM
312962012-10-23 Joseph Myers <joseph@codesourcery.com>
31297 Jim Blandy <jimb@codesourcery.com>
31298
31299 * Makeconfig (run-via-rtld-prefix): New variable.
31300 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31301 (built-program-cmd): Likewise.
31302
b4b4c296
AJ
313032012-10-22 Andreas Jaeger <aj@suse.de>
31304
31305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31306 __O_RSYNC if it exists, otherwise to O_SYNC.
31307
6fb54a22
JB
313082012-10-22 Jim Blandy <jimb@codesourcery.com>
31309 Joseph Myers <joseph@codesourcery.com>
31310
31311 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31312 /dev/null.
31313 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31314 from /dev/null
31315 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31316 /dev/null.
31317
481b90b9
AJ
313182012-10-22 Andreas Jaeger <aj@suse.de>
31319
2a0e2669
AJ
31320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31321 Define always.
31322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31323
76e38f9a
AJ
31324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31325 bits/fcntl-linux.h.
31326
7cd37b43
AJ
31327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31328 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31329
481b90b9
AJ
31330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31331 to __O_LARGEFILE.
31332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31333 to __O_LARGEFILE.
31334
aba75984
JB
313352012-10-21 Jim Blandy <jimb@codesourcery.com>
31336 Joseph Myers <joseph@codesourcery.com>
31337
31338 * config.make.in (NM): New variable.
31339
88d4247f
AJ
313402012-10-21 Andreas Jaeger <aj@suse.de>
31341
31342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31343 definitions and declarations that are provided by
31344 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31345
f2eed205
L
313462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31347
31348 [BZ #14683]
31349 * elf/Makefile (tests-static): Add tst-leaks1-static.
31350 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31351 ($(objpfx)tst-leaks1-static): New rule.
31352 ($(objpfx)tst-leaks1-static-mem): Likewise.
31353 (tst-leaks1-static-ENV): New macro.
31354 * elf/dl-open.c (dl_open_worker): Check the main application
31355 only if SHARED is defined.
31356 * elf/tst-leaks1-static.c: New file.
31357
335e6931
AJ
313582012-10-20 Andreas Jaeger <aj@suse.de>
31359
31360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31361 generic values for Linux.
31362 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31363 and declarations that are provided by <bits/fcntl-linux.h> and
31364 include <bits/fcntl-linux.h>.
31365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31367
ac5c94d3
RM
313682012-10-20 Roland McGrath <roland@hack.frob.com>
31369
31370 * io/fcntl.h: Move include of <bits/types.h> to the top and
31371 include it unconditionally.
31372
de54b33a
L
313732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31374
228cfb01
L
31375 * wcsmbs/Makefile (tests-ifunc): New variable.
31376 (tests): Add $(tests-ifunc).
31377 * wcsmbs/test-wcschr-ifunc.c: New file.
31378 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31379 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31380 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31381 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31382 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31383
69f07e5f
L
31384 * string/Makefile (tests-ifunc): New variable.
31385 (tests): Add $(tests-ifunc).
31386 * string/test-memccpy.c (TEST_NAME): New macro.
31387 * string/test-memchr.c (TEST_NAME): Likewise.
31388 * string/test-memcmp.c (TEST_NAME): Likewise.
31389 * string/test-memcpy.c (TEST_NAME): Likewise.
31390 * string/test-memmem.c (TEST_NAME): Likewise.
31391 * string/test-memmove.c (TEST_NAME): Likewise.
31392 * string/test-memset.c (TEST_NAME): Likewise.
31393 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31394 * string/test-stpcpy.c (TEST_NAME): Likewise.
31395 * string/test-stpncpy.c (TEST_NAME): Likewise.
31396 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31397 * string/test-strcasestr.c (TEST_NAME): Likewise.
31398 * string/test-strcat.c (TEST_NAME): Likewise.
31399 * string/test-strchr.c (TEST_NAME): Likewise.
31400 * string/test-strcmp.c(TEST_NAME): Likewise.
31401 * string/test-strcpy.c (TEST_NAME): Likewise.
31402 * string/test-strcspn.c (TEST_NAME): Likewise.
31403 * string/test-strlen.c (TEST_NAME): Likewise.
31404 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31405 * string/test-strncmp.c (TEST_NAME): Likewise.
31406 * string/test-strncpy.c (TEST_NAME): Likewise.
31407 * string/test-strnlen.c (TEST_NAME): Likewise.
31408 * string/test-strpbrk.c (TEST_NAME): Likewise.
31409 * string/test-strrchr.c (TEST_NAME): Likewise.
31410 * string/test-strspn.c (TEST_NAME): Likewise.
31411 * string/test-strstr.c (TEST_NAME): Likewise.
31412 * string/test-bcopy-ifunc.c: New file.
31413 * string/test-bzero-ifunc.c: Likewise.
31414 * string/test-memccpy-ifunc.c: Likewise.
31415 * string/test-memchr-ifunc.c: Likewise.
31416 * string/test-memcmp-ifunc.c: Likewise.
31417 * string/test-memcpy-ifunc.c: Likewise.
31418 * string/test-memmem-ifunc.c: Likewise.
31419 * string/test-memmove-ifunc.c: Likewise.
31420 * string/test-mempcpy-ifunc.c: Likewise.
31421 * string/test-memset-ifunc.c: Likewise.
31422 * string/test-rawmemchr-ifunc.c: Likewise.
31423 * string/test-stpcpy-ifunc.c: Likewise.
31424 * string/test-stpncpy-ifunc.c: Likewise.
31425 * string/test-strcasecmp-ifunc.c: Likewise.
31426 * string/test-strcasestr-ifunc.c: Likewise.
31427 * string/test-strcat-ifunc.c: Likewise.
31428 * string/test-strchr-ifunc.c: Likewise.
31429 * string/test-strchrnul-ifunc.c: Likewise.
31430 * string/test-strcmp-ifunc.c: Likewise.
31431 * string/test-strcpy-ifunc.c: Likewise.
31432 * string/test-strcspn-ifunc.c: Likewise.
31433 * string/test-strlen-ifunc.c: Likewise.
31434 * string/test-strncasecmp-ifunc.c: Likewise.
31435 * string/test-strncat-ifunc.c: Likewise.
31436 * string/test-strncmp-ifunc.c: Likewise.
31437 * string/test-strncpy-ifunc.c: Likewise.
31438 * string/test-strnlen-ifunc.c: Likewise.
31439 * string/test-strpbrk-ifunc.c: Likewise.
31440 * string/test-strrchr-ifunc.c: Likewise.
31441 * string/test-strspn-ifunc.c: Likewise.
31442 * string/test-strstr-ifunc.c: Likewise.
31443
de54b33a
L
31444 * debug/Makefile (tests-ifunc): New variable.
31445 (tests): Add $(tests-ifunc).
31446 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31447 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31448 * debug/test-stpcpy_chk-ifunc.c: New file.
31449 * debug/test-strcpy_chk-ifunc.c: Likewise.
31450
88481c16
SP
314512012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31452
31453 [BZ #13601]
31454 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31455 header is not read in.
31456
135948bd
JM
314572012-10-19 Joseph Myers <joseph@codesourcery.com>
31458
89f1c388
JM
31459 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31460 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31461 directly. Pass built executable to script as
31462 $(built-program-cmd).
31463 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31464 $testprogram without using LD_LIBRARY_PATH and $ldso.
31465
e40a0d21
JM
31466 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31467 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31468 $(rtld-installed-name).
31469 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31470 (rtld_installed_name): Likewise.
31471 (library_path): Likewise.
31472 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31473 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31474 $(run-program-prefix) to tst-tables.sh.
31475 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31476 it to run tst-table-from and tst-table-to.
31477 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31478 Pass it to tst-table.sh.
31479 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31480 $(run-program-prefix) to tst-gettext.sh.
31481 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31482 tst-translit.sh.
31483 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31484 tst-gettext2.sh.
31485 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31486 to run tst-gettext.
31487 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31488 to run tst-gettext2.
31489 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31490 to run tst-translit.
31491 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31492 $(run-program-prefix) to tst-mtrace.sh.
31493 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31494 to run tst-mtrace.
31495 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31496 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31497 $(rtld-installed-name).
31498 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31499 (rtld_installed_name): Likewise.
31500 (run_program_prefix): New variable. Use it to run wordexp-test.
31501
728e272a
JM
31502 * Makeconfig (ARCH): Remove all definitions.
31503 (machine): Likewise.
31504 [ARCH]: Remove conditional code.
31505 [!objdir]: Give error.
31506 [!objdir] (objpfx): Remove.
31507 [!objdir] (common-objpfx): Likewise.
31508 [!objdir] (common-objdir): Likewise.
31509 * configure.in (config_makefile): Remove. Hardcode Makefile in
31510 AC_CONFIG_FILES call.
31511 * configure: Regenerated.
31512
d528cdcf
JM
31513 [BZ #13888]
31514 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31515 or TMPDIR.
31516 (testout): Likewise.
31517
135948bd
JM
31518 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31519 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31520 $(rtld-installed-name).
31521 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31522 (rtld_installed_name): Likwise.
31523 (runit): Remove function.
31524 (run_getconf): New variable, Use it for running getconf binary.
31525
38c78296
L
315262012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31527
31528 [BZ #14716]
31529 * string/test-memmem.c (check_result): New function.
31530 (do_one_test): Use it.
31531 (check1): New function.
31532 (test_main): Use it.
31533
d077f65f
MT
315342012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31535
31536 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31537
ced52c71
JM
315382012-10-18 Joseph Myers <joseph@codesourcery.com>
31539
31540 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31541 (_G_LSEEK64): Likewise.
31542 (_G_MMAP64): Likewise.
31543 (_G_FSTAT64): Likewise.
31544 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31545 (_G_LSEEK64): Likewise.
31546 (_G_MMAP64): Likewise.
31547 (_G_FSTAT64): Likewise.
31548 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31549 unconditional. Call __mmap64 directly.
31550 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31551 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31552 __lseek64 directly.
31553 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31554 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31555 __mmap64 directly.
31556 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31557 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31558 __lseek64 directly.
31559 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31560 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31561 __lseek64 directly.
31562 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31563 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31564 __lseek64 directly.
31565 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31566 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31567 __fxstat64 directly.
31568 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31569 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31570 unconditional.
31571 (freopen64) [!_G_OPEN64]: Remove conditional code.
31572 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31573 unconditional.
31574 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31575 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31576 unconditional.
31577 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31578 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31579 unconditional.
31580 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31581 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31582 unconditional.
31583 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31584 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31585 unconditional.
31586 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31587 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31588 unconditional.
31589 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31590 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31591 unconditional.
31592 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31593
b741de23
SP
315942012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31595
31596 [BZ #12140]
31597 * manual/memory.texi (Malloc Tunable Parameters): Add note
31598 about free list pointers overwriting some perturb bytes.
31599 Wording suggested by Roland McGrath.
31600
f9b9d9c9
JM
316012012-10-17 Joseph Myers <joseph@codesourcery.com>
31602
31603 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31604 (lgamma_test): Likewise.
31605 (tgamma_test): Likewise.
31606
172a631a
FW
316072012-10-16 Florian Weimer <fweimer@redhat.com>
31608
31609 [BZ #14700]
31610 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31611 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31612
e9f37252
MK
316132012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31614
31615 * NEWS: Mention BZ #14716.
31616 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31617 when removing AVAILABLE1_USES_J macro.
31618
d394eb74
L
316192012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31620
31621 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31622 (__bswap_64): __uint64_t for unsigned 64-bit int.
31623
ca38dc17
AS
316242012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31625
31626 * include/string.h (memmem): Declare libc hidden alias.
31627 * string/memmem.c (memmem): Define libc hidden alias.
31628 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31629 __read, __close instead of open, read, close.
31630
9a387d1f
L
316312012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31632
ac49ecaf
L
31633 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31634 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31635 global and hidden.
31636 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31637 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31638 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31639 Likewise.
31640 (__rawmemchr_sse2): Likewise.
31641 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31642 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31643 (__strchr_sse2): Likewise.
31644 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31645 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31646 (__strcasecmp_sse2): Likewise.
31647 (__strncasecmp_sse2): Likewise.
31648 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31649 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31650 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31651 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31652 (__strrchr_sse2): Likewise.
31653 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31654 ifunc-impl-list.c.
31655 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31656 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31657 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31658 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31659 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31660 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31661 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31662 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31663 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31664 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31665 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31666 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31667 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31668 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31669 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31670 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31671 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31672 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31673 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31674 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31675 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31676 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31677 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31678 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31679 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31680 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31681 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31682 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31683 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31684 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31685
b090e8ea
L
31686 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31687 global and hidden.
31688 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31689 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31690 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31691 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31692 Likewise.
31693 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31694 Likewise.
31695 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31696 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31697 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31698 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31699 ifunc-impl-list.c.
31700 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31701 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31702 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31703 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31704 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31705 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31706 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31707 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31708 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31709 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31710 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31711 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31712 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31713 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31714 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31715 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31716 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31717 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31718 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31719 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31720 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31721 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31722 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31723 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31724 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31725 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31726 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31727 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31728 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31729 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31730 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31731 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31732 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31733 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31734 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31736 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31737 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31738 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31739 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31740 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31741
11dd4af6
L
31742 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31743 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31744 * include/ifunc-impl-list.h: New file.
31745 * misc/ifunc-impl-list.c: Likewise.
31746 * misc/Makefile (routines): Add ifunc-impl-list.
31747 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31748 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31749 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31750 TEST_NAME]: New variables.
11dd4af6
L
31751 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31752 are defined.
31753 (test_init): Call __libc_ifunc_impl_list to initialize
31754 func_list if TEST_IFUNC and TEST_NAME are defined.
31755
9a387d1f
L
31756 * string/Makefile (strop-tests): Add bcopy and bzero.
31757 * string/test-bcopy.c: New file.
31758 * string/test-bzero.c: Likewise.
31759 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31760 defined.
31761 * string/test-memset.c: Support bzero test if TEST_BZERO is
31762 defined.
31763 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31764 __libc_memmove.
31765 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31766 __libc_memset.
31767 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31768 of memset.
31769
472371b9
JM
317702012-10-10 Joseph Myers <joseph@codesourcery.com>
31771
1e4a9536
JM
31772 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31773 * configure: Regenerated.
31774
d173d12e
JM
31775 * Makeconfig (+link-static-before-libc): Don't include
31776 $(link-static-libc).
31777
472371b9
JM
31778 * libio/libio.h (_IO_pos_t): Remove.
31779
89a3ad0b
AO
317802012-10-10 Alexandre Oliva <aoliva@redhat.com>
31781
31782 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31783 McGrath.
31784
e7451425
AO
317852012-10-10 Alexandre Oliva <aoliva@redhat.com>
31786
31787 * crypt/crypt-entry.c: Include fips-private.h.
31788 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31789 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31790 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31791 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31792
4ba74a35
AO
317932012-10-10 Alexandre Oliva <aoliva@redhat.com>
31794
31795 * crypt/crypt-private.h: Include stdbool.h.
31796 (_ufc_setup_salt_r): Return bool.
31797 * crypt/crypt-entry.c: Include errno.h.
31798 (__crypt_r): Return NULL with EINVAL for bad salt.
31799 * crypt/crypt_util.c (bad_for_salt): New.
31800 (_ufc_setup_salt_r): Check that salt is long enough and within
31801 the specified alphabet.
31802 * crypt/badsalttest.c: New file.
31803 * crypt/Makefile (tests): Add it.
31804 ($(objpfx)badsalttest): New.
31805
f96f1242
MK
318062012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31807
31808 * NEWS: Add entry for BZ #14602.
31809
0e8e0c1c
JM
318102012-10-09 Joseph Myers <joseph@codesourcery.com>
31811
31812 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31813 type-generic.
31814 * math/libm-test.inc: Update comment listing what functions and
31815 macros are tested.
31816 (isgreater_test): New function.
31817 (isgreaterequal_test): Likewise.
31818 (isless_test): Likewise.
31819 (islessequal_test): Likewise.
31820 (islessgreater_test): Likewise.
31821 (isunordered_test): Likewise.
31822 (main): Call the new functions.
31823
273edc5e
RM
318242012-10-09 Roland McGrath <roland@hack.frob.com>
31825
b8493de0
RM
31826 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31827 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31828 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31829 * sysdeps/i386/configure: Regenerated.
31830 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31831 * sysdeps/mach/configure: Regenerated.
31832 * sysdeps/mach/hurd/configure: Regenerated.
31833 * sysdeps/powerpc/configure: Regenerated.
31834 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31835 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31836 * sysdeps/s390/s390-32/configure: Regenerated.
31837 * sysdeps/s390/s390-64/configure: Regenerated.
31838 * sysdeps/sh/configure: Regenerated.
31839 * sysdeps/sparc/configure: Regenerated.
31840 * sysdeps/unix/sysv/linux/configure: Regenerated.
31841 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31842 * sysdeps/x86_64/configure: Regenerated.
31843
273edc5e
RM
31844 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31845 defined. Don't check if MAP is NULL.
31846
c8450f70
JM
318472012-10-09 Joseph Myers <joseph@codesourcery.com>
31848
31849 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31850 (_G_stat64): Likewise.
31851 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31852 (_G_stat64): Likewise.
31853 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31854 instead of struct _G_stat64.
31855 * libio/fileops.c (mmap_remap_check): Likewise.
31856 (decide_maybe_mmap): Likewise.
31857 (_IO_new_file_seekoff): Likewise.
31858 (_IO_file_stat): Likewise.
31859 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31860 _G_off64_t.
31861 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31862 instead of struct _G_stat64.
31863 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31864
57e605ba
MK
318652012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31866
31867 [BZ #14602]
31868 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31869 Replace with ...
31870 (CHECK_EOL): New macro.
31871 (two_way_short_needle): Check beginning of haystack for EOL. Use
31872 CHECK_EOL.
31873 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31874 Replace with CHECK_EOL.
31875 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31876 Replace with CHECK_EOL.
31877
ef1bb361
JM
318782012-10-08 Joseph Myers <joseph@codesourcery.com>
31879
31880 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31881 type-generic.
31882 * math/libm-test.inc: Update comment listing what functions and
31883 macros are tested.
31884 (finite_test): New function.
31885 (isinf_test): Likewise.
31886 (isnan_test): Likewise.
31887 (fpclassify_test): Test subnormal input.
31888 (isfinite_test): Likewise.
31889 (isnormal_test): Likewise.
31890 (main): Call the new functions.
31891
55f11534
JN
318922012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31893
31894 [BZ #14660]
31895 * Makerules (%.dynsym): Force C locale when running
31896 $(OBJDUMP) --dynamic-syms.
31897
1ab29350
AS
318982012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31899
31900 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31901 <stdint.h>.
31902
f1ecb7ef
DM
319032012-10-06 David S. Miller <davem@davemloft.net>
31904
31905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31906 upper 32-bits of the length value in %o2 since we use branch-on-register
31907 tests which consider the entire 64-bit register.
31908
5d41d91a
L
319092012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31910
31911 * string/test-strstr.c (check2): Add a test for page boundary.
31912
3baddb72
DM
319132012-10-05 David S. Miller <davem@davemloft.net>
31914
31915 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31916 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31917 file.
31918 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31919 sysdep_routines.
31920 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31921 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31922 and bzero when HWCAP_SPARC_CRYPTO is present.
31923
9cee5585
L
319242012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31925
d7e0dab9
L
31926 [BZ #14602]
31927 * string/test-strstr.c (check2): New function.
31928 (test_main): Call check2.
31929
03759f47
L
31930 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31931 and bug-strchr1.
31932 * string/bug-strcasestr1.c (do_test): Moved to ...
31933 * string/test-strcasestr.c (check1): Here. New function.
31934 (do_one_test): Break out result checking code into ...
31935 (check_result): This. New function.
31936 (do_one_test): Call check_result.
31937 (test_main): Call check1.
31938 * string/bug-strchr1.c (do_test): Moved to ...
31939 * string/test-strchr.c (check1): Here. New function.
31940 (do_one_test): Break out result checking code into ...
31941 (check_result): This. New function.
31942 (do_one_test): Call check_result.
31943 (test_main): Call check1.
31944 * string/bug-strstr1.c (main): Moved to ...
046f153e 31945 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31946 (do_one_test): Break out result checking code into ...
31947 (check_result): This. New function.
31948 (do_one_test): Call check_result.
31949 (test_main): Call check1.
31950 * string/bug-strcasestr1.c: Removed.
31951 * string/bug-strchr1.c: Likewise.
31952 * string/bug-strstr1.c: Likewise.
31953
53cea63e
L
31954 * elf/Makefile (dl-routines): Add hwcaps.
31955 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31956 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31957 (_dl_important_hwcaps): Moved to ...
31958 * elf/dl-hwcaps.c: Here. New file.
31959 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31960
9cee5585 31961 [BZ #14557]
bb859b06
L
31962 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31963 if IS_IN_rtld isn't defined.
31964
9cee5585
L
31965 * elf/dl-support.c (_dl_sysinfo_map): New.
31966 Include "get-dynamic-info.h" and "setup-vdso.h".
31967 (_dl_non_dynamic_init): Call setup_vdso.
31968 * elf/dynamic-link.h: Don't include <assert.h>.
31969 (elf_get_dynamic_info): Moved to ...
31970 * elf/get-dynamic-info.h: Here. New file.
31971 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31972 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31973 * elf/setup-vdso.h: Here. New file.
31974 * elf/rtld.c: Include "setup-vdso.h".
31975 (dl_main): Call setup_vdso.
31976
23c31b76
JM
319772012-10-05 Joseph Myers <joseph@codesourcery.com>
31978
28234b07
JM
31979 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31980 creal in comment listing functions tested. List finite, isinf,
31981 isnan, isless, islessequal, isgreater, isgreaterequal,
31982 islessgreater, isunordered, lgamma_r and pow10 as functions and
31983 macros not tested. Mention which functions not tested are aliases
31984 for other functions. Fix typo. Note that signs of NaNs are not
31985 tested.
31986
23c31b76
JM
31987 * scripts/config.guess: Update from config.git.
31988 * scripts/config.sub: Likewise.
31989
9043e228
RM
319902012-10-04 Roland McGrath <roland@hack.frob.com>
31991
31992 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31993 * misc/madvise.c (madvise): Renamed to __madvise.
31994 Make madvise a weak alias.
31995 * include/sys/mman.h: Declare __madvise.
31996 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31997 * sysdeps/unix/syscalls.list
31998 (madvise): Make __madvise the strong name, and madvise a weak alias.
31999 * sysdeps/unix/sysv/linux/syscalls.list
32000 (madvise, mmap): Remove redundant entries.
32001 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32002 * malloc/malloc.c (mtrim): Likewise.
32003 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32004
f57f8055
RM
320052012-10-03 Roland McGrath <roland@hack.frob.com>
32006
32007 * sysdeps/mach/hurd/dl-cache.c: File removed.
32008 * config.h.in (USE_LDCONFIG): New #undef.
32009 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32010 * configure: Regenerated.
32011 * elf/Makefile (dl-routines): Add dl-cache only under
32012 [$(use-ldconfig) = yes].
32013 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32014 cache on [USE_LDCONFIG].
32015 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32016 [USE_LDCONFIG].
32017 * elf/rtld.c (dl_main): Likewise.
32018
5bb0c10a
PT
320192012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32020
32021 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32022 _SC_LEVEL4_CACHE_LINESIZE.
32023
010188c6
RM
320242012-10-03 Roland McGrath <roland@hack.frob.com>
32025
32026 * sysdeps/unix/bsd/confstr.h: File removed.
32027
b6c5ec07
AO
320282012-10-02 Alexandre Oliva <aoliva@redhat.com>
32029
32030 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32031 sys/sdt-config.h.
32032
408223d4
RM
320332012-10-02 Roland McGrath <roland@hack.frob.com>
32034
32035 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32036 Make 'mapoff' field ElfW(Off) rather than off_t.
32037
bb9510dc
DL
320382012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32039
fc997c6e
DL
32040 * nscd/Makefile: Remove nscd-cflags and all its users.
32041 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32042 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32043
bb9510dc
DL
32044 [BZ #10631]
32045 * malloc.c (malloc_printerr): Clarify error message.
32046
05699367
L
320472012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32048
32049 [BZ #14648]
32050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32051 Set bit_FMA_Usable if FMA is supported.
32052 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32053 macro.
32054 (bit_FMA4_Usable): Updated.
32055 (index_FMA_Usable): New macro.
32056 (CPUID_FMA): Likewise
32057 (HAS_FMA): Defined with bit_FMA_Usable.
32058
51367701
RM
320592012-10-01 Roland McGrath <roland@hack.frob.com>
32060
32061 * bits/types.h (__swblk_t): Type removed.
32062 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32063 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32065 (__SWBLK_T_TYPE): Likewise.
32066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32067 (__SWBLK_T_TYPE): Likewise.
32068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32069 (__SWBLK_T_TYPE): Likewise.
32070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32071 (__SWBLK_T_TYPE): Likewise.
32072
4d57bf63 320732012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32074 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32075
32076 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32077 (xdr_mapname): Use YPMAXMAP as maxsize.
32078 (xdr_peername): Use YPMAXPEER as maxsize.
32079 (xdr_keydat): Use YPAXRECORD as maxsize.
32080 (xdr_valdat): Use YPMAXRECORD as maxsize.
32081
93c65d43
RM
320822012-10-01 Roland McGrath <roland@hack.frob.com>
32083
497a03d6
RM
32084 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32085
93c65d43
RM
32086 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32087 * csu/init-first.c: ... here.
32088 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32089 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32090 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32091 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32092 * sysdeps/i386/init-first.c: File removed.
32093 * sysdeps/sh/init-first.c: File removed.
32094
bec749fd
JM
320952012-10-01 Joseph Myers <joseph@codesourcery.com>
32096
32097 [BZ #14645]
32098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32099 if x * y might underflow to zero and z is zero.
32100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32102 * math/libm-test.inc (min_subnorm_value): New variable.
32103 (fma_test): Add more tests.
32104 (fma_test_towardzero): Likewise.
32105 (fma_test_downward): Likewise
32106 (fma_test_upward): Likewise.
32107 (initialize): Set min_subnorm_value.
32108
8ec5b013
JM
321092012-09-29 Joseph Myers <joseph@codesourcery.com>
32110
32111 [BZ #14638]
32112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32113 0 + 0.
32114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32115 mode for addition resulting in exact zero.
32116 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32118 exact 0 + 0.
32119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32121 * math/libm-test.inc (fma_test): Add more tests.
32122 (fma_test_towardzero): New function.
32123 (fma_test_downward): Likewise.
32124 (fma_test_upward): Likewise.
32125 (main): Call the new functions.
32126
b1fa802e
DM
321272012-09-28 David S. Miller <davem@davemloft.net>
32128
32129 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32130
d3b9fd9e
RM
321312012-09-28 Roland McGrath <roland@hack.frob.com>
32132
ea4d37b3
RM
32133 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32134 instead of SIGALRM.
32135
ac51c949
RM
32136 * sysdeps/gnu/_G_config.h: Moved to ...
32137 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32138 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32139 * sysdeps/generic/_G_config.h: ... here.
32140
28c195f7
RM
32141 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32142
848917f9
RM
32143 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32144
6bacf05b
RM
32145 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32146 Conditionalize target on [libnss_test1.so-version].
32147
91363dbb
RM
32148 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32149
cc87f7d8
RM
32150 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32151 (elfobjdir): Move out of conditionals.
32152
b1c608fe
RM
32153 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32154 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32155 (__nss_lookup_function): Conditionalize label remove_from_tree on
32156 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32157
1d9a6d96
DM
321582012-09-28 David S. Miller <davem@davemloft.net>
32159
32160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32161 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32162 file.
32163 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32164 sysdep_routines.
32165 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32167 when HWCAP_SPARC_CRYPTO is present.
32168
72581615
PT
321692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32170
32171 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32172
715a900c
JL
321732012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32174
32175 [BZ #6530]
32176 * stdio-common/vfprintf.c (process_string_arg): Revert
32177 2000-07-22 change.
32178
321792011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32180
32181 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32182 for testcase.
32183 * stdio-common/tst-sprintf.c: Include <locale.h>
32184 (main): Test sprintf's handling of incomplete multibyte
32185 characters.
32186
9bac1d86
L
321872012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32188
32189 * elf/dl-runtime.c (VERSYMIDX): Removed.
32190 * elf/dl-version.c (VERSYMIDX): Likewise.
32191 * elf/do-rel.h (VERSYMIDX): Likewise.
32192 (VALIDX): Likewise.
32193 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32194 * elf/rtld.c (VALIDX): Likewise.
32195 (ADDRIDX): Likewise.
9bac1d86
L
32196 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32197 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32198 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32199 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32200 (VALIDX): Likewise.
32201 (ADDRIDX): Likewise.
9bac1d86 32202
b31606c0
PT
322032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32204
32205 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32206
11541177
JL
322072012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32208
32209 [BZ #11438]
32210 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32211 to global scope.
32212 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32213 addresses are in the same scope as 192.0.2/24.
32214 * posix/gai.conf: Document new scope table defaults.
32215
adb26fae
SP
322162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32217
32218 [BZ #5298]
32219 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32220 for ftell. Compute offsets from write pointers instead.
32221 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32222
4573c6b0
SP
322232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32224
32225 [BZ #14543]
32226 * libio/Makefile (tests): New test case tst-fseek.
32227 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32228 combination works in wide mode.
32229 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32230 state when the external buffer state changes.
32231
aa9bbfe6
DM
322322012-09-27 David S. Miller <davem@davemloft.net>
32233
32234 [BZ #14376]
32235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32236 pass reloc->r_addend in as the 'high' argument to
32237 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32238
784421e7
DM
32239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32240
c39bc8b8
PT
322412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32242
32243 * rt/tst-aio2.c: Include <pthread.h>.
32244 * rt/tst-aio3.c: Likewise.
32245
1ccc2399
SE
322462012-09-27 Steve Ellcey <sellcey@mips.com>
32247
32248 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32249
31ed4153
L
322502012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32251
25f5f885
L
32252 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32253 contents on [SHARED].
31ed4153 32254
b7bfe116
MP
322552012-09-26 Marek Polacek <polacek@redhat.com>
32256
32257 [BZ #14530]
32258 [BZ #13741]
32259 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32260 for C++ and GCC <4.3 as well as for non GCC compilers.
32261
43c4edba
MT
322622012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32263
32264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32265
6a1bf82f
RM
322662012-09-25 Roland McGrath <roland@hack.frob.com>
32267
32268 * Makefile.in (all, install): Declare with .PHONY.
32269 Reported by Michael Hope <michael.hope@linaro.org>.
32270
8ad11b9a
TMQMF
322712012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32272
32273 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32274 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32275 system header.
32276 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32277 Likewise.
32278 (sydep_routines): Add the new and the internal functions.
32279 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32280 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32282 (GLIBC_2.17): Add the new function.
32283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32284 (GLIBC_2.17): Likewise.
32285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32286 (GLIBC_2.17): Likewise.
32287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32288 (GLIBC_2.17): Likewise.
32289 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32290
7e2fca8d
AM
322912012-09-25 Alan Modra <amodra@gmail.com>
32292
32293 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32294 Add release barrier before setting once_control to say
32295 initialisation is done. Add hints on lwarx. Use macro in
32296 place of isync.
32297 (clear_once_control): Add release barrier.
32298
b87c4b24
JM
322992012-09-25 Joseph Myers <joseph@codesourcery.com>
32300
d032e0d2
JM
32301 [BZ #13629]
32302 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32303 specially.
32304 * math/s_clog10.c (__clog10): Likewise.
32305 * math/s_clog10f.c (__clog10f): Likewise.
32306 * math/s_clog10l.c (__clog10l): Likewise.
32307 * math/s_clogf.c (__clogf): Likewise.
32308 * math/s_clogl.c (__clogl): Likewise.
32309 * math/Makefile (libm-calls): Add x2y2m1.
32310 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32311 (__x2y2m1): Likewise.
32312 (__x2y2m1l): Likewise.
32313 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32314 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32315 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32316 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32317 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32318 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32319 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32320 * sysdeps/i386/fpu/libm-test-ulps: Update.
32321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32322
b87c4b24
JM
32323 [BZ #14621]
32324 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32325 int as type of variable DEPTH.
32326 (glob): Use size_t instead of int as type of variables NEWCOUNT
32327 and OLD_PATHC.
32328
6d3bf199
LD
323292012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32330
22bf5c17
LD
32331 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32332 Add s_sincosf-sse2.
32333 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32334 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32335 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32336 macros for using routine as __sincosf_ia32.
32337 Use macro for function declaration and weak_alias.
32338 * sysdeps/i386/fpu/libm-test-ulps: Update.
32339
32340 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32342
32343 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32344 subnormal argument.
32345 * math/s_cexpf.c (__cexpf): Likewise.
32346 * math/s_csinf.c (__csinf): Likewise.
32347 * math/s_csinhf.c (__csinhf): Likewise.
32348 * math/s_ctanf.c (__ctanf): Likewise.
32349 * math/s_ctanhf.c (__ctanhf): Likewise.
32350 * math/s_ccosh.c (__ccoshf): Likewise.
32351 * math/s_cexp.c (__cexpl): Likewise.
32352 * math/s_csin.c (__csin): Likewise.
32353 * math/s_csinh.c (__csinh): Likewise.
32354 * math/s_ctan.c (__ctan): Likewise.
32355 * math/s_ctanh.c (ctanh): Likewise.
32356 * math/s_ccoshl.c (__ccoshl): Likewise.
32357 * math/s_cexpl.c (__cexpl): Likewise.
32358 * math/s_csinl.c (__csinl): Likewise.
32359 * math/s_csinhl.c (__csinhl): Likewise.
32360 * math/s_ctanl.c (__ctanl): Likewise.
32361 * math/s_ctanhl.c (__ctanhl): Likewise.
32362
203e5603
JM
323632012-09-25 Joseph Myers <joseph@codesourcery.com>
32364
32365 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32366 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32367 (_IO_off_t): Define to __off_t, not _G_off_t.
32368 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32369 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32370 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32371 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32372 type of __dummy and __dummy2 fields.
32373 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32374 (_G_ssize_t): Likewise.
32375 (_G_off_t): Likewise.
32376 (_G_pid_t): Likewise.
32377 (_G_uid_t): Likewise.
32378 (_G_wchar_t): Likewise.
32379 (_G_wint_t): Likewise.
32380 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32381 (_G_ssize_t): Likewise.
32382 (_G_off_t): Likewise.
32383 (_G_pid_t): Likewise.
32384 (_G_uid_t): Likewise.
32385 (_G_wchar_t): Likewise.
32386 (_G_wint_t): Likewise.
32387 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32388 (_G_ssize_t): Likewise.
32389 (_G_off_t): Likewise.
32390 (_G_pid_t): Likewise.
32391 (_G_uid_t): Likewise.
32392 (_G_wchar_t): Likewise.
32393 (_G_wint_t): Likewise.
32394
9fab36eb
SP
323952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32396
32397 * malloc/arena.c: Include malloc-sysdep.h.
32398 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32399 is sufficient to shrink the heap or an unmap is needed.
32400 * sysdeps/generic/malloc-sysdep.h: New file. Define
32401 new function check_may_shrink_heap.
32402 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32403 new function check_may_shrink_heap.
32404
2b4f00d1
SP
324052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32406
32407 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32408 comments.
32409
9a9028b1
DL
324102012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32411
57c69bef
DL
32412 * catgets/test-gencat.sh: Add "set -e".
32413 * elf/tst-pathopt.sh: Likewise.
32414 * grp/tst_fgetgrent.sh: Likewise.
32415 * iconvdata/run-iconv-test.sh: Likewise.
32416 * intl/tst-gettext.sh: Likewise.
32417 * intl/tst-gettext2.sh: Likewise.
32418 * intl/tst-gettext4.sh: Likewise.
32419 * intl/tst-gettext6.sh: Likewise.
32420 * intl/tst-translit.sh: Likewise.
32421 * io/ftwtest-sh: Likewise.
32422 * libio/test-freopen.sh: Likewise.
32423 * malloc/tst-mtrace.sh: Likewise.
32424 * posix/globtest.sh: Likewise.
32425 * posix/tst-getconf.sh: Likewise.
32426 * posix/wordexp-tst.sh: Likewise.
32427 * stdio-common/tst-printf.sh: Likewise.
32428 * stdio-common/tst-unbputc.sh: Likewise.
32429 * stdlib/tst-fmtmsg.sh: Likewise.
32430 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32431 * catgets/Makefile: Do not specify -e option when running
32432 testsuite shell scripts.
32433 * elf/Makefile: Likewise.
32434 * grp/Makefile: Likewise.
32435 * iconvdata/Makefile: Likewise.
32436 * intl/Makefile: Likewise.
32437 * io/Makefile: Likewise.
32438 * libio/Makefile: Likewise.
32439 * malloc/Makefile: Likewise.
32440 * posix/Makefile: Likewise.
32441 * stdio-common/Makefile: Likewise.
32442 * stdlib/Makefile: Likewise.
32443 * sysdeps/x86_64/Makefile: Likewise.
32444
9a9028b1
DL
32445 * io/ftwtest-sh: Add copyright header.
32446 * posix/globtest.sh: Likewise.
32447 * posix/tst-getconf.sh: Likewise.
32448 * posix/wordexp-tst.sh: Likewise.
32449 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32450
ced6f16e
L
324512012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32452
94b32c39
L
32453 [BZ #13679]
32454 * Makeconfig (+link): Defined as $(+link-static) if
32455 $(build-shared) isn't yes.
32456 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32457 isn't yes.
32458 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32459
189e935b
L
32460 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32461
ced6f16e
L
32462 [BZ #14562]
32463 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32464 new chunk size with MALLOC_ALIGN_MASK.
32465
a9f8e53a
JM
324662012-09-24 Joseph Myers <joseph@codesourcery.com>
32467
32468 [BZ #5044]
32469 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32470 <rounding-mode.h>.
32471 (__printf_fphex): Determine rounding using get_rounding_mode and
32472 round_away.
32473 * stdio-common/tst-printf-round.c (struct hex_test): New
32474 structure.
32475 (hex_tests): New variable.
32476 (test_hex_in_one_mode): New function.
32477 (do_test): Also run tests for hex float output.
32478
43153109
JM
324792012-09-21 Joseph Myers <joseph@codesourcery.com>
32480
32481 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32482 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32483 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32484 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32485 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32486 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32487 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32488 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32489
8a26625d
JM
324902012-09-20 Joseph Myers <joseph@codesourcery.com>
32491
32492 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32493 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32494 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32495 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32496
f3fd569c
DL
324972012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32498
32499 [BZ #14579]
32500 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32501 mode only.
32502 * elf/tst-rtld-load-self.sh: New test.
32503 * elf/Makefile: Run it.
32504
63bbedd4
JM
325052012-09-18 Joseph Myers <joseph@codesourcery.com>
32506
32507 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32508 (tst-writev-ENV): Remove.
32509 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32510
626f8b6a
CM
325112012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32512
32513 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32514
b7aaa4d6
JM
325152012-09-17 Joseph Myers <joseph@codesourcery.com>
32516
32517 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32518 unconditional.
32519 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32520 Likewise.
32521 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32522 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32523 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32524 Likewise.
32525
65513990
L
325262012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32527
32528 [BZ #14587]
32529 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32530 * config.make.in (have-cpp-asm-debuginfo): Removed.
32531 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32532 * configure: Regenerated.
32533
784761be
JM
325342012-09-14 Joseph Myers <joseph@codesourcery.com>
32535
32536 [BZ #5044]
32537 * stdio-common/printf_fp.c: Include <stdbool.h> and
32538 <rounding-mode.h>.
32539 (___printf_fp): Determine rounding using get_rounding_mode and
32540 round_away.
32541 * stdio-common/tst-printf-round.c: New file.
32542 * stdio-common/Makefile (tests): Add tst-printf-round.
32543 (link-libm): New variable.
32544 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32545
9503345f
L
325462012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32547
32548 [BZ #14576]
32549 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32550 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32551 Likewise.
32552 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32553 Likewise.
32554
ad35fc00
JM
325552012-09-13 Joseph Myers <joseph@codesourcery.com>
32556
32557 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32558 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32559 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32560 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32561
6c9b0f68
JM
325622012-09-12 Joseph Myers <joseph@codesourcery.com>
32563
32564 [BZ #14518]
32565 * include/rounding-mode.h: New file.
32566 * sysdeps/generic/get-rounding-mode.h: Likewise.
32567 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32568 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32569 (MAX_VALUE): New macro.
32570 (MIN_VALUE): Likewise.
32571 (overflow_value): New function.
32572 (underflow_value): Likewise.
32573 (round_and_return): Use overflow_value and underflow_value to
32574 determine return values in overflow and underflow cases. Use
32575 round_away to determine rounding depending on rounding mode.
32576 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32577 determine return values in overflow and underflow cases.
32578 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32579 (struct test_results): New structure.
32580 (struct test): Use struct test_results to store expected results
32581 for all rounding modes.
32582 (TEST): Include expected results for all rounding modes.
32583 (test_in_one_mode): New function.
32584 (do_test): Use test_in_one_mode to compute and check results.
32585 Check results for all rounding modes.
32586 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32587 $(link-libm).
32588
19fcedd5
AM
325892012-12-09 Allan McRae <allan@archlinux.org>
32590
1e9d84cd 32591 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32592
8bbfd2f1
JM
325932012-09-11 Joseph Myers <joseph@codesourcery.com>
32594
32595 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32596 (_G_int32_t): Likewise.
32597 (_G_uint16_t): Likewise.
32598 (_G_uint32_t): Likewise.
32599 (_G_HAVE_BOOL): Likewise.
32600 (_G_HAVE_ATEXIT): Likewise.
32601 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32602 (_G_HAVE_IO_FILE_OPEN): Likewise.
32603 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32604 (_G_int32_t): Likewise.
32605 (_G_uint16_t): Likewise.
32606 (_G_uint32_t): Likewise.
32607 (_G_HAVE_BOOL): Likewise.
32608 (_G_HAVE_ATEXIT): Likewise.
32609 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32610 (_G_HAVE_IO_FILE_OPEN): Likewise.
32611 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32612 (_G_int32_t): Likewise.
32613 (_G_uint16_t): Likewise.
32614 (_G_uint32_t): Likewise.
32615 (_G_HAVE_BOOL): Likewise.
32616 (_G_HAVE_ATEXIT): Likewise.
32617 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32618 (_G_HAVE_IO_FILE_OPEN): Likewise.
32619
b1dc5912
L
326202012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32621
32622 * csu/libc-tls.c: Update copyright years.
32623
0e886ef9
JM
326242012-09-10 Joseph Myers <joseph@codesourcery.com>
32625
28361c5e
JM
32626 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32627 [!_G_USING_THUNKS]: Remove conditional code.
32628 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32629 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32630
0e886ef9
JM
32631 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32632 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32633 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32634 (_G_VTABLE_LABEL_PREFIX): Likewise.
32635 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32636 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32637 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32638 (_G_VTABLE_LABEL_PREFIX): Likewise.
32639 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32640 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32641 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32642 (_G_VTABLE_LABEL_PREFIX): Likewise.
32643 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32644
bcba7aa2
L
326452012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32646
32647 * libio/Makefile: Include ../Makeconfig before tests.
32648 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32649 only if $(build-shared) is yes.
32650
06585ee8
L
32651 * iconv/gconv_db.c: Update copyright years.
32652
80ccd52c
LD
326532012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32654
32655 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32656 unwind info if defined PIC. Fix special cases description.
32657 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32658
32659 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32660 DP_HI_MASK entry.
32661 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32662
691bc9c1
L
326632012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32664
3d9b46b3
L
32665 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32666
de2139a9
L
32667 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32668 is NULL.
32669
5ca78dd0
L
32670 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32671 (LDLIBS-tst-chk4): This.
32672 (LDFLAGS-tst-chk5): Renamed to ...
32673 (LDLIBS-tst-chk5): This.
32674 (LDFLAGS-tst-chk6): Renamed to ...
32675 (LDLIBS-tst-chk6): This.
32676 (LDFLAGS-tst-lfschk4): Renamed to ...
32677 (LDLIBS-tst-lfschk4): This.
32678 (LDFLAGS-tst-lfschk5): Renamed to ...
32679 (LDLIBS-tst-lfschk5): This.
32680 (LDFLAGS-tst-lfschk6): Renamed to ...
32681 (LDLIBS-tst-lfschk6): This.
32682
691bc9c1
L
32683 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32684 on $(common-objpfx)soversions.mk.
32685
65cafb1c
JM
326862012-09-07 Joseph Myers <joseph@codesourcery.com>
32687
32688 [BZ #10014]
32689 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32690 example host name.
32691
c78ab094
SP
326922012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32693
32694 * malloc/arena.c (arena_get_retry): New function that gets
32695 another arena for the caller to try its request on.
32696 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32697 current arena cannot fulfill the request.
32698 (__libc_memalign): Likewise.
32699 (__libc_memalign): Likewise.
32700 (__libc_pvalloc): Likewise.
32701 (__libc_calloc): Likewise.
32702
01f49f59
JT
327032012-09-05 John Tobey <john.tobey@gmail.com>
32704
32705 [BZ #13542]
32706 * manual/arith.texi (Operations on Complex): Fix description
32707 of carg branch cut.
32708
4c23fed5
JM
327092012-09-06 Joseph Myers <joseph@codesourcery.com>
32710
1d3c8572
JM
32711 [BZ #10014]
32712 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32713 host name.
32714
4c23fed5
JM
32715 [BZ #10038]
32716 * manual/memory.texi (Memory): Make order of menu items match
32717 order of sections.
32718
04570aaa
L
327192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32720
32721 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32722 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32723 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32724
b80af2f4
L
327252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32726
32727 * csu/libc-tls.c (static_dtv): Renamed to ...
32728 (_dl_static_dtv): This. Make it global.
32729 (_dl_initial_dtv): Removed.
32730 (__libc_setup_tls): Updated.
32731 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32732 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32733 DL_INITIAL_DTV.
32734
2abe9f15
PM
327352012-09-06 Petr Machata <pmachata@redhat.com>
32736
32737 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32738 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32739 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32740 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32741
0948c3af
L
327422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32743
32744 [BZ #14545]
32745 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32746 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32747 freeing dtv[-1].
32748
a5055ad1
L
327492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32750
32751 [BZ #14544]
32752 * Makeconfig (link-static-before-libc): Replace $(+prector)
32753 with $(+prectorT).
32754 (link-static-after-libc): Replace $(+postctor) with
32755 $(+postctorT).
32756 (link-bounded): Replace $(+prector)/$(+postctor) with
32757 $(+prectorT)/$(+postctorT).
32758 (+prectorT): New macro.
32759 (+postctorT): Likewise.
32760
ed8c2ecd
JM
327612012-09-06 Joseph Myers <joseph@codesourcery.com>
32762
32763 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32764 (round_str): Handle values above the maximum for IBM long double
32765 as inexact.
32766 * stdlib/tst-strtod-round.c (tests): Regenerated.
32767
14c996c8
AK
327682012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32769
32770 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32771 assembler flag.
32772 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32773 zarch_nohighgprs around the zarch optimized routines.
32774 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32775 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32776 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32777 for zarch.
32778
430d6ce6
DM
327792012-09-05 David S. Miller <davem@davemloft.net>
32780
32781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32782
57f41c40
AS
32783 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32784 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32785 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32786 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32787 entries.
32788
24d4e01b
AO
327892012-09-05 Alexandre Oliva <aoliva@redhat.com>
32790
32791 * malloc/arena.c: Fold copyright years.
32792 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32793
61d58174
AO
327942012-09-05 Alexandre Oliva <aoliva@redhat.com>
32795
32796 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32797
20196a5e
AO
327982012-09-05 Alexandre Oliva <aoliva@redhat.com>
32799
32800 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32801
5c447383
AO
328022012-09-05 Alexandre Oliva <aoliva@redhat.com>
32803
32804 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32805 change internal state upon failure.
32806
fad64255
AO
328072012-09-05 Alexandre Oliva <aoliva@redhat.com>
32808
32809 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32810 * malloc/memusage.c (mmap): Likewise.
32811 (mmap64, mremap): Likewise. Adjust name in comment.
32812
1ffb8c90
SP
328132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32814
32815 * libio/fileops.c: Fix typos in comments.
32816 * libio/oldfileops.c: Likewise.
32817 * libio/wfileops.c: Likewise.
32818
6ef9cc37
SP
328192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32820
32821 [BZ #1349]
32822 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32823 (tst-malloc-usable-ENV): Set environment for test case.
32824 * malloc/hooks.c (malloc_check_get_size): New function to get
32825 requested size.
32826 * malloc/malloc.c (musable): Use malloc_check_get_size.
32827 * malloc/tst-malloc-usable.c: New test case.
32828
4d038ae3
AS
328292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32830
32831 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32832
c4e85184
AM
328332012-09-05 Allan McRae <allan@archlinux.org>
32834
b9dafc56 32835 [BZ #13966]
c4e85184
AM
32836 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32837 determine header location.
32838 * configure: Regenerated.
32839
e1343020
AS
328402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32841
32842 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32843 float format.
32844 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32845 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32846 format.
e1343020
AS
32847 (test): Regenerate.
32848
0a9f1987
DM
328492012-09-04 David S. Miller <davem@davemloft.net>
32850
32851 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32852 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32853 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32854
29237804
FW
328552012-09-04 Florian Weimer <fweimer@redhat.com>
32856
32857 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32858 failures.
32859
edb3cb88
FW
32860 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32861
60160d83
JM
328622012-09-04 Joseph Myers <joseph@codesourcery.com>
32863
32864 [BZ #9914]
32865 * libio/iogetdelim.c: Include <limits.h>.
32866 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32867 + len + 1 would overflow.
32868
bcd6c8dc
AJ
328692012-09-03 Andreas Jaeger <aj@suse.de>
32870
32871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32872 * sysdeps/i386/fpu/libm-test-ulps: Update.
32873
4ffffbd2
LD
328742012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32875
32876 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32877 Add s_sinf-sse2, s_conf-sse2.
32878
32879 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32880 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32881 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32882 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32883
32884 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32885 for using routine as __sinf_ia32.
32886 Use macro for function declaration and weak_alias.
32887 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32888 for using routine as __cosf_ia32.
32889 Use macro for function declaration and weak_alias.
32890
32891 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32892 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32893
32894 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32895 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32897
32898 * math/libm-test.inc (cos_test): Add more test cases.
32899 (sin_test): Likewise.
32900 (sincos_test): Likewise.
32901
511fa286
AK
329022012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32903
32904 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32905 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32906 hidden.
32907 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32908
5f30cfec
L
329092012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 [BZ #14538]
32912 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32913 first element of the GOT.
32914 (elf_machine_load_address): Return the difference between
32915 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32916
0786794f
AM
329172012-09-01 Allan McRae <allan@archlinux.org>
32918
5f30cfec
L
32919 [BZ #13412]
32920 * configure.in (AWK): Require gawk version 3.0 or later.
32921 * configure: Regenerated.
0786794f 32922
26889eac
JM
329232012-09-01 Joseph Myers <joseph@codesourcery.com>
32924
32925 * sysdeps/unix/sysv/linux/kernel-features.h
32926 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32928 [__NR_clock_getres]: Make code unconditional.
32929 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32930 (clock_getcpuclockid): Remove code left unreachable by removal of
32931 conditionals.
32932 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32933 code unconditional.
32934 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32935 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32936 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32937 Make code unconditional.
32938 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32939 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32940 * sysdeps/unix/sysv/linux/clock_settime.c
32941 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32942 conditional code.
32943 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32944 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32945
d22e28b0
L
329462012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32947
32948 [BZ #14476]
32949 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32950 scripts/test-installation.pl.
32951
32952 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32953 and $ld_so_version if it is set.
32954
050af9c4
SP
329552012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32956
32957 [BZ #14516]
32958 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32959 failure if reading from procfs failed.
32960 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32961
ad845c0b
JM
329622012-08-27 Joseph Myers <joseph@codesourcery.com>
32963
32964 * sysdeps/unix/sysv/linux/kernel-features.h
32965 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32966 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32967 Remove conditional code.
32968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32969 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32970 Remove conditional code.
32971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32972 * sysdeps/unix/sysv/linux/i386/fxstat.c
32973 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32975 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32976 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32978 * sysdeps/unix/sysv/linux/i386/lxstat.c
32979 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32980 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32981 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32982 Remove conditional code.
32983 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32984 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32985 Remove conditional code.
32986 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32987 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32988 <kernel-features.h>.
32989 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32990 Remove.
32991 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32992 Remove conditional code.
32993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32994 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32995 Remove conditional.
32996
5dbf56af
MF
329972012-08-27 Mike Frysinger <vapier@gentoo.org>
32998
32999 [BZ #5400]
33000 * NEWS: Add fixed bug number.
33001
d6e70f43
JM
330022012-08-27 Joseph Myers <joseph@codesourcery.com>
33003
7efb4737
JM
33004 [BZ #14519]
33005 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33006 underflowing exponent in case of negative sign.
33007 * stdlib/tst-strtod-round-data: Add more tests.
33008 * stdlib/tst-strtod-round.c (tests): Regenerated.
33009
af92131a
JM
33010 [BZ #3479]
33011 * stdlib/strtod_l.c (NDIG): Remove.
33012 (HEXNDIG): Likewise.
33013 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33014 smallest representable value.
33015 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33016 lie within an exact representation of 1/2 ulp of the result.
33017 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33018 unconditionally.
33019 (TENS_P9_IDX): Define unconditionally.
33020 (TENS_P9_SIZE): Likewise.
33021 (TENS_P10_IDX): Likewise.
33022 (TENS_P10_SIZE): Likewise.
33023 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33024 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33025 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33026 entries for 10^2^13 and 10^2^14.
33027 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33028 (TENS_P13_IDX): Define.
33029 (TENS_P13_SIZE): Likewise.
33030 (TENS_P14_IDX): Likewise.
33031 (TENS_P14_SIZE): Likewise.
33032 (_fpioconst_pow10): Change array size to
33033 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33034 unconditional.
33035 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33036 1024]: Add entries for 10^2^13 and 10^2^14.
33037 [LAST_POW10 > _LAST_POW10]: Remove #error.
33038 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33039 (_fpioconst_pow10): Change array size to
33040 FPIOCONST_POW10_ARRAY_SIZE.
33041 * stdlib/gen-fpioconst.c: New file.
33042 * stdlib/gen-tst-strtod-round.c: Likewise.
33043 * stdlib/tst-strtod-round-data: Likewise.
33044 * stdlib/tst-strtod-round.c: Likewise.
33045 * stdlib/Makefile (tests): Add tst-strtod-round.
33046
d6e70f43
JM
33047 [BZ #14459]
33048 * stdlib/strtod_l.c: Include <stdint.h>.
33049 (NDEBUG): Do not define.
33050 (round_and_return): Change EXPONENT parameter to type intmax_t.
33051 Rearrange calculations to avoid internal overflow possibilities.
33052 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33053 Rearrange calculations to avoid internal overflow possibilities.
33054 Assert that number fits inside MPNSIZE limbs.
33055 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33056 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33057 calculations and add assertions to avoid internal overflow
33058 possibilities. Add casts to avoid signed/unsigned operations.
33059 * stdlib/tst-strtod-overflow.c: New file.
33060 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33061
1f529f7d
MP
330622012-08-25 Marek Polacek <polacek@redhat.com>
33063
33064 * time/time.h: Fix some typos in comments.
33065
59a629f1
RM
330662012-08-23 Roland McGrath <roland@hack.frob.com>
33067
33068 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33069 * posix/tst-rfc3484-2.c: Likewise.
33070 * posix/tst-rfc3484-3.c: Likewise.
33071
d3bafbc9
SM
330722012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33073
33074 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33075 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33076
4efcc022
JM
330772012-08-23 Joseph Myers <joseph@codesourcery.com>
33078
33079 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33080 #include of fxstatat64.c.
33081
3cc3ef96
RM
330822012-08-22 Roland McGrath <roland@hack.frob.com>
33083
f04e2132
RM
33084 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33085 * shadow/getspent_r.c: Likewise.
33086 * shadow/getspnam.c: Likewise.
33087 * shadow/getspnam_r.c: Likewise.
33088 * gshadow/getsgent.c: Likewise.
33089 * gshadow/getsgent_r.c: Likewise.
33090 * gshadow/getsgnam.c: Likewise.
33091 * gshadow/getsgnam_r.c: Likewise.
33092 * inet/getnetbyad.c: Likewise.
33093 * inet/getnetbyad_r.c: Likewise.
33094 * inet/getnetbynm.c: Likewise.
33095 * inet/getnetbynm_r.c: Likewise.
33096 * inet/getnetent.c: Likewise.
33097 * inet/getnetent_r.c: Likewise.
33098 * inet/getproto.c: Likewise.
33099 * inet/getproto_r.c: Likewise.
33100 * inet/getprtent.c: Likewise.
33101 * inet/getprtent_r.c: Likewise.
33102 * inet/getprtname.c: Likewise.
33103 * inet/getprtname_r.c: Likewise.
33104 * inet/getrpcbyname.c: Likewise.
33105 * inet/getrpcbyname_r.c: Likewise.
33106 * inet/getrpcbynumber.c: Likewise.
33107 * inet/getrpcbynumber_r.c: Likewise.
33108 * inet/getrpcent.c: Likewise.
33109 * inet/getrpcent_r.c: Likewise.
33110 * inet/getaliasent.c: Likewise.
33111 * inet/getaliasent_r.c: Likewise.
33112 * inet/getaliasname.c: Likewise.
33113 * inet/getaliasname_r.c: Likewise.
33114 * nscd/getgrgid_r.c: Likewise.
33115 * nscd/getgrnam_r.c: Likewise.
33116 * nscd/gethstbyad_r.c: Likewise.
33117 * nscd/gethstbynm3_r.c: Likewise.
33118 * nscd/getpwnam_r.c: Likewise.
33119 * nscd/getpwuid_r.c: Likewise.
33120 * nscd/getsrvbynm_r.c: Likewise.
33121 * nscd/getsrvbypt_r.c: Likewise.
33122 * nscd/gai.c: Likewise.
33123
c53d909c
RM
33124 * configure.in (build_nscd): New substituted variable, set
33125 by --disable-build-nscd and defaults to $use_nscd.
33126 * configure: Regenerated.
33127 * config.make.in (build-nscd): New substituted variable.
33128 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33129 Change conditional to require [$(build-nscd) = yes] as well.
33130 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33131
3cc3ef96
RM
33132 [BZ# 13696]
33133 * configure.in (use_nscd): New substituted variable, set by
33134 --disable-nscd. If enabled, define USE_NSCD.
33135 * configure: Regenerated.
33136 * config.h.in: Add USE_NSCD.
33137 * config.make.in (use-nscd): New substituted variable.
33138 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33139 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33140 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33141 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33142 (CFLAGS-getgrnam_r.c): Likewise.
33143 (CFLAGS-initgroups.c): Likewise.
33144 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33145 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33146 Variables removed.
33147 * inet/getnetgrent_r.c
33148 (nscd_setnetgrent): New function, broken out of ...
33149 (setnetgrent): ... here. Call it.
33150 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33151 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33152 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33153 * nscd/Makefile (routines, aux): Move definitions after include of
33154 Makeconfig. Conditionalize on [$(use-nscd) != no].
33155 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33156 Conditionalize on [USE_NSCD].
33157 (is_nscd, nscd_init_cb): Likewise.
33158 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33159 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33160 * nss/nss_db/db-init.c: Likewise.
33161 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33162 [USE_NSCD].
33163 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33164 (make_request): Use it.
33165 (cache_valid_p): New function.
33166 (__check_pf): Use it.
33167 * NEWS: Add item for --disable-nscd.
33168
07e51550
DL
331692012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33170
33171 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33172 to support sed >= 4.2.1-20-ga9bf076.
33173 * configure: Regenerated.
33174
35a5b08b
RM
331752012-08-22 Roland McGrath <roland@hack.frob.com>
33176
33177 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33178 Conditionalize whole body on [IREL].
33179
8479f23a
JL
331802012-08-22 Jeff Law <law@redhat.com>
33181
33182 [BZ #14505]
33183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33184 if the family is PF_UNSPEC.
33185
48da0b21
MF
331862012-08-22 Mike Frysinger <vapier@gentoo.org>
33187
33188 * Makerules (lib-version): Rename from V.
33189 (install-lib-nosubdir): Change V to lib-version.
33190
15d0da8c
WS
331912012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33192
33193 [BZ #14252]
33194 * powerpc32/power6/wcschr.c: New file.
33195 * powerpc32/power6/wcscpy.c: New file.
33196 * powerpc32/power6/wcsrchr.c: New file.
33197 * powerpc64/power6/wcschr.c: New file.
33198 * powerpc64/power6/wcscpy.c: New file.
33199 * powerpc64/power6/wcsrchr.c: New file.
33200
bcca0895
MK
332012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33202
33203 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33204 (two_way_short_needle): Use it.
5a4aaa33
RM
33205 * string/strstr.c (AVAILABLE1_USES_J): Define.
33206 * string/strcasestr.c: Likewise.
99677e57
MK
33207
33208 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33209 array references.
33210 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33211
400726de
MK
33212 [BZ #11607]
33213 * NEWS: Add an entry.
33214 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33215 define their defaults.
33216 (two_way_short_needle): Detect end-of-string on-the-fly.
33217 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33218 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33219 * string/bug-strcasestr1.c: New test.
33220 * string/Makefile: Run it.
33221
20a71f2c
MK
332222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33223
33224 [BZ #11607]
33225 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33226 the first character.
33227
21ad0558
RM
332282012-08-21 Roland McGrath <roland@hack.frob.com>
33229
33230 * csu/elf-init.c (__libc_csu_irel): Function removed.
33231 * csu/libc-start.c (apply_irel): New function.
33232 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33233
0e1d9911
JM
332342012-08-21 Joseph Myers <joseph@codesourcery.com>
33235
33236 * sysdeps/unix/sysv/linux/kernel-features.h
33237 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33238 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33239 <kernel-features.h>.
33240 [__NR_fadvise64_64]: Make code unconditional.
33241 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33242 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33243 !__NR_fadvise64_64)]: Likewise.
33244 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33245 !__NR_fadvise64_64))]: Likewise.
33246 [__NR_fadvise64]: Make code unconditional.
33247 [!__NR_fadvise64]: Remove conditional code.
33248 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33249 <kernel-features.h>.
33250 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33251 unconditional.
33252 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33253 conditional code.
33254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33255 not include <kernel-features.h>.
33256 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33257 unconditional.
33258 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33259 conditional code.
33260 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33261 include <kernel-features.h>.
33262 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33263 unconditional.
33264 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33265 conditional code.
33266
14a50c9d
WS
332672012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33268
33269 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33270 slight instruction rearrangements per scrollpipe analysis.
33271 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33272
c0f4faf0
RM
332732012-08-20 Roland McGrath <roland@hack.frob.com>
33274
696da859
RM
33275 * manual/syslog.texi (syslog; vsyslog, closelog):
33276 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33277 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33278
c0f4faf0
RM
33279 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33280 DSOCAPS to match condition on defining it.
33281
348363b2
JM
332822012-08-20 Joseph Myers <joseph@codesourcery.com>
33283
a35cbf28
JM
33284 * sysdeps/unix/sysv/linux/kernel-features.h
33285 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33287 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33288 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33290 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33291 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33293 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33294 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33295
445f7ecd
JM
33296 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33297 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33298
348363b2
JM
33299 * sysdeps/unix/sysv/linux/kernel-features.h
33300 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33301 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33302 unconditional.
33303 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33304 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33305 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33306 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33307 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33308 Make code unconditional.
33309 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33310 (__mmap64) [!__NR_mmap2]: Likewise.
33311 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33312 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33313 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33314 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33315 [__NR_mmap2]: Make code unconditional.
33316 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33317 (__mmap64) [!__NR_mmap2]: Likewise.
33318
bc5bc0e5
AK
333192012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33320
33321 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33322
88d506de
AJ
333232012-08-18 Andreas Jaeger <aj@suse.de>
33324
33325 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33326
493387d2
MF
333272012-08-18 Mike Frysinger <vapier@gentoo.org>
33328
33329 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33330 * include/unistd.h (__have_sock_cloexec): Likewise.
33331 (__have_pipe2): Likewise.
33332 (__have_dup3): Likewise.
33333
a277af22
MF
333342012-08-18 Mike Frysinger <vapier@gentoo.org>
33335
33336 [BZ #9685]
33337 * include/unistd.h (__have_pipe2): Change define into an extern int.
33338 (__have_dup3): Likewise.
33339 * socket/have_sock_cloexec.c: Include fcntl.h.
33340 (__have_pipe2): New variable.
33341 (__have_dup3): Likewise.
33342
fdab8fd3
MF
333432012-08-17 Mike Frysinger <vapier@gentoo.org>
33344
33345 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33346
31035e80
MP
333472012-08-17 Marek Polacek <polacek@redhat.com>
33348
33349 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33350 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33351
3bd9e993
RM
333522012-08-17 Roland McGrath <roland@hack.frob.com>
33353
c91c505f
RM
33354 * configure.in: Add AC_SUBST for sysheaders.
33355 * configure: Regenerated.
33356 * config.make.in (sysheaders): New substituted variable.
33357
7c6f9d53
RM
33358 * sysdeps/unix/mkfifo.c: Moved ...
33359 * sysdeps/posix/mkfifo.c: ... here.
33360 * sysdeps/unix/mkfifoat.c: Moved ...
33361 * sysdeps/posix/mkfifoat.c: ... here.
33362
33363 * sysdeps/unix/utime.c: Moved ...
33364 * sysdeps/posix/utime.c: ... here.
33365
33366 * sysdeps/unix/time.c: Moved ...
33367 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33368 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33369 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33370
33371 * sysdeps/unix/nice.c: Moved ...
33372 * sysdeps/posix/nice.c: ... here.
33373
33374 * sysdeps/unix/alarm.c: Moved ...
33375 * sysdeps/posix/alarm.c: ... here.
33376
3bd9e993
RM
33377 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33378
d1f09384
JL
333792012-08-17 Jeff Law <law@redhat.com>
33380
33381 * intl/Makefile (codeset_mo): New variable.
33382 ($(codeset_mo)): New target.
33383 (tst-codeset.out): Depend on that. Remove explicit rule.
33384 (tst-gettext3.out, tst-gettext5.out): Likewise.
33385 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33386 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33387 * intl/tst-codeset.sh: Remove.
33388 * intl/tst-gettext3.sh: Likewise.
33389 * intl/tst-gettext5.sh: Likewise.
33390
2ae1ae5c
RM
333912012-08-17 Roland McGrath <roland@hack.frob.com>
33392
c31fdb83
RM
33393 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33394 * sysdeps/unix/syscalls.list: ... here.
33395
a0844057
RM
33396 * sysdeps/posix/getaddrinfo.c
33397 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33398 (gaiconf_init, gaiconf_reload): Use them.
33399 [!_STATBUF_ST_NSEC]
33400 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33401 Define using time_t rather than struct timespec.
33402
750c1f2a
RM
33403 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33404 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33405 Macros removed.
33406 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33407 [!NO_THREADS].
33408 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33409 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33410 Likewise.
33411
2ae1ae5c
RM
33412 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33413 __libc_cleanup_push argument.
33414
e66a42f5
RM
33415 * bits/param.h: New file.
33416 * misc/sys/param.h: New file.
33417 * include/sys/param.h: New file.
33418 * misc/Makefile (headers): Add bits/param.h.
33419 * sysdeps/generic/sys/param.h: File removed.
33420 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33421 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33422 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33423 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33424
b7c08a66
RM
33425 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33426 last change.
33427
b2e1c562
RM
33428 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33429 [_IO_MTSAFE_IO].
33430 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33431 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33432 New macros.
33433
c75ccd4c
RM
33434 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33435 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33436 rather than -D_IO_MTSAFE_IO conditionally.
33437 * stdio-common/Makefile (CPPFLAGS): Likewise.
33438 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33439 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33440 Use $(libio-mtsafe).
33441 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33442 of -D_IO_MTSAFE_IO.
33443 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33444 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33445 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33446 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33447 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33448 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33449 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33450 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33451 (CFLAGS-fread_u_chk.c): Likewise.
33452 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33453 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33454 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33455 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33456 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33457 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33458 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33459 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33460 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33461
33462 * libio/Makefile: Test [$(libc-reentrant) = yes]
33463 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33464
33465 * Makeconfig
33466 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33467 * sysdeps/pthread/configure: File removed.
33468 * sysdeps/pthread/Makeconfig: New file.
33469 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33470 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33471
d9195db8
GB
334722012-08-16 Gary Benson <gbenson@redhat.com>
33473
33474 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33475 unmapping the first object in a namespace.
33476
86466cd9
RM
334772012-08-16 Roland McGrath <roland@hack.frob.com>
33478
33479 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33480 (__internal_setnetgrent): ... this. Add internal_function to
33481 definition. Add libc_hidden_def.
33482 (setnetgrent): Update caller.
33483 (internal_endnetgrent): Renamed to ...
33484 (__internal_endnetgrent): ... this. Add internal_function to
33485 definition. Add libc_hidden_def.
33486 (endnetgrent): Update caller.
33487 (internal_getnetgrent_r): Renamed to ...
33488 (__internal_getnetgrent_r): ... this. Add internal_function to
33489 definition. Add libc_hidden_def.
33490 (__getnetgrent_r): Update caller.
33491 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33492
c3c8283c
JM
334932012-08-16 Joseph Myers <joseph@codesourcery.com>
33494
33495 * stdlib/longlong.h: Update from GCC.
33496
db1ee0a8
RM
334972012-08-16 Roland McGrath <roland@hack.frob.com>
33498
33499 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33500 on _QL, which is set by umul_ppmm but never used.
33501 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33502 variables, which are set by GMP macros but never used.
33503 * stdio-common/_itowa.c (_itowa): Likewise.
33504 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33505 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33506
30f69637
CD
335072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33508
33509 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33510 struct La_sh_regs is not constant.
33511 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33512 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33513 and struct La_sparc64_regs are not constant.
33514
93a78ac4
JM
335152012-08-16 Joseph Myers <joseph@codesourcery.com>
33516
33517 * sysdeps/unix/sysv/linux/kernel-features.h
33518 (__ASSUME_POSIX_TIMERS): Remove.
33519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33521 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33522 Make code unconditional.
33523 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33524 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33525 Make code unconditional.
33526 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33527 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33528 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33529 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33530 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33531 Make code unconditional.
33532 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33533 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33534 (__libc_missing_posix_timers): Remove.
33535
dd924cd7
RM
335362012-08-15 Roland McGrath <roland@hack.frob.com>
33537
4b4f2771
RM
33538 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33539 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33540
601c888b
RM
33541 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33542
176790a7
RM
33543 * elf/dl-sym.c: Include <stdlib.h>.
33544
329bc018
RM
33545 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33546 constants, which avoids warnings in 32-bit builds.
33547
e04e272d
RM
33548 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33549 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33550
952bf94a
RM
33551 * misc/lseek.c: File moved to ...
33552 * io/lseek.c: ... here.
33553
7c99b50a
RM
33554 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33555
dd924cd7
RM
33556 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33557 shifting LEN more than 31 bits at once.
33558
b3f479a8
LD
335592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33560
33561 [BZ #14195]
8c4ae0d4
RM
33562 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33563 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33564 * string/test-strncasecmp.c (check1): Renamed to...
33565 (bz12205): ...this.
33566 (bz14195): Add new testcase for two empty input strings and N > 0.
33567 (test_main): Call new testcase, adapt for renamed function.
33568
9c55864e
AJ
335692012-08-15 Andreas Jaeger <aj@suse.de>
33570
33571 [BZ #14090]
33572 * crypt/md5test2.c: New test, based on test supplied by Serge
33573 Belyshev <belyshev@depni.sinp.msu.ru>.
33574 * crypt/Makefile (xtests): Add md5test-giant..
33575 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33576
02dcb6c5
PE
335772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33578
33579 [BZ #14090]
33580 * crypt/md5.c (md5_process_block): Don't assume the buffer
33581 length is less than 2**32.
33582 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33583 length is less than 2**64.
33584
a3f95dcc
RM
335852012-08-15 Roland McGrath <roland@hack.frob.com>
33586
be75d758
RM
33587 * string/str-two-way.h: Include <sys/param.h>.
33588 (MAX): Macro removed.
33589
7312ca90
RM
33590 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33591 Move #define and #undef of memmove to just before and after
33592 including <string.h>.
33593
9a0a5486
RM
33594 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33595 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33596 and after including <string.h>. Move declarations of
33597 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33598 to before #include "string/memmove.c".
33599
67cc348d
RM
33600 * include/dirent.h: Declare __getdirentries.
33601
a3f95dcc
RM
33602 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33603 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33604
ca98e171
MF
336052012-08-14 Mike Frysinger <vapier@gentoo.org>
33606
33607 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33608 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33609 * sysdeps/i386/configure: Regenerated.
33610 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33611 STABS_CURRENT_FILE, and STABS_FUN.
33612 (END): Remove call to STABS_FUN_END.
33613 (STABS_CURRENT_FILE1): Delete.
33614 (STABS_CURRENT_FILE): Likewise.
33615 (STABS_FUN): Likewise.
33616 (STABS_FUN_END): Likewise.
33617 (STABS_FUN2): Likewise.
33618 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33619 * sysdeps/x86_64/configure: Regenerated.
33620
5908bf46
RM
336212012-08-14 Roland McGrath <roland@hack.frob.com>
33622
33623 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33624 * elf/dl-lookup.c: Likewise.
5908bf46 33625
f2c05b9e
JM
336262012-08-14 Joseph Myers <joseph@codesourcery.com>
33627
33628 * sysdeps/unix/sysv/linux/kernel-features.h
33629 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33630 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33631 unconditionally.
33632 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33633 unconditionally.
33634 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33635 condition on __ASSUME_CLONE_THREAD_FLAGS.
33636
e11f5155
AJ
336372012-08-14 Andreas Jaeger <aj@suse.de>
33638
33639 * sysdeps/i386/fpu/libm-test-ulps: Update.
33640
51a9ba86
MK
336412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33642
2fdd4f78
AJ
33643 * include/atomic.h (atomic_exchange_and_add): Split into ...
33644 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33645 New atomic macros.
51a9ba86 33646
ba6cba9e
MT
336472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33648
33649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33650
42443a47
JL
336512012-08-13 Jeff Law <law@redhat.com>
33652
33653 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33654 null byte in the output string.
33655
121dce05
JM
336562012-08-10 Joseph Myers <joseph@codesourcery.com>
33657
33658 * sysdeps/unix/sysv/linux/kernel-features.h
33659 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33660 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33661 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33662 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33663 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33664 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33665 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33666
bf51f568
JL
336672012-08-09 Jeff Law <law@redhat.com>
33668
33669 [BZ #13939]
33670 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33671 When avoid_arena is set, don't retry in the that arena. Pick the
33672 next one, whatever it might be.
33673 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33674 (arena_lock): Pass in new parameter to arena_get2.
33675 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33676 arena_get2.
33677 (__libc_malloc): Unify retrying after main arena failure with
33678 __libc_memalign version.
33679 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33680
f85fa270
L
336812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33682
33683 [BZ #14166]
33684 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33685 to __redirect_strstr.
33686 (__strstr_sse42): Use typeof __redirect_strstr.
33687 (__strstr_ia32): Likewise.
33688 (__libc_strstr): New prototype.
33689 (strstr): Renamed to ...
33690 (__libc_strstr): This.
33691 (strstr): New strong alias of __libc_strstr.
33692 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33693 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33694 __redirect_time.
33695 Include <time.h>.
33696 (__libc_time): New prototype.
33697 (time_ifunc): Replace time with __libc_time.
33698 (time): New strong alias and hidden definition of __libc_time.
33699 (__GI_time): Remove strong alias.
33700 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33701 Include <stddef.h>.
33702 (memmove): Redefined to __redirect_memmove.
33703 (__memmove_sse2): Use typeof __redirect_memmove.
33704 (__memmove_ssse3): Likewise.
33705 (__memmove_ssse3_back): Likewise.
33706 (__libc_memmove): New prototype.
33707 (memmove): Renamed to ...
33708 (__libc_memmove): This.
33709 (memmove): New strong alias of __libc_memmove.
33710
33b4a91e
MS
337112012-08-08 Mark Salter <msalter@redhat.com>
33712
33713 * elf/elf.h
33714 (R_MN10300_TLS_GD): Define.
33715 (R_MN10300_TLS_LD): Likewise.
33716 (R_MN10300_TLS_LDO): Likewise.
33717 (R_MN10300_TLS_GOTIE): Likewise.
33718 (R_MN10300_TLS_IE): Likewise.
33719 (R_MN10300_TLS_LE): Likewise.
33720 (R_MN10300_TLS_DTPMOD): Likewise.
33721 (R_MN10300_TLS_DTPOFF): Likewise.
33722 (R_MN10300_TLS_TPOFF): Likewise.
33723 (R_MN10300_SYM_DIFF): Likewise.
33724 (R_MN10300_ALIGN): Likewise.
33725 (R_MN10300_NUM): Update.
33726
b36137f1
JM
337272012-08-08 Joseph Myers <joseph@codesourcery.com>
33728
33729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33730 Remove.
33731
cdd915fd
RM
337322012-08-08 Roland McGrath <roland@hack.frob.com>
33733
a2433aac
RM
33734 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33735
cdd915fd
RM
33736 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33737 sysdeps/unix -> sysdeps/posix move.
33738 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33739
bf9b740a
AM
337402012-08-07 Allan McRae <allan@archlinux.org>
33741
33742 [BZ #14303]
33743 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33744 (SUNOS_CPP): Likewise.
33745 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33746 not found.
33747 (open_input): Call CPP using execvp.
33748
93df14ee
JM
337492012-08-07 Joseph Myers <joseph@codesourcery.com>
33750
33751 * sysdeps/unix/sysv/linux/kernel-features.h
33752 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33753 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33754 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33755 (__ASSUME_WAITID_SYSCALL): Likewise.
33756 * sysdeps/unix/sysv/linux/dl-execstack.c
33757 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33758 code unconditional.
33759 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33760 conditional code.
33761 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33762 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33763 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33764 code.
33765 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33766 unconditional.
33767 [__ASSUME_WAITID_SYSCALL]: Likewise.
33768 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33769
d34689de
RM
337702012-08-07 Roland McGrath <roland@hack.frob.com>
33771
a281decc
RM
33772 * sysdeps/unix/closedir.c: Renamed to ...
33773 * sysdeps/posix/closedir.c: ... here.
33774 * sysdeps/unix/dirfd.c: Renamed to ...
33775 * sysdeps/posix/dirfd.c: ... here.
33776 * sysdeps/unix/dirstream.h: Renamed to ...
33777 * sysdeps/posix/dirstream.h: ... here.
33778 * sysdeps/unix/fdopendir.c: Renamed to ...
33779 * sysdeps/posix/fdopendir.c: ... here.
33780 * sysdeps/unix/opendir.c: Renamed to ...
33781 * sysdeps/posix/opendir.c: ... here.
33782 * sysdeps/unix/readdir.c: Renamed to ...
33783 * sysdeps/posix/readdir.c: ... here.
33784 * sysdeps/unix/readdir_r.c: Renamed to ...
33785 * sysdeps/posix/readdir_r.c: ... here.
33786 * sysdeps/unix/rewinddir.c: Renamed to ...
33787 * sysdeps/posix/rewinddir.c: ... here.
33788 * sysdeps/unix/seekdir.c: Renamed to ...
33789 * sysdeps/posix/seekdir.c: ... here.
33790 * sysdeps/unix/telldir.c: Renamed to ...
33791 * sysdeps/posix/telldir.c: ... here.
33792 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33793 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33794 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33795 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33796
22895b47
RM
33797 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33798 * bits/fcntl.h: ... here.
33799
707a53b6
RM
33800 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33801 not 0.
33802 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33803 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33804 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33805 (struct flock): Move l_start, l_len to the beginning.
33806 Use __pid_t for l_pid.
33807 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33808 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33809 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33810 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33811 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33812 [__USE_LARGEFILE64] (struct flock64): New type.
33813 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33814
f0bd3e25
RM
33815 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33816 * bits/dirent.h: ... here.
33817
d34689de
RM
33818 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33819 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33820
6dad2c06
JM
338212012-08-07 Joseph Myers <joseph@codesourcery.com>
33822
33823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33824 Change from 2.6.0 to 2.6.16.
33825 * sysdeps/unix/sysv/linux/configure: Regenerated.
33826 * sysdeps/unix/sysv/linux/kernel-features.h
33827 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33828 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33829 version.
33830 (__ASSUME_UTIMES): Likewise.
33831 (__ASSUME_CLONE_STOPPED): Remove.
33832 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33833 architectures, not kernel version.
33834 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33835 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33836 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33837 (__ASSUME_WAITID_SYSCALL): Likewise.
33838 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33839 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33840 * README: State 2.6.16 as minimum Linux kernel version. Do not
33841 refer to older versions.
33842
03af9520
RM
338432012-08-06 Roland McGrath <roland@hack.frob.com>
33844
8e49df1d
RM
33845 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33846 Define alphasort64 as an alias.
33847 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33848 Define versionsort64 as an alias.
33849 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33850 Define scandir64 as an alias.
33851 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33852 Define scandirat64 as an alias.
33853 * dirent/alphasort64.c (alphasort64):
33854 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33855 * dirent/versionsort64.c: Likewise.
33856 * dirent/scandir64.c: Likewise.
33857 * dirent/scandirat64.c: Likewise.
33858 * sysdeps/wordsize-64/alphasort.c: File removed.
33859 * sysdeps/wordsize-64/alphasort64.c: File removed.
33860 * sysdeps/wordsize-64/scandir.c: File removed.
33861 * sysdeps/wordsize-64/scandir64.c: File removed.
33862 * sysdeps/wordsize-64/scandirat.c: File removed.
33863 * sysdeps/wordsize-64/scandirat64.c: File removed.
33864 * sysdeps/wordsize-64/versionsort.c: File removed.
33865 * sysdeps/wordsize-64/versionsort64.c: File removed.
33866 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33867 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33872 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33874
33875 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33877 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33879 [defined __arch64__ || defined __sparcv9]
33880 (__INO_T_MATCHES_INO64_T): New macro.
33881 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33882 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33883 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33884 * sysdeps/unix/sysv/linux/bits/dirent.h
33885 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33886 (_DIRENT_MATCHES_DIRENT64): New macro.
33887
03af9520
RM
33888 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33889 Define lockf64 as an alias.
33890 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33891 Define fseeko64 as an alias.
33892 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33893 Define ftello64 as an alias.
33894 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33895 Define _IO_fgetpos64 and fgetpos64 as aliases.
33896 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33897 Define _IO_fsetpos64 and fsetpos64 as aliases.
33898 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33899 Conditionalize body on this.
33900 * libio/fseeko64.c: Likewise.
33901 * libio/ftello64.c: Likewise.
33902 * libio/iofgetpos64.c: Likewise.
33903 * libio/iofsetpos64.c: Likewise.
33904 * sysdeps/wordsize-64/lockf.c: File removed.
33905 * sysdeps/wordsize-64/lockf64.c: File removed.
33906 * sysdeps/wordsize-64/fseeko.c: File removed.
33907 * sysdeps/wordsize-64/fseeko64.c: File removed.
33908 * sysdeps/wordsize-64/ftello.c: File removed.
33909 * sysdeps/wordsize-64/ftello64.c: File removed.
33910 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33911 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33912 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33913 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33914 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33916 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33917 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33918 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33919 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33920 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33921 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33922 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33923 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33924
33925 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33926 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33927 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33928 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33929 [defined __arch64__ || defined __sparcv9]
33930 (__OFF_T_MATCHES_OFF64_T): New macro.
33931 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33932 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33934 (__OFF_T_MATCHES_OFF64_T): New macro.
33935
c5757acd
L
339362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33937
33938 * stdlib/secure-getenv.c (__secure_getenv): Replace
33939 GLIBC_2_16 with GLIBC_2_17.
33940
3a31811e
L
339412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33942
33943 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33944 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33945
faa2bccb
DM
339462012-08-03 David S. Miller <davem@davemloft.net>
33947
33948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33949
85fe1997
JM
339502012-08-03 Joseph Myers <joseph@codesourcery.com>
33951
33952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33953 Remove.
33954 (__ASSUME_CORRECT_SI_PID): Likewise.
33955 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33956 (__ASSUME_TMPFS_NAME): Likewise.
33957 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33958 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33959 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33960 (HAVE_AUX_SECURE): Make definition unconditional.
33961 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33962 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33963
4f75b7a0
RM
339642012-08-03 Roland McGrath <roland@hack.frob.com>
33965
33966 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33967 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33968 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33969 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33970 __eloop_threshold instead of SYMLOOP_MAX.
33971
33972 * sysdeps/generic/eloop-threshold.h: New file.
33973 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33974 of MAXSYMLINKS.
33975 * elf/chroot_canon.c (chroot_canon): Likewise.
33976
7aab07e4
JM
339772012-08-03 Joseph Myers <joseph@codesourcery.com>
33978
33979 [BZ #13717]
33980 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33981 Change to 2.6.0 everywhere.
33982 * sysdeps/unix/sysv/linux/configure: Regenerated.
33983 * sysdeps/unix/sysv/linux/kernel-features.h
33984 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33985 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33986 kernel versions.
33987 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33988 (__ASSUME_FUTEX_REQUEUE): Remove.
33989 (__ASSUME_STATFS64): Define unconditionally.
33990 (__ASSUME_AT_SECURE): Likewise.
33991 (__ASSUME_CORRECT_SI_PID): Likewise.
33992 (__ASSUME_TGKILL): Define without depending on kernel version for
33993 i386.
33994 (__ASSUME_UTIMES): Likewise.
33995 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33996 kernel version.
33997 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33998 (__ASSUME_TMPFS_NAME): Likewise.
33999 * README: Update reference to Linux kernel versions.
34000
b67e9372
MP
340012012-08-02 Marek Polacek <polacek@redhat.com>
34002
1f529f7d 34003 [BZ# 14150]
b67e9372
MP
34004 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34005 libc_cv_asm_type_prefix with %.
34006 * configure: Regenerated.
d2441631
RM
34007 * include/libc-symbols.h: Remove comment about
34008 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34009 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34010 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34011 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34012 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34013 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34014 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34015 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34016 * elf/tst-unique2mod1.c: Likewise.
34017 * elf/tst-unique1mod2.c: Likewise.
34018 * elf/tst-unique1mod1.c: Likewise.
34019 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34020 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34021 Replace ASM_TYPE_DIRECTIVE with .type.
34022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34023 * sysdeps/i386/sysdep.h: Likewise.
34024 * sysdeps/x86_64/sysdep.h: Likewise.
34025 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34027 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34028 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34029 * sysdeps/powerpc/powerpc32/sysdep.h:
34030 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34031 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34032 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34033 * sysdeps/i386/fpu/e_powf.S: Likewise.
34034 * sysdeps/i386/fpu/e_expl.S: Likewise.
34035 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34036 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34037 * sysdeps/i386/fpu/e_pow.S: Likewise.
34038 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34040 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34041 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34042 * sysdeps/i386/fpu/e_log2.S: Likewise.
34043 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34044 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34045 * sysdeps/i386/fpu/e_powl.S: Likewise.
34046 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34047 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34048 * sysdeps/i386/fpu/e_logl.S: Likewise.
34049 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34050 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34051 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34052 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34053 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34054 * sysdeps/i386/fpu/e_log.S: Likewise.
34055 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34056 * sysdeps/i386/fpu/e_logf.S: Likewise.
34057 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34058 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34059 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34060 * sysdeps/i386/fpu/e_log10.S: Likewise.
34061 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34062 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34063 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34064 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34065 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34066 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34067 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34068 * sysdeps/i386/i686/strtok.S: Likewise.
34069 * sysdeps/i386/i386-mcount.S: Likewise.
34070 * sysdeps/i386/strtok.S: Likewise.
34071 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34072 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34073 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34074 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34075 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34076 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34077 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34078 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34079 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34080 * sysdeps/x86_64/_mcount.S: Likewise.
34081 * sysdeps/x86_64/strtok.S: Likewise.
34082 * sysdeps/sh/_mcount.S: Likewise.
34083
2747bf9a
RM
340842012-08-01 Roland McGrath <roland@hack.frob.com>
34085
34086 * libio/iofopen.c: Include <fcntl.h>.
34087 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34088 (_IO_fopen64, fopen64): Define as aliases.
34089 * libio/iofopen64.c: Include <fcntl.h>.
34090 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34091 Conditionalize body on this.
34092 * sysdeps/wordsize-64/iofopen.c: File removed.
34093 * sysdeps/wordsize-64/iofopen64.c: File removed.
34094
3fb791b8
MP
340952012-08-01 Marek Polacek <polacek@redhat.com>
34096
34097 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34098 Use dlfcn directly instead of a variable.
34099 (binfmt-subdir): Do not define.
34100 (dlfcn): Likewise.
34101
a9f1039f
JM
341022012-08-01 Joseph Myers <joseph@codesourcery.com>
34103
23bddc06
JM
34104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34105 Remove all definitions.
34106 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34107 <kernel-features.h>.
34108 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34109 (miss_F_GETOWN_EX): Remove all definitions.
34110 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34111 macro definition.
34112 [!__ASSUME_FCNTL64]: Remove conditional code.
34113 [__ASSUME_FCNTL64]: Make code unconditional.
34114 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34115 <kernel-features.h>.
34116 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34117 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34118 (lockf64) [__NR_fcntl64]: Make code unconditional.
34119 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34120
a9f1039f
JM
34121 * sysdeps/unix/sysv/linux/kernel-features.h
34122 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34123 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34124 Make code unconditional.
34125 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34126 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34128 [__NR_vfork]: Make code unconditional.
34129 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34130 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34132 [__NR_vfork]: Make code unconditional.
34133 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34134 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34135
09c0ee5f
RM
341362012-08-01 Roland McGrath <roland@hack.frob.com>
34137
48aec5b9
RM
34138 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34139 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34140
cd97c966
RM
34141 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34142 Define mkstemp64 as an alias.
3f55550c
RM
34143 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34144 Define mkstemps64 as an alias.
cd97c966
RM
34145 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34146 Define mkostemp64 as an alias.
b8625cfc
RM
34147 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34148 Define mkostemps64 as an alias.
cd97c966
RM
34149 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34150 Conditionalize body on this.
34151 * misc/mkostemp64.c: Likewise.
b8625cfc 34152 * misc/mkostemps64.c: Likewise.
3f55550c 34153 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34154 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34155 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34156 * sysdeps/wordsize-64/mkostemp.c: File removed.
34157 * sysdeps/wordsize-64/mkstemp.c: File removed.
34158 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34159 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34160 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34162
09c0ee5f
RM
34163 [BZ #14138]
34164 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34165 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34166 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34167 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34168
34169 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34170 compat_symbol macros from <shlib-compat.h> rather than the underlying
34171 default_symbol_version and symbol_version macros, so that DEFAULT
34172 lines in shlib-versions are respected.
34173 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34174
7e66ee51
FW
341752012-08-01 Florian Weimer <fweimer@redhat.com>
34176
34177 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34178 Declare with warn_unused_result.
34179 (setgid, setregid, setegid, setresgid): Likewise.
34180 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34181 Likewise.
34182 * WUR-REPORT: Remove set*id functions.
34183
d2a54255
PT
341842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34185
34186 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34187
7ecdb005
RM
341882012-07-31 Roland McGrath <roland@hack.frob.com>
34189
b4180a5e 34190 [BZ #10191]
789bd351
RM
34191 * include/sys/socket.h (__libc_accept, __libc_accept4):
34192 Add attribute_hidden.
34193 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34194
40ce302d
RM
34195 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34196 use of PTR_MANGLE.
34197 * inet/getnetgrent_r.c (setup): Likewise.
34198
7ecdb005
RM
34199 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34200
e2eabb2c
DM
342012012-07-31 David S. Miller <davem@davemloft.net>
34202
34203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34204
d0419dbf
JM
342052012-07-31 Joseph Myers <joseph@codesourcery.com>
34206
34207 [BZ #13629]
34208 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34209 value between 1.0 and 2.0 and smaller part has absolute value less
34210 than 1.0.
34211 * math/s_clog10.c (__clog10): Likewise.
34212 * math/s_clog10f.c (__clog10f): Likewise.
34213 * math/s_clog10l.c (__clog10l): Likewise.
34214 * math/s_clogf.c (__clogf): Likewise.
34215 * math/s_clogl.c (__clogl): Likewise.
34216 * math/libm-test.inc (clog_test): Add more tests.
34217 (clog10_test): Likewise.
34218 * sysdeps/i386/fpu/libm-test-ulps: Update.
34219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34220
2bc13872
FW
342212012-07-31 Florian Weimer <fweimer@redhat.com>
34222
34223 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34224 Exit with zero in case no suitable GID is found, and write a
34225 message to standard error.
34226
bea9b193
RM
342272012-07-30 Roland McGrath <roland@hack.frob.com>
34228
34229 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34230 rather than to 1.
34231 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34232 (MAXPATHLEN): Removed.
34233 (NOGROUP, NODEV): New macros.
34234 (setbit, clrbit, isset, isclr): New macros.
34235 (howmany, roundup, powerof2): New macros.
34236 (DEV_BSIZE): New macro.
34237
34238 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34239 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34240
34241 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34242 definition on [!__NO_LONG_DOUBLE_MATH].
34243
34244 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34245 PTR_MANGLE and PTR_DEMANGLE.
34246
34247 * socket/accept4.c (accept4): Rename to __libc_accept4.
34248 Define accept4 as a weak alias.
34249
34250 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34251 on [_DIRENT_HAVE_D_TYPE].
34252 * io/ftw.c (ftw_dir): Likewise.
34253
34254 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34255
34256 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34257
34258 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34259 Use the BSD numbers rather than the arbitrary ones we had.
34260 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34261 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34262 (SIGXCPU, SIGXFSZ): New macros.
34263 (_NSIG): Now 32.
34264
34265 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34266 initializer on [_LIBC_REENTRANT].
34267
34268 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34269 definitions inside [_POSIX_MAPPED_FILES].
34270
34271 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34272
34273 * dirent/opendir.c: Include <fcntl.h>.
34274
34275 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34276 (__libc_getspecific): Likewise.
34277 (__libc_key_create): Likewise.
34278
34279 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34280 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34281 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34282 (tmpfile64): Define as alias.
34283 * sysdeps/wordsize-64/tmpfile.c: File removed.
34284 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34286 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34287
34288 * stdio-common/vfscanf.c: Include <stdbool.h>.
34289 * nss/makedb.c: Likewise.
34290 * stdio-common/_i18n_number.h: Likewise.
34291 * argp/argp-help.c: Likewise.
34292 * posix/wordexp.c: Likewise.
34293 * sysdeps/posix/spawni.c: Likewise.
34294 * nss/nss_files/files-initgroups.c: Likewise.
34295 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34296 * nss/nss_files/files-initgroups.c: Likewise.
34297 * nss/nss_db/db-netgrp.c: Likewise.
34298 * nss/nss_db/db-initgroups.c: Likewise.
34299 * io/fchmodat.c: Include <sys/stat.h>.
34300
34301 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34302 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34303
34304 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34305 [HAVE_MMAP].
34306
34307 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34308 Add multiple inclusion protection.
34309
e5abc686
DM
343102012-07-27 David S. Miller <davem@davemloft.net>
34311
34312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34313
815e6fa3
GB
343142012-07-27 Gary Benson <gbenson@redhat.com>
34315
34316 [BZ #14298]
34317 * elf/rtld.c: Include <stap-probe.h>.
34318 (dl_main): Added static probes "init_start" and "init_complete".
34319 * elf/dl-load.c: Include <stap-probe.h>.
34320 (lose): Take new parameter "nsid".
34321 Added static probe "map_failed".
34322 (_dl_map_object_from_fd): Pass namespace id to lose.
34323 Added static probe "map_start".
34324 (open_verify): Pass namespace id to lose.
34325 * elf/dl-open.c: Include <stap-probe.h>.
34326 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34327 and "reloc_complete".
34328 * elf/dl-close.c: Include <stap-probe.h>.
34329 (_dl_close_worker): Added static probes "unmap_start" and
34330 "unmap_complete".
34331 * elf/rtld-debugger-interface.txt: New file documenting the above.
34332
9f98c16c
RM
343332012-07-26 Roland McGrath <roland@hack.frob.com>
34334
34335 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34336 rather than a string variable.
34337 * sunrpc/rpc_main.c (h_output): Likewise.
34338 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34339
f3c22df3
PT
343402012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34341
34342 * inet/check_native.c: New file.
34343
3129cfc6
JM
343442012-07-26 Joseph Myers <joseph@codesourcery.com>
34345
da865e95
JM
34346 [BZ #13629]
34347 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34348 if larger part has absolute value 1.0.
34349 * math/s_clog10.c (__clog10): Likewise.
34350 * math/s_clog10f.c (__clog10f): Likewise.
34351 * math/s_clog10l.c (__clog10l): Likewise.
34352 * math/s_clogf.c (__clogf): Likewise.
34353 * math/s_clogl.c (__clogl): Likewise.
34354 * math/libm-test.inc (clog_test): Add more tests.
34355 (clog10_test): Likewise.
34356 * sysdeps/i386/fpu/libm-test-ulps: Update.
34357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34358
3129cfc6
JM
34359 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34360 (pltexit): Likewise.
34361 (La_regs): Likewise.
34362 (La_retval): Likewise.
34363 (int_retval): Likewise.
34364 Update #error for removed macros to refer only to definitions in
34365 tst-audit.h.
34366 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34367 macro.
34368 (pltexit): Likewise.
34369 (La_regs): Likewise.
34370 (La_retval): Likewise.
34371 (int_retval): Likewise.
34372 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34373 macro.
34374 (pltexit): Likewise.
34375 (La_regs): Likewise.
34376 (La_retval): Likewise.
34377 (int_retval): Likewise.
34378 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34379 macro.
34380 (pltexit): Likewise.
34381 (La_regs): Likewise.
34382 (La_retval): Likewise.
34383 (int_retval): Likewise.
34384 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34385 macro.
34386 (pltexit): Likewise.
34387 (La_regs): Likewise.
34388 (La_retval): Likewise.
34389 (int_retval): Likewise.
34390 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34391 macro.
34392 (pltexit): Likewise.
34393 (La_regs): Likewise.
34394 (La_retval): Likewise.
34395 (int_retval): Likewise.
34396 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34397 macro.
34398 (pltexit): Likewise.
34399 (La_regs): Likewise.
34400 (La_retval): Likewise.
34401 (int_retval): Likewise.
34402 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34403 macro definitions in tst-audit.h.
34404 * sysdeps/i386/tst-audit.h: New file.
34405 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34406 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34407 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34408 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34409 * sysdeps/sh/tst-audit.h: Likewise.
34410 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34411 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34412 * sysdeps/x86_64/tst-audit.h: Likewise.
34413
bfc07087
AJ
344142012-07-26 Andreas Jaeger <aj@suse.de>
34415
b1b2aaf8
AJ
34416 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34417 ptrace.
34418
34419 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34420 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34421 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34422 PTRACE_O_MASK.
34423 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34424 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34425 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34426
bfc07087
AJ
34427 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34428 value.
34429
34430 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34431 _sigsys.
34432 (si_call_addr, si_syscall, si_arch): Define new macro.
34433 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34434 _sigsys.
34435 (si_call_addr, si_syscall, si_arch): Define new marcro.
34436 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34437 _sigsys.
34438 (si_call_addr, si_syscall, si_arch): Define new macro.
34439 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34440 _sigsys.
34441 (si_call_addr, si_syscall, si_arch): Define new macro.
34442
89b4b02f
JM
344432012-07-25 Joseph Myers <joseph@codesourcery.com>
34444
34445 [BZ #13717]
34446 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34447 Change to 2.4.21 where previously 2.4.1.
34448 * sysdeps/unix/sysv/linux/configure: Regenerated.
34449 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34450 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34451 Linux kernel version.
34452 (__ASSUME_STD_AUXV): Remove.
34453 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34454 kernel version.
34455 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34456 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34457 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34458 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34459 (__ASSUME_NETLINK_SUPPORT): Likewise.
34460 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34461 (__no_netlink_support): Remove conditional definition.
34462 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34463 Remove.
34464 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34465 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34466 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34467 (if_nameindex_ioctl): Remove.
34468 (if_nameindex_netlink): Do not handle __no_netlink_support.
34469 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34470 code.
34471 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34472 Remove conditional code.
34473 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34474 code.
34475 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34476 unconditional.
34477 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34478 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34479 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34480 Remove.
34481 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34482 [!__ASSUME_STD_AUXV]: Remove conditional code.
34483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34484 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34485 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34487 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34488 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34489 code.
34490 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34492 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34493 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34494 conditional code.
34495 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34497 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34498 code.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34500 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34501 conditional code.
34502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34503 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34504 code unconditional.
34505 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34506 conditional code.
34507 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34508 unconditional.
34509 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34510 conditional code.
34511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34512 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34513 unconditional.
34514 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34515 conditional code.
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34517 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34518 code unconditional.
34519 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34520 conditional code.
34521 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34522 unconditional.
34523 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34524 conditional code.
34525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34526 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34527 code unconditional.
34528 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34529 conditional code.
34530 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34531 unconditional.
34532 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34533 conditional code.
34534
842a39cd
AS
345352012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34536
34537 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34538 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34539 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34540 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34541 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34542 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34543 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34544 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34545 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34546 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34547 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34548 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34549 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34550 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34551 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34553 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34555 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34557 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34558 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34559 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34560
84b3fd84
FW
345612012-07-25 Florian Weimer <fweimer@redhat.com>
34562
34563 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34564 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34565 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34566 Introduce __libc_secure_getenv.
0c7936d5
FW
34567 * stdlib/Versions (2.17): Add secure_getenv
34568 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34569 * stdlib/secure-getenv.c: Rename __secure_getenv to
34570 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34571 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34572 * stdlib/tst-secure-getenv.c: New.
34573 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34574 * manual/startup.texi (Environment Access): Document
34575 secure_getenv.
84b3fd84
FW
34576 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34577 __libc_secure_getenv.
34578 * inet/ruserpass.c (ruserpass): Likewise.
34579 * malloc/mtrace.c (mtrace): Likewise.
34580 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34581 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34582 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34583 * sysdeps/posix/tempname.c: Likewise. Evaluate
34584 HAVE_SECURE_GETENV.
34585 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34586 __secure_getenv to __libc_secure_getenv.
84b3fd84 34587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34589 Likewise.
34590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34591 Likewise.
34592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34599
56e49b71
JM
346002012-07-25 Joseph Myers <joseph@codesourcery.com>
34601
34602 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34603 (struct La_i86_retval): Likewise.
34604 (struct La_x86_64_regs): Likewise.
34605 (struct La_x86_64_retval): Likewise.
34606 (struct La_x32_regs): Likewise.
34607 (struct La_x32_retval): Likewise.
34608 (struct La_ppc32_regs): Likewise.
34609 (struct La_ppc32_retval): Likewise.
34610 (struct La_ppc64_regs): Likewise.
34611 (struct La_ppc64_retval): Likewise.
34612 (struct La_sh_regs): Likewise.
34613 (struct La_sh_retval): Likewise.
34614 (struct La_s390_32_regs): Likewise.
34615 (struct La_s390_32_retval): Likewise.
34616 (struct La_s390_64_regs): Likewise.
34617 (struct La_s390_64_retval): Likewise.
34618 (struct La_sparc32_regs): Likewise.
34619 (struct La_sparc32_retval): Likewise.
34620 (struct La_sparc64_regs): Likewise.
34621 (struct La_sparc64_retval): Likewise.
34622 (struct audit_ifaces): Remove architecture-specific pltenter and
34623 pltexit members.
34624 * sysdeps/i386/ldsodefs.h: New file.
34625 * sysdeps/powerpc/ldsodefs.h: Likewise.
34626 * sysdeps/s390/ldsodefs.h: Likewise.
34627 * sysdeps/sh/ldsodefs.h: Likewise.
34628 * sysdeps/sparc/ldsodefs.h: Likewise.
34629 * sysdeps/x86_64/ldsodefs.h: Likewise.
34630
354691b7
MP
346312012-07-25 Marek Polacek <polacek@redhat.com>
34632
34633 [BZ #6808]
34634 * math/libm-test.inc (yn_test): Add another test.
34635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34636 to ERANGE when the result is +-Inf.
34637 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34638 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34639 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34640 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34641
bf9e2071
JM
346422012-07-24 Joseph Myers <joseph@codesourcery.com>
34643
34644 * conform/data/time.h-data (NULL): Use macro-constant. Require
34645 equal to 0.
34646 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34647 clock_t.
34648 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34649
57633811
TS
346502012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34651
34652 * configure.in <sysdeps resolving>: Correct printing
34653 Implies_before.
34654 * configure: Regenerate.
34655
c23c33b0
TS
346562012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34657
34658 * math/w_ilogb.c: Include <limits.h>.
34659 * math/w_ilogbl.c: Likewise.
34660
b5982523
JM
346612012-07-20 Joseph Myers <joseph@codesourcery.com>
34662
34663 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34664 va_copy. Document allowing for unavailable va_copy only as
34665 pre-C99 compatibility.
34666 * manual/string.texi (Copying and Concatenation): Use va_copy
34667 instead of __va_copy in concat example.
34668
ac4ea442
PT
346692012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34670
34671 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34672 (__sendto): Use create_address_port. Initialize APORT and deallocate
34673 it if not null.
34674
f98eafbd
PT
34675 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34676 with O_NOLINK passed to __file_name_lookup.
34677
898c7aab
PT
34678 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34679 with O_NOLINK passed to __file_name_lookup.
34680
0ced335a
PT
34681 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34682 negative N or less than NGIDS.
34683
b3404dbd
PT
34684 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34685 type to string_t. Set ERANGE as errno and return it if NAME is not big
34686 enough. Use memcpy instead of strncpy.
34687
0f48659e
JM
346882012-07-20 Joseph Myers <joseph@codesourcery.com>
34689
34690 * elf/Makefile (check-data): Remove.
34691 (localplt.data): New vpath directive.
34692 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34693 instead of $(check-data).
34694 * scripts/data/localplt-generic.data: Move to ...
34695 * sysdeps/generic/localplt.data: ... here.
34696 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34697 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34698 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34700 ... here.
34701 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34703 ... here.
34704 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34706 ... here.
34707 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34709 ... here.
34710 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34712 ... here.
34713 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34715 ... here.
34716
d37cbdaa
AZ
347172012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34718
34719 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34720 PPC32 and PPC64 files.
34721 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34722 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34723
46f85fc2
AK
347242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34725
34726 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34727 __makecontext_ret to ...
34728 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34729 ... here and call exit if uc_link is NULL. New file.
34730 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34731 __makecontext_ret.S.
34732 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34733 __makecontext_ret to ...
34734 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34735 ... here and call exit if uc_link is NULL. New file.
34736 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34737 __makecontext_ret.S.
34738
08f43f9b
AK
347392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34740
34741 * elf/elf.h (R_390_IRELATIVE): New definition.
34742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34743 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34744 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34745 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34746 (elf_machine_lazy_rel): Likewise.
34747 * sysdeps/s390/dl-irel.h: New file.
34748 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34749 * sysdeps/s390/s390-64/memset.S: New asm code.
34750 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34751 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34752 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34753 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34754 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34755 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34756 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34757 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34758 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34759 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34760 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34761 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34762 * sysdeps/s390/s390-32/memset.S: New asm code.
34763 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34764
3b05db33
MP
347652012-07-17 Marek Polacek <polacek@redhat.com>
34766
34767 [BZ #14349]
34768 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34769 * sysdeps/s390/s390-64/configure.in: Likewise.
34770 * sysdeps/sparc/configure.in: Likewise.
34771 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34772 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34773 * sysdeps/i386/configure.in: Likewise.
34774 * sysdeps/x86_64/configure.in: Likewise.
34775 * sysdeps/sh/configure.in: Likewise.
34776 * sysdeps/s390/s390-32/configure: Regenerated.
34777 * sysdeps/s390/s390-64/configure: Likewise.
34778 * sysdeps/x86_64/configure: Likewise.
34779 * sysdeps/sh/configure: Likewise.
34780 * sysdeps/powerpc/powerpc64/configure: Likewise.
34781 * sysdeps/powerpc/powerpc32/configure: Likewise.
34782 * sysdeps/sparc/configure: Likwise.
34783 * sysdeps/i386/configure: Likewise.
34784
a66877c6
MP
34785 * elf/dl-open.c: Comment fixes.
34786
cfc82fd8
JM
347872012-07-17 Joseph Myers <joseph@codesourcery.com>
34788
bd29910a
JM
34789 * Makefile [CXX] (check-data): Remove.
34790 [CXX] (c++-types.data): New vpath directive.
34791 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34792 vpath. Do not allow for C++ type data being missing.
34793 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34794 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34795 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34796 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34797 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34798 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34799 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34801 ... here.
34802 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34804 ... here.
34805 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34807 ... here.
34808 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34810 ... here.
34811 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34813 ... here.
34814 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34816 ... here.
34817 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34819 ... here.
34820 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34822
cfc82fd8
JM
34823 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34824 definitions to architecture-specific files.
34825 (TLS_IE): Likewise.
34826 (TLS_LD): Likewise.
34827 (TLS_GD): Likewise.
34828 * sysdeps/i386/tls-macros.h: New file.
34829 * sysdeps/powerpc/tls-macros.h: Likewise.
34830 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34831 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34832 * sysdeps/sh/tls-macros.h: Likewise.
34833 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34834 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34835 * sysdeps/x86_64/tls-macros.h: Likewise.
34836
f7db3170
TS
348372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34838
07cbfc23
TS
34839 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34840 zero value for regular exit case.
34841
f7db3170
TS
34842 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34843 (__start_context): Preserve zero value for regular exit case.
34844
dc97c227
TS
348452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34846 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34847
34848 * manual/setjmp.texi (setcontext): Clarify normal process
34849 termination when uc_link is the null pointer.
34850 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34851 exit call.
34852
d0cd7d02
AS
348532012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34854
34855 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34856 preprocessor. Test for each exception mask separately.
34857
dd318934
AJ
348582012-07-16 Andreas Jaeger <aj@suse.de>
34859
34860 * po/ru.po: Update from translation team.
34861
8048311a
JM
348622012-07-15 Joseph Myers <joseph@codesourcery.com>
34863
34864 * conform/data/string.h-data (NULL): Use macro-constant. Require
34865 equal to 0.
34866 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34867 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34868 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34869 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34871
b637d46e
AJ
348722012-07-13 Andreas Jaeger <aj@suse.de>
34873
34874 * po/fr.po: Update from translation team.
34875
541428fe
MP
348762012-07-12 Marek Polacek <polacek@redhat.com>
34877
34878 [BZ #14173]
34879 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34880 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34881 loop condition.
34882
ec332e94
JM
348832012-07-12 Joseph Myers <joseph@codesourcery.com>
34884
34885 [BZ #13717]
34886 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34887 Change to 2.4.1 where previously 2.4.0.
34888 * sysdeps/unix/sysv/linux/configure: Regenerated.
34889 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34890 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34891 version.
34892 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34893 (__ASSUME_AT_CLKTCK): Remove.
34894 (__ASSUME_AT_PAGESIZE): Likewise.
34895 (__ASSUME_AT_XID): Likewise.
34896 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34897 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34898 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34899 unconditionally.
34900 (HAVE_AUX_PAGESIZE): Likewise.
34901 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34902 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34903 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34904
7b6e99be
JB
349052012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34906
34907 [BZ #14307]
34908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34909 the temporary buffer used to invoke __gethostbyname2_r,
34910 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34911 host_data / struct gaih_addrtuple.
34912 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34913 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34914 header file nss/nsswitch.h.
34915 * nss/nsswitch.h (global scope): Add definition of implementation
34916 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34917 resolv/nss_dns/dns-host.c).
34918
608404eb
AJ
349192012-07-11 Andreas Jaeger <aj@suse.de>
34920
34921 * po/fr.po: Update from translation team.
34922
71220aca
AJ
34923 * po/sv.po: Update from translation team
34924 * po/fr.po: Another update from translation team.
34925
28cfe843
AZ
349262012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34927
34928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34929 for subnormals or multiply small sinh result by itself.
34930 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34932
6b90f981
DM
349332012-07-11 David S. Miller <davem@davemloft.net>
34934
34935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34936
c6825772
AS
349372012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34938
34939 [BZ #14347]
34940 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34941 (INTERNAL_MARK): Shift it here.
34942
7b8e0d49
MP
349432012-07-10 Marek Polacek <polacek@redhat.com>
34944
34945 [BZ #14151]
34946 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34947 libc_cv_asm_global_directive with .globl.
34948 * configure: Regenerated.
34949 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34950 with .globl.
34951 * sysdeps/i386/configure: Regenerated.
34952 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34953 with .globl.
34954 * sysdeps/x86_64/configure: Regenerated.
34955 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34956 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34957 * elf/tst-unique2mod2.c: Likewise.
34958 * elf/tst-unique2mod1.c: Likewise.
34959 * elf/tst-unique1mod2.c: Likewise.
34960 * elf/tst-unique1mod1.c: Likewise.
34961 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34962 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34963 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34964 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34965 * sysdeps/mach/sysdep.h: Likewise.
34966 * sysdeps/i386/sysdep.h: Likewise.
34967 * sysdeps/i386/i386-mcount.S: Likewise.
34968 * sysdeps/x86_64/_mcount.S: Likewise.
34969 * sysdeps/x86_64/sysdep.h: Likewise.
34970 * sysdeps/sh/_mcount.S: Likewise.
34971 * sysdeps/sh/sysdep.h: Likewise.
34972 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34973 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34974 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34975 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34976 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34977 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34978 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34979 * locale/localeinfo.h: Likewise.
34980 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34981 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34982
6c55cda3
RM
349832012-07-09 Roland McGrath <roland@hack.frob.com>
34984
34985 [BZ #14336]
34986 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34987 system".
34988 * manual/message.texi (The Uniforum approach): Likewise.
34989 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34990 (glibc iconv Implementation): Likewise.
34991
638a572e
JM
349922012-07-09 Joseph Myers <joseph@codesourcery.com>
34993
34994 [BZ #14337]
34995 * math/s_clog.c (__clog): Avoid scaling a value down where that
34996 could result in underflow.
34997 * math/s_clog10.c (__clog10): Likewise.
34998 * math/s_clog10f.c (__clog10f): Likewise.
34999 * math/s_clog10l.c (__clog10l): Likewise.
35000 * math/s_clogf.c (__clogf): Likewise.
35001 * math/s_clogl.c (__clogl): Likewise.
35002 * math/libm-test.inc (clog_test): Add more tests.
35003 (clog10_test): Likewise.
35004 * sysdeps/i386/fpu/libm-test-ulps: Update.
35005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35006
261f4859
AS
350072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35008
0abaf3e4
AS
35009 [BZ #14283]
35010 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35011 by 7 not 8 to examine high bit of fractional part.
35012
261f4859
AS
35013 [BZ #14042]
35014 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35015 for call to __mcount_internal.
35016 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35017 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35018 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35019
f17ac40d
JM
350202012-07-06 Joseph Myers <joseph@codesourcery.com>
35021
9ad63c23
JM
35022 [BZ #14154]
35023 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35024 approximation for values within 0x1p-13f of an odd multiple of
35025 pi/4.
35026 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35027 exception. Add more tests.
35028 * sysdeps/i386/fpu/libm-test-ulps: Update.
35029
f17ac40d
JM
35030 [BZ #6778]
35031 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35032 inputs and return -1 for them. Do not check for +Inf in case not
35033 reachable for +Inf.
35034 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35035 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35036 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35037 and return -1 for them. Do not check for +Inf in case not
35038 reachable for +Inf.
35039 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35040 define.
35041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35042 and return -1 for them. Do not check for +Inf in case not
35043 reachable for +Inf.
35044 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35045 spurious underflow.
35046 * sysdeps/i386/fpu/libm-test-ulps: Update.
35047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35048
fb21f89b
MF
350492012-07-06 Mike Frysinger <vapier@gentoo.org>
35050
35051 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35052
cdfe2c5e
JM
350532012-07-05 Joseph Myers <joseph@codesourcery.com>
35054
35055 [BZ #14157]
35056 [BZ #14331]
35057 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35058 could result in spurious underflow. Scale down values above
35059 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35060 * math/s_csqrtf.c (__csqrtf): Likewise.
35061 * math/s_csqrtl.c (__csqrtl): Likewise.
35062 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35063 spurious underflow.
35064 * sysdeps/i386/fpu/libm-test-ulps: Update.
35065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35066
70d35b67
AS
350672012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35068
704bc459
AS
35069 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35070 xopen-msg.sed.
35071 * catgets/xopen-msg.awk: New file.
35072 * catgets/xopen-msg.sed: Removed.
35073
70d35b67
AS
35074 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35075 po2text.sed.
35076 * intl/po2test.awk: New file.
35077 * intl/po2test.sed: Removed.
35078
ca61cf32
JM
350792012-07-04 Joseph Myers <joseph@codesourcery.com>
35080
35081 [BZ #14328]
35082 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35083 or multiply small sinh result by itself.
35084 * math/s_ctanf.c (__ctanf): Likewise.
35085 * math/s_ctanh.c (__ctanh): Likewise.
35086 * math/s_ctanhf.c (__ctanhf): Likewise.
35087 * math/s_ctanhl.c (__ctanhl): Likewise.
35088 * math/s_ctanl.c (__ctanl): Likewise.
35089 * math/libm-test.inc (ctan_test_tonearest): New function.
35090 (ctan_test_towardzero): Likewise.
35091 (ctan_test_downward): Likewise.
35092 (ctan_test_upward): Likewise.
35093 (ctanh_test_tonearest): Likewise.
35094 (ctanh_test_towardzero): Likewise.
35095 (ctanh_test_downward): Likewise.
35096 (ctanh_test_upward): Likewise.
35097 (main): Call these new functions.
35098 * sysdeps/i386/fpu/libm-test-ulps: Update.
35099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35100
ca48a46a
MF
351012012-07-03 Mike Frysinger <vapier@gentoo.org>
35102
35103 * .gitignore: Delete /ports entry.
35104
9d63d37d
AJ
351052012-07-03 Andreas Jaeger <aj@suse.de>
35106
35107 * po/bg.po: Update from translation team.
35108 * po/cs.po: Likewise.
35109 * po/de.po: Likewise.
35110 * po/hr.po: Likewise.
35111 * po/nl.pl: Likewise.
35112 * po/pl.po: Likewise.
35113 * po/vi.po: Likewise.
35114
370ca3d2
JM
351152012-07-03 Joseph Myers <joseph@codesourcery.com>
35116
95f5a9a8
JM
35117 * Makeconfig [!+link] (+link-before-libc): New variable.
35118 [!+link] (+link-after-libc): Likewise.
35119 [!+link] (+link-tests): Likewise.
35120 [!+link] (+link): Define in terms of $(+link-before-libc) and
35121 $(+link-after-libc).
35122 [!+link-static] (+link-static-before-libc): New variable.
35123 [!+link-static] (+link-static-after-libc): Likewise.
35124 [!+link-static] (+link-static-tests): Likewise.
35125 [!+link-static] (+link-static): Define in terms of
35126 $(+link-static-before-libc) and $(+link-static-after-libc).
35127 [build-shared] (link-libc-before-gnulib): New variable.
35128 [build-shared] (link-libc-tests): Likewise.
35129 [build-shared] (link-libc): Define in terms of
35130 $(link-libc-before-gnulib).
35131 [!build-shared] (link-libc-tests): New variable.
35132 (link-libc-static-tests): New variable.
35133 [!gnulib] (gnulib-arch): New variable.
35134 [!gnulib] (gnulib-tests): Likewise.
35135 [!gnulib] (static-gnulib-arch): Likewise.
35136 [!gnulib] (static-gnulib-tests): Likewise.
35137 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35138 Define with "=" instead of ":=".
35139 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35140 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35141 * Rules (binaries-all-notests): New variable.
35142 (binaries-all-tests): Likewise.
35143 (binaries-static-notests): Likewise.
35144 (binaries-static-tests): Likewise.
35145 (binaries-all): Define using $(binaries-all-notests) and
35146 $(binaries-all-tests).
35147 (binaries-static): Define using $(binaries-static-notests) and
35148 $(binaries-static-tests).
35149 (binaries-shared-tests): New variable.
35150 (binaries-shared-notests): Likewise.
35151 (binaries-shared): Remove variable.
35152 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35153 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35154 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35155 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35156 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35157 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35158 * elf/Makefile (sln-modules): New variable.
35159 (extra-objs): Add $(sln-modules:=.o).
35160 (ldconfig-modules): Add static-stubs.
35161 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35162 * elf/static-stubs.c: New file.
35163
7a845b2c
JM
35164 [BZ #14283]
35165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35166 by 7 not 8 to examine high bit of fractional part. Use volatile
35167 variables when splitting into final array of floats if
35168 __FLT_EVAL_METHOD__ != 0.
35169 * math/libm-test.inc (cos_test): Add another test.
35170 (sin_test): Likewise.
35171 * sysdeps/i386/fpu/libm-test-ulps: Update.
35172
e2283f38
JM
35173 [BZ #14273]
35174 * math/libm-test.inc (cosh_test): Add more tests.
35175
370ca3d2
JM
35176 * version.h (RELEASE): Set to "development".
35177 (VERSION): Set to "2.16.90".
35178
ee9247c3
CD
351792012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35180
35181 * NEWS: Update copyright. Remove last-updated date.
35182 Mention math library bug fixes and timezone data changes.
35183 * README: Mention GNU/Hurd, x32, and HPPA support status.
35184
4648c381
TS
351852012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35186
35187 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35188
aac78a43
AJ
351892012-06-27 Andreas Jaeger <aj@suse.de>
35190
35191 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35192
ed3dbfad
AJ
351932012-06-25 Andreas Jaeger <aj@suse.de>
35194
35195 * sysdeps/s390/fpu/libm-test-ulps: Update.
35196
4d0ee855
AS
351972012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35198 Thomas Schwinge <thomas@codesourcery.com>
35199
35200 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35201 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35203 fanotify_mark.
35204
af1bce34
TS
352052012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35206
a9fa33ba
TS
35207 * sysdeps/mach/start.c: Remove file.
35208 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35209 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35210 * sysdeps/sh/init-first.c: Likewise.
35211
58f902b8
TS
35212 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35213 registers for frame unwinding purposes, add CFI directives.
35214 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35215 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35216 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35217 Likewise.
35218
1518f58b
TS
35219 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35220 __fortify_fail returning.
35221 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35222
db9b5059
TS
35223 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35224 sysdeps/sh/____longjmp_chk.S.
35225 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35226 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35227 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35228 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35229
967705fe
TS
35230 * sysdeps/sh/abort-instr.h: New file.
35231 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35232 process in case exit returns.
35233
a9def8c4
TS
35234 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35235 initialize the GOT register before use.
35236
2a649725
TS
35237 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35238 calculation of ARGC > 4.
35239
af1bce34
TS
35240 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35241 meaningful names to some local labels.
35242
d230f50a
KK
352432012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35244 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35245
35246 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35247 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35248 (__arch_compare_and_exchange_val_16_acq): Likewise.
35249 (__arch_compare_and_exchange_val_32_acq): Likewise.
35250 (atomic_exchange_and_add): Fix gUSA sequence.
35251 (atomic_add): Likewise.
35252 (atomic_add_negative): Likewise.
35253 (atomic_add_zero): Likewise.
35254 (atomic_bit_test_set): Likewise.
35255
0479b305
AS
352562012-06-22 Andreas Schwab <schwab@redhat.com>
35257
35258 [BZ #13579]
35259 * include/link.h (struct link_map): Add l_free_initfini.
35260 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35261 l_initfini.
35262 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35263 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35264 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35265 set.
35266
0e3933b9
CD
352672012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35268
35269 * configure.in: Use AC_LANG_SOURCE.
35270 * configure: Regenerate.
35271
4248b1b1
RM
352722012-06-22 Roland McGrath <roland@hack.frob.com>
35273
35274 * configure.in (libc_cv_localstatedir): New substituted variable.
35275 * configure: Regenerated.
35276 * config.make.in (localstatedir): New variable, substituted from
35277 libc_cv_localstatedir.
35278 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35279 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35280 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35281 * sysdeps/gnu/configure: Regenerated.
35282
006dd861
JL
352832012-06-21 Jeff Law <law@redhat.com>
35284
35285 [BZ #14277]
35286 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35287 free. Simplify list management for _LIBC case.
35288
79662d42
JM
352892012-06-21 Joseph Myers <joseph@codesourcery.com>
35290
b7abb4bf
JM
35291 [BZ #14273]
35292 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35293 Clear sign bit of 64-bit integer value before comparing against
35294 overflow value.
35295
79662d42
JM
35296 * sysdeps/mach/configure: Regenerated.
35297
1f150908
L
352982012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35299
35300 [BZ #14278]
35301 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35302
28363bbf
JL
353032012-06-21 Jeff Law <law@redhat.com>
35304
35305 [BZ #13882]
35306 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35307 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35308 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35309 * elf/dl-open.c (dl_open_worker): Likewise.
35310
09615db4
CD
353112012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35312
35313 * scripts/list-sources.sh: Scan PORTS for translations.
35314 * po/libc.pot: Regenerated.
35315
2174c6dd
AJ
353162012-06-21 Andreas Jaeger <aj@suse.de>
35317
35318 [BZ #12194]
35319 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35320 warning.
35321 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35322 * bits/byteswap-16.h (__bswap_16): Likewise.
35323 * bits/byteswap.h (__bswap_constant_16): Likewise.
35324
3ee947b1
L
353252012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35326
35327 [BZ #14117]
a2f34833
L
35328 * sysdeps/i386/fpu_control.h: Removed.
35329 * sysdeps/x86_64/fpu_control.h: Moved to ...
35330 * sysdeps/x86/fpu_control.h: Here.
35331
3ee947b1
L
35332 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35333 (_FPU_SETCW): Likewise.
35334
ed1825f8
L
353352012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35336
25f1282a
L
35337 [BZ #14117]
35338 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35339 * sysdeps/x86/fpu/bits/mathinline.h: This.
35340 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35341
ed1825f8
L
35342 [BZ #14050]
35343 [BZ #14117]
35344 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35345 functions if __x86_64__ is defined.
35346
36d54b74
CLT
353472012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35348
35349 * string/endian.h: Add !__ASSEMBLER__ condition for including
35350 conversion interfaces.
35351
10285c21
JM
353522012-06-15 Joseph Myers <joseph@codesourcery.com>
35353
35354 [BZ #14241]
35355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35356 of ABS(x) in calculating zero to negative powers other than odd
35357 integers.
35358 * math/libm-test.inc (pow_test): Add more tests.
35359
06c5abbd
AJ
353602012-06-15 Andreas Jaeger <aj@suse.de>
35361
35362 * manual/contrib.texi (Contributors): Update entry of Liubov
35363 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35364 Machado Filho.
35365
a3aeac40
CH
353662012-06-15 Cyril Hrubis <metan@ucw.cz>
35367
35368 * string/string.h: Add __wur to GNU version of strerror_r.
35369
49bdf4c1
L
353702012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35371
35372 [BZ #14229]
35373 * string/Makefile (tests): Add tst-strtok_r.
35374 * string/tst-strtok_r.c: New file.
35375 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35376 RAX_LP/RDX_LP on SAVE_PTR.
35377
834f9b8d
RM
353782012-06-14 Roland McGrath <roland@hack.frob.com>
35379
35380 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35381
75fa1921
JM
353822012-06-14 Joseph Myers <joseph@codesourcery.com>
35383
35384 * libm_test.inc (csqrt_test): Allow more spurious underflow
35385 exceptions.
35386 (j0_test): Likewise.
35387 (j1_test): Likewise.
35388 (y0_test): Likewise.
35389 (y1_test): Likewise.
35390
771766df
CD
353912012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35392
35393 * po/Makefile (libc.pot): Use UTF-8 charset.
35394
ceb9e56b
PP
353952012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35396
35397 [BZ #14210]
35398 Suppress sign-conversion warning from FD_SET.
35399 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35400 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35401 not unsigned long int.
35402 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35403
ddb28975
L
354042012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35405
35406 [BZ #14050]
35407 [BZ #14117]
35408 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35409 __extern_always_inline instead of __extern_inline.
35410 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35411 (__signbit): Likewise.
35412 (__signbitl): Support C++ namespace.
35413 (lrintf): New inline function.
35414 (lrint): Likewise.
35415 (llrintf): Likewise.
35416 (llrint): Likewise.
35417 (fmaxf): Likewise.
35418 (fmax): Likewise.
35419 (fminf): Likewise.
35420 (fmin): Likewise.
35421 (rint): Likewise.
35422 (rintf): Likewise.
35423 (ceil): Likewise.
35424 (ceilf): Likewise.
35425 (floor): Likewise.
35426 (floorf): Likewise.
35427 (nearbyint): Likewise.
35428 (nearbyintf): Likewise.
35429
d7b4fb26
TS
354302012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35431
35432 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35433 non-default versions.
35434
eb55f5c2
RM
354352012-06-11 Roland McGrath <roland@hack.frob.com>
35436
35437 [BZ #14218]
35438 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35439
366af02c
TS
354402012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35441
99ff6e5c
TS
35442 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35443 (FE_UPWARD, FE_DOWNWARD): Don't define.
35444 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35445 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35446
366af02c
TS
35447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35448 reading it.
35449 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35450 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35451
793ea851
KK
354522012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35453
35454 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35456 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35457 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35458
a728a38f
L
354592012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35460
35461 [BZ #14117]
c08010c7
L
35462 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35463 * sysdeps/i386/fpu/Implies: New file.
35464 * sysdeps/x86_64/fpu/Implies: Likewise.
35465 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35466 * sysdeps/x86/fpu/bits/fenv.h: This.
35467
a728a38f
L
35468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35469 __SSE_MATH__.
35470
6e230d11
SP
354712012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35472
35473 [BZ #14134]
35474 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35475 character 0xffff that matches the last element of the
35476 conversion table.
35477
1b671feb
AZ
354782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35479
35480 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35481 fmodl commit.
35482
6043738b
AZ
354832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35484
35485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35486 values higher than 25.6283.
35487
34ae0b32
AZ
354882012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35489
35490 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35491 subnormal exponent extraction and add some __builtin_expect.
35492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35493 Fix for subnormal mantissa calculation.
35494
1214ec8f
MF
354952012-06-04 Mike Frysinger <vapier@gentoo.org>
35496
35497 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35498 cpu2 is -1 and errno is not ENOSYS.
35499
f3d1f93c
L
355002012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35501
35502 [BZ #14117]
0e4a3cd7
L
35503 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35504 * sysdeps/x86/bits/string.h: This.
35505 * sysdeps/x86_64/bits/string.h: Removed.
35506
6704c645
L
35507 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35508 if not compiling for x86-64, but compiling for >= i486.
35509
48495318
L
35510 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35511 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35512
14adcbfc
L
35513 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35514 New macro from Linux kernel 3.4.0.
35515 (FP_XSTATE_MAGIC2): Likewise.
35516 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35517 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35518 (struct _fpx_sw_bytes): New struct.
35519 (struct _xsave_hdr): Likewise.
35520 (struct _ymmh_state): Likewise.
35521 (struct _xstate): Likewise.
35522
68e408ab
L
35523 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35524 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35525 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35526 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35527 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35528 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35529
f3d1f93c
L
35530 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35531 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35532 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35533 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35534 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35535 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35536
d9dc34cd
TMQMF
355372012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35538
35539 [BZ #13743]
35540 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35541 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35542 (sysdep_headers): Include sys/platform/ppc.h.
35543 * sysdeps/powerpc/test-gettimebase.c: Test for
35544 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35545 * manual/Makefile (appendices): Include platform.texi.
35546 * manual/contrib.texi (Contributors): Update @node pointers.
35547 * manual/maint.texi (Maintenance): Likewise.
35548 (Platform): New node.
35549 * manual/platform.texi: New file. Document the new features.
35550
4af3879c
SP
355512012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35552 Jakub Jelinek <jakub@redhat.com>
35553
35554 [BZ #14188]
35555 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35556 where __builtin_expect is unavailable.
35557
2fd6ff13
DM
355582012-06-03 David S. Miller <davem@davemloft.net>
35559
35560 * stdlib/longlong.h: Updated from GCC.
35561
173f7220
AS
355622012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35563
35564 [BZ #14042]
35565 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35566 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35567 __mcount_internal.
35568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35569 (GLIBC_2.16): Likewise.
35570
f34a1c6f
L
355712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35572
35573 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35574
88a4576f
JM
355752012-06-01 Joseph Myers <joseph@codesourcery.com>
35576
ea32bcdd
JM
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35578 (default-abi): New variable.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35580 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35581 variable.
35582 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35583 Likewise.
35584 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35585 Likewise.
35586 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35587 Likewise.
35588
88a4576f
JM
35589 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35590 definition. Document in comment.
35591
402fe938
DM
355922012-06-01 David S. Miller <davem@davemloft.net>
35593
35594 * stdlib/longlong.h: Updated from GCC.
35595
3553723f
L
355962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35597
35598 [BZ #14117]
3bd872c4
L
35599 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35600 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35601 sys/debugreg.h sys/io.h here.
35602 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35603 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35604 sys/io.h.
35605 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35606 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35607 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35608 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35609 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35610 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35611
3553723f
L
35612 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35613 Define only if __x86_64__ is defined.
35614
4842e4fe
JM
356152012-06-01 Joseph Myers <joseph@codesourcery.com>
35616
c5bfe3d5
JM
35617 [BZ #14048]
35618 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35619 Use int64_t for variable i.
35620 * math/libm-test.inc (fmod_test): Add more tests.
35621
4842e4fe
JM
35622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35623 z computation is not scheduled after fetestexcept.
35624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35625 Use math_force_eval instead of asm to ensure calculation scheduled
35626 before exception test.
35627 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35628 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35629
efb73488
AJ
356302012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35631
35632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35633 computation is not scheduled after fetestexcept.
35634
29bcce7c
L
356352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35636
35637 [BZ #14117]
35638 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35639 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35640
73a68f94
AZ
356412012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35642
35643 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35644 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35645
67b6df78
L
356462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35647
edf2933a 35648 [BZ #14117]
ebc64a18
L
35649 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35650 <bits/wordsize.h>.
35651 (__WCHAR_MIN): Support __WORDSIZE == 64.
35652 (__WCHAR_MAX): Likewise.
35653
edf2933a
L
35654 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35655 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35656
57c6cf40
L
35657 [BZ #14183]
35658 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35659 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35660
67b6df78 35661 [BZ #14117]
8eb6281e
L
35662 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35663 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35664
aac639f4
L
35665 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35666 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35667
67b6df78
L
35668 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35669 Defined to 1 if __x86_64__ isn't defined.
35670 (_STAT_VER_LINUX_OLD): New.
35671 (st_atime): Remove duplicate.
35672 (st_mtime): Likewise.
35673 (st_ctime): Likewise.
35674
1c2cfe81
DM
356752012-05-31 David S. Miller <davem@davemloft.net>
35676
35677 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35678 entries.
35679
5be8418c
AS
356802012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35681
e7725326
AS
35682 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35683 gen-libm-test.pl.
35684
5be8418c
AS
35685 [BZ #14132]
35686 * elf/dl-reloc.c: Include <_itoa.h>.
35687 (_dl_reloc_bad_type): Remove use of INTUSE.
35688 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35689 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35690 * stdio-common/psiginfo.c (psiginfo): Likewise.
35691 * stdio-common/psignal.c (psignal): Likewise.
35692 * string/strsignal.c (strsignal): Likewise.
35693 * include/signal.h (_sys_siglist): Declare hidden proto.
35694 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35695 INTVARDEF with libc_hidden_data_def.
35696 * stdio-common/itoa-udigits.c: Likewise.
35697 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35698 (_itoa_lower_digits_internal): Remove declaration.
35699 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35700 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35701 (_sys_sigabbrev_internal): Remove aliases.
35702 (_sys_siglist): Define hidden alias.
35703
507352f1
MT
357042012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35705
35706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35707 bits/sysctl.h.
35708
42bbb1c3
L
357092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35710
35711 [BZ #14117]
6bd784b6
L
35712 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35713 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35714
8bca20f0
L
35715 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35716 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35717 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35718 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35719 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35720 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35721
f9e890a9
L
35722 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35723 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35724 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35725
471101a1
L
35726 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35727 with __addr.
35728 (insw): Likewise.
35729 (insl): Likewise.
35730 (outsb): Likewise.
35731 (outsw): Likewise.
35732 (outsl): Likewise.
35733
6451c862
L
35734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35736 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35737
a254b8c9
L
35738 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35739 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35740 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35741 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35742 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35743 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35744
b8dfdd92
L
35745 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35746 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35747
578cd270
L
35748 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35749 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35750
de662f5f
L
35751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35752 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35753 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35754
25653439
L
35755 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35756 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35757 to ...
35758 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35759
6bad24a0
L
35760 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35761 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35762 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35763
42bbb1c3
L
35764 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35765 for x86-64.
35766 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35767
2d10d547
JM
357682012-05-31 Joseph Myers <joseph@codesourcery.com>
35769
35770 * math/math.h (M_El): Use two more decimal places.
35771 (M_LOG2El): Likewise.
35772 (M_LOG10El): Likewise.
35773 (M_LN2l): Likewise.
35774 (M_LN10l): Likewise.
35775 (M_PIl): Likewise.
35776 (M_PI_2l): Likewise.
35777 (M_PI_4l): Likewise.
35778 (M_1_PIl): Likewise.
35779 (M_2_PIl): Likewise.
35780 (M_2_SQRTPIl): Likewise.
35781 (M_SQRT2l): Likewise.
35782 (M_SQRT1_2l): Likewise.
35783
f230c29b
DM
357842012-05-31 David S. Miller <davem@davemloft.net>
35785
35786 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35787 values between float registers.
35788 * sysdeps/sparc/sparc64/memset.S: Likewise.
35789 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35790
fed806c3
MF
357912012-05-31 Mike Frysinger <vapier@gentoo.org>
35792
35793 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35794 -D_FORTIFY_SOURCE=1.
35795 (CPPFLAGS-tst-longjmp_chk.c): Define.
35796 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35797 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35798 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35799 CFLAGS-tst-wchar-h.c.
35800
30917259
MP
358012012-05-31 Marek Polacek <polacek@redhat.com>
35802
35803 [BZ #14132]
35804 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35805 __endmntent_internal): Remove declaration.
35806 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35807 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35808 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35809
1c58d5dc
DM
358102012-05-30 David S. Miller <davem@davemloft.net>
35811
35812 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35813 (___Q_simulate_exceptions): Use real FP ops rather than writing
35814 into the %fsr.
35815 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35816 Likewise.
35817
7dc00e0d
L
358182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35819
35820 [BZ #14117]
0bd53985
L
35821 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35822 * sysdeps/x86/bits/xtitypes.h: This.
35823
3a257e66
L
35824 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35825 * sysdeps/x86/bits/wordsize.h: This.
35826
62f62904
L
35827 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35828 * sysdeps/x86/bits/huge_vall.h: This.
35829
404fe9d9
L
35830 * sysdeps/i386/bits/select.h: Removed.
35831 * sysdeps/x86_64/bits/select.h: Renamed to ...
35832 * sysdeps/x86/bits/select.h: This.
35833
d48d0446
L
35834 * sysdeps/i386/bits/setjmp.h: Removed.
35835 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35836 * sysdeps/x86/bits/setjmp.h: This.
35837
7dc00e0d
L
35838 * sysdeps/i386/bits/mathdef.h: Removed.
35839 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35840 * sysdeps/x86/bits/mathdef.h: This.
35841
03277f8f
AS
358422012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35843
35844 [BZ #14132]
35845 * include/sys/socket.h (__connect_internal)
35846 (__libc_sa_len_internal): Remove declaration.
35847 (__connect, __libc_sa_len): Declare hidden_proto.
35848 (SA_LEN): Remove use of INTUSE.
35849 * socket/connect.c: Add libc_hidden_def.
35850 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35851 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35852 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35853 alias.
35854 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35855 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35856 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35857 of adding _internal alias.
35858
13764867
L
358592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35860
35861 [BZ #14117]
6bd97696
L
35862 * sysdeps/i386/bits/link.h: Removed.
35863 * sysdeps/i386/bits/linkmap.h: Likewise.
35864 * sysdeps/x86_64/bits/link.h: Renamed to ...
35865 * sysdeps/x86/bits/link.h: This.
35866 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35867 * sysdeps/x86/bits/linkmap.h: This.
35868
f726f0bb
L
35869 * sysdeps/i386/bits/endian.h: Removed.
35870 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35871 * sysdeps/x86/bits/endian.h: This.
35872
13764867
L
35873 * sysdeps/i386/bits/byteswap.h: Removed.
35874 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35875 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35876 * sysdeps/x86/bits/byteswap.h: This.
35877 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35878 * sysdeps/x86/bits/byteswap-16.h: This.
35879 * sysdeps/i386/Implies: Add x86.
35880 * sysdeps/x86_64/Implies: Likewise.
35881
ae251b0b
DM
358822012-05-30 David S. Miller <davem@davemloft.net>
35883
35884 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35885 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35886 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35887 (FP_TRAPPING_EXCEPTIONS): Define.
35888 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35889 (FP_TRAPPING_EXCEPTIONS): Define.
35890 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35891 subnormals only when inexact has been signalled or underflow
35892 exceptions are enabled.
35893 (_FP_PACK_CANONICAL): Likewise.
35894
d5c90867
L
358952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35896
35897 [BZ #14183]
35898 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35899 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35900
63f1549e
RH
359012012-05-30 Richard Henderson <rth@twiddle.net>
35902
8d8f2279
RH
35903 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35904 with #ifndef NOT_IN_libc.
35905
63f1549e
RH
35906 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35907 marked to avoid plt entry.
35908
0ab0291b
L
359092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35910
35911 [BZ #14112]
35912 * Makeconfig (default-abi): New macro.
35913 (abi-includes): Likewise.
35914 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35915 $(abi-$(default-abi)-lib-soname) for soname if defined.
35916 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35917 abi-variants.
35918 * Makefile (installed-stubs): Likewise.
35919 * include/stubs-biarch.h: Removed.
35920 * scripts/lib-names.awk: Only handle one library at a time.
35921 * scripts/soversions.awk: Remove WORDSIZE support.
35922 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35923 entries.
35924 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35925 Removed.
35926 (syscall-list-default-condition): Likewise.
35927 (syscall-list-default-condition): Likewise.
35928 (syscall-list-includes): Likewise.
35929 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35930 syscall-list-* with abi-*. Handle undefined abi-variants.
35931 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35932 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35933 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35934 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35935 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35936 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35937 Removed.
35938 (syscall-list-32-options): Likewise.
35939 (syscall-list-32-condition): Likewise.
35940 (syscall-list-64-options): Likewise.
35941 (syscall-list-64-condition): Likewise.
35942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35943 macro.
35944 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35945 Renamed to ...
35946 (abi-*): This.
35947 (abi-64-ld-soname): New macro.
35948 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35949 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35950 Renamed to ...
35951 (abi-*): This.
35952 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35953 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35954
4da0431d
JM
359552012-05-30 Joseph Myers <joseph@codesourcery.com>
35956
3a85279c
JM
35957 * sysdeps/unix/sysv/linux/kernel-features.h
35958 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35959 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35960 include <kernel-features.h>.
35961 [!__NR_ftruncate64]: Remove conditional code.
35962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35963 [__NR_ftruncate64]: Make code unconditional.
35964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35965 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35966 include <kernel-features.h>.
35967 [!__NR_ftruncate64]: Remove conditional code.
35968 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35969 [__NR_ftruncate64]: Make code unconditional.
35970 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35972 include <kernel-features.h>.
35973 [!__NR_ftruncate64]: Remove conditional code.
35974 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35975 [__NR_ftruncate64]: Make code unconditional.
35976 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35978 include <kernel-features.h>.
35979 [!__NR_ftruncate64]: Remove conditional code.
35980 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35981 [__NR_ftruncate64]: Make code unconditional.
35982 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35983
4da0431d
JM
35984 * configure.in (libc_cv_fpie): Weaken to a compile test using
35985 LIBC_TRY_CC_OPTION.
35986 * configure: Regenerated.
35987
11ef492c
AK
359882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35989
35990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35994 Refreshed.
35995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36001 Refreshed.
36002
d66ef399
DM
360032012-05-27 David S. Miller <davem@davemloft.net>
36004
36005 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36006 (___Q_zero): New.
36007 (__Q_simulate_exceptions): Return void. Change to simulate
36008 exceptions by writing into the %fsr.
36009 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36010 (__Qp_handle_exceptions): Likewise.
36011 (numbers): Delete.
36012 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36013 __Qp_handle_exceptions.
36014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36015 __Qp_handle_exceptions.
36016 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36017 as unused and give dummy FP_RND_NEAREST initializer.
36018 (FP_INHIBIT_RESULTS): Define.
36019 (___Q_simulate_exceptions): Update declaration.
36020 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36021 formatting.
36022 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36023 as unused and give dummy FP_RND_NEAREST initializer.
36024 (__Qp_handle_exceptions): Update declaration.
36025 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36026 formatting.
36027
04fb54b5
TS
360282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36029
36030 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36031 the temporary FPU control word.
36032 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36033 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36034 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36035 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36036 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36037 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36038 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36039 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36040 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36041 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36042 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36043
3f99608f
KK
360442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36045
36046 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36047 fields.
36048
65a4de4e
CLT
360492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36050
36051 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36052 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36053 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36054 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36055 Likewise.
36056 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36057 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36058 Likewise.
36059
15749d40
UD
360602012-05-27 Ulrich Drepper <drepper@gmail.com>
36061
36062 * po/h.po: Update from translation team.
36063
25dbcb27
AS
360642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36065
3d3f8e55
AS
36066 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36067
25dbcb27
AS
36068 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36069 handling of denormals.
36070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36071 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36072 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36073 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36074 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36077 Likewise.
36078
7ad47a80 360792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36080
36081 [BZ #14152]
36082 * math/libm-test.inc (fma_test): Don't always expect underflow
36083 exception.
36084
9c6ea9fa
SP
360852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36086
36087 [BZ #12416]
36088 * elf/tst-execstack.c: Include stackinfo.h.
36089 (do_test): Adjust test case to ensure that pthread_getattr_np
36090 behaviour remains the same after marking stack executable.
36091
a8239222
JM
360922012-05-25 Joseph Myers <joseph@codesourcery.com>
36093
36094 * sysdeps/unix/sysv/linux/kernel-features.h
36095 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36096 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36097 kernel-features.h.
36098 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36099 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36100 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36101 kernel-features.h.
36102 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36103 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36104
918b5606
L
361052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36106
36107 * configure.in: Define the default includes to being none.
36108 * configure: Regenerated.
36109
3a097cc7
RM
361102012-05-25 Roland McGrath <roland@hack.frob.com>
36111
8422c9a5
RM
36112 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36113 * sysdeps/x86_64/setjmp.S: Likewise.
36114 * sysdeps/i386/bsd-setjmp.S: Likewise.
36115 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36116 * sysdeps/i386/setjmp.S: Likewise.
36117 * sysdeps/i386/__longjmp.S: Likewise.
36118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36119 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36120
3a097cc7
RM
36121 * include/stap-probe.h: New file.
36122 * configure.in: Handle --enable-systemtap.
36123 * configure: Regenerated.
36124 * config.h.in (USE_STAP_PROBE): New #undef.
36125 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36126 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36127 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36128
21708942
JM
361292012-05-25 Joseph Myers <joseph@codesourcery.com>
36130
36131 [BZ #13717]
36132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36133 to 2.4.0 where earlier.
36134 * sysdeps/unix/sysv/linux/configure: Regenerated.
36135 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36136 <kernel-features.h>.
36137 [__ASSUME_32BITUIDS]: Make code unconditional.
36138 [!__ASSUME_32BITUIDS]: Remove conditional code.
36139 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36140 <kernel-features.h>.
36141 [__ASSUME_32BITUIDS]: Make code unconditional.
36142 [!__ASSUME_32BITUIDS]: Remove conditional code.
36143 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36144 [__ASSUME_32BITUIDS]: Make code unconditional.
36145 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36146 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36147 <kernel-features.h>.
36148 [__ASSUME_32BITUIDS]: Make code unconditional.
36149 [!__ASSUME_32BITUIDS]: Remove conditional code.
36150 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36151 <kernel-features.h>.
36152 [__ASSUME_32BITUIDS]: Make code unconditional.
36153 [!__ASSUME_32BITUIDS]: Remove conditional code.
36154 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36155 <kernel-features.h>.
36156 [__ASSUME_32BITUIDS]: Make code unconditional.
36157 [!__ASSUME_32BITUIDS]: Remove conditional code.
36158 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36159 <kernel-features.h>.
36160 [__ASSUME_32BITUIDS]: Make code unconditional.
36161 [!__ASSUME_32BITUIDS]: Remove conditional code.
36162 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36163 <kernel-features.h>.
36164 [__ASSUME_32BITUIDS]: Make code unconditional.
36165 [!__ASSUME_32BITUIDS]: Remove conditional code.
36166 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36167 <kernel-features.h>.
36168 [__ASSUME_32BITUIDS]: Make code unconditional.
36169 [!__ASSUME_32BITUIDS]: Remove conditional code.
36170 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36171 <kernel-features.h>.
36172 [__ASSUME_32BITUIDS]: Make code unconditional.
36173 [!__ASSUME_32BITUIDS]: Remove conditional code.
36174 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36175 <kernel-features.h>.
36176 [__ASSUME_32BITUIDS]: Make code unconditional.
36177 [!__ASSUME_32BITUIDS]: Remove conditional code.
36178 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36179 <kernel-features.h>.
36180 [__ASSUME_32BITUIDS]: Make code unconditional.
36181 [!__ASSUME_32BITUIDS]: Remove conditional code.
36182 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36183 <kernel-features.h>.
36184 [__ASSUME_32BITUIDS]: Make code unconditional.
36185 [!__ASSUME_32BITUIDS]: Remove conditional code.
36186 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36187 <kernel-features.h>.
36188 [__NR_setresgid] (__setresgid): Do not declare.
36189 [__ASSUME_32BITUIDS]: Make code unconditional.
36190 [!__ASSUME_32BITUIDS]: Remove conditional code.
36191 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36192 <kernel-features.h>.
36193 [__NR_setresuid] (__setresuid): Do not declare.
36194 [__ASSUME_32BITUIDS]: Make code unconditional.
36195 [!__ASSUME_32BITUIDS]: Remove conditional code.
36196 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36197 <kernel-features.h>.
36198 [__ASSUME_32BITUIDS]: Make code unconditional.
36199 [!__ASSUME_32BITUIDS]: Remove conditional code.
36200 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36201 <kernel-features.h>.
36202 [__ASSUME_32BITUIDS]: Make code unconditional.
36203 [!__ASSUME_32BITUIDS]: Remove conditional code.
36204 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36205 <kernel-features.h>.
36206 [__ASSUME_32BITUIDS]: Make code unconditional.
36207 [!__ASSUME_32BITUIDS]: Remove conditional code.
36208 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36209 <kernel-features.h>.
36210 [__ASSUME_32BITUIDS]: Make code unconditional.
36211 [!__ASSUME_32BITUIDS]: Remove conditional code.
36212 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36213 <kernel-features.h>.
36214 [__ASSUME_32BITUIDS]: Make code unconditional.
36215 [!__ASSUME_32BITUIDS]: Remove conditional code.
36216 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36217 <kernel-features.h>.
36218 [__ASSUME_32BITUIDS]: Make code unconditional.
36219 [!__ASSUME_32BITUIDS]: Remove conditional code.
36220 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36221 <kernel-features.h>.
36222 [__ASSUME_32BITUIDS]: Make code unconditional.
36223 [!__ASSUME_32BITUIDS]: Remove conditional code.
36224 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36225 <kernel-features.h>.
36226 [__ASSUME_32BITUIDS]: Make code unconditional.
36227 [!__ASSUME_32BITUIDS]: Remove conditional code.
36228 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36229 <kernel-features.h>.
36230 [__ASSUME_32BITUIDS]: Make code unconditional.
36231 [!__ASSUME_32BITUIDS]: Remove conditional code.
36232 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36233 <kernel-features.h>.
36234 [__ASSUME_32BITUIDS]: Make code unconditional.
36235 [!__ASSUME_32BITUIDS]: Remove conditional code.
36236 * sysdeps/unix/sysv/linux/kernel-features.h
36237 (__ASSUME_SETRESUID_SYSCALL): Remove.
36238 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36239 (__ASSUME_32BITUIDS): Likewise.
36240 (__ASSUME_LDT_WORKS): Likewise.
36241 (__ASSUME_O_DIRECTORY): Likewise.
36242 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36243 architecture but not kernel version.
36244 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36245 (__ASSUME_MMAP2_SYSCALL): Likewise.
36246 (__ASSUME_STAT64_SYSCALL): Likewise.
36247 (__ASSUME_IPC64): Likewise.
36248 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36249 <kernel-features.h>.
36250 [__ASSUME_32BITUIDS]: Make code unconditional.
36251 [!__ASSUME_32BITUIDS]: Remove conditional code.
36252 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36253 <kernel-features.h>.
36254 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36255 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36256 132096]: Remove conditional code.
36257 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36258 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36259 <kernel-features.h>.
36260 [__ASSUME_32BITUIDS]: Make code unconditional.
36261 [!__ASSUME_32BITUIDS]: Remove conditional code.
36262 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36263 <kernel-features.h>.
36264 [__ASSUME_32BITUIDS]: Make code unconditional.
36265 [!__ASSUME_32BITUIDS]: Remove conditional code.
36266 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36267 <kernel-features.h>.
36268 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36269 unconditional.
36270 (__setresgid): Do not declare.
36271 [__ASSUME_32BITUIDS]: Make code unconditional.
36272 [!__ASSUME_32BITUIDS]: Remove conditional code.
36273 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36274 <kernel-features.h>.
36275 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36276 unconditional.
36277 (__setresuid): Do not declare.
36278 [__ASSUME_32BITUIDS]: Make code unconditional.
36279 [!__ASSUME_32BITUIDS]: Remove conditional code.
36280 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36281 <kernel-features.h>.
36282 [__ASSUME_32BITUIDS]: Make code unconditional.
36283 [!__ASSUME_32BITUIDS]: Remove conditional code.
36284 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36285 <kernel-features.h>.
36286 [__ASSUME_32BITUIDS]: Make code unconditional.
36287 [!__ASSUME_32BITUIDS]: Remove conditional code.
36288
a386f1cc
RH
362892012-05-25 Richard Henderson <rth@twiddle.net>
36290
36291 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36292 dl_hwcap to ifunc resolver.
36293 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36294 elf_ifunc_invoke.
36295 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36296 dl_hwcap to ifunc resolver.
36297 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36298
b6550497
JM
362992012-05-24 Joseph Myers <joseph@codesourcery.com>
36300
36301 [BZ #14153]
36302 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36303 for |x| <= 2**-26, not 2**-57.
36304 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36305 exception.
36306
b0bc23a1
JL
363072012-05-24 Jeff Law <law@redhat.com>
36308
36309 * stdio-common/Makefile (tests): Add bug25.
36310 * stdio-common/bug25.c: New test.
36311
347c92e9
L
363122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36313
36314 [BZ #13576]
36315 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36316 multiple of MALLOC_ALIGNMENT in size.
36317 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36318
6bcc8b3f
JM
363192012-05-24 Joseph Myers <joseph@codesourcery.com>
36320
36321 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36322 Require >= 256.
36323 (FILENAME_MAX): Use macro-int-constant.
36324 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36325 (_IOFBF): Use macro-int-constant.
36326 (_IOLBF): Likewise.
36327 (_IONBF): Likewise.
36328 (SEEK_CUR): Likewise.
36329 (SEEK_END): Likewise.
36330 (SEEK_SET): Likewise.
36331 (TMP_MAX): Likewise.
36332 (EOF): Use macro-int-constant. Require < 0.
36333 (NULL): Use macro-constant. Require == 0.
36334 (stdin): Require type to be FILE *.
36335 (stdout): Likewise.
36336 (stderr): Likewise.
36337 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36338 macro-int-constant.
36339 (EXIT_SUCCESS): Likewise.
36340 (NULL): Use macro-constant. Require == 0.
36341 (RAND_MAX): Use macro-int-constant.
36342 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36343 [C99-based standards] (strtof): Require function.
36344 [C99-based standards] (strtold): Likewise.
36345 [C99-based standards] (strtoll): Likewise.
36346 [C99-based standards] (strtoull): Likewise.
36347 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36348 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36349 [ISO || ISO99 || ISO11] (math.h): Likewise.
36350 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36351 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36353
d18ea0c5
AS
363542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36355
36356 [BZ #14132]
56d25bb8
AS
36357 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36358 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36359 * intl/dgettext.c (DCGETTEXT): Likewise.
36360 * intl/gettext.c (DCGETTEXT): Likewise.
36361 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36362 * posix/regex_internal.h (gettext): Likewise.
36363 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36364 Remove declaration.
36365 * include/argz.h (__argz_count_internal)
36366 (__argz_stringify_internal): Remove declaration.
36367 (__argz_count, __argz_stringify): Declare hidden proto.
36368 * intl/dcgettext.c: Remove use of INTDEF.
36369 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36370 * string/argz-stringify.c: Likewise.
36371 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36372 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36373 Declare hidden proto.
d18ea0c5
AS
36374 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36375 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36376 Declare hidden proto.
36377 * include/stdio.h (__asprintf_internal): Don't declare.
36378 (__asprintf): Don't define as macro. Declare hidden proto.
36379 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36380 (__fsetlocking): Declare hidden proto.
36381 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36382 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36383 hidden proto.
36384 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36385 (_IO_setlinebuf): Remove use of INTUSE.
36386 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36387 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36388 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36389 Remove declaration.
36390 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36391 (_IO_do_flush): Remove use of INTUSE.
36392 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36393 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36394 (_IO_adjust_column, _IO_least_wmarker)
36395 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36396 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36397 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36398 (_IO_default_doallocate, _IO_wdefault_doallocate)
36399 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36400 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36401 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36402 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36403 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36404 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36405 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36406 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36407 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36408 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36409 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36410 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36411 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36412 proto.
36413 (_IO_flush_all_internal, _IO_adjust_column_internal)
36414 (_IO_default_uflow_internal, _IO_default_finish_internal)
36415 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36416 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36417 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36418 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36419 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36420 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36421 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36422 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36423 (_IO_file_close_internal, _IO_file_close_it_internal)
36424 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36425 (_IO_file_init_internal, _IO_file_attach_internal)
36426 (_IO_file_fopen_internal, _IO_file_read_internal)
36427 (_IO_file_sync_internal, _IO_file_seek_internal)
36428 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36429 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36430 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36431 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36432 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36433 (_IO_list_all_internal, _IO_link_in_internal)
36434 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36435 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36436 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36437 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36438 (_IO_do_write_internal, _IO_padn_internal)
36439 (_IO_getline_info_internal, _IO_getline_internal)
36440 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36441 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36442 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36443 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36444 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36445 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36446 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36447 with libc_hidden_ver, remove use of INTUSE.
36448 * libio/genops.c: Likewise.
36449 * libio/freopen.c: Likewise.
36450 * libio/freopen64.c: Likewise.
36451 * libio/iofclose.c: Likewise.
36452 * libio/iofdopen.c: Likewise.
36453 * libio/iofflush.c: Likewise.
36454 * libio/iofflush_u.c: Likewise.
36455 * libio/iofgets.c: Likewise.
36456 * libio/iofgets_u.c: Likewise.
36457 * libio/iofopen.c: Likewise.
36458 * libio/iofopncook.c: Likewise.
36459 * libio/iofread.c: Likewise.
36460 * libio/iofread_u.c: Likewise.
36461 * libio/ioftell.c: Likewise.
36462 * libio/iofwrite.c: Likewise.
36463 * libio/iogetline.c: Likewise.
36464 * libio/iogets.c: Likewise.
36465 * libio/iogetwline.c: Likewise.
36466 * libio/iopadn.c: Likewise.
36467 * libio/iopopen.c: Likewise.
36468 * libio/ioseekoff.c: Likewise.
36469 * libio/ioseekpos.c: Likewise.
36470 * libio/iosetbuffer.c: Likewise.
36471 * libio/iosetvbuf.c: Likewise.
36472 * libio/ioungetc.c: Likewise.
36473 * libio/ioungetwc.c: Likewise.
36474 * libio/iovdprintf.c: Likewise.
36475 * libio/iovsprintf.c: Likewise.
36476 * libio/iovsscanf.c: Likewise.
36477 * libio/memstream.c: Likewise.
36478 * libio/obprintf.c: Likewise.
36479 * libio/oldfileops.c: Likewise.
36480 * libio/oldiofclose.c: Likewise.
36481 * libio/oldiofdopen.c: Likewise.
36482 * libio/oldiofopen.c: Likewise.
36483 * libio/oldiopopen.c: Likewise.
36484 * libio/oldstdfiles.c: Likewise.
36485 * libio/putc.c: Likewise.
36486 * libio/setbuf.c: Likewise.
36487 * libio/setlinebuf.c: Likewise.
36488 * libio/stdfiles.c: Likewise.
36489 * libio/strops.c: Likewise.
36490 * libio/vasprintf.c: Likewise.
36491 * libio/vscanf.c: Likewise.
36492 * libio/vsnprintf.c: Likewise.
36493 * libio/vswprintf.c: Likewise.
36494 * libio/wfiledoalloc.c: Likewise.
36495 * libio/wfileops.c: Likewise.
36496 * libio/wgenops.c: Likewise.
36497 * libio/wmemstream.c: Likewise.
36498 * libio/wstrops.c: Likewise.
36499 * libio/__fpurge.c: Likewise.
36500 * libio/__fsetlocking.c: Likewise.
36501 * assert/assert.c: Likewise.
36502 * debug/fgets_chk.c: Likewise.
36503 * debug/fgets_u_chk.c: Likewise.
36504 * debug/fread_chk.c: Likewise.
36505 * debug/fread_u_chk.c: Likewise.
36506 * debug/gets_chk.c: Likewise.
36507 * debug/obprintf_chk.c: Likewise.
36508 * debug/vasprintf_chk.c: Likewise.
36509 * debug/vdprintf_chk.c: Likewise.
36510 * debug/vsnprintf_chk.c: Likewise.
36511 * debug/vsprintf_chk.c: Likewise.
36512 * malloc/mtrace.c: Likewise.
36513 * misc/error.c: Likewise.
36514 * misc/syslog.c: Likewise.
36515 * stdio-common/asprintf.c: Likewise.
36516 * stdio-common/fxprintf.c: Likewise.
36517 * stdio-common/getw.c: Likewise.
36518 * stdio-common/isoc99_fscanf.c: Likewise.
36519 * stdio-common/isoc99_scanf.c: Likewise.
36520 * stdio-common/isoc99_vfscanf.c: Likewise.
36521 * stdio-common/isoc99_vscanf.c: Likewise.
36522 * stdio-common/isoc99_vsscanf.c: Likewise.
36523 * stdio-common/printf-prs.c: Likewise.
36524 * stdio-common/printf_fp.c: Likewise.
36525 * stdio-common/printf_fphex.c: Likewise.
36526 * stdio-common/printf_size.c: Likewise.
36527 * stdio-common/putw.c: Likewise.
36528 * stdio-common/scanf.c: Likewise.
36529 * stdio-common/sprintf.c: Likewise.
36530 * stdio-common/tmpfile.c: Likewise.
36531 * stdio-common/vfprintf.c: Likewise.
36532 * stdio-common/vfscanf.c: Likewise.
36533 * stdlib/strfmon_l.c: Likewise.
36534 * sunrpc/openchild.c: Likewise.
36535 * sunrpc/xdr_stdio.c: Likewise.
36536 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36537 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36538
d6c33fda
RM
365392012-05-24 Roland McGrath <roland@hack.frob.com>
36540
c1487492
RM
36541 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36542
36543 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36544 in the third column, to generate for the shared library an IFUNC
36545 that uses _dl_vdso_vsym.
36546 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36547 * Makeconfig (object-suffixes-noshared): New variable.
36548
36549 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36550 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36551 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36552 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36553
d6c33fda
RM
36554 [BZ #14132]
36555 * include/sys/time.h (__gettimeofday): Remove macro.
36556 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36557 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36558 Remove INTDEF.
36559 (__gettimeofday): Add libc_hidden_def.
36560 (gettimeofday): Add libc_hidden_weak.
36561 * sysdeps/mach/gettimeofday.c: Likewise.
36562 * sysdeps/posix/gettimeofday.c: Likewise.
36563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36564 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36566 (__gettimeofday_internal): Remove strong_alias.
36567 (__gettimeofday): Add libc_hidden_def.
36568 (gettimeofday): Add libc_hidden_weak.
36569 * sysdeps/unix/syscalls.list (gettimeofday):
36570 Remove __gettimeofday_internal alias.
36571
b5a2bbe6
L
365722012-05-24 Daniel Jacobowitz <drow@false.org>
36573 H.J. Lu <hongjiu.lu@intel.com>
36574
36575 [BZ #12495]
36576 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36577 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36578 (largebin_index_32_big): New.
36579 (largebin_index): Use it for 16-byte alignment.
36580 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36581 correction with front_misalign.
36582
cfba4fda
L
365832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36584
7f907421
L
36585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36587 Likewise.
36588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36589 Likewise.
36590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36591 Likewise.
36592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36593 Likewise.
36594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36595 Likewise.
36596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36597 Likewise.
36598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36599 Likewise.
36600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36601 Likewise.
36602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36603 Likewise.
36604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36605 Likewise.
36606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36607 Likewise.
36608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36609 Likewise.
36610
cfba4fda
L
36611 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36612 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36613
80bad0cc
JM
366142012-05-24 Joseph Myers <joseph@codesourcery.com>
36615
7a25eb06
JM
36616 [BZ #10846]
36617 [BZ #14036]
36618 * math/libm-test.inc (exp_test): Add test from bug 14036.
36619 (pow_test): Add test from bug 10846.
36620
795405f9
JM
36621 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36622 and other flags.
36623 (special_function): Do not include flags in test name.
36624 (parse_args): Likewise.
36625 * sysdeps/i386/fpu/libm-test-ulps: Update.
36626 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36627 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36628 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36630
80bad0cc
JM
36631 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36632 exceptions.
36633 * math/libm-test.inc ("Philosophy"): Update comment about
36634 exception testing.
36635 (UNDERFLOW_EXCEPTION): New macro.
36636 (UNDERFLOW_EXCEPTION_OK): Likewise.
36637 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36638 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36639 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36640 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36641 (INVALID_EXCEPTION_OK): Update value.
36642 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36643 (OVERFLOW_EXCEPTION_OK): Likewise.
36644 (IGNORE_ZERO_INF_SIGN): Likewise.
36645 (test_exceptions): Handle underflow exceptions.
36646 (acos_test): Update for underflow exception expectations.
36647 (cexp_test): Likewise.
36648 (clog_test): Likewise.
36649 (clog10_test): Likewise.
36650 (csqrt_test): Likewise.
36651 (ctan_test): Likewise.
36652 (ctanh_test): Likewise.
36653 (exp_test): Likewise.
36654 (exp10_test): Likewise.
36655 (exp2_test): Likewise.
36656 (expm1_test): Likewise.
36657 (fma_test): Likewise.
36658 (j0_test): Likewise.
36659 (jn_test): Likewise.
36660 (nexttoward_test): Likewise.
36661 (pow_test): Likewise.
36662 (scalbn_test): Likewise.
36663 (scalbln_test): Likewise.
36664 (tan_test): Likewise.
36665 (y1_test): Likewise.
36666 * sysdeps/i386/fpu/libm-test-ulps: Update.
36667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36668
9e0e3d0b
DM
366692012-05-23 David S. Miller <davem@davemloft.net>
36670
36671 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36672 (__libc_sigaction): Remove unused local variables.
36673
ccd0a08f
L
366742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36675
36676 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36677
62bdf9a6
PE
366782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36679
f8591f80
PE
36680 mktime: avoid signed integer overflow
36681 * time/mktime.c (__mktime_internal): Do not mishandle the case
36682 where diff == INT_MIN.
36683
94c7d826
PE
36684 mktime: simplify computation of average
36685 * time/mktime.c (ranged_convert): Use new time_t_avg function
36686 instead of rolling our own (probably-slower) code.
36687
ce73d683
PE
36688 mktime: do not assume signed right shift propagates sign bit
36689 * time/mktime.c (isdst_differ): New static function.
36690 (__mktime_internal): No need to normalize tm_isdst now.
36691 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36692 tm_isdst values.
36693
72a22e59
PE
36694 mktime: merge another wrapv change from gnulib
36695 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36696 from some compilers.
36697
68605433
PE
36698 mktime: remove incorrect attempt at unusual arithmetics
36699 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36700 The code didn't really work on such machines anyway.
36701 (TYPE_MINIMUM): Assume two's complement.
36702 (twos_complement_arithmetic): Verify that long_int and time_t
36703 are two's complement (or unsigned, in the latter case).
36704
03cf7fe3
PE
36705 mktime: check signed shifts on long_int and time_t, too
36706 * time/mktime.c (SHR): Check that shifts work as desired
36707 on the types long_int and time_t too, as SHR is used on
36708 such types.
36709
f04dfbc2
PE
36710 mktime: do not assume 'long' is wide enough
36711 * time/mktime.c (verify): Move decl up.
36712 (long_int): New type.
36713 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36714 to remove assumption in the code that 'long' is wide enough to
36715 store year values. This assumption is not true on x32 and on
36716 some non-glibc platforms.
36717
62bdf9a6
PE
36718 mktime: merge wrapv change from gnulib
36719 * time/mktime.c (WRAPV): New macro.
36720 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36721 (guess_time_tm, __mktime_internal): Do not assume that signed
36722 integer overflow wraps around; modern compilers generate code
36723 where this assumption is no longer valid.
36724
5e292e4f
L
367252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36726
36727 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36728 Replace "jmp L(pseudo_end)" with "ret".
36729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36730 Likewise.
36731
8caf8c87
AJ
367322012-05-23 Andreas Jaeger <aj@suse.de>
36733
36734 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36735 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36736
1a09dc56
AJ
367372012-05-23 Andreas Jaeger <aj@suse.de>
36738 Maximilian Attems <max@stro.at>
36739
36740 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36741 New macros.
36742
1c87aba0
L
367432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36744
36745 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36746 code so that pseudo_end is just ret and the stack pointer is
36747 correct also for static library in error case.
36748
40e45bd5
JM
367492012-05-23 Joseph Myers <joseph@codesourcery.com>
36750
c2670533
JM
36751 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36752 move to syscalls.list.
36753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36757
40e45bd5
JM
36758 * manual/install.texi (Running make install): Do not mention Linux
36759 kernel version for which pt_chown is not needed.
36760 (Linux): Do not mention problems with nscd with 2.0 kernels.
36761 * INSTALL: Regenerated.
36762
be08eda5
AJ
367632012-05-23 Andreas Jaeger <aj@suse.de>
36764
36765 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36766 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36767 macro.
36768 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36769 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36770 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36771 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36772 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36773 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36774 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36775 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36777 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36778 * sysdeps/unix/sysv/linux/bits/in.h
36779 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36780
a6a056bb
RM
367812012-05-22 Roland McGrath <roland@hack.frob.com>
36782
36783 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36784 (PREPARE_VERSION): Just use assert instead, it will be elided
36785 under [NDEBUG] anyway.
36786
c9009328
L
367872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36788
36789 * sysdeps/unix/sysv/linux/Makefile: Include
36790 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36791 (sysdep_routines): Remove sysctl.
c9009328
L
36792 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36793 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36794 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36795 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36796 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36797
73338355
AJ
367982012-05-22 Andreas Jaeger <aj@suse.de>
36799
36800 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36801 that pseudo_end is just ret and the stack pointer is correct also
36802 for static library in error case.
36803
d44638b0
PP
368042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36805
36806 [BZ #14122]
36807 * nss/nsswitch.c (defconfig_entries): New variable.
36808 (__nss_database_lookup): Don't leak defconfig entries.
36809 (nss_parse_service_list): Don't leak on error paths.
36810 (free_database_entries): New function.
36811 (free_defconfig): New function.
36812 (free_mem): Move common code to free_database_entries.
36813
31a39bd8
L
368142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36815
da0331a8
L
36816 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36817 Add arch_prctl.
36818 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36819
31a39bd8
L
36820 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36821 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36823 New macro.
36824 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36825 (INTERNAL_SYSCALL_TYPES): Likewise.
36826 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36827 (LOAD_REGS_TYPES_[1-6]): Likewise.
36828 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36829 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36830
45470df3
AZ
368312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36832
36833 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36834 copysignl for GLIBC_2_0.
36835 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36836 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36838 logbl for GLIBC_2_0.
36839 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36840 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36841
98a61bcb
L
368422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36843
a4f6e481
L
36844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36845 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36846
f63d5db6
L
36847 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36848 Use "neg %eax".
36849
98a61bcb
L
36850 * time/mktime.c: Update copyright years.
36851
95770f14
PE
368522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36853
6226efbd
PE
36854 mktime: merge comment-quoting-style change from gnulib
36855 * time/mktime.c: Quote 'like this' in comments.
36856 The GNU coding standards suggest that we no longer quote `like this',
36857 as "`" and "'" are typically rendered asymmetrically nowadays.
36858 The typical gnulib style is to quote 'like this' when quoting
36859 code, and "like this" when quoting English.
36860
b99e4f78
PE
36861 * time/mktime.c (compile-command): Add "-I.".
36862
643e01e6
PE
36863 mktime: merge mktime-internal.h change from gnulib
36864 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36865
2554247d
PE
36866 mktime: merge time_r change from gnulib
36867 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36868
826dd0ab
PE
36869 mktime: merge DEBUG change from gnulib
36870 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36871 case system <time.h> has a #define.
36872
bd83aabe
PE
36873 mktime: merge <sys/types.h> change from gnulib
36874 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36875 since <time.t> is now guaranteed to define time_t.
36876
95770f14
PE
36877 mktime: merge HAVE_CONFIG_H change from gnulib
36878 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36879
5e1a27a9
L
368802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36881
0e44a77e
L
36882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36883 Use "neg %eax".
36884
5e1a27a9
L
36885 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36886 __rlim_t cast.
36887 (struct rusage): Use anonymous union to pad each field to
36888 __syscall_slong_t.
36889
46259bec
DM
368902012-05-21 David S. Miller <davem@davemloft.net>
36891
36892 * Makefules (o-iterator): Remove .s cases.
36893 (compile-command.s): Delete.
36894 (COMPILE.s): Delete.
36895 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36896
59f0c22e
JM
368972012-05-21 Joseph Myers <joseph@codesourcery.com>
36898
36899 * configure.in (libc_cv_predef_stack_protector): Only consider
36900 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36901 * configure: Regenerated.
36902
20c07380
L
369032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36904
bbb3154b
L
36905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36906 New macro. Use R*LP on int and pointer.
36907 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36908 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36909 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36910 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36911
20c07380
L
36912 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36913 [__WORDSIZE_TIME64_COMPAT32] instead of
36914 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36915 (struct utmp): Likewise.
36916 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36917 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36918 Renamed to ...
36919 (__WORDSIZE_TIME64_COMPAT32): This.
36920 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36921 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36922 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36923 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36924 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36925 (__WORDSIZE_TIME64_COMPAT32): New macro.
36926
d8d1017e
AJ
369272012-05-21 Andreas Jaeger <aj@suse.de>
36928
36929 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36930 only if [SHARED]. Add prototype for __wcschr_ia32.
36931
6c7fb145
RM
369322012-05-21 Roland McGrath <roland@hack.frob.com>
36933
36934 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36935 of %rbp unmolested in the jmp_buf while mangling the low bits.
36936 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36937 unmolested high bits of %rbp while demangling the low bits.
36938 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36939
66274218
AJ
369402012-05-21 Andreas Jaeger <aj@suse.de>
36941
07c58f8f
AJ
36942 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36943 * sunrpc/svc_simple.c: Use it for registerrpc.
36944 * sunrpc/xcrypt.c: Use it for passwd2des.
36945
66274218
AJ
36946 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36947
61f65140
L
369482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36949
36950 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36951 Don't define if [__SYSCALL_WORDSIZE != 32].
36952 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36953 New macro.
36954
5fefb436
AJ
369552012-05-21 Bruno Haible <bruno@clisp.org>
36956 Andreas Jaeger <aj@suse.de>
36957
36958 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36959 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36960 inptr and inend for must_buffer_ch.
36961 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36962 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36963 * stdio-common/Makefile (tests): Remove bug15.
36964 (bug15-ENV): Remove macro.
36965 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36966 anymore.
36967
d8e272ab
AJ
369682012-05-19 Andreas Jaeger <aj@suse.de>
36969 Roland McGrath <roland@hack.frob.com>
36970
36971 * manual/contrib.texi: Completely rewritten. It contains now an
36972 alphabetical list of contributors and their contributions.
36973
4a56a162
RH
369742012-05-21 Richard Henderson <rth@twiddle.net>
36975
36976 * misc/getauxval.c (__getauxval): Use unsigned long int.
36977 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36978 (getauxval): Use unsigned long int.
36979
d024d23c
L
369802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36981
36982 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36983
cbc00a03
RM
369842012-05-21 Roland McGrath <roland@hack.frob.com>
36985
36986 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36987 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36988 __alignof__ (long double).
36989
478143fa
AZ
369902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36991
36992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36993
c7683a6d
RH
369942012-05-20 Richard Henderson <rth@twiddle.net>
36995
36996 * misc/getauxval.c: New file.
36997 * misc/sys/auxv.h: New file.
36998 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36999 (routines): Add getauxval.
37000 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37001 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37002 * elf/dl-sysdep.c (_dl_auxv): Remove.
37003 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37004 * elf/dl-support.c (_dl_auxv): New variable.
37005 (_dl_aux_init): Initialize it.
37006 * manual/startup.texi (Auxiliary Vector): New node.
37007 * sysdeps/generic/bits/hwcap.h: New file.
37008 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37009 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37010 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37011 * sysdeps/sparc/sysdep.h: ... here. Include it.
37012 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37015 Update.
c7683a6d
RH
37016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37019 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37024
a6f1845d
AZ
370252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37026
37027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37028
cbcbe830
DM
370292012-05-19 David S. Miller <davem@davemloft.net>
37030
37031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37032
e0b16cc2
JM
370332012-05-19 Joseph Myers <joseph@codesourcery.com>
37034
37035 [BZ #14123]
37036 * math/s_ccosh.c: Include <float.h>
37037 (__ccosh): Avoid internal overflow calculating sinh and cosh
37038 values before multiplying by sin and cos values.
37039 * math/s_ccoshf.c: Likewise.
37040 * math/s_ccoshl.c: Likewise.
37041 * math/s_csin.c: Likewise.
37042 * math/s_csinf.c: Likewise.
37043 * math/s_csinl.c: Likewise.
37044 * math/s_csinh.c: Likewise.
37045 * math/s_csinhf.c: Likewise.
37046 * math/s_csinhl.c: Likewise.
37047 * math/libm-test.inc (ccos_test): Add more tests.
37048 (ccosh_test): Likewise.
37049 (csin_test): Likewise.
37050 (csinh_test): Likewise.
37051 * sysdeps/i386/fpu/libm-test-ulps: Update.
37052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37053
6ad13e08
L
370542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37055
f66f0ce8
L
37056 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37057 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37058
6ad13e08
L
37059 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37060
b1d072a7
JM
370612012-05-19 Joseph Myers <joseph@codesourcery.com>
37062
37063 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37064 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37065 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37066 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37067 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37068 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37069 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37070 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37071 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37072 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37073 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37074 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37075 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37076 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37077 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37078 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37079 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37080 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37081 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37082 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37083 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37084 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37085 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37086 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37087 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37088 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37089 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37090 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37091 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37092 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37093 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37094
9eae47cb
AJ
370952012-05-18 Andreas Jaeger <aj@suse.de>
37096
37097 * csu/.gitignore: Delete.
37098
bb07f69f
L
370992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37100
37101 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37102 (timex): Use __syscall_slong_t.
37103
e6bdb741
AJ
371042012-05-18 Andreas Jaeger <aj@suse.de>
37105 Carlos O'Donell <carlos_odonell@mentor.com>
37106
37107 * manual/install.texi (Configuring and compiling): Update
37108 description about files modified in the source directory.
d6c33fda 37109 * INSTALL: Regenerated.
e6bdb741 37110
1b74487e
L
371112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37112
37113 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37114 value. Use "or" to set return value to -1.
37115 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37116 negate return value.
37117
a88b64b9
TMQMF
371182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37119
57f41c40
AS
37120 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37121 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37122 failure if the compiler has Graphite support disabled.
37123 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37124 Likewise.
57f41c40
AS
37125 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37126 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37127 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37128 Likewise.
37129
3707636e
L
371302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37131
610b8622
L
37132 * sysdeps/x86_64/x32/_itoa.h: New file.
37133
7cd195df
L
37134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37135 getdents system call only if kernel and user dirents have the
37136 same d_ino and d_off.
37137
94b07d20
L
37138 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37139 LLONG_MAX != LONG_MAX.
37140 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37141 (_fitoa_word): Likewise.
37142
18298070
L
37143 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37144 years.
37145 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37146 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37147 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37148
553c7ea4
L
37149 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37150 include <bits/wordsize.h>. Check __x86_64__ instead of
37151 __WORDSIZE.
37152 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37153 if __x86_64__ is defined. Use anonymous union on fpstate.
37154
3707636e
L
37155 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37156 anonymous union.
37157
b53ef01a
AS
371582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37159
37fb1dc0
AS
37160 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37161 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37162 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37163 Refer to _rtld_local_ro instead of _rtld_global_ro.
37164 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37165 Likewise.
37166 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37167 Likewise.
37168 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37169 Likewise.
37170 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37171 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37172 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37173
b53ef01a
AS
37174 * sysdeps/powerpc/powerpc32/dl-machine.c
37175 (__elf_machine_runtime_setup) [PROF]: Don't reference
37176 _dl_prof_resolve.
37177
7a185db2
AJ
371782012-05-18 Andreas Jaeger <aj@suse.de>
37179
37180 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37181 function only available for GCCs before 3.4 since GCC 3.4
37182 introduced a builtin.
37183 (lrint): Likewise.
37184 (llrintf): Likewise.
37185 (llrint): Likewise.
37186 (fmaxf): Likewise.
37187 (fmax): Likewise.
37188 (fminf): Likewise.
37189 (fmin): Likewise.
37190 (rint): Likewise.
37191 (rintf): Likewise.
37192 (nearbyint): Likewise.
37193 (nearbyintf): Likewise.
37194 (ceil): Likewise.
37195 (ceilf): Likewise.
37196 (floor): Likewise.
37197 (floorf): Likewise.
37198
3e5aef87
L
371992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37200
428bd707
L
37201 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37202 on both fields and cast pointer to __syscall_ulong_t.
37203
3e5aef87
L
37204 * bits/types.h (__fsword_t): New type.
37205 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37206 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37208 (__FSWORD_T_TYPE): Likewise.
37209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37210 (__FSWORD_T_TYPE): Likewise.
37211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37212 (__FSWORD_T_TYPE): Likewise.
37213 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37214 (__FSWORD_T_TYPE): Likewise.
37215 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37216 __SWORD_TYPE with __fsword_t.
37217 (statfs64): Likewise.
37218
1ba7c3dc
DM
372192012-05-17 David S. Miller <davem@davemloft.net>
37220
37221 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37222
59910343
AJ
372232012-05-17 Andreas Jaeger <aj@suse.de>
37224
37225 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37226 warning.
37227
2e4c1e9e
L
372282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37229
37230 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37231
de7f5ce7
AJ
372322012-05-17 Andreas Jaeger <aj@suse.de>
37233
37234 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37235 when it is used.
37236
286abc3d
CM
372372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37238
37239 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37240
477cc68e
L
372412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37242
37243 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37244 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37245
1a0994f5
CD
372462012-05-17 Andreas Jaeger <aj@suse.de>
37247 Carlos O'Donell <carlos_odonell@mentor.com>
37248
37249 [BZ #14059]
37250 * sysdeps/x86_64/multiarch/init-arch.h
37251 (bit_YMM_Usable): Rename to...
37252 (bit_AVX_Usable): ... this.
37253 (bit_FMA4_Usable): New macro.
37254 (bit_XMM_state): New macro.
37255 (bit_YMM_state): New macro.
37256 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37257 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37258 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37259 (CPUID_OSXSAVE): New macro.
37260 (CPUID_AVX): New macro.
37261 (CPUID_FMA4): New macro.
37262 (index_YMM_Usable): Rename to...
37263 (index_AVX_Usable): ... this.
37264 (HAS_AVX): Use HAS_ARCH_FEATURE.
37265 (HAS_FMA4): Likewise.
37266 (HAS_YMM_USABLE): Remove.
37267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37268 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37269 are present.
37270 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37271 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37272 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37273 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37274 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37275
0af797de
CM
372762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37277
37278 * math/libm-test.c: Support platforms without multiple rounding modes.
37279 * math/bug-nextafter.c: Support platforms without FP exceptions.
37280 * math/bug-nexttoward.c: Likewise.
37281 * math/test-fenv.c: Likewise.
37282 * math/test-misc.c: Likewise.
37283 * stdlib/bug-getcontext.c: Likewise.
37284
e39745ff
AJ
372852012-05-17 Andreas Jaeger <aj@suse.de>
37286
37287 * manual/examples/search.c (critter_cmp): Change signature to
37288 avoid warnings.
37289 * manual/string.texi (Collation Functions): Likewise.
37290
48970aba
L
372912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37292
37293 * bits/types.h: Fold copyright years.
37294 * bits/typesizes.h: Likewise.
37295 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37299 * time/time.h: Likewise.
37300
bedee953
PP
373012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37302
37303 [BZ #208]
37304 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37305 in instead of returning them. Return void.
37306 (__libc_mallinfo): Accumulate over all arenas.
37307 (__malloc_stats): Adjust for change in int_mallinfo interface.
37308
61653dfb
RM
373092012-05-16 Roland McGrath <roland@hack.frob.com>
37310
30b99d79
RM
37311 [BZ #10375]
37312 * configure.in (NM): Add AC_CHECK_TOOL for it.
37313 (libc_extra_cflags): New substituted variable.
37314 Check for -fstack-protector being used implicitly.
37315 * configure: Regenerated.
37316 * config.make.in (config-extra-cflags): New variable,
37317 gets @libc_extra_cflags@.
37318 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37319
61653dfb
RM
37320 [BZ #10375]
37321 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37322 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37323 * configure: Regenerated.
37324 * config.make.in (CPPUNDEFS): New substituted variable.
37325 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37326 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37327 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37328
661768bb
L
373292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37330
37331 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37332 (mq_attr): Use __syscall_slong_t.
37333
d4261567
L
373342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37335
37336 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37337 Check __x86_64__ instead of __WORDSIZE.
37338 (_STAT_VER_LINUX): Likewise.
37339 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37340 __syscall_ulong_t and __syscall_slong_t.
37341 (stat64): Likewise.
37342
cf3ff365
L
373432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37344
37345 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37346
76cf3e4d
L
373472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37348
37349 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37350
a637753a
L
373512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37352
37353 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37354 __syscall_ulong_t.
37355
d5e05119
L
37356 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37357 include <bits/wordsize.h>. Check __x86_64__ instead of
37358 __WORDSIZE.
37359 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37360 defined.
37361 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37362
f62ee380
L
37363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37364 include <bits/wordsize.h>. Check __x86_64__ instead of
37365 __WORDSIZE.
37366 (user_regs_struct): Use "__extension__ unsigned long long"
37367 instead of "unsigned long" if __x86_64__ is defined.
37368 (user): Likewise. Pad after pointer field if __ILP32__ is
37369 defined.
37370
4e124ced
JM
373712012-05-16 Joseph Myers <joseph@codesourcery.com>
37372
6a3951a0
JM
37373 * configure.in (makeinfo): Require version 4.5 or later. Allow
37374 versions 5 to 9.
37375 * configure: Regenerated.
37376 * manual/install.texi (texinfo): Increase version requirement to
37377 4.5 or later.
37378 * INSTALL: Regenerated.
37379
4e124ced
JM
37380 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37381
953ca31a
L
373822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37383
37384 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37385
617aca05
L
37386 * sysdeps/x86_64/x32/ffs.c: New file.
37387
5762f7ae
L
37388 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37389 __syscall_ulong_t.
37390 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37391 defined. Use __syscall_ulong_t.
37392 (shminfo): Use __syscall_ulong_t.
37393 (shm_info): Likewise.
37394
a26b6856
L
37395 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37396 __syscall_ulong_t.
37397
cb2b9ef7
L
37398 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37399 <bits/wordsize.h>.
37400 (msgqnum_t): Use __syscall_ulong_t.
37401 (msglen_t): Likewise.
37402 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37403 __syscall_ulong_t.
37404
34683bb0
L
37405 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37406 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37407
84a68786
L
37408 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37409
48baa5f1
L
37410 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37411 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37412
180be88b
L
37413 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37414 __syscall_slong_t.
37415
5e90c8ad
L
37416 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37417 include <bits/wordsize.h>. Check __x86_64__ instead of
37418 __WORDSIZE.
37419
23dfb58b
L
37420 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37421 "unsigned long long int" if __x86_64__ is defined.
37422 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37423
ce5d54b0
L
37424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37425 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37426 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37427
13dc9eac
L
37428 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37429 <stdint.h>.
37430 (GET_PC): Cast to uintptr_t first.
37431 (GET_FRAME): Likewise.
37432 (GET_STACK): Likewise.
37433
a7895d15
L
37434 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37435 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37436 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37437 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37438 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37439 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37440 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37441 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37442 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37443 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37444 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37445 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37446 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37449 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37450 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37451 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37452 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37453 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37454 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37455 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37456 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37457 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37458 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37459 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37460 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37461 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37462 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37463
656416c9
AS
374642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37465
5bd66283
AS
37466 * Makerules (+depfiles): Also collect depfiles from .oS in
37467 $(extra-objs).
37468 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37469 .oS, $(libnldbl-routines)).
37470
656416c9
AS
37471 * Makerules (native-compile-mkdep-flags): Define.
37472 * sunrpc/Makefile (extra-objs): Add $(addprefix
37473 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37474 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37475 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37476 calling $(make-target-directory).
37477
a46f2169
L
374782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37479
37480 * bits/types.h (__snseconds_t): Removed.
37481 * time/time.h (struct timespec): Replace __snseconds_t with
37482 __syscall_slong_t.
37483 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37484 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37485 Likewise.
37486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37487 (__SNSECONDS_T_TYPE): Likewise.
37488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37489 (__SNSECONDS_T_TYPE): Likewise.
37490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37491 (__SNSECONDS_T_TYPE): Likewise.
37492
6af6528b
L
374932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37494
37495 * sysdeps/mach/hurd/bits/typesizes.h
37496 (__SYSCALL_SLONG_TYPE): New macro.
37497 (__SYSCALL_ULONG_TYPE): Likewise.
37498
de986b56
L
374992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37500
37501 * bits/types.h (__syscall_slong_t): New type.
37502 (__syscall_ulong_t): Likewise.
37503
37504 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37505 (__SYSCALL_ULONG_TYPE): Likewise.
37506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37507 (__SYSCALL_SLONG_TYPE): Likewise.
37508 (__SYSCALL_ULONG_TYPE): Likewise.
37509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37510 (__SYSCALL_SLONG_TYPE): Likewise.
37511 (__SYSCALL_ULONG_TYPE): Likewise.
37512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37513 (__SYSCALL_SLONG_TYPE): Likewise.
37514 (__SYSCALL_ULONG_TYPE): Likewise.
37515
85736dc7
L
375162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37517
37518 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37519 Add sigaltstack-offsets.sym.
37520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37521 <sigaltstack-offsets.h>.
37522 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37523 longjmp_msg pointer.
37524 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37525 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37526 signal stack.
37527 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37528
cc03b296
JM
375292012-05-15 Joseph Myers <joseph@codesourcery.com>
37530
a9538892
JM
37531 * elf/stackguard-macros.h: Remove file.
37532 * sysdeps/generic/stackguard-macros.h: New file.
37533 * sysdeps/i386/stackguard-macros.h: Likewise.
37534 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37535 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37536 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37537 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37538 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37539 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37540 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37541 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37542 <elf/stackguard-macros.h>.
37543
cc03b296
JM
37544 [BZ #14109]
37545 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37546 __aligned__ in attribute.
37547 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37548 (gregset_t): Likewise.
37549
93171016
L
375502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37551
37552 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37553 * sysdeps/x86_64/64/Implies-after: Here. New file.
37554 * sysdeps/x86_64/x32/Implies-after: New file.
37555
d86813a0
L
375562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37557
37558 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37559 and access return value for _dl_profile_fixup. Use R10_LP to
37560 load frame size.
37561
2953ec75
L
375622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37563
37564 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37565
3b550e9e
L
375662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37567
37568 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37569 * sysdeps/x86_64/x32/sysdep.h: New file.
37570
eda41706
L
375712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37572
37573 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37574 * sysdeps/x86_64/setjmp.S: Likewise.
37575
9ea01d93
AZ
375762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37577
37578 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37579 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37580 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37581 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37582 remove unused global constant.
37583
02a91938
CM
375842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37585
37586 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37587 include of <not-cancel.h>.
37588
6540185f
RM
375892012-05-15 Roland McGrath <roland@hack.frob.com>
37590
37591 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37592
509072a0
AJ
375932012-05-15 Jeff Law <law@redhat.com>
37594 Andreas Jaeger <aj@suse.de>
37595
37596 [BZ #13594]
37597 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37598 out from...
37599 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37600 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37602 code changing __hst_map_handle.map.
37603
ba75122d
RM
376042012-05-15 Roland McGrath <roland@hack.frob.com>
37605
37606 * configure.in (sysnames): Look for Implies-before and Implies-after
37607 files.
37608 * configure: Regenerated.
37609
890d8bd8
L
376102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37611
37612 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37613 8-byte data alignment with LP_SIZE alignment.
37614
f6ee6623
L
376152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37616
37617 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37618 into R10_LP.
37619
ea2626f6
L
376202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37621
37622 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37623
085f715e
L
376242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37625
37626 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37627 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37628 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37629 Likewise.
37630 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37631
be8498fc
L
376322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37633
37634 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37635 (stackinfo_sub_sp): Likewise.
37636
70bc83b9
L
376372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37638
37639 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37640 RAX_LP.
37641
9bc0b730
L
376422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37643
37644 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37645 into R*_LP.
37646
6d2850e7
L
376472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37648
37649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37650 sizes into R*_LP.
37651
3cb84561
L
376522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37653
37654 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37655
54e2ed81
L
376562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37657
37658 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37659 into R11_LP and load __x86_64_shared_cache_size_half into
37660 R8_LP.
37661
8a17f349
L
376622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37663
37664 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37665 R8_LP.
37666
777b1eea
AZ
376672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37668
37669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37670 logb for POWER7.
37671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37672 logbf for POWER7.
37673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37674 logbl for POWER7.
37675 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37676 powerpc32/power7/fpu/s_logb.c via #include.
37677 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37678 powerpc32/power7/fpu/s_logbf.c via #include.
37679 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37680 powerpc32/power7/fpu/s_logbl.c via #include.
37681
d20d4ac2
JM
376822012-05-15 Joseph Myers <joseph@codesourcery.com>
37683
37684 * README.libm: Remove file.
37685
6cdef1ab
L
376862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37687
37688 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37689 count for x32. Use R*_LP and omit operand-size suffix.
37690
0b254d8f
L
376912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37692
37693 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37694 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37695 * sysdeps/x86_64/x32/shlib-versions: New file.
37696
ceb809dc
RM
376972012-05-14 Roland McGrath <roland@hack.frob.com>
37698
37699 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37700 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37701 Use _dl_fatal_printf instead.
37702
37f1abd4
JM
377032012-05-14 Joseph Myers <joseph@codesourcery.com>
37704
37705 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37706 set if not set by the user. Do not allow for being unset.
37707 * sysdeps/unix/sysv/linux/configure: Regenerated.
37708
11de3a33
L
377092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37710
37711 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37712 the `q' suffix from lea and replace .quad with ASM_ADDR.
37713
e02f153a
L
377142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37715
37716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37717 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37718 instead of $17.
37719 (PTR_DEMANGLE): Likewise.
37720
520ae0fd
L
377212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37722
37723 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37724 (LP_OP): Likewise.
37725 (ASM_ADDR): Likewise.
37726 (RAX_LP): Likewise.
37727 (RBP_LP): Likewise.
37728 (RBX_LP): Likewise.
37729 (RCX_LP): Likewise.
37730 (RDI_LP): Likewise.
37731 (RSI_LP): Likewise.
37732 (RSP_LP): Likewise.
37733 (R8_LP): Likewise.
37734 (R9_LP): Likewise.
37735 (R10_LP): Likewise.
37736 (R10_LP): Likewise.
37737 (R11_LP): Likewise.
37738 (R12_LP): Likewise.
37739 (R13_LP): Likewise.
37740 (R14_LP): Likewise.
37741 (R15_LP): Likewise.
37742
b985be81
L
377432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37744
37745 * sysdeps/x86_64/x32/dl-machine.h: New file.
37746
6a4888ff
AJ
377472012-05-14 Andreas Jaeger <aj@suse.de>
37748
37749 * manual/Makefile (subdir): Remove export of subdir.
37750 (all): Remove target.
37751 (.PHONY): Remove all from list.
37752 (mkinstalldirs): Remove.
37753 (.PHONY): Remove installdirs from list.
37754 ($(inst_infodir)/libc.info): Use make-target-directory.
37755 (installdirs): Remove.
37756 (subdir_%): Remove.
37757 (glibc-targets): Remove.
37758 (lib): Remove.
37759 (stubs): Remove.
37760 ($(objpfx)stubs ../po/manual.pot): Remove.
37761 ($(objpfx)stamp%): Remove.
37762 (make-target-directory): Remove.
37763 (subdir_install): Remove.
37764 (routines): Remove.
37765 (aux): Remove.
37766 (sources): Remove.
37767 (objects): Remove.
37768 (headers): Remove.
37769
37770 [BZ #13750]
37771 * manual/.gitignore: Remove, it's not needed anymore.
37772 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37773 all files in it.
37774 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37775 directory.
37776 (texis): Renamed to $(objpfx)texis.
37777 (texis-path): New, contains path to generated files.
37778 (chapters.%): Use texis-path for complete path, add extra argument
37779 libc-texinfo.sh.
37780 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37781 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37782 (summary,texi, stamp-summary): Use complete path of
37783 files. Generate files in build dir.
37784 (dir-add.texi): Build in build dir.
37785 (libm-err.texi,stamp-libm-err): Likewise.
37786 (version.texi, stamp-version): Likewise.
37787 (.%c.texi): Likewise.
37788 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37789 (mostlyclean): Remove target.
37790 (realclean): Remove target.
37791 (generated): Add new variable with contents from mostlyclean and
37792 realclean, remove entries duplicated in common-mostlyclean, add
37793 stamp-libm-err and stamp-version.
37794 (generated-dirs): Add libc directory.
37795 ($(inst_infodir)/libc.info): Install files from build dir.
37796
37797 * manual/install.texi (Configuring and compiling): Adjust since
37798 the info files are not part of the tar ball anymore.
37799
7ac77294
AJ
378002012-05-14 Andreas Jaeger <aj@suse.de>
37801
37802 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37803 variable.
37804
ffb7875d
JM
378052012-05-14 Joseph Myers <joseph@codesourcery.com>
37806
37807 [BZ #13717]
37808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37809 to 2.2.0 where earlier.
37810 * sysdeps/unix/sysv/linux/configure: Regenerated.
37811 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37812 Remove conditional code.
37813 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37814 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37815 Remove conditional code.
37816 [!__NR_lchown]: Likewise.
37817 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37818 [__NR_lchown]: Likewise.
37819 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37820 comment referencing __ASSUME_LCHOWN_SYSCALL.
37821 * sysdeps/unix/sysv/linux/i386/sigaction.c
37822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37824 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37825 Remove conditional code.
37826 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37827 (__protocol_available): Remove #if 0 code.
37828 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37829 conditional code.
37830 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37831 * sysdeps/unix/sysv/linux/kernel-features.h
37832 (__ASSUME_GETCWD_SYSCALL): Don't define.
37833 (__ASSUME_REALTIME_SIGNALS): Likewise.
37834 (__ASSUME_PREAD_SYSCALL): Likewise.
37835 (__ASSUME_PWRITE_SYSCALL): Likewise.
37836 (__ASSUME_POLL_SYSCALL): Likewise.
37837 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37838 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37839 non-SPARC.
37840 (__ASSUME_SIOCGIFNAME): Don't define.
37841 (__ASSUME_MSG_NOSIGNAL): Likewise.
37842 (__ASSUME_SENDFILE): Define unconditionally.
37843 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37844 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37845 conditional code.
37846 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37847 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37848 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37849 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37850 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37851 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37852 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37857 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37863 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37866 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37869 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37872 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37873 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37875 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37876 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37877 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37878 Remove conditional code.
37879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37880 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37881 Remove conditional code.
37882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37883 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37884 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37885 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37886 Remove conditional code.
37887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37888 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37889 Remove conditional code.
37890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37891 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37892 Remove conditional code.
37893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37894 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37895 Remove conditional code.
37896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37897 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37898 Remove conditional code.
37899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37900 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37901 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37903 * sysdeps/unix/sysv/linux/sigaction.c
37904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37906 * sysdeps/unix/sysv/linux/sigpending.c
37907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37909 * sysdeps/unix/sysv/linux/sigprocmask.c
37910 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37911 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37912 * sysdeps/unix/sysv/linux/sigsuspend.c
37913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37915 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37916 (__libc_missing_rt_sigs): Remove.
37917 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37918 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37919 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37920 Remove conditional code.
37921 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37922 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37923 return 1.
37924 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37925 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37926 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37927 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37928
1bfb7291
AJ
379292012-05-14 Andreas Jaeger <aj@suse.de>
37930
caae5a81
AJ
37931 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37932 it's not used in glibc.
37933 (__coshm1): Likewise.
37934 (__acosh1p): Likewise.
37935 (__sgn): Likewise.
37936
1bfb7291
AJ
37937 * manual/string.texi (Copying and Concatenation): Add missing
37938 variable in concat example.
37939 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37940
c044d724
L
379412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37942
144c5467 37943 [BZ #14103]
c044d724
L
37944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37945 __builtin_clzl with __builtin_clzll.
37946
2523c62b
L
379472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37948
37949 [BZ #14104]
37950 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37951 libc_freeres_ptr.
37952
d7bb4c42
LD
379532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37954
37955 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37956 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37957 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37958 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37959
9dc4e1fb
MF
379602012-05-14 Mike Frysinger <vapier@gentoo.org>
37961
37962 * NEWS: Update ia64 info.
37963
c7df0112
AS
379642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37965
37966 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37967 used as bcopy.
37968
dc70356c
TS
379692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37970
37971 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37972 * sysdeps/unix/syscalls.list (dup3): Likewise.
37973 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37974 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37975
9fb1a21f
L
379762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37977
37978 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37979 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37980
4822a2a5
L
379812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37982
37983 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37984 thread pointer.
37985 (TLS_IE): Use mov/add instead of movq/addq to load thread
37986 pointer.
37987 (TLS_GD_PREFIX): New.
37988 (TLS_GD): Use it.
37989
842b81d6
DM
379902012-05-11 David S. Miller <davem@davemloft.net>
37991
37992 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37993 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37994 (_FPU_SETCW): Likewise.
37995
1cf463cd
L
379962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37999 is 32-byte aligned.
38000
60cc4a18
AS
380012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38002
38003 [BZ #11837]
38004 * iconvdata/gb18030.c: Update tables.
38005 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38006 characters specially.
38007 (BODY for TO_LOOP): Add encoding of missing ranges.
38008
febb44a4
TS
380092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38010
38011 [BZ #13673]
38012 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38013 * sysdeps/mach/hurd/dup3.c: Likewise.
38014 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38015 * sysdeps/powerpc/memmove.c:: Likewise.
38016
0a10fb9e
L
380172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38018
38019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38020 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38021
df8a552f
L
380222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38023
38024 * elf/elf.h (R_X86_64_RELATIVE64): New.
38025 (R_X86_64_NUM): Updated.
38026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38027 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38028 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38029 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38030 tst-quad1pie tst-quad2pie
38031 (modules-names): Add tst-quadmod1 tst-quadmod2.
38032 ($(objpfx)tst-quad1): New dependency.
38033 ($(objpfx)tst-quad2): Likewise.
38034 ($(objpfx)tst-quad1pie): Likewise.
38035 ($(objpfx)tst-quad2pie): Likewise.
38036 * sysdeps/x86_64/tst-quad1.c: New file.
38037 * sysdeps/x86_64/tst-quad1pie.c: New file.
38038 * sysdeps/x86_64/tst-quad2.c: Likewise.
38039 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38040 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38041 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38042 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38043 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38044
f34d6f84
ST
380452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38046
f42d41d1
ST
38047 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38048 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38049 * streams/stropts.h (t_scalar_t): Define type.
38050
3c3571fc
ST
38051 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38052 (_PATH_PRESERVE): Set to "/var/lib".
38053 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38054
61f06bd3
ST
38055 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38056 instead of int.
38057
918d4d71
ST
38058 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38059 if __dir_mkfile succeeded.
38060
f34d6f84
ST
38061 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38062 checking for _hurd_dtablesize. Unlock it right after having
38063 finished _hurd_dtable allocation.
38064
10589b4a
TS
380652012-05-10 Thomas Schwinge <thomas@schwinge.name>
38066
674cdbc7
TS
38067 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38068 * sysdeps/mach/hurd/configure: Regenerated.
38069 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38070 special-casing to...
38071 * sysdeps/gnu/configure.in: ... this new file.
38072 * sysdeps/unix/sysv/linux/configure: Regenerated.
38073 * sysdeps/gnu/configure: New generated file.
38074
8e41b99f
TS
38075 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38076 for Linux: use nsec instead of usec, as well as:
38077 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38078 members of type struct timespec.
38079 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38080 New macros.
38081 (struct stat64): Likewise.
38082 (_STATBUF_ST_NSEC): New macro.
38083 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38084
10589b4a
TS
38085 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38086 __strtoul_internal rather than strtoul.
38087
63643c85
PT
380882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38089
38090 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38091 and reject them.
38092
3faebe6a
ST
380932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38094
38095 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38096 which preserves existing values.
38097 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38098
c6474b07
PT
380992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38100
38101 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38102 TIMEOUT values. Return EINVAL for NFDS values either negative or
38103 greater than FD_SETSIZE.
38104
1043890b
ST
381052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38106
38107 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38108 allocated, call __vm_protect to finish enabling the existing space, and
38109 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38110 allocate the remainder.
38111
37ed8b9b
PT
381122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38113
38114 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38115 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38116
db653660
ST
381172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38118
37ed8b9b
PT
38119 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38120 sysdeps/mach/hurd/readlink.c.
b29d4053 38121
db653660
ST
38122 * posix/tst-sysconf.c (posix_options): Only use
38123 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38124 _POSIX_SYNCHRONIZED_IO when they are defined
38125 * sysdeps/mach/hurd/bits/posix_opt.h:
38126 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38127 (_XOPEN_REALTIME): Undefine macro.
38128 (_XOPEN_REALTIME_THREADS): Undefine macro.
38129 (_XOPEN_SHM): Undefine macro.
38130 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38131 macro to -1.
38132 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38133 macro to -1.
38134 (_POSIX_ASYNC_IO): Undefine macro.
38135 (_POSIX_PRIORITIZED_IO): Undefine macro.
38136 (_POSIX_SPIN_LOCKS): Define macro to -1.
38137
ee16e894
ST
38138 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38139 SA_NODEFER, SA_RESETHAND.
38140 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38141 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38142 F_DUPFD_CLOEXEC.
38143
6103ae3b
TS
381442012-05-10 Thomas Schwinge <thomas@schwinge.name>
38145
38146 * elf/Makefile (pldd-modules): Define unconditionally.
38147
80b4e5f3
TS
381482012-05-10 Thomas Schwinge <thomas@schwinge.name>
38149
38150 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38151
edadcbd6
ST
381522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38153
38154 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38155 Return ENOENT when name is empty.
38156 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38157
80694780
TS
381582012-05-10 Thomas Schwinge <thomas@schwinge.name>
38159
1792c087
TS
38160 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38161
80694780
TS
38162 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38163
6b645f0d
ST
381642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38165
80694780
TS
38166 Fix mlock in all cases except non-readable pages.
38167 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38168 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38169
6b645f0d
ST
38170 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38171 (__mkdir): When path is `/', just fail with EEXIST.
38172 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38173
e468f8a3
TS
381742012-05-10 Thomas Schwinge <thomas@schwinge.name>
38175
38176 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38177 <sys/uio.h> (for writev).
38178 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38179 and <sys/param.h> (for MIN).
38180
a4186cff
PT
381812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38182
38183 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38184 REQUESTED_TIME. Properly set the remaining time and return EINTR
38185 if interrupted.
38186
510bbf14
TS
381872012-05-10 Thomas Schwinge <thomas@schwinge.name>
38188
38189 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38190 Depend on against $(link-rpcuserlibs).
38191
5d5722e8
ST
381922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38193
a4186cff
PT
38194 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38195 (__libc_stack_end): Do not use attribute_relro.
38196 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38197 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38198 to libthread-provided value.
a4186cff
PT
38199 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38200 attribute_relro.
5d5722e8 38201
37233df9
TS
382022012-05-10 Thomas Schwinge <thomas@schwinge.name>
38203
be971a2b
TS
38204 [BZ #3748]
38205 * bits/libc-lock.h (__libc_once_get): New macro.
38206 * sysdeps/mach/bits/libc-lock.h: Likewise.
38207 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38208 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38209 instead of using implementation details.
38210
37233df9
TS
38211 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38212 * libio/freopen.c: Likewise.
38213 * libio/freopen64.c: Likewise.
38214 * misc/syslog.c: Likewise.
38215 * nscd/connections.c: Likewise.
38216 * nscd/netgroupcache.c: Likewise.
38217 * sysdeps/posix/getcwd.c: Likewise.
38218
38de94a5
RM
382192012-05-10 Roland McGrath <roland@hack.frob.com>
38220
38221 * math/w_ilogbf.c: Add #include <limits.h>.
38222
67530489
ST
382232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38224
a4186cff 38225 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38226 path instead of returning without unlocking.
38227
67530489
ST
38228 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38229 immediate-write ioctls.
38230 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38231
5aa3a74a
TS
382322012-05-10 Thomas Schwinge <thomas@schwinge.name>
38233
18bad2ae
TS
38234 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38235 __builtin_frame_address instead of making assumptions about the
38236 location of the return address relative to DATA. Force early load of
38237 the return address.
38238 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38239 __builtin_frame_address.
38240
5aa3a74a
TS
38241 dup3 for GNU Hurd.
38242 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38243 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38244 implement dup3 and do some further code clean-ups.
38245 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38246 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38247
ecd0de9a
ST
382482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38249
cd9fa985
ST
38250 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38251
a4186cff
PT
38252 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38253 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38254 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38255 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38256 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38257 d->port.lock.
802ca5a5 38258
a4186cff
PT
38259 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38260 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38261 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38262
bcf55240
TS
382632012-05-10 Thomas Schwinge <thomas@schwinge.name>
38264
6960eb42
TS
38265 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38266 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38267 definitions.
38268
eb43375f
TS
38269 accept4 for GNU Hurd.
38270 * include/sys/socket.h (__libc_accept4): New prototype.
38271 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38272 to implement __libc_accept4.
38273 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38274 __libc_accept4.
38275 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38276
bcf55240
TS
38277 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38278 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38279 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38280 signal-defines.sym.
38281
6178c55b
ST
382822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38283
a4186cff 38284 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38285
6f080c2f
TS
382862012-05-10 Thomas Schwinge <thomas@schwinge.name>
38287
38288 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38289 assertion on O_CLOEXEC flag.
38290 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38291 * hurd/intern-fd.c: Likewise.
38292 * hurd/port2fd.c: Likewise.
38293
bcfe3a54
ST
382942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38295
38296 [BZ #3906]
38297 * bits/in.h (IPV6_PKTINFO): Define new macro.
38298 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38299
89c9aa49
AZ
383002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38301
38302 [BZ #13954]
38303 [BZ #13955]
38304 [BZ #13956]
38305 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38307 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38308 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38310 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38311 * math/libm-test.inc (logb_test) : Additional logb tests.
38312
021db4be
AJ
383132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38314 Andreas Jaeger <aj@suse.de>
38315
38316 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38317 * configure: Regenerated.
38318 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38319 * config.make.in (link-obsolete-rpc): New substituted variable.
38320 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38321 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38322 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38323 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38324 so that libc.a contains the symbols.
38325 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38326 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38327 * sunrpc/auth_none.c: Likewise.
38328 * sunrpc/auth_unix.c: Likewise.
38329 * sunrpc/authdes_prot.c: Likewise.
38330 * sunrpc/authuxprot.c: Likewise.
38331 * sunrpc/clnt_gen.c: Likewise.
38332 * sunrpc/clnt_perr.c: Likewise.
38333 * sunrpc/clnt_raw.c: Likewise.
38334 * sunrpc/clnt_simp.c: Likewise.
38335 * sunrpc/clnt_tcp.c: Likewise.
38336 * sunrpc/clnt_udp.c: Likewise.
38337 * sunrpc/clnt_unix.c: Likewise.
38338 * sunrpc/des_crypt.c: Likewise.
38339 * sunrpc/des_soft.c: Likewise.
38340 * sunrpc/get_myaddr.c: Likewise.
38341 * sunrpc/key_call.c: Likewise.
38342 * sunrpc/key_prot.c: Likewise.
38343 * sunrpc/netname.c: Likewise.
38344 * sunrpc/pm_getmaps.c: Likewise.
38345 * sunrpc/pm_getport.c: Likewise.
38346 * sunrpc/pmap_clnt.c: Likewise.
38347 * sunrpc/pmap_prot.c: Likewise.
38348 * sunrpc/pmap_prot2.c: Likewise.
38349 * sunrpc/pmap_rmt.c: Likewise.
38350 * sunrpc/publickey.c: Likewise.
38351 * sunrpc/rpc_cmsg.c: Likewise.
38352 * sunrpc/rpc_common.c: Likewise.
38353 * sunrpc/rpc_dtable.c: Likewise.
38354 * sunrpc/rpc_prot.c: Likewise.
38355 * sunrpc/rpc_thread.c: Likewise.
38356 * sunrpc/rtime.c: Likewise.
38357 * sunrpc/svc.c: Likewise.
38358 * sunrpc/svc_auth.c: Likewise.
38359 * sunrpc/svc_raw.c: Likewise.
38360 * sunrpc/svc_run.c: Likewise.
38361 * sunrpc/svc_tcp.c: Likewise.
38362 * sunrpc/svc_udp.c: Likewise.
38363 * sunrpc/svc_unix.c: Likewise.
38364 * sunrpc/svcauth_des.c: Likewise.
38365 * sunrpc/xcrypt.c: Likewise.
38366 * sunrpc/xdr.c: Likewise.
38367 * sunrpc/xdr_array.c: Likewise.
38368 * sunrpc/xdr_float.c: Likewise.
38369 * sunrpc/xdr_intXX_t.c: Likewise.
38370 * sunrpc/xdr_mem.c: Likewise.
38371 * sunrpc/xdr_rec.c: Likewise.
38372 * sunrpc/xdr_ref.c: Likewise.
38373 * sunrpc/xdr_sizeof.c: Likewise.
38374 * sunrpc/xdr_stdio.c: Likewise.
38375
b5c086a2
RM
383762012-05-10 Roland McGrath <roland@hack.frob.com>
38377
38378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38379 change. Update copyright years.
38380
6d74dd09
JM
383812012-05-10 Joseph Myers <joseph@codesourcery.com>
38382
38383 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38384
28e72501
MK
383852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38386 Joseph Myers <joseph@codesourcery.com>
38387 Paul Pluzhnikov <ppluzhnikov@google.com>
38388
38389 [BZ #14012]
38390 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38391 requiring rpcgen.
38392 [cross-compiling] (extra-libs): Likewise.
38393 [cross-compiling] (extra-libs-others): Likewise.
38394 [cross-compiling] (librpcsvc-routines): Likewise.
38395 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38396 [cross-compiling] (omit-deps): Likewise.
38397 (sunrpc-CPPFLAGS): New variable.
38398 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38399 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38400 (cross-rpcgen-objs): New variable.
38401 (extra-objs): Append $(cross-rpcgen-objs).
38402 ($(cross-rpcgen-objs)): New rule.
38403 ($(objpfx)cross-rpcgen): Likewise.
38404 (rpcgen-cmd): Define to use $(built-program-file). Expand
38405 comment.
38406 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38407 ($(objpfx)x%.stmp): Likewise.
38408 * sunrpc/proto.h [IS_IN_build] (_): Define.
38409 [IS_IN_build] (_libc_intl_domainname): Likewise.
38410
c8c59454
L
384112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38412
38413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38414 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38415 and R_X86_64_TPOFF64.
38416
6f27cd16
JM
384172012-05-10 Joseph Myers <joseph@codesourcery.com>
38418
38419 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38420 sysdeps/unix/sysv/syscalls.list.
38421 (stime): Likewise.
38422 (utime): Likewise.
38423 * sysdeps/unix/sysv/syscalls.list: Remove file.
38424
02467e1c
PE
384252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38426
38427 [BZ #3440]
38428 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38429 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38430 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38431 (__LC_IDENTIFICATION): Make these macros useful in #if
38432 expressions, as required by C99.
38433
da392631
AS
384342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38435
38436 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38437 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38438 after this.
38439
8115f29b
L
384402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38441
38442 * stdlib/longlong.h: Updated from GCC.
38443
bdd74070
AJ
384442012-05-09 Andreas Jaeger <aj@suse.de>
38445
edfe0dbe
AJ
38446 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38447 default is first entry.
38448 (run_mode): Set type.
38449 (main): Remove informal message about syslog.
38450 (options): Fix typo.
38451
bcfe3a54
ST
38452 [BZ #14053]
38453 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38454 to asm.
bcfe3a54
ST
38455 (lrint): Likewise.
38456 (llrintf): Likewise.
38457 (llrint): Likewise.
38458 (rint): Likewise.
38459 (rintf): Likewise.
38460 (nearbyint): Likewise.
38461 (nearbyintf): Likewise.
bdd74070 38462
91d8d69e
AJ
384632012-05-09 Andreas Jaeger <aj@suse.de>
38464 Pedro Alves <palves@redhat.com>
38465
38466 * nscd/nscd.c (run_mode): Use enum.
38467 (main): Cleanup coding style issue.
38468
bb90b80b
AJ
384692012-05-09 Alexandre Oliva <aoliva@redhat.com>
38470 Andreas Jaeger <aj@suse.de>
38471
bcfe3a54
ST
38472 * nscd/nscd.c (go_background): Replaced with...
38473 (run_mode): ... this.
bb90b80b 38474 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38475 (options): Add -F --foreground.
38476 (main): Implement it.
38477 (parse_opt): Parse it.
bb90b80b 38478
1a4b75a1
AJ
384792012-05-09 Andreas Jaeger <aj@suse.de>
38480
38481 [BZ #14083]
38482 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38483 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38484 -Wconversion warning.
38485 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38486 Likewise.
38487
b1cc2472
JM
384882012-05-09 Joseph Myers <joseph@codesourcery.com>
38489
38490 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38491 == 0.
38492 (LC_ALL): Use macro-int-constant.
38493 (LC_COLLATE): Likewise.
38494 (LC_CTYPE): Likewise.
38495 (LC_MESSAGES): Likewise.
38496 (LC_MONETARY): Likewise.
38497 (LC_NUMERIC): Likewise.
38498 (LC_TIME): Likewise.
38499 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38500 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38502 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38503 Specify type.
38504 [C99-based standards] (float_t): Expect type.
38505 [C99-based standards] (double_t): Expect type.
38506 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38507 type.
38508 [C99-based standards] (HUGE_VALL): Likewise.
38509 [C99-based standards] (INFINITY): Likewise.
38510 [C99-based standards] (NAN): Likewise.
38511 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38512 [C99-based standards] (FP_NAN): Likewise.
38513 [C99-based standards] (FP_NORMAL): Likewise.
38514 [C99-based standards] (FP_SUBNORMAL): Likewise.
38515 [C99-based standards] (FP_ZERO): Likewise.
38516 [C99-based standards] (FP_FAST_FMA): Use
38517 optional-macro-int-constant. Specify type. Require == 1.
38518 [C99-based standards] (FP_FAST_FMAF): Likewise.
38519 [C99-based standards] (FP_FAST_FMAL): Likewise.
38520 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38521 [C99-based standards] (FP_ILOGBNAN): Likewise.
38522 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38523 Specify type.
38524 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38525 [C99-based standards] (math_errhandling): Specify type.
38526 [ISO99 || ISO11] (signgam): Do not allow.
38527 [non-C99-based standards] (copysignf): Do not allow.
38528 [non-C99-based standards] (exp2f): Likewise.
38529 [non-C99-based standards] (log2f): Likewise.
38530 [non-C99-based standards] (modff): Allow.
38531 [non-C99-based standards] (erff): Do not allow.
38532 [non-C99-based standards] (erfcf): Likewise.
38533 [non-C99-based standards] (gammaf): Likewise.
38534 [non-C99-based standards] (hypotf): Likewise.
38535 [non-C99-based standards] (j0f): Likewise.
38536 [non-C99-based standards] (j1f): Likewise.
38537 [non-C99-based standards] (jnf): Likewise.
38538 [non-C99-based standards] (lgammaf): Likewise.
38539 [non-C99-based standards] (tgammaf): Likewise.
38540 [non-C99-based standards] (y0f): Likewise.
38541 [non-C99-based standards] (y1f): Likewise.
38542 [non-C99-based standards] (ynf): Likewise.
38543 [non-C99-based standards] (isnanf): Likewise.
38544 [non-C99-based standards] (acoshf): Likewise.
38545 [non-C99-based standards] (asinhf): Likewise.
38546 [non-C99-based standards] (atanhf): Likewise.
38547 [non-C99-based standards] (cbrtf): Likewise.
38548 [non-C99-based standards] (expm1f): Likewise.
38549 [non-C99-based standards] (ilogbf): Likewise.
38550 [non-C99-based standards] (log1pf): Likewise.
38551 [non-C99-based standards] (logbf): Likewise.
38552 [non-C99-based standards] (nextafterf): Likewise.
38553 [non-C99-based standards] (remainderf): Likewise.
38554 [non-C99-based standards] (rintf): Likewise.
38555 [non-C99-based standards] (scalbf): Likewise.
38556 [non-C99-based standards] (copysignl): Likewise.
38557 [non-C99-based standards] (exp2l): Likewise.
38558 [non-C99-based standards] (log2l): Likewise.
38559 [non-C99-based standards] (modfl): Allow.
38560 [non-C99-based standards] (erfl): Do not allow.
38561 [non-C99-based standards] (erfcl): Likewise.
38562 [non-C99-based standards] (gammal): Likewise.
38563 [non-C99-based standards] (hypotl): Likewise.
38564 [non-C99-based standards] (j0l): Likewise.
38565 [non-C99-based standards] (j1l): Likewise.
38566 [non-C99-based standards] (jnl): Likewise.
38567 [non-C99-based standards] (lgammal): Likewise.
38568 [non-C99-based standards] (tgammal): Likewise.
38569 [non-C99-based standards] (y0l): Likewise.
38570 [non-C99-based standards] (y1l): Likewise.
38571 [non-C99-based standards] (ynl): Likewise.
38572 [non-C99-based standards] (isnanl): Likewise.
38573 [non-C99-based standards] (acoshl): Likewise.
38574 [non-C99-based standards] (asinhl): Likewise.
38575 [non-C99-based standards] (atanhl): Likewise.
38576 [non-C99-based standards] (cbrtl): Likewise.
38577 [non-C99-based standards] (expm1l): Likewise.
38578 [non-C99-based standards] (ilogbl): Likewise.
38579 [non-C99-based standards] (log1pl): Likewise.
38580 [non-C99-based standards] (logbl): Likewise.
38581 [non-C99-based standards] (nextafterl): Likewise.
38582 [non-C99-based standards] (remainderl): Likewise.
38583 [non-C99-based standards] (rintl): Likewise.
38584 [non-C99-based standards] (scalbl): Likewise.
38585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38586 [non-C99-based standards] (FP_*): Do not allow.
38587 [C99-based standards] (FP_*): Change to
38588 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38589 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38590 allow.
38591 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38592 (SIG_ERR): Likewise.
38593 [X/Open-based standards] (SIG_HOLD): Likewise.
38594 (SIG_IGN): Likewise.
38595 (SIGABRT): Use macro-int-constant. Specify type. Require
38596 positive value.
38597 (SIGFPE): Likewise.
38598 (SIGILL): Likewise.
38599 (SIGINT): Likewise.
38600 (SIGSEGV): Likewise.
38601 (SIGTER): Likewise.
38602 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38603 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38604 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38605 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38606 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38607 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38608 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38609 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38610 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38611 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38612 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38613 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38614 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38615 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38616 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38617 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38618 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38619 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38620 [X/Open-based standards] (SIGTRAP): Likewise.
38621 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38622 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38623 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38624 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38625 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38626 allow.
38627
b9f1922d
IW
386282012-05-08 Ian Wienand <ianw@vmware.com>
38629
38630 [BZ #14080]
38631 * time/tzset.c (__tzset_parse_tz): Update default rules for
38632 daylight time changes in the Energy Policy Act of 2005.
38633
1db86e88
AJ
386342012-05-09 Andreas Jaeger <aj@suse.de>
38635
38636 [BZ #13983]
38637 * elf/ldconfig.c (parse_conf): Change string to make clear that
38638 ldconfig only issued a warning if ld.so.conf does not exist.
38639
dee4a4e3
DM
386402012-05-08 David S. Miller <davem@davemloft.net>
38641
ee0db190
DM
38642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38643 movxtod instead of popping the value on the stack.
38644
dee4a4e3
DM
38645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38646
6a43ec98
CD
386472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38648
38649 * config.h.in: Add HAVE_ARM_PCS_VFP.
38650
05c2c961
RMG
386512012-05-08 Roland Mc Grath <roland@hack.frob.com>
38652
bcfe3a54
ST
38653 [BZ #13979]
38654 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38655 checking but the checks are disabled for any reason.
05c2c961 38656
4b30f61a
L
386572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38658
38659 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38660 and ELF64_R_TYPE with ELFW(R_TYPE).
38661
eee2bc67
JM
386622012-05-08 Joseph Myers <joseph@codesourcery.com>
38663
7ea5391a
JM
38664 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38665 (ulimit): Likewise.
38666
eee2bc67
JM
38667 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38668 (settimeofday): Likewise.
38669
abb66a67
MF
386702012-05-08 Mike Frysinger <vapier@gentoo.org>
38671
38672 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38673 a struct th_u2 inside the union, and move tu_block/tu_code into
38674 a new th_u3 union of tu_block/tu_code inside of that. Move
38675 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38676 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38677 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38678 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38679 (th_stuff): Change to th_u1.tu_stuff.
38680 (th_data): Define.
38681 (th_msg): Change to th_u1.th_u2.tu_data.
38682
7f18b530
DM
386832012-05-07 David S. Miller <davem@davemloft.net>
38684
05760585
DM
38685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38686
7f18b530
DM
38687 [BZ #14074]
38688 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38689 (SETUP_PIC_REG): Use it.
38690 (SETUP_PIC_REG_LEAF): Use it.
38691
495fd99f
JM
386922012-05-07 Joseph Myers <joseph@codesourcery.com>
38693
38694 [BZ #13885]
38695 [BZ #13923]
38696 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38697 USE_AS_EXPM1L.
38698 (EXPL_FINITE): Likewise.
38699 (FLDLOG): Likewise.
38700 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38701 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38702 e_expl.S.
38703 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38704 USE_AS_EXPM1L.
38705 (EXPL_FINITE): Likewise.
38706 (FLDLOG): Likewise.
38707 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38708 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38709 e_expl.S.
38710 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38711 test of -max_value argument for long double.
38712 * sysdeps/i386/fpu/libm-test-ulps: Update.
38713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38714
6693d694
DM
387152012-05-06 David S. Miller <davem@davemloft.net>
38716
38717 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38718 quad soft-float symbols whose references which are compiler
38719 generated.
38720 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38721
6c23e11c
JM
387222012-05-06 Joseph Myers <joseph@codesourcery.com>
38723
d8b82cad
JM
38724 [BZ #13884]
38725 [BZ #13914]
38726 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38727 USE_AS_EXP10L.
38728 (EXPL_FINITE): Likewise.
38729 (FLDLOG): Likewise.
38730 (c0): Likewise.
38731 (c1): Likewise.
38732 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38733 Adjust comments for base varying.
38734 (__expl_finite): Change alias to EXPL_FINITE.
38735 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38736 e_expl.S.
38737 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38738 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38740 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38741 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38742 USE_AS_EXP10L.
38743 (EXPL_FINITE): Likewise.
38744 (FLDLOG): Likewise.
38745 (c0): Likewise.
38746 (c1): Likewise.
38747 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38748 Adjust comments for base varying.
38749 (__expl_finite): Change alias to EXPL_FINITE.
38750 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38751 tests for bugs.
38752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38753
6c23e11c
JM
38754 [BZ #14064]
38755 * math/libm-test.inc (check_float_internal): Correct ulp
38756 calculation for subnormal expected results.
38757
29ba805c
AJ
387582012-05-06 Andreas Jaeger <aj@suse.de>
38759
38760 * Makeconfig (+math-flags): New, set to -frounding-math.
38761 (+cflags): Add +math-flags so that all of glibc gets compiled with
38762 it.
38763
38764 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38765
7b17aeda
JM
387662012-05-05 Joseph Myers <joseph@codesourcery.com>
38767
5779f134
JM
38768 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38769 Disable one test.
38770
41498f4d
JM
38771 [BZ #13787]
38772 [BZ #13922]
38773 [BZ #14036]
38774 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38775 (__ieee754_expl): Allow for and saturate large arguments.
38776 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38777 (u_threshold): Likewise.
38778 (__exp): Call __ieee754_exp before checking for overflow and
38779 underflow.
38780 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38781 (u_threshold): Likewise.
38782 (__expf): Call __ieee754_expf before checking for overflow and
38783 underflow.
38784 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38785 (u_threshold): Likewise.
38786 (__expl): Call __ieee754_expl before checking for overflow and
38787 underflow.
38788 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38789 (__ieee754_expl): Allow for and saturate large arguments.
38790 * math/libm-test.inc (exp_test): Add another test. Do not allow
38791 missing overflow exception on overflow.
38792 (expm1_test): Do not allow missing overflow exception on overflow.
38793
6698b8bf
JM
38794 * sysdeps/i386/fpu/e_expl.c: Move to ...
38795 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38796 rather than using inline asm.
38797 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38798 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38799 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38800
7b17aeda
JM
38801 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38802 (nice): Likewise.
38803 (poll): Likewise.
38804 (signal): Likewise.
38805 (time): Likewise.
38806 (times): Likewise.
38807
f7c85819
JM
388082012-05-04 Joseph Myers <joseph@codesourcery.com>
38809
38810 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38811 sysdeps/unix/common/syscalls.list.
38812 (fchmod): Likewise.
38813 (fchown): Likewise.
38814 (ftruncate): Likewise.
38815 (getrusage): Likewise.
38816 (gettimeofday): Likewise.
38817 (setpgid): Likewise.
38818 (setregid): Likewise.
38819 (setreuid): Likewise.
38820 (sigaction): Likewise.
38821 (truncate): Likewise.
38822 (vhangup): Likewise.
38823 * sysdeps/unix/common/syscalls.list: Remove file.
38824 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38825 * sysdeps/unix/sysv/linux/Implies: Likewise.
38826
336270d0
L
388272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38828
38829 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38831 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38832 Moved to ...
38833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38834 Here.
38835 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38836 to ...
38837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38838 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38839 to ...
38840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38841 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38842 to ...
38843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38844 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38845 to ...
38846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38847 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38848 to ...
38849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38850 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38851 to ...
38852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38853 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38854 to ...
38855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38856 Here.
38857 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38858 to ...
38859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38860 Here.
38861 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38862 to ...
38863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38864 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38865 Moved to ...
38866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38867 Here.
38868 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38869 to ...
38870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38871
d128e450
JM
388722012-05-04 Joseph Myers <joseph@codesourcery.com>
38873
fa8ee516
JM
38874 * sysdeps/unix/common/bits/dirent.h: Remove file.
38875 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38876
d128e450
JM
38877 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38878 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38879 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38880 * sysdeps/unix/bsd/isatty.c: Likewise.
38881 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38882 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38883 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38884
ff8faaf0 388852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38886
62881be4 38887 [BZ #13563]
31dc8730
AZ
38888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38889 long double comparison inaccuracies.
38890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38892
6fef930c
AS
388932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38894
38895 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38897
8f203e6c
JM
388982012-05-04 Joseph Myers <joseph@codesourcery.com>
38899
38900 [BZ #14049]
38901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38902 nonzero digits before rounding a hex value.
38903 * stdlib/tst-strtod.c (tests): Add another test.
38904
5197d9c2
AK
389052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38906
38907 * sysdeps/s390/fpu/libm-test-ulps: Update.
38908
f0c1dedf
AJ
389092012-05-03 Andreas Jaeger <aj@suse.de>
38910
38911 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38912 does not get optimized out.
38913 (malloc_opt_barrier): New.
38914
a65ef2ae 389152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38916 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38917
2b942cb7 38918 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38919 intermediate file deletion.
2b942cb7 38920 (generated): Add .symlist files.
a65ef2ae 38921
54b71e02
JM
389222012-05-03 Joseph Myers <joseph@codesourcery.com>
38923
38924 [BZ #13775]
38925 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38926 Redirect under this condition.
38927 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38928 [__USE_GNU] (__dprintf_chk): Not under this condition.
38929 [__USE_GNU] (__vdprintf_chk): Likewise.
38930 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38931 under this condition.
38932 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38933 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38934 [__USE_XOPEN2K8] (vdprintf): Likewise.
38935 [__USE_GNU] (__dprintf_chk): Not under this condition.
38936 [__USE_GNU] (__vdprintf_chk): Likewise.
38937 [__USE_GNU] (dprintf): Likewise.
38938 [__USE_GNU] (vdprintf): Likewise.
38939
d3dfcc41
RM
389402012-05-03 Roland McGrath <roland@hack.frob.com>
38941
38942 * elf/Makefile (common-generated): Set this instead of generated for
38943 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38944 $(all-built-dso)-derived lists.
38945
7ac30cc5
AJ
389462012-05-03 Andreas Jaeger <aj@suse.de>
38947
0c51e550
AJ
38948 * sysdeps/i386/fpu/libm-test-ulps: Update.
38949
7ac30cc5
AJ
38950 * FAQ: Removed.
38951 * FAQ.in: Likewise.
38952 * scripts/gen-FAQ.pl: Likewise.
38953 * manual/install.texi (Installation): Point to online location of
38954 FAQ.
38955 * Makefile (files-for-dist): Remove FAQ.
38956 (FAQ): Remove.
38957
d4c2917f
AM
389582012-05-02 Allan McRae <allan@archlinux.org>
38959
38960 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38961 (LDFLAGS-reldepmod5.so): Likewise.
38962 (LDFLAGS-reldep6mod1.so): Likewise.
38963 (LDFLAGS-reldep6mod4.so): Likewise.
38964 (LDFLAGS-reldep8mod3.so): Likewise.
38965 (LDFLAGS-unload4mod1.so): Likewise.
38966 (LDFLAGS-unload4mod2.so): Likewise.
38967 (LDFLAGS-tst-initorder): Likewise.
38968 (LDFLAGS-tst-initordera2.so): Likewise.
38969 (LDFLAGS-tst-initordera3.so): Likewise.
38970 (LDFLAGS-tst-initordera4.so): Likewise.
38971 (LDFLAGS-tst-initorderb2.so): Likewise.
38972 (LDFLAGS-noload): Likewise.
38973 (LDFLAGS-next): Likewise.
38974 (LDFLAGS-order2mod1.so): Likewise.
38975 (LDFLAGS-order2mod2.so): Likewise.
38976 (LDFLAGS-tst-initorder2): Likewise.
38977 (LDFLAGS-tst-initorder2a.so): Likewise.
38978 (LDFLAGS-tst-initorder2b.so): Likewise.
38979 (LDFLAGS-tst-initorder2c.so): Likewise.
38980 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38981
d77f993f
DM
389822012-05-02 David S. Miller <davem@davemloft.net>
38983
38984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38985
171a70b4
PP
389862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38987
38988 [BZ #14055]
38989 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38990
0be196ad
AJ
389912012-05-02 Andreas Jaeger <aj@suse.de>
38992
38993 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38994 since we manipulate rounding mode.
38995 (CPPFLAGS-test-idouble.c): Likewise.
38996 (CPPFLAGS-test-ifloat.c): Likewise.
38997 (CFLAGS-test-ldouble.c): Likewise.
38998 (CFLAGS-test-double.c): Likewise.
38999 (CFLAGS-test-float.c): Likewise.
39000 (CFLAGS-test-misc.c): Likewise.
39001 (CFLAGS-test-test-fenv.c): Likewise.
39002
4f9d04aa
AZ
390032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39004
2b942cb7
RM
39005 [BZ #2550]
39006 [BZ #2570]
39007 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39008 comparisons to determine direction to adjust input.
4f9d04aa 39009
82a79e7d
RM
390102012-05-01 Roland McGrath <roland@hack.frob.com>
39011
f5a01ca9
RM
39012 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39013 output to the target.
39014
90fe4186
RM
39015 * scripts/localplt.awk: New file.
39016 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39017 (check-localplt-CFLAGS): Variable removed.
39018 ($(all-built-dso:=.jmprel)): New static pattern rule.
39019 (generated): Add those targets.
39020 (localplt-built-dso): New variable.
39021 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39022
39023 * elf/check-localplt.c: File removed.
39024
82397ed6
RM
39025 * scripts/check-execstack.awk: New file.
39026 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39027 (check-execstack-CFLAGS): Variable removed.
39028 ($(objpfx)check-execstack.h): Target removed.
39029 ($(objpfx)execstack-default): New target.
39030 (generated): Add that instead of check-execstack.h.
39031 ($(all-built-dso:=.phdr)): New static pattern rule.
39032 (generated): Add those targets.
39033 * elf/check-execstack.c: File removed.
39034
82a79e7d
RM
39035 * scripts/check-textrel.awk: New file.
39036 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39037 (check-textrel-CFLAGS): Variable removed.
39038 (all-built-dso): Use := to define.o
39039 ($(all-built-dso:=.dyn)): New static pattern rule.
39040 (generated): Add those targets.
39041 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39042 * config.make.in (READELF): New substituted variable.
39043 * elf/check-textrel.c: File removed.
39044
62fde54f 390452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39046
615605c9
JM
39047 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39048 allow.
39049 * conform/data/ctype.h-data [C99-based standards] (isblank):
39050 Expect function.
39051 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39052 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39053 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39054 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39055 Specify type. Require positive value.
39056 (EILSEQ): Likewise.
39057 (ERANGE): Likewise.
39058 [ISO || POSIX] (EILSEQ): Do not expect.
39059 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39060 Specify type. Require positive value.
39061 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39062 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39063 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39064 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39065 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39066 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39067 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39068 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39069 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39070 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39071 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39072 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39073 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39074 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39075 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39076 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39077 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39078 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39079 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39080 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39081 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39082 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39083 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39084 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39085 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39086 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39087 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39088 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39089 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39090 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39091 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39092 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39093 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39094 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39095 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39096 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39097 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39098 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39099 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39100 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39101 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39102 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39103 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39104 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39105 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39106 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39107 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39108 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39109 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39110 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39111 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39112 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39113 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39114 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39115 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39116 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39117 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39118 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39119 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39120 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39121 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39122 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39123 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39124 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39125 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39126 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39127 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39128 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39129 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39130 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39131 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39132 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39133 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39134 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39135 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39136 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39137 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39138 Require >= 2.
39139 (FLT_ROUNDS): Expect as macro, not constant.
39140 (FLT_MANT_DIG): Use macro-int-constant.
39141 (DBL_MANT_DIG): Likewise.
39142 (LDBL_MANT_DIG): Likewise.
39143 (FLT_DIG): Likewise.
39144 (DBL_DIG): Likewise.
39145 (LDBL_DIG): Likewise.
39146 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39147 (DBL_MIN_EXP): Likewise.
39148 (LDBL_MIN_EXP): Likewise.
39149 (FLT_MAX_EXP): Use macro-int-constant.
39150 (DBL_MAX_EXP): Likewise.
39151 (LDBL_MAX_EXP): Likewise.
39152 (FLT_MAX_10_EXP): Likewise.
39153 (DBL_MAX_10_EXP): Likewise.
39154 (LDBL_MAX_10_EXP): Likewise.
39155 (FLT_MAX): Use macro-constant.
39156 (DBL_MAX): Likewise.
39157 (LDBL_MAX): Likewise.
39158 (FLT_EPSILON): Use macro-constant. Give upper bound.
39159 (DBL_EPSILON): Likewise.
39160 (LDBL_EPSILON): Likewise.
39161 (FLT_MIN): Likewise.
39162 (DBL_MIN): Likewise.
39163 (LDBL_MIN): Likewise.
39164 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39165 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39166 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39167 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39168 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39169 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39170 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39171 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39172 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39173 [ISO11] (FLT_TRUE_MIN): Likewise.
39174 [ISO11] (LDBL_TRUE_MIN): Likewise.
39175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39176 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39177 (SCHAR_MIN): Use macro-int-constant. Specify type.
39178 (SCHAR_MAX): Likewise.
39179 (UCHAR_MAX): Likewise.
39180 (CHAR_MIN): Likewise.
39181 (CHAR_MAX): Likewise.
39182 (MB_LEN_MAX): Use macro-int-constant.
39183 (SHRT_MIN): Use macro-int-constant. Specify type.
39184 (SHRT_MAX): Likewise.
39185 (USHRT_MAX): Likewise.
39186 (INT_MAX): Likewise.
39187 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39188 bound negative.
39189 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39190 bound with "U".
39191 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39192 bound with "L".
39193 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39194 bound negative. Suffix upper bound with "L".
39195 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39196 bound with "UL".
39197 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39198 Specify type.
39199 [C99-based standards] (LLONG_MAX): Likewise.
39200 [C99-based standards] (ULLONG_MAX): Likewise.
39201 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39202 == 0.
39203 [ISO11] (max_align_t): Require type.
39204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39205
c9140a62
JM
39206 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39207 from $CFLAGS, without defining away __attribute__ calls.
39208 (checknamespace): Use $CFLAGS_namespace.
39209
9af0bf29
JM
39210 * conform/conformtest.pl (@keywords): Only include C99 keywords
39211 for standards based on C99 or C11.
39212
343222a2
JM
39213 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39214 Disable tests.
39215 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39216 UNIX98]: Likewise.
39217
661f8cf0
JM
39218 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39219 usability of symbols in #if.
39220
ee74b9cb
JM
39221 * conform/conformtest.pl: If macro or constant types start
39222 "promoted:", expect the symbol to be of the following type
39223 promoted by the integer promotions.
62fde54f 39224
aafc49b3
JM
39225 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39226 in one place. Also handle "macro-constant".
39227
fefdf574
JM
39228 * conform/conformtest.pl: Only accept expected macro values with
39229 "==". Parse all "macro" lines in one place.
39230 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39231
f2d922fe
JM
39232 * conform/conformtest.pl: Handle braced types on "constant" lines
39233 instead of handling "typed-constant".
39234 * conform/data/signal.h-data: Use "constant" instead of
39235 "typed-constant".
39236
d22956c9
JM
39237 * conform/conformtest.pl: Handle "optional-" at start of lines in
39238 one place rather than duplicating several cases. Handle each
39239 format of "macro" line with initial "optional-".
39240
028e2e38
JM
39241 * conform/conformtest.pl: Only accept expected constant or
39242 optional-constant values with "==". Parse all "constant" lines in
39243 one place. Parse all "optional-constant" lines in one place.
39244 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39245 * conform/data/fmtmsg.h-data: Likewise.
39246 * conform/data/netinet/in.h-data: Likewise.
39247 * conform/data/tar.h-data: Likewise.
39248 * conform/data/limits.h-data: Use "==" form on "constant" and
39249 "optional-constant" lines.
39250
1b8f2850
JM
39251 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39252 Use -std=c99 for XOPEN2K.
39253 (@knownproblems): Remove.
39254 (newtoken): Don't check %isknown.
39255
a05a144b
JM
39256 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39257 Do not expect macro.
39258 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39259 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39260 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39261 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39262 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39263 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39264 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39265 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39266 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39267 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39268 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39269 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39270 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39271 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39272 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39273 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39274 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39275 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39276 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39277 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39278 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39279 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39280 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39281 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39282 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39283 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39284 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39285 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39286 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39287 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39288 [XPG3] (acosh): Likewise.
39289 [XPG3] (asinh): Likewise.
39290 [XPG3] (atanh): Likewise.
39291 [XPG3] (cbrt): Likewise.
39292 [XPG3] (expm1): Likewise.
39293 [XPG3] (ilogb): Likewise.
39294 [XPG3] (log1p): Likewise.
39295 [XPG3] (logb): Likewise.
39296 [XPG3] (nextafter): Likewise.
39297 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39298 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39299 [XPG3] (remainder): Likewise.
39300 [XPG3] (rint): Likewise.
39301 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39302 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39303 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39304 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39305 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39306 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39307 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39308 [UNIX98 || XOPEN2K] (scalb): Expect.
39309 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39310 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39311 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39312 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39313 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39314 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39315 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39316 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39317 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39318 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39319 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39320 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39321 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39322 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39323 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39324 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39325 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39326 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39327 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39328 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39329 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39330 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39331 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39332 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39333 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39334 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39335 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39336 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39337 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39338 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39339 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39340 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39341 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39342 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39343 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39344 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39345 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39346 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39347 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39348 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39349 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39350 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39351 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39352 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39353 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39354 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39355 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39356 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39357 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39358 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39359 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39360 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39361 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39362 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39363 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39364 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39365 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39366 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39367 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39368 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39369 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39370 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39371 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39372 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39373 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39374 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39375 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39376 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39377 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39378 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39379 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39380 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39381 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39382 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39383 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39384 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39385 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39386 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39387 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39388 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39389 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39390 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39391 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39392 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39393 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39394 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39395 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39396 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39397 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39398 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39400 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39401 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39402 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39403 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39404 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39405 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39406 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39407 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39408 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39409 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39410 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39411 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39412 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39413 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39414 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39415 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39416 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39417 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39418 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39419 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39420 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39421 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39422 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39423 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39424 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39425 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39426 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39427 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39428 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39429 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39430 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39431 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39432 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39433 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39434 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39435 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39436 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39437 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39438 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39439 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39440 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39441 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39442 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39443 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39444 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39445 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39446
73c5ebe3
JM
39447 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39448 _XOPEN_SOURCE_EXTENDED for XPG4.
39449
39c33b6c
JM
39450 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39451
62fde54f
JM
39452 * Makeconfig (localtime): Remove variable.
39453 (inst_localtime-file): Likewise.
39454
0741d64c
AS
394552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39456
39457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39458 Update.
39459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39460 Update.
39461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39462 Update.
39463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39464 Update.
39465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39466 Update.
39467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39468 Update.
39469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39470 Update.
39471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39472 Update.
39473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39474 Update.
39475
7cb029ee
JM
394762012-05-01 Joseph Myers <joseph@codesourcery.com>
39477
39478 [BZ #2550]
39479 [BZ #2570]
39480 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39481 comparisons to determine direction to adjust input.
39482 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39483 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39484 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39485 Likewise.
39486 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39487 Likewise.
39488 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39489 Likewise.
39490 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39491 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39492 Likewise.
39493 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39494 Likewise.
39495 * math/libm-test.inc (nexttoward_test): Add more tests.
39496
412bd966
AS
394972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39498
39499 [BZ #14040]
39500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39501 in version GLIBC_2.1, not GLIBC_2.0.
39502 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39503 Likewise.
39504
9568c0c2
JM
395052012-04-30 Joseph Myers <joseph@codesourcery.com>
39506
adfbc8ac
JM
39507 [BZ #13942]
39508 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39509 (1 - x) * (1 + x).
39510 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39511 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39512 * math/libm-test.inc (acos_test): Add more tests.
39513 (asin_test): Likewise.
39514 * sysdeps/i386/fpu/libm-test-ulps: Update.
39515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516
5ba3cc69
JM
39517 [BZ #14034]
39518 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39519 of square root.
39520 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39521 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39522 * math/libm-test.inc (acos_test_tonearest): New function.
39523 (acos_test_towardzero): Likewise.
39524 (acos_test_downward): Likewise.
39525 (acos_test_upward): Likewise.
39526 (asin_test_tonearest): Likewise.
39527 (asin_test_towardzero): Likewise.
39528 (asin_test_downward): Likewise.
39529 (asin_test_upward): Likewise.
39530 (main): Call the new functions.
39531 * sysdeps/i386/fpu/libm-test-ulps: Update.
39532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39533
9568c0c2
JM
39534 [BZ #13884]
39535 [BZ #13924]
39536 * math/e_exp10.c: Include <float.h>.
39537 (__ieee754_exp10): Handle underflow here rather than multiplying
39538 large negative argument by M_LN10.
39539 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39540 of __ieee754_expf.
39541 * math/e_exp10l.c: Include <float.h>.
39542 (__ieee754_exp10l): Handle underflow here rather than multiplying
39543 large negative argument by M_LN10l.
39544 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39545 spurious overflow exception on underflow.
39546
5ac3ea17
MP
395472012-04-29 Marek Polacek <polacek@redhat.com>
39548
39549 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39550 (__fortify_function): New macro.
39551 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39552 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39553 __extern_always_inline.
39554 * libio/bits/stdio2.h: Likewise.
39555 * libio/bits/stdio.h: Likewise.
39556 * string/string.h: Likewise.
39557 * string/bits/string3.h: Likewise.
39558 * include/stdio.h: Likewise.
39559 * stdlib/bits/stdlib.h: Likewise.
39560 * stdlib/stdlib.h: Likewise.
39561 * rt/bits/mqueue2.h: Likewise.
39562 * rt/mqueue.h: Likewise.
39563 * posix/bits/unistd.h: Likewise.
39564 * posix/unistd.h: Likewise.
39565 * io/bits/poll2.h: Likewise.
39566 * io/bits/fcntl2.h: Likewise.
39567 * io/fcntl.h: Likewise.
39568 * io/sys/poll.h: Likewise.
39569 * misc/bits/syslog.h: Likewise.
39570 * misc/bits/syslog-ldbl.h: Likewise.
39571 * misc/sys/syslog.h: Likewise.
39572 * socket/bits/socket2.h: Likewise.
39573 * socket/sys/socket.h: Likewise.
39574 * debug/tst-chk1.c: Likewise.
39575 * wcsmbs/bits/wchar2.h: Likewise.
39576 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39577 * wcsmbs/wchar.h: Likewise.
39578
ecf0ebfb
AJ
395792012-04-29 Andreas Jaeger <aj@suse.de>
39580
39581 * Makerules (tests): Remove enable-check-abi protection.
39582 (check-abi-warn): Remove.
39583 (check-abi-%): Remove check-abi-warn usage.
39584
39585 * configure.in: Remove check-abi configure option.
39586 * configure: Regenerated.
39587 * config.make.in (enable-check-abi): Remove.
39588
6d5c57fa
AS
395892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39590
24c5d07e 39591 [BZ #14033]
ded5180a
AS
39592 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39593 double functions to double *_finite functions.
39594
7e0d315d
AS
39595 [BZ #13941]
39596 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39597 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39598 LDBL_MIN_EXP.
39599 * stdio-common/Makefile (tests): Add tst-sprintf3.
39600 * stdio-common/tst-sprintf3.c: New file.
39601
6d5c57fa
AS
39602 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39603 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39604
0749ff8b
JM
396052012-04-28 Joseph Myers <joseph@codesourcery.com>
39606
39607 * conform/conformtest.pl: Remove duplicate typed-constant
39608 handling.
39609
8dbd5d7b
DM
396102012-04-28 David S. Miller <davem@davemloft.net>
39611
39612 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39613 (check-abi-%): Remove AWK script prerequisite and explicit
39614 abilist directory.
39615 (check-abi): Rewrite to just diff the symlist with the abilist.
39616 (config-tls, config-abi-config): Delete, no longer used.
39617 (update-abi-%): Remove AWK script and explicit abilist directory.
39618 (update-abi): Rewrite to simply compare and conditionally copy the
39619 symlist and the sysdep abilist file. Remove update-abi-config
39620 checks.
39621 * abilist/ld.abilist: Remove.
39622 * abilist/libBrokenLocale.abilist: Remove.
39623 * abilist/libanl.abilist: Remove.
39624 * abilist/libcrypt.abilist: Remove.
39625 * abilist/libdl.abilist: Remove.
39626 * abilist/librt.abilist: Remove.
39627 * abilist/libthread_db.abilist: Remove.
39628 * abilist/libutil.abilist: Remove.
39629 * scripts/extract-abilist.awk: Remove.
39630 * scripts/merge-abilist.awk: Remove.
39631 * sysdeps/generic/libcidn.abilist: New file.
39632 * sysdeps/generic/libnss_compat.abilist: New file.
39633 * sysdeps/generic/libnss_db.abilist: New file.
39634 * sysdeps/generic/libnss_dns.abilist: New file.
39635 * sysdeps/generic/libnss_files.abilist: New file.
39636 * sysdeps/generic/libnss_hesiod.abilist: New file.
39637 * sysdeps/generic/libnss_nis.abilist: New file.
39638 * sysdeps/generic/libnss_nisplus.abilist: New file.
39639 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39640 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39641 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39642 file.
39643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39644 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39645 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39646 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39647 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39649 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39650 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39651 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39652 file.
39653 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39654 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39655 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39656 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39657 file.
39658 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39659 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39660 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39661 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39662 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39663 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39664 file.
39665 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39666 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39667 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39668 file.
39669 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39671 New file.
39672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39673 New file.
39674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39675 New file.
39676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39677 New file.
39678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39679 New file.
39680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39681 New file.
39682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39683 New file.
39684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39685 New file.
39686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39687 New file.
39688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39689 New file.
39690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39691 New file.
39692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39693 New file.
39694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39695 New file.
39696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39697 file.
39698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39699 New file.
39700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39701 New file.
39702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39703 file.
39704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39705 New file.
39706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39707 New file.
39708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39709 file.
39710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39711 New file.
39712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39713 New file.
39714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39715 New file.
39716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39717 New file.
39718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39719 New file.
39720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39721 New file.
39722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39724 file.
39725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39726 New file.
39727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39728 file.
39729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39730 file.
39731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39732 file.
39733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39734 file.
39735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39736 file.
39737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39738 New file.
39739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39740 file.
39741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39742 file.
39743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39744 New file.
39745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39746 file.
39747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39749 file.
39750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39751 New file.
39752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39753 file.
39754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39755 file.
39756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39757 file.
39758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39759 file.
39760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39761 file.
39762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39763 New file.
39764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39765 file.
39766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39767 file.
39768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39769 New file.
39770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39771 file.
39772 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39773 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39774 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39775 file.
39776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39777 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39778 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39779 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39780 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39781 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39782 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39783 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39784 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39785 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39788 file.
39789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39790 New file.
39791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39792 file.
39793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39794 file.
39795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39796 file.
39797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39798 file.
39799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39800 file.
39801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39802 New file.
39803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39804 New file.
39805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39806 file.
39807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39808 New file.
39809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39810 file.
39811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39813 file.
39814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39815 New file.
39816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39817 file.
39818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39819 file.
39820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39821 file.
39822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39823 file.
39824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39825 file.
39826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39827 New file.
39828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39829 New file.
39830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39831 file.
39832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39833 New file.
39834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39835 file.
39836
41d73a1b
JM
398372012-04-28 Joseph Myers <joseph@codesourcery.com>
39838
39839 * conform/conformtest.pl: Fix typo in handling typed-constant from
39840 allow-header.
39841
28aeeda4
JM
398422012-04-27 Joseph Myers <joseph@codesourcery.com>
39843
adae8f5e
JM
39844 * README: Cut down references to pre-2.6 Linux kernels and
39845 Linuxthreads. Update lists of configurations in libc and ports
39846 and sort alphabetically. Say "or newer" with Linux kernel version
39847 requirements.
39848
28aeeda4
JM
39849 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39850
a462cb63
RA
398512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39852
39853 [BZ #887]
39854 * math/libm-test.inc (logb_test_downward): New test to expose
39855 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39856 rounding mode.
39857
6ad3493e
JM
398582012-04-27 Joseph Myers <joseph@codesourcery.com>
39859
39860 [BZ #14027]
39861 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39862 to be done.
39863 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39864 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39865
2ce4f015
JM
398662012-04-26 Joseph Myers <joseph@codesourcery.com>
39867
5aeb141a
JM
39868 * sysdeps/unix/i386/brk.S: Remove file.
39869 * sysdeps/unix/i386/dl-brk.S: Likewise.
39870 * sysdeps/unix/i386/pipe.S: Likewise.
39871 * sysdeps/unix/i386/sigreturn.S: Likewise.
39872 * sysdeps/unix/i386/syscall.S: Likewise.
39873 * sysdeps/unix/i386/vfork.S: Likewise.
39874 * sysdeps/unix/i386/wait.S: Likewise.
39875
7143acae
JM
39876 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39877 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39878
2ce4f015
JM
39879 * configure.in (arm*-none*): Do not allow without
39880 --enable-hacker-mode.
39881 (netbsd*): Remove case setting base_os.
39882 (386bsd*): Likewise.
39883 (freebsd*): Likewise.
39884 (bsdi*): Likewise.
39885 (osf*): Likewise.
39886 (sunos*): Likewise.
39887 (ultrix*): Likewise.
39888 (newsos*): Likewise.
39889 (dynix*): Likewise.
39890 (*bsd*): Likewise.
39891 (sysv*): Likewise.
39892 (isc*): Likewise.
39893 (esix*): Likewise.
39894 (sco*): Likewise.
39895 (minix*): Likewise.
39896 (irix4*): Likewise.
39897 (irix6*): Likewise.
39898 (solaris[2-9]*): Likewise.
39899 (none): Likewise.
39900 * configure: Regenerated.
39901
0ac229c8
AZ
399022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39903
39904 [BZ #11521]
39905 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39906 overflow or cancellation in calculating denominator.
39907 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39909 down expression to avoid unexpected rounding in newer GCCs.
39910 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39911
33f244f4
DM
399122012-04-26 David S. Miller <davem@davemloft.net>
39913
39914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39915 long-double compat symbols.
39916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39929
cfa1f3e8
DM
399302012-04-25 David S. Miller <davem@davemloft.net>
39931
39932 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39933 HWCAP_* values only after the memory barriers have been defined.
39934 (atomic_full_barrier): Define.
39935 (atomic_read_barrier): Define.
39936 (atomic_write_barrier): Define.
39937
6e236b92
SP
399382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39939
39940 * shlib-versions: Add libgcc_s version information.
39941 * sysdeps/generic/libgcc_s.h: Remove.
39942 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39943 libgcc_s.h.
39944 * sysdeps/gnu/unwind-resume.c: Likewise.
39945 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39946
aab39a09
DM
399472012-04-25 David S. Miller <davem@davemloft.net>
39948
39949 * sysdeps/unix/sparc/brk.S: Delete.
39950 * sysdeps/unix/sparc/dl-brk.S: Delete.
39951 * sysdeps/unix/sparc/pipe.S: Delete.
39952 * sysdeps/unix/sparc/sysdep.S: Delete.
39953 * sysdeps/unix/sparc/sysdep.h: Delete.
39954 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39955 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39956 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39957 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39958 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39959 (JUMPTARGET): Remove.
39960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39961 sysdeps/unix/sparc/sysdep.h
39962 (ENTRY, END): Remove.
39963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39964
a3cc4f48
JM
399652012-04-25 Joseph Myers <joseph@codesourcery.com>
39966
2ed8cda2
JM
39967 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39968 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39969 -DIS_IN_build.
39970
35d76d59
JM
39971 * timezone/README: Update upstream location and email address for
39972 tzcode and tzdata.
39973 * timezone/zdump.c: Update from tzcode 2012b.
39974 * timezone/zic.c: Likewise.
39975
a3cc4f48
JM
39976 * configure.in (libc_cv_as_needed): Remove test.
39977 * configure: Regenerated.
39978 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39979 conditional definition.
39980 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39981 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39982 * config.make.in (have-as-needed): Remove variable.
39983
ceab42c3
SP
399842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39985 Paul Pluzhnikov <ppluzhnikov@google.com>
39986
39987 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39988 strings correctly.
39989
3ce2865f
CLT
399902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39991
39992 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39993 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39994 * sysdeps/sh/strlen.S: Likewise.
39995
f37e0d68
JM
399962012-04-24 Joseph Myers <joseph@codesourcery.com>
39997
ae186e9a
JM
39998 * sysdeps/unix/fork.S: Remove file.
39999 * sysdeps/unix/i386/fork.S: Likewise.
40000 * sysdeps/unix/sparc/fork.S: Likewise.
40001
b96914af
JM
40002 * sysdeps/unix/system.c: Remove file.
40003 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40004
f37e0d68
JM
40005 * sysdeps/unix/getegid.S: Remove file.
40006 * sysdeps/unix/geteuid.S: Likewise.
40007
87ef29ca
RM
400082012-04-24 Roland McGrath <roland@hack.frob.com>
40009
83bcd236
RM
40010 * scripts/check-localplt.awk: New file.
40011 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40012 of diff.
40013 * scripts/data/localplt-generic.data: Add a comment.
40014
87ef29ca
RM
40015 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40016 NODE when __dir_mkfile failed.
40017 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40018 Reported by Ludovic Courtès <ludo@gnu.org>.
40019
e5a6e567
AJ
400202012-04-24 Andreas Jaeger <aj@suse.de>
40021
40022 * Makerules (common-clean): Also remove gen-as-const-headers
40023 files.
40024
c1820385
JM
400252012-04-24 Joseph Myers <joseph@codesourcery.com>
40026
40027 * Makerules (native-compile): Do not change working directory for
40028 build. Use $(OUTPUT_OPTION) in command.
40029 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40030
94e02fc4
AZ
400312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40032
40033 [BZ #13886]
40034 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40035 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40036 * math/libm-test.inc (floor_test): Add more tests.
40037 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40038
3a533ca3
JM
400392012-04-24 Joseph Myers <joseph@codesourcery.com>
40040
940ab4b3
JM
40041 * sysdeps/unix/getdents.c: Remove file.
40042 * sysdeps/unix/sysv/getdents.c: Likewise.
40043 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40044
90e037bd
JM
40045 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40046 sysdeps/unix/mman/syscalls.list.
40047 (mmap): Likewise.
40048 (mprotect): Likewise.
40049 (msync): Likewise.
40050 (munmap): Likewise.
40051 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40052 * sysdeps/unix/mman/syscalls.list: Remove.
40053 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40054
3a533ca3
JM
40055 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40056 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40057 * configure: Regenerated.
40058 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40059 $(libgcc_s_suffix).
40060 * config.make.in (libgcc_s_suffix): Remove variable.
40061
1ad743de
JM
400622012-04-23 Joseph Myers <joseph@codesourcery.com>
40063
4ad451e2
JM
40064 * sysdeps/unix/sysv/gethostname.c: Move to ...
40065 * sysdeps/posix/gethostname.c: ... here.
40066
5e37ce39
JM
40067 * sysdeps/unix/execve.S: Remove file.
40068
1ad743de
JM
40069 * sysdeps/unix/_exit.S: Remove file.
40070
4e681b5b
AJ
400712012-04-23 Andreas Jaeger <aj@suse.de>
40072
40073 [BZ #13739]
40074 * manual/Makefile: Remove make dist support, there's no
40075 need for a stand-alone documentation tar ball.
40076 (TEXI2DVI): Define always, it's not in Makeconfig.
40077 (dist): Removed.
40078 (tar-it): Removed.
40079 (edition): Removed.
40080 (glibc-doc-$(edition).tar): Removed
40081 (%.Z): Removed.
40082 (%.gz): Removed.
40083 (%.uu): Removed.
40084 (ETAGS): Remove, it's in Makeconfig.
40085 (move-if-change): Remove, it's in Makeconfig.
40086
38686a03 400872012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40088
40089 [BZ #13970]
40090 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40091 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40092 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40093 (strtod_l, strtof_l, strtold_l): Remove __wur.
40094 It is not necessarily an error to ignore strtol's return value.
40095 One can reliably look at the stored endptr to decide whether
40096 the number had valid syntax.
40097
7c0616fa
AJ
400982012-04-21 Andreas Jaeger <aj@suse.de>
40099
803cb6b7 40100 [BZ #13739]
7c0616fa
AJ
40101 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40102
b0fe253f
JM
401032012-04-21 Joseph Myers <joseph@codesourcery.com>
40104
40105 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40106 * sysdeps/unix/sysv/Versions: Remove file.
40107
8280f22d
MT
401082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40109
40110 [BZ #13927]
40111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40112
75ce411f 401132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40114
40115 [BZ #7064]
40116 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40117 version from __vm86.
40118
097d59fa
JM
401192012-04-20 Joseph Myers <joseph@codesourcery.com>
40120
a90f3bcb
JM
40121 * sysdeps/unix/common/lxstat.c: Remove file.
40122 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40123
edc7ea78
JM
40124 * sysdeps/unix/sysv/Makefile: Remove file.
40125
cb78c221
JM
40126 * sysdeps/unix/sysv/direct.h: Remove file.
40127
efa6a45f
JM
40128 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40129 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40130 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40131 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40132 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40133 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40134 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40135
9c9f2d0c
JM
40136 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40137
4541c83b
JM
40138 * sysdeps/unix/xmknod.c: Remove file.
40139 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40140
f5d153a0
JM
40141 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40142
aa746595
JM
40143 * sysdeps/unix/sysv/i386/time.S: Remove file.
40144
cce5905e
JM
40145 * sysdeps/unix/fxstat.c: Remove file.
40146 * sysdeps/unix/xstat.c: Likewise.
40147 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40148
37fa3841
JM
40149 * sysdeps/unix/sysv/sigaction.c: Remove file.
40150
ff1962a3
JM
40151 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40152 (sysdep_headers): Remove variable.
40153 [termio.h not in sysdep_headers] (generated): Likewise.
40154 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40155 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40156 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40157 * sysdeps/unix/sysv/tcflow.c: Likewise.
40158 * sysdeps/unix/sysv/tcflush.c: Likewise.
40159 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40160 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40161 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40162 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40163 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40164
e7740d31
JM
40165 * sysdeps/unix/siglist.c: Remove file.
40166
ee06f18b
JM
40167 * sysdeps/unix/getppid.S: Remove file.
40168
097d59fa
JM
40169 * sysdeps/unix/mkdir.c: Remove file.
40170 * sysdeps/unix/rmdir.c: Likewise.
40171
ff3d51ec
AS
401722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40173
40174 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40175 ERR_MAX value.
40176 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40177 errlist-compat value.
40178
50f81fd7
DM
401792012-04-18 David S. Miller <davem@davemloft.net>
40180
40181 * sysdeps/generic/memcopy.h (reg_char): Delete.
40182 * debug/strcat_chk.c: Use char, not reg_char.
40183 * debug/strcpy_chk.c: Likewise.
40184 * debug/strncat_chk.c: Likewise.
40185 * debug/strncpy_chk.c: Likewise.
40186 * string/memchr.c: Likewise.
40187 * string/memrchr.c: Likewise.
40188 * string/rawmemchr.c: Likewise.
40189 * string/strcat.c: Likewise.
40190 * string/strchr.c: Likewise.
40191 * string/strchrnul.c: Likewise.
40192 * string/strcmp.c: Likewise.
40193 * string/strcpy.c: Likewise.
40194 * string/strncat.c: Likewise.
40195 * string/strncmp.c: Likewise.
40196 * string/strncpy.c: Likewise.
40197
8ff41c46
WS
401982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40199
40200 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40201 __builtin_memcopy is called when src and dest ranges are known to not
40202 overlap.
40203
6b652f46
WS
402042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40205
40206 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40207 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40208 fwd_align_merge macro call.
40209 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40210 bwd_align_merge macro call.
40211 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40212
b282631e
WS
402132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40214
40215 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40216 bwd_align_merge macros.
40217 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40218 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40219 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40220
95aa737c
DM
402212012-04-18 David S. Miller <davem@davemloft.net>
40222
40223 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40224
7a99a614
AJ
402252012-04-18 Andreas Jaeger <aj@suse.de>
40226
40227 [BZ# 6794]
40228 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40229 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40230 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40231
40232 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40233 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40234 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40235
40236 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40237 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40238 Adjust for changed ldbl-128 files.
40239
40240 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40241 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40242 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40243
e5270c23
DM
402442012-04-17 David S. Miller <davem@davemloft.net>
40245
40246 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40247
fb5e92c9
AS
402482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40249
40250 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40251 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40252 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40253 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40254 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40255 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40256
76da7265
AZ
402572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40258
40259 [BZ #6794]
40260 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40261 * math/libm-test.inc: Add ilogb errno and exception tests.
40262 * math/w_ilogb.c: New file: ilogb wrapper.
40263 * math/w_ilogbf.c: New file: ilogbf wrapper.
40264 * math/w_ilogbl.c: New file: ilogbl wrapper.
40265 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40266 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40267 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40268 exception being thrown with 0.0 as argument.
40269 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40270 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40271 exception being thrown with 0.0 as argument.
40272 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40273 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40274 exception being thrown with 0.0 as argument.
40275 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40276 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40277 exception being thrown with 0.0 as argument.
40278 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40279 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40280 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40281 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40282 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40283 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40284 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40285 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40286 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40287
0396e69d
PB
402882012-04-17 Petr Baudis <pasky@ucw.cz>
40289
40290 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40291 with altivec.
40292
750b5926
MP
402932012-04-16 Marek Polacek <polacek@redhat.com>
40294
40295 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40296
751728a1
MP
402972012-04-16 Marek Polacek <polacek@redhat.com>
40298
40299 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40300 operands of fdivp instruction.
40301
34a27407
L
403022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40303
40304 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40305 * elf/tst-auditmod3b.c: Likewise.
40306 * elf/tst-auditmod4b.c: Likewise.
40307 * elf/tst-auditmod5b.c: Likewise.
40308 * elf/tst-auditmod6b.c: Likewise.
40309 * elf/tst-auditmod6c.c: Likewise.
40310 * elf/tst-auditmod7b.c: Likewise.
40311 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40312 * sysdeps/x86_64/preconfigure.in: Likewise.
40313 * sysdeps/x86_64/preconfigure: Regenerated.
40314
7e73e17d
L
403152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40316
40317 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40318 __ILP32__.
40319
c7a6ab72
AB
403202012-04-13 Antoine Balestrat <merkil33@gmail.com>
40321
40322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40323 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40324
a9e8e0e0
CL
403252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40326
40327 [BZ #13973]
40328 * locale/iso-639.def: Fix gl language name. Spotted by
40329 Yaron Shahrabani.
40330
ec98af7d
RM
403312012-04-12 Roland McGrath <roland@hack.frob.com>
40332
40333 [BZ #2074]
40334 * libio/libio.h (__io_write_fn): Update comment.
40335
247c3ede
PB
403362012-04-12 Petr Baudis <pasky@ucw.cz>
40337
40338 [BZ #2074]
40339 * stdio.texi (Hook Functions): The user provided writer function
40340 is not allowed to return -1.
40341
55939d6d
DM
403422012-04-11 David S. Miller <davem@davemloft.net>
40343
40344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40345
90020f5a
MF
403462012-04-11 Mike Frysinger <vapier@gentoo.org>
40347
40348 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40349 Add a leading slash to rtkaio.
40350
288f9098
JM
403512012-04-11 Jim Meyering <meyering@redhat.com>
40352
90020f5a
MF
40353 [BZ #11959]
40354 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40355 It is not necessarily an error to ignore fwrite's return
40356 value. One can reliably use ferror to test for errors after
40357 the fact.
288f9098 40358
4be2b570
L
403592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40360
40361 * bits/types.h (__snseconds_t): New type.
40362 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40363
40364 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40366 (__SNSECONDS_T_TYPE): Likewise.
40367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40368 (__SNSECONDS_T_TYPE): Likewise.
40369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40370 (__SNSECONDS_T_TYPE): Likewise.
40371
288f9098 403722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40373
40374 [BZ #2636]
40375 * manual/time.texi (Processor Time): Return type of times is
40376 elapsed real time since an arbitrary point in the past.
40377 (CPU Time): Move CLK_TCK from here...
40378 (Processor Time): ...to here. Correct description.
40379 * manual/conf.texi (Constants for Sysconf): Correct description of
40380 _SC_CLK_TCK.
40381
d7dd4413
DM
403822012-04-10 David S. Miller <davem@davemloft.net>
40383
40384 [BZ #13967]
40385 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40386 where the is a gap between DT_REL(A) and DT_JMPREL.
40387
b46068fc
L
403882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40389
40390 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40391 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40392 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40393
73d65cc3
SP
403942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40395
40396 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40397 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40398 (dl_main): Handle --inhibit-cache.
40399 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40400 _dl_inhibit_cache.
40401 * elf/dl-load.c (_dl_map_object): Use it.
40402 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40403
bcc8d661
JM
404042012-04-09 Joseph Myers <joseph@codesourcery.com>
40405
8f9a2fae
JM
40406 [BZ #13872]
40407 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40408 (__ieee754_powl): Saturate large exponents rather than testing for
40409 overflow of y*log2(x).
40410 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40411 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40412 exceptions.
40413
bcc8d661
JM
40414 [BZ #11521]
40415 * math/s_ctan.c: Include <float.h>.
40416 (__ctan): Avoid internal overflow or cancellation in calculating
40417 denominator.
40418 * math/s_ctanf.c: Likewise.
40419 * math/s_ctanl.c: Likewise.
40420 * math/s_ctanh.c: Likewise.
40421 * math/s_ctanhf.c: Likewise.
40422 * math/s_ctanhl.c: Likewise.
40423 * math/libm-test.inc (ctan_test): Add more tests.
40424 (ctanh_test): Likewise.
40425 * sysdeps/i386/fpu/libm-test-ulps: Update.
40426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40427
823fbbb4
AJ
404282012-04-09 Andreas Jaeger <aj@suse.de>
40429
03879793
AJ
40430 [BZ #6894]
40431 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40432 is an optional BSD extension.
40433
823fbbb4
AJ
40434 [BZ #10254]
40435 * manual/stdio.texi (Opening Streams): Document additional fopen
40436 parameters.
40437
8de131cb
RM
404382012-04-09 Roland McGrath <roland@hack.frob.com>
40439
40440 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40441 %eax without telling the compiler.
40442
c0ed9d7d
CD
404432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40444
40445 [BZ # 13963]
40446 * manual/install.texi: Use sourceware.org.
40447
c483f6b4
JM
404482012-04-09 Joseph Myers <joseph@codesourcery.com>
40449
d7dd9453
JM
40450 [BZ #13873]
40451 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40452 (__ieee754_pow): Generate overflow and underflow using huge*huge
40453 and tiny*tiny rather than just returning constant infinity or zero
40454 for large exponents.
40455 * math/libm-test.inc (pow_test): Require overflow exceptions for
40456 applicable cases of large exponents.
40457
c483f6b4
JM
40458 [BZ #706]
40459 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40460 (__ieee754_pow): Use iterative multiplication algorithm only for
40461 integer exponents with absolute value below 1024. Check for odd
40462 integer exponents when using algorithm for real exponents.
40463 * math/libm-test.inc (pow_test): Add more tests.
40464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40465
d2de7579
JM
404662012-04-08 Joseph Myers <joseph@codesourcery.com>
40467
40468 [BZ #13705]
40469 * math/libm-test.inc (exp_test): Do not allow overflow exception
40470 on underflow test.
40471
f77f1232
AJ
404722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40473
40474 [BZ #13705]
40475 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40476 instead of __kernel_standard_f.
40477
3884932b
MF
404782012-04-08 Mike Frysinger <vapier@gentoo.org>
40479
40480 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40481 * sysdeps/x86_64/memset_chk.S: Likewise.
40482
54472e9c
AJ
404832012-04-08 Andreas Jaeger <aj@suse.de>
40484
6ab0fbfc
AJ
40485 [BZ #10153]
40486 * manual/startup.texi (Environment Access): Describe return value
40487 for putenv and setenv.
40488
61efba8c
AJ
40489 [BZ #6895]
40490 * manual/filesys.texi (Directory Entries): Add description for
40491 DT_LNK.
40492
95c3f29a
AJ
40493 [BZ #6890]
40494 * manual/filesys.texi (Directory Entries): Clarify that it's file
40495 system not operating system in the description of DT_UNKNOWN.
40496
54472e9c
AJ
40497 [BZ #6578]
40498 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40499
624254b1
SC
405002012-04-08 Stephen Compall <s11@member.fsf.org>
40501
40502 [BZ #6649]
40503 * manual/llio.texi (Opening and Closing Files): Add cross
40504 reference to explain mode argument.
40505
1e4920e0
MF
405062012-04-07 Mike Frysinger <vapier@gentoo.org>
40507
40508 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40509 * sysdeps/x86_64/memset_chk.S: Likewise.
40510
5ed848f3
DM
405112012-04-07 David S. Miller <davem@davemloft.net>
40512
40513 * elf/elf.h (R_SPARC_WDISP10): Define.
40514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40515 R_SPARC_SIZE32.
40516 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40517 R_SPARC_SIZE64 and R_SPARC_H34.
40518
96154cd8
CD
405192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40520
40521 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40522 conditions and remove no longer applicable assertion.
40523
9904dc47
L
405242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40525
40526 * bits/byteswap.h: Include <features.h>.
40527 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40528 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40529
f8887d0a
L
405302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40531
40532 * bits/byteswap.h (__bswap_16): Removed.
40533 Include <bits/byteswap-16.h> to get __bswap_16.
40534 * sysdeps/i386/bits/byteswap.h: Likewise.
40535 * sysdeps/s390/bits/byteswap.h: Likewise.
40536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40537 * bits/byteswap-16.h: New file.
40538 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40539 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40540 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40541 * string/Makefile (headers): Add bits/byteswap-16.h.
40542
62470f60
PP
405432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40544
40545 [BZ #13895]
40546 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40547 extra indirection.
40548 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40549 * nss/tst-nss-static.c: New.
40550
4dad7bab
RM
405512012-04-06 Robert Millan <rmh@gnu.org>
40552
40553 [BZ #6486]
40554 * manual/llio.texi (File Position Primitive): lseek
40555 refers to WHENCE when it really means OFFSET.
40556
e9142a17
AJ
405572012-04-06 Andreas Jaeger <aj@suse.de>
40558
2c040eff
AJ
40559 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40560 strncmp declarations.
40561
e9142a17
AJ
40562 * abilist/libc.abilist: Add __poll and __ppoll.
40563
ff9f1c5f
DM
405642012-04-05 David S. Miller <davem@davemloft.net>
40565
dcd2ae90
DM
40566 * scripts/check-local-headers.sh: Accept a host triplet in the
40567 path matched by the exclude regexp.
40568
993eb054
DM
40569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40570 definition.
40571 * sysdeps/powerpc/powerpc32/dl-machine.h
40572 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40573 * sysdeps/s390/s390-32/dl-machine.h
40574 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40575 * sysdeps/sparc/sparc32/dl-machine.h
40576 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40577 * sysdeps/sparc/sparc64/dl-machine.h
40578 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40579
ff9f1c5f
DM
40580 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40581 lazy binding.
48e2e132 40582 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40583 undefined symbol errors.
40584
48e2e132 40585 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40586 DT_NEEDED entries.
40587
e80d6f94
MM
405882012-04-05 Michael Matz <matz@suse.de>
40589
40590 [BZ #13592]
40591 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40592
349fa79f
AJ
405932012-04-05 Andreas Jaeger <aj@suse.de>
40594
40595 [BZ #13908]
40596 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40597 comment.
40598
f402708f
KK
405992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40600
40601 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40602 which ROUND is no valid rounding mode.
40603
2ecccfc9
KK
406042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40605
40606 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40607 read again.
40608 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40609
8a53f50f
KK
406102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40611
40612 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40613 an exception using FPU order intentionally.
40614
406152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40616
40617 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40618 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40619 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40620 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40621
d653abb7
SJ
406222012-04-05 Simon Josefsson <simon@josefsson.org>
40623
40624 [BZ #12340]
40625 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40626 EINVAL when BUFLEN is too smal.
40627
c3b1bf7d
TS
406282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40629
40630 [BZ #13553]
40631 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40632 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40633
b1aa60f3
AJ
406342012-04-03 Andreas Jaeger <aj@suse.de>
40635
c3b1bf7d 40636 [BZ #13938]
67f60a26
AJ
40637 * manual/setjmp.texi (System V contexts): Fix sentence.
40638
b1aa60f3
AJ
40639 [BZ #13926]
40640 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40641 New macro for this case.
40642 [!__GNUC__] (__bswap_64): New inline function for this case.
40643 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40644 * bits/byteswap.h: Likewise.
40645 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40646 ull, guard with __GLIBC_HAVE_LONG_LONG.
40647
40648 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40649 __GLIBC_HAVE_LONG_LONG.
40650
40651 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40652 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40653
39c59c35
TMQMF
406542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40655
40656 [BZ #13691]
40657 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40658 inptr and inend, rather than using last_ch.
40659
135ffda8
DM
406602012-04-02 David S. Miller <davem@davemloft.net>
40661
40662 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40663 * stdio-common/printf-parse.h (read_int): Change return type to
40664 'int', return -1 on INT_MAX overflow.
40665 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40666 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40667 overflows INT_MAX. Check for overflow of in-format-string precision
40668 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40669 SIZE_MAX not INT_MAX for integer overflow test.
40670 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40671 skip the construct in the format string but do not record anything.
40672 * stdio-common/bug22.c: Adjust to test both width/prevision
40673 INT_MAX overflow as well as total length INT_MAX overflow. Check
40674 explicitly for proper errno values.
40675
228c019e
TS
406762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40677
302cadd3
TS
40678 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40679 CHAR_MAX.
40680 * string/test-strcmp.c [! WIDE]: Likewise.
40681 * time/tst-mktime2.c: Likewise for INT_MAX.
40682 * string/test-string.h: #include <sys/param.h> for MIN.
40683
228c019e
TS
40684 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40685 * sysdeps/i386/init-first.c (init): Likewise.
40686 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40687 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40688 * sysdeps/sh/init-first.c (init): Likewise.
40689
cfa633f5
UD
406902012-04-01 Ulrich Drepper <drepper@gmail.com>
40691
40692 * po/ru.po: Update from translation team.
d1635ef8 40693 * po/vi.po: Likewise.
cfa633f5 40694
6cd0a5ea
SP
406952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40696
40697 * resolv/nss_dns/dns-host.c: Merge copyright years.
40698
4b43400f
LD
406992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40700
40701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40702 Optimize memcpy with prefetch if
40703 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40704 src, dst pointers have unequal 16 byte alignments.
40705
48c41d04
SP
407062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40707
40708 [BZ #13928]
40709 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40710 from a CNAME entry and return the minimum ttl for the query.
40711 (gaih_getanswer_slice): Likewise.
40712
b8dc394d
JL
407132012-03-30 Jeff Law <law@redhat.com>
40714
40715 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40716 due to long keys.
40717 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40718 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40719
2f5a5ed0
JL
40720 * resolv/nss_dns/dns-host.c: Update copyright year.
40721
1d39e359
UD
407222012-03-30 Ulrich Drepper <drepper@gmail.com>
40723
c030f70c 40724 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40725 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40726
1d39e359
UD
40727 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40728 comments for sendmmsg.
40729
407302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40731
40732 [BZ #13691]
40733 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40734 with only 1 character between 0x0041 and 0x01b0.
40735 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40736 * wcsmbs/tst-mbsnrtowcs.c: New file.
40737
20fde227
DM
407382012-03-29 David S. Miller <davem@davemloft.net>
40739
40740 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40741 small copies by hand.
40742
984a4237
JL
407432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40744
40745 [BZ #13761]
57f41c40
AS
40746 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40747 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40748 group memberships.
984a4237 40749
18c9d62b
DM
407502012-03-28 David S. Miller <davem@davemloft.net>
40751
88d85d4f
DM
40752 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40753 that branches into memcpy.
40754 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40755 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40757 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40759 bits.
40760 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40761 implementation too.
40762 * sysdeps/sparc/mempcpy.S: New file.
40763
e5aa83e1
DM
40764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40765 the IFUNC routine in the libc case.
40766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40767
88570753
DM
40768 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40769 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40770 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40771 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40772 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40773 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40774 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40775 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40776
249d7567
DM
40777 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40778 loop to 256 bytes instead of 64 bytes and fix test signedness.
40779
18c9d62b
DM
40780 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40781 * sysdeps/sparc/sparc32/Makefile: rather than here...
40782 * sysdeps/sparc/sparc64/Makefile: and here.
40783
05f3d1f6
UD
407842012-03-28 Ulrich Drepper <drepper@gmail.com>
40785
40786 * malloc/mallocbug.c: Avoid warnings about unused variables.
40787
86ae07a8
JL
407882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40789
40790 [BZ #13760]
40791 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40792 in the right place. Discard and retry query if response is
40793 larger than input buffer size.
40794
41bf21a1
JM
407952012-03-28 Joseph Myers <joseph@codesourcery.com>
40796
d6270972
JM
40797 [BZ #369]
40798 [BZ #2678]
40799 [BZ #3866]
40800 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40801 x for large integer exponent.
40802 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40803 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40804 sign of result as needed afterwards.
40805 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40806 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40807 result for underflowing pow the same as for overflow.
40808 (__kernel_standard_l): Handle powl overflow and underflow here
40809 rather than calling __kernel_standard.
40810 * math/libm-test.inc (pow_test): Add more tests.
40811
414fca03 40812 [BZ #3868]
41bf21a1
JM
40813 [BZ #13879]
40814 [BZ #13910]
40815 [BZ #13911]
40816 [BZ #13912]
40817 [BZ #13913]
40818 [BZ #13915]
40819 [BZ #13916]
40820 [BZ #13917]
40821 [BZ #13918]
40822 [BZ #13919]
40823 [BZ #13920]
40824 [BZ #13921]
40825 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40826 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40827 (__kernel_standard_l): New function.
40828 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40829 __kernel_standard.
40830 * math/w_acosl.c (__acosl): Likewise.
40831 * math/w_asinl.c (__asinl): Likewise.
40832 * math/w_atan2l.c (__atan2l): Likewise.
40833 * math/w_atanhl.c (__atanhl): Likewise.
40834 * math/w_coshl.c (__coshl): Likewise.
40835 * math/w_exp10l.c (__exp10l): Likewise.
40836 * math/w_exp2l.c (__exp2l): Likewise.
40837 * math/w_fmodl.c (__fmodl): Likewise.
40838 * math/w_hypotl.c (__hypotl): Likewise.
40839 * math/w_j0l.c (__j0l, __y0l): Likewise.
40840 * math/w_j1l.c (__j1l, __y1l): Likewise.
40841 * math/w_jnl.c (__jnl, __ynl): Likewise.
40842 * math/w_lgammal.c (__lgammal): Likewise.
40843 * math/w_log10l.c (__log10l): Likewise.
40844 * math/w_log2l.c (__log2l): Likewise.
40845 * math/w_logl.c (__logl): Likewise.
40846 * math/w_powl.c (__powl): Likewise.
40847 * math/w_remainderl.c (__remainderl): Likewise.
40848 * math/w_scalbl.c (sysv_scalbl): Likewise.
40849 * math/w_sinhl.c (__sinhl): Likewise.
40850 * math/w_sqrtl.c (__sqrtl): Likewise.
40851 * math/w_tgammal.c (__tgammal): Likewise.
40852 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40853 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40854 * math/libm-test.inc (acos_test): Add more tests.
40855 (acosh_test): Likewise.
40856 (asin_test): Likewise.
40857 (atanh_test): Likewise.
40858 (exp_test): Likewise.
40859 (exp10_test): Likewise.
40860 (exp2_test): Likewise.
40861 (expm1_test): Likewise.
40862 (lgamma_test): Likewise.
40863 (log_test): Likewise.
40864 (log10_test): Likewise.
40865 (log1p_test): Likewise.
40866 (log2_test): Likewise.
40867 (pow_test): Do not allow some spurious overflow exceptions.
40868 (sqrt_test): Add more tests.
40869 (tgamma_test): Likewise.
40870 (y0_test): Likewise.
40871 (y1_test): Likewise.
40872 (yn_test): Likewise.
40873
dd62fda6
AB
408742012-03-27 Anton Blanchard <anton@samba.org>
40875
40876 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40877 MAP_HUGETLB.
40878 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40879 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40880 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40881
1e3cdfda
AJ
408822012-03-27 David S. Miller <davem@davemloft.net>
40883
b855ab85
DM
40884 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40885
1e3cdfda
AJ
40886 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40887 have-as-vis3 check.
40888
408892012-03-27 Andreas Jaeger <aj@suse.de>
40890
40891 * sysdeps/x86_64/elf/configure.in: Moved to ...
40892 * sysdeps/x86_64/configure.in: ... here.
40893 * sysdeps/x86_64/elf/start.S: Moved to ...
40894 * sysdeps/x86_64/start.S: ... here.
40895 * sysdeps/x86_64/elf/configure: Delete.
40896
40897 * sysdeps/x86_64/configure.in: Merge contents from
40898 sysdeps/i386/configure.in (without i686 check).
40899
40900 * sysdeps/i386/elf/Versions: Merge into ...
40901 * sysdeps/i386/Versions: ... this.
40902 * sysdeps/i386/elf/Versions: Delete file.
40903 * sysdeps/i386/elf/start.S: Moved to ...
40904 * sysdeps/i386/start.S: ...here.
40905 * sysdeps/i386/elf/configure.in: Merge into...
40906 * sysdeps/i386/configure.in: ...here.
40907 * sysdeps/i386/elf/configure.in: Delete file.
40908 * sysdeps/i386/elf/configure: Delete file.
40909
40910 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40911 * debug/backtracesyms.c: ... here.
40912 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40913 * debug/backtracesymsfd.c: ... here.
40914 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40915 * sysdeps/generic/ifunc-sel.h: ... here.
40916
40917 * sysdeps/unix/i386/start.c: Delete file.
40918 * sysdeps/unix/sparc/start.c: Delete file.
40919 * sysdeps/unix/start.c: Delete file.
40920
40921 * sysdeps/sh/elf/configure.in: Moved to ...
40922 * sysdeps/sh/configure.in: ... here.
40923 * sysdeps/sh/elf/start.S: Moved to ...
40924 * sysdeps/sh/start.S: ... here.
40925 * sysdeps/sh/elf/configure: Delete file.
40926
40927 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40928 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40929 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40930 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40931 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40932 * sysdeps/powerpc/powerpc64/start.S: here.
40933 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40934 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40935 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40936 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40937 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40938
40939 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40940 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40941 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40942 * sysdeps/powerpc/powerpc32/start.S: ... here.
40943 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40944 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40945 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40946
40947 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40948 * sysdeps/powerpc/ifunc-sel.h: ... here.
40949 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40950 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40951
40952 * sysdeps/sparc/elf/configure.in: Moved to ...
40953 * sysdeps/sparc/configure.in: ... here.
40954 * sysdeps/sparc/elf/configure: Delete file.
40955 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40956 * sysdeps/sparc/sparc32/start.S: ... here.
40957 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40958 * sysdeps/sparc/sparc64/start.S: ... here.
40959 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40960 * sysdeps/sparc/sparc32/Makefile: ... this.
40961 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40962 * sysdeps/sparc/sparc64/Makefile: ... this.
40963
40964 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40965 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40966 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40967 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40968 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40969 * sysdeps/s390/s390-32/setjmp.S: ... here.
40970 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40971 * sysdeps/s390/s390-32/configure.in: ... here.
40972 * sysdeps/s390/s390-32/elf/configure: Delete file.
40973 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40974 * sysdeps/s390/s390-32/start.S: ... here.
40975
40976 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40977 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40978 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40979 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40980 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40981 * sysdeps/s390/s390-64/setjmp.S: ... here.
40982 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40983 * sysdeps/s390/s390-64/configure.in: ... here
40984 * sysdeps/s390/s390-64/elf/configure: Delete file.
40985 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40986 * sysdeps/s390/s390-64/start.S: ... here.
40987 * sysdeps/s390/s390-64/elf/configure: Delete.
40988
40989 * configure.in: Remove support for elf directories in sysdeps.
40990
40991 * configure: Regenerated.
40992 * sysdeps/i386/configure: Regenerated.
40993 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40994 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40995 * sysdeps/s390/s390-32/configure: Regenerated.
40996 * sysdeps/s390/s390-64/configure: Regenerated.
40997 * sysdeps/sh/configure: Regenerated.
40998 * sysdeps/sparc/configure: Regenerated.
40999 * sysdeps/x86_64/configure: Regenerated.
41000
a3f61311
AS
410012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41002
c876e002
AS
41003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41004
a3f61311
AS
41005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41006 denormal result into account.
41007
ac4c54f0
RM
410082012-03-25 Roland McGrath <roland@hack.frob.com>
41009
41010 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41011 Reported by Allan McRae <allan@archlinux.org>.
41012
6a9b9c02
JL
410132012-03-23 Jeff Law <law@redhat.com>
41014
41015 * nss/getnssent.c (__nss_getent): Fix typo.
41016
4c42a0c1
DM
410172012-03-23 David S. Miller <davem@davemloft.net>
41018
41019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41020
1532c7ac
L
410212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41022
41023 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41024 to pad to uint64_t for each field.
41025 (dl_tls_index): Replace unsigned long with uint64_t.
41026
3ff42526
PP
410272012-03-23 Daniel Jacobowitz <dmj@google.com>
41028 Paul Pluzhnikov <ppluzhnikov@google.com>
41029
41030 [BZ #6528]
41031 * grp/Makefile (otherlibs): Don't set it.
41032 * inet/Makefile (otherlibs): Likewise.
41033 * login/Makefile (otherlibs): Likewise.
41034 * nscd/Makefile (otherlibs): Likewise.
41035 * posix/Makefile (otherlibs): Likewise.
41036 * pwd/Makefile (otherlibs): Likewise.
41037 * rt/Makefile (otherlibs): Likewise.
41038 * sunrpc/Makefile (otherlibs): Likewise.
41039 * nss/Makefile (otherlibs): Likewise.
41040 Add libnss_files to routines and static-only-routines.
41041 ($(objpfx)getent): Remove rule.
41042 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41043 static-only-routines.
41044
7c69cd14
JM
410452012-03-22 Joseph Myers <joseph@codesourcery.com>
41046
41047 [BZ #13892]
41048 * math/s_cexp.c: Include <float.h>.
41049 (__cexp): Handle exp result overflowing not necessarily
41050 overflowing both real and imaginary parts of result.
41051 * math/s_cexpf.c: Likewise.
41052 * math/s_cexpl.c: Likewise.
41053 * math/libm-test.inc (cexp_test): Add more tests.
41054 * sysdeps/i386/fpu/libm-test-ulps: Update.
41055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41056
81b035fe
L
410572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41058
41059 * include/link.h (ELFW): New macro.
41060 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41061 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41062
1da7940c
L
410632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41064
41065 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41066 with uint64_t.
41067
b749dbb9
L
410682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41069
41070 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41071 declaration.
41072 (struct La_x32_retval): Likewise.
41073
2ff87f3f
L
410742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41075
41076 * sysdeps/x86_64/preconfigure.in: New file.
41077 * sysdeps/x86_64/preconfigure: New generated file.
41078
c0df8e69
JM
410792012-03-22 Joseph Myers <joseph@codesourcery.com>
41080
48e44791
JM
41081 [BZ #13824]
41082 * math/e_exp2l.c: Include <float.h>.
41083 (__ieee754_exp2l): Handle overflow and underflow cases
41084 separately. Only pass fractional part of argument to
41085 __ieee754_expl.
41086 * math/libm-test.inc (exp2_test): Add more tests.
41087
c0df8e69
JM
41088 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41089 negating x to take absolute value.
41090 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41091 Likewise.
41092 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41094 Likewise.
41095 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41096 computing low part if x was negated.
41097 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41098
c8e43ba7
L
410992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41100
41101 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41102 la_x32_gnu_pltexit.
41103 (pltexit): Cast int_retval to ptrdiff_t.
41104 * elf/tst-auditmod3b.c: Likewise.
41105 * elf/tst-auditmod4b.c: Likewise.
41106 * elf/tst-auditmod5b.c: Likewise.
41107 * elf/tst-auditmod6b.c: Likewise.
41108 * elf/tst-auditmod6c.c: Likewise.
41109 * elf/tst-auditmod7b.c: Likewise.
41110
41111 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41112 and x32_gnu_pltexit.
41113
41114 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41115 __ELF_NATIVE_CLASS.
41116 (La_x32_regs): New macro.
41117 (La_x32_retval): Likewise.
41118 (la_x32_gnu_pltenter): New function prototype.
41119 (la_x32_gnu_pltexit): Likewise.
41120
7998fa78
AS
411212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41122
dcb33988
AS
41123 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41124 exponent.
41125
233fc563
AS
41126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41127
7998fa78
AS
41128 * configure.in (libc_cv_cc_nofma): Check for option to disable
41129 generation of FMA instructions.
41130 * configure: Regenerate.
41131 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41132 * sysdeps/ieee754/dbl-64/Makefile: New file.
41133 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41134 Remove brandred-fma4.
41135 (CFLAGS-brandred-fma4.c): Remove.
41136 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41137 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41138 define.
41139 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41140 define.
41141
8e95c99a
L
411422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41143
41144 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41145 LLONG_MAX != LONG_MAX.
41146 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41147 (_fitoa_word): Likewise.
41148 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41149 LLONG_MAX != LONG_MAX.
41150 * stdio-common/_itowa.h: Include <_itoa.h>.
41151 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41152 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41153 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41154 only if not defined.
41155 (_ITOA_WORD_TYPE): Likewise.
41156 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41157 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41158
6f4db457
DM
411592012-03-21 David S. Miller <davem@davemloft.net>
41160
41161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41162
7785fe5a
L
411632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41164
41165 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41166 of x86_64 when setting libc_cv_slibdir, libdir and
41167 libc_cv_localedir.
41168 * sysdeps/unix/sysv/linux/configure: Regenerated.
41169
4535cd55
JM
411702012-03-21 Joseph Myers <joseph@codesourcery.com>
41171
41172 * manual/lang.texi (Old Varargs): Remove section.
41173 (How Variadic): Update menu.
41174 (va_start): Do not mention varargs.h.
41175
17228132
TS
411762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41177 Joseph Myers <joseph@codesourcery.com>
41178
41179 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41180 link test.
41181 * configure: Regenerated.
41182
8149f976
TS
411832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41184
05f3d1f6
UD
41185 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41186 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41187 conformtest.pl
8149f976 41188
1a4ac776
JM
411892012-03-21 Joseph Myers <joseph@codesourcery.com>
41190
be22ce65
JM
41191 * NOTES: Remove.
41192 * Makefile (files-for-dist): Remove NOTES.
41193 (NOTES): Remove rule.
41194 * README: Don't refer to NOTES.
41195 * manual/creature.texi: Don't include macros.texi.
41196 * manual/intro.texi (creature.texi): Remove comment referring to
41197 NOTES.
41198
40b601fb
JM
41199 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41200 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41201 * configure: Regenerated.
41202 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41203 LIBC_TRY_CC_OPTION.
41204 (libc_cv_as_i686): Likewise.
41205 (libc_cv_cc_avx): Likewise.
41206 (libc_cv_cc_sse2avx): Likewise.
41207 (libc_cv_cc_fma4): Likewise.
41208 (libc_cv_cc_novzeroupper): Likewise.
41209 * sysdeps/i386/configure: Regenerated.
41210
1a4ac776
JM
41211 [BZ #13883]
41212 * sysdeps/i386/fpu/s_cexp.S: Remove.
41213 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41214 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41215 * math/libm-test.inc (cexp_test): Add more tests.
41216 * sysdeps/i386/fpu/libm-test-ulps: Update.
41217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41218
a458e7fe
AM
412192012-03-21 Allan McRae <allan@archlinux.org>
41220
41221 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41222
0cb7efc5
JM
412232012-03-21 Joseph Myers <joseph@codesourcery.com>
41224
41225 [BZ #13871]
41226 * math/w_exp2.c: Do not include <float.h>.
41227 (o_threshold, u_threshold): Remove.
41228 (__exp2): Calculate result before checking finiteness and calling
41229 __kernel_standard.
41230 * math/w_exp2f.c: Likewise.
41231 * math/w_exp2l.c: Likewise.
41232 * math/libm-test.inc (exp2_test): Require overflow exception for
41233 1e6 input.
2460d3aa
JM
41234
41235 [BZ #3866]
41236 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41237 range of signed 64-bit integers before using fistpll. Remove
41238 checks for whether integers fit in mantissa bits.
41239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41240 the range of signed 32-bit integers before using fistpl. Remove
41241 checks for whether integers fit in mantissa bits.
41242 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41243 (__ieee754_powl): Test for y outside the range of signed 64-bit
41244 integers before using fistpll. Reduce 64-bit values to 63-bit
41245 ones as needed.
41246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41247 divide-by-zero is raised for zero to large negative powers.
41248 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41249 (__ieee754_powl): Test for y outside the range of signed 64-bit
41250 integers before using fistpll. Reduce 64-bit values to 63-bit
41251 ones as needed.
41252 * math/libm-test.inc (pow_test): Add more tests.
41253
eb96ffb0
L
412542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41255
41256 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41257 <stdio-common/_itoa.h>.
41258 * debug/segfault.c: Likewise.
41259 * elf/dl-cache.c: Likewise.
41260 * elf/dl-minimal.c: Likewise.
41261 * elf/dl-misc.c: Likewise.
41262 * elf/dl-sysdep.c: Likewise.
41263 * elf/dl-version.c: Likewise.
41264 * elf/rtld.c: Likewise.
41265 * hurd/hurdsock.c: Likewise.
41266 * hurd/lookup-retry.c: Likewise.
41267 * malloc/malloc.c: Likewise.
41268 * malloc/mtrace.c: Likewise.
41269 * nscd/nscd_getgr_r.c: Likewise.
41270 * nscd/nscd_getpw_r.c: Likewise.
41271 * nscd/nscd_getserv_r.c: Likewise.
41272 * posix/getopt_init.c: Likewise.
41273 * posix/wordexp.c: Likewise.
41274 * stdio-common/_itoa.c: Likewise.
41275 * stdio-common/printf_fphex.c: Likewise.
41276 * stdio-common/vfprintf.c: Likewise.
41277 * string/_strerror.c: Likewise.
41278 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41279 * sysdeps/i386/i686/hp-timing.h: Likewise.
41280 * sysdeps/mach/_strerror.c: Likewise.
41281 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41282 * sysdeps/mach/hurd/sethostid.c: Likewise.
41283 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41284 * sysdeps/mach/xpg-strerror.c: Likewise.
41285 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41286 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41287 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41288 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41289 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41290 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41291 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41292 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41293 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41294 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41295 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41296 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41297 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41298 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41299 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41300 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41301 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41302 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41303 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41304 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41305 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41306
41307 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41308
41309 * stdio-common/_itoa.h: Moved to ...
41310 * sysdeps/generic/_itoa.h: Here.
41311
41312 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41313
41314 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41315 instead of "_itoa.h" and "_itowa.h".
41316 * stdio-common/vfprintf.: Likewise.
41317
d1af992d
L
413182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41319
41320 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41321 <bits/wordsize.h>.
41322 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41323 (__signbit): Likwise.
41324 (llrintf): Likwise.
41325 (llrint): Likwise.
41326
114883e0
L
413272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41328
41329 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41330 __WORDSIZE != 64.
41331
c135cc1b
JM
413322012-03-20 Joseph Myers <joseph@codesourcery.com>
41333
41334 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41335 OVERFLOW_EXCEPTION_OK.
41336 * math/libm-test.inc ("Philosophy"): Update comment about
41337 exception testing.
41338 (OVERFLOW_EXCEPTION): Define.
41339 (OVERFLOW_EXCEPTION_OK): Likewise.
41340 (INVALID_EXCEPTION_OK): Renumber.
41341 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41342 (IGNORE_ZERO_INF_SIGN): Likewise.
41343 (test_exceptions): Handle FE_OVERFLOW.
41344 (exp10_test): Expect overflow exceptions.
41345 (exp2_test): Likewise.
41346 (expm1_test): Likewise.
41347 (nextafter_test): Likewise.
41348 (pow_test): Likewise.
41349 (scalbn_test): Likewise.
41350 (scalbln_test): Likewise.
41351
95443d88
L
413522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 * sysdeps/x86_64/bits/atomic.h
41355 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41356 64bit integer.
41357 (atomic_exchange_acq): Likewise.
41358 (__arch_exchange_and_add_body): Likewise.
41359 (__arch_add_body): Likewise.
41360 (atomic_add_negative): Likewise.
41361 (atomic_add_zero): Likewise.
41362
490df6c4
L
413632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41364
c2722551 41365 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41366 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41367
5e52b189
L
413682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41369
41370 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41371 Check __x86_64__ instead of __WORDSIZE.
41372
a9879d4c
L
413732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41374
41375 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41376
5df98260
DM
413772012-03-19 David S. Miller <davem@davemloft.net>
41378
e1497744
DM
41379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41380
5df98260
DM
41381 * sysdeps/sparc/fpu/fenv_private.h: New file.
41382 * sysdeps/sparc/fpu/math_private.h: Use it.
41383 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41384 Remove.
57f41c40 41385 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41386 (libc_feholdexcept_setroundl): Remove.
41387 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41388 Remove.
41389 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41390 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41391
b4c35121
L
413922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41393
41394 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41395 int64_t instead of long int.
41396 (INSERT_WORDS64): Likwise.
41397
56965fd7
L
413982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41399
41400 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41401 _Unwind_GetCFA return to _Unwind_Ptr first.
41402
83d1aec8
JM
414032012-03-19 Joseph Myers <joseph@codesourcery.com>
41404
1897ad44
JM
41405 [BZ #13629]
41406 * math/s_clog.c: Include <float.h>.
41407 (__clog): Scale large or subnormal inputs.
41408 * math/s_clogf.c: Likewise.
41409 * math/s_clogl.c: Likewise.
41410 * math/s_clog10.c: Include <float.h>.
41411 (M_LOG10_2): Define.
41412 (__clog10): Scale large or subnormal inputs.
41413 * math/s_clog10f.c: Likewise.
41414 * math/s_clog10l.c: Likewise.
41415 * math/libm-test.inc (clog_test): Add more tests.
41416 (clog10_test): Likewise.
41417 * sysdeps/i386/fpu/libm-test-ulps: Update.
41418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41419
7726d6a9
JM
41420 [BZ #11451]
41421 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41422 x and y.
41423 * math/libm-test.inc (atan2_test): Add another test.
41424
83d1aec8
JM
41425 * Makerules (common-objdir-compile): Remove.
41426 * sysdeps/unix/Makefile (config-generated): Do not add
41427 $(unix-generated) to variable.
41428 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41429 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41430 Remove rule.
41431 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41432 Likewise.
41433 [generic bits/local_lim.h] (before-compile): Do not append to
41434 variable.
41435 [generic bits/local_lim.h] (common-generated): Likewise.
41436 [generic sys/param.h] (before-compile): Do not append to variable.
41437 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41438 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41439 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41440 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41441 include.
41442 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41443 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41444 [generic sys/param.h] ($(addprefix
41445 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41446 [generic sys/param.h] (common-generated): Do not append to
41447 variable.
41448 [generic sys/param.h] (sysdep_headers): Likewise.
41449 [generic bits/errno.h] (before-compile): Do not append to
41450 variable.
41451 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41452 rule.
41453 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41454 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41455 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41456 [generic bits/errno.h] (common-generated): Do not append to
41457 variable.
41458 [generic bits/ioctls.h] (before-compile): Do not append to
41459 variable.
41460 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41461 rule.
41462 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41463 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41464 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41465 rule.
41466 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41467 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41468 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41469 [generic bits/ioctls.h] (common-generated): Do not append to
41470 variable.
41471 [generic sys/syscall.h] (syscall.h): Remove variable.
41472 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41473 rule.
41474 [generic sys/syscall.h] (before-compile): Do not append to
41475 variable.
41476 [generic sys/syscall.h] (common-generated): Likewise.
41477 * sysdeps/unix/errnos-tmpl.c: Remove file.
41478 * sysdeps/unix/errnos.awk: Likewise.
41479 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41480 * sysdeps/unix/ioctls.awk: Likewise.
41481 * sysdeps/unix/mk-local_lim.c: Likewise.
41482 * sysdeps/unix/snarf-ioctls: Likewise.
41483
4851a949
RH
414842012-03-19 Richard Henderson <rth@twiddle.net>
41485
bd37f2ee
RH
41486 * sysdeps/i386/fpu/fenv_private.h: New file.
41487 * sysdeps/i386/fpu/math_private.h: Use it.
41488 (math_opt_barrier, math_force_eval): Remove.
41489 (libc_feholdexcept_setround_53bit): Remove.
41490 (libc_feupdateenv_53bit): Remove.
41491 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41492 (math_opt_barrier, math_force_eval): Remove.
41493 (libc_feholdexcept): Remove.
41494 (libc_feholdexcept_setround): Remove.
41495 (libc_fetestexcept, libc_fesetenv): Remove.
41496 (libc_feupdateenv_test): Remove.
41497 (libc_feupdateenv, libc_feholdsetround): Remove.
41498 (libc_feresetround): Remove.
41499
d0adc922
RH
41500 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41501 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41502
0fe0f1f8
RH
41503 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41504 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41505 (libc_feupdateenv_testl): New.
41506 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41507 (libc_feupdateenv_testf): New.
41508 (libc_feupdateenv): Use libc_feupdateenv_test.
41509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41510 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41511
eb92c487
RH
41512 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41513 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41514 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41515 (libc_feresetround_noex): New.
41516 (libc_feresetround_noexf): New.
41517 (libc_feresetround_noexl): New.
41518 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41519 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41520 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41521 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41522 SET_RESTORE_ROUND.
41523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41524 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41525 (__cos): Likewise.
41526 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41527 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41528 SET_RESTORE_ROUND_NOEX.
41529 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41530 SET_RESTORE_ROUND_NOEXF.
41531 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41532 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41533 (libc_feholdsetroundf): New.
41534 (libc_feresetround, libc_feresetroundf): New.
41535
7d2e8012
RH
41536 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41537 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41538 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41539
b4dabbb4
RH
41540 * sysdeps/generic/math_private.h: Include <fenv.h>.
41541 (default_libc_feholdexcept): New.
41542 (default_libc_feholdexcept_setround): New.
41543 (default_libc_fesetenv, default_libc_feupdateenv): New.
41544 (libc_feholdexcept): Only define if undefined.
41545 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41546 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41547 (libc_feholdexcept_setroundl): Likewise.
41548 (libc_feholdexcept_setround_53bit): Likewise.
41549 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41550 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41551 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41552 (libc_feupdateenv_53bit): Likewise.
41553 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41554 (libc_feholdexcept): Convert from macro to inline function.
41555 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41556 (libc_fesetenv, libc_feupdateenv): Likewise.
41557
4851a949
RH
41558 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41559 not previously defined.
41560 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41561 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41562 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41563 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41564 * sysdeps/ieee754/flt-32/math_private.h: New file.
41565 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41566 math_private.h below SET_FLOAT_WORD.
41567 (__isnan, __isinf_ns, __finite): Remove.
41568 (__isnanf, __isinf_nsf, __finitef): Remove.
41569
e79d442e
AS
415702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41571
41572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41573
90b80344
DM
415742012-03-17 David S. Miller <davem@davemloft.net>
41575
41576 [BZ #6471]
41577 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41578 for 2.16.
41579
edc21804
DM
415802012-03-16 David S. Miller <davem@davemloft.net>
41581
77e927af
DM
41582 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41583 warnings.
41584
374976dd
DM
41585 [BZ #6471]
41586 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41587 properly.
41588 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41589 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41590 sysdep_routines when subdir is sysvipc.
41591 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41592 __getshmlba helper.
41593
edc21804
DM
41594 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41595
473c3ef3
L
415962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41597
41598 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41599 [__LP64__].
41600
eb0f39b6
L
416012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41602
41603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41604 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41605 (__lround): Renamed to ...
41606 (__llround): This. Replace long int with long long int.
41607 Define lround functions as aliases of llround functions.
41608 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41609
6b6cd74b
L
416102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41611
41612 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41613 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41614 adresses to uintptr_t. Replace "long int" and "unsigned long
41615 int" with "greg_t" on va_arg.
41616
f1a77b01
L
416172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41618
41619 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41620 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41621
41622 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41623 Move e_machine check before EI_CLASS check. Handle x32
41624 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41625 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41626 SKIP_EM_IA_64 and include
41627 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41628
41629 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41630 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41631 (add_system_dir): New macro.
41632
41633 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41634 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41635
11b90b9f
JM
416362012-03-16 Joseph Myers <joseph@codesourcery.com>
41637
c36e1d23
JM
41638 [BZ #2551]
41639 [BZ #2552]
41640 [BZ #2553]
41641 [BZ #2554]
41642 [BZ #2562]
41643 [BZ #2563]
41644 [BZ #2565]
41645 [BZ #2566]
41646 [BZ #2576]
41647 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41648 (y0): Likewise.
41649 * math/w_j0f.c (j0f): Likewise.
41650 (y0f): Likewise.
41651 * math/w_j0l.c (__j0l): Likewise.
41652 (__y0l): Likewise.
41653 * math/w_j1.c (j1): Likewise.
41654 (y1): Likewise.
41655 * math/w_j1f.c (j1f): Likewise.
41656 (y1f): Likewise.
41657 * math/w_j1l.c (__j1l): Likewise.
41658 (__y1l): Likewise.
41659 * math/w_jn.c (jn): Likewise.
41660 (yn): Likewise.
41661 * math/w_jnf.c (jnf): Likewise.
41662 (ynf): Likewise.
41663 * math/w_jnl.c (__jnl): Likewise.
41664 (__ynl): Likewise.
41665 * math/libm-test.inc (j0_test): Add more tests.
41666 (j1_test): Likewise.
41667 (jn_test): Likewise. Add trailing semicolon to existing test.
41668 (y0_test): Likewise.
41669 (y1_test): Likewise.
41670 * sysdeps/i386/fpu/libm-test-ulps: Update.
41671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41672
11b90b9f
JM
41673 [BZ #13851]
41674 [BZ #13854]
41675 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41676 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41677 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41678 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41679 (__tanl): Set errno for infinite argument.
41680 * sysdeps/i386/fpu/mptan.c: Remove.
41681 * sysdeps/i386/fpu/s_tan.S: Likewise.
41682 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41683 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41684 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41685 * math/libm-test.inc (tan_test): Add more tests and enable more
41686 tests for double and long double.
41687 * sysdeps/i386/fpu/libm-test-ulps: Update.
41688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41689
6a1bd2a1
JK
416902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41691
41692 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41693 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41694
10a803e0
RM
416952012-03-16 Roland McGrath <roland@hack.frob.com>
41696
41697 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41698 * configure.in: Use it for both main tree and add-ons.
41699 * configure: Regenerated.
41700
f196c7f7
L
417012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41702
41703 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41704
8848d99d
JM
417052012-03-16 Joseph Myers <joseph@codesourcery.com>
41706
96cbe7f4
JM
41707 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41708 in comment.
41709
8848d99d
JM
41710 [BZ #13851]
41711 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41712 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41714 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41715 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41716 infinite argument.
41717 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41719 != 0 for prec == 2.
41720 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41721 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41722 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41723 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41724 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41725 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41726 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41727 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41728 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41729 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41730 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41731 * math/libm-test.inc (cos_test): Add more tests and enable more
41732 tests for long double.
41733 (sin_test): Likewise.
41734 (sincos_test): Likewise.
41735 * sysdeps/i386/fpu/libm-test-ulps: Update.
41736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41737
dd7f4703
DM
417382012-03-16 David S. Miller <davem@davemloft.net>
41739
41740 * sysdeps/sparc/fpu/math_private.h: New file.
41741
006f1daa
DM
417422012-03-15 David S. Miller <davem@davemloft.net>
41743
c0c83bc8
DM
41744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41745 file.
e6a62e18 41746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41748 file.
e6a62e18
DM
41749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41755 sysdep routines.
41756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41757
88cb87d9
DM
41758 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41759 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41760
006f1daa 41761 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41763 sparc-ifunc.h
006f1daa 41764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41766 Likewise.
41767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41768 Likewise.
006f1daa
DM
41769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41773 Likewise.
006f1daa
DM
41774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41779 Likewise.
41780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41781 Likewise.
006f1daa
DM
41782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41806
11e0098e
AS
418072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41808
41809 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41810 scaling.
41811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41812
e85b09d0
AJ
418132012-03-15 Andreas Jaeger <aj@suse.de>
41814
41815 [BZ #13852]
41816 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41817 ieee754/flt-32 implementation for sin, cos and sincos.
41818 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41819 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41820 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41821 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41822 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41823 ieee754/flt-32 implementation for tan.
41824
41825 * math/libm-test.inc (cos_test): Enable some large input tests for
41826 float as well
41827 (sin_test): Likewise.
41828 (sincos_test): Likewise.
41829 (tan_test): Add tests for large input.
41830
41831 * sysdeps/i386/fpu/libm-test-ulps: Update.
41832
81c64153
AJ
418332012-03-15 Andreas Jaeger <aj@suse.de>
41834
41835 [BZ #13658]
41836 * math/libm-test.inc (cos_test): Add more test cases.
41837 (sin_test): Likewise.
41838 (sincos_test): Likewise.
41839
7bbfa5c6
AJ
418402012-03-15 Andreas Jaeger <aj@suse.de>
41841
41842 [BZ #13837]
41843 * math/libm-test.inc (cos_test): Add a test case for large input
41844 value.
41845 (sin_test): Likewise.
41846 (sincos_test): Likewise.
41847
57f41c40
AS
418482012-03-15 Andreas Jaeger <aj@suse.de>
41849 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41850
41851 [BZ #13658]
0671f479 41852 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41853 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41854 * sysdeps/i386/fpu/branred.c: Likewise.
41855 * sysdeps/i386/fpu/dosincos.c: Likewise.
41856 * sysdeps/i386/fpu/mpa.c: Likewise.
41857 * sysdeps/i386/fpu/s_cos.S: Likewise.
41858 * sysdeps/i386/fpu/s_sin.S: Likewise.
41859 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41860 * sysdeps/i386/fpu/sincos32.c: Likewise.
41861
41862 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41863 Define.
41864 (libc_feupdateenv_53bit): Define.
41865 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41866 Define.
41867 (libc_feupdateenv_53bit): Define.
41868
41869 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41870 53 bit (without extend i386 double precision).
41871
41872 * math/libm-test.inc (sincos_test): Add tests for large input.
41873 (sin): Likewise.
41874 (cos): Likewise.
41875
41876 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41877
9cad04ea
AS
418782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41879
41880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41881
f7062b9a
DM
418822012-03-15 David S. Miller <davem@davemloft.net>
41883
41884 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41885 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41886 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41887 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41900 file.
f7062b9a 41901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41903 file.
f7062b9a 41904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41906 file.
f7062b9a 41907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41909 file.
f7062b9a
DM
41910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41912 fmin/fmax sysdep routines.
41913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41914
7bd951ff
DM
419152012-03-14 David S. Miller <davem@davemloft.net>
41916
559398ab
DM
41917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41946 routines.
41947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41948 file.
559398ab 41949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41951 file.
559398ab 41952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41954 file.
559398ab 41955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41957 file.
559398ab 41958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41960 file.
559398ab 41961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41963 file.
41964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41965 file.
41966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41967 file.
41968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41969 file.
41970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41971 New file.
41972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41973 file.
41974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41975 file.
559398ab 41976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41978 file.
559398ab 41979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41981 file.
559398ab 41982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41984 file.
559398ab 41985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41987 VIS3 routines.
559398ab
DM
41988
41989 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41990 New file.
41991
5a1c1e32
DM
41992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41993
eae47a36
DM
41994 * sysdeps/sparc/configure.in: New file.
41995 * sysdeps/sparc/configure: Generate.
41996 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41997 * configure: Regenerate.
41998 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41999 * config.make.in (have-as-vis3): New.
42000 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42001 available use -Av9d instead of -Av9a.
42002 * sysdeps/sparc/sparc64/Makefile: Likewise.
42003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42005 New file.
42006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42007 file.
42008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42009 New file.
42010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42011 file.
eae47a36
DM
42012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42016 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42017
c0c83bc8
DM
42018 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42019 fzeros/fnegs to load 0x80000000 into a float register instead of
42020 using the stack.
7bd951ff
DM
42021 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42022
bd951ccb
JM
420232012-03-14 Joseph Myers <joseph@codesourcery.com>
42024
42025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42026 bits/syscall.h.
42027 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42028 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42029 ($(inst_includedir)/bits/syscall.h): Remove rule.
42030 ($(objpfx)bits/syscall.d): Include instead of
42031 $(objpfx)syscall-list.d.
42032 (generated): Change syscall-list.h and syscall-list.d to
42033 bits/syscall.h and bits/syscall.d.
42034
bb4e6db2
RM
420352012-03-14 Roland McGrath <roland@hack.frob.com>
42036
42037 [BZ #13846]
42038 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42039
aa4a2ae1
JM
420402012-03-14 Joseph Myers <joseph@codesourcery.com>
42041
e456826d
JM
42042 [BZ #13841]
42043 * math/s_csqrt.c: Include <float.h>.
42044 (__csqrt): Scale large or subnormal inputs.
42045 * math/s_csqrtf.c: Likewise.
42046 * math/s_csqrtl.c: Likewise.
42047 * math/libm-test.inc (csqrt_test): Add more tests.
42048 * sysdeps/i386/fpu/libm-test-ulps: Update.
42049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42050
aa4a2ae1
JM
42051 [BZ #13840]
42052 * math/libm-test.inc (hypot_test): Add more tests.
42053
7c10fd35
DM
420542012-03-13 David S. Miller <davem@davemloft.net>
42055
42056 [BZ #13840]
42057 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42058 double-precision for the calculation instead of scaling.
42059
f453b98b
JM
420602012-03-13 Joseph Myers <joseph@codesourcery.com>
42061
42062 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42063 manipulate bits before adding and subtracting TWO52[sx].
42064 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42066 Likewise.
42067 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42068
09a3453f
DM
420692012-03-13 David S. Miller <davem@davemloft.net>
42070
8e59da90
DM
42071 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42072 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42074 rtld-global-offsets.h
42075 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42076
2a8ab7f2
DM
42077 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42078 large parameters.
42079
10f62770
DM
42080 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42081
5f0bdb18
DM
42082 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42083 'err' in the ifdef scope in which it is actually used.
42084
09a3453f
DM
42085 * nss/nss_db/db-init.c: Include string.h
42086
b4b2eb5e
DM
420872012-03-12 David S. Miller <davem@davemloft.net>
42088
98bb2f1c
DM
42089 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42090 masking out of the most significant byte of random value used.
42091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42092 Fix coding style in previous change.
42093
b4b2eb5e
DM
42094 * sysdeps/unix/sysv/linux/kernel-features.h
42095 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42096 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42097 expression.
42098 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42099 later.
42100
6e226b09
DM
421012012-03-11 David S. Miller <davem@davemloft.net>
42102
a1bcbd40
DM
42103 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42104 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42106 for 'resultvar' otherwise things get truncated on 64-bit.
42107
cb9d6174
DM
42108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42109 Fix masking out of the most significant byte of random value used.
42110
6e226b09
DM
42111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42112
058c132d
AS
421132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42114
42115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42116
2d2cd515
DM
421172012-03-09 David S. Miller <davem@davemloft.net>
42118
42119 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42120 variables with appropriate CPP guards.
57f41c40
AS
42121 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42122 from the frame pointer, not the stack pointer. Correct layout
42123 comments. Fix test on resulting framesize and the management of
42124 the outregs buffer for pltexit. Preserve floating point return
42125 values across _dl_call_pltexit call.
2d2cd515
DM
42126 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42127 framesize and the management of the outregs buffer for pltexit.
42128 Preserve floating point return values across _dl_call_pltexit
42129 call.
57f41c40
AS
42130 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42131 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42132 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42133 (print_exit): Fix format string for return register value.
42134
9a07f9d0
JM
421352012-03-10 Joseph Myers <joseph@codesourcery.com>
42136
42137 * sunrpc/Makefile (others): Add rpcgen.
42138 ($(objpfx)rpcgen): Remove special build rule and dependency on
42139 libc.
42140 * sunrpc/rpcgen.c: New file.
42141
547b5e30
PE
421422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42143
c524201a
PE
42144 [BZ #13673]
42145 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42146 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42147 * sysdeps/i386/crti.S: Likewise.
42148 * sysdeps/i386/crtn.S: Likewise.
42149 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42150 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42151 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42152 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42153 * sysdeps/sh/crti.S: Likewise.
42154 * sysdeps/sh/crtn.S: Likewise.
42155 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42156
7b6235f2
PE
42157 [BZ #13673]
42158 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42159 with URL.
42160 * locale/programs/locfile-kw.gperf: Likewise.
42161 * locale/programs/charmap-kw.h: Regenerated.
42162 * locale/programs/locfile-kw.h: Likewise.
42163
547b5e30
PE
42164 [BZ #13673]
42165 * intl/plural.y: Replace FSF snail mail address with URL.
42166 * intl/plural.c: Regenerated.
42167
5f0a5dae
RH
421682012-03-09 Richard Henderson <rth@twiddle.net>
42169
42170 * include/math_private.h: Remove file.
42171 * math/math_private.h: Move file ...
42172 * sysdeps/generic/math_private.h: ... here.
42173
b8c03620
RH
42174 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42175 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42176 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42177
4e234f5d 42178 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42179 and <math_private.h>.
42180 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42181 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42182 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42183 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42184 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42186 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42198 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42201 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42202 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42204 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42206 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42207 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42210 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42212 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42220 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42222 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42223 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42224 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42225 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42226 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42228 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42229 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42230 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42231 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42232 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42233 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42234 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42235 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42236 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42237 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42239 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42240 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42241 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42243 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42244 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42245 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42246 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42247 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42248 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42249 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42250 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42251 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42252 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42253 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42254 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42255 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42256 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42259 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42260 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42261 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42262 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42263 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42266 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42267 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42268 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42269 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42270 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42271 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42272 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42273 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42274 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42275 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42276 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42277 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42278 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42279 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42280 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42281 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42282 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42283 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42284 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42285 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42286 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42287 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42288 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42290 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42291 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42292 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42293 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42294 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42295 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42296 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42297 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42298 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42299 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42300 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42301 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42302 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42303 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42304 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42305 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42306 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42307 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42308 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42309 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42310 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42311 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42312 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42313 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42314 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42315 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42316 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42317 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42318 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42319 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42320 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42321 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42322 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42323 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42324 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42325 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42326 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42327 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42328 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42329 * sysdeps/ieee754/k_standard.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42397 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42403 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42404 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42407 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42420 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42421 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42429 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42430 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42431 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42435 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42444 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42445 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42446 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42449 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42450 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42452 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42453 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42455 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42457 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42458 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42459 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42460 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42462 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42463 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42465 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42478 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42479 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42480 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42481 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42482 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42484 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42485 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42486 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42489 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42490 * sysdeps/ieee754/s_lib_version.c: Likewise.
42491 * sysdeps/ieee754/s_matherr.c: Likewise.
42492 * sysdeps/ieee754/s_signgam.c: Likewise.
42493 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42494 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42495 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42496 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42497 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42498 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42499 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42500 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42501 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42502 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42503 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42504 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42505 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42506 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42507 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42508 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42510 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42511 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42512 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42514
1991fa03
JM
425152012-03-09 Joseph Myers <joseph@codesourcery.com>
42516
42517 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42518 * sunrpc/rpc_main.c: Likewise.
42519 * sunrpc/rpc_svcout.c: Likewise.
42520
60d6f5a6
DM
425212012-03-09 David S. Miller <davem@davemloft.net>
42522
42523 * include/math_private.h: New file.
42524
4962050e
JM
425252012-03-09 Joseph Myers <joseph@codesourcery.com>
42526
02a6f887
JM
42527 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42528 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42529 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42530 from <bits/socket_type.h>.
42531 (enum __socket_type): Don't define here.
42532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42534 bits/socket_type.h.
42535
c6e013c1
JM
42536 [BZ #13566]
42537 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42538 checking __USE_GNU.
42539
4962050e
JM
42540 * Makerules ($(inst_includedir)/%.h): New rule.
42541 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42542 (install-others): Remove variable setting.
42543 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42544
38842f45
RH
425452012-03-08 Richard Henderson <rth@twiddle.net>
42546
67bb6da6
RH
42547 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42548 from macro to inline function; merge with the
42549 !__LIBC_INTERNAL_MATH_INLINES version.
42550 (__ieee754_sqrtf): Likewise.
42551
15194b4b
RH
42552 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42553 to inline function.
42554 (__rintf, __floor, __floorf): Likewise.
42555
64e21ede
RH
42556 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42557 macro to inline function.
42558 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42559
38842f45
RH
42560 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42561 not <math/math_private.h>.
42562
c64bf5fe
DM
425632012-03-08 David S. Miller <davem@davemloft.net>
42564
42565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42566 copyright year.
42567 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42568
82d86f28
TS
425692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42570
42571 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42572 normalization.
42573 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42574 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42575
aea5d727
UD
425762012-03-08 Ulrich Drepper <drepper@gmail.com>
42577
42578 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42579 be defined individually, they must be defined as a block. Define
42580 S for printing a string instead of hidint the different by using a
42581 macro for adding the 'l'.
42582 * stdio-common/tst-fphex-wide.c: Adjust.
42583
70bca0a3
MP
425842012-03-07 Marek Polacek <polacek@redhat.com>
42585
42586 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42587
65b81130
MP
425882012-03-08 Marek Polacek <polacek@redhat.com>
42589
42590 [BZ #13806]
42591 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42592 * stdio-common/tst-fphex.c: Define a few macros to make the
42593 test reusable. Use them.
42594 * stdio-common/tst-fphex-wide.c: New file.
42595
07037eeb
JM
425962012-03-08 Joseph Myers <joseph@codesourcery.com>
42597
a7a93d50
JM
42598 [BZ #6911]
42599 * manual/macros.texi (gnusystems): New macro.
42600 (nongnusystems): Likewise.
42601 (gnulinuxhurdsystems): Likewise.
42602 (gnuhurdsystems): Likewise..
42603 (gnulinuxsystems): Likewise.
42604 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42605 variants of the GNU system, not "GNU system".
42606 * manual/conf.texi: Likewise.
42607 * manual/errno.texi: Likewise. Update example of errno macro
42608 expansion.
42609 * manual/filesys.texi: Likewise.
42610 (getumask): Document as specific to GNU/Hurd.
42611 * manual/install.texi: Likewise. Reword some references to
42612 GNU/Linux.
42613 * manual/intro.texi: Likewise.
42614 * manual/io.texi: Likewise.
42615 (File Name Portability): Detail which constraints are inapplicable
42616 to all GNU systems and which are only inapplicable to GNU/Hurd.
42617 * manual/job.texi: Likewise.
42618 * manual/llio.texi: Likewise.
42619 (O_NOCTTY): Document as present on GNU/Linux.
42620 * manual/maint.texi: Likewise.
42621 * manual/memory.texi: Likewise.
42622 * manual/pattern.texi: Likewise.
42623 * manual/pipe.texi: Likewise.
42624 * manual/process.texi: Likewise.
42625 * manual/resource.texi: Likewise.
42626 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42627 child on GNU/Hurd.
42628 * manual/setjmp.texi: Likewise.
42629 * manual/signal.texi: Likewise.
42630 * manual/startup.texi: Likewise.
42631 * manual/stdio.texi: Likewise.
42632 * manual/terminal.texi: Likewise.
42633 (ONLCR): Document as POSIX.
42634 (OXTABS): Document availability on GNU/Linux as XTABS.
42635 (ONOEOT): Document availability separately from other bits.
42636 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42637 * manual/time.texi: Likewise.
42638 * manual/users.texi: Likewise.
42639 * INSTALL: Regenerated.
42640 * sysdeps/gnu/errlist.c: Regenerated.
42641
07037eeb
JM
42642 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42643 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42644 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42645 puts.
42646 * configure: Regenerated.
42647
d1d3431a
JM
426482012-03-07 Joseph Myers <joseph@codesourcery.com>
42649
af6a1e37
JM
42650 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42651 default includes instead of AC_HEADER_CHECK.
42652 * sysdeps/i386/configure: Regenerated.
42653
d1d3431a
JM
42654 [BZ #10716]
42655 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42656 * math/s_cacoshf.c (__cacoshf): Likewise.
42657 * math/s_cacoshl.c (__cacoshl): Likewise.
42658 * math/s_casinh.c (__casinh): Set signs of result from argument.
42659 * math/s_casinhf.c (__casinhf): Likewise.
42660 * math/s_casinhl.c (__casinhl): Likewise.
42661 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42662 (casinh_test): Add more tests.
42663 * sysdeps/i386/fpu/libm-test-ulps: Update.
42664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42665
482ff4da
UD
426662012-03-07 Ulrich Drepper <drepper@gmail.com>
42667
872fda05
UD
42668 * po/zh_TW.po: Update from translation team.
42669
a4300c7a
UD
42670 * login/Makefile (distribute): Remove variable.
42671 * catgets/Makefile: Likewise.
42672 * mach/Makefile: Likewise.
42673 * malloc/Makefile: Likewise.
42674 * misc/Makefile: Likewise.
42675 * iconv/Makefile: Likewise.
42676 * nscd/Makefile: Likewise.
42677 * hurd/Makefile: Likewise.
42678 * manual/Makefile: Likewise.
42679 * locale/Makefile: Likewise.
42680 * intl/Makefile: Likewise.
42681 * conform/Makefile: Likewise.
42682 * nss/Makefile: Likewise.
42683 * time/Makefile: Likewise.
42684 * soft-fp/Makefile: Likewise.
42685 * dirent/Makefile: Likewise.
42686 * gmon/Makefile: Likewise.
42687 * po/Makefile: Likewise.
42688 * rt/Makefile: Likewise.
42689 * socket/Makefile: Likewise.
42690 * math/Makefile: Likewise.
42691 * signal/Makefile: Likewise.
42692 * debug/Makefile: Likewise.
42693 * elf/Makefile: Likewise.
42694 * timezone/Makefile: Likewise.
42695 * stdlib/Makefile: Likewise.
42696 * iconvdata/Makefile: Likewise.
42697 * sunrpc/Makefile: Likewise.
42698 * io/Makefile: Likewise.
42699 * argp/Makefile: Likewise.
42700 * inet/Makefile: Likewise.
42701 * hesiod/Makefile: Likewise.
42702 * grp/Makefile: Likewise.
42703 * csu/Makefile: Likewise.
42704 * wctype/Makefile: Likewise.
42705 * crypt/Makefile: Likewise.
42706 * libio/Makefile: Likewise.
42707 * string/Makefile: Likewise.
42708 * nis/Makefile: Likewise.
42709 * resolv/Makefile: Likewise.
42710 * stdio-common/Makefile: Likewise.
42711 * wcsmbs/Makefile: Likewise.
42712 * dlfcn/Makefile: Likewise.
42713 * posix/Makefile: Likewise.
42714
3b7c4e74 42715 [BZ #6959]
482ff4da
UD
42716 * timezone/Makefile: Don't install timezone files, just the programs
42717 and scripts.
42718
f72ed77d
UD
427192012-03-06 Ulrich Drepper <drepper@gmail.com>
42720
a000466f
UD
42721 * nss/databases.def: Add missing gshadow entry.
42722
f72ed77d
UD
42723 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42724
a53b7a4e
MP
427252012-03-06 Marek Polacek <polacek@redhat.com>
42726
42727 [BZ #13726]
42728 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42729 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42730 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42731 * stdio-common/tst-long-dbl-fphex.c: New file.
42732
e9258400
DM
427332012-03-06 David S. Miller <davem@davemloft.net>
42734
42735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42736 (set_obp_int): New function.
42737 (get_obp_int): New function.
42738 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42739 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42740 Avoid unused variable warnings on 'val' and use builtin_expect.
42741 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42742 __builtin_expect.
e9258400
DM
42743 (INLINE_CLONE_SYSCALL): Likewise.
42744
3bd2c723
DM
427452012-03-05 David S. Miller <davem@davemloft.net>
42746
42747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42748
bbb78d03
AS
427492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42750
884c5db4
AS
42751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42752
bbb78d03
AS
42753 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42754 only for |x| >= 40.
42755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42756
1c9f702a 427572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42758
42759 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42760 Replace gettimeofday with __vdso_gettimeofday.
42761
7be16f82
RM
42762 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42763 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42764 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42765
42766 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42767 time with __vdso_time.
42768
ed58a00f
JM
427692012-03-05 Joseph Myers <joseph@codesourcery.com>
42770
42771 * manual/lang.texi (size_t): Note types to which size_t may be
42772 equivalent with the GNU C Library, but do not describe when
42773 differences between them are significant.
42774
30ee4ced
AJ
427752012-03-05 Andreas Jaeger <aj@suse.de>
42776
42777 * sysdeps/i386/fpu/libm-test-ulps: Update.
42778
b7cd39e8
JM
427792012-03-05 Joseph Myers <joseph@codesourcery.com>
42780
42781 [BZ #3976]
42782 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42783 (__ieee754_pow): Save and restore rounding mode and use
42784 round-to-nearest for main computations.
42785 * math/libm-test.inc (pow_test_tonearest): New function.
42786 (pow_test_towardzero): Likewise.
42787 (pow_test_downward): Likewise.
42788 (pow_test_upward): Likewise.
42789 (main): Call the new functions.
42790 * sysdeps/i386/fpu/libm-test-ulps: Update.
42791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42792
42793 [BZ #3976]
42794 * math/libm-test.inc (cosh_test_tonearest): New function.
42795 (cosh_test_towardzero): Likewise.
42796 (cosh_test_downward): Likewise.
42797 (cosh_test_upward): Likewise.
42798 (sinh_test_tonearest): Likewise.
42799 (sinh_test_towardzero): Likewise.
42800 (sinh_test_downward): Likewise.
42801 (sinh_test_upward): Likewise.
42802 (main): Call the new functions.
42803 * sysdeps/i386/fpu/libm-test-ulps: Update.
42804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42805
6c6a98c9
TV
428062012-03-05 Tom de Vries <tom@codesourcery.com>
42807
42808 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42809 default stack guard is set in last bytes.
42810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42811
21bb2d2e 428122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42813
21bb2d2e 42814 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42815
21bb2d2e
AJ
42816 [BZ #13656]
42817 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42818 possibly allocate from heap instead of stack.
42819 * stdio-common/bug-vfprintf-nargs.c: New file.
42820 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42821
c6922934
AS
428222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42823
42824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42825
bc957d53
MP
428262012-03-03 Marek Polacek <polacek@redhat.com>
42827
42828 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42829 * math/math_private.h: Likewise.
42830 * stdlib/tst-strtod.c: Likewise.
42831 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42832 * sysdeps/x86_64/bits/atomic.h: Likewise.
42833
6358490d
DM
428342012-03-02 David S. Miller <davem@davemloft.net>
42835
42836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42840 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42841 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42842 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42843 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42844
01ae168d
RM
428452012-03-02 Roland McGrath <roland@hack.frob.com>
42846
d9a17c07
RM
42847 [BZ #13792]
42848 * manual/examples/README: New file, says the example source files
42849 can be used under GPL>=2.
42850 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42851 line containing just "*/".
42852 * manual/examples/add.c: Add copyright header (GPL>=2).
42853 * manual/examples/argp-ex1.c: Likewise.
42854 * manual/examples/argp-ex2.c: Likewise.
42855 * manual/examples/argp-ex3.c: Likewise.
42856 * manual/examples/argp-ex4.c: Likewise.
42857 * manual/examples/atexit.c: Likewise.
42858 * manual/examples/db.c: Likewise.
42859 * manual/examples/dir.c: Likewise.
42860 * manual/examples/dir2.c: Likewise.
42861 * manual/examples/execinfo.c: Likewise.
42862 * manual/examples/filecli.c: Likewise.
42863 * manual/examples/filesrv.c: Likewise.
42864 * manual/examples/fmtmsgexpl.c: Likewise.
42865 * manual/examples/genpass.c: Likewise.
42866 * manual/examples/inetcli.c: Likewise.
42867 * manual/examples/inetsrv.c: Likewise.
42868 * manual/examples/isockad.c: Likewise.
42869 * manual/examples/longopt.c: Likewise.
42870 * manual/examples/memopen.c: Likewise.
42871 * manual/examples/memstrm.c: Likewise.
42872 * manual/examples/mkfsock.c: Likewise.
42873 * manual/examples/mkisock.c: Likewise.
42874 * manual/examples/mygetpass.c: Likewise.
42875 * manual/examples/pipe.c: Likewise.
42876 * manual/examples/popen.c: Likewise.
42877 * manual/examples/rprintf.c: Likewise.
42878 * manual/examples/search.c: Likewise.
42879 * manual/examples/select.c: Likewise.
42880 * manual/examples/setjmp.c: Likewise.
42881 * manual/examples/sigh1.c: Likewise.
42882 * manual/examples/sigusr.c: Likewise.
42883 * manual/examples/stpcpy.c: Likewise.
42884 * manual/examples/strdupa.c: Likewise.
42885 * manual/examples/strftim.c: Likewise.
42886 * manual/examples/strncat.c: Likewise.
42887 * manual/examples/subopt.c: Likewise.
42888 * manual/examples/swapcontext.c: Likewise.
42889 * manual/examples/termios.c: Likewise.
42890 * manual/examples/testopt.c: Likewise.
42891 * manual/examples/testpass.c: Likewise.
42892 * manual/examples/timeval_subtract.c: Likewise.
42893
01ae168d
RM
42894 [BZ #13792]
42895 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42896 function to ...
42897 * manual/timeval_subtract.c.texi: ... here, new file.
42898
49efa33d
DM
428992012-03-02 David S. Miller <davem@davemloft.net>
42900
42901 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42902
28afd92d
JM
429032012-03-02 Joseph Myers <joseph@codesourcery.com>
42904
804360ed
JM
42905 [BZ #3976]
42906 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42907 (__sin): Save and restore rounding mode and use round-to-nearest
42908 for all computations.
42909 (__cos): Save and restore rounding mode and use round-to-nearest
42910 for all computations.
42911 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42912 <fenv.h>.
42913 (tan): Save and restore rounding mode and use round-to-nearest for
42914 all computations.
42915 * math/libm-test.inc (cos_test_tonearest): New function.
42916 (cos_test_towardzero): Likewise.
42917 (cos_test_downward): Likewise.
42918 (cos_test_upward): Likewise.
42919 (sin_test_tonearest): Likewise.
42920 (sin_test_towardzero): Likewise.
42921 (sin_test_downward): Likewise.
42922 (sin_test_upward): Likewise.
42923 (tan_test_tonearest): Likewise.
42924 (tan_test_towardzero): Likewise.
42925 (tan_test_downward): Likewise.
42926 (tan_test_upward): Likewise.
42927 (main): Call the new functions.
42928 * sysdeps/i386/fpu/libm-test-ulps: Update.
42929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42930
a6d06d7b
JM
42931 [BZ #10135]
42932 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42933 small n, then large n, before computing and testing k+n.
42934 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42935 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42936 Likewise.
42937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42938 Likewise.
42939 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42940 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42941 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42942 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42945 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42946 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42947 * math/libm-test.inc (scalbn_test): Add more tests.
42948 (scalbln_test): Likewise.
42949
07e12bb3
JM
42950 * manual/filesys.texi (mode_t): Describe constraints on size and
42951 signedness, not exact equivalence to a particular type.
42952 (ino_t): Likewise.
42953 (ino64_t): Likewise.
42954 (dev_t): Likewise.
42955 (nlink_t): Likewise.
42956 (blkcnt_t): Likewise.
42957 (blkcnt64_t): Likewise.
42958 * manual/llio.texi (off_t): Likewise.
42959
28afd92d
JM
42960 [BZ #3976]
42961 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42962 (__ieee754_exp): Save and restore rounding mode and use
42963 round-to-nearest for all computations.
42964 * math/libm-test.inc (exp_test_tonearest): New function.
42965 (exp_test_towardzero): Likewise.
42966 (exp_test_downward): Likewise.
42967 (exp_test_upward): Likewise.
42968 (main): Call the new functions.
42969 * sysdeps/i386/fpu/libm-test-ulps: Update.
42970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42971
b1eeb65d
CD
429722012-03-01 Chris Demetriou <cgd@google.com>
42973
42974 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42975 have predictable order.
42976
53362a4b
DM
429772012-03-01 David S. Miller <davem@davemloft.net>
42978
3c969083
DM
42979 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42980
759707de
DM
42981 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42982 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42983 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42984 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42985
dfdb8ff2
DM
42986 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42987 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42988 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42990 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42991 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42992 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42993 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42994 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42995
ead89f96
DM
42996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42997
7f66bd07
DM
42998 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42999 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43000 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43001
53362a4b
DM
43002 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43003 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43004 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43005 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43006 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43008 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43009 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43010 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43011 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43012 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43013 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43014 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43015 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43016 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43018 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43019 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43020 * sysdeps/sparc/elf/configure: Regenerated.
43021
7b1902cb
JM
430222012-03-01 Joseph Myers <joseph@codesourcery.com>
43023
bec039bc
JM
43024 * configure.in (AS, LD): Require binutils 2.20 or later.
43025 * configure: Regenerated.
43026 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43027 as required minimum version.
43028 * INSTALL: Regenerated.
43029
7b1902cb
JM
43030 [BZ #2541]
43031 [BZ #4108]
43032 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43033 before squaring exponent.
43034 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43035 bottom long double and 27 bits of top long double before squaring
43036 exponent.
43037 * math/libm-test.inc (erfc_test): Add more tests.
43038 * sysdeps/i386/fpu/libm-test-ulps: Update.
43039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43041
f775c276
KT
430422012-03-01 Kai Tietz <ktietz@redhat.com>
43043
43044 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43045 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43046 containing bit-fields.
43047 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43048 * soft-fp/single.h (_FP_UNION_S): Likewise.
43049 * soft-fp/double.h (_FP_UNION_D): Likewise.
43050
5b8a4d4a
JM
430512012-02-29 Joseph Myers <joseph@codesourcery.com>
43052
0bab47b6
JM
43053 [BZ #13786]
43054 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43055 not include ../strcmp.S.
43056 [USE_AS_STRNCASECMP_L]: Likewise.
43057 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43058 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43059 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43060 (__strncasecmp_l_ia32): Define as alias to
43061 __strncasecmp_l_nonascii.
43062
0fcad3e2
JM
43063 [BZ #5794]
43064 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43065 * sysdeps/i386/fpu/libm-test-ulps: Update.
43066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43067
5b8a4d4a
JM
43068 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43070
8fdceb2e
JL
430712012-02-29 Jeff Law <law@redhat.com>
43072
43073 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43074 out of bounds read.
43075
1f393a11
MP
430762012-02-29 Marek Polacek <polacek@redhat.com>
43077
43078 [BZ #13706]
43079 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43080 * elf/Makefile: Add rules to run tst-unused-dep.out.
43081
8847f037
DM
430822012-02-28 David S. Miller <davem@davemloft.net>
43083
43084 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43085 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43086 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43087 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43088 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43089 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43090
169d7f11
JM
430912012-02-29 Joseph Myers <joseph@codesourcery.com>
43092
43093 * math/libm-test.inc (llround_test): Move one test from
43094 lround_test. Use TEST_f_L in moved test.
43095 (lround_test): Move misplaced test to llround_test. Add testcase
43096 from bug 2561.
43097
39adf059
UD
430982012-02-28 Ulrich Drepper <drepper@gmail.com>
43099
43100 * sysdeps/x86_64/fpu/e_expf.S: New file.
43101 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43102
71b5d1c5
SB
431032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43104
43105 [BZ #13637]
43106 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43107 of remain_len that may cause incomplete multi-byte character and
43108 false match.
43109 * posix/bug-regex33.c: New file.
43110 * posix/Makefile (tests): Add bug-regex33.
43111
1f77f049
JM
431122012-02-28 Joseph Myers <joseph@codesourcery.com>
43113
43114 * manual/macros.texi: New file.
43115 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43116 * manual/libc.texinfo: Include macros.texi.
43117 * manual/creatute.texi: Likewise.
43118 * manual/install.texi: Likewise.
43119 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43120 @glibcadj{} in references to the GNU C Library.
43121 * manual/charset.texi: Likewise.
43122 * manual/conf.texi: Likewise.
43123 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43124 when not using those macros.
43125 * manual/creature.texi: Likewise.
43126 * manual/crypt.texi: Likewise.
43127 * manual/errno.texi: Likewise.
43128 * manual/filesys.texi: Likewise.
43129 * manual/header.texi: Likewise.
43130 * manual/install.texi: Likewise.
43131 * manual/intro.texi: Likewise.
43132 * manual/io.texi: Likewise.
43133 * manual/job.texi: Likewise.
43134 * manual/lang.texi: Likewise.
43135 * manual/libc.texiinfo: Likewise.
43136 * manual/llio.texi: Likewise.
43137 * manual/locale.texi: Likewise.
43138 * manual/maint.texi: Likewise.
43139 * manual/math.texi: Likewise.
43140 * manual/memory.texi: Likewise.
43141 * manual/message.texi: Likewise.
43142 * manual/nss.texi: Likewise.
43143 * manual/pattern.texi: Likewise.
43144 * manual/process.texi: Likewise.
43145 * manual/resource.texi: Likewise.
43146 * manual/search.texi: Likewise.
43147 * manual/setjmp.texi: Likewise.
43148 * manual/signal.texi: Likewise.
43149 * manual/socket.texi: Likewise.
43150 * manual/startup.texi: Likewise.
43151 * manual/stdio.texi: Likewise.
43152 * manual/string.texi: Likewise.
43153 * manual/sysinfo.texi: Likewise.
43154 * manual/syslog.texi: Likewise.
43155 * manual/terminal.texi: Likewise.
43156 * manual/time.texi: Likewise.
43157 * manual/users.texi: Likewise.
43158 * INSTALL: Regenerated.
43159 * NOTES: Regenerated.
d40c5d54 43160 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43161
450bf206
AS
431622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43163
43164 * include/dirent.h: Include <dirstream.h> before
43165 <dirent/dirent.h>.
43166
741a235b
DM
431672012-02-28 David S. Miller <davem@davemloft.net>
43168
43169 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43170 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43171 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43172 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43173
d6b5aa58
DM
431742012-02-27 David S. Miller <davem@davemloft.net>
43175
1aff59a3
DM
43176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43178 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43179 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43180
d6b5aa58
DM
43181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43182 frame pointer instead of stack pointer relative arg slot.
43183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43184 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43185 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43186
433f48bf
CD
431872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43188
43189 [BZ #3992]
43190 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43191
d674b76d
DM
431922012-02-27 David S. Miller <davem@davemloft.net>
43193
43194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43198 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43199 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43200 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43201 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43202
0e7727f7
JM
432032012-02-27 Joseph Myers <joseph@codesourcery.com>
43204
43205 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43206 later. Allow versions 5-9.
43be4ca2 43207 * configure: Regenerated.
0e7727f7
JM
43208 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43209 required minimum version and 4.6 as recommended version. Do not
43210 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43211 * INSTALL: Regenerated.
0e7727f7 43212
a78bc654
DM
432132012-02-27 David S. Miller <davem@davemloft.net>
43214
428d5830
DM
43215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43219 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43220 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43221 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43222 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43223
a78bc654
DM
43224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43225 manipulate bits before adding and subtracting TWO112[sx].
43226 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43227
4579f81c
RM
432282012-02-27 Roland McGrath <roland@hack.frob.com>
43229
36c8acb4
RM
43230 [BZ #13775]
43231 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43232 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43233 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43234 being in POSIX, because they are in 1003.1-2008.
43235
84ad622b
RM
43236 * rt/tst-aio.c: Include <fcntl.h>.
43237 * rt/tst-aio7.c: Likewise.
43238 * rt/tst-aio64.c: Likewise.
43239
4579f81c
RM
43240 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43241
abd923db
JM
432422012-02-27 Joseph Myers <joseph@codesourcery.com>
43243
43244 * manual/install.texi (--with-headers): Describe headers as
43245 interface headers, not private headers.
43246 (Specific advice for GNU/Linux systems): Describe use of headers
43247 from "make headers_install", not private headers from older
43248 kernels.
43be4ca2 43249 * INSTALL: Regenerated.
abd923db
JM
43250 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43251 Change to 2.6.19.
43252 * sysdeps/unix/sysv/linux/configure: Regenerated.
43253
6664049b
JM
43254 * manual/llio.texi (fclean): Remove documentation.
43255
bb8b6697
JM
43256 * manual/Makefile (libc-texi-generated): New variable. Include
43257 version.texi.
43258 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43259 $(libc-texi-generated), not duplicated list of files.
43260 (version.texi, stamp-version): New rules.
43261 (realclean): Remove $(libc-texi-generated), not individual files
43262 from that list. Do not remove dir-add.texinfo.
43263 * manual/libc.texinfo: Comment out uses of edition numbers and
43264 references to printed manual. Remove last-updated dates.
43265 (EDITION): Comment out.
43266 (ISBN): Likewise.
43267 (VERSION, UPDATED): Remove.
43268 (version.texi): Include.
43269
12e5c3b9
AS
432702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43271
43272 * sysdeps/posix/spawni.c: Include <signal.h>.
43273 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43274 * sysdeps/pthread/aio_fsync.c: Likewise.
43275
4efeffc1 432762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43277
ba63ba08
UD
43278 * conform/Makefile (tests): Run only when not cross-compiling and
43279 when fast-check is not defined.
43280
d94a4670
UD
43281 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43282 * conform/data/limits.h-data: Fixes for POSIX2008.
43283 * conform/run-conformtest.sh: Run all tests.
43284 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43285 headers.
43286 * include/bits/dlfcn.h: Likewise.
43287 * include/langinfo.h: Likewise.
43288 * include/monetary.h: Likewise.
43289 * include/sys/poll.h: Likewise.
43290
43291 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43292 for __USE_GNU.
43293 * posix/spawn.h: Define __need_sigset_t.
43294 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43295 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43296 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43297 to get sigevent_t only.
43298 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43299 only for __USE_GNU.
43300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43301 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43302 process_vm_writev only for __USE_GNU.
43303 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43304
43305 * conform/Makefile: For now ignore errors from run-conformtest.
43306 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43307 POSIX to avoid namespace pollution. Don't prepend headers.
43308 * conform/data/aio.h-data: Fixes for POSIX testing.
43309 * conform/data/fcntl.h-data: Likewise.
43310 * conform/data/glob.h-data: Likewise.
43311 * conform/data/grp.h-data: Likewise.
43312 * conform/data/pthread.h-data: Likewise.
43313 * conform/data/pwd.h-data: Likewise.
43314 * conform/data/signal.h-data: Likewise.
43315 * conform/data/spawn.h-data: Likewise.
43316 * conform/data/stdio.h-data: Likewise.
43317 * conform/data/stdlib.h-data: Likewise.
43318 * conform/data/stropts.h-data: Likewise.
43319 * conform/data/sys/mman.h-data: Likewise.
43320 * conform/data/sys/stat.h-data: Likewise.
43321 * conform/data/sys/types.h-data: Likewise.
43322 * conform/data/sys/wait.h-data: Likewise.
43323 * conform/data/time.h-data: Likewise.
43324 * conform/data/unistd.h-data: Likewise.
43325 * conform/data/utime.h-data: Likewise.
43326
43327 * io/sys/stat.h: fchmod was always in POSIX.
43328 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43329 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43330 * rt/aio.h: Define __need_timespec before including <time.h>.
43331 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43332 struct. Add forward declaration of pthread_attr_t and use it in
43333 sigevent.
43334 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43335 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43336 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43337 always remove CLK_TCK definition.
43338
c20105c3
AS
433392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43340
43341 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43342
7a270350
UD
433432012-02-25 Ulrich Drepper <drepper@gmail.com>
43344
31341567
UD
43345 * conform/run-conformtest.sh: New file.
43346 * conform/Makefile: Run run-conformtest for tests.
43347 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43348 support.
43349
43350 * conform/data/uchar.h-data: New file.
43351 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43352 * conform/data/arpa/inet.h-data: Likewise.
43353 * conform/data/assert.h-data: Likewise.
43354 * conform/data/complex.h-data: Likewise.
43355 * conform/data/cpio.h-data: Likewise.
43356 * conform/data/ctype.h-data: Likewise.
43357 * conform/data/dirent.h-data: Likewise.
43358 * conform/data/dlfcn.h-data: Likewise.
43359 * conform/data/errno.h-data: Likewise.
43360 * conform/data/fcntl.h-data: Likewise.
43361 * conform/data/float.h-data: Likewise.
43362 * conform/data/fmtmsg.h-data: Likewise.
43363 * conform/data/fnmatch.h-data: Likewise.
43364 * conform/data/ftw.h-data: Likewise.
43365 * conform/data/glob.h-data: Likewise.
43366 * conform/data/grp.h-data: Likewise.
43367 * conform/data/iconv.h-data: Likewise.
43368 * conform/data/inttypes.h-data: Likewise.
43369 * conform/data/langinfo.h-data: Likewise.
43370 * conform/data/libgen.h-data: Likewise.
43371 * conform/data/limits.h-data: Likewise.
43372 * conform/data/locale.h-data: Likewise.
43373 * conform/data/math.h-data: Likewise.
43374 * conform/data/monetary.h-data: Likewise.
43375 * conform/data/mqueue.h-data: Likewise.
43376 * conform/data/ndbm.h-data: Likewise.
43377 * conform/data/net/if.h-data: Likewise.
43378 * conform/data/netdb.h-data: Likewise.
43379 * conform/data/netinet/in.h-data: Likewise.
43380 * conform/data/nl_types.h-data: Likewise.
43381 * conform/data/poll.h-data: Likewise.
43382 * conform/data/pthread.h-data: Likewise.
43383 * conform/data/pwd.h-data: Likewise.
43384 * conform/data/regex.h-data: Likewise.
43385 * conform/data/sched.h-data: Likewise.
43386 * conform/data/search.h-data: Likewise.
43387 * conform/data/semaphore.h-data: Likewise.
43388 * conform/data/setjmp.h-data: Likewise.
43389 * conform/data/signal.h-data: Likewise.
43390 * conform/data/spawn.h-data: Likewise.
43391 * conform/data/stdarg.h-data: Likewise.
43392 * conform/data/stdio.h-data: Likewise.
43393 * conform/data/stdlib.h-data: Likewise.
43394 * conform/data/string.h-data: Likewise.
43395 * conform/data/strings.h-data: Likewise.
43396 * conform/data/stropts.h-data: Likewise.
43397 * conform/data/sys/ipc.h-data: Likewise.
43398 * conform/data/sys/mman.h-data: Likewise.
43399 * conform/data/sys/msg.h-data: Likewise.
43400 * conform/data/sys/resource.h-data: Likewise.
43401 * conform/data/sys/select.h-data: Likewise.
43402 * conform/data/sys/sem.h-data: Likewise.
43403 * conform/data/sys/shm.h-data: Likewise.
43404 * conform/data/sys/socket.h-data: Likewise.
43405 * conform/data/sys/stat.h-data: Likewise.
43406 * conform/data/sys/statvfs.h-data: Likewise.
43407 * conform/data/sys/time.h-data: Likewise.
43408 * conform/data/sys/timeb.h-data: Likewise.
43409 * conform/data/sys/times.h-data: Likewise.
43410 * conform/data/sys/types.h-data: Likewise.
43411 * conform/data/sys/uio.h-data: Likewise.
43412 * conform/data/sys/un.h-data: Likewise.
43413 * conform/data/sys/utsname.h-data: Likewise.
43414 * conform/data/sys/wait.h-data: Likewise.
43415 * conform/data/syslog.h-data: Likewise.
43416 * conform/data/tar.h-data: Likewise.
43417 * conform/data/termios.h-data: Likewise.
43418 * conform/data/utime.h-data: Likewise.
43419 * conform/data/utmpx.h-data: Likewise.
43420 * conform/data/varargs.h-data: Likewise.
43421 * conform/data/wchar.h-data: Likewise.
43422 * conform/data/wctype.h-data: Likewise.
43423 * conform/data/wordexp.h-data: Likewise.
43424
43425 * include/stropts.h: New file.
43426 * include/uchar.h: New file.
43427 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43428 * include/assert.h: Likewise.
43429 * include/ctype.h: Likewise.
43430 * include/dirent.h: Likewise.
43431 * include/dlfcn.h: Likewise.
43432 * include/fcntl.h: Likewise.
43433 * include/fnmatch.h: Likewise.
43434 * include/glob.h: Likewise.
43435 * include/grp.h: Likewise.
43436 * include/libio.h: Likewise.
43437 * include/locale.h: Likewise.
43438 * include/math.h: Likewise.
43439 * include/net/if.h: Likewise.
43440 * include/netdb.h: Likewise.
43441 * include/netinet/in.h: Likewise.
43442 * include/pthread.h: Likewise.
43443 * include/pwd.h: Likewise.
43444 * include/regex.h: Likewise.
43445 * include/sched.h: Likewise.
43446 * include/search.h: Likewise.
43447 * include/setjmp.h: Likewise.
43448 * include/signal.h: Likewise.
43449 * include/stdio.h: Likewise.
43450 * include/stdlib.h: Likewise.
43451 * include/string.h: Likewise.
43452 * include/sys/cdefs.h: Likewise.
43453 * include/sys/mman.h: Likewise.
43454 * include/sys/msg.h: Likewise.
43455 * include/sys/resource.h: Likewise.
43456 * include/sys/select.h: Likewise.
43457 * include/sys/socket.h: Likewise.
43458 * include/sys/stat.h: Likewise.
43459 * include/sys/statvfs.h: Likewise.
43460 * include/sys/time.h: Likewise.
43461 * include/sys/times.h: Likewise.
43462 * include/sys/uio.h: Likewise.
43463 * include/sys/utsname.h: Likewise.
43464 * include/sys/wait.h: Likewise.
43465 * include/termios.h: Likewise.
43466 * include/time.h: Likewise.
43467 * include/ulimit.h: Likewise.
43468 * include/unistd.h: Likewise.
43469 * include/utime.h: Likewise.
43470 * include/wchar.h: Likewise.
43471 * include/wctype.h: Likewise.
43472 * include/wordexp.h: Likewise.
43473
43474 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43475
7a270350
UD
43476 * time/time.h: TIME_UTC must be a macro.
43477 Make timespec_get available for ISO C11 only as well.
43478
7724defc
UD
434792012-02-24 Ulrich Drepper <drepper@gmail.com>
43480
43481 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43482 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43483
6b1d1d46
JM
434842012-02-24 Joseph Myers <joseph@codesourcery.com>
43485
43486 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43487
0f8bbd69
JM
434882012-02-24 Joseph Myers <joseph@codesourcery.com>
43489
43490 * manual/texinfo.tex: Update to version 2012-01-19.16.
43491
66ab80bc
JM
434922012-02-24 Joseph Myers <joseph@codesourcery.com>
43493
43494 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43495
74981cc5
RM
434962012-02-24 Roland McGrath <roland@hack.frob.com>
43497
ee968201
RM
43498 [BZ #13738]
43499 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43500 * manual/fdl-1.3.texi: New file.
43501 * manual/fdl-1.1.texi: File removed.
43502
74981cc5
RM
43503 [BZ #13738]
43504 * manual/libc.texinfo (FDL_VERSION): New @set.
43505 Use it for mention of FDL in cover text.
43506 (Documentation License): Use it in @include file name.
43507
7bb764bc
JM
435082012-02-22 Joseph Myers <joseph@codesourcery.com>
43509 Roland McGrath <roland@hack.frob.com>
43510
43511 [BZ #5461]
57f41c40
AS
43512 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43513 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43514 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43515 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43516 name.
43517 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43518
6cbeae47
JM
435192012-02-22 Joseph Myers <joseph@codesourcery.com>
43520
43521 [BZ #2547]
43522 [BZ #11365]
43523 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43524 manipulate bits before adding and subtracting TWO23[sx].
43525 * math/libm-test.inc (nearbyint_test): Add more tests.
43526
fe45ce09
JM
435272012-02-22 Joseph Myers <joseph@codesourcery.com>
43528
43529 [BZ #2548]
43530 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43531 bits before adding and subtracting TWO23[sx].
43532 * math/libm-test.inc (rint_test): Add more tests.
43533 (rint_test_tonearest): Likewise.
43534 (rint_test_towardzero): Likewise.
43535 (rint_test_downward): Likewise.
43536 (rint_test_upward: Likewise.
43537
ff3b3d82
JM
435382012-02-22 Joseph Myers <joseph@codesourcery.com>
43539
43540 [BZ #10110]
43541 * include/stdc-predef.h: New file. Extracted from features.h.
43542 * include/features.h: Include stdc-predef.h.
43543 * Makefile (headers): Add stdc-predef.h.
43544 * CONFORMANCE (Compiler limitations): Update.
43545
ef0aab35
JM
435462012-02-22 Joseph Myers <joseph@codesourcery.com>
43547
43548 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43549
58639409
DM
435502012-02-21 David S. Miller <davem@davemloft.net>
43551
43552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43553 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43554
c0e70b25
DM
435552012-02-20 David S. Miller <davem@davemloft.net>
43556
43557 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43558 using a normal save/restore sequence, rather than allocating a
43559 dummy stack frame just to store a frame pointer and restore.
43560 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43561
fb06851d
JM
435622012-02-21 Joseph Myers <joseph@codesourcery.com>
43563
43564 * manual/install.texi: Fix stray word in line-wrapped comment.
43565
7a8b71c3
DM
435662012-02-20 David S. Miller <davem@davemloft.net>
43567
d510c123
DM
43568 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43569 both binutils and gcc support GOTDATA.
43570
0722d7c2
DM
43571 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43572 "rd %pc" in the PIC register setup sequences.
43573
3d2b3019
DM
43574 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43575 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43576 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43577 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43578 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43581 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43583 (SYSCALL_ERROR_HANDLER): Likewise.
43584 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43585 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43586 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43587 (SYSCALL_ERROR_HANDLER): Likewise.
43588
c80098a9
DM
43589 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43590 (HAVE_GCC_GOTDATA): New.
43591 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43592 relocation support in both binutils and gcc.
43593 * sysdeps/sparc/elf/configure: Regenerate.
43594
3a2545a0
DM
43595 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43596 * sysdeps/sparc/sparc32/elf/configure: Delete.
43597 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43598 * sysdeps/sparc/sparc64/elf/configure: Delete.
43599 * sysdeps/sparc/elf/configure.in: New file.
43600 * sysdeps/sparc/elf/configure: Generate.
43601
7a8b71c3
DM
43602 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43603 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43604 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43605 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43606 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43607
f1e86fca
JM
436082012-02-21 Joseph Myers <joseph@codesourcery.com>
43609
43610 * manual/install.texi: Do not mention specific glibc version
43611 numbers.
43612 * manual/libc.texinfo (VERSION, UPDATED): Update.
43613 (@copying): Use @copyright{} and range of years.
43614
0e7dfaef
JM
436152012-02-21 Joseph Myers <joseph@codesourcery.com>
43616
43617 [BZ #13695]
43618 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43619 [crti.S not in sysdirs] (generated): Do not append.
43620 [crti.S not in sysdirs] (omit-deps): Likewise.
43621 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43622 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43623 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43624 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43625 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43626 Likewise.
43627 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43628 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43629 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43630 * csu/defs.awk: Remove file.
43631 * sysdeps/generic/initfini.c: Likewise.
43632 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43633 variable.
43634 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43635 Likewise.
43636
599af3ca
JM
436372012-02-20 Joseph Myers <joseph@codesourcery.com>
43638
43639 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43640 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43641 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43642 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43644 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43645 <bits/epoll.h>.
43646 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43647 (__EPOLL_PACKED): Define to empty if not defined by
43648 <bits/epoll.h>.
43649 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43651 bits/epoll.h.
43652
0e499750
JM
436532012-02-20 Joseph Myers <joseph@codesourcery.com>
43654
43655 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43656 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43657 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43658 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43659 <bits/timerfd.h>.
43660 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43662 bits/timerfd.h.
43663
5ad91f6e
JM
436642012-02-20 Joseph Myers <joseph@codesourcery.com>
43665
43666 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43667 in C locale.
43668 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43669 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43670 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43672
06b99b02
AJ
436732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43674
43675 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43676 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43677
7638c0fd
AS
436782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43679
43680 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43681 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43682 defined.
43683 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43684 Likewise.
43685 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43686 entry for 2.16.
43687
92221550
AJ
436882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43689
43690 * math/w_acos.c: Use non-signaling floating-point comparisons.
43691 * math/w_acosf.c: Likewise.
43692 * math/w_acosh.c: Likewise.
43693 * math/w_acoshf.c: Likewise.
43694 * math/w_acoshl.c: Likewise.
43695 * math/w_acosl.c: Likewise.
43696 * math/w_asin.c: Likewise.
43697 * math/w_asinf.c: Likewise.
43698 * math/w_asinl.c: Likewise.
43699 * math/w_atanh.c: Likewise.
43700 * math/w_atanhf.c: Likewise.
43701 * math/w_atanhl.c: Likewise.
43702 * math/w_exp2.c: Likewise.
43703 * math/w_exp2f.c: Likewise.
43704 * math/w_exp2l.c: Likewise.
43705 * math/w_j0.c: Likewise.
43706 * math/w_j0f.c: Likewise.
43707 * math/w_j0l.c: Likewise.
43708 * math/w_j1.c: Likewise.
43709 * math/w_j1f.c: Likewise.
43710 * math/w_j1l.c: Likewise.
43711 * math/w_jn.c: Likewise.
43712 * math/w_jnf.c: Likewise.
43713 * math/w_log.c: Likewise.
43714 * math/w_log10.c: Likewise.
43715 * math/w_log10f.c: Likewise.
43716 * math/w_log10l.c: Likewise.
43717 * math/w_log2.c: Likewise.
43718 * math/w_log2f.c: Likewise.
43719 * math/w_log2l.c: Likewise.
43720 * math/w_logf.c: Likewise.
43721 * math/w_logl.c: Likewise.
43722 * math/w_sqrt.c: Likewise.
43723 * math/w_sqrtf.c: Likewise.
43724 * math/w_sqrtl.c: Likewise.
43725 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43727 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43728 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43729 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43730
ebaf36eb
JM
437312012-02-19 Joseph Myers <joseph@codesourcery.com>
43732
43733 [BZ #9739]
43734 * manual/string.texi (strnlen): Use correct parameter name in
43735 equivalent expression.
43736
71c254a6
JM
437372012-02-19 Joseph Myers <joseph@codesourcery.com>
43738
43739 [BZ #11174]
43740 * manual/users.texi (seteuid): Consistently use neweuid for
43741 argument name.
43742
16d2c631
JM
437432012-02-19 Joseph Myers <joseph@codesourcery.com>
43744
43745 [BZ #13704]
43746 * manual/nss.texi (Services in the NSS configuration): Correct
43747 list of services in example configuration file.
43748
cd837b09
NB
437492012-02-19 Nick Bowler <nbowler@draconx.ca>
43750
43751 [BZ #11322]
43752 * manual/arith.texi: Remove statements about negative zero
43753 behaving identically to zero.
43754
02c4bbad
JM
437552012-02-18 Joseph Myers <joseph@codesourcery.com>
43756
43757 [BZ #5993]
43758 * manual/install.texi: Do not document upgrading from libc5.
43759
366842e7
JM
437602012-02-18 Joseph Myers <joseph@codesourcery.com>
43761
43762 [BZ #4596]
43763 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43764
dd54084d
DM
437652012-02-18 David S. Miller <davem@davemloft.net>
43766
43767 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43768 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43769 %o7 across the call.
43770 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43771 instead.
43772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43773 SETUP_PIC_REG_LEAF.
43774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43775 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43776 * sysdeps/sparc/crtn.S: Likewise.
43777
2bcc53a3
UD
437782012-02-17 Ulrich Drepper <drepper@gmail.com>
43779
43780 * aout/Makefile: Remove.
43781
09c093b5
RK
437822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43783
43784 [BZ #13058]
43785 * manual/examples/argp-ex1.c (main): Format definition in GNU
43786 style.
43787 * manual/examples/argp-ex2.c (main): Likewise.
43788 * manual/examples/argp-ex3.c (main): Likewise.
43789 * manual/examples/argp-ex4.c (main): Likewise.
43790 * manual/examples/longopt.c (main): Use new-style prototype
43791 definition.
43792 * manual/examples/strncat.c (main): Specify return type and use
43793 (void) for arguments.
43794 * manual/examples/subopt.c (main): Use char **argv argument.
43795
2ee633a2
JM
437962012-02-17 Joseph Myers <joseph@codesourcery.com>
43797
43798 [BZ #5077]
43799 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43800 rounding modes.
43801
0520adde
FB
438022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43803
43804 [BZ #6907]
43805 * manual/string.texi (strchr): Change when strchrnul is
43806 recommended.
43807
3f4081cd
DGM
438082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43809
43810 [BZ #174]
43811 * manual/locale.texi (setlocale): Document LOCPATH.
43812
d1b10e78
JM
438132012-02-17 Joseph Myers <joseph@codesourcery.com>
43814
43815 [BZ #10210]
43816 * manual/process.texi (execle): Move @dots{} before last argument.
43817
79c6869c
PB
438182012-02-17 Paul Bolle <pebolle@tiscali.nl>
43819
43820 [BZ #12047]
43821 * manual/charset.texi (Generic Charset Conversion): Fix typo
43822 (LC_TYPE -> LC_CTYPE).
43823
cc6e48bc
NB
438242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43825
43826 [BZ #5805]
43827 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43828 (scalbnf): Likewise.
43829 (scalbnl): Likewise.
43830 (scalbln): Likewise.
43831 (scalblnf): Likewise.
43832 (scalblnl): Likewise.
43833 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43834 (vwarnx): Likewise.
43835 (verr): Likewise.
43836 (verrx): Likewise.
43837 * manual/filesys.texi (telldir): Use braces around return type.
43838 * manual/llio.texi (mmap): Add space after comma.
43839 (mmap64): Likewise.
43840 * manual/math.texi (jn): Use @var{} on parameter names.
43841 (jnf): Likewise.
43842 (jnl): Likewise.
43843 (yn): Likewise.
43844 (ynf): Likewise.
43845 (ynl): Likewise.
43846 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43847 line.
43848 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43849 "...".
43850 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43851 (sched_get_priority_max): Likewise.
43852 * manual/signal.texi (sigvec): Add space after comma.
43853 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43854 names.
43855 (if_indextoname): Likewise.
43856 (if_freenameindex): Likewise.
43857 (sendto): Use ',' instead of '.' in prototype.
43858 * manual/startup.texi (syscall): Use @dots{} instead of literal
43859 "...".
43860 * manual/stdio.texi (__fpending): Separate initial words of
43861 paragraph from @deftypefun line.
43862 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43863 "...".
43864 (vsyslog): Use @var{} on parameter names.
43865 * manual/terminal.texi (stty): Use @var{} on parameter names.
43866 * manual/users.texi (getutmp): Use @var{} on parameter names.
43867 (getutmpx): Likewise.
43868
5b23062f
JM
438692012-02-17 Joseph Myers <joseph@codesourcery.com>
43870
43871 [BZ #6884]
43872 * manual/stdio.texi (fopen): Fix typos in description of
43873 ",ccs=STRING".
43874
8dee4833
AJ
438752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43876
43877 [BZ #4026]
43878 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43879 get clock_id definition.
43880
9078ce93
TS
438812012-02-17 Thomas Schwinge <thomas@schwinge.name>
43882
43883 [BZ #4822]
43884 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43885 (madvise): Cast every argument to void on its own.
43886
3835c55f
JM
438872012-02-17 Joseph Myers <joseph@codesourcery.com>
43888
43889 [BZ #9902]
43890 * manual/startup.texi (Exit Status): Fix typo.
43891
35c47e37
JM
438922012-02-17 Joseph Myers <joseph@codesourcery.com>
43893
43894 [BZ #10140]
43895 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43896 * manual/examples/argp-ex2.c: Likewise.
43897 * manual/examples/argp-ex3.c: Likewise.
43898
e3b69ca7
RH
438992012-02-16 Richard Henderson <rth@redhat.com>
43900
43901 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43902 * sysdeps/s390/s390-32/initfini.c: Remove.
43903 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43904 * sysdeps/s390/s390-64/initfini.c: Remove.
43905
df83af67
KK
439062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43907
43908 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43909 compiler output for sysdeps/generic/initfini.c.
43910 * sysdeps/sh/elf/initfini.c: Remove file.
43911
f63f3380
DM
439122012-02-16 David S. Miller <davem@davemloft.net>
43913
fb59b3a4
DM
43914 [BZ #11494]
43915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43916
f63f3380
DM
43917 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43918 * sysdeps/sparc/crti.S: New file.
43919 * sysdeps/sparc/crtn.S: New file.
43920 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43921 * sysdeps/sparc/sparc64/Makefile: Likewise.
43922
df6a4a4a
MF
439232012-02-15 Mike Frysinger <vapier@gentoo.org>
43924
6dd8f3dc 43925 [BZ #3335]
df6a4a4a
MF
43926 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43927
1cac7236
RM
439282012-02-15 Roland McGrath <roland@hack.frob.com>
43929
d2c736f8
RM
43930 [BZ #4822]
43931 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43932
1cac7236
RM
43933 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43934 (write, read, close): Likewise.
43935 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43936
8e475601
JM
439372012-02-15 Joseph Myers <joseph@codesourcery.com>
43938
43939 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43940 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43941 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43942 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43943 <bits/signalfd.h>.
43944 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43946 bits/signalfd.h.
43947
ed656b40
MP
439482012-02-14 Marek Polacek <polacek@redhat.com>
43949
43950 * sysdeps/x86_64/crti.S: New file.
43951 * sysdeps/x86_64/crtn.S: New file.
43952 * sysdeps/x86_64/elf/initfini.c: Remove file.
43953
2a979d3a
JM
439542012-02-13 Joseph Myers <joseph@codesourcery.com>
43955
43956 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43957 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43958 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43959 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43960 <bits/inotify.h>.
43961 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43963 bits/inotify.h.
43964
2a418ac3
JM
439652012-02-13 Joseph Myers <joseph@codesourcery.com>
43966
43967 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43968 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43969 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43970 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43971 <bits/eventfd.h>.
43972 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43974 bits/eventfd.h.
43975
fb779be7
TS
439762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43977
e19e83c5
RM
43978 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43979 __feraiseexcept instead of feraiseexcept.
7c35ffed 43980
fb779be7
TS
43981 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43982 nanosleep invocations.
43983 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43984 strings, and add error checking for a nanosleep invocations.
43985
59ba27a6
PE
439862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43987
43988 Replace FSF snail mail address with URLs, as per GNU coding standards.
43989 Most of the snail mail addresses were wrong anyway, and omitting
43990 them makes the source code easier to maintain. Almost all of the
43991 changes are to license notices and to locale LC_IDENTIFICATION
43992 addresses, except for this one:
43993 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43994 not its snail mail address.
43995
57b957eb
RH
439962012-02-09 Richard Henderson <rth@twiddle.net>
43997
af850b1c
RH
43998 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43999 of kernel-features.h.
44000
57b957eb
RH
44001 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44002
6b73181a
MP
440032012-02-08 Marek Polacek <polacek@redhat.com>
44004
44005 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44006 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44007 * sysdeps/gnu/_G_config.h: Likewise.
44008 * sysdeps/generic/_G_config.h: Likewise.
44009
26ecc33a
AS
440102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44011
6c6dbc63
AS
44012 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44013 tests.
44014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44015
e216c012
AS
44016 * sysdeps/powerpc/powerpc32/crti.S: New file.
44017 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44018 * sysdeps/powerpc/powerpc64/crti.S: New file.
44019 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44020
26ecc33a
AS
44021 * Makeconfig (have-initfini): Don't set.
44022 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44023 * configure.in (nopic_initfini): Don't substitute.
44024 * config.h.in (HAVE_INITFINI): Don't #undef.
44025 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44026 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44027
3add8e13
JM
440282012-02-08 Joseph Myers <joseph@codesourcery.com>
44029
44030 Support crti.S and crtn.S provided directly by architectures.
44031 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44032 [crti.S in sysdirs] (omit-deps): Likewise.
44033 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44034 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44035 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44036 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44037 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44038 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44039 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44040 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44041 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44042 compiler output for sysdeps/generic/initfini.c.
44043 * sysdeps/i386/elf/Makefile: Remove file.
44044 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44045
a22f12b4
MP
440462012-02-07 Marek Polacek <polacek@redhat.com>
44047
44048 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44049 * sysdeps/gnu/_G_config.h: Likewise.
44050 * sysdeps/mach/hurd/_G_config.h: Likewise.
44051
148cf100
MP
440522012-02-07 Marek Polacek <polacek@redhat.com>
44053
44054 * math/Makefile (tests): Add tst-CMPLX2.
44055 * math/tst-CMPLX2.c: New file.
44056
cfdc0dd7
AS
440572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44058
84ba42c4
AS
44059 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44060
cfdc0dd7
AS
44061 * math/libm-test.inc (jn_test): Add missing L suffix.
44062
622c86f4
MP
440632012-02-06 Marek Polacek <polacek@redhat.com>
44064
44065 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44066 * sysdeps/i386/fpu/e_powf.S: Likewise.
44067 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44068 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44069 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44070 * sysdeps/i386/fpu/e_pow.S: Likewise.
44071 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44072 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44073 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44074 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44075 * sysdeps/i386/fpu/e_log2.S: Likewise.
44076 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44077 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44078 * sysdeps/i386/fpu/e_powl.S: Likewise.
44079 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44080 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44081 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44082 * sysdeps/i386/fpu/e_logl.S: Likewise.
44083 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44084 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44085 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44086 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44087 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44088 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44089 * sysdeps/i386/fpu/e_log.S: Likewise.
44090 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44091 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44092 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44093 * sysdeps/i386/fpu/e_logf.S: Likewise.
44094 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44095 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44096 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44097 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44098 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44099 * sysdeps/i386/fpu/e_log10.S: Likewise.
44100 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44101 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44102 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44103 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44104 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44105 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44106 * sysdeps/i386/asm-syntax.h: Likewise.
44107 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44108 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44109 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44110 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44111 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44112 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44113 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44114 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44115 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44116 * sysdeps/powerpc/sysdep.h: Likewise.
44117 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44118 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44119
d4a54ac6
JM
441202012-02-06 Joseph Myers <joseph@codesourcery.com>
44121
44122 [BZ #411]
44123 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44124
314054ea
JM
441252012-02-06 Joseph Myers <joseph@codesourcery.com>
44126
44127 * sysdeps/i386/sysdep.h: Include <features.h>.
44128 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44129 version.
44130
d8e0ca50
JM
441312012-02-05 Joseph Myers <joseph@codesourcery.com>
44132
44133 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44134 Define.
44135 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44136 LOAD_PIC_REG_STR.
44137
b1da7dd9
JM
441382012-02-03 Joseph Myers <joseph@codesourcery.com>
44139
44140 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44141 (SETUP_PIC_REG): Use GET_PC_THUNK.
44142 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44143 macro.
44144
9a1d9254
JM
441452012-02-03 Joseph Myers <joseph@codesourcery.com>
44146
44147 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44148 for non-PIC compilation.
44149 (SETUP_PIC_REG): Add .p2align directive.
44150 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44151 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44152 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44153 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44154 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44155 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44156 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44158 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44159 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44160 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44161 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44162 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44163 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44164 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44165 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44166 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44167 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44168 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44169 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44170 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44171 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44172 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44173 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44174 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44176 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44177 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44178 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44179 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44180 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44181 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44182 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44183 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44184 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44185 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44186 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44187 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44188 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44189 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44190 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44191
65dc3b75
JM
441922012-02-03 Joseph Myers <joseph@codesourcery.com>
44193
44194 * math/tst-CMPLX.c: Include <stdio.h>.
44195
d55bf177
JM
441962012-01-31 Joseph Myers <joseph@codesourcery.com>
44197
44198 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44199 float.
44200 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44201 * sysdeps/sparc/bits/mathdef.h: Likewise.
44202
69db4f8f
MP
442032012-01-31 Marek Polacek <polacek@redhat.com>
44204
44205 * libio/libio.h: Don't define _PARAMS.
44206 * locale/programs/config.h: Don't define PARAMS.
44207 * stdlib/strtol_l.c: Likewise.
44208 (__strtol_l): Remove PARAMS from the prototype.
44209
41b81892
UD
442102012-01-31 Ulrich Drepper <drepper@gmail.com>
44211
3b49edc0
UD
44212 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44213 names. Just use the correct names. Remove unnecessary wrapper
44214 functions.
44215 * malloc/arena.c: Likewise.
44216 * malloc/hooks.c: Likewise.
44217
41b81892
UD
44218 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44219 ARENA_TEST says not to. Simplify test for creation of a new arena.
44220 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44221
27a25b6e
UD
442222012-01-30 Ulrich Drepper <drepper@gmail.com>
44223
44224 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44225 into tail calls.
44226 (update_get_addr): New function.
44227 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44228 GET_ADDR_MODULE parameter.
44229
c8a89e7d
JM
442302012-01-30 Joseph Myers <joseph@codesourcery.com>
44231
44232 * crypt/cert.c: Remove __STDC__ conditionals.
44233 * crypt/crypt-entry.c: Likewise.
44234 * crypt/crypt_util.c: Likewise.
44235 * libio/filedoalloc.c: Likewise.
44236 * libio/fileops.c: Likewise.
44237 * libio/genops.c: Likewise.
44238 * libio/iofclose.c: Likewise.
44239 * libio/iofdopen.c: Likewise.
44240 * libio/iofopen.c: Likewise.
44241 * libio/iofopen64.c: Likewise.
44242 * libio/iogetdelim.c: Likewise.
44243 * libio/iopopen.c: Likewise.
44244 * libio/obprintf.c: Likewise.
44245 * libio/oldfileops.c: Likewise.
44246 * libio/oldiofclose.c: Likewise.
44247 * libio/oldiofdopen.c: Likewise.
44248 * libio/oldiofopen.c: Likewise.
44249 * libio/oldiopopen.c: Likewise.
44250 * libio/wfiledoalloc.c: Likewise.
44251 * libio/wgenops.c: Likewise.
44252 * locale/programs/xmalloc.c: Likewise.
44253 * misc/syslog.c: Likewise.
44254 * stdio-common/xbug.c: Likewise.
44255 * string/memchr.c: Likewise.
44256 * string/memcmp.c: Likewise.
44257 * string/memrchr.c: Likewise.
44258 * string/rawmemchr.c: Likewise.
44259 * sysdeps/posix/getcwd.c: Likewise.
44260 * time/strftime_l.c: Likewise.
44261
3b100462
JM
442622012-01-30 Joseph Myers <joseph@codesourcery.com>
44263
44264 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44265 * config.make.in (config-cflags-sse2avx): Define.
44266 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44267 Fix typo.
44268
607998af
CM
442692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44270
44271 * scripts/config.guess: Update from upstream config git repository.
44272 * scripts/config.sub: Likewise.
44273
3601428f
CM
442742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44275
3ac8b282
CM
44276 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44277 (EM_NUM): Update.
44278 (R_TILEPRO_*, R_TILEGX_*): New macros.
44279
e034841e
CM
44280 * scripts/firstversions.awk: Fix bug in version range handling.
44281
540d7568
CM
44282 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44283
3601428f
CM
44284 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44285
463de862
CM
44286 * include/sys/epoll.h: New file.
44287 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44288 libc_hidden_def.
44289
73139a76
UD
442902012-01-28 Ulrich Drepper <drepper@gmail.com>
44291
96bc5b45
UD
44292 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44293 Avoid unnecessary __WORDSIZE == 64 test.
44294 (fmaxf): Use VEX format if possible.
44295 (fmax): Likewise.
44296 (fminf): Likewise.
44297 (fmin): Likewise.
44298
56f6f6a2
UD
44299 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44300 * math/math_private.h: Remove libc_fegetround* and
44301 libc_fesetround*.
44302 * sysdeps/i386/configure.in: Check for -msse2avx.
44303 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44304 also if SSE2AVX is defined.
44305 Remove libc_fegetround* and libc_fesetround*.
44306 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44307 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44309 of HAS_YMM_USABLE.
44310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44311 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44312 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44314 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44315
73139a76
UD
44316 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44317
d73f93a4
AZ
443182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44319
44320 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44321 size is not set.
44322 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44323
6ee65ed6
UD
443242012-01-27 Ulrich Drepper <drepper@gmail.com>
44325
44326 [BZ #13618]
44327 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44328 relocation.
44329 * Makeconfig (libm): Define.
44330 * elf/Makefile: Add rules to build and run tst-relsort1.
44331 * elf/tst-relsort1.c: New file.
44332 * elf/tst-relsort1mod1.c: New file.
44333 * elf/tst-relsort1mod2.c: New file.
44334
8db21882
JM
443352012-01-27 Joseph Myers <joseph@codesourcery.com>
44336
44337 * math/s_ldexp.c: Remove __STDC__ conditionals.
44338 * math/s_ldexpf.c: Likewise.
44339 * math/s_ldexpl.c: Likewise.
44340 * math/s_nextafter.c: Likewise.
44341 * math/s_nexttowardf.c: Likewise.
44342 * math/s_significand.c: Likewise.
44343 * math/s_significandf.c: Likewise.
44344 * math/s_significandl.c: Likewise.
44345 * math/w_jnl.c: Likewise.
44346 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44347 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44348 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44349 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44350 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44352 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44353 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44354 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44355 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44356 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44358 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44359 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44361 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44362 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44363 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44365 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44366 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44367 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44368 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44369 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44370 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44371 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44372 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44373 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44374 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44375 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44376 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44377 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44378 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44379 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44380 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44381 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44382 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44383 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44384 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44385 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44386 * sysdeps/ieee754/k_standard.c: Likewise.
44387 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44389 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44390 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44391 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44393 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44394 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44395 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44396 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44397 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44398 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44399 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44400 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44401 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44402 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44403 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44404 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44405 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44406 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44407 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44408 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44409 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44410 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44411 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44412 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44413 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44414 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44416 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44417 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44418 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44419 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44420 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44421 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44422 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44423 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44424 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44425 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44426 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44427 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44429 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44430 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44431 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44432 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44433 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44435 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44436 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44437 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44438 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44439 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44440 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44441 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44442 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44443 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44444 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44445 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44446 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44447 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44448 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44449 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44450 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44451 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44452 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44453 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44454 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44455 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44456 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44457 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44459 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44460 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44461 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44462 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44463 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44464 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44465 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44466 * sysdeps/ieee754/s_matherr.c: Likewise.
44467 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44468 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44471
965a54a4
JM
444722012-01-26 Joseph Myers <joseph@codesourcery.com>
44473
44474 * crypt/md5.h: Remove __STDC__ conditionals.
44475 * libio/libioP.h: Likewise.
44476 * locale/programs/config.h: Likewise.
44477 * sysdeps/generic/sysdep.h: Likewise.
44478 * sysdeps/i386/asm-syntax.h: Likewise.
44479 * sysdeps/s390/asm-syntax.h: Likewise.
44480 * sysdeps/unix/sysdep.h: Likewise.
44481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44483
7071ad79
JM
444842012-01-26 Joseph Myers <joseph@codesourcery.com>
44485
44486 * libio/libio.h: Remove __STDC__ conditionals.
44487 * malloc/obstack.h: Likewise.
44488 * math/complex.h: Likewise.
44489 * math/math.h: Likewise.
44490 * sysdeps/generic/_G_config.h: Likewise.
44491 * sysdeps/gnu/_G_config.h: Likewise.
44492 * sysdeps/mach/hurd/_G_config.h: Likewise.
44493 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44494 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44495 * sysdeps/sparc/bits/mathdef.h: Likewise.
44496
afc5ed09
UD
444972012-01-26 Ulrich Drepper <drepper@gmail.com>
44498
44499 [BZ #13583]
44500 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44501 Clean up HAS_* macros.
afc5ed09 44502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44503 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44504 possible.
44505 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44506 HAS_AVX.
44507 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44508 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44509 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44510 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44511 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44512
bdb6de1d
JM
445132012-01-25 Joseph Myers <joseph@codesourcery.com>
44514
44515 * elf/tst-unique3.cc (gets): Remove declaration.
44516 * elf/tst-unique3lib.cc (gets): Likewise.
44517 * elf/tst-unique3lib2.cc (gets): Likewise.
44518 * elf/tst-unique4.cc (gets): Likewise.
44519
b15549e6
UD
445202012-01-24 Ulrich Drepper <drepper@gmail.com>
44521
44522 * include/stdio.h: Add C++ protection. Add gets declarations and
44523 definitions.
44524 * debug/tst-chk1.c: Don't declare gets here.
44525 * stdio-common/tst-gets.c: Likewise.
44526
a037381f
JM
445272012-01-24 Joseph Myers <joseph@codesourcery.com>
44528
44529 * posix/glob: Remove directory.
44530
f1d4aa75
JM
445312012-01-24 Joseph Myers <joseph@codesourcery.com>
44532
44533 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44534
81c0c964
PT
445352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44536
44537 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44538 of the non-standard EPFNOSUPPORT.
44539
0ea698ae
ST
445402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44541
44542 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44543 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44544 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44545
d220b117
UD
445462012-01-21 Ulrich Drepper <drepper@gmail.com>
44547
44548 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44549
3e1aa84e
UD
445502012-01-20 Ulrich Drepper <drepper@gmail.com>
44551
44552 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44553 transient errors.
44554 * nscd/grpcache.c (cache_addgr): Likewise.
44555 * nscd/hstcache.c (cache_addhst): Likewise.
44556 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44557 * nscd/pwdcache.c (cache_addpw): Likewise.
44558 * nscd/servicescache.c (cache_addserv): Likewise.
44559
400aa020
UD
445602012-01-16 Ulrich Drepper <drepper@gmail.com>
44561
d77e7869
UD
44562 * malloc/malloc.c: Various cleanups.
44563 * malloc/hooks.c: Likewise.
44564
400aa020
UD
44565 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44566 * stdlib/bug-fmtmsg1.c: New file.
44567
44568 * stdlib/fmtmsg.c (init): Add missing unlock.
44569 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44570
e0a309cf
MP
445712012-01-12 Marek Polacek <polacek@redhat.com>
44572
44573 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44574 and _GNU_SOURCE.
44575
929d11c7
WS
445762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44577
44578 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44579 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44580 macro to ensure uniqueness of label name.
44581 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44582 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44583
41d0e869
UD
445842012-01-11 Ulrich Drepper <drepper@gmail.com>
44585
0cc5ed3b
UD
44586 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44587
41d0e869
UD
44588 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44589 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44590 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44592
a47a831a
UD
445932012-01-10 Ulrich Drepper <drepper@gmail.com>
44594
daa891c0
UD
44595 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44596
44597 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44598 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44599 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44600
e58ef0f2
UD
44601 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44602
a47a831a 44603 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44604 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44607
44608 * math/bits/math-finite.h: Add ldexp support.
44609
a0bfc9c7
MP
446102012-01-10 Marek Polacek <polacek@redhat.com>
44611
44612 * locale/programs/localedef.h (show_archive_content): Add noreturn
44613 attribute.
44614
d6e97a1d
UD
446152012-01-09 Ulrich Drepper <drepper@gmail.com>
44616
44617 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44618
d5835c26
UD
446192012-01-08 Ulrich Drepper <drepper@gmail.com>
44620
e5f484c6
UD
44621 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44622
d5835c26
UD
44623 * io/Makefile (headers): Add bits/poll2.h.
44624
d1f741e9
WS
446252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44626
44627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44628 typo #include statement.
44629
ec09c1c4
UD
446302012-01-08 Ulrich Drepper <drepper@gmail.com>
44631
44632 * include/sys/cdefs.h: Define __attribute_alloc_size.
44633 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44634 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44635 * elf/pldd.c: Likewise.
44636 * iconv/iconv_charmap.c: Likewise.
44637 * iconv/iconvconfig.c: Likewise.
44638 * iconv/strtab.c: Likewise.
44639 * locale/programs/locale.c: Likewise.
44640 * locale/programs/localedef.h: Likewise.
44641 * locale/programs/simple-hash.c: Likewise.
44642 * nscd/nscd.h: Likewise.
44643 * nss/makedb.c: Likewise.
44644 * sysdeps/generic/ldconfig.h: Likewise.
44645 * locale/programs/localedef.c: Remove xmalloc prototype.
44646 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44647
20b38e03
PP
446482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44649
44650 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44651 appropriate.
44652
a0da5fe1
UD
446532012-01-08 Ulrich Drepper <drepper@gmail.com>
44654
1d5a644a 44655 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44656 * math/tst-CMPLX.c: New file.
1d5a644a 44657
8784a6db
UD
44658 * math/complex.h (CMPLXL): Fix typo.
44659
d9a216c0
UD
44660 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44661 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44662 GLIBC_2.16.
44663 * debug/tst-chk1.c: Add poll and ppoll tests.
44664 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44665 * include/sys/poll.h: Add hidden proto for ppoll.
44666 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44667 * sysdeps/mach/hurd/ppoll.c: Likewise.
44668 * io/ppoll.c: Likewise.
44669 * debug/poll_chk.c: New file.
44670 * debug/ppoll_chk.c: New file.
44671 * include/bits/poll2.h: New file.
44672 * io/bits/poll2.h: New file.
44673
ac097f5c
UD
44674 [BZ #1350]
44675 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44676
2119dcfa
UD
44677 * configure.in: static is always set to yes. Remove.
44678 * config.make.in: Don't set build-static.
44679 * Makeconfig: Remove use of build-static.
44680 * dlfcn/Makefile: Likewise.
44681 * elf/Makefile: Likewise.
44682 * math/Makefile: Likewise.
44683 * misc/Makefile: Likewise.
44684 * nptl/Makefile: Likewise.
44685 * sysdeps/mach/hurd/Makefile: Likewise.
44686
121766a9
UD
44687 * configure.in: PWD_P is not used anymore.
44688 * config.make.in: Remove PWD_P entry.
44689
51a1d39c 44690 * configure.in: Remove last remnants of RANLIB.
8720d066 44691 No need to check for signed size_t anymore.
215f4bdc
UD
44692 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44693 and IA-64.
3857022a 44694 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44695 * aclocal.m4: Likewise.
44696
d3ed7225
UD
44697 * wcsmbs/mbrtoc16.c: Implement using towc function.
44698 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44699 * wcsmbs/wcsmbsload.c: Likewise.
44700 * iconv/gconv_simple.c: Likewise.
44701 * iconv/gconv_int.h: Likewise.
44702 * iconv/gconv_builtin.h: Likewise.
44703 * iconv/iconv_prog.c: Remove CHAR16 handling.
44704
44705 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44706
44707 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44708
a0da5fe1
UD
44709 * configure.in: Remove --with-elf and --enable-bounded options.
44710 Dont set base_machine for ia64. More non-ELF conditions removed.
44711 Remove testing and setting of leading underscore information.
44712 * config.make.in (build-bounded): Set to no.
44713 * config.h.in: Remove NO_UNDERSCORES entry.
44714 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44715 them.
44716 * csu/start.c: Remove !NO_UNDERSCORE code.
44717 * locale/localeinfo.h: Likewise.
44718 * sysdeps/generic/machine-gmon.h: Likewise.
44719 * sysdeps/generic/sysdep.h: Likewise.
44720 * sysdeps/i386/sysdep.h: Likewise.
44721 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44722 * sysdeps/mach/sysdep.h: Likewise.
44723 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44724 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44725 * sysdeps/sh/sysdep.h: Likewise.
44726 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44727 * sysdeps/unix/i386/sysdep.S: Likewise.
44728 * sysdeps/unix/sparc/start.c: Likewise.
44729 * sysdeps/unix/sparc/sysdep.S: Likewise.
44730 * sysdeps/unix/sparc/sysdep.h: Likewise.
44731 * sysdeps/unix/start.c: Likewise.
44732 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44733 * sysdeps/x86_64/sysdep.h: Likewise.
44734
df78418a
UD
447352012-01-07 Ulrich Drepper <drepper@gmail.com>
44736
a784e502
UD
44737 [BZ #13553]
44738 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44739 for non-gcc.
44740 * argp/argp-fmtstream.h: Use const instead __const.
44741 * argp/argp.h: Likewise.
44742 * assert/assert.h: Likewise.
44743 * bits/fenv.h: Likewise.
44744 * bits/sched.h: Likewise.
44745 * bits/sigset.h: Likewise.
44746 * bits/sigthread.h: Likewise.
44747 * catgets/nl_types.h: Likewise.
44748 * conform/data/pthread.h-data: Likewise.
44749 * crypt/crypt-private.h: Likewise.
44750 * crypt/crypt.h: Likewise.
44751 * crypt/crypt_util.c: Likewise.
44752 * ctype/ctype.h: Likewise.
44753 * debug/execinfo.h: Likewise.
44754 * debug/mbsnrtowcs_chk.c: Likewise.
44755 * debug/mbsrtowcs_chk.c: Likewise.
44756 * debug/wcsnrtombs_chk.c: Likewise.
44757 * debug/wcsrtombs_chk.c: Likewise.
44758 * debug/wcstombs_chk.c: Likewise.
44759 * dirent/dirent.h: Likewise.
44760 * dlfcn/dlfcn.h: Likewise.
44761 * elf/neededtest4.c: Likewise.
44762 * grp/grp.h: Likewise.
44763 * gshadow/gshadow.h: Likewise.
44764 * iconv/gconv.h: Likewise.
44765 * iconv/gconv_int.h: Likewise.
44766 * iconv/gconv_simple.c: Likewise.
44767 * iconv/iconv.h: Likewise.
44768 * iconv/loop.c: Likewise.
44769 * iconv/skeleton.c: Likewise.
44770 * include/aio.h: Likewise.
44771 * include/aliases.h: Likewise.
44772 * include/argz.h: Likewise.
44773 * include/arpa/inet.h: Likewise.
44774 * include/assert.h: Likewise.
44775 * include/dirent.h: Likewise.
44776 * include/dlfcn.h: Likewise.
44777 * include/execinfo.h: Likewise.
44778 * include/fcntl.h: Likewise.
44779 * include/fenv.h: Likewise.
44780 * include/glob.h: Likewise.
44781 * include/grp.h: Likewise.
44782 * include/libintl.h: Likewise.
44783 * include/mntent.h: Likewise.
44784 * include/netdb.h: Likewise.
44785 * include/pwd.h: Likewise.
44786 * include/rpc/netdb.h: Likewise.
44787 * include/sched.h: Likewise.
44788 * include/search.h: Likewise.
44789 * include/shadow.h: Likewise.
44790 * include/signal.h: Likewise.
44791 * include/stdio.h: Likewise.
44792 * include/stdlib.h: Likewise.
44793 * include/string.h: Likewise.
44794 * include/sys/socket.h: Likewise.
44795 * include/sys/stat.h: Likewise.
44796 * include/sys/statfs.h: Likewise.
44797 * include/sys/statvfs.h: Likewise.
44798 * include/sys/syslog.h: Likewise.
44799 * include/sys/time.h: Likewise.
44800 * include/sys/uio.h: Likewise.
44801 * include/time.h: Likewise.
44802 * include/unistd.h: Likewise.
44803 * include/utmp.h: Likewise.
44804 * include/wchar.h: Likewise.
44805 * include/wctype.h: Likewise.
44806 * inet/aliases.h: Likewise.
44807 * inet/arpa/inet.h: Likewise.
44808 * inet/netinet/ether.h: Likewise.
44809 * inet/netinet/in.h: Likewise.
44810 * intl/libintl.h: Likewise.
44811 * io/bits/fcntl2.h: Likewise.
44812 * io/fcntl.h: Likewise.
44813 * io/ftw.h: Likewise.
44814 * io/sys/poll.h: Likewise.
44815 * io/sys/stat.h: Likewise.
44816 * io/sys/statfs.h: Likewise.
44817 * io/sys/statvfs.h: Likewise.
44818 * io/utime.h: Likewise.
44819 * libio/bits/stdio.h: Likewise.
44820 * libio/bits/stdio2.h: Likewise.
44821 * libio/libio.h: Likewise.
44822 * libio/libioP.h: Likewise.
44823 * libio/stdio.h: Likewise.
44824 * locale/lc-ctype.c: Likewise.
44825 * locale/locale.h: Likewise.
44826 * login/utmp.h: Likewise.
44827 * malloc/arena.c: Likewise.
44828 * malloc/malloc.c: Likewise.
44829 * malloc/malloc.h: Likewise.
44830 * malloc/mcheck.c: Likewise.
44831 * malloc/mtrace.c: Likewise.
44832 * math/bits/mathcalls.h: Likewise.
44833 * math/fenv.h: Likewise.
44834 * math/math_private.h: Likewise.
44835 * misc/bits/error.h: Likewise.
44836 * misc/bits/syslog.h: Likewise.
44837 * misc/err.h: Likewise.
44838 * misc/error.h: Likewise.
44839 * misc/fstab.h: Likewise.
44840 * misc/mntent.h: Likewise.
44841 * misc/regexp.h: Likewise.
44842 * misc/search.h: Likewise.
44843 * misc/sgtty.h: Likewise.
44844 * misc/sys/mman.h: Likewise.
44845 * misc/sys/syslog.h: Likewise.
44846 * misc/sys/uio.h: Likewise.
44847 * misc/sys/xattr.h: Likewise.
44848 * misc/ttyent.h: Likewise.
44849 * nis/rpcsvc/ypclnt.h: Likewise.
44850 * nss/nss.h: Likewise.
44851 * posix/bits/unistd.h: Likewise.
44852 * posix/fnmatch.h: Likewise.
44853 * posix/glob.h: Likewise.
44854 * posix/sched.h: Likewise.
44855 * posix/spawn.h: Likewise.
44856 * posix/sys/wait.h: Likewise.
44857 * posix/unistd.h: Likewise.
44858 * posix/wordexp.h: Likewise.
44859 * pwd/pwd.h: Likewise.
44860 * resolv/netdb.h: Likewise.
44861 * resource/sys/resource.h: Likewise.
44862 * rt/aio.h: Likewise.
44863 * rt/bits/mqueue2.h: Likewise.
44864 * rt/mqueue.h: Likewise.
44865 * shadow/shadow.h: Likewise.
44866 * signal/signal.h: Likewise.
44867 * socket/send.c: Likewise.
44868 * socket/sendto.c: Likewise.
44869 * socket/sys/socket.h: Likewise.
44870 * stdio-common/printf.h: Likewise.
44871 * stdlib/bits/stdlib.h: Likewise.
44872 * stdlib/fmtmsg.h: Likewise.
44873 * stdlib/monetary.h: Likewise.
44874 * stdlib/stdlib.h: Likewise.
44875 * stdlib/ucontext.h: Likewise.
44876 * streams/stropts.h: Likewise.
44877 * string/argz.h: Likewise.
44878 * string/bits/string2.h: Likewise.
44879 * string/string.h: Likewise.
44880 * string/strings.h: Likewise.
44881 * sunrpc/rpc/auth.h: Likewise.
44882 * sunrpc/rpc/auth_des.h: Likewise.
44883 * sunrpc/rpc/clnt.h: Likewise.
44884 * sunrpc/rpc/netdb.h: Likewise.
44885 * sunrpc/rpc/pmap_clnt.h: Likewise.
44886 * sunrpc/rpc/xdr.h: Likewise.
44887 * sysdeps/generic/inttypes.h: Likewise.
44888 * sysdeps/generic/net/if.h: Likewise.
44889 * sysdeps/generic/sys/swap.h: Likewise.
44890 * sysdeps/gnu/net/if.h: Likewise.
44891 * sysdeps/gnu/utmpx.h: Likewise.
44892 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44893 * sysdeps/i386/i486/bits/string.h: Likewise.
44894 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44895 * sysdeps/s390/bits/string.h: Likewise.
44896 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44897 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44898 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44899 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44900 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44901 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44902 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44903 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44904 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44905 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44906 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44907 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44908 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44909 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44910 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44911 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44912 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44914 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44915 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44917 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44918 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44919 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44920 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44921 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44922 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44923 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44924 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44925 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44926 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44927 * sysvipc/sys/ipc.h: Likewise.
44928 * sysvipc/sys/msg.h: Likewise.
44929 * sysvipc/sys/sem.h: Likewise.
44930 * sysvipc/sys/shm.h: Likewise.
44931 * termios/termios.h: Likewise.
44932 * time/sys/time.h: Likewise.
44933 * time/time.h: Likewise.
44934 * wcsmbs/bits/wchar2.h: Likewise.
44935 * wcsmbs/uchar.h: Likewise.
44936 * wcsmbs/wchar.h: Likewise.
44937 * wctype/wctype.h: Likewise.
44938
0269750c
UD
44939 [BZ #13551]
44940 * Makeconfig: Remove all but ELF support including AIX support.
44941 * Makerules: Likewise.
44942 * config.h.in: Likewise.
44943 * config.make.in: Likewise.
44944 * configure: Likewise.
44945 * configure.in: Likewise.
44946 * csu/Makefile: Likewise.
44947 * csu/version.c: Likewise.
44948 * debug/Makefile: Likewise.
44949 * dlfcn/Makefile: Likewise.
44950 * elf/Makefile: Likewise.
44951 * extra-lib.mk: Likewise.
44952 * iconv/Makefile: Likewise.
44953 * include/libc-symbols.h: Likewise.
44954 * include/shlib-compat.h: Likewise.
44955 * resolv/Makefile: Likewise.
44956 * resolv/res_libc.c: Likewise.
44957 * rt/Makefile: Likewise.
44958 * sysdeps/i386/asm-syntax.h: Likewise.
44959 * sysdeps/i386/sysdep.h: Likewise.
44960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44961 * sysdeps/mach/sysdep.h: Likewise.
44962 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44963 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44964 * sysdeps/s390/asm-syntax.h: Likewise.
44965 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44966 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44967 * sysdeps/sh/sysdep.h: Likewise.
44968 * sysdeps/unix/sparc/sysdep.h: Likewise.
44969 * sysdeps/wordsize-32/divdi3.c: Likewise.
44970 * sysdeps/x86_64/sysdep.h: Likewise.
44971
00bbd29b
UD
44972 * argp/Versions: Remove _argp_unlock_xxx.
44973
44974 [BZ #13559]
44975 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44976 * abilist/libBrokenLocale.abilist: Likewise.
44977 * abilist/libanl.abilist: Likewise.
44978 * abilist/libc.abilist: Likewise.
44979 * abilist/libcrypt.abilist: Likewise.
44980 * abilist/libdl.abilist: Likewise.
44981 * abilist/libm.abilist: Likewise.
44982 * abilist/libnsl.abilist: Likewise.
44983 * abilist/libpthread.abilist: Likewise.
44984 * abilist/libresolv.abilist: Likewise.
44985 * abilist/librt.abilist: Likewise.
44986 * abilist/libthread_db.abilist: Likewise.
44987 * abilist/libutil.abilist: Likewise.
44988 * abilist/libnss_db.abilist: New file.
44989
44990 * scripts/abilist.awk: Add support for indirect functions.
44991
a2693a0e
UD
44992 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44993
3f05895f
UD
44994 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44995
ecb6fb48
UD
44996 * shlib-versions: Remove entries for ports architectures.
44997
664f8cb9
UD
44998 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44999 files in ports.
45000 * elf/stackguard-macros.h: Remove support for IA-64.
45001 * elf/tst-auditmod1.c: Likewise.
45002 * sysdeps/generic/ldsodefs.h: Likewise.
45003
7ae81d88
UD
45004 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45005 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45006 configure files.
45007
bdeba135
UD
45008 [BZ #13552]
45009 * configure.in: Remove --enable-omitfp support.
45010 * FAQ.in: Adjust.
45011 * config.make.in: Likewise.
45012 * Makeconfig: Likewise.
45013 * manual/install.texi: Likewise.
45014
d75a0a62
UD
45015 In case anyone cares, the IA-64 architecture could move to ports.
45016 * sysdeps/ia64/*: Removed.
45017 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45018 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45019
dcc9756b
UD
45020 [BZ #13555]
45021 * configure.in: Remove entries for unsupported architectures.
45022
d3761ebc 45023 [BZ #13533]
9954432e
UD
45024 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45025 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45026 routines.
45027 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45028 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45029 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45030 fall back to using wcrtomb.
45031 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45032 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45033 renaming.
45034 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45035 * wcsmbs/tst-c16c32-1.c: New file.
45036
45037 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45038 local variable.
45039
c3a87236
UD
45040 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45041
28926a1b
UD
45042 * elf/tst-unique3.cc: Add explicit declaration of gets.
45043 * elf/tst-unique3lib.cc: Likewise.
45044 * elf/tst-unique3lib2.cc: Likewise.
45045 * elf/tst-unique4.cc: Likewise.
45046
df78418a
UD
45047 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45048
8ecd6b2a
JM
450492012-01-06 Joseph Myers <joseph@codesourcery.com>
45050
45051 [BZ #13566]
45052 * assert/assert.h (static_assert): Don't define for C++.
45053 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45054 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45055
9f115170
UD
450562012-01-03 Ulrich Drepper <drepper@gmail.com>
45057
5e0d0300
UD
45058 * iconv/loop.c (single loop): Fix assertion in storing of
45059 remaining bytes.
45060
9f115170
UD
45061 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45062
81fb02b0
UD
450632012-01-01 Ulrich Drepper <drepper@gmail.com>
45064
45065 * posix/getconf.c: Update copyright year.
45066 * nss/getent.c: Likewise.
a316c1f6 45067 * nss/makedb.c: Likewise.
81fb02b0
UD
45068 * iconv/iconvconfig.c: Likewise.
45069 * iconv/iconv_prog.c: Likewise.
45070 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45071 * elf/pldd.c: Likewise.
45072 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45073 * catgets/gencat.c: Likewise.
45074 * csu/version.c: Likewise.
45075 * elf/ldd.bash.in: Likewise.
45076 * elf/sprof.c (print_version): Likewise.
45077 * locale/programs/locale.c: Likewise.
45078 * locale/programs/localedef.c: Likewise.
a316c1f6 45079 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45080 * nscd/nscd.c (print_version): Likewise.
45081 * debug/xtrace.sh: Likewise.
45082 * malloc/memusage.sh: Likewise.
45083 * malloc/mtrace.pl: Likewise.
45084 * debug/catchsegv.sh: Likewise.
45085
2ba92745
JJ
450862011-12-30 Jakub Jelinek <jakub@redhat.com>
45087
45088 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45089 pure attribute.
45090
dadebdae
UD
450912011-12-24 Ulrich Drepper <drepper@gmail.com>
45092
d3761ebc 45093 [BZ #13533]
db6af3eb
UD
45094 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45095 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45096 transformations.
45097 * iconv/gconv_int.h: Likewise.
45098 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45099 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45100 from libc for GLIBC_2.16.
45101 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45102 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45103 * wcsmbs/uchar.h: Really define mbstate_t.
45104 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45105 * wcsmbs/c16rtomb.c: New file.
45106 * wcsmbs/mbrtoc16.c: New file.
45107 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45108 for C/POSIX locale.
45109 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45110 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45111
dadebdae
UD
45112 * wcsmbs/wchar.h: Add missing __restrict.
45113
67371b56
UD
451142011-12-23 Ulrich Drepper <drepper@gmail.com>
45115
74033a25
UD
45116 [BZ #13532]
45117 * time/Makefile (routines): Add timespec_get.
45118 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45119 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45120 timespec for ISO C11.
45121 * time/timespec_get.c: New file.
45122 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45123 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45124
380d7e87
UD
45125 [BZ #13531]
45126 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45127 * stdlib/stdlib.h: Declare aligned_alloc.
45128 * Versions.def: Add GLIBC_2.16 for libc.
45129 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45130
4e9e7a35
UD
45131 [BZ 13527]
45132 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45133 ISO C11.
45134
380d7e87 45135 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45136 code.
45137
03a71829
UD
45138 [BZ #13528]
45139 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45140
839e283e
UD
45141 [BZ #13529]
45142 * assert/assert.h (static_assert): Define.
45143
ce5294e2 45144 * version.h: Update for 2.16 development version.
90fa7312 45145
8d44e150 45146 [BZ #13526]
d7809905
UD
45147 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45148 _ISOC11_SOURCE.
45149
c0da14cd
UD
45150 * version.h (RELEASE): Bump for 2.15 release.
45151 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45152
530a3249
MP
45153 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45154 Patch by Marek Polacek <mpolacek@redhat.com>.
45155
67371b56
UD
45156 * bits/byteswap.h: Protect long long constants with __extension__.
45157 * sysdeps/i386/bits/byteswap.h: Likewise.
45158 * sysdeps/ia64/bits/byteswap.h: Likewise.
45159 * sysdeps/s390/bits/byteswap.h: Likewise.
45160 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45161
15db4de1
LD
451622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45163
45164 [BZ #13540]
bbe315ea
LD
45165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45166 destination buffer.
15db4de1
LD
45167 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45168
2b2596b1
MP
451692011-12-23 Marek Polacek <polacek@redhat.com>
45170
45171 * elf/dl-addr.c (determine_info): Add inline keyword.
45172 * elf/tst-auditmod4b.c (check_avx): Likewise.
45173 * elf/tst-auditmod6b.c (check_avx): Likewise.
45174 * elf/tst-auditmod6c.c (check_avx): Likewise.
45175 * elf/tst-auditmod7b.c (check_avx): Likewise.
45176
70c6c246
UD
451772011-12-23 Ulrich Drepper <drepper@gmail.com>
45178
45179 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45180 !__SSE_MATH__.
45181
c044cf14
LD
451822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45183
15db4de1 45184 [BZ #13540]
c044cf14
LD
45185 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45186 processing for last bytes.
45187
6b13d9d9
BH
451882011-08-06 Bruno Haible <bruno@clisp.org>
45189
d455f537
BH
45190 [BZ #13061]
45191 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45192 U+0385, not to U+1FEE.
45193
6b13d9d9
BH
45194 [BZ #13062]
45195 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45196 entry for U+00A5 U+0301.
45197
db910efd
UD
451982011-12-22 Ulrich Drepper <drepper@gmail.com>
45199
27deeafc
UD
45200 [BZ #13166]
45201 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45202 buffer for the output is too small.
45203
aed9d171
UD
45204 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45205 optimization.
45206
db910efd
UD
45207 [BZ #13185]
45208 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45209 SSE flags if possible.
45210
2bd779ae
LD
452112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45212
e7f9dac3 45213 [BZ #13540]
2bd779ae
LD
45214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45215 processing for last bytes.
45216
154bfc16
JM
452172011-12-22 Joseph Myers <joseph@codesourcery.com>
45218
45219 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45220 (syscall-list-default-options, syscall-list-default-condition)
45221 (syscall-list-includes): Define.
45222 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45223 list of ABIs and options and #if conditions for each ABI. Do not
45224 handle common syscalls between ABIs specially.
45225 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45226 Remove.
45227 (syscall-list-variants, syscall-list-32bit-options)
45228 (syscall-list-32bit-condition, syscall-list-64bit-options)
45229 (syscall-list-64bit-condition): Define.
45230 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45231 (syscall-list-variants, syscall-list-32bit-options)
45232 (syscall-list-32bit-condition, syscall-list-64bit-options)
45233 (syscall-list-64bit-condition): Define.
45234 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45235 Remove.
45236 (syscall-list-variants, syscall-list-32bit-options)
45237 (syscall-list-32bit-condition, syscall-list-64bit-options)
45238 (syscall-list-64bit-condition): Define.
45239 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45240 Remove.
45241 (syscall-list-variants, syscall-list-32bit-options)
45242 (syscall-list-32bit-condition, syscall-list-64bit-options)
45243 (syscall-list-64bit-condition): Define.
45244
21eaf3a5
UD
452452011-12-22 Ulrich Drepper <drepper@gmail.com>
45246
16c6f992
UD
45247 * locale/iso-639.def: Add brx entry.
45248
41043168
UD
45249 [BZ #13328]
45250 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45251 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45252
21eaf3a5
UD
45253 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45254 __feraiseexcept_renamed.
45255
e3a851a2
UD
452562011-12-21 Ulrich Drepper <drepper@gmail.com>
45257
4920765e
UD
45258 [BZ #13538]
45259 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45260 EPOLLET with unsigned values.
45261 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45262 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45263
e3a851a2
UD
45264 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45265 to large cancellation.
45266 * math/s_cacoshf.c: Likewise.
45267 * math/s_cacoshl.c: Likewise.
45268
b27e24b8
RK
452692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45270
45271 [BZ #13305]
aebefeee 45272 [BZ #12786]
b27e24b8
RK
45273 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45274 * math/s_cacoshf.c: Likewise.
45275 * math/s_cacoshl.c: Likewise.
45276
ee190f67
UD
452772011-12-21 Ulrich Drepper <drepper@gmail.com>
45278
45279 [BZ #13439]
45280 * iconv/gconv.h: Define __GCONV_SWAP.
45281 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45282 * iconvdata/utf-16.c: Likewise.
45283 * iconvdata/utf-32.c: Likewise.
45284
707f25df
AS
452852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45286
45287 [BZ #13524]
45288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45289 numerator after shifting it by one limb.
45290
d2daaa1e
RÁE
452912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45292
45293 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45294 under [__USE_EXTERN_INLINES].
45295
a4647e72
UD
452962011-12-17 Ulrich Drepper <drepper@gmail.com>
45297
45298 [BZ #13446]
45299 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45300
f0b264f1
AZ
453012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45302
45303 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45304 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45305 optimized code.
45306 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45307 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45308 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45309 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45310 for strncasecmp/strncasecmp_l compilation.
45311 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45312 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45313
8ef4f244
MP
453142011-12-08 Marek Polacek <mpolacek@redhat.com>
45315
45316 [BZ #13484]
45317 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45318 of __asm__.
45319
97ac2654
UD
453202011-12-17 Ulrich Drepper <drepper@gmail.com>
45321
45322 [BZ #13506]
45323 * time/tzfile.c (__tzfile_read): Check values from file header.
45324
91d2a845
WS
453252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45326
45327 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45328 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45329 * powerpc/powerpc32/dl-start.S: Likewise.
45330 * powerpc/powerpc32/elf/start.S: Likewise.
45331 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45332 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45333 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45334 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45335 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45336 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45337 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45338 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45339 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45340 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45341 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45342 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45343 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45344 * powerpc/powerpc32/memset.S: Likewise.
45345 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45346 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45347 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45348 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45349 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45350 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45351 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45352 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45353 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45354 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45355 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45356 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45357 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45358
a1267ba1
AZ
453592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45360
45361 * math/libm-test.inc: Added more nearbyint tests.
45362 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45366
ad8ac1bd
RL
453672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45368
45369 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45370 FD_CLOEXEC.
45371
1d3e4b61
UD
453722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45373
45374 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45375 Add wcscpy-ssse3 wcscpy-c.
45376 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45377 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45378 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45379 * sysdeps/x86_64/wcschr.S: New file.
45380 * sysdeps/x86_64/wcsrchr.S: New file.
45381 * string/test-strcmp.c: Remove checking of wcscmp function for
45382 wrong alignments.
45383 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45384 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45385 wcsrchr-sse2 wcsrchr-c.
45386 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45387 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45388 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45389 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45390 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45391 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45392 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45393 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45394 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45395 * wcsmbc/wcschr.c (WCSCHR): New macro.
45396
5b330a2d
UD
453972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45398
45399 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45400 * wcsmbs/test-wcsrchr.c: New file.
45401 * string/test-strrchr.c: Add wcsrchr support.
45402 (WIDE): New macro.
45403 * wcsmbs/test-wcscpy.c: New file.
45404 * string/test-strcpy.c: Add wcscpy support.
45405 (WIDE): New macro.
26428b7c 45406
f039c043
UD
454072011-12-10 Ulrich Drepper <drepper@gmail.com>
45408
45409 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45410 the inner loop.
45411
850fb039
AS
454122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45413
45414 [BZ #13472]
45415 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45416
4efbd5cb
UD
454172011-12-04 Ulrich Drepper <drepper@gmail.com>
45418
52ff5dd0 45419 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45420 Minor optimizations.
52ff5dd0 45421
4efbd5cb
UD
45422 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45423 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45424 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45425
8a426e12
UD
454262011-12-03 Ulrich Drepper <drepper@gmail.com>
45427
aff2453d
UD
45428 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45429 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45430 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45431 for gcc to avoid warnings.
45432 * inet/Makefile (tests): Add tst-checks.
45433 * inet/tst-checks.c: New file.
45434
45435 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45436 warning.
45437
45438 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45439 __wmemcmp_sse2.
45440
45441 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45442 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45443
8a426e12
UD
45444 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45445
9bea3473
UD
454462011-12-02 Ulrich Drepper <drepper@gmail.com>
45447
3a965496
UD
45448 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45449 problem.
45450
9bea3473
UD
45451 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45452
f101631b
UD
454532011-11-29 Joseph Myers <joseph@codesourcery.com>
45454
45455 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45456 conditional on GCC version.
45457 (__arch_compare_and_exchange_val_8_acq)
45458 (__arch_compare_and_exchange_val_16_acq)
45459 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45460 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45461 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45462
a98275aa
UD
454632011-12-02 Joseph Myers <joseph@codesourcery.com>
45464
45465 * sysdeps/sh/backtrace.c: New file.
45466
d4cc29a2
AS
454672011-12-02 Andreas Schwab <schwab@redhat.com>
45468
45469 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45470 parenthesis.
45471
6257af2d
AS
454722011-12-01 Andreas Schwab <schwab@redhat.com>
45473
45474 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45475 falling back to utime.
45476
b5f44c1a
AS
454772011-11-30 Andreas Schwab <schwab@redhat.com>
45478
45479 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45480 expectations for float.
45481
f3a6cc0a
AS
454822011-11-29 Andreas Schwab <schwab@redhat.com>
45483
45484 * locale/weight.h (findidx): Add parameter len.
45485 * locale/weightwc.h (findidx): Likewise.
45486 * posix/fnmatch_loop.c (FCT): Adjust caller.
45487 * posix/regcomp.c (build_equiv_class): Likewise.
45488 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45489 * posix/regexec.c (check_node_accept_bytes): Likewise.
45490 * string/strcoll_l.c (STRCOLL): Likewise.
45491 * string/strxfrm_l.c (STRXFRM): Likewise.
45492
9d65ea3a
UD
454932011-11-17 Ulrich Drepper <drepper@gmail.com>
45494
45495 * Makefile.in: Remove CVSOPT handling.
45496 * configure.in: Remove use of AC_REVISION.
45497 * iconvdata/Makefile (distribute): No need to filter out CVS.
45498 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45499 handling.
45500
5583a086
AS
455012011-11-16 Andreas Schwab <schwab@redhat.com>
45502
45503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45504 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45505 [USE_AS_STRNCASECMP_L]: Likewise.
45506 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45507 NO_TLS_DIRECT_SEG_REFS.
45508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45509 Fix argument offsets for non-PIC.
45510 [USE_AS_STRNCASECMP_L]: Likewise.
45511 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45512 NO_TLS_DIRECT_SEG_REFS.
45513
d62a8200
UD
455142011-11-15 Ulrich Drepper <drepper@gmail.com>
45515
9d65ea3a 45516 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45517 O_CLOEXEC.
45518 * locale/loadlocale.c (_nl_load_locale): Likewise.
45519
09f93bd3
AS
455202011-11-15 Andreas Schwab <schwab@redhat.com>
45521
446514f9
AS
45522 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45523 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45525 (SYSCALL_GETTIME): Set errno on error.
45526
09f93bd3
AS
45527 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45528 count references to noai6ai_cached.
45529
312be3f9
UD
455302011-11-15 Ulrich Drepper <drepper@gmail.com>
45531
45532 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45533
45534 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45535 FD_CLOEXEC for /proc/self/maps.
45536
45537 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45538 FD_CLOEXEC for /proc/meminfo.
45539
45540 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45541 gai.conf.
45542
45543 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45544 FD_CLOEXEC for given file.
45545
45546 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45547
45548 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45549 FD_CLOEXEC for /etc/hosts.
45550 (_gethtent): Likewise.
45551
45552 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45553
45554 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45555 cancellation and set FD_CLOEXEC for /etc/netgroup.
45556
45557 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45558 reading /etc/publickey.
45559
45560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45561 allow cancellation when reading /etc/group.
45562
45563 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45564 cancellation.
45565 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45566
45567 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45568 when using data file.
45569
45570 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45571
45572 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45573 (write_nis_obj): Use "c" and "e" in fopen.
45574
45575 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45576
45577 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45578
45579 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45580
45581 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45582
45583 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45584 locale.alias.
45585
45586 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45587
45588 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45589
45590 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45591
45592 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45593 file parsing and set FD_CLOEXEC.
45594
82af0fa8
UD
455952011-11-14 Ulrich Drepper <drepper@gmail.com>
45596
45597 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45598
a5fb313c
AS
455992011-11-14 Andreas Schwab <schwab@redhat.com>
45600
45601 * malloc/arena.c (arena_get2): Don't call reused_arena when
45602 _int_new_arena failed.
45603
6abf3465
UD
456042011-11-14 Ulrich Drepper <drepper@gmail.com>
45605
45606 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45607 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45609 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45610 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45612 to compile strcasecmp and strncasecmp.
45613 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45614 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45615
45616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45617
76e3966e
UD
456182011-11-13 Ulrich Drepper <drepper@gmail.com>
45619
45620 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45621 locale-defines.sym to gen-as-const-headers.
45622 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45623 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45625 to compile strcasecmp and strncasecmp.
45626 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45627 strcasecmp_l and strncasecmp_l.
45628 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45629 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45630 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45631 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45632 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45633 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45634 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45635 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45636 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45637 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45638 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45639
ab26144e
UD
456402011-11-12 Ulrich Drepper <drepper@gmail.com>
45641
7edb22ef
UD
45642 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45643 result of SYSDEP_GETTIME_CPU to retval.
45644 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45645 parameter list to macro. Remove trailing semicolon. Adjust users.
45646
9694fc44
UD
45647 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45648 variable.
45649
8ad89ef8
UD
45650 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45651 mantissa words.
45652 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45653
0c822ef9
UD
45654 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45655 from unused variable.
45656
874e0564
UD
45657 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45658 DWARF definitions.
45659 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45660 for assembling.
45661
3a2edc79
UD
45662 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45663 over namespaces.
45664
f3c2577f
UD
45665 * sunrpc/rpc_prot.c (rejected): Fix case value.
45666
294ce126
UD
45667 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45668 unsigned long long int to avoid warnings in shift.
45669
5e2b63c6
UD
45670 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45671 of use of trans.
45672 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45673 variable tmp.
45674
e7f4b08e
UD
45675 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45676 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45677 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45678
ab26144e
UD
45679 * nis/nis_table.c (nis_list): Use variable of correct type for
45680 result of __follow_path call.
45681
8a6d5255
AZ
456822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45683
45684 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45685 of math functions ceil, trunc, floor, round, and sqrt, when
45686 avaliable on the platform.
45687 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45688 name clash.
45689 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45690 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45691 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45692
aaddc98c
MP
456932011-10-30 Marek Polacek <mpolacek@redhat.com>
45694
45695 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45696 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45697
95b7042b
RM
456982011-11-11 Roland McGrath <roland@hack.frob.com>
45699
45700 * include/unistd.h: Fix __readlink return type.
45701 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45702
57769839
UD
457032011-11-11 Ulrich Drepper <drepper@gmail.com>
45704
45705 * stdlib/ucontext.h: Undo last change for makecontext.
45706
edc5984d
AS
457072011-11-11 Andreas Schwab <schwab@redhat.com>
45708
98591e58
AS
45709 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45710
edc5984d
AS
45711 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45712 * setjmp/setjmp.h: Mark functions as non-leaf.
45713 * setjmp/bits/setjmp2.h: Likewise.
45714 * stdlib/ucontext.h: Likewise.
45715
77cdc054
AS
457162011-11-10 Andreas Schwab <schwab@redhat.com>
45717
45718 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45719 (reused_arena): Don't check arena limit.
45720 (arena_get2): Atomically check arena limit.
45721
fe72eebd
UD
457222011-11-08 Ulrich Drepper <drepper@gmail.com>
45723
5f078c32
UD
45724 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45725 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45726
fe72eebd
UD
45727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45728 instructions.
45729
ae1bc2fa
AS
457302011-11-07 Andreas Schwab <schwab@redhat.com>
45731
7583a88d
AS
45732 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45733 handler when locking.
45734
ae1bc2fa
AS
45735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45736 Fix size of allocated buffer.
45737
10fb0bfa
AS
457382011-11-04 Andreas Schwab <schwab@redhat.com>
45739
998832a4
AS
45740 [BZ #10103]
45741 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45742 declarations for long double functions.
45743 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45744
10fb0bfa
AS
45745 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45746
3d7ba52b
AS
457472011-11-03 Andreas Schwab <schwab@redhat.com>
45748
a9ae54a1
AS
45749 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45750 installed.
45751
3d7ba52b
AS
45752 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45753 is disabled.
45754
bc8db248
ST
457552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45756
45757 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45758
45b96dd6
AS
457592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45760
647776f6
AS
45761 * include/alloca.h (stackinfo_alloca_round): Define.
45762 (extend_alloca): Use it.
45763 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45764 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45765 here.
45766
d91a8b93
AS
45767 * scripts/check-local-headers.sh: Ignore libaudit.h.
45768
45b96dd6
AS
45769 * nscd/Makefile (extra-objs): Make recursively expanded.
45770
432d41ce
UD
457712011-11-01 Ulrich Drepper <drepper@gmail.com>
45772
34372fc6
UD
45773 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45775
fadb59f8
UD
45776 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45777 * posix/tst-rfc3484-2.c: Likewise.
45778 * posix/tst-rfc3484-3.c: Likewise.
45779
78239589
UD
45780 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45781 process_vm_writev.
45782 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45783 process_vm_writev.
45784 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45785 process_vm_writev from libc using GLIBC_2.15 version.
45786
432d41ce
UD
45787 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45788
02f9c6cf
PP
457892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45790
45791 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45792 stack usage.
45793
3a2c0242
UD
457942011-10-31 Ulrich Drepper <drepper@gmail.com>
45795
f4ec4833
UD
45796 [BZ #13367]
45797 * nss/getent.c (initgroups_keys): Show error message in case no group
45798 names are given.
45799
3a2c0242
UD
45800 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45801 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45802 __bump_nl_timestamp.
45803 * nscd/connections (nscd_init): When host database is served open
45804 netlink socket and request notification about configuration changes.
45805 (main_loop_poll): Track netlink file descriptor and bump timestamp
45806 in case data becomes available.
45807 (main_loop_epoll): Likewise.
45808 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45809 (database_pers_head): Add extra_data fileds.
45810 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45811 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45812 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45813 Adjust caller.
45814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45815 in6ai data, call __free_in6ai.
45816 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45817 Add -DHAVE_NETLINK.
45818 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45819 interface information. Reuse previous data if netlink timestamp
45820 is not changed.
45821 (__bump_nl_timestamp): New function.
45822 (__free_in6ai): New function.
45823
636064eb
UD
458242011-10-30 Ulrich Drepper <drepper@gmail.com>
45825
45826 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45827 close_not_cancel_no_status here.
45828 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45829
9beb2334
UD
458302011-10-29 Ulrich Drepper <drepper@gmail.com>
45831
6ef76f3b
UD
45832 [BZ #13276]
45833 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45834 return value.
45835
0ffc4f3e 45836 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45837 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45838 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45839
cb95113e
UD
458402011-07-03 Andreas Jaeger <aj@suse.de>
45841
45842 [BZ #10709]
45843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45844 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45845 * math/libm-test.inc (sin_test): Add test case.
45846
a1b560ff
UD
458472011-10-29 Ulrich Drepper <drepper@gmail.com>
45848
c9aaface
UD
45849 [BZ #13337]
45850 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45851 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45852
d272e7f1
UD
45853 * elf/chroot_canon.c (chroot_canon): Cleanups.
45854
1bc33071
UD
45855 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45856
1760874d
TJ
45857 [BZ #13335]
45858 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45859 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45860
51d91b18
UD
45861 * string/test-strchr.c: Make usable for strchrnul testing.
45862 * string/test-strchrnul.c: New file.
45863 * string/Makefile (strop-tests): Add strchrnul.
45864
a1b560ff 45865 * po/it.po: Update from translation team.
b611fb81 45866 * po/es.po: Likewise.
a1b560ff 45867
a5b81e1f
UD
458682011-10-28 Ulrich Drepper <drepper@gmail.com>
45869
fd52bc6d
UD
45870 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45871 the three constants needed as parameters. Drop the others.
45872 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45873 __m128i_strloadu_tolower.
52e4b9eb
UD
45874 Create and initialize variable zero and use it in all the places
45875 where _mm_setzero_si128 was used.
fd52bc6d 45876
a5b81e1f
UD
45877 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45878 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45879 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45880 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45881 anymore.
45882 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45883 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45884 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45885 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45886 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45887 __mpranred, __mptan.
45888 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45889 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45890 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45891 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45892 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45893 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45894 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45895 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45896 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45897
b4343346
AS
458982011-10-28 Andreas Schwab <schwab@redhat.com>
45899
0c92d8a8
AS
45900 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45901 redefine if SHARED.
45902 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45903
b4343346
AS
45904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45905 wide char related routines to wcsmbs subdir.
45906
3871f58f
AS
459072011-10-27 Andreas Schwab <schwab@redhat.com>
45908
45909 [BZ #13344]
45910 * misc/sys/cdefs.h (__THROWNL): Define.
45911 * posix/unistd.h: Use __THREADNL instead of __THREAD
45912 for memory synchronization functions.
45913
94d44d9f
RM
459142011-10-26 Roland McGrath <roland@hack.frob.com>
45915
21b64b15 45916 [BZ #13349]
94d44d9f
RM
45917 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45918 doesn't exist.
45919 * manual/stdio.texi (Obstack Streams): Node removed.
45920
f6ce9294
AS
459212011-10-26 Andreas Schwab <schwab@redhat.com>
45922
80479147
AS
45923 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45924 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45925 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45926
f6ce9294
AS
45927 * math/math_private.h (math_force_eval): Allow non-addressable
45928 arguments.
45929 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45930
618280a1
UD
459312011-10-25 Ulrich Drepper <drepper@gmail.com>
45932
e0016b11
UD
45933 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45934 file is not needed.
45935
45936 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45937 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45938 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45939 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45940 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45941 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45942 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45943 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45944 Add AVX variants.
45945 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45946 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45947 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45948 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45949 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45950 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45951 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45952 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45953 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45954 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45955 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45956 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45958 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45959 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45960 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45961 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45962 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45963 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45964
45965 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45966 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45967
618280a1
UD
45968 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45969 place. Use VEX encoding when compiling for AVX.
45970
37822576
AS
459712011-10-25 Andreas Schwab <schwab@redhat.com>
45972
1f1e1947
AS
45973 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45974 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45975
37822576
AS
45976 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45977
31ea014d
UD
459782011-10-25 Ulrich Drepper <drepper@gmail.com>
45979
d7826aa1 45980 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45981 useless if() expression.
d7826aa1
UD
45982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45983 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45984 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45986 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45988 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45989 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45990 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45991 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45992 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45993 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45994 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45995 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45996 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45997 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45998 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46000 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46001
31ea014d
UD
46002 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46003
16437fec
AS
460042011-10-25 Andreas Schwab <schwab@redhat.com>
46005
46006 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46007 condition.
46008 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46009
31d3cc00
UD
460102011-10-25 Ulrich Drepper <drepper@gmail.com>
46011
46012 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46013 .text section. Avoid duplicate constants.
46014 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46016 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46022 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46023 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46024 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46025 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46026 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46027 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46028 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46029 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46030 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46031 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46032 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46034 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46035 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46036 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46037 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46038 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46039 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46040 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46041 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46042 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46043 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46044 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46045 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46046 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46047 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46048 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46049 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46050 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46052 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46053 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46054 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46055 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46056 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46057 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46058 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46059
58985aa9
UD
460602011-10-24 Ulrich Drepper <drepper@gmail.com>
46061
202c9deb
UD
46062 * sysdeps/x86_64/dla.h: Move to ...
46063 * sysdeps/x86_64/fpu/dla.h: ...here.
46064 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46065 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46066
af968f62
UD
46067 * config.make.in: Add have-mfma4 entry.
46068 * configure.in: Substitute libc_cv_cc_fma4.
46069 * math/Makefile (dbl-only-routines): Add sincostab.
46070 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46071 Use __sincostab not sincos.
46072 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46073 name is a macro.
46074 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46075 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46078 using __copysign.
46079 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46080 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46081 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46082 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46083 and __inv.
46084 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46085 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46086 __copysign.
46087 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46088 define aliases when function name is a macro.
46089 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46090 sysdeps/ieee754/dbl-64/sincos.tbl.
46091 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46092 fma4-enabled routines.
46093 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46094 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46095 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46096 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46097 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46098 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46099 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46100 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46101 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46102 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46103 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46104 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46105 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46106 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46107 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46108 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46109 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46110 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46111 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46112 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46113 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46114 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46120 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46121 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46122 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46123
58985aa9
UD
46124 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46125 rename.
46126 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46128 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46129 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46130 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46131 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46133 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46134
a201fbcf
AS
461352011-10-24 Andreas Schwab <schwab@redhat.com>
46136
46137 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46138
fc2ee42a
LD
461392011-10-23 Ulrich Drepper <drepper@gmail.com>
46140
bb3129bd
UD
46141 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46142
0275fff8
UD
46143 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46144 prediction.
46145 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46146
2fa2ae85
UD
46147 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46148 Remove unused variable magic_bits.
46149 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46150
fc2ee42a
LD
46151 * string/strnlen.c: Define and use STRNLEN macro.
46152 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46153 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46155 * wcsmbs/wcslen.c: Define and use WCSLEN.
46156 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46157 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46158 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46159 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46160 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46161 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46162 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46163
ce7dd29f
LD
461642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46165
46166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46167 strnlen-sse2-no-bsf.
46168 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46170 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46171 Add strnlen support.
46172 (USE_AS_STRNLEN): New macro.
46173 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46174 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46175 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46176 * sysdeps/x86_64/wcslen.S: New file.
46177
979c70a3
MZ
461782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46179
46180 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46181 XMM-moves are used for copying on small sizes.
46182
2d09f82f
LD
461832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46184
46185 * wcsmbs/Makefile (strop-tests): Add wcschr.
46186 * wcsmbs/test-wcschr.c: New file.
46187 * string/test-strchr.c: Update.
46188 Add wcschr support.
46189 (WIDE): New macro.
46190
619fccca
LD
461912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46192
2d09f82f 46193 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46194 * wcsmbs/test-wcslen.c: New file.
46195 * string/test-strlen.c: Update.
46196 Add wcslen support.
46197 (WIDE): New macro.
46198
09f699ea
UD
461992011-10-23 Ulrich Drepper <drepper@gmail.com>
46200
46201 * po/it.po: Update from translation team.
46202
95584d3b
LD
462032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46204
46205 * sysdeps/x86_64/wcscmp.S: Update.
46206 Fix wrong comparison semantics.
46207 wcscmp shall use signed comparison not unsigned.
46208 Don't use substraction to avoid overflow bug.
46209 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46210 * wcsmbc/wcscmp.c: Likewise.
46211 * string/test-strcmp.c: Likewise.
46212 Add new tests to check cases with negative values.
46213
c8b3296b
UD
462142011-10-23 Ulrich Drepper <drepper@gmail.com>
46215
46216 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46217 * sysdeps/x86_64/dla.h: ...here. New file.
46218 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46227
246ad57a
AS
462282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46229
46230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46231 __ynl_finite aliases.
46232
a1a87169
UD
462332011-10-22 Ulrich Drepper <drepper@gmail.com>
46234
0d355eb7
UD
46235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46236
a1a87169
UD
46237 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46238 define DLA_FMA.
46239 [DLA_FMA] (EMULV): Use DLA_FMA.
46240 [DLA_FMA] (MUL12): Use EMULV.
46241 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46242 that are not needed.
46243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46250
ee2aafe0
AS
462512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46252
46253 * math/s_nan.c: Undef __nan.
46254 * math/s_nanf.c: Undef __nanf.
46255 * math/s_nanl.c: Undef __nanl.
46256 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46257 "math_private.h".
46258
bc62c2fb
UD
462592011-10-22 Ulrich Drepper <drepper@gmail.com>
46260
77425c63
UD
46261 * math/s_catan.c: Add branch predictions.
46262 * math/s_catanf.c: Likewise.
46263 * math/s_catanh.c: Likewise.
46264 * math/s_catanhf.c: Likewise.
46265 * math/s_catanhl.c: Likewise.
46266 * math/s_catanl.c: Likewise.
46267 * math/s_cexp.c: Likewise.
46268 * math/s_cexpf.c: Likewise.
46269 * math/s_cexpl.c: Likewise.
46270 * math/s_clog.c: Likewise.
46271 * math/s_clog10.c: Likewise.
46272 * math/s_clog10f.c: Likewise.
46273 * math/s_clog10l.c: Likewise.
46274 * math/s_clogf.c: Likewise.
46275 * math/s_clogl.c: Likewise.
46276 * math/s_csqrt.c: Likewise.
46277 * math/s_csqrtf.c: Likewise.
46278 * math/s_csqrtl.c: Likewise.
46279 * math/s_ctanf.c: Likewise.
46280 * math/s_ctanh.c: Likewise.
46281 * math/s_ctanhf.c: Likewise.
46282 * math/s_ctanhl.c: Likewise.
46283 * math/s_ctanl.c: Likewise.
46284
bc62c2fb
UD
46285 * math/math_private.h: Define __nan, __nanf, __nanl.
46286 * math/s_cacosh.c: Include <math_private.h>.
46287 * math/s_cacoshl.c: Likewise.
46288 * math/s_casinh.c: Likewise.
46289 * math/s_casinhf.c: Likewise.
46290 * math/s_casinhl.c: Likewise.
46291 * math/s_ccos.c: Rely entire on ccosh.
46292 * math/s_ccosf.c: Rely entire on ccoshf.
46293 * math/s_ccosl.c: Rely entirely on ccoshl.
46294 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46295 Remove tests for FE_INVALID.
46296 * math/s_ccoshf.c: Likewise.
46297 * math/s_ccoshl.c: Likewise.
46298 * math/s_csin.c: Likewise.
46299 * math/s_csinf.c: Likewise.
46300 * math/s_csinh.c Likewise.
46301 * math/s_csinhf.c: Likewise.
46302 * math/s_csinhl.c: Likewise.
46303 * math/s_csinl.c: Likewise.
46304 * math/s_ctan.c: Likewise.
46305 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46306 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46307 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46308
8ec250a4
UD
463092011-10-21 Ulrich Drepper <drepper@gmail.com>
46310
c196fed8
UD
46311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46312 compilation problems.
46313
8ec250a4
UD
46314 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46315 __builtin_expect.
46316
8d4f46c6
UD
463172011-10-20 Ulrich Drepper <drepper@gmail.com>
46318
ed72b654
UD
46319 * sysdeps/i386/configure.in: Test for -mfma4 option.
46320 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46321 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46322 COMMON_CPUID_INDEX_80000001.
46323 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46324 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46325 use it if FMA3 is not supported.
46326 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46327
8d4f46c6
UD
46328 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46329 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46330
d45c60c2
AS
463312011-10-20 Andreas Schwab <schwab@redhat.com>
46332
46333 [BZ #12892]
46334 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46335 it would create a cycle with a link time dependency.
46336
d9a4d2ab
UD
463372011-10-19 Ulrich Drepper <drepper@gmail.com>
46338
855d1560
UD
46339 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46340 instruction.
46341 * string/Makefile (strop-tests): Add rawmemchr.
46342 * string/test-rawmemchr.c: New file.
46343
d9a4d2ab
UD
46344 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46345 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46346 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46347 when compiling str{,n}casecmp and when AVX is available. Hook up
46348 new optimized code in initializers.
46349
8f3b1ffe
AS
463502011-10-19 Andreas Schwab <schwab@redhat.com>
46351
46352 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46353 __feraiseexcept instead of feraiseexcept.
46354
d38f1dba
UD
463552011-10-18 Ulrich Drepper <drepper@gmail.com>
46356
d9a8d0ab
UD
46357 * math/math_private.h: Define defaults for libc_fetestexcept and
46358 libc_feupdateenv.
46359 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46360 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46361 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46362 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46363 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46364 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46365 libc_fetestexcept and libc_feupdateenv.
46366
4855e3dd
UD
46367 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46368 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46369 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46370 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46371 libc_feholdexcept_setround.
46372
581d30e3
UD
46373 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46374 Add s_nearbyint-c and s_nearbyintf-c.
46375 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46376 nearbyintf inlines.
46377 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46378 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46379 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46380 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46381
d38f1dba
UD
46382 * math/math_private.h: Define defaults for libc_fegetround,
46383 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46384 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46385 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46386 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46387 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46388 standard functions.
46389 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46390 Remove comments and hacks for old compiler versions.
46391 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46392 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46393 libc_feholdexceptl.
46394
caa6c9d8
AS
463952011-10-18 Andreas Schwab <schwab@redhat.com>
46396
46397 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46398 (__feraiseexcept_renamed): Add __NTH.
46399 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46400 namespace violations.
46401
97c066e6
UD
464022011-10-17 Ulrich Drepper <drepper@gmail.com>
46403
99ce7b04
UD
46404 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46405
1004d182
UD
46406 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46407
228a984d
UD
46408 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46409 recently added interfaces.
46410 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46411
c8553a6a
UD
46412 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46413 about macro parameter expansion.
46414
ed22dcf6
UD
46415 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46416 __NO_MATH_INLINES is defined. Cleanups.
46417
46418 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46419 and __floorf is target has SSE4.1.
46420 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46421 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46422 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46423 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46424
b171c137
UD
46425 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46426 name.
46427 (floorf): Likewise.
46428
97c066e6
UD
46429 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46430
629f62ef
AS
464312011-10-17 Andreas Schwab <schwab@redhat.com>
46432
49a43d80
AS
46433 * misc/sys/cdefs.h: Fix last change.
46434
629f62ef
AS
46435 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46436 database lookup.
46437
e453f6cd
UD
464382011-10-16 Ulrich Drepper <drepper@gmail.com>
46439
aa78043a
UD
46440 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46441
ad0f5cad
UD
46442 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46443 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46445 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46447 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46448 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46449 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46450 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46451 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46452 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46453 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46454 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46455 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46456 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46457 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46458 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46459 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46460 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46461 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46462 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46463 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46464
46465 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46466 ceil, ceilf, floor, floorf.
46467
46468 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46469 Perform IRELATIVE relocations last.
46470
e453f6cd
UD
46471 * elf/do-rel.h: Add another parameter nrelative, replacing the
46472 local variable with the same name. Change name of the function
46473 to end in Rel or Rela (uppercase).
46474 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46475 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46476 elf_dynamic_do_##reloc function.
46477
fd5bdc09
UD
464782011-10-15 Ulrich Drepper <drepper@gmail.com>
46479
79b195b5
UD
46480 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46481 is sufficient, at least on modern CPUs.
46482
d4a28569
UD
46483 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46484
b61099b5
UD
46485 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46486 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46487
bcf01e6d
UD
46488 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46489 __expl_finite.
46490 * math/bits/math-finite.h: Add entries for exp.
46491 * math/e_expl.c: Add __*_finite alias.
46492 * sysdeps/i386/fpu/e_exp.S: Likewise.
46493 * sysdeps/i386/fpu/e_expf.S: Likewise.
46494 * sysdeps/i386/fpu/e_expl.c: Likewise.
46495 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46496 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46497 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46499 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46500 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46501 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46502
ba1a0d59
UD
46503 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46504 is sufficient, at least on modern CPUs.
46505
fd5bdc09
UD
46506 * ctype/ctype-info.c (__ctype_init): Define.
46507 * include/ctype.h (__ctype_init): Declare.
46508 (__ctype_b_loc): The variable is always initialized.
46509 (__ctype_toupper_loc): Likewise.
46510 (__ctype_tolower_loc): Likewise.
46511 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46512 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46513
7872cfb0
AS
465142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46515
b468825a
AS
46516 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46517
7872cfb0
AS
46518 * configure.in: Also look in $cxxmachine/include for C++ system
46519 headers.
46520
be13f7bf
LD
465212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46522
46523 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46524 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46525 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46526 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46527 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46528 (USE_AS_WMEMCMP): New macro.
46529 Fixing indents.
46530 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46531 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46532 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46533 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46535 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46536 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46537 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46538 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46539 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46540 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46541 (USE_AS_WMEMCMP): New macro.
46542 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46543 * sysdeps/string/test-memcmp.c: Update.
46544 Fix simple_wmemcmp.
46545 Add new tests.
46546 * wcsmbs/wmemcmp.c: Update.
46547 (WMEMCMP): New macro.
46548 Fix overflow bug.
46549
556a2007
AJ
465502011-10-12 Andreas Jaeger <aj@suse.de>
46551
46552 [BZ #13268]
46553 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46554
538faaa7
UD
465552011-10-15 Ulrich Drepper <drepper@gmail.com>
46556
ab6737ff
UD
46557 * libio/iofwide.c (do_length): Avoid warning.
46558
538faaa7
UD
46559 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46560
396a21b1
UD
465612011-10-14 Ulrich Drepper <drepper@gmail.com>
46562
cdf2901f
UD
46563 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46564
38ad40ce
UD
46565 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46566 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46567 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46568 * sysdeps/i386/i686/fpu/e_log.S: New file.
46569 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46570 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46571
396a21b1
UD
46572 * ctype/ctype.h: Add support for inlined isXXX functions when
46573 compiling C++ code.
46574
6b1f68c9
AS
465752011-10-14 Andreas Schwab <schwab@redhat.com>
46576
349290c0
AS
46577 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46578
6b1f68c9
AS
46579 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46580
f2282d42
RM
465812011-10-13 Roland McGrath <roland@hack.frob.com>
46582
46583 [BZ #13291]
46584 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46585
5298ffa8
AS
465862011-10-13 Andreas Schwab <schwab@redhat.com>
46587
714fad23
AS
46588 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46589 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46590 feraiseexcept.
46591
81dcc7fb
AS
46592 * sysdeps/x86_64/memrchr.S: Check for zero size.
46593
5298ffa8
AS
46594 * string/stratcliff.c: Add memrchr tests.
46595
951fbcec
LD
465962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46597
46598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46599 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46600 rawmemchr-sse2 rawmemchr-sse2-bsf.
46601 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46602 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46603 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46604 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46605 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46606 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46607 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46608 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46609 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46610 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46611 * string/memrchr.c (MEMRCHR): New macro.
46612
0ac5ae23
UD
466132011-10-12 Ulrich Drepper <drepper@gmail.com>
46614
46615 Add integration with gcc's -ffinite-math-only and optimize wrapper
46616 functions in libm.
46617 * Versions.def: Define GLIBC_2.15 version for libm.
46618 * math/Makefile (headers): Add bits/math-finite.h.
46619 * math/bits/math-finite.h: New file.
46620 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46621 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46622 * math/e_acoshl.c: Add __*_finite alias.
46623 * math/e_acosl.c: Likewise.
46624 * math/e_asinl.c: Likewise.
46625 * math/e_atan2l.c: Likewise.
46626 * math/e_atanhl.c: Likewise.
46627 * math/e_coshl.c: Likewise.
46628 * math/e_exp10.c: Likewise.
46629 * math/e_exp10f.c: Likewise.
46630 * math/e_exp10l.c: Likewise.
46631 * math/e_exp2l.c: Likewise.
46632 * math/e_fmodl.c: Likewise.
46633 * math/e_gammal_r.c: Likewise.
46634 * math/e_hypotl.c: Likewise.
46635 * math/e_j0l.c: Likewise.
46636 * math/e_j1l.c: Likewise.
46637 * math/e_jnl.c: Likewise.
46638 * math/e_lgammal_r.c: Likewise.
46639 * math/e_log10l.c: Likewise.
46640 * math/e_log2l.c: Likewise.
46641 * math/e_logl.c: Likewise.
46642 * math/e_powl.c: Likewise.
46643 * math/e_sinhl.c: Likewise.
46644 * math/e_sqrtl.c: Likewise.
46645 * math/e_scalb.c: Completely rewritten and optimized.
46646 * math/e_scalbf.c: Likewise.
46647 * math/e_scalbl.c: Likewise.
46648 * math/w_acos.c: Likewise.
46649 * math/w_acosf.c: Likewise.
46650 * math/w_acosl.c: Likewise.
46651 * math/w_acosh.c: Likewise.
46652 * math/w_acoshf.c: Likewise.
46653 * math/w_acoshl.c: Likewise.
46654 * math/w_asin.c: Likewise.
46655 * math/w_asinf.c: Likewise.
46656 * math/w_asinl.c: Likewise.
46657 * math/w_atan2.c: Likewise.
46658 * math/w_atan2f.c: Likewise.
46659 * math/w_atan2l.c: Likewise.
46660 * math/w_atanh.c: Likewise.
46661 * math/w_atanhf.c: Likewise.
46662 * math/w_atanhl.c: Likewise.
46663 * math/w_exp10.c: Likewise.
46664 * math/w_exp10f.c: Likewise.
46665 * math/w_exp10l.c: Likewise.
46666 * math/w_fmod.c: Likewise.
46667 * math/w_fmodf.c: Likewise.
46668 * math/w_fmodl.c: Likewise.
46669 * math/w_j0.c: Likewise.
46670 * math/w_j0f.c: Likewise.
46671 * math/w_j0l.c: Likewise.
46672 * math/w_j1.c: Likewise.
46673 * math/w_j1f.c: Likewise.
46674 * math/w_j1l.c: Likewise.
46675 * math/w_jn.c: Likewise.
46676 * math/w_jnf.c: Likewise.
46677 * math/w_log.c: Likewise.
46678 * math/w_logf.c: Likewise.
46679 * math/w_logl.c: Likewise.
46680 * math/w_log10.c: Likewise.
46681 * math/w_log10f.c: Likewise.
46682 * math/w_log10l.c: Likewise.
46683 * math/w_log2.c: Likewise.
46684 * math/w_log2f.c: Likewise.
46685 * math/w_log2l.c: Likewise.
46686 * math/w_pow.c: Likewise.
46687 * math/w_powf.c: Likewise.
46688 * math/w_powl.c: Likewise.
46689 * math/w_remainder.c: Likewise.
46690 * math/w_remainderf.c: Likewise.
46691 * math/w_remainderl.c: Likewise.
46692 * math/w_scalb.c: Likewise.
46693 * math/w_scalbf.c: Likewise.
46694 * math/w_scalbl.c: Likewise.
46695 * math/w_sqrt.c: Likewise.
46696 * math/w_sqrtf.c: Likewise.
46697 * math/w_sqrtl.c: Likewise.
46698 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46699 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46700 used.
46701 * math/math_private.h: Declare __kernel_standard_f.
46702 * math/w_cosh.c: Remove cruft and optimize a bit.
46703 * math/w_coshf.c: Likewise.
46704 * math/w_coshl.c: Likewise.
46705 * math/w_exp2.c: Likewise.
46706 * math/w_exp2f.c: Likewise.
46707 * math/w_exp2l.c: Likewise.
46708 * math/w_hypot.c: Likewise.
46709 * math/w_hypotf.c: Likewise.
46710 * math/w_hypotl.c: Likewise.
46711 * math/w_lgamma.c: Likewise.
46712 * math/w_lgamma_r.c: Likewise.
46713 * math/w_lgammaf.c: Likewise.
46714 * math/w_lgammaf_r.c: Likewise.
46715 * math/w_lgammal.c: Likewise.
46716 * math/w_lgammal_r.c: Likewise.
46717 * math/w_sinh.c: Likewise.
46718 * math/w_sinhf.c: Likewise.
46719 * math/w_sinhl.c: Likewise.
46720 * math/w_tgamma.c: Likewise.
46721 * math/w_tgammaf.c: Likewise.
46722 * math/w_tgammal.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46724 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46725 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46726 Minor optimizations. Pretty printing. Remove cruft.
46727 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46728 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46729 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46730 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46731 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46732 * sysdeps/i386/fpu/e_asin.S: Likewise.
46733 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46734 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46735 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46736 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46738 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46739 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46740 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46741 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46742 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46743 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46744 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46745 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46746 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46747 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46748 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46749 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46750 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46751 * sysdeps/i386/fpu/e_log.S: Likewise.
46752 * sysdeps/i386/fpu/e_log10.S: Likewise.
46753 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46754 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46755 * sysdeps/i386/fpu/e_log2.S: Likewise.
46756 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46757 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46758 * sysdeps/i386/fpu/e_logf.S: Likewise.
46759 * sysdeps/i386/fpu/e_logl.S: Likewise.
46760 * sysdeps/i386/fpu/e_pow.S: Likewise.
46761 * sysdeps/i386/fpu/e_powf.S: Likewise.
46762 * sysdeps/i386/fpu/e_powl.S: Likewise.
46763 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46764 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46765 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46766 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46767 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46768 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46769 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46770 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46771 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46772 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46773 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46775 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46778 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46779 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46780 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46781 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46782 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46783 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46785 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46786 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46788 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46789 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46790 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46792 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46793 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46794 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46795 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46796 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46797 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46798 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46799 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46800 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46801 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46803 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46804 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46805 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46806 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46807 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46808 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46809 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46810 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46811 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46812 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46813 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46814 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46815 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46816 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46817 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46818 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46819 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46820 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46821 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46822 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46823 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46824 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46825 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46826 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46827 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46828 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46829 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46830 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46831 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46832 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46833 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46834 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46835 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46836 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46837 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46838 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46840 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46841 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46842 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46843 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46844 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46845 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46849 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46850 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46852 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46854 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46855 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46857 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46858 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46859 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46860 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46861 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46862 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46863 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46864 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46865 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46866 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46867 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46868 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46869 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46870 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46871 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46872 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46873 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46874 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46875 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46876 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46877 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46878 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46879 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46880 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46881 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46882 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46883 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46884 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46885 (__isnanf): Likewise.
46886 (__isinf_ns): Likewise.
46887 (__isinf_nsf): Likewise.
46888 (__finite): Likewise.
46889 (__finitef): Likewise.
46890 (__ieee754_sqrt): Define as macro.
46891 (__ieee754_sqrtf): Define as macro.
46892 (__ieee754_sqrtl): Define as macro.
46893 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46894 inlined copy.
46895 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46896 __FINITE_MATH_ONLY__ consistent.
46897 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46898
12cc2fcd
AS
468992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46900
a843a204
AS
46901 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46902 of rawmemchr.
46903
12cc2fcd
AS
46904 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46905
c853acd5
UD
469062011-10-09 Ulrich Drepper <drepper@gmail.com>
46907
46908 * po/ja.po: Update from translation team.
46909
c658d255
RM
469102011-10-08 Roland McGrath <roland@hack.frob.com>
46911
110946e4
RM
46912 * locale/programs/locarchive.c (prepare_address_space): New function.
46913 (create_archive, enlarge_archive, open_archive): Use it.
46914
50604220
RM
46915 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46916 inside [SHARED], where it is used.
46917
c658d255
RM
46918 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46919
46920 * nss/getent.c (netgroup_keys): Remove unused variable.
46921 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46922
6a621eb7
UD
469232011-10-08 Ulrich Drepper <drepper@gmail.com>
46924
7edb55ce
UD
46925 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46926 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46928 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46929 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46930 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46931 * math/Makefile (libm-calls): Add s_isinf_ns.
46932 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46933 * math/multc3.c: Likewise.
46934 * math/s_casin.c: Likewise.
46935 * math/s_casinf.c: Likewise.
46936 * math/s_casinl.c: Likewise.
46937 * math/s_ccos.c: Likewise.
46938 * math/s_ccosf.c: Likewise.
46939 * math/s_ccosl.c: Likewise.
46940 * math/s_ctan.c: Likewise.
46941 * math/s_ctanf.c: Likewise.
46942 * math/s_ctanh.c: Likewise.
46943 * math/s_ctanhf.c: Likewise.
46944 * math/s_ctanhl.c: Likewise.
46945 * math/s_ctanl.c: Likewise.
46946 * math/w_fmod.c: Likewise.
46947 * math/w_fmodf.c: Likewise.
46948 * math/w_fmodl.c: Likewise.
46949 * math/w_remainder.c: Likewise.
46950 * math/w_remainderf.c: Likewise.
46951 * math/w_remainderl.c: Likewise.
46952 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46953 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46954 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46956 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46957 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46958 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46959 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46960
187da0ae
UD
46961 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46962 of the number.
46963 * stdio-common/printf_fphex.c: Likewise.
46964 * stdio-common/printf_size.c: Likewise.
46965
9277c064
UD
46966 * math/e_exp10.c: Include math_private.h using <...> not "...".
46967 * math/e_exp10f.c: Likewise.
46968 * math/e_exp10l.c: Likewise.
46969 * math/e_exp2l.c: Likewise.
46970 * math/e_j0l.c: Likewise.
46971 * math/e_j1l.c: Likewise.
46972 * math/e_jnl.c: Likewise.
46973 * math/e_lgammal_r.c: Likewise.
46974 * math/e_rem_pio2l.c: Likewise.
46975 * math/e_scalb.c: Likewise.
46976 * math/e_scalbf.c: Likewise.
46977 * math/e_scalbl.c: Likewise.
46978 * math/k_cosl.c: Likewise.
46979 * math/k_sinl.c: Likewise.
46980 * math/k_tanl.c: Likewise.
46981 * math/s_cacoshf.c: Likewise.
46982 * math/s_catan.c: Likewise.
46983 * math/s_catanf.c: Likewise.
46984 * math/s_catanh.c: Likewise.
46985 * math/s_catanhf.c: Likewise.
46986 * math/s_catanhl.c: Likewise.
46987 * math/s_catanl.c: Likewise.
46988 * math/s_ccosh.c: Likewise.
46989 * math/s_ccoshf.c: Likewise.
46990 * math/s_ccoshl.c: Likewise.
46991 * math/s_cexp.c: Likewise.
46992 * math/s_cexpf.c: Likewise.
46993 * math/s_cexpl.c: Likewise.
46994 * math/s_clog.c: Likewise.
46995 * math/s_clog10.c: Likewise.
46996 * math/s_clog10f.c: Likewise.
46997 * math/s_clog10l.c: Likewise.
46998 * math/s_clogf.c: Likewise.
46999 * math/s_clogl.c: Likewise.
47000 * math/s_csin.c: Likewise.
47001 * math/s_csinf.c: Likewise.
47002 * math/s_csinh.c: Likewise.
47003 * math/s_csinhf.c: Likewise.
47004 * math/s_csinhl.c: Likewise.
47005 * math/s_csinl.c: Likewise.
47006 * math/s_csqrt.c: Likewise.
47007 * math/s_csqrtf.c: Likewise.
47008 * math/s_csqrtl.c: Likewise.
47009 * math/s_ctan.c: Likewise.
47010 * math/s_ctanf.c: Likewise.
47011 * math/s_ctanh.c: Likewise.
47012 * math/s_ctanhf.c: Likewise.
47013 * math/s_ctanhl.c: Likewise.
47014 * math/s_ctanl.c: Likewise.
47015 * math/s_ldexp.c: Likewise.
47016 * math/s_ldexpf.c: Likewise.
47017 * math/s_ldexpl.c: Likewise.
47018 * math/s_significand.c: Likewise.
47019 * math/s_significandf.c: Likewise.
47020 * math/s_significandl.c: Likewise.
47021 * math/w_acos.c: Likewise.
47022 * math/w_acosf.c: Likewise.
47023 * math/w_acosh.c: Likewise.
47024 * math/w_acoshf.c: Likewise.
47025 * math/w_acoshl.c: Likewise.
47026 * math/w_acosl.c: Likewise.
47027 * math/w_asin.c: Likewise.
47028 * math/w_asinf.c: Likewise.
47029 * math/w_asinl.c: Likewise.
47030 * math/w_atan2.c: Likewise.
47031 * math/w_atan2f.c: Likewise.
47032 * math/w_atan2l.c: Likewise.
47033 * math/w_atanh.c: Likewise.
47034 * math/w_atanhf.c: Likewise.
47035 * math/w_atanhl.c: Likewise.
47036 * math/w_cosh.c: Likewise.
47037 * math/w_coshf.c: Likewise.
47038 * math/w_coshl.c: Likewise.
47039 * math/w_dremf.c: Likewise.
47040 * math/w_exp10.c: Likewise.
47041 * math/w_exp10f.c: Likewise.
47042 * math/w_exp10l.c: Likewise.
47043 * math/w_exp2.c: Likewise.
47044 * math/w_exp2f.c: Likewise.
47045 * math/w_fmod.c: Likewise.
47046 * math/w_fmodf.c: Likewise.
47047 * math/w_fmodl.c: Likewise.
47048 * math/w_hypot.c: Likewise.
47049 * math/w_hypotf.c: Likewise.
47050 * math/w_hypotl.c: Likewise.
47051 * math/w_j0.c: Likewise.
47052 * math/w_j0f.c: Likewise.
47053 * math/w_j0l.c: Likewise.
47054 * math/w_j1.c: Likewise.
47055 * math/w_j1f.c: Likewise.
47056 * math/w_j1l.c: Likewise.
47057 * math/w_jn.c: Likewise.
47058 * math/w_jnf.c: Likewise.
47059 * math/w_jnl.c: Likewise.
47060 * math/w_lgamma.c: Likewise.
47061 * math/w_lgamma_r.c: Likewise.
47062 * math/w_lgammaf.c: Likewise.
47063 * math/w_lgammaf_r.c: Likewise.
47064 * math/w_lgammal.c: Likewise.
47065 * math/w_lgammal_r.c: Likewise.
47066 * math/w_log.c: Likewise.
47067 * math/w_log10.c: Likewise.
47068 * math/w_log10f.c: Likewise.
47069 * math/w_log10l.c: Likewise.
47070 * math/w_log2.c: Likewise.
47071 * math/w_log2f.c: Likewise.
47072 * math/w_log2l.c: Likewise.
47073 * math/w_logf.c: Likewise.
47074 * math/w_logl.c: Likewise.
47075 * math/w_pow.c: Likewise.
47076 * math/w_powf.c: Likewise.
47077 * math/w_powl.c: Likewise.
47078 * math/w_remainder.c: Likewise.
47079 * math/w_remainderf.c: Likewise.
47080 * math/w_remainderl.c: Likewise.
47081 * math/w_scalb.c: Likewise.
47082 * math/w_scalbf.c: Likewise.
47083 * math/w_scalbl.c: Likewise.
47084 * math/w_sinh.c: Likewise.
47085 * math/w_sinhf.c: Likewise.
47086 * math/w_sinhl.c: Likewise.
47087 * math/w_sqrt.c: Likewise.
47088 * math/w_sqrtf.c: Likewise.
47089 * math/w_sqrtl.c: Likewise.
47090 * math/w_tgamma.c: Likewise.
47091 * math/w_tgammaf.c: Likewise.
47092 * math/w_tgammal.c: Likewise.
47093
6a621eb7
UD
47094 * po/ja.po: Update from translation team.
47095
bf582445
AJ
470962011-09-29 Andreas Jaeger <aj@suse.de>
47097
f9efbf3a
AJ
47098 [BZ #13179]
47099 * sunrpc/netname.c (netname2host): Fix logic.
47100
bf582445
AJ
47101 [BZ #6779]
47102 [BZ #6783]
47103 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47104 correctly.
47105 * math/w_remainder.c (__remainder): Likewise.
47106 * math/w_remainderf.c (__remainderf): Likewise.
47107 * math/libm-test.inc (remainder_test): Add test cases.
47108
48693bea
AK
471092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47110
47111 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47112 sdiv_qrnnd.
47113
42622229
LD
471142011-10-07 Ulrich Drepper <drepper@gmail.com>
47115
47116 * string/test-memcmp.c: Avoid unncessary #defines.
47117 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47118
093ecf92
LD
471192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47120
47121 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47122 Use new sse2 version for core i3 - i7 as it's faster
47123 than sse42 version.
47124 (bit_Prefer_PMINUB_for_stringop): New.
47125 * sysdeps/x86_64/rawmemchr.S: Update.
47126 Replace with faster SSE2 version.
47127 * sysdeps/x86_64/memrchr.S: New file.
47128 * sysdeps/x86_64/memchr.S: Update.
47129 Replace with faster SSE2 version.
47130
fde56e5c
MP
471312011-09-12 Marek Polacek <mpolacek@redhat.com>
47132
47133 * elf/dl-load.c (lose): Add cast to avoid warning.
47134
21fd49a9
UD
471352011-10-07 Ulrich Drepper <drepper@gmail.com>
47136
5a06e643
UD
47137 * po/ca.po: Update from translation team.
47138
684ae515
UD
47139 * inet/getnetgrent_r.c: Hook up nscd.
47140 * nscd/Makefile (routines): Add nscd_netgroup.
47141 (nscd-modules): Add netgroupcache.
47142 (CFLAGS-netgroupcache.c): Define.
47143 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47144 (cache_search): Add const to second parameter.
47145 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47146 INNETGR.
47147 (dbs): Add netgrdb entry.
47148 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47149 (verify_persistent_db): Handle netgrdb.
47150 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47151 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47152 GETFDNETGR.
47153 (netgroup_response_header): Define.
47154 (innetgroup_response_header): Define.
47155 (datahead): Add netgroup_response_header and innetgroup_response_header
47156 elements.
47157 * nscd/nscd.conf: Add entries for netgroup cache.
47158 * nscd/nscd.h (dbtype): Add netgrdb.
47159 (_PATH_NSCD_NETGROUP_DB): Define.
47160 (netgroup_iov_disabled): Declare.
47161 (xmalloc, xcalloc, xrealloc): Move declarations here.
47162 (cache_search): Adjust prototype.
47163 Add netgroup-related prototypes.
47164 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47165 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47166 (__nscd_innetgr): Declare.
47167 * nscd/selinux.c (perms): Use access_vector_t as element type and
47168 add netgroup-related initializers.
47169 * nscd/netgroupcache.c: New file.
47170 * nscd/nscd_netgroup.c: New file.
47171 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47172 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47173 For four parameters use innetgr.
47174 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47175 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47176 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47177 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47178
21fd49a9
UD
47179 * nscd/connections.c (register_traced_file): Don't register file
47180 for disabled databases.
47181
054c0457
UD
471822011-10-06 Ulrich Drepper <drepper@gmail.com>
47183
32b63198
UD
47184 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47185
054c0457
UD
47186 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47187 from tree and freeing node.
47188
64031225
JO
471892011-09-25 Jiri Olsa <jolsa@redhat.com>
47190
47191 * nss/nsswitch.c (__nss_database_lookup): Handle
47192 nss_parse_service_list out of memory case.
47193
0490345c
JO
471942011-09-15 Jiri Olsa <jolsa@redhat.com>
47195
47196 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47197 out of memory case.
47198
3a62d00d
AS
471992011-10-04 Andreas Schwab <schwab@redhat.com>
47200
47201 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47202 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47203 pass it down.
47204 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47205 elf_machine_rela, elf_machine_lazy_rel.
47206 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47207 (ELF_DYNAMIC_DO_REL): Likewise.
47208 (ELF_DYNAMIC_DO_RELA): Likewise.
47209 (ELF_DYNAMIC_RELOCATE): Likewise.
47210 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47211 to ELF_DYNAMIC_DO_REL.
47212 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47213 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47214 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47215 elf_machine_rela.
47216 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47217 skip_ifunc, don't call ifunc function if non-zero.
47218 (elf_machine_rela): Likewise.
47219 (elf_machine_lazy_rel): Likewise.
47220 (elf_machine_lazy_rela): Likewise.
47221 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47222 (elf_machine_lazy_rel): Likewise.
47223 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47224 Likewise.
47225 (elf_machine_lazy_rel): Likewise.
47226 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47227 Likewise.
47228 (elf_machine_lazy_rel): Likewise.
47229 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47230 (elf_machine_lazy_rel): Likewise.
47231 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47232 (elf_machine_lazy_rel): Likewise.
47233 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47234 (elf_machine_lazy_rel): Likewise.
47235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47236 (elf_machine_lazy_rel): Likewise.
47237 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47238 (elf_machine_lazy_rel): Likewise.
47239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47240 (elf_machine_lazy_rel): Likewise.
47241
68577918
UD
472422011-09-28 Ulrich Drepper <drepper@gmail.com>
47243
47244 * nss/nss_files/files-init.c (_nss_files_init): Use static
47245 initialization for all the *_traced_file variables.
47246
68822d74
AS
472472011-09-28 Andreas Schwab <schwab@redhat.com>
47248
47249 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47250
2056100b
RM
472512011-09-27 Roland McGrath <roland@hack.frob.com>
47252
47253 [BZ #13226]
47254 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47255
32c76b63
AS
472562011-09-27 Andreas Schwab <schwab@redhat.com>
47257
47258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47259 Reread the line before reparsing it.
47260
bf972c9d
AS
472612011-09-26 Andreas Schwab <schwab@redhat.com>
47262
47263 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47264
e057a1b5
JM
472652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47266 Maxim Kuvyrkov <maxim@codesourcery.com>
47267 Joseph Myers <joseph@codesourcery.com>
47268
47269 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47270 if needed for __stack_chk_guard.
47271
bc7e1c36
RM
472722011-09-19 Roland McGrath <roland@hack.frob.com>
47273
ecb1482f
RM
47274 * sysdeps/posix/spawni.c (script_execute): Always define it.
47275 It will be optimized away if unused.
47276 (maybe_script_execute): New function.
47277 (__spawni): Call it.
47278
bc7e1c36
RM
47279 * Makerules: Don't include tls.make.
47280 (config-tls): Always set to thread.
47281 * tls.make.c: File removed.
47282
1c3b002b
MF
472832011-09-19 Mike Frysinger <vapier@gentoo.org>
47284
47285 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47286 * config.make.in (CPPFLAGS-config): New substituted variable.
47287
2840865d
UD
472882011-09-15 Ulrich Drepper <drepper@gmail.com>
47289
88738eb6
UD
47290 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47291
cbf645a6 47292 [BZ #13192]
2840865d
UD
47293 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47294 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47295
b402e91a
RM
472962011-09-15 Roland McGrath <roland@hack.frob.com>
47297
47298 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47299 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47301 (CALL_FAIL): Likewise.
47302 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47303 (CALL_FAIL): Macro removed.
47304 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47305
4c1a1f71
UD
473062011-09-15 Ulrich Drepper <drepper@gmail.com>
47307
47308 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47309 for __FINITE_MATH_ONLY__ == 1.
47310
edc121be
AS
473112011-09-15 Andreas Schwab <schwab@redhat.com>
47312
47313 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47314 __ieee754_sqrt instead of sqrt.
47315 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47316 __ieee754_sqrtf instead of sqrtf.
47317 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47318 __floorf instead of floorf.
47319 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47320 __floorf, __truncf instead of floorf, truncf.
47321
cd205654
UD
473222011-09-14 Ulrich Drepper <drepper@gmail.com>
47323
ee4d0315
UD
47324 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47325
cd205654
UD
47326 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47327 __extern_always_inline.
47328 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47329 32-bit.
47330
48b67d71
AS
473312011-09-14 Andreas Schwab <schwab@redhat.com>
47332
47333 * elf/rtld.c (dl_main): Also relocate in dependency order when
47334 doing symbol dependency testing.
47335
1ae12c75
AS
473362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47337
47338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47339 Always define `refsym'.
47340
995a80df
AS
473412011-09-13 Andreas Schwab <schwab@redhat.com>
47342
e529793b
AS
47343 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47344 (__FD_ELT): Renamed from __FDELT.
47345 * misc/bits/select2.h (__FD_ELT): Likewise.
47346 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47347 __FD_MASK instead of __FDELT, __FDMASK.
47348 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47349 Likewise.
47350 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47351 Likewise.
47352
52d4fef8
AS
47353 * elf/Makefile (gen-ldd): Fix pattern.
47354
995a80df
AS
47355 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47356 (init_tls): Likewise.
47357
8682f8b0
UD
473582011-09-12 Ulrich Drepper <drepper@gmail.com>
47359
47360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47361
de82006d
AS
473622011-09-12 Andreas Schwab <schwab@redhat.com>
47363
a7c8e6a1
AS
47364 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47365 `struct cmsghdr *' instead of `void *'.
47366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47367 Likewise.
47368
0f31fe77
AS
473692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47370
47371 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47372 if non-absolute.
47373 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47374 ldd_rewrite_script.
0f31fe77 47375
32b4c839
UD
473762011-09-11 Ulrich Drepper <drepper@gmail.com>
47377
83cd1420
UD
47378 * configure.in: Remove --with-tls option.
47379 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47380 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47381 out in case it is missing.
47382 * sysdeps/ia64/elf/configure.in: Likewise.
47383 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47384 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47385 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47386 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47387 * sysdeps/sh/elf/configure.in: Likewise.
47388 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47389 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47390 * sysdeps/x86_64/elf/configure.in: Likewise.
47391 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47392 * sysdeps/mach/hurd/tls.h: Likewise.
47393
633f745d
UD
47394 [BZ #13067]
47395 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47396
f318beb8
UD
47397 [BZ #13090]
47398 * configure.in: Fix use of AC_INIT.
47399
32b4c839
UD
47400 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47401
3ce1f295
UD
474022011-09-10 Ulrich Drepper <drepper@gmail.com>
47403
bb016596
UD
47404 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47405 __set_errno.
8e58439c
UD
47406 * malloc/hooks.c: Likewise.
47407
aebae053 47408 [BZ #11929]
02d46fc4
UD
47409 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47410 variables statically.
47411 (narenas): Initialize.
47412 (list_lock): Initialize.
bb016596
UD
47413 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47414 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47415 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47416 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47417 Add initializers to main_arena and mp_.
47418 (malloc_state): Remove pagesize member. Change all users to use
47419 GLRO(dl_pagesize).
47420
47421 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47422 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47423 is always initialized.
47424
22a89187
UD
47425 * malloc/malloc.c: Removed unused configurations and dead code.
47426 * malloc/arena.c: Likewise.
47427 * malloc/hooks.c: Likewise.
02d46fc4 47428 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47429
d063d164
UD
47430 * include/tls.h: Removed. USE___THREAD must always be defined.
47431 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47432 * elf/dl-libc.c: Likewise.
47433 * elf/dl-tsd.c: Likewise.
47434 * include/errno.h: Likewise.
47435 * include/netdb.h: Likewise.
47436 * include/resolv.h: Likewise.
47437 * inet/herrno-loc.c: Likewise.
47438 * inet/herrno.c: Likewise.
47439 * malloc/arena.c: Likewise.
47440 * malloc/hooks.c: Likewise.
47441 * malloc/malloc.c: Likewise.
47442 * resolv/res-state.c: Likewise.
47443 * resolv/res_libc.c: Likewise.
47444 * sysdeps/i386/dl-machine.h: Likewise.
47445 * sysdeps/ia64/dl-machine.h: Likewise.
47446 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47447 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47448 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47449 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47450 * sysdeps/sh/dl-machine.h: Likewise.
47451 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47452 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47453 * sysdeps/unix/i386/sysdep.S: Likewise.
47454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47455 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47460 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47464 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47465 * sysdeps/x86_64/dl-machine.h: Likewise.
47466 * tls.make.c: Likewise.
47467
3ce1f295
UD
47468 * configure.in: Remove --with-__thread option. Make tests for
47469 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47470 tls_model attribute fail if no support is available. Remove
47471 USE_IN_LIBIO.
47472 * Makeconfig: Adjust for dropped configure option. All features are
47473 now mandatory.
47474 * Makerules: Likewise.
47475 * Versions.def: Likewise.
47476 * argp/argp-fmtstream.c: Likewise.
47477 * argp/argp-fmtstream.h: Likewise.
47478 * argp/argp-help.c: Likewise.
47479 * assert/assert.c: Likewise.
47480 * config.h.in: Likewise.
47481 * config.make.in: Likewise.
47482 * configure: Likewise.
47483 * configure.in: Likewise.
47484 * csu/Versions: Likewise.
47485 * csu/init.c: Likewise.
47486 * elf/tst-audit2.c: Likewise.
47487 * elf/tst-tls10.c: Likewise.
47488 * elf/tst-tls10.h: Likewise.
47489 * elf/tst-tls11.c: Likewise.
47490 * elf/tst-tls12.c: Likewise.
47491 * elf/tst-tls14.c: Likewise.
47492 * elf/tst-tlsmod11.c: Likewise.
47493 * elf/tst-tlsmod12.c: Likewise.
47494 * elf/tst-tlsmod13.c: Likewise.
47495 * elf/tst-tlsmod13a.c: Likewise.
47496 * elf/tst-tlsmod14a.c: Likewise.
47497 * elf/tst-tlsmod15b.c: Likewise.
47498 * elf/tst-tlsmod16a.c: Likewise.
47499 * elf/tst-tlsmod16b.c: Likewise.
47500 * elf/tst-tlsmod7.c: Likewise.
47501 * elf/tst-tlsmod8.c: Likewise.
47502 * elf/tst-tlsmod9.c: Likewise.
47503 * gmon/gmon.c: Likewise.
47504 * grp/fgetgrent_r.c: Likewise.
47505 * grp/putgrent.c: Likewise.
47506 * hurd/fopenport.c: Likewise.
47507 * include/libc-symbols.h: Likewise.
47508 * include/tls.h: Likewise.
47509 * intl/gettextP.h: Likewise.
47510 * intl/loadinfo.h: Likewise.
47511 * locale/global-locale.c: Likewise.
47512 * locale/localeinfo.h: Likewise.
47513 * mach/devstream.c: Likewise.
47514 * malloc/arena.c: Likewise.
47515 * malloc/set-freeres.c: Likewise.
47516 * misc/err.c: Likewise.
47517 * misc/getttyent.c: Likewise.
47518 * misc/mntent_r.c: Likewise.
47519 * posix/getopt.c: Likewise.
47520 * posix/wordexp.c: Likewise.
47521 * pwd/fgetpwent_r.c: Likewise.
47522 * resolv/Versions: Likewise.
47523 * resolv/res_hconf.c: Likewise.
47524 * shadow/fgetspent_r.c: Likewise.
47525 * shadow/putspent.c: Likewise.
47526 * stdio-common/printf_fphex.c: Likewise.
47527 * stdio-common/tmpfile.c: Likewise.
47528 * stdlib/abort.c: Likewise.
47529 * stdlib/fmtmsg.c: Likewise.
47530 * sunrpc/auth_unix.c: Likewise.
47531 * sunrpc/clnt_perr.c: Likewise.
47532 * sunrpc/clnt_tcp.c: Likewise.
47533 * sunrpc/clnt_udp.c: Likewise.
47534 * sunrpc/clnt_unix.c: Likewise.
47535 * sunrpc/openchild.c: Likewise.
47536 * sunrpc/svc_simple.c: Likewise.
47537 * sunrpc/svc_tcp.c: Likewise.
47538 * sunrpc/svc_udp.c: Likewise.
47539 * sunrpc/svc_unix.c: Likewise.
47540 * sunrpc/xdr.c: Likewise.
47541 * sunrpc/xdr_array.c: Likewise.
47542 * sunrpc/xdr_rec.c: Likewise.
47543 * sunrpc/xdr_ref.c: Likewise.
47544 * sunrpc/xdr_stdio.c: Likewise.
47545
1248c1c4
PB
475462011-09-09 Ulrich Drepper <drepper@gmail.com>
47547
47548 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47549
475502011-07-03 Andreas Jaeger <aj@suse.de>
47551
47552 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47553 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47554 regenerate with gen-libm-tests.pl.
47555
475562010-05-12 Petr Baudis <pasky@suse.cz>
47557
47558 [BZ #11589]
47559 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47560 around j0() zero points by switching to j1().
47561 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47562 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47564 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47565
f22e1074
UD
475662011-09-09 Ulrich Drepper <drepper@gmail.com>
47567
f19009c1
UD
47568 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47569 instead of 0.
47570 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47571 instead of 0.
f19009c1
UD
47572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47573 Patch in part by Pavel Roskin <proski@gnu.org>.
47574
3f8cc204
UD
47575 [BZ #13138]
47576 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47577 realloc.
47578 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47579 Free memory block if necessary.
47580
f22e1074
UD
47581 [BZ #12847]
47582 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47583 be NULL. Don't lock in this case.
47584
0a2349f9
RM
475852011-09-09 Roland McGrath <roland@hack.frob.com>
47586
47587 * elf/elf.h (ELFOSABI_GNU): New macro.
47588 (ELFOSABI_LINUX): Define to that.
47589
f3cdd467
DZ
475902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47591
47592 * string/strncat.c (strncat): Undef the symbol in case it has been
47593 defined in bits/string.h.
47594
74718d13
UD
475952011-09-09 Ulrich Drepper <drepper@gmail.com>
47596
633e9e0f
UD
47597 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47598
0a2349f9 47599 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47600 link map.
47601
f9924780
AJ
476022011-08-17 Andreas Jaeger <aj@suse.de>
47603
47604 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47605
7f5517aa
PP
476062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47607 Ian Lance Taylor <iant@google.com>
47608
47609 * math/libm-test.inc (lround_test): New testcase.
47610 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47611
762011fe
UD
476122011-09-08 Ulrich Drepper <drepper@gmail.com>
47613
92963737
UD
47614 * Makefile: Remove support for automatic cvs check-ins.
47615 * Makerules: Likewise.
47616 * config.make.in: Likewise.
47617 * configure.in: Likewise.
47618 * intl/Makefile: Likewise.
47619 * locale/Makefile: Likewise.
47620 * po/Makefile: Likewise.
47621 * posix/Makefile: Likewise.
47622 * sysdeps/gnu/Makefile: Likewise.
47623 * sysdeps/mach/hurd/Makefile: Likewise.
47624 * sysdeps/sparc/sparc32/Makefile: Likewise.
47625
b0727fd8
JS
47626 [BZ #13118]
47627 * posix/Makefile (bug-regex32-ENV): Define.
47628 Patch by John Stanley <jpsinthemix@verizon.net>.
47629
a0f33f99
UD
47630 * misc/Makefile (headers): Add bits/select2.h.
47631 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47632 * misc/bits/select2.h: New file.
47633 * include/bits/select2.h: New file.
47634 * debug/Makefile (routines): Add fdelt_chk.
47635 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47636 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47637 FD_ISSET.
47638 * debug/fdelt_chk.c: New file.
47639
762011fe
UD
47640 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47641 * wcsmbs/test-wmemcmp.c: Likewise.
47642 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47643 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47644
476452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47646
47647 * string/Makefile (strop-tests): Add memcmp.
47648 * string/test-wmemcmp.c: New file.
47649 * string/test-memcmp.c: Add wmemcmp support.
47650
7f513ec8
RM
476512011-09-08 Roland McGrath <roland@hack.frob.com>
47652
0442afb4
RM
47653 [BZ #13153]
47654 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47655 2011-07-19 change.
47656
7f513ec8
RM
47657 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47658 garbage value in a __mach_port_mod_refs call in the cases of the
47659 task-self and thread-self ports.
47660
a12b2239
ST
476612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47662
47663 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47664
610f9ab4
AS
476652011-09-08 Andreas Schwab <schwab@redhat.com>
47666
7f513ec8 47667 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47668
48882a1a
LD
476692011-09-07 Ulrich Drepper <drepper@gmail.com>
47670
b49865be
UD
47671 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47672
fdc86bc9
UD
47673 * elf/dl-libc.c (dlerror_run): Pass back error code from
47674 dl_catch_error.
47675
c966526a
UD
47676 [BZ #13123]
47677 * elf/dl-load.c (lose): Free l_origin if it is valid.
47678
48882a1a
LD
47679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47680 names.
47681 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47682 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47683 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47684 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47685 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47686 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47687
77a2a8b4
AZ
476882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47689
47690 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47691 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47692 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47693 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47694 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47695 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47696 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47697 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47698 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47699 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47700
24f579d8
AM
477012011-08-15 Alan Modra <amodra@gmail.com>
47702
47703 [BZ #13092]
47704 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47705 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47706 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47707 ppc_mcount to static-only-routines.
47708 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47709 __mcount_internal.
47710 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47711 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47712
3d4837df
UD
477132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47714
47715 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47716 for finite and infinity parameters.
47717
22700377
WS
477182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47719
47720 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47721 and add nop instructions for throughput optimization.
47722 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47723
5025581e
WS
477242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47725
47726 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47727 aligned copy for power7 with vector-scalar instructions.
47728 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47729
08a300c9
L
477302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47731
47732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47733 AVX check.
47734
59178ef9
AS
477352011-09-07 Andreas Schwab <schwab@redhat.com>
47736
47737 [BZ #13144]
47738 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47739 last change.
47740
e38ba7ab
UD
477412011-09-07 Ulrich Drepper <drepper@gmail.com>
47742
47743 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47744 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47745 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47746 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47747 clock_gettime.
47748
d53a73ac
UD
477492011-09-06 Ulrich Drepper <drepper@gmail.com>
47750
fc8bffcc
UD
47751 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47752 Forgot to demangle the pointer.
47753
ceaa0c5d
UD
47754 * sysdeps/i386/sysdep.h: Define atom_text_section.
47755 * sysdeps/x86_64/sysdep.h: Likewise.
47756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47757 section with atom_text_section.
47758 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47759 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47760 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47762 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47763
a77d3c17
UD
47764 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47765 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47766 already be defined. Change to take two parameters and don't assign
47767 result to variable. Adjust all users.
47768 Define INTERNAL_GETTIME if not already defined.
47769 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47770 call.
47771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47772 HAVE_CLOCK_GETTIME_VSYSCALL.
47773 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47774
d53a73ac
UD
47775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47776 gettimeofday vsyscall, just use time.
47777
a8f84144
AS
477782011-09-06 Andreas Schwab <schwab@redhat.com>
47779
47780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47781 <errno.h>.
47782
ef606249
UD
477832011-09-06 Ulrich Drepper <drepper@gmail.com>
47784
47785 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47786 syscall on x86-64.
47787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47788 syscall.
47789 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47790 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47791 syscall if possible.
47792
6585cb60
UD
477932011-09-05 Ulrich Drepper <drepper@gmail.com>
47794
47795 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47796 e_ident. Don't pass to find_mapsXX.
47797 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47798
a5f524e4
LD
477992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47800
47801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47802 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47803 * sysdeps/x86_64/multiarch/strchr.S: Update.
47804 Check bit_slow_BSF bit.
47805 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47806 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47807 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47808
554881ef
UD
478092011-09-05 Ulrich Drepper <drepper@gmail.com>
47810
d96de963
UD
47811 [BZ #13134]
47812 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47813 before glibc 2.15.
47814 (tryshell): Define.
47815 (__spawni): Change last parameter to be flag. Test
47816 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47817 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47818 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47819 * posix/spawni.c: Likewise.
47820 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47821 * posix/spawnp.c: Likewise. Change normal version to use
47822 SPAWN_XFLAGS_USE_PATH.
47823 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47824 SPAWN_XFLAGS_TRY_SHELL.
47825
d48e5868
UD
47826 [BZ #13150]
47827 * posix/glob.h: Remove gcc 1.x support.
47828
554881ef
UD
47829 [BZ #13068]
47830 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47831
693fb948
LD
478322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47833
47834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47835 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47836 strrchr-sse2-bsf
47837 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47838 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47839 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47840 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47842 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47843
1b48c537
UD
478442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47845
49d42c37
UD
47846 * sysdeps/x86_64/wcscmp.S: New file.
47847
1b48c537
UD
47848 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47849 wcscmp-c wcscmp-sse2
47850 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47851 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47852 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47853 * wcsmbs/wcscmp.c: Allow renaming.
47854
15c95c5d
DM
478552011-09-05 David S. Miller <davem@davemloft.net>
47856
47857 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47858 stack slot, rather than the struct return pointer slot.
47859 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47860 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47862 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47863
2f0ad8f3
UD
478642011-09-05 Ulrich Drepper <drepper@gmail.com>
47865
d88ae418
UD
47866 * po/ja.po: Update from translation team.
47867
2f0ad8f3
UD
47868 [BZ #13144]
47869 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47870 kernel in 64-bit binaries.
47871
5f4318d1
DM
478722011-09-01 David S. Miller <davem@davemloft.net>
47873
47874 * elf/elf.h (HWCAP_SPARC_*): Move to..
47875 * sysdeps/sparc/sysdep.h: this new file and add new values.
47876 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47877 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47878 _DL_HWCAP_COUNT to 24.
47879 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47880 entries.
47881 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47882 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47883 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47885 instead of magic constants.
47886 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47887
3ba57516
DM
478882011-08-31 David S. Miller <davem@davemloft.net>
47889
47890 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47892 Reimplement to do errno handling inline.
47893 (SYSCALL_ERROR_HANDLER): New macro.
47894 (__SYSCALL_STRING): Do not do errno handling in asm.
47895 (__CLONE_SYSCALL_STRING): Delete.
47896 (__INTERNAL_SYSCALL_STRING): Delete.
47897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47898 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47899 (PSEUDO): Reimplement to do errno handling inline.
47900 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47901 (SYSCALL_ERROR_HANDLER): New macro.
47902 (__SYSCALL_STRING): Do not do errno handling in asm.
47903 (__CLONE_SYSCALL_STRING): Delete.
47904 (__INTERNAL_SYSCALL_STRING): Delete.
47905 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47906 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47907 i386.
47908 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47909 (inline_syscall*): Add 'err' argument.
47910 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47911 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47912 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47913 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47914
47915 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47916 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47917
2bc17433
AS
479182011-08-30 Andreas Schwab <schwab@redhat.com>
47919
47920 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47921
fbeb5f4d
JO
479222011-08-29 Jiri Olsa <jolsa@redhat.com>
47923
47924 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47925 directive.
47926
ad69cc26
DM
479272011-08-24 David S. Miller <davem@davemloft.net>
47928
47929 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47930
39dd69df
AS
479312011-08-24 Andreas Schwab <schwab@redhat.com>
47932
47933 * elf/Makefile: Add rules to build and run unload8 test.
47934 * elf/unload8.c: New file.
47935 * elf/unload8mod1.c: New file.
47936 * elf/unload8mod1x.c: New file.
47937 * elf/unload8mod2.c: New file.
47938 * elf/unload8mod3.c: New file.
47939
47940 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47941 it wasn't used.
47942
2c0b250a
DM
479432011-08-23 David S. Miller <davem@davemloft.net>
47944
47945 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47946 subtract stack bias.
47947 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47948 %sp not %fp in calculations.
47949 (_JMPBUF_UNWINDS_ADJ): Likewise.
47950
22044b48
DM
47951 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47952 (aio_suspend): Call it to force an exception region around the
47953 AIO_MISC_WAIT() invocation.
47954
2cae4995
AS
479552011-08-23 Andreas Schwab <schwab@redhat.com>
47956
47957 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47958 backslash.
47959
873a772e
AJ
479602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47961
47962 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47963 protection macro.
47964 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47965 and <dl-machine.h>.
47966 (Elf64_FuncDesc): Remove.
47967
25ad0df1
DM
479682011-08-22 David S. Miller <davem@davemloft.net>
47969
47970 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47971 sigaltstack check, add missing cfi directives.
47972 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47973 missing cfi directives, and sigaltstack handling.
47974
e888bcbe
AS
479752011-08-16 Andreas Schwab <schwab@redhat.com>
47976
47977 [BZ #11724]
47978 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47979 object is seen twice.
47980 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47981
47982 * elf/Makefile (distribute): Add tst-initorder2.c.
47983 (tests): Add tst-initorder2.
47984 (modules-names): Add tst-initorder2a tst-initorder2b
47985 tst-initorder2c tst-initorder2d. Add rules to build them.
47986 ($(objpfx)tst-initorder2.out): New rule.
47987 * elf/tst-initorder2.c: New file.
47988 * elf/tst-initorder2.exp: New file.
47989
87162f46
AS
479902011-08-22 Andreas Schwab <schwab@redhat.com>
47991
70538b7f
AS
47992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47993
f55ffe58
AS
47994 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47995 dependencies back to end of function.
47996
87162f46
AS
47997 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47998 $(elfobjdir)/ld.so.
47999
91b392a4
UD
480002011-08-21 Ulrich Drepper <drepper@gmail.com>
48001
48002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48003 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48005 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48006 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48007 of __vdso_gettimeofday.
48008 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48009 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48010 attribute_hidden.
48011 (_libc_vdso_platform_setup): Remove initialization of
48012 __vdso_gettimeofday and __vdso_time.
48013
5c43483f
UD
480142011-08-20 Ulrich Drepper <drepper@gmail.com>
48015
775a77e7
UD
48016 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48017 and fgetc_unlocked.
48018 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48019 getc_unlocked.
89f447ed 48020
49c74ba9
UD
48021 * elf/dl-open.c (add_to_global): Report additions to the global scope
48022 for LD_DEBUG=scopes.
48023 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48024 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48025
5c43483f
UD
48026 [BZ #13114]
48027 * stdio-common/Makefile (tests): Add bug24.
48028 * stdio-common/bug24.c: New file.
48029
a101b025
AJ
480302011-08-19 Andreas Jaeger <aj@suse.de>
48031
48032 [BZ #13114]
48033 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48034 non-existant file when using close-on-exec mode.
48035
c88f1766
UD
480362011-08-20 Ulrich Drepper <drepper@gmail.com>
48037
0276a718
UD
48038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48039 the very first instruction.
48040
c88f1766
UD
48041 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48042 the CFI state in the end.
48043 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48044 inclusion of dl-trampoline.h.
48045 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48046
51ccffa0
AS
480472011-08-19 Andreas Schwab <schwab@redhat.com>
48048
94d7165f
AS
48049 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48050 expectations for long double.
48051
51ccffa0
AS
48052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48053 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48054
fd708658 480552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48056
48057 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48058 artificual limit depends upon the system page size.
48059
44f0a71e
UD
480602011-08-17 Ulrich Drepper <drepper@gmail.com>
48061
48062 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48063 * resolv/Makefile: Define CFLAGS-libresolv.
48064
8de79a24
AS
480652011-08-17 Andreas Schwab <schwab@redhat.com>
48066
48067 * nss/makedb.c (compute_tables): Make variables used in nested
48068 function static.
48069
27724598
UD
480702011-08-17 Ulrich Drepper <drepper@gmail.com>
48071
c5305d88
UD
48072 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48073 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48074 if buffer was too small.
48075
27724598
UD
48076 * elf/pldd.c (main): Attach to all threads in the process.
48077 Rewrite /proc handling to use *at functions.
48078
076fe015
UD
480792011-08-16 Ulrich Drepper <drepper@gmail.com>
48080
174baab3
UD
48081 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48082 specifies first scope to show.
48083 (dl_open_worker): Update callers. Move printing scope of new
48084 object to before the relocation.
44f0a71e 48085 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48086 * sysdeps/generic/ldsodefs.h: Update declaration.
48087
076fe015
UD
48088 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48089 string for the scope number.
48090
a60df2c3
UD
480912011-08-14 Ulrich Drepper <drepper@gmail.com>
48092
48093 * nscd/servicescache.c (cache_addserv): Make sure written is always
48094 initialized.
48095
5e4287d1
RM
480962011-08-14 Roland McGrath <roland@hack.frob.com>
48097
85ae0589
RM
48098 * sysdeps/i386/i486/bits/atomic.h
48099 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48100 statement expression, so as to suppress "set but not used" warning.
48101 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48102
69f63097
RM
48103 * string/strncat.c (STRNCAT): Use prototype definition.
48104
675456ef
RM
48105 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48106 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48107 -Iprograms here.
48108 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48109 (localedef-modules): Add localedef.
48110 (locale-modules): Add locale.
48111
5e4287d1
RM
48112 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48113 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48114 to avoid a warning.
48115
9c96ff23
DM
481162011-08-14 David S. Miller <davem@davemloft.net>
48117
48118 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48119 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48120
f9ddf089
UD
481212011-08-13 Ulrich Drepper <drepper@gmail.com>
48122
44f0a71e 48123 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48124 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48125 * elf/rtld.c (dl_main): Set l_name of vDSO.
48126 Call _dl_show_scope when DL_DEBUG_SCOPES.
48127 (process_dl_debug): Recognize scopes flag and also set it for all.
48128 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48129 Declare _dl_show_scope.
48130
1dc27704
UD
48131 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48132 (do_dlopen): Pass caller_dlopen to dl_open.
48133 (__libc_dlopen_mode): Initialize caller_dlopen.
48134
f9ddf089
UD
48135 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48136 of libc. Make tolower call locale-independent. Optimize a bit by
48137 using isdigit instead of isalnum.
48138 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48139
9ac533d3
UD
481402011-08-12 Ulrich Drepper <drepper@gmail.com>
48141
48142 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48143 was a dependency or dynamically loaded.
48144
89edf2e9
UD
481452011-08-11 Ulrich Drepper <drepper@gmail.com>
48146
8e999d29
UD
48147 * intl/l10nflist.c: Allow architecture-specific pop function.
48148 * sysdeps/x86_64/l10nflist.c: New file.
48149
89edf2e9
UD
48150 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48151 classification.
48152
14d96785
AS
481532011-08-10 Andreas Schwab <schwab@redhat.com>
48154
48155 * include/dirent.h: Add libc_hidden_proto for scandirat and
48156 scandirat64. Don't declare __scandirat64.
48157 * dirent/scandirat.c: Add libc_hidden_def.
48158 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48159 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48160
6761ac04
DM
481612011-08-10 David S. Miller <davem@davemloft.net>
48162
48163 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48164 enum.
48165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48168
c55fbd1e
UD
481692011-08-09 Ulrich Drepper <drepper@gmail.com>
48170
48171 * Versions.def [libc]: Add GLIBC_2.15.
48172 * dirent/Makefile (routines): Add scandirat and scandirat64.
48173 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48174 GLIBC_2.15.
48175 * dirent/dirent.h: Declare scandirat and scandirat64.
48176 * dirent/scandirat.c: New file.
48177 * dirent/scandirat64.c: New file.
48178 * sysdeps/wordsize-64/scandirat.c: New file.
48179 * sysdeps/wordsize-64/scandirat64.c: New file.
48180 * dirent/opendir.c: Define opendirat.
48181 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48182 using scandirat.
48183 * dirent/scandir64.c: Adjust for scandir.c change.
48184 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48185 __scandirat64, and __scandir_cancel_handler.
48186 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48187 additional parameter and use openat instead of open (outside of ld.so).
48188 Add new __opendir as wrapper around __opendirat.
48189 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48190 here without requiring old scandirat implementation.
48191
879165f2
UD
481922011-08-08 Ulrich Drepper <drepper@gmail.com>
48193
48194 * dirent/scandir.c (cancel_handler): Renamed to
48195 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48196 defined. Adjust users.
48197 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48198 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48199
cb7e923b
UD
482002011-08-04 Ulrich Drepper <drepper@gmail.com>
48201
16292edd
UD
48202 * string/test-string.h (IMPL): Use __STRING to expand name and then
48203 stringify it.
48204
cb7e923b
UD
48205 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48206 of cleanups.
48207
cff82933
LD
482082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48209
48210 * string/Makefile: Update.
48211 (strop-tests): Append strncat.
48212 * string/test-wcscmp.c: New file.
48213 New comprehensive test for wcscmp.
48214 * string/test-strcmp.c: Update.
48215 (WIDE): New define.
48216
9be9bfcc
AS
482172011-07-22 Andreas Schwab <schwab@redhat.com>
48218
48219 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48220 line.
48221
2e96f1c7
AS
482222011-07-26 Andreas Schwab <schwab@redhat.com>
48223
48224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48225 encoding to ACE if AI_IDN.
48226
85188888
JJ
482272011-08-01 Jakub Jelinek <jakub@redhat.com>
48228
48229 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48230 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48231
5fa16e9b
LD
482322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48233
48234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48235 Fix overflow bug in strncat.
48236 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48237
48238 * string/test-strncat.c: Update.
48239 Add new tests for checking overflow bugs.
48240
482412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48242
48243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48244 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48245 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48246 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48247 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48248 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48249 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48250 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48251 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48252
48253 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48254 (USE_AS_STRCAT): Define.
48255 Add strcat and strncat support.
48256 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48257
8c1a459f
AS
482582011-07-25 Andreas Schwab <schwab@redhat.com>
48259
48260 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48261 __n bigger than INT_MAX+1.
48262 (__strncmp_g): Likewise.
48263
bba33c28
UD
482642011-07-23 Ulrich Drepper <drepper@gmail.com>
48265
798be72d
UD
48266 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48267 * libio/stido.h: Likewise.
48268
8accd4dc
UD
48269 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48270 (AF_NFC): Define.
48271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48272 (AF_NFC): Define.
48273
cbff0d96
UD
48274 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48275 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48277 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48279
9191c04a
UD
48280 [BZ #13021]
48281 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48282 installed.
48283
bba33c28
UD
48284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48285 typo.
48286 (_dl_x86_64_save_sse): Likewise.
48287
90f139dd
UD
482882011-07-22 Ulrich Drepper <drepper@gmail.com>
48289
1aae088a
UD
48290 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48291 OSXSAVE.
48292 (_dl_x86_64_save_sse): Likewise.
48293
8e2045f5
UD
48294 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48295
90f139dd
UD
48296 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48297
1d002f25
AS
482982011-07-21 Andreas Schwab <schwab@redhat.com>
48299
48300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48301 change.
48302 (_dl_x86_64_save_sse): Use correct AVX check.
48303
21137f89
UD
483042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48305
48306 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48307 bug in strncpy/strncat.
48308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48309
a65c0b7a
UD
483102011-07-21 Ulrich Drepper <drepper@gmail.com>
48311
48312 * string/tester.c (test_strcat): Add tests for different alignments
48313 of source and destination.
48314 (test_strncat): Likewise.
48315
6986b98a
UD
483162011-07-20 Ulrich Drepper <drepper@gmail.com>
48317
90bb2039
UD
48318 [BZ #12852]
48319 * posix/glob.c (glob): Check passed in values before using them in
48320 expressions to avoid some overflows.
48321 (glob_in_dir): Likewise.
48322
5644ef54
UD
48323 [BZ #13007]
48324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48325 check for AVX enablement so that we don't crash with old kernels and
48326 new hardware.
48327 * elf/tst-audit4.c: Add same checks here.
48328 * elf/tst-audit6.c: Likewise.
48329
48330 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48331
bfc9dc9b
AS
483322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48333
48334 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48335
702e64bb
UD
483362011-07-20 Ulrich Drepper <drepper@gmail.com>
48337
48338 * po/cs.po: Update from translation team.
48339 * po/bg.po: Likewise.
48340
295e904f
MP
483412011-07-12 Marek Polacek <mpolacek@redhat.com>
48342
48343 * misc/sys/cdefs.h: Add support for const attribute.
48344 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48345 to gnu_dev_{major,minor,makedev} functions.
48346
3ff94596
MP
483472011-07-20 Marek Polacek <mpolacek@redhat.com>
48348
48349 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48350
28b59fca
AS
483512011-07-20 Andreas Schwab <schwab@redhat.com>
48352
48353 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48354 strlen results.
48355
19df733e
AK
483562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48357
48358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48359 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48360 register in order to avoid conflicts with the soft frame pointer
48361 being held in r11 when necessary.
48362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48363 (INTERNAL_VSYSCALL_NCS): Likewise.
48364
c8835729
MP
483652011-07-14 Marek Polacek <mpolacek@redhat.com>
48366
48367 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48368 * elf/dl-fini.c (_dl_fini): Adjust caller.
48369 * elf/dl-close.c (_dl_close_worker): Likewise.
48370 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48371
b902330c
MP
483722011-07-15 Marek Polacek <mpolacek@redhat.com>
48373
8991e135
MP
48374 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48375 "aux_cache->nlibs < 0".
48376
b902330c
MP
48377 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48378 in the reload-count case.
48379
99710781
LD
483802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48381
48382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48383 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48384 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48385 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48386 * sysdeps/x86_64/multiarch/strcat.S: New file.
48387 * sysdeps/x86_64/multiarch/strncat.S: New file.
48388 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48390 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48391 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48392 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48393 (USE_AS_STRCAT): Define.
48394 Add strcat and strncat support.
48395 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48397 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48398 * string/strncat.c: Update.
48399 (USE_AS_STRNCAT): Define.
48400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48401 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48402 and i7.
48403 * sysdeps/x86_64/multiarch/init-arch.h
48404 (bit_Prefer_PMINUB_for_stringop): New.
48405 (index_Prefer_PMINUB_for_stringop): Likewise.
48406 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48407 bit_Prefer_PMINUB_for_stringop.
48408
7dc6bd90
UD
484092011-07-19 Ulrich Drepper <drepper@gmail.com>
48410
48411 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48412 buffer64.
48413 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48414 of casting of buffer.
48415 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48416 buffer32 and buffer64.
48417 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48418 writes instead of casting of buffer.
48419 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48420 buffer32.
48421 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48422 casting of buffer.
48423
e0e72284
AS
484242011-07-19 Andreas Schwab <schwab@redhat.com>
48425
48426 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48427
feb1eb0b
UD
484282011-07-19 Ulrich Drepper <drepper@gmail.com>
48429
48430 * nscd/nscd.c (termination_handler): Don't do anything for a database
48431 if it has not yet been initialized.
48432
298711ff
UD
484332011-07-18 Ulrich Drepper <drepper@gmail.com>
48434
48435 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48436
484372011-07-15 Marek Polacek <mpolacek@redhat.com>
48438
48439 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48440
f9d68389
UD
484412011-07-18 Ulrich Drepper <drepper@gmail.com>
48442
48443 * po/nl.po: Update from translation team.
48444 * po/sv.po: Likewise.
48445
db290cf5
RM
484462011-07-16 Roland McGrath <roland@hack.frob.com>
48447
48448 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48449 now disallowed by GCC.
5c550700 48450
fd5e21c7
RM
48451 * configure.in (use-default-link): Default to yes if a test -shared
48452 link meets our qualifications.
48453 * configure: Regenerated.
48454
5c550700
RM
48455 * config.make.in (output-format): New variable.
48456 * configure.in: Check for ld --print-output-format support.
48457 * configure: Regenerated.
48458 * Makerules ($(common-objpfx)format.lds)
48459 [$(output-format) != unknown]: Just use $(output-format),
48460 instead of the linker-script munging.
48461
9fa2c032
RM
484622011-07-14 Roland McGrath <roland@hack.frob.com>
48463
a6928d51
RM
48464 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48465 of $(common-objpfx)shlib.lds.
48466 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48467
661607b3
RM
48468 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48469 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48470
9fa2c032
RM
48471 * configure.in (-z relro check): Adjust test code to add a large
48472 writable data section after it.
48473 * configure: Regenerated.
48474
defe9061
RM
484752011-07-11 Roland McGrath <roland@hack.frob.com>
48476
48477 * configure.in (-z relro check): Fix test code to make the variable
48478 truly const.
48479 * configure: Regenerated.
48480
319b9ad4
UD
484812011-07-11 Ulrich Drepper <drepper@gmail.com>
48482
48483 * nscd/nscd.h (struct traced_file): Define.
48484 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48485 elements. Add traced_files.
48486 (inotify_fd): Declare.
48487 (register_traced_file): Declare.
48488 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48489 (inotify_fd): Export.
48490 (resolv_conf_descr): Remove.
48491 (nscd_init): Move inotify descriptor creation to main.
48492 Don't register files for notification here.
48493 (register_traced_file): New function.
48494 (invalidate_cache): Don't use reset_res to determine whether to call
48495 res_init, go through the list of registered files.
48496 (main_loop_poll): The inotify descriptors are now stored in the
48497 structures for the traced files.
48498 (main_loop_epoll): Likewise
48499 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48500 to __nss_disable_nscd.
48501 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48502 for a database anymore. Check the records for all the registered
48503 files instead.
48504 * nss/Makefile (libnss_files-routines): Add files-init.
48505 (libnss_db-routines): Add db-init.
48506 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48507 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48508 * nss/nss_db/db-init.c: New file.
48509 * nss/nss_files/files-init.c: New file.
48510 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48511 __nss_lookup_function.
48512 (__nss_lookup_function): Call nss_load_library.
48513 (nss_load_all_libraries): New function.
48514 (__nss_disable_nscd): Take parameter with callback function for files
48515 to register. Set is_nscd. Load all the DSOs for the NSS modules
48516 used for the cached services.
48517 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48518 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48519 options for features to all the files in nscd.
48520
48521 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48522
23bee3e8
RM
485232011-07-10 Roland McGrath <roland@hack.frob.com>
48524
48525 * csu/elf-init.c (__libc_csu_init): Comment typo.
48526
46a5b7f0
UD
485272011-07-09 Ulrich Drepper <drepper@gmail.com>
48528
48529 * po/pl.po: Update from translation team.
48530 * po/ja.po: Likewise.
48531 * po/ru.po: Likewise.
48532 * po/ko.po: Likewise.
48533 * po/fr.po: Likewise.
48534
d30cf5bb
RM
485352011-07-09 Roland McGrath <roland@hack.frob.com>
48536
113ddea4
RM
48537 * configure.in (.ctors/.dtors header and trailer check):
48538 Use an empirical test on a built program.
48539 * configure: Regenerated.
48540
574920b4
RM
48541 * configure.in (-z relro check): Use an empirical test on a built DSO.
48542 Detect, but do not require, on ia64.
48543 * configure: Regenerated.
48544
d30cf5bb
RM
48545 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48546 Update tests that use readelf to use $READELF instead.
48547 * configure: Regenerated.
48548
8538fdb3
UD
485492011-07-08 Ulrich Drepper <drepper@gmail.com>
48550
48551 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48552 if the result is not used.
48553
04d08991
AJ
485542011-07-05 Andreas Jaeger <aj@suse.de>
48555
48556 [BZ#9696]
48557 * stdlib/tst-strtod.c: Add testcase.
48558
de283087
AD
485592011-07-07 Ulrich Drepper <drepper@gmail.com>
48560
4e5f31c8 48561 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48562 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48563 The latter has a higher limit. Take additional parameter to pass to
48564 the new function.
48565 (__pathconf): Pass file to __statfs_link_max.
48566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48567 __statfs_link_max.
48568 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48569 __statfs_link_max.
48570
de283087
AD
48571 [BZ #12868]
48572 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48574 Handle Lustre.
48575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48576 (__statfs_filesize_max): Likewise.
48577 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48578
c75fa153
AJ
485792011-07-05 Andreas Jaeger <aj@suse.de>
48580
48581 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48582
1a544854
UD
485832011-07-06 Marek Polacek <mpolacek@redhat.com>
48584
48585 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48586 `status' variable.
48587 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48588 Likewise.
48589
6f0eec67
UD
485902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48591
48592 * Makefile (strop-tests): Add strncat.
48593 * string/test-strncat.c: New file.
48594
aae30307
UD
485952011-06-30 Marek Polacek <mpolacek@redhat.com>
48596
48597 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48598
c0cfb5eb
UD
485992011-06-21 Andreas Jaeger <aj@suse.de>
48600
48601 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48602 Copy rule from iconvdata/Makefile.
48603
01636b21
UD
486042011-07-06 Ulrich Drepper <drepper@gmail.com>
48605
48606 [BZ #12922]
48607 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48608 but no long options are defined, just return 'W'.
48609
9895c8bc
UD
486102011-06-22 Marek Polacek <mpolacek@redhat.com>
48611
48612 [BZ #9696]
48613 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48614
5d4cf042
UD
486152011-07-06 Ulrich Drepper <drepper@gmail.com>
48616
48617 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48618 netgroups to read.
960e5535 48619 (innetgr): Likewise.
5d4cf042 48620
751eb97e
RM
486212011-07-05 Roland McGrath <roland@hack.frob.com>
48622
48623 * config.make.in (install_root): Default to $(DESTDIR).
48624
f15f1e45
UD
486252011-07-05 Ulrich Drepper <drepper@gmail.com>
48626
48627 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48628
4e34ac6a
RM
486292011-07-02 Roland McGrath <roland@hack.frob.com>
48630
5e9b6af4
RM
48631 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48632
84f9ea0f
RM
48633 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48634 containing directory rather than embedding absolute directory names.
48635
ea5ee9f7
RM
48636 * scripts/check-local-headers.sh: Rewritten using awk.
48637 Match by word, not by line. Print error messages for matches.
48638 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48639
1b74661a
RM
48640 * Makerules [shlib-lds-flags empty]:
48641 ($(common-objpfx)libc_pic.opts): New target.
48642 ($(common-objpfx)libc_pic.os.clean): New target.
48643 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48644
48645 * config.make.in (OBJCOPY): New variable.
48646 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48647 * configure: Regenerated.
48648
f781ef40
RM
48649 * config.make.in (use-default-link): New variable.
48650 * configure.in (use_default_link): Grok --with-default-link to set it.
48651 * configure: Regenerated.
48652 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48653 (shlib-lds, shlib-lds-flags): Define to empty.
48654
2d4fa81e
RM
48655 * Makerules (shlib-lds): New variable.
48656 (shlib-lds-flags): New variable.
48657 (build-shlib, build-moduile, build-module-asneeded): Use it.
48658 ($(common-objpfx)libc.so): Use $(shlib-lds).
48659 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48660 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48661
31fffa6b
RM
48662 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48663 DT_FLAGS/DT_FLAGS_1 with zero flags.
48664
4e34ac6a
RM
48665 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48666 linker script munging.
48667
fcfc776b
UD
486682011-07-02 Ulrich Drepper <drepper@gmail.com>
48669
48670 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48671 as 128-bit value.
48672 * crypt/sha512.c (sha512_process_block): Perform total addition using
48673 128-bit if possible.
48674 (__sha512_finish_ctx): Likewise.
48675 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48676 as 64-bit value.
48677 * crypt/sha256.c (SWAP64): Define.
48678 (sha256_process_block): Perform total addition using 64-bit if
48679 possible.
48680 (__sha256_finish_ctx): Likewise.
48681
99231d9a
UD
486822011-07-01 Ulrich Drepper <drepper@gmail.com>
48683
48684 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48686 * nscd/hstcache.c (cache_addhst): Likewise.
48687 * nscd/grpcache.c (cache_addgr): Likewise.
48688 * nscd/aicache.c (addhstaiX): Likewise
48689 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48690
445b4a53
TK
486912011-07-01 Thorsten Kukuk <kukuk@suse.de>
48692
48693 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48694 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48695 * nscd/hstcache.c (cache_addhst): Likewise.
48696 * nscd/grpcache.c (cache_addgr): Likewise.
48697 * nscd/aicache.c (addhstaiX): Likewise
48698
6d4d8e8e
AS
486992011-07-01 Andreas Schwab <schwab@redhat.com>
48700
48701 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48702 domain only when needed.
48703
89f654c5
AS
487042011-06-30 Andreas Schwab <schwab@redhat.com>
48705
48706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48707 is always restored.
48708
cf3b23ff
UD
487092011-06-29 Ulrich Drepper <drepper@gmail.com>
48710
48711 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48712 are re-adding the entry.
48713 * nscd/servicescache.c (cache_addserv): Likewise.
48714
751626f9
AJ
487152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48716
48717 * sysdeps/generic/dl-irel.h: fix protection against multiple
48718 inclusions.
48719 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48720
9113ea1f
UD
487212011-06-28 Ulrich Drepper <drepper@gmail.com>
48722
5c0b8d90
UD
48723 [BZ #12935]
48724 * malloc/memusage.sh: Fix quoting in message.
48725 * debug/xtrace.sh: Likewise.
48726
9113ea1f
UD
48727 * configure.in: Remove support for --experimental-malloc option, make
48728 it the default.
48729 * config.make.in: Likewise.
48730 * malloc/Makefile: Likewise.
48731
a4172181
AS
487322011-06-27 Andreas Schwab <schwab@redhat.com>
48733
48734 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48735 two-byte characters.
48736
78a7eee7
RM
487372011-06-27 Roland McGrath <roland@hack.frob.com>
48738
62bede13
RM
48739 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48740 AC_CACHE_CHECK invocation.
48741 * configure: Regenerated.
48742
78a7eee7
RM
48743 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48744
5ce33a62
UD
487452011-06-27 Ulrich Drepper <drepper@gmail.com>
48746
034807a9
UD
48747 [BZ #12350]
48748 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48749 bit from old_res_options.
48750
4902da17
UD
48751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48752
5ce33a62
UD
48753 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48754 value type for setfct.
48755
c2344f56
L
487562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48757
48758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48759 __gettimeofday instead of gettimeofday.
48760
68468076
UD
487612011-06-26 Ulrich Drepper <drepper@gmail.com>
48762
48763 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48764
acb0d739
L
487652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48766
48767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48768
48769 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48770 info.
48771
8912479f
L
487722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48773
48774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48775 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48776 strcpy-sse2-unaligned strncpy-sse2-unaligned
48777 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48778 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48779 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48780 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48781 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48782 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48783 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48784 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48785 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48786 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48787 (STRCPY): Support SSE2 and SSSE3 versions.
48788
d5495a11
UD
487892011-06-24 Ulrich Drepper <drepper@gmail.com>
48790
48791 [BZ #12874]
48792 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48793 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48794 kernels which artificially limit size of requests.
48795
0b1cbaae
L
487962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48797
48798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48799 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48800 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48801 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48802 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48803 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48804 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48805 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48808 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48809 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48810 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48811 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48812 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48814 Enable unaligned load optimization for Intel Core i3, i5 and i7
48815 processors.
48816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48817 Define.
48818 (index_Fast_Unaligned_Load): Define.
48819 (HAS_FAST_UNALIGNED_LOAD): Define.
48820
07f494a0
MP
488212011-06-23 Marek Polacek <mpolacek@redhat.com>
48822
48823 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48824
fa3fc0fe
UD
488252011-06-22 Ulrich Drepper <drepper@gmail.com>
48826
48827 [BZ #12907]
48828 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48829 until it is clear that the information is realy needed.
48830 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48831
e12df166
AS
488322011-06-22 Andreas Schwab <schwab@redhat.com>
48833
48834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48835
852eb34d
UD
488362011-06-22 Ulrich Drepper <drepper@gmail.com>
48837
84e2a551
UD
48838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48839 /sys/devices/system/cpu/online if it is usable.
48840
852eb34d
UD
48841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48842 reading the information from the /proc filesystem to once a second.
48843
6e502e19
UD
488442011-06-21 Andreas Jaeger <aj@suse.de>
48845
48846 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48847 NULL after inclusion of kernel headers.
48848
75d39ff2
UD
488492011-06-21 Ulrich Drepper <drepper@gmail.com>
48850
51f9aa6a
UD
48851 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48852 calls to internal_setent.
48853
c0244a9d
UD
48854 [BZ #12885]
48855 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48856 addresses using gethostbyname4_r ignore IPv4 addresses.
48857
c5e3c2ae
UD
48858 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48859 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48860
75d39ff2
UD
48861 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48862
42675c6f
DM
488632011-06-20 David S. Miller <davem@davemloft.net>
48864
48865 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48866 inclusions.
48867 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48868
48869 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48870 (elf_irel): Use it.
48871 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48872 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48873 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48874 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48875 * sysdeps/x86_64/dl-irel.h: Likewise.
48876
48877 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48878 * elf/dl-sym.c: Likewise.
48879
57912a71
UD
488802011-06-15 Ulrich Drepper <drepper@gmail.com>
48881
48882 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48883 need to dereference resplen2.
48884
ee22793d
AS
488852011-06-14 Andreas Schwab <schwab@redhat.com>
48886
48887 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48888
a9e836b0
UD
488892011-06-15 Ulrich Drepper <drepper@gmail.com>
48890
77fb9117
UD
48891 * Makeconfig: Define vardbdir and inst_vardbdir.
48892 * nss/Makefile: Add rules to install db-Makefile.
48893
40c1b22c
UD
48894 * nss/nss_db/db-XXX.c: Cleanup.
48895
9f2da732
UD
48896 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48897 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48898 GLIBC_PRIVATE.
48899 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48900 * nss/makedb.c: Implement -g option to specify that value strings
48901 are generated and should not be added to table iterated over for
48902 get*ent calls.
48903 * nss/nss_db/db-initgroups.c: New file.
48904
82e9a1f7
UD
48905 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48906 interface.
48907
c41af17e
UD
48908 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48909 (internal_getgrouplist): Adjust to name change.
48910 Update use_initgroups_entry if this is not the first call.
48911 * nss/databases.def: Add initgroups entry.
48912
a9e836b0
UD
48913 * nss/makedb.c (compute_tables): Check result of multiple hash table
48914 sizes to minimize maximum chain length.
48915
2666d441
UD
489162011-06-14 Ulrich Drepper <drepper@gmail.com>
48917
48918 * Versions.def: Add entry for libnss_db.
48919 * shlib-versions: Likewise.
48920 * nss/Makefile: Add rules to build libnss_db.
48921 * nss/Versions: Add libnss_db information. Organize libnss_files
48922 entries better.
48923 * nss/db-Makefile: Add gshadow support. Change rules for the new
48924 makedb progra. Some minor improvements to generate smaller files.
48925 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48926 here from...
48927 * nss/makedb.c: ...here.
48928 Improve database format to be smaller and require less memory at
48929 runtime.
48930 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48931 db anymore.
48932 * nss/nss_db/db-netgrp.c: Likewise.
48933 * nss/nss_db/db-open.c: Likewise.
48934 * nss/nss_files/flies-XXX.x: Adjust comments.
48935 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48936 * nss/nss_files/files-grp.c: Likewise.
48937 * nss/nss_files/files-hosts.c: Likewise.
48938 * nss/nss_files/files-network.c: Likewise.
48939 * nss/nss_files/files-proto.c: Likewise.
48940 * nss/nss_files/files-pwd.c: Likewise.
48941 * nss/nss_files/files-rpc.c: Likewise.
48942 * nss/nss_files/files-service.c: Likewise.
48943 * nss/nss_files/files-sgrp.c: Likewise.
48944 * nss/nss_files/files-spwd.c: Likewise.
48945 * nss/nss_db/db-alias.c: Removed.
48946 * nss/nss_db/dummy-db.h: Removed.
48947
9ee76b5a
UD
489482011-06-02 Ulrich Drepper <drepper@gmail.com>
48949
48950 * nss/makedb.c: Rewritten to not use database library.
48951 * nss/Makefile: Update to build new makedb program.
48952
c71ca1f8
AJ
489532011-06-14 Andreas Jaeger <aj@suse.de>
48954
48955 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48956 memset declaration.
48957
3154bfb8
UD
489582011-06-10 Andreas Schwab <schwab@redhat.com>
48959
48960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48961 tmpbuf.
48962
b350afab
RM
489632011-06-10 Roland McGrath <roland@hack.frob.com>
48964
decd4e50
RM
48965 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48966 * elf/Makefile ($(objpfx)ld.so): Likewise.
48967
5615eaf2
RM
48968 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48969 Don't list ld.so twice in dependencies.
48970
48971 * posix/bug-regex31.c: Include <stdlib.h>.
48972
48973 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48974
48975 * nis/nss_compat/compat-spwd.c
48976 (getspent_next_nss_netgr): Remove unused variable.
48977 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48978
48979 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48980 nonmembers" output to use the right array.
48981
48982 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48983
48984 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48985
48986 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48987 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48988 * catgets/gencat.c (read_input_file): Likewise.
48989 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48990
48991 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48992 variable definition inside #if's controlling its use.
48993
48994 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48995
48996 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48997
48998 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48999
49000 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49001 unreachable code.
49002
49003 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49004
b68e08db
RM
49005 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49006 * configure: Regenerated.
49007
b350afab
RM
49008 * Makerules: Revert last change.
49009 * elf/Makefile: Likewise.
49010
28368601
RM
490112011-06-09 Roland McGrath <roland@hack.frob.com>
49012
49013 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49014 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49015 (reloc-link): Likewise.
49016
11988f8f
UD
490172011-06-09 Ulrich Drepper <drepper@gmail.com>
49018
49019 * elf/Makefile: Add rules to build pldd.
49020 * elf/pldd.c: New file.
49021 * elf/pldd-xx.c: New file.
49022
e80fab37
UD
490232011-06-07 Ulrich Drepper <drepper@gmail.com>
49024
49025 * version.h: Update for 2.15 development version.
49026
9b849836
DM
490272011-06-07 David S. Miller <davem@davemloft.net>
49028
49029 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49030 ifuncs.
49031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49032 elf_machine_lazy_rel): Likewise.
49033 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49034 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49035 elf_machine_lazy_rel): Likewise.
49036 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49037 dl_hwcap via passed in argument.
49038 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49039 Likewise.
49040
5a31b283
AK
490412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49042
49043 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49044
069e52f8
RM
490452011-06-06 Roland McGrath <roland@hack.frob.com>
49046
49047 [BZ #12849]
49048 * manual/fdl-1.1.texi: New file, verbatim from:
49049 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49050 * manual/lgpl-2.1.texi: New file, verbatim from:
49051 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49052 * manual/Makefile (licenses): New variable, list those new file names.
49053 (texis): Use it.
49054 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49055
49056 * manual/fdl.texi: File removed.
49057 * manual/lesser.texi: File removed.
49058 * manual/libc.texinfo (Copying, Documentation License):
49059 Use new @include file names, put @appendix directive before @include.
49060
f16846a5
JJ
490612011-06-04 Jakub Jelinek <jakub@redhat.com>
49062
49063 [BZ #12841]
49064 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49065 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49066 (mq_open): Add __NTH.
49067
3d29045b
L
490682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49069
49070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49071 Assume Intel Core i3/i5/i7 processor if AVX is available.
49072
8c297311
UD
490732011-05-31 Ulrich Drepper <drepper@gmail.com>
49074
49075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49076 typo.
49077
c8fc0c91
UD
490782011-05-31 Andreas Schwab <schwab@redhat.com>
49079
49080 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49081 memory. Use alloca_account. Fix memory leak when retrying.
49082
5b27a807
UD
490832011-05-31 Ulrich Drepper <drepper@gmail.com>
49084
356f8bc6
UD
49085 * version.h (RELEASE): Bump for 2.14 release.
49086 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49087
5b27a807
UD
49088 * config.make.in (RANLIB): Remove entry.
49089
01f16ab0
UD
490902011-05-30 Ulrich Drepper <drepper@gmail.com>
49091
41fce8bd
UD
49092 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49093 (libc.pot): Work around missing support for .ksh extension in xgettext.
49094
4769ae77
UD
49095 [BZ #12684]
49096 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49097 if both request failed.
49098 (send_dg): In case of server errors clear resplen or *resplen2.
49099
6b1e7d19
UD
49100 [BZ #12454]
49101 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49102 when there are multiple maps.
49103 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49104 (_dl_fini): Remove test here.
49105
01f16ab0
UD
49106 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49107
b1ebd700
UD
491082011-05-29 Ulrich Drepper <drepper@gmail.com>
49109
7ae22829
UD
49110 [BZ #12350]
49111 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49112 bit from old_res_options.
49113 (gaih_inet): Likewise.
49114
553149f6 49115 [BZ #11099]
18a84741 49116 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49117 as signed.
49118
652ffab1
UD
49119 * resolv/res_init.c (res_setoptions): Make the code more compact.
49120
16985fd0
UD
49121 [BZ #11558]
49122 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49123 set RES_USEVC.
49124
0464f746
UD
49125 [BZ #11634]
49126 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49127
7d17596c
UD
49128 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49129
cf6bbbd7
UD
49130 [BZ #11781]
49131 * malloc/malloc.h: Declare malloc hook variables as volatile.
49132
13f1ab36
UD
49133 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49134 in last patch.
49135
b1ebd700
UD
49136 [BZ #11799]
49137 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49138 raise in the comment.
80e2212d
UD
49139 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49140 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49141 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49142
ce67228d
UD
491432011-05-28 Ulrich Drepper <drepper@gmail.com>
49144
8887a920
UD
49145 [BZ #12811]
49146 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49147 grow the buffers more if it already has to be sufficient.
49148 (build_wcs_upper_buffer): Likewise.
49149 * posix/regexec.c (check_matching): Likewise.
49150 (clean_state_log_if_needed): Likewise.
49151 (extend_buffers): Don't enlarge buffers beyond size of the input
49152 buffer.
49153 Patches mostly by Emil Wojak <emil@wojak.eu>.
49154 * posix/bug-regex32.c: New file.
49155 * posix/Makefile (tests): Add bug-regex32.
49156
4f031072
UD
49157 * locale/findlocale.c (_nl_find_locale): Return right away if
49158 _nl_explode_name failed.
49159 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49160
d0478f0c
UD
49161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49162
de81b246
UD
49163 * debug/xtrace.sh: Unify messages.
49164 * malloc/memusage.sh: Likewise.
49165
c738465a
UD
49166 [BZ #12813]
49167 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49168 time symbol from vDSO. Substitute with vsyscall if not available.
49169 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49170 __vdso_time.
49171
f1f929d7
UD
49172 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49173 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49174 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49175 Add sendmmsg and internal_sendmmsg.
49176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49177 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49178 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49179
ce67228d
UD
49180 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49181 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49182 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49183
e57420c6
UD
491842011-05-27 Ulrich Drepper <drepper@gmail.com>
49185
a8509ca5
UD
49186 [BZ #12813]
49187 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49188 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49189 available.
49190 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49191 __vdso_getcpu.
49192
e57420c6
UD
49193 [BZ #12814]
49194 * iconvdata/Makefile (tests): Add bug-iconv9.
49195 * iconvdata/bug-iconv9.c: New file.
49196
4d07db15
AS
491972011-05-27 Andreas Schwab <schwab@redhat.com>
49198
49199 [BZ #12814]
49200 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49201
ea486f69
JJ
492022011-05-25 Jakub Jelinek <jakub@redhat.com>
49203
49204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49205 (struct user_regs_struct): Change intcs field back to cs.
49206
6f038433
UD
492072011-05-25 Ulrich Drepper <drepper@gmail.com>
49208
49209 * po/ja.po: Update from translation team.
49210
67f86a25
UD
492112011-05-23 Ulrich Drepper <drepper@gmail.com>
49212
49213 [BZ #12795]
49214 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49215 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49216
def7fbd6
AS
492172011-05-20 Andreas Schwab <schwab@redhat.com>
49218
49219 * stdlib/longlong.h: Update from GCC.
49220
f50ef8f1
AS
492212011-05-23 Andreas Schwab <schwab@redhat.com>
49222
49223 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49224 parameter name.
49225 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49226 Add parameter name.
49227 (__sysconf): Pass it down.
49228
de7ce8f1
UD
492292011-05-22 Ulrich Drepper <drepper@gmail.com>
49230
f2962a71
UD
49231 [BZ #12671]
49232 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49233 some situations.
49234 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49235 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49236 add in in __libc_use_alloca calls. Adjust callers.
49237 (glob): Use malloc in some situations.
49238
de7ce8f1
UD
49239 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49240 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49241 pltexit.
49242
aec84f53
UD
492432011-05-21 Ulrich Drepper <drepper@gmail.com>
49244
05bb4a68
UD
49245 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49246 and CLOCK_BOOTTIME_ALARM.
49247
7ea72f99
UD
49248 [BZ #12782]
49249 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49250 is returned.
49251
7e4afad5
UD
49252 * string/_strerror.c (__strerror_r): Print negative errors as signed
49253 numbers.
49254
8e211fec
UD
49255 [BZ #12777]
49256 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49257 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49258 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49259
f7d82dc9
UD
49260 * configure.in: Fix typo in redirection and correct removal of test
49261 files in two cases.
49262
cc9e536d
UD
49263 [BZ #12788]
49264 * locale/setlocale.c (new_composite_name): Fix test to check for
49265 identical name of all categories.
49266
aec84f53
UD
49267 [BZ #12792]
49268 * libio/filedoalloc.c (local_isatty): New function.
49269 (_IO_file_doallocate): Use local_isatty.
49270 * stdio-common/perror.c (perror): In case a new stream is used
49271 forward the stream error.
49272 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49273 error flag.
49274
78e64fdc
RT
492752011-05-20 Ulrich Drepper <drepper@gmail.com>
49276
34a9094f
UD
49277 [BZ #11869]
49278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49279 alloca.
49280 * include/alloca.h (extend_alloca_account): Define.
49281
78e64fdc
RT
49282 [BZ #11857]
49283 * posix/regex.h: Fix comments with documentation of user-accessible
49284 fields after compilation and describe correct free'ing of pattern
49285 after re_compile_pattern.
49286 Patch by Reuben Thomas <rrt@sc3d.org>.
49287
457bddfc
RA
492882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49289
49290 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49291 and -mno-altivec to prevent the compiler from using Altivec and/or
49292 VSX instructions when the corresponding registers are not available.
49293
a4527b51
AS
492942011-05-19 Andreas Schwab <schwab@redhat.com>
49295
49296 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49297
ed690b2f
UD
492982011-05-19 Ulrich Drepper <drepper@gmail.com>
49299
49300 * libio/freopen.c (freopen): Use __dup2, not dup2.
49301 * libio/freopen64.c (freopen64): Likewise.
49302
8db73634
L
493032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49304
49305 [BZ #12775]
49306 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49307 * math/Makefile (tests): Add test-powl.
49308 (CFLAGS-test-powl.c): Define.
49309 * math/test-powl.c: New file.
49310
0a197a9d
L
493112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49312
49313 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49314
ee30c380
UD
493152011-05-17 Ulrich Drepper <drepper@gmail.com>
49316
49317 [BZ #11837]
49318 * iconvdata/gb18030.c: Update to GB18020-2005.
49319
6ce75379
UD
493202011-05-16 Ulrich Drepper <drepper@gmail.com>
49321
a4b89fd8
AR
49322 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49323 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49324 Patch by Aharon Robbins <arnold@skeeve.com>.
49325
ea389b12
UD
49326 [BZ #11892]
49327 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49328 on the stack.
49329
68a3f91f
UD
49330 [BZ #11895]
49331 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49332 through underflows.
49333
15cc7dd1
UD
49334 [BZ #12766]
49335 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49336 point to strings before performing equality test for error_one_per_line
49337 mode.
49338
f3799213
UD
49339 [BZ #11697]
49340 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49341
d79a9c94
UD
49342 [BZ #11820]
49343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49344 (struct user_fpregs_struct): Avoid __uint*_t types.
49345
56e5eb46
UD
49346 [BZ #6420]
49347 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49348 symbol info. Use it instead of calling _dl_addr locally.
49349 (lock_and_info): New function.
49350 (tr_freehook): Call lock_and_info and pass symbol info as additional
49351 parameter to tr_where.
49352 (tr_mallochook): Likewise.
49353 (tr_reallochook): Likewise.
49354 (tr_memalignhook): Likewise.
49355
6ce75379
UD
49356 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49357 used and couldn't be at all thread-safe.
49358
f8a3b5bf
UD
493592011-05-15 Ulrich Drepper <drepper@gmail.com>
49360
94b7cc37
UD
49361 * libio/freopen.c (freopen): Don't close old file descriptor
49362 before the new one is opened. Instead dup the new file descriptor
49363 to the old one after the new stream is created.
49364 * libio/freopen64.c (freopen64): Likewise.
49365 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49366 * libio/fileops.c (_IO_new_file_close_it): Handle new
49367 _IO_FLAGS2_NOCLOSE flag.
49368 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49369 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49370 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49371 _IO_FLAGS2_NOCLOSE flag.
49372 * include/unistd.h: Add hidden_proto for dup3.
49373 Define __have_dup3.
49374 * io/dup3.c: Define hidden symbol.
49375 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49376
bd25564e
UD
49377 [BZ #7101]
49378 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49379 when an incomplete long option is used.
49380 * posix/tst-getopt_long1.c: New file.
49381 * posix/Makefile (tests): Add tst-getopt_long1.
49382
c84cfef4
UD
49383 [BZ #10138]
49384 * scripts/config.guess: Update from autoconf-2.68.
49385 * scripts/config.sub: Likewise.
49386
3b85df27
UD
49387 [BZ #10157]
49388 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49389 tests into ...
49390 (has_cpuclock): ...this. New function.
49391 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49392 macro here based on has_cpuclock code.
49393
15a856b1
UD
49394 [BZ #10149]
49395 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49396 First byte (not low byte) is now always NUL.
49397 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49398
05f399e6
UD
49399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49400 Use non-cancelable interfaces.
49401
10a52685 49402 [BZ #9809]
94ecc67d
UD
49403 * locale/iso-639.def: Add entry for Sorani.
49404
f8a3b5bf
UD
49405 [BZ #11901]
49406 * include/stdlib.h: Move include protection to the right place.
49407 Define abort_msg_s. Declare __abort_msg with it.
49408 * stdlib/abort.c (__abort_msg): Adjust type.
49409 * assert/assert.c (__assert_fail_base): New function. Majority
49410 of code from __assert_fail. Allocate memory for __abort_msg with
49411 mmap.
49412 (__assert_fail): Now call __assert_fail_base.
49413 * assert/assert-perr.c: Remove bulk of implementation. Use
49414 __assert_fail_base.
49415 * include/assert.hL Declare __assert_fail_base.
49416 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49417 mmap.
49418 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49419
1af4e298
UD
494202011-05-14 Ulrich Drepper <drepper@gmail.com>
49421
f8a3b5bf 49422 [BZ #11952]
d26dfc60
MG
49423 [BZ #12453]
49424 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49425 until all modules are registered in the DTV.
49426 * elf/Makefile: Add rules to build and run tst-tls19.
49427 * elf/tst-tls19.c: New file.
49428 * elf/tst-tls19mod1.c: New file.
49429 * elf/tst-tls19mod2.c: New file.
49430 * elf/tst-tls19mod3.c: New file.
49431 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49432
2fc54d6f
UD
49433 [BZ #12083]
49434 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49435 correctly.
49436
98d76b46
UD
49437 [BZ #12601]
49438 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49439 two-byte sequence errors.
49440 * iconvdata/Makefile (tests): Add bug-iconv8.
49441 * iconvdata/bug-iconv8.c: New file.
49442
da3c19ef
UD
49443 [BZ #12626]
49444 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49445 buf2 definition.
49446
ca408c15
UD
49447 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49448
d6f67f7d
UD
49449 [BZ #12432]
49450 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49451 (dummy_getcfa): New function.
49452 (init): Get _Unwind_GetCFA address, use dummy if not found.
49453 (backtrace_helper): In recursion check, also check whether CFA changes.
49454 (__backtrace): Completely initialize arg.
49455
1af4e298 49456 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49457 storing incomplete byte sequence in state object. Avoid testing for
49458 guaranteed too small input if we know there is enough data available.
1af4e298 49459
da62f81b
AS
494602011-05-11 Andreas Schwab <schwab@redhat.com>
49461
49462 * Makeconfig (+link-pie): Indent.
49463 * Rules (binaries-pie): Define if $(have-fpie) and
49464 $(build-shared).
49465 (binaries-shared): Also filter out $(binaries-pie).
49466 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49467 * nscd/Makefile (others-pie): Add nscd.
49468 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49469 ($(objpfx)nscd): Remove command override.
49470 * login/Makefile (others-pie): Add pt_chown.
49471 ($(objpfx)pt_chown): Remove command override.
49472 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49473 remove command overrides.
49474
fcabc0f8
UD
494752011-05-13 Ulrich Drepper <drepper@gmail.com>
49476
20030ae6
UD
49477 * libio/tst_putwc.c: Fix error messages.
49478
fcabc0f8
UD
49479 [BZ #12724]
49480 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49481 currently writing and seek to current position when not.
49482 * libio/Makefile (tests): Add bug-fclose1.
49483 * libio/bug-fclose1.c: New file.
49484
320a5dc0
PB
494852011-05-12 Ulrich Drepper <drepper@gmail.com>
49486
49487 [BZ #12511]
49488 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49489 don't set DF_1_NODELETE here.
49490 (do_lookup_x): When entering new entry test for copy relocation
49491 and if necessary set DF_1_NODELETE flag.
49492 * elf/tst-unique4.cc: New file.
49493 * elf/tst-unique4.h: New file.
49494 * elf/tst-unique4lib.cc: New file.
49495 * elf/Makefile: Add rules to build and run tst-unique4.
49496 Patch by Piotr Bury <pbury@goahead.com>.
49497
22836f52
UD
494982011-05-11 Ulrich Drepper <drepper@gmail.com>
49499
f574184a
UD
49500 [BZ #12052]
49501 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49502
e1fb097f
UD
49503 [BZ #12625]
49504 * misc/mntent_r.c (addmntent): Flush the stream after the output
49505
22836f52
UD
49506 [BZ #12393]
49507 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49508 (is_trusted_path_normalize): Skip initial colon. Append slash
49509 to empty buffer. Duplicate is_trusted_path code but allow
49510 constructed patch to be prefix.
49511 (is_dst): Allow $ORIGIN followed by /.
49512 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49513 Correct testing of result of is_trusted_path_normalize
49514 (decompose_rpath): Fix warning.
49515
7b3b0b2a
UD
495162011-05-10 Ulrich Drepper <drepper@gmail.com>
49517
49518 [BZ #11257]
49519 * grp/initgroups.c (internal_getgrouplist): When we found the service
49520 list through the initgroups entry in nsswitch.conf do not always
49521 continue on a successful lookup. Don't always use the
eac80ce2 49522 __nss_group_database value if it is set.
7b3b0b2a
UD
49523 * nss/nsswitch.conf (initgroups): Change action for successful db
49524 lookup to continue for compatibility.
49525
2a81eaa5
UD
495262011-05-09 Ulrich Drepper <drepper@gmail.com>
49527
be97a69e
UD
49528 [BZ #11532]
49529 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49530 and CP774 modules.
49531 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49532 and CP774 modules.
49533 * iconvdata/tst-tables.sh: Likewise.
49534 * iconvdata/cp770.c: New file.
49535 * iconvdata/cp771.c: New file.
49536 * iconvdata/cp772.c: New file.
49537 * iconvdata/cp773.c: New file.
49538 * iconvdata/cp774.c: New file.
49539 * iconvdata/testdata/CP770: New file.
49540 * iconvdata/testdata/CP770..UTF8: New file.
49541 * iconvdata/testdata/CP771: New file.
49542 * iconvdata/testdata/CP771..UTF8: New file.
49543 * iconvdata/testdata/CP772: New file.
49544 * iconvdata/testdata/CP772..UTF8: New file.
49545 * iconvdata/testdata/CP773: New file.
49546 * iconvdata/testdata/CP773..UTF8: New file.
49547 * iconvdata/testdata/CP774: New file.
49548 * iconvdata/testdata/CP774..UTF8: New file.
49549
49550 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49551 END CHARMAP line.
49552 * iconvdata/gen-8bit-gap.sh: Likewise.
49553 * iconvdata/gen-8bit.sh: Likewise.
49554
c1e9e399
UD
49555 * locale/iso-639.def: Add ary entry.
49556
24c55fb3 49557 [BZ #11258]
96b4b1b0
UD
49558 * locale/C-translit.h.in: Add U20A1 transliteration.
49559
bdc2f971
KB
49560 [BZ #12178]
49561 * locale/iso-639.def: Add wae entry.
49562 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49563
2952b117
UD
49564 [BZ #12545]
49565 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49566 for n.
49567
2a81eaa5
UD
49568 [BZ #12711]
49569 * locale/C-translit.h.in: Add entry for U20B9.
49570 Patch by pravin.d.s@gmail.com.
49571
28377d1b
UD
495722011-05-08 Ulrich Drepper <drepper@gmail.com>
49573
7fb90fb8
UD
49574 [BZ #12713]
49575 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49576 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49577 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49578 in rtld. Use *stat64.
7fb90fb8 49579 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49580 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49581 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49582 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49583 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49584 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49585 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49586 __fstatat64 macros.
7fb90fb8
UD
49587 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49588 * dirent/rewinddir.c: Add libc_hidden_def.
49589 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49590 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49591
28377d1b
UD
49592 * include/dirent.h (__alloc_dir): Add flags parameter.
49593 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49594 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49595 __alloc_dir.
49596 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49597 from fdopendir if O_CLOEXEC is already set.
49598
66bdbaa4
AM
495992011-03-15 Alan Modra <amodra@gmail.com>
49600
49601 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49602 l_tls_firstbyte_offset non-zero. Save padding offset in
49603 l_tls_firstbyte_offset for later use.
49604 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49605 freeing static tls block.
49606
95721191
JN
496072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49608
49609 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49610 where #ifdef was intended. The intent is to prevent ARG_MAX from
49611 being defined by the kernel headers.
49612
f87dfb1f
UD
496132011-05-07 Ulrich Drepper <drepper@gmail.com>
49614
49615 [BZ #12734]
49616 * resolv/resolv.h: Define RES_NOTLDQUERY.
49617 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49618 no-tld-query and set RES_NOTLDQUERY.
49619 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49620 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49621 modern BIND to search name as TLD unless forbidden.
49622
47c3cd7a
UD
496232011-05-07 Petr Baudis <pasky@suse.cz>
49624 Ulrich Drepper <drepper@gmail.com>
49625
49626 [BZ #12393]
49627 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49628 (is_trusted_path): ...to here.
c1e9ea35 49629 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49630 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49631 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49632
8a35c912
PP
496332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49634
49635 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49636 __BEGIN/__END_DECLS.
49637
acd41f47
UD
496382011-05-06 Ulrich Drepper <drepper@gmail.com>
49639
49640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49641 NSS_STATUS_NOTFOUND if no record was found.
49642
597df647
AS
496432011-05-05 Andreas Schwab <schwab@redhat.com>
49644
49645 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49646 (headers-not-in-tirpc): Remove rpc/netdb.h
49647 * resolv/netdb.h: Revert last change.
49648
b9af1301
PP
496492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49650
49651 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49652 circular dependency between libgcc.a and libc.a.
49653
4e34d5f5
AS
496542011-05-05 Andreas Schwab <schwab@redhat.com>
49655
49656 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49657 * nis/Makefile: Don't install rpcsvc/*.
49658 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49659 instead of <rpc/types.h>.
49660 (MAXHOSTNAMELEN): Define.
49661
00ee369c
AS
496622011-05-03 Andreas Schwab <schwab@redhat.com>
49663
49664 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49665
0b592a30
MB
496662011-04-28 Maciej Babinski <mbabinski@google.com>
49667
49668 [BZ #12714]
49669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49670 gethostbyname4_r when IPv6 results are possible.
49671
6e04cbbe
UD
496722011-05-02 Ulrich Drepper <drepper@gmail.com>
49673
49674 [BZ #12723]
49675 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49676 _PC_PIPE_BUF handling.
49677
e4ecafe0
BH
496782011-04-30 Bruno Haible <bruno@clisp.org>
49679
49680 [BZ #12717]
49681 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49682 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49683 to 'int'.
49684 * inet/getnameinfo.c (getnameinfo): Likewise.
49685
125ee683
UD
496862011-04-29 Ulrich Drepper <drepper@gmail.com>
49687
49688 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49689 to groups setting in database lookup.
49690 * nss/nsswitch.conf: Add initgroups entry.
49691
b722481a
EB
496922011-04-22 Ulrich Drepper <drepper@gmail.com>
49693
49694 [BZ #12685]
49695 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49696 mode string.
49697 Patch by Eric Blake <eblake@redhat.com>.
49698
4df46dbd
L
496992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49700
49701 * sunrpc/Makefile (need-export-routines): Add svc_run.
49702 (routines): Remove svc_run.
49703 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49704 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49705 * sunrpc/svc_run.c (svc_run): Likewise.
49706 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49707
e84142d2
UD
497082011-04-21 Ulrich Drepper <drepper@gmail.com>
49709
49710 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49711 problem in reallocation in last patch.
49712
877175d8
UD
497132011-04-20 Ulrich Drepper <drepper@gmail.com>
49714
49715 * sunrpc/Makefile: Move inclusion of Rules.
49716
ab8eed78
UD
497172011-04-19 Ulrich Drepper <drepper@gmail.com>
49718
49719 * nss/nss_files/files-initgroups.c: New file.
49720 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49721 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49722 _nss_files_initgroups_dyn.
49723
e3d8f584
RS
497242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49725
49726 * elf/elf.h (R_ARM_IRELATIVE): Define.
49727
af190f45
UD
497282011-04-19 Ulrich Drepper <drepper@gmail.com>
49729
49730 * po/ru.po: Update from translation team.
49731
53cf59ef
UD
497322011-04-17 Ulrich Drepper <drepper@gmail.com>
49733
49734 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49735 dependencies.
49736
4c559bcd
MF
497372011-02-06 Mike Frysinger <vapier@gentoo.org>
49738
49739 [BZ #12653]
49740 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49741 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49742 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49743 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49744 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49745
4420675c
AS
497462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49747
49748 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49749 differing bytes.
49750 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49753
75ea32ab
UD
497542011-04-17 Ulrich Drepper <drepper@gmail.com>
49755
49756 [BZ #12420]
49757 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49758 storing it.
49759 * stdlib/bug-getcontext.c: New file.
49760 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49761
27390476
AK
497622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49763
49764 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49765 instructions into .machine "z9-109".
49766 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49767 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49768
10442705
AK
497692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49770
49771 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49772 between environment variables and auxiliary vector.
49773
7b57bfe5
UD
497742011-04-16 Ulrich Drepper <drepper@gmail.com>
49775
49776 * Makefile: Add rules to build linkobj/libc.so.
49777 * include/libc-symbols.h: Define libc_hidden_nolink.
49778 * include/rpc/auth.h: Mark functions which are to be hidden.
49779 * include/rpc/auth_des.h: Likewise.
49780 * include/rpc/auth_unix.h: Likewise.
49781 * include/rpc/clnt.h: Likewise.
49782 * include/rpc/des_crypt.h: Likewise.
49783 * include/rpc/key_prot.h: Likewise.
49784 * include/rpc/pmap_clnt.h: Likewise.
49785 * include/rpc/pmap_prot.h: Likewise.
49786 * include/rpc/pmap_rmt.h: Likewise.
49787 * include/rpc/rpc_msg.h: Likewise.
49788 * include/rpc/svc.h: Likewise.
49789 * include/rpc/svc_auth.h: Likewise.
49790 * include/rpc/xdr.h: Likewise.
49791 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49792 * nss/Makefile: Likewise.
49793 * sunrpc/Makefile: Don't install headers. Build library with normal
49794 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49795 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49796 for the compat linking library. Remove use of INTDEF/INTUSE.
49797 * sunrpc/auth_none.c: Likewise.
49798 * sunrpc/auth_unix.c: Likewise.
49799 * sunrpc/authdes_prot.c: Likewise.
49800 * sunrpc/authuxprot.c: Likewise.
49801 * sunrpc/clnt_gen.c: Likewise.
49802 * sunrpc/clnt_perr.c: Likewise.
49803 * sunrpc/clnt_raw.c: Likewise.
49804 * sunrpc/clnt_simp.c: Likewise.
49805 * sunrpc/clnt_tcp.c: Likewise.
49806 * sunrpc/clnt_udp.c: Likewise.
49807 * sunrpc/clnt_unix.c: Likewise.
49808 * sunrpc/des_crypt.c: Likewise.
49809 * sunrpc/des_soft.c: Likewise.
49810 * sunrpc/get_myaddr.c: Likewise.
49811 * sunrpc/key_call.c: Likewise.
49812 * sunrpc/key_prot.c: Likewise.
49813 * sunrpc/netname.c: Likewise.
49814 * sunrpc/pm_getmaps.c: Likewise.
49815 * sunrpc/pm_getport.c: Likewise.
49816 * sunrpc/pmap_clnt.c: Likewise.
49817 * sunrpc/pmap_prot.c: Likewise.
49818 * sunrpc/pmap_prot2.c: Likewise.
49819 * sunrpc/pmap_rmt.c: Likewise.
49820 * sunrpc/publickey.c: Likewise.
49821 * sunrpc/rpc_cmsg.c: Likewise.
49822 * sunrpc/rpc_common.c: Likewise.
49823 * sunrpc/rpc_dtable.c: Likewise.
49824 * sunrpc/rpc_prot.c: Likewise.
49825 * sunrpc/rpc_thread.c: Likewise.
49826 * sunrpc/rtime.c: Likewise.
49827 * sunrpc/svc.c: Likewise.
49828 * sunrpc/svc_auth.c: Likewise.
49829 * sunrpc/svc_authux.c: Likewise.
49830 * sunrpc/svc_raw.c: Likewise.
49831 * sunrpc/svc_run.c: Likewise.
49832 * sunrpc/svc_simple.c: Likewise.
49833 * sunrpc/svc_tcp.c: Likewise.
49834 * sunrpc/svc_udp.c: Likewise.
49835 * sunrpc/svc_unix.c: Likewise.
49836 * sunrpc/svcauth_des.c: Likewise.
49837 * sunrpc/xcrypt.c: Likewise.
49838 * sunrpc/xdr.c: Likewise.
49839 * sunrpc/xdr_array.c: Likewise.
49840 * sunrpc/xdr_float.c: Likewise.
49841 * sunrpc/xdr_intXX_t.c: Likewise.
49842 * sunrpc/xdr_mem.c: Likewise.
49843 * sunrpc/xdr_rec.c: Likewise.
49844 * sunrpc/xdr_ref.c: Likewise.
49845 * sunrpc/xdr_sizeof.c: Likewise.
49846 * sunrpc/xdr_stdio.c: Likewise.
49847
e6c61494
UD
498482011-04-10 Ulrich Drepper <drepper@gmail.com>
49849
49850 [BZ #12650]
49851 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49852 * sysdeps/ia64/dl-tls.h: Likewise.
49853 * sysdeps/powerpc/dl-tls.h: Likewise.
49854 * sysdeps/s390/dl-tls.h: Likewise.
49855 * sysdeps/sh/dl-tls.h: Likewise.
49856 * sysdeps/sparc/dl-tls.h: Likewise.
49857 * sysdeps/x86_64/dl-tls.h: Likewise.
49858 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49859
34fe483e
AS
498602011-03-14 Andreas Schwab <schwab@redhat.com>
49861
49862 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49863 rpath element also skip the following colon.
49864 (expand_dynamic_string_token): Add is_path parameter and pass
49865 down to DL_DST_REQUIRED and _dl_dst_substitute.
49866 (decompose_rpath): Call expand_dynamic_string_token with
49867 non-zero is_path. Ignore empty rpaths.
49868 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49869 with zero is_path.
49870
f12a32e6
AS
498712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49872
49873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49874 Make cancelable.
49875
38a7d692
UD
498762011-04-09 Ulrich Drepper <drepper@gmail.com>
49877
49878 [BZ #12655]
49879 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49880 Patch by Filipe David Manana <fdmanana@apache.org>.
49881
e451d22b
AS
498822011-04-07 Andreas Schwab <schwab@redhat.com>
49883
49884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49885 Maintain aligned stack.
49886 (CHECK_RSP): Remove unused macro.
49887
dedc7c7b
UD
498882011-04-03 Ulrich Drepper <drepper@gmail.com>
49889
49890 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49891 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49892
94521213
UD
498932011-04-02 Ulrich Drepper <drepper@gmail.com>
49894
49895 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49896
8cb700c0 49897 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49898
0354e355
L
498992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49900
49901 [BZ #12518]
49902 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49903 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49904 * sysdeps/x86_64/memmove.c: New file.
49905 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49906 (memcpy): Renamed to ...
49907 (__new_memcpy): This.
49908 (memcpy): Provide GLIBC_2_14 memcpy.
49909 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49910 (memcpy): Provide GLIBC_2_2_5 memcpy.
49911
8593482f
UD
499122011-04-01 Ulrich Drepper <drepper@gmail.com>
49913
49914 [BZ #12631]
49915 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49916
81a5726b
AS
499172011-03-30 Andreas Schwab <schwab@redhat.com>
49918
49919 * misc/syncfs.c: New file.
49920 * misc/Makefile (routines): Add syncfs.
49921 * posix/unistd.h: Declare syncfs.
49922 * sysdeps/unix/syscalls.list: Add syncfs.
49923
00e5419f
AS
499242011-04-01 Andreas Schwab <schwab@redhat.com>
49925
49926 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49927 open_by_handle_at.
49928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49929 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49933 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49934 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49935
748876bf
UD
499362011-04-01 Ulrich Drepper <drepper@gmail.com>
49937
658e451d
UD
49938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49939 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49942 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49945
748876bf
UD
49946 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49947 sync_file_range.c with -fexceptions.
49948 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49949 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49950 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49951 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49952 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49953 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49955 sync_file_range as cancellation point
49956 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49957 now a wrapper around __call_sync_file_range with cancellation handling.
49958 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49959 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49960 function name to __call_sync_file_range.
49961 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49962 Add call_sync_file_range.
748876bf 49963
6e63d5e1
AS
499642011-04-01 Andreas Schwab <schwab@redhat.com>
49965
49966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49967 bits/timex.h.
6e63d5e1 49968
46998f74
UD
499692011-04-01 Ulrich Drepper <drepper@gmail.com>
49970
4c1423ed
UD
49971 * iconv/iconv.h: Fix typo in comment.
49972 * io/fcntl.h: Likewise.
49973 * libio/stdio.h: Likewise.
49974 * posix/spawn.h: Likewise.
49975 * posix/unistd.h: Likewise.
49976 * stdlib/stdlib.h: Likewise.
49977 * time/time.h: Likewise.
49978 * wcsmbs/wchar.h: Likewise.
49979
158648c0
UD
49980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49981 open_by_handle): Add.
49982 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49983 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49984 Augment a few comments.
49985 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49987 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49989 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49990 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49991 open_by_handle.
49992
46998f74
UD
49993 * io/fcntl.h (AT_EMPTY_PATH): Define.
49994
83fe108b
UD
499952011-03-30 Ulrich Drepper <drepper@gmail.com>
49996
49997 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49998 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49999 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50000 to...
50001 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50002 * Versions.def: Add GLIBC_2.14.
50003 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50004 Export.
83fe108b 50005
bb242059
UD
500062011-03-22 Ulrich Drepper <drepper@gmail.com>
50007
50008 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50009 round counter.
50010 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50011
c97a1282
L
500122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50013
50014 [BZ #12597]
50015 * string/test-strncmp.c (do_page_test): New function.
50016 (check2): Likewise.
50017 (test_main): Call check2.
50018 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50019
2a115601
UD
500202011-03-20 Ulrich Drepper <drepper@gmail.com>
50021
50022 [BZ #12587]
50023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50024 Handle cache information in CPU leaf 4.
50025 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50026
8126d904
UD
500272011-03-18 Ulrich Drepper <drepper@gmail.com>
50028
042c49c6 50029 [BZ #12583]
8126d904
UD
50030 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50031 character representation.
50032 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50033
ccfe366e
RA
500342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50035
50036 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50037 END(__isnan) to END(__isnanf) to match function entry point/label
50038 EALIGN(__isnanf,...).
50039
c6e13027
JJ
500402011-03-10 Jakub Jelinek <jakub@redhat.com>
50041
50042 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50043
33f85a3f
UD
500442011-03-10 Ulrich Drepper <drepper@gmail.com>
50045
028478fa
UD
50046 [BZ #12510]
50047 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50048 copy from the symbol referenced in the relocation to initialize the
50049 used variable.
50050 Patch by Piotr Bury <pbury@goahead.com>.
50051 * elf/Makefile: Add rules to build and tst-unique3.
50052 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50053 * elf/tst-unique3.cc: New file.
50054 * elf/tst-unique3.h: New file.
50055 * elf/tst-unique3lib.cc: New file.
50056 * elf/tst-unique3lib2.cc: New file.
50057
33f85a3f
UD
50058 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50059
03592fc7
MF
500602011-03-10 Mike Frysinger <vapier@gentoo.org>
50061
50062 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50063 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50064 to _start.
03592fc7 50065
6a5ee102
UD
500662011-03-06 Ulrich Drepper <drepper@gmail.com>
50067
50068 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50069 to-be-loaded object along a path to loader is ld.so.
50070
7e4ba49c
HJ
500712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50072 Ulrich Drepper <drepper@gmail.com>
50073
50074 * sysdeps/x86_64/memset.S: After aligning destination, code
50075 branches to different locations depending on the value of
50076 misalignment, when multiarch is enabled. Fix this.
50077
500782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50079
50080 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50081 Set _x86_64_preferred_memory_instruction for AMD processsors.
50082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50083 Set bit_Prefer_SSE_for_memop for AMD processors.
50084
13a804de
UD
500852011-03-04 Ulrich Drepper <drepper@gmail.com>
50086
50087 * libio/fmemopen.c (fmemopen): Optimize a bit.
50088
9d25c392
AS
500892011-03-03 Andreas Schwab <schwab@redhat.com>
50090
50091 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50092
a5543c6a
RM
500932011-03-03 Roland McGrath <roland@redhat.com>
50094
50095 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50096
012d35f7
DM
500972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50098
7e4ba49c 50099 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50100 __bzero_ultra1 instead of __memset_ultra1.
50101
4bff6e01
AS
501022011-02-23 Andreas Schwab <schwab@redhat.com>
50103 Ulrich Drepper <drepper@gmail.com>
50104
50105 [BZ #12509]
50106 * include/link.h (struct link_map): Add l_orig_initfini.
50107 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50108 returning unsuccessfully.
50109 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50110 close of a file loaded at startup, restore the original l_initfini
50111 list.
50112 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50113 list, store the pointer.
50114 * elf/Makefile ($(objpfx)noload-mem): New rule.
50115 (noload-ENV): Define.
50116 (tests): Add $(objpfx)noload-mem.
50117 * elf/noload.c: Include <memcheck.h>.
50118 (main): Call mtrace. Close all opened handles.
50119
f2092faf
AS
501202011-02-17 Andreas Schwab <schwab@redhat.com>
50121
50122 [BZ #12454]
50123 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50124 dependencies are missing.
50125
6c8a2e88
ST
501262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50127
f2092faf 50128 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50129 Hurd needs munmap.
50130 * sysdeps/mach/hurd/ifreq.h: New file.
50131
84a42118
PB
501322011-01-27 Petr Baudis <pasky@suse.cz>
50133 Ulrich Drepper <drepper@gmail.com>
50134
071f805e 50135 [BZ 12445]#
84a42118
PB
50136 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50137 to extend_alloca().
50138 * stdio-common/bug23.c: New file.
50139 * stdio-common/Makefile (tests): Add bug23.
50140
e23fe25b
AS
501412010-09-28 Andreas Schwab <schwab@redhat.com>
50142 Ulrich Drepper <drepper@gmail.com>
50143
50144 [BZ #12489]
50145 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50146 before performing relro protection. At old place add assertion
50147 to make sure nothing changed.
50148
d3f02e10
NS
501492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50150 Glauber de Oliveira Costa <glommer@gmail.com>
50151
50152 * elf/elf.h: Add new ARM TLS relocs.
50153
d55fd7a5
RA
501542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50155
50156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50157 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50158 cast from r3.
50159 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50160 'tests' variable.
50161 * sysdeps/wordsize-64/tst-writev.c: New file.
50162
2206397e
RA
501632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50164
50165 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50166 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50167 insns in _dl_start to prevent a TOC reference before relocs are
50168 resolved.
50169
e9433893
UD
501702011-02-15 Ulrich Drepper <drepper@gmail.com>
50171
50172 [BZ #12469]
50173 * Makeconfig: Remove RANLIB definition.
50174 * Makerules: Don't use RANLIB.
50175 * aclocal.m4: Remove ranlib test.
50176 * configure.in: No need to check for ranlib.
50177 * elf/rtld-Rules: Don't use RANLIB.
50178
f75286c6
ST
501792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50180
8e31c82d
ST
50181 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50182 protection macro.
50183 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50184 inclusion protection macro.
50185
f75286c6
ST
50186 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50187 SIGRTMIN and SIGRTMAX and print information in that case only when
50188 SIGRTMIN is defined.
50189
c1d0e639
JJ
501902011-02-11 Jakub Jelinek <jakub@redhat.com>
50191
50192 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50193 arginfo fn returning -1.
50194
50195 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50196 and thousands string is zero terminated.
50197
edf9294e
AS
501982011-02-03 Andreas Schwab <schwab@redhat.com>
50199
50200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50201 sysdeps/unix/sysv/linux/bits/socket.h.
50202
2b7e92df
ST
502032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50204
edf9294e
AS
50205 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50206 (__CPU_COUNT): Remove old macros.
50207 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50208 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50209 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50210 (__sched_cpualloc, __sched_cpufree): Add declarations.
50211
a4c7ea7b
UD
502122011-02-05 Ulrich Drepper <drepper@gmail.com>
50213
50214 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50215 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50216 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50217 (readdhstai): Return value of addhstaiX call.
50218 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50219 (addgrbyX): Return value returned by cache_addgr.
50220 (readdgrbyname): Return value returned by addgrbyX.
50221 (readdgrbygid): Likewise.
50222 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50223 (addpwbyX): Return value returned by cache_addpw.
50224 (readdpwbyname): Return value returned by addhstbyX.
50225 (readdpwbyuid): Likewise.
50226 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50227 (addservbyX): Return value returned by cache_addserv.
50228 (readdservbyname): Return value returned by addservbyX:
50229 (readdservbyport): Likewise.
50230 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50231 (addhstbyX): Return value returned by cache_addhst.
50232 (readdhstbyname): Return value returned by addhstbyX.
50233 (readdhstbyaddr): Likewise.
50234 (readdhstbynamev6): Likewise.
50235 (readdhstbyaddrv6): Likewise.
50236 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50237 (readdinitgroups): Return value returned by addinitgroupsX.
50238 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50239 (prune_cache): Keep track of timeout value of re-added entries.
50240 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50241 * nscd/nscd.h: Adjust prototypes of readd* functions.
50242
a0bf67cc
RM
502432011-02-04 Roland McGrath <roland@redhat.com>
50244
50245 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50246 (nis_stats): Likewise.
50247 * nis/nis_modify.c (nis_modify): Likewise.
50248 * nis/nis_remove.c (nis_remove): Likewise.
50249 * nis/nis_add.c (nis_add): Likewise.
50250
50251 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50252
50253 * posix/fnmatch_loop.c: Add some consts.
50254
50255 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50256
435b95eb
L
502572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50258
50259 [BZ #12460]
50260 * config.make.in (config-cflags-novzeroupper): Define.
50261 * configure.in: Substitute libc_cv_cc_novzeroupper.
50262 * elf/Makefile (AVX-CFLAGS): Define.
50263 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50264 (CFLAGS-tst-auditmod4a.c): Likewise.
50265 (CFLAGS-tst-auditmod4b.c): Likewise.
50266 (CFLAGS-tst-auditmod6b.c): Likewise.
50267 (CFLAGS-tst-auditmod6c.c): Likewise.
50268 (CFLAGS-tst-auditmod7b.c): Likewise.
50269 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50270
8517b15e
UD
502712011-02-02 Ulrich Drepper <drepper@gmail.com>
50272
50273 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50274 function to the callback.
50275 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50276
10a656fe
AS
502772011-02-02 Andreas Schwab <schwab@redhat.com>
50278
50279 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50280 of errno.
50281
968dad0a
UD
502822011-01-19 Ulrich Drepper <drepper@gmail.com>
50283
9f94d2ea 50284 [BZ #11724]
968dad0a
UD
50285 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50286 of constructors.
50287 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50288 of destructors.
50289 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50290
50291 [BZ #11724]
50292 * elf/Makefile: Add rules to build and run new test.
50293 * elf/tst-initorder.c: New file.
50294 * elf/tst-initorder.exp: New file.
50295 * elf/tst-initordera1.c: New file.
50296 * elf/tst-initordera2.c: New file.
50297 * elf/tst-initordera3.c: New file.
50298 * elf/tst-initordera4.c: New file.
50299 * elf/tst-initorderb1.c: New file.
50300 * elf/tst-initorderb2.c: New file.
50301 * elf/tst-order-a1.c: New file.
50302 * elf/tst-order-a2.c: New file.
50303 * elf/tst-order-a3.c: New file.
50304 * elf/tst-order-a4.c: New file.
50305 * elf/tst-order-b1.c: New file.
50306 * elf/tst-order-b2.c: New file.
50307 * elf/tst-order-main.c: New file.
50308 New test case by George Gensure <werkt0@gmail.com>.
50309
86e92359
UD
503102010-10-01 Andreas Schwab <schwab@redhat.com>
50311
50312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50313 decoding ACE if AI_CANONIDN.
50314
5d5732b0
UD
503152011-01-18 Ulrich Drepper <drepper@gmail.com>
50316
50317 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50318
a77e8cbc
UD
503192011-01-17 Ulrich Drepper <drepper@gmail.com>
50320
6392473f
UD
50321 * version.h (RELEASE): Bump for 2.13 release.
50322 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50323
620a0529
UD
50324 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50325
18ba70a5
UD
50326 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50327 MADV_NOHUGEPAGE.
32465c3e
UD
50328 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50329 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50330 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50331 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50334
c0dafcf1
UD
50335 * posix/getconf.c: Update copyright year.
50336 * catgets/gencat.c: Likewise.
50337 * csu/version.c: Likewise.
50338 * debug/catchsegv.sh: Likewise.
50339 * debug/xtrace.sh: Likewise.
50340 * elf/ldconfig.c: Likewise.
50341 * elf/ldd.bash.in: Likewise.
50342 * elf/sprof.c (print_version): Likewise.
50343 * iconv/iconv_prog.c: Likewise.
50344 * iconv/iconvconfig.c: Likewise.
50345 * locale/programs/locale.c: Likewise.
50346 * locale/programs/localedef.c: Likewise.
50347 * malloc/memusage.sh: Likewise.
50348 * malloc/mtrace.pl: Likewise.
50349 * nscd/nscd.c (print_version): Likewise.
50350 * nss/getent.c: Likewise.
50351
a77e8cbc
UD
50352 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50353 PF_CAIF, and PF_ALG.
50354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50355
77e8bddf
AS
503562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50357
1f20b93a
AS
50358 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50359 (modules-names): Use them.
50360 (ifunc-test-modules, ifunc-pie-tests): Define.
50361 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50362 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50363 (test-extras): Likewise.
50364 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50365 $(compile-command.c).
50366 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50367 (all-built-dso): Define.
50368 (check-textrel.out, check-execstack.out): Depend on it.
50369
77e8bddf
AS
50370 * configure.in: Don't override --enable-multi-arch.
50371
bc425b33
UD
503722011-01-15 Ulrich Drepper <drepper@gmail.com>
50373
50374 [BZ #6812]
50375 * nscd/hstcache.c (tryagain): Define.
50376 (cache_addhst): Return tryagain not notfound for temporary errors.
50377 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50378 failed.
50379
794c3ad3
UD
503802011-01-14 Ulrich Drepper <drepper@gmail.com>
50381
70181fdd
UD
50382 [BZ #10563]
50383 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50384 to make the syscall.
50385 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50386
794c3ad3
UD
50387 [BZ #12378]
50388 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50389 and fall back to matching as normal character if the string ends before
50390 the matching ']' is found. This is what POSIX requires.
50391 * posix/testfnm.c: Adjust test result.
50392 * posix/globtest.sh: Adjust test result. Add new test.
50393 * posix/tst-fnmatch.input: Likewise.
50394 * posix/tst-fnmatch2.c: Add new test.
50395
68dc9497
AS
503962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50397
50398 * elf/Makefile (check-execstack): Revert last change. Depend on
50399 check-execstack.h.
50400 (check-execstack.h): New target.
50401 (generated): Add check-execstack.h.
50402 * elf/check-execstack.c: Include "check-execstack.h".
50403 (main): Revert last change.
50404 (handle_file): Return zero if GNU_STACK is absent and
50405 DEFAULT_STACK_PERMS doesn't include PF_X.
50406
451f001b
UD
504072011-01-13 Ulrich Drepper <drepper@gmail.com>
50408
cfa28e56
UD
50409 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50410 in child fails because the descriptor is already closed.
8cf8ce17
UD
50411 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50412 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50413 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50414
1086d70d
UD
50415 [BZ #12397]
50416 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50417 syscall.
50418
451f001b
UD
50419 [BZ #10484]
50420 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50421 temporary buffer used to handle multi lookups locally.
a85b5cb4 50422 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50423
08769175
UD
504242011-01-12 Ulrich Drepper <drepper@gmail.com>
50425
50426 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50427 loader is ld.so.
50428
5e49c52e
UD
504292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50430
50431 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50432 alignment for SSE2.
50433
60522a5f
UD
504342011-01-12 Ulrich Drepper <drepper@gmail.com>
50435
50436 [BZ #12394]
50437 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50438 characters. When rounding increased number of integer digits recompute
50439 number of groups.
50440 * stdio-common/tst-grouping.c: New file.
50441 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50442
f257bbd7
UD
504432011-01-09 Ulrich Drepper <drepper@gmail.com>
50444
50445 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50446 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50447
50448 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50449 void.
50450 * bits/select.h: Likewise.
50451
fa9c15cb
UD
504522011-01-08 Ulrich Drepper <drepper@gmail.com>
50453
50454 * po/ja.po: Update from translation team.
50455
16c2895f
DM
504562011-01-04 David S. Miller <davem@sunset.davemloft.net>
50457
50458 [BZ #11155]
50459 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50460 implementation just like for lxstat, fxstatat, et al.
50461
2543fef2
JM
504622010-12-27 Jim Meyering <meyering@redhat.com>
50463
50464 [BZ #12348]
50465 * posix/regexec.c (build_trtable): Return failure indication upon
50466 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50467
98727dbe
UD
504682010-12-25 Ulrich Drepper <drepper@gmail.com>
50469
5bd6dc5c
UD
50470 [BZ #12201]
50471 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50472 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50473 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50474 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50475
97983464
UD
50476 [BZ #12207]
50477 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50478
98727dbe
UD
50479 [BZ #12204]
50480 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50481 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50482
4a531bb0
L
504832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50484
50485 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50486 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50487 script has SORT_BY_INIT_PRIORITY.
50488 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50489 NO_CTORS_DTORS_SECTIONS is defined.
50490 * elf/soinit.c: Likewise.
50491 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50492 NO_CTORS_DTORS_SECTIONS is defined.
50493 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50494 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50495 * sysdeps/sh/init-first.c: Likewise.
50496 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50497
07eb4b71
UD
504982010-12-24 Ulrich Drepper <drepper@gmail.com>
50499
50500 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50501 always use the slow path.
50502
30950a5f
RA
505032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50504
50505 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50506 similar rule which adds the sysdep directories to the header search in
50507 order to pick up the correct platform stackinfo.h.
50508 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50509 perform test if it is, otherwise return successfully without testing.
50510 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50511 DEFAULT_STACK_PERMS define in stackinfo.h.
50512 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50513 defined in stackinfo.h.
50514 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50515 DEFAULT_STACK_PERMS defined in stackinfo.h.
50516 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50517 * sysdeps/ia64/stackinfo.h: Likewise.
50518 * sysdeps/s390/stackinfo.h: Likewise.
50519 * sysdeps/sh/stackinfo.h: Likewise.
50520 * sysdeps/sparc/stackinfo.h: Likewise.
50521 * sysdeps/x86_64/stackinfo.h: Likewise.
50522 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50523 PF_X for powerpc64. Retain PF_X for powerpc32.
50524
db753e2c
UD
505252010-12-19 Ulrich Drepper <drepper@gmail.com>
50526
14b697f7
UD
50527 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50528 accurately.
db753e2c
UD
50529 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50530 GETDENTS_64BIT_ALIGNED.
50531
28300719
UD
505322010-12-14 Ulrich Drepper <dreper@gmail.com>
50533
14b697f7 50534 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50535
4f197237
AS
505362010-12-10 Andreas Schwab <schwab@redhat.com>
50537
dbb0472f
AS
50538 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50539 _GNU_SOURCE.
50540
4f197237
AS
50541 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50542 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50543 Remove __restrict.
50544 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50545 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50546
fb88ac72
UD
505472010-12-09 Ulrich Drepper <drepper@gmail.com>
50548
50549 [BZ #11655]
50550 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50551 are initialized.
50552
42acbb92
JJ
505532010-12-09 Jakub Jelinek <jakub@redhat.com>
50554
50555 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50556
c038d98d
UD
505572010-12-03 Ulrich Drepper <drepper@gmail.com>
50558
50559 * po/it.po: Update from translation team.
50560
3a4a2499
L
505612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50562
50563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50564 unused codes.
50565
1e24cf6e
UD
505662010-11-30 Ulrich Drepper <drepper@gmail.com>
50567
50568 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50569
a7690819
AS
505702010-11-24 Andreas Schwab <schwab@redhat.com>
50571
50572 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50573 specially.
50574 (gaih_getanswer_slice): Likewise.
50575
3bf8d1b1
JJ
505762010-10-20 Jakub Jelinek <jakub@redhat.com>
50577
50578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50579
6db52fbb
PB
505802010-05-31 Petr Baudis <pasky@suse.cz>
50581
50582 [BZ #11149]
50583 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50584 silently even in the chroot mode.
50585
eaca7569
UD
505862010-11-22 Ulrich Drepper <drepper@gmail.com>
50587
50588 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50589 last patch a bit. Pretty printing
50590
3056dcdb
UD
505912010-05-31 Petr Baudis <pasky@suse.cz>
50592
50593 [BZ #10085]
50594 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50595 initialization of skip_initgroups_dyn.
50596
cf7c9078
UD
505972010-11-19 Ulrich Drepper <drepper@gmail.com>
50598
50599 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50600 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50601
a1fb5e3e
UD
506022010-11-16 Ulrich Drepper <drepper@gmail.com>
50603
50604 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50605
3540d66b
AS
506062010-11-11 Andreas Schwab <schwab@redhat.com>
50607
50608 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50609 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50610 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50611 ($(objpfx)tst-fnmatch-mem): New rule.
50612 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50613 * posix/tst-fnmatch.c (main): Call mtrace.
50614
13b69574
L
506152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50616
50617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50618 Support Intel processor model 6 and model 0x2c.
50619
da93d214
LM
506202010-11-10 Luis Machado <luisgpm@br.ibm.com>
50621
50622 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50623 signed comparison.
50624
8ca52c6e
L
506252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50626
50627 [BZ #12205]
50628 * string/test-strncasecmp.c (check_result): New function.
50629 (do_one_test): Use it.
50630 (check1): New function.
50631 (test_main): Use it.
50632 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50633 Support strcasecmp and strncasecmp.
50634
69da074d
UD
506352010-11-08 Ulrich Drepper <drepper@gmail.com>
50636
50637 [BZ #12194]
50638 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50639 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50640
ff02d528
L
506412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50642
50643 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50644 IFUNC support.
50645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50646 memset-x86-64.
50647 * sysdeps/x86_64/multiarch/bzero.S: New file.
50648 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50649 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50650 * sysdeps/x86_64/multiarch/memset.S: New file.
50651 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50653 Set bit_Prefer_SSE_for_memop for Intel processors.
50654 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50655 Define.
50656 (index_Prefer_SSE_for_memop): Define.
50657 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50658
344d0b54
LM
506592010-11-04 Luis Machado <luisgpm@br.ibm.com>
50660
50661 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50662 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50663
c0dde15b
UD
506642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50665
50666 [BZ #12191]
50667 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50668 (__x86_64_raw_data_cache_size_half): Likewise.
50669 (__x86_64_raw_shared_cache_size): Likewise.
50670 (__x86_64_raw_shared_cache_size_half): Likewise.
50671
50672 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50673 (__x86_64_raw_data_cache_size_half): Likewise.
50674 (__x86_64_raw_shared_cache_size): Likewise.
50675 (__x86_64_raw_shared_cache_size_half): Likewise.
50676 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50677 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50678 and __x86_64_raw_shared_cache_size_half. Round
50679 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50680 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50681 to multiple of 256 bytes.
50682
0e516e0e
MS
506832010-11-03 Ulrich Drepper <drepper@gmail.com>
50684
50685 [BZ #12167]
50686 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50687 of inacessible symlinks. Verify result of symlink before returning it.
50688 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50689 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50690
0e012e87
ER
506912010-10-28 Erich Ritz <erichritz@gmail.com>
50692
50693 * math/math.h (isinf): Fix typo in comment.
50694
de0ff7bc
UD
506952010-11-01 Ulrich Drepper <drepper@gmail.com>
50696
50697 * po/da.po: Update from translation team.
50698
fa41c84d
UD
506992010-10-26 Ulrich Drepper <drepper@gmail.com>
50700
50701 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50702 is added to the list.
50703
f0967738
AK
507042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50705 Ulrich Drepper <drepper@gmail.com>
50706
50707 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50708 the global list here. Move code to...
50709 (_dl_add_to_namespace_list): ...here. New function.
50710 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50711 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50712 * elf/dl-load.c (lose): Don't remove the element from the list.
50713 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50714 (_dl_map_object): Likewise.
50715
507162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50717
50718 [BZ #12159]
50719 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50720 into all bytes of SSE register.
50721 Patch by Richard Li <richardpku@gmail.com>.
50722
f0967738 507232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50724
50725 [BZ #12140]
50726 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50727 perturbing.
50728
d0b9e94f
MB
507292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50730
50731 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50732 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50733 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50734 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50736 submachine.
50737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50738
8e9f92e9
AS
507392010-10-22 Andreas Schwab <schwab@redhat.com>
50740
50741 * include/dlfcn.h (__RTLD_SECURE): Define.
50742 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50743 mode & __RTLD_SECURE instead.
50744 (open_path): Rename preloaded parameter to secure.
50745 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50746 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50747 * elf/dl-deps.c (openaux): Likewise.
50748 * elf/rtld.c (struct map_args): Remove is_preloaded.
50749 (map_doit): Don't use it.
50750 (dl_main): Likewise.
50751 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50752 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50753
bc96fbda
AS
507542010-09-09 Andreas Schwab <schwab@redhat.com>
50755
50756 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50757 (sysd-rules-targets): Remove duplicates.
50758 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50759 rtld-%.$o dependency.
50760
22cd1c9b
AS
507612010-10-18 Andreas Schwab <schwab@redhat.com>
50762
50763 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50764 _dl_map_object do it.
50765
18edac48
UD
507662010-10-19 Ulrich Drepper <drepper@gmail.com>
50767
50768 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50769 fast fma builtins, define the macros in the C99 standard.
50770 (FP_FAST_FMAF): Likewise.
50771 (FP_FAST_FMAL): Likewise.
50772 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50773
50774 * bits/mathdef.h: Update copyright year.
50775 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50776
d2050124
MM
507772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50778
50779 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50780 builtins, define the macros in the C99 standard.
50781 (FP_FAST_FMAF): Likewise.
50782 (FP_FAST_FMAL): Likewise.
50783 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50784 multiply/add.
50785 (FP_FAST_FMAF): Likewise.
50786
475facd1
JJ
507872010-10-15 Jakub Jelinek <jakub@redhat.com>
50788
50789 [BZ #3268]
50790 * math/libm-test.inc (fma_test): Some new testcases.
50791 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50792 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50793 y and infinite z. Do multiplication by C already in long double.
50794 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50796 y and infinite z. Do bitwise or of inexact bit into u.d.
50797 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50798 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50799 * sysdeps/i386/fpu/s_fma.S: Removed.
50800 * sysdeps/i386/fpu/s_fmal.S: Removed.
50801
7c08a05c
JJ
508022010-10-16 Jakub Jelinek <jakub@redhat.com>
50803
50804 [BZ #3268]
50805 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50807 computation is not scheduled after fetestexcept. Fix value
50808 of minimum denormal long double.
50809
f3f7372d
JJ
508102010-10-14 Jakub Jelinek <jakub@redhat.com>
50811
50812 [BZ #3268]
50813 * math/libm-test.inc (fma_test): Add some more tests.
50814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50815 correctly.
50816
14d43591
AS
508172010-10-15 Andreas Schwab <schwab@redhat.com>
50818
50819 * scripts/data/localplt-s390-linux-gnu.data: New file.
50820 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50821
5e908464
JJ
508222010-10-13 Jakub Jelinek <jakub@redhat.com>
50823
50824 [BZ #3268]
50825 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50826 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50827 instead of dbl-64.
50828 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50829 inlines.
50830 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50832 if one of x and y is very large and the other is subnormal.
50833 * sysdeps/s390/fpu/s_fmaf.c: New file.
50834 * sysdeps/s390/fpu/s_fma.c: New file.
50835 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50836 * sysdeps/powerpc/fpu/s_fma.S: New file.
50837 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50838 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50839 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50840
508412010-10-12 Jakub Jelinek <jakub@redhat.com>
50842
50843 [BZ #3268]
50844 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50845 fma tests.
50846 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50847 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50848 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50849 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50850 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50851 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50852 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50853
b833d51f
UD
508542010-10-12 Ulrich Drepper <drepper@redhat.com>
50855
50856 [BZ #12078]
50857 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50858 * posix/bug-regex31.input: Add test case.
50859
1751705d
UD
508602010-10-11 Ulrich Drepper <drepper@gmail.com>
50861
e9b9cbf5
UD
50862 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50863 * posix/bug-regex31.input: New file.
50864
50865 [BZ #12078]
50866 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50867 (parse_sub_exp): Fix last change, use postorder.
50868
ef06edbe
UD
50869 * posix/bug-regex31.c: New file.
50870 * posix/Makefile: Add rules to build and run bug-regex31.
50871
a129c80d
UD
50872 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50873
50874 [BZ #12078]
50875 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50876
b76b818e
UD
50877 [BZ #12108]
50878 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50879 to have entries in sys_siglist.
50880
1751705d
UD
50881 [BZ #12093]
50882 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50883 be NULL.
50884
9ff8d36f
JJ
508852010-10-07 Jakub Jelinek <jakub@redhat.com>
50886
50887 [BZ #3268]
50888 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50889 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50890 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50891 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50892 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50893 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50894 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50895 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50896 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50897 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50898 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50899 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50900 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50901 * math/ftestexcept.c (fetestexcept): Likewise.
50902 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50903 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50904 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50905 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50906 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50907 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50908 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50909
af325969
UD
509102010-10-11 Ulrich Drepper <drepper@gmail.com>
50911
c579b202 50912 [BZ #12107]
af325969
UD
50913 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50914 newline.
50915
67a67b95
UD
509162010-10-06 Ulrich Drepper <drepper@gmail.com>
50917
50918 * string/bug-strstr1.c: New file.
50919 * string/Makefile: Add rules to build and run bug-strstr1.
50920
5fb308bc
EB
509212010-10-05 Eric Blake <eblake@redhat.com>
50922
50923 [BZ #12092]
50924 * string/str-two-way.h (two_way_long_needle): Always clear memory
50925 when skipping input due to the shift table.
50926
45db99c7
UD
509272010-10-03 Ulrich Drepper <drepper@gmail.com>
50928
3b111893
UD
50929 [BZ #12005]
50930 * malloc/mcheck.c: Handle large requests.
50931
45db99c7
UD
50932 [BZ #12077]
50933 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50934 for strncmp and strncasecmp.
50935 * string/stratcliff.c: Add tests for strcmp and strncmp.
50936 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50937
cf7a1eb8
NI
509382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50939
50940 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50941 __set_fpscr.
50942
6484ba5e
AJ
509432010-09-30 Andreas Jaeger <aj@suse.de>
50944
50945 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50946 (CGROUP_SUPER_MAGIC): Define.
50947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50948 Handle btrfs and cgroup file systems.
50949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50950 Likewise.
50951
91c42559
LM
509522010-09-27 Luis Machado <luisgpm@br.ibm.com>
50953
50954 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50955 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50956
87a97932
AK
509572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50958
50959 [BZ #12067]
50960 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50961 trying to locate the ELF header.
50962
c21cc9bc
AS
509632010-09-27 Andreas Schwab <schwab@redhat.com>
50964
50965 [BZ #11611]
50966 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50967 Mask out sign-bit copies when constructing f_fsid.
50968
315970f6
PB
509692010-09-24 Petr Baudis <pasky@suse.cz>
50970
50971 * debug/stack_chk_fail_local.c: Add missing licence exception.
50972 * debug/warning-nop.c: Likewise.
50973
1ac7a2c7
JM
509742010-09-15 Joseph Myers <joseph@codesourcery.com>
50975
50976 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50977 implementing getdents64 using getdents syscall, set d_type if
50978 __ASSUME_GETDENTS32_D_TYPE.
50979
56801c50
AS
509802010-09-16 Andreas Schwab <schwab@redhat.com>
50981
50982 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50983 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50984
dda51327
UD
509852010-09-21 Ulrich Drepper <drepper@redhat.com>
50986
50987 [BZ #12037]
50988 * posix/unistd.h: Undo change of feature selection for ftruncate from
50989 2010-01-11.
50990
8ffcee4a
UD
509912010-09-20 Ulrich Drepper <drepper@redhat.com>
50992
a545ecd9 50993 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50994 detection.
50995
e24f0a8b
AS
509962010-09-20 Andreas Schwab <schwab@redhat.com>
50997
50998 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50999 fanotify_mark.
51000 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51001
7291c56f
AS
510022010-09-14 Andreas Schwab <schwab@redhat.com>
51003
51004 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51005 variables after CHECK_SP call.
51006 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51007
bc5fb037
AS
510082010-09-13 Andreas Schwab <schwab@redhat.com>
51009 Ulrich Drepper <drepper@redhat.com>
51010
51011 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51012 re-relocationg ld.so.
51013 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51014 _dl_init_paths call.
51015 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51016 here anymore.
51017
e66e7419
UD
510182010-09-14 Ulrich Drepper <drepper@redhat.com>
51019
51020 * resolv/res_init.c (__res_vinit): Count the default server we added.
51021
c044aa75
CLT
510222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51023 Ulrich Drepper <drepper@redhat.com>
51024
51025 [BZ #11968]
51026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51027 (____longjmp_chk): Use %ebx for saving value across system call.
51028 Add unwind info.
51029
32cf4069
AS
510302010-09-06 Andreas Schwab <schwab@redhat.com>
51031
51032 * manual/Makefile: Don't mix pattern rules with normal rules.
51033
817328ee
AS
510342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51035
51036 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51037 operation.
51038 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51039 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51040 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51041 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51043 Likewise.
51044
29fddf61
UD
510452010-09-04 Ulrich Drepper <drepper@redhat.com>
51046
51047 [BZ #11979]
51048 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51049 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51050
0959ffc9
UD
510512010-09-02 Ulrich Drepper <drepper@redhat.com>
51052
51053 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51054 * sysdeps/x86_64/addmul_1.S: Likewise.
51055 * sysdeps/x86_64/lshift.S: Likewise.
51056 * sysdeps/x86_64/mul_1.S: Likewise.
51057 * sysdeps/x86_64/rshift.S: Likewise.
51058 * sysdeps/x86_64/sub_n.S: Likewise.
51059 * sysdeps/x86_64/submul_1.S: Likewise.
51060
ece29840
ST
510612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51062
0959ffc9
UD
51063 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51064 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51065 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51066 * bits/sched.h [__need_schedparam]
ece29840 51067 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51068 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51069 (__defined_schedparam): Define to 1.
ece29840
ST
51070 (__sched_param): New structure, identical to sched_param.
51071 (__need_schedparam): Undefine.
51072
e53a31fe
MF
510732010-08-31 Mike Frysinger <vapier@gentoo.org>
51074
fdc0c10d
MF
51075 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51076 (epoll_create1): Declare.
51077
e53a31fe
MF
51078 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51079
a726d796
AS
510802010-08-31 Andreas Schwab <schwab@redhat.com>
51081
51082 [BZ #7066]
51083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51084 shifting retval into place.
51085
2f3e3dc7
UD
510862010-09-01 Ulrich Drepper <drepper@redhat.com>
51087
f2933da9
UD
51088 * nis/rpcsvc/nis.h: Update copyright notice.
51089 * nis/rpcsvc/nis.x: Likewise.
51090 * nis/rpcsvc/nis_callback.h: Likewise.
51091 * nis/rpcsvc/nis_callback.x: Likewise.
51092 * nis/rpcsvc/nis_object.x: Likewise.
51093 * nis/rpcsvc/nis_tags.h: Likewise.
51094 * nis/rpcsvc/yp.h: Likewise.
51095 * nis/rpcsvc/yp.x: Likewise.
51096 * nis/rpcsvc/ypupd.h: Likewise.
51097 * nis/yp_xdr.c: Likewise.
51098 * nis/ypupdate_xdr.c: Likewise.
51099
2f3e3dc7
UD
51100 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51101 mainly the body of pmap_getport. Add parameters to specify timeouts.
51102 (pmap_getport): Use __libc_rpc_getport.
51103 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51104 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51105 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51106
f3dcc2f9
AS
511072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51108
51109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51110 fanotify_mark.
51111
6d34eb5b
RM
511122010-08-27 Roland McGrath <roland@redhat.com>
51113
51114 * sysdeps/i386/i686/multiarch/Makefile
51115 (CFLAGS-varshift.c): New variable.
51116
9ea3de11
UD
511172010-08-27 Ulrich Drepper <drepper@redhat.com>
51118
c96d23fc
UD
51119 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51120 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51121
9ea3de11
UD
51122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51123
51124 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51125
623aac7f
L
511262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51127
51128 * sysdeps/x86_64/strlen.S: Unroll the loop.
51129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51130 strlen-sse2 strlen-sse2-bsf.
51131 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51132 __strlen_no_bsf if bit_Slow_BSF is set.
51133 (__strlen_sse42): Removed.
51134 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51135 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51136
8b2b7715
RM
511372010-08-25 Roland McGrath <roland@redhat.com>
51138
51139 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51140 * sysdeps/x86_64/multiarch/varshift.c: New file.
51141 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51142 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51143 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51144 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51145
e73015f2
L
511462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51147
51148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51149 strlen-sse2 strlen-sse2-bsf.
51150 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51151 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51152 (__strlen_sse2): Removed.
51153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51156 bit_Slow_BSF for Atom.
51157 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51158 (index_Slow_BSF): Define.
51159 (HAS_SLOW_BSF): Define.
51160
df24a73e
UD
511612010-08-25 Ulrich Drepper <drepper@redhat.com>
51162
51163 [BZ #10851]
51164 * resolv/res_init.c (__res_vinit): When no server address at all
51165 is given default to loopback.
51166
f2ac4868
RM
511672010-08-24 Roland McGrath <roland@redhat.com>
51168
09055553
RM
51169 * configure.in: Remove config-name.h generation.
51170 * configure: Regenerated.
51171 * config-name.in: File removed.
51172 * scripts/config-uname.sh: New file.
51173 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51174 ($(objdir)config-name.h): New target.
51175
f2ac4868
RM
51176 * sunrpc/rpc_parse.h: Avoid nested comment.
51177
73f27d5e
RH
511782010-08-24 Richard Henderson <rth@redhat.com>
51179 Ulrich Drepper <drepper@redhat.com>
51180 H.J. Lu <hongjiu.lu@intel.com>
51181
51182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51184 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51185 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51186 _mm_alignr_epi8 with _mm_loadu_si128.
51187 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51188 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51189 (__m128i_shift_right): Removed.
51190 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51191 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51192 * sysdeps/x86_64/multiarch/varshift.h: New file.
51193 * sysdeps/x86_64/multiarch/varshift.S: New file.
51194
84b9230c
MF
511952010-08-21 Mike Frysinger <vapier@gentoo.org>
51196
51197 * configure.in: Move assembler checks to before sysdep dir checking.
51198
9bbd0ddc
PB
511992010-08-20 Petr Baudis <pasky@suse.cz>
51200
51201 * LICENSES: Sync the sunrpc license.
51202
9da4bb31
UD
512032010-08-19 Ulrich Drepper <drepper@redhat.com>
51204
a7ab6ec8
UD
51205 * sunrpc/auth_des.c: Update copyright notice once again.
51206 * sunrpc/auth_none.c: Likewise.
51207 * sunrpc/auth_unix.c: Likewise.
51208 * sunrpc/authdes_prot.c: Likewise.
51209 * sunrpc/authuxprot.c: Likewise.
51210 * sunrpc/bindrsvprt.c: Likewise.
51211 * sunrpc/clnt_gen.c: Likewise.
51212 * sunrpc/clnt_perr.c: Likewise.
51213 * sunrpc/clnt_raw.c: Likewise.
51214 * sunrpc/clnt_simp.c: Likewise.
51215 * sunrpc/clnt_tcp.c: Likewise.
51216 * sunrpc/clnt_udp.c: Likewise.
51217 * sunrpc/clnt_unix.c: Likewise.
51218 * sunrpc/des_crypt.c: Likewise.
51219 * sunrpc/des_soft.c: Likewise.
51220 * sunrpc/get_myaddr.c: Likewise.
51221 * sunrpc/getrpcport.c: Likewise.
51222 * sunrpc/key_call.c: Likewise.
51223 * sunrpc/key_prot.c: Likewise.
51224 * sunrpc/openchild.c: Likewise.
51225 * sunrpc/pm_getmaps.c: Likewise.
51226 * sunrpc/pm_getport.c: Likewise.
51227 * sunrpc/pmap_clnt.c: Likewise.
51228 * sunrpc/pmap_prot.c: Likewise.
51229 * sunrpc/pmap_prot2.c: Likewise.
51230 * sunrpc/pmap_rmt.c: Likewise.
51231 * sunrpc/rpc/auth.h: Likewise.
51232 * sunrpc/rpc/auth_unix.h: Likewise.
51233 * sunrpc/rpc/clnt.h: Likewise.
51234 * sunrpc/rpc/des_crypt.h: Likewise.
51235 * sunrpc/rpc/key_prot.h: Likewise.
51236 * sunrpc/rpc/netdb.h: Likewise.
51237 * sunrpc/rpc/pmap_clnt.h: Likewise.
51238 * sunrpc/rpc/pmap_prot.h: Likewise.
51239 * sunrpc/rpc/pmap_rmt.h: Likewise.
51240 * sunrpc/rpc/rpc.h: Likewise.
51241 * sunrpc/rpc/rpc_des.h: Likewise.
51242 * sunrpc/rpc/rpc_msg.h: Likewise.
51243 * sunrpc/rpc/svc.h: Likewise.
51244 * sunrpc/rpc/svc_auth.h: Likewise.
51245 * sunrpc/rpc/types.h: Likewise.
51246 * sunrpc/rpc/xdr.h: Likewise.
51247 * sunrpc/rpc_clntout.c: Likewise.
51248 * sunrpc/rpc_cmsg.c: Likewise.
51249 * sunrpc/rpc_common.c: Likewise.
51250 * sunrpc/rpc_cout.c: Likewise.
51251 * sunrpc/rpc_dtable.c: Likewise.
51252 * sunrpc/rpc_hout.c: Likewise.
51253 * sunrpc/rpc_main.c: Likewise.
51254 * sunrpc/rpc_parse.c: Likewise.
51255 * sunrpc/rpc_parse.h: Likewise.
51256 * sunrpc/rpc_prot.c: Likewise.
51257 * sunrpc/rpc_sample.c: Likewise.
51258 * sunrpc/rpc_scan.c: Likewise.
51259 * sunrpc/rpc_scan.h: Likewise.
51260 * sunrpc/rpc_svcout.c: Likewise.
51261 * sunrpc/rpc_tblout.c: Likewise.
51262 * sunrpc/rpc_util.c: Likewise.
51263 * sunrpc/rpc_util.h: Likewise.
51264 * sunrpc/rpcinfo.c: Likewise.
51265 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51266 * sunrpc/rpcsvc/key_prot.x: Likewise.
51267 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51268 * sunrpc/rpcsvc/mount.x: Likewise.
51269 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51270 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51271 * sunrpc/rpcsvc/rex.x: Likewise.
51272 * sunrpc/rpcsvc/rstat.x: Likewise.
51273 * sunrpc/rpcsvc/rusers.x: Likewise.
51274 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51275 * sunrpc/rpcsvc/spray.x: Likewise.
51276 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51277 * sunrpc/rtime.c: Likewise.
51278 * sunrpc/svc.c: Likewise.
51279 * sunrpc/svc_auth.c: Likewise.
51280 * sunrpc/svc_authux.c: Likewise.
51281 * sunrpc/svc_raw.c: Likewise.
51282 * sunrpc/svc_run.c: Likewise.
51283 * sunrpc/svc_simple.c: Likewise.
51284 * sunrpc/svc_tcp.c: Likewise.
51285 * sunrpc/svc_udp.c: Likewise.
51286 * sunrpc/svc_unix.c: Likewise.
51287 * sunrpc/svcauth_des.c: Likewise.
51288 * sunrpc/xcrypt.c: Likewise.
51289 * sunrpc/xdr.c: Likewise.
51290 * sunrpc/xdr_array.c: Likewise.
51291 * sunrpc/xdr_float.c: Likewise.
51292 * sunrpc/xdr_mem.c: Likewise.
51293 * sunrpc/xdr_rec.c: Likewise.
51294 * sunrpc/xdr_ref.c: Likewise.
51295 * sunrpc/xdr_sizeof.c: Likewise.
51296 * sunrpc/xdr_stdio.c: Likewise.
51297
9da4bb31
UD
51298 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51299 handling.
51300
bdaa77bc
AS
513012010-08-19 Andreas Schwab <schwab@redhat.com>
51302
51303 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51304
fe2f79db
LM
513052010-08-19 Luis Machado <luisgpm@br.ibm.com>
51306
51307 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51309 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51310 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51311 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51312 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51313 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51314 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51315 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51316 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51317 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51318 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51319 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51320 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51321
b9b42ee0
AB
513222010-07-26 Anton Blanchard <anton@samba.org>
51323
51324 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51325 * malloc/arena.c (heap_trim): Likewise.
51326
1c06ba31
UD
513272010-08-16 Ulrich Drepper <drepper@redhat.com>
51328
51329 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51330 here. Not...
51331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51332 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51333
f8392f40
L
513342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51335
51336 * sysdeps/i386/elf/Makefile: New file.
51337
3162f12e
AS
513382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51339
51340 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51341 from fanotify_init.
51342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51343 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51344
28c90b2c
UD
513452010-08-15 Ulrich Drepper <drepper@redhat.com>
51346
51347 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51348 of strncasecmp_l.
1feccb6c 51349 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51350
ca6bb004
UD
513512010-08-14 Ulrich Drepper <drepper@redhat.com>
51352
e9f82e0d
UD
51353 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51354 strncase_l-nonascii.
51355 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51356 Add strncase_l-ssse3.
51357 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51358 * sysdeps/x86_64/strcmp.S: Likewise.
51359 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51360 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51361 * sysdeps/x86_64/strncase.S: New file.
51362 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51363 * sysdeps/x86_64/strncase_l.S: New file.
51364 * string/Makefile (strop-tests): Add strncasecmp.
51365 * string/test-strncasecmp.c: New file.
51366
51367 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51368 warning.
51369
ca6bb004
UD
51370 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51371 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51372
052fa7b3
AS
513732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51374
51375 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51376
962dba78
UD
513772010-08-12 Ulrich Drepper <drepper@redhat.com>
51378
51379 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51380 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51381 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51382
bebff237
AM
513832010-05-01 Alan Modra <amodra@gmail.com>
51384
51385 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51386 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51387 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51388 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51389 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51390 tidying. Don't tail-call __sigjmp_save for static lib.
51391 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51392 save location.
51393 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51394 (CALL_MCOUNT): Add eh info, and nop after bl.
51395 (TAIL_CALL_SYSCALL_ERROR): New macro.
51396 (PSEUDO_RET): Use it.
51397 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51398 Correct save location of integer regs and cr.
51399 (_dl_profile_resolve): Correct cr save location. Delete nops
51400 after bl when SHARED. Reduce cfi size a little by better
51401 placement of cfi directives.
51402 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51403 make a stack frame. Instead use parm save area as a temp.
51404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51405 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51407 Don't make a stack frame for parent, use parm save area.
51408 Increase child stack frame to 112 bytes. Don't save unused reg,
51409 and adjust reg usage. Set up cfi on error recovery and
51410 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51412 (__makecontext): Add dummy nop after jump to exit.
51413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51414 Use correct parm save area and cr save, reduce stack frame.
51415 Correct cfi for possible PSEUDO_RET frame setup.
51416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51417 Branch to local label emitted by PSEUDO_RET rather than
51418 __syscall_error.
51419
02637374
AS
514202010-08-12 Andreas Schwab <schwab@redhat.com>
51421
51422 [BZ #11904]
51423 * locale/programs/locale.c (print_assignment): New function.
51424 (show_locale_vars): Use it.
51425
c3e2f19b
UD
514262010-08-11 Ulrich Drepper <drepper@redhat.com>
51427
3cdaa6ad
UD
51428 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51429 field.
51430 (struct statfs64): Likewise.
51431 (_STATFS_F_FLAGS): Define.
51432 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51433 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51434 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51435 (ST_VALID): Define locally.
51436 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51437 __statvfs_getflags, use the provided value.
51438 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51439 __ASSUME_STATFS_F_FLAGS.
51440
754f7da3
UD
51441 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51442
10b3bedc
UD
51443 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51444 Add sys/fanotify.h.
51445 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51446 fanotify_mask for GLIBC_2.13.
51447 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51448 fanotify_init and fanotify_mark.
51449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51450 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51451
c08fb0d7
UD
51452 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51453 Add prlimit.
51454 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51455 prlimit64 for GLIBC_2.13.
51456 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51457 prlimit64.
51458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51459 syscall.
51460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51461 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51462 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51463 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51465 add prlimit alias.
51466 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51467
15bac72b
UD
51468 [BZ #11903]
51469 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51470 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51471
c3e2f19b
UD
51472 * nss/Makefile: Add rules to build and run tst-nss-test1.
51473 * shlib-versions: Add entry for libnss_test1.
51474 * nss/nss_test1.c: New file.
51475 * nss/tst-nss-test1.c: New file.
51476
51477 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51478 (__nss_configure_lookup): Set appropriate entry in
51479 __nss_configure_lookup to true.
51480 * nss/nsswitch.h: Define enum with indeces of databases in
51481 databases and __nss_database_custom arrays. Declare
51482 __nss_database_custom.
51483 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51484 to avoid using nscd when custom rules are installed.
51485 * nss/getXXbyYY_r.c: Likewise.
51486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51487
51488 * nss/nss_files/files-parse.c: Whitespace fixes.
51489
f15ce4d8
UD
514902010-08-09 Ulrich Drepper <drepper@redhat.com>
51491
51492 [BZ #11883]
51493 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51494 * posix/fnmatch_loop.c: Likewise.
51495
d22e4cc9
AK
514962010-07-17 Andi Kleen <ak@linux.intel.com>
51497
51498 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51499 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51500 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51501 * Versions.def [GLIBC_2.13]: Add.
51502
805bc17d
UD
515032010-08-06 Ulrich Drepper <drepper@redhat.com>
51504
51505 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51506 Also fail if tpwd after pwuid call is NULL.
51507
5a42321d
ST
515082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51509
51510 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51511 when converting to ms.
51512
fd3ebeda
ST
515132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51514
51515 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51516 EOPNOTSUPP errors with ENOTTY.
51517 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51518 EOPNOTSUPP errors with ENOTTY.
51519
73507d3a
UD
515202010-07-31 Ulrich Drepper <drepper@redhat.com>
51521
51522 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51523 Add strcasecmp_l-ssse3.
51524 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51525 strcasecmp.
51526 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51527 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51528 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51529
fe36dd02
UD
515302010-07-30 Ulrich Drepper <drepper@redhat.com>
51531
66f6765a
UD
51532 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51533
42e08a54
UD
51534 * string/Makefile (strop-tests): Add strcasecmp.
51535 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51536 strcasecmp_l-nonascii.
51537 (gen-as-const-headers): Add locale-defines.sym.
51538 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51539 * sysdeps/x86_64/strcasecmp.S: New file.
51540 * sysdeps/x86_64/strcasecmp_l.S: New file.
51541 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51542 * sysdeps/x86_64/locale-defines.sym: New file.
51543 * string/test-strcasecmp.c: New file.
51544
fe36dd02
UD
51545 * string/test-strcasestr.c: Test both ends of the range of characters.
51546 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51547
48cbc0d6
RM
515482010-07-29 Roland McGrath <roland@redhat.com>
51549
76e6d6bc 51550 [BZ #11856]
48cbc0d6
RM
51551 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51552
880113d9
UD
515532010-07-27 Ulrich Drepper <drepper@redhat.com>
51554
51555 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51556 for ld.so.
51557
deb9cabb
AS
515582010-07-27 Andreas Schwab <schwab@redhat.com>
51559
51560 * manual/memory.texi (Malloc Tunable Parameters): Document
51561 M_PERTURB.
51562
1c7570ff
RM
515632010-07-26 Roland McGrath <roland@redhat.com>
51564
51565 [BZ #11840]
51566 * configure.in (-fgnu89-inline check): Set and substitute
51567 gnu89_inline, not libc_cv_gnu89_inline.
51568 * configure: Regenerated.
51569 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51570
24fb0f88
UD
515712010-07-26 Ulrich Drepper <drepper@redhat.com>
51572
51573 * string/test-strnlen.c: New file.
51574 * string/Makefile (strop-tests): Add strnlen.
51575 * string/tester.c (test_strnlen): Add a few more test cases.
51576 * string/tst-strlen.c: Better error reporting.
51577
51578 * sysdeps/x86_64/strnlen.S: New file.
51579
8e96b93a
UD
515802010-07-24 Ulrich Drepper <drepper@redhat.com>
51581
51582 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51583 lower-latency instructions.
51584
dbc676d4
UD
515852010-07-23 Ulrich Drepper <drepper@redhat.com>
51586
51587 * string/test-strcasestr.c: New file.
51588 * string/test-strstr.c: New file.
51589 * string/Makefile (strop-tests): Add strstr and strcasestr.
51590 * string/str-two-way.h: Don't undefine MAX.
51591 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51592
f6a31e0e
AS
515932010-07-21 Andreas Schwab <schwab@redhat.com>
51594
51595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51596 strcasestr-nonascii.
51597 (CFLAGS-strcasestr-nonascii.c): Define.
51598 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51599 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51600 Remove unused attribute.
51601
5dbc3b6c
RM
516022010-07-20 Roland McGrath <roland@redhat.com>
51603
51604 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51605 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51606 ld.so.cache was broken. With it, there is no way to disable dsocaps
51607 like LD_HWCAP_MASK can disable hwcaps.
51608
23d101d8
EPM
516092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51610
51611 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51612
cc9f2e47
UD
516132010-07-16 Ulrich Drepper <drepper@redhat.com>
51614
51615 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51616 call in strcasestr.
51617 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51618 __strcasestr_sse42_nonascii.
51619 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51620 strcasestr-nonascii.c.
51621 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51622
77c1b069
LM
516232010-06-15 Luis Machado <luisgpm@br.ibm.com>
51624
51625 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51626 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51629
440566c3
UD
516302010-07-09 Ulrich Drepper <drepper@redhat.com>
51631
51632 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51633 fcntl.
51634
5be9d05d
AS
516352010-07-06 Andreas Schwab <schwab@redhat.com>
51636
c30b7ee2 51637 [BZ #11577]
5be9d05d
AS
51638 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51639 dl_signal_cerror.
51640
8a492a67
UD
516412010-07-06 Ulrich Drepper <drepper@redhat.com>
51642
51643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51644 _PC_PIPE_BUF using F_GETPIPE_SZ.
51645
713df3d5
RM
516462010-07-05 Roland McGrath <roland@redhat.com>
51647
51648 * manual/arith.texi (Rounding Functions): Fix rint description
51649 implicit in round description.
51650
702e8f14
UD
516512010-07-02 Ulrich Drepper <drepper@redhat.com>
51652
51653 * elf/Makefile: Fix linking for a few tests to make recent linker
51654 happy.
51655
52ed8be9
AS
516562010-06-30 Andreas Schwab <schwab@redhat.com>
51657
51658 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51659 $(common-objpfx)libc_nonshared.a.
51660
f47c9a11
LM
516612010-06-21 Luis Machado <luisgpm@br.ibm.com>
51662
51663 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51664 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51665 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51666 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51667 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51668 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51669 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51670 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51685 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51686 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51687 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51688 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51689 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51690 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51691 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51692 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51693 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51694 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51695 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51696 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51711
6fb8cbcb
L
517122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51713
51714 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51715 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51716 * string/memmove.c (memmove): Renamed to ...
51717 (MEMMOVE): ...this. Default to memmove.
51718 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51719 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51720 (END_CHK): Define.
51721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51722 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51723 mempcpy-ssse3-back memmove-ssse3-back.
51724 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51725 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51726 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51727 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51728 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51729 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51730 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51731 * sysdeps/x86_64/multiarch/memmove.c: New file.
51732 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51733 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51734 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51735 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51736 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51738 Define.
51739 (index_Fast_Copy_Backward): Define.
51740 (HAS_ARCH_FEATURE): Define.
51741 (HAS_FAST_REP_STRING): Define.
51742 (HAS_FAST_COPY_BACKWARD): Define.
51743
4e733bac 517442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51745
51746 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51747 Restore proper fallback handling.
51748
63c4ed22
UD
517492010-06-19 Ulrich Drepper <drepper@redhat.com>
51750
ac2b484c
UD
51751 [BZ #11701]
51752 * posix/group_member.c (__group_member): Correct checking loop.
51753
63c4ed22
UD
51754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51755 OOM in getpwuid_r correctly. Return error number when the caller
51756 should return, otherwise -1.
51757 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51758 call returning > 0 value.
51759 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51760
765ade4b
AS
517612010-06-07 Andreas Schwab <schwab@redhat.com>
51762
51763 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51764 libc_nonshared.a from targets in modules-names.
51765
80da2e09
KS
517662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51767
51768 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51769 requires it.
51770
158db122
LM
517712010-06-10 Luis Machado <luisgpm@br.ibm.com>
51772
51773 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51774 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51775 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51776 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51777
caa78cf8
AS
517782010-06-02 Andreas Schwab <schwab@redhat.com>
51779
51780 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51781
b2ef2c01
UD
517822010-06-14 Ulrich Drepper <drepper@redhat.com>
51783
51784 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51785 and F_GETPIPE_SZ.
51786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51787 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51791 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51792
fbd643b6
RM
517932010-06-14 Roland McGrath <roland@redhat.com>
51794
51795 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51796
f32f2869
JJ
517972010-06-07 Jakub Jelinek <jakub@redhat.com>
51798
51799 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51800 __REDIRECT followed by __THROW.
51801 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51802 * posix/getopt.h (getopt): Likewise.
51803
2a50c078
EPM
518042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51805
51806 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51807 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51808 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51809 in AT_FLAGS.
51810 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51811 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51812
eb5ad2eb
LM
518132010-05-28 Luis Machado <luisgpm@br.ibm.com>
51814
51815 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51816
3c88fe1e
L
518172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51818
51819 [BZ #11640]
51820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51821 Properly check family and model.
51822
d2f73151
TY
518232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51824
51825 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51826
ebd2e13d
LM
518272010-05-24 Luis Machado <luisgpm@br.ibm.com>
51828
51829 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51830
b32b8b45
UD
518312010-05-21 Ulrich Drepper <drepper@redhat.com>
51832
51833 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51834 symbol reference.
51835
9acbe24d
AS
518362010-05-19 Andreas Schwab <schwab@redhat.com>
51837
51838 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51839 symbol reference.
51840
f0ccf6ea
AS
518412010-05-21 Andreas Schwab <schwab@redhat.com>
51842
3d04ff3a
AS
51843 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51844 and internal_recvmmsg.
51845 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51846 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51847 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51848 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51849
f0ccf6ea
AS
51850 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51851 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51852 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51853
5b08ac57
AS
518542010-05-20 Andreas Schwab <schwab@redhat.com>
51855
51856 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51857
4828935d
LM
518582010-05-17 Luis Machado <luisgpm@br.ibm.com>
51859
51860 POWER7 optimizations.
51861 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51862 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51863
373d545e
UD
518642010-05-19 Ulrich Drepper <drepper@redhat.com>
51865
51866 * version.h: Update for 2.13 development version.
51867
21a2b1ae
AS
518682010-05-12 Andrew Stubbs <ams@codesourcery.com>
51869
51870 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51871 exceptions. Return 0.
51872
3f7dcb2b
RM
518732010-05-07 Roland McGrath <roland@redhat.com>
51874
51875 * elf/ldconfig.c (main): Add a const.
51876
5f24d53a 518772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51878
a160f8d8
UD
51879 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51880 (args_options): Add no-idn option.
51881 (ahosts_keys_int): Add idn_flags to ai_flags.
51882 (parse_option): Handle 'i' option to clear idn_flags.
51883
5f24d53a
UD
51884 * malloc/malloc.c (_int_free): Possible race in the most recently
51885 added check. Only act on the data if no current modification
51886 happened.
265bb1ce
UD
51887
51888See ChangeLog.17 for earlier changes.