]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Constify string parameters
[thirdparty/glibc.git] / ChangeLog
CommitLineData
acf869f4
AS
12014-12-11 Andreas Schwab <schwab@suse.de>
2
3 * elf/rtld.c (struct map_args): Constify str member.
4 (do_preload): Constify fname argument.
5
9d969099
AZ
62014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7
8 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9 constants definition.
10
da5bcaa4
AS
112014-12-11 Andreas Schwab <schwab@suse.de>
12
b0a3c164
AS
13 [BZ #16657]
14 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15 FORCE_ELISION instead of DO_ELISION.
16 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17 Remove.
18 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19 Likewise.
20
da5bcaa4
AS
21 * iconvdata/gconv-modules: Remove duplicate entry.
22
6d248857
WN
232014-12-11 Will Newton <will.newton@linaro.org>
24
25 Merge gettext 0.19.3 into intl/.
26
27 This involves a number of cosmetic changes to comments
28 and ANSI function definitions and prototypes throughout
29 all the files. The gettext copyright header is used but
30 with the date ranges taken from the glibc copy.
31
32 * NEWS: Add gettext merge to 2.21.
33 * intl/bindtextdom.c: Switch to gettext copyright.
34 Use ANSI definitions and prototypes.
35 Use gl_* locking primitives rather than __libc_* ones.
36 Use __builtin_expect rather than __glibc_likely/unlikely.
37 * intl/dcgettext.c: Switch to gettext copyright.
38 Use ANSI definitions and prototypes.
39 * intl/dcigettext.c: Switch to gettext copyright.
40 Use ANSI definitions and prototypes.
41 (INTDIV0_RAISES_SIGFPE): New define.
42 Use gl_* locking primitives rather than __libc_* ones.
43 Include eval-plural.h instead of plural-eval.c.
44 Use __builtin_expect rather than __glibc_likely/unlikely.
45 * intl/dcngettext.c: Switch to gettext copyright.
46 Use ANSI definitions and prototypes.
47 * intl/dgettext.c: Likewise.
48 * intl/dngettext.c: Likewise.
49 * intl/plural-eval.c: Renamed to...
50 * intl/eval-plural.h: ...this.
51 * intl/explodename.c: Switch to gettext copyright.
52 Use ANSI definitions and prototypes.
53 (_nl_explode_name): Use strchr instead of __rawmemchr.
54 * intl/finddomain.c: Switch to gettext copyright.
55 Use ANSI definitions and prototypes.
56 Use gl_* locking primitives rather than __libc_* ones.
57 (_nl_find_domain): Use malloc rather than alloca for
58 allocation of temporary locale name.
59 * intl/gettext.c: Switch to gettext copyright.
60 Use ANSI definitions and prototypes.
61 * intl/gettextP.h: Switch to gettext copyright.
62 Use ANSI definitions and prototypes.
63 Use gl_* locking primitives rather than __libc_* ones.
64 * intl/gmo.h: Switch to gettext copyright.
65 (struct sysdep_string): Move struct segment_pair outside of
66 struct definition.
67 * intl/hash-string.c: Use ANSI definitions and prototypes.
68 * intl/hash-string.h: Switch to gettext copyright.
69 Use ANSI definitions and prototypes.
70 * intl/l10nflist.c: Switch to gettext copyright.
71 Use ANSI definitions and prototypes.
72 (_nl_normalize_codeset): Avoid integer overflow.
73 * intl/loadinfo.h: Switch to gettext copyright.
74 Use ANSI definitions and prototypes.
75 (LIBINTL_DLL_EXPORTED): New define.
76 (PATH_SEPARATOR): New define.
77 * intl/loadmsgcat.c: Switch to gettext copyright.
78 * intl/localealias.c: Switch to gettext copyright.
79 Use ANSI definitions and prototypes.
80 (_nl_expand_alias): Use PATH_SEPARATOR.
81 * intl/ngettext.c: Switch to gettext copyright.
82 Use ANSI definitions and prototypes.
83 * intl/plural-exp.c: Likewise.
84 * intl/plural-exp.h: Switch to gettext copyright.
85 Use ANSI definitions and prototypes.
86 (struct expression): Move definition of enum operator outside
87 of struct definition.
88 * intl/plural.c: Regenerate.
89 * intl/plural.y: Switch to gettext copyright.
90 Use ANSI definitions and prototypes.
91 Port to bison 3.0.
92 * intl/textdomain.c: Switch to gettext copyright.
93 Use ANSI definitions and prototypes.
94 Use gl_* locking primitives rather than __libc_* ones.
95
48c43298
SE
962014-12-10 Steve Ellcey <sellcey@imgtec.com>
97
98 * debug/warning-nop.c: Add used atrribute.
99
2b89bce9
JM
1002014-12-10 Joseph Myers <joseph@codesourcery.com>
101
c153ac9f
JM
102 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
103
2b89bce9
JM
104 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
105 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
106 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
107
2cfbdb9a
JM
1082014-12-10 Joseph Myers <joseph@codesourcery.com>
109 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
110
111 [BZ #17634]
112 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
113 Undefine after defining function. Define as weak alias of
114 __wcschr. Use libc_hidden_weak.
115 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
116 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
117 (libc_hidden_def): Also define __GI___wcschr alias.
118 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
119 __wcschr and define as weak alias of __wcschr.
120 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
121 __wcschr.
122 [!WCSCHR] (DEFAULT_WCSCHR): Define.
123 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
124 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
125 libc_hidden_weak. Do not use libc_hidden_def.
126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
127 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
128 __GI___wcschr alias.
129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
130 [IS_IN (libc)] (wcschr): Define as macro expanding to
131 __redirect_wcschr.
132 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
133 [IS_IN (libc)] (__wcschr_power6): Likewise.
134 [IS_IN (libc)] (__wcschr_power7): Likewise.
135 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
136 instead of wcschr.
137 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
138 __libc_wcschr.
139 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
140 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
141 __wcschr and define as weak alias of __wcschr. Use
142 libc_hidden_builtin_def.
143 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
144 as weak alias of __wcschr. Use libc_hidden_weak.
145 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
146 wcschr.
147 * time/era.c (_nl_init_era_entries): Likewise.
148 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
149 variable.
150 (test-xfail-XPG3/time.h/linknamespace): Likewise.
151 (test-xfail-XPG4/time.h/linknamespace): Likewise.
152
1b8bf351
JM
1532014-12-10 Joseph Myers <joseph@codesourcery.com>
154
155 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
156 format for long int variable.
157
f5f46d51
AK
1582014-12-10 Anders Kaseorg <andersk@MIT.EDU>
159
160 [BZ #10672]
07008f7d 161 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
162 qsort stable.
163
217a74a8
AS
1642014-12-10 Andreas Schwab <schwab@suse.de>
165
166 [BZ #12847]
167 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
168 user-controlled locks.
169
aa76a5c7
RE
1702014-12-10 Richard Earnshaw <rearnsha@arm.com>
171
172 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
173 register.
174
2084e7ca
JM
1752014-12-10 Joseph Myers <joseph@codesourcery.com>
176
a4ecc9eb
JM
177 * configure.ac (--disable-werror): New configure option.
178 (enable_werror): New AC_SUBST.
179 * configure: Regenerated.
180 * config.make.in (enable-werror): New variable.
181 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
182 -Wno-error=undef.
183 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
184 * manual/install.texi (Configuring and compiling): Document
185 --disable-werror.
186 * INSTALL: Regenerated.
187 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
188 (CFLAGS-tst-chk2.c): Likewise.
189 (CFLAGS-tst-chk3.c): Likewise.
190 (CFLAGS-tst-chk4.cc): Likewise.
191 (CFLAGS-tst-chk5.cc): Likewise.
192 (CFLAGS-tst-chk6.cc): Likewise.
193 (CFLAGS-tst-lfschk1.c): Likewise.
194 (CFLAGS-tst-lfschk2.c): Likewise.
195 (CFLAGS-tst-lfschk3.c): Likewise.
196 (CFLAGS-tst-lfschk4.cc): Likewise.
197 (CFLAGS-tst-lfschk5.cc): Likewise.
198 (CFLAGS-tst-lfschk6.cc): Likewise.
199
0f88636c
JM
200 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
201 (main): Disable -Wdeprecated-declarations around calls to
202 register_printf_function.
203
c81e9deb
JM
204 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
205 (do_test): Disable -Wdiv-by-zero around some calls to
206 fwrite_unlocked and fread_unlocked.
207
2084e7ca
JM
208 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
209 (DIAG_POP_NEEDS_COMMENT): Likewise.
210 (_DIAG_STR1): Likewise.
211 (_DIAG_STR): Likewise.
212 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
213 * stdio-common/bug21.c: Include <libc-internal.h>.
214 (do_test): Disable -Wformat around call to sscanf.
215 * stdio-common/scanf14.c: Include <libc-internal.h>.
216 (main): Disable -Wformat around some calls to scanf functions.
217
df7ecc6b
TR
2182014-12-09 Torvald Riegel <triegel@redhat.com>
219
220 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
221
2aa3862e
AZ
2222014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223
224 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
225 stack variable alignment.
226
c5c2b7c3
JM
2272014-12-06 Joseph Myers <joseph@codesourcery.com>
228
229 [BZ #17682]
230 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
231 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
232 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
233 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
234 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
235 __getrlimit instead of getrlimit.
236 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
237 __gettimeofday instead of gettimeofday.
238 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
239 Likewise.
240 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
241 Likewise.
242 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
243 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
244 Remove variable.
245 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
246 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
247
9752c3cd
AZ
2482014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
249
250 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
251 for wide-character tests.
252
4bee4cd9
RM
2532014-12-04 Roland McGrath <roland@hack.frob.com>
254
255 * io/openat64.c: #include <libc-internal.h>
256 (__openat64): Prototypify. Use ignore_value on MODE.
257 * io/openat.c: Likewise.
258 * misc/reboot.c: #include <libc-internal.h>
259 (reboot): Prototypify. Use ignore_value on HOWTO.
260 * misc/ptrace.c: #include <libc-internal.h>
261 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
262
84dbedb6
JM
2632014-12-04 Joseph Myers <joseph@codesourcery.com>
264
265 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
266 XPG4, UNIX98 and XOPEN2K.
267 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
268 Remove variable.
269 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
270
b7a3e1c4 2712014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 272
af50dfc1 273 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
274 * libio/iofopen.c: Likewise.
275 * libio/wfileops.c: Likewise.
276
fe8b4d98
SP
277 [BZ #17653]
278 * libio/fileops.c (_IO_new_file_underflow): Unset cached
279 offset on EOF.
280 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
281 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
282 (fgets_func): Function pointer to fgets and fgetws.
283 (do_ftell_test): Add test to verify ftell value after read
284 EOF.
285 (do_test): Set fgets_func.
286
61b4f792
SP
287 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
288 O_TRUNC flag for w and w+ modes.
289 (do_rewind_test): Likewise.
290 (do_ftell_test): Likewise.
291 (do_write_test): Likewise.
292
be349d70
SP
293 [BZ #17647]
294 * libio/fileops.c (do_ftell): Seek only when there are
295 unflushed writes.
296 * libio/wfileops.c (do_ftell_wide): Likewise.
297 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
298 test case.
299 (do_one_test): Call it.
300
e3d6dba5
JM
3012014-12-03 Joseph Myers <joseph@codesourcery.com>
302
303 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
304 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
305 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
306 Remove variable.
307 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
308 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
309 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
310
7f994279
JM
3112014-12-02 Joseph Myers <joseph@codesourcery.com>
312
28a91e8f
JM
313 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
314 Remove variable.
315 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
316
7f994279
JM
317 [BZ #17668]
318 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
319 as weak alias of __getifaddrs. Use libc_hidden_weak.
320 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
321 __freeifaddrs. Use libc_hidden_weak.
322 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
323 define as weak alias of __getifaddrs. Use libc_hidden_weak.
324 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
325 __freeifaddrs. Use libc_hidden_weak.
326 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
327 __getifaddrs and define as weak alias of __getifaddrs. Use
328 libc_hidden_weak.
329 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
330 __freeifaddrs. Use libc_hidden_weak.
331 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
332 Remove variable.
333 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
334 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
335
bbe4c142
PJ
3362014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
337
338 [BZ #17601]
339 * sysdeps/mips/start.S (__start): Use indirect jump to call
340 __libc_start_main.
341
66cadc05
JM
3422014-12-02 Joseph Myers <joseph@codesourcery.com>
343
909e16d9
JM
344 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
345
4e0b9016
JM
346 * nptl/tst-mutex1.c: Include <stdbool.h>.
347 [!ATTR] (ATTR_NULL): New macro.
348 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
349 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
350 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
351
b1aff6a4
JM
352 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
353 to char *.
354
266865c0
JM
355 [BZ #17665]
356 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
357 Change conditional to [__USE_MISC].
358
84e5e756
JM
359 [BZ #17664]
360 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
361 fgets_unlocked.
362 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
363 __fgets_unlocked.
364 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
365 fgets_unlocked.
366 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
367 Remove variable.
368 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
369 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
370 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
371 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
372 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
373 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
374 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
375 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
376 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
377
66cadc05
JM
378 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
379
2e8a2de2 3802014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
381
382 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
383 Remove strpbrk objects.
384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
385 (__libc_ifunc_impl_list): Remove strpbrk implementation.
386 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
387 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
388 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
389 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
390
bb2542e0
AZ
391 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
392 Remove strcspn objects.
393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
394 (__libc_ifunc_impl_list): Remove strcspn implementation.
395 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
396 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
397 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
398 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
399
400 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
401 Remove strspn objetcs.
402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
403 (__libc_ifunc_impl_list): Remove strspn implementation.
404 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
405 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
406 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
407 * sysdeps/powerpc/powerpc64/strspn.S: New file.
408
08f1e1d2
JL
4092014-12-01 James Lemke <jwlemke@codesourcery.com>
410
411 [BZ #17581]
412 * malloc/hooks.c
413 (mem2mem_check): Add a terminator to the chain of checking blocks.
414 (malloc_check_get_size): Use it here.
415 (mem2chunk_check): Ditto.
416
a8a7d7d2
RS
4172014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
418
419 * sysdeps/powerpc/powerpc64/strtok.S: New file.
420 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
421
97114a38
CD
4222014-11-29 Carlos O'Donell <carlos@redhat.com>
423
c8dc1727
CD
424 * bits/ioctl-types.h: Indent preprocessor directives correctly.
425
6d03458e
CD
426 * nptl/nptl-init.c: Include libc-internal.h.
427 (__pthread_initialize_minimal_internal): Use ROUND_UP.
428
97114a38
CD
429 * elf/ldconfig.c (search_dir): Expand comment.
430
0e7e69ba
JM
4312014-11-29 Joseph Myers <joseph@codesourcery.com>
432
433 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
434 variable.
435 (linknamespace-symlist-stdlibs-tests): Likewise.
436 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
437 instead of $(objpfx)symlist-stdlibs.
438 (linknamespace-libs-isoc): New variable.
439 (linknamespace-libs): Use $(linknamespace-libs-isoc).
440 (linknamespace-libs-ISO): New variable.
441 (linknamespace-libs-ISO99): Likewise.
442 (linknamespace-libs-ISO11): Likewise.
443 (linknamespace-libs-XPG3): Likewise.
444 (linknamespace-libs-XPG4): Likewise.
445 (linknamespace-libs-POSIX): Likewise.
446 (linknamespace-libs-UNIX98): Likewise.
447 (linknamespace-libs-XOPEN2K): Likewise.
448 (linknamespace-libs-POSIX2008): Likewise.
449 (linknamespace-libs-XOPEN2K8): Likewise.
450 ($(objpfx)symlist-stdlibs): Replace by
451 $(linknamespace-symlist-stdlibs-tests). Use
452 $(linknamespace-libs-$*) as set of libraries.
453 ($(linknamespace-header-tests)): Update dependencies. Use
454 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
455 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
456 * conform/linknamespace.pl: Remove comment about considering
457 definitions of symbols from irrelevant libraries.
458
d8dd0080
L
4592014-11-28 H.J. Lu <hongjiu.lu@intel.com>
460
461 [BZ #13862]
462 * elf/dl-tls.c: Include <atomic.h>.
463 (oom): Remove #ifdef SHARED/#endif.
464 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
465 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
466 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
467 big enough.
468 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
469 * nptl/Makefile (tests): Add tst-stack4.
470 (modules-names): Add tst-stack4mod.
471 ($(objpfx)tst-stack4): New.
472 (tst-stack4mod.sos): Likewise.
473 ($(objpfx)tst-stack4.out): Likewise.
474 ($(tst-stack4mod.sos)): Likewise.
475 (clean): Likewise.
476 * nptl/tst-stack4.c: New file.
477 * nptl/tst-stack4mod.c: Likewise.
478
167da422
B
4792014-11-27 J. Brown <jb999@gmx.de>
480
481 * sysdeps/x86/bits/string.h: Add recent CPUs.
482
9114625b
JM
4832014-11-27 Joseph Myers <joseph@codesourcery.com>
484
6b5189eb
JM
485 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
486 sigblock.
487
49051f8e
JM
488 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
489 feof.
490
9114625b
JM
491 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
492 variable.
493
e7300fef
SL
4942014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
495
496 * nscd/connections.c: Include libc-internal.h because of macro
497 usage ignore_value.
498
1721f0a4
SP
4992014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
500
501 * string/bits/string3.h (__warn_memset_zero_len): Don't
502 declare for gcc newer than 5.0.
503 (memset): Don't test for zero-length __LEN for gcc newer than
504 5.0.
505
be970916
JM
5062014-11-27 Joseph Myers <joseph@codesourcery.com>
507
d88548f4
JM
508 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
509 size_t for %zu format.
510
be970916
JM
511 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
512 difference, not %ju.
513
3b20fd5c
JM
5142014-11-26 Joseph Myers <joseph@codesourcery.com>
515
8915eace
JM
516 * include/libc-internal.h (ignore_value): New macro.
517 * nscd/connections.c (restart): Wrap calls to setuid and setgid
518 with ignore_value.
519
f1a5a0e3
JM
520 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
521 definition.
522
59ef1715
JM
523 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
524 pthread_cleanup_push to void *.
525
a6f3079b
JM
526 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
527 Undefine.
528
706688aa
JM
529 [BZ #16619]
530 [BZ #16740]
531 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
532 instead of 1L << 52.
533
12da14a5
JM
534 * libio/bug-rewind.c (do_test): Check fwscanf return values.
535 * libio/bug-rewind2.c (do_test): Likewise.
536
bd5dadac
JM
537 * debug/test-stpcpy_chk-ifunc.c: Remove file.
538 * debug/test-strcpy_chk-ifunc.c: Likewise.
539 * wcsmbs/test-wcschr-ifunc.c: Likewise.
540 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
541 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
542 * wcsmbs/test-wcslen-ifunc.c: Likewise.
543 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
544 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
545 * Rules [$(multi-arch) = no] (tests): Do not filter out
546 $(tests-ifunc).
547 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
548 * debug/Makefile (tests-ifunc): Remove variable.
549 (tests): Do not add $(tests-ifunc).
550 * wcsmbs/Makefile (tests-ifunc): Remove variable.
551 (tests): Do not add $(tests-ifunc).
552 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
553 [TEST_IFUNC]: Remove conditionals.
554 * string/test-string.h (TEST_IFUNC): Remove macro.
555 [TEST_IFUNC]: Remove conditionals.
556
3b20fd5c
JM
557 * string/test-strchr.c [!WIDE] (L): New macro.
558 [WIDE] (L): Likewise.
559 (check1): Use CHAR instead of char. Use L on string and character
560 constants.
561
704f7947
AZ
5622014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
563
564 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
565 tests.
566 * sysdeps/powerpc/bits/atomic.h
567 (__arch_atomic_exchange_and_add_32_acq): Add definition.
568 (__arch_atomic_exchange_and_add_32_rel): Likewise.
569 (atomic_exchange_and_add_acq): Likewise.
570 (atomic_exchange_and_add_rel): Likewise.
571 * sysdeps/powerpc/powerpc32/bits/atomic.h
572 (__arch_atomic_exchange_and_add_64_acq): Add definition.
573 (__arch_atomic_exchange_and_add_64_rel): Likewise.
574 * sysdeps/powerpc/powerpc64/bits/atomic.h
575 (__arch_atomic_exchange_and_add_64_acq): Add definition.
576 (__arch_atomic_exchange_and_add_64_rel): Likewise.
577
cdcb42d7
TR
5782014-11-26 Torvald Riegel <triegel@redhat.com>
579
580 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
581 Change synchronization of __sched_fifo_min_prio and
582 __sched_fifo_max_prio.
583 * nptl/pthread_mutexattr_getprioceiling.c
584 (pthread_mutexattr_getprioceiling): Likewise.
585 * nptl/pthread_mutexattr_setprioceiling.c
586 (pthread_mutexattr_setprioceiling): Likewise.
587 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
588 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
589 Likewise.
590
c82f5c0c
JM
5912014-11-26 Joseph Myers <joseph@codesourcery.com>
592
593 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
594 void.
595
439e1ad6
JM
5962014-11-25 Joseph Myers <joseph@codesourcery.com>
597
598 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
599 third argument const.
600
b1eda10e
PE
6012014-11-25 Paul Eggert <eggert@cs.ucla.edu>
602
603 fnmatch: work around GCC compiler warning bug with uninit var
604 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
605 This works around a bug with x86-64 GCC 4.9.2 and earlier
606 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
607 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
608 used uninitialized in this function [-Wmaybe-uninitialized]".
609
bde2667a
JM
6102014-11-25 Joseph Myers <joseph@codesourcery.com>
611
612 * posix/bug-regex31.c (main): Return RES not 0.
613
5fbb5691
AB
6142014-11-25 Anton Blanchard <anton@samba.org>
615
616 * sysdeps/powerpc/bits/atomic.h
617 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
618
467fec0b
BM
6192014-11-24 Sterling Augustine <saugustine@google.com>
620
621 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
622
e9ff8efb
RC
6232014-11-24 Ryan Cumming <etaoins@gmail.com>
624
625 [BZ #17608]
626 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
627
9744496f
JM
6282014-11-24 Joseph Myers <joseph@codesourcery.com>
629
630 [BZ #17633]
631 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
632 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
633 variable.
634 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
635 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
636
6423d475
WD
6372014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
638
639 * string/strncpy.c (strncpy): Improve performance by using memset.
640
6412014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
642
643 * string/strcpy.c (strcpy):
644 Improve performance by using strlen and memcpy.
645
5d178c37
LH
6462014-11-24 Leonhard Holz <leonhard.holz@web.de>
647
648 * string/strcoll_l.c (get_next_seq): __always_inline.
649 * string/strcoll_l.c (do_compare): __always_inline.
650
279bc5b3
SP
6512014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
652
7a9ebfa1
SP
653 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
654 defined.
655 * include/mqueue.h: Likewise.
656 * include/stdlib.h: Likewise.
657
4f41c682
SP
658 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
659 (get_null_defines): Adjust.
660 * sunrpc/Makefile: Adjust comment.
661 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
662 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
663 (CFLAGS-interp.c): Likewise.
664 (CFLAGS-ldconfig.c): Likewise.
665 (CPPFLAGS-.os): Likewise.
666 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
667 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
668 * extra-modules.mk (extra-modules.mk): Likewise.
669 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
670 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
671 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
672 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
673 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
674 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
675 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
676 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
677 * iconvdata/Makefile (CPPFLAGS): Likewise.
678 (cpp-srcs-left): Add libof for all iconvdata routines.
679 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
680 * include/assert.h: Likewise.
681 * include/ctype.h: Likewise.
682 * include/errno.h: Likewise.
683 * include/libc-symbols.h: Likewise.
684 * include/math.h: Likewise.
685 * include/netdb.h: Likewise.
686 * include/resolv.h: Likewise.
687 * include/stdio.h: Likewise.
688 * include/stdlib.h: Likewise.
689 * include/string.h: Likewise.
690 * include/sys/stat.h: Likewise.
691 * include/wctype.h: Likewise.
692 * intl/l10nflist.c: Likewise.
693 * libidn/idn-stub.c: Likewise.
694 * libio/libioP.h: Likewise.
695 * nptl/libc_multiple_threads.c: Likewise.
696 * nptl/pthreadP.h: Likewise.
697 * posix/regex_internal.h: Likewise.
698 * resolv/res_hconf.c: Likewise.
699 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
700 * sysdeps/arm/memmove.S: Likewise.
701 * sysdeps/arm/sysdep.h: Likewise.
702 * sysdeps/generic/_itoa.h: Likewise.
703 * sysdeps/generic/symbol-hacks.h: Likewise.
704 * sysdeps/gnu/errlist.awk: Likewise.
705 * sysdeps/gnu/errlist.c: Likewise.
706 * sysdeps/i386/i586/memcpy.S: Likewise.
707 * sysdeps/i386/i586/memset.S: Likewise.
708 * sysdeps/i386/i686/memcpy.S: Likewise.
709 * sysdeps/i386/i686/memmove.S: Likewise.
710 * sysdeps/i386/i686/mempcpy.S: Likewise.
711 * sysdeps/i386/i686/memset.S: Likewise.
712 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
713 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
714 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
715 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
716 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
717 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
718 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
719 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
720 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
722 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
723 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
724 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
725 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
726 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
727 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
728 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
729 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
730 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
731 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
732 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
733 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
734 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
735 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
736 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
737 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
738 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
739 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
740 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
741 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
742 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
743 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
745 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
746 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
748 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
749 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
750 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
752 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
753 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
754 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
755 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
756 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
757 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
758 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
759 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
760 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
761 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
762 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
763 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
764 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
765 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
766 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
767 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
768 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
769 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
770 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
771 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
772 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
773 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
774 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
775 * sysdeps/nptl/bits/libc-lock.h: Likewise.
776 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
777 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
778 * sysdeps/posix/closedir.c: Likewise.
779 * sysdeps/posix/opendir.c: Likewise.
780 * sysdeps/posix/readdir.c: Likewise.
781 * sysdeps/posix/rewinddir.c: Likewise.
782 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
783 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
784 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
785 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
786 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
787 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
788 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
792 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
793 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
794 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
795 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
796 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
797 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
798 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
799 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
800 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
801 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
802 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
803 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
804 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
805 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
806 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
807 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
808 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
809 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
810 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
817 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
818 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
819 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
820 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
821 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
822 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
823 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
824 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
826 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
827 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
828 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
829 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
830 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
831 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
832 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
833 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
834 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
835 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
836 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
837 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
838 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
839 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
840 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
841 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
842 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
843 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
844 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
845 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
846 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
847 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
848 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
849 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
850 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
851 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
852 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
853 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
854 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
855 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
856 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
857 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
858 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
859 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
860 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
861 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
862 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
863 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
864 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
865 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
866 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
867 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
868 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
869 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
870 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
871 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
872 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
873 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
874 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
876 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
877 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
878 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
879 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
880 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
881 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
882 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
883 * sysdeps/unix/alpha/sysdep.S: Likewise.
884 * sysdeps/unix/alpha/sysdep.h: Likewise.
885 * sysdeps/unix/make-syscalls.sh: Likewise.
886 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
887 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
888 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
889 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
890 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
891 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
892 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
893 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
894 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
895 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
896 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
897 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
898 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
899 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
900 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
901 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
902 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
903 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
904 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
905 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
906 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
907 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
908 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
909 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
910 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
911 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
912 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
915 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
916 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
917 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
918 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
920 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
924 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
925 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
926 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
927 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
928 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
929 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
933 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
936 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
937 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
938 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
939 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
940 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
942 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
944 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
945 * sysdeps/x86_64/memcpy.S: Likewise.
946 * sysdeps/x86_64/memmove.c: Likewise.
947 * sysdeps/x86_64/memset.S: Likewise.
948 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
949 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
950 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
951 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
952 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
953 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
954 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
955 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
956 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
957 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
958 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
959 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
960 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
961 * sysdeps/x86_64/multiarch/memset.S: Likewise.
962 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
963 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
965 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
966 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
967 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
968 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
969 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
971 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
972 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
973 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
974 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
975 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
976 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
977 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
978 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
979 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
980 * sysdeps/x86_64/strcmp.S: Likewise.
981
76ca86a5
SP
982 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
983
a3848485
SP
984 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
985 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
986 * elf/rtld-Rules: Likewise.
987 * elf/setup-vdso.h: Likewise.
988 * include/assert.h: Likewise.
989 * include/bits/stdlib-float.h: Likewise.
990 * include/errno.h: Likewise.
991 * include/sys/stat.h: Likewise.
992 * include/unistd.h: Likewise.
993 * sysdeps/aarch64/setjmp.S: Likewise.
994 * sysdeps/alpha/setjmp.S: Likewise.
995 * sysdeps/arm/__longjmp.S: Likewise.
996 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
997 * sysdeps/arm/setjmp.S: Likewise.
998 * sysdeps/arm/sysdep.h: Likewise.
999 * sysdeps/generic/_itoa.h: Likewise.
1000 * sysdeps/generic/dl-sysdep.h: Likewise.
1001 * sysdeps/generic/ldsodefs.h: Likewise.
1002 * sysdeps/i386/dl-tls.h: Likewise.
1003 * sysdeps/i386/setjmp.S: Likewise.
1004 * sysdeps/m68k/setjmp.c: Likewise.
1005 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1006 * sysdeps/mach/hurd/opendir.c: Likewise.
1007 * sysdeps/posix/getcwd.c: Likewise.
1008 * sysdeps/posix/opendir.c: Likewise.
1009 * sysdeps/posix/profil.c: Likewise.
1010 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1011 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1013 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1014 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1015 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1016 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1017 * sysdeps/s390/dl-tls.h: Likewise.
1018 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1019 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1020 * sysdeps/sh/sh3/setjmp.S: Likewise.
1021 * sysdeps/sh/sh4/setjmp.S: Likewise.
1022 * sysdeps/unix/alpha/sysdep.h: Likewise.
1023 * sysdeps/unix/arm/sysdep.S: Likewise.
1024 * sysdeps/unix/i386/sysdep.S: Likewise.
1025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1026 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1027 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1028 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1030 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1031 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1032 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1033 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1034 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1035 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1036 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1037 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1040 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1041 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1043 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1044 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1048 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1049 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1050 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1052 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1053 * sysdeps/x86_64/setjmp.S: Likewise.
1054
a109996e
SP
1055 * include/math.h: Use IS_IN instead of IS_IN_libm.
1056 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1059 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1060 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1064 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1065 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1066 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1068 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1070 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1071 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1072 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1073 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1074 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1075 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1076 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1077 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1078 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1079 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1080 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1081 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1082 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1083 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1084 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1085 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1086 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1087 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1088 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1090 Likewise.
1091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1092 Likewise.
1093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1094 Likewise.
1095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1096 Likewise.
1097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1098 Likewise.
1099 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1100 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1101 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1102 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1103 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1104 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1110 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1111 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1112 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1113 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1114 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1115 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1116 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1117 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1118 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1119 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1120 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1121 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1122 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1123 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1125 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1126
ce9f10f7
SP
1127 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1128 * nptl/pthreadP.h: Likewise.
1129 * nptl_db/structs.def: Likewise.
1130 * sysdeps/arm/sysdep.h: Likewise.
1131 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1132 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1133 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1134 * sysdeps/unix/alpha/sysdep.h: Likewise.
1135 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1136 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1137 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1138 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1139 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1140 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1141 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1142 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1143 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1144 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1145 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1146 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1147 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1148 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1153 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1156 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1157 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1158 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1160 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1161
016afc75
SP
1162 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1163 * nptl/pthreadP.h: Likewise.
1164 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1165 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1166 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1167 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1168 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1169 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1170 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1171 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1172 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1173 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1174 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1175 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1177 Likewise.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1179 Likewise.
1180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1182 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1185 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1186 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1187 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1188
9b42a0b3
SP
1189 * dlfcn/dladdr.c: Use IS_IN.
1190 * dlfcn/dladdr1.c: Likewise.
1191 * dlfcn/dlclose.c: Likewise.
1192 * dlfcn/dlerror.c: Likewise.
1193 * dlfcn/dlinfo.c: Likewise.
1194 * dlfcn/dlmopen.c: Likewise.
1195 * dlfcn/dlopen.c: Likewise.
1196 * dlfcn/dlsym.c: Likewise.
1197 * dlfcn/dlvsym.c: Likewise.
1198
85f36372
SP
1199 * include/ifaddrs.h: Use IS_IN.
1200 * inet/check_pf.c: Likewise.
1201 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1202 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1203
fb6784e3
SP
1204 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1205 IS_IN_ldconfig.
1206 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1207 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1208
2886d2d1
SP
1209 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1210 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1211 IS_IN (libc).
1212
9a484857
SP
1213 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1214
a10178bd
SP
1215 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1216 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1217 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1218 * include/libc-symbols.h (IS_IN_LIB): New macro.
1219 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1220 * include/netdb.h: Likewise.
1221 * include/stap-probe.h: Remove all uses of IN_LIB.
1222
279bc5b3
SP
1223 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1224 instead of IN_MODULE.
1225 * include/libc-symbols.h (IN_MODULE): Define using
1226 MODULE_NAME.
1227 (PASTE_NAME, PASTE_NAME1): New macros.
1228 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1229 of IN_LIB.
1230 (STAP_PROBE_ASM): Likewise.
1231
e0cfa510
ST
12322014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1233
1234 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1235 __mach_init in dlopened libc.
1236
34d97d87
MF
12372014-11-22 Mike Frysinger <vapier@gentoo.org>
1238
1239 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1240 * sysdeps/arm/preconfigure: Regenerate.
1241
33cd1f74
RM
12422014-11-21 Roland McGrath <roland@hack.frob.com>
1243
1244 * nptl/pthread_create.c (__pthread_create_2_1): Set
1245 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1246 when copying values from IATTR into PD.
1247
8c230039
WN
12482014-11-21 Will Newton <will.newton@linaro.org>
1249 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1250
6d3db89b
AP
1251 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1252 Refactor inline-asm. Also add comment.
1253
01194ba1
WN
1254 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1255 ElfW macro instead of hardcoded Elf64 types.
1256 (la_aarch64_gnu_pltenter): Likewise.
1257 * sysdeps/aarch64/dl-machine.h
1258 (elf_machine_runtime_setup): Use ElfW(Addr).
1259
8c230039
WN
1260 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1261 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1262 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1263 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1264 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1265 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1266 (R_AARCH64_TLS_DTPMOD): This.
1267 (R_AARCH64_TLS_DTPREL64): Rename to ...
1268 (R_AARCH64_TLS_DTPREL): This.
1269 (R_AARCH64_TLS_TPREL64): Rename to ...
1270 (R_AARCH64_TLS_TPREL): This.
1271 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1272 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1273 R_AARCH64_TLS_TPREL64.
1274 (elf_machine_rela): Likewise.
1275
0d79fa53
TR
12762014-11-21 Torvald Riegel <triegel@redhat.com>
1277
1278 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1279 by setting it to 0. 64b atomics are not supported currently.
1280
b59d114b
AO
12812014-11-21 Alexandre Oliva <aoliva@redhat.com>
1282
1283 [BZ #16469]
1284 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1285 search domain names.
1286
f3d945d5
AO
12872014-11-21 Alexandre Oliva <aoliva@redhat.com>
1288
1289 [BZ #16469]
1290 * NEWS: Update.
1291 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1292 trailing dot.
1293 * posix/tst-getaddrinfo5.c: New.
1294 * posix/Makefile (tests): Add it.
1295
49698902
AO
12962014-11-21 Alexandre Oliva <aoliva@redhat.com>
1297
1298 [BZ #14498]
1299 * NEWS: Fixed.
1300 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1301 after parsing line but before break_if_match.
1302 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1303 if there is a protocol mismatch.
1304
81959214
MS
13052014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1306
1307 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1308 because the potential race is on the user-supplied stream.
1309
7729e0e9
AO
13102014-11-21 Alexandre Oliva <aoliva@redhat.com>
1311
1312 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1313 string literal if not passed a buffer.
1314 * manual/job.texi (ctermid): Update reasoning, note deviation
1315 from posix, suggest mtasurace when not passed a buffer, for
1316 future non-preliminary safety notes.
1317
a4ea5e28
AO
13182014-11-21 Alexandre Oliva <aoliva@redhat.com>
1319
1320 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1321 of not passing it a buffer.
1322 Reported by Peng Haitao.
1323
a2b581cb
AO
13242014-11-21 Alexandre Oliva <aoliva@redhat.com>
1325
1326 * manual/Makefile ($(objpfx)stamp-summary): Require
1327 check-safety.sh to pass.
1328 * manual/check-safety.sh: Wish for verification that every
1329 @deftypefn and @deftypefun is followed by a @safety remark.
1330
f214ff74
RM
13312014-11-20 Roland McGrath <roland@hack.frob.com>
1332
7f0dfae0
RM
1333 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1334
2f531bbb
RM
1335 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1336 PTHREAD_CANCEL_ASYNCHRONOUS.
1337 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1338 send SIGCANCEL.
1339
f214ff74
RM
1340 * nptl/default-sched.h: New file.
1341 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1342 * nptl/pthread_create.c: Include it.
1343 (__pthread_create_2_1): Use collect_default_sched instead of making
1344 Linux syscalls here directly.
1345
e37c91d4
TR
13462014-11-20 Torvald Riegel <triegel@redhat.com>
1347
1348 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1349 __pthread_once): Use C11 atomics.
1350
1eccfecd
TR
13512014-11-20 Torvald Riegel <triegel@redhat.com>
1352
1353 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1354
ff871426
TR
13552014-11-20 Torvald Riegel <triegel@redhat.com>
1356
1357 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1358 atomic_thread_fence_acquire, atomic_thread_fence_release,
1359 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1360 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1361 atomic_compare_exchange_weak_relaxed,
1362 atomic_compare_exchange_weak_acquire,
1363 atomic_compare_exchange_weak_release,
1364 atomic_exchange_acquire, atomic_exchange_release,
1365 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1366 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1367 atomic_fetch_and_acquire,
1368 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1369
1ea339b6
TR
13702014-11-20 Torvald Riegel <triegel@redhat.com>
1371
1372 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1373 USE_ATOMIC_COMPILER_BUILTINS): Define.
1374 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1375 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1376 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1377 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1378 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1379 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1380 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1381 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1382 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1383 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1384 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1385 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1386 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1387 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1388 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1389 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1390 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1391 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1392 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1393 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1394 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1395 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1396 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1397 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1398 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1399 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1400 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1401 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1402 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1403 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1404 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1405 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1406 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1407 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1408 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1409 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1410 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1411 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1412 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1413 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1414
cbd463e2
RM
14152014-11-19 Roland McGrath <roland@hack.frob.com>
1416
d960211f
RM
1417 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1418 the sched_priority value here. It was already checked when the user
1419 called pthread_attr_setschedparam.
1420
cbd463e2
RM
1421 * nptl/tst-bad-schedattr.c: New file.
1422 * nptl/Makefile (tests): Add it.
1423
a39208bd
CD
14242014-11-19 Carlos O'Donell <carlos@redhat.com>
1425 Florian Weimer <fweimer@redhat.com>
1426 Joseph Myers <joseph@codesourcery.com>
1427 Adam Conrad <adconrad@0c3.net>
1428 Andreas Schwab <schwab@suse.de>
1429 Brooks <bmoses@google.com>
1430
1431 [BZ #17625]
1432 * wordexp-test.c (__dso_handle): Add prototype.
1433 (__register_atfork): Likewise.
1434 (__app_register_atfork): New function.
1435 (registered_forks): New global.
1436 (register_fork): New function.
1437 (test_case): Add 3 new tests for WRDE_CMDSUB.
1438 (main): Call __app_register_atfork.
1439 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1440 fork count is non-zero fail the test.
1441 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1442 is set.
1443 (parse_dollars): Remove check for WRDE_NOCMD.
1444 (parse_dquote): Likewise.
1445
9cd47470
SP
14462014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1447
130ac68c
SP
1448 * Makeconfig (built-modules): List non-library modules to be
1449 built.
1450 (module-cppflags): Include libc-modules.h for
1451 everything except shlib-versions.v.i.
1452 (CPPFLAGS): Use it.
1453 (before-compile): Add libc-modules.h.
1454 ($(common-objpfx)libc-modules.h,
1455 $(common-objpfx)libc-modules.stmp): New targets.
1456 (common-generated): Add libc-modules.h and libc-modules.stmp.
1457 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1458 * include/libc-symbols.h: Don't include libc-modules.h.
1459 * include/libc-modules.h: Remove file.
1460 * scripts/gen-libc-modules.awk: New script to generate
1461 libc-modules.h.
1462 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1463 Depend on libc-modules.stmp.
1464
286663c3
SP
1465 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1466
9cd47470
SP
1467 * Makeconfig (in-module): Get value of libof set for the
1468 translation unit.
1469 (CPPFLAGS): Use $(in-module).
1470 * Makerules: Don't suffix routine names for nonlib.
1471 * include/libc-modules.h: New file.
1472 * include/libc-symbols.h: Include libc-modules.h
1473 (IS_IN): New macro to replace IS_IN_* macros.
1474 * elf/Makefile: Set libof-* for each routine.
1475 * elf/rtld-Rules: Likewise.
1476 * extra-modules.mk: Likewise.
1477 * iconv/Makefile: Likewise.
1478 * iconvdata/Makefile: Likewise.
1479 * locale/Makefile: Likewise.
1480 * malloc/Makefile: Likewise.
1481 * nss/Makefile: Likewise.
1482 * sysdeps/gnu/Makefile: Likewise.
1483 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1484 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1485 * sysdeps/s390/s390-64/Makefile: Likewise.
1486 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1487 CPPFLAGS for nscd instead of nonlib.
1488
32fed10f
RM
14892014-11-18 Roland McGrath <roland@hack.frob.com>
1490
d71035bd
RM
1491 * nptl/createthread.c: New file.
1492
6540b991
RM
1493 * nptl/createthread.c: Moved ...
1494 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1495
32fed10f
RM
1496 * nptl/createthread.c: Add proper top-line comment.
1497 (do_clone): Folded into ...
1498 (create_thread): ... here. Take new arguments STOPPED_START and
1499 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1500 increment __nptl_threads, do event-reporting logic, do
1501 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1502 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1503 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1504 just send SIGCANCEL.
1505 * nptl/pthread_create.c: Forward-declare create_thread before
1506 including createthread.c.
1507 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1508 declaration, and new macro START_THREAD_SELF to replace argument.
1509 Remove return statement.
1510 (report_thread_creation): New function.
1511 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1512 synchronization logic, and __nptl_nthreads increment here, around
1513 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1514 PD->parent_cancelhandling here, before create_thread. When
1515 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1516 __deallocate_stack, and ENOMEM translation here.
1517
107a5bf0
JM
15182014-11-18 Joseph Myers <joseph@codesourcery.com>
1519
1520 [BZ #17616]
1521 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1522 (mptwo): Rename to __mptwo.
1523 (__inv): Use __mptwo instead of mptwo.
1524 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1525 (mptwo): Rename to __mptwo.
1526 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1527 of mpone and __mptwo instead of mptwo.
1528 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1529 instead of mpone.
1530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1531 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1532 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1533 of mpone and __mptwo instead of mptwo.
1534 (__mpranred): Use __mpone instead of mpone.
1535 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1536 variable.
1537 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1538 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1539 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1540 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1541 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1542 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1543 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1544 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1545 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1546 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1547 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1548 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1549 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1550 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1551 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1552 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1553 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1554 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1555 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1556
3b679ab3
TV
15572014-11-18 Tom de Vries <tom@codesoucery.com>
1558
1559 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1560 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1561
15622014-11-17 Richard Henderson <rth@redhat.com>
1563
1564 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1565 (_FP_PACK_RAW_2): Remove.
1566 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1567 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1568 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1569 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1570 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1571 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1572 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1573 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1574 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1575 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1576 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1577 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1578 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1579 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1580 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1581 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1582
0781a777
RM
15832014-11-14 Roland McGrath <roland@hack.frob.com>
1584
1585 * signal/signal.h [__USE_MISC]
1586 (struct sigvec): Remove type.
1587 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1588 (sigvec): Remove declaration.
1589 * sysdeps/posix/sigvec.c: Moved ...
1590 * signal/sigvec.c: ... here, replacing old file.
1591 (struct sigvec): New type, copied from old signal.h definition.
1592 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1593 (__sigvec): Convert definition to prototype.
1594 (sigvec): Replace weak_alias with compat_symbol.
1595 * signal/Versions (libc: GLIBC_2.21): New version set.
1596 * include/signal.h: Remove __sigvec declaration.
1597 * sysdeps/unix/bsd/sigvec.c: Remove file.
1598 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1599 * manual/signal.texi (BSD Handler): Remove subsection.
1600 Move siginterrupt up to ...
1601 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1602 (Blocking in BSD): Fold subsection into its parent.
1603 * NEWS: Mention sigvec removal.
1604
a4733812
JM
16052014-11-14 Joseph Myers <joseph@codesourcery.com>
1606
5ae4fe60
JM
1607 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1608 (DLA_FMS): Make definition conditional only on [__FMA4__].
1609 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1610 definition.
1611
6a0dd472
JM
1612 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1613 Make definition conditional only on [PROF].
1614 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1615 definition.
1616 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1617 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1618
a4733812
JM
1619 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1620 !__GNUC__].
1621 * include/signal.h (__sigpause): Move declaration above call to
1622 libc_hidden_proto.
1623 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1624 variable.
1625 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1626 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1627
cf7246dd
DM
16282014-11-14 David S. Miller <davem@davemloft.net>
1629
1630 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1631 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1632
c1b0aadc
JM
16332014-11-14 Joseph Myers <joseph@codesourcery.com>
1634
4863355a
JM
1635 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1636 * configure: Regenerated.
1637 * manual/install.texi (Tools for Compilation): Document a
1638 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1639 compiler verified to work.
1640 * INSTALL: Regenerated.
1641
c1b0aadc
JM
1642 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1643 redeclare with asm name.
1644 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1645 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1646 including <string.h>.
1647 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1648 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1649 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1650 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1651 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1652 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1653 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1654
2a1cfd94
JM
16552014-11-13 Joseph Myers <joseph@codesourcery.com>
1656
bf438382
JM
1657 * stdlib/strtol.c (__strtol): Use prototype definition.
1658
2a1cfd94
JM
1659 [BZ #17594]
1660 * stdlib/strtol.c (SYM__): New macro.
1661 (SYM__1): Likewise.
1662 (__strtol): Likewise.
1663 (strtol): Rename to __strtol and define as weak alias of
1664 __strtol. Use libc_hidden_weak.
1665
20ed0d26
SL
16662014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1667
1668 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1669 Use numbered labels in inline assembly.
1670
53244a4e
SL
16712014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1672
1673 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1674 Add setjmp LIBC_PROBE.
1675 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1676 Likewise.
1677 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1678 Add longjmp, longjmp_target LIBC_PROBE.
1679 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1680 Likewise.
1681
47df8251
SL
16822014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1683
1684 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1685 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1686 to get rid of unused variable warning.
1687
618cebef
SL
16882014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1689
1690 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1691 Check for unwind_backtrace == NULL only in SHARED case.
1692 (__backchain_backtrace): Compile only in SHARED case.
1693 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1694 Likewise.
1695 (__backchain_backtrace): Declare as static.
1696
c6aab2cb
RM
16972014-11-12 Roland McGrath <roland@hack.frob.com>
1698
1699 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1700 (__libc_multiple_threads_ptr): Variable moved ...
1701 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1702
5a6fa4d7
JM
17032014-11-12 Joseph Myers <joseph@codesourcery.com>
1704
24f4f825
JM
1705 * conform/GlibcConform.pm: New file.
1706 * conform/conformtest.pl: Use GlibcConform module.
1707 * conform/linknamespace.pl: New file.
1708 * conform/list-header-symbols.pl: Likewise.
1709 * conform/Makefile (linknamespace-symlists-base): New variable.
1710 (linknamespace-symlists-tests): Likewise.
1711 (linknamespace-header-base): Likewise.
1712 (linknamespace-header-tests): Likewise.
1713 (tests-special): Add new tests.
1714 ($(linknamespace-symlists-tests)): New rule.
1715 (linknamespace-libs): New variable.
1716 ($(objpfx)symlist-stdlibs): New rule.
1717 ($(linknamespace-header-tests)): Likewise.
1718 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1719 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1720 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1721 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1722 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1723 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1724 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1725 (test-xfail-ISO/math.h/linknamespace): Likewise.
1726 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1727 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1728 (test-xfail-ISO/time.h/linknamespace): Likewise.
1729 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1730 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1731 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1732 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1733 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1734 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1735 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1736 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1737 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1738 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1739 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1740 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1741 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1742 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1743 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1744 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1745 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1746 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1747 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1748 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1749 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1750 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1751 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1752 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1753 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1754 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1755 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1756 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1757 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1758 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1759 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1760 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1761 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1762 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1763 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1764 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1765 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1766 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1767 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1768 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1769 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1770 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1771 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1772 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1773 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1774 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1775 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1776 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1777 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1778 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1779 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1780 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1781 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1782 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1783 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1784 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1785 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1786 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1787 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1788 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1789 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1790 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1791 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1792 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1793 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1794 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1795 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1796 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1797 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1798 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1799 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1800 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1801 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1802 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1803 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1804 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1805 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1806 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1807 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1808 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1809 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1810 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1811 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1812 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1813 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1814 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1815 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1816 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1817 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1818 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1819 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1820 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1821 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1822 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1823 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1824 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1825 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1826 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1827 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1828 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1829 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1830 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1831 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1832 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1833 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1834 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1835 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1836 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1837 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1838 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1839 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1840 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1841 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1842 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1843 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1844 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1845 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1846 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1847 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1848 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1849 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1850 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1851 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1852 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1853 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1854 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1855 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1856 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1857 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1858 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1859 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1860 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1861 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1862 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1863 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1864 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1865 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1866 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1867 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1868 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1869 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1870 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1871 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1872 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1873 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1874 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1875 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1876 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1877 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1878 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1879
cc67478e
JM
1880 [BZ #17589]
1881 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1882 of fgets_unlocked.
1883
9975e3d3
JM
1884 [BZ #17585]
1885 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1886 (memmem): Rename to __memmem and define as weak alias of
1887 __memmem. Use libc_hidden_weak.
1888 (__memmem): Use libc_hidden_def.
1889 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1890 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1891 memmem.
1892
c4eae752
JM
1893 [BZ #17582]
1894 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1895 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1896 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1897 and define as weak alias of __fgets_unlocked. Use
1898 libc_hidden_weak.
1899 (__fgets_unlocked): Use libc_hidden_def.
1900 * include/stdio.h (__fgets_unlocked): Declare. Use
1901 libc_hidden_proto.
1902 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1903 __fgets_unlocked instead of fgets_unlocked.
1904 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1905 (GET_NPROCS_CONF_PARSER): Likewise.
1906 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1907 (GET_NPROCS_CONF_PARSER): Likewise.
1908
01cad84e
JM
1909 [BZ #17574]
1910 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1911 weak alias of __wmemset. Use libc_hidden_weak.
1912 (__wmemset): Use libc_hidden_def.
1913 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1914 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1915 of wmemset.
1916
939da411
JM
1917 [BZ #17573]
1918 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1919 with asm name __mempcpy.
1920 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1921
293d9a41
JM
1922 [BZ #17572]
1923 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1924 and define as weak alias of __rawmemchr.
1925 (__rawmemchr): Do not define as strong alias of rawmemchr.
1926
bef8fd60
JM
1927 [BZ #17571]
1928 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1929 alias of __qsort_r.
1930 (qsort): Call __qsort_r instead of qsort_r.
1931 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1932 (__qsort_r): Declare. Call libc_hidden_proto.
1933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1934 instead of qsort_r.
1935 * nscd/gai.c (__qsort_r): Define to qsort_r.
1936 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1937 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1938 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1939
c52ff39e
JM
1940 [BZ #17570]
1941 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1942 define as weak alias of __malloc_info.
1943
2f5c1b00
JM
1944 [BZ #17584]
1945 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1946 as weak alias of __rewinddir. Don't use libc_hidden_def.
1947 (__rewinddir): Use libc_hidden_def.
1948 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1949 as weak alias of __rewinddir. Don't use libc_hidden_def.
1950 (__rewinddir): Use libc_hidden_def.
1951 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1952 weak alias of __rewinddir. Don't use libc_hidden_def.
1953 (__rewinddir): Use libc_hidden_def.
1954 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1955 (__rewinddir): Use libc_hidden_proto.
1956 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1957 rewinddir.
1958 (__getcwd): Use __rewinddir instead of rewinddir.
1959
5a6fa4d7
JM
1960 [BZ #17583]
1961 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1962 alias of __fileno. Use libc_hidden_weak.
1963 (__fileno): Use libc_hidden_def.
1964 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1965 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1966 alias of __ftello.
1967 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1968 __ftello.
1969 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1970 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1971 libc_hidden_def.
1972 (fread_unlocked): Don't use libc_hidden_ver.
1973 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1974 and define as weak alias of __fread_unlocked. Don't use
1975 libc_hidden_def.
1976 (__fread_unlocked): Use libc_hidden_def.
1977 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1978 (ftello): Don't use libc_hidden_proto.
1979 (__ftello): Declare. Use libc_hidden_proto.
1980 (fread_unlocked): Don't use libc_hidden_proto.
1981 (__fread_unlocked): Declare. Use libc_hidden_proto.
1982 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1983 and __ftello instead of fileno, fread_unlocked and ftello.
1984
2581b98e
SP
19852012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1986
1987 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1988 GOT12.
1989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1990 Likewise.
1991 (_dl_start_user): Likewise.
1992 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1993
533bb7c2
SP
19942014-11-12 Carlos O'Donell <carlos@redhat.com>
1995 Siddhesh Poyarekar <siddhesh@redhat.com>
1996
1997 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1998 Move argv and envp down instead of moving argc up.
1999 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2000
fffa1cf8
LH
20012014-11-12 Leonhard Holz <leonhard.holz@web.de>
2002
2003 [BZ #17506]
2004 * test-skeleton.c (main): Return successful if one of
2005 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2006 * string/tst-strcoll-overflow.c: Define expected status.
2007
fb89b46d
TU
20082014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2009
2010 [BZ #17475]
2011 * locale/iso-639.def: Define Bhili and Tulu language codes.
2012
5c40c3ba
AH
20132014-11-11 Alan Hayward <alan.hayward@arm.com>
2014
2015 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2016
b17fe01b 20172014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
2018
2019 [BZ #17555]
2020 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2021
bd805071
AS
20222014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2023
2024 * configure.ac: Updated check of minimal required version to
2025 2.22.
2026 * manual/install.texi (Tools for Compilation): Updated version
2027 number.
2028 * configure: Regenerated.
2029 * INSTALL: Likewise.
2030
1400983e
AS
20312014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2032
2033 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2034 __tls_get_addr.
2035
2c46a66a
JM
20362014-11-07 Joseph Myers <joseph@codesourcery.com>
2037
2038 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2039 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2040 (__waitpid): Don't define as alias. Use libc_hidden_def not
2041 libc_hidden_weak.
2042 (waitpid): Define as alias of __waitpid.
2043 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2044 __waitpid.
2045 (__waitpid): Don't define as alias. Use libc_hidden_def not
2046 libc_hidden_weak.
2047 (waitpid): Define as alias of __waitpid.
2048 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2049 __libc_waitpid alias.
2050 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2052 Likewise.
2053 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2054 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2055 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2056 alias.
2057 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2058 __waitpid.
2059 (__waitpid): Don't define as alias. Use libc_hidden_def not
2060 libc_hidden_weak.
2061 (waitpid): Define as alias of __waitpid.
2062
da53d6db
CD
20632014-11-06 Carlos O'Donell <carlos@redhat.com>
2064
a2887bdb
CD
2065 * manual/llio.texi: Add comment that write safety has been
2066 fixed in Linux.
2067
da53d6db
CD
2068 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2069 (localplt-build-dso): Add elf/ld.so.
2070 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2071 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2072 and free for ld.so.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2074 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2078 Likewise.
2079 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2080 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2081 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2082 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2083 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2084 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2085 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2086 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2087 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2088 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2089 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2090
9cf27b8d
JM
20912014-11-05 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #14132]
2094 * include/libc-symbols.h (INTUSE): Remove macro.
2095 (INTDEF): Likewise.
2096 (INTVARDEF): Likewise.
2097 (_INTVARDEF): Likewise.
2098 (INTDEF2): Likewise.
2099 (INTVARDEF2): Likewise.
2100 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2101 rtld_hidden_def instead of INTVARDEF.
2102 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2103 (_dl_starting_up_internal): Remove declaration.
2104 (_dl_starting_up): Use rtld_hidden_proto.
2105 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2106 declaration.
2107 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2108 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2109 _dl_starting_up.
2110 * elf/dl-writev.h (_dl_writev): Likewise.
2111 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2112 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2113 _dl_starting_up_internal.
2114
af83568d
AZ
21152014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2116
2117 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2118 test-skeleton.c.
2119
b01ee67c
WN
21202014-11-05 Will Newton <will.newton@linaro.org>
2121
2122 * benchtests/Makefile: (bench-malloc): Add malloc thread
2123 scalability benchmark.
2124 * benchtests/bench-malloc-threads.c: New file.
2125
be9d4ccc
RE
21262014-11-05 Richard Earnshaw <rearnsha@arm.com>
2127
2128 * sysdeps/aarch64/strchrnul.S: New file.
2129
7110166d
AZ
21302014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2133 definition.
2134 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2135 Likwise.
2136 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2137 Likewise.
2138 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2139 Likewise.
2140 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2141 Likewise.
2142 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2143 Likewise.
2144
21452014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
2146
2147 * catgets/test-gencat.c: Use test-skeleton.c.
2148 * catgets/tst-catgets.c: Likewise.
2149 * csu/tst-empty.c: Likewise.
2150 * elf/tst-audit2.c: Likewise.
2151 * elf/tst-global1.c: Likewise.
2152 * elf/tst-pathopt.c: Likewise.
2153 * elf/tst-piemod1.c: Likewise.
2154 * elf/tst-tls10.c: Likewise.
2155 * elf/tst-tls11.c: Likewise.
2156 * elf/tst-tls12.c: Likewise.
2157 * gnulib/tst-gcc.c: Likewise.
2158 * iconvdata/tst-e2big.c: Likewise.
2159 * iconvdata/tst-loading.c: Likewise.
2160 * iconv/tst-iconv1.c: Likewise.
2161 * iconv/tst-iconv2.c: Likewise.
2162 * inet/test-inet6_opt.c: Likewise.
2163 * inet/tst-gethnm.c: Likewise.
2164 * inet/tst-network.c: Likewise.
2165 * inet/tst-ntoa.c: Likewise.
2166 * intl/tst-codeset.c: Likewise.
2167 * intl/tst-gettext2.c: Likewise.
2168 * intl/tst-gettext3.c: Likewise.
2169 * intl/tst-ngettext.c: Likewise.
2170 * intl/tst-translit.c: Likewise.
2171 * io/test-stat.c: Likewise.
2172 * libio/test-fmemopen.c: Likewise.
2173 * libio/tst-freopen.c: Likewise.
2174 * libio/tst-sscanf.c: Likewise.
2175 * libio/tst-ungetwc1.c: Likewise.
2176 * libio/tst-ungetwc2.c: Likewise.
2177 * libio/tst-widetext.c: Likewise.
2178 * localedata/tst-ctype.c: Likewise.
2179 * localedata/tst-digits.c: Likewise.
2180 * localedata/tst-leaks.c: Likewise.
2181 * localedata/tst-mbswcs1.c: Likewise.
2182 * localedata/tst-mbswcs2.c: Likewise.
2183 * localedata/tst-mbswcs3.c: Likewise.
2184 * localedata/tst-mbswcs4.c: Likewise.
2185 * localedata/tst-mbswcs5.c: Likewise.
2186 * localedata/tst-setlocale.c: Likewise.
2187 * localedata/tst-trans.c: Likewise.
2188 * localedata/tst-wctype.c: Likewise.
2189 * localedata/tst-xlocale1.c: Likewise.
2190 * login/tst-grantpt.c: Likewise.
2191 * malloc/tst-calloc.c: Likewise.
2192 * malloc/tst-malloc.c: Likewise.
2193 * malloc/tst-mallocstate.c: Likewise.
2194 * malloc/tst-mcheck.c: Likewise.
2195 * malloc/tst-mtrace.c: Likewise.
2196 * malloc/tst-obstack.c: Likewise.
2197 * math/atest-exp2.c: Likewise.
2198 * math/atest-exp.c: Likewise.
2199 * math/atest-sincos.c: Likewise.
2200 * math/test-matherr.c: Likewise.
2201 * math/test-misc.c: Likewise.
2202 * math/test-powl.c: Likewise.
2203 * math/tst-definitions.c: Likewise.
2204 * misc/tst-dirname.c: Likewise.
2205 * misc/tst-efgcvt.c: Likewise.
2206 * misc/tst-fdset.c: Likewise.
2207 * misc/tst-hsearch.c: Likewise.
2208 * misc/tst-mntent2.c: Likewise.
2209 * nptl/tst-sem7.c: Likewise.
2210 * nptl/tst-sem8.c: Likewise.
2211 * nptl/tst-sem9.c: Likewise.
2212 * nss/test-netdb.c: Likewise.
2213 * posix/tst-fnmatch.c: Likewise.
2214 * posix/tst-getlogin.c: Likewise.
2215 * posix/tst-gnuglob.c: Likewise.
2216 * posix/tst-mmap.c: Likewise.
2217 * pwd/tst-getpw.c: Likewise.
2218 * resolv/tst-inet_ntop.c: Likewise.
2219 * rt/tst-timer.c: Likewise.
2220 * stdio-common/test-fseek.c: Likewise.
2221 * stdio-common/test-popen.c: Likewise.
2222 * stdio-common/test-vfprintf.c: Likewise.
2223 * stdio-common/tst-cookie.c: Likewise.
2224 * stdio-common/tst-fileno.c: Likewise.
2225 * stdio-common/tst-gets.c: Likewise.
2226 * stdio-common/tst-obprintf.c: Likewise.
2227 * stdio-common/tst-perror.c: Likewise.
2228 * stdio-common/tst-sprintf2.c: Likewise.
2229 * stdio-common/tst-sprintf3.c: Likewise.
2230 * stdio-common/tst-sprintf.c: Likewise.
2231 * stdio-common/tst-swprintf.c: Likewise.
2232 * stdio-common/tst-tmpnam.c: Likewise.
2233 * stdio-common/tst-unbputc.c: Likewise.
2234 * stdio-common/tst-wc-printf.c: Likewise.
2235 * stdlib/tst-environ.c: Likewise.
2236 * stdlib/tst-fmtmsg.c: Likewise.
2237 * stdlib/tst-limits.c: Likewise.
2238 * stdlib/tst-rand48-2.c: Likewise.
2239 * stdlib/tst-rand48.c: Likewise.
2240 * stdlib/tst-random2.c: Likewise.
2241 * stdlib/tst-random.c: Likewise.
2242 * stdlib/tst-strtol.c: Likewise.
2243 * stdlib/tst-strtoll.c: Likewise.
2244 * stdlib/tst-tls-atexit.c: Likewise.
2245 * stdlib/tst-xpg-basename.c: Likewise.
2246 * string/test-ffs.c: Likewise.
2247 * string/tst-bswap.c: Likewise.
2248 * string/tst-inlcall.c: Likewise.
2249 * string/tst-strtok.c: Likewise.
2250 * string/tst-strxfrm.c: Likewise.
2251 * sysdeps/x86_64/tst-audit10.c: Likewise.
2252 * sysdeps/x86_64/tst-audit3.c: Likewise.
2253 * sysdeps/x86_64/tst-audit4.c: Likewise.
2254 * sysdeps/x86_64/tst-audit5.c: Likewise.
2255 * time/tst-ftime_l.c: Likewise.
2256 * time/tst-getdate.c: Likewise.
2257 * time/tst-mktime3.c: Likewise.
2258 * time/tst-mktime.c: Likewise.
2259 * time/tst-posixtz.c: Likewise.
2260 * time/tst-strptime2.c: Likewise.
2261 * time/tst-strptime3.c: Likewise.
2262 * wcsmbs/tst-btowc.c: Likewise.
2263 * wcsmbs/tst-mbrtowc.c: Likewise.
2264 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2265 * wcsmbs/tst-wchar-h.c: Likewise.
2266 * wcsmbs/tst-wcpncpy.c: Likewise.
2267 * wcsmbs/tst-wcrtomb.c: Likewise.
2268 * wcsmbs/tst-wcsnlen.c: Likewise.
2269 * wcsmbs/tst-wcstof.c: Likewise.
2270
2004e7fb
JM
22712014-11-04 Joseph Myers <joseph@codesourcery.com>
2272
ab97ee8f
JM
2273 [BZ #14132]
2274 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2275 INTDEF.
2276 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2277 declaration.
2278 (_dl_mcount): Use rtld_hidden_proto.
2279 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2280 _dl_mcount.
2281 * elf/rtld.c (_rtld_global_ro): Likewise.
2282
c5684fdb
JM
2283 [BZ #14132]
2284 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2285 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2286 of _dl_init_internal.
2287 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2288 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2289 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2290 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2291 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2292 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2293 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2294 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2295 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2296 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2297 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2298 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2299 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2300 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2301 * sysdeps/tile/dl-start.S (_start): Likewise.
2302 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2303 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2304
4243cbea
JM
2305 [BZ #14132]
2306 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2307 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2308 (rtld_progname): Make macro definition unconditional.
2309 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2310 INTDEF.
2311 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2312 (dl_main): Likewise.
2313 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2314 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2315 instead of _dl_argv_internal.
2316 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2317 __GI__dl_argv instead of INTUSE(_dl_argv).
2318 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2319 __GI__dl_argv instead of _dl_argv_internal.
2320
2004e7fb
JM
2321 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2322 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2323 macro.
2324 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2325 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2326 New macro.
2327 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2328 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2329 macro.
2330 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2331 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2332
97827bfc
AS
23332014-11-04 Andreas Schwab <schwab@suse.de>
2334
2335 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2336
5e4df284
AZ
23372014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2338
2339 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2340 mtvsrd instruction in binary form.
2341
04b76b5a
AS
23422014-11-03 Andreas Schwab <schwab@suse.de>
2343
2344 [BZ #17522]
2345 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2346 for less than MB_LEN_MAX use a local buffer of that size.
2347 * libio/tst-fputws.c: New file.
2348 * libio/Makefile (tests): Add tst-fputws.
2349
4c6da7da
JM
23502014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2351
2352 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2353 the size of the fpu_fr.fpu_dregs[] array.
2354
1679ba8e
JM
23552014-11-01 Joseph Myers <joseph@codesourcery.com>
2356
2357 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2358 (__nanosleep): Do not define as alias.
2359 (nanosleep): Define as alias of __nanosleep.
2360 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2361 __libc_nanosleep name.
2362
2626c183
JM
23632014-10-31 Joseph Myers <joseph@codesourcery.com>
2364
2365 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2366 install.texi in comment.
2367
7f981fc2
TR
23682014-10-31 Torvald Riegel <triegel@redhat.com>
2369
2370 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2371 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2372 ... add here and use lwsync or sync ...
2373 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2374 ... and add here using lwsync.
2375
d6f373d2
MF
23762014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2377
2378 * elf/dl-machine-reject-phdr.h: New file.
2379 * elf/dl-load.c: #include that.
2380 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2381 if that returned true.
2382
67c37987
RM
23832014-10-31 Roland McGrath <roland@hack.frob.com>
2384
2385 [BZ #17496]
2386 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2387 gen-as-const-headers chunk. Add a big scare comment after the last
2388 safe place to touch before-compile.
2389
94a42455 23902014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2391
f3f5d895
JM
2392 * manual/install.texi (Tools for Compilation): Update autoconf
2393 version requirements.
2394 * INSTALL: Regenerated.
2395
f62ff286
JM
2396 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2397 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2398 (__libc_pselect): Likewise.
94a42455
JM
2399
2400 [BZ #14138]
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2405
ff9dbdc0
TR
24062014-10-31 Torvald Riegel <triegel@redhat.com>
2407
2408 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2409 correct barrier instruction.
2410 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2411 Likewise.
2412 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2413 Likewise.
2414
b4f66884
RM
24152014-10-30 Roland McGrath <roland@hack.frob.com>
2416
2417 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2418 after defining inlines. Instead, just use parens to defeat macro
2419 expansion of __isctype in its declaration.
2420
e19c95fd
JM
24212014-10-30 Joseph Myers <joseph@codesourcery.com>
2422
2423 * include/sys/uio.h (__libc_readv): Remove declaration.
2424 (__libc_writev): Likewise.
2425 * misc/readv.c (__libc_readv): Rename to __readv.
2426 (__readv): Do not define as alias.
2427 (readv): Define as alias of __readv.
2428 * misc/writev.c (__libc_writev): Rename to __writev.
2429 (__writev): Do not define as alias.
2430 (writev): Define as alias of __writev.
2431 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2432 (__readv): Do not define as alias.
2433 (readv): Define unconditionally as alias of __readv.
2434 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2435 (__writev): Do not define as alias.
2436 (writev): Define unconditionally as alias of __writev.
2437 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2438 name.
2439 (writev): Do not define __libc_writev name.
2440
65b00b6c
RM
24412014-10-30 Roland McGrath <roland@hack.frob.com>
2442
2443 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2444 (convert_charseq): New function, broken out of ...
2445 (use_from_charmap): ... here. Call it.
2446 (use_to_charmap): Use convert_charseq and free instead of duplicating
2447 its code with a variable-length stack struct.
2448
d4e157aa
JM
24492014-10-30 Joseph Myers <joseph@codesourcery.com>
2450
2451 * include/fcntl.h (__libc_creat): Remove declaration.
2452 * io/creat.c (__libc_creat): Rename to creat.
2453 (creat): Do not define as alias.
2454 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2455 of creat instead of __libc_creat.
2456 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2457 to creat.
2458 (creat): Do not define as alias.
2459 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2460 __libc_creat.
2461 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2462 __libc_creat name.
2463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2464 Likewise.
2465
0c6891a0
CD
24662014-10-29 Carlos O'Donell <carlos@redhat.com>
2467
2468 * manual/llio.texi: Add comments discussing why write() may be
2469 considered MT-unsafe on Linux.
2470
cc00cece
CD
24712014-10-28 Carlos O'Donell <carlos@redhat.com>
2472
2473 * dl-load.c (local_strdup): Remove.
2474 (expand_dynamic_string_token): Use __strdup.
2475 (decompose_rpath): Likewise.
2476 (_dl_map_object): Likewise.
2477
51e623f2
JM
24782014-10-28 Joseph Myers <joseph@codesourcery.com>
2479
2480 [BZ #14132]
2481 * sysdeps/generic/unwind-dw2-fde.c
2482 (__register_frame_info_bases_internal): Do not declare.
2483 (__register_frame_info_table_bases_internal): Likewise.
2484 (__deregister_frame_info_bases_internal): Likewise.
2485 (__register_frame_info_bases): Declare and use hidden_proto before
2486 definition. Use hidden_def instead of INTDEF.
2487 (__register_frame_info_table_bases): Likewise.
2488 (__deregister_frame_info_bases): Likewise.
2489 (__register_frame_info): Do not use INTUSE.
2490 (__register_frame): Likewise.
2491 (__register_frame_info_table): Likewise.
2492 (__register_frame_table): Likewise.
2493 (__deregister_frame_info): Likewise.
2494 (__deregister_frame): Likewise.
2495
03d41216
GC
24962014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2497
2498 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2499 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2500 not undefine.
2501 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2502 Likewise.
2503 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2504 Likewise.
2505
a4b3624d
JM
25062014-10-27 Joseph Myers <joseph@codesourcery.com>
2507
2508 [BZ #14138]
2509 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2510 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2511 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2512 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2513 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2514 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2515 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2517 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2518 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2519 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2520 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2521 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2522 syscall.
2523 (setfsuid): Likewise.
2524 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2525 (setfsuid): Likewise.
2526 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2527 (setfsuid): Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2529 Likewise.
2530 (setfsuid): Likewise.
2531 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2532 (setfsuid): Likewise.
2533 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2534 Likewise.
2535 (setfsuid): Likewise.
2536
3574f2fd
AS
25372014-10-27 Andreas Schwab <schwab@suse.de>
2538
2539 [BZ #17501]
2540 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2541 check for Slow_SSE4_2 feature bit.
2542 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2543 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2544 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2545 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2546
70996a37
RM
25472014-10-24 Roland McGrath <roland@hack.frob.com>
2548
461a7b1e
RM
2549 * configure.ac: Validate compiler version with a empirical test of
2550 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2551 $CC -v output.
2552 * configure: Regenerated.
2553
70996a37
RM
2554 * inet/htons.c (htons): Prototypify.
2555 * inet/htonl.c (htonl): Likewise.
2556
e80514b5
WD
25572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2558
2559 * string/strncat.c (strncat): Improve performance by using strlen.
2560
6e46de42
WD
25612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2562
2563 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2564
6a9ad2fa
WD
25652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2566
2567 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2568 Call libc_fetestexcept_aarch64.
2569
1c8810ed
WD
25702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2571
2572 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2573 Call libc_feholdexcept_aarch64.
2574
8b1af712
WD
25752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2576
2577 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2578 Call get_rounding_mode.
2579
a7b00c11
WD
25802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2581
2582 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2583 Simplify logic.
2584
3a84f1a6
WD
25852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2586
2587 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2588 Simplify logic.
2589
48eb7a94
JM
25902014-10-24 Joseph Myers <joseph@codesourcery.com>
2591
c8bc4038
JM
2592 [BZ #14138]
2593 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2594 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2595 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2596 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2597 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2598 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2599 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2600 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2601 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2602 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2603 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2604 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2606 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2607 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2608 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2609 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2610 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2611 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2612 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2613 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2614 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2615 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2617 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2618 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2619 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2620 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2621 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2622 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2623 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2624 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2625 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2626 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2627 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2628 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2630 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2631 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2632 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2633 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2634 syscall.
2635 (geteuid): Likewise.
2636 (getgid): Likewise.
2637 (getuid): Likewise.
2638 (getresgid): Likewise.
2639 (getresuid): Likewise.
2640 (getgroups): Likewise.
2641 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2642 (geteuid): Likewise.
2643 (getgid): Likewise.
2644 (getuid): Likewise.
2645 (getresgid): Likewise.
2646 (getresuid): Likewise.
2647 (getgroups): Likewise.
2648 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2649 (geteuid): Likewise.
2650 (getgid): Likewise.
2651 (getuid): Likewise.
2652 (getresgid): Likewise.
2653 (getresuid): Likewise.
2654 (getgroups): Likewise.
2655 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2656 Likewise.
2657 (geteuid): Likewise.
2658 (getgid): Likewise.
2659 (getuid): Likewise.
2660 (getresgid): Likewise.
2661 (getresuid): Likewise.
2662 (getgroups): Likewise.
2663 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2664 (geteuid): Likewise.
2665 (getgid): Likewise.
2666 (getuid): Likewise.
2667 (getresgid): Likewise.
2668 (getresuid): Likewise.
2669 (getgroups): Likewise.
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2671 Likewise.
2672 (geteuid): Likewise.
2673 (getgid): Likewise.
2674 (getuid): Likewise.
2675 (getgroups): Likewise.
2676
48eb7a94
JM
2677 [BZ #14138]
2678 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2679 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2680 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2681 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2682 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2683 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2684 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2685 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2686 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2687 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2688 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2689 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2690 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2691 __chown.
2692 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2693 (lchown): Likewise.
2694 (fchown): Likewise.
2695 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2696 Likewise.
2697 (lchown): Likewise.
2698 (fchown): Likewise.
2699 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2700 (lchown): Likewise.
2701 (fchown): Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2703 Likewise.
2704 (lchown): Likewise.
2705 (fchown): Likewise.
2706
ea9a7c8b
WD
27072014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2708
2709 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2710 Simplify logic.
2711
e226de33
WD
27122014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2713
2714 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2715 Cleanup logic.
2716
6e3d8ed3
WD
27172014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2718
2719 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2720 Remove unused include.
2721
eb04247d
WD
27222014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2723
2724 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2725 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2726 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2727 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2728
13d84554
CD
27292014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2730 Helge Deller <deller@gmx.de>
2731
2732 [BZ #17508]
2733 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2734 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2735 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2736
15f9c5df
JM
27372014-10-23 Joseph Myers <joseph@codesourcery.com>
2738
2739 [BZ #14132]
2740 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2741 Remove macro definition.
2742 (__ashrdi3_v_glibc20): Likewise.
2743 (__lshrdi3_v_glibc20): Likewise.
2744 (__cmpdi2_v_glibc20): Likewise.
2745 (__ucmpdi2_v_glibc20): Likewise.
2746 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2747 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2748 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2749 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2750 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2751 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2752
c6dfed24
RM
27532014-10-22 Roland McGrath <roland@hack.frob.com>
2754
2755 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2756 old GNU extension [0] syntax.
2757 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2758 alloca rather than an array member with variable length.
2759 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2760 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2761 (parse_opt): ... here. Likewise use alloca there.
2762 Validate the -i argument before checking for rootness.
2763 (send_shutdown): New function, broken out of ...
2764 (parse_opt): ... here.
2765
8c2b1ed8
RM
27662014-10-22 Roland McGrath <roland@hack.frob.com>
2767
2768 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2769 macro to get at the _rt_local_ro field.
2770 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2771 ([PIC] case) or _dl_hwcap ([!PIC] case).
2772 * sysdeps/arm/setjmp.S: Likewise.
2773
2774 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2775 * sysdeps/arm/configure.ac: New check to define it.
2776 * sysdeps/arm/configure: Regenerated.
2777 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2778 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2779 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2780 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2781 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2782 Use move/movt pair instead of a load.
2783 (LDST_GLOBAL): Macro removed.
2784 (LDR_GLOBAL): New macro replaces it.
2785 (LDR_HIDDEN): New macro.
2786 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2787 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2788
2789 * setjmp/tst-setjmp-static.c: New file.
2790 * setjmp/Makefile (tests): Add it.
2791 (tests-static): New variable.
2792
b5af9297
MR
27932014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2794
2795 [BZ #17485]
2796 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2797
a13d0d74
JM
27982014-10-21 Joseph Myers <joseph@codesourcery.com>
2799
2800 [BZ #14132]
2801 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2802
f05e73f6
RM
28032014-10-21 Roland McGrath <roland@hack.frob.com>
2804
2805 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2806
6ab1d1ea
RM
28072014-10-20 Roland McGrath <roland@hack.frob.com>
2808
2809 * io/fts.c (dirent_not_directory): New function.
2810 (fts_build): Call it.
2811
ab49e763
RM
28122014-10-20 Roland McGrath <roland@hack.frob.com>
2813
e436eb79
RM
2814 * nptl/version.c (__nptl_main): Use normal __write rather than
2815 INTERNAL_SYSCALL.
2816 (banner): Update copyright years.
2817
6af246cf
RM
2818 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2819 gettimeofday.
2820 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2821 * nptl/pthread_cond_timedwait.c: Likewise.
2822 * nptl/pthread_mutex_timedlock.c: Likewise.
2823 * nptl/sem_timedwait.c: Likewise.
2824
ab49e763
RM
2825 * sysdeps/nptl/bits/libc-lock.h
2826 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2827 (__libc_lock_init_recursive): Return void, not 0.
2828 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2829 (__libc_rwlock_init): Likewise.
2830 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2831
f50277c1
TR
28322014-10-20 Torvald Riegel <triegel@redhat.com>
2833
2834 [BZ #15215]
2835 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2836 (__pthread_once_slow): ... here.
2837 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2838 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2839
63668b70
TR
28402014-10-20 Torvald Riegel <triegel@redhat.com>
2841
2842 [BZ #15215]
2843 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2844 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2845 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2846 * nptl/pthread_once.c (__pthread_once): Likewise.
2847 Update comments.
2848
42b7f5d4
JM
28492014-10-20 Joseph Myers <joseph@codesourcery.com>
2850
2851 [BZ #14138]
2852 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2853 name.
2854 (writev): Use __libc_writev as strong name.
2855 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2856 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2857
b0643088
RM
28582014-10-17 Roland McGrath <roland@hack.frob.com>
2859
114c4e09
RM
2860 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2861
674b8978
RM
2862 * sysdeps/i386/nptl/tls.h
2863 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2864 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2865 New macros.
2866 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2867 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2868 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2869 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2870 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2871 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2872
184ee940
RM
2873 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2874 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2875 on [__NR_futex].
2876 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2877 broken out of ...
2878 (__pthread_mutex_init): ... here. Call it.
2879 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2880 Conditionalize PI cases on [__NR_futex].
2881 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2882 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2883 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2884
327ae257
RM
2885 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2886 conditional on [SIGSETXID].
2887 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2888 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2889 is defined. Likewise for SIGSETXID.
2890 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2891 Conditionalize definitions on [SIGSETXID].
2892 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2893 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2894 unblocking on [SIGCANCEL].
2895
b0643088
RM
2896 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2897 [__NR_set_robust_list].
2898
33cc770b
SP
28992014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2900
2901 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2902 (do_compare): Likewise.
2903
0742aef6
LH
29042014-10-17 Leonhard Holz <leonhard.holz@web.de>
2905
2906 [BZ #15884]
2907 * string/strcoll_l.c: Don't include stdio.h.
2908 (coll_seq): Remove members idxarr and rulearr.
2909 (get_next_seq_cached): Remove function.
2910 (get_next_seq): Likewise.
2911 (get_next_seq_nocache): Rename to get_next_seq.
2912 (do_compare): Remove function.
2913 (do_compare_nocache): Rename to do_compare.
2914 (STRCOLL): Remove weight and rules cache.
2915
ee54ce44
RM
29162014-10-16 Roland McGrath <roland@hack.frob.com>
2917
2918 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2919 * sysdeps/arm/sfp-machine.h: ... to here.
2920 * sysdeps/arm/Implies: Remove arm/soft-fp.
2921
a75d3b02
JM
29222014-10-14 Joseph Myers <joseph@codesourcery.com>
2923
2924 * conform/data/sys/utsname.h-data (*_t): Allow.
2925 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2926 [POSIX] (WEXITED): Do not expect constant.
2927 [POSIX] (WSTOPPED): Likewise.
2928 [POSIX] (WNOHANG): Likewise.
2929 [POSIX] (WNOWAIT): Likewise.
2930 [POSIX] (siginfo_t): Do not expect type or elements.
2931 [POSIX] (pid_t): Do not expect type.
2932 [POSIX] (signal.h): Do not allow header.
2933 [POSIX] (sys/resource.h): Likewise.
2934 [POSIX] (si_*): Do not allow pattern.
2935 [POSIX] (W*): Likewise.
2936 [POSIX] (P_*): Likewise.
2937 [POSIX] (BUS_*): Likewise.
2938 [POSIX] (CLD_*): Likewise.
2939 [POSIX] (FPE_*): Likewise.
2940 [POSIX] (ILL_*): Likewise.
2941 [POSIX] (POLL_*): Likewise.
2942 [POSIX] (SEGV_*): Likewise.
2943 [POSIX] (SI_*): Likewise.
2944 [POSIX] (TRAP_*): Likewise.
2945 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2946 variable.
2947
fda389c8
SP
29482014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2949
2950 [BZ #12926]
2951 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2952 infinite loop when __recvmsg returns 0.
2953
6bc6bd3b
JM
29542014-10-10 Joseph Myers <joseph@codesourcery.com>
2955
fcb32af1
JM
2956 * CANCEL-FCT-WAIVE: Remove file.
2957 * CANCEL-FILE-WAIVE: Likewise.
2958
6bc6bd3b
JM
2959 [BZ #14132]
2960 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2961 instead of INTVARDEF.
2962 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2963 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2964 rtld_hidden_data_def instead of INTVARDEF.
2965 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2966 * elf/dl-deps.c (expand_dst): Likewise.
2967 * elf/dl-load.c (_dl_dst_count): Likewise.
2968 (_dl_dst_substitute): Likewise.
2969 (decompose_rpath): Likewise.
2970 (_dl_init_paths): Likewise.
2971 (open_path): Likewise.
2972 (_dl_map_object): Likewise.
2973 * elf/rtld.c (dl_main): Likewise.
2974 (process_dl_audit): Likewise.
2975 (process_envvars): Likewise.
2976 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2977 Remove declaration.
2978 (__libc_enable_secure): Use rtld_hidden_proto.
2979
b8c80a7e
KS
29802014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2981
2982 * elf/dl-load.c
2983 (add_path): New function broken out of _dl_rtld_di_serinfo.
2984 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2985
ff12c11f
JM
29862014-10-09 Joseph Myers <joseph@codesourcery.com>
2987
5c0508a3
JM
2988 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2989 parentheses around macro arguments.
2990 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2991 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2992 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2993 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2994 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2995 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2996 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2997 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2998 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2999 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3000 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3001 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3002 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3003 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3004 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3005 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3006 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3007 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3008 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3009 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3010 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3012 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3013 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3014 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3015 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3016 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3017 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3018 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3019 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3020 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3021 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3022 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3023 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3024 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3025 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3026 Likewise.
3027 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3028 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3029 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3030 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3031 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3032 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3034 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3035 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3036 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3037 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3038 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3039 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3040 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3041 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3042 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3043 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3046 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3047 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3048 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3049 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3050 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3051 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3052 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3053 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3054 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3055 (_FP_FRAC_SRS_1): Likewise.
3056 (_FP_FRAC_CLZ_1): Likewise.
3057 (_FP_MUL_MEAT_1_imm): Likewise.
3058 (_FP_MUL_MEAT_1_wide): Likewise.
3059 (_FP_MUL_MEAT_1_hard): Likewise.
3060 (_FP_SQRT_MEAT_1): Likewise.
3061 (_FP_FRAC_ASSEMBLE_1): Likewise.
3062 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3063 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3064 (__FP_CLZ_2): Likewise.
3065 (_FP_MUL_MEAT_2_wide): Likewise.
3066 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3067 (_FP_MUL_MEAT_2_gmp): Likewise.
3068 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3069 (_FP_SQRT_MEAT_2): Likewise.
3070 (_FP_FRAC_ASSEMBLE_2): Likewise.
3071 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3072 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3073 (_FP_FRAC_CLZ_4): Likewise.
3074 (_FP_MUL_MEAT_4_wide): Likewise.
3075 (_FP_MUL_MEAT_4_gmp): Likewise.
3076 (_FP_SQRT_MEAT_4): Likewise.
3077 (_FP_FRAC_ASSEMBLE_4): Likewise.
3078 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3079 * soft-fp/op-common.h (_FP_CMP): Likewise.
3080 (_FP_CMP_EQ): Likewise.
3081 (_FP_CMP_UNORD): Likewise.
3082 (_FP_TO_INT): Likewise.
3083 (_FP_FROM_INT): Likewise.
3084 [!__FP_CLZ] (__FP_CLZ): Likewise.
3085 (_FP_DIV_HELP_imm): Likewise.
3086 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3087 Likewise.
3088 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3089 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3090 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3091 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3092 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3093 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3094 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3095 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3096 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3097 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3098 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3099 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3100 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3101 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3102 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3103 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3104 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3105 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3106 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3107 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3108 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3109 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3110 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3111 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3112 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3113 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3114 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3115 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3116 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3117 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3118 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3119 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3120 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3121 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3122 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3123 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3124 (FP_UNPACK_RAW_SP): Likewise.
3125 (FP_PACK_RAW_S): Likewise.
3126 (FP_PACK_RAW_SP): Likewise.
3127 (FP_UNPACK_S): Likewise.
3128 (FP_UNPACK_SP): Likewise.
3129 (FP_UNPACK_SEMIRAW_S): Likewise.
3130 (FP_UNPACK_SEMIRAW_SP): Likewise.
3131 (FP_PACK_S): Likewise.
3132 (FP_PACK_SP): Likewise.
3133 (FP_PACK_SEMIRAW_S): Likewise.
3134 (FP_PACK_SEMIRAW_SP): Likewise.
3135 (_FP_SQRT_MEAT_S): Likewise.
3136 (FP_CMP_S): Likewise.
3137 (FP_CMP_EQ_S): Likewise.
3138 (FP_CMP_UNORD_S): Likewise.
3139 (FP_TO_INT_S): Likewise.
3140 (FP_FROM_INT_S): Likewise.
3141
a736ec37
JM
3142 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3143
ff12c11f
JM
3144 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3145 (FP_EX_INVALID_IMZ): Likewise.
3146 (FP_EX_INVALID_IMZ_FMA): Likewise.
3147 (FP_EX_INVALID_ISI): Likewise.
3148 (FP_EX_INVALID_ZDZ): Likewise.
3149 (FP_EX_INVALID_IDI): Likewise.
3150 (FP_EX_INVALID_SQRT): Likewise.
3151 (FP_EX_INVALID_CVI): Likewise.
3152 (FP_EX_INVALID_VC): Likewise.
3153 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3154 "invalid" exceptions.
3155 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3156 (_FP_ADD_INTERNAL): Likewise.
3157 (_FP_MUL): Likewise.
3158 (_FP_FMA): Likewise.
3159 (_FP_DIV): Likewise.
3160 (_FP_CMP_CHECK_NAN): Likewise.
3161 (_FP_SQRT): Likewise.
3162 (_FP_TO_INT): Likewise.
3163 (FP_EXTEND): Likewise.
3164
b6dcfe8c
AM
31652014-10-09 Allan McRae <allan@archlinux.org>
3166
3167 * po/fr.po: Update French translation from translation project.
3168
2d6a47ba
JM
31692014-10-09 Joseph Myers <joseph@codesourcery.com>
3170
cb831245
JM
3171 [BZ #14132]
3172 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3173 of INTDEF.
3174 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3175 (__cxa_atexit): Use libc_hidden_proto.
3176 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3177
5deeb190
JM
3178 [BZ #14132]
3179 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3180 declaration.
3181 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3182 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3183 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3184 [!_ISOMAC] (__iswctype_internal): Likewise.
3185 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3186 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3187 alias.
3188 (fcntl): Remove __fcntl_internal alias.
3189 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3190 __connect_internal alias.
3191 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3192 Likewise.
3193
454ac701
JM
3194 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3195 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3196 FP_DENORM_ZERO.
3197 (_FP_CHECK_FLUSH_ZERO): New macro.
3198 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3199 (_FP_CMP): Likewise.
3200 (_FP_CMP_EQ): Likewise.
3201 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3202 FP_DENORM_ZERO.
3203 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3204 (FP_TRUNC): Likewise.
3205
0022e688
JM
3206 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3207 treated as invalid conversion, not as normal exponent.
3208
73e28d9c
JM
3209 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3210 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3211 (_FP_CMP_EQ): Likewise.
3212 (_FP_CMP_UNORD): Likewise.
3213 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3214 (FP_CMP_EQ_D): Likewise.
3215 (FP_CMP_UNORD_D): Likewise.
3216 * soft-fp/extended.h (FP_CMP_E): Likewise.
3217 (FP_CMP_EQ_E): Likewise.
3218 (FP_CMP_UNORD_E): Likewise.
3219 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3220 (FP_CMP_EQ_Q): Likewise.
3221 (FP_CMP_UNORD_Q): Likewise.
3222 * soft-fp/single.h (FP_CMP_S): Likewise.
3223 (FP_CMP_EQ_S): Likewise.
3224 (FP_CMP_UNORD_S): Likewise.
3225 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3226 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3227 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3228 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3229 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3230 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3231 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3232 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3233 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3234 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3235 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3236 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3237 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3238 to FP_CMP_Q.
3239 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3240 FP_CMP_Q.
3241 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3242 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3243 FP_CMP_EQ_Q.
3244 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3245 FP_CMP_Q.
3246 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3247 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3248 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3249 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3250 FP_CMP_EQ_Q.
3251 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3252 FP_CMP_Q.
3253 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3254 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3255 FP_CMP_EQ_Q.
3256 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3257 FP_CMP_Q.
3258 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3259 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3260 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3261 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3262 FP_CMP_EQ_Q.
3263
43059f42
JM
3264 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3265 a subnormal result, set the underflow exception if trapping on
3266 underflow is enabled.
3267 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3268 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3269 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3270 redefine to 0.
3271 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3272 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3273 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3274 * soft-fp/extendxftf2.c (__extendxftf2): Use
3275 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3276
2d6a47ba
JM
3277 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3278 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3279 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3280 FP_HANDLE_EXCEPTIONS.
3281 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3282 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3283 FP_HANDLE_EXCEPTIONS.
3284 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3285 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3286 FP_HANDLE_EXCEPTIONS.
3287 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3288 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3289 FP_HANDLE_EXCEPTIONS.
3290
620f462e
JM
32912014-10-08 Joseph Myers <joseph@codesourcery.com>
3292
3293 [BZ #14132]
3294 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3295 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3296 use INTUSE.
3297 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3298 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3299 Remove alias.
3300 (__adjtimex): Define using libc_hidden_ver.
3301 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3302 Remove declaration.
3303 (ntp_gettime): Call __adjtimex directly.
3304 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3305 Remove declaration.
3306 (ntp_gettimex): Call __adjtimex directly.
3307 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3308 __adjtimex_internal alias.
3309
c763c5d2
RM
33102014-10-08 Roland McGrath <roland@hack.frob.com>
3311
3312 [BZ #17460]
3313 * nscd/nscd.c (more_help): Rewrite list of tables collection
3314 using xstrdup and asprintf.
3315
3316 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3317
7b8fb2b8
RM
33182014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3319 Roland McGrath <roland@hack.frob.com>
3320
3321 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3322 (do_lookup_unique): ... local function 'enter' here; update callers.
3323
abb280f7
JM
33242014-10-06 Joseph Myers <joseph@codesourcery.com>
3325
f7b42517
JM
3326 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3327 compat_symbol calls on [SHARED].
3328 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3329 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3330 Remove.
3331 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3332 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3333 (oldsetrlimit): Remove.
3334 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3336 (lchown): New syscall entry.
3337 (oldsetrlimit): Remove.
3338 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3339 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3340 (oldsetrlimit): Remove.
3341 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3342
abb280f7
JM
3343 [BZ #14138]
3344 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3345 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3346 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3347 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3349 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3350 (fchown): Likewise.
3351 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3352 (fchown): Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3354 Likewise.
3355
47d46237
AZ
33562014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3357
3358 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3359 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3360 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3361 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3362 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3363 Likewise.
3364 (__old_sem_post): Likewise.
3365
33662014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3367
845a7343
CM
3368 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3369 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3370 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3371 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3372 Use INLINE_VSYSCALL macro.
3373 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3374 __vdso_clock_gettime.
3375 * sysdeps/unix/sysv/linux/tile/init-first.c
3376 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3377 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3378 __vdso_clock_gettime.
3379
83d641ef
CM
3380 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3381 to set up frame more cleanly.
3382
d9cd52e6
CM
3383 * sysdeps/tile/memcmp.c: New file.
3384
4b68ea11
CM
3385 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3386
c86f7b80
CM
3387 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3388 * sysdeps/tile/tilegx/strcasestr.c: New file.
3389 * sysdeps/tile/tilegx/strnlen.c: New file.
3390 * sysdeps/tile/tilegx/strstr.c: New file.
3391
1c4c1a6f
CM
3392 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3393
99d86ea3
AS
33942014-10-06 Arjun Shankar <arjun.is@lostca.se>
3395
3396 * nptl/tst-setuid3.c: Write errors to stdout.
3397
06210a44
KS
33982014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3399
3400 * elf/dl-deps.c
3401 (preload): New functions broken out of _dl_map_object_deps.
3402 (_dl_map_object_deps): Remove a nested function. Update call sites.
3403
6268f532
JM
34042014-10-01 Joseph Myers <joseph@codesourcery.com>
3405
3406 [BZ #14138]
3407 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3408 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3409
b925285f
SE
34102014-10-01 Steve Ellcey <sellcey@mips.com>
3411
3412 * sysdeps/mips/strcmp.S: New.
3413
754a15c6
JM
34142014-09-30 Joseph Myers <joseph@codesourcery.com>
3415
3416 [BZ #14138]
3417 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3418 (linkat): Likewise.
3419 (mkdirat): Likewise.
3420 (readlinkat): Likewise.
3421 (renameat): Likewise.
3422 (symlinkat): Likewise.
3423 (unlinkat): Likewise.
3424 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3425 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3426 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3427 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3428 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3429 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3430 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3431
85bb81c9
WN
34322014-09-30 Will Newton <will.newton@linaro.org>
3433
dc6fe23b
WN
3434 * math/math.h: Define long double math functions if
3435 _LIBC_TEST is defined.
3436 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3437
85bb81c9
WN
3438 * localedata/Makefile: Move assignment to tests-special
3439 into an ifdef testing run-built-tests.
3440 * timezone/Makefile: Likewise.
3441
b7e02da4
JM
34422014-09-29 Joseph Myers <joseph@codesourcery.com>
3443
3444 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3445 with $(BASH) not $(SHELL).
3446
62058ce6
CD
34472014-09-29 Carlos O'Donell <carlos@redhat.com>
3448 Matthew LeGendre <legendre1@llnl.gov>
3449
3450 [BZ #17411]
3451 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3452 l_reloc_result.
3453
8e257a29
KS
34542014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3455
3456 * stdio-common/printf_fp.c
3457 (hack_digit): New function, broken out of ...
3458 (__printf_fp): ... local function here. Update call sites.
3459 hack_digit now takes an additional parameter that is a pointer
3460 to a struct of the referenced locals. Those locals moved inside
3461 the struct and references updated.
3462
f4a58f0d
L
34632014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * aclocal.m4: Require autoconf 2.69.
3466 * configure: Regenerated.
3467 * sysdeps/aarch64/configure: Likewise.
3468 * sysdeps/alpha/configure: Likewise.
3469 * sysdeps/arm/armv7/configure: Likewise.
3470 * sysdeps/arm/configure: Likewise.
3471 * sysdeps/ia64/configure: Likewise.
3472 * sysdeps/mach/configure: Likewise.
3473 * sysdeps/mips/configure: Likewise.
3474 * sysdeps/s390/configure: Likewise.
3475 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3477
3478 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3479 file.
3480 * sysdeps/ia64/configure.ac: Likewise.
3481
93ae1eba
JM
34822014-09-26 Joseph Myers <joseph@codesourcery.com>
3483
1810d3ab
JM
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3485 specify symbol version for ld.so. Do not include entry for
3486 libpthread.
3487 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3488 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3489 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3490
93ae1eba
JM
3491 [BZ #14171]
3492 * Makeconfig [$(build-shared) = yes]
3493 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3494 makefiles.
3495 [$(build-shared) = yes && $(soversions.mk-done) = t]
3496 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3497 [$(build-shared) = yes && $(soversions.mk-done) = t]
3498 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3499 to Makerules.
3500 [$(build-shared) = yes && $(soversions.mk-done) = t]
3501 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3502 here.
3503 [$(build-shared) = yes && $(soversions.mk-done) = t]
3504 (common-generated): Don't append gnu/lib-names.h and
3505 gnu/lib-names.stmp here.
3506 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3507 (lib-names-h-abi): New variable.
3508 [$(build-shared) = yes && $(soversions.mk-done) = t]
3509 (lib-names-stmp-abi): Likewise.
3510 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3511 abi-variants] (before-compile): Append
3512 $(common-objpfx)$(lib-names-h-abi).
3513 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3514 abi-variants] (common-generated): Append gnu/lib-names.h.
3515 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3516 abi-variants] (install-others-nosubdir): Depend on
3517 $(inst_includedir)/$(lib-names-h-abi).
3518 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3519 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3520 [$(build-shared) = yes && $(soversions.mk-done) = t]
3521 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3522 [$(build-shared) = yes && $(soversions.mk-done) = t]
3523 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3524 [$(build-shared) = yes && $(soversions.mk-done) = t]
3525 (common-generated): Append $(lib-names-h-abi) and
3526 $(lib-names-stmp-abi).
3527 * scripts/lib-names.awk: Do not handle multi being set.
3528 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3529 Remove variable.
3530 (abi-lp64_be-ld-soname): Likewise.
3531 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3532 Likewise.
3533 (abi-hard-ld-soname): Likewise.
3534 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3535 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3536 Remove variable.
3537 (abi-o32_hard-ld-soname): Likewise.
3538 (abi-o32_soft_2008-ld-soname): Likewise.
3539 (abi-o32_hard_2008-ld-soname): Likewise.
3540 (abi-n32_soft-ld-soname): Likewise.
3541 (abi-n32_hard-ld-soname): Likewise.
3542 (abi-n32_soft_2008-ld-soname): Likewise.
3543 (abi-n32_hard_2008-ld-soname): Likewise.
3544 (abi-n64_soft-ld-soname): Likewise.
3545 (abi-n64_hard-ld-soname): Likewise.
3546 (abi-n64_soft_2008-ld-soname): Likewise.
3547 (abi-n64_hard_2008-ld-soname): Likewise.
3548 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3549 Likewise.
3550 (abi-64-v2-ld-soname): Likewise.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3552 ld.so entries.
3553 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3554 variable.
3555 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3556 entry.
3557 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3558 variable.
3559 (abi-64-ld-soname): Likewise.
3560 (abi-x32-ld-soname): Likewise.
3561 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3562 entry.
3563 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3564
68870f12
JM
35652014-09-23 Joseph Myers <joseph@codesourcery.com>
3566
3567 [BZ #14138]
3568 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3569 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3570 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3571 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3572 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3573 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3574 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3575 syscall entry for GLIBC_2.2 symbol version.
3576 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3577 Likewise.
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3579 (setrlimit): Likewise.
3580 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3581 Likewise.
3582
ea58f202
WN
35832014-09-23 Will Newton <will.newton@linaro.org>
3584
3585 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3586 _LINUX_ARM_SYSDEP_H include guard too.
3587 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3588 define.
3589
69eb9a18
RV
35902014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3591
3592 * sysdeps/unix/sysv/linux/eventfd.c:
3593 Make first argument unsigned.
3594 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3595 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3596
20e5a5f7
OB
35972014-09-20 Ondřej Bílka <neleai@seznam.cz>
3598
3599 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3600 * socket/sys/socket.h: Likewise
3601 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3602
d3c827e7
AK
36032014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3604
3605 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3606
fe1cc35a
AS
36072014-09-17 Arjun Shankar <arjun.is@lostca.se>
3608
3609 * time/tst-ftime.c: New test.
3610 * time/Makefile (tests): Add tst-ftime.
3611
4e8afe69
JM
36122014-09-17 Joseph Myers <joseph@codesourcery.com>
3613
c4fe3ea7
JM
3614 * soft-fp/extended.h: Fix comment formatting.
3615 * soft-fp/op-1.h: Likewise.
3616 * soft-fp/op-2.h: Likewise.
3617 * soft-fp/op-4.h: Likewise.
3618 * soft-fp/op-8.h: Likewise.
3619 * soft-fp/op-common.h: Likewise.
3620 * soft-fp/soft-fp.h: Likewise.
3621
4e8afe69
JM
3622 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3623
af296fcd
JM
36242014-09-16 Joseph Myers <joseph@codesourcery.com>
3625
3626 [BZ #6652]
3627 * Makeconfig (soversions-default-setname): Remove variable.
3628 ($(common-objpfx)soversions.i): Don't pass default_setname to
3629 soversions.awk.
3630 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3631 oldest_abi to abi-versions.awk.
3632 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3633 * config.make.in (oldest-abi): Remove variable.
3634 * configure.ac (--enable-oldest-abi): Remove configure option.
3635 * configure: Regenerated.
3636 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3637 text.
3638 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3639 * scripts/soversions.awk: Do not handle default_setname variable.
3640 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3641 variable.
3642 * sysdeps/mach/hurd/configure: Regenerated.
3643 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3644 variable.
3645 * sysdeps/unix/sysv/linux/configure: Regenerated.
3646
545583d6
SP
36472014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3648
d330b980
SP
3649 * elf/Makefile (CFLAGS-interp.c): Remove.
3650 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3651 path string.
3652 * elf/interp.c: Include generated runtime-linker.h
3653
02657da2
SP
3654 * Makerules (lib%.so): Don't include $(+interp) in
3655 prerequisites.
3656 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3657 * dlfcn/eval.c: Remove file.
3658
653b1080
SP
3659 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3660 macros.
3661
602f80ec
SP
3662 [BZ #17266]
3663 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3664 4.2 and newer.
3665
545583d6
SP
3666 [BZ #17370]
3667 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3668
884ddc50
SP
36692014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3670 Jakub Jelinek <jakub@redhat.com>
3671
3672 [BZ #17266]
3673 * libio/stdio.h: Check definition of __fortify_function
3674 instead of __extern_always_inline to include bits/stdio2.h.
3675 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3676 check if __extern_always_inline is defined.
3677 [__USE_MISC || __USE_XOPEN]: Likewise.
3678 [__USE_ISOC99] Likewise.
3679 * misc/sys/cdefs.h (__fortify_function): Define only if
3680 __extern_always_inline is defined.
3681 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3682 __extern_always_inline and __extern_inline only for g++-4.3
3683 and newer or a compatible gcc.
3684
a7b87268
AS
36852014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3686
3687 [BZ #17371]
3688 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3689 last change to handle zero prefix length.
3690
3f41521d
SP
36912014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3692
61fe374a
SP
3693 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3694 _SC_REGEX_VERSION.
3695
3f41521d
SP
3696 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3697 _POSIX_RAW_SOCKETS.
3698
d8f879ee
AM
36992014-09-13 Allan McRae <allan@archlinux.org>
3700
3701 * po/ru.po: Update Russian translation from translation project.
3702
c079afb7
RM
37032014-09-12 Roland McGrath <roland@hack.frob.com>
3704
a62b3c15
RM
3705 * locale/programs/locale.c (show_locale_vars): Inline local function
3706 into its sole call site. Clean up some style nits.
3707 (print_item): New function, broken out of ...
3708 (show_info): ... local function here. Clean up style nits.
3709
d7e49b19
RM
3710 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3711 out of ...
3712 (set_class_defaults): ... local function set_default here.
3713 Define set_default as a macro locally to pass constant parameters.
3714 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3715 rather than a shared local.
3716
c079afb7
RM
3717 * stdlib/rpmatch.c (try): New function, broken out of ...
3718 (rpmatch): ... local function here. Also, prototypify definition.
3719
0bd72468
JM
37202014-09-12 Joseph Myers <joseph@codesourcery.com>
3721
ba90e050
JM
3722 * scripts/soversions.awk: Do not handle configuration names.
3723 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3724 vendor and os variables to soversions.awk.
3725 * configure.ac: Do not modify gnu-* host_os.
3726 * configure: Regenerated
3727 * shlib-versions: Remove first column with configuration names.
3728 * nptl/shlib-versions: Likewise.
3729 * nptl_db/shlib-versions: Likewise.
3730 * sysdeps/hppa/shlib-versions: Likewise.
3731 * sysdeps/m68k/shlib-versions: Likewise.
3732 * sysdeps/mach/hurd/shlib-versions: Likewise.
3733 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3734 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3735 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3736 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3737 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3738 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3739 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3740 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3742 Likewise.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3744 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3745 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3746 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3747 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3748 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3749 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3750 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3751
73a39112
JM
3752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3753 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3755 Regenerated.
3756 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3758 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3759
c729e7c1
JM
3760 * shlib-versions: Remove OS-specific entries. Moved to files in
3761 sysdeps.
3762 * sysdeps/mach/hurd/shlib-versions: New file.
3763 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3764
dc932a24
JM
3765 * nptl/shlib-versions: Remove architecture-specific entries.
3766 Moved to files in sysdeps.
3767 * shlib-versions: Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3769 file.
3770 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3771 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3772 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3774
0bd72468
JM
3775 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3776 (UDP_NO_CHECK6_RX): Likewise.
3777
920238e0
SP
37782014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3779
3780 * sysdeps/posix/sysconf.c (__sysconf): Spell
3781 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3782
ba7b4d29
FW
37832014-08-12 Florian Weimer <fweimer@redhat.com>
3784
3785 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3786 loading.
3787 * iconv/Versions (__gconv_transliterate): Export for use from
3788 gconv modules.
3789 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3790 (struct __gconv_trans_data, __gconv_trans_fct,
3791 __gconv_trans_context_fct, __gconv_trans_query_fct,
3792 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3793 definitions.
3794 (struct __gconv_step_data): Remove __trans member.
3795 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3796 longer hidden. Remove unused trans_data argument.
3797 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3798 (__gconv_translit_find): Remove declaration.
3799 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3800 prototype.
3801 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3802 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3803 trans_data argument. Add hidden definition.
3804 (__gconv_translit_find): Remove.
3805 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3806 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3807 * iconv/skeleton.c: Remove transliteration initialization.
3808 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3809 __gconv_step_data initialization.
3810 * libio/iofwide.c (__libio_translit_): Remove.
3811 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3812 * wcsmbs/btowc.c (__btowc): Likewise.
3813 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3814 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3815 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3816 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3817 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3818 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3819 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3820 * wcsmbs/wctob.c (wctob): Likewise.
3821
5379aebd
SP
38222014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3823
3824 [BZ #16194]
3825 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3826 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3827 register usage.
3828 * sysdeps/x86/Makefile: Adjust.
3829
8c0ab919
RM
38302014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3831 Roland McGrath <roland@hack.frob.com>
3832
3833 * locale/weight.h: Add include guard.
3834 (findidx): Make static rather than auto; take new parameters
3835 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3836 * locale/weightwc.h: Likewise.
3837 * posix/fnmatch_loop.c
3838 (FCT): Change type of EXTRA from int32_t to wint_t.
3839 Don't include either header inside the function.
3840 Call FINDIDX rather than findidx, and pass new arguments.
3841 #undef FINDIDX at the end of the file.
3842 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3843 FINDIDX before including fnmatch_loop.c for the non-wide version.
3844 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3845 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3846 for the wide version.
3847 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3848 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3849 Pass new arguments to findidx.
3850 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3851 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3852 Don't #include it inside the function. Pass new arguments to findidx.
3853 * posix/regex_internal.h
3854 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3855 (re_string_elem_size_at): Don't #include it inside the function.
3856 Pass new arguments to findidx.
3857 * string/strcoll_l.c: #include WEIGHT_H at top level.
3858 (get_next_seq): Don't #include it inside the function.
3859 Pass new arguments to findidx.
3860 (get_next_seq_nocache): Likewise.
3861 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3862 (STRXFRM): Don't #include it inside the function.
3863 Pass new arguments to findidx.
3864
52ffbdf2
FW
38652014-09-11 Florian Weimer <fweimer@redhat.com>
3866
3867 [BZ #17344]
3868 * malloc/malloc.c (unlink): Turn asserts into a call to
3869 malloc_printerr.
3870
984c0ea9
TL
38712014-09-11 Tim Lammens <tim.lammens@gmail.com>
3872
3873 [BZ #17370]
3874 * libio/wfileops (do_ftell_wide): Free OUT.
3875
3daee107
CM
38762014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3877
3878 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3879
58b930ae
SP
38802014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3881
3882 [BZ #17363]
3883 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3884 group if the current group is empty.
3885
3b473fec
AZ
38862014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3887
71ae8647
AZ
3888 * benchtests/bench-memset.c (test_main): Add more test from size
3889 from 32 to 512 bytes.
3890 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3891 Add POWER8 memset object.
3892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3893 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3894 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3895 implementation.
3896 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3897 Likewise.
3898 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3899 multiarch POWER8 memset optimization.
3900 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3901 POWER8 memset optimization.
3902
3b473fec
AZ
3903 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3904 Remove bzero multiarch objects.
3905 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3906 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3907 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3908 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3909 Remove define.
3910 [__bzero]: Redefine to specific name.
3911 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3913 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3914 define.
3915 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3916 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3917
e6fb9587
FW
39182014-09-10 Florian Weimer <fweimer@redhat.com>
3919
3920 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3921 warnings into errors.
3922
3923 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3924 __cxa_thread_atexit_impl prototype.
3925
9d3a350b
SE
39262014-09-09 Steve Ellcey <sellcey@mips.com>
3927
3928 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3929 Fix capitalization of error message.
3930
0febba23
SE
39312014-09-09 Steve Ellcey <sellcey@mips.com>
3932
3933 * sysdeps/mips/preconfigure: Modify ABI tests.
3934
645a0e9c
CD
39352014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3936
3937 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3938
d83f0734
CD
39392014-09-07 Roland McGrath <roland@hack.frob.com>
3940 Carlos O'Donell <carlos@systemhalted.org>
3941
3942 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3943 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3944 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3945 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3946 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3947 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3948 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3949 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3950 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3951 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3952 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3953 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3954 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3955 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3956 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3957 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3958 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3959 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3960 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3961 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3962 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3963 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3964 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3965 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3966 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3967 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3968 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3969 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3970 Deconditionalize the code that was previously under [RESET_PID].
3971 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3972 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3973 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3974 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3975 include sysdep.h.
3976
21c83793
AM
39772014-09-08 Allan McRae <allan@archlinux.org>
3978
3979 * version.h (RELEASE): Set to "development".
3980 (VERSION): Set to "2.20.90"
3981
1cd9b65c
AM
39822014-09-07 Allan McRae <allan@archlinux.org
3983
b8079dd0
AM
3984 * version.h (RELEASE): Set to "stable".
3985 (VERSION): Set to "2.20"
3986 * include/features.h (__GLIBC_MINOR__): Set to 20.
3987
c46303ef
AM
3988 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3989 Liebler.
3990
1cd9b65c
AM
3991 * po/ko.po: Update Korean translation from translation project.
3992
8622092d
CM
39932014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3994
3995 [BZ #17354]
3996 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3997 macro for handling signed relocations.
3998
41488498
FW
39992014-09-03 Florian Weimer <fweimer@redhat.com>
4000
4001 [BZ #17325]
4002 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4003 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4004 assert.
4005 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4006 * iconvdata/ibm935.c (BODY): Likewise.
4007 * iconvdata/ibm937.c (BODY): Likewise.
4008 * iconvdata/ibm939.c (BODY): Likewise.
4009 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4010 assert.
4011 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4012 script.
4013 * iconvdata/run-iconv-test.sh: New test loop for checking for
4014 decoder crashers.
4015
a78b712d
KR
40162014-09-02 Khem Raj <raj.khem@gmail.com>
4017
4018 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4019 libm_hidden_ver.
4020
cb08abc6
AM
40212014-09-01 Allan McRae <allan@archlinux.org>
4022
2c31e102
AM
4023 * po/eo.po: Update Esperanto translation from translation project.
4024
cb08abc6
AM
4025 * po/ca.po: Update Catalan translation from translation project.
4026
17a62de1
ST
40272014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4028
4029 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4030 __proc_dostop call.
4031
9570bc53
MW
40322014-08-27 Mark Wielaard <mjw@redhat.com>
4033
4034 [BZ #17319]
4035 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4036 to call set_thread_area instead of hand written asm.
4037 (__NR_set_thread_area): Removed define.
4038 (TLS_FLAG_WRITABLE): Likewise.
4039 (__ASSUME_SET_THREAD_AREA): Remove check.
4040 (TLS_EBX_ARG): Remove define.
4041 (TLS_LOAD_EBX): Likewise.
4042
b0f955c9
ST
40432014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4044
4045 Simplify atomicity of socket creation in bind.
4046
4047 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4048 looking up the name after linking the file.
4049
529bf515
AM
40502014-08-27 Allan McRae <allan@archlinux.org>
4051
4052 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4053
a1a6a401
FW
40542014-08-26 Florian Weimer <fweimer@redhat.com>
4055
4056 [BZ #17187]
4057 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4058 trans_compare, open_translit, __gconv_translit_find):
4059 Remove module loading code.
4060
686ab290
AM
40612014-08-26 Allan McRae <allan@archlinux.org>
4062
e4e7cfd2
AM
4063 * po/vi.po: Update Vietnamese translation from translation project.
4064
6aa09f71
AM
4065 * po/uk.po: Update Ukrainian translation from translation project.
4066
edc0660e
AM
4067 * po/fr.po: Update French translation from translation project.
4068
7eea72ac
AM
4069 * po/ru.po: Update Russian translation from translation project.
4070
93c49eff
AM
4071 * po/pl.po: Update Polish translation from translation project.
4072
46acaf63
AM
4073 * po/cs.po: Update Czech translation from translation project.
4074
a9f5ce98
AM
4075 * po/de.po: Update German translation from translation project.
4076
373f2b78
AM
4077 * po/bg.po: Update Bulgarian translation from translation project.
4078
e7548bd8
AM
4079 * po/sv.po: Update Sweedish translation from translation project.
4080
c526bf4d
AM
4081 * po/nl.po: Update Dutch translation from translation project.
4082
686ab290
AM
4083 * po/es.po: Update Spanish translation from translation project.
4084
eb72478a
SP
40852014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4086
dd763fdb
SP
4087 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4088
318c7a58
SP
4089 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4090 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4091 (CPPFLAGS-iconvconfig): Likewise.
4092 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4093
eb72478a
SP
4094 * include/libc-symbols.h: Remove unnecessary check for
4095 NOT_IN_libc.
4096 * nptl/pthreadP.h: Likewise.
4097 * sysdeps/aarch64/setjmp.S: Likewise.
4098 * sysdeps/alpha/setjmp.S: Likewise.
4099 * sysdeps/arm/sysdep.h: Likewise.
4100 * sysdeps/i386/setjmp.S: Likewise.
4101 * sysdeps/m68k/setjmp.c: Likewise.
4102 * sysdeps/posix/getcwd.c: Likewise.
4103 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4104 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4105 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4106 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4107 * sysdeps/sh/sh3/setjmp.S: Likewise.
4108 * sysdeps/sh/sh4/setjmp.S: Likewise.
4109 * sysdeps/unix/alpha/sysdep.h: Likewise.
4110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4111 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4112 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4113 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4118 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4121 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4123 * sysdeps/x86_64/setjmp.S: Likewise.
4124
d44a052c
JM
41252014-08-13 Joseph Myers <joseph@codesourcery.com>
4126
4127 [BZ #17263]
4128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4129 <stdint.h>.
4130 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4131 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4132
508ce3ac
SP
41332014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4134
e44c8b0e
SP
4135 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4136
508ce3ac
SP
4137 [BZ #17262]
4138 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4139 and __x86_64__ when disabling x87 inline functions.
4140
b4acef1f
L
41412014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4142
4143 [BZ #17259]
4144 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4145 asm statement with __cpuid_count.
4146
61b1ef6e
MF
41472014-08-12 Mike Frysinger <vapier@gentoo.org>
4148
4149 * configure.ac: Change __ehdr_start code to dereference the struct.
4150 Run readelf on the output to look for relocations.
4151 * configure: Regenerated.
4152
898c62f4
JM
41532014-08-12 Joseph Myers <joseph@codesourcery.com>
4154
4155 [BZ #17261]
4156 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4157 value to 0.
4158 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4159
9a8a5720
RM
41602014-08-12 Roland McGrath <roland@hack.frob.com>
4161
4162 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4163
4e75751c
BO
41642014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4165
4166 [BZ #16892]
4167 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4168 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4169
bb2ce416
SA
41702014-08-12 Sean Anderson <seanga2@gmail.com>
4171
4172 * malloc/malloc.c: Fix typo in comment.
4173
7950a4ee
AM
41742014-08-09 Allan McRae <allan@archlinux.org>
4175
4176 * Regenerate libc.po.
4177
f469c49f
MF
41782014-08-08 Mike Frysinger <vapier@gentoo.org>
4179
4180 * intl/tst-gettext2.sh: Check every lang file for creation.
4181
656b84c2
WD
41822014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4183
4184 * sysdeps/aarch64/fpu/math_private.h
4185 (libc_feholdsetround_noex_aarch64_ctx): New function.
4186
538e9e45
W
41872014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4188
4189 * sysdeps/arm/armv6/strcpy.S (strcpy):
4190 Fix performance issue in misaligned cases.
4191
d4795e4a
AZ
41922014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4193
4194 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4195 Move definition from termios.h.
4196 (struct termio): Likewise.
4197 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4198 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4199 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4200 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4201 Likewise.
4202 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4203 Move definition to ioctl-types.h
4204 (struct termio): Likewise.
4205 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4206 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4207 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4208 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4209 Likewise.
4210
64accb62
RH
42112014-08-05 Richard Henderson <rth@redhat.com>
4212
27bb6dc0
RH
4213 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4214 exceptions.
4215 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4216 Add fraiseexcpt.
4217 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4218 Use __feraiseexcept.
4219 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4220 Protect libm symbols with IS_IN_libm.
4221
64accb62
RH
4222 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4223
e5292691
BO
42242014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4225
4226 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4227
5b4bd2d4
WN
42282014-08-04 Will Newton <will.newton@linaro.org>
4229
4230 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4231 file.
4232
fcadaeef
MF
42332014-08-04 Mike Frysinger <vapier@gentoo.org>
4234
4235 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4236 variants for each function.
4237
43a94c64
RM
42382014-08-04 Roland McGrath <roland@hack.frob.com>
4239
4240 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4241 appended ...
4242 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4243 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4244 appended ...
4245 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4246 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4247 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4248 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4249 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4250 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4251 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4252 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4253 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4254 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4255 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4256 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4257 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4258 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4259 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4260 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4261 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4262 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4263 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4264 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4265 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4266 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4267 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4268 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4269 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4270 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4271 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4272 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4273 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4274 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4275 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4276 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4277 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4278 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4279 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4280 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4281 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4282 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4283 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4284 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4285 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4286 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4287 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4288 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4289 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4290 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4291 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4292 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4293 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4294 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4295 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4296 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4297 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4298 Update #include.
4299 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4300 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4301
8f3c1fa4
RM
43022014-08-04 Roland McGrath <roland@hack.frob.com>
4303
4304 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4305 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4306 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4307 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4308 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4309 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4310
ca08746f
RM
43112014-08-04 Roland McGrath <roland@hack.frob.com>
4312
4313 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4314 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4315 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4316 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4317
9c925ff9
RM
43182014-08-04 Roland McGrath <roland@hack.frob.com>
4319
4320 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4321 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4322 (__libc_vfork): Define function under this name.
4323 (__vfork): Define as an alias.
4324 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4325 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4326
e641054c
RM
43272014-08-04 Roland McGrath <roland@hack.frob.com>
4328
4329 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4330 that was previously under [RESET_PID].
4331 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4332
dacdc867
AS
43332014-08-04 Andreas Schwab <schwab@suse.de>
4334
4335 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4336
41f725ff
MF
43372014-08-03 Mike Frysinger <vapier@gentoo.org>
4338
4339 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4340 (main): Likewise.
4341
277cfb31
RM
43422014-08-01 Roland McGrath <roland@hack.frob.com>
4343
4344 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4345
4896f049
RH
43462014-08-01 Richard Henderon <rth@redhat.com>
4347
4348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4349 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4350 typo in exact zero test.
4351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4352 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4354
6f64e7d7
RM
43552014-08-01 Roland McGrath <roland@hack.frob.com>
4356
4357 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4358 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4359 * sysdeps/arm/sysdep.h: ... here.
4360 [!__ASSEMBLER__]: Include <stdint.h>.
4361
3f3dd810
SP
43622014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4363
a476ac4b
SP
4364 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4365 (HAVE_WCTYPE_H): Likewise.
4366 (HAVE_ISWCTYPE): Likewise.
4367 (ENABLE_NLS): Likewise.
4368 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4369 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4370
78dd658a
SP
4371 * posix/regex_internal.c: Check if DEBUG is defined and is
4372 set.
4373
3f3dd810
SP
4374 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4375 (HAVE_MBSRTOWCS): Likewise.
4376 * posix/fnmatch.c: Include string.h unconditionally.
4377
95ee7fb1
SL
43782014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4379
4380 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4381 reversal.
4382
23fe486b
RM
43832014-07-31 Roland McGrath <roland@hack.frob.com>
4384
f61a113f
RM
4385 * sysdeps/generic/safe-fatal.h: New file.
4386 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4387 * nptl/forward.c: Include it.
4388 (__pthread_unwind): Use __safe_fatal as default action, rather
4389 than a bogus use of INTERNAL_SYSCALL that could never work.
4390
9fe7e787
RM
4391 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4392 * configure.ac (libc_cv_builtin_trap): New test.
4393 * configure: Regenerated.
4394 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4395 (ABORT_INSTRUCTION): Define using __builtin_trap.
4396
23fe486b
RM
4397 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4398 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4399 * sysdeps/nptl/nptl-signals.h: New file.
4400 * nptl/pthreadP.h: Include <nptl-signals.h>.
4401
f349489e
SL
44022014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4403
4404 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4405 (ONE_DIRECTION): Define.
4406 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4407 (ONE_DIRECTION): Define.
4408 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4409 (ONE_DIRECTION): Define.
4410
2f438e20
SL
44112014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4412
4413 * sysdeps/s390/Makefile: Delete file.
4414 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4415 * sysdeps/s390/__longjmp.c: Delete file.
4416 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4417 Remove fields __flags and __reserved.
4418 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4419 and add versioning.
4420 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4421 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4422 * sysdeps/s390/rtld-setjmp.S: Likewise.
4423 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4424 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4425 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4426 * sysdeps/s390/s390-32/setjmp.S: ... here.
4427 Add versioning.
4428 (__sigsetjmp): Remove setting __flags field.
4429 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4430 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4431 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4432 * sysdeps/s390/s390-64/setjmp.S: ... here.
4433 Add versioning.
4434 (__sigsetjmp): Remove setting __flags field.
4435 * sysdeps/s390/setjmp.S: Delete file.
4436 * sysdeps/s390/sigjmp.c: Likewise.
4437 * sysdeps/s390/v1-longjmp.c: Likewise.
4438 * sysdeps/s390/v1-setjmp.h: Likewise.
4439 * sysdeps/s390/v1-sigjmp.c: Likewise.
4440 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4441 Remove v1-longjmp_chk.
4442 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4443 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4444 Include debug/longjmp_chk.c and add versioning.
4445 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4446 Include nptl/pt-longjmp.c and add versioning.
4447 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4448 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4449 Include __longjmp.c.
4450 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4451 Move to ...
4452 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4453 (__getcontext): Remove setting __flags field.
4454 Add versioning.
4455 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4456 Don't restore upper high grps.
4457 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4458 Likewise.
4459 (__swapcontext): Remove setting uc_flags field.
4460 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4461 Delete file.
4462 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4463 Include __longjmp.c.
4464 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4465 Move to ...
4466 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4467 (__getcontext): Remove setting __flags field.
4468 Add versioning.
4469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4470 (__swapcontext): Remove setting uc_flags field.
4471 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4473 Remove fields uc_high_gprs and __reserved.
4474 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4475 New file with reverted content.
4476 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4477 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4478 Regenerated.
4479 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4480 Regenerated.
4481
6c9578a2
AS
44822014-07-31 Andreas Schwab <schwab@suse.de>
4483
4484 * config.h.in (HAVE_IFUNC): Define to 0.
4485 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4486 definedness.
4487
05f3633d
LM
44882014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4489
4490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4491 memmove-avx-unaligned, memcpy-avx-unaligned and
4492 mempcpy-avx-unaligned.
4493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4494 Add tests for AVX memcpy functions.
4495 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4496 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4497 memcpy_chk.
4498 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4499 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4500 memmove_chk.
4501 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4502 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4503 mempcpy_chk.
4504 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4505 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4506 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4507
a53fbd8e
AZ
45082013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4509
4510 [BZ #17213]
4511 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4512 powerpc64le.
4513
0961f7e1
JL
45142014-07-29 Jeff Layton <jlayton@poochiereds.net>
4515
4516 [BZ #16839]
4517 * manual/llio.texi: Add section about open file description locks.
4518 * manual/examples/ofdlocks.c: Example of open file description
4519 lock usage.
4520 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4521 F_OFD_SETLK, and F_OFD_SETLKW.
4522
cc5fb300
AM
45232014-07-23 Allan McRae <allan@archlinux.org>
4524
4525 * po/es.po: Update Spanish translation from translation project.
4526
23329dca
AS
45272014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4528
4529 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4530
9c82da17
MR
45312014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4532
4533 [BZ #17078]
4534 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4535 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4536 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4537
29c4f53e
JM
45382014-07-17 Joseph Myers <joseph@codesourcery.com>
4539
831b9896
JM
4540 [BZ #17088]
4541 * math/fesetenv.c (__fesetenv)
4542 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4543 * math/feupdateenv.c (__feupdateenv)
4544 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4545
b21c2d50
JM
4546 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4547 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4548 (__ASSUME_SOCKETCALL): Do not define.
4549
067764ef
JM
4550 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4551 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4552 (__ASSUME_SOCKETCALL): Do not define.
4553 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4554 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4555 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4556 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4557 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4558 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4559 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4560 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4561
642530c1
JM
4562 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4563 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4564 (__ASSUME_SOCKETCALL): Do not define.
4565 (__ASSUME_IPC64): Define unconditionally.
4566 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4567 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4568 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4569 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4570 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4571 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4572 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4573 Likewise.
4574
03f77315
JM
4575 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4576 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4577 (__ASSUME_SOCKETCALL): Do not define.
4578 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4579 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4580 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4581 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4582 (__ASSUME_REQUEUE_PI): Define unconditionally.
4583 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4584 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4585 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4586 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4587 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4588 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4589
083b1f7c
JM
4590 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4591 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4592 (__ASSUME_SOCKETCALL): Do not define.
4593 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4594 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4595 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4596 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4597 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4598 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4599
5be44ea6
JM
4600 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4601 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4602 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4603 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4604 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4605 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4606 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4607 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4608 (__ASSUME_GETCPU_SYSCALL): Likewise.
4609
d95ffd4c
JM
4610 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4611 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4612 cases for individual architectures.
4613 * sysdeps/gnu/configure: Regenerated.
4614 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4615 LIBC_SLIBDIR_RTLDDIR.
4616 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4617 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4618 LIBC_SLIBDIR_RTLDDIR.
4619 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4621 LIBC_SLIBDIR_RTLDDIR.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4623 Regenerated.
4624 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4625 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4626 file.
4627 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4628 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4629 file.
4630 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4631 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4632 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4633 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4634
29c4f53e
JM
4635 * sysdeps/aarch64/shlib-versions: Move to ...
4636 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4637 * sysdeps/alpha/shlib-versions: Move to ...
4638 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4639 * sysdeps/arm/shlib-versions: Move to ...
4640 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4641 * sysdeps/hppa/shlib-versions: Move all contents except for
4642 libgcc_s entry to ...
4643 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4644 entry from ...
4645 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4646 * sysdeps/ia64/shlib-versions: Move to ...
4647 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4648 entry from ...
4649 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4650 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4651 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4652 * sysdeps/microblaze/shlib-versions: Move to ...
4653 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4654 * sysdeps/mips/shlib-versions: Move to ...
4655 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4656 entry from ...
4657 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4658 * sysdeps/tile/shlib-versions: Move to ...
4659 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4660 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4661 from ...
4662 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4663 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4664 entry from ...
4665 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4666
32bead5b
WN
46672014-07-17 Will Newton <will.newton@linaro.org>
4668
57977c4b
WN
4669 * sysdeps/arm/bits/atomic.h
4670 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4671 (__arch_compare_and_exchange_bool_16_int): Likewise.
4672 (__arch_compare_and_exchange_bool_64_int): Likewise.
4673
32bead5b
WN
4674 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4675 into an #else block.
4676
37fccd41
RM
46772014-07-16 Roland McGrath <roland@hack.frob.com>
4678
4679 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4680 just Linux configurations. Test empirically that the compiler sets
4681 __ARM_EABI__, rather than using the tuple to decide.
4682 * sysdeps/arm/preconfigure: Regenerated.
4683 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4684 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4685 contents appended ...
4686 * sysdeps/arm/configure.ac: ... here.
4687 * sysdeps/arm/configure: Regenerated.
4688
b365f3ec
RM
46892014-07-15 Roland McGrath <roland@hack.frob.com>
4690
8badf496
RM
4691 * nptl/pthread_kill.c: New file.
4692 * nptl/pthread_sigmask.c: New file.
4693 * nptl/pthread_sigqueue.c: New file.
4694
3df6f22e
RM
4695 * sysdeps/nptl/lowlevellock.h: New file.
4696 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4697 * sysdeps/nptl/lowlevellock-futex.h: New file.
4698
b365f3ec
RM
4699 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4700 Remove dead declarations.
4701
f2fef657
L
47022014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4703
4704 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4705 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4706 config-cflags-avx2.
4707 * sysdeps/x86_64/configure.ac: Likewise.
4708 * sysdeps/i386/configure: Regenerated.
4709 * sysdeps/x86_64/configure: Likewise.
4710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4711 memset-avx2 only if config-cflags-avx2 is yes.
4712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4713 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4714 defined.
4715 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4716 only if HAVE_AVX2_SUPPORT is defined.
4717 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4718
f6c44d47
AM
47192014-07-14 Alan Modra <amodra@gmail.com>
4720
4721 [BZ #17153]
4722 * elf/elf.h (DT_PPC64_NUM): Correct value.
4723 * NEWS: Add to fixed bug list.
4724
7ee03f00
JM
47252014-07-13 Jim Meyering <meyering@fb.com>
4726
4727 [BZ 17150]
4728 regex: don't deref NULL upon heap allocation failure
4729 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4730 failure in one more place.
4731 To trigger the segfault, configure grep -with-included-regex,
4732 build it, and run these commands:
4733 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4734
9d39d517
AS
47352014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4736
4737 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4738
a75b89b7
RH
47392014-07-11 Richard Henderson <rth@redhat.com>
4740
4741 * sysdeps/aarch64/libm-test-ulps: Update.
4742
771eb141
FW
47432014-07-10 Florian Weimer <fweimer@redhat.com>
4744
4745 [BZ #17135]
4746 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4747 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4748 (__nptl_setxid): Initialize error member. Call
4749 __nptl_setxid_error.
4750 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4751 * nptl/descr.h (struct xid_command): Add error member.
4752 * nptl/tst-setuid3.c: New file.
4753 * nptl/Makefile (tests): Add it.
4754
bc1da176
AZ
47552014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756
4757 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4758 New define.
4759 (__lll_trylock): Use __lll_base_trylock.
4760 (__lll_cond_trylock): Likewise.
4761
887865fc
RM
47622014-07-10 Roland McGrath <roland@hack.frob.com>
4763
c0c6bac9
RM
4764 * nptl/pthread_create.c (start_thread): Use atomic_or and
4765 lll_futex_wake directly rather than lll_robust_dead.
4766 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4767 (lll_robust_dead): Macro removed.
6a42be57 4768 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4769 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4770 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4771 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4772 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4773 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4774 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4775 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4776 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4777 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4778 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4779 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4780 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4781 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4782 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4783
887865fc
RM
4784 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4785 Use atomic_compare_and_exchange_val_acq directly rather than
4786 lll_robust_trylock.
4787 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4788 (__lll_robust_trylock, lll_robust_trylock): Removed.
4789 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4790 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4791 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4792 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4793 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4794 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4795 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4796 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4797 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4798 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4799 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4801 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4802 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4803
58536726
FW
48042014-07-02 Florian Weimer <fweimer@redhat.com>
4805
4806 * manual/locale.texi (Locale Names): New section documenting
4807 locale name syntax. Adjust menu and node chaining accordingly.
4808 (Choosing Locale): Reference Locale Names, Locale Categories.
4809 Mention setting LC_ALL=C. Reflect that name syntax is now
4810 documented.
4811 (Locale Categories): New section title. Reference Locale Names.
4812 LC_ALL is an environment variable, but not a category.
4813 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4814 description, now in Locale Name. Reference that section. Locale
4815 name syntax is now documented.
4816
4e8f95a0
FW
48172014-07-02 Florian Weimer <fweimer@redhat.com>
4818
4819 [BZ #17137]
4820 * locale/findlocale.c (name_present, valid_locale_name): New
4821 functions.
4822 (_nl_find_locale): Use the loc_name variable to store name
4823 candidates. Call name_present and valid_locale_name to check and
4824 validate locale names. Return an error if the locale is invalid.
4825
d1836456
FW
48262014-07-02 Florian Weimer <fweimer@redhat.com>
4827
4828 * locale/setlocale.c (setlocale): Use strdup for allocating
4829 composite name copy.
4830
d69b7f5a
SP
48312014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4832
888c679b
SP
4833 Sync up with gnulib.
4834 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4835 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4836 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4837 and _GL_ARG_NONNULL.
4838 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4839 [!_LIBC]: Include code for Windows and Cygwin.
4840 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4841 Include prototype for int strerror_r.
4842 [!_LIBC] (is_open): New function.
4843 (flush_stdout): New function.
4844 (print_errno_message): Use it.
4845 (error): Likewise.
4846 (error_at_line): Likewise.
4847 (error_tail) Add function attribute macros. Use
4848 __builtin_expect.
4849
180e0e4b
SP
4850 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4851
d22f1fe2
SP
4852 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4853
12f2254b
SP
4854 * io/ftw.c: Include sys/param.h unconditionally.
4855
c3c7c360
SP
4856 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4857
d62aa75a
SP
4858 [BZ #17125]
4859 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4860 libc_freeres_ptr.
4861 (freecache): New function to free CACHE on exit.
4862
d69b7f5a
SP
4863 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4864 initialization.
4865
5efe06a1
DM
48662014-07-09 David S. Miller <davem@davemloft.net>
4867
4868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4869
7000d82e
DM
4870 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4871 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4872 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4873 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4874 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4875 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4876 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4877 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4878 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4879 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4880 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4881 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4882 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4883
c213442d
AS
48842014-07-09 Andreas Schwab <schwab@suse.de>
4885
4a2552c3
AS
4886 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4887 output.
4888 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4889 (do_test): Likewise.
4890
c213442d
AS
4891 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4892
82374e65
WN
48932014-07-09 Will Newton <will.newton@linaro.org>
4894
4895 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4896 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4897 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4898 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4899 * sysdeps/hppa/start.S (_start): Likewise.
4900
6680738a
SP
49012014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4902
6ee3eab4
SP
4903 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4904
6680738a
SP
4905 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4906 defined.
4907
80b5c505
SP
49082014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4909
e35c53e3
SP
4910 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4911 after checking that it is non-NULL.
4912
80b5c505
SP
4913 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4914
91f4b564
AZ
49152014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916
27b75f56
AZ
4917 * sysdeps/powerpc/memmove.c: Remove file.
4918 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4919 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4920 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4921 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4922 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4923 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4924 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4925 string memmove instead of removed powerpc one.
4926
e7f95bb5
AZ
4927 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4928 [weak_alias]: Fix compiler warning due trailing data.
4929 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4930 [weak_alias]: Likewise.
4931 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4932 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4933
91f4b564
AZ
4934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4935 (__libc_ifunc_impl_list): Add memmove functions.
4936
7c33f1e5
SP
49372014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4938
4939 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4940 Remove code.
4941 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4942 Likewise
4943 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4944 Likewise
4945 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4946 Likewise
4947 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4948 Likewise
4949 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4950 Likewise
4951 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4952 Likewise
4953 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4954 Likewise
4955 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4956 Likewise
4957 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4958 Likewise
4959 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4960 Likewise
4961 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4962 Likewise
4963 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4964 Likewise
4965 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4966 Likewise
4967 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4968 Likewise
4969 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4970 Likewise
4971 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4972 Likewise
4973
3f17b03b
AZ
49742014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4975
87868c24
AZ
4976 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4977 to avoid alignment traps in non-cacheable memory.
4978 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4979
07aedd78
AZ
4980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4981 multiarch objects.
4982 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4983 file: multiarch power7 memmove.
4984 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4985 multiarch default memmove.
4986 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4987 multiarch memove for powerpc32/power4.
4988
17762f66
AZ
4989 * string/bcopy.c: Use full path to include memmove.c.
4990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4991 multiarch objects.
4992 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4993 bcopy for powerpc64.
4994 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4995 bcopy for powerpc64.
4996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4997 and memmove implementations.
4998 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4999 optimized multiarch memmove for POWER7/powerpc64.
5000 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5001 default multiarch memmove for powerpc64.
5002 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5003 multiarch for powerpc64.
5004 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5005 for POWER7/powerpc64.
5006 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5007 memmove for POWER7/powerpc64.
5008
d6f68bbe
AZ
5009 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5010 glibc default one.
5011
3f17b03b
AZ
5012 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5013 __ELF_NATIVE_CLASS equal to 64.
5014
08192659
RM
50152014-07-07 Roland McGrath <roland@hack.frob.com>
5016
f4c4021b
RM
5017 * sysdeps/nptl/lowlevellock.h: File removed.
5018
f083450f
RM
5019 * NEWS: NPTL is no longer an add-on!
5020 * nptl/internaltypes.h: Moved ...
5021 * sysdeps/nptl/internaltypes.h: ... here.
5022 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5023 * sysdeps/nptl/fork.c: Likewise.
5024 * sysdeps/nptl/gai_misc.h: Likewise.
5025 * sysdeps/nptl/librt-cancellation.c: Likewise.
5026 * sysdeps/nptl/jmp-unwind.c: Likewise.
5027 * sysdeps/nptl/setxid.h: Likewise.
5028 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5029 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5030 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5031 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5032 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5033 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5034 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5035 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5036 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5037 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5038 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5039 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5040 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5041 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5042 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5043 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5044 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5045 * nptl/Makeconfig: Moved ...
5046 * sysdeps/nptl/Makeconfig: ... here.
5047 * nptl/configure: File removed.
5048 * nptl/ANNOUNCE: File removed.
5049 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5050 * sysdeps/unix/sysv/linux/configure: Regenerated.
5051
08192659
RM
5052 * nptl/Makefile (routines): Add libc_pthread_init,
5053 libc_multiple_threads, register-atfork and unregister-atfork.
5054 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5055 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5056 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5057 pthread-pi-defines.sym, structsem.sym.
5058 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5059 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5060 [$(subdir) = nptl] (tests): Add tst-setgetname.
5061 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5062 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5063 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5064 [!LIBC_SIGACTION]: Remove aliases.
5065 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5066 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5067 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5068 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5069 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5073 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5074 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5075 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5076 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5077 __libc_allocate_rtsig_private.
5078 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5079 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5080 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5081 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5082 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5083 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5084 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5085 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5086 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5087 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5088 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5089 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5090 * nptl/internaltypes.h: ... here.
5091 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5092 * sysdeps/nptl/jmp-unwind.c: ... here.
5093 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5094 * nptl/libc-lowlevellock.c: ... here.
5095 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5096 * nptl/libc_multiple_threads.c: ... here.
5097 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5098 * nptl/libc_pthread_init.c: ... here.
5099 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5100 * nptl/lowlevelbarrier.sym: ... here.
5101 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5102 * nptl/lowlevelcond.sym: ... here.
5103 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5104 * nptl/lowlevellock.c: ... here.
5105 * nptl/lowlevellock.h: Moved ...
5106 * sysdeps/nptl/lowlevellock.h: ... here.
5107 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5108 * nptl/lowlevelrobustlock.c: ... here.
5109 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5110 * nptl/lowlevelrobustlock.sym: ... here.
5111 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5112 * nptl/lowlevelrwlock.sym: ... here.
5113 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5114 * nptl/pt-fork.c: ... here.
5115 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5116 * nptl/pthread-pi-defines.sym: ... here.
5117 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5118 * nptl/pthread_attr_getaffinity.c: ... here.
5119 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5120 * nptl/pthread_attr_setaffinity.c: ... here.
5121 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5122 * nptl/pthread_mutex_cond_lock.c: ... here.
5123 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5124 Update #include.
5125 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5126 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5127 * nptl/pthread_once.c: ... here, replacing old file.
5128 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5129 * nptl/pthread_yield.c: ... here.
5130 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5131 * nptl/register-atfork.c: ... here.
5132 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5133 * nptl/sem_post.c: ... here.
5134 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5135 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5136 * nptl/sem_timedwait.c: ... here.
5137 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5138 * nptl/sem_trywait.c: ... here.
5139 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5140 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5141 * nptl/sem_wait.c: ... here.
5142 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5143 * nptl/structsem.sym: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5145 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5146 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5147 * nptl/unregister-atfork.c: ... here.
5148 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5149 * nptl/unwindbuf.sym: ... here.
5150 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5151 * sysdeps/nptl/fork.c: ... here.
5152 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5153 * sysdeps/nptl/fork.h: ... here.
5154 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5155 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5156 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5157 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5158 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5159 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5160 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5162 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5164 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5165 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5166 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5167 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5168 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5170 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5172 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5174 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5176 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5177 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5178 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5179 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5180 * sysdeps/unix/sysv/linux/raise.c: ... here.
5181 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5182 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5183 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5184 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5185 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5186 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5187 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5188 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5190 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5191 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5192 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5194 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5195 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5196
96baf6ff
SP
51972014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5198
5199 * sysdeps/generic/memcopy.h: Add comment for
5200 MEMCPY_OK_FOR_FWD_MEMMOVE.
5201
6b7b14b2
WN
52022014-07-04 Will Newton <will.newton@linaro.org>
5203
1570a72b
WN
5204 * string/memchr.c: Merge from gnulib.
5205 [_LIBC]: Remove conditionals.
5206 (__ptr_t): Remove define.
5207 (LONG_MAX_32_BITS): Likewise.
5208 (LONG_MAX): Likewise.
5209 (MEMCHR): Use ANSI prototype and optimize algorithm.
5210
6b7b14b2
WN
5211 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5212
38851324
SP
52132014-07-03 Roland McGrath <roland@hack.frob.com>
5214
3d9eb57c
RM
5215 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5216 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5217
78b984ae
RM
5218 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5219 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5220 in a bare environment with no <stdlib.h> installed.
5221 * sysdeps/nptl/configure: Regenerated.
5222
2d5976a5
RM
5223 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5224
c1f5acd4
RM
5225 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5226 AC_EGREP_CPP for kernel header checks, so they only succeed if
5227 including <linux/version.h> actually works right.
5228 * sysdeps/unix/sysv/linux/configure: Regenerated.
5229
4d614fe5
RM
5230 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5231 value so it's not diagnosed as unused.
5232
38851324
SP
5233 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5234 thing) with "ifeq ($(subdir),rt)".
5235
b3ec00e5
RH
52362014-07-03 Richard Henderson <rth@redhat.com>
5237
69862e25
RH
5238 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5239 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5240 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5241
d5e16ade
RH
5242 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5243 (math_force_eval): New.
5244
ca7b945c
RH
5245 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5246 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5247
cd1175a3
RH
5248 * sysdeps/alpha/fpu/s_round.c: Remove file.
5249 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5250
b3ec00e5
RH
5251 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5252 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5253 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5254 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5255 (_dl_start, print_statistics): Likewise.
5256 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5257 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5258
5259 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5260 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5261 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5262 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5263 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5264 (HP_SMALL_TIMING_AVAIL): Define.
5265 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5266 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5267 (HP_SMALL_TIMING_AVAIL): Define.
5268 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5269 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5270
5271 * sysdeps/aarch64/hp-timing.h: New file.
5272
5273 * sysdeps/generic/hp-timing.h: Remove dead comment.
5274 * sysdeps/generic/hp-timing-common.h: New file.
5275 * sysdeps/alpha/hp-timing.h: Include it.
5276 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5277 * sysdeps/i386/i686/hp-timing.h: Likewise.
5278 * sysdeps/ia64/hp-timing.h: Likewise.
5279 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5280 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5281 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5282 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5283 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5284 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5285 (hp_timing_t): New.
5286
5287 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5288 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5289 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5290 * elf/rtld.c (_dl_start_final): Likewise.
5291 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5292 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5293 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5294 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5295 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5296 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5297 (HP_TIMING_DIFF_INIT): Remove.
5298 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5299 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5300 (HP_TIMING_DIFF_INIT): Remove.
5301 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5302 * sysdeps/i386/i686/hp-timing.c: Remove file.
5303 * sysdeps/x86_64/hp-timing.c: Remove file.
5304 * sysdeps/ia64/hp-timing.c: Remove file.
5305 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5306 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5307 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5308 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5309
5310 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5311 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5312 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5313 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5314 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5315 (HP_TIMING_ACCUM): Remove.
5316 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5317 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5318 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5319
5320 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5321 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5322 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5323 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5325 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5326 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5327 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5328
5329 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5330
225f410f
MR
53312014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5332
5333 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5334
3247f285
SP
53352014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
5337 Sync up with gettext.
5338 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5339 [_MSC_VER]: Include malloc.h
5340 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5341 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5342 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5343 TEMP_FAILURE_RETRY. Cast return of alloca.
5344 [!_LIBC] Call gl_rwlock_init.
5345 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5346
d12704c7
SP
53472014-07-02 Roland McGrath <roland@hack.frob.com>
5348
5349 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5350 before checking its value.
5351
99f8dc92
SP
53522014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5353
05fdac77
SP
5354 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5355
99f8dc92
SP
5356 * debug/memcpy_chk.c: Don't include pagecopy.h.
5357 * debug/mempcpy_chk.c: Likewise.
5358 * string/memcpy.c: Likewise.
5359 * string/memmove.c: Likewise.
5360 * sysdeps/powerpc/memmove.c: Likewise.
5361 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5362 definition of PAGE_COPY_FWD_MAYBE here...
5363 * sysdeps/generic/pagecopy.h: ... from here.
5364 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5365
bc8ea385
VR
53662014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5367 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5368
5369 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5371 optimizations.
5372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5373 (__libc_ifunc_impl_list): Likewise.
5374 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5375 multiarch strcat for PPC64.
5376 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5377 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5378
fe5f34e4
RM
53792014-07-02 Roland McGrath <roland@hack.frob.com>
5380
5381 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5382
256aa665
SP
53832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5384
d4eb8195
SP
5385 * intl/loadmsgcat.c: Remove declaration of
5386 get_sysdep_segment_value.
5387 (get_sysdep_segment_value): Use ISO C style.
5388 (_nl_load_domain): Use ISO C style. Get rid of redundant
5389 semicolon. Fix typo and formatting in comment.
5390 (_nl_unload_domain): Use ISO C style.
5391
256aa665
SP
5392 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5393
b100f9aa
WN
53942014-07-02 Will Newton <will.newton@linaro.org>
5395
5396 * malloc/obstack.c: Merge from gnulib master.
5397 [HAVE_CONFIG_H]: Remove conditional code.
5398 [!_LIBC]: Include config.h.
5399 [!ELIDE_CODE]: Don't include inttypes.h, include
5400 stdint.h unconditionally.
5401 (print_and_abort): Mark as _Noreturn.
5402 (_obstack_allocated_p): Mark as __attribute_pure__.
5403 (obstack_free): Rename to __obstack_free.
5404 [!__attribute__]: Remove conditional code.
5405 * malloc/obstack.h: Merge from gnulib master.
5406 [__cplusplus]: Move conditional down.
5407 [!__attribute_pure__]: Define __attribute_pure__ here
5408 if it is not already defined.
5409 (_obstack_memory_used): Mark as __attribute_pure__.
5410 [!__obstack_free]: Define as obstack_free.
5411 [__GNUC__]: Remove check for ancient NeXT gcc.
5412
c4c41244
PE
54132014-07-02 Will Newton <will.newton@linaro.org>
5414 Paul Eggert <eggert@cs.ucla.edu>
5415
5416 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5417
e1e041c4
SP
54182014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5419
5420 * resolv/gethnamaddr.c: Add comment warning that the file is
5421 not maintained.
5422
ccf431ff
CD
54232014-07-01 Carlos O'Donell <carlos@redhat.com>
5424
d34570a6
CD
5425 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5426 entries.
5427
ccf431ff
CD
5428 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5429 entry for aio_cancel and aio_cancel64.
5430 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5431 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5432 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5433 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5434 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5435 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5436 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5437 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5438 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5439 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5440 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5441 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5442 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5443
ca06321d
RM
54442014-07-01 Roland McGrath <roland@hack.frob.com>
5445
5446 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5447 * nptl/pthread_mutex_lock.c: Likewise.
5448 * nptl/pthread_mutex_timedlock.c: Likewise.
5449 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5450
a1ac3184
RH
54512014-07-01 Richard henderson <rth@redhat.com>
5452
631021e0
RH
5453 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5454 (__isnan, __isnanl): Remove.
5455 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5456
a1ac3184
RH
5457 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5458
0c1d731f
SL
54592014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5460
5461 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5462
76985d3e
SP
54632014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5464
5465 * resolv/nss_dns/dns-host.c (getanswer_r)
5466 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5467
b0cb3096
JM
54682014-07-01 Joseph Myers <joseph@codesourcery.com>
5469
5470 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5471 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5472 undefine.
5473 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5474 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5475
4d76cb39
RM
54762014-07-01 Roland McGrath <roland@hack.frob.com>
5477
5478 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5479 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5480
5481 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5482 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5483
5484 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5485 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5486 ... here.
5487 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5488 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5489
5490 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5491 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5492 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5493 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5494
5495 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5496 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5497 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5498 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5499 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5500 Moved ...
5501 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5502 ... here.
5503 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5504 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5505 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5506 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5507 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5508 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5509 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5510 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5512 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5514 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5515 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5516 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5517 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5518 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5520 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5521 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5522 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5523 ... here.
5524 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5525 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5526 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5527 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5528 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5529 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5530 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5531 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5532
0cdcad17
DH
55332014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5534
5535 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5536 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5537 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5538 Add sysdep.
5539
9b71d0e3
AZ
55402014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541
5542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5543
665390c2
JM
55442014-06-30 Joseph Myers <joseph@codesourcery.com>
5545
ae05a9d7
JM
5546 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5547 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5548
a7672a2f
JM
5549 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5550
665390c2
JM
5551 * sysdeps/arm/libm-test-ulps: Regenerated.
5552
d7a05d07
MR
55532014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5554 Roland McGrath <roland@hack.frob.com>
5555
5556 * test-skeleton.c (signal_handler): Kill the whole process group
5557 before killing the child individually.
5558 (main): Report any failure on `setpgid'.
5559
46f1d8a6
RM
55602014-06-30 Roland McGrath <roland@hack.frob.com>
5561
5562 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5563 from _TLS_H to _ARM_NPTL_TLS_H.
5564 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5565 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5566
9c37ec0b
JM
55672014-06-30 Joseph Myers <joseph@codesourcery.com>
5568
ce9c5b3e
JM
5569 [BZ #16539]
5570 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5571 (__expm1l): Return argument unchanged when small but not
5572 subnormal.
5573
3a6e9887
JM
5574 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5575 include macro name.
5576 (_FP_UNPACK_RAW_1_P): Likewise.
5577 (_FP_PACK_RAW_1): Likewise.
5578 (_FP_PACK_RAW_1_P): Likewise.
5579 (_FP_MUL_MEAT_1_wide): Likewise.
5580 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5581 (_FP_MUL_MEAT_1_hard): Likewise.
5582 (_FP_DIV_MEAT_1_imm): Likewise.
5583 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5584 (_FP_DIV_MEAT_1_udiv): Likewise.
5585 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5586 (_FP_UNPACK_RAW_2): Likewise.
5587 (_FP_UNPACK_RAW_2_P): Likewise.
5588 (_FP_PACK_RAW_2): Likewise.
5589 (_FP_PACK_RAW_2_P): Likewise.
5590 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5591 (_FP_MUL_MEAT_2_wide): Likewise.
5592 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5593 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5594 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5595 (_FP_MUL_MEAT_2_gmp): Likewise.
5596 (_FP_DIV_MEAT_2_udiv): Likewise.
5597 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5598 (_FP_FRAC_SRL_4): Likewise.
5599 (_FP_FRAC_SRST_4): Likewise.
5600 (_FP_FRAC_SRS_4): Likewise.
5601 (_FP_UNPACK_RAW_4): Likewise.
5602 (_FP_UNPACK_RAW_4_P): Likewise.
5603 (_FP_PACK_RAW_4): Likewise.
5604 (_FP_PACK_RAW_4_P): Likewise.
5605 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5606 (_FP_MUL_MEAT_4_wide): Likewise.
5607 (_FP_MUL_MEAT_4_gmp): Likewise.
5608 (umul_ppppmnnn): Likewise.
5609 (_FP_DIV_MEAT_4_udiv): Likewise.
5610 (__FP_FRAC_ADD_4): Likewise.
5611 (__FP_FRAC_SUB_3): Likewise.
5612 (__FP_FRAC_SUB_4): Likewise.
5613 (__FP_FRAC_DEC_3): Likewise.
5614 (__FP_FRAC_DEC_4): Likewise.
5615 (__FP_FRAC_ADDI_4): Likewise.
5616 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5617 (_FP_FRAC_SRL_8): Likewise.
5618 (_FP_FRAC_SRS_8): Likewise.
5619
9c37ec0b
JM
5620 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5621 include macro name.
5622 (FP_UNPACK_RAW_EP): Likewise.
5623 (FP_PACK_RAW_E): Likewise.
5624 (FP_PACK_RAW_EP): Likewise.
5625 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5626 (_FP_ISSIGNAN): Likewise.
5627 (_FP_ADD_INTERNAL): Likewise.
5628 (_FP_FMA): Likewise.
5629 (_FP_CMP): Likewise.
5630 (_FP_SQRT): Likewise.
5631 (_FP_TO_INT): Likewise.
5632 (_FP_FROM_INT): Likewise.
5633 (FP_EXTEND): Likewise.
5634 (_FP_DIV_MEAT_N_loop): Likewise.
5635
2125f674
MR
56362014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5637
5638 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5639 throughout.
5640
edea4028
JM
56412014-06-29 Joseph Myers <joseph@codesourcery.com>
5642
5643 [BZ #17097]
5644 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5645 result with correct sign in case of exponents that produce
5646 overflow except for X very close to 1.
5647
dd0ba018
PE
56482014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5649
5650 mktime: merge #if/#ifdef usage from glibc
5651 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5652 as that works with both Glibc's and Gnulib's style.
5653 See thread starting at Siddhesh Poyarekar's bug report at:
5654 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5655
64df73c2
SP
56562014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5657
5658 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5659 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5660 * sysdeps/tile/tilegx/memmove.c: Remove file.
5661
f1eafb41
JM
56622014-06-27 Joseph Myers <joseph@codesourcery.com>
5663
5664 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5665 abi-name definition.
5666 * scripts/soversions.awk: Do not handle or generate ABI lines.
5667 * shlib-versions: Remove ABI entries.
5668 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5669 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5670
58eb0862
RM
56712014-06-27 Roland McGrath <roland@hack.frob.com>
5672
37caf178
RM
5673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5674 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5675 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5676 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5678 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5680 Moved ...
5681 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5682 ... here.
5683 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5684 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5685 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5696 Moved ...
5697 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5698 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5699 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5700 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5701 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5703 Moved ...
5704 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5706 Moved ...
5707 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5711 Moved ...
5712 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5720 Moved ...
5721 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5725 Moved ...
5726 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5728 Moved ...
5729 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5730 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5733 Moved ...
5734 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5735 ... here.
5736 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5737 Identical file removed.
5738 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5739 Moved ...
5740 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5742 Identical file removed.
5743 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5744 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5745 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5746 Moved ...
5747 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5748 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5749 Identical file removed.
5750 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5751 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5752 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5753 Identical file removed.
5754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5756 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5757 Identical file removed.
5758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5759 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5761 Identical file removed.
5762 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5763 Moved ...
5764 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5765 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5766 Identical file removed.
5767 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5768 Moved ...
5769 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5770 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5771 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5772 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5773 Identical file removed.
5774 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5775 Moved ...
5776 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5777 ... here.
5778 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5779 Identical file removed.
5780 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5781 Moved ...
5782 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5784 Identical file removed.
5785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5786 Moved ...
5787 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5788 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5789 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5790 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5791 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5792 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5793 Moved ...
5794 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5796 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5797
58eb0862
RM
5798 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5799 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5800 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5801 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5802 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5803
6f12d062
AS
58042014-06-27 Arjun Shankar <arjun.is@lostca.se>
5805
5806 [BZ #17092]
5807 * nscd/nscd.c (monitor_child): Return exit status of child
5808 instead of return value from wait syscall.
5809
be254932
JM
58102014-06-27 Joseph Myers <joseph@codesourcery.com>
5811
cb403c34
JM
5812 * configure.ac (libc_commonpagesize): Remove variable.
5813 (libc_relro_required): Likewise.
5814 (libc_cv_z_relro): Remove configure test.
5815 * configure: Regenerated.
5816 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5817 variable.
5818 (libc_relro_required): Likewise.
5819 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5820 (libc_relro_required): Likewise.
5821 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5822 (libc_relro_required): Likewise.
5823 * sysdeps/arm/preconfigure: Regenerated.
5824 * sysdeps/ia64/preconfigure: Remove file.
5825 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5826 variable.
5827 (libc_relro_required): Likewise.
5828
be254932
JM
5829 [BZ #16561]
5830 [BZ #16562]
5831 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5832 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5833 recompute overflowing results in original rounding mode.
5834 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5835 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5836 recompute overflowing results in original rounding mode.
5837 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5838 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5839 recompute overflowing results in original rounding mode.
5840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5841 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5842 recompute overflowing results in original rounding mode.
5843 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5844 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5845 recompute overflowing results in original rounding mode.
5846 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5847 (libc_feholdsetround_ctx): New macro.
5848 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5849 * sysdeps/i386/fpu/libm-test-ulps: Update.
5850 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5851
b351d85a
JM
58522014-06-26 Joseph Myers <joseph@codesourcery.com>
5853
5854 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5855 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5856 corresponding .cpsetup call.
5857
3cb4de47
RM
58582014-06-26 Roland McGrath <roland@hack.frob.com>
5859
5860 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5861 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5862 * sysdeps/arm/Makefile [$(subdir) = csu]
5863 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5864 (static-only-routines): Add aeabi_read_tp here.
5865 (shared-only-routines): Add libc-aeabi_read_tp here.
5866 (CFLAGS-libc-start.c): Add -fexceptions here.
5867 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5868 (sysdep_routines, static-only-routines, shared-only-routines):
5869 Don't add to these here.
5870 (CFLAGS-libc-start.c): Likewise.
5871
5872 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5873 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5874 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5875 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5876 * sysdeps/arm/Makefile [$(subdir) = rt]
5877 (librt-sysdep_routines, librt-shared-only-routines):
5878 Append rt-aeabi_unwind_cpp_pr1 here.
5879 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5880 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5881 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5882 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5883 Append nptl-aeabi_unwind_cpp_pr1 here.
5884 (tests): Filter out tst-cleanupx4 here.
5885 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5886 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5887 Don't do those here.
5888
354426bb
JM
58892014-06-26 Joseph Myers <joseph@codesourcery.com>
5890
5891 * scripts/list-sources.sh: Do not handle ports specially.
5892
28b0a8c9
RM
58932014-06-26 Roland McGrath <roland@hack.frob.com>
5894
a3dd035d
RM
5895 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5896 * sysdeps/arm/feupdateenv.c: Likewise.
5897
28b0a8c9
RM
5898 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5899
e66a8203
JM
59002014-06-26 Joseph Myers <joseph@codesourcery.com>
5901
5902 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5903 trailing whitespace removed.
5904 * scripts/config.guess: Update to version 2014-03-23.
5905 * scripts/config.sub: Update to version 2014-05-01
5906 * scripts/install-sh: Update to version 2013-12-25.23.
5907 * scripts/move-if-change: Update from gnulib.
5908
74171115
SP
59092014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5910
b97c9ce5
SP
5911 * debug/memmove_chk.c: Remove pagecopy.h include.
5912
4000f892
SP
59132014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5914
74171115
SP
5915 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5916 identical to gnulib mktime.
5917
a8779c28
JM
59182014-06-26 Joseph Myers <joseph@codesourcery.com>
5919
e64708de
JM
5920 * configure.ac: Do not test for machine being rs6000. Do not test
5921 for powerpc*-*soft.
5922 * configure: Regenerated.
5923
a8779c28
JM
5924 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5925 test.
5926 * configure: Regenerated.
5927 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5928 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5929 Remove configure test.
5930 * sysdeps/arm/configure: Regenerated.
5931 * sysdeps/nptl/configure.ac: Do not check
5932 libc_cv_asm_cfi_directives.
5933 * sysdeps/nptl/configure: Regenerated.
5934 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5935 * sysdeps/x86_64/nptl/configure: Remove generated file.
5936 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5937 unconditional.
5938 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5939
2aac0a86
SP
59402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
059bf913
SP
5942 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5943 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5944 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5945 it is defined.
5946
4cf5b6d0
SP
5947 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5948 instead of whether it is defined.
5949 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5950 * sysdeps/hppa/dl-machine.h: Likewise.
5951 * sysdeps/ia64/dl-machine.h: Likewise.
5952 * sysdeps/m68k/dl-machine.h: Likewise.
5953 * sysdeps/microblaze/dl-machine.h: Likewise.
5954 * sysdeps/mips/dl-machine.: Likewise.
5955 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5956 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5957 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5958 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5959 * sysdeps/sh/dl-machine.h: Likewise.
5960 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5961 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5962 * sysdeps/tile/dl-machine.h: Likewise.
5963 * sysdeps/x86_64/dl-machine.h: Likewise.
5964
2aac0a86
SP
5965 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5966 code.
5967 (verify_persistent_db): Likewise.
5968
6ad2df0b
RM
59692014-06-26 Roland McGrath <roland@hack.frob.com>
5970
d8a483f3
RM
5971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5972 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5974 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5976 Moved ...
5977 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5978 ... here.
5979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5980 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5982 Identical file removed.
5983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5984 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5986 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5988 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5990 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5992 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5994 Moved ...
5995 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5999 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6001 Moved ...
6002 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6004 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6006 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6008 Identical file removed.
6009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6010 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6012 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6014 Moved ...
6015 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6016 ... here.
6017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6018 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6020 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6022 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6024 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6026 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6028 Moved ...
6029 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6031 Moved ...
6032 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6036 Moved ...
6037 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6039 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6040
52ae23b4
RM
6041 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6042 folded into ...
6043 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6044 * sysdeps/unix/sysv/linux/s390/Versions
6045 (libpthread: GLIBC_2.19): New version set.
6046 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6047 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6048 (librt: GLIBC_2.3.3): New version set.
6049 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6050 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6051 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6052 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6053 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6054 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6055 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6056 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6057 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6058 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6059 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6061 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6063 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6065 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6066 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6067 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6069 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6071 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6072 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6073 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6075 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6077 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6079 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6081 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6082 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6084 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6085 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6086 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6087 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6088 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6089 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6090 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6091 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6093 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6094
39507e4a
RM
6095 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6096 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6097 (__libc_vfork): Define the function under this name.
6098 [!NOT_IN_libc] (__vfork): Make this an alias.
6099 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6101 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6102 (__libc_vfork): Define the function under this name.
6103 [!NOT_IN_libc] (__vfork): Make this an alias.
6104 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6105 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6106 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6107 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6109 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6110
e549ee56
RM
6111 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6112 code that was previously under [RESET_PID].
6113 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6114 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6116
6ad2df0b
RM
6117 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6118 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6119 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6120 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6121 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6122 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6123 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6124 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6125 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6126 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6127 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6128 Moved ...
6129 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6130 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6131 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6132 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6133 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6134 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6135 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6136 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6137 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6138 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6139 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6140 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6141 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6142 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6143 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6144 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6145 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6146 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6147 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6148 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6149 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6150 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6151 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6152 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6153 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6154 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6155 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6156 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6157 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6158
7c1c1d8e
RM
61592014-06-25 Roland McGrath <roland@hack.frob.com>
6160
6161 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6162 that was previously under [RESET_PID].
6163 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6164
3e239be6
JM
61652014-06-25 Joseph Myers <joseph@codesourcery.com>
6166
74385da5
JM
6167 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6168 not undefine and redefine.
6169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6170 [O_CLOEXEC]: Make code unconditional.
6171 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6172 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6173 <kernel-features.h>.
6174 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6175 conditional variable definition.
6176 (shm_open) [O_CLOEXEC]: Make code unconditional.
6177 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6178 code.
6179
c2570a0b
JM
6180 * configure.ac (USE_REGPARMS): Don't define here.
6181 * configure: Regenerated.
6182 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6183 * sysdeps/i386/configure: Regenerated.
6184
11b076bb
JM
6185 * nptl/createthread.c: Don't include kernel-features.h.
6186 * nptl/pthread_cancel.c: Likewise.
6187 * nptl/pthread_condattr_setclock.c: Likewise.
6188 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6189 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6190 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6191 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6192 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6193 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6194 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6197 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6198 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6199 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6200 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6201 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6202 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6203 * nscd/gai.c: Likewise.
6204 * nss/nss_db/db-open.c: Likewise.
6205 * sysdeps/generic/ldsodefs.h: Likewise.
6206 * sysdeps/sh/nptl/tls.h: Likewise.
6207 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6208 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6209 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6210 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6211 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6212 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6213 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6214 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6216 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6217 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6218 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6219 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6220 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6221 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6222 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6223 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6224 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6225 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6226 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6227 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6228 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6229 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6230 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6231 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6232 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6233 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6234 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6235 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6236 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6237 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6238 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6239 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6240 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6241 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6242 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6243 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6244 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6245 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6246 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6247 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6248 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6249 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6250 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6251 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6252 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6253 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6254 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6255 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6256 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6257 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6258 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6259 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6260 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6261 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6262 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6263 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6264 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6287 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6288 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6289 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6290 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6291 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6292 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6293 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6294 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6295 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6296 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6297 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6298 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6299 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6300 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6301 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6302 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6304 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6305 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6306 * sysdeps/unix/sysv/linux/system.c: Likewise.
6307 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6308 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6309 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6310 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6311 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6312 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6313 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6314
92072d57
JM
6315 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6316 * configure: Regenerated.
6317 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6318
3e239be6
JM
6319 * configure.ac (base_machine): Do not set specially for particular
6320 machines here.
6321 * configure: Regenerated.
6322 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6323 settings from configure.ac.
6324 * sysdeps/i386/preconfigure: New file.
6325 * sysdeps/s390/preconfigure: Likewise.
6326 * sysdeps/sh/preconfigure: Likewise.
6327 * sysdeps/sparc/preconfigure: Likewise.
6328
06d50baa
RM
63292014-06-25 Roland McGrath <roland@hack.frob.com>
6330
74836003
RM
6331 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6332 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6333 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6334 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6335 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6336 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6337 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6338 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6339 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6340 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6341 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6342 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6343 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6344 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6345 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6346 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6347 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6348 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6349 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6350
6351 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6352 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6353 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6354 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6355 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6356 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6357 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6358 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6359 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6360 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6361 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6362 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6363 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6364 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6365 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6366 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6367 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6368 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6369 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6370 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6371 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6372 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6373 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6374 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6375 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6376 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6377 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6378 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6379 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6380 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6381 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6382 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6383 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6384 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6385 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6386 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6387 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6388 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6389
06d50baa
RM
6390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6391 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6393 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6395 Moved ...
6396 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6397 ... here.
6398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6399 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6401 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6403 Moved ...
6404 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6406 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6408 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6410 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6412 Moved ...
6413 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6415 Moved ...
6416 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6418 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6420 Moved ...
6421 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6423 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6425 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6427 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6429 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6431 Moved ...
6432 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6433 ... here.
6434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6435 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6437 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6439 Moved ...
6440 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6442 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6444 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6446 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6448 Moved ...
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6451 Moved ...
6452 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6454 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6456 Moved ...
6457 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6459 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6461 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6462
a4ccbc9b
JM
64632014-06-25 Joseph Myers <joseph@codesourcery.com>
6464
0828edbf
JM
6465 * timezone/checktab.awk: Update from tzcode 2014e.
6466 * timezone/private.h: Likewise.
6467 * timezone/tzfile.h: Likewise.
6468 * timezone/zdump.c: Likewise.
6469 * timezone/zic.c: Likewise.
6470
a4ccbc9b
JM
6471 * sysdeps/unix/sysv/linux/kernel-features.h
6472 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6474 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6475 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6476 Remove conditional code.
6477
9aea0cb8
WN
64782014-06-25 Will Newton <will.newton@linaro.org>
6479
6480 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6481 (_dl_arm_cap_flags): Add HWCAP2 values.
6482 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6483 (_DL_HWCAP_COUNT): Increase to 37.
6484 (_DL_HWCAP_LAST): New define.
6485 (_DL_HWCAP2_LAST): New define.
6486 (_dl_procinfo): Add support for printing
6487 AT_HWCAP2 entries.
6488 (_dl_string_hwcap): Use _dl_hwcap_string.
6489
6eaa65ce
AZ
64902014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6491
6492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6493
0f5b7185
JM
64942014-06-25 Joseph Myers <joseph@codesourcery.com>
6495
cfd2ea50
JM
6496 * README: Do not mention ports directory.
6497
cecf2ed4
JM
6498 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6499 Remove macro.
6500 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6501 <kernel-features.h>.
6502 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6503 conditional variable definition.
6504 (__futimes): Update comment.
6505 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6506 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6507
a638de82
JM
6508 [BZ #16560]
6509 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6510 arguments close to 0.
6511 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6512 Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6514 Likewise.
6515 * math/auto-libm-test-in: Add more tests of exp10.
6516 * math/auto-libm-test-out: Regenerated.
6517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6518
0f5b7185
JM
6519 * sysdeps/unix/sysv/linux/kernel-features.h
6520 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6521 * sysdeps/unix/sysv/linux/readv.c: Do not include
6522 <kernel-features.h>.
6523 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6524 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6525 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6526 unconditional.
6527 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6528 conditional code.
6529 * sysdeps/unix/sysv/linux/writev.c: Do not include
6530 <kernel-features.h>.
6531 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6532 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6533 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6534 unconditional.
6535 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6536 conditional code.
6537
c7aec4be
WN
65382014-06-25 Will Newton <will.newton@linaro.org>
6539
6540 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6541 comment changes throughout the file. Remove checks
6542 for HAVE_*_H definitions that are not required.
6543 (__gen_tempname): Call abort if an unknown kind value is
6544 passed.
6545
c5241f95
AS
65462014-06-25 Andreas Schwab <schwab@suse.de>
6547
6548 [BZ #17086]
6549 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6550 scalbln, scalblnf, scalblnl in libc.
6551
911422da
SP
65522014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6553
6554 [BZ #17086]
6555 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6556 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6557 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6558
0d749bbe
RM
65592014-06-24 Roland McGrath <roland@hack.frob.com>
6560
6561 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6562 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6563 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6564 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6565 Update #include.
6566 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6567 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6568 Update #include.
6569 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6570 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6571 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6572 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6573 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6574 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6575 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6576 * sysdeps/x86/bits/semaphore.h: ... here.
6577 * sysdeps/x86/nptl/elide.h: Moved ...
6578 * sysdeps/x86/elide.h: ... here.
6579 * sysdeps/x86_64/nptl/Implies: File removed.
6580 * sysdeps/i386/nptl/Implies: File removed.
6581
0ea5d373
JM
65822014-06-24 Joseph Myers <joseph@codesourcery.com>
6583
4060283d
JM
6584 [BZ #16539]
6585 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6586 return the argument for normal arguments with exponent below -64.
6587 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6588 Likewise.
6589 * math/auto-libm-test-in: Add another test of expm1.
6590 * math/auto-libm-test-out: Regenerated.
6591
e7dd3c8c
JM
6592 [BZ #16287]
6593 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6594 calling __erfcl for arguments at least 16.
6595 * math/auto-libm-test-in: Add more tests of erf.
6596 * math/auto-libm-test-out: Regenerated.
6597
0ea5d373
JM
6598 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6599 individual architectures.
6600 * sysdeps/unix/sysv/linux/configure: Regenerated.
6601 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6602 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6603 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6604 (ldd_rewrite_script): Define variable.
6605 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6607 file.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6609 generated file.
6610 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6611 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6612 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6613 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6614 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6615 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6616 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6617 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6618
2307e126
SP
66192014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6620
6621 [BZ #17084]
6622 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6623 Rename member __data.d to __data.__elision_data.
6624
c0a4ed77
W
66252014-06-24 Wilco <wdijkstr@arm.com>
6626
6627 * NEWS: Add 16918 to fixed bug list.
6628
b8c00573
W
66292014-06-24 Wilco <wdijkstr@arm.com>
6630
6631 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6632
b5570d92
W
66332014-06-24 Wilco <wdijkstr@arm.com>
6634
6635 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6636 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6637 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6638 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6639 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6640 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6641 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6642 Use _FPU_MASK_RM.
6643
947bdca2
W
66442014-06-24 Wilco <wdijkstr@arm.com>
6645
6646 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6647
00f669ed
W
66482014-06-24 Wilco <wdijkstr@arm.com>
6649
6650 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6651 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6652 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6653 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6654
db59bad3
W
66552014-06-24 Wilco <wdijkstr@arm.com>
6656
6657 [BZ #16918]
6658 * sysdeps/arm/feupdateenv.c (feupdateenv):
6659 Rewrite to reduce FPSCR accesses and fix return value.
6660
001f7b77
W
66612014-06-24 Wilco <wdijkstr@arm.com>
6662
6663 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6664 Optimize to avoid unnecessary FPSCR writes.
6665 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6666 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6667 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6668 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6669
4841e6a6
W
66702014-06-24 Wilco <wdijkstr@arm.com>
6671
6672 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6673 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6674 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6675 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6676 Call libc_fetestexcept_vfp.
6677 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6678 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6679 __SOFTFP__ ifdef so that they can be built for softfp.
6680
0813022c
SP
66812014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6682
08e5862f
SP
6683 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6684 argument type signed char.
6685
0813022c
SP
6686 * Makerules (check-abi): Dump diff of symlist if the test
6687 fails.
6688
3fc7236a
RM
66892014-06-23 Roland McGrath <roland@hack.frob.com>
6690
aba8ef95
RM
6691 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6692 using abort.
6693
3fc7236a
RM
6694 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6695 Remove unused variable ST.
6696
4da6db51
JM
66972014-06-23 Joseph Myers <joseph@codesourcery.com>
6698
4648909d
JM
6699 [BZ #16354]
6700 [BZ #17061]
6701 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6702 small arguments before calling __expm1.
6703 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6704 small arguments before calling __expm1f.
6705 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6706 small arguments before calling __expm1l.
6707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6708 Likewise.
6709 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6710 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6711 spurious underflow for some cosh tests.
6712 * math/auto-libm-test-out: Regenerated.
6713 * sysdeps/i386/fpu/libm-test-ulps: Update.
6714
46a3d3c7
JM
6715 [BZ #17050]
6716 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6717 (__ieee754_y1): Set errno if return value overflows.
6718 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6719 (__ieee754_y1f): Set errno if return value overflows.
6720 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6721 (__ieee754_y1l): Set errno if return value overflows.
6722 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6723 (__ieee754_y1l): Set errno if return value overflows.
6724 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6725 * math/auto-libm-test-out: Regenerated.
6726
863893ec
JM
6727 * math/gen-auto-libm-tests.c: Document use of
6728 ignore-zero-inf-sign.
6729 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6730 (input_flags): Add ignore-zero-inf-sign.
6731 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6732 * math/gen-libm-test.pl (generate_testfile): Handle
6733 ignore-zero-inf-sign.
6734 * math/auto-libm-test-in: Mark some cpow tests with
6735 ignore-zero-inf-sign and some with xfail-rounding.
6736 * math/auto-libm-test-out: Regenerated.
6737 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740
4da6db51
JM
6741 [BZ #16315]
6742 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6743 overflowing or underflowing operations take place with sign of
6744 result.
6745 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6746 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6747 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6748 (__ieee754_pow): Recompute overflowing and underflowing results in
6749 original rounding mode.
6750 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6751 (__powl_helper): Allow negative argument X and scale negated value
6752 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6753 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6754 overflowing or underflowing operations take place with sign of
6755 result.
6756 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6757 Include <math.h>.
6758 * math/auto-libm-test-in: Add more tests of pow.
6759 * math/auto-libm-test-out: Regenerated.
6760 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6761 (pow_tonearest_test_data): Remove.
6762 (pow_test_tonearest): Likewise.
6763 (pow_towardzero_test_data): Likewise.
6764 (pow_test_towardzero): Likewise.
6765 (pow_downward_test_data): Likewise.
6766 (pow_test_downward): Likewise.
6767 (pow_upward_test_data): Likewise.
6768 (pow_test_upward): Likewise.
6769 (main): Don't call removed functions.
6770 * sysdeps/i386/fpu/libm-test-ulps: Update.
6771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6772
5686b236
RM
67732014-06-23 Roland McGrath <roland@hack.frob.com>
6774
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6776 Moved ...
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6779 Moved ...
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6782 Moved ...
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6785 Moved ...
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6788 File removed.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6790 File removed.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6792 File removed.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6794 File removed.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6796 File removed.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6798 File removed.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6800 File removed.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6802 File removed.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6804 File removed.
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6806 File removed.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6808 File removed.
6809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6810 File removed.
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6812 Moved ...
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6815 Moved ...
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6817 ... here.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6819 Moved ...
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6822 Moved ...
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6825 Moved ...
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6828 Moved ...
6829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6831 Moved ...
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6834 Moved ...
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6837 Moved ...
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6841 ... here.
6842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6843 Moved ...
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6846 Moved ...
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6848 ... here.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6850 Moved ...
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6852 ... here.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6854 Moved ...
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6856 ... here.
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6858 Moved ...
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6861 Moved ...
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6866 Moved ...
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6868 ... here.
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6870 Moved ...
6871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6872 ... here.
6873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6874 Moved ...
6875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6877 Moved ...
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6880 Moved ...
6881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6883 Moved ...
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6886 Moved ...
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6888 ... here.
6889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6890 Moved ...
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6893 Moved ...
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6896 Moved ...
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6899 Moved ...
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6904 Moved ...
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6907 Moved ...
6908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6910 Moved ...
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6912 ... here.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6914 Moved ...
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6916 ... here.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6918 Moved ...
6919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6920 ... here.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6922 Moved ...
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6925 Moved ...
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6928 Moved ...
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6931 Moved ...
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6933 ... here.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6935 Moved ...
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6937 ... here.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6939 Moved ...
6940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6941 ... here.
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6943 Moved ...
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6946 Moved ...
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6948
e6d90d67
WD
69492014-06-23 Will Newton <will.newton@linaro.org>
6950 Wilco <wdijkstr@arm.com>
6951
6952 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6953 implementation. Include get-rounding-mode.h.
6954 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6955 [!libc_feholdsetround_noex_ctx]: Define
6956 libc_feholdsetround_noex_ctx.
6957 [!libc_feholdsetround_noexf_ctx]: Define
6958 libc_feholdsetround_noexf_ctx.
6959 [!libc_feholdsetround_noexl_ctx]: Define
6960 libc_feholdsetround_noexl_ctx.
6961 (libc_feholdsetround_ctx): New function.
6962 (libc_feresetround_ctx): New function.
6963 (libc_feholdsetround_noex_ctx): New function.
6964 (libc_feresetround_noex_ctx): New function.
6965
d42df555
RM
69662014-06-23 Roland McGrath <roland@hack.frob.com>
6967
88a46474
RM
6968 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6969 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6970 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6971 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6972 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6973 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6974
15bed472
RM
6975 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6976 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6977 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6978 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6979 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6980 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6981 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6982 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6983 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6984 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6985 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6986 Moved ...
6987 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6988 ... here.
6989 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6990 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6991 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6992 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6993 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6994 Moved ...
6995 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6996 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6997 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6998 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6999 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7001 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7002 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7003 Moved ...
7004 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7005 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7006 Moved ...
7007 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7008 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7009 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7010 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7011 Moved ...
7012 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7013 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7014 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7015 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7016 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7017 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7018 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7019 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7020 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7021 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7022 Moved ...
7023 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7024 ... here.
7025 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7028 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7029 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7030 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7031 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7032 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7034 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7036 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7037 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7038 Moved ...
7039 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7041 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7042 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7043 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7044 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7045 Moved ...
7046 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7047 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7048 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7049 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7050 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7051
d42df555
RM
7052 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7053 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7054 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7055 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7056 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7063 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7064 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7065 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7066 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7067 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7069 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7071 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7072 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7073 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7074 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7075 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7076 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7077 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7078 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7079 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7080
76e5216e
JM
70812014-06-23 Joseph Myers <joseph@codesourcery.com>
7082
7083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7084 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7085 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7086 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7087 (IPV6_PMTUDISC_INTERFACE): Likewise.
7088 (IPV6_PMTUDISC_OMIT): Likewise.
7089
7a81cbcc
AS
70902014-06-23 Andreas Schwab <schwab@suse.de>
7091
7092 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7093 Remove unused errout label.
7094
db224009
AZ
70952014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7096
7097 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7098 macro: hardware supports Vector Crypto instructions.
7099
f393b4aa
WN
71002014-06-23 Will Newton <will.newton@linaro.org>
7101
cc7d0447
WN
7102 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7103 rather than __builtin_expect.
7104
d6d06225
WN
7105 * elf/dl-lookup.c (undefined_msg): Remove variable.
7106 (_dl_lookup_symbol_x): Replace undefined_msg with string
7107 literal.
7108
f393b4aa
WN
7109 * elf/dl-lookup.c (do_lookup_unique): New function.
7110 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7111 to a separate function.
7112
ac60763e
AS
71132014-06-23 Andreas Schwab <schwab@suse.de>
7114
7115 [BZ #17079]
7116 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7117 before reading the next line.
7118
c5c13355
WN
71192014-06-23 Will Newton <will.newton@linaro.org>
7120
7121 * test-skeleton.c (signal_handler): Use printf and %m
7122 rather than perror. Use printf rather than fprintf to
7123 stderr. Use puts rather than fputs to stderr.
7124 (main): Likewise.
7125
bd3675f9
LC
71262014-06-22 Ludovic Courtès <ludo@gnu.org>
7127
7128 * nscd/nscd.c (thread_info_t): Remove typedef.
7129 (thread_info): Remove variable.
7130
d03efb2f
AM
71312014-06-21 Allan McRae <allan@archlinux.org>
7132
7133 * NEWS: Mention CVE-2014-4043.
7134
bc4a86fa
RM
71352014-06-20 Roland McGrath <roland@hack.frob.com>
7136
dc9a54f8
RM
7137 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7138 * nptl/smp.h: ... here.
7139
bd7022c4
RM
7140 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7141
26ffd5e6
RM
7142 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7143 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7144 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7145 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7146
93a6d082
RM
7147 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7148 * nptl/stack-aliasing.h: New file.
7149 * sysdeps/i386/i686/stack-aliasing.h: New file.
7150 * sysdeps/i386/i686/nptl/Makefile: File removed.
7151 * sysdeps/x86_64/stack-aliasing.h: New file.
7152 * sysdeps/x86_64/nptl/Makefile
7153 (CFLAGS-pthread_create.c): Variable removed.
7154
bc4a86fa
RM
7155 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7156 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7157 old file.
7158 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7159 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7160 old file.
7161
2272ffc1
JM
71622014-06-21 Joseph Myers <joseph@codesourcery.com>
7163
7164 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7165 (__ASSUME_SIGFRAME_V2): Remove macro.
7166 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7167 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7168 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7169 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7170 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7171 Declare as function. Remove conditional macro definitions.
7172 (__default_rt_sa_restorer): Likewise.
7173 (__default_sa_restorer_v1): Remove declaration.
7174 (__default_sa_restorer_v2): Likewise.
7175 (__default_rt_sa_restorer_v1): Likewise.
7176 (__default_rt_sa_restorer_v2): Likewise.
7177 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7178 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7179 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7180
4b88139b
RM
71812014-06-20 Roland McGrath <roland@hack.frob.com>
7182
7183 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7184 (libpthread-routines): Add sysdep.
7185 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7186 * sysdeps/unix/sysv/linux/sparc/Versions
7187 (libpthread: GLIBC_2.3.3): New version set.
7188 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7189 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7190 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7191 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7192 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7193 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7194 Moved ...
7195 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7196 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7197 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7198 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7199 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7200 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7201 * sysdeps/sparc/nptl/sem_init.c: ... here.
7202 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7203 * sysdeps/sparc/nptl/sem_post.c: ... here.
7204 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7205 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7206 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7207 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7208 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7209 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7210 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7211 (libpthread-routines): Add cpu_relax.
7212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7213 File removed.
7214 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7215 (librt: GLIBC_2.3.3): New version set.
7216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7217 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7218 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7219 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7222 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7224 Moved ...
7225 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7227 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7229 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7231 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7233 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7235 Moved ...
7236 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7237 Update #include.
7238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7239 Moved ...
7240 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7241 Update #include.
7242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7243 Moved ...
7244 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7245 Update #include.
7246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7247 Moved ...
7248 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7249 Update #include.
7250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7251 Moved ...
7252 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7253 Update #include.
7254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7255 Moved ...
7256 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7257 Update #include.
7258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7259 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7265 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7267 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7269 Moved ...
7270 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7272 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7274 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7275
d7109027
JM
72762014-06-20 Joseph Myers <joseph@codesourcery.com>
7277
9bc6103d
JM
7278 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7279 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7280 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7281 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7282 * nscd/nscd.c: Likewise.
7283 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7284 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7285 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7286 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7287
d7109027
JM
7288 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7289 <kernel-features.h>.
7290 (init_mq_netlink): Remove conditional have_sock_cloexec
7291 definitions. Remove code conditional on have_sock_cloexec < 0.
7292 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7293 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7294 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7295 <kernel-features.h>.
7296 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7297 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7298
d92d8f8a
L
72992014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7300
7301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7302 Add tests for memset_chk and memset.
7303
7304 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7305 with AVX2_Usable.
7306
4e6d2347
MR
73072014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7308
257ce712
MR
7309 [BZ #16046]
7310 * elf/tst-dl-iter-static.c: New file.
7311 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7312
4e6d2347
MR
7313 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7314 error.
7315
a2a76afe
JM
73162014-06-20 Joseph Myers <joseph@codesourcery.com>
7317
7fd00f99
JM
7318 * sysdeps/unix/sysv/linux/kernel-features.h
7319 (__ASSUME_F_GETOWN_EX): Remove macro.
7320 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7321 <kernel-features.h>.
7322 (miss_F_GETOWN_EX): Remove variable or macro.
7323 (do_fcntl): Do not check miss_F_GETOWN_EX.
7324 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7325
4a103975
JM
7326 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7327 Remove macro.
7328 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7329 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7330 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7331
a2a76afe
JM
7332 * sysdeps/unix/sysv/linux/kernel-features.h
7333 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7334 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7335 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7336 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7337
90e5dd48
MR
73382014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7339
7340 [BZ #17075]
7341 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7342 Fix calculation of the symbol's value.
7343 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7344 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7345 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7346 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7347 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7348 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7349 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7350 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7351 (modules-names): Add `tst-armtlsdescmod',
7352 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7353 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7354 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7355 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7356 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7357 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7358 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7359 ($(objpfx)tst-armtlsdescloc): New dependency.
7360 ($(objpfx)tst-armtlsdescextnow): Likewise.
7361 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7362 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7363 TLS scheme support.
7364 * sysdeps/arm/configure: Regenerate.
7365
809fdf0d
JM
73662014-06-20 Joseph Myers <joseph@codesourcery.com>
7367
7368 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7369 (__atfct_seterrno_2): Likewise.
7370 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7371 <kernel-features.h>.
7372 (__ASSUME_ATFCTS): Do not undefine and redefine.
7373 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7374 (__have_atfcts): Remove conditional definition.
7375 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7376 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7377 unreachable if [__ASSUME_ATFCTS].
7378 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7379 not undefine and redefine.
7380 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7381 <kernel-features.h>.
7382 (faccessat) [__NR_faccessat]: Make code unconditional.
7383 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7384 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7385 <kernel-features.h>.
7386 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7387 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7388 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7389 <kernel-features.h>.
7390 (fchownat) [__NR_fchownat]: Make code unconditional.
7391 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7392 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7393 <kernel-features.h>.
7394 (futimesat) [__NR_futimesat]: Make code unconditional.
7395 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7396 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7397 <kernel-features.h>.
7398 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7399 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7400 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7401 <kernel-features.h>.
7402 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7403 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7404 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7405 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7406 <kernel-features.h>.
7407 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7408 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7409 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7410 <kernel-features.h>.
7411 (linkat) [__NR_linkat]: Make code unconditional.
7412 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7413 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7414 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7415 <kernel-features.h>.
7416 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7417 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7418 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7419 <kernel-features.h>.
7420 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7421 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7422 * sysdeps/unix/sysv/linux/openat.c: Do not include
7423 <kernel-features.h>.
7424 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7425 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7426 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7427 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7428 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7429 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7430 <kernel-features.h>.
7431 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7432 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7433 result of INLINE_SYSCALL directly, not via int variable.
7434 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7435 <kernel-features.h>.
7436 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7437 (renameat) [__NR_renameat]: Make code unconditional.
7438 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7439 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7440 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7441 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7442 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7443 (__ASSUME_ATFCTS): Do not undefine and redefine.
7444 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7445 <kernel-features.h>.
7446 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7447 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7448 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7449 <kernel-features.h>.
7450 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7451 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7452 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7453 (__ASSUME_ATFCTS): Do not undefine and redefine.
7454 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7455 <kernel-features.h>.
7456 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7457 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7458 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7459 <kernel-features.h>.
7460 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7461 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7462
224c6c51
L
74632014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7464
7465 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7466
aa6ec754
AS
74672014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7468
7469 [BZ #17069]
7470 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7471 constructed tree before returning error.
7472 * posix/bug-regexp36.c: Expand test case.
7473
d8c2869d
SL
74742014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7475
3ef6b850
SL
7476 [BZ #6803]
7477 * math/libm-test.inc (scalbln_test_date):
7478 Add errno expectations.
7479 * math/w_scalblnf.c: New File.
7480 Add wrapper which checks for setting errno to ERANGE.
7481 Add weak_alias for corresponding scalbln function.
7482 * math/w_scalbln.c: Likewise.
7483 * math/w_scalblnl.c: Likewise.
7484 * math/Makefile (libm-calls): Add w_scalbln.
7485 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7486 Remove weak_alias for corresponding scalbln function.
7487 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7489 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7491 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7492 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7493 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7494 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7495 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7496 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7497 Remove long_double_symbol for scalblnl function in libm, libc.
7498 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7499 Add wrapper which checks for setting errno to ERANGE.
7500 Add long_double_symbol for scalblnl function in libm, libc.
7501 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7502 Remove long_double_symbol for scalblnl in libm.
7503 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7504 Add wrapper which checks for setting errno to ERANGE.
7505 Add long_double_symbol for scalblnl function in libm.
7506 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7507 Do not use wrapper because of own implementation.
7508
c8daec5c
L
75092014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7510
7511 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7512 3 bytes for __pad1 for x32.
7513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7514
5c74e47c
LM
75152014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7516 H.J. Lu <hongjiu.lu@intel.com>
7517
7518 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7519 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7520 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7521 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7522 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7523
4d43ef1e
AS
75242014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7525
7526 [BZ #17069]
7527 * posix/regcomp.c (parse_expression): Deallocate partially
7528 constructed tree before returning error.
7529 * posix/Makefile.c (tests): Add bug-regex36.
7530 (generated): Add bug-regex36.mtrace.
7531 (tests-special): Add $(objpfx)bug-regex36-mem.out
7532 (bug-regex36-ENV): New variable.
7533 ($(objpfx)bug-regex36-mem.out): New rule.
7534 * posix/bug-regex36.c: New file.
7535
51a7380b
WN
75362014-06-19 Will Newton <will.newton@linaro.org>
7537
7538 * malloc/malloc.c (systrim): If extra is zero then return
7539 early.
7540
91b84fe5
SP
75412014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7542
7543 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7544
f940b965
RE
75452014-06-19 Richard Earnshaw <rearnsha@arm.com>
7546
7547 * sysdeps/aarch64/strchr.S: New file.
7548
4ba7a00f
JM
75492014-06-18 Joseph Myers <joseph@codesourcery.com>
7550
7551 [BZ #17022]
7552 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7553 from arguments -2 or below.
7554 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7555 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7556
b3a9f56b
AS
75572014-06-18 Andreas Schwab <schwab@suse.de>
7558
7559 [BZ #17062]
7560 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7561 of a bracket expr not to run off the end of the string.
7562 * posix/Makefile (tests): Add tst-fnmatch3.
7563 * posix/tst-fnmatch3.c: New file.
7564
85d89278
JM
75652014-06-18 Joseph Myers <joseph@codesourcery.com>
7566
7567 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7568 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7569 [$(cross-compiling) = no]: Likewise.
7570 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7571 [$(cross-compiling) = no]: Likewise.
7572
754c5a08
RS
75732014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7574
7575 [BZ #17031]
7576 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7577 double, adjusted for any remainder from the high double.
7578 * math/libm-test.inc (nearbyint): Add tests.
7579 (rint): Likewise.
7580
556f529d
AZ
75812014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7582
7583 * nptl/sysdeps/powerpc/Makefile: Moved ...
7584 * sysdeps/powerpc/nptl/Makefile: ... here.
7585 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7586 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7587 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7588 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7589 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7590 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7591 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7592 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7593 * nptl/sysdeps/powerpc/tls.h: Moved ...
7594 * sysdeps/powerpc/nptl/tls.h: ... here.
7595
91c03c53
JM
75962014-06-16 Joseph Myers <joseph@codesourcery.com>
7597
7598 [BZ #16681]
7599 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7600 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7601 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7602 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7603 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7604 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7605 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7606 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7607 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7608
a76e63c5
AS
76092014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7610
7611 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7612
f2f6d82f
AS
76132014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7614
ea8a15f6
AS
7615 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7616 defined operator.
7617
f2f6d82f
AS
7618 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7619 $TIMEOUTFACTOR.
7620
a7291117
FW
76212014-06-16 Florian Weimer <fweimer@redhat.com>
7622
7623 [BZ #17058]
7624 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7625 non-executed part of the test.
7626
3d7c00e3
AS
76272014-06-16 Andreas Schwab <schwab@suse.de>
7628
7629 * string/bits/string2.h (strdup, strndup): Update feature guard.
7630
6957fb31
DM
76312014-06-14 David S. Miller <davem@davemloft.net>
7632
7633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7634
11b9e55b
AS
76352014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7636
1d2a0492
AS
7637 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7638 that was previously under [RESET_PID].
7639 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7640
11b9e55b
AS
7641 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7642 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7643 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7644 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7645 (__libc_vfork): New strong alias.
7646 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7647
0f6901d0
AK
76482014-06-14 Andi Kleen <ak@linux.intel.com>
7649
7650 * sysdeps/generic/elide.h: New file.
7651
38bbbb9f
SL
76522014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7653
7654 * Makefile (installed-headers): Adjust path of pthread.h header.
7655
45193bb8
RM
76562014-06-13 Roland McGrath <roland@hack.frob.com>
7657
9a25fd1e
RM
7658 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7659 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7661 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7662
4004f7e4
RM
7663 * nptl/sysdeps/s390/Makefile: Moved ...
7664 * sysdeps/s390/nptl/Makefile: ... here.
7665 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7666 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7667 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7668 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7669 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7670 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7671 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7672 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7673 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7674 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7675 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7676 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7677 * nptl/sysdeps/s390/tls.h: Moved ...
7678 * sysdeps/s390/nptl/tls.h: ... here.
7679
45193bb8
RM
7680 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7681 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7682
f6fdf533
DM
76832014-06-13 David S. Miller <davem@davemloft.net>
7684
7685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7688 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7692 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7693 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7694 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7695 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7696 Remove RESET_PID cpp guards.
7697 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7698 Remove RESET_PID cpp guards.
7699 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7700
f5d71e14
AS
77012014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7702
7703 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7704 __sp to uintptr_t.
7705
b7aa8caa
AK
77062014-06-13 Andi Kleen <ak@linux.intel.com>
7707
4b266200
AZ
7708 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7709 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7710 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7711 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7712 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7713 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7714 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7715 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7716 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7717 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7718 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7719 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7720 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7721 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7722 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7723 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7724 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7725 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7726 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7727 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7728
7729 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7730 (pthread_rwlock_rdlock): Add elision.
7731 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7732 (pthread_rwlock_wrlock): Add elision.
7733 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7734 (pthread_rwlock_trywrlock): Add elision.
7735 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7736 (pthread_rwlock_tryrdlock): Add elision.
7737 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7738 (pthread_rwlock_tryrdlock): Add elision unlock.
7739 * nptl/sysdeps/pthread/pthread.h:
7740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7741 (PTHREAD_RWLOCK_INITIALIZER,
7742 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7743 Handle new elision field.
7744 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7745 * sysdeps/arm/nptl/bits/pthreadtypes.h
7746 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7747 * sysdeps/sh/nptl/bits/pthreadtypes.h
7748 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7749 * sysdeps/tile/nptl/bits/pthreadtypes.h
7750 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7751 * sysdeps/a/nptl/bits/pthreadtypes.h
7752 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7753 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7754 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7755 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7756 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7757 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7758 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7759 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7760 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7761 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7762 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7763 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7764 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7765 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7766 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7767 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7768 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7769 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7770 (elision_init): Set try_xbegin to zero when no RTM.
7771 * sysdeps/x86/nptl/bits/pthreadtypes.h
7772 (pthread_rwlock_t): Change __pad1 to __rwelision.
7773 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7774
a832bdd3
AK
77752014-06-13 Andi Kleen <ak@linux.intel.com>
7776
7777 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7778 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7779 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7780 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7781
995a46bb
MI
77822014-06-13 Meador Inge <meadori@codesourcery.com>
7783
7784 [BZ #16996]
03ed7738 7785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7786 that the cached result has been set before returning it.
7787
45262aee
RM
77882014-06-12 Roland McGrath <roland@hack.frob.com>
7789
febf6cc5
RM
7790 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7791 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7793 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7794 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7795 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7796
e2682246
RM
7797 * nptl/sysdeps/sparc/Makefile: Moved ...
7798 * sysdeps/sparc/nptl/Makefile: ... here.
7799 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7800 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7801 * nptl/sysdeps/sparc/tls.h: Moved ...
7802 * sysdeps/sparc/nptl/tls.h: ... here.
7803 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7804 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7805 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7806 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7807 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7808 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7809 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7810 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7811 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7812 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7813 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7814 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7815 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7816 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7817 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7818 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7819 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7820 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7821 Update #include.
7822 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7823 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7824 Update #include.
7825 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7826 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7827 Update #include.
7828 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7829 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7830 Update #include.
7831
b0725f43
RM
7832 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7833
b14368b8
RM
7834 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7835 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7836
c5620eb3
RM
7837 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7838 (struct list_links): Type removed.
7839 (struct thread_node, struct timer_node): Replace struct list_links
7840 with struct list_head.
7841 (list_unlink_ip): Likewise.
7842 * sysdeps/pthread/timer_routines.c
7843 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7844 (list_append, list_insbefore): Likewise.
7845 (list_init): Function removed.
7846 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7847 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7848 * sysdeps/pthread/Makefile: ... here, new file.
7849
7850 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7851 * sysdeps/nptl/Implies: ... here.
7852 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7853 * nptl/sysdeps/pthread/list.h: Moved ...
7854 * include/list.h: ... here.
7855 * nptl/sysdeps/pthread/createthread.c: Moved ...
7856 * nptl/createthread.c: ... here.
7857 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7858 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7859 * nptl/pt-longjmp.c: ... here.
7860 * nptl/sysdeps/pthread/Makefile: Moved ...
7861 * sysdeps/nptl/Makefile: ... here.
7862 * nptl/sysdeps/pthread/Subdirs: Moved ...
7863 * sysdeps/nptl/Subdirs: ... here.
7864 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7865 * sysdeps/nptl/aio_misc.h: ... here.
7866 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7867 * sysdeps/nptl/bits/libc-lock.h: ... here.
7868 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7869 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7870 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7871 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7872 * nptl/sysdeps/pthread/configure: Moved ...
7873 * sysdeps/nptl/configure: ... here.
7874 * nptl/sysdeps/pthread/configure.ac: Moved ...
7875 * sysdeps/nptl/configure.ac: ... here.
7876 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7877 * sysdeps/nptl/gai_misc.h: ... here.
7878 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7879 * sysdeps/nptl/librt-cancellation.c: ... here.
7880 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7881 * sysdeps/nptl/malloc-machine.h: ... here.
7882 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7883 * sysdeps/nptl/pthread-functions.h: ... here.
7884 * nptl/sysdeps/pthread/pthread.h: Moved ...
7885 * sysdeps/nptl/pthread.h: ... here.
7886 * nptl/sysdeps/pthread/setxid.h: Moved ...
7887 * sysdeps/nptl/setxid.h: ... here.
7888 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7889 * sysdeps/nptl/sigfillset.c: ... here.
7890 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7891 * sysdeps/nptl/tcb-offsets.h: ... here.
7892 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7893 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7894 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7895 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7896 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7897 * sysdeps/pthread/allocalim.h: ... here.
7898 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7899 * sysdeps/pthread/bits/sigthread.h: ... here.
7900 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7901 * sysdeps/pthread/flockfile.c: ... here.
7902 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7903 * sysdeps/pthread/ftrylockfile.c: ... here.
7904 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7905 * sysdeps/pthread/funlockfile.c: ... here.
7906 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7907 * sysdeps/pthread/posix-timer.h: ... here.
7908 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7909 * sysdeps/pthread/timer_create.c: ... here.
7910 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7911 * sysdeps/pthread/timer_delete.c: ... here.
7912 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7913 * sysdeps/pthread/timer_getoverr.c: ... here.
7914 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7915 * sysdeps/pthread/timer_gettime.c: ... here.
7916 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7917 * sysdeps/pthread/timer_routines.c: ... here.
7918 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7919 * sysdeps/pthread/timer_settime.c: ... here.
7920 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7921 * sysdeps/pthread/tst-timer.c: ... here.
7922 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7923 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7924
e876b090
RM
7925 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7926 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7927
f6b07b3d
RM
7928 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7929 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7930 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7931 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7932 Update #include target.
7933 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7934 * sysdeps/i386/i686/nptl/Makefile: ... here.
7935 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7936 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7937 Update #include target.
7938 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7939 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7940 * nptl/sysdeps/i386/Makefile: Moved ...
7941 * sysdeps/i386/nptl/Makefile: ... here.
7942 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7943 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7944 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7945 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7946 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7947 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7948 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7949 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7950 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7951 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7952 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7953 * nptl/sysdeps/i386/tls.h: Moved ...
7954 * sysdeps/i386/nptl/tls.h: ... here.
7955
45262aee
RM
7956 * sysdeps/sh/Makefile [$(subdir) = csu]
7957 (gen-as-const-headers): Add tcb-offsets.sym.
7958 * nptl/sysdeps/sh/Makefile: File removed.
7959 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7960 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7961 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7962 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7963 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7964 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7965 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7966 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7967 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7968 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7969 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7970 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7971 * nptl/sysdeps/sh/tls.h: Moved ...
7972 * sysdeps/sh/nptl/tls.h: ... here.
7973 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7974 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7975 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7976 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7977 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7978 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7979 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7980 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7981 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7982 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7983 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7984 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7985 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7986 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7987 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7988 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7989 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7990 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7991 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7992 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7993 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7994 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7995 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7996 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7997 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7998 Moved ...
7999 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8001 Moved ...
8002 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8003 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8004 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8005 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8006 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8007 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8008 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8009 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8010 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8011 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8012 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8013 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8014 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8016 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8017 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8018 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8019 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8020 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8021
35a5e3e3
SL
80222014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8023
8024 * posix/spawn_faction_addopen.c: Include string.h.
8025
14642b85
RM
80262014-06-11 Roland McGrath <roland@hack.frob.com>
8027
8028 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8029 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8030 * nptl/sysdeps/x86_64/Makefile: Moved ...
8031 * sysdeps/x86_64/nptl/Makefile: ... here.
8032 * nptl/sysdeps/x86_64/configure: Moved ...
8033 * sysdeps/x86_64/nptl/configure: ... here.
8034 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8035 * sysdeps/x86_64/nptl/configure.ac: ... here.
8036 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8037 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8038 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8039 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8040 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8041 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8042 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8043 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8044 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8045 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8046 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8047 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8048 * nptl/sysdeps/x86_64/tls.h: Moved ...
8049 * sysdeps/x86_64/nptl/tls.h: ... here.
8050 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8051 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8052 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8053 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8054
8055 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8056
31c44fea
AZ
80572014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8058
8059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8060
e81a4f9a
JM
80612014-06-11 Joseph Myers <joseph@codesourcery.com>
8062
8063 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8064 type.
8065 [POSIX] (off_t): Likewise.
8066 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8067 [POSIX] (S_ISBLK): Require macro.
8068 [POSIX] (S_ISCHR): Likewise.
8069 [POSIX] (S_ISDIR): Likewise.
8070 [POSIX] (S_ISFIFO): Likewise.
8071 [POSIX] (S_ISREG): Likewise.
8072 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8073 optional-macro.
8074 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8075 type.
8076 [POSIX] (time_t): Likewise.
8077 [POSIX] (timer_t): Likewise.
8078
89e435f3
FW
80792014-06-11 Florian Weimer <fweimer@redhat.com>
8080
8081 [BZ #17048]
8082 * posix/spawn_int.h (struct __spawn_action): Make the path string
8083 non-const to support deallocation.
8084 * posix/spawn_faction_addopen.c
8085 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8086 * posix/spawn_faction_destroy.c
8087 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8088 path in all spawn_do_open actions.
8089 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8090 posix_spawn_file_actions_addopen.
8091
c3a2ebe1
CM
80922014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8093
8094 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8095 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8096 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8097 conditional code always true.
8098 (__libc_vfork): New alias.
8099
9503784a
RM
81002014-06-11 Roland McGrath <roland@hack.frob.com>
8101
c9cab3d2
RM
8102 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8103 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8104
d3996c79
RM
8105 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8106
ba5ec611
RM
8107 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8108 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8109
f12b4814
RM
8110 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8111 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8112
9503784a
RM
8113 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8114 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8115
e23d3d26
VR
81162014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8117
8118 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8119 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8120 multiarch strcmp for PPC64.
8121 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8122 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8124 multiarch optimizations.
8125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8126 (__libc_ifunc_impl_list): Likewise.
8127
42b1161e
SP
81282014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8129
8130 * benchtests/scripts/validate_benchout.py: New script.
8131 * benchtests/Makefile (bench-func): Call it.
8132 * benchtests/scripts/benchout.schema.json: New file.
8133
2d0fc4dc
CM
81342014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8135
4a594c34
AZ
8136 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8137 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8138 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8139 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8140 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8141 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8142 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8143 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8144 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8145 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8146 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8147 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8148 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8149 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8150 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8151 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 8153 Moved ...
4a594c34 8154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 8155 ... here.
4a594c34 8156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 8157 Moved ...
4a594c34
AZ
8158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 8160 Moved ...
4a594c34 8161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 8162 ... here.
4a594c34 8163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 8164 Moved ...
4a594c34 8165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 8166 ... here.
4a594c34 8167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 8168 Moved ...
4a594c34
AZ
8169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 8171 Moved ...
4a594c34 8172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 8173 ... here.
4a594c34 8174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 8175 Moved ...
4a594c34 8176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 8177 ... here.
4a594c34 8178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 8179 Moved ...
4a594c34
AZ
8180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 8182 Moved ...
4a594c34 8183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 8184 ... here.
4a594c34 8185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 8186 Moved ...
4a594c34 8187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 8188 ... here.
4a594c34 8189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 8190 Moved ...
4a594c34 8191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 8192 ... here.
4a594c34 8193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 8194 Moved ...
4a594c34
AZ
8195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8197 Moved ...
4a594c34 8198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8199 ... here.
4a594c34 8200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8201 Moved ...
4a594c34 8202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8203 ... here.
4a594c34 8204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8205 Moved ...
4a594c34 8206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8207 ... here.
4a594c34 8208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8209 Moved ...
4a594c34
AZ
8210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8212 Moved ...
4a594c34 8213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8214 ... here.
4a594c34 8215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8216 Moved ...
4a594c34 8217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8218 ... here.
4a594c34 8219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8220 Moved ...
4a594c34
AZ
8221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8223 Moved ...
4a594c34 8224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8225 ... here.
4a594c34 8226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8227 Moved ...
4a594c34
AZ
8228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8230 Moved ...
4a594c34
AZ
8231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8233 Moved ...
4a594c34 8234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8235 ... here.
4a594c34 8236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8237 Moved ...
4a594c34 8238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8239 ... here.
4a594c34 8240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8241 Moved ...
4a594c34 8242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8243 ... here.
4a594c34 8244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8245 Moved ...
4a594c34
AZ
8246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8248 Moved ...
4a594c34 8249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8250 ... here.
4a594c34 8251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8252 Moved ...
4a594c34 8253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8254 ... here.
4a594c34
AZ
8255 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8256 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8257 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8260 Moved ...
4a594c34 8261 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8262 ... here.
4a594c34
AZ
8263 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8264 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8265 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8266 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8267 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8272 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8273 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8276 Moved ...
4a594c34
AZ
8277 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8278 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8279 Moved ...
4a594c34
AZ
8280 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8282 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8284 Moved ...
4a594c34
AZ
8285 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8286 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8287 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8288 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8289 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8290 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8291 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8292
0570cfed
W
82932014-06-10 Wilco <wdijkstr@arm.com>
8294
8295 * math/test-fenv-return.c: New file.
8296 * math/Makefile: Add new test test-fenv-return.
8297
f8ba1b56
JM
82982014-06-10 Joseph Myers <joseph@codesourcery.com>
8299
8300 [BZ #17042]
8301 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8302 when x - 1 is zero.
8303 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8304 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8305 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8306 0.0L for an argument of 1.0L.
8307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8308 Likewise.
8309 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8310 value when x - 1 is zero.
8311 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8312 * sysdeps/i386/fpu/libm-test-ulps: Update.
8313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8314
2c3520d9
BO
83152014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8316
8317 [BZ #15119]
8318 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8319
acaa4d24
RM
83202014-06-09 Roland McGrath <roland@hack.frob.com>
8321
8322 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8323 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8324
962b744d
RM
83252014-06-09 Roland McGrath <roland@hack.frob.com>
8326
d752f0cc
RM
8327 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8328 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8329
34eda6d1
RM
8330 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8331 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8332
50f0a637
RM
8333 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8334 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8335
08f41f04
RM
8336 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8337 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8338
962b744d
RM
8339 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8340 if not already defined.
8341 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8342 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8343 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8344 (TLS_INIT_TP): Use it.
8345 (TLS_DEFINE_INIT_TP): New macro.
8346 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8347
09f19b05
JM
83482014-06-09 Joseph Myers <joseph@codesourcery.com>
8349
8350 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8351 constant.
8352 [POSIX] (IXANY): Likewise.
8353 [POSIX] (OLCUC): Likewise.
8354 [POSIX || POSIX2008] (CBAUD): Do not allow.
8355 [POSIX || POSIX2008] (DEFECHO): Likewise.
8356 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8357 [POSIX || POSIX2008] (ECHOKE): Likewise.
8358 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8359 [POSIX || POSIX2008] (EXTA): Likewise.
8360 [POSIX || POSIX2008] (EXTB): Likewise.
8361 [POSIX || POSIX2008] (FLUSHO): Likewise.
8362 [POSIX || POSIX2008] (LOBLK): Likewise.
8363 [POSIX || POSIX2008] (PENDIN): Likewise.
8364 [POSIX || POSIX2008] (SWTCH): Likewise.
8365 [POSIX || POSIX2008] (VDISCARD): Likewise.
8366 [POSIX || POSIX2008] (VDSUSP): Likewise.
8367 [POSIX || POSIX2008] (VLNEXT): Likewise.
8368 [POSIX || POSIX2008] (VREPRINT): Likewise.
8369 [POSIX || POSIX2008] (VSTATUS): Likewise.
8370 [POSIX || POSIX2008] (VWERASE): Likewise.
8371 (B*): Change to B[0123456789]*.
8372 * conform/data/time.h-data [POSIX || UNIX98]
8373 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8374 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8375 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8376 [POSIX] (tm_*): Do not allow.
8377
686554bf
JM
83782014-06-07 Joseph Myers <joseph@codesourcery.com>
8379
8380 * Makefile (install): Don't set LANGUAGE.
8381 * Makefile.in (install): Likewise.
8382 * assert/Makefile (test-assert-ENV): Remove variable.
8383 (test-assert-perr-ENV): Likewise.
8384 * elf/Makefile (neededtest4-ENV): Likewise.
8385 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8386 [$(cross-compiling) = no]: Don't set LANGUAGE.
8387 * io/ftwtest-sh (LANG): Remove variable.
8388 * libio/Makefile (tst-widetext-ENV): Likewise.
8389 * manual/install.texi (Running make install): Don't refer to
8390 environment settings for make install.
8391 * INSTALL: Regenerated.
8392 * nptl/tst-tls6.sh: Don't set LANG.
8393 * posix/globtest.sh (LANG): Remove variable.
8394 * string/Makefile (tester-ENV): Likewise.
8395 (inl-tester-ENV): Likewise.
8396 (noinl-tester-ENV): Likewise.
8397 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8398 [$(cross-compiling) = no]: Don't set LANGUAGE.
8399 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8400 without explicit environment settings.
8401
68e6b6b1
RM
84022014-06-06 Roland McGrath <roland@hack.frob.com>
8403
8404 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8405 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8406 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8407 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8408
4d3ae034
CM
84092014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8410
8411 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8412 other files in the crypt directory.
8413 * crypt/crypt.c: Remove duplicate includes.
8414 * crypt/crypt-entry.c: Likewise.
8415 * crypt/crypt_util.c: Likewise.
8416
8540f6d2
JM
84172014-06-06 Joseph Myers <joseph@codesourcery.com>
8418
8419 * Makeconfig (run-program-env): New variable.
8420 (run-program-prefix-before-env): Likewise.
8421 (run-program-prefix-after-env): Likewise.
8422 (run-program-prefix): Define in terms of new variables.
8423 (built-program-cmd-before-env): New variable.
8424 (built-program-cmd-after-env): Likewise.
8425 (built-program-cmd): Define in terms of new variables.
8426 (test-program-prefix-before-env): New variable.
8427 (test-program-prefix-after-env): Likewise.
8428 (test-program-prefix): Define in terms of new variables.
8429 (test-program-cmd-before-env): New variable.
8430 (test-program-cmd-after-env): Likewise.
8431 (test-program-cmd): Define in terms of new variables.
8432 * Rules (make-test-out): Use $(run-program-env).
8433 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8434 (help): Do not mention environment variables. Mention
8435 --timeoutfactor option.
8436 (timeoutfactor): New variable.
8437 (blacklist_exports): Remove function.
8438 (exports): Remove variable.
8439 (command): Do not include ${exports}.
8440 * manual/install.texi (Configuring and compiling): Do not mention
8441 test wrappers preserving environment variables. Mention that last
8442 assignment to a variable must take precedence.
8443 * INSTALL: Regenerated.
8444 * benchtests/Makefile (run-bench): Use $(run-program-env).
8445 * catgets/Makefile ($(objpfx)test1.cat): Use
8446 $(built-program-cmd-before-env), $(run-program-env) and
8447 $(built-program-cmd-after-env).
8448 ($(objpfx)test2.cat): Do not specify environment variables
8449 explicitly.
8450 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8451 $(run-program-env) and $(built-program-cmd-after-env).
8452 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8453 $(run-program-env) and $(test-program-cmd-after-env).
8454 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8455 explicitly.
8456 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8457 run_program_env and test_program_cmd_after_env arguments.
8458 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8459 * elf/tst-pathopt.sh: Use run_program_env argument.
8460 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8461 $(test-wrapper-env) and $(run-program-env).
8462 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8463 run_program_env arguments.
8464 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8465 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8466 $(test-program-prefix-before-env), $(run-program-env) and
8467 $(test-program-prefix-after-env).
8468 ($(objpfx)tst-gettext2.out): Likewise.
8469 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8470 run_program_env and test_program_prefix_after_env arguments.
8471 * intl/tst-gettext2.sh: Likewise.
8472 * intl/tst-gettext4.sh: Do not set environment variables
8473 explicitly.
8474 * intl/tst-gettext6.sh: Likewise.
8475 * intl/tst-translit.sh: Likewise.
8476 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8477 $(test-program-prefix-before-env), $(run-program-env) and
8478 $(test-program-prefix-after-env).
8479 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8480 run_program_env and test_program_prefix_after_env arguments.
8481 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8482 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8483 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8484 explicitly with each use of ${test_wrapper_env}.
8485 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8486 $(test-program-prefix-before-env), $(run-program-env) and
8487 $(test-program-prefix-after-env).
8488 * posix/tst-getconf.sh: Do not set environment variables
8489 explicitly.
8490 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8491 run_program_env and test_program_prefix_after_env arguments.
8492 * stdio-common/tst-printf.sh: Do not set environment variables
8493 explicitly.
8494 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8495 $(test-program-prefix-before-env), $(run-program-env) and
8496 $(test-program-prefix-after-env).
8497 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8498 run_program_env and test_program_prefix_after_env arguments.
8499 Split $test calls into $test_pre and $test.
8500 * timezone/Makefile (build-testdata): Use
8501 $(built-program-cmd-before-env), $(run-program-env) and
8502 $(built-program-cmd-after-env).
8503
ed36bfa1
AZ
85042014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8505
8506 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8507 strlen for non SHARED builds.
8508
fc75bf46
SP
85092014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8510
8511 * nptl/allocatestack.c (check_list): Inlined function...
8512 (__reclaim_stacks): ... here.
8513
d89b3d80
OB
85142014-06-05 Ondřej Bílka <neleai@seznam.cz>
8515
8516 [BZ #15698]
8517 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8518 memory overrun.
8519
2bf18041
JM
85202014-06-05 Joseph Myers <joseph@codesourcery.com>
8521
8522 * Rules (make-test-out): Include
8523 LOCPATH=$(common-objpfx)localedata in default environment.
8524 * debug/Makefile (tst-chk1-ENV): Remove variable.
8525 (tst-chk2-ENV): Likewise.
8526 (tst-chk3-ENV): Likewise.
8527 (tst-chk4-ENV): Likewise.
8528 (tst-chk5-ENV): Likewise.
8529 (tst-chk6-ENV): Likewise.
8530 (tst-lfschk1-ENV): Likewise.
8531 (tst-lfschk2-ENV): Likewise.
8532 (tst-lfschk3-ENV): Likewise.
8533 (tst-lfschk4-ENV): Likewise.
8534 (tst-lfschk5-ENV): Likewise.
8535 (tst-lfschk6-ENV): Likewise.
8536 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8537 (tst-iconv7-ENV): Likewise.
8538 * intl/Makefile (LOCPATH-ENV): Likewise.
8539 (tst-codeset-ENV): Likewise.
8540 (tst-gettext3-ENV): Likewise.
8541 (tst-gettext5-ENV): Likewise.
8542 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8543 (tst-fopenloc-ENV): Likewise.
8544 (tst-fgetws-ENV): Remove variable.
8545 (tst-ungetwc1-ENV): Likewise.
8546 (tst-ungetwc2-ENV): Likewise.
8547 (bug-ungetwc2-ENV): Likewise.
8548 (tst-swscanf-ENV): Likewise.
8549 (bug-ftell-ENV): Likewise.
8550 (tst-fgetwc-ENV): Likewise.
8551 (tst-fseek-ENV): Likewise.
8552 (tst-ftell-partial-wide-ENV): Likewise.
8553 (tst-ftell-active-handler-ENV): Likewise.
8554 (tst-ftell-append-ENV): Likewise.
8555 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8556 (tst-regexloc-ENV): Likewise.
8557 (bug-regex1-ENV): Likewise.
8558 (tst-regex-ENV): Likewise.
8559 (tst-regex2-ENV): Likewise.
8560 (bug-regex5-ENV): Likewise.
8561 (bug-regex6-ENV): Likewise.
8562 (bug-regex17-ENV): Likewise.
8563 (bug-regex18-ENV): Likewise.
8564 (bug-regex19-ENV): Likewise.
8565 (bug-regex20-ENV): Likewise.
8566 (bug-regex22-ENV): Likewise.
8567 (bug-regex23-ENV): Likewise.
8568 (bug-regex25-ENV): Likewise.
8569 (bug-regex26-ENV): Likewise.
8570 (bug-regex30-ENV): Likewise.
8571 (bug-regex32-ENV): Likewise.
8572 (bug-regex33-ENV): Likewise.
8573 (bug-regex34-ENV): Likewise.
8574 (bug-regex35-ENV): Likewise.
8575 (tst-rxspencer-ENV): Likewise.
8576 (tst-rxspencer-no-utf8-ENV): Likewise.
8577 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8578 (tst-sscanf-ENV): Likewise.
8579 (tst-swprintf-ENV): Likewise.
8580 (tst-swscanf-ENV): Likewise.
8581 (test-vfprintf-ENV): Likewise.
8582 (scanf13-ENV): Likewise.
8583 (bug14-ENV): Likewise.
8584 (tst-grouping-ENV): Likewise.
8585 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8586 (tst-strtod3-ENV): Likewise.
8587 (tst-strtod4-ENV): Likewise.
8588 (tst-strtod5-ENV): Likewise.
8589 (testmb2-ENV): Likewise./
8590 * string/Makefile (tst-strxfrm-ENV): Likewise.
8591 (tst-strxfrm2-ENV): Likewise.
8592 (bug-strcoll1-ENV): Likewise.
8593 (test-strcasecmp-ENV): Likewise.
8594 (test-strncasecmp-ENV): Likewise.
8595 * time/Makefile (tst-strptime-ENV): Likewise.
8596 (tst-ftime_l-ENV): Likewise.
8597 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8598 (tst-mbrtowc-ENV): Likewise.
8599 (tst-wcrtomb-ENV): Likewise.
8600 (tst-mbrtowc2-ENV): Likewise.
8601 (tst-c16c32-1-ENV): Likewise.
8602 (tst-mbsnrtowcs-ENV): Likewise.
8603
cd1fb604
OB
86042014-06-05 Ondřej Bílka <neleai@seznam.cz>
8605
8606 * manual/resource.texi (How to get information about the memory
8607 subsystem?): Fix typo.
8608 Reported by Peon de la Parra Ivan <peon@keba.com>
8609
b42eca7d
GY
86102014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8611
8612 [BZ #16882]
8613 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8614 (pthread_spin_lock): Branch out of spin loop to proper location.
8615 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8616 (pthread_spin_lock): Likewise.
8617
902b71f9
DM
8618 * nptl/tst-spin4.c: New test.
8619 * nptl/Makefile (tests): Add tst-spin4.
8620
f9d2d032
AS
86212014-06-03 Andreas Schwab <schwab@suse.de>
8622
8623 [BZ #15946]
8624 * resolv/res_send.c (send_dg): Reload file descriptor after
8625 calling reopen.
8626
cf7bfd28
SL
86272014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8628
8629 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8630
111cc714
RH
86312014-06-03 Richard Henderson <rth@redhat.com>
8632
89b4bd6b
RH
8633 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8634 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8635 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8636 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8637 in the SAVE_PID block.
8638 (__libc_vfork): New alias.
71840409 8639 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8640
111cc714
RH
8641 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8642 child in registers, not on the stack. Remove RESET_PID conditionals.
8643 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8644
ccc39911
MS
86452014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8646
8647 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8648
693096cc
W
86492014-06-03 Wilco <wdijkstr@arm.com>
8650
8651 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8652 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8653 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8654 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8655 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8656 Likewise.
8657
0b4366bc
W
86582014-06-03 Wilco <wdijkstr@arm.com>
8659
8660 * sysdeps/aarch64/fpu/math_private.h
8661 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8662 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8663 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8664 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8665 Fix declarations.
8666
8747cd03
KS
86672014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8668
8669 * crypt/crypt-private.h: Include ufc-crypt.h.
8670 (__b64_from_24bit): Declare extern.
8671 * crypt/crypt_util.c(__b64_from_24bit): New function.
8672 (b64t): New static const variable.
8673 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8674 (b64t): Remove variable.
8675 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8676 * crypt/sha256-crypt.c: Include crypt-private.h.
8677 (b64t): Remove variable.
8678 (__sha256_crypt_r): Remove b64_from_24bit and replace
8679 with __b64_from_24bit.
8680 * crypt/sha512-crypt.c: Likewise.
8681
d936d379
RM
86822014-06-02 Roland McGrath <roland@hack.frob.com>
8683
8684 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8685 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8686 Label the code __libc_vfork rather than __vfork.
8687 [!NOT_IN_libc] (vfork): Define as weak alias.
8688 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8689 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8690 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8691
9fa76613
SP
86922014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8693
8694 * malloc/malloc.c (malloc_info): Fix format specifier for
8695 n_mmaps.
8696
a88dadbe
W
86972014-06-02 Wilco <wdijkstr@arm.com>
8698
8699 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8700 FPCR write.
8701
c95b3011
W
87022014-06-02 Wilco <wdijkstr@arm.com>
8703
8704 [BZ #17009]
8705 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8706 Rewrite to reduce FPCR/FPSR accesses.
8707
6b4d7a90
DM
87082014-06-01 David S. Miller <davem@davemloft.net>
8709
8710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8711
30f3d07c
DM
87122014-05-31 David S. Miller <davem@davemloft.net>
8713
8714 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8715 to occur in round to nearest mode when |x| >= 2.0
8716
74f31c18
RH
87172014-05-30 Richard Henderson <rth@twiddle.net>
8718
f0712b54
RH
8719 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8720 (PSEUDO_RET_NOERRNO): Remove.
8721 (ret): Don't redefine.
8722 (ret_NOERRNO): Define in terms of ret.
8723 (ret_ERRVAL): Likewise.
8724
74f31c18
RH
8725 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8726 use of PSEUDO_RET; perform the error check directly.
8727
30477995
MM
87282014-05-30 Marko Myllynen <myllynen@redhat.com>
8729
8730 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8731 with __int128_t.
8732
62a58816
SP
87332014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8734
8735 * malloc/malloc (malloc_info): Fix formatting.
8736
4d653a59
SP
87372014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8738 Roland McGrath <roland@hack.frob.com>
8739
8740 * malloc/malloc (malloc_info): Also print mmapped statistics.
8741
5190c17f
RM
87422014-05-30 Roland McGrath <roland@hack.frob.com>
8743
8744 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8745 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8746
987c0269
OB
87472014-05-30 Ondřej Bílka <neleai@seznam.cz>
8748
8749 * malloc/malloc.c (malloc_info): Inline mi_arena.
8750
af4e8ef9
RH
87512014-05-29 Richard Henderson <rth@twiddle.net>
8752
1670e207
RH
8753 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8754 Remove comma before expanding ASM_ARGS_##nr.
8755 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8756 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8757 of ASM_ARGS_##nr.
8758 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8759 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8760 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8761 (ASM_ARGS_1): Add leading comma.
8762
11a28aee
RH
8763 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8764 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8765 to __errno_location.
8766 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8767 Remove the expected plt for __errno_location.
8768
a17e5ffb 8769 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8770 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8771 call to __read_tp.
8772
b5be4597
RH
8773 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8774 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8775 it and break it down.
8776 (DOCARGS_0, DOCARGS_1): Do nothing.
8777 (DOCARGS_2): Update to store into the new stack frame.
8778 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8779 (UNDOCARGS_1): Update to restore from the new stack frame.
8780 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8781 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8782
645d44ab
RH
8783 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8784 (SINGLE_THREAD_P): New parameter for result regno.
8785 (PSEUDO): Update to match; use cbz instead of beq.
8786
a8b4f04a
RH
8787 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8788 Use ENTRY to define the _nocancel entry point. Share the syscall
8789 and syscall error check paths with the cancel path.
8790 (PSEUDO_END): New.
8791
af4e8ef9
RH
8792 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8793 whitespace; tabs before and after asm mnemonics.
8794
26b0d2e1
EW
87952014-05-29 Eric Wong <normalperson@yhbt.net>
8796
8797 [BZ #15132]
8798 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8799 Call fstat64 or stat64 internally, depending on arguments passed.
8800 Replace stat buffer argument with file descriptor argument.
8801 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8802 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8803 Pass fd to __internal_statvfs instead of calling fstat64.
8804 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8805 Pass fd to __internal_statvfs64 instead of calling fstat64.
8806 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8807 Pass -1 to __internal_statvfs instead of calling stat64.
8808 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8809 Pass -1 to __internal_statvfs64 instead of calling stat64.
8810
1efe2bd9
RM
88112014-05-28 Roland McGrath <roland@hack.frob.com>
8812
0d3b7a19
RM
8813 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8814 that was previously under [RESET_PID].
8815 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8816
1efe2bd9
RM
8817 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8818 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8819
a6bea3ca
RM
88202014-05-27 Roland McGrath <roland@hack.frob.com>
8821
30b6629e
RM
8822 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8823
a6bea3ca
RM
8824 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8825 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8826
3dfb9a5c
OB
88272014-05-27 Ondřej Bílka <neleai@seznam.cz>
8828
8829 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8830
774f9285
AS
88312014-05-27 Andreas Schwab <schwab@suse.de>
8832
8833 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8834 TLS_INIT_TP macro.
8835 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8836 * elf/rtld.c (init_tls, dl_main): Likewise.
8837 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8838 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8839 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8840 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8841 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8842 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8843 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8844 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8845 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8846 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8847 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8848 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8849 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8850 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8851 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8852 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8853 * sysdeps/generic/tls.h: Update description.
8854
36ffe739
WN
88552014-05-27 Will Newton <will.newton@linaro.org>
8856
8857 [BZ #16990]
8858 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8859 and restore r2 rather than just restoring.
8860
2482ae43
SP
88612014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8862
8863 [BZ #16724]
8864 * libio/tst-ftell-append.c: New test case.
8865 * libio/Makefile (tests): Add test case.
8866 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8867 append mode.
8868 * libio/wfileops.c (do_ftell_wide): Likewise.
8869
3d1024e8
AZ
88702014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8871
bab90016
AZ
8872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8873
c7a8d667
AZ
8874 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8875 ...
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8878 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8879 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8880 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8881 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8882 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8883 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8885 Moved ...
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8887 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8888 Moved ...
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8890 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8891 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8892 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8893 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8894 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8895 ...
8896 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8897 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8898 Moved ...
8899 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8900 here.
8901 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8902 ...
8903 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8904 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8905 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8906
daee7851
AZ
8907 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8908 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8909 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8910 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8911
50a40819
AZ
8912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8913 merge into ...
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8916 ...
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8919 ...
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8922 Moved ...
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8924 here.
8925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8926 Moved ...
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8929 Moved ...
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8931
8464c2a1
AZ
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8933 conditional [RESET_PID].
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8935 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8936 removed.
8937 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8938 removed.
8939
3d1024e8
AZ
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8941 <tcb-offsets.h>.
8942 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8943 (__libc_vfork): New strong alias.
8944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8945 removed.
8946 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8947 Removed.
8948
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8950 <tcb-offsets.h>.
8951 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8952 (__libc_vfork): New strong alias.
8953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8954 removed.
8955 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8956 removed.
8957
fdfd175d
CD
89582014-05-26 Carlos O'Donell <carlos@redhat.com>
8959
8960 * malloc/malloc.c (mi_arena): New function.
8961 (malloc_info): Remove nested function mi_arena. Call non-nosted
8962 function mi_arena.
8963
d298c416
AZ
89642014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8965
8966 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8967 by insrwi.
8968 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8969 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8970 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8971 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8972 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8973 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8974 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8975
b60ea6ff
AS
89762014-05-26 Andreas Schwab <schwab@suse.de>
8977
8978 [BZ #16984]
8979 * locale/programs/repertoire.c (repertoire_read): Add slash
8980 between I18NPATH element and file name.
8981 * locale/programs/locfile.c (locfile_read): Likewise.
8982
67365926
SL
89832014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8984
8985 * nptl/pthread_mutexattr_settype.c
8986 (__pthread_mutexattr_settype):
8987 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8988
f8bdf1f0
SL
89892014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8990
8991 * nptl/tst-mutex5 (do_test):
8992 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8993
15eaf6ff
SP
89942014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8995
8996 * benchtests/README: Document 'init' directive.
8997 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8998 BENCH_INIT.
8999 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9000 (parse_file): Recognize 'init' directive.
9001
75f11331
KM
90022014-05-26 Kyle McMartin <kyle@redhat.com>
9003
9004 [BZ #16796]
9005 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9006 alignment of struct pthread.
9007
c3ec475c
SP
90082014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9009
9010 [BZ #16878]
9011 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9012 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9013 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9014 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9015
82aab97c
RH
90162014-05-25 Richard Henderson <rth@twiddle.net>
9017
aa2f176d
RH
9018 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9019 (SINGLE_THREAD_P_PIC): Remove.
9020 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9021 (SINGLE_THREAD_P_PIC): Remove.
9022
ca3cfa40
RH
9023 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9024 branch to syscall error ...
9025 (PSEUDO): ... here.
9026 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9027 from __local_syscall_error to .Lsyscall_error.
9028 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9029 (SYSCALL_ERROR): Update label name.
9030
6e6c2d01
RH
9031 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9032 Do not use DOARGS/UNDOARGS.
9033 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9034 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9035 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9036 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9037 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9038
c69abcee
RH
9039 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9040 block comment.
9041
82aab97c
RH
9042 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9043 define if !NOT_IN_libc.
9044 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9045 define with non-default symbol versions.
9046
8820e3ac
RH
90472014-05-23 Richard Henderson <rth@twiddle.net>
9048
900e445f
RH
9049 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9050 (vfork, __vfork): Define via compat_symbol.
9051
8820e3ac
RH
9052 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9053 [!HAVE_IFUNC] (vfork_compat): Remove.
9054 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9055
e59252a5
JM
90562014-05-23 Joseph Myers <joseph@codesourcery.com>
9057
9058 [BZ #16978]
9059 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9060 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9061 variable.
9062
132c7f5f
RH
90632014-05-23 Richard Henderson <rth@twiddle.net>
9064
bc89e962
RH
9065 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9066 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9067 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9068 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9069
9070 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9071 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9072 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9073 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9074 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9075 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9076 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9077 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9078 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9079 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9080 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9081 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9082 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9083 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9084 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9085 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9086 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9087 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9089 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9090 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9091 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9092 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9093 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9094 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9095 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9096 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9097 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9098 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9099 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9100 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9101 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9102 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9103 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9105 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9106 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9107 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9108 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9109 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9110 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9111 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9112 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9113 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9114 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9115 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9116 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9117 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9118 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9119 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9120 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9121 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9122 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9123 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9124 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9125 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9126
e2fa4bc2
RH
9127 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9128 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9129 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9130 before exiting on error.
9131 (__libc_vfork): New strong alias.
9132 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9133 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9134
279b24e2
RH
9135 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9136 that was previously under [RESET_PID].
9137 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9138
132c7f5f
RH
9139 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9140
b72592e7
JM
91412014-05-23 Joseph Myers <joseph@codesourcery.com>
9142
9143 [BZ #16977]
9144 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9145 value when x - 1 is zero.
9146 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9147 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9148 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9149 0.0L for an argument of 1.0L.
9150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9151 Likewise.
9152 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9153 value when x - 1 is zero.
9154 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9155 * sysdeps/i386/fpu/libm-test-ulps: Update.
9156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157
2302d679
RV
91582014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9159
9160 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9161 alphasort and versionsort.
9162
32999d63
AZ
91632014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9164
9165 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9166 macro.
9167 [copysignf]: Likewise.
9168
019324d0
SP
91692014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9170
9171 * crypt/md5-crypt.c: Fix formatting.
9172
34fff5c2
KS
91732014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9174
9175 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9176 (b64_from_24bit): New function.
9177
3d2badac
AZ
91782014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9179
9180 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9181 libc_hidden_builtin_def to ifunc.
9182 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9183 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9184
f7bb179f 91852014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
9186
9187 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9188 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9189
4134b50d
JM
91902014-05-21 Joseph Myers <joseph@codesourcery.com>
9191
bb7d0337
JM
9192 * nscd/Depend (linuxthreads): Remove.
9193 (nptl): Add.
9194 * resolv/Depend (linuxthreads): Remove.
9195 * rt/Depend (linuxthreads): Remove.
9196
4134b50d
JM
9197 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9198 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9199 $(common-objpfx)elf/.
9200 (link-libc-before-gnulib): Likewise.
9201 (elfobjdir): Remove variable.
9202 * Makefile (install): Use $(elf-objpfx) instead of
9203 $(common-objpfx)elf/.
9204 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9205 $(elfobjdir)/.
9206 (link-libc-deps): Likewise.
9207 ($(common-objpfx)libc.so): Likewise.
9208 ($(common-objpfx)linkobj/libc.so): Likewise.
9209 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9210 instead of $(common-objpfx)elf/.
9211 (symbolic-link-list): Likewise.
9212 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9213 [$(cross-compiling) = no]: Likewise.
9214 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9215 $(elfobjdir)/.
9216 (static-gnulib-arch): Likewise.
9217 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9218 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9219 $(common-objpfx)elf/.
9220
3612eb8f
RH
92212014-05-21 Richard Henderson <rth@redhat.com>
9222
a6b3657b
RH
9223 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9224 (SINGLE_THREAD_P): Use the correct width load. Fold
9225 into the ldr offset.
9226
3612eb8f
RH
9227 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9228 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9229
175cef41
JM
92302014-05-20 Joseph Myers <joseph@codesourcery.com>
9231
9232 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9233 (libgcc_s_resume): Use __attribute_used__.
9234 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9235 Likewise.
9236
e13bccd3
AZ
92372014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9238
9239 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9240 optimization when used with float constants.
9241
7c112a38
AZ
9242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9243
ae75a883
AJ
92442014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9245
9246 [BZ #16915]
9247 * locale/nl_langinfo_l.c: Make direct reference to every
9248 _nl_current_CATEGORY symbol.
9249 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9250 (tests-static): Add tst-langinfo-static.
9251 (tests-special): Add tst-langinfo-static.out.
9252 ($(objpfx)tst-langinfo.out): Redirect output.
9253 ($(objpfx)tst-langinfo-static.out): New.
9254 * localedata/tst-langinfo.sh: Send output to stdout.
9255 * localedata/tst-langinfo-static.c: New file.
9256
4406c41c
AJ
9257 [BZ #16965]
9258 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9259 when the shift amount is modulo the limb size.
9260
4c0a1e63
RH
92612014-05-20 Richard Henderson <rth@redhat.com>
9262
de9d8f20
RH
9263 [BZ #16967]
9264 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9265 Change type of sa_flags from unsigned int to int.
9266
4c0a1e63
RH
9267 [BZ #16966]
9268 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9269
9270 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9271
a60339aa
WN
92722014-05-20 Will Newton <will.newton@linaro.org>
9273
9274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9275 Test the return value of the system call in the nocancel case.
9276
7d05a816
YR
92772014-05-20 Will Newton <will.newton@linaro.org>
9278 Yvan Roux <yvan.roux@linaro.org>
9279
9280 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9281 #include of asm/ptrace.h.
9282 (PTRACE_GET_THREAD_AREA): Remove #undef.
9283 (PTRACE_GETHBPREGS): Likewise.
9284 (PTRACE_SETHBPREGS): Likewise.
9285 (struct user_regs_struct): New structure.
9286 (struct user_fpsimd_struct): New structure.
9287 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9288 #include of asm/ptrace.h and second #include of sys/user.h.
9289 (PTRACE_GET_THREAD_AREA): Remove #undef.
9290 (PTRACE_GETHBPREGS): Likewise.
9291 (PTRACE_SETHBPREGS): Likewise.
9292 (ELF_NGREG): Use new struct user_regs_struct.
9293 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9294
af121e37
AZ
92952014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9296
9297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9299
834caf06
JM
93002014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9301
9302 [BZ #16958]
9303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9304 membar to avoid block loads/stores to overlap previous stores.
9305
e184a918
RH
93062014-05-17 Richard Henderson <rth@redhat.com>
9307
9308 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9309 Create the __##syscall_name##_nocancel entry point.
9310 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9311 Remove; let the sysdep-cancel.h code create it.
9312
f56c7a6a
DM
93132014-05-17 David S. Miller <davem@davemloft.net>
9314
9315 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9316 Protect with __USE_GNU.
9317 (TIOCSET_TEMPT): Likewise.
9318 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9319 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9320 these are already provided in bits/ioctl-types.h
9321
f75616b2
RM
93222014-05-16 Roland McGrath <roland@hack.frob.com>
9323
3edeca86
RM
9324 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9325 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9326
f75616b2
RM
9327 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9328 Use wait4 regardless of [__NR_waitpid].
9329
deb0f7f6
MR
93302014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9331
9332 PR libgcc/60166
9333 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9334 (_FP_NANSIGN_Q): Set the quiet bit.
9335
79520f4b
JM
93362014-05-16 Joseph Myers <joseph@codesourcery.com>
9337
9338 * benchtests/Makefile
9339 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9340 not $(common-objpfx)math/libm.so.
9341 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9342 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9343 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9344 $(common-objpfx)dlfcn/libdl.so.
9345 ($(objpfx)tst-audit8): Depend on $(libm), not
9346 $(common-objpfx)math/libm.so.
9347 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9348 not $(common-objpfx)dlfcn/libdl.so.
9349 * math/Makefile
9350 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9351 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9352 [$(build-shared) = yes].
9353 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9354 $(common-objpfx)nptl/libpthread.so.
9355 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9356 $(common-objpfx)math/libm.so$(libm.so-version) or
9357 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9358 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9359 $(common-objpfx)dlfcn/libdl.so.
9360 * setjmp/Makefile (link-libm): Remove variable.
9361 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9362 * stdio-common/Makefile (link-libm): Remove variable.
9363 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9364 * stdlib/Makefile (link-libm): Remove variable.
9365 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9366 ($(objpfx)tst-strtod-round): Likewise.
9367 ($(objpfx)tst-tininess): Likewise.
9368 ($(objpfx)tst-strtod-underflow): Likewise.
9369 ($(objpfx)tst-strtod6): Likewise.
9370 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9371 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9372 $(common-objpfx)dlfcn/libdl.so.
9373
026b0fe4
AZ
93742014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9375
9376 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9377 BSD terminal modes definitions.
9378
def4bcb2
RM
93792014-05-16 Roland McGrath <roland@hack.frob.com>
9380
fe39b021
RM
9381 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9382 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9383
1d1fc46e 9384 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9385 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9386 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9387 Don't do #include_next.
9388 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9389 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9390 Don't do #include_next.
9391 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9392 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9393 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9394 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9395
c72399fb
AM
93962014-05-16 Allan McRae <allan@archlinux.org>
9397
d51d659d
AM
9398 * po/sv.po: Update Swedish translation from translation project.
9399
c72399fb
AM
9400 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9401 in sed expression.
9402
d0583c40
AJ
94032014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9404
9405 [BZ #16917]
9406 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9407 errno if the TIOCGPTN ioctl fails with an error different than
9408 EINVAL.
9409 * login/tst-ptsname.c: New file.
9410 * login/Makefile (tests): Add tst-ptsname.
9411
d16e6ec7
AJ
9412 [BZ #16943]
9413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9414 and prlimit64.
9415
cf26a0cb
SP
94162014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9417
9418 [BZ #16849]
9419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9420 herrno to return EAI_AGAIN.
9421
5675da1e
RM
94222014-05-14 Roland McGrath <roland@hack.frob.com>
9423
a5d87b3d
RM
9424 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9425 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9426 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9427 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9431 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9432 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9433 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9434 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9435 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9436 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9439 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9447 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9449 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9450 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9451 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9452 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9453 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9455 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9457 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9459 Moved ...
9460 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9462 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9464 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9466 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9468 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9470 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9472 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9474 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9476 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9478 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9480 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9482 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9484 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9486 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9488 Moved ...
9489 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9491 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9493 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9495 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9497 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9499 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9501 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9503 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9505 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9507 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9509 Moved ...
9510 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9512 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9513
039890a6
RM
9514 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9515 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9516 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9517 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9518 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9519 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9520 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9521 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9522 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9523 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9524 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9525 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9526 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9527 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9528 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9529 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9530 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9531 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9532 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9533 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9534 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9535 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9536 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9537 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9538 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9539 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9540 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9541 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9542 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9543 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9544 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9545
65c89320
RM
9546 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9547 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9548
348f8e8c
RM
9549 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9550 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9551 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9553 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9555 Moved ...
9556 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9557 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9558 Moved ...
9559 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9561 Moved ...
9562 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9563 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9564 Moved ...
9565 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9567 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9568 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9569 Moved ...
9570 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9571 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9572 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9574 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9575 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9576 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9577 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9578 Moved ...
9579 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9580 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9581 Moved ...
9582 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9583 ... here.
9584 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9585 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9586 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9587 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9588 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9589 Moved ...
9590 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9591 ... here.
9592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9593 Moved ...
9594 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9595 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9596 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9597 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9598 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9599 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9600 Moved ...
9601 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9602 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9603 Moved ...
9604 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9605 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9606 Moved ...
9607 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9608 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9609 Moved ...
9610 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9611 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9612 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9613 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9614 Moved ...
9615 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9616 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9617 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9618 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9619 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9620 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9621 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9622 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9623 Moved ...
9624 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9625 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9626 Moved ...
9627 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9628 ... here.
9629 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9630 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9631 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9632 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9633 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9636 ... here.
9637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9638 Moved ...
9639 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9640 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9641 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9642 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9643 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9644 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9645 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9646 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9647 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9648 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9649 Moved ...
9650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9651 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9652 Moved ...
9653 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9654 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9655 Moved ...
9656 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9657 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9658 Moved ...
9659 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9660 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9661 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9662 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9663 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9664 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9665 Moved ...
9666 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9667 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9668 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9669 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9670 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9671 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9672 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9673 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9674 Moved ...
9675 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9676 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9677 Moved ...
9678 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9679 ... here.
9680 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9681 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9682 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9683 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9684 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9685 Moved ...
9686 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9687 ... here.
9688 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9689 Moved ...
9690 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9692 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9693 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9694 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9696 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9697 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9698 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9699 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9700 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9701
5085af05
RM
9702 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9703 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9704
708f0813
RM
9705 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9706 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9707
c96067bc
RM
9708 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9709 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9710 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9712 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9714 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9716 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9717 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9718 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9719 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9721 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9722 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9723 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9724 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9725 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9726 Moved ...
9727 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9728 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9729 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9730 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9731 Moved ...
9732 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9733 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9734 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9735 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9736 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9737 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9738 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9739 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9740 Moved ...
9741 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9742 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9743 Moved ...
9744 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9745 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9746 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9748 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9750 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9751 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9752 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9753 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9754 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9755 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9756 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9757 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9758 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9759 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9760 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9761
ec136444
RM
9762 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9763 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9764 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9765 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9766 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9767
2fbdf533
RM
9768 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9769 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9770 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9771 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9772 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9773 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9774 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9775 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9776 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9777 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9778
4c68138b
RM
9779 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9781
4eaae765
RM
9782 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9783 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9784 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9785 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9787 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9788 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9789 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9790 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9791 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9792 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9793 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9794 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9795 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9796 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9797 Update #include.
9798 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9799 Likewise.
9800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9801 Likewise.
9802 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9803 Likewise.
9804 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9805 Likewise.
9806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9807 Likewise.
9808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9809 Likewise.
9810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9811 Likewise.
9812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9813 Likewise.
9814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9815 Likewise.
4ef6befa
RM
9816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9819 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9820 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9821 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9822 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9823 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9824 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9825 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9826 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9827 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9828 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9829 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9830 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9831
941d7dfd
RM
9832 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9833 that was previously under [RESET_PID].
9834 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9835 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9836 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9837
1b731c35
RM
9838 * sysdeps/i386/nptl/Implies: New file.
9839 * sysdeps/x86_64/nptl/Implies: New file.
9840 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9841 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9842 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9843 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9844
e2787137
RM
9845 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9846 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9847 (__libc_vfork): New strong alias.
9848 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9849 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9850
9851 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9852 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9853 (__libc_vfork): New strong alias.
9854 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9855 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9856
5675da1e
RM
9857 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9858 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9859 (__libc_vfork): New strong alias.
9860 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9861 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9862 * nptl/pt-vfork.c: New file.
9863 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9864 (libpthread: GLIBC_2.20): New version set (empty).
9865
4f02e2b8
WN
98662014-05-14 Will Newton <will.newton@linaro.org>
9867
9868 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9869 rather than #if.
9870
0bf061d3
JM
98712014-05-14 Joseph Myers <joseph@codesourcery.com>
9872
1a84c3d6
JM
9873 [BZ #16564]
9874 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9875 arguments with exponent 65 or above.
9876 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9877 arguments 0x1p113L or above.
9878 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9879 to arguments 0x1p107L or above.
9880 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9881 positive arguments with exponent 65 or above.
9882 * math/auto-libm-test-in: Add more tests of log1p.
9883 * math/auto-libm-test-out: Regenerated.
9884
01dbacd2
JM
9885 [BZ #16928]
9886 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9887 non-finite arguments is +0.
9888 * math/s_cacosf.c (__cacosf): Likewise.
9889 * math/s_cacosl.c (__cacosl): Likewise.
9890 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9891 * sysdeps/i386/fpu/libm-test-ulps: Update.
9892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9893
913d03c8
JM
9894 [BZ #16927]
9895 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9896 value.
9897 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9898 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9899 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9900 for explicit high bit of mantissa when testing for argument equal
9901 to 1.
9902 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9903 * sysdeps/i386/fpu/libm-test-ulps: Update.
9904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9905
0bf061d3
JM
9906 [BZ #16516]
9907 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9908 (__erf): Scale by 16 instead of 8 in potentially underflowing
9909 case. Ensure exception if result actually underflows.
9910 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9911 (__erff): Scale by 16 instead of 8 in potentially underflowing
9912 case. Ensure exception if result actually underflows.
9913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9914 (efx8): Remove variable.
9915 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9916 case. Ensure exception if result actually underflows.
9917 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9918 (efx8): Remove variable.
9919 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9920 case. Ensure exception if result actually underflows.
9921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9922 (efx8): Remove variable.
9923 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9924 case. Ensure exception if result actually underflows.
9925 * math/auto-libm-test-in: Add more tests of erf.
9926 * math/auto-libm-test-out: Regenerated.
9927
73ba67cb
AS
99282014-05-14 Andreas Schwab <schwab@suse.de>
9929
3d8c8bff
AS
9930 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9931 Remove code conditionalized on USE___THREAD.
9932
73ba67cb
AS
9933 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9934 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9935 not definedness.
9936
5c521ecd
JM
99372014-05-14 Joseph Myers <joseph@codesourcery.com>
9938
5e7698c6
JM
9939 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9940 Define unconditionally.
9941 (__ASSUME_O_CLOEXEC): Likewise.
9942 (__ASSUME_SOCK_CLOEXEC): Likewise.
9943 (__ASSUME_IN_NONBLOCK): Likewise.
9944 (__ASSUME_PIPE2): Likewise.
9945 (__ASSUME_EVENTFD2): Likewise.
9946 (__ASSUME_SIGNALFD4): Likewise.
9947 (__ASSUME_DUP3): Likewise.
9948 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9949 (__ASSUME_DUP3): Do not define.
9950 (__ASSUME_EVENTFD2): Likewise.
9951 (__ASSUME_IN_NONBLOCK): Likewise.
9952 (__ASSUME_O_CLOEXEC): Likewise.
9953 (__ASSUME_PIPE2): Likewise.
9954 (__ASSUME_SIGNALFD4): Likewise.
9955 (__ASSUME_SOCK_CLOEXEC): Likewise.
9956 (__ASSUME_UTIMES): Undefine.
9957 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9958 (__ASSUME_UTIMES): Do not define.
9959 (__ASSUME_O_CLOEXEC): Likewise.
9960 (__ASSUME_SOCK_CLOEXEC): Likewise.
9961 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9962 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9963 0x020621].
9964 (__ASSUME_PIPE2): Likewise.
9965 (__ASSUME_EVENTFD2): Likewise.
9966 (__ASSUME_SIGNALFD4): Likewise.
9967 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9968 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9969 Do not define.
9970 (__ASSUME_EVENTFD2): Likewise.
9971 (__ASSUME_SIGNALFD4): Likewise.
9972 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9973 (__ASSUME_32BITUIDS): Likewise.
9974 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9975 (__ASSUME_IPC64): Likewise.
9976 (__ASSUME_ST_INO_64_BIT): Likewise.
9977 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9978 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9979 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9980 (__ASSUME_UTIMES): Do not define.
9981 (__ASSUME_PSELECT): Likewise.
9982 (__ASSUME_PPOLL): Likewise.
9983 (__ASSUME_O_CLOEXEC): Likewise.
9984 (__ASSUME_SOCK_CLOEXEC): Likewise.
9985 (__ASSUME_IN_NONBLOCK): Likewise.
9986 (__ASSUME_PIPE2): Likewise.
9987 (__ASSUME_EVENTFD2): Likewise.
9988 (__ASSUME_SIGNALFD4): Likewise.
9989 (__ASSUME_DUP3): Likewise.
9990 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9991 (__ASSUME_UTIMES): Likewise.
9992 (__ASSUME_O_CLOEXEC): Likewise.
9993 (__ASSUME_SOCK_CLOEXEC): Likewise.
9994 (__ASSUME_IN_NONBLOCK): Likewise.
9995 (__ASSUME_PIPE2): Likewise.
9996 (__ASSUME_EVENTFD2): Likewise.
9997 (__ASSUME_SIGNALFD4): Likewise.
9998 (__ASSUME_DUP3): Likewise.
9999 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10000 (__ASSUME_UTIMES): Likewise.
10001 (__ASSUME_O_CLOEXEC): Likewise.
10002 (__ASSUME_SOCK_CLOEXEC): Likewise.
10003 (__ASSUME_IN_NONBLOCK): Likewise.
10004 (__ASSUME_PIPE2): Likewise.
10005 (__ASSUME_EVENTFD2): Likewise.
10006 (__ASSUME_SIGNALFD4): Likewise.
10007 (__ASSUME_DUP3): Likewise.
10008 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10009 Likewise.
10010 (__ASSUME_UTIMES): Likewise.
10011 (__ASSUME_EVENTFD2): Likewise.
10012 (__ASSUME_SIGNALFD4): Likewise.
10013 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10014 (__ASSUME_O_CLOEXEC): Likewise.
10015 (__ASSUME_SOCK_CLOEXEC): Likewise.
10016 (__ASSUME_IN_NONBLOCK): Likewise.
10017 (__ASSUME_PIPE2): Likewise.
10018 (__ASSUME_EVENTFD2): Likewise.
10019 (__ASSUME_SIGNALFD4): Likewise.
10020 (__ASSUME_DUP3): Likewise.
10021 (__ASSUME_UTIMES): Undefine.
10022
5c521ecd
JM
10023 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10024 feclearexcept. Remove symbol versioning code.
10025 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10026 symbol versioning code.
10027 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10028 symbol versioning code.
10029 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10030 feupdateenv. Remove symbol versioning code.
10031 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10032 fegetexceptflag. Remove symbol versioning code.
10033 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10034 fesetexceptflag. Remove symbol versioning code.
10035 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10036 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10037 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10038 (__posix_fadvise64_l32): Remove prototype.
10039 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10040 code.
10041
5da9dfad
RM
100422014-05-13 Roland McGrath <roland@hack.frob.com>
10043
10044 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10045 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10046 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10047 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10048
893b4f37
SK
100492014-05-13 Sami Kerola <kerolasa@iki.fi>
10050
10051 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10052 current working directory
10053
e0db6517
RM
100542014-05-13 Roland McGrath <roland@hack.frob.com>
10055
58aa195d
RM
10056 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10057 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10058 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10059 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10060 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10061 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10062 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10063 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10065 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10067 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10068 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10069 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10071 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10073 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10074 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10075 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10076 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10077 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10079 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10080 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10081 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10082 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10083 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10084 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10085 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10086 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10087 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10088 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10089 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10090 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10091 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10092 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10093 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10094 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10095 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10096 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10097 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10098
8c6d01f0
RM
10099 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10100 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10101
10102 * sysdeps/unix/sysv/linux/arm/Makefile
10103 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10104 Add rt-aeabi_unwind_cpp_pr1.
10105 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10106 Add nptl-aeabi_unwind_cpp_pr1.
10107 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10108 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10109 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10110 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10111 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10112 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10113
10114 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10115 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10116 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10117 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10118
bba6da4e
RM
10119 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10120 Deconditionalize the code that was previously under [RESET_PID].
10121 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10122
e0db6517
RM
10123 * sysdeps/generic/exit-thread.h: New file.
10124 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10125 * include/unistd.h (__exit_thread): Remove declaration.
10126 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10127 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10128 * csu/libc-start.c: Include <exit-thread.h>.
10129 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10130 * nptl/pthread_create.c: Include <exit-thread.h>.
10131 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10132 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10133 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10134 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10135 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10136 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10137 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10138 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10139 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10140 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10141 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10142 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10143 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10144 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10145 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10146 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10147 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10148
01eb16fd
AS
101492014-05-13 Andreas Schwab <schwab@suse.de>
10150
10151 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10152
637461d9
JM
101532014-05-12 Joseph Myers <joseph@codesourcery.com>
10154
10155 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10156 (__ASSUME_UTIMES): Do not condition on kernel version.
10157 (__ASSUME_PSELECT): Define unconditionally.
10158 (__ASSUME_PPOLL): Likewise.
10159 (__ASSUME_ATFCTS): Likewise.
10160 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10161 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10162 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10163 (__ASSUME_UTIMENSAT): Define unconditionally.
10164 (__ASSUME_PRIVATE_FUTEX): Likewise.
10165 (__ASSUME_FALLOCATE): Likewise.
10166 (__ASSUME_O_CLOEXEC): Likewise.
10167 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10168 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10169 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10170 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10171 (__ASSUME_IN_NONBLOCK): Likewise.
10172 (__ASSUME_PIPE2): Likewise.
10173 (__ASSUME_EVENTFD2): Likewise.
10174 (__ASSUME_SIGNALFD4): Likewise.
10175 (__ASSUME_DUP3): Likewise.
10176 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10177 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10178 (__ASSUME_AT_RANDOM): Likewise.
10179 (__ASSUME_PREADV): Likewise.
10180 (__ASSUME_PWRITEV): Likewise.
10181 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10182 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10183 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10184 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10185 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10186 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10187 (__ASSUME_O_CLOEXEC): Define unconditionally.
10188 (__ASSUME_PSELECT): Do not undefine conditionally.
10189 (__ASSUME_PPOLL): Likewise.
10190 (__ASSUME_ATFCTS): Likewise.
10191 (__ASSUME_SET_ROBUST_LIST): Likewise.
10192 (__ASSUME_UTIMENSAT): Likewise.
10193 (__ASSUME_FDATASYNC): Define unconditionally.
10194 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10195 (__ASSUME_SIGFRAME_V2): Likewise.
10196 )__ASSUME_EVENTFD2): Likewise.
10197 (__ASSUME_SIGNALFD4): Likewise.
10198 (__ASSUME_PSELECT): Do not undefine conditionally.
10199 (__ASSUME_PPOLL): Likewise.
10200 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10201 (__ASSUME_PSELECT): Define unconditionally.
10202 (__ASSUME_PPOLL): Likewise.
10203 (__ASSUME_O_CLOEXEC): Likewise.
10204 (__ASSUME_SOCK_CLOEXEC): Likewise.
10205 (__ASSUME_IN_NONBLOCK): Likewise.
10206 (__ASSUME_PIPE2): Likewise.
10207 (__ASSUME_EVENTFD2): Likewise.
10208 (__ASSUME_SIGNALFD4): Likewise.
10209 (__ASSUME_DUP3): Likewise.
10210 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10211 (__ASSUME_O_CLOEXEC): Likewise.
10212 (__ASSUME_SOCK_CLOEXEC): Likewise.
10213 (__ASSUME_IN_NONBLOCK): Likewise.
10214 (__ASSUME_PIPE2): Likewise.
10215 (__ASSUME_EVENTFD2): Likewise.
10216 (__ASSUME_SIGNALFD4): Likewise.
10217 (__ASSUME_DUP3): Likewise.
10218 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10219 (__ASSUME_EVENTFD2): Likewise.
10220 (__ASSUME_SIGNALFD4): Likewise.
10221 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10222
315eb1d8
AS
102232014-05-12 Andreas Schwab <schwab@suse.de>
10224
10225 [BZ #16932]
10226 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10227 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10228 than maximum RPC packet size.
10229 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10230 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10231 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10232 (_nss_nis_getservbyport_r): Likewise.
10233
91df99f7
WN
102342014-05-12 Will Newton <will.newton@linaro.org>
10235
10236 * malloc/Makefile (tests): Add tst-mallopt.
10237 * malloc/tst-mallopt.c: New file.
10238
0a982a29
RM
102392014-05-09 Roland McGrath <roland@hack.frob.com>
10240
10241 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10242 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10243
0ded08a5
AZ
102442014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10245
10246 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10247 (tst-tlsmod6.so): Likewise.
10248
55d4d550
RM
102492014-05-09 Roland McGrath <roland@hack.frob.com>
10250
10251 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10252
77d08aca
JM
102532014-05-09 Joseph Myers <joseph@codesourcery.com>
10254
10255 [BZ #16064]
10256 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10257 and <dl-procinfo.h>.
10258 (__fegetenv): Save SSE state in envp->__eip if supported.
10259 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10260 envp->__eip if supported.
10261 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10262 and <dl-procinfo.h>.
10263 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10264 __data_offset and __data_selector in environment to 0. Set SSE
10265 state if supported.
10266 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10267 test-fenv-sse.
10268 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10269 -mfpmath=sse.
10270 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10271
28162f4d
WN
102722014-05-09 Will Newton <will.newton@linaro.org>
10273
10274 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10275 and libc_relro_required for ARM.
10276 * sysdeps/arm/preconfigure: Regenerate.
10277
5a414ff7
DV
102782014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10279 Stefan Liebler <stli@linux.vnet.ibm.com>
10280
10281 * config.make.in (enable-lock-elision): New Makefile variable.
10282 * configure.ac: Likewise.
10283 * configure: Regenerate.
10284 * sysdeps/s390/configure.ac:
10285 Add check for gcc transactions support.
10286 * sysdeps/s390/configure: Regenerate.
10287 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10288 Build elision files if enabled.
10289 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10290 Add lock elision support for s390.
10291 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10292 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10293 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10294 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10295 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10296 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10297 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10298 Likewise.
10299 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10300 Likewise.
10301 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10302 Likewise.
10303 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10304 Likewise.
10305 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10306 (__lll_timedlock_elision, __lll_lock_elision)
10307 (__lll_unlock_elision, __lll_trylock_elision)
10308 (lll_timedlock_elision, lll_lock_elision)
10309 (lll_unlock_elision, lll_trylock_elision): Add.
10310 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10311 (pthread_mutex_t): Add lock elision support for s390.
10312
1a2f40e5
W
103132014-05-14 Wilco <wdijkstr@arm.com>
10314
10315 * sysdeps/arm/fclrexcpt.c: Cleanup.
10316 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10317 * sysdeps/arm/feenablxcpt.c: Cleanup.
10318 * sysdeps/arm/fegetenv.c: Cleanup.
10319 * sysdeps/arm/fegetexcept.c: Cleanup.
10320 * sysdeps/arm/fegetround.c: Cleanup.
10321 * sysdeps/arm/feholdexcpt.c: Cleanup.
10322 * sysdeps/arm/fesetenv.c: Cleanup.
10323 * sysdeps/arm/fesetround.c: Cleanup.
10324 * sysdeps/arm/feupdateenv.c: Cleanup.
10325 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10326 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10327 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10328 * sysdeps/arm/ftestexcept.c: Cleanup.
10329 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10330 * sysdeps/arm/setfpucw.c: Cleanup.
10331
f63c86fe
WN
103322014-05-09 Will Newton <will.newton@linaro.org>
10333
10334 * sysdeps/arm/armv7/strcmp.S: New file.
10335 * NEWS: Mention addition of ARMv7 optimized strcmp.
10336
7a1a51b5
RM
103372014-05-08 Roland McGrath <roland@hack.frob.com>
10338
95afbbe5
RM
10339 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10340 look for %.ac rather than %.in.
10341
10342 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10343 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10344 * sysdeps/mach/hurd/configure: Regenerated.
10345 * sysdeps/unix/sysv/linux/configure: Regenerated.
10346
7a1a51b5
RM
10347 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10348
5057ad3b
SE
103492014-05-07 Steve Ellcey <sellcey@mips.com>
10350
10351 [BZ# 16922]
10352 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10353 (LONG_SUB): Ditto.
10354 (PTR_SUB): Ditto.
10355
8dc97517
AS
103562014-05-07 Andreas Schwab <schwab@suse.de>
10357
10358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10359 when skipping over non-matching result from nscd.
10360
ce0c5b8f
OB
103612014-05-07 Ondřej Bílka <neleai@seznam.cz>
10362
10363 [BZ #16876]
10364 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10365
a1189263
OB
10366 [BZ #16877]
10367 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10368 nscd security class.
ce0c5b8f 10369
0f58d252
RM
103702014-05-06 Roland McGrath <roland@hack.frob.com>
10371
10372 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10373 * sysdeps/arm/unwind.h: ... here.
10374
83df9ad0
AJ
103752014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10376
ce0c5b8f
OB
10377 [BZ# 16916]
10378 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10379 Define.
83df9ad0 10380
f360f94a
VR
103812014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10382
10383 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10384 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10385 multiarch strncpy for PPC64.
10386 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10387 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10389 multiarch optimizations.
10390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10391 (__libc_ifunc_impl_list): Likewise.
10392 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10393 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10394 multiarch stpncpy for PPC64.
10395 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10396 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10397
978a41c3
AS
103982014-05-06 Andreas Schwab <schwab@suse.de>
10399
10400 [BZ #16912]
10401 * gmon/mcount.c (_MCOUNT_DECL): Use
10402 atomic_compare_and_exchange_bool_acq instead of
10403 catomic_compare_and_exchange_bool_acq.
10404
eb1ed03d
RM
104052014-05-05 Roland McGrath <roland@hack.frob.com>
10406
fe658845
RM
10407 * elf/Makefile (others, install-bin): Remove pldd.
10408 (pldd-modules): Variable removed.
10409 ($(objpfx)pldd): Target removed.
10410 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10411 (others, install-bin): Append pldd here.
10412 ($(objpfx)pldd): New target.
10413
eb1ed03d
RM
10414 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10415 to 0, so the first #if test emitted later doesn't see it undefined.
10416 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10417 * sysdeps/gnu/errlist.c: Regenerated.
10418
19c4bec0
AZ
104192014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10420
10421 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10422 [libc_hidden_builtin_def]: Define to empty value.
10423 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10424 [libc_hidden_builtin_def]: Likewise.
10425 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10426 [libc_hidden_builtin_def]: Likewise.
10427 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10428 [libc_hidden_builtin_def]: Likewise.
10429 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10430 __redirect_memcpy and define ifunc as default hidden symbol.
10431 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10432 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10433
7776e669
AC
104342014-05-04 Adam Conrad <adconrad@0c3.net>
10435
10436 * locale/iso-4217.def: Reintroduce XDR currency.
10437
d69aeb12
AM
104382014-05-04 Allan McRae <allan@archlinux.org>
10439
10440 * po/eo.po: Update Esperanto translation from translation project.
10441
8f1df5cf
CD
104422014-05-02 Carlos O'Donell <carlos@redhat.com>
10443
10444 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10445 and FEATURE_INDEX_MAX to 1.
10446 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10447
13e402e7
SE
104482014-05-01 Steve Ellcey <sellcey@mips.com>
10449
10450 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10451 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10452 * iconvdata/big5.c (ONE_DIRECTION): Define.
10453 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10454 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10455 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10456 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10457 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10458 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10459 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10460 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10461 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10462 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10463 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10464 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10465 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10466 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10467 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10468 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10469 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10470 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10471 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10472 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10473 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10474 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10475 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10476 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10477 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10478 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10479 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10480 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10481 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10482 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10483 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10484 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10485 * iconvdata/johab.c (ONE_DIRECTION): Define.
10486 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10487 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10488 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10489 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10490 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10491 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10492 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10493 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10494 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10495 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10496
c727f032
RM
104972014-05-01 Roland McGrath <roland@hack.frob.com>
10498
8f2f08d0
RM
10499 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10500 (_IO_JUMPS_OFFSET): Define to 0.
10501
c727f032
RM
10502 * nptl/sysdeps/pthread/bits/libc-lock.h
10503 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10504 (__libc_lock_define_initialized_recursive): Always define using
10505 initializer. Modern compilers treat uninitialized (implicit zero) and
10506 explicit zero initializers the same (i.e. put the datum in bss).
10507
a849e800
AS
105082014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10509
10510 * nscd/nscd-client.h: Include <string.h>.
10511
5331255b
DM
105122014-05-01 David S. Miller <davem@davemloft.net>
10513
10514 [BZ #16885]
10515 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10516 multiple zero bytes exist at the end of a string.
10517 Reported by Aurelien Jarno <aurelien@aurel32.net>
10518
10519 * string/test-strcmp.c (check): Add explicit test for situations where
10520 there are multiple zero bytes after the first.
10521
4fdfe821
AS
105222014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10523
10524 [BZ #16890]
10525 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10526 when compiling wprintf.
10527 * stdio-common/tstdiomisc.c (t3): New function.
10528 (main): Call it.
10529
0cdddc25
SE
105302014-05-01 Steve Ellcey <sellcey@mips.com>
10531
10532 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10533 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10534 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10535 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10536
6426d77e
SE
105372014-05-01 Steve Ellcey <sellcey@mips.com>
10538
10539 * stdlib/longlong.h: Updated from GCC.
10540
6d96f5e4
WN
105412014-05-01 Will Newton <will.newton@linaro.org>
10542 Bernard Ogden <bernie.ogden@linaro.org>
10543
7470db0c
WN
10544 * NEWS: Update fixed bug list.
10545
6d96f5e4
WN
10546 [BZ #15119]
10547 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10548
211d653c
DM
105492014-04-30 David S. Miller <davem@davemloft.net>
10550
4fa262fa
DM
10551 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10552 (libc_feholdexcept_setround_sparc_ctx): New function.
10553 (libc_fesetenv_sparc_ctx): Likewise.
10554 (libc_feupdateenv_sparc_ctx): Likewise.
10555 (libc_feholdsetround_sparc_ctx): Likewise.
10556 (libc_feholdexcept_setround_ctx): Define.
10557 (libc_feholdexcept_setroundf_ctx): Likewise.
10558 (libc_feholdexcept_setroundl_ctx): Likewise.
10559 (libc_fesetenv_ctx): Likewise.
10560 (libc_fesetenvf_ctx): Likewise.
10561 (libc_fesetenvl_ctx): Likewise.
10562 (libc_feupdateenv_ctx): Likewise.
10563 (libc_feupdateenvf_ctx): Likewise.
10564 (libc_feupdateenvl_ctx): Likewise.
10565 (libc_feresetround_ctx): Likewise.
10566 (libc_feresetroundf_ctx): Likewise.
10567 (libc_feresetroundl_ctx): Likewise.
10568 (libc_feholdsetround_ctx): Likewise.
10569 (libc_feholdsetroundf_ctx): Likewise.
10570 (libc_feholdsetroundl_ctx): Likewise.
10571
1d3d93ef
DM
10572 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10573 with __USE_GNU instead of XOPEN cpp guards.
10574
8aa583c3
DM
10575 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10576 0.
10577
211d653c
DM
10578 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10579 with XOPEN cpp guards.
10580
60c8f1f6
JB
105812014-04-30 Julian Brown <julian@codesourcery.com>
10582
10583 [BZ #16888]
10584 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10585 handling.
10586
9a461d46
JM
105872014-04-30 Joseph Myers <joseph@codesourcery.com>
10588
d0f5b3f8
JM
10589 [BZ #9894]
10590 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10591 Change to 2.6.32.
10592 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10593 * sysdeps/unix/sysv/linux/configure: Regenerated.
10594 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10595 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10596 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10597 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10598 * README: Update reference to required Linux kernel version.
10599 * manual/install.texi (Linux): Update reference to required Linux
10600 kernel headers version.
10601 * INSTALL: Regenerated.
10602
9a461d46
JM
10603 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10604 header inclusion.
10605 [POSIX] (limits.h): Likewise.
10606 [POSIX] (math.h): Likewise.
10607 [POSIX] (sys/wait.h): Likewise.
10608 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10609 function.
10610 [POSIX] (stddef.h): Do not allow header inclusion.
10611
1775babf
AZ
106122014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10613
57f41c40 10614 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10615
8f630cca
YY
106162014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10617
10618 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10619 Return immediately after lll_futex_wake.
10620
1cdeb237
SP
106212014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10622
bc8f194c
SP
10623 [BZ #16791]
10624 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10625 structure.
10626 (datahead_init_pos): Call datahead_init_common early.
10627 (datahead_init_neg): Likewise.
10628
1cdeb237
SP
10629 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10630 datahead_init_neg): New functions.
10631 * nscd/aicache.c (addhstaiX): Use them.
10632 * nscd/grpcache.c (cache_addgr): Likewise.
10633 * nscd/hstcache.c (cache_addhst): Likewise.
10634 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10635 * nscd/netgroupcache.c (do_notfound): Likewise.
10636 (addgetnetgrentX): Likewise.
10637 (addinnetgrX): Likewise.
10638 * nscd/pwdcache.c (cache_addpw): Likewise.
10639 * nscd/servicescache.c (cache_addserv): Likewise.
10640
16b293a7
SP
106412014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10642 Atsushi Onoe <atsushi@onoe.org>
10643
10644 [BZ #14308]
10645 [BZ #12994]
10646 [BZ #13651]
10647 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10648 one response is valid.
10649 * resolv/res_send.c (send_dg): Check for validity of other
10650 response if the current response is a referral.
10651
a28a9b94
SE
106522014-04-29 Steve Ellcey <sellcey@mips.com>
10653
10654 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10655
2ca180e9
SL
106562014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10657
10658 [BZ #16823]
10659 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10660 Always divide by positive zero when computing -Inf result.
10661 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10662 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10663
18f2945a
AZ
106642014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10665
10666 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10667 FPSCR if value do not change.
10668 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10669 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10670 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10671 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10672 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10673 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10674 function.
10675
5abebba4
CD
106762014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10677
10678 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10679 * sysdeps/unix/sysv/linux/hppa: Move directory from
10680 ports/systeps/unix/sysv/linux/hppa.
10681 * README: Update listing for hppa-*-linux-gnu.
10682
f7ed60c2
OB
106832014-04-28 Ondřej Bílka <neleai@seznam.cz>
10684
fff763a5
OB
10685 [BZ #16754]
10686 * manual/stdio.texi (Hook functions): Fix types of stream hook
10687 functions.
f7ed60c2
OB
10688 [BZ #16854]
10689 * socket/sys/socket.h: Fix typo in comment.
10690
df639d73
WD
106912014-04-28 Wilco <wdijkstr@arm.com>
10692
f7ed60c2 10693 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10694 * sysdeps/arm/math_private.h: New file.
10695 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10696
48332d82
L
106972014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10698
10699 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10700 with __int128_t.
10701 (La_x86_64_retval): Likewise.
10702
e5e0d9a4
IB
107032014-04-24 Ian Bolton <ian.bolton@arm.com>
10704
10705 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10706 fpsr if value didn't change.
10707 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10708 to fpcr if value didn't change.
10709 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10710 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10711 fpsr or fpcr if value didn't change.
10712 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10713 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10714 fpcr if value didn't change.
10715 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10716 to fpsr if value didn't change.
10717
bacc75f7
SP
107182014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10719
10720 * nptl/tst-sem3.c: Use test-skeleton.c
10721 (main): Rename to do_test. Use return instead of
10722 exit.
10723 * nptl/tst-sem4.c: Use test-skeleton.c
10724 (main): Rename to do_test.
10725
a059d359
DM
107262014-04-22 David S. Miller <davem@davemloft.net>
10727
10728 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10729 (struct sigaction): New struct member __glibc_reserved0, change
10730 type of sa_flags to int.
10731
ea6c92f3
YZ
107322014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10733
10734 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10735 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10736
766c4a36
SP
107372014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10738
10739 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10740 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10741
140cc7ab
VK
107422014-04-22 Will Newton <will.newton@linaro.org>
10743 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10744
10745 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10746 (__longjmp): Add longjmp and longjmp_target SystemTap
10747 probes.
10748 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10749 (__sigsetjmp): Add setjmp SystemTap probe.
10750
c54e5cf7
CD
107512014-04-17 Carlos O'Donell <carlos@redhat.com>
10752
10753 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10754 match manual order.
10755
75ffb047
AZ
107562014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757
10758 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10759
2cd925f7
AZ
10760 * sysdeps/powerpc/fpu/fenv_private.h
10761 (libc_feholdexcept_setroundl_ctx): Define to
10762 libc_feholdexcept_setround_ppc_ctx.
10763 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10764 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10765 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10766 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10767
39e6cd8d
IB
107682014-04-17 Ian Bolton <ian.bolton@arm.com>
10769
10770 * sysdeps/aarch64/math-tests.h: New file.
10771
f9281df9
SY
107722014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10773
10774 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10775 New.
10776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10777 Check and set bit_AVX2_Usable.
10778 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10779 macro.
10780 (bit_AVX2): Likewise.
10781 (index_AVX2_Usable): Likewise.
10782 (CPUID_AVX2): Likewise.
10783 (HAS_AVX2): Likewise.
10784
37d35007
WN
107852014-04-17 Will Newton <will.newton@linaro.org>
10786
7c677662
WN
10787 * manual/setjmp.texi (System V contexts): Add note that
10788 calling setcontext on a context created by a call to a
10789 signal handler is undefined. Update text to note that
10790 setcontext from a signal handler is possible but not
10791 recommended.
10792
37d35007 10793 [BZ #16629]
e04a4e9d
WN
10794 * stdlib/tst-setcontext.c: Include signal.h.
10795 (main): Check that the signal stack before and
10796 after swapcontext is the same.
10797
37d35007
WN
10798 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10799 Re-implement to restore registers in user code and avoid
10800 rt_sigreturn system call.
10801
423a7160
W
108022014-04-17 Wilco <wdijkstr@arm.com>
10803
10804 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10805 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10806 * math/test-fenv.c: Skip exception trap tests on targets which only
10807 support non-stop mode.
10808
bc93ab29
IB
108092014-04-17 Ian Bolton <ian.bolton@arm.com>
10810 Wilco Dijkstra <wilco.dijkstra@arm.com>
10811
10812 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10813 (libc_feholdsetround_aarch64_ctx)
10814 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10815 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10816 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10817 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10818 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10819 (libc_feresetround_noexl_ctx): Define.
10820
95fc5fa3
RH
108212014-04-16 Richard Henderson <rth@redhat.com>
10822
ddb04724
RH
10823 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10824
d77c0899
RH
10825 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10826 unwind tables.
10827
a3df56fc
RH
10828 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10829 const from the non-libc, non-ldso copy.
10830
95fc5fa3
RH
10831 * sysdeps/alpha/libm-test-ulps: Regenerate.
10832
7e0b6763
IB
108332014-04-16 Ian Bolton <ian.bolton@arm.com>
10834 Wilco Dijkstra <wilco.dijkstra@arm.com>
10835
10836 * sysdeps/aarch64/fpu/math_private.h: New file.
10837
a9ea2e0c
MS
108382014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10839
10840 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10841
ea8ba7cd
IZ
108422014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10843
7e54fd04 10844 [BZ #16275]
ea8ba7cd
IZ
10845 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10846 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10848 Intel MPX bound registers before _dl_profile_fixup.
10849 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10850 registers after _dl_profile_fixup. Save and restore bound
10851 registers bnd0/bnd1 when calling _dl_call_pltexit.
10852 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10853 (LR_BND_OFFSET): Likewise.
10854 (LRV_BND0_OFFSET): Likewise.
10855 (LRV_BND1_OFFSET): Likewise.
10856
9f2a4fbc
ST
108572014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10858
10859 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10860 to...
10861 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10862 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10863 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10864 fields.
9f2a4fbc 10865
fd15a59b
ST
108662014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10867
10868 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10869
f19dfa0a
SL
108702014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10871
10872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10873
4fa8bc3b
SL
108742014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10875
10876 [BZ #14770]
10877 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10878 * sysdeps/s390/configure: Regenerate.
10879
8ea587db
SL
10880 [BZ #16824]
10881 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10882 Set round-to-nearest internally to reduce error accumulation.
10883
aa5f0ff1
AM
108842014-04-16 Alan Modra <amodra@gmail.com>
10885
10886 [BZ #16740]
10887 [BZ #16619]
10888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10889 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10890 * NEWS: Update fixed bug list.
aa5f0ff1 10891
bb9c256f
SP
108922014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10893
10894 * benchtests/Makefile: Depend on libraries in build directory.
10895 (bench-math): Separate out math tests.
10896 (bench-pthread): Separate out pthread tests.
10897 (bench): Include math and pthread tests.
10898
f737dfd0
CD
108992014-04-14 Carlos O'Donell <carlos@redhat.com>
10900
10901 [BZ #16831]
10902 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10903 _dl_debug_initialize.
10904
0699f766
CD
10905 * configure.ac: Remove SELinux header check.
10906 * configure: Regenerate.
10907 * nscd/selinux.c (perms): Array of const char* to permission names.
10908 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10909 default policy. Call string_to_security_class and string_to_av_perm to
10910 translate strings. Enforce default policy and call avs_has_perm with
10911 results of translated strings.
10912
809bd45f
DM
109132014-04-13 David S. Miller <davem@davemloft.net>
10914
10915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10916
89e691f2
AM
109172014-04-12 Allan McRae <allan@archlinux.org>
10918
10919 [BZ #16838]
10920 * manual/string.texi (Collation Functions): Fix qsort argument
10921 order in example.
10922 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10923
9c9daaeb
CM
109242014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10925
10926 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10927 Make the test a no-op if there are no exceptions defined.
10928
95561fb9
PP
109292014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10930
fe8d072c 10931 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10932 enable-hardcoded-path-in-tests
10933
970c602a
WN
109342014-04-11 Will Newton <will.newton@linaro.org>
10935
10936 * benchtests/Makefile (extra-objs): Add json-lib.o.
10937 (bench-func): Tidy up JSON output.
10938 * benchtests/bench-skeleton.c: Include json-lib.h.
10939 (main): Use JSON library functions to do output of
10940 benchmark results.
10941 * benchtests/bench-timing-type.c (main): Output the
10942 timing type simply, leaving formatting to the user.
10943 * benchtests/json-lib.c: New file.
10944 * benchtests/json-lib.h: Likewise.
10945
36875b06
TR
109462014-04-11 Torvald Riegel <triegel@redhat.com>
10947
10948 [BZ #15215]
10949 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10950 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10951 memory barriers. Add comments.
10952 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10953 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10954 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10955 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10956 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10957 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10958
579db35a
SL
109592014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10960
10961 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10962 * sysdeps/s390/s390-64/configure.ac: ... this ...
10963 * sysdeps/s390/configure.ac: ... to here.
10964 * sysdeps/s390/s390-32/configure: Delete file.
10965 * sysdeps/s390/s390-64/configure: Delete file.
10966 * sysdeps/s390/configure: Regenerate.
10967
c12e9f37
JAPH
109682014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10969
10970 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10971
439bda32
WN
109722014-04-11 Will Newton <will.newton@linaro.org>
10973
10974 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10975 to zero if it is not defined elsewhere. (mtrim): Test
10976 the value of MALLOC_DEBUG with #if rather than #ifdef.
10977
6a5d6ea1
TR
109782014-04-10 Torvald Riegel <triegel@redhat.com>
10979
10980 * benchtests/pthread_once-inputs: New file.
10981 * benchtests/pthread_once-source.c: New file.
10982 * benchtests/README: Update documentation.
10983
a4c75cfd
IZ
109842014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10985 H.J. Lu <hongjiu.lu@intel.com>
10986
7e54fd04 10987 [BZ #16275]
a4c75cfd
IZ
10988 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10989 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10990 * sysdeps/x86_64/configure: Regenerated.
10991 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10992 macro.
10993 (REGISTER_SAVE_RAX): Likewise.
10994 (REGISTER_SAVE_RCX): Likewise.
10995 (REGISTER_SAVE_RDX): Likewise.
10996 (REGISTER_SAVE_RSI): Likewise.
10997 (REGISTER_SAVE_RDI): Likewise.
10998 (REGISTER_SAVE_R8): Likewise.
10999 (REGISTER_SAVE_R9): Likewise.
11000 (REGISTER_SAVE_BND0): Likewise.
11001 (REGISTER_SAVE_BND1): Likewise.
11002 (REGISTER_SAVE_BND2): Likewise.
11003 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11004 bound registers when calling _dl_fixup.
11005
27822ce6
AZ
110062014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11007
11008 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
11009 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11010 of its definition.
27822ce6
AZ
11011 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11012 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11013 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11014 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11015 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11016 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11017 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11018
a88ddc90
PTB
110192014-04-09 Peter Brett <peter@peter-b.co.uk>
11020
11021 [BZ #15514]
11022 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11023 pathconf(_PC_NAME_MAX).
11024
01f8eac2
AZ
110252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11026
11027 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11028 Remove macro usage.
11029 (__PTHREAD_SPINS): Move definition to ...
11030 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11031 (__PTHREAD_SPINS): ... here.
11032 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11033 (__PTHREAD_SPIN): Likewise.
11034 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11035 (__PTHREAD_SPIN): Likewise.
11036 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11037 (__PTHREAD_SPIN): Likewise.
11038 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11039 (__PTHREAD_SPIN): Likewise.
11040 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11041 (__PTHREAD_SPIN): Likewise.
11042 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11043 (__PTHREAD_SPIN): Likewise.
11044 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11045 (__PTHREAD_SPIN): Likewise.
11046 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11047 (__PTHREAD_SPIN): Likewise.
11048 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11049 (__PTHREAD_SPIN): Likewise.
11050 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11051 (__PTHREAD_SPIN): Likewise.
11052 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11053 (__PTHREAD_SPIN): Likewise.
11054 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11055 (__PTHREAD_SPIN): Likewise.
11056
de21c33c
AZ
11057 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11058 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11059 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11060 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11061 imply folder.
11062 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11063 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11064 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11065 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11066 correct imply path.
11067 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11068 strlen symbol for non multi-arch builds.
11069 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11070 missing hidden_def and weak_alias.
11071
862c472e
CD
110722014-04-08 Carlos O'Donell <carlos@redhat.com>
11073
11074 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11075
8667f90e
WN
110762014-04-07 Will Newton <will.newton@linaro.org>
11077
11078 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11079 and contents. [!_LIBC] Remove #ifndef and contents.
11080 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11081 * string/memccpy.c (__memccpy): Use ANSI prototype.
11082 * string/memfrob.c (memfrob): Likewise.
11083 * string/strcoll.c (STRCOLL): Likewise.
11084 * string/strlen.c (strlen): Likewise.
11085 * string/strtok.c (STRTOK): Likewise.
11086 * string/strcat.c: Remove unused #include of memcopy.h.
11087 (strcat): Use ANSI prototype.
11088 * string/strchr.c: Remove unused #include of memcopy.h.
11089 (strchr): Use ANSI prototype.
11090 * string/strcmp.c: Remove unused #include of memcopy.h.
11091 (strcmp): Use ANSI prototype.
11092 * string/strcpy.c: Remove unused #include of memcopy.h.
11093 (strcpy): Use ANSI prototype.
11094
7ffa9423
AZ
110952014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11096
11097 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11098 * config.make.in (config-extra-cppflags): Set it from
11099 libc_extra_cppflags.
11100 * configure.ac (libc_extra_cflags): Make it accumulate over
11101 configure fragments.
11102 (libc_extra_cppflags): New flag.
11103 * configure. Regenerate.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
11105 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11106 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11108
8bd70862
AZ
11109 [BZ #16815]
11110 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11111 result for FE_DOWNWARD rounding mode.
11112 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11113 Likewise.
11114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11115
d42f3448
CM
111162014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11117
11118 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11119 in function argument name.
11120
1c21d115
DS
111212014-04-03 David Svoboda <svoboda@cert.org>
11122
11123 [BZ #5666]
11124 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11125 explicitly.
11126
fcccd512
RM
111272014-04-03 Roland McGrath <roland@hack.frob.com>
11128
11129 * elf/dl-unmap-segments.h: New file.
11130 * sysdeps/generic/ldsodefs.h
11131 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11132 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11133 * elf/dl-fptr.c: Likewise.
11134 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11135 * sysdeps/aarch64/tlsdesc.c: Likewise.
11136 * sysdeps/arm/tlsdesc.c: Likewise.
11137 * sysdeps/i386/tlsdesc.c: Likewise.
11138 * sysdeps/tile/dl-runtime.c: Likewise.
11139 * sysdeps/x86_64/tlsdesc.c: Likewise.
11140 * elf/dl-load.h: New file.
11141 * elf/dl-load.c: Include it.
11142 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11143 Macros moved to dl-load.h.
11144 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11145 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11146 Use _dl_unmap_segments in place of __munmap.
11147 Break out segment-mapping loop into ...
11148 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11149
f6488e2b
WN
111502014-04-03 Will Newton <will.newton@linaro.org>
11151
11152 * elf/dl-lookup.c (do_lookup_x): Remove comment
11153 referring to nested function and move variable
11154 declarations down to before first use.
11155
6f05bafe
JM
111562014-04-02 Joseph Myers <joseph@codesourcery.com>
11157
a84e78c8
JM
11158 [BZ #16799]
11159 [BZ #16800]
11160 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11161 with 0 numerator.
11162 * math/s_catanf.c (__catanf): Likewise.
11163 * math/s_catanh.c (__catanh): Likewise.
11164 * math/s_catanhf.c (__catanhf): Likewise.
11165 * math/s_catanhl.c (__catanhl): Likewise.
11166 * math/s_catanl.c (__catanl): Likewise.
11167 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11168 by positive zero when computing -Inf result.
11169 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11170 (catanh_test): Likewise.
11171 * sysdeps/i386/fpu/libm-test-ulps: Update.
11172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11173
6f05bafe
JM
11174 [BZ #16789]
11175 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11176 instead of using underflowing value in computing result.
11177 * math/s_clog10.c (__clog10): Likewise.
11178 * math/s_clog10f.c (__clog10f): Likewise.
11179 * math/s_clog10l.c (__clog10l): Likewise.
11180 * math/s_clogf.c (__clogf): Likewise.
11181 * math/s_clogl.c (__clogl): Likewise.
11182 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11183 (clog10_test): Likewise.
11184 * sysdeps/i386/fpu/libm-test-ulps: Update.
11185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11186
b0abbc21
AM
111872014-04-02 Alan Modra <amodra@gmail.com>
11188
11189 [BZ #16739]
11190 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11191 output when value is near a power of two. Use int64_t for lx and
11192 remove casts. Use decimal rather than hex exponent constants.
11193 Don't use long double multiplication when double will suffice.
11194 * math/libm-test.inc (nextafter_test_data): Add tests.
11195 * NEWS: Add 16739 and 16786 to bug list.
11196
af6b1797
AM
11197 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11198
483818d7
AM
11199 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11200
f6c55796
WN
112012014-04-01 Will Newton <will.newton@linaro.org>
11202
11203 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11204 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11205
13f7fe35
FW
112062014-04-01 Florian Weimer <fweimer@redhat.com>
11207
11208 [BZ #13347]
11209 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11210 * nptl/tst-setuid2.c: New file.
11211 * nptl/Makefile (xtests): Add tst-setuid2.
11212
c859b32e
AM
112132014-04-01 Alan Modra <amodra@gmail.com>
11214
11215 [BZ #16786]
11216 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11217
54fa2475
JM
112182014-03-31 Joseph Myers <joseph@codesourcery.com>
11219
8795b4a4
JM
11220 [BZ #6803]
11221 [BZ #6804]
11222 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11223 set errno as appropriate.
11224 * math/w_scalbf.c (__scalbf): Likewise.
11225 * math/w_scalbl.c (__scalbl): Likewise.
11226 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11227 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11228 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11229 Add more NaN tests.
11230
54fa2475
JM
11231 [BZ #16349]
11232 * math/w_atan2.c: Include <errno.h>.
11233 (__atan2): Set errno for result underflowing to zero.
11234 * math/w_atan2f.c: Include <errno.h>.
11235 (__atan2f): Set errno for result underflowing to zero.
11236 * math/w_atan2l.c: Include <errno.h>.
11237 (__atan2l): Set errno for result underflowing to zero.
11238 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11239 tests.
11240 * math/auto-libm-test-out: Regenerated.
11241
757d9dd5
AZ
112422014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11243
11244 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11245 Encode instruction correctly in little endian.
11246 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11247 Likewise.
11248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11249 Likewise.
11250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11251 Likewise.
11252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11253 Likewise.
11254
d7a68734
JM
112552014-03-31 Joseph Myers <joseph@codesourcery.com>
11256
47c5adeb
JM
11257 [BZ #9894]
11258 * sysdeps/unix/sysv/linux/kernel-features.h
11259 [__sparc__ && !__arch64__ && !__sparc_v9__]
11260 (__ASSUME_SET_ROBUST_LIST): Do not define.
11261 [__sparc__ && !__arch64__ && !__sparc_v9__]
11262 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11263 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11264 Likewise.
11265 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11266 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11267 (__ASSUME_REQUEUE_PI): Likewise.
11268 (__ASSUME_SET_ROBUST_LIST): Likewise.
11269 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11270 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11271 Undefine.
11272 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11273 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11274 Likewise.
11275 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11276 Likewise.
11277 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11278 Likewise.
11279 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11280 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11281 Undefine.
11282 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11283 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11284 Likewise.
11285
d7a68734
JM
11286 [BZ #16648]
11287 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11288 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11289 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11290
c760f5c2
WN
112912014-03-31 Will Newton <will.newton@linaro.org>
11292
11293 * benchtests/Makefile (bench): Add ffs and ffsll to list
11294 of tests.
11295 * benchtests/ffs-inputs: New file.
11296 * benchtests/ffsll-inputs: Likewise.
11297
ea6029b1
JM
112982014-03-29 Joseph Myers <joseph@codesourcery.com>
11299
11300 [BZ #16770]
11301 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11302 too large before casting to int.
11303 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11304 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11305 * math/libm-test.inc (scalb_test_data): Add more tests.
11306
cf806aff
SP
113072014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11308
56737508
SP
11309 * benchtests/Makefile (DETAILED_OPT): New make option.
11310 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11311 set.
11312 * benchtests/bench-skeleton.c: Include stdbool.h.
11313 (main): Store and print timings per input.
11314 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11315 member to each argument value.
11316 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11317 (_print_arg_data): Initialize per-input timing to 0.
11318
cb5e4aad
SP
11319 * benchtests/Makefile (timing-type): New binary.
11320 (bench-clean): Also remove bench-timing-type.
11321 (bench): New target for timing-type.
11322 (bench-func): Print output in JSON format.
11323 * benchtests/bench-skeleton.c (main): Print output in JSON
11324 format.
11325 * benchtests/bench-timing-type.c: New file.
11326 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11327 (TIMING_PRINT_STATS): Remove.
11328 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11329 name separately.
11330
cf806aff
SP
11331 * benchtests/bench-modf.c: Remove.
11332 * benchtests/modf-inputs: New inputs file.
11333
289e0779
JM
113342014-03-28 Joseph Myers <joseph@codesourcery.com>
11335
11336 [BZ #16362]
11337 * math/s_clog10.c (M_PI_LOG10E): New macro.
11338 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11339 imaginary parts are 0.
11340 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11341 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11342 imaginary parts are 0.
11343 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11344 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11345 imaginary parts are 0.
11346 * math/libm-test.inc (clog10_test_data): Update expected results
11347 for when real and imaginary parts are 0.
11348
277ae3f1
PP
113492014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11350
11351 * elf/dl-load.c: Finish conversion of __builtin_expect into
11352 __glibc_{un}likely.
11353
03a7091f
JM
113542014-03-27 Joseph Myers <joseph@codesourcery.com>
11355
11356 [BZ #16348]
11357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11358 1+x for argument with exponent below -67.
11359 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11360 Likewise.
11361 * math/auto-libm-test-in: Add more tests of exp.
11362 * math/auto-libm-test-out: Regenerated.
11363
ea7d8b95
SP
113642014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11365
dd3022d7
SP
11366 [BZ #16759]
11367 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11368 (nscd_getnetgrent): Use it.
11369
ea7d8b95
SP
11370 [BZ #16760]
11371 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11372 of stpcpy.
11373
df5b85da
AK
113742014-03-27 Andi Kleen <ak@linux.intel.com>
11375
57f41c40
AS
11376 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11377 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11378 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11379 (lll_robust_unlock): Remove out of line section. Use cfi
11380 intrinsics.
df5b85da 11381 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11382 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11383 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11384 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11385 (lll_robust_unlock): Remove out of line section. Use cfi
11386 intrinsics.
df5b85da
AK
11387 (LLL_STUB_UNWIND_INFO*): Remove.
11388
fbd6b5a4
SP
113892014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11390
11391 [BZ #16758]
11392 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11393 blank values.
11394
1b26b855
PP
113952014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11396
11397 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11398
9be36fb8
JM
113992014-03-26 Joseph Myers <joseph@codesourcery.com>
11400
11401 [BZ #16198]
11402 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11403 fnstenv.
11404 * math/test-fenv-preserve.c: New file.
11405 * math/Makefile (tests): Add test-fenv-preserve.
11406
60a2f3c1
WN
114072014-03-26 Will Newton <will.newton@linaro.org>
11408
11409 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11410
a5e5f1e2
RM
114112014-03-25 Roland McGrath <roland@hack.frob.com>
11412
11413 * scripts/versionlist.awk: Partition the version sets and emit all
11414 GLIBC_* (sorted) before all others (sorted).
11415
00f4012a
JM
114162014-03-25 Joseph Myers <joseph@codesourcery.com>
11417
11418 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11419 GLIBC_2.2.5 version.
11420
7bc5a741
AZ
114212014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11422
11423 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11424 calls.
11425
7578473b
AZ
11426 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11427 previous change.
11428
f3f1dab3
AZ
11429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11430
6da36183
AS
114312014-03-25 Andreas Schwab <schwab@suse.de>
11432
11433 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11434 label to be used after in6ailist is initialized.
11435
f3f1dab3 114362014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11437
7578473b 11438 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11439 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11440
046651c1
JM
114412014-03-25 Joseph Myers <joseph@codesourcery.com>
11442
11443 [BZ #16357]
11444 [BZ #16599]
11445 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11446 min_plus_half.
11447 (fp_formats): Update initializers.
11448 (init_fp_formats): Initialize new field.
11449 (output_for_one_input_case): Allow underflow for results up to
11450 min_plus_half.
11451 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11452 * math/auto-libm-test-in: Don't mark some underflows from asin and
11453 atanh as spurious.
11454 * math/auto-libm-test-out: Regenerated.
11455 * sysdeps/i386/fpu/libm-test-ulps: Update.
11456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11457
003e49ed
AS
114582014-03-25 Andreas Schwab <schwab@suse.de>
11459
11460 * libio/Makefile (tst-ftell-partial-wide-ENV)
11461 (tst-ftell-active-handler-ENV): Define.
11462
de031874
SL
114632014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11464
11465 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11466
55a81e3b
PP
114672014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11468
11469 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11470
f3426898
JM
114712014-03-24 Joseph Myers <joseph@codesourcery.com>
11472
11473 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11474 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11475 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11476
a42faf59
PP
114772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11478
11479 [BZ #16634]
a42faf59 11480 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11481 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11482 (open_path): Change from boolean 'secure' to complete flag 'mode'
11483 (_dl_map_object): Adjust.
a42faf59
PP
11484 * elf/Makefile (tests): Add tst-dlopen-aout.
11485 * elf/tst-dlopen-aout.c: New test.
11486
50936127
SL
114872014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11488
11489 [BZ #16714]
11490 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11491 (struct stat): Rename member pad0 to __glibc_reserved0.
11492
26011b5c
SL
11493 [BZ #16712]
11494 * sysdeps/s390/s390-32/bits/wordsize.h
11495 (__WORDSIZE32_SIZE_ULONG): New define.
11496 * sysdeps/s390/s390-64/bits/wordsize.h
11497 (__WORDSIZE32_SIZE_ULONG): Likewise.
11498 * sysdeps/generic/stdint.h (SIZE_MAX):
11499 Define as UL if __WORDSIZE32_SIZE_ULONG.
11500
a2d86bf1
SL
11501 [BZ #16713]
11502 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11503 (__glibc_reserved0): New variable.
11504 (sa_flags): Change type to int.
11505
78b6eebc
SL
11506 * posix/Makefile (before-compile): Use += before-compile instead
11507 of a :=.
11508
f1399b5a
SL
11509 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11510 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11511
a071766e
AS
115122014-03-20 Andreas Schwab <schwab@suse.de>
11513
11514 [BZ #16743]
11515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11516 non-matching result from nscd.
11517
27c673b8
SP
115182014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11519
11520 * scripts/bench.py: Moved to ...
11521 * benchtests/scripts/bench.py: ... here.
11522 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11523
44152e4b
AS
115242014-03-24 Andreas Schwab <schwab@suse.de>
11525
11526 [BZ #16002]
11527 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11528 alloca_account and account alloca use for struct in6ailist.
11529
b376a11a
JM
115302014-03-24 Joseph Myers <joseph@codesourcery.com>
11531
11532 [BZ #16284]
11533 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11534 rounding mode to recompute results that overflow to infinity or
11535 underflow to zero.
11536 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11537 bug 16284.
11538 * math/auto-libm-test-out: Regenerated.
11539 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11540 (ccosh_test): Likewise.
11541 (csin_test_data): Use plus_oflow.
11542 (csin_test): Use ALL_RM_TEST.
11543 (csinh_test_data): Use plus_oflow.
11544 (csinh_test): Use ALL_RM_TEST.
11545 * sysdeps/i386/fpu/libm-test-ulps: Update.
11546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11547
f7be7376
JM
115482014-03-21 Joseph Myers <joseph@codesourcery.com>
11549
1ca2d03e
JM
11550 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11551 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11552 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11553
f7be7376
JM
11554 [BZ #16731]
11555 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11556 when x - 1 is zero.
11557 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11558 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11559 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11561 argument is 1.
11562 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11563 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11564 zero.
11565 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11566 * sysdeps/i386/fpu/libm-test-ulps: Update.
11567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11568
fdf4534d
SP
115692014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11570
df26ea53
SP
11571 * scripts/bench.pl: Remove file.
11572 * scripts/bench.py: New benchmark script.
11573 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11574 * benchtests/README: Mention python dependency.
11575 * scripts/pylintrc: New file.
11576 * scripts/pylint: New file.
11577
fdf4534d
SP
11578 * bits/mathdef.h: Use #ifdef instead of #if.
11579 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11580 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11581 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11582 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11583 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11584 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11585
6f23d093
AZ
115862014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11587 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11588
11589 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11591 and strpbrk-ppc64 objects.
11592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11593 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11594 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11595 multiarch strpbrk for POWER7.
11596 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11597 multiarch strpbrk for PPC64.
11598 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11599 ifunc selector.
11600 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11601 strpbrk for POWER7.
11602
8c92dfff
JM
116032014-03-20 Joseph Myers <joseph@codesourcery.com>
11604
11605 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11606 (atan_test): Likewise.
11607 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11608 (atanh_test): Use ALL_RM_TEST.
11609 (atan2_test_data): Likewise.
11610 (cabs_test): Likewise.
11611 (cacosh_test): Likewise.
11612 (carg_test): Likewise.
11613 (casin_test): Likewise.
11614 (casinh_test): Likewise.
11615 (cbrt_test): Likewise.
11616 (csqrt_test): Likewise.
11617 (erf_test): Likewise.
11618 (erfc_test): Likewise.
11619 (pow10_test): Likewise.
11620 (exp2_test): Likewise.
11621 (hypot_test): Likewise.
11622 (j0_test): Likewise.
11623 (j1_test): Likewise.
11624 (lgamma_test): Likewise.
11625 (gamma_test): Likewise.
11626 (sincos_test): Likewise.
11627 (tanh_test): Likewise.
11628 (y0_test): Likewise.
11629 (y1_test): Likewise.
11630 * sysdeps/i386/fpu/libm-test-ulps: Update.
11631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11632
6eaf95cb
AZ
116332014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11634
a387428c
SP
11635 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11637 and strcspn-ppc64 objects.
11638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11639 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11640 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11641 multiarch strcspn for POWER7.
11642 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11643 multiarch strcspn for PPC64.
11644 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11645 ifunc selector.
11646 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11647 strcspn for POWER7.
11648
ae3a5dff
JM
116492014-03-20 Joseph Myers <joseph@codesourcery.com>
11650
11651 * math/gen-libm-test.pl (generate_testfile): Expect only function
11652 name as argument to AUTO_TESTS_* and pass results for all rounding
11653 modes to parse_args.
11654 (parse_auto_input): Separate inputs of automatic tests from
11655 outputs before storing in %auto_tests.
11656 * math/libm-test.inc (acos_test_data): Update call to
11657 AUTO_TESTS_f_f.
11658 (acos_test): Use ALL_RM_TEST.
11659 (acos_tonearest_test_data): Remove.
11660 (acos_test_tonearest): Likewise.
11661 (acos_towardzero_test_data): Likewise.
11662 (acos_test_towardzero): Likewise.
11663 (acos_downward_test_data): Likewise.
11664 (acos_test_downward): Likewise.
11665 (acos_upward_test_data): Likewise.
11666 (acos_test_upward): Likewise.
11667 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11668 (asin_test_data): Likewise.
11669 (asin_test): Use ALL_RM_TEST.
11670 (asin_tonearest_test_data): Remove.
11671 (asin_test_tonearest): Likewise.
11672 (asin_towardzero_test_data): Likewise.
11673 (asin_test_towardzero): Likewise.
11674 (asin_downward_test_data): Likewise.
11675 (asin_test_downward): Likewise.
11676 (asin_upward_test_data): Likewise.
11677 (asin_test_upward): Likewise.
11678 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11679 (atan_test_data): Likewise.
11680 (atanh_test_data): Likewise.
11681 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11682 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11683 (carg_test_data): Likewise.
11684 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11685 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11686 (ccosh_test_data): Likewise.
11687 (cexp_test_data): Likewise.
11688 (clog_test_data): Likewise.
11689 (clog10_test_data): Likewise.
11690 (cos_test_data): Update call to AUTO_TESTS_f_f.
11691 (cos_test): Use ALL_RM_TEST.
11692 (cos_tonearest_test_data): Remove.
11693 (cos_test_tonearest): Likewise.
11694 (cos_towardzero_test_data): Likewise.
11695 (cos_test_towardzero): Likewise.
11696 (cos_downward_test_data): Likewise.
11697 (cos_test_downward): Likewise.
11698 (cos_upward_test_data): Likewise.
11699 (cos_test_upward): Likewise.
11700 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11701 (cosh_test): Use ALL_RM_TEST.
11702 (cosh_tonearest_test_data): Remove.
11703 (cosh_test_tonearest): Likewise.
11704 (cosh_towardzero_test_data): Likewise.
11705 (cosh_test_towardzero): Likewise.
11706 (cosh_downward_test_data): Likewise.
11707 (cosh_test_downward): Likewise.
11708 (cosh_upward_test_data): Likewise.
11709 (cosh_test_upward): Likewise.
11710 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11711 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11712 (ctan_test_data): Likewise.
11713 (ctan_test): Use ALL_RM_TEST.
11714 (ctan_tonearest_test_data): Remove.
11715 (ctan_test_tonearest): Likewise.
11716 (ctan_towardzero_test_data): Likewise.
11717 (ctan_test_towardzero): Likewise.
11718 (ctan_downward_test_data): Likewise.
11719 (ctan_test_downward): Likewise.
11720 (ctan_upward_test_data): Likewise.
11721 (ctan_test_upward): Likewise.
11722 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11723 (ctanh_test): Use ALL_RM_TEST.
11724 (ctanh_tonearest_test_data): Remove.
11725 (ctanh_test_tonearest): Likewise.
11726 (ctanh_towardzero_test_data): Likewise.
11727 (ctanh_test_towardzero): Likewise.
11728 (ctanh_downward_test_data): Likewise.
11729 (ctanh_test_downward): Likewise.
11730 (ctanh_upward_test_data): Likewise.
11731 (ctanh_test_upward): Likewise.
11732 (erf_test_data): Update call to AUTO_TESTS_f_f.
11733 (erfc_test_data): Likewise.
11734 (exp_test_data): Likewise.
11735 (exp_test): Use ALL_RM_TEST.
11736 (exp_tonearest_test_data): Remove.
11737 (exp_test_tonearest): Likewise.
11738 (exp_towardzero_test_data): Likewise.
11739 (exp_test_towardzero): Likewise.
11740 (exp_downward_test_data): Likewise.
11741 (exp_test_downward): Likewise.
11742 (exp_upward_test_data): Likewise.
11743 (exp_test_upward): Likewise.
11744 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11745 (exp10_test): Use ALL_RM_TEST.
11746 (exp10_tonearest_test_data): Remove.
11747 (exp10_test_tonearest): Likewise.
11748 (exp10_towardzero_test_data): Likewise.
11749 (exp10_test_towardzero): Likewise.
11750 (exp10_downward_test_data): Likewise.
11751 (exp10_test_downward): Likewise.
11752 (exp10_upward_test_data): Likewise.
11753 (exp10_test_upward): Likewise.
11754 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11755 (expm1_test_data): Likewise.
11756 (expm1_test): Use ALL_RM_TEST.
11757 (expm1_tonearest_test_data): Remove.
11758 (expm1_test_tonearest): Likewise.
11759 (expm1_towardzero_test_data): Likewise.
11760 (expm1_test_towardzero): Likewise.
11761 (expm1_downward_test_data): Likewise.
11762 (expm1_test_downward): Likewise.
11763 (expm1_upward_test_data): Likewise.
11764 (expm1_test_upward): Likewise.
11765 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11766 (fma_test): Use ALL_RM_TEST.
11767 (fma_towardzero_test_data): Remove.
11768 (fma_test_towardzero): Likewise.
11769 (fma_downward_test_data): Likewise.
11770 (fma_test_downward): Likewise.
11771 (fma_upward_test_data): Likewise.
11772 (fma_test_upward): Likewise.
11773 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11774 (j0_test_data): Update call to AUTO_TESTS_f_f.
11775 (j1_test_data): Likewise.
11776 (jn_test_data): Update call to AUTO_TESTS_if_f.
11777 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11778 (log_test_data): Update call to AUTO_TESTS_f_f.
11779 (log10_test_data): Likewise.
11780 (log1p_test_data): Likewise.
11781 (log2_test_data): Likewise.
11782 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11783 (pow_tonearest_test_data): Likewise.
11784 (sin_test_data): Update call to AUTO_TESTS_f_f.
11785 (sin_test): Use ALL_RM_TEST.
11786 (sin_tonearest_test_data): Remove.
11787 (sin_test_tonearest): Likewise.
11788 (sin_towardzero_test_data): Likewise.
11789 (sin_test_towardzero): Likewise.
11790 (sin_downward_test_data): Likewise.
11791 (sin_test_downward): Likewise.
11792 (sin_upward_test_data): Likewise.
11793 (sin_test_upward): Likewise.
11794 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11795 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11796 (sinh_test): Use ALL_RM_TEST.
11797 (sinh_tonearest_test_data): Remove.
11798 (sinh_test_tonearest): Likewise.
11799 (sinh_towardzero_test_data): Likewise.
11800 (sinh_test_towardzero): Likewise.
11801 (sinh_downward_test_data): Likewise.
11802 (sinh_test_downward): Likewise.
11803 (sinh_upward_test_data): Likewise.
11804 (sinh_test_upward): Likewise.
11805 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11806 (sqrt_test): Use ALL_RM_TEST.
11807 (sqrt_tonearest_test_data): Remove.
11808 (sqrt_test_tonearest): Likewise.
11809 (sqrt_towardzero_test_data): Likewise.
11810 (sqrt_test_towardzero): Likewise.
11811 (sqrt_downward_test_data): Likewise.
11812 (sqrt_test_downward): Likewise.
11813 (sqrt_upward_test_data): Likewise.
11814 (sqrt_test_upward): Likewise.
11815 (tan_test_data): Update call to AUTO_TESTS_f_f.
11816 (tan_test): Use ALL_RM_TEST.
11817 (tan_tonearest_test_data): Remove.
11818 (tan_test_tonearest): Likewise.
11819 (tan_towardzero_test_data): Likewise.
11820 (tan_test_towardzero): Likewise.
11821 (tan_downward_test_data): Likewise.
11822 (tan_test_downward): Likewise.
11823 (tan_upward_test_data): Likewise.
11824 (tan_test_upward): Likewise.
11825 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11826 (tgamma_test_data): Likewise.
11827 (y0_test_data): Likewise.
11828 (y1_test_data): Likewise.
11829 (yn_test_data): Update call to AUTO_TESTS_if_f.
11830 (main): Do not call removed functions.
11831
d71aeee8
JM
118322014-03-19 Joseph Myers <joseph@codesourcery.com>
11833
11834 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11835 (ldexp_test_data): Remove.
11836 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11837 scalbn_test_data.
11838 (scalb_test): Use ALL_RM_TEST.
11839
baaf1ded
AS
118402014-03-19 Andreas Schwab <schwab@suse.de>
11841
11842 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11843
b1115e91
JM
118442014-03-19 Joseph Myers <joseph@codesourcery.com>
11845
11846 [BZ #16649]
11847 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11848 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11849 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11851 (__ASSUME_PREADV): Undefine.
11852 (__ASSUME_PWRITEV): Likewise.
11853
0283ecca
RM
118542014-03-18 Roland McGrath <roland@hack.frob.com>
11855
7d375303
RM
11856 * bits/mman-linux.h: Add comment about non-Linux use.
11857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11858 bits/mman-linux.h resting place.
11859
0283ecca
RM
11860 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11861 * bits/mman-linux.h: ... here.
11862
aebe1003
AZ
118632014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864
11865 * conform/conformtest.pl: Add standard definition when calling C
11866 preprocessor on data files.
11867 (checknamespace): Remove unused variable.
11868
b29b6bb8
JM
118692014-03-18 Joseph Myers <joseph@codesourcery.com>
11870
11871 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11872 minus_oflow, plus_uflow and minus_uflow in expected results.
11873 * math/libm-test.inc (scalbn_test_data): Add more tests of
11874 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11875 minus_uflow.
11876 (scalbn_test): Use ALL_RM_TEST.
11877 (scalbln_test_data): Add more tests of negative arguments. Use
11878 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11879 (scalbln_test): Use ALL_RM_TEST.
11880
c8f8fa15
RM
118812014-03-18 Roland McGrath <roland@hack.frob.com>
11882
11883 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11884
fede7a5f
WN
118852014-03-18 Will Newton <will.newton@linaro.org>
11886
11887 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11888 inaccurate comment.
11889
80cf0a58
JM
118902014-03-18 Joseph Myers <joseph@codesourcery.com>
11891
11892 * Makerules [!subdir] (check-abi): Exit with error status if a
11893 test failed.
11894
b3620862
JM
118952014-03-17 Joseph Myers <joseph@codesourcery.com>
11896
11897 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11898 for rint. Include results for all rounding modes.
11899 (nearbyint_test): Use ALL_RM_TEST.
11900 (rint_test_data): Include all tests used for nearbyint.
11901
788bba36
WN
119022014-03-17 Will Newton <will.newton@linaro.org>
11903
04ec140a
WN
11904 * nptl/sysdeps/pthread/pthread.h: Revert previous
11905 change.
11906
7579d8d5
WN
11907 * sysdeps/generic/ldsodefs.h: Revert previous
11908 change.
11909
c15cf13a
WN
11910 * libio/genops.c: Revert previous change.
11911 * libio/libioP.h: Likewise.
11912 * stdio-common/vfprintf.c: Likewise.
11913
d0ac1324
WN
11914 * sysdeps/generic/math_private.h: Revert previous
11915 change.
11916
9290130a
WN
11917 * sysdeps/generic/math_private.h: Check whether
11918 HAVE_RM_CTX is defined with #ifdef rather
11919 than #if.
11920
afb466fc
WN
11921 * argp/argp-fmtstream.h: Check whether
11922 __STRICT_ANSI__ is defined with #ifdef rather
11923 than #if.
11924 * argp/argp.h: Likewise.
11925
f7efd7c3
WN
11926 * libio/genops.c: Check whether
11927 _IO_JUMPS_OFFSET is defined with #ifdef rather
11928 than #if.
11929 * libio/libioP.h: Likewise.
11930 * stdio-common/vfprintf.c: Likewise.
11931
53f1bed3
WN
11932 * sysdeps/generic/ldsodefs.h: Check whether
11933 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11934 than #if.
11935
788bba36
WN
11936 * nptl/sysdeps/pthread/pthread.h: Check
11937 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11938 its value.
11939
fcd89ebe
SP
119402014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11941
ae42bbc5
SP
11942 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11943 setting O_APPEND.
11944 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11945 test case.
11946
ea33158c
SP
11947 [BZ #16680]
11948 * libio/fileops.c (_IO_file_open): Seek to end of file but
11949 don't cache the offset.
11950 (get_file_offset): Remove function.
11951 (do_ftell): Use cached offset when available.
11952 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11953 don't cache the offset.
11954 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11955 case.
11956 (do_one_test): Call it.
11957 (do_ftell_test): Fix up expected old offset for a+ mode.
11958 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11959 available.
11960
b1dbb426
SP
11961 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11962 up test status with function return status.
11963 (do_write_test): Likewise.
11964 (do_append_test): Likewise.
11965
fcd89ebe
SP
11966 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11967 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11968 Remove.
11969
9962a2d3
JM
119702014-03-17 Joseph Myers <joseph@codesourcery.com>
11971
11972 * math/gen-libm-test.pl (parse_args): Handle results specified for
11973 each rounding mode separately.
11974 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11975 tests and results from lrint_tonearest_test_data,
11976 lrint_towardzero_test_data, lrint_downward_test_data and
11977 lrint_upward_test_data.
11978 (lrint_test): Use ALL_RM_TEST.
11979 (lrint_tonearest_test_data): Remove.
11980 (lrint_test_tonearest): Likewise.
11981 (lrint_towardzero_test_data): Likewise.
11982 (lrint_test_towardzero): Likewise.
11983 (lrint_downward_test_data): Likewise.
11984 (lrint_test_downward): Likewise.
11985 (lrint_upward_test_data): Likewise.
11986 (lrint_test_upward): Likewise.
11987 (llrint_test_data): Merge in per-rounding-mode tests and results
11988 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11989 llrint_downward_test_data and llrint_upward_test_data.
11990 (llrint_test): Use ALL_RM_TEST.
11991 (llrint_tonearest_test_data): Remove.
11992 (llrint_test_tonearest): Likewise.
11993 (llrint_towardzero_test_data): Likewise.
11994 (llrint_test_towardzero): Likewise.
11995 (llrint_downward_test_data): Likewise.
11996 (llrint_test_downward): Likewise.
11997 (llrint_upward_test_data): Likewise.
11998 (llrint_test_upward): Likewise.
11999 (rint_test_data): Merge in per-rounding-mode tests and results
12000 from rint_tonearest_test_data, rint_towardzero_test_data,
12001 rint_downward_test_data and rint_upward_test_data. Add
12002 per-rounding-mode results for tests not in those arrays.
12003 (rint_test): Use ALL_RM_TEST.
12004 (rint_tonearest_test_data): Remove.
12005 (rint_test_tonearest): Likewise.
12006 (rint_towardzero_test_data): Likewise.
12007 (rint_test_towardzero): Likewise.
12008 (rint_downward_test_data): Likewise.
12009 (rint_test_downward): Likewise.
12010 (rint_upward_test_data): Likewise.
12011 (rint_test_upward): Likewise.
12012 (main): Don't call removed functions.
12013
5006148e
RM
120142014-03-14 Roland McGrath <roland@hack.frob.com>
12015
12016 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12017 "Compiled on ..." crapola. It is anti-useful.
12018
d6fe5e58
JM
120192014-03-14 Joseph Myers <joseph@codesourcery.com>
12020
12021 * scripts/evaluate-test.sh: Handle fourth argument to determine
12022 whether test run should stop on failure.
12023 * Makeconfig (stop-on-test-failure): New variable.
12024 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12025 $(stop-on-test-failure).
12026 * Makefile (tests): Give a summary of results from testing and
12027 exit with failure status if they include an ERROR or FAIL.
12028 (xtests): Likewise.
12029 * manual/install.texi (Configuring and compiling): Mention
12030 stop-on-test-failure=y.
12031 * INSTALL: Regenerated.
12032
498a2233
RM
120332014-03-14 Roland McGrath <roland@hack.frob.com>
12034
22dbc19d
RM
12035 * scripts/versionlist.awk: New file.
12036 * Makerules [$(build-shared) = yes]
12037 (postclean-generated): Add Versions.def, not Versions.def.v and
12038 Versions.def.v.i.
12039 ($(common-objpfx)Versions.def.v.i): Target removed.
12040 ($(common-objpfx)Versions.def): New target.
12041 ($(common-objpfx)Versions.all): Depend on that rather that
12042 $(common-objpfx)Versions.def.v.
12043 * Versions.def: File removed.
12044
498a2233
RM
12045 * Makeconfig (+gccwarn): Add -Wundef.
12046 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12047 a dl-sysdep.h breaking its contract.
12048 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12049 * include/stackinfo.h: New file.
12050 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12051 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12052 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12053 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12054 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12055 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12056 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12057 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12058 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12059 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12060 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12061 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12062 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12063 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12064 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12065
c7de5025
AZ
120662014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12067
12068 [BZ #16707]
12069 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12070 implementation.
12071 * math/libm-test.inc (round_test_data): Add more tests.
12072
98fb27a3
AZ
12073 [BZ #16706]
12074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12075 implementation.
12076 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12077
374f7f61
AZ
12078 [BZ #16701]
12079 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12080 implementation.
12081 * math/libm-test.inc (ceil_test_data): Add more tests.
12082
4655c291
AZ
12083 * math/libm-test.inc (trunc_test_data): Add more tests related to
12084 BZ#16414.
12085
d7329d4b
RM
120862014-03-14 Roland McGrath <roland@hack.frob.com>
12087
12088 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12089 with #if rather than #ifdef.
12090 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12091
aa4de9ce
L
120922014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12095 first. Disable AVX-512 GCC support if assembler doesn't support
12096 it.
12097 * sysdeps/x86_64/configure: Regenerated.
12098
2e03fae7
CD
120992014-03-13 Carlos O'Donell <carlos@redhat.com>
12100
12101 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12102 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12103 (__old_pthread_attr_setstack): Likewise.
12104 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12105 [!_STACK_GROWS_DOWN]: Likewise.
12106
43ca83ec
MF
121072014-03-13 Mike Frysinger <vapier@gentoo.org>
12108
12109 * config.make.in (have-bash2): Delete.
12110 * configure.ac (libc_cv_have_bash2): Delete.
12111 * configure: Regenerate.
12112 * elf/Makefile (common-ldd-rewrite): Rename to ...
12113 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12114 (sh-ldd-rewrite): Delete.
12115 (bash-ldd-rewrite): Delete.
12116 (have-bash2): Delete checks.
57f41c40
AS
12117 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12118 ldd-rewrite.
c66e48b4
MF
12119
12120 * config.make.in (have-ksh): Delete.
12121 (KSH): Delete.
12122 * configure.ac (libc_cv_have_ksh): Delete.
12123 * configure: Regenerate.
12124
b93834ef
MF
12125 * elf/Makefile: Delete $(have-ksh) check.
12126 ($(objpfx)sotruss): Change KSH to BASH.
12127 * elf/sotruss.ksh: Rename to ...
12128 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12129 function style to match POSIX. Drop ksh vim mode setting.
12130
f3a4632a
MF
12131 * manual/time.texi (Specifying the Time Zone with TZ): Change
12132 Tuesday to Thursday.
12133
5896c8bd
MF
12134 * debug/tst-longjmp_chk2.c: Update header comment.
12135 (stackoverflow_handler): Add comment. Call assert on pass value.
12136
2d63a517
IZ
121372014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12138
7e54fd04 12139 [BZ #16194]
2d63a517
IZ
12140 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12141 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12142 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12143 (La_x86_64_vector): Add zmm.
12144 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12145 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12146 ($(objpfx)tst-audit10): New target.
12147 ($(objpfx)tst-audit10.out): Likewise.
12148 (tst-audit10-ENV): New.
12149 (AVX512-CFLAGS): Likewise.
12150 (CFLAGS-tst-audit10.c): Likewise.
12151 (CFLAGS-tst-auditmod10a.c): Likewise.
12152 (CFLAGS-tst-auditmod10b.c): Likewise.
12153 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12154 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12155 * sysdeps/x86_64/configure: Regenerated.
12156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12157 AVX-512 zmm register support.
12158 (_dl_x86_64_save_sse): Likewise.
12159 (_dl_x86_64_restore_sse): Likewise.
12160 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12161 size vector registers.
12162 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12163 (ZMM_SIZE): Likewise.
12164 * sysdeps/x86_64/tst-audit10.c: New file.
12165 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12166 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12167
44c4e5d5
RM
121682014-03-13 Roland McGrath <roland@hack.frob.com>
12169
12170 * configure.ac (HAVE_EHDR_START): New check.
12171 * configure: Regenerated.
12172 * config.h.in (HAVE_EHDR_START): New #undef.
12173 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12174 assuming the lowest-addressed segment maps the start of the file.
12175
acd6e389
JM
121762014-03-13 Joseph Myers <joseph@codesourcery.com>
12177
12178 * INSTALL: Regenerated.
12179
6f918f36
WN
121802014-03-13 Will Newton <will.newton@linaro.org>
12181
12182 * manual/setjmp.texi (System V contexts): Improve
12183 clarity and grammar of documentation.
12184
798212a0
PP
121852014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12186
12187 [BZ #16381]
798212a0 12188 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 12189 (tests-pie): Add tst-pie2.
798212a0
PP
12190 * elf/tst-pie2.c: New file.
12191 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12192 for ET_EXEC.
12193 * elf/rtld.c (map_doit): Load executable as lt_executable.
12194 (dl_main): Likewise.
12195
abe6d90c
JM
121962014-03-12 Joseph Myers <joseph@codesourcery.com>
12197
12198 [BZ #16642]
12199 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12200 (__ASSUME_PSELECT): Undefine.
12201
dd3946c6
AZ
122022014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12203
12204 [BZ #16689]
12205 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12206 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12207 static build.
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12209 selector for static builds.
12210
c44496df
SP
122112014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12212
12213 [BZ #16695]
12214 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12215 key in the buffer.
12216
27c7220a
AZ
122172014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12218
57f41c40
AS
12219 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12220 IFUNC selector for static builds.
27c7220a 12221
600fa361
JM
122222014-03-11 Joseph Myers <joseph@codesourcery.com>
12223
76c96cf7
JM
12224 * sysdeps/mips/math_private.h [__mips_hard_float]
12225 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12226 libc_feresetround_mips_ctx.
12227 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12228 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12229 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12230
600fa361
JM
12231 [BZ #16677]
12232 * math/s_nextafter.c (__nextafter): Do not return value from
12233 overflowing computation.
12234 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12235 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12236 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12237 Likewise.
12238 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12239 Likewise.
12240 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12241 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12242
d7706c32
RM
122432014-03-11 Roland McGrath <roland@hack.frob.com>
12244
12245 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12246 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12247 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12248 the new mov targetting sp.
12249
4facea47
AZ
122502014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12251
12252 [BZ #16683]
12253 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12254 Define it for static builds as well.
12255 (NO_BZERO_IMPL): Likewise.
12256
e65caf1f
VR
122572014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12258
12259 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12260 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12261 multiarch strspn for PPC64.
12262 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12263 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12265 (__libc_ifunc_impl_list): Likewise.
12266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12267 multiarch optimizations
12268 * string/strspn.c (strspn): Using macro to redefine symbol name.
12269
ba9cc071
AZ
122702014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12271 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12272
12273 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12274 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12275 multiarch strncat for PPC64.
12276 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12277 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12279 (__libc_ifunc_impl_list): Likewise.
12280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12281 multiarch optimizations
12282
8b4ff974
SP
122832014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12284
12285 [BZ #16639]
12286 * nscd/nscd.service: Make service type forking.
12287
54b46a4b
AZ
122882014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12289
12290 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12291 sign in non default rounding modes.
12292 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12293
e9996ef7
JM
122942014-03-08 Joseph Myers <joseph@codesourcery.com>
12295
12296 * math/libm-test.inc (ALL_RM_TEST): New macro.
12297 (ceil_test): Use ALL_RM_TEST.
12298 (cimag_test): Likewise.
12299 (conj_test): Likewise.
12300 (copysign_test): Likewise.
12301 (cproj_test): Likewise.
12302 (creal_test): Likewise.
12303 (fabs_test): Likewise.
12304 (floor_test): Likewise.
12305 (fmax_test): Likewise.
12306 (fmin_test): Likewise.
12307 (fmod_test): Likewise.
12308 (fpclassify_test): Likewise.
12309 (frexp_test): Likewise.
12310 (ilogb_test): Likewise.
12311 (isfinite_test): Likewise.
12312 (finite_test): Likewise.
12313 (isgreater_test): Likewise.
12314 (isgreaterequal_test): Likewise.
12315 (isinf_test): Likewise.
12316 (isless_test): Likewise.
12317 (islessequal_test): Likewise.
12318 (islessgreater_test): Likewise.
12319 (isnan_test): Likewise.
12320 (isnormal_test): Likewise.
12321 (issignaling_test): Likewise.
12322 (isunordered_test): Likewise.
12323 (logb_test): Likewise.
12324 (logb_downward_test_data): Remove.
12325 (logb_test_downward): Likewise.
12326 (lround_test): Use ALL_RM_TEST.
12327 (llround_test): Likewise.
12328 (modf_test): Likewise.
12329 (nexttoward_test): Likewise.
12330 (remainder_test): Likewise.
12331 (drem_test): Likewise.
12332 (remainder_tonearest_test_data): Likewise.
12333 (remainder_test_tonearest): Likewise.
12334 (drem_test_tonearest): Likewise.
12335 (remainder_towardzero_test_data): Likewise.
12336 (remainder_test_towardzero): Likewise.
12337 (drem_test_towardzero): Likewise.
12338 (remainder_downward_test_data): Likewise.
12339 (remainder_test_downward): Likewise.
12340 (drem_test_downward): Likewise.
12341 (remainder_upward_test_data): Likewise.
12342 (remainder_test_upward): Likewise.
12343 (drem_test_upward): Likewise.
12344 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12345 (round_test): Use ALL_RM_TEST.
12346 (signbit_test): Likewise.
12347 (trunc_test): Likewise.
12348 (significand_test): Likewise.
12349 (main): Don't call removed functions.
12350
bc61d27c
JM
123512014-03-07 Joseph Myers <joseph@codesourcery.com>
12352
5c780849
JM
12353 [BZ #16674]
12354 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12355 || __USE_XOPEN2K8].
12356 (ILL_ILLOPN): Likewise.
12357 (ILL_ILLADR): Likewise.
12358 (ILL_ILLTRP): Likewise.
12359 (ILL_PRVOPC): Likewise.
12360 (ILL_PRVREG): Likewise.
12361 (ILL_COPROC): Likewise.
12362 (ILL_BADSTK): Likewise.
12363 (FPE_INTDIV): Likewise.
12364 (FPE_INTOVF): Likewise.
12365 (FPE_FLTDIV): Likewise.
12366 (FPE_FLTOVF): Likewise.
12367 (FPE_FLTUND): Likewise.
12368 (FPE_FLTRES): Likewise.
12369 (FPE_FLTINV): Likewise.
12370 (FPE_FLTSUB): Likewise.
12371 (SEGV_MAPERR): Likewise.
12372 (SEGV_ACCERR): Likewise.
12373 (BUS_ADRALN): Likewise.
12374 (BUS_ADRERR): Likewise.
12375 (BUS_OBJERR): Likewise.
12376 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12377 (TRAP_TRACE): Likewise.
12378 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12379 __USE_XOPEN2K8].
12380 (CLD_KILLED): Likewise.
12381 (CLD_DUMPED): Likewise.
12382 (CLD_TRAPPED): Likewise.
12383 (CLD_STOPPED): Likewise.
12384 (CLD_CONTINUED): Likewise.
12385 (POLL_IN): Likewise.
12386 (POLL_OUT): Likewise.
12387 (POLL_MSG): Likewise.
12388 (POLL_ERR): Likewise.
12389 (POLL_PRI): Likewise.
12390 (POLL_HUP): Likewise.
12391 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12392 Likewise.
12393 (ILL_ILLOPN): Likewise.
12394 (ILL_ILLADR): Likewise.
12395 (ILL_ILLTRP): Likewise.
12396 (ILL_PRVOPC): Likewise.
12397 (ILL_PRVREG): Likewise.
12398 (ILL_COPROC): Likewise.
12399 (ILL_BADSTK): Likewise.
12400 (FPE_INTDIV): Likewise.
12401 (FPE_INTOVF): Likewise.
12402 (FPE_FLTDIV): Likewise.
12403 (FPE_FLTOVF): Likewise.
12404 (FPE_FLTUND): Likewise.
12405 (FPE_FLTRES): Likewise.
12406 (FPE_FLTINV): Likewise.
12407 (FPE_FLTSUB): Likewise.
12408 (SEGV_MAPERR): Likewise.
12409 (SEGV_ACCERR): Likewise.
12410 (BUS_ADRALN): Likewise.
12411 (BUS_ADRERR): Likewise.
12412 (BUS_OBJERR): Likewise.
12413 (BUS_MCEERR_AR): Likewise.
12414 (BUS_MCEERR_AO): Likewise.
12415 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12416 (TRAP_TRACE): Likewise.
12417 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12418 __USE_XOPEN2K8].
12419 (CLD_KILLED): Likewise.
12420 (CLD_DUMPED): Likewise.
12421 (CLD_TRAPPED): Likewise.
12422 (CLD_STOPPED): Likewise.
12423 (CLD_CONTINUED): Likewise.
12424 (POLL_IN): Likewise.
12425 (POLL_OUT): Likewise.
12426 (POLL_MSG): Likewise.
12427 (POLL_ERR): Likewise.
12428 (POLL_PRI): Likewise.
12429 (POLL_HUP): Likewise.
12430 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12431 (ILL_ILLOPN): Likewise.
12432 (ILL_ILLADR): Likewise.
12433 (ILL_ILLTRP): Likewise.
12434 (ILL_PRVOPC): Likewise.
12435 (ILL_PRVREG): Likewise.
12436 (ILL_COPROC): Likewise.
12437 (ILL_BADSTK): Likewise.
12438 (FPE_INTDIV): Likewise.
12439 (FPE_INTOVF): Likewise.
12440 (FPE_FLTDIV): Likewise.
12441 (FPE_FLTOVF): Likewise.
12442 (FPE_FLTUND): Likewise.
12443 (FPE_FLTRES): Likewise.
12444 (FPE_FLTINV): Likewise.
12445 (FPE_FLTSUB): Likewise.
12446 (SEGV_MAPERR): Likewise.
12447 (SEGV_ACCERR): Likewise.
12448 (BUS_ADRALN): Likewise.
12449 (BUS_ADRERR): Likewise.
12450 (BUS_OBJERR): Likewise.
12451 (BUS_MCEERR_AR): Likewise.
12452 (BUS_MCEERR_AO): Likewise.
12453 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12454 (TRAP_TRACE): Likewise.
12455 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12456 __USE_XOPEN2K8].
12457 (CLD_KILLED): Likewise.
12458 (CLD_DUMPED): Likewise.
12459 (CLD_TRAPPED): Likewise.
12460 (CLD_STOPPED): Likewise.
12461 (CLD_CONTINUED): Likewise.
12462 (POLL_IN): Likewise.
12463 (POLL_OUT): Likewise.
12464 (POLL_MSG): Likewise.
12465 (POLL_ERR): Likewise.
12466 (POLL_PRI): Likewise.
12467 (POLL_HUP): Likewise.
12468 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12469 Likewise.
12470 (ILL_ILLOPN): Likewise.
12471 (ILL_ILLADR): Likewise.
12472 (ILL_ILLTRP): Likewise.
12473 (ILL_PRVOPC): Likewise.
12474 (ILL_PRVREG): Likewise.
12475 (ILL_COPROC): Likewise.
12476 (ILL_BADSTK): Likewise.
12477 (ILL_BADIADDR): Likewise.
12478 (ILL_BREAK): Likewise.
12479 (FPE_INTDIV): Likewise.
12480 (FPE_INTOVF): Likewise.
12481 (FPE_FLTDIV): Likewise.
12482 (FPE_FLTOVF): Likewise.
12483 (FPE_FLTUND): Likewise.
12484 (FPE_FLTRES): Likewise.
12485 (FPE_FLTINV): Likewise.
12486 (FPE_FLTSUB): Likewise.
12487 (FPE_DECOVF): Likewise.
12488 (FPE_DECDIV): Likewise.
12489 (FPE_DECERR): Likewise.
12490 (FPE_INVASC): Likewise.
12491 (FPE_INVDEC): Likewise.
12492 (SEGV_MAPERR): Likewise.
12493 (SEGV_ACCERR): Likewise.
12494 (SEGV_PSTKOVF): Likewise.
12495 (BUS_ADRALN): Likewise.
12496 (BUS_ADRERR): Likewise.
12497 (BUS_OBJERR): Likewise.
12498 (BUS_MCEERR_AR): Likewise.
12499 (BUS_MCEERR_AO): Likewise.
12500 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12501 (TRAP_TRACE): Likewise.
12502 (TRAP_BRANCH): Likewise.
12503 (TRAP_HWBKPT): Likewise.
12504 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12505 __USE_XOPEN2K8].
12506 (CLD_KILLED): Likewise.
12507 (CLD_DUMPED): Likewise.
12508 (CLD_TRAPPED): Likewise.
12509 (CLD_STOPPED): Likewise.
12510 (CLD_CONTINUED): Likewise.
12511 (POLL_IN): Likewise.
12512 (POLL_OUT): Likewise.
12513 (POLL_MSG): Likewise.
12514 (POLL_ERR): Likewise.
12515 (POLL_PRI): Likewise.
12516 (POLL_HUP): Likewise.
12517 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12518 (ILL_ILLOPN): Likewise.
12519 (ILL_ILLADR): Likewise.
12520 (ILL_ILLTRP): Likewise.
12521 (ILL_PRVOPC): Likewise.
12522 (ILL_PRVREG): Likewise.
12523 (ILL_COPROC): Likewise.
12524 (ILL_BADSTK): Likewise.
12525 (FPE_INTDIV): Likewise.
12526 (FPE_INTOVF): Likewise.
12527 (FPE_FLTDIV): Likewise.
12528 (FPE_FLTOVF): Likewise.
12529 (FPE_FLTUND): Likewise.
12530 (FPE_FLTRES): Likewise.
12531 (FPE_FLTINV): Likewise.
12532 (FPE_FLTSUB): Likewise.
12533 (SEGV_MAPERR): Likewise.
12534 (SEGV_ACCERR): Likewise.
12535 (BUS_ADRALN): Likewise.
12536 (BUS_ADRERR): Likewise.
12537 (BUS_OBJERR): Likewise.
12538 (BUS_MCEERR_AR): Likewise.
12539 (BUS_MCEERR_AO): Likewise.
12540 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12541 (TRAP_TRACE): Likewise.
12542 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12543 __USE_XOPEN2K8].
12544 (CLD_KILLED): Likewise.
12545 (CLD_DUMPED): Likewise.
12546 (CLD_TRAPPED): Likewise.
12547 (CLD_STOPPED): Likewise.
12548 (CLD_CONTINUED): Likewise.
12549 (POLL_IN): Likewise.
12550 (POLL_OUT): Likewise.
12551 (POLL_MSG): Likewise.
12552 (POLL_ERR): Likewise.
12553 (POLL_PRI): Likewise.
12554 (POLL_HUP): Likewise.
12555 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12556 (ILL_ILLOPN): Likewise.
12557 (ILL_ILLADR): Likewise.
12558 (ILL_ILLTRP): Likewise.
12559 (ILL_PRVOPC): Likewise.
12560 (ILL_PRVREG): Likewise.
12561 (ILL_COPROC): Likewise.
12562 (ILL_BADSTK): Likewise.
12563 (FPE_INTDIV): Likewise.
12564 (FPE_INTOVF): Likewise.
12565 (FPE_FLTDIV): Likewise.
12566 (FPE_FLTOVF): Likewise.
12567 (FPE_FLTUND): Likewise.
12568 (FPE_FLTRES): Likewise.
12569 (FPE_FLTINV): Likewise.
12570 (FPE_FLTSUB): Likewise.
12571 (SEGV_MAPERR): Likewise.
12572 (SEGV_ACCERR): Likewise.
12573 (BUS_ADRALN): Likewise.
12574 (BUS_ADRERR): Likewise.
12575 (BUS_OBJERR): Likewise.
12576 (BUS_MCEERR_AR): Likewise.
12577 (BUS_MCEERR_AO): Likewise.
12578 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12579 (TRAP_TRACE): Likewise.
12580 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12581 __USE_XOPEN2K8].
12582 (CLD_KILLED): Likewise.
12583 (CLD_DUMPED): Likewise.
12584 (CLD_TRAPPED): Likewise.
12585 (CLD_STOPPED): Likewise.
12586 (CLD_CONTINUED): Likewise.
12587 (POLL_IN): Likewise.
12588 (POLL_OUT): Likewise.
12589 (POLL_MSG): Likewise.
12590 (POLL_ERR): Likewise.
12591 (POLL_PRI): Likewise.
12592 (POLL_HUP): Likewise.
12593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12594 (ILL_ILLOPN): Likewise.
12595 (ILL_ILLADR): Likewise.
12596 (ILL_ILLTRP): Likewise.
12597 (ILL_PRVOPC): Likewise.
12598 (ILL_PRVREG): Likewise.
12599 (ILL_COPROC): Likewise.
12600 (ILL_BADSTK): Likewise.
12601 (FPE_INTDIV): Likewise.
12602 (FPE_INTOVF): Likewise.
12603 (FPE_FLTDIV): Likewise.
12604 (FPE_FLTOVF): Likewise.
12605 (FPE_FLTUND): Likewise.
12606 (FPE_FLTRES): Likewise.
12607 (FPE_FLTINV): Likewise.
12608 (FPE_FLTSUB): Likewise.
12609 (SEGV_MAPERR): Likewise.
12610 (SEGV_ACCERR): Likewise.
12611 (BUS_ADRALN): Likewise.
12612 (BUS_ADRERR): Likewise.
12613 (BUS_OBJERR): Likewise.
12614 (BUS_MCEERR_AR): Likewise.
12615 (BUS_MCEERR_AO): Likewise.
12616 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12617 (TRAP_TRACE): Likewise.
12618 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12619 __USE_XOPEN2K8].
12620 (CLD_KILLED): Likewise.
12621 (CLD_DUMPED): Likewise.
12622 (CLD_TRAPPED): Likewise.
12623 (CLD_STOPPED): Likewise.
12624 (CLD_CONTINUED): Likewise.
12625 (POLL_IN): Likewise.
12626 (POLL_OUT): Likewise.
12627 (POLL_MSG): Likewise.
12628 (POLL_ERR): Likewise.
12629 (POLL_PRI): Likewise.
12630 (POLL_HUP): Likewise.
12631 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12632 (ILL_ILLOPN): Likewise.
12633 (ILL_ILLADR): Likewise.
12634 (ILL_ILLTRP): Likewise.
12635 (ILL_PRVOPC): Likewise.
12636 (ILL_PRVREG): Likewise.
12637 (ILL_COPROC): Likewise.
12638 (ILL_BADSTK): Likewise.
12639 (ILL_DBLFLT): Likewise.
12640 (ILL_HARDWALL): Likewise.
12641 (FPE_INTDIV): Likewise.
12642 (FPE_INTOVF): Likewise.
12643 (FPE_FLTDIV): Likewise.
12644 (FPE_FLTOVF): Likewise.
12645 (FPE_FLTUND): Likewise.
12646 (FPE_FLTRES): Likewise.
12647 (FPE_FLTINV): Likewise.
12648 (FPE_FLTSUB): Likewise.
12649 (SEGV_MAPERR): Likewise.
12650 (SEGV_ACCERR): Likewise.
12651 (BUS_ADRALN): Likewise.
12652 (BUS_ADRERR): Likewise.
12653 (BUS_OBJERR): Likewise.
12654 (BUS_MCEERR_AR): Likewise.
12655 (BUS_MCEERR_AO): Likewise.
12656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12657 (TRAP_TRACE): Likewise.
12658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12659 __USE_XOPEN2K8].
12660 (CLD_KILLED): Likewise.
12661 (CLD_DUMPED): Likewise.
12662 (CLD_TRAPPED): Likewise.
12663 (CLD_STOPPED): Likewise.
12664 (CLD_CONTINUED): Likewise.
12665 (POLL_IN): Likewise.
12666 (POLL_OUT): Likewise.
12667 (POLL_MSG): Likewise.
12668 (POLL_ERR): Likewise.
12669 (POLL_PRI): Likewise.
12670 (POLL_HUP): Likewise.
12671 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12672 (ILL_ILLOPN): Likewise.
12673 (ILL_ILLADR): Likewise.
12674 (ILL_ILLTRP): Likewise.
12675 (ILL_PRVOPC): Likewise.
12676 (ILL_PRVREG): Likewise.
12677 (ILL_COPROC): Likewise.
12678 (ILL_BADSTK): Likewise.
12679 (FPE_INTDIV): Likewise.
12680 (FPE_INTOVF): Likewise.
12681 (FPE_FLTDIV): Likewise.
12682 (FPE_FLTOVF): Likewise.
12683 (FPE_FLTUND): Likewise.
12684 (FPE_FLTRES): Likewise.
12685 (FPE_FLTINV): Likewise.
12686 (FPE_FLTSUB): Likewise.
12687 (SEGV_MAPERR): Likewise.
12688 (SEGV_ACCERR): Likewise.
12689 (BUS_ADRALN): Likewise.
12690 (BUS_ADRERR): Likewise.
12691 (BUS_OBJERR): Likewise.
12692 (BUS_MCEERR_AR): Likewise.
12693 (BUS_MCEERR_AO): Likewise.
12694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12695 (TRAP_TRACE): Likewise.
12696 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12697 __USE_XOPEN2K8].
12698 (CLD_KILLED): Likewise.
12699 (CLD_DUMPED): Likewise.
12700 (CLD_TRAPPED): Likewise.
12701 (CLD_STOPPED): Likewise.
12702 (CLD_CONTINUED): Likewise.
12703 (POLL_IN): Likewise.
12704 (POLL_OUT): Likewise.
12705 (POLL_MSG): Likewise.
12706 (POLL_ERR): Likewise.
12707 (POLL_PRI): Likewise.
12708 (POLL_HUP): Likewise.
12709 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12710 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12711
bc61d27c
JM
12712 [BZ #16670]
12713 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12714 before #include of <time.h>.
12715 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12716 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12717 (test-xfail-UNIX98/sched.h/conform): Likewise.
12718
302949e2
MS
127192014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12720
12721 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12722 error absence of trapping exception support.
12723 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12724
a00f522a
JM
127252014-03-07 Joseph Myers <joseph@codesourcery.com>
12726
6f99f280
JM
12727 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12728 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12729 * timezone/Makefile (testdata): Move definition above include of
12730 Rules.
12731 (test-zones): New variable.
12732 (tests-special): Add zone files.
12733 (build-testdata): Use $(evaluate-test).
12734
0b20a9e8
JM
12735 * elf/Makefile (tests-special): Rename tests to end with .out.
12736 ($(objpfx)noload-mem): Likewise.
12737 ($(objpfx)tst-leaks1-mem): Likewise.
12738 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12739 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12740 $(objpfx)test-iconvconfig.out.
12741 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12742 set -e inside subshell and redirect output to file.
12743 * iconvdata/Makefile (generated): Rename tests to end with .out.
12744 Correct type.
12745 (tests-special): Rename tests to end with .out.
12746 ($(objpfx)mtrace-tst-loading): Likewise.
12747 * intl/Makefile (generated): Likewise.
12748 (tests-special): Likewise.
12749 ($(objpfx)mtrace-tst-gettext): Likewise.
12750 * misc/Makefile (generated): Likewise.
12751 (tests-special): Likewise.
12752 ($(objpfx)tst-error1-mem): Likewise.
12753 * nptl/Makefile (tests-special): Likewise.
12754 ($(objpfx)tst-stack3-mem): Likewise.
12755 (generated): Likewise.
12756 * posix/Makefile (generated): Likewise.
12757 (tests-special): Likewise.
12758 (xtests-special): Likewise.
12759 ($(objpfx)tst-fnmatch-mem): Likewise.
12760 ($(objpfx)bug-regex2-mem): Likewise.
12761 ($(objpfx)bug-regex14-mem): Likewise.
12762 ($(objpfx)bug-regex21-mem): Likewise.
12763 ($(objpfx)bug-regex31-mem): Likewise.
12764 ($(objpfx)tst-vfork3-mem): Likewise.
12765 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12766 ($(objpfx)tst-pcre-mem): Likewise.
12767 ($(objpfx)tst-boost-mem): Likewise.
12768 ($(objpfx)bug-ga2-mem): Likewise.
12769 ($(objpfx)bug-glob2-mem): Likewise.
12770 * resolv/Makefile (generate): Likewise.
12771 (tests-special): Likewise.
12772 (xtests-special): Likewise.
12773 (generated): Likewise.
12774 ($(objpfx)mtrace-tst-leaks): Likewise.
12775 ($(objpfx)mtrace-tst-leaks2): Likewise.
12776
265d52ab
JM
12777 * scripts/merge-test-results.sh: New file.
12778 * Makefile (tests-special-notdir): New variable.
12779 (tests): Run merge-test-results.sh.
12780 (xtests): Likewise.
12781 * Rules (tests-special-notdir): New variable.
12782 (xtests-special-notdir): Likewise.
12783 (tests): Run merge-test-results.sh
12784 (xtests): Likewise.
12785
54ee292d
JM
12786 * Makeconfig (test-xfail-name): New variable.
12787 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12788 compute variable name for expected failures.
12789 * conform/Makefile (conformtest-headers-data): New variable.
12790 (conformtest-standards): Likewise.
12791 (conformtest-headers-ISO): Likewise.
12792 (conformtest-headers-ISO99): Likewise.
12793 (conformtest-headers-ISO11): Likewise.
12794 (conformtest-headers-POSIX): Likewise.
12795 (conformtest-headers-XPG3): Likewise.
12796 (conformtest-headers-XPG4): Likewise.
12797 (conformtest-headers-UNIX98): Likewise.
12798 (conformtest-headers-XOPEN2K): Likewise.
12799 (conformtest-headers-POSIX2008): Likewise.
12800 (conformtest-headers-XOPEN2K8): Likewise.
12801 (conformtest-header-list-base): Likewise.
12802 (conformtest-header-list-tests): Likewise.
12803 (conformtest-header-base): Likewise.
12804 (conformtest-header-tests): Likewise.
12805 (tests-special): Add $(conformtest-header-list-tests). If
12806 [$(fast-check) && !$(cross-compiling)], add
12807 $(conformtest-header-tests) instead of
12808 $(objpfx)run-conformtest.out.
12809 (generated): Add $(conformtest-header-list-base). If
12810 [$(fast-check) && !$(cross-compiling)], add
12811 $(conformtest-header-base). Remove previous setting.
12812 ($(conformtest-header-list-tests)): New target.
12813 (test-xfail-run-conformtest): Remove variable.
12814 ($(objpfx)run-conformtest.out): Remove target.
12815 (test-xfail-ISO11/complex.h/conform): New variable.
12816 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12817 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12818 (test-xfail-XPG3/varargs.h/conform): Likewise.
12819 (test-xfail-XPG4/varargs.h/conform): Likewise.
12820 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12821 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12822 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12823 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12824 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12825 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12826 (test-xfail-XPG3/ftw.h/conform): Likewise.
12827 (test-xfail-XPG3/grp.h/conform): Likewise.
12828 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12829 (test-xfail-XPG3/limits.h/conform): Likewise.
12830 (test-xfail-XPG3/pwd.h/conform): Likewise.
12831 (test-xfail-XPG3/search.h/conform): Likewise.
12832 (test-xfail-XPG3/signal.h/conform): Likewise.
12833 (test-xfail-XPG3/stdio.h/conform): Likewise.
12834 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12835 (test-xfail-XPG3/string.h/conform): Likewise.
12836 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12837 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12838 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12839 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12840 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12841 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12842 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12843 (test-xfail-XPG3/termios.h/conform): Likewise.
12844 (test-xfail-XPG3/time.h/conform): Likewise.
12845 (test-xfail-XPG3/unistd.h/conform): Likewise.
12846 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12847 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12848 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12849 (test-xfail-XPG4/netdb.h/conform): Likewise.
12850 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12851 (test-xfail-XPG4/signal.h/conform): Likewise.
12852 (test-xfail-XPG4/stdio.h/conform): Likewise.
12853 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12854 (test-xfail-XPG4/stropts.h/conform): Likewise.
12855 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12856 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12857 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12858 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12859 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12860 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12861 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12862 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12863 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12864 (test-xfail-XPG4/termios.h/conform): Likewise.
12865 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12866 (test-xfail-XPG4/unistd.h/conform): Likewise.
12867 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12868 (test-xfail-POSIX/sched.h/conform): Likewise.
12869 (test-xfail-POSIX/signal.h/conform): Likewise.
12870 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12871 (test-xfail-POSIX/tar.h/conform): Likewise.
12872 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12873 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12874 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12875 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12876 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12877 (test-xfail-UNIX98/sched.h/conform): Likewise.
12878 (test-xfail-UNIX98/signal.h/conform): Likewise.
12879 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12880 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12881 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12882 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12883 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12884 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12885 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12886 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12887 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12888 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12889 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12890 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12891 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12892 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12893 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12894 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12895 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12896 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12897 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12898 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12899 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12900 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12901 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12902 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12903 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12904 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12905 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12906 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12907 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12908 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12909 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12910 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12911 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12912 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12913 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12914 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12915 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12916 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12917 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12918 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12919 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12920 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12921 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12922 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12923 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12924 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12925 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12926 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12927 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12928 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12929 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12930 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12931 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12932 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12933 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12934 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12935 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12936 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12937 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12938 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12939 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12940 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12941 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12942 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12943 (conformtest-cc-flags): Likewise.
12944 ($(conformtest-header-tests): New target.
12945 * conform/check-header-lists.sh: New file.
12946 * conform/run-conformtest.sh: Remove.
12947
a00f522a
JM
12948 * conform/conformtest.pl: Allow ' and \ in values given for
12949 constants.
12950 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12951 inclusion.
12952 [POSIX] (sys/types.h): Likewise.
12953 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12954 inclusion.
12955 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12956 inclusion.
12957 * conform/data/signal.h-data (SIGIO): Remove expectation.
12958 [XPG3] (SIGBUS): Do not expect.
12959 [POSIX || XPG3] (SIGPOLL): Likewise.
12960 [POSIX || XPG3] (SIGPROF): Likewise.
12961 [POSIX || XPG3] (SIGSYS): Likewise.
12962 [XPG3] (SIGTRAP): Likewise.
12963 [POSIX || XPG3] (SIGURG): Likewise.
12964 [POSIX || XPG3] (SIGVTALRM): Likewise.
12965 [POSIX || XPG3] (SIGXCPU): Likewise.
12966 [POSIX || XPG3] (SIGXFSZ): Likewise.
12967 [POSIX] (SA_SIGINFO): Expect.
12968 [XPG3] (siginfo_t): Do not expect type or contents.
12969 [POSIX] (si_pid): Do not expect element.
12970 [POSIX] (si_uid): Likewise.
12971 [POSIX] (si_addr): Likewise.
12972 [POSIX] (si_status): Likewise.
12973 [POSIX] (si_band): Likewise.
12974 [XPG4] (si_value): Likewise.
12975 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12976 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12977 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12978 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12979 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12980 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12981 [POSIX || XPG3] (ILL_COPROC): Likewise.
12982 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12983 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12984 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12985 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12986 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12987 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12988 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12989 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12990 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12991 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12992 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12993 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12994 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12995 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12996 [POSIX || XPG3] (CLD_EXITED): Likewise.
12997 [POSIX || XPG3] (CLD_KILLED): Likewise.
12998 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12999 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13000 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13001 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13002 [POSIX || XPG3] (POLL_IN): Likewise.
13003 [POSIX || XPG3] (POLL_OUT): Likewise.
13004 [POSIX || XPG3] (POLL_MSG): Likewise.
13005 [POSIX || XPG3] (POLL_ERR): Likewise.
13006 [POSIX || XPG3] (POLL_PRI): Likewise.
13007 [POSIX || XPG3] (POLL_HUP): Likewise.
13008 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13009 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13010 (SIG*): Do not allow.
13011 [XPG3] (si_*): Likewise.
13012 [XPG3] (SI_*): Likewise.
13013 [XPG3 || XPG4] (sigev_*): Likewise.
13014 [XPG3 || XPG4] (SIGEV_*): Likewise.
13015 [XPG3 || XPG4] (sival_*): Likewise.
13016 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13017 [POSIX || XPG3] (BUS_*): Likewise.
13018 [POSIX || XPG3] (CLD_*): Likewise.
13019 [POSIX || XPG3] (FPE_*): Likewise.
13020 [POSIX || XPG3] (ILL_*): Likewise.
13021 [POSIX || XPG3] (POLL_*): Likewise.
13022 [POSIX || XPG3] (SEGV_*): Likewise.
13023 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13024 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13025 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13026 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13027 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13028 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13029 Specify type and value.
13030 (TVERSLEN): Likewise.
13031 (REGTYPE): Likewise.
13032 (AREGTYPE): Likewise.
13033 (LNKTYPE): Likewise.
13034 (SYMTYPE): Likewise.
13035 (CHRTYPE): Likewise.
13036 (BLKTYPE): Likewise.
13037 (DIRTYPE): Likewise.
13038 (FIFOTYPE): Likewise.
13039 (CONTTYPE): Likewise.
13040 (TSUID): Likewise.
13041 (TSGID): Likewise.
13042 (TSVTX): Likewise.
13043 (TUREAD): Likewise.
13044 (TUWRITE): Likewise.
13045 (TUEXEC): Likewise.
13046 (TGREAD): Likewise.
13047 (TGWRITE): Likewise.
13048 (TGEXEC): Likewise.
13049 (TOREAD): Likewise.
13050 (TOWRITE): Likewise.
13051 (TOEXEC): Likewise.
13052 [POSIX] (TSVTX): Expect constant.
13053
aa97dee1
JM
130542014-03-06 Joseph Myers <joseph@codesourcery.com>
13055
f214606a
JM
13056 * Makefile (tests): Change dependencies to ....
13057 (tests-special): ... additions to this variable.
13058 (tests): Depend on $(tests-special).
13059 * Makerules (check-abi-list): New variable.
13060 (check-abi): Depend on $(check-abi-list).
13061 [$(subdir) = elf] (tests-special): Add
13062 $(objpfx)check-abi-libc.out.
13063 [$(build-shared) = yes && subdir] (tests-special): Add
13064 $(check-abi-list).
13065 [$(build-shared) = yes && subdir] (tests): Do not depend on
13066 check-abi.
13067 * Rules (tests): Depend on $(tests-special).
13068 (xtests): Depend on $(xtests-special).
13069 * catgets/Makefile (tests): Change dependencies to ....
13070 (tests-special): ... additions to this variable.
13071 * conform/Makefile (tests): Change dependencies to ....
13072 (tests-special): ... additions to this variable.
13073 * elf/Makefile (tests): Change dependencies to ....
13074 (tests-special): ... additions to this variable.
13075 * grp/Makefile (tests): Change dependencies to ....
13076 (tests-special): ... additions to this variable.
13077 * iconv/Makefile (xtests): Change dependencies to ....
13078 (xtests-special): ... additions to this variable.
13079 * iconvdata/Makefile (tests): Change dependencies to ....
13080 (tests-special): ... additions to this variable.
13081 * intl/Makefile (tests): Change dependencies to ....
13082 (tests-special): ... additions to this variable. Also add
13083 $(objpfx)tst-gettext.out.
13084 * io/Makefile (tests): Change dependencies to ....
13085 (tests-special): ... additions to this variable.
13086 * libio/Makefile (tests): Change dependencies to ....
13087 (tests-special): ... additions to this variable.
13088 * malloc/Makefile (tests): Change dependencies to ....
13089 (tests-special): ... additions to this variable.
13090 * misc/Makefile (tests): Change dependencies to ....
13091 (tests-special): ... additions to this variable.
13092 * nptl/Makefile (tests): Change dependencies to ....
13093 (tests-special): ... additions to this variable.
13094 * nptl_db/Makefile (tests): Change dependencies to ....
13095 (tests-special): ... additions to this variable.
13096 * posix/Makefile (tests): Change dependencies to ....
13097 (tests-special): ... additions to this variable.
13098 (xtests): Change dependencies to ....
13099 (xtests-special): ... additions to this variable.
13100 * resolv/Makefile (tests): Change dependencies to ....
13101 (tests-special): ... additions to this variable.
13102 (xtests): Change dependencies to ....
13103 (xtests-special): ... additions to this variable.
13104 * stdio-common/Makefile (tests): Change dependencies to ....
13105 (tests-special): ... additions to this variable.
13106 (do-tst-unbputc): Remove target.
13107 (do-tst-printf): Likewise.
13108 * stdlib/Makefile (tests): Change dependencies to ....
13109 (tests-special): ... additions to this variable.
13110 * string/Makefile (tests): Change dependencies to ....
13111 (tests-special): ... additions to this variable.
13112 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13113 (tests-special): ... additions to this variable.
13114
81700b53
JM
13115 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13116 whole file.
13117 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13118 whole file.
13119 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13120 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13121
2ea18461
JM
13122 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13123 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13124 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13125 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13126 * conform/data/libgen.h-data [XPG3]: Likewise.
13127 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13128 * conform/data/ndbm.h-data [XPG3]: Likewise.
13129 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13130 * conform/data/netdb.h-data [XPG3]: Likewise.
13131 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13132 * conform/data/poll.h-data [XPG3]: Likewise.
13133 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13134 * conform/data/strings.h-data [XPG3]: Likewise.
13135 * conform/data/stropts.h-data [XPG3]: Likewise.
13136 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13137 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13138 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13139 Likewise.
13140 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13141 * conform/data/sys/time.h-data [XPG3]: Likewise.
13142 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13143 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13144 * conform/data/sys/un.h-data [XPG3]: Likewise.
13145 * conform/data/syslog.h-data [XPG3]: Likewise.
13146 * conform/data/ucontext.h-data [XPG3]: Likewise.
13147 * conform/data/utmpx.h-data [XPG3]: Likewise.
13148 * conform/data/varargs.h-data [UNIX98]: Enable file.
13149
355bc986
JM
13150 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13151
215db402
JM
13152 * math/libm-test.inc (struct test_f_f_data): Move expected results
13153 into structure for each rounding mode.
13154 (struct test_ff_f_data): Likewise.
13155 (struct test_ff_f_data_nexttoward): Likewise.
13156 (struct test_fi_f_data): Likewise.
13157 (struct test_fl_f_data): Likewise.
13158 (struct test_if_f_data): Likewise.
13159 (struct test_fff_f_data): Likewise.
13160 (struct test_c_f_data): Likewise.
13161 (struct test_f_f1_data): Likewise.
13162 (struct test_fF_f1_data): Likewise.
13163 (struct test_ffI_f1_data): Likewise.
13164 (struct test_c_c_data): Likewise.
13165 (struct test_cc_c_data): Likewise.
13166 (struct test_f_i_data): Likewise.
13167 (struct test_ff_i_data): Likewise.
13168 (struct test_f_l_data): Likewise.
13169 (struct test_f_L_data): Likewise.
13170 (struct test_fFF_11_data): Likewise.
13171 (RM_): New macro.
13172 (RM_FE_DOWNWARD): Likewise.
13173 (RM_FE_TONEAREST): Likewise.
13174 (RM_FE_TOWARDZERO): Likewise.
13175 (RM_FE_UPWARD): Likewise.
13176 (RUN_TEST_LOOP_f_f): Update references to expected results.
13177 (RUN_TEST_LOOP_2_f): Likewise.
13178 (RUN_TEST_LOOP_fff_f): Likewise.
13179 (RUN_TEST_LOOP_c_f): Likewise.
13180 (RUN_TEST_LOOP_f_f1): Likewise.
13181 (RUN_TEST_LOOP_fF_f1): Likewise.
13182 (RUN_TEST_LOOP_fI_f1): Likewise.
13183 (RUN_TEST_LOOP_ffI_f1): Likewise.
13184 (RUN_TEST_LOOP_c_c): Likewise.
13185 (RUN_TEST_LOOP_cc_c): Likewise.
13186 (RUN_TEST_LOOP_f_i): Likewise.
13187 (RUN_TEST_LOOP_f_i_tg): Likewise.
13188 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13189 (RUN_TEST_LOOP_f_b): Likewise.
13190 (RUN_TEST_LOOP_f_b_tg): Likewise.
13191 (RUN_TEST_LOOP_f_l): Likewise.
13192 (RUN_TEST_LOOP_f_L): Likewise.
13193 (RUN_TEST_LOOP_fFF_11): Likewise.
13194 * math/gen-libm-test.pl (parse_args): Output four copies of
13195 expected results for each test.
13196
67737b8f
JM
13197 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13198 (__ASSUME_UTIMES): Remove.
13199 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13200 (__ASSUME_UTIMES): Likewise.
13201
aa97dee1
JM
13202 * math/gen-auto-libm-tests.c: Update comment on output format.
13203 (output_for_one_input_case): Generate before-rounding and
13204 after-rounding information as conditions on output flags not
13205 floating-point format.
13206 * math/auto-libm-test-out: Regenerated.
13207 * math/gen-libm-test.pl (cond_value): New function.
13208 (or_cond_value): Use cond_value.
13209 (generate_testfile): Handle conditional exceptions.
13210
e6b6a857
JM
132112014-03-05 Joseph Myers <joseph@codesourcery.com>
13212
2f0a0f44
JM
13213 * math/libm-test.inc (max_valid_error): New variable.
13214 (init_max_error): Take new argument specifying whether function
13215 results are exactly determined. Set max_valid_error and bound
13216 other variables for errors based on this argument.
13217 (set_max_error): Do not record results above max_valid_error.
13218 (check_float_internal): Only accept errors of up to 0.5ulps if
13219 also at most max_valid_error.
13220 (START): Take new argument EXACT and pass it to init_max_error.
13221 (acos_test): Update call to START.
13222 (acos_test_tonearest): Likewise.
13223 (acos_test_towardzero): Likewise.
13224 (acos_test_downward): Likewise.
13225 (acos_test_upward): Likewise.
13226 (acosh_test): Likewise.
13227 (asin_test): Likewise.
13228 (asin_test_tonearest): Likewise.
13229 (asin_test_towardzero): Likewise.
13230 (asin_test_downward): Likewise.
13231 (asin_test_upward): Likewise.
13232 (asinh_test): Likewise.
13233 (atan_test): Likewise.
13234 (atanh_test): Likewise.
13235 (atan2_test): Likewise.
13236 (cabs_test): Likewise.
13237 (cacos_test): Likewise.
13238 (cacosh_test): Likewise.
13239 (carg_test): Likewise.
13240 (casin_test): Likewise.
13241 (casinh_test): Likewise.
13242 (catan_test): Likewise.
13243 (catanh_test): Likewise.
13244 (cbrt_test): Likewise.
13245 (ccos_test): Likewise.
13246 (ccosh_test): Likewise.
13247 (ceil_test): Likewise.
13248 (cexp_test): Likewise.
13249 (cimag_test): Likewise.
13250 (clog_test): Likewise.
13251 (clog10_test): Likewise.
13252 (conj_test): Likewise.
13253 (copysign_test): Likewise.
13254 (cos_test): Likewise.
13255 (cos_test_tonearest): Likewise.
13256 (cos_test_towardzero): Likewise.
13257 (cos_test_downward): Likewise.
13258 (cos_test_upward): Likewise.
13259 (cosh_test): Likewise.
13260 (cosh_test_tonearest): Likewise.
13261 (cosh_test_towardzero): Likewise.
13262 (cosh_test_downward): Likewise.
13263 (cosh_test_upward): Likewise.
13264 (cpow_test): Likewise.
13265 (cproj_test): Likewise.
13266 (creal_test): Likewise.
13267 (csin_test): Likewise.
13268 (csinh_test): Likewise.
13269 (csqrt_test): Likewise.
13270 (ctan_test): Likewise.
13271 (ctan_test_tonearest): Likewise.
13272 (ctan_test_towardzero): Likewise.
13273 (ctan_test_downward): Likewise.
13274 (ctan_test_upward): Likewise.
13275 (ctanh_test): Likewise.
13276 (ctanh_test_tonearest): Likewise.
13277 (ctanh_test_towardzero): Likewise.
13278 (ctanh_test_downward): Likewise.
13279 (ctanh_test_upward): Likewise.
13280 (erf_test): Likewise.
13281 (erfc_test): Likewise.
13282 (exp_test): Likewise.
13283 (exp_test_tonearest): Likewise.
13284 (exp_test_towardzero): Likewise.
13285 (exp_test_downward): Likewise.
13286 (exp_test_upward): Likewise.
13287 (exp10_test): Likewise.
13288 (exp10_test_tonearest): Likewise.
13289 (exp10_test_towardzero): Likewise.
13290 (exp10_test_downward): Likewise.
13291 (exp10_test_upward): Likewise.
13292 (pow10_test): Likewise.
13293 (exp2_test): Likewise.
13294 (expm1_test): Likewise.
13295 (expm1_test_tonearest): Likewise.
13296 (expm1_test_towardzero): Likewise.
13297 (expm1_test_downward): Likewise.
13298 (expm1_test_upward): Likewise.
13299 (fabs_test): Likewise.
13300 (fdim_test): Likewise.
13301 (floor_test): Likewise.
13302 (fma_test): Likewise.
13303 (fma_test_towardzero): Likewise.
13304 (fma_test_downward): Likewise.
13305 (fma_test_upward): Likewise.
13306 (fmax_test): Likewise.
13307 (fmin_test): Likewise.
13308 (fmod_test): Likewise.
13309 (fpclassify_test): Likewise.
13310 (frexp_test): Likewise.
13311 (hypot_test): Likewise.
13312 (ilogb_test): Likewise.
13313 (isfinite_test): Likewise.
13314 (finite_test): Likewise.
13315 (isgreater_test): Likewise.
13316 (isgreaterequal_test): Likewise.
13317 (isinf_test): Likewise.
13318 (isless_test): Likewise.
13319 (islessequal_test): Likewise.
13320 (islessgreater_test): Likewise.
13321 (isnan_test): Likewise.
13322 (isnormal_test): Likewise.
13323 (issignaling_test): Likewise.
13324 (isunordered_test): Likewise.
13325 (j0_test): Likewise.
13326 (j1_test): Likewise.
13327 (jn_test): Likewise.
13328 (ldexp_test): Likewise.
13329 (lgamma_test): Likewise.
13330 (gamma_test): Likewise.
13331 (lrint_test): Likewise.
13332 (lrint_test_tonearest): Likewise.
13333 (lrint_test_towardzero): Likewise.
13334 (lrint_test_downward): Likewise.
13335 (lrint_test_upward): Likewise.
13336 (llrint_test): Likewise.
13337 (llrint_test_tonearest): Likewise.
13338 (llrint_test_towardzero): Likewise.
13339 (llrint_test_downward): Likewise.
13340 (llrint_test_upward): Likewise.
13341 (log_test): Likewise.
13342 (log10_test): Likewise.
13343 (log1p_test): Likewise.
13344 (log2_test): Likewise.
13345 (logb_test): Likewise.
13346 (logb_test_downward): Likewise.
13347 (lround_test): Likewise.
13348 (llround_test): Likewise.
13349 (modf_test): Likewise.
13350 (nearbyint_test): Likewise.
13351 (nextafter_test): Likewise.
13352 (nexttoward_test): Likewise.
13353 (pow_test): Likewise.
13354 (pow_test_tonearest): Likewise.
13355 (pow_test_towardzero): Likewise.
13356 (pow_test_downward): Likewise.
13357 (pow_test_upward): Likewise.
13358 (remainder_test): Likewise.
13359 (drem_test): Likewise.
13360 (remainder_test_tonearest): Likewise.
13361 (drem_test_tonearest): Likewise.
13362 (remainder_test_towardzero): Likewise.
13363 (drem_test_towardzero): Likewise.
13364 (remainder_test_downward): Likewise.
13365 (drem_test_downward): Likewise.
13366 (remainder_test_upward): Likewise.
13367 (drem_test_upward): Likewise.
13368 (remquo_test): Likewise.
13369 (rint_test): Likewise.
13370 (rint_test_tonearest): Likewise.
13371 (rint_test_towardzero): Likewise.
13372 (rint_test_downward): Likewise.
13373 (rint_test_upward): Likewise.
13374 (round_test): Likewise.
13375 (scalb_test): Likewise.
13376 (scalbn_test): Likewise.
13377 (scalbln_test): Likewise.
13378 (signbit_test): Likewise.
13379 (sin_test): Likewise.
13380 (sin_test_tonearest): Likewise.
13381 (sin_test_towardzero): Likewise.
13382 (sin_test_downward): Likewise.
13383 (sin_test_upward): Likewise.
13384 (sincos_test): Likewise.
13385 (sinh_test): Likewise.
13386 (sinh_test_tonearest): Likewise.
13387 (sinh_test_towardzero): Likewise.
13388 (sinh_test_downward): Likewise.
13389 (sinh_test_upward): Likewise.
13390 (sqrt_test): Likewise.
13391 (sqrt_test_tonearest): Likewise.
13392 (sqrt_test_towardzero): Likewise.
13393 (sqrt_test_downward): Likewise.
13394 (sqrt_test_upward): Likewise.
13395 (tan_test): Likewise.
13396 (tan_test_tonearest): Likewise.
13397 (tan_test_towardzero): Likewise.
13398 (tan_test_downward): Likewise.
13399 (tan_test_upward): Likewise.
13400 (tanh_test): Likewise.
13401 (tgamma_test): Likewise.
13402 (trunc_test): Likewise.
13403 (y0_test): Likewise.
13404 (y1_test): Likewise.
13405 (yn_test): Likewise.
13406 (significand_test): Likewise.
13407
e6b6a857
JM
13408 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13409 individual tests in comment.
13410 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13411 (prev_max_error): New variable.
13412 (prev_real_max_error): Likewise.
13413 (prev_imag_max_error): Likewise.
13414 (compare_ulp_data): Don't refer to test names in comment.
13415 (find_test_ulps): Remove function.
13416 (find_function_ulps): Likewise.
13417 (find_complex_function_ulps): Likewise.
13418 (init_max_error): Take function name as argument. Look up ulps
13419 for that function.
13420 (print_ulps): Remove function.
13421 (print_max_error): Use prev_max_error instead of calling
13422 find_function_ulps.
13423 (print_complex_max_error): Use prev_real_max_error and
13424 prev_imag_max_error instead of calling find_complex_function_ulps.
13425 (check_float_internal): Take max_ulp parameter instead of calling
13426 find_test_ulps. Don't call print_ulps.
13427 (check_float): Update call to check_float_internal.
13428 (check_complex): Update calls to check_float_internal.
13429 (START): Pass argument to init_max_error.
13430 * math/gen-libm-test.pl (%results): Don't include "kind"
13431 information.
13432 (parse_ulps): Don't handle ulps of individual tests.
13433 (print_ulps_file): Likewise.
13434 (output_ulps): Likewise.
13435 * math/README.libm-test: Update.
13436 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13437 individual tests.
13438 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13439 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13440 * sysdeps/arm/libm-test-ulps: Likewise.
13441 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13442 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13443 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13444 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13445 * sysdeps/microblaze/libm-test-ulps: Likewise.
13446 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13447 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13449 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13451 * sysdeps/sh/libm-test-ulps: Likewise.
13452 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13453 * sysdeps/tile/libm-test-ulps: Likewise.
13454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13455
45adef3c
JM
134562014-03-04 Joseph Myers <joseph@codesourcery.com>
13457
13458 * math/libm-test.inc (print_complex_max_error): Check separately
13459 whether real and imaginary errors are within allowed range and
13460 pass 0 to print_complex_function_ulps instead of value within
13461 allowed range.
13462
000232b9
SP
134632014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13464
d4b17258
SP
13465 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13466 formatting.
13467 (get_handles_fopen): Likewise.
13468 (do_write_test): Likewise.
13469
091eff71
SP
13470 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13471
fa3cd248
SP
13472 * libio/fileops.c (do_ftell): Use cached offset when
13473 available.
13474 * libio/iofwide.c (do_ftell_wide): Likewise.
13475 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13476 _IO_file_attach.
13477 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13478
000232b9
SP
13479 [BZ #16532]
13480 * libio/libioP.h (get_file_offset): New function.
13481 * libio/fileops.c (get_file_offset): Likewise.
13482 (do_ftell): Likewise.
13483 (_IO_new_file_seekoff): Split out ftell logic.
13484 * libio/wfileops.c (do_ftell_wide): Likewise.
13485 (_IO_wfile_seekoff): Split out ftell logic.
13486 * libio/tst-ftell-active-handler.c: New test case.
13487 * libio/Makefile (tests): Add it.
13488
116f4d1a
RM
134892014-03-03 Roland McGrath <roland@hack.frob.com>
13490
13491 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13492 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13493
532a6035
SP
134942014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13495
13496 [BZ #16639]
13497 * nscd/connections.c (nscd_init): Call do_exit.
13498 (start_threads): Call do_exit and notify_parent.
13499 (begin_drop_privileges): Call do_exit.
13500 (finish_drop_privileges): Likewise.
13501 * nscd/selinux.c (preserve_capabilities): Likewise.
13502 (install_real_capabilities): Likewise.
13503 (nscd_selinux_enabled): Likewise.
13504 (avc_create_thread): Likewise.
13505 (avc_alloc_lock): Likewise.
13506 (nscd_avc_init): Likewise.
13507 * nscd/nscd.c (parent_fd): New static variable.
13508 (main): Create a pipe between parent and child processes.
13509 Skip closing parent_fd.
13510 (monitor_child): New function.
13511 (do_exit): Likewise.
13512 (notify_parent): Likewise.
13513 * nscd/nscd.h (notify_parent): Likewise.
13514 (do_exit): Likewise.
13515
d6285c9f
CD
135162014-03-03 Carlos O'Donell <carlos@redhat.com>
13517
13518 * malloc/malloc.c (__libc_calloc): Revert last change.
13519
2b85d2a0
AZ
135202014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13521
13522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13523
c7debbdf
RS
135242014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13525
13526 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13528 implementation.
13529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13530 (__libc_ifunc_impl_list): Likewise.
13531 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13532 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13533 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13534 * string/strrchr.c: Define STRRCHR.
13535
235eed86
OB
135362014-02-28 Ondřej Bílka <neleai@seznam.cz>
13537
13538 * benchtest/bench-strtok.c (simple_strtok): Delete.
13539 (strtok_string): Use as benchmark.
13540 * string/strtok (STRTOK): New macro.
13541
8e25d1e7
CD
135422014-02-28 Carlos O'Donell <carlos@redhat.com>
13543
ef563f92
CD
13544 * manual/threads.texi: Add header and standard comments to all
13545 functions.
13546
8e25d1e7
CD
13547 * elf/dl-lookup.c (check_match): New function.
13548 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13549 (do_lookup_x): Remove nested function check_match. Use non-nested
13550 function check_match.
13551
ff71cc37
RM
135522014-02-28 Roland McGrath <roland@hack.frob.com>
13553
f08e9a26
RM
13554 * csu/Makefile (generated, before-compile): Use += rather than =.
13555 * catgets/Makefile (generated, generated-dirs): Likewise.
13556 * debug/Makefile (generated): Likewise.
13557 * dlfcn/Makefile (generated): Likewise.
13558 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13559 * iconvdata/Makefile (before-compile, generated): Likewise.
13560 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13561 * libio/Makefile (generated): Likewise.
13562 * malloc/Makefile (generated): Likewise.
13563 * manual/Makefile (generated, generated-dirs): Likewise.
13564 * misc/Makefile (generated): Likewise.
13565 * posix/Makefile (generated): Likewise.
13566 * resolv/Makefile (generated): Likewise.
13567 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13568 * timezone/Makefile (generated, generated-dirs): Likewise.
13569
ff71cc37
RM
13570 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13571
fe13a20c
AZ
135722014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13573
57f41c40
AS
13574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13575 power8 implementation.
13576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13577 file: POWER8 llround ifunc implementation.
13578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13579 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13580 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13581 POWER8 llround implementation.
13582
57f41c40
AS
13583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13584 power8 implementation.
13585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13586 file: POWER8 llrint ifunc implementation.
13587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13588 Add POWER8 implementation.
1ad8950a
AZ
13589 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13590 POWER8 llrint implementation.
13591
57f41c40
AS
13592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13593 power8 implementation.
13594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13595 file: POWER8 finite ifunc implementation.
13596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13597 Add POWER8 implementation.
cac626d6
AZ
13598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13599 Likewise.
13600 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13601 POWER8 finite implementation.
13602 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13603
57f41c40
AS
13604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13605 power8 implementation.
13606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13607 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13609 POWER8 implementation.
13610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13611 Likewise.
57f41c40
AS
13612 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13613 isinf implementation.
4393fc11
AZ
13614 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13615
57f41c40
AS
13616 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13617 (INIT_ARCH): Add hwcap2 initialization.
13618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13619 power8 implementation.
13620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13621 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13623 POWER8 implementation.
13624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13625 Likewise.
57f41c40
AS
13626 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13627 isnan implementation.
487972ae
AZ
13628 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13629
7d92b787
JY
136302014-02-27 Joey Ye <joey.ye@arm.com>
13631
13632 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13633 (_FP_NANFRAC_Q): Set to zero.
13634
1cadc858
SP
136352014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13636
13637 [BZ #16623]
13638 * math/auto-libm-test-in: New test inputs.
13639 * math/auto-libm-test-out: Regenerate.
13640 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13641 and DA.
13642 (__cos): Likewise.
13643 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13644
f8c17e79
JM
136452014-02-27 Joseph Myers <joseph@codesourcery.com>
13646
13647 * scripts/evaluate-test.sh: Take new argument indicating whether
13648 failure is expected.
13649 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13650 indicating whether failure is expected.
13651 * conform/Makefile (test-xfail-run-conformtest): New variable.
13652 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13653 level.
13654 * posix/Makefile (test-xfail-annexc): New variable.
13655 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13656
a5f891ac
JM
136572014-02-26 Joseph Myers <joseph@codesourcery.com>
13658
13659 * argp/Makefile: Include Makeconfig immediately after defining
13660 subdir.
13661 * assert/Makefile: Likewise.
13662 * benchtests/Makefile: Likewise.
13663 * catgets/Makefile: Likewise.
13664 * conform/Makefile: Likewise.
13665 * crypt/Makefile: Likewise.
13666 * csu/Makefile: Likewise.
13667 (all): Remove target.
13668 * ctype/Makefile: Include Makeconfig immediately after defining
13669 subdir.
13670 * debug/Makefile: Likewise.
13671 * dirent/Makefile: Likewise.
13672 * dlfcn/Makefile: Likewise.
13673 * gmon/Makefile: Likewise.
13674 * gnulib/Makefile: Likewise.
13675 * grp/Makefile: Likewise.
13676 * gshadow/Makefile: Likewise.
13677 * hesiod/Makefile: Likewise.
13678 * hurd/Makefile: Likewise.
13679 (all): Remove target.
13680 * iconvdata/Makefile: Include Makeconfig immediately after
13681 defining subdir.
13682 * inet/Makefile: Likewise.
13683 * intl/Makefile: Likewise.
13684 * io/Makefile: Likewise.
13685 * libio/Makefile: Likewise.
13686 (all): Remove target.
13687 * locale/Makefile: Include Makeconfig immediately after defining
13688 subdir.
13689 * login/Makefile: Likewise.
13690 * mach/Makefile: Likewise.
13691 (all): Remove target.
13692 * malloc/Makefile: Include Makeconfig immediately after defining
13693 subdir.
13694 (all): Remove target.
13695 * manual/Makefile: Include Makeconfig immediately after defining
13696 subdir.
13697 * math/Makefile: Likewise.
13698 * misc/Makefile: Likewise.
13699 * nis/Makefile: Likewise.
13700 * nss/Makefile: Likewise.
13701 * po/Makefile: Likewise.
13702 (all): Remove target.
13703 * posix/Makefile: Include Makeconfig immediately after defining
13704 subdir.
13705 * pwd/Makefile: Likewise.
13706 * resolv/Makefile: Likewise.
13707 * resource/Makefile: Likewise.
13708 * rt/Makefile: Likewise.
13709 * setjmp/Makefile: Likewise.
13710 * shadow/Makefile: Likewise.
13711 * signal/Makefile: Likewise.
13712 * socket/Makefile: Likewise.
13713 * soft-fp/Makefile: Likewise.
13714 * stdio-common/Makefile: Likewise.
13715 * stdlib/Makefile: Likewise.
13716 * streams/Makefile: Likewise.
13717 * string/Makefile: Likewise.
13718 * sunrpc/Makefile: Likewise.
13719 (all): Remove target.
13720 * sysvipc/Makefile: Include Makeconfig immediately after defining
13721 subdir.
13722 * termios/Makefile: Likewise.
13723 * time/Makefile: Likewise.
13724 * timezone/Makefile: Likewise.
13725 (all): Remove target.
13726 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13727 subdir.
13728 * wctype/Makefile: Likewise.
13729
5b456e9d
SE
137302014-02-26 Steve Ellcey <sellcey@mips.com>
13731
13732 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13733 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13734 (libc_feholdexcept_setround_mips): Ditto.
13735 (libc_feholdsetround): New.
13736 (libc_feholdsetroundf): New.
13737 (libc_feholdsetroundl): New.
13738 (libc_feupdateenv_test_mips): New.
13739 (libc_feupdateenv_test): New.
13740 (libc_feupdateenv_testf): New.
13741 (libc_feupdateenv_testl): New.
13742 (libc_feresetround): New.
13743 (libc_feresetroundf): New.
13744 (libc_feresetroundl): New.
13745 (libc_fetestexcept_mips): New.
13746 (libc_fetestexcept): New.
13747 (libc_fetestexceptf): New.
13748 (libc_fetestexceptl): New.
13749 (HAVE_RM_CTX): New.
13750 (libc_feholdexcept_setround_mips_ctx): New.
13751 (libc_feholdexcept_setround_ctx): New.
13752 (libc_feholdexcept_setroundf_ctx): New.
13753 (libc_feholdexcept_setroundl_ctx): New.
13754 (libc_fesetenv_mips_ctx): New.
13755 (libc_fesetenv_ctx): New.
13756 (libc_fesetenv_ctxf): New.
13757 (libc_fesetenv_ctxl): New.
13758 (libc_feupdateenv_mips_ctx): New.
13759 (libc_feupdateenv_ctx): New.
13760 (libc_feupdateenvf_ctx): New.
13761 (libc_feupdateenvl_ctx): New.
13762 (libc_feholdsetround_mips_ctx): New.
13763 (libc_feholdsetround_ctx): New.
13764 (libc_feholdsetroundf_ctx): New.
13765 (libc_feholdsetroundl_ctx): New.
13766 (libc_feresetround_mips_ctx): New.
13767 (libc_feresetround_ctx): New.
13768 (libc_feresetroundf_ctx): New.
13769 (libc_feresetroundl_ctx): New.
13770
085d0e35
CD
137712014-02-26 Carlos O'Donell <carlos@redhat.com>
13772
f067bf1f
CD
13773 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13774
085d0e35
CD
13775 * manual/ipc.texi: New file.
13776 * manual/Makefile (chapters): Add ipc.
13777 * manual/job.texi: Add "Inter-Process Communication" to next.
13778 * manual/process.texi: Add "Inter-Process Communication" to prev.
13779
86e58c08
AZ
137802014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13781
13782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13783
4248f0da
OB
137842014-02-26 Ondřej Bílka <neleai@seznam.cz>
13785
13786 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13787
cf822e3c
OB
13788 * manual/arith.texi: Fix spaces after sentences.
13789 * manual/charset.texi: Likewise.
13790 * manual/errno.texi: Likewise.
13791 * manual/install.texi: Likewise.
13792 * manual/llio.texi: Likewise.
13793 * manual/locale.texi: Likewise.
13794 * manual/maint.texi: Likewise.
13795 * manual/math.texi: Likewise.
13796 * manual/memory.texi: Likewise.
13797 * manual/message.texi: Likewise.
13798 * manual/probes.texi: Likewise.
13799 * manual/resource.texi: Likewise.
13800 * manual/signal.texi: Likewise.
13801 * manual/socket.texi: Likewise.
13802 * manual/stdio.texi: Likewise.
13803 * manual/string.texi: Likewise.
13804 * manual/time.texi: Likewise.
13805 * manual/users.texi: Likewise.
13806
ade40b10
CD
138072014-02-25 Carlos O'Donell <carlos@redhat.com>
13808
13809 [BZ #16632]
13810 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13811 _DEFAULT_SOURCE is defined.
13812
d0503676
CD
138132014-02-25 Ulrich Drepper <drepper@gmail.com>
13814 Carlos O'Donell <carlos@redhat.com>
13815
13816 [BZ #16613]
13817 * elf/dl-tls.c (_dl_count_modids): New function.
13818 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13819 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13820 audit library and increment generation counter.
13821 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13822 * elf/tst-audit9.c: New file.
13823 * elf/tst-auditmod9a.c: New file.
13824 * elf/tst-auditmod9b.c: New file.
13825 * elf/Makefile: Add rules to build and run tst-audit9.
13826
4cbf380c
FW
138272014-02-25 Florian Weimer <fweimer@redhat.com>
13828
13829 [BZ #15347]
13830 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13831
80a56cc3
WN
138322014-02-25 Will Newton <will.newton@linaro.org>
13833
13834 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13835 (__longjmp): Restore sp and lr before restoring callee
13836 saved registers. Add longjmp and longjmp_target
13837 SystemTap probe point.
13838 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13839 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13840 Define to zero to match jmpbuf layout.
13841 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13842 (__sigsetjmp): Save sp and lr before saving callee
13843 saved registers. Add setjmp SystemTap probe point.
13844
3ea0f74e
SL
138452014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13846
13847 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13848
b04acb26
AS
138492014-02-24 Andreas Schwab <schwab@suse.de>
13850
13851 [BZ #15804]
13852 * elf/pldd.c (wait_for_ptrace_stop): New function.
13853 (main): Call it after attaching.
13854
098ad55c
RM
138552014-02-22 Roland McGrath <roland@hack.frob.com>
13856
d4ec6ae1
RM
13857 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13858 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13859 Versions files is now verboten.
13860 * hurd/Versions (libc: GLIBC_2.0):
13861 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13862 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13863 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13864 * mach/Versions: Likewise.
13865
098ad55c
RM
13866 * csu/Versions: Remove unused %include.
13867 * resolv/Versions: Likewise.
13868
acd7f096
JM
138692014-02-21 Joseph Myers <joseph@codesourcery.com>
13870
f0881698
JM
13871 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13872 ($(objpfx)check-local-headers.out): Likewise.
13873 ($(objpfx)begin-end-check.out): Likewise.
13874 * Makerules (check-abi-%.out): Likewise.
13875 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13876 ($(objpfx)test2.cat): Likewise.
13877 ($(objpfx)de/libc.cat): Likewise.
13878 ($(objpfx)test-gencat.out): Likewise.
13879 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13880 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13881 ($(objpfx)noload-mem): Likewise.
13882 ($(objpfx)tst-pathopt.out): Likewise.
13883 ($(objpfx)tst-rtld-load-self.out): Likewise.
13884 ($(objpfx)tst-array1-cmp.out): Likewise.
13885 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13886 ($(objpfx)tst-array2-cmp.out): Likewise.
13887 ($(objpfx)tst-array3-cmp.out): Likewise.
13888 ($(objpfx)tst-array4-cmp.out): Likewise.
13889 ($(objpfx)tst-array5-cmp.out): Likewise.
13890 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13891 ($(objpfx)check-textrel.out): Likewise.
13892 ($(objpfx)check-execstack.out): Likewise.
13893 ($(objpfx)check-localplt.out): Likewise.
13894 ($(objpfx)order2-cmp.out): Likewise.
13895 ($(objpfx)tst-leaks1-mem): Likewise.
13896 ($(objpfx)tst-leaks1-static-mem): Likewise.
13897 ($(objpfx)tst-initorder-cmp.out): Likewise.
13898 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13899 ($(objpfx)tst-unused-dep.out): Likewise.
13900 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13901 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13902 * iconv/Makefile (test-iconvconfig): Likewise.
13903 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13904 ($(objpfx)iconv-test.out): Likewise.
13905 ($(objpfx)tst-tables.out): Likewise.
13906 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13907 ($(objpfx)tst-gettext.out): Likewise.
13908 ($(objpfx)tst-translit.out): Likewise.
13909 ($(objpfx)tst-gettext2.out): Likewise.
13910 ($(objpfx)tst-gettext4.out): Likewise.
13911 ($(objpfx)tst-gettext6.out): Likewise.
13912 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13913 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13914 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13915 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13916 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13917 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13918 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13919 ($(objpfx)wordexp-tst.out): Likewise.
13920 ($(objpfx)annexc.out): Likewise.
13921 ($(objpfx)tst-fnmatch-mem): Likewise.
13922 ($(objpfx)bug-regex2-mem): Likewise.
13923 ($(objpfx)bug-regex14-mem): Likewise.
13924 ($(objpfx)bug-regex21-mem): Likewise.
13925 ($(objpfx)bug-regex31-mem): Likewise.
13926 ($(objpfx)tst-vfork3-mem): Likewise.
13927 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13928 ($(objpfx)tst-pcre-mem): Likewise.
13929 ($(objpfx)tst-boost-mem): Likewise.
13930 ($(objpfx)tst-getconf.out): Likewise.
13931 ($(objpfx)bug-ga2-mem): Likewise.
13932 ($(objpfx)bug-glob2-mem): Likewise.
13933 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13934 ($(objpfx)mtrace-tst-leaks2): Likewise.
13935 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13936 ($(objpfx)tst-printf.out): Likewise.
13937 ($(objpfx)tst-setvbuf1.out): Likewise.
13938 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13939 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13940 ($(objpfx)tst-fmtmsg.out): Likewise.
13941 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13942 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13943
acd7f096
JM
13944 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13945 * bits/sigaction.h [__USE_MISC]: Likewise.
13946 * bits/waitstatus.h: Update #endif comments.
13947 * ctype/ctype.h: Likewise.
13948 * dirent/dirent.h: Likewise.
13949 [__USE_MISC]: Remove redundant conditionals.
13950 * grp/grp.h: Update #endif comments.
13951 [__USE_GNU]: Remove redundant conditionals.
13952 [__USE_MISC]: Likewise.
13953 * inet/netinet/in.h [__USE_GNU]: Likewise.
13954 * io/sys/stat.h [__USE_MISC]: Likewise.
13955 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13956 * libio/bits/stdio.h: Update #endif comments.
13957 [__USE_MISC]: Remove redundant conditionals.
13958 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13959 * libio/stdio.h: Update #endif comments.
13960 [__USE_MISC]: Remove redundant conditionals.
13961 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13962 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13963 * math/math.h: Update #else and #endif comments.
13964 [__USE_MISC]: Remove redundant conditionals.
13965 * misc/sys/uio.h: Update #endif comments.
13966 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13967 * posix/glob.h [__USE_MISC]: Likewise.
13968 * posix/sys/types.h: Update #endif comments.
13969 [__USE_MISC]: Remove redundant conditionals.
13970 * posix/sys/wait.h: Update #endif comments.
13971 [__USE_MISC]: Remove redundant conditionals.
13972 * posix/unistd.h: Update #endif comments.
13973 [__USE_MISC]: Remove redundant conditionals.
13974 * pwd/pwd.h [__USE_GNU]: Likewise.
13975 [__USE_MISC]: Likewise.
13976 * resolv/netdb.h [__USE_GNU]: Likewise.
13977 * signal/signal.h: Update #endif comments.
13978 [__USE_MISC]: Remove redundant conditionals.
13979 * stdlib/stdlib.h: Update #else and #endif comments.
13980 [__USE_MISC]: Remove redundant conditionals.
13981 [__USE_GNU]: Likewise.
13982 * string/bits/string2.h [__USE_MISC]: Likewise.
13983 * string/string.h: Update #endif comments.
13984 [__USE_MISC]: Remove redundant conditionals.
13985 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13986 Likewise.
13987 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13988 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13989 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13990 Likewise.
13991 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13992 Likewise.
13993 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13994 comments.
13995 [__USE_MISC]: Remove redundant conditionals.
13996 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13997 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13998 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13999 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14000 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14001 Likewise.
14002 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14003 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14004 Likewise.
14005 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14006 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14007 Likewise.
14008 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14009 Likewise.
14010 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14011 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14012 Likewise.
14013 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14014 Likewise.
14015 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14016 * sysdeps/x86/bits/string.h: Update #endif comments.
14017 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14018 conditionals.
14019 * time/sys/time.h: Update #endif comments.
14020 * time/time.h: Likewise.
14021 [__USE_MISC]: Remove redundant conditionals.
14022
a5d82e4e
YG
140232014-02-21 Yury Gribov <y.gribov@samsung.com>
14024
14025 [BZ #16600]
14026 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14027
9a80491d
AS
140282014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14029
14030 * Versions.def (librt): Add GLIBC_2.17.
14031
105fa381
AC
140322014-02-21 Adam Conrad <adconrad@0c3.net>
14033
14034 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14035 synonym for _SYS_AUXV_H to allow direct inclusion.
14036 * sysdeps/sparc/bits/hwcap.h: Likewise.
14037 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14038 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14039 * sysdeps/sparc/sysdep.h: Likewise.
14040
b8cd1c4e
SP
140412014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14042
14043 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14044
bd939d23
RS
140452014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14046
14047 * benchtests/bench-strrchr.c: Print length instead of position.
14048
5d7b57ca
JM
140492014-02-20 Joseph Myers <joseph@codesourcery.com>
14050
bc688c10
JM
14051 [BZ #16611]
14052 * sysdeps/unix/sysv/linux/kernel-features.h
14053 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14054 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14055 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14056 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14057 Likewise.
14058 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14059 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14060 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14061 (__ASSUME_SENDMMSG): Define instead of using previous
14062 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14063 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14064 (__ASSUME_SENDMMSG_SYSCALL): Define.
14065 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14066 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14067 Likewise.
14068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14069 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14070 Likewise.
14071 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14072 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14073 Likewise.
14074 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14075 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14076 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14077 [__ASSUME_SENDMMSG]: Change conditionals to
14078 [__ASSUME_SENDMMSG_SOCKETCALL].
14079 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14080 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14081 Define.
14082 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14083 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14084 Likewise.
14085 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14086 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14087 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14088 [!__ASSUME_SENDMMSG]: Change conditional to
14089 [!__ASSUME_SENDMMSG_SOCKETCALL].
14090 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14091 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14092 Define.
14093
0e31b18c
JM
14094 [BZ #16610]
14095 * sysdeps/unix/sysv/linux/kernel-features.h
14096 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14097 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14098 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14099 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14100 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14101 [__i386__ || __sparc__]
14102 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14103 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14104 (__ASSUME_RECVMMSG): Define instead of using previous
14105 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14106 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14107 (__ASSUME_RECVMMSG_SYSCALL): Define.
14108 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14109 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14110 Likewise.
14111 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14112 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14113 Likewise.
14114 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14115 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14116 Likewise.
14117 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14118 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14119 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14120 [__ASSUME_RECVMMSG]: Change condition to
14121 [__ASSUME_RECVMMSG_SOCKETCALL].
14122 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14123 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14124 Define.
14125 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14126 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14127 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14128 Likewise.
14129 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14130 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14131 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14132 [!__ASSUME_RECVMMSG]: Change condition to
14133 [!__ASSUME_RECVMMSG_SOCKETCALL].
14134 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14135 (__ASSUME_RECVMMSG_SYSCALL): Define.
14136
dd481ccf
JM
14137 [BZ #16609]
14138 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14139 __powerpc__ || __s390__ || __sh__ || __sparc__]
14140 (__ASSUME_SOCKETCALL): Define.
14141 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14142 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14143 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14144 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14145 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14146 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14147 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14148 (__ASSUME_ACCEPT4): Define instead of using previous
14149 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14150 __powerpc__ || __sparc__ || __s390__)] condition.
14151 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14152 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14153 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14154 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14155 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14156 [!__ASSUME_ACCEPT4]: Change condition to
14157 [!__ASSUME_ACCEPT4_SOCKETCALL].
14158 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14159 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14160 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14162 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14163 __ASSUME_ACCEPT4_SYSCALL.
14164 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14165 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14166 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14167 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14168 __ASSUME_ACCEPT4_SYSCALL.
14169 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14170 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14171 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14172 [__ASSUME_ACCEPT4]: Change condition to
14173 [__ASSUME_ACCEPT4_SOCKETCALL].
14174 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14175 (__ASSUME_SOCKETCALL): Define.
14176 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14178 (__ASSUME_SOCKETCALL): Define.
14179 (__ASSUME_ACCEPT4): Remove.
14180 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14181 Define.
14182 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14183 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14184 Likewise.
14185 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14186 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14187
5d7b57ca
JM
14188 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14189 macro.
14190 (HWCAP_ARM_LPAE): Likewise.
14191 (HWCAP_ARM_EVTSTRM): Likewise.
14192 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14193 Add vpfd32, lpae and evtstrm.
14194 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14195 Increase to 22.
14196
63689d61
JM
141972014-02-19 Joseph Myers <joseph@codesourcery.com>
14198
14199 * math/auto-libm-test-in: Add tests of clog10.
14200 * math/auto-libm-test-out: Regenerated.
14201 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14202 * sysdeps/i386/fpu/libm-test-ulps: Update.
14203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14204
ab09bf61
AS
142052014-02-18 Andreas Schwab <schwab@suse.de>
14206
14207 [BZ #16574]
14208 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14209 Store non-zero if the second buffer was newly allocated.
14210 (send_dg): Likewise.
14211 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14212 to send_vc and send_dg.
14213 (res_nsend): Pass NULL for ansp2_malloced.
14214 * resolv/res_query.c (__libc_res_nquery): Add parameter
14215 answerp2_malloced and pass it down to __libc_res_nsend.
14216 (res_nquery): Pass additional NULL to __libc_res_nquery.
14217 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14218 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14219 second answer buffer if answerp2_malloced was set.
14220 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14221 (__libc_res_nquerydomain): Add parameter
14222 answerp2_malloced and pass it down to __libc_res_nquery.
14223 (res_nquerydomain): Pass additional NULL to
14224 __libc_res_nquerydomain.
14225 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14226 additional NULL to __libc_res_nsend and __libc_res_nquery.
14227 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14228 additional NULL to __libc_res_nsearch.
14229 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14230 parameter of __libc_res_nsearch to check for separately allocated
14231 second buffer.
14232 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14233 __libc_res_nquery.
14234 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14235 additional NULL to __libc_res_nquery.
14236 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14237 __libc_res_nsearch.
14238 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14239 * include/resolv.h: Update prototypes of __libc_res_nquery,
14240 __libc_res_nsearch, __libc_res_nsend.
14241
a4fb7861
JM
142422014-02-18 Joseph Myers <joseph@codesourcery.com>
14243
c6af2d89
JM
14244 * math/auto-libm-test-in: Add tests of fma.
14245 * math/auto-libm-test-out: Regenerated.
14246 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14247 (fma_towardzero_test_data): Likewise.
14248 (fma_downward_test_data): Likewise.
14249 (fma_upward_test_data): Likewise.
14250 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14251 mpc_mode.
14252 (rounding_modes): Add values for new field.
14253 (func_calc_method): Add value mpfr_fff_f.
14254 (func_calc_desc): Add mpfr_fff_f union field.
14255 (test_function): Add field exact_args.
14256 (FUNC): Add macro argument EXACT_ARGS.
14257 (FUNC_mpfr_f_f): Update call to FUNC.
14258 (FUNC_mpfr_f_f): Likewise.
14259 (FUNC_mpfr_ff_f): Likewise.
14260 (FUNC_mpfr_if_f): Likewise.
14261 (FUNC_mpc_c_f): Likewise.
14262 (FUNC_mpc_c_c): Likewise.
14263 (test_functions): Add fma. Update calls to FUNC.
14264 (handle_input_arg): Add argument exact_args.
14265 (add_test): Update call to handle_input_arg.
14266 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14267 (output_for_one_input_case): Update call to calc_generic_results.
14268 Recalculate exact zero results in each rounding mode.
14269
a4fb7861
JM
14270 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14271 non-negative before setting low bit.
14272 * math/auto-libm-test-in: Mark one asin test possibly having
14273 spurious underflow.
14274 * math/auto-libm-test-out: Regenerated.
14275 * sysdeps/i386/fpu/libm-test-ulps: Update.
14276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14277
ef114eaf
DH
142782014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14279
2b7f4f2c
SP
14280 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14281 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14282 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14283 * README: Add missing listing for microblaze*-*-linux-gnu.
14284
8125aedc
AM
142852014-02-16 Ondřej Bílka <neleai@seznam.cz>
14286
14287 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14288 duplicate code
14289
c70a4b1d
MF
142902014-02-16 Mike Frysinger <vapier@gentoo.org>
14291
14292 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14293 * sysdeps/unix/sysv/linux/ia64: Move directory from
14294 ports/sysdeps/unix/sysv/linux/ia64.
14295 * README: Update listing for ia64-*-linux-gnu.
14296
591aeaf7
TD
142972014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14298 Joseph Myers <joseph@codesourcery.com>
14299
14300 * Makeconfig (test-name): New variable.
14301 (evaluate-test): Likewise.
14302 * Makerules (do-test-clean): Remove .test-result files.
14303 (common-mostlyclean): Likewise.
14304 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14305 * scripts/evaluate-test.sh: New file.
14306
6e89caf1
JM
143072014-02-14 Joseph Myers <joseph@codesourcery.com>
14308
7f98f180
JM
14309 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14310 separate $(objpfx)tst-fopenloc-cmp.out and
14311 $(objpfx)tst-fopenloc-mem.out targets.
14312 (tests): Update dependencies.
14313 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14314 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14315 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14316 (tst-rxspencer-no-utf8-ARGS): New variable.
14317 (tst-rxspencer-no-utf8-ENV): Likewise.
14318 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14319 instead of $(objpfx)tst-rxspencer-mem.
14320 ($(objpfx)tst-rxspencer-mem): Change target to
14321 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14322 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14323 * posix/tst-rxspencer-no-utf8.c: New file.
14324
6e89caf1
JM
14325 * elf/Makefile ($(objpfx)order.out): Remove rule.
14326 [$(run-built-tests) = yes] (tests): Depend on
14327 $(objpfx)order-cmp.out.
14328 ($(objpfx)order-cmp.out): New rule.
14329 [$(run-built-tests) = yes] (tests): Depend on
14330 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14331 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14332 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14333 $(objpfx)tst-array5-static-cmp.out.
14334 ($(objpfx)tst-array1.out): Remove rule.
14335 ($(objpfx)tst-array1-cmp.out): New rule.
14336 ($(objpfx)tst-array1-static.out): Remove rule.
14337 ($(objpfx)tst-array1-static-cmp.out): New rule.
14338 ($(objpfx)tst-array2.out): Remove rule.
14339 ($(objpfx)tst-array2-cmp.out): New rule.
14340 ($(objpfx)tst-array3.out): Remove rule.
14341 ($(objpfx)tst-array3-cmp.out): New rule.
14342 ($(objpfx)tst-array4.out): Remove rule.
14343 ($(objpfx)tst-array4-cmp.out): New rule.
14344 ($(objpfx)tst-array5.out): Remove rule.
14345 ($(objpfx)tst-array5-cmp.out): New rule.
14346 ($(objpfx)tst-array5-static.out): Remove rule.
14347 ($(objpfx)tst-array5-static-cmp.out): New rule.
14348 [$(run-built-tests) = yes] (tests): Depend on
14349 $(objpfx)order2-cmp.out.
14350 ($(objpfx)order2.out): Remove rule.
14351 ($(objpfx)order2-cmp.out): New rule.
14352 ($(objpfx)tst-initorder.out): Remove rule.
14353 [$(run-built-tests) = yes] (tests): Depend on
14354 $(objpfx)tst-initorder-cmp.out.
14355 ($(objpfx)tst-initorder-cmp.out): New rule.
14356 ($(objpfx)tst-initorder2.out): Remove rule.
14357 [$(run-built-tests) = yes] (tests): Depend on
14358 $(objpfx)tst-initorder2-cmp.out.
14359 ($(objpfx)tst-initorder2-cmp.out): New rule.
14360 [$(run-built-tests) = yes] (tests): Depend on
14361 $(objpfx)tst-unused-dep-cmp.out.
14362 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14363 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14364 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14365 on $(objpfx)tst-setvbuf1-cmp.out.
14366 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14367 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14368 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14369 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14370 ($(objpfx)tst-svc.out): Remove rule.
14371 ($(objpfx)tst-svc-cmp.out): New rule.
14372
ed9a38e2
JM
143732014-02-13 Joseph Myers <joseph@codesourcery.com>
14374
14375 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14376 * ctype/ctype.h [__USE_MISC]: Likewise.
14377 * dirent/dirent.h [__USE_MISC]: Likewise.
14378 * grp/grp.h [__USE_MISC]: Likewise.
14379 * io/fcntl.h [__USE_MISC]: Likewise.
14380 * io/sys/stat.h [__USE_MISC]: Likewise.
14381 * libio/stdio.h [__USE_MISC]: Likewise.
14382 * posix/unistd.h [__USE_MISC]: Likewise.
14383 * pwd/pwd.h [__USE_MISC]: Likewise.
14384 * stdlib.h [__USE_MISC]: Likewise.
14385 * string/bits/string2.h [__USE_MISC]: Likewise.
14386 * string/string.h [__USE_MISC]: Likewise.
14387 * time/time.h [__USE_MISC]: Likewise.
14388
d6680619
AS
143892014-02-13 Andreas Schwab <schwab@suse.de>
14390
14391 [BZ #16574]
14392 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14393 second answer buffer if it was separately allocated.
14394
ace614b8
JM
143952014-02-12 Joseph Myers <joseph@codesourcery.com>
14396
743151ae
JM
14397 * sysdeps/mips/math-tests.h: Include <features.h>.
14398 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14399 (ROUNDING_TESTS_long_double): Do not define.
14400 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14401 (EXCEPTION_TESTS_long_double): Likewise.
14402 * sysdeps/mips/mips64/libm-test-ulps: Update.
14403
498afc54
JM
14404 * include/features.h (__USE_BSD): Remove macro definitions.
14405 (__USE_SVID): Likewise.
14406 (_BSD_SOURCE): Likewise.
14407 (_SVID_SOURCE): Likewise.
14408 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14409 from definition of _DEFAULT_SOURCE.
14410 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14411 [_DEFAULT_SOURCE].
14412 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14413 * bits/mman.h [__USE_BSD]: Likewise.
14414 * bits/termios.h [__USE_BSD]: Likewise.
14415 * bits/waitstatus.h [__USE_BSD]: Likewise.
14416 * ctype/ctype.h [__USE_SVID]: Likewise.
14417 * dirent/dirent.h [__USE_BSD]: Likewise.
14418 * grp/grp.h [__USE_SVID]: Likewise.
14419 [__USE_BSD]: Likewise.
14420 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14421 * io/fcntl.h [__USE_BSD]: Likewise.
14422 * io/ftw.h [__USE_BSD]: Likewise.
14423 * io/sys/stat.h [__USE_BSD]: Likewise.
14424 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14425 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14426 * libio/stdio.h [__USE_SVID]: Likewise.
14427 [__USE_BSD]: Likewise.
14428 * math/math.h [__USE_SVID]: Likewise.
14429 [__USE_BSD]: Likewise.
14430 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14431 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14432 * misc/search.h [__USE_SVID]: Likewise.
14433 * misc/sys/mman.h [__USE_BSD]: Likewise.
14434 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14435 * misc/sys/uio.h [__USE_BSD]: Likewise.
14436 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14437 * posix/glob.h [__USE_BSD]: Likewise.
14438 * posix/regex.h [__USE_BSD]: Likewise.
14439 * posix/sys/types.h [__USE_BSD]: Likewise.
14440 [__USE_SVID]: Likewise.
14441 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14442 * posix/sys/wait.h [__USE_BSD]: Likewise.
14443 [__USE_SVID]: Likewise.
14444 * posix/unistd.h [__USE_BSD]: Likewise.
14445 [__USE_SVID]: Likewise.
14446 * pwd/pwd.h [__USE_SVID]: Likewise.
14447 * resolv/netdb.h [__USE_BSD]: Likewise.
14448 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14449 * signal/signal.h [__USE_BSD]: Likewise.
14450 [__USE_SVID]: Likewise.
14451 * socket/sys/socket.h [__USE_BSD]: Likewise.
14452 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14453 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14454 [__USE_SVID]: Likewise.
14455 * string/bits/string2.h [__USE_BSD]: Likewise.
14456 [__USE_SVID]: Likewise.
14457 * string/bits/string3.h [__USE_BSD]: Likewise.
14458 * string/endian.h [__USE_BSD]: Likewise.
14459 * string/string.h [__USE_SVID]: Likewise.
14460 [__USE_BSD]: Likewise.
14461 * string/strings.h [__USE_BSD]: Likewise.
14462 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14463 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14464 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14465 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14466 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14467 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14468 Likewise.
14469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14470 Likewise.
14471 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14472 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14473 Likewise.
14474 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14475 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14476 Likewise.
14477 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14478 Likewise.
14479 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14480 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14481 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14482 Likewise.
14483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14484 Likewise.
14485 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14486 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14487 * termios/termios.h [__USE_BSD]: Likewise.
14488 * time/sys/time.h [__USE_BSD]: Likewise.
14489 * time/time.h [__USE_BSD]: Likewise.
14490 [__USE_SVID]: Likewise.
14491
dd7b064c
JM
14492 * Makefile (subdir_targets): Remove subdir_lint.out.
14493
a2c4c199
JM
14494 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14495 (do-tst-printf): Likewise.
14496 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14497 $(objpfx)tst-printf.out.
14498
8756f740
JM
14499 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14500
1b6dd3f1
JM
14501 * Makerules (check-abi-%): Change target to
14502 $(objpfx)check-abi-%.out.
14503 (check-abi target): Update dependencies.
14504 (check-abi-pattern variable): Redirect output of diff to $@.
14505 (check-abi variable): Likewise.
14506 * elf/Makefile (check-abi): Update dependencies.
14507
ace614b8
JM
14508 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14509 unused.
14510 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14511 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14512 subnormal range.
14513 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14514 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14515 value has largest subnormal exponent.
14516 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14517 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14518 * sysdeps/aarch64/soft-fp/sfp-machine.h
14519 (_FP_TININESS_AFTER_ROUNDING): New macro.
14520 * sysdeps/alpha/soft-fp/sfp-machine.h
14521 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14522 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14523 Likewise.
14524 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14525 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14526 * sysdeps/mips/soft-fp/sfp-machine.h
14527 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14528 * sysdeps/powerpc/soft-fp/sfp-machine.h
14529 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14530 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14531 Likewise.
14532 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14533 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14535 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14536 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14537 Likewise.
14538
fbfdf9cb
DAS
145392014-02-12 Dylan Alex Simon <dylan@dylex.net>
14540
14541 [BZ #16545]
14542 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14543 model 1.
14544
68b7efaa
RH
145452014-02-12 Richard Henderson <rth@redhat.com>
14546
c70a4b1d 14547 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14548 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14549 * sysdeps/unix/sysv/linux/alpha: Move directory from
14550 ports/sysdeps/unix/sysv/linux/alpha.
14551 * README: Update listing for alpha-*-linux-gnu.
14552
cb4a2928
JM
145532014-02-11 Joseph Myers <joseph@codesourcery.com>
14554
c941736c
JM
14555 * include/features.h: Update comment documenting feature test
14556 macros.
14557 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14558 _DEFAULT_SOURCE.
14559 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14560 (_SVID_SOURCE): Likewise.
14561 (_DEFAULT_SOURCE): Update description of default features.
14562 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14563 with _GNU_SOURCE.
14564 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14565 (S_ISVTX): Likewise.
14566 * manual/math.texi (Mathematical Constants): Likewise.
14567 * manual/signal.texi (Interrupted Primitives): Likewise.
14568 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14569 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14570 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14571 Don't refer to _SVID_SOURCE in warning text.
14572
e8d8d7ec
JM
14573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14574
cb4a2928
JM
14575 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14576 already defined.
14577 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14578 * sysdeps/mips/dl-lookup.c: Remove.
14579 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14580
7e6424e3
AK
145812014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14582
14583 [BZ #16447]
14584 * math/auto-libm-test-in: Add testcase for expl.
14585 * math/auto-libm-test-out: Regenerate.
14586 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14587 calculation of unsafe.
14588 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14589
75eff3fe
MS
145902014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14591
14592 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14593 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14594 ports/sysdeps/unix/sysv/linux/aarch64.
14595 * README: Update listing for aarch64*-*-linux-gnu.
14596
d35f1e80
WN
145972014-02-11 Will Newton <will.newton@linaro.org>
14598
14599 * manual/probes.texi (Mathematical Function Probes): Use
14600 "triggered" instead of "hit".
14601
7b3436d4
WN
14602 * manual/probes.texi (Internal Probes): Add documentation
14603 of setjmp, longjmp and longjmp_target probes.
14604
b4f12ca3
WN
14605 * include/stap-probe.h: Add comment about probe argument
14606 format.
14607
c13a72b7
WN
14608 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14609 definition. (tr_where, tr_freehook, tr_mallochook,
14610 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14611
195b8165
DM
146122014-02-11 David S. Miller <davem@davemloft.net>
14613
14614 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14615 processing int_tests.
14616
2ad7600b
JM
146172014-02-10 Joseph Myers <joseph@codesourcery.com>
14618
14619 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14620 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14621 * sysdeps/unix/sysv/linux/mips: Move directory from
14622 ports/sysdeps/unix/sysv/linux/mips.
14623 * README: Update listing for mips-*-linux-gnu and
14624 mips64-*-linux-gnu.
14625
73588a72
AS
146262014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14627
14628 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14629 * sysdeps/unix/sysv/linux/m68k: Move directory from
14630 ports/sysdeps/unix/sysv/linux/m68k.
14631 * README: Update listing for m68k-*-linux-gnu.
14632
4372980f
CM
146332014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14634
14635 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14636 * sysdeps/unix/sysv/linux/generic: Move directory from
14637 ports/sysdeps/unix/sysv/linux/generic.
14638 * sysdeps/unix/sysv/linux/tile: Move directory from
14639 ports/sysdeps/unix/sysv/linux/tile.
14640 * README: Update listing for tile*-*-linux-gnu.
14641
a1ffb40e
OB
146422014-02-10 Ondřej Bílka <neleai@seznam.cz>
14643
57f41c40
AS
14644 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14645 __builtin_expect.
a1ffb40e
OB
14646 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14647 * catgets/open_catalog.c (__open_catalog): Likewise.
14648 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14649 * debug/confstr_chk.c: Likewise.
14650 * debug/fread_chk.c (__fread_chk): Likewise.
14651 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14652 * debug/getgroups_chk.c: Likewise.
14653 * debug/mbsnrtowcs_chk.c: Likewise.
14654 * debug/mbsrtowcs_chk.c: Likewise.
14655 * debug/mbstowcs_chk.c: Likewise.
14656 * debug/memcpy_chk.c: Likewise.
14657 * debug/memmove_chk.c: Likewise.
14658 * debug/mempcpy_chk.c: Likewise.
14659 * debug/memset_chk.c: Likewise.
14660 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14661 * debug/strcat_chk.c (__strcat_chk): Likewise.
14662 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14663 * debug/strncat_chk.c (__strncat_chk): Likewise.
14664 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14665 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14666 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14667 * debug/wcpncpy_chk.c: Likewise.
14668 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14669 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14670 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14671 * debug/wcsncpy_chk.c: Likewise.
14672 * debug/wcsnrtombs_chk.c: Likewise.
14673 * debug/wcsrtombs_chk.c: Likewise.
14674 * debug/wcstombs_chk.c: Likewise.
14675 * debug/wmemcpy_chk.c: Likewise.
14676 * debug/wmemmove_chk.c: Likewise.
14677 * debug/wmempcpy_chk.c: Likewise.
14678 * debug/wmemset_chk.c: Likewise.
14679 * dirent/scandirat.c (SCANDIRAT): Likewise.
14680 * dlfcn/dladdr1.c (dladdr1): Likewise.
14681 * dlfcn/dladdr.c (dladdr): Likewise.
14682 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14683 * dlfcn/dlerror.c (__dlerror): Likewise.
14684 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14685 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14686 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14687 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14688 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14689 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14690 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14691 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14692 Likewise.
14693 * elf/dl-conflict.c: Likewise.
14694 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14695 * elf/dl-dst.h: Likewise.
14696 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14697 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14698 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14699 * elf/dl-init.c (call_init, _dl_init): Likewise.
14700 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14701 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14702 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14703 Likewise.
a1ffb40e
OB
14704 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14705 Likewise.
14706 * elf/dl-minimal.c (__libc_memalign): Likewise.
14707 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14708 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14709 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14710 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14711 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14712 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14713 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14714 * elf/dl-writev.h (_dl_writev): Likewise.
14715 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14716 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14717 (dl_main): Likewise.
a1ffb40e
OB
14718 * elf/setup-vdso.h (setup_vdso): Likewise.
14719 * grp/compat-initgroups.c (compat_call): Likewise.
14720 * grp/fgetgrent.c (fgetgrent): Likewise.
14721 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14722 * grp/putgrent.c (putgrent): Likewise.
14723 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14724 Likewise.
14725 * hurd/hurdinit.c: Likewise.
14726 * iconvdata/8bit-gap.c (struct): Likewise.
14727 * iconvdata/ansi_x3.110.c : Likewise.
14728 * iconvdata/big5.c : Likewise.
14729 * iconvdata/big5hkscs.c : Likewise.
14730 * iconvdata/cp1255.c: Likewise.
14731 * iconvdata/cp1258.c : Likewise.
14732 * iconvdata/cp932.c : Likewise.
14733 * iconvdata/euc-cn.c: Likewise.
14734 * iconvdata/euc-jisx0213.c : Likewise.
14735 * iconvdata/euc-jp.c: Likewise.
14736 * iconvdata/euc-jp-ms.c : Likewise.
14737 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14738 * iconvdata/gb18030.c : Likewise.
14739 * iconvdata/gbbig5.c (const): Likewise.
14740 * iconvdata/gbgbk.c: Likewise.
14741 * iconvdata/gbk.c : Likewise.
14742 * iconvdata/ibm1364.c : Likewise.
14743 * iconvdata/ibm930.c : Likewise.
14744 * iconvdata/ibm932.c: Likewise.
14745 * iconvdata/ibm933.c : Likewise.
14746 * iconvdata/ibm935.c : Likewise.
14747 * iconvdata/ibm937.c : Likewise.
14748 * iconvdata/ibm939.c : Likewise.
14749 * iconvdata/ibm943.c: Likewise.
14750 * iconvdata/iso_11548-1.c: Likewise.
14751 * iconvdata/iso-2022-cn.c : Likewise.
14752 * iconvdata/iso-2022-cn-ext.c : Likewise.
14753 * iconvdata/iso-2022-jp-3.c: Likewise.
14754 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14755 * iconvdata/iso-2022-kr.c : Likewise.
14756 * iconvdata/iso646.c (gconv_end): Likewise.
14757 * iconvdata/iso_6937-2.c : Likewise.
14758 * iconvdata/iso_6937.c : Likewise.
14759 * iconvdata/iso8859-1.c: Likewise.
14760 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14761 * iconvdata/shift_jisx0213.c : Likewise.
14762 * iconvdata/sjis.c : Likewise.
14763 * iconvdata/t.61.c : Likewise.
14764 * iconvdata/tcvn5712-1.c : Likewise.
14765 * iconvdata/tscii.c: Likewise.
14766 * iconvdata/uhc.c : Likewise.
14767 * iconvdata/unicode.c (gconv_end): Likewise.
14768 * iconvdata/utf-16.c (gconv_end): Likewise.
14769 * iconvdata/utf-32.c (gconv_end): Likewise.
14770 * iconvdata/utf-7.c (base64): Likewise.
14771 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14772 * iconv/gconv_close.c (__gconv_close): Likewise.
14773 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14774 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14775 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14776 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14777 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14778 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14779 * iconv/iconv.c (iconv): Likewise.
14780 * iconv/iconv_close.c: Likewise.
14781 * iconv/loop.c (SINGLE): Likewise.
14782 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14783 * include/atomic.h: Likewise.
14784 * inet/inet6_option.c (option_alloc): Likewise.
14785 * intl/bindtextdom.c (set_binding_values): Likewise.
14786 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14787 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14788 * intl/localealias.c (read_alias_file): Likewise.
14789 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14790 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14791 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14792 * libio/fmemopen.c (fmemopen): Likewise.
14793 * libio/iofgets.c (_IO_fgets): Likewise.
14794 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14795 * libio/iofgetws.c (fgetws): Likewise.
14796 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14797 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14798 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14799 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14800 * locale/findlocale.c (_nl_find_locale): Likewise.
14801 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14802 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14803 Likewise.
14804 * locale/setlocale.c (setlocale): Likewise.
14805 * login/programs/pt_chown.c (main): Likewise.
14806 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14807 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14808 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14809 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14810 * math/e_exp2l.c: Likewise.
14811 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14812 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14813 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14814 * math/s_catan.c (__catan): Likewise.
14815 * math/s_catanf.c (__catanf): Likewise.
14816 * math/s_catanh.c (__catanh): Likewise.
14817 * math/s_catanhf.c (__catanhf): Likewise.
14818 * math/s_catanhl.c (__catanhl): Likewise.
14819 * math/s_catanl.c (__catanl): Likewise.
14820 * math/s_ccosh.c (__ccosh): Likewise.
14821 * math/s_ccoshf.c (__ccoshf): Likewise.
14822 * math/s_ccoshl.c (__ccoshl): Likewise.
14823 * math/s_cexp.c (__cexp): Likewise.
14824 * math/s_cexpf.c (__cexpf): Likewise.
14825 * math/s_cexpl.c (__cexpl): Likewise.
14826 * math/s_clog10.c (__clog10): Likewise.
14827 * math/s_clog10f.c (__clog10f): Likewise.
14828 * math/s_clog10l.c (__clog10l): Likewise.
14829 * math/s_clog.c (__clog): Likewise.
14830 * math/s_clogf.c (__clogf): Likewise.
14831 * math/s_clogl.c (__clogl): Likewise.
14832 * math/s_csin.c (__csin): Likewise.
14833 * math/s_csinf.c (__csinf): Likewise.
14834 * math/s_csinh.c (__csinh): Likewise.
14835 * math/s_csinhf.c (__csinhf): Likewise.
14836 * math/s_csinhl.c (__csinhl): Likewise.
14837 * math/s_csinl.c (__csinl): Likewise.
14838 * math/s_csqrt.c (__csqrt): Likewise.
14839 * math/s_csqrtf.c (__csqrtf): Likewise.
14840 * math/s_csqrtl.c (__csqrtl): Likewise.
14841 * math/s_ctan.c (__ctan): Likewise.
14842 * math/s_ctanf.c (__ctanf): Likewise.
14843 * math/s_ctanh.c (__ctanh): Likewise.
14844 * math/s_ctanhf.c (__ctanhf): Likewise.
14845 * math/s_ctanhl.c (__ctanhl): Likewise.
14846 * math/s_ctanl.c (__ctanl): Likewise.
14847 * math/w_pow.c: Likewise.
14848 * math/w_powf.c: Likewise.
14849 * math/w_powl.c: Likewise.
14850 * math/w_scalb.c (sysv_scalb): Likewise.
14851 * math/w_scalbf.c (sysv_scalbf): Likewise.
14852 * math/w_scalbl.c (sysv_scalbl): Likewise.
14853 * misc/error.c (error_tail): Likewise.
14854 * misc/pselect.c (__pselect): Likewise.
14855 * nis/nis_callback.c (__nis_create_callback): Likewise.
14856 * nis/nis_call.c (__nisfind_server): Likewise.
14857 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14858 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14859 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14860 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14861 * nis/nis_lookup.c (nis_lookup): Likewise.
14862 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14863 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14864 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14865 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14866 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14867 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14868 * nis/nss_compat/compat-initgroups.c (add_group)
14869 (internal_getgrent_r): Likewise.
14870 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14871 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14872 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14873 (internal_getspnam_r): Likewise.
14874 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14875 (_nss_nis_getaliasbyname_r): Likewise.
14876 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14877 (_nss_nis_getntohost_r): Likewise.
14878 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14879 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14880 (_nss_nis_getgrgid_r): Likewise.
14881 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14882 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14883 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14884 (_nss_nis_gethostbyname4_r): Likewise.
14885 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14886 (initgroups_netid): Likewise.
a1ffb40e 14887 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14888 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14889 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14890 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14891 (_nss_nis_getprotobynumber_r): Likewise.
14892 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14893 (_nss_nis_getsecretkey): Likewise.
14894 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14895 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14896 (_nss_nis_getpwuid_r): Likewise.
14897 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14898 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14899 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14900 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14901 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14902 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14903 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14904 Likewise.
57f41c40
AS
14905 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14906 (_nss_nisplus_getntohost_r): Likewise.
14907 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14908 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14909 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14910 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14911 Likewise.
57f41c40
AS
14912 * nis/nss_nisplus/nisplus-initgroups.c
14913 (_nss_nisplus_initgroups_dyn): Likewise.
14914 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14915 (_nss_nisplus_getnetbyaddr_r): Likewise.
14916 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14917 (_nss_nisplus_getprotobynumber_r): Likewise.
14918 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14919 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14920 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14921 Likewise.
57f41c40
AS
14922 * nis/nss_nisplus/nisplus-service.c
14923 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14924 (_nss_nisplus_getservbyport_r): Likewise.
14925 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14926 (_nss_nisplus_getspnam_r): Likewise.
14927 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14928 Likewise.
a1ffb40e
OB
14929 * nscd/aicache.c (addhstaiX): Likewise.
14930 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14931 * nscd/connections.c (register_traced_file, send_ro_fd)
14932 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14933 (main_loop_epoll): Likewise.
a1ffb40e
OB
14934 * nscd/grpcache.c (addgrbyX): Likewise.
14935 * nscd/hstcache.c (addhstbyX): Likewise.
14936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14937 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14938 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14939 (addinnetgrX): Likewise.
14940 * nscd/nscd-client.h (__nscd_acquire_maplock)
14941 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14942 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14943 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14944 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14945 Likewise.
14946 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14947 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14948 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14949 (__nscd_get_map_ref): Likewise.
a1ffb40e 14950 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14951 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14952 Likewise.
a1ffb40e
OB
14953 * nscd/pwdcache.c (addpwbyX): Likewise.
14954 * nscd/selinux.c (preserve_capabilities): Likewise.
14955 * nscd/servicescache.c (addservbyX): Likewise.
14956 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14957 * posix/fnmatch.c (fnmatch): Likewise.
14958 * posix/getopt.c (_getopt_internal_r): Likewise.
14959 * posix/glob.c (glob, glob_in_dir): Likewise.
14960 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14961 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14962 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14963 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14964 * resolv/res_init.c: Likewise.
14965 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14966 * resolv/res_query.c (__libc_res_nquery): Likewise.
14967 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14968 Likewise.
14969 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14970 * stdio-common/perror.c (perror): Likewise.
14971 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14972 * stdio-common/tmpnam.c (tmpnam): Likewise.
14973 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14974 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
14975 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14976 Likewise.
a1ffb40e
OB
14977 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14978 * stdlib/putenv.c (putenv): Likewise.
14979 * stdlib/setenv.c (__add_to_environ): Likewise.
14980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14981 * stdlib/strtol_l.c (INTERNAL): Likewise.
14982 * string/memmem.c (memmem): Likewise.
14983 * string/strerror.c (strerror): Likewise.
14984 * string/strnlen.c (__strnlen): Likewise.
14985 * string/test-memmem.c (simple_memmem): Likewise.
14986 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14987 * sunrpc/pm_getport.c (__get_socket): Likewise.
14988 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14989 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
14990 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14991 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
14992 Likewise.
14993 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14994 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14995 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14996 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14997 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
14998 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14999 Likewise.
15000 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15001 Likewise.
a1ffb40e
OB
15002 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15003 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15004 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15005 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15006 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15008 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15009 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15010 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15011 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15012 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15013 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15014 Likewise.
15015 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15016 Likewise.
15017 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15018 Likewise.
15019 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15020 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15021 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15022 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15023 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15024 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15025 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
15034 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15035 Likewise.
a1ffb40e
OB
15036 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15037 Likewise.
15038 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15039 Likewise.
15040 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15041 Likewise.
15042 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15044 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15045 Likewise.
15046 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15047 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15048 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15049 * sysdeps/posix/sleep.c: Likewise.
15050 * sysdeps/posix/tempname.c: Likewise.
15051 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15052 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15053 Likewise.
57f41c40
AS
15054 * sysdeps/powerpc/powerpc32/dl-machine.h
15055 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
15056 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15058 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15059 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15060 Likewise.
15061 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15062 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15063 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15064 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15065 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15066 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15067 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15068 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15069 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15070 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15072 (elf_machine_lazy_rel): Likewise.
a1ffb40e 15073 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15075 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15076 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15077 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15078 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15079 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15080 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15081 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15082 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15084 Likewise.
15085 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15086 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15087 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15088 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15089 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15090 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15091 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15092 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15093 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15094 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15095 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15096 Likewise.
15097 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15098 (__posix_fallocate64_l64): Likewise.
15099 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15100 (posix_fallocate): Likewise.
57f41c40
AS
15101 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15102 Likewise.
a1ffb40e 15103 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
15104 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15105 (getifaddrs_internal): Likewise.
a1ffb40e
OB
15106 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15107 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15108 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15109 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15110 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15111 (__posix_fallocate64_l64): Likewise.
15112 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15113 Likewise.
15114 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
15115 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15116 (__get_clockfreq): Likewise.
a1ffb40e
OB
15117 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15118 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15119 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15120 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15121 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15122 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15123 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15124 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15125 Likewise.
15126 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15127 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15128 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15130 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15131 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15132 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15133 Likewise.
15134 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15135 (posix_fallocate): Likewise.
15136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15137 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15138 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15139 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15140 (elf_machine_rela, elf_machine_rela_relative)
15141 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15142 * time/asctime.c (asctime_internal): Likewise.
15143 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15144 * time/tzset.c (__tzset_parse_tz): Likewise.
15145 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15146 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15147 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15148 * wcsmbs/wcsmbsload.h: Likewise.
15149
f3d338c9
OB
15150 [BZ #15894]
15151 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15152
57f41c40
AS
15153 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15154 (arena_get2): Remove THREAD_STATS conditionals.
15155 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15156 (__malloc_stats, int): Likewise.
bdfe308a 15157
d674667c
MF
151582014-02-08 Mike Frysinger <vapier@gentoo.org>
15159
15160 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15161 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15162
6349768c
MF
15163 * manual/setjmp.texi: Fix typos/grammar errors.
15164
0b7c7473
MF
15165 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15166 Only return early when n is <= 0. Delete unused return statement.
15167
ac8cc9e3
MF
15168 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15169 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15170 * debug/tst-longjmp_chk3.c: New file.
15171
c5bb8e23
MF
15172 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15173 (test_main): Replace code with set_fortify_handler call.
15174 * debug/test-strcpy_chk.c: Likewise.
15175 * debug/tst-chk1.c: Likewise.
15176 * debug/tst-longjmp_chk.c: Likewise.
15177 * test-skeleton.c: Include fcntl.h & paths.h
15178 (set_fortify_handler): Define.
15179
10444e42
MF
15180 * debug/tst-longjmp_chk.c: Add header comment and include
15181 ../test-skeleton.c.
15182 (do_test): Mark static.
15183 (TEST_FUNCTION): Define.
15184
1e805e8d
MF
15185 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15186 (IP_PMTUDISC_INTERFACE): Likewise.
15187 (IP_MULTICAST_IF): Likewise.
15188 (IP_MULTICAST_TTL): Likewise.
15189 (IP_MULTICAST_LOOP): Likewise.
15190 (IP_ADD_MEMBERSHIP): Likewise.
15191 (IP_DROP_MEMBERSHIP): Likewise.
15192 (IP_UNBLOCK_SOURCE): Likewise.
15193 (IP_BLOCK_SOURCE): Likewise.
15194 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15195 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15196 (IP_MSFILTER): Likewise.
15197 (MCAST_JOIN_GROUP): Likewise.
15198 (MCAST_BLOCK_SOURCE): Likewise.
15199 (MCAST_UNBLOCK_SOURCE): Likewise.
15200 (MCAST_LEAVE_GROUP): Likewise.
15201 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15202 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15203 (MCAST_MSFILTER): Likewise.
15204 (IP_MULTICAST_ALL): Likewise.
15205 (IP_UNICAST_IF): Likewise.
15206
73f79bb7
MF
15207 * timezone/Makefile: Delete $(have-ksh) check.
15208 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15209 * timezone/tzselect.ksh: Add +x mode bits.
15210
8da79b60
MF
15211 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15212 (ANON_INODE_FS_MAGIC): Likewise.
15213 (BDEVFS_MAGIC): Likewise.
15214 (BINFMTFS_MAGIC): Likewise.
15215 (BTRFS_TEST_MAGIC): Likewise.
15216 (CRAMFS_MAGIC_WEND): Likewise.
15217 (DEBUGFS_MAGIC): Likewise.
15218 (ECRYPTFS_SUPER_MAGIC): Likewise.
15219 (EXT3_SUPER_MAGIC): Likewise.
15220 (EXT4_SUPER_MAGIC): Likewise.
15221 (FUTEXFS_SUPER_MAGIC): Likewise.
15222 (HOSTFS_SUPER_MAGIC): Likewise.
15223 (HUGETLBFS_MAGIC): Likewise.
15224 (MINIX3_SUPER_MAGIC): Likewise.
15225 (MTD_INODE_FS_MAGIC): Likewise.
15226 (NILFS_SUPER_MAGIC): Likewise.
15227 (OPENPROM_SUPER_MAGIC): Likewise.
15228 (PIPEFS_MAGIC): Likewise.
15229 (PSTOREFS_MAGIC): Likewise.
15230 (QNX6_SUPER_MAGIC): Likewise.
15231 (RAMFS_MAGIC): Likewise.
15232 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15233 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15234 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15235 (SECURITYFS_MAGIC): Likewise.
15236 (SELINUX_MAGIC): Likewise.
15237 (SMACK_MAGIC): Likewise.
15238 (SOCKFS_MAGIC): Likewise.
15239 (SQUASHFS_MAGIC): Likewise.
15240 (STACK_END_MAGIC): Likewise.
15241 (TMPFS_MAGIC): Likewise.
15242 (USBDEVICE_SUPER_MAGIC): Likewise.
15243 (V9FS_MAGIC): Likewise.
15244 (XENFS_SUPER_MAGIC): Likewise.
15245 (CRAMFS_MAGIC): Fix typo in comment.
15246 (EXT2_SUPER_MAGIC): Update comment.
15247 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15248
464263cc
JM
152492014-02-08 Joseph Myers <joseph@codesourcery.com>
15250
c6bfe5c4
JM
15251 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15252 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15253 * sysdeps/unix/sysv/linux/arm: Move directory from
15254 ports/sysdeps/unix/sysv/linux/arm.
15255 * README: Update listing for arm-*-linux-gnueabi.
15256
464263cc
JM
15257 * README: Remove mention of am33.
15258
32749f6c
RM
152592014-02-07 Roland McGrath <roland@hack.frob.com>
15260
15261 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15262 than the comma operator, to avoid "rhs of comma has no effect"
15263 compiler warnings.
15264 (__sigfillset, __sigandset, __sigorset): Likewise.
15265 * include/signal.h (__sigemptyset): Likewise.
15266 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15267
d5b396c1
AM
152682014-02-07 Allan McRae <allan@archlinux.org>
15269
15270 * version.h (RELEASE): Set to "development".
15271 (VERSION): Set to "2.19.90"
15272 * NEWS: Add 2.20 section.
15273
3bfff2ed
CD
152742014-02-06 Carlos O'Donell <carlos@redhat.com>
15275
15276 [BZ #16529]
15277 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15278
ee7cc385
SP
152792014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15280
15281 * manual/contrib.texi: Update entry for Carlos O'Donell,
15282 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15283
f877c4f2
CD
152842014-02-05 Carlos O'Donell <carlos@rehdat.com>
15285
27e839f6
CD
15286 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15287
f877c4f2
CD
15288 * sysdeps/unix/sysv/linux/kernel-features.h
15289 [__LINUX_KERNEL_VERSION >= 0x020621]
15290 (__ASSUME_PROC_PID_TASK_COMM): Define.
15291
68159946
SP
152922014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15293
ba17cdbd
SP
15294 [BZ #16398]
15295 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15296 conversion when destination buffer does not have enough space.
15297 * libio/tst-ftell-partial-wide.c: New test case.
15298 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15299
68159946
SP
15300 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15301 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15302 Leonard and Allan McRae.
15303
2b528732
DM
153042014-02-04 David S. Miller <davem@davemloft.net>
15305
15306 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15307 32-bit.
15308
0ff82463
AZ
153092014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15310
57f41c40
AS
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15312 New file
c01603f7
AZ
15313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15314 New file
57f41c40
AS
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15316 New file.
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15318 New file.
c01603f7
AZ
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15320 New file.
57f41c40
AS
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15322 New file.
15323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15324 New file.
c01603f7
AZ
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15326 New file.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15328 New file.
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15330 New file.
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15332 New file.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15334 New file.
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15336 New file.
15337
153382014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15339
0ff82463
AZ
15340 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15341 * shlib-versions: Likewise.
15342
1695c773
AZ
153432014-02-04 Roland McGrath <roland@hack.frob.com>
15344 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15345
15346 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15347 (abilist-pattern): New variable, set to %-le.abilist.
15348
15349 * Makerules (abilist-pattern): New variable.
15350 (vpath): Use $(abilist-pattern) in place of %.abilist.
15351 (check-abi-% pattern rule): Likewise.
15352 (check-abi, update-abi): Likewise.
15353
6c0ce4b4
EW
153542014-02-04 Eric Wong <normalperson@yhbt.net>
15355
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15357
481e3524
CD
153582014-02-03 Carlos O'Donell <carlos@redhat.com>
15359
15360 * manual/startup.texi: Add next, previous, and top entries for
15361 the `Program Arguments' and `Environment Variables' nodes.
15362
375592d3
AO
153632014-02-03 Alexandre Oliva <aoliva@redhat.com>
15364
15365 * manual/macros.texi: Add comments before MTASC-safety macros.
15366
f54838ba
AO
15367 * manual/users.texi: Document MTASC-safety properties.
15368
57f41c40
AS
15369 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15370 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15371 @deftypefun, and add @safety note.
15372 * manual/signal.texi: Move comments that analyze the above
15373 functions to their home place.
15374
fd3daba4
AM
153752014-02-03 Allan McRae <allan@archlinux.org>
15376
15377 * po/sl.po: Update Slovenian translation from translation project.
15378
597636d7
AO
153792014-02-02 Alexandre Oliva <aoliva@redhat.com>
15380
15381 * manual/time.texi (timegm): Add missing blank after @c.
15382 Reported by Joseph Myers <joseph@codesourcery.com>.
15383
ee196e3c
AO
153842014-02-01 Alexandre Oliva <aoliva@redhat.com>
15385
15386 * manual/check-safety.sh: New.
15387 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15388
f8d529d5
AO
15389 * manual/terminal.texi: Document MTASC-safety properties.
15390
de55fdf4
AO
15391 * manual/filesys.texi: Document MTASC-safety properties.
15392
c3299c08
AO
15393 * manual/errno.texi: Document MTASC-safety properties.
15394
06e90b14
AO
15395 * manual/intro.texi: Document safety identifiers and
15396 conditionals.
15397
1acd4371
AO
15398 * manual/string.texi (wcstok): Fix prototype.
15399 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15400
23e5b8cb
AO
15401 * manual/time.texi: Document MTASC-safety properties.
15402
11087373
AO
15403 * manual/string.texi: Document MTASC-safety properties.
15404
5da2c93d
AO
15405 * manual/threads.texi: Document MTASC-safety properties.
15406
171e9210
AO
15407 * manual/stdio.texi: Document MTASC-safety properties.
15408
d9e02532
AO
15409 * manual/syslog.texi: Document MTASC-safety properties.
15410
6af8bab7
AO
15411 * manual/sysinfo.texi: Document MTASC-safety properties.
15412
663b02d7
AO
15413 * manual/startup.texi: Document MTASC-safety properties.
15414
973f180b
AO
15415 * manual/socket.texi: Document MTASC-safety properties.
15416
8f3c25c8
AO
15417 * manual/signal.texi: Document MTASC-safety properties.
15418
542210fb
AO
154192014-01-31 Alexandre Oliva <aoliva@redhat.com>
15420
15421 * manual/setjmp.texi: Document MTASC-safety properties.
15422
433c45a2
AO
15423 * manual/search.texi: Document MTASC-safety properties.
15424
c8ce789c
AO
15425 * manual/resource.texi: Document MTASC-safety properties.
15426
19f5d29c
AO
15427 * manual/process.texi: Document MTASC-safety properties.
15428
e2dfb7f4
AO
15429 * manual/platform.texi: Document MTASC-safety properties.
15430
8c1413f5
AO
15431 * manual/pipe.texi: Document MTASC-safety properties.
15432
03483ada
AO
15433 * manual/pattern.texi: Document MTASC-safety properties.
15434
29e7e2df
AO
15435 * manual/message.texi: Document MTASC-safety properties.
15436
9f529d7c
AO
15437 [BZ #12751]
15438 * manual/memory.texi: Document MTASC-safety properties.
15439
27aaa791
AO
15440 * manual/math.texi: Document MTASC-safety properties.
15441
f2d58726
AO
15442 * manual/locale.texi: Document MTASC-safety properties.
15443
2cc3615c
AO
15444 * manual/llio.texi: Document MTASC-safety properties.
15445
d9f0ec97
AO
15446 * manual/libdl.texi: New.
15447
e7c4409a
AO
15448 * manual/lang.texi: Document MTASC-safety properties.
15449
27bdc63c
AO
15450 * manual/job.texi: Document MTASC-safety properties.
15451
a7b90ea9
AO
15452 * manual/getopt.texi: Document MTASC-safety properties.
15453
c49130e3
AO
15454 * manual/ctype.texi: Document MTASC-safety properties.
15455
0d23a5c1
MR
154562014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15457
15458 [BZ #16046]
15459 * csu/libc-tls.c (static_map): Remove variable.
15460 (__libc_setup_tls): Use main executable's link map for TLS data.
15461 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15462 casing for LM_ID_BASE and GL(dl_nns).
15463 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15464 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15465 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15466 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15467 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15468 member.
15469 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15470 l_phnum members.
15471
0037bb60
AO
154722014-01-30 Alexandre Oliva <aoliva@redhat.com>
15473
15474 * manual/debug.texi: Document MTASC-safety properties.
15475
409e00bd
L
154762014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15477
15478 [BZ #16510]
15479 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15480 of __x86_64__ when disabling x87 inline functions.
15481
86e60666
AO
154822014-01-29 Alexandre Oliva <aoliva@redhat.com>
15483
15484 * manual/charset.texi: Document MTASC-safety properties.
15485
76167637
AO
15486 * manual/crypt.texi: Document MTASC-safety properties.
15487
e567f2a0
AO
15488 * manual/conf.texi: Document MTASC-safety properties.
15489
b719dafd
AO
15490 * manual/arith.texi: Document MTASC-safety properties.
15491
4a16c662
AO
15492 * manual/argp.texi: Document MTASC-safety properties.
15493
0a57b83e
AO
15494 * manual/macros.texi: Introduce macros to document multi
15495 thread, asynchronous signal and asynchronous cancellation
15496 safety properties.
15497 * manual/intro.texi: Introduce the properties themselves.
15498
feab2397
KK
154992014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15500
15501 * sysdeps/sh/sh4/Makefile: New file.
15502
1c0d11bc
AS
155032014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15504
15505 * math/gen-libm-test.pl ($srcdir): New variable.
15506 ($auto_input): Use it.
15507
af37a8a3
SP
155082014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15509
d7b00f98
SP
15510 [BZ #16506]
15511 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15512 access beyond array bounds when parsing netgroups file.
15513
af37a8a3
SP
15514 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15515 the old buffer before realloc.
15516
0c00f062
AM
155172014-01-27 Allan McRae <allan@archlinux.org>
15518
15519 * po/fr.po: Update French translation from translation project.
15520
7d69a1b0
KK
155212014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15522
15523 * sysdeps/sh/libm-test-ulps: Regenerate.
15524
6e697ff7
DM
155252014-01-24 David S. Miller <davem@davemloft.net>
15526
15527 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15528
9cadb35c
KK
155292014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15530
15531 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15532 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15533
5d41dadf
SP
155342013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15535
15536 [BZ #16474]
15537 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15538 string pointers after reallocation.
15539
0bad441c
KK
155402014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15541
15542 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15543 __SH4A__ instead of __SH_FPU_ANY__.
15544
7007c661
KK
155452014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15546
15547 * sysdeps/sh/fpu_control.h: New file.
15548 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15549 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15550 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15551 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15552 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15553 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15554 * sysdeps/sh/sys/ucontext.h: Remove.
15555 * sysdeps/sh/sys: Remove directory.
15556
0f0c35e4
AK
155572014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15558
15559 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15560 s390/sys/ucontext.h.
15561 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15562 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15563
4959e284
L
155642014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15565
15566 [BZ #15605]
15567 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15568
d98720e0
AZ
155692014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15570
15571 [BZ#16431]
15572 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15573 Adjust the vDSO correctly for internal calls.
15574 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15575
91cbd0bc
AM
155762014-01-20 Allan McRae <allan@archlinux.org>
15577
15578 * po/ca.po: Update Catalan translation from translation project.
15579
7a02cfad
MF
155802014-01-16 Mike Frysinger <vapier@gentoo.org>
15581
15582 * sysdeps/s390/sotruss-lib.c: New file.
15583
736c304a
AZ
155842014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15585
15586 [BZ#16430]
6e077ee5 15587 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15588 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15589 local calls issues by not having a PLT stub required for IFUNC calls.
15590 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15591
94d0cea0
JM
155922014-01-16 Joseph Myers <joseph@codesourcery.com>
15593
15594 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15595 * math/test-fpucw-static.c: Likewise.
15596
980cb518
SP
155972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15598
15599 [BZ #16453]
15600 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15601
2393fc01
AZ
156022014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15603
15604 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15605 implementation for powerpc.
15606
d359bcc2
OB
156072014-01-15 Ondřej Bílka <neleai@seznam.cz>
15608
15609 [BZ #14782]
15610 * sysdeps/posix/system.c (__libc_system): Do not enable
15611 asynchronous cancellation.
15612
7beb48cb
AK
156132014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15614
15615 [BZ #16427]
15616 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15617 handling only for numbers special also in the IEEE case.
15618
c20d5bf5
AK
156192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15620
15621 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15622
e83bd4ee
AM
156232014-01-11 Allan McRae <allan@archlinux.org>
15624
76d0ea69
AM
15625 * po/bg.po: Update Bulgarian translation from translation project.
15626
e83bd4ee
AM
15627 * po/de.po: Update German translation from translation project.
15628
bc2ba20a
RM
156292014-01-10 Roland McGrath <roland@hack.frob.com>
15630
15631 * sysdeps/generic/gcc-compat.h: New file.
15632
649ecea2
SP
156332014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15634
15635 * benchtests/asin-inputs: Correct slow inputs.
15636 * benchtests/acos-inputs: Likewise.
15637
1b19c006
AM
156382014-01-10 Allan McRae <allan@archlinux.org>
15639
a46dab08
AM
15640 * po:sv.po: Update Swedish translation from translation project.
15641
421df74a
AM
15642 * po/vi.po: Update Vietnamese translation from translation project.
15643
d61c51a7
AM
15644 * po/eo.po: Update Esperanto translation from translation project.
15645
0339a319
AM
15646 * po/cs.po: Update Czech translation from translation project.
15647
94ad3e99
AM
15648 * po/nl.po: Update Dutch translation from translation project.
15649
e349ca71
AM
15650 * po/pl.po: Update Polish translation from translation project.
15651
ddf930c1
AM
15652 * po/ru.po: Update Russian translation from translation project.
15653
1b19c006
AM
15654 * po/uk.po: Update Ukrainian translation from translation project.
15655
9f236c49
BM
156562014-01-08 Brooks Moses <bmoses@google.com>
15657
15658 * elf/dl-load.c: Fix comment typo.
15659
cd6701cf
CD
156602014-01-08 Carlos O'Donell <carlos@redhat.com>
15661
15662 * po/header.pot: Rename to...
15663 * po/pot.header: ... this.
15664 * po/Makefile: Use pot.header.
15665
66671c84
YK
156662014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15667 Maxim Kuvyrkov <maxim@kugelworks.com>
15668
15669 [BZ #16394]
cd6701cf
CD
15670 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15671 SRC and DEST against LEN.
66671c84 15672
38f34581
AZ
156732014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15674
15675 [BZ #16414]
15676 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15677 implementation.
15678 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15679
156802014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15681
15682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15683
4c327f2a
JM
156842014-01-08 Joseph Myers <joseph@codesourcery.com>
15685
15686 [BZ #16408]
15687 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15688 for large positive arguments.
15689
b821f414
JM
156902014-01-07 Joseph Myers <joseph@codesourcery.com>
15691
1f0f2067
JM
15692 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15693
a5a326f6
JM
15694 * math/auto-libm-test-in: Mark various tests with
15695 xfail-rounding:ldbl-128ibm.
15696 * math/auto-libm-test-out: Regenerated.
15697
b821f414
JM
15698 [BZ #16407]
15699 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15700 Increase overflow threshold.
15701
94c8a4bc
OB
157022014-01-07 Ondřej Bílka <neleai@seznam.cz>
15703
15704 [BZ #14286]
15705 * stdio-common/vfprintf.c: Check for integer overflow.
15706
87ded0c3
AK
157072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15708
15709 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15710 the first argument and return value of __tls_get_addr_internal.
15711
c5eebdd0
AK
157122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15713
15714 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15715 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15716
05d138ef
AK
157172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15718
15719 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15720 * sysdeps/s390/rtld-global-offsets.sym: New file.
15721 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15722 GLIBC_2.19 symbol.
15723 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15724 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15725 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15726 ... this.
15727 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15728 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15729 ... this.
15730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15731 Regenerate.
15732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15733 Regenerate.
15734 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15735 halfs of GPRs for high_gprs contexts.
15736 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15737 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15738 field.
15739 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15740 uc_flags field.
15741 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15742 64 bit versions:
15743 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15744 for high GPRs (uc_high_gprs) and for future extensions
15745 (__reserved).
15746 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15747 for future extensions (__reserved).
15748 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15749 64 bit versions:
15750 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15751 SC_HIGHGPRS offset definition.
15752 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15753 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15754
93a45ff1
AK
15755 * Versions.def: Add GLIBC_2.19 for libpthread.
15756 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15757 siglongjmp for libpthread with GLIBC_2.19 symver.
15758 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15759 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15760 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15761 * sysdeps/s390/__longjmp.c: New file.
15762 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15763 * sysdeps/s390/longjmp.c: New file.
15764 * sysdeps/s390/setjmp.S: New file.
15765 * sysdeps/s390/sigjmp.S: New file.
15766 * sysdeps/s390/v1-longjmp.c: New file.
15767 * sysdeps/s390/v1-setjmp.h: New file.
15768 * sysdeps/s390/v1-sigjmp.c: New file.
15769 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15770 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15771 GLIBC_2.19 version.
15772 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15773 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15774 versioned symbols for ____longjmp_chk.
15775 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15776 Likewise.
15777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15778 Regenerate.
15779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15780 Regenerate.
15781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15782 Regenerate.
15783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15784 Regenerate.
15785 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15786 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15787 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15788 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15789 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15790 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15791 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15792 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15793 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15794 * sysdeps/s390/rtld-__longjmp.c: New file.
15795 * sysdeps/s390/rtld-setjmp.S: New file.
15796
eb3fc44b
JM
157972014-01-06 Joseph Myers <joseph@codesourcery.com>
15798
15799 [BZ #16400]
15800 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15801 Return -__logl (x) for small positive arguments without evaluating
15802 a polynomial.
15803
9341dde4
MF
158042014-01-06 Mike Frysinger <vapier@gentoo.org>
15805
15806 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15807 Rename to ...
15808 (__ptrace_peeksiginfo_args): ... this.
15809 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15810 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15811 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15812
4cff0293
AM
158132014-01-06 Allan McRae <allan@archlinux.org>
15814
15815 * inet/netinet/in.h: Fix typo in comment.
15816
75595dcf
AJ
158172014-01-05 Andreas Jaeger <aj@suse.de>
15818
15819 * sysdeps/i386/fpu/libm-test-ulps: Update.
15820
79c1e109
AM
158212014-01-05 Allan McRae <allan@archlinux.org>
15822
dd804818
AM
15823 * po/libc.pot: Regenerated.
15824
79c1e109
AM
15825 * malloc/memusagestat.c: Fix gettext call formatting.
15826
0c813d1f
SK
158272014-01-04 Sami Kerola <kerolasa@iki.fi>
15828
15829 * nscd/nscd.c: Improve usage() output.
15830
20f4a8d9
MF
158312014-01-04 Mike Frysinger <vapier@gentoo.org>
15832
15833 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15834 * sysdeps/unix/sysv/linux/configure: Regenerated.
15835 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15836 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15837
22562bb2
JM
158382014-01-03 Joseph Myers <joseph@codesourcery.com>
15839
15840 [BZ #16390]
15841 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15842 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15843
d7ad2d9b
AZ
158442014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845
15846 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15847 extra tokens at end of #undef directive.
15848 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15849 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15850 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15851
7dd009d8
JM
158522014-01-03 Joseph Myers <joseph@codesourcery.com>
15853
24db925a
JM
15854 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15855
7dd009d8
JM
15856 * math/auto-libm-test-in: Mark various tests with
15857 xfail-rounding:ldbl-128ibm.
15858 * math/auto-libm-test-out: Regenerated.
15859
396e3ecf
JM
158602014-01-02 Joseph Myers <joseph@codesourcery.com>
15861
819e5d50
JM
15862 [BZ #16386]
15863 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15864 numbers with subnormal high part when calculating exponent.
15865
90b6a1e5
JM
15866 [BZ #16385]
15867 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15868 fabs.
15869
396e3ecf
JM
15870 [BZ #16384]
15871 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15872 M_LN2l.
15873 (__ieee754_acoshl): Use __log1pl not __log1p.
15874
6c8dbf00
OB
158752013-01-02 Ondřej Bílka <neleai@seznam.cz>
15876
57f41c40
AS
15877 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15878 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15879 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15880 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15881 (reused_arena, arena_get2): Convert to GNU style.
15882 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15883 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15884 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15885 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15886 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15887 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15888 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15889 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15890 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15891 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15892 * malloc/malloc.h: Likewise.
57f41c40
AS
15893 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15894 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15895 * malloc/mcheck.h: Likewise.
57f41c40
AS
15896 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15897 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15898 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15899 * malloc/morecore.c (__default_morecore): Likewise.
15900 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15901 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15902 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15903 (print_and_abort): Likewise.
6c8dbf00
OB
15904 * malloc/obstack.h: Likewise.
15905 * malloc/set-freeres.c (__libc_freeres): Likewise.
15906 * malloc/tst-mallocstate.c (main): Likewise.
15907 * malloc/tst-mtrace.c (main): Likewise.
15908 * malloc/tst-realloc.c (do_test): Likewise.
15909
d4124212
SP
159102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15911
9a3c6a6f
SP
15912 [BZ #16366]
15913 * nscd/netgroupcache.c (do_notfound): New function.
15914 (addgetnetgrentX): Use it.
15915
d4124212
SP
15916 [BZ # 16365]
15917 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15918 NSS_STATUS_NOTFOUND.
15919
97b9a009
JM
159202014-01-01 Joseph Myers <joseph@codesourcery.com>
15921
15922 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15924
d4697bc9
AM
159252014-01-01 Allan McRae <allan@archlinux.org>
15926
ddb3687f
AM
15927 * scripts/update-copyrights: Update configure input file suffix.
15928
88726d48
AM
15929 * NEWS: Update copyright year.
15930 * catgets/gencat.c: Likewise.
15931 * csu/version.c: Likewise.
15932 * debug/catchsegv.sh: Likewise.
15933 * debug/pcprofiledump.c: Likewise.
15934 * debug/xtrace.sh: Likewise.
15935 * elf/ldconfig.c: Likewise.
15936 * elf/ldd.bash.in: Likewise.
15937 * elf/pldd.c: Likewise.
15938 * elf/sotruss.ksh: Likewise.
15939 * elf/sprof.c: Likewise.
15940 * iconv/iconv_prog.c: Likewise.
15941 * iconv/iconvconfig.c: Likewise.
15942 * locale/programs/locale.c: Likewise.
15943 * locale/programs/localedef.c: Likewise.
15944 * login/programs/pt_chown.c: Likewise.
15945 * malloc/memusage.sh: Likewise.
15946 * malloc/memusagestat.c: Likewise.
15947 * malloc/mtrace.pl: Likewise.
15948 * manual/libc.texinfo: Likewise.
15949 * nscd/nscd.c: Likewise.
15950 * nss/getent.c: Likewise.
15951 * nss/makedb.c: Likewise.
15952 * posix/getconf.c: Likewise.
15953 * scripts/test-installation.pl: Likewise.
15954
d4697bc9
AM
15955 * All files with FSF copyright notices: Update copyright dates
15956 using scripts/update-copyrights.
15957 * intl/plural.c: Regenerated.
15958 * locale/programs/charmap-kw.h: Likewise.
15959 * locale/programs/locfile-kw.h: Likewise.
15960
c8590f9d
MF
159612013-12-31 Mike Frysinger <vapier@gentoo.org>
15962
15963 * sysdeps/unix/sysv/linux/configure: Regenerated.
15964 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15965 the linux/fanotify.h header.
15966 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15967 HAVE_LINUX_FANOTIFY_H is defined.
15968
b19221b9
SP
159692013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15970
dd1d85e5
SP
15971 * benchtests/cos-inputs: New inputs.
15972 * benchtests/sin-inputs: Likewise.
15973
1acbb90f
SP
15974 * benchtests/atan-inputs: New inputs. Fix name of multiple
15975 precision fallback inputs.
15976
4c012ed3
SP
15977 * benchtests/atanh-inputs: New inputs.
15978 * benchtests/tanh-inputs: Likewise.
15979
eff98324
SP
15980 * benchtests/acosh-inputs: New inputs.
15981 * benchtests/asinh-inputs: Likewise.
15982
ce641152
SP
15983 * benchtests/cosh-inputs: New inputs.
15984 * benchtests/sinh-inputs: Likewise.
15985
b19221b9
SP
15986 * benchtests/acos-inputs: Add more inputs.
15987 * benchtests/asin-inputs: Likewise.
15988
030a4976 159892013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 15990
030a4976 15991 [BZ #16375]
9dcc8f11
VS
15992 * manual/arith.texi: Fix spelling.
15993 * manual/charset.texi: Likewise.
15994 * manual/errno.texi: Likewise.
15995 * manual/filesys.texi: Likewise.
15996 * manual/lang.texi: Likewise.
15997 * manual/llio.texi: Likewise.
15998 * manual/locale.texi: Likewise.
15999 * manual/message.texi: Likewise.
16000 * manual/resource.texi: Likewise.
16001 * manual/search.texi: Likewise.
16002 * manual/setjmp.texi: Likewise.
16003 * manual/stdio.texi: Likewise.
16004 * manual/string.texi: Likewise.
16005 * manual/sysinfo.texi: Likewise.
16006 * manual/time.texi: Likewise.
16007
11520a57
CD
160082013-12-27 Carlos O'Donell <carlos@redhat.com>
16009
16010 * po/sl.po: New file.
16011
471103ae
MF
160122013-12-27 Mike Frysinger <vapier@gentoo.org>
16013
16014 * .gitignore: Add core/.gdbinit/.gdb_history.
16015
6c9642ed
AM
160162013-12-27 Allan McRae <allan@archlinux.org>
16017
16018 [BZ #16369]
16019 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16020 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16021
3f637079
BM
160222013-12-24 Brooks Moses <bmoses@google.com>
16023
16024 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16025 all compilers that claim C++98 compliance, not just GCC.
16026 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16027 Likewise.
16028
abc26e99
MK
160292013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16030
16031 * NEWS: Restore accidentally deleted bug-fix entries.
16032
362b47fe
MK
160332013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16034 Ondřej Bílka <neleai@seznam.cz>
16035
16036 [BZ #15073]
16037 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 16038 have_lock.
362b47fe 16039
b9bcbbcb
OB
160402013-12-23 Ondřej Bílka <neleai@seznam.cz>
16041
16042 [BZ #12986]
16043 * manual/stdio.texi (String Input Conversions): Clarify that character
16044 classes are not supported.
16045
fb55fcd2
AZ
160462013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16047
16048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16049
ef7344f0
JM
160502013-12-22 Joseph Myers <joseph@codesourcery.com>
16051
4f40e4b3
JM
16052 [BZ #16337]
16053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16054 Calculate results for small negative arguments directly rather
16055 than using reflection formula with special underflow handling.
16056
ef7344f0
JM
16057 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16058 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16059 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16060 (fchflags): Likewise.
16061 (revoke): Likewise.
16062 (setlogin): Likewise.
16063 (sigaltstack): Likewise.
16064 (wait4): Likewise.
16065 (sigblock): Remove.
16066 (sigsetmask): Likewise.
16067 (wait3): Likewise.
16068 (waitpid): Likewise.
16069 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16070 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16071 file.
16072 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16073 * sysdeps/unix/bsd/Makefile: ... here.
16074 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16075 * sysdeps/unix/bsd/Versions: ... here.
16076 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16077 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16078 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16079 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16080 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16081 * sysdeps/unix/bsd/sigblock.c: ... here.
16082 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16083 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16084 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16085 * sysdeps/unix/bsd/sigvec.c: ... here.
16086 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16087 * sysdeps/unix/bsd/tcdrain.c: ... here.
16088 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16089 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16090 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16091 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16092 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16093 * sysdeps/unix/bsd/wait.c: ... here.
16094 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16095 * sysdeps/unix/bsd/wait3.c: ... here.
16096 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16097 * sysdeps/unix/bsd/waitpid.c: ... here.
16098
5b0626b9
JM
160992013-12-21 Joseph Myers <joseph@codesourcery.com>
16100
16101 [BZ #16356]
16102 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16103 round-to-nearest for [!USE_AS_EXPM1L].
16104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16105 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16106 more tests of exp and exp10. Expect some exp10 tests to miss
16107 exceptions or fail in directed rounding modes.
16108 * math/auto-libm-test-out: Regenerated.
16109 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16110 (exp10_test_tonearest): New function.
16111 (exp10_towardzero_test_data): New array.
16112 (exp10_test_towardzero): New function.
16113 (exp10_downward_test_data): New array.
16114 (exp10_test_downward): New function.
16115 (exp10_upward_test_data): New array.
16116 (exp10_test_upward): New function.
16117 (main): Call the new functions.
16118 * sysdeps/i386/fpu/libm-test-ulps: Update.
16119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16120
7fda5682
JM
161212013-12-20 Joseph Myers <joseph@codesourcery.com>
16122
31e3a405
JM
16123 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16124 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16125 * math/auto-libm-test-out: Regenerated.
16126 * math/libm-test.inc (acosh_test_data): Add more tests.
16127 (atanh_test_data): Likewise.
16128 (ceil_test_data): Likewise.
16129 (copysign_test_data): Likewise.
16130 * sysdeps/i386/fpu/libm-test-ulps: Update.
16131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16132
85bff96a
JM
16133 * timezone/checktab.awk: Update from tzcode 2013i.
16134 * timezone/private.h: Likewise.
16135 * timezone/scheck.c: Likewise.
16136 * timezone/tzfile.h: Likewise.
16137 * timezone/tzselect.ksh: Likewise.
16138 * timezone/zdump.c: Likewise.
16139 * timezone/zic.c: Likewise.
16140
b7867a3b
JM
16141 * math/auto-libm-test-in: Add tests of cpow.
16142 * math/auto-libm-test-out: Regenerated.
16143 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 16144 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
16145 mpc_cc_c.
16146 (func_calc_desc): Add mpc_cc_c union field.
16147 (test_functions): Add cpow.
16148 (special_fill_2pi): New function.
16149 (special_real_inputs): Add 2pi.
16150 (calc_generic_results): Handle mpc_cc_c.
16151 * sysdeps/i386/fpu/libm-test-ulps: Update.
16152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16153
7fda5682
JM
16154 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16155 csqrt, ctan and ctanh.
16156 * math/auto-libm-test-out: Regenerated.
16157 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16158 (TEST_COND_x86): Likewise.
16159 (ccos_test_data): Use AUTO_TESTS_c_c.
16160 (ccosh_test_data): Likewise.
16161 (cexp_test_data): Likewise.
16162 (clog_test_data): Likewise.
16163 (csqrt_test_data): Likewise.
16164 (ctan_test_data): Likewise.
16165 (ctan_tonearest_test_data): Likewise.
16166 (ctan_towardzero_test_data): Likewise.
16167 (ctan_downward_test_data): Likewise.
16168 (ctan_upward_test_data): Likewise.
16169 (ctanh_test_data): Likewise.
16170 (ctanh_tonearest_test_data): Likewise.
16171 (ctanh_towardzero_test_data): Likewise.
16172 (ctanh_downward_test_data): Likewise.
16173 (ctanh_upward_test_data): Likewise.
16174 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16175 mpc_c_c.
16176 (func_calc_desc): Add mpc_c_c union field.
16177 (FUNC_mpc_c_c): New macro.
16178 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16179 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16180 ctanh.
16181 (special_fill_min_subnorm_p120): New function.
16182 (special_real_inputs): Add min_subnorm_p120.
16183 (calc_generic_results): Handle mpc_c_c.
16184 * sysdeps/i386/fpu/libm-test-ulps: Update.
16185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16186
5ff8d60e
SP
161872013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16188
57f41c40
AS
16189 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16190 (do_sin_slow): New functions.
16191 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16192 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 16193
84ba214c
SP
16194 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16195 Use M to change sign of result instead of X. Assume X is
16196 positive.
16197 (csloww1): Likewise.
16198 (__sin): Adjust.
16199 (__cos): Adjust.
16200
975195e4
SP
16201 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16202 arguments A and DA.
16203 (__sin): Adjust.
16204 (__cos): Likewise.
16205
5ff8d60e
SP
16206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16207 (__cos): Likewise.
16208 (sloww1): Don't adjust sign of DX.
16209 (csloww1): Likewise.
16210 (sloww2): Use X directly and don't adjust sign of DX.
16211 (csloww2): Likewise.
16212
eb983568
JM
162132013-12-19 Joseph Myers <joseph@codesourcery.com>
16214
64a17f1a
JM
16215 * math/auto-libm-test-in: Add tests of cabs and carg.
16216 * math/auto-libm-test-out: Regenerated.
16217 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16218 (carg_test_data): Likewise.
16219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16220 mpc_c_f.
16221 (func_calc_desc): Add mpc_c_f union field.
16222 (test_functions): Add cabs and carg.
16223 (calc_generic_results): Handle mpc_c_f.
16224
eb983568
JM
16225 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16226 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16227 as a macro and a compat symbol.
16228 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16229 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16230 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16231 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16232 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16233 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16234 not use .hidden.
16235 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16236 Likewise.
16237 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16238 Likewise.
16239 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16240 Likewise.
16241 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16242 Likewise.
16243 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16244 Likewise.
16245 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16246 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16247 from GLIBC_2.3.2.
16248
6eeb678a
AZ
162492013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16250
16251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16252
6f6fc482
JM
162532013-12-19 Joseph Myers <joseph@codesourcery.com>
16254
21fea2e2
JM
16255 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16256 trailing whitespace removed.
16257 * scripts/config.guess: Update to version 2013-11-29.
16258 * scripts/config.sub: Update to version 2013-10-01.
16259
6f6fc482
JM
16260 * math/auto-libm-test-in: Add tests of sincos.
16261 * math/auto-libm-test-out: Regenerated.
16262 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16263 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16264 mpfr_f_11.
16265 (func_calc_desc): Add mpfr_f_11 union field.
16266 (test_functions): Add sincos.
16267 (calc_generic_results): Handle mpfr_f_11.
16268 * sysdeps/i386/fpu/libm-test-ulps: Update.
16269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16270
83f5c32d
AS
162712013-12-19 Andreas Schwab <schwab@suse.de>
16272
16273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16274 CALL_MCOUNT.
16275 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16276 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16277 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16278
c688b419
JM
162792013-12-19 Joseph Myers <joseph@codesourcery.com>
16280
335ee092
JM
16281 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16282 * sysdeps/i386/fpu/libm-test-ulps: Update.
16283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16284
f88acd39
JM
16285 [BZ #16293]
16286 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16287 round-to-nearest mode when using frndint.
16288 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16289 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16290 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16291 Likewise.
16292 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16293 sinh test to fail.
16294 * math/auto-libm-test-out: Regenerated.
16295 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16296 (TEST_COND_x86): Likewise.
16297 (expm1_tonearest_test_data): New array.
16298 (expm1_test_tonearest): New function.
16299 (expm1_towardzero_test_data): New array.
16300 (expm1_test_towardzero): New function.
16301 (expm1_downward_test_data): New array.
16302 (expm1_test_downward): New function.
16303 (expm1_upward_test_data): New array.
16304 (expm1_test_upward): New function.
16305 (main): Run the new test functions.
16306 * sysdeps/i386/fpu/libm-test-ulps: Update.
16307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16308
c688b419
JM
16309 * include/features.h: Update comment documenting feature test
16310 macros. Mention _DEFAULT_SOURCE in comment.
16311 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16312 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16313 _BSD_SOURCE and _SVID_SOURCE.
16314 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16315 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16316 !_SVID_SOURCE]: Likewise.
16317 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16318 (__USE_POSIX_IMPLICITLY): Define.
16319 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16320 (_POSIX_SOURCE): Undefine and redefine.
16321 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16322 (_POSIX_C_SOURCE): Likewise.
16323 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16324 (Feature Test Macros): Update documentation of default features.
16325
9f6e964c
RS
163262013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16327
16328 * benchtests/Makefile: Add bench-strtok.
16329 * benchtests/bench-strtok.c: New file: strtok benchtest.
16330
ee0a148a
AM
163312013-12-19 Allan McRae <allan@archlinux.org>
16332
16333 * manual/install.texi: Suppress menu for plain text output.
16334 * INSTALL: Regenerated.
16335
b9ab448f
BM
163362013-12-18 Brooks Moses <bmoses@google.com>
16337
16338 [BZ #15846]
16339 * misc/getauxval.c: Include errno.h.
16340 (__getauxval): Set errno to ENOENT if the requested type is not
16341 found.
16342 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16343 don't declare with __attribute_const__.
16344 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16345 * manual/startup.texi: Document that getauxval sets errno.
16346
23776487
JM
163472013-12-18 Joseph Myers <joseph@codesourcery.com>
16348
f889953b
JM
16349 * math/auto-libm-test-in: Add tests of jn and yn.
16350 * math/auto-libm-test-out: Regenerated.
16351 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16352 (yn_test_data): Likewise.
16353 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16354 mpfr_if_f.
16355 (func_calc_desc): Add mpfr_if_f union field.
16356 (FUNC_mpfr_if_f): New macro.
16357 (test_functions): Add jn and yn.
16358 (calc_generic_results): Assert type of second input for
16359 mpfr_ff_f. Handle mpfr_if_f.
16360 (output_for_one_input_case): Disable all checking for arguments
16361 fitting floating-point types in case of an integer argument.
16362 * sysdeps/i386/fpu/libm-test-ulps: Update.
16363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16364
23776487
JM
16365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16366 Don't expect fegetround reference in libm.so.
16367
cb756c6d
MS
163682013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16369
16370 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16371 $(config-cflags-nofma).
16372
2dec468f
JM
163732013-12-18 Joseph Myers <joseph@codesourcery.com>
16374
5953eb3a
JM
16375 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16376 * math/auto-libm-test-out: Regenerated.
16377
2dec468f
JM
16378 [BZ #16338]
16379 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16380 to determine exponent and adjust argument to have exponent of -1.
16381 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16382 log2.
16383 * math/auto-libm-test-out: Regenerated.
16384 * sysdeps/i386/fpu/libm-test-ulps: Update.
16385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16386
4d84e6ad
OB
163872013-12-18 Ondřej Bílka <neleai@seznam.cz>
16388
16389 * manual/probes.texi: Remove cases when per-thread arenas are
16390 disabled.
16391
1818483b
AS
163922013-12-18 Andreas Schwab <schwab@suse.de>
16393
16394 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16395 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16396 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16397 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16398 * sysdeps/i386/i686/multiarch/Makefile: Update.
16399 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16400
25de95bf
JM
164012013-12-17 Joseph Myers <joseph@codesourcery.com>
16402
16403 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16404 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16405
674762d9
PE
164062013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16407
ed27ed83 16408 [BZ #15968]
0748546f
PE
16409 Support TZ transition times < 00:00:00.
16410 This is needed for version-3 tz-format files; it supports time
16411 stamps past 2037 for America/Godthab (the only entry in the tz
16412 database for which this change is relevant).
16413 * manual/time.texi (TZ Variable): Document transition times
16414 from -167:59:59 through -00:00:01.
16415 * time/tzset.c (tz_rule): Time of day is now signed.
16416 (__tzset_parse_tz): Parse negative time of day.
16417
4480e934
PE
16418 Document TZ transition times >= 25:00:00.
16419 * manual/time.texi (TZ Variable): Document transition times from
16420 25:00:00 through 167:59:59. These are already supported, and this
16421 support will help with version-3 tz-format files.
16422
69947401
PE
16423 * manual/time.texi (TZ Variable): Modernize North America example
16424 to reflect current (i.e., 2007-and-later) daylight saving rules.
16425
674762d9
PE
16426 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16427
7011c262
JM
164282013-12-17 Joseph Myers <joseph@codesourcery.com>
16429
2fc6557e
JM
16430 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16431 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16434 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16435 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16436 * sysdeps/unix/bsd/clock.c: Likewise.
16437 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16438 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16439 * sysdeps/unix/bsd/init-posix.c: Likewise.
16440 * sysdeps/unix/bsd/poll.c: Likewise.
16441 * sysdeps/unix/bsd/ptsname.c: Likewise.
16442 * sysdeps/unix/bsd/seekdir.c: Likewise.
16443 * sysdeps/unix/bsd/setegid.c: Likewise.
16444 * sysdeps/unix/bsd/seteuid.c: Likewise.
16445 * sysdeps/unix/bsd/setgid.c: Likewise.
16446 * sysdeps/unix/bsd/setrgid.c: Likewise.
16447 * sysdeps/unix/bsd/setruid.c: Likewise.
16448 * sysdeps/unix/bsd/setsid.c: Likewise.
16449 * sysdeps/unix/bsd/setuid.c: Likewise.
16450 * sysdeps/unix/bsd/sigaction.c: Likewise.
16451 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16452 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16453 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16454 * sysdeps/unix/bsd/telldir.c: Likewise.
16455 * sysdeps/unix/bsd/times.c: Likewise.
16456 * sysdeps/unix/bsd/usleep.c: Likewise.
16457
029c7b25
JM
16458 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16459 ($(objpfx)libbsd-compat.a): Remove rule.
16460
7011c262
JM
16461 * include/features.h (__FAVOR_BSD): Do not define.
16462 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16463 features conflicting with POSIX.
16464 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16465 (_BSD_SOURCE): Remove description of not being a subset of other
16466 feature test macros.
16467 * manual/job.texi (getpgrp): Do not document BSD version.
16468 (getpgid): Do not document by reference to BSD getpgrp.
16469 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16470 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16471 * signal/signal.h [__FAVOR_BSD]: Likewise.
16472 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16473 instead of making contents conditional on [__FAVOR_BSD].
16474 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16475
affb6f78
AZ
164762013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16477
16478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16479
c88769dd
JM
164802013-12-17 Joseph Myers <joseph@codesourcery.com>
16481
6432a540
JM
16482 [BZ #16314]
16483 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16484 values below 2**-450, not 2**-500.
16485 * math/auto-libm-test-in: Don't allow spurious underflow from
16486 hypot.
16487 * math/auto-libm-test-out: Regenerated.
16488
c88769dd
JM
16489 [BZ #16316]
16490 [BZ #16330]
16491 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16492 values of ha and hb and sort them after adjusting subnormal
16493 arguments.
16494 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16495 Likewise.
16496 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16497 values of ea and eb and sort them after adjusting subnormal
16498 arguments.
16499 * math/auto-libm-test-in: Do not expect some hypot tests of
16500 subnormals to fail. Add more hypot tests.
16501 * math/auto-libm-test-out: Regenerated.
16502
29618f6b
KK
165032013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16504
16505 [BZ #13304]
16506 * sysdeps/sh/s_fma.c: New file.
16507 * sysdeps/sh/s_fmaf.c: New file.
16508 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16509 version.
16510 * sysdeps/sh/Implies: Add sh/soft-fp.
16511
eacfdfbf
RM
165122013-12-16 Roland McGrath <roland@hack.frob.com>
16513
16514 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16515 level of indirection to members `objname', `errstring', `malloced'.
16516 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16517 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16518 it as the __longjmp argument (just pass 1 instead).
16519 (_dl_catch_error): Initialize C with argument pointers and address of
16520 volatile local ERRCODE rather than copying values out of C at return.
16521
ff362e5b
JM
165222013-12-16 Joseph Myers <joseph@codesourcery.com>
16523
16524 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16525 * math/auto-libm-test-out: Regenerated.
16526 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16527 (hypot_test_data): Likewise.
16528 (pow_test_data): Likewise.
16529 (pow_tonearest_test_data): Likewise.
16530 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16531 mpfr_ff_f.
16532 (func_calc_desc): Add mpfr_ff_f union field.
16533 (FUNC_mpfr_ff_f): New macro.
16534 (test_functions): Add atan2, hypot and pow.
16535 (special_fill_min): New function.
16536 (special_fill_minus_min): Likewise.
16537 (special_fill_min_subnorm): Likewise.
16538 (special_fill_minus_min_subnorm): Likewise.
16539 (special_real_inputs): Add min, -min, min_subnorm and
16540 -min_subnorm.
16541 (calc_generic_results): Handle mpfr_ff_f.
16542 * sysdeps/i386/fpu/libm-test-ulps: Update.
16543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16544
5764c27f
WN
165452013-12-16 Will Newton <will.newton@linaro.org>
16546
16547 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16548 (Aligned Memory Blocks): Add documentation for aligned_alloc
16549 and suggest it as an alternative to posix_memalign.
16550 (Hooks for Malloc): Document __memalign_hook is also called
16551 for aligned_alloc. (Summary of Malloc): Add summary for
16552 aligned alloc. Document __memalign_hook is also called
16553 for aligned_alloc.
16554
0a096e44
WN
165552013-12-16 Will Newton <will.newton@linaro.org>
16556
16557 * manual/memory.texi (Malloc Examples): Clarify default
16558 alignment documentation. Suggest posix_memalign rather
16559 than memalign or valloc.
16560 (Aligned Memory Blocks): Remove suggestion to use memalign
16561 or valloc. Remove obsolete comment about BSD.
16562 Document memalign errno values and mark the function obsolete.
16563 Document posix_memalign returned error codes. Mark valloc
16564 as obsolete. (Hooks for Malloc): __memalign_hook is also
16565 called for posix_memalign and valloc.
16566 (Summary of Malloc): Add posix_memalign to function summary.
16567 __memalign_hook is also called for posix_memalign and valloc.
16568
8d561986
SP
165692013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16570
16571 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16572 TAYLOR_SIN.
16573 (__sin): Adjust.
16574 (__cos): Likewise.
16575 (sloww): Use mynumber union. Expand ternary operator into
16576 if-else statements.
16577 (cslow): use mynumber union.
16578
73616a74
AM
165792013-12-16 Allan McRae <allan@archlinux.org>
16580
9e8ac24b
AM
16581 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16582 * configure: Regenerated.
16583
6f8e37eb
AM
16584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16585
8894bad3
AM
16586 [BZ #14120]
16587 * configure.ac: Added --enable-maintainer-mode. Check for
16588 autoconf when enabled.
16589 * configure: Regenerated.
16590
73616a74
AM
16591 * nscd/nscd.service: New file.
16592 * nscd/nscd.tmpfiles: New file.
16593
584b18eb
OB
165942013-12-14 Ondřej Bílka <neleai@seznam.cz>
16595
16596 [BZ #12100]
16597 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16598 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16599 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16600 (strstr): Add __strstr_sse2_unaligned ifunc.
16601 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16602 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16603 (strcasestr): Remove __strcasestr_sse42 ifunc.
16604 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16607
8a5c7897
KK
166082013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16609
16610 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16611 * sysdeps/sh/bits/fenv.h: ... here.
16612 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16613
fd712ef3
AZ
166142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16615
16616 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16617
42fcb46c
AZ
16618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16619 hypotf multiarch implementations.
16620 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16621 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16622 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16623 multiarch hypot for PPC64.
16624 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16625 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16626 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16627 multiarch hypotf for PPC64.
16628
83efded4
AZ
16629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16630 modff multiarch implementations.
16631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16634 multiarch modf for PPC64.
16635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16638 multiarch modff for PPC64.
16639
43e246d2
AZ
16640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16641 and logl multiarch implementations.
16642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16645 multiarch logb for PPC64.
16646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16649 multiarch logb for PPC64.
16650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16653 multiarch logb for PPC64.
16654
8fdad123
AZ
16655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16656 isinff multiarch implementation.
16657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16658 file.
16659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16661 multiarch isinf for PPC64.
16662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16663 file.
16664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16665 multiarch isinff for PPC64.
16666
1481d706
AZ
16667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16668 finitef multiarch implementation.
16669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16670 file.
16671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16673 multiarch finite for PPC64.
16674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16675 file.
16676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16677 multiarch finitef for PPC64.
16678
5ccd5fc8
AZ
16679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16680 lrint multiarch implementation.
16681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16682 file.
16683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16685 multiarch llrint for PPC64.
16686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16687 multiarch lrint for PPC64.
16688
2568f3fa
AZ
16689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16690 copysignf multiarch implementation.
16691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16692 file.
16693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16694 file.
16695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16696 multiarch copysign for PPC64.
16697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16698 multiarch copysignf for PPC64.
16699
1cb341fd
AZ
16700 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16701 multiarch implementation.
16702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16703 file.
16704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16705 file.
16706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16707 file.
16708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16709 file.
16710 multiarch llround for PPC64.
16711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16712 multiarch trunc for PPC64.
16713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16714 multiarch truncf for PPC64.
16715
59a3e194
AZ
16716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16717 multiarch implementation.
16718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16719 file.
16720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16721 file.
16722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16723 file.
16724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16725 file.
16726 multiarch llround for PPC64.
16727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16728 multiarch round for PPC64.
16729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16730 multiarch roundf for PPC64.
16731
357fd3b4
AZ
16732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16733 multiarch implementation.
16734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16735 file.
16736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16737 file.
16738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16739 file.
16740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16741 file.
16742 multiarch llround for PPC64.
16743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16744 multiarch floor for PPC64.
16745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16746 multiarch floorf for PPC64.
16747
96770f12
AZ
16748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16749 multiarch implementation.
16750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16751 file.
16752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16753 file.
16754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16755 file.
16756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16757 file.
16758 multiarch llround for PPC64.
16759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16760 multiarch ceil for PPC64.
16761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16762 multiarch ceilf for PPC64.
16763
c3627f6e
AZ
16764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16765 multiarch implementation.
16766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16767 file.
16768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16769 file.
16770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16771 file.
16772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16773 multiarch llround for PPC64.
16774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16775 multiarch lround for PPC64.
16776
b2284ad7
AZ
16777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16778 multiarch implementation.
16779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16782 file.
16783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16786 multiarch isnan for PPC64.
16787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16788 multiarch isnanf for PPC64.
16789
69bbc63d
AZ
16790 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16791 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16792 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16793 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16794 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16796
c24517c9
AZ
16797 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16798 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16801
a52374e8
AZ
16802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16803 multiarch implementations.
16804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16805 (__libc_ifunc_impl_list): Likewise.
16806 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16807 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16808 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16809 multiarch stpcpy for PPC64.
16810
7f5ec113
AZ
16811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16812 multiarch implementations.
16813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16814 (__libc_ifunc_impl_list): Likewise.
16815 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16816 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16817 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16818 multiarch strcpy for PPC64.
16819
e28bcd42
AZ
16820 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16821 redefine function name.
16822 (_wordcopy_fwd_dest_aligned): Likewise.
16823 (_wordcopy_bwd_aligned): Likewise.
16824 (_wordcopy_bwd_dest_aligned): Likewise.
16825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16826 multiarch implementations.
16827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16828 (__libc_ifunc_impl_list): Likewise.
16829 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16830 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16831 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16832 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16833 multiarch wcscpy for PPC64.
16834
92cacfce
AZ
16835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16836 multiarch implementations.
16837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16838 (__libc_ifunc_impl_list): Likewise.
16839 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16840 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16841 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16842 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16843 multiarch wcscpy for PPC64.
16844
7b714620
AZ
16845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16846 multiarch implementations.
16847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16848 (__libc_ifunc_impl_list): Likewise.
16849 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16850 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16851 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16852 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16853 multiarch wcsrchr for PPC64.
16854
16fd2ae3
AZ
16855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16856 multiarch implementations.
16857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16858 (__libc_ifunc_impl_list): Likewise.
16859 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16860 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16861 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16862 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16863 multiarch wcschr for PPC64.
16864
9ee2969b
AZ
16865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16866 multiarch implementations.
16867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16868 (__libc_ifunc_impl_list): Likewise.
16869 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16870 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16871 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16872 multiarch strchrnul for PPC64.
16873
372dc060
AZ
16874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16875 implementations.
16876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16877 (__libc_ifunc_impl_list): Likewise.
16878 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16879 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16880 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16881 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16882 strchr for PPC64.
16883
24c2c3b9
AZ
16884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16885 implementations.
16886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16887 (__libc_ifunc_impl_list): Likewise.
16888 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16889 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16890 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16891 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16892 strncmp for PPC64.
16893
1c92d9a0
AZ
16894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16895 multiarch implementations.
16896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16897 (__libc_ifunc_impl_list): Likewise.
16898 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16899 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16900 strncasecmp for PPC64.
16901 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16902 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16903 multiarch strncasecmp_l for PPC64.
16904
17de3ee3
AZ
16905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16906 multiarch implementations.
16907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16908 (__libc_ifunc_impl_list): Likewise.
16909 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16910 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16911 multiarch strcasecmp for PPC64.
16912 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16913 file.
16914 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16915 multiarch strcasecmp_l for PPC64.
16916
62982bf9
AZ
16917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16918 implementations.
16919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16920 (__libc_ifunc_impl_list): Likewise.
16921 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16922 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16923 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16924 strnlen for PPC64.
16925
a65f4904
AZ
16926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16927 implementations.
16928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16929 (__libc_ifunc_impl_list): Likewise.
16930 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16931 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16932 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16933 strlen for PPC64.
16934
1fd005ad
AZ
16935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16936 implementations.
16937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16938 (__libc_ifunc_impl_list): Likewise.
16939 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16940 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16941 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16942 rawmemrchr for PPC64.
16943
cd05ba91
AZ
16944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16945 implementation.
16946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16947 (__libc_ifunc_impl_list): Likewise.
16948 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16949 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16950 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16951 memrchr for PPC64.
16952
870f8676
AZ
16953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16954 implementation.
16955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16956 (__libc_ifunc_impl_list): Likewise.
16957 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16958 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16959 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16960 memchr for PPC64.
16961
f00be62b
AZ
16962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16963 implementation.
16964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16965 (__libc_ifunc_impl_list): Likewise.
16966 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16967 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16968 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16969 mempcpy for PPC64.
16970
8a29a3d0
AZ
16971 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16972 avoid cretion of __bzero symbol.
16973 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16974 Likewise.
16975 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16976 Likewise.
16977 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16978 Likewise.
16979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16980 multiarch implementations.
16981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16982 (__libc_ifunc_impl_list): Likewise.
16983 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16984 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16985 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16986 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16987 bzero for PPC32.
16988 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16989 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16990 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16991 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16992 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16993 memset for PPC64.
16994 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16995
07253fcf
AZ
16996 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16998 implementations.
16999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17000 (__libc_ifunc_impl_list): Likewise.
17001 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17002 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17003 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17004 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17005 memcmp for PPC64.
17006
b5beafbc
AZ
17007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17008 multiarch for POWER/PPC64.
17009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17010 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17011 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17012 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17013 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17014 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17015 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17016 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17017 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17018 memcpy for PPC64.
17019
5e6a4d4b
AZ
17020 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17021 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17022 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17023 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17024 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17025 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17026 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17027 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17028 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17029 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17030 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17031 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17032 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17033 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17034 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17042
ddfab6dc
KK
170432013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17044
17045 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17046
19b5525e
SP
170472013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17048
17049 * benchtests/Makefile (bench): Add exp2 and log2.
17050 (LDLIBS-bench-exp2): Add -lm.
17051 (LDLIBS-bench-log2): Likewise.
17052 * benchtests/exp2-inputs: New inputs file.
17053 * benchtests/log2-inputs: New inputs file.
17054 * benchtests/log-inputs: Add new inputs.
17055 * benchtests/tan-inputs: Likewise.
17056
196f7f5d
SP
170572013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17058
7a74607f
SP
17059 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17060 definition...
57f41c40
AS
17061 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17062 (csloww2): ... from here.
7a74607f 17063
196f7f5d
SP
17064 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17065 instead of structures.
17066 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17067 (POLYNOMIAL): Likewise.
17068 (TAYLOR_SLOW): Likewise.
17069 (__sin): Likewise.
17070 (__cos): Likewise.
17071 (slow1): Likewise.
17072 (slow2): Likewise.
17073 (sloww): Likewise.
17074 (sloww1); Likewise.
17075 (sloww2): Likewise.
17076 (bsloww1): Likewise.
17077 (bsloww2): Likewise.
17078 (cslow2): Likewise.
17079 (csloww): Likewise.
17080 (csloww1): Likewise.
17081 (csloww2): Likewise.
17082
0dfa665c
OB
170832013-12-10 Ondřej Bílka <neleai@seznam.cz>
17084
17085 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
17086 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17087 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
17088 * malloc/hooks.c (realloc_check): Likewise.
17089
5782a80f
OB
17090 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17091 * malloc/arena.c: Remove PER_THREAD conditional.
17092 [!PER_THREAD]: Remove code.
17093 (ptmalloc_unlock_all2): Likewise.
17094 (ptmalloc_init): Likewise.
17095 (_int_new_arena): Likewise.
17096 (arena_get2): Likewise.
17097 * malloc/hooks.c (__malloc_get_state): Likewise.
17098 (__malloc_set_state): Likewise.
17099 * malloc/malloc.c: Likewise.
17100 (struct malloc_state): Likewise.
17101 (struct malloc_par): Likewise.
17102 (__libc_realloc): Likewise.
17103 (__libc_mallopt): Likewise.
17104
aeb95445
AZ
171052013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17106
17107 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17108
e8349efd
OB
171092013-12-09 Ondřej Bílka <neleai@seznam.cz>
17110
17111 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17112 macro to a function. Check for zero perturb_byte.
17113 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17114
f3eeb3fc 17115 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
17116 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17117 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
17118 force_reg by atomic_forced_read.
17119 * malloc/arena.c (ptmalloc_init): Likewise.
17120 * malloc/hooks.c (top_check): Likewise.
17121
be2f9009
AZ
171222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17123
17124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17125
e7b914bd
MT
171262013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17127
17128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17129
9f0be4f8
JM
171302013-12-08 Joseph Myers <joseph@codesourcery.com>
17131
17132 * math/auto-libm-test-in: Add tests of lgamma.
17133 * math/auto-libm-test-out: Regenerated.
17134 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17135 (M_LOG_2_SQRT_PIl): Likewise.
17136 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17137 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17138 mpfr_f_f1.
17139 (func_calc_desc): Add mpfr_f_f1 union field.
17140 (ARGS1): New macro.
17141 (ARGS2): Likewise.
17142 (ARGS3): Likewise.
17143 (ARGS4): Likewise.
17144 (RET1): Likewise.
17145 (RET2): Likewise.
17146 (CALC): Likewise.
17147 (FUNC): Likewise.
17148 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17149 (test_functions): Add lgamma.
17150 (calc_generic_results): Handle mpfr_f_f1.
17151 * sysdeps/i386/fpu/libm-test-ulps: Update.
17152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17153
24eeafdb
AZ
171542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17155
17156 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17157 __mpn_add_n for PowerPC64/POWER7.
17158 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17159 __mpn_sub_n for PowerPC64/POWER7.
17160
4a2c0fd4
AZ
17161 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17162 __mpn_addmul_1 for PowerPC64.
17163 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17164 __mpn_submul_1 for PowerPC64.
17165 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17166 for PowerPC64.
17167 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17168 for PowerPC64.
17169
4b5b548c
FS
171702013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17171
17172 [BZ #15089]
17173 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17174
0a3ac0aa
AZ
171752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17176
17177 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17178
ccdc8438
AZ
17179 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17180 add multiarch folders.
17181 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17182 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17183 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17184 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17185 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17186 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17187 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17188 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17189 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17190 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17191 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17198
2e973d99
AZ
17199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17200 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17202 New file.
17203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17204 New file.
17205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17206 multiarch __ieee754_hypot for PowerPC32.
17207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17208 New file.
17209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17210 New file.
17211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17212 multiarch __ieee754_hypotf for PowerPC32.
17213
2d9470b2
AZ
17214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17215 long_double_symbol only if __logbl is defined.
17216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17217 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17219 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17221 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17222 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17223 path for implementation.
17224 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17225 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17227 logb, and logbl multiarch implementations for PowerPC32.
17228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17229 file.
17230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17231 file.
17232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17233 multiarch logb for PowerPC32.
17234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17235 file.
17236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17237 file.
17238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17239 multiarch logbf for PowerPC32.
17240 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17242 file.
17243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17244 multiarch logbl implementation for PowerPC32.
17245
5212ffce
AZ
17246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17247 and modff multiarch implementations.
17248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17249 New file.
17250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17251 New file.
17252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17253 multiarch modf for PowerPC32.
17254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17255 New file.
17256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17257 New file.
17258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17259 multiarch modff for PowerPC32.
17260
79dccf31
AZ
17261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17262 and lrintf multiarch implementations.
17263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17264 New file.
17265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17266 New file.
17267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17268 multiarch lrint for PowerPC32.
17269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17270 file: multiarch lrintf for PowerPC32.
17271
deb66480
AZ
17272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17273 and lroundf multiarch implementations.
17274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17275 New file.
17276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17277 New file.
17278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17279 New file.
17280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17281 multiarch lround for PowerPC32.
17282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17283 file: multiarch lroundf for PowerPC32.
17284
264b036b
AZ
17285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17286 copysign and copysignf multiarch implementations.
17287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17288 New file.
17289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17290 New file.
17291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17292 file: multiarch copysign for PowerPC32.
17293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17294 file: multiarch copysignf for PowerPC32.
17295
d47db6c9
AZ
17296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17297 and truncf multiarch implementations.
17298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17299 New file.
17300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17301 file.
17302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17303 multiarch trunc for PowerPC32.
17304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17305 New file.
17306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17307 New file.
17308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17309 multiarch truncf for PowerPC32.
17310
ddb60b5a
AZ
17311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17312 and roundf multiarch implementations.
17313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17314 New file.
17315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17316 file.
17317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17318 multiarch round for PowerPC32.
17319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17320 New file.
17321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17322 New file.
17323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17324 multiarch roundf for PowerPC32.
17325
bedcf49b
AZ
17326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17327 and floorf multiarch implementations.
17328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17329 New file.
17330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17331 file.
17332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17333 multiarch floor for PowerPC32.
17334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17335 New file.
17336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17337 New file.
17338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17339 multiarch floorf for PowerPC32.
17340
35ae5b40
AZ
17341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17342 and ceilf multiarch implementations.
17343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17344 New file.
17345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17346 file.
17347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17348 multiarch ceil for PowerPC32.
17349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17350 New file.
17351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17352 file.
17353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17354 multiarch ceilf for PowerPC32.
17355
ae1a4cd9
AZ
17356 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17357 is defined.
17358 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17359 FINITEF is defined.
17360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17361 and finitef multiarch implementations.
17362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17363 New file.
17364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17365 file.
17366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17367 multiarch finite for PowerPC32.
17368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17369 New file.
17370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17371 file: multiarch finitef for PowerPC32.
17372
64fffd65
AZ
17373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17374 and isinff multiarch implementations.
17375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17376 file.
17377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17378 file.
17379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17380 multiarch isinf for PowerPC32.
17381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17382 New file.
17383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17384 multiarch isinff for PowerPC32.
17385
8e4e7ba2
AZ
17386 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17387 alias when __isnan is defined.
17388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17389 and isnanf multiarch implementations.
17390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17391 file.
17392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17393 file.
17394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17395 file.
17396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17397 file.
17398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17399 multiarch isnan for PowerPC32.
17400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17401 New file.
17402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17403 New file.
17404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17405 multiarch isnanf for PowerPC32.
17406
ddba588e
AZ
17407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17408 and sqrtf multiarch implementations.
17409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17410 file.
17411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17412 file.
17413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17414 multiarch sqrt for PowerPC32.
17415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17416 file.
17417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17418 file.
17419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17420 multiarch sqrtf for PowerPC32.
17421
0f96a2f0
AZ
17422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17423 and llroundf multiarch implementations.
17424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17425 New file.
17426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17427 New file.
17428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17429 New file.
17430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17431 file: multiarch llround for PowerPC32.
17432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17433 file: multiarch llroundf for PowerPC32.
17434
c9b5d79e
AZ
17435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17436 multiarch PowerPC32 fpu implementations.
17437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17438 New file.
17439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17440 New file.
17441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17442 multiarch llrint for PowerPC32.
17443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17444 New file.
17445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17446 New file.
17447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17448 file.
17449
9cbb3aab
AZ
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17451
ea5a72f8
AZ
17452 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17453 file.
17454 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17455 file.
17456 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17457 file.
17458 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17459 multiarch wordcopy for PPC32.
17460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17461 wordcopy objects.
17462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17463 (__libc_ifunc_impl_list): Likewise.
17464 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17465 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17466 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17467 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17468 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17469 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17470
93be09e7
AZ
17471 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17473 file.
17474 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17475 file.
17476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17477 file.
17478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17479 multiarch wcscpy for PPC32.
17480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17481 multiarch objects.
17482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17483 (__libc_ifunc_impl_list): Likewise.
17484 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17485 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17486 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17487 sysdeps/powerpc/power6/wcscpy.c.
17488
bb04e529
AZ
17489 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17491 file.
17492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17493 file.
17494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17495 file.
17496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17497 multiarch wcsrchr for PPC32.
17498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17499 multiarch objects.
17500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17501 (__libc_ifunc_impl_list): Likewise.
17502 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17503 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17504 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17505 sysdeps/powerpc/power6/wcsrchr.c.
17506
05b5cd1c
AZ
17507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17508 file.
17509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17510 file.
17511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17513 multiarch wcschr for PPc32.
17514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17515 multiarch objects.
17516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17517 (__libc_ifunc_impl_list): Likewise.
17518 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17519 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17520 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17521 sysdeps/powerpc/power6/wcschr.c.
17522
ba964147
AZ
17523 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17524 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17525 file.
17526 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17527 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17528 file: multiarch strchr for PPC32.
17529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17530 multiarch objects.
17531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17532 (__libc_ifunc_impl_list): Likewise.
17533
31c81aaa
AZ
17534 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17535 name.
17536 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17537 file.
17538 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17539 file.
17540 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17541 multiarch strchrnul for PPC32.
17542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17543 multiarch objects.
17544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17545 (__libc_ifunc_impl_list): Likewise.
17546
0d0607d9
AZ
17547 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17548 file.
17549 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17550 multiarch strncasecmp for PPC32.
17551 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17552 file.
17553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17554 multiarch strncasecmp_l for PPC32.
17555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17556 strncasecmp multiarch objects.
17557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17558 (__libc_ifunc_impl_list): Likewise.
17559
4dfd5c86
AZ
17560 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17561 file.
17562 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17563 multiarch strncasecmp for PPC32.
17564 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17565 New file.
17566 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17567 multiarch strcasecmp_l for PPC32.
17568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17569 multiarch objects.
17570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17571 (__libc_ifunc_impl_list): Likewise.
17572
a19e01a3
AZ
17573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17574 file.
17575 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17576 file.
17577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17578 multiarch strncmp for PPC32.
17579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17580 multiarch objects.
17581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17582 (__libc_ifunc_impl_list): Likewise.
17583
ae9cf7a2
AZ
17584 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17585 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17586 file.
17587 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17588 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17589 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17590 multiarch objects.
17591 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17592 (__libc_ifunc_impl_list): Likewise.
17593
3148bb7d
AZ
17594 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17595 file.
17596 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17597 file.
17598 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17600 multiarch objects.
17601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17602 (__libc_ifunc_impl_list): Likewise.
17603
7af8b946
AZ
17604 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17605 file.
17606 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17607 file.
17608 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17609 multiarch rawmemchr for PPC32.
17610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17611 multiarch objects.
17612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17613 (__libc_ifunc_impl_list): Likewise.
17614
03a6aa6a
AZ
17615 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17616 file.
17617 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17618 file.
17619 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17620 file: memrchr multiarch for PPC32.
17621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17622 multiarch objects.
17623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17624 (__libc_ifunc_impl_list): Likewise.
17625
1c62e6d9
AZ
17626 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17628 file.
17629 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17630 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17631 multiarch memchr for PPC32.
17632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17633 multiarch objects.
17634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17635 (__libc_ifunc_impl_list): Likewise.
17636
87da8bdb
AZ
17637 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17638 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17639 file.
17640 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17641 file.
17642 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17643 file: multiarch mempcpy for PPC32.
17644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17645 multiarch objects.
17646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17647 (__libc_ifunc_impl_list): Likewise.
17648
20ed4714
AZ
17649 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17650 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17651 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17652 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17653 multiarch bzero for PPC32.
17654 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17655 file.
17656 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17657 file.
17658 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17659 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17660 file: multiarch memset for PPC32.
17661 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17663 memset multiarch objects.
17664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17665 (__libc_ifunc_impl_list): Likewise.
17666
ab3e3a46
AZ
17667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17668 file.
17669 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17670 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17671 memcmp for PPC32.
17672 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17673 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17674 multiarch objects.
17675 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17676 (__libc_ifunc_impl_list): Likewise.
17677
930de6f0
AZ
17678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17679 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17681 file.
17682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17683 file.
17684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17685 file.
17686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17687 multiarch memcpy for PPC32.
17688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17689 multiarch objects.
17690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17691 (__libc_ifunc_impl_list): Likewise.
17692
4c628e00
AZ
17693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17694 support multiarch for POWER/PPC32.
17695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17696 Likewise.
17697 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17699 Implies file to make multiarch folder appers before the fpu and
17700 default folder for power4 configuration.
17701
f4479220
SP
177022013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17703
17704 * scripts/bench.pl: Append volatile keyword to type.
17705
8517800f
KK
177062013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17707
17708 * sysdeps/sh/sotruss-lib.c: New file.
17709 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17710
180138f1
AZ
177112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17712
17713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17714
bbf37bdc
JM
177152013-12-05 Joseph Myers <joseph@codesourcery.com>
17716
e47cc4e0
JM
17717 [BZ #6810]
17718 * math/w_tgamma.c: Include <errno.h>.
17719 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17720 * math/w_tgammaf.c: Include <errno.h>.
17721 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17722 * math/w_tgammal.c: Include <errno.h>.
17723 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17724 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17725 underflow. Add more tgamma tests.
17726 * math/auto-libm-test-out: Regenerated.
17727 * sysdeps/i386/fpu/libm-test-ulps: Update.
17728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729
bbf37bdc
JM
17730 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17731 sin, sinh, tan, tanh, tgamma, y0 and y1.
17732 * math/auto-libm-test-out: Regenerated.
17733 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17734 (TEST_COND_x86): Likewise.
17735 (M_E2l): Remove macro.
17736 (M_E3l): Likewise.
17737 (M_2_SQRT_PIl): Likewise.
17738 (M_SQRT_PIl): Likewise.
17739 (M_1_DIV_El): Likewise.
17740 (log_test_data): Use AUTO_TESTS_f_f.
17741 (log10_test_data): Likewise.
17742 (log1p_test_data): Likewise.
17743 (log2_test_data): Likewise.
17744 (sin_test_data): Likewise.
17745 (sin_tonearest_test_data): Likewise.
17746 (sin_towardzero_test_data): Likewise.
17747 (sin_downward_test_data): Likewise.
17748 (sin_upward_test_data): Likewise.
17749 (sinh_test_data): Likewise.
17750 (sinh_tonearest_test_data): Likewise.
17751 (sinh_towardzero_test_data): Likewise.
17752 (sinh_downward_test_data): Likewise.
17753 (sinh_upward_test_data): Likewise.
17754 (tan_test_data): Likewise.
17755 (tan_tonearest_test_data): Likewise.
17756 (tan_towardzero_test_data): Likewise.
17757 (tan_downward_test_data): Likewise.
17758 (tan_upward_test_data): Likewise.
17759 (tanh_test_data): Likewise.
17760 (tgamma_test_data): Likewise.
17761 (y0_test_data): Likewise.
17762 (y1_test_data): Likewise.
17763 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17764 (special_real_inputs): Add pi/4.
17765 * sysdeps/i386/fpu/libm-test-ulps: Update.
17766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17767
eb5ad6b9
AZ
177682013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17769
17770 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17771 "longjmp_target" static probes.
17772 (__longjmp): Rename to __longjmp_symbol.
17773 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17774 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17775 on which longjmp to generate.
17776 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17777 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17778 probe.
17779 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17780 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17781 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17782 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17783 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17784 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17786 __longjmp_symbol based on which __longjmp to generate.
17787 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17788 probe.
17789 (setjmp): Rename to setjmp_symbol.
17790 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17791 (_setjmp): Rename to _setjmp_symbol.
17792 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17793 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17794 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17795 which setjmp to generate.
17796 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17797 "longjmp_target" static probes.
17798
d136c6dc
SP
177992013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17800
9298ecba
SP
17801 * benchtests/README: Add note about output arguments.
17802 * benchtests/bench-sincos.c: Remove file.
17803 * benchtests/sincos-inputs: New file.
17804 * scripts/bench.pl: Identify output arguments and define
17805 static variables for them.
17806
232983e9
SP
17807 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17808
d136c6dc
SP
17809 [BZ #15941]
17810 * Makefile (INSTALL): Add install-plain.texi as the primary
17811 dependency.
17812 * manual/install-plain.texi: New file.
17813 * manual/install.texi: Include node directive only for
17814 non-plaintext output.
17815
699ff837
JM
178162013-12-04 Joseph Myers <joseph@codesourcery.com>
17817
ab07cea8
JM
17818 * stdlib/longlong.h: Update from GCC.
17819
699ff837
JM
17820 [BZ #6807]
17821 [BZ #15901]
17822 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17823 * math/w_j0f.c (y0f): Likewise.
17824 * math/w_j0l.c (__y0l): Likewise.
17825 * math/w_j1.c (y1): Likewise.
17826 * math/w_j1f.c (y1f): Likewise.
17827 * math/w_j1l.c (__y1l): Likewise
17828 * math/w_jn.c (yn): Likewise.
17829 * math/w_jnf.c (ynf): Likewise.
17830 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17831 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17832 value for Bessel function domain errors outside _SVID_ mode.
17833 Adjust sign of return value for yn (negative integer, 0).
17834 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17835 by zero in return for negative x and set sign appropriately for
17836 negative n.
17837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17838 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17839 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17840 expectations in error cases.
17841 (y1_test_data): Likewise.
17842 (yn_test_data): Likewise.
17843 * sysdeps/i386/fpu/libm-test-ulps: Update.
17844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17845
5b118558
UW
178462013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17847
17848 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17849 "64" to "64-v1". Add "64-v2".
17850 (abi-64-options): Rename to ...
17851 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17852 (abi-64-condition): Rename to ...
17853 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17854 (abi-64-ld-soname): Rename to ...
17855 (abi-64-v1-ld-soname): ... this.
17856 (abi-64-v2-options): Define.
17857 (abi-64-v2-condition): Likewise.
17858 (abi-64-v2-ld-soname): Likewise.
17859 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17860 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17864
61cd8fe4
UW
178652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17866 Alan Modra <amodra@gmail.com>
17867
17868 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17869 New versions for use with the ELFv2 ABI.
17870 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17871 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17872 declaration.
17873 (struct La_ppc64v2_retval): Likewise.
17874 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17875 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17876 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17877 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17878 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17879 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17880 Do not save or restore CR.
17881 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17882 (_dl_profile_resolve): Do no save or restore CR. Support extended
17883 return values for ELFv2 ABI. Fix location of FPR return registers.
17884 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17885 updated values for _CALL_ELF == 2.
17886 (La_regs, La_retval, int_retval): Likewise.
17887
8b8a692c
UW
178882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17889
17890 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17891 (FRAME_MIN_SIZE_PARM): Likewise.
17892 (FRAME_BACKCHAIN): Likewise.
17893 (FRAME_CR_SAVE): Likewise.
17894 (FRAME_LR_SAVE): Likewise.
17895 (FRAME_TOC_SAVE): Likewise.
17896 (FRAME_PARM_SAVE): Likewise.
17897 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17898 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17899 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17900 (call_mcount_parm_offset): New macro.
17901 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17902 (PROF): Use symbolic stack frame offsets.
17903 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17904 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17905 Redefine in terms of FRAME_MIN_SIZE.
17906 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17907 (_dl_profile_resolve): Likewise. Update comment.
17908 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17909 symbols stack frame offsets.
17910 (__sigsetjmp): Likewise.
17911 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17912 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17913 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17914 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17915
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17917 (FRAME_BACKCHAIN): Remove.
17918 (FRAME_CR_SAVE): Likewise.
17919 (FRAME_LR_SAVE): Likewise.
17920 (FRAME_COMPILER_DW): Likewise.
17921 (FRAME_LINKER_DW): Likewise.
17922 (FRAME_TOC_SAVE): Likewise.
17923 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17924 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17925 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17926 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17928 (CHECK_SP): Use symbolic stack frame offsets.
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17930 zone" instead of caller's parameter save area for temp storage.
17931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17932 Likewise. Also, use symbolic stack frame offsets.
17933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17934 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17935 our own stack frame instead of the caller's.
17936 (__socket): Use symbolic stack frame offsets.
17937
122b66de
UW
179382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17939 Alan Modra <amodra@gmail.com>
17940
17941 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17942 Define.
57f41c40
AS
17943 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17944 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17945 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17946 New function.
17947 (elf_machine_fixup_plt): Call it.
17948 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17949 reloc arguments.
17950 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17952 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17953 r2 before calling target.
17954
696caf1d
UW
179552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17956 Alan Modra <amodra@gmail.com>
17957
17958 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17959 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17960 versions of macros to support ELFv2 ABI.
17961 (LOCALENTRY): New macro.
17962 (ENTRY, EALIGN): Use it.
17963 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17964 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17965 fall through into ENTRY entry point.
17966 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17967 Only define if _CALL_ELF != 2.
17968
17969 (elf_machine_matches_host): Verify ABI version matches.
17970 (RTLD_START): Use LOCALENTRY.
17971 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17972 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17973 (PLT_ENTRY_WORDS): New macro.
17974 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17975 (elf_machine_runtime_setup): Support ELFv2 ABI.
17976 (elf_machine_fixup_plt): Likewise.
17977 (elf_machine_plt_conflict): Likewise.
17978 (resolve_ifunc): Likewise.
17979 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17980 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17981 Likewise.
17982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17983 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17985 (makecontext): Support ELFv2 ABI.
17986 * elf/elf.h (EF_PPC64_ABI): Define.
17987
d31beafa
UW
179882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17989
57f41c40
AS
17990 * sysdeps/powerpc/powerpc64/sysdep.h
17991 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17992 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17993 (ENTRY) [ASSEMBLER]: ... but instead here ...
17994 (EALIGN) [ASSEMBLER]: ... and here.
17995 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17996 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17997 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
17998 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17999 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
18000 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18001 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
18002 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18004 Use PPC64_LOAD_FUNCPTR.
18005
b525166b
UW
18006 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18007
7ec07d9a
AM
180082013-12-04 Alan Modra <amodra@gmail.com>
18009
18010 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18011 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18012 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18013 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18014
18015 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18016 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18017 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18018 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18019 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18020 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18021
5162e7dd
UW
180222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18023
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18025 (__makecontext): Fix incorrect CFI when backtracing out of
18026 context created via makecontext.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18028 (__setcontext): Fix incorrect CFI during switch to new context.
18029 (__novec_setcontext): Likewise.
18030
19e3372b
OB
180312013-12-04 Ondřej Bílka <neleai@seznam.cz>
18032
18033 [BZ #4772]
18034 * time/strptime_l.c (__strptime_internal): Allow modifiers
18035 in strptime.
18036 * time/tst-strptime.c (day_tests): Add testcase.
18037
ecaf142d
SP
180382013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18039
18040 * scripts/bench.pl: Skip over blank lines.
18041
fbf964ae
PE
180422013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18043
18044 [BZ #926]
18045 * manual/time.texi (Calendar Time): Clarify what timezone functions
18046 use.
18047
fa60a674
AZ
180482013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18049
18050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18051
d674f0ef
OB
180522013-12-04 Ondřej Bílka <neleai@seznam.cz>
18053
18054 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18055 implementation.
18056 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18057 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18058 * debug/memset_chk.c (__memset_chk): Likewise.
18059 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18060 * debug/strncpy_chk.c: Likewise.
18061
17dea188
JM
180622013-12-03 Joseph Myers <joseph@codesourcery.com>
18063
749008ff
JM
18064 [BZ #15268]
18065 [BZ #15425]
18066 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18067 (__ieee754_exp): For possibly underflowing results, check size of
18068 result and force underflow exception if required.
18069 * math/auto-libm-test-in: Add more tests of exp.
18070 * math/auto-libm-test-out: Regenerated.
18071 * sysdeps/i386/fpu/libm-test-ulps: Update.
18072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18073
17dea188
JM
18074 [BZ #16283]
18075 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18076 * math/w_exp2f.c (__exp2f): Likewise.
18077 * math/w_exp2l.c (__exp2l): Likewise.
18078 * math/auto-libm-test-in: Do not allow missing errno on exp2
18079 underflow.
18080 * math/auto-libm-test-out: Regenerated.
18081
b20de2c3
OB
180822013-12-03 Ondřej Bílka <neleai@seznam.cz>
18083
18084 [BZ #16274]
18085 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18086 handle filename validation.
18087 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18088 (do_open): Delete.
18089
d8e2dbe3
JM
180902013-12-03 Joseph Myers <joseph@codesourcery.com>
18091
34e16df5
JM
18092 [BZ #6786]
18093 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18094 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18095 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18096 <float.h>.
18097 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18098 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18099 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18101 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18102 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18103 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18104 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18105 Add more erfc tests.
18106 * math/auto-libm-test-out: Regenerated.
18107 * sysdeps/i386/fpu/libm-test-ulps: Update.
18108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18109
d8e2dbe3
JM
18110 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18111 exp2, expm1, j0 and j1.
18112 * math/auto-libm-test-out: Regenerated.
18113 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18114 (erfc_test_data): Likewise.
18115 (exp_test_data): Likewise.
18116 (exp_tonearest_test_data): Likewise.
18117 (exp_towardzero_test_data): Likewise.
18118 (exp_downward_test_data): Likewise.
18119 (exp_upward_test_data): Likewise.
18120 (exp10_test_data): Likewise.
18121 (exp2_test_data): Likewise.
18122 (expm1_test_data): Likewise.
18123 (j0_test_data): Likewise.
18124 (j1_test_data): Likewise.
18125 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18126 (input_flag_type): Add flag_xfail_rounding.
18127 (input_flags): Add xfail-rounding.
18128 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18129 (output_for_one_input_case): Handle flag_xfail_rounding.
18130 * sysdeps/i386/fpu/libm-test-ulps: Update.
18131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18132
18d14251
AJ
181332013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18134
3d2e6075 18135 [BZ #16289]
18d14251
AJ
18136 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18137 division by 0.
18138
520d437b
SP
181392013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18140
18141 [BZ #16195]
18142 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18143 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18144 (STAP_PROBE0): New macro.
18145 (STAP_PROBE1): Likewise.
18146 (STAP_PROBE2): Likewise.
18147 (STAP_PROBE3): Likewise.
18148 (STAP_PROBE4): Likewise.
18149
416e0145
OB
181502013-12-02 Ondřej Bílka <neleai@seznam.cz>
18151
18152 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18153
9d17796a
SE
181542013-12-02 Steve Ellcey <sellcey@mips.com>
18155
18156 * benchtests/Makefile (bench): Add sqrt.
18157 (LDLIBS-bench-sqrt): New.
18158 * benchtests/sqrt-input: New.
18159
f524d6a8
PS
181602013-12-02 Pavel Simerda <psimerda@redhat.com>
18161
639a0ef8
PS
18162 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18163 (GAIH_EAI): Likewise.
18164 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18165 (gaih_inet): Likewise.
18166 (getaddrinfo): Don't use GAIH_EAI.
18167
f524d6a8
PS
18168 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18169 (struct gaih): Remove definition.
18170
df3aedaf
SP
181712013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18172
18173 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18174 Use HERRNOP directly.
18175
1ab19dec
AZ
181762013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18177
b42ad38d 18178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 18179
176b0c79
JM
181802013-11-30 Joseph Myers <joseph@codesourcery.com>
18181
18182 * math/gen-auto-libm-tests.c (test_functions): Add more
18183 single-argument functions.
18184 (special_fill_pi_2): New function.
18185 (special_fill_minus_pi_2): Likewise.
18186 (special_fill_pi_6): Likewise.
18187 (special_fill_minus_pi_6): Likewise.
18188 (special_fill_pi_3): Likewise.
18189 (special_fill_2pi_3): Likewise.
18190 (special_fill_e): Likewise.
18191 (special_fill_1_e): Likewise.
18192 (special_fill_e_minus_1): Likewise.
18193 (special_real_inputs): Add more special inputs.
18194 (output_for_one_input_case): Do not require ERANGE on underflow to
18195 zero if round-to-nearest result does not underflow to zero, unless
18196 exact results required.
18197 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18198 atan, atanh, cbrt, cos and cosh.
18199 * math/auto-libm-test-out: Regenerated.
18200 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18201 (acos_tonearest_test_data): Likewise.
18202 (acos_towardzero_test_data): Likewise.
18203 (acos_downward_test_data): Likewise.
18204 (acos_upward_test_data): Likewise.
18205 (acosh_test_data): Likewise.
18206 (asin_test_data): Likewise.
18207 (asin_tonearest_test_data): Likewise.
18208 (asin_towardzero_test_data): Likewise.
18209 (asin_upward_test_data): Likewise.
18210 (asinh_test_data): Likewise.
18211 (atan_test_data): Likewise.
18212 (atanh_test_data): Likewise.
18213 (cbrt_test_data): Likewise.
18214 (cos_test_data): Likewise.
18215 (cos_tonearest_test_data): Likewise.
18216 (cos_towardzero_test_data): Likewise.
18217 (cos_downward_test_data): Likewise.
18218 (cos_upward_test_data): Likewise.
18219 (cosh_test_data): Likewise.
18220 (cosh_tonearest_test_data): Likewise.
18221 (cosh_towardzero_test_data): Likewise.
18222 (cosh_downward_test_data): Likewise.
18223 (cosh_upward_test_data): Likewise.
18224 * sysdeps/i386/fpu/libm-test-ulps: Update.
18225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18226
ffb536d0
JM
182272013-11-29 Joseph Myers <joseph@codesourcery.com>
18228
2a77a467
JM
18229 [BZ #6787]
18230 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18231 * math/w_exp10f.c (__exp10f): Likewise.
18232 * math/w_exp10l.c (__exp10l): Likewise.
18233 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18234 errno settings in existing tests.
18235
ea3bc4e8
JM
18236 [BZ #14032]
18237 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18238 precision control set to double precision.
18239 * sysdeps/i386/fpu/w_sqrt.c: New file.
18240 * math/auto-libm-test-in: Add more tests.
18241 * math/auto-libm-test-out: Update.
18242
0712c9d8
JM
18243 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18244 (sqrt_test_tonearest): New function.
18245 (sqrt_towardzero_test_data): New variable.
18246 (sqrt_test_towardzero): New function.
18247 (sqrt_downward_test_data): New variable.
18248 (sqrt_test_downward): New function.
18249 (sqrt_upward_test_data): New variable.
18250 (sqrt_test_upward): New function.
18251 (main): Call the new functions.
18252
ffb536d0
JM
18253 * math/gen-auto-libm-tests.c: New file.
18254 * math/auto-libm-test-in: Likewise.
18255 * math/auto-libm-test-out: New generated file.
18256 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18257 variables.
18258 (%beautify): Add generated representations of zero.
18259 (top level): Set $auto_input and call parse_auto_input.
18260 (beautify): Remove trailing "f" from hex float constants.
18261 (parse_args): Handle XFAIL_TEST.
18262 (convert_condition): New function.
18263 (or_value): Likewise.
18264 (or_cond_value): Likewise.
18265 (generate_testfile): Handle AUTO_TESTS_* lines.
18266 (parse_auto_input): New function.
18267 * math/libm-test.inc (XFAIL_TEST): New macro.
18268 (ERRNO_UNCHANGED): Update value.
18269 (ERRNO_EDOM): Likewise.
18270 (ERRNO_ERANGE): Likewise.
18271 (IGNORE_RESULT): Likewise.
18272 (TEST_COND_flt_32): New macro.
18273 (TEST_COND_dbl_64): Likewise.
18274 (TEST_COND_ldbl_96_intel): Likewise.
18275 (TEST_COND_ldbl_96_m68k): Likewise.
18276 (TEST_COND_ldbl_128): Likewise.
18277 (TEST_COND_ldbl_128ibm): Likewise.
18278 (TEST_COND_long32): Likewise.
18279 (TEST_COND_long64): Likewise.
18280 (TEST_COND_before_rounding): Likewise.
18281 (TEST_COND_after_rounding): Likewise.
18282 (enable_test): Handle XFAIL_TEST flag.
18283 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18284 with finite results.
18285 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18286 auto-libm-test-out.
18287
acd98a8e
AK
182882013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18289 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18290
18291 [BZ #16214]
18292 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18293 __tls_get_addr_internal instead of __tls_get_offset in order to
18294 avoid GOT pointer dependency. Make rtld export
18295 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18296 __tls_get_addr since we are a __tls_get_offset platform.
18297 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18298 GOT pointer being set up before.
18299 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18300
3c1c46a6
JM
183012013-11-28 Joseph Myers <joseph@codesourcery.com>
18302
7475aef5
JM
18303 * manual/math.texi (Errors in Math Functions): Document accuracy
18304 goals.
18305
8bca7cd8
JM
18306 [BZ #15004]
18307 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18308 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18323
91a1f3fe
JM
18324 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18325 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18326 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18327 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18328 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18329 Likewise.
18330 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18331 Likewise.
18332 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18333 Likewise.
18334 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18335 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18336 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18337 atomic-feupdateenv and flt-rounds.
18338 * sysdeps/powerpc/nofpu/Versions (libc): Add
18339 __atomic_feholdexcept, __atomic_feclearexcept,
18340 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18341 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18342 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18343 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18344 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18345 here.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18347 Update.
18348
c5df7609
JM
18349 * manual/arith.texi (FP Exceptions): Document that exceptions may
18350 not be raised when matherr is used.
18351 (Math Error Reporting): Document overflow in directed rounding
18352 modes. Document that errno may not be set when finite values are
18353 returned on overflow. Document intent to set errno on underflow
18354 only for underflow to zero.
18355
3c1c46a6
JM
18356 [BZ #16271]
18357 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18358 round-to-nearest then adjust result for other rounding modes.
18359 * include/fenv.h (fegetround): Use libm_hidden_proto.
18360 * math/fegetround.c (fegetround): Use libm_hidden_def.
18361 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18362 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18363 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18364 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18365 Likewise.
18366 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18367 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18368 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18369 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18370
5a4c6d53
SP
183712013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18372
18373 [BZ #16077]
18374 * nss/Versions (libnss_files): Add
18375 _nss_files_gethostbyname3_r.
18376 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18377 New function.
18378 (HOST_DB_LOOKUP): Remove macro.
18379 (_nss_files_gethostbyname_r): Implement function without the
18380 HOST_DB_LOOKUP macro.
18381 (_nss_files_gethostbyname2_r): Likewise.
18382
897b98ba
OB
183832013-11-28 Ondřej Bílka <neleai@seznam.cz>
18384
18385 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18386
6f476861
UB
183872013-11-26 Uros Bizjak <ubizjak@gmail.com>
18388
18389 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18390 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18391 warning.
18392
bd12ab55
AZ
183932013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18394
18395 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18396 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18397 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18398 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18399 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18400 __fe_nomask_env_priv and attribute_hidden.
18401 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18402 (libc_feupdateenv_test_ppc): Likewise.
18403 (libc_feresetround_ppc): Likewise.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18405 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18406 compat_symbol macro.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18408 (__fe_nomask_env): Likewise.
18409 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18410
52bb6543
OB
184112013-11-26 Ondřej Bílka <neleai@seznam.cz>
18412
18413 * string/Makefile: Remove ifunc tests.
18414 * string/test-string.h: Define TEST_IFUNC.
18415 * string/test-bcopy-ifunc.c: Remove.
18416 * string/test-bzero-ifunc.c: Likewise.
18417 * string/test-memccpy-ifunc.c: Likewise.
18418 * string/test-memchr-ifunc.c: Likewise.
18419 * string/test-memcmp-ifunc.c: Likewise.
18420 * string/test-memcpy-ifunc.c: Likewise.
18421 * string/test-memmem-ifunc.c: Likewise.
18422 * string/test-memmove-ifunc.c: Likewise.
18423 * string/test-mempcpy-ifunc.c: Likewise.
18424 * string/test-memrchr-ifunc.c: Likewise.
18425 * string/test-memset-ifunc.c: Likewise.
18426 * string/test-rawmemchr-ifunc.c: Likewise.
18427 * string/test-stpcpy-ifunc.c: Likewise.
18428 * string/test-stpncpy-ifunc.c: Likewise.
18429 * string/test-strcasecmp-ifunc.c: Likewise.
18430 * string/test-strcasestr-ifunc.c: Likewise.
18431 * string/test-strcat-ifunc.c: Likewise.
18432 * string/test-strchr-ifunc.c: Likewise.
18433 * string/test-strchrnul-ifunc.c: Likewise.
18434 * string/test-strcmp-ifunc.c: Likewise.
18435 * string/test-strcpy-ifunc.c: Likewise.
18436 * string/test-strcspn-ifunc.c: Likewise.
18437 * string/test-strlen-ifunc.c: Likewise.
18438 * string/test-strncasecmp-ifunc.c: Likewise.
18439 * string/test-strncat-ifunc.c: Likewise.
18440 * string/test-strncmp-ifunc.c: Likewise.
18441 * string/test-strncpy-ifunc.c: Likewise.
18442 * string/test-strnlen-ifunc.c: Likewise.
18443 * string/test-strpbrk-ifunc.c: Likewise.
18444 * string/test-strrchr-ifunc.c: Likewise.
18445 * string/test-strspn-ifunc.c: Likewise.
18446 * string/test-strstr-ifunc.c: Likewise.
18447
ab260039 184482013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18449
18450 * benchtests/Makefile: Remove ifunc tests.
18451 * benchtests/bench-string.h: Define TEST_IFUNC.
18452 * benchtests/bench-bcopy-ifunc.c: Remove.
18453 * benchtests/bench-bzero-ifunc.c: Likewise.
18454 * benchtests/bench-memccpy-ifunc.c: Likewise.
18455 * benchtests/bench-memchr-ifunc.c: Likewise.
18456 * benchtests/bench-memcmp-ifunc.c: Likewise.
18457 * benchtests/bench-memcpy-ifunc.c: Likewise.
18458 * benchtests/bench-memmem-ifunc.c: Likewise.
18459 * benchtests/bench-memmove-ifunc.c: Likewise.
18460 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18461 * benchtests/bench-memrchr-ifunc.c: Likewise.
18462 * benchtests/bench-memset-ifunc.c: Likewise.
18463 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18464 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18465 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18466 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18467 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18468 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18469 * benchtests/bench-strcat-ifunc.c: Likewise.
18470 * benchtests/bench-strchr-ifunc.c: Likewise.
18471 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18472 * benchtests/bench-strcmp-ifunc.c: Likewise.
18473 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18474 * benchtests/bench-strcpy-ifunc.c: Likewise.
18475 * benchtests/bench-strcspn-ifunc.c: Likewise.
18476 * benchtests/bench-strlen-ifunc.c: Likewise.
18477 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18478 * benchtests/bench-strncat-ifunc.c: Likewise.
18479 * benchtests/bench-strncmp-ifunc.c: Likewise.
18480 * benchtests/bench-strncpy-ifunc.c: Likewise.
18481 * benchtests/bench-strnlen-ifunc.c: Likewise.
18482 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18483 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18484 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18485 * benchtests/bench-strspn-ifunc.c: Likewise.
18486 * benchtests/bench-strstr-ifunc.c: Likewise.
18487
184882013-11-26 Ondřej Bílka <neleai@seznam.cz>
18489
ab260039
OB
18490 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18491
d1d9eaf4 184922013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18493
d1d9eaf4
OB
18494 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18495 * rt/aio.h: Likewise.
18496 * sysdeps/gnu/bits/utmp.h: Likewise.
18497 * sysdeps/gnu/bits/utmpx.h: Likewise.
18498 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18499 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18500 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18501 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18502 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18503 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18504 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18505 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18506 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18507 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18508 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18509 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18510 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18512 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18513 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18514 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18515 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18516 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18517 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18518 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18519 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18520 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18521 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18522 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18524 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18525 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18526 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18527 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18528 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18529 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18530 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18531 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18532 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18533 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18534 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18535 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18536 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18537 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18538 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18539 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18540
a7624ed9
CD
185412013-11-25 Carlos O'Donell <carlos@redhat.com>
18542
18543 [BZ #16245]
18544 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18545 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18546
63cfe52b
JM
185472013-11-25 Joseph Myers <joseph@codesourcery.com>
18548
18549 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18550 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18551 Likewise.
18552
41e8926a
AZ
185532013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18554
18555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18556 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18557 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18558 (__fesetround): Remove define.
18559 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18560 rounding and exceptions handling.
18561 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18562 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18563 (__fe_nomask_env): Likewise.
18564 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18565 __fegetround instead of fegetround.
18566 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18567 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18568
6851bd4d
RM
185692013-11-21 Roland McGrath <roland@hack.frob.com>
18570
070906ff
RM
18571 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18572 it's there.
18573
6851bd4d
RM
18574 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18575
84ae135d
MI
185762013-11-21 Meador Inge <meadori@codesourcery.com>
18577
18578 [BZ #11157]
18579 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18580 (encrypt_r): Likewise.
18581 * malloc/obstack.h (obstack_free): Likewise.
18582 * posix/unistd.h (encrypt): Likewise.
18583
daf75146
GM
185842013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18585
18586 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18587 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18588 DL_CALL_DT_FINI() that call the functions directly.
18589 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18590 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18591 * elf/dl-fini.c: Likewise.
18592
10ad46bc
OB
185932013-11-20 Ondřej Bílka <neleai@seznam.cz>
18594
18595 * malloc/hooks.c (memalign_check): Add alignment rounding.
18596 * malloc/malloc.c (_mid_memalign): New function.
18597 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18598 Implement by calling _mid_memalign.
18599 * manual/probes.texi (Memory Allocation Probes): Remove
18600 memory_valloc_retry and memory_pvalloc_retry.
18601
f3fd2628
SP
186022013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18603
4712799f
SP
18604 * locale/programs/locarchive.c (open_archive): Add const
18605 qualifier to ARCHIVEFNAME and copy default fname to
18606 DEFAULT_FNAME.
18607
0417b20f
SP
18608 [BZ #15601]
18609 * libio/tst-widetext.input: Rename Oriya to Odia.
18610 * locale/iso-639.def: Likewise.
18611
f3fd2628
SP
18612 * manual/probes.texi (Mathematical Function Probes): Add
18613 documentation for sin, cos, asin and acos probes.
18614 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18615 (__sin32): Add slowasin probe.
18616 (__cos32): Add slowacos probe.
18617 (__mpsin): Add slowsin probe.
18618 (__mpcos): Add slowcos probe.
18619
73c1ce4f
JM
186202013-11-19 Joseph Myers <joseph@codesourcery.com>
18621
18622 [BZ #15483]
18623 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18624 thread-local __sim_exceptions_thread and global
18625 __sim_exceptions_global.
18626 (__sim_disabled_exceptions): Change to thread-local
18627 __sim_disabled_exceptions_thread and global
18628 __sim_disabled_exceptions_global.
18629 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18630 and global __sim_round_mode_global.
18631 (__simulate_exceptions): Use thread-local floating-point state and
18632 set global state from it as needed.
18633 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18634 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18635 __sim_round_mode_thread.
18636 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18637 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18638 and global __sim_exceptions_global.
18639 (__sim_disabled_exceptions): Change to thread-local
18640 __sim_disabled_exceptions_thread and global
18641 __sim_disabled_exceptions_global.
18642 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18643 and global __sim_round_mode_global.
18644 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18645 (SIM_SET_GLOBAL): Likewise.
18646 * sysdeps/powerpc/soft-fp/sfp-machine.h
18647 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18648 __sim_round_mode_thread.
18649 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18650 __sim_disabled_exceptions_thread.
18651 (__sim_exceptions): Change to __sim_exceptions_thread.
18652 (__sim_disabled_exceptions): Change to
18653 __sim_disabled_exceptions_thread.
18654 (__sim_round_mode): Change to __sim_round_mode_thread.
18655 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18656 thread-local floating-point state and set global state from it as
18657 needed.
18658 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18659 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18660 (__sim_disabled_exceptions): Remove extern declaration.
18661 (feenableexcept): Use thread-local floating-point state and set
18662 global state from it as needed.
18663 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18664 extern declaration.
18665 (__sim_disabled_exceptions): Likewise.
18666 (__sim_round_mode): Likewise.
18667 (__fegetenv): Use thread-local floating-point state.
18668 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18669 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18670 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18671 floating-point state and set global state from it as needed.
18672 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18673 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18674 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18675 Likewise.
18676 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18677 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18678 Likewise.
18679 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18680 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18681 Use __sim_round_mode_thread.
18682 * math/test-fenv-tls.c: New file.
18683 * math/Makefile (tests): Add test-fenv-tls.
18684 ($(objpfx)test-fenv-tls): Depend on
18685 $(common-objpfx)nptl/libpthread.so.
18686
b5449b12
AS
186872013-11-19 Andreas Schwab <schwab@suse.de>
18688
18689 * locale/programs/locale.c (show_info): Decode wordarray elements.
18690 * locale/categories.def (LC_MONETARY): Add element for
18691 _NL_MONETARY_CRNCYSTR.
18692 * locale/C-monetary.c (conversion_rate): New variable.
18693 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18694 element.
18695
e186536b
CM
186962013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18697
18698 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18699 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18700
5c349950
PP
187012013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18702
18703 * elf/Makefile (tst-auxv): New test.
18704 * elf/tst-auxv.c: New
18705 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18706
699df45b
JM
187072013-11-18 Joseph Myers <joseph@codesourcery.com>
18708
18709 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18710 (hidden_proto): Caller changed.
18711 (hidden_tls_proto): New macro.
18712 (libc_hidden_tls_proto): Likewise.
18713 (rtld_hidden_tls_proto): Likewise.
18714 (libm_hidden_tls_proto): Likewise.
18715 (libresolv_hidden_tls_proto): Likewise.
18716 (librt_hidden_tls_proto): Likewise.
18717 (libdl_hidden_tls_proto): Likewise.
18718 (libnss_files_hidden_tls_proto): Likewise.
18719 (libnsl_hidden_tls_proto): Likewise.
18720 (libnss_nisplus_hidden_tls_proto): Likewise.
18721 (libutil_hidden_tls_proto): Likewise.
18722
b7589107
OB
187232013-11-18 Ondřej Bílka <neleai@seznam.cz>
18724
18725 [BZ #10253]
18726 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18727 (decompose_rpath): Defer expansion to fillin_rpath.
18728 (_dl_init_paths): Pass linkmap to fillin_rpath.
18729
250c23bd
RS
187302013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18731
18732 * benchtests/Makefile: Add strsep.
18733 * benchtests/bench-strsep.c: New file: strsep benchtest.
18734 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18735
a7931fcf
AS
187362013-11-18 Andreas Schwab <schwab@suse.de>
18737
18738 * locale/programs/locale.c (show_info) [case byte]: Check for
18739 '\377' instead of '\177'.
18740 * locale/C-monetary.c (not_available): Always use "\377".
18741 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18742 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18743 detect unavailable sign_posn locale elements.
18744 * locale/localeconv.c (__localeconv): For grouping and
18745 mon_grouping handle "\177" and "\377" like no grouping.
18746 (INT_ELEM): New macro. Use it to set all numeric members.
18747 * locale/programs/ld-monetary.c (monetary_read)
18748 <tok_mon_grouping>: Normalize single -1 to the empty string.
18749 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18750 Likewise.
18751
728dab0e
OB
187522013-11-07 Ondřej Bílka <neleai@seznam.cz>
18753
18754 [BZ #16055]
18755 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18756 when we match (nil).
18757 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18758
66294491
JM
187592013-11-16 Joseph Myers <joseph@codesourcery.com>
18760
ce665817
JM
18761 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18762 (NO_TEST_INLINE): Update value.
18763 (ERRNO_UNCHANGED): Likewise.
18764 (ERRNO_EDOM): Likewise.
18765 (ERRNO_ERANGE): Likewise.
18766 (IGNORE_RESULT): Likewise.
18767 (check_float_internal): Check signs of NaN results if
18768 TEST_NAN_SIGN used.
18769 (check_complex): Pass TEST_NAN_SIGN flag through to second
18770 check_float_internal call.
18771 (copysign_test_data): Add tests with quiet NaNs as second
18772 argument. Use TEST_NAN_SIGN.
18773 (fabs_test_data): Add test of negative quiet NaN argument. Use
18774 TEST_NAN_SIGN.
18775 (signbit_test_data): Add tests of quiet NaN argument.
18776 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18777
ee1466a9
JM
18778 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18779 $ignore_result.
18780 (parse_args): Handle function results specified as IGNORE.
18781 * math/libm-test.inc (IGNORE_RESULT): New macro.
18782 (check_float_internal): Do not check numerical result if flag
18783 IGNORE_RESULT set.
18784 (check_complex): Pass through IGNORE_RESULT to second
18785 check_float_internal call.
18786 (check_int): Do not check numerical result if flag IGNORE_RESULT
18787 set.
18788 (check_long): Likewise.
18789 (check_bool): Likewise.
18790 (check_longlong): Likewise.
18791 (lrint_test_data): Add tests of infinite and NaN arguments.
18792 (lrint_tonearest_test_data): Likewise.
18793 (lrint_towardzero_test_data): Likewise.
18794 (lrint_downward_test_data): Likewise.
18795 (lrint_upward_test_data): Likewise.
18796 (llrint_test_data): Likewise.
18797 (llrint_tonearest_test_data): Likewise.
18798 (llrint_towardzero_test_data): Likewise.
18799 (llrint_downward_test_data): Likewise.
18800 (llrint_upward_test_data): Likewise.
18801 (lround_test_data): Likewise.
18802 (llround_test_data): Likewise.
18803
14407b7e
JM
18804 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18805 (ERRNO_UNCHANGED): Update value.
18806 (ERRNO_EDOM): Likewise.
18807 (ERRNO_ERANGE): Likewise.
18808 (NO_TEST_INLINE_FLOAT): New macro.
18809 (NO_TEST_INLINE_DOUBLE): Likewise.
18810 (enable_test): New function.
18811 (RUN_TEST_f_f): Check enable_test before running test.
18812 (RUN_TEST_2_f): Likewise.
18813 (RUN_TEST_fff_f): Likewise.
18814 (RUN_TEST_c_f): Likewise.
18815 (RUN_TEST_f_f1): Likewise.
18816 (RUN_TEST_fF_f1): Likewise.
18817 (RUN_TEST_fI_f1): Likewise.
18818 (RUN_TEST_ffI_f1): Likewise.
18819 (RUN_TEST_c_c): Likewise.
18820 (RUN_TEST_cc_c): Likewise.
18821 (RUN_TEST_f_i): Likewise.
18822 (RUN_TEST_f_i_tg): Likewise.
18823 (RUN_TEST_ff_i_tg): Likewise.
18824 (RUN_TEST_f_b): Likewise.
18825 (RUN_TEST_f_b_tg): Likewise.
18826 (RUN_TEST_f_l): Likewise.
18827 (RUN_TEST_f_L): Likewise.
18828 (RUN_TEST_fFF_11): Likewise.
18829 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18830 conditionals.
18831 (cosh_test_data): Likewise.
18832 (exp_test_data): Likewise.
18833 (expm1_test_data): Likewise.
18834 (hypot_test_data): Likewise.
18835 (pow_test_data): Likewise.
18836 (sinh_test_data): Likewise.
18837 (tanh_test_data): Likewise.
18838 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18839 flags argument.
18840
ca07f197
JM
18841 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18842 tests with quiet NaN input and output.
18843 (acosh_test_data): Likewise.
18844 (asin_test_data): Likewise.
18845 (asinh_test_data): Likewise.
18846 (atan_test_data): Likewise.
18847 (atanh_test_data): Likewise.
18848 (atan2_test_data): Likewise.
18849 (cbrt_test_data): Likewise.
18850 (cos_test_data): Likewise.
18851 (cosh_test_data): Likewise.
18852 (erf_test_data): Likewise.
18853 (erfc_test_data): Likewise.
18854 (exp_test_data): Likewise.
18855 (exp10_test_data): Likewise.
18856 (exp2_test_data): Likewise.
18857 (expm1_test_data): Likewise.
18858 (hypot_test_data): Likewise.
18859 (j0_test_data): Likewise.
18860 (j1_test_data): Likewise.
18861 (jn_test_data): Likewise.
18862 (lgamma_test_data): Likewise.
18863 (log_test_data): Likewise.
18864 (log10_test_data): Likewise.
18865 (log1p_test_data): Likewise.
18866 (log2_test_data): Likewise.
18867 (pow_test_data): Likewise.
18868 (scalb_test_data): Likewise.
18869 (sin_test_data): Likewise.
18870 (sincos_test_data): Likewise.
18871 (sinh_test_data): Likewise.
18872 (tan_test_data): Likewise.
18873 (tanh_test_data): Likewise.
18874 (tgamma_test_data): Likewise.
18875 (y0_test_data): Likewise.
18876 (y1_test_data): Likewise.
18877 (yn_test_data): Likewise.
18878
66294491
JM
18879 [BZ #16167]
18880 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18881 argument being NaN and avoid computations with second argument in
18882 that case.
18883 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18884 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18885 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18886
1820b143
CL
188872013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18888
18889 * locale/iso-639.def: Add Chitwani Tharu (the).
18890
714bd261
AS
188912013-11-14 Andreas Schwab <schwab@suse.de>
18892
18893 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18894 word instead of empty string.
18895
7ab44563
AZ
188962013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18897
18898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18899 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18901 (__fe_nomask_env): Likewise.
18902
e8470ea2
SE
189032013-11-13 Steve Ellcey <sellcey@mips.com>
18904
18905 * benchtests/bench-timing.h: Include time.h.
18906
17c1d9f0
L
189072013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18908
18909 [BZ #15997]
18910 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18911 to 3.4.0 for x32.
18912 * sysdeps/unix/sysv/linux/configure: Regenerated.
18913
9310c284
JM
189142013-11-13 Joseph Myers <joseph@codesourcery.com>
18915
18916 [BZ #16151]
18917 * stdlib/strtod_l.c (round_and_return): Do not consider
18918 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18919 exponent one less than half the least subnormal exponent.
18920 * stdlib/test-strtod-round-data: Add more tests.
18921 * stdlib/tst-strtod-round.c (tests): Regenerated.
18922
7a2ad8cf
AZ
189232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18924
18925 [BZ #14143]
18926 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18927 (__fe_mask_env): Likewise.
18928 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18929 libm_hidden_proto and add function prototype.
18930 (__fe_mask_env): Add function prototype.
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18932 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18934 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18936 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18937
50727aa7
MS
189382013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18939
b2f386c1 18940 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18941 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18942
a615be46
MS
189432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18944
18945 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18946 of htab_find_slot().
18947
7ddace62
DM
189482013-11-11 David S. Miller <davem@davemloft.net>
18949
18950 [BZ #16150]
18951 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18952 symbol in the non-vis3 case in static builds.
18953 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18954 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18955 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18956 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18957
9182aa67
JK
189582013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18959
18960 [BZ #387]
18961 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18962 it is empty.
18963
450a2e2d
AZ
189642013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18965
b2f386c1
SP
18966 * benchtests/Makefile: Add bench-strtod.
18967 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18968
8ec3f656
AS
189692013-11-11 Andreas Schwab <schwab@suse.de>
18970
18971 [BZ #16153]
18972 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18973 terminating NUL in key length.
18974
76a9b998
AZ
189752013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18976
18977 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18978 Add artificial ODP entry for vDSO symbol for PPC64.
18979 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18980 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18981
e4368156
OB
189822013-11-07 Ondřej Bílka <neleai@seznam.cz>
18983
18984 [BZ #15374]
18985 * nss/getent.c (services_keys): Recognize services starting with digit.
18986
8d6bb57c
DM
189872013-11-06 David S. Miller <davem@davemloft.net>
18988
18989 [BZ #15985]
18990 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18991 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18992
e256c421
WN
189932013-11-06 Will Newton <will.newton@linaro.org>
18994
18995 * manual/memory.texi (Malloc Examples): Remove register
18996 keyword from examples.
18997
f6e12daa 189982013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 18999
f6e12daa 19000 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 19001
9d880655
AS
190022013-11-04 Joseph Myers <joseph@codesourcery.com>
19003
fd2f9486 19004 [BZ #6981]
9d880655
AS
19005 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19006 depending on [__GCC_IEC_559 > 0].
19007 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19008 depending on [__GCC_IEC_559_COMPLEX > 0].
19009
ae129d3c
CL
190102013-11-03 Chris Leonard <cjl@sugarlabs.org>
19011
19012 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19013 to iso-639.def.
19014
4a15c2a4 190152013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
19016
19017 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19018
8b35e35d
OB
190192013-11-01 Ondřej Bílka <neleai@seznam.cz>
19020
19021 [BZ #16112]
19022 * malloc/malloc (malloc_info): Do not handle first bin as
19023 special case.
19024
1d70fd6c
CL
190252013-11-01 Chris Leonard <cjl@sugarlabs.org>
19026
19027 * locale/iso-639.def: Add Central Nahuatl (nhn).
19028
8c5c2600
BH
190292013-11-01 Bruno Haible <bruno@clisp.org>
19030
19031 [BZ #7003]
19032 * manual/math.texi (BSD Random): Specify range upper bound as
19033 in POSIX.
19034
da5579c2
CL
190352013-10-31 Chris Leonard <cjl@sugarlabs.org>
19036
19037 * locale/iso-639.def: Add Meadow Mari (mhr).
19038
5d30d853
OB
190392013-10-31 Ondřej Bílka <neleai@seznam.cz>
19040
19041 [BZ #14752], [BZ #15763]
19042 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19043 Validate name.
19044 * rt/tst_shm.c: Add test for escaping directory.
19045
a4966c61
AS
190462013-10-31 Andreas Schwab <schwab@suse.de>
19047
8a43e768 19048 [BZ #15917]
a4966c61
AS
19049 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19050 followed by 'x' as part of digit sequence.
19051 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19052
28d708c4
MAP
190532013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19054
19055 [BZ #16037]
19056 * configure.ac: allow GNU Make 4.0 and greater.
19057 * configure: Regenerated.
19058
a56ee40b
WN
190592013-10-30 Will Newton <will.newton@linaro.org>
19060
19061 [BZ #16038]
19062 * malloc/hooks.c (memalign_check): Limit alignment to the
19063 maximum representable power of two.
19064 * malloc/malloc.c (__libc_memalign): Likewise.
19065 * malloc/tst-memalign.c (do_test): Add test for very
19066 large alignment values.
19067 * malloc/tst-posix_memalign.c (do_test): Likewise.
19068
c6e4925d
OB
190692013-10-30 Ondřej Bílka <neleai@seznam.cz>
19070
19071 [BZ #11087]
19072 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19073 (munmap_chunk): Likewise.
19074 (mremap_chunk): Likewise.
19075
190762013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 19077
8a43e768 19078 [BZ #15799]
bbea82f7
OB
19079 * stdlib/div.c (div): Remove obsolete code.
19080 * stdlib/ldiv.c (ldiv): Likewise.
19081 * stdlib/lldiv.c (lldiv): Likewise.
19082
977f4b31
SP
190832013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19084
19085 [BZ #16071]
19086 * nss/nss_files/files-XXX.c (get_contents_ret): New
19087 enumerator.
19088 (get_contents): New function.
19089 (internal_getent): Use it. Expand size of LINEBUFLEN.
19090
cb8a6dbd
MF
190912013-10-30 Mike Frysinger <vapier@gentoo.org>
19092
19093 * configure.in: Moved to ...
19094 * configure.ac: ... here. Change reference to configure.in
19095 to configure.ac.
19096 * sysdeps/arm/preconfigure.ac: ... here.
19097 configure.in to configure.ac.
19098 * sysdeps/gnu/configure.in: Moved to ...
19099 * sysdeps/gnu/configure.ac: ... here.
19100 * sysdeps/i386/configure.in: Moved to ...
19101 * sysdeps/i386/configure.ac: ... here.
19102 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19103 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19104 * sysdeps/mach/configure.in: Moved to ...
19105 * sysdeps/mach/configure.ac: ... here.
19106 * sysdeps/mach/hurd/configure.in: Moved to ...
19107 * sysdeps/mach/hurd/configure.ac: ... here.
19108 * sysdeps/powerpc/configure.in: Moved to ...
19109 * sysdeps/powerpc/configure.ac: ... here.
19110 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19111 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19112 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19113 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19114 * sysdeps/s390/s390-32/configure.in: Moved to ...
19115 * sysdeps/s390/s390-32/configure.ac: ... here.
19116 * sysdeps/s390/s390-64/configure.in: Moved to ...
19117 * sysdeps/s390/s390-64/configure.ac: ... here.
19118 * sysdeps/sh/configure.in: Moved to ...
19119 * sysdeps/sh/configure.ac: ... here.
19120 * sysdeps/sparc/configure.in: Moved to ...
19121 * sysdeps/sparc/configure.ac: ... here.
19122 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19123 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19124 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19125 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19126 * sysdeps/x86_64/configure.in: Moved to ...
19127 * sysdeps/x86_64/configure.ac: ... here.
19128 * sysdeps/x86_64/preconfigure.in: Moved to ...
19129 * sysdeps/x86_64/preconfigure.ac: ... here.
19130 * aclocal.m4: Change reference to configure.in to configure.ac.
19131 * config.h.in: Likewise.
19132 * manual/install.texi: Likewise.
19133 * manual/maint.texi: Likewise.
19134 * Makefile: Likewise.
19135 * malloc/Makefile: Likewise.
19136 * nscd/Makefile: Likewise.
19137 * Makeconfig: Change reference to configure.in and
19138 preconfigure.in to configure.ac and preconfigure.ac
19139 respectively.
19140 * INSTALL: Regenerated.
19141 * configure: Likewise.
19142 * sysdeps/gnu/configure: Likewise.
19143 * sysdeps/i386/configure: Likewise.
19144 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19145 * sysdeps/mach/configure: Likewise.
19146 * sysdeps/mach/hurd/configure: Likewise.
19147 * sysdeps/powerpc/configure: Likewise.
19148 * sysdeps/powerpc/powerpc32/configure: Likewise.
19149 * sysdeps/powerpc/powerpc64/configure: Likewise.
19150 * sysdeps/s390/s390-32/configure: Likewise.
19151 * sysdeps/s390/s390-64/configure: Likewise.
19152 * sysdeps/sh/configure: Likewise.
19153 * sysdeps/sparc/configure: Likewise.
19154 * sysdeps/unix/sysv/linux/configure: Likewise.
19155 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19156 * sysdeps/x86_64/configure: Likewise.
19157 * sysdeps/x86_64/preconfigure: Likewise.
19158
36a4953a
AS
191592013-10-29 Andreas Schwab <schwab@suse.de>
19160
19161 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19162
c79a1204
SP
191632013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19164
dfa1b402
SP
19165 * benchtests/pow-inputs: Add new inputs.
19166
54f73d9c
SP
19167 * benchtests/exp-inputs: Add new inputs.
19168
c79a1204
SP
19169 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19170 conditional check for return value.
19171 (__cos32): Likewise.
19172
67beb545 191732013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
19174
19175 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19176 to provide a boost for large inputs with word alignment.
19177 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19178 implementation based on optimized PPC64 strcpy.
19179 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19180 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19181 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19182 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19183
151659f6
OB
191842013-10-25 Ondřej Bílka <neleai@seznam.cz>
19185
482a077e 19186 [BZ #2801]
151659f6
OB
19187 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19188
10b0f26b
OB
191892013-10-25 Ondřej Bílka <neleai@seznam.cz>
19190
19191 [BZ #14876]
19192 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19193 * time/tst-strptime.c (day_tests): Add testcase.
19194
ca42d35e
OB
191952013-10-25 Ondřej Bílka <neleai@seznam.cz>
19196
482a077e 19197 [BZ #14029]
ca42d35e
OB
19198 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19199
52e6d801
FB
192002013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19201
19202 [BZ #16074]
19203 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19204 MAP_FAILED on error.
19205
7cbcdb36
SP
192062013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19207
19208 [BZ #16072]
19209 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19210 heap for large requests.
19211
894f3f10
AM
192122013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19213
19214 [BZ #9954]
19215 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19216 result if the result has no associated interface.
19217 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19218 interface for all 127.X.Y.Z addresses.
19219
b85545a6
CL
192202013-10-24 Chris Leonard <cjl@sugarlabs.org>
19221
19222 * locale/iso-639.def: Add Ligurian (lij)
19223
d1f23d46
OB
192242013-10-21 Ondřej Bílka <neleai@seznam.cz>
19225
19226 [BZ #15825]
19227 * sunrpc/rpc_main.c: Document rpcgen -5.
19228
4db5b08f
MS
192292013-10-19 Michael Stahl <mstahl@redhat.com>
19230
19231 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19232
a471e96a
OB
192332013-10-19 Ondřej Bílka <neleai@seznam.cz>
19234
d1f23d46 19235 [BZ #10278]
a471e96a
OB
19236 * posix/glob.c: Match only directories when trailing slash is present.
19237 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19238 (main): Add testcase.
19239
45c30c61
OB
192402013-10-19 Ondřej Bílka <neleai@seznam.cz>
19241
19242 [BZ #15670]
19243 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19244
484c12fb
CD
192452013-10-18 Carlos O'Donell <carlos@redhat.com>
19246
3d7dc513
CD
19247 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19248 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19249 AUTH_DES and cindex for FIPS 140-2.
19250 (DES Encryption): Add cindex FIPS 46-3.
19251
484c12fb
CD
19252 * locale/locarchive.h (struct locarhandle): Add fname.
19253 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19254 if an optional argument was specified to --list-archive,
19255 otherwise NULL.
19256 * locale/programs/locarchive.c (show_archive_content): Take new
19257 argument fname and pass it via ah.fname to open_archive.
19258 * locale/programs/localedef.h: Update decl.
19259 (open_archive): If AH->fname is non-null, open that file
19260 rather than the default file name, and don't ignore ENOENT.
19261 (create_archive): Set AH.fname to NULL.
19262 (delete_locales_from_archive): Likewise.
19263 (add_locales_to_archive): Likewise.
19264 * locale/programs/locfile.c (write_all_categories): Likewise.
19265
3c8325fb
JM
192662013-10-18 Joseph Myers <joseph@codesourcery.com>
19267 Aldy Hernandez <aldyh@redhat.com>
19268
19269 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19270 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19271 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19272 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19273 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19274 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19275 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19276 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19277 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19278 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19279 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19280 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19281 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19282 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19283 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19284 Likewise.
19285 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19286 Likewise.
19287 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19288 Likewise.
19289 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19290 Likewise.
19291 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19292 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19293 Likewise.
19294 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19295 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19296 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19297 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19298 Likewise.
19299 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19300 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19301 * sysdeps/powerpc/preconfigure: Likewise.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19303 Likewise.
19304 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19305 Replace contents of file by #include of <fenv_libc.h>.
19306 * sysdeps/powerpc/soft-fp/sfp-machine.h
19307 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19308 and <sys/prctl.h>.
19309 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19310 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19311 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19312 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19322 Allow copysignl PLT reference to be missing.
19323
5abe0682
RS
193242013-10-18 Richard Sandiford <richard@codesourcery.com>
19325 Joseph Myers <joseph@codesourcery.com
19326
19327 [BZ #15948]
19328 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19329 single character.
19330 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19331
c7738d08
SP
193322013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19333
19334 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19335 * elf/tst-tls1.c: Likewise.
19336 * elf/tst-tls10.h: Likewise.
19337 * elf/tst-tls14.c: Likewise.
19338 * elf/tst-tls2.c: Likewise.
19339 * elf/tst-tls3.c: Likewise.
19340 * elf/tst-tls4.c: Likewise.
19341 * elf/tst-tls5.c: Likewise.
19342 * elf/tst-tls6.c: Likewise.
19343 * elf/tst-tls7.c: Likewise.
19344 * elf/tst-tls8.c: Likewise.
19345 * elf/tst-tls9.c: Likewise.
19346 * elf/tst-tlsmod1.c: Likewise.
19347 * elf/tst-tlsmod13.c: Likewise.
19348 * elf/tst-tlsmod13a.c: Likewise.
19349 * elf/tst-tlsmod14a.c: Likewise.
19350 * elf/tst-tlsmod16a.c: Likewise.
19351 * elf/tst-tlsmod16b.c: Likewise.
19352 * elf/tst-tlsmod2.c: Likewise.
19353 * elf/tst-tlsmod3.c: Likewise.
19354 * elf/tst-tlsmod4.c: Likewise.
19355 * elf/tst-tlsmod5.c: Likewise.
19356 * elf/tst-tlsmod6.c: Likewise.
19357
0bfcf2c7
OB
193582013-10-18 Ondřej Bílka <neleai@seznam.cz>
19359
19360 [BZ #12486]
19361 * malloc/malloc.c: remove checks for statistics.
19362
264aad1e
OB
193632013-10-17 Ondřej Bílka <neleai@seznam.cz>
19364
19365 [BZ #15277]
19366 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19367 * inet/tst-network.c: Add testcase.
19368
b957ced8
AS
193692013-10-17 Andreas Schwab <schwab@suse.de>
19370
19371 [BZ #15218]
19372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19373 to determine canonical name.
19374
c5d5d574
OB
193752013-10-17 Ondřej Bílka <neleai@seznam.cz>
19376
19377 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19378 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19401 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19402 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19407 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19435
e5c2c2d0
JM
194362013-10-17 Joseph Myers <joseph@codesourcery.com>
19437
19438 [BZ #16041]
19439 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19440 make result into a quiet NaN.
19441
51ca9e29
JM
194422013-10-16 Joseph Myers <joseph@codesourcery.com>
19443
19444 * soft-fp/adddf3.c: Fix horizontal whitespace.
19445 * soft-fp/addsf3.c: Likewise.
19446 * soft-fp/addtf3.c: Likewise.
19447 * soft-fp/divdf3.c: Likewise.
19448 * soft-fp/divsf3.c: Likewise.
19449 * soft-fp/divtf3.c: Likewise.
19450 * soft-fp/double.h: Likewise.
19451 * soft-fp/eqdf2.c: Likewise.
19452 * soft-fp/eqsf2.c: Likewise.
19453 * soft-fp/eqtf2.c: Likewise.
19454 * soft-fp/extenddftf2.c: Likewise.
19455 * soft-fp/extended.h: Likewise.
19456 * soft-fp/extendsfdf2.c: Likewise.
19457 * soft-fp/extendsftf2.c: Likewise.
19458 * soft-fp/extendxftf2.c: Likewise.
19459 * soft-fp/fixdfdi.c: Likewise.
19460 * soft-fp/fixdfsi.c: Likewise.
19461 * soft-fp/fixdfti.c: Likewise.
19462 * soft-fp/fixsfdi.c: Likewise.
19463 * soft-fp/fixsfsi.c: Likewise.
19464 * soft-fp/fixsfti.c: Likewise.
19465 * soft-fp/fixtfdi.c: Likewise.
19466 * soft-fp/fixtfsi.c: Likewise.
19467 * soft-fp/fixtfti.c: Likewise.
19468 * soft-fp/fixunsdfdi.c: Likewise.
19469 * soft-fp/fixunsdfsi.c: Likewise.
19470 * soft-fp/fixunsdfti.c: Likewise.
19471 * soft-fp/fixunssfdi.c: Likewise.
19472 * soft-fp/fixunssfsi.c: Likewise.
19473 * soft-fp/fixunssfti.c: Likewise.
19474 * soft-fp/fixunstfdi.c: Likewise.
19475 * soft-fp/fixunstfsi.c: Likewise.
19476 * soft-fp/fixunstfti.c: Likewise.
19477 * soft-fp/floatdidf.c: Likewise.
19478 * soft-fp/floatdisf.c: Likewise.
19479 * soft-fp/floatditf.c: Likewise.
19480 * soft-fp/floatsidf.c: Likewise.
19481 * soft-fp/floatsisf.c: Likewise.
19482 * soft-fp/floatsitf.c: Likewise.
19483 * soft-fp/floattidf.c: Likewise.
19484 * soft-fp/floattisf.c: Likewise.
19485 * soft-fp/floattitf.c: Likewise.
19486 * soft-fp/floatundidf.c: Likewise.
19487 * soft-fp/floatundisf.c: Likewise.
19488 * soft-fp/floatunditf.c: Likewise.
19489 * soft-fp/floatunsidf.c: Likewise.
19490 * soft-fp/floatunsisf.c: Likewise.
19491 * soft-fp/floatunsitf.c: Likewise.
19492 * soft-fp/floatuntidf.c: Likewise.
19493 * soft-fp/floatuntisf.c: Likewise.
19494 * soft-fp/floatuntitf.c: Likewise.
19495 * soft-fp/fmadf4.c: Likewise.
19496 * soft-fp/fmasf4.c: Likewise.
19497 * soft-fp/fmatf4.c: Likewise.
19498 * soft-fp/gedf2.c: Likewise.
19499 * soft-fp/gesf2.c: Likewise.
19500 * soft-fp/getf2.c: Likewise.
19501 * soft-fp/ledf2.c: Likewise.
19502 * soft-fp/lesf2.c: Likewise.
19503 * soft-fp/letf2.c: Likewise.
19504 * soft-fp/muldf3.c: Likewise.
19505 * soft-fp/mulsf3.c: Likewise.
19506 * soft-fp/multf3.c: Likewise.
19507 * soft-fp/negdf2.c: Likewise.
19508 * soft-fp/negsf2.c: Likewise.
19509 * soft-fp/negtf2.c: Likewise.
19510 * soft-fp/op-1.h: Likewise.
19511 * soft-fp/op-2.h: Likewise.
19512 * soft-fp/op-4.h: Likewise.
19513 * soft-fp/op-8.h: Likewise.
19514 * soft-fp/op-common.h: Likewise.
19515 * soft-fp/quad.h: Likewise.
19516 * soft-fp/single.h: Likewise.
19517 * soft-fp/soft-fp.h: Likewise.
19518 * soft-fp/sqrtdf2.c: Likewise.
19519 * soft-fp/sqrtsf2.c: Likewise.
19520 * soft-fp/sqrttf2.c: Likewise.
19521 * soft-fp/subdf3.c: Likewise.
19522 * soft-fp/subsf3.c: Likewise.
19523 * soft-fp/subtf3.c: Likewise.
19524 * soft-fp/truncdfsf2.c: Likewise.
19525 * soft-fp/trunctfdf2.c: Likewise.
19526 * soft-fp/trunctfsf2.c: Likewise.
19527 * soft-fp/trunctfxf2.c: Likewise.
19528 * soft-fp/unorddf2.c: Likewise.
19529 * soft-fp/unordsf2.c: Likewise.
19530 * soft-fp/unordtf2.c: Likewise.
19531
9ebb0332
JM
195322013-10-15 Joseph Myers <joseph@codesourcery.com>
19533
19534 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19535 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19536
4b1a6d8b
OB
195372013-10-15 Ondřej Bílka <neleai@seznam.cz>
19538
19539 * elf/dl-libc.c: Clear initfini list after freeing.
19540
1e145589
JM
195412013-10-14 Joseph Myers <joseph@codesourcery.com>
19542
19543 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19544 * soft-fp/addsf3.c: Likewise.
19545 * soft-fp/addtf3.c: Likewise.
19546 * soft-fp/divdf3.c: Likewise.
19547 * soft-fp/divsf3.c: Likewise.
19548 * soft-fp/divtf3.c: Likewise.
19549 * soft-fp/double.h: Likewise.
19550 * soft-fp/eqdf2.c: Likewise.
19551 * soft-fp/eqsf2.c: Likewise.
19552 * soft-fp/eqtf2.c: Likewise.
19553 * soft-fp/extenddftf2.c: Likewise.
19554 * soft-fp/extended.h: Likewise.
19555 * soft-fp/extendsfdf2.c: Likewise.
19556 * soft-fp/extendsftf2.c: Likewise.
19557 * soft-fp/extendxftf2.c: Likewise.
19558 * soft-fp/fixdfdi.c: Likewise.
19559 * soft-fp/fixdfsi.c: Likewise.
19560 * soft-fp/fixdfti.c: Likewise.
19561 * soft-fp/fixsfdi.c: Likewise.
19562 * soft-fp/fixsfsi.c: Likewise.
19563 * soft-fp/fixsfti.c: Likewise.
19564 * soft-fp/fixtfdi.c: Likewise.
19565 * soft-fp/fixtfsi.c: Likewise.
19566 * soft-fp/fixtfti.c: Likewise.
19567 * soft-fp/fixunsdfdi.c: Likewise.
19568 * soft-fp/fixunsdfsi.c: Likewise.
19569 * soft-fp/fixunsdfti.c: Likewise.
19570 * soft-fp/fixunssfdi.c: Likewise.
19571 * soft-fp/fixunssfsi.c: Likewise.
19572 * soft-fp/fixunssfti.c: Likewise.
19573 * soft-fp/fixunstfdi.c: Likewise.
19574 * soft-fp/fixunstfsi.c: Likewise.
19575 * soft-fp/fixunstfti.c: Likewise.
19576 * soft-fp/floatdidf.c: Likewise.
19577 * soft-fp/floatdisf.c: Likewise.
19578 * soft-fp/floatditf.c: Likewise.
19579 * soft-fp/floatsidf.c: Likewise.
19580 * soft-fp/floatsisf.c: Likewise.
19581 * soft-fp/floatsitf.c: Likewise.
19582 * soft-fp/floattidf.c: Likewise.
19583 * soft-fp/floattisf.c: Likewise.
19584 * soft-fp/floattitf.c: Likewise.
19585 * soft-fp/floatundidf.c: Likewise.
19586 * soft-fp/floatundisf.c: Likewise.
19587 * soft-fp/floatunsidf.c: Likewise.
19588 * soft-fp/floatunsisf.c: Likewise.
19589 * soft-fp/floatuntidf.c: Likewise.
19590 * soft-fp/floatuntisf.c: Likewise.
19591 * soft-fp/floatuntitf.c: Likewise.
19592 * soft-fp/fmadf4.c: Likewise.
19593 * soft-fp/fmasf4.c: Likewise.
19594 * soft-fp/fmatf4.c: Likewise.
19595 * soft-fp/gedf2.c: Likewise.
19596 * soft-fp/gesf2.c: Likewise.
19597 * soft-fp/getf2.c: Likewise.
19598 * soft-fp/ledf2.c: Likewise.
19599 * soft-fp/lesf2.c: Likewise.
19600 * soft-fp/letf2.c: Likewise.
19601 * soft-fp/muldf3.c: Likewise.
19602 * soft-fp/mulsf3.c: Likewise.
19603 * soft-fp/multf3.c: Likewise.
19604 * soft-fp/negdf2.c: Likewise.
19605 * soft-fp/negsf2.c: Likewise.
19606 * soft-fp/negtf2.c: Likewise.
19607 * soft-fp/op-1.h: Likewise.
19608 * soft-fp/op-2.h: Likewise.
19609 * soft-fp/op-4.h: Likewise.
19610 * soft-fp/op-8.h: Likewise.
19611 * soft-fp/op-common.h: Likewise.
19612 * soft-fp/quad.h: Likewise.
19613 * soft-fp/single.h: Likewise.
19614 * soft-fp/soft-fp.h: Likewise.
19615 * soft-fp/sqrtdf2.c: Likewise.
19616 * soft-fp/sqrtsf2.c: Likewise.
19617 * soft-fp/sqrttf2.c: Likewise.
19618 * soft-fp/subdf3.c: Likewise.
19619 * soft-fp/subsf3.c: Likewise.
19620 * soft-fp/subtf3.c: Likewise.
19621 * soft-fp/truncdfsf2.c: Likewise.
19622 * soft-fp/trunctfdf2.c: Likewise.
19623 * soft-fp/trunctfsf2.c: Likewise.
19624 * soft-fp/trunctfxf2.c: Likewise.
19625 * soft-fp/unorddf2.c: Likewise.
19626 * soft-fp/unordsf2.c: Likewise.
19627 * soft-fp/unordtf2.c: Likewise.
19628
17c48a60
OB
196292013-10-14 Ondřej Bílka <neleai@seznam.cz>
19630
19631 [BZ #15672]
19632 * misc/error.c (error_tail): Fix possible buffer overflow.
19633
cabba934
OB
196342013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19635
19636 [BZ #13028]
19637 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19638 address.
19639
94bf958a
PM
196402013-10-14 P. J. McDermott <pj@pehjota.net>
19641
19642 [BZ #832]
19643 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19644 testing pipefail option.
19645
71b4dea7
JM
196462013-10-12 Joseph Myers <joseph@codesourcery.com>
19647
19648 * soft-fp/double.h: Indent preprocessor directives inside #if.
19649 * soft-fp/extended.h: Likewise.
19650 * soft-fp/op-2.h: Likewise.
19651 * soft-fp/op-4.h: Likewise.
19652 * soft-fp/op-common.h: Likewise.
19653 * soft-fp/quad.h: Likewise.
19654 * soft-fp/single.h: Likewise.
19655 * soft-fp/soft-fp.h: Likewise.
19656
55602758
YC
196572013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19658
19659 * iconv/iconv_prog.c: Fix typos.
19660 * stdio-common/psiginfo-data.h: Likewise.
19661
9cd83302
RT
196622013-10-12 Reuben Thomas <rrt@sc3d.org>
19663
19664 [BZ #15764]
19665 * locale/setlocale.c: Fix typo.
19666
99fd9f47
JM
196672013-10-12 Joseph Myers <joseph@codesourcery.com>
19668
b7ea74f0
JM
19669 [BZ #16036]
19670 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19671 signaling NaN arguments.
19672 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19673 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19674
8a509447
JM
19675 [BZ #14910]
19676 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19677 unordered operands.
19678 * soft-fp/gesf2.c (__gesf2): Likewise.
19679 * soft-fp/getf2.c (__getf2): Likewise.
19680 * soft-fp/ledf2.c (__ledf2): Likewise.
19681 * soft-fp/lesf2.c (__lesf2): Likewise.
19682 * soft-fp/letf2.c (__letf2): Likewise.
19683
98998e9f
JM
19684 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19685 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19686 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19687 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19688 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19689 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19690 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19691 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19692 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19693 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19694 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19695 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19696 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19697 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19698 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19699 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19700 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19701 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19702 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19703 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19704 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19705 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19706 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19707 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19708 * soft-fp/floattidf.c (__floattidf): Likewise.
19709 * soft-fp/floattisf.c (__floattisf): Likewise.
19710 * soft-fp/floattitf.c (__floattitf): Likewise.
19711 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19712 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19713 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19714 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19715 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19716 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19717 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19718 * soft-fp/gesf2.c (__gesf2): Likewise.
19719 * soft-fp/getf2.c (__getf2): Likewise.
19720 * soft-fp/ledf2.c (__ledf2): Likewise.
19721 * soft-fp/lesf2.c (__lesf2): Likewise.
19722 * soft-fp/letf2.c (__letf2): Likewise.
19723
8edc4a11
JM
19724 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19725 Undefine and redefine.
19726 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19727 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19728 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19729 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19730 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19731 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19732 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19733 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19734 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19735 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19736 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19737 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19738 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19739 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19740 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19741
8399acaf
JM
19742 [BZ #16032]
19743 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19744 without decrementing exponent if mantissa >= that for the
19745 denominator, not >.
19746 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19747 denominator, not >. Decrement exponent in < case instead of
19748 incrementing in >= case.
19749 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19750 without decrementing exponent if mantissa >= that for the
19751 denominator, not >.
19752
99fd9f47
JM
19753 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19754 computing saturated result for unsigned overflow.
19755
10e1cf6b
SP
197562013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19757 Jeff Law <law@redhat.com>
19758
19759 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19760 (atan2Mp): Add systemtap probe marker.
19761 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19762 (__ieee754_log): Add systemtap probe marker.
19763 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19764 (atanMp): Add systemtap probe marker.
19765 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19766 (tanMp): Add systemtap probe marker.
19767 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19768 (__slowexp): Add systemtap probe marker.
19769 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19770 (__slowpow): Add systemtap probe marker.
19771 * manual/probes.texi: Document probes.
19772
3d110c7c
EB
197732013-10-11 Eric Biggers <ebiggers3@gmail.com>
19774
19775 [BZ #15362]
19776 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19777 written.
19778 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19779 written.
19780 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19781 written to buffer but not flushed.
19782 * libio/iofwrite_u.c: Likewise.
19783 * libio/iopadn.c: Return bytes returned even if EOF was
19784 encountered.
19785 * libio/iowpadn.c: Likewise.
19786 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19787 if _IO_padn does not write the whole buffer.
19788 [!COMPILE_WPRINTF] (PAD): Likewise.
19789
75b4202a
DM
197902013-10-10 David S. Miller <davem@davemloft.net>
19791
19792 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19793 directory block.
19794
6c6352e6
JM
197952013-10-10 Joseph Myers <joseph@codesourcery.com>
19796
33b853c3
JM
19797 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19798 instead of FSF address.
19799 * soft-fp/fixdfti.c: Likewise.
19800 * soft-fp/fixsfti.c: Likewise.
19801 * soft-fp/fixtfti.c: Likewise.
19802 * soft-fp/fixunsdfti.c: Likewise.
19803 * soft-fp/fixunssfti.c: Likewise.
19804 * soft-fp/fixunstfti.c: Likewise.
19805 * soft-fp/floattidf.c: Likewise.
19806 * soft-fp/floattisf.c: Likewise.
19807 * soft-fp/floattitf.c: Likewise.
19808 * soft-fp/floatuntidf.c: Likewise.
19809 * soft-fp/floatuntisf.c: Likewise.
19810 * soft-fp/floatuntitf.c: Likewise.
19811 * soft-fp/trunctfxf2.c: Likewise.
19812
6c6352e6
JM
19813 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19814 * soft-fp/fixdfti.c: Likewise.
19815 * soft-fp/fixsfti.c: Likewise.
19816 * soft-fp/fixtfti.c: Likewise.
19817 * soft-fp/fixunsdfti.c: Likewise.
19818 * soft-fp/fixunssfti.c: Likewise.
19819 * soft-fp/fixunstfti.c: Likewise.
19820 * soft-fp/floattidf.c: Likewise.
19821 * soft-fp/floattisf.c: Likewise.
19822 * soft-fp/floattitf.c: Likewise.
19823 * soft-fp/floatuntidf.c: Likewise.
19824 * soft-fp/floatuntisf.c: Likewise.
19825 * soft-fp/floatuntitf.c: Likewise.
19826 * soft-fp/trunctfxf2.c: Likewise.
19827
3bf78b71
DM
198282013-10-10 David S. Miller <davem@davemloft.net>
19829
19830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19831
6f10289e
JM
198322013-10-10 Joseph Myers <joseph@codsourcery.com>
19833
bd878fc0
JM
19834 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19835 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19836 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19837 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19838 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19839 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19840 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19841
6f10289e
JM
19842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19843 for NaNs before doing comparisons on argument.
19844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19845 Likewise.
19846
321e2684
WN
198472013-10-10 Will Newton <will.newton@linaro.org>
19848
19849 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19850 passed to _int_memalign does not overflow.
19851
40fefba1
TR
198522013-10-10 Torvald Riegel <triegel@redhat.com>
19853
19854 * scripts/bench.pl: Add include-sources directive.
19855 * benchtests/README: Update documentation.
19856
2ae21ed2
JM
198572013-10-10 Joseph Myers <joseph@codesourcery.com>
19858
dcc2dd3f
JM
19859 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19860 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19861 instead of FP_INIT_ROUNDMODE.
19862 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19863 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19864
2ae21ed2
JM
19865 [BZ #16034]
19866 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19867 copy class of input value.
19868 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19869 not handle exceptions.
19870 * soft-fp/negsf2.c (__negsf2): Likewise.
19871 * soft-fp/negtf2.c (__negtf2): Likewise.
19872 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19873
cb8f9562
JM
198742013-10-09 Joseph Myers <joseph@codesourcery.com>
19875
19876 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19877 semicolon. From Linux kernel.
19878
5b60c59d
AB
198792013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19880
19881 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19882
b86835ca
YC
198832013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19884
19885 [BZ #156]
19886 * manual/socket.texi: Added statement about buffer
19887 for gethostbyname2_r.
19888
e7044ea7
OB
198892013-10-08 Ondřej Bílka <neleai@seznam.cz>
19890
19891 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19892 Use .p2align directive instead, throughout.
19893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19894 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19895 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19898 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19899 * sysdeps/x86_64/strchr.S: Likewise.
19900 * sysdeps/x86_64/strrchr.S: Likewise.
19901
09544cbc
SP
199022013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19903
88576635
SP
19904 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19905
e7b2d1dd
SP
19906 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19907
09544cbc
SP
19908 * sysdeps/generic/math_private.h (__mpsin1): Remove
19909 declaration.
19910 (__mpcos1): Likewise.
19911 (__mpsin): New argument __range_reduce.
19912 (__mpcos): Likewise.
19913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19914 (slow): Use __mpsin and __mpcos.
19915 (slow1): Likewise.
19916 (slow2): Likewise.
19917 (sloww): Likewise.
19918 (sloww1): Likewise.
19919 (sloww2): Likewise.
19920 (bsloww): Likewise.
19921 (bsloww1): Likewise.
19922 (bsloww2): Likewise.
19923 (cslow2): Likewise.
19924 (csloww): Likewise.
19925 (csloww1): Likewise.
19926 (csloww2): Likewise.
19927 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19928 range_reduce. Merge in __mpsin1.
19929 (__mpcos): Likewise.
19930 (__mpsin1): Remove.
19931 (__mpcos1): Likewise.
19932
7602d070
JM
199332013-10-07 Joseph Myers <joseph@codesourcery.com>
19934
19935 * locale/loadlocale.c (_nl_intern_locale_data): Use
19936 LOCFILE_ALIGNED_P.
19937 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19938 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19939 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19940 obstack data is appropriately aligned.
19941 (obstack_int32_grow_fast): Likewise.
19942 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19943 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19944 (add_locale_uint32_array): Likewise.
19945
a357259b
SP
199462013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19947
19948 * benchtests/Makefile: Remove ARGLIST and RET variables.
19949 ($(objpfx)bench-%.c): Pass only function name to the script.
19950 * benchtests/README: Update documentation.
19951 * benchtests/acos-inputs: Add new directives.
19952 * benchtests/acosh-inputs: Likewise.
19953 * benchtests/asin-inputs: Likewise.
19954 * benchtests/asinh-inputs: Likewise.
19955 * benchtests/atan-inputs: Likewise.
19956 * benchtests/atanh-inputs: Likewise.
19957 * benchtests/cos-inputs: Likewise.
19958 * benchtests/cosh-inputs: Likewise.
19959 * benchtests/exp-inputs: Likewise.
19960 * benchtests/log-inputs: Likewise.
19961 * benchtests/pow-inputs: Likewise.
19962 * benchtests/rint-inputs: Likewise.
19963 * benchtests/sin-inputs: Likewise.
19964 * benchtests/sinh-inputs: Likewise.
19965 * benchtests/tan-inputs: Likewise.
19966 * benchtests/tanh-inputs: Likewise.
19967 * scripts/bench.pl: Add support for new directives.
19968
9ec1b13d
AM
199692013-10-07 Alan Modra <amodra@gmail.com>
19970
19971 * README: Fix careless merge.
19972
8b7d57cd
AM
199732013-10-05 Alan Modra <amodra@gmail.com>
19974
19975 * NEWS: Mention powerpc64le support and bugs fixed.
19976 * README: Both big-endian and little-endian powerpc64 supported.
19977
7b7bab13
ST
199782013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19979
57f41c40
AS
19980 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19981 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
19982 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19983 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19984
d39baad1
RA
199852013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19986
19987 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19988 match prototype.
19989
cd78f7e7
JM
199902013-10-04 Joseph Myers <joseph@codesourcery.com>
19991
29d73d86
JM
19992 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19993 Move -mhard-float appending from
19994 ports/sysdeps/powerpc/powerpc32/Makefile.
19995 [$(with-fp) = yes] (ASFLAGS): Likewise.
19996 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19997 * sysdeps/powerpc/nofpu: Move directory from
19998 ports/sysdeps/powerpc/nofpu.
19999 * sysdeps/powerpc/soft-fp: Move directory from
20000 ports/sysdeps/powerpc/soft-fp.
20001 * sysdeps/powerpc/powerpc32/405: Move directory from
20002 ports/sysdeps/powerpc/powerpc32/405.
20003 * sysdeps/powerpc/powerpc32/440: Move directory from
20004 ports/sysdeps/powerpc/powerpc32/440.
20005 * sysdeps/powerpc/powerpc32/464: Move directory from
20006 ports/sysdeps/powerpc/powerpc32/464.
20007 * sysdeps/powerpc/powerpc32/476: Move directory from
20008 ports/sysdeps/powerpc/powerpc32/476.
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20010 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20012 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20014 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20016 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20018 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20019 * README: Update for powerpc-*-linux-gnu software floating point
20020 support in libc.
20021
e246b347
JM
20022 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20023 case to powerpc/powerpc32*.
20024 * sysdeps/unix/sysv/linux/configure: Regenerated.
20025
89c2003e
JM
20026 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20027 (_FPU_MASK_OM): Define as 0x04.
20028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20030 0x00c10080.
20031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20032 0x0000003c.
20033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20034
cd78f7e7
JM
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20036 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20037 getcontext_e500.
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20039 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20040 setcontext_e500.
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20042 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20043 and setcontext_e500.
20044
c755294d
CL
200452013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20046
20047 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20048
e16d221c
SP
200492013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20050
20051 * manual/threads.texi (Default Thread Attributes): Fix typo.
20052
215c7d43
WN
200532013-10-04 Will Newton <will.newton@linaro.org>
20054
20055 * malloc/Makefile: Add tst-memalign.
20056 * malloc/tst-memalign.c: New file.
20057
27d0461b
WN
20058 * malloc/tst-posix_memalign.c: Add comments.
20059 (do_test): Add comments and call free on all potentially
20060 allocated pointers. Add space after cast.
20061
1bc92709
WN
20062 * malloc/tst-pvalloc.c: Add comments.
20063 (do_test): Add comments and call free on all potentially
20064 allocated pointers. Remove duplicate check for NULL pointer.
20065 Add space after cast.
20066
66a9be9d
WN
20067 * malloc/tst-valloc.c: Add comments.
20068 (do_test): Add comments and call free on all potentially
20069 allocated pointers. Remove duplicate check for NULL pointer.
20070 Add space after cast.
20071
4cb81307
AM
200722013-10-04 Alan Modra <amodra@gmail.com>
20073
20074 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20075 Use stdint types in rather than __attribute__((mode())).
20076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20077
f8e3e9f3
AM
200782013-10-04 Alan Modra <amodra@gmail.com>
20079
20080 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20081 Correct handling of unaligned relocs for little-endian.
20082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20083
8f9ebb08
AM
200842013-10-04 Alan Modra <amodra@gmail.com>
20085
20086 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20087 * configure: Regenerate.
20088 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20089 * shlib-versions: Likewise.
20090
0edf96c2
AM
200912013-10-04 Alan Modra <amodra@gmail.com>
20092
20093 * string/tester.c (test_memrchr): Increment reported test cycle.
20094
e0f7a380
AM
200952013-10-04 Alan Modra <amodra@gmail.com>
20096
20097 * string/test-memcpy.c (do_one_test): When reporting errors, print
20098 string address and don't overrun end of string.
20099
466b0393
AM
201002013-10-04 Alan Modra <amodra@gmail.com>
20101
20102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20103 insrdi. Make better use of reg selection to speed exit slightly.
20104 Schedule entry path a little better. Remove useless "are we done"
20105 checks on entry to main loop. Handle wrapping around zero address.
20106 Correct main loop count. Handle single left-over word from main
20107 loop inline rather than by using loop_small. Remove extra word
20108 case in loop_small caused by wrong loop count. Add little-endian
20109 support.
20110 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20112 cache hint.
20113 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20114 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20115 support. Avoid rlwimi.
20116 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20117
3be87c77
AM
201182013-10-04 Alan Modra <amodra@gmail.com>
20119
20120 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 20121 insrdi. Formatting.
3be87c77
AM
20122 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20123 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20124 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20125 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20126 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20127 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20128
759cfef3
AM
201292013-10-04 Alan Modra <amodra@gmail.com>
20130
20131 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20132 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20133 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20134 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20135 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20136 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20138 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20139 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20140 use of regs. Use power7 mtocrf. Tidy function tails.
20141
fe6e95d7
AM
201422013-10-04 Alan Modra <amodra@gmail.com>
20143
20144 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20145 Formatting. Consistently use rXXX register defines or rN defines.
20146 Use early exit labels that avoid restoring unused non-volatile regs.
20147 Make cr field use more consistent with rWORDn compares. Rename
20148 regs used as shift registers for unaligned loop, using rN defines
20149 for short lifetime/multiple use regs.
20150 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20151 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20152 addi 1,1,64 to pop stack frame. Simplify return value code.
20153 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20154
664318c3
AM
201552013-10-04 Alan Modra <amodra@gmail.com>
20156
20157 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20158 support. Correct typos, formatting. Optimize tail. Use insrdi
20159 rather than rlwimi.
20160 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20161 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20162 little-endian support. Correct typos.
20163 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20164 rather than rlwimi.
20165 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20166 in loop and entry code to keep "and." results.
20167 (strchr): Add little-endian support. Comment. Move cntlzd
20168 earlier in tail.
20169 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20170
43b84013
AM
201712013-10-04 Alan Modra <amodra@gmail.com>
20172
20173 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20174 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20175 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20176 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20177
8a7413f9
AM
201782013-10-04 Alan Modra <amodra@gmail.com>
20179
20180 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20181 (rTMP): Define as r11.
20182 (strcmp): Add little-endian support. Optimise tail.
20183 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20184 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20185 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20186 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20187 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20188 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20189 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20190
33ee81de
AM
201912013-10-04 Alan Modra <amodra@gmail.com>
20192
20193 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20194 little-endian support. Remove unnecessary "are we done" tests.
20195 Handle "s" wrapping around zero and extremely large "size".
20196 Correct main loop count. Handle single left-over word from main
20197 loop inline rather than by using small_loop. Correct comments.
20198 Delete "zero" tail, use "end_max" instead.
20199 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20200
db9b4570
AM
202012013-10-04 Alan Modra <amodra@gmail.com>
20202
20203 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20204 support. Don't branch over align.
20205 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20206 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20207 support. Rearrange tmp reg use to suit. Comment.
20208 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20209
f7c399cf
AM
202102013-10-04 Alan Modra <amodra@gmail.com>
20211
20212 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20213
0b2c2ace
AM
202142013-10-04 Alan Modra <amodra@gmail.com>
20215
20216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20217 conditional form of branch and link when obtaining pc.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20219
02f04a6c
AM
202202013-10-04 Alan Modra <amodra@gmail.com>
20221
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20223 HIWORD/LOWORD.
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20226
9b874b2f
AM
202272013-10-04 Alan Modra <amodra@gmail.com>
20228
20229 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20230 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20231 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20232 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20233 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20234 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20235 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20236 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20237 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20238 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20239
be1e5d31
AB
202402013-10-04 Anton Blanchard <anton@au1.ibm.com>
20241 Alistair Popple <alistair@ozlabs.au.ibm.com>
20242 Alan Modra <amodra@gmail.com>
20243
20244 [BZ #15723]
20245 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20246 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20247 _dl_hwcap access for little-endian.
20248 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20249 destroy vmx regs when saving unaligned.
20250 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20251 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20252 destroy vmx regs when saving unaligned.
20253
fef13a78
AM
202542013-10-04 Alan Modra <amodra@gmail.com>
20255
20256 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20257 Don't use a union to pack hi/low value.
20258
76a66d51
AB
202592013-10-04 Anton Blanchard <anton@au1.ibm.com>
20260
20261 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20262 for little-endian.
20263 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20265 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20266 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20267 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20268
6a31fe7f
AM
202692013-10-04 Alan Modra <amodra@gmail.com>
20270
20271 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20272 constants to usual value for .cst8 section, and remove redundant
20273 high address load.
20274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20275 constant for 0x1p52. Load little-endian words of double from
20276 correct stack offsets.
20277
7b88401f
AM
202782013-10-04 Alan Modra <amodra@gmail.com>
20279
20280 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20281 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20282 words of double from correct stack offsets.
20283 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20284 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20285 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20287 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20288 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20290 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20291 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20292 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20293 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20295 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20296 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20297 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20298 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20299 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20300
9c008155
AM
203012013-10-04 Alan Modra <amodra@gmail.com>
20302
20303 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20304 64-bit int/double union.
20305 (_FPU_SETCW): Likewise.
20306 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20307 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20308
da13146d
AM
203092013-10-04 Alan Modra <amodra@gmail.com>
20310
20311 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20312 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20313
603e8410
AM
203142013-10-04 Alan Modra <amodra@gmail.com>
20315
20316 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20317 use vector int constants.
20318 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20319
4a28b3ca
AB
203202013-10-04 Anton Blanchard <anton@au1.ibm.com>
20321
20322 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20323 array with long long.
20324 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20325 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20326 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20327 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20328 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20329 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20330 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20331 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20332 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20333 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20334 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20335 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20336 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20337
2ca85d2b
AB
203382013-10-04 Anton Blanchard <anton@au1.ibm.com>
20339
20340 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20341 (__signbit): Likewise. Correct for little-endian.
20342 (__signbitl): Call __signbit.
20343 (lrint): Correct for little-endian.
20344 (lrintf): Call lrint.
20345
62a728ae
AM
203462013-10-04 Alan Modra <amodra@gmail.com>
20347
20348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20349 union 32-bit int array member with 64-bit int array.
20350 (t515, tm256): Double rather than long double.
20351 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20352
32c301df
AM
203532013-10-04 Alan Modra <amodra@gmail.com>
20354
20355 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20356 Delete.
20357 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20358 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20359 version of math_ldbl.h.
20360
650ef4bd
AM
203612013-10-04 Alan Modra <amodra@gmail.com>
20362
20363 [BZ #15734], [BZ #15735]
20364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20365 all uses of ieee875 long double macros and unions. Simplify test
20366 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20367 ldbl_extract_mantissa value for ix,iy exponents. Properly
20368 normalize after ldbl_extract_mantissa, and don't add hidden bit
20369 already handled. Don't treat low word of ieee854 mantissa like
20370 low word of IBM long double and mask off bit when testing for
20371 zero.
20372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20373 all uses of ieee875 long double macros and unions. Simplify tests
20374 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20375 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20376 two1022, instead use their values. Recognise that tests for large
20377 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20378 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20379 Rewrite all uses of ieee875 long double macros and unions. Simplify
20380 test for 0.0L and nan. Correct negation.
20381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20382 ieee875 long double macros and unions. Correct output for large
20383 magnitude x. Correct absolute value calculation.
20384 (__erfcl): Likewise.
20385 * math/libm-test.inc: Add tests for errors discovered in IBM long
20386 double versions of fmodl, remainderl, erfl and erfcl.
20387
765714ca
AM
203882013-10-04 Alan Modra <amodra@gmail.com>
20389
20390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20391 all uses of ieee854 long double macros and unions. Simplify tests
20392 for long doubles that are fully specified by the high double.
20393 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20394 Likewise.
20395 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20396 Remove dead code too.
20397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20398 (__ieee754_ynl): Likewise.
20399 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20400 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20402 Remove dead code too.
20403 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20407 Simplify.
20408 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20409 Simplify.
20410 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20412 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20413 Comment on variable precision.
20414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20416 Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20421 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20422
4ebd120c
AM
204232013-10-04 Alan Modra <amodra@gmail.com>
20424
20425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20426 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20427 all uses of ieee854 long double macros and unions.
20428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20434 Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20438 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20440 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20441 Simplify sign and nan test too.
20442 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20446 Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20449 Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20453 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20454 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20456
1b6adf88
AM
204572013-10-04 Alan Modra <amodra@gmail.com>
20458
20459 * stdio-common/printf_size.c (__printf_size): Don't use
20460 union ieee854_long_double in fpnum union.
20461 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20462 signbit macro to retrieve sign from long double.
20463 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20464 retrieve sign from long double.
20465 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20466 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20468 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20469 * math/test-misc.c (main): Don't use union ieee854_long_double.
20470
4cf69995
AM
204712013-10-04 Alan Modra <amodra@gmail.com>
20472
20473 [BZ #15680]
20474 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20475 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20476 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20477 calculation. Remove unnecessary test for denormal exponent.
20478 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20479 Correct handling of denormals. Avoid undefined shift behaviour.
20480 Correct normalisation of low mantissa when low double is denormal.
20481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20482 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20483 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20484 Correct normalisation of low mantissa. Test for overflow of high
20485 mantissa and normalise.
20486 (ldbl_nearbyint): Use more readable constant for two52.
20487 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20488 (__mpn_construct_long_double): Fix test for overflow of high
20489 mantissa and correct normalisation. Avoid undefined shift.
20490
9605ca6c
AM
204912013-10-04 Alan Modra <amodra@gmail.com>
20492
20493 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20494 (union ibm_extended_long_double): Define as an array of ieee754_double.
20495 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20496 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20497 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20498 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20500 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20501 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20502 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20503 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20504 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20505 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20506
975569d0
JM
205072013-10-03 Joseph Myers <joseph@codesourcery.com>
20508
d3d23756
JM
20509 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20510 page size instead of calling getpagesize.
20511
975569d0
JM
20512 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20513 (LOCFILE_ALIGN_MASK): Likewise.
20514 (LOCFILE_ALIGN_UP): Likewise.
20515 (LOCFILE_ALIGNED_P): Likewise.
20516 * locale/programs/ld-collate.c (collate_output): Use the new
20517 macros instead of __alignof__ (int32_t).
20518 * locale/weight.h (findidx): Likewise.
20519
b1fe1f2b
OB
205202013-10-03 Ondřej Bílka <neleai@seznam.cz>
20521
20522 [BZ #431]
20523 * manual/string.texi: Fix strncat and wcsncat.
20524
5f855e35
BM
205252013-10-03 Brooks Moses <bmoses@google.com>
20526
20527 [BZ #15915]
20528 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20529 * Makerules: ...here, and adjust associated comments.
20530
3cef6009
WN
205312013-10-02 Will Newton <will.newton@linaro.org>
20532
20533 * malloc/Makefile: Add tst-pvalloc.
20534 * malloc/tst-pvalloc.c: New file.
20535
7815420b
WN
205362013-10-02 Will Newton <will.newton@linaro.org>
20537
20538 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20539 improve test coverage.
20540
4868b204
WN
205412013-10-02 Will Newton <will.newton@linaro.org>
20542
20543 * malloc/Makefile: Add tst-posix_memalign.
20544 * malloc/tst-posix_memalign.c: New file.
20545
29c793b3
EB
205462013-10-01 Eric Blake <eblake@redhat.com>
20547
20548 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20549 Use __THROWNL rather than __THROW on static functions.
20550
fd967522
PM
205512013-09-30 Petr Machata <pmachata@redhat.com>
20552
20553 * elf/elf.h (R_AARCH64_ABS16): New macro.
20554 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20555 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20556 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20557 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20558 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20559 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20560 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20561 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20562 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20563 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20564 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20565 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20566 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20567 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20568 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20569 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20570 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20571 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20572 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20573 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20574 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20575 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20576 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20577 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20578 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20579 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20580 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20581 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20582 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20583 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20584 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20585 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20586 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20587 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20588 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20589 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20590 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20591 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20592 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20593 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20594 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20595 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20596 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20597 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20598 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20599 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20600 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20601 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20602 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20603 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20604 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20605 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20606 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20607 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20608 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20609 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20610 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20611 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20612 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20613 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20614 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20615 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20616 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20617 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20618 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20619 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20620 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20621 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20622 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20623 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20624 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20625 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20626 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20627 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20628 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20629 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20630 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20631 (R_AARCH64_TLSDESC_LDR): Likewise.
20632 (R_AARCH64_TLSDESC_ADD): Likewise.
20633 (R_AARCH64_TLSDESC_CALL): Likewise.
20634
b2179107
AS
206352013-09-30 Andreas Schwab <schwab@suse.de>
20636
20637 [BZ #15048]
20638 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20639 the nss database lookup.
20640 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20642
47f28d0a
MF
206432013-09-28 Mike Frysinger <vapier@gentoo.org>
20644
20645 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20646
206472013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20648
20649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20650 ${Bash-specific parameter/pattern/string} parameter expansion.
20651 * sysdeps/unix/make-syscalls.sh: Likewise.
20652
f4518a17
KK
206532013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20654
20655 * sysdeps/sh/stackguard-macros.h: New file.
20656
dc1a95c7
OB
206572013-09-26 Ondřej Bílka <neleai@seznam.cz>
20658
20659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20661 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20662 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20663 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20664 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20665
5ebbff8f
AZ
206662013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20667
20668 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20669 Fix thread ID register.
20670
4fd2cf9f
JM
206712013-09-25 Joseph Myers <joseph@codesourcery.com>
20672
20673 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20674 [POSIX || UNIX98]: Require rather than permitting all symbols from
20675 <time.h>.
20676 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20677 element of struct sched_param.
20678 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20679 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20680 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20681 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20682 constant.
20683
12c22bc4
OL
206842013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20685
20686 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20687 argument calculation.
20688
a03d8ea7
JM
206892013-09-24 Joseph Myers <joseph@codesourcery.com>
20690
20691 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20692 Expect macro.
20693 [POSIX] (pthread_attr_t): Do not require type.
20694 [POSIX] (pthread_cond_t): Likewise.
20695 [POSIX] (pthread_condattr_t): Likewise.
20696 [POSIX] (pthread_key_t): Likewise.
20697 [POSIX] (pthread_mutex_t): Likewise.
20698 [POSIX] (pthread_mutexattr_t): Likewise.
20699 [POSIX] (pthread_once_t): Likewise.
20700 [POSIX] (pthread_t): Likewise.
20701 [POSIX-based standards] (pthread_atfork): Expect function.
20702
6055173a
JM
207032013-09-24 Joseph Myers <joseph@codesourcery.com>
20704 Richard Sandiford <richard@codesourcery.com>
20705
20706 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20707 (swap_endianness_p): New extern variable.
20708 (set_big_endian): New inline function.
20709 (maybe_swap_uint32): Likewise.
20710 (maybe_swap_uint32_array): Likewise.
20711 (maybe_swap_uint32_obstack): Likewise.
20712 * locale/programs/locfile.c: Include <stdbool.h>.
20713 (swap_endianness_p): New variable.
20714 (add_locale_uint32): Call maybe_swap_uint32.
20715 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20716 (write_locale_data): Call maybe_swap_uint32_array.
20717 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20718 maybe_swap_uint32.
20719 (obstack_int32_grow_fast): Likewise.
20720 (output_weightwc): Call maybe_swap_uint32_obstack.
20721 (collate_output): Likewise.
20722 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20723 (OPT_LITTLE_ENDIAN): Likewise.
20724 (options): Add --little-endian and --big-endian options.
20725 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20726 * locale/programs/locarchive.c: Include "locfile.h".
20727 (GET): New macro.
20728 (SET): Likewise.
20729 (INC): Likewise.
20730 (create_archive): Use the new macros to access fields of
20731 structures directly mapped from or written to locale archives.
20732 (oldlocrecentcmp): Likewise.
20733 (enlarge_archive): Likewise.
20734 (insert_name): Likewise.
20735 (add_alias): Likewise.
20736 (add_locale): Likewise.
20737 (delete_locales_from_archive): Likewise.
20738 (show_archive_content): Likewise.
20739 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20740 locale data.
20741
39bf0bb4
RM
207422013-09-24 Roland McGrath <roland@hack.frob.com>
20743
20744 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20745 http://www.gnu.org/doc/freemanuals.texi.
20746 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20747
f02eed10
WN
207482013-09-24 Will Newton <will.newton@linaro.org>
20749
20750 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20751 macro.
20752
a3a6c312
JM
207532013-09-23 Joseph Myers <joseph@codesourcery.com>
20754
20755 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20756 unsigned char.
20757
107375ac
MR
207582013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20759
20760 * manual/threads.texi (POSIX Threads): Fix a typo.
20761
141f3a77
SP
207622013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20763
303e567a
SP
20764 [BZ #14547]
20765 * string/tst-strcoll-overflow.c: New test case.
20766 * string/Makefile (xtests): Add tst-strcoll-overflow.
20767 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20768 cache if string sizes may cause integer overflow.
20769
141f3a77
SP
20770 [BZ #14547]
20771 * string/strcoll_l.c (coll_seq): New members rule, idx,
20772 save_idx and back_us.
20773 (get_next_seq_nocache): New function.
20774 (do_compare_nocache): New function.
20775 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20776 when malloc fails.
20777
c61b4d41
CD
207782013-09-23 Carlos O'Donell <carlos@redhat.com>
20779
0b1f8e35
CD
20780 [BZ #15754]
20781 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20782 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20783 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20784
c61b4d41
CD
20785 [BZ #15754]
20786 * elf/Makefile (tests): Add tst-ptrguard1.
20787 (tests-static): Add tst-ptrguard1-static.
20788 (tst-ptrguard1-ARGS): Define.
20789 (tst-ptrguard1-static-ARGS): Define.
20790 * elf/tst-ptrguard1.c: New file.
20791 * elf/tst-ptrguard1-static.c: New file.
20792 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20793 * sysdeps/i386/stackguard-macros.h: Likewise.
20794 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20795 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20796 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20797 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20798 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20799 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20800
208012013-09-23 Hector Marco <hecmargi@upv.es>
20802 Ismael Ripoll <iripoll@disca.upv.es>
20803 Carlos O'Donell <carlos@redhat.com>
20804
20805 [BZ #15754]
20806 * sysdeps/generic/stackguard-macros.h: Define
20807 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20808 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20809 Define __pointer_chk_guard_local.
20810 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20811 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20812
f5f4e7b4
VV
208132013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20814
20815 [BZ #15859]
20816 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20817
5bb43a43
AS
208182013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20819
20820 * include/string.h (__ffs): Declare as hidden.
20821 * string/ffs.c (__ffs): Define as hidden.
20822 * sysdeps/i386/ffs.c (__ffs): Likewise.
20823 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20824 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20825 * sysdeps/s390/ffs.c (__ffs): Likewise.
20826 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20827
3ea5be54
AO
208282013-09-20 Alexandre Oliva <aoliva@redhat.com>
20829
ffb89e53
AO
20830 * NEWS: Mention malloc probes.
20831
322dea08
AO
20832 * malloc/arena.c (new_heap): New memory_heap_new probe.
20833 (grow_heap): New memory_heap_more probe.
20834 (shrink_heap): New memory_heap_less probe.
20835 (heap_trim): New memory_heap_free probe.
20836 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20837 (systrim): New memory_sbrk_less probe.
20838 * manual/probes.texi: Document them.
20839
655673f3
AO
20840 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20841 * manual/probes.texi: Document it.
20842
35fed6f1
AO
20843 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20844 (__libc_realloc): Add memory_realloc_retry probe.
20845 (__libc_memalign): Add memory_memalign_retry probe.
20846 (__libc_valloc): Add memory_valloc_retry probe.
20847 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20848 (__libc_calloc): Add memory_calloc_retry probe.
20849 * manual/probes.texi: Document them.
20850
6999d38c
AO
20851 * malloc/arena.c (get_free_list): Add probe
20852 memory_arena_reuse_free_list.
20853 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20854 and memory_arena_reuse.
20855 (arena_get2) [!PER_THREAD]: Likewise.
20856 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20857 memory_arena_reuse_realloc.
20858 * manual/probes.texi: Document them.
20859
0653427f
AO
20860 * malloc/malloc.c (__libc_free): Add
20861 memory_mallopt_free_dyn_thresholds probe.
20862 (__libc_mallopt): Add multiple memory_mallopt probes.
20863 * manual/probes.texi: Document them.
20864
3ea5be54
AO
20865 * malloc/malloc.c: Include stap-probe.h.
20866 (__libc_mallopt): Add memory_mallopt probe.
20867 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20868 * manual/probes.texi: New.
20869 * manual/Makefile (chapters): Add probes.
20870 * manual/threads.texi: Set next node.
20871
e35696c3 208722013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20873
e35696c3
CL
20874 [BZ #15963, #13985]
20875 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20876 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20877 Add `Chinese' to `nan' entry name.
20878
4aafb73c
SP
208792013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20880
20881 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20882 (POLYNOMIAL): Likewise.
20883 (TAYLOR_SINCOS): Likewise.
20884 (TAYLOR_SLOW): Likewise.
20885 (__sin): Use TAYLOR_SINCOS.
20886 (__cos): Likewise.
20887 (slow): Use TAYLOR_SLOW.
20888 (sloww): Likewise.
20889 (bsloww): Likewise.
20890 (csloww): Likewise.
20891
d84f25c7
LD
208922013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20893
20894 * stdlib/strtod_l.c: Fix buffer overrun.
20895
5eea0404
SP
208962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20897
7849ff93
SP
20898 * benchtests/Makefile (bench): Add sincos.
20899 * benchtests/bench-sincos.c: New file.
20900
cfa3c886
SP
20901 * math/libm-test.inc (cos_test_data): New test inputs.
20902 (sin_test_data): Likewise.
20903
b348e1e3
SP
20904 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20905 macro.
20906 (__sin): Use it.
20907 (__cos): Likewise.
20908 (slow1): Likewise.
20909 (slow2): Likewise.
20910 (sloww1): Likewise.
20911 (sloww2): Likewise.
20912 (bsloww1): Likewise.
20913 (bsloww2): Likewise.
20914 (cslow2): Likewise.
20915 (csloww1): Likewise.
20916 (csloww2): Likewise.
20917
6cce25f8
SP
20918 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20919 function.
20920 (__sin): Use it.
20921 (__cos): Likewise.
20922
5eea0404
SP
20923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20924 gotos.
20925 (__cos): Likewise.
20926
9c21573c
MR
209272013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20928
20929 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20930 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20931 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20932 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20933 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20934 * elf/cache.c (print_entry): Handle the new cache flags.
20935
24d22e65
JM
209362013-09-18 Joseph Myers <joseph@codesourcery.com>
20937 Aldy Hernandez <aldyh@redhat.com>
20938
20939 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20940 Change condition to [_SOFT_FLOAT].
20941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20953 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20956 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20957 declaration.
20958
d13ef066
JM
209592013-09-18 Joseph Myers <joseph@codesourcery.com>
20960
2e071de0
JM
20961 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20962 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20963 (__longjmp): Use LOAD_GP to load saved GPRs.
20964 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20965 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20966 (__sigsetjmp): Use SAVE_GP to save GPRs.
20967
d13ef066
JM
20968 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20969 Do not append -msoft-float.
20970 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20971
97a0650b
SP
209722013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20973
20974 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20975
11ca09e9
JM
209762013-09-17 Joseph Myers <joseph@codesourcery.com>
20977
20978 [BZ #15966]
20979 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20980 (_FPU_GETCW): Use initial "__" on variable and field names but not
20981 on macro parameter name.
20982 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20983 parentheses around reference to macro parameter.
20984
08ffcf34
RS
209852013-09-13 Richard Sandiford <richard@codesourcery.com>
20986
20987 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20988 prototype.
20989 (ctype_startup): Use uint32_t in cast and sizeof for
20990 ctype->charnames.
20991
ae7080d3
JL
209922013-09-11 Jia Liu <proljc@gmail.com>
20993
20994 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20995 __daddr_t_defined.
20996 [__FreeBSD__]: Likewise.
20997
5905e7b3
OB
209982013-09-11 Ondřej Bílka <neleai@seznam.cz>
20999
21000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21001 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21002 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21003 (strchr): Remove __strchr_sse42 ifunc selection.
21004 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21005 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21006
b987c776
WN
210072013-09-11 Will Newton <will.newton@linaro.org>
21008
21009 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21010 parameter to RES. Remove hardcoded 1000 value.
21011 * benchtests/bench-skeleton.c (main): Pass RES parameter
21012 to TIMING_INIT and multiply result by 1000.
21013
ddf985af
AZ
210142013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21015
21016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21017
ffdd3181
AS
210182013-09-11 Andreas Schwab <schwab@suse.de>
21019
21020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21021 if not defined.
21022 (O_TMPFILE) [__USE_GNU]: Define.
21023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21024 Define.
21025
b73ed247
WN
210262013-09-11 Will Newton <will.newton@linaro.org>
21027
21028 [BZ #15857]
21029 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21030 does not overflow.
21031
55e17aad
WN
210322013-09-11 Will Newton <will.newton@linaro.org>
21033
21034 [BZ #15856]
21035 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21036 does not overflow.
21037
1159a193
WN
210382013-09-11 Will Newton <will.newton@linaro.org>
21039
21040 [BZ #15855]
21041 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21042 does not overflow.
21043
5905e7b3 210442013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
21045
21046 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21047 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21048 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21051
cdfc721b
AM
210522013-09-10 Allan McRae <allan@archlinux.org>
21053
aa04af00
AM
21054 [BZ #15748]
21055 * manual/arith.texi (Parsing of Floats): Clarify
21056 cross-reference.
21057
cdfc721b
AM
21058 [BZ #15849]
21059 * manual/install.texi (Running make install): Mention
21060 --enable-pt-chown.
21061 * INSTALL: Regenerated.
21062
95e7cf29
MR
210632013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21064
21065 * csu/init-first.c (_init): Remove the !SHARED condition around
21066 FPU control word initialization.
21067 * elf/dl-support.c (_dl_fpu_control): New variable.
21068 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21069 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21070 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21071 * math/test-fpucw-static.c: New file.
21072 * math/test-fpucw-ieee.c: New file.
21073 * math/test-fpucw-ieee-static.c: New file.
21074 * math/Makefile (tests): Add `test-fpucw-ieee' and
21075 `$(tests-static)'.
21076 (tests-static): New variable.
21077 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21078 dependency to...
21079 [($(build-shared),yes)]
21080 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21081 ... this.
21082 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21083 New dependency.
21084
83e43bf0
AM
210852013-09-09 Allan McRae <allan@archlinux.org>
21086
a9f5ce09
AM
21087 [BZ #15939]
21088 * manual/string.texi (Collation Functions): Fix typo in
21089 strcoll example.
21090 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21091
34829bc2
AM
21092 [BZ #15893]
21093 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21094
3932737d
AM
21095 [BZ #15892]
21096 * libio/memstream.c (open_memstream): Fix memory leak.
21097 * libio/wmemstream.c (open_wmemstream): Likewise.
21098
83e43bf0
AM
21099 [BZ #15895]
21100 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21101
0c66b8e9
WN
211022013-09-09 Will Newton <will.newton@linaro.org>
21103
21104 * malloc/Makefile: Add tst-realloc to tests.
21105 * malloc/tst-realloc.c: New file.
21106
f6b00fd1
AM
211072013-09-09 Allan McRae <allan@archlinux.org>
21108
21109 [BZ #15844]
21110 * COPYING: Update from GNU website to fix FSF address.
21111 * COPYING.LIB: Likewise.
21112
eec55e16
DM
211132013-09-06 David S. Miller <davem@davemloft.net>
21114
21115 * po/zh_TW.po: Update Chinese (traditional) translation from
21116 translation project.
21117
1ecbb381
RS
211182013-09-06 Richard Sandiford <richard@codesourcery.com>
21119 Joseph Myers <joseph@codesourcery.com>
21120
21121 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21122 "localeinfo.h".
21123 (obstack_chunk_alloc): New macro.
21124 (obstack_chunk_free): Likewise.
21125 (record_offset): New function.
21126 (init_locale_data): Likewise.
21127 (align_locale_data): Likewise.
21128 (add_locale_empty): Likewise.
21129 (add_locale_raw_data): Likewise.
21130 (add_locale_raw_obstack): Likewise.
21131 (add_locale_string): Likewise.
21132 (add_locale_wstring): Likewise.
21133 (add_locale_uint32): Likewise.
21134 (add_locale_uint32_array): Likewise.
21135 (add_locale_char): Likewise.
21136 (start_locale_structure): Likewise.
21137 (end_locale_structure): Likewise.
21138 (start_locale_prelude): Likewise.
21139 (end_locale_prelude): Likewise.
21140 (write_locale_data): Take locale_file structure rather than an
21141 iovec.
21142 * locale/programs/locfile.h: Include "obstack.h".
21143 (struct locale_file): Change to store locale file contents instead
21144 of header.
21145 (init_locale_data): New prototype.
21146 (align_locale_data): Likewise.
21147 (add_locale_empty): Likewise.
21148 (add_locale_raw_data): Likewise.
21149 (add_locale_raw_obstack): Likewise.
21150 (add_locale_string): Likewise.
21151 (add_locale_wstring): Likewise.
21152 (add_locale_uint32): Likewise.
21153 (add_locale_uint32_array): Likewise.
21154 (add_locale_char): Likewise.
21155 (start_locale_structure): Likewise.
21156 (end_locale_structure): Likewise.
21157 (start_locale_prelude): Likewise.
21158 (end_locale_prelude): Likewise.
21159 (write_locale_data): Update prototype.
21160 * locale/programs/3level.h (struct TABLE): Remove result field.
21161 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21162 Use new locale_file interface.
21163 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21164 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21165 * locale/programs/ld-address.c (address_output): Use new
21166 locale_file interface.
21167 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21168 NO_ADD_LOCALE.
21169 (collate_finish): Don't call collseq_table_finalize.
21170 (collate_output): Use new locale_file interface.
21171 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21172 in file.
21173 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21174 (TABLE): Move defines earlier in file.
21175 (ELEMENT): Likewise.
21176 (DEFAULT): Likewise.
21177 (wctrans_table_add): Move macro and inline function earlier in
21178 file.
21179 (struct wctype_table): Move type earlier in file.
21180 (add_locale_wctype_table): New static prototype.
21181 (struct locale_ctype_t): Use logical types instead of struct iovec
21182 pointers for members.
21183 (ctype_output): Use new locale_file interface.
21184 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21185 new locale_file interface.
21186 (allocate_arrays): Update for use of new locale_file interface.
21187 * locale/programs/ld-identification.c (identification_output): Use
21188 new locale_file interface.
21189 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21190 * locale/programs/ld-messages.c (messages_output): Likewise.
21191 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21192 * locale/programs/ld-name.c (name_output): Likewise.
21193 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21194 * locale/programs/ld-paper.c (paper_output): Likewise.
21195 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21196 * locale/programs/ld-time.c (time_output): Likewise.
21197
e029e2e5
AZ
211982013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21199
21200 * benchtests/Makefile: Add memrchr benchmark.
21201 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21202 benchmark as memrchr.
21203 * benchtests/bench-memrchr-ifunc.c: New file.
21204 * benchtests/bench-memrchr.c: New file.
21205
bbf6e8e4
WN
212062013-09-06 Will Newton <will.newton@linaro.org>
21207
21208 * benchtests/Makefile (string-bench): Add memcpy.
21209
6c82a2f8
CD
212102013-09-05 Carlos O'Donell <carlos@redhat.com>
21211 Cong Wang <amwang@redhat.com>
21212
e732c5f0 21213 [BZ #15850]
6c82a2f8
CD
21214 * sysdeps/unix/sysv/linux/bits/in.h
21215 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21216 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21217 before __USE_KERNEL_IPV6_DEFS uses.
21218 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21219 IPPROTO_BEETPH.
21220 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21221 sockaddr_in6, or ipv6_mreq.
21222
5430fc65
AZ
212232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21224
21225 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21226 memory access for final bytes in some large inputs.
21227 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21228
4660856c
AZ
212292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21230
21231 * string/test-memrchr.c: New file.
21232 * string/test-memrchr-ifunc.c: New file.
21233 * string/Makefile: Add new memrchr testcase.
21234
bb8ea713
MF
212352013-09-05 Mike Frysinger <vapier@gentoo.org>
21236
21237 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21238 fanotify_init returns EPERM.
21239
b92a20b5
JM
212402013-09-04 Joseph Myers <joseph@codesourcery.com>
21241
21242 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21243 errors.
21244 (top level): Treat second token from macro or constant entries for
21245 allowed headers as allowed.
21246 * include/complex.h: Condition internal declarations on
21247 [!_ISOMAC].
21248 * include/fenv.h: Condition include of <stdbool.h> and internal
21249 declarations on [!_ISOMAC].
7447ccd9
CL
21250
212512013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21252
3e181dda 21253 [BZ #15923]
7447ccd9
CL
21254 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21255
3f2e46a4
JM
212562013-09-04 Joseph Myers <joseph@codesourcery.com>
21257
21258 * configure.in (--enable-versioning): Remove configure option.
21259 (libc_cv_asm_symver_directive): Remove configure test.
21260 (libc_cv_ld_version_script_option): Likewise.
21261 (VERSIONING): Remove variable and AC_SUBST.
21262 (DO_VERSIONING): Remove AC_DEFINE.
21263 * configure: Regenerated.
21264 * config.h.in (DO_VERSIONING): Remove macro.
21265 * Makerules [$(versioning) = yes]: Change conditionals to
21266 [$(build-shared) = yes].
21267 * config.make.in (versioning): Remove variable.
21268 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21269 [$(build-shared) = yes].
21270 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21271 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21272 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21273 [$(build-shared) = yes].
21274 * extra-lib.mk [$(versioning) = yes]: Likewise.
21275 * hurd/Makefile [$(versioning) = yes]: Likewise.
21276 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21277 [SHARED].
21278 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21279 [SHARED].
21280 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21281 [SHARED && !NO_HIDDEN].
21282 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21283 [SHARED].
21284 [SHARED && DO_VERSIONING]: Likewise..
21285 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21286 [$(build-shared) = yes].
21287 * manual/install.texi (--disable-versioning): Remove
21288 documentation.
21289 * INSTALL: Regenerated.
21290 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21291 to [SHARED].
21292 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21293 [$(build-shared) = yes].
21294 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21295 * sysdeps/i386/i686/multiarch/strstr-c.c
21296 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21297 [SHARED && !NO_HIDDEN].
21298 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21299 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21300 * sysdeps/powerpc/powerpc32/dl-machine.c
21301 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21302 * sysdeps/powerpc/powerpc32/sysdep.h
21303 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21304 to [SHARED && PIC && !NO_HIDDEN].
21305 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21306 conditional to [SHARED].
21307
44558701
WN
213082013-09-04 Will Newton <will.newton@linaro.org>
21309
21310 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21311 * benchtests/bench-string.h: Include bench-timing.h instead
21312 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21313 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21314 call to HP_TIMING_DIFF_INIT.
21315 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21316 instead of hp-timing.h macros.
21317 * benchtests/bench-memchr.c: Likewise.
21318 * benchtests/bench-memcmp.c: Likewise.
21319 * benchtests/bench-memcpy.c: Likewise.
21320 * benchtests/bench-memmem.c: Likewise.
21321 * benchtests/bench-memmove.c: Likewise.
21322 * benchtests/bench-memset.c: Likewise.
21323 * benchtests/bench-rawmemchr.c: Likewise.
21324 * benchtests/bench-strcasecmp.c: Likewise.
21325 * benchtests/bench-strcasestr.c: Likewise.
21326 * benchtests/bench-strcat.c: Likewise.
21327 * benchtests/bench-strchr.c: Likewise.
21328 * benchtests/bench-strcmp.c: Likewise.
21329 * benchtests/bench-strcpy.c: Likewise.
21330 * benchtests/bench-strcpy_chk.c: Likewise.
21331 * benchtests/bench-strlen.c: Likewise.
21332 * benchtests/bench-strncasecmp.c: Likewise.
21333 * benchtests/bench-strncat.c: Likewise.
21334 * benchtests/bench-strncmp.c: Likewise.
21335 * benchtests/bench-strncpy.c: Likewise.
21336 * benchtests/bench-strnlen.c: Likewise.
21337 * benchtests/bench-strpbrk.c: Likewise.
21338 * benchtests/bench-strrchr.c: Likewise.
21339 * benchtests/bench-strspn.c: Likewise.
21340 * benchtests/bench-strstr.c: Likewise.
21341
cae16d66
WN
213422013-09-04 Will Newton <will.newton@linaro.org>
21343
21344 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21345
ffa3cd7f
JM
213462013-09-03 Joseph Myers <joseph@codesourcery.com>
21347
21348 [BZ #15427]
21349 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21350 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21351 * math/libm-test.inc (lgamma_test_data): Add more tests.
21352 * sysdeps/i386/fpu/libm-test-ulps: Update.
21353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21354
8f02859f
OB
213552013-09-03 Ondřej Bílka <neleai@seznam.cz>
21356
21357 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21359 Add ifunc.
21360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21361 Add strcmp-sse2-unaligned
21362 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21363
18d43716
MF
213642013-09-02 Mike Frysinger <vapier@gentoo.org>
21365
21366 * Versions.def (libc): Add GLIBC_2.19.
21367
ac444012
MF
213682013-09-02 Mike Frysinger <vapier@gentoo.org>
21369
21370 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21371 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21372
b7835e32
JM
213732013-09-02 Joseph Myers <joseph@codesourcery.com>
21374
21375 [BZ #14155]
21376 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21377 intermediate calculations in recurrence.
21378 (__ieee754_ynf): Likewise.
21379 * math/libm-test.inc (jn_test_data): Do not allow spurious
21380 underflow exception. Add more tests.
21381 (yn_test_data): Add more tests.
21382 * sysdeps/i386/fpu/libm-test-ulps: Update.
21383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21384
8220f4f0
OB
213852013-09-02 Ondřej Bílka <neleai@seznam.cz>
21386
21387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21388
f24a6d08
OB
213892013-08-30 Ondřej Bílka <neleai@seznam.cz>
21390
21391 * csu/init-first.c: Fix then/than typos.
21392 * locale/programs/ld-collate.c: Likewise.
21393 * locale/programs/linereader.h: Likewise.
21394 * manual/charset.texi: Likewise.
21395 * manual/filesys.texi: Likewise.
21396 * manual/stdio.texi: Likewise.
21397 * manual/string.texi: Likewise.
21398 * stdlib/fmtmsg.c: Likewise.
21399 * sysdeps/i386/stpncpy.S: Likewise.
21400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21401 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21402 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21403 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21404
382466e0
OB
214052013-08-30 Ondřej Bílka <neleai@seznam.cz>
21406
21407 * elf/dl-open.c: Fix typos.
21408 * iconvdata/gbbig5.c: Likewise.
21409 * iconvdata/iso-2022-jp.c: Likewise.
21410 * iconv/gconv_int.h: Likewise.
21411 * iconv/loop.c: Likewise.
21412 * nis/rpcsvc/nis.h: Likewise.
21413 * resolv/ns_name.c: Likewise.
21414 * stdio-common/vfscanf.c: Likewise.
21415 * streams/stropts.h: Likewise.
21416 * sunrpc/rpc_thread.c: Likewise.
21417 * sysdeps/i386/strpbrk.S: Likewise.
21418 * sysdeps/ieee754/k_standard.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21421 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21422 * sysdeps/mach/hurd/profil.c: Likewise.
21423 * sysdeps/s390/dl-procinfo.h: Likewise.
21424 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21425 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21426 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21427 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21429
0186c6e9
OB
214302013-08-30 Ondřej Bílka <neleai@seznam.cz>
21431
21432 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21434
d4e16af1
OB
214352013-08-29 Ondřej Bílka <neleai@seznam.cz>
21436
21437 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21438 aix specific files.
21439 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21440 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21441 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21442 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21443 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21444 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21445 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21446 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21447
88335980
TS
214482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21449 Roland McGrath <roland@hack.frob.com>
21450
21451 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21452 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21453
ed479b02
ST
214542013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21455
21456 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21457 __executable_start symbol instead of _start.
21458
f1cc4c86
TS
214592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21460
d821f07c
TS
21461 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21462 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21463 Move macros to...
21464 * sysdeps/gnu/ldsodefs.h: ... this new file.
21465
c54290cf
TS
21466 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21467 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21468 instead of ELFOSABI_LINUX.
21469
0007fc9b 21470 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21471 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21472 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21473 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21474 Likewise.
21475 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21476 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21477 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21478 Likewise.
21479 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21480 (ibm_extended_long_double): Add ieee_nan member.
21481 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21482 (do_test): New function.
21483
f1cc4c86
TS
21484 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21485 TEST_TRUNC.
21486 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21487 functions, renamed from truncdfsf_test, trunctfsf_test,
21488 trunctfdf_test.
21489 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21490 functions.
21491 (do_test): Run all these.
21492
6f65e668
OB
214932013-08-29 Ondřej Bílka <neleai@seznam.cz>
21494
21495 * argp/argp-help.c: Fix typos.
21496 * argp/argp-parse.c: Likewise.
21497 * debug/backtracesyms.c: Likewise.
21498 * elf/elf.h: Likewise.
21499 * malloc/malloc.c: Likewise.
21500 * nis/nis_print.c: Likewise.
21501 * resolv/res_comp.c: Likewise.
21502 * stdlib/stdlib.h: Likewise.
21503 * sunrpc/clnt_tcp.c: Likewise.
21504 * sunrpc/clnt_udp.c: Likewise.
21505 * sunrpc/clnt_unix.c: Likewise.
21506 * sysdeps/unix/bsd/ptsname.c: Likewise.
21507 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21508 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21510 Likewise.
21511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21512 Likewise.
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21514 Likewise.
6f65e668
OB
21515 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21516
3a309239
SP
215172013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21518
21519 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21521
3b813b29
MF
215222013-08-27 Mike Frysinger <vapier@gentoo.org>
21523
21524 [BZ #15897]
21525 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21526 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21527 ($(objpfx)bug-dl-leaf): New rule.
21528 ($(objpfx)bug-dl-leaf.so): Likewise.
21529 ($(objpfx)bug-dl-leaf.out): Likewise.
21530 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21531 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21532 * dlfcn/bug-dl-leaf.c: New test.
21533 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21534 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21535 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21536 (dlclose): Likewise.
21537 (dlmopen): Likewise.
21538
8cc3269f
RM
215392013-08-27 Roland McGrath <roland@hack.frob.com>
21540
7f9d0034
RM
21541 * include/netdb.h [!_ISOMAC]:
21542 Don't include <tls.h>.
21543 (h_errno, __libc_h_errno): Move declaration and macros out of
21544 [_LIBC_REENTRANT].
21545
fb431262
RM
21546 * include/resolv.h [_RESOLV_H_]:
21547 Don't include <tls.h>.
21548 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21549 * resolv/res_libc.c: Don't include <tls.h>.
21550 (_res): Use __attribute__ ((nocommon)) in place of
21551 __attribute__ ((section (".bss"))).
21552
bd81123a
RM
21553 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21554 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21555
c4e42566
RM
21556 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21557
f890a59b
RM
21558 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21559 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21560
21561 * resolv/res_mkquery.c: Include <sys/time.h>.
21562
5d1f0a09
RM
21563 * inet/ifreq.c: Moved to ...
21564 * sysdeps/unix/ifreq.c: ... here.
21565 * inet/ifreq.c: New file, true stub version.
21566
6fcf28b3
RM
21567 * socket/sa_len.c: New file.
21568 * socket/Makefile (aux): Add it.
21569 * sysdeps/unix/sysv/linux/Makefile
21570 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21571 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21572 and #include <socket/sa_len.c>.
21573 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21574 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21575
e041fb8b
RM
21576 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21577 * bits/socket.h: ... here.
21578
8cc3269f
RM
21579 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21580 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21581 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21582
5d228a43
AS
215832013-08-27 Andreas Schwab <schwab@suse.de>
21584
45b8accc
AS
21585 [BZ #15736]
21586 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21587 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21588 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21589 * string/test-strcasecmp.c (test_main): Run tests in several
21590 locales.
21591 * string/test-strncasecmp.c (test_main): Likewise.
21592
5d228a43
AS
21593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21594 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21595 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21597 (__strncasecmp_ssse3) [PIC]: Likewise.
21598
59d112a4
RM
215992013-08-26 Roland McGrath <roland@hack.frob.com>
21600
53234cc3
RM
21601 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21602
59d112a4
RM
21603 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21604 instead of explicitly declaring xdecrypt.
21605 * nis/nss_nis/nis-publickey.c: Likewise.
21606
595aba70
SP
216072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21608
21609 [BZ #15890]
21610 * nscd/aicache.c: Include res_hconf.h.
21611 (addhstaiX): Initialize res_hconf.
21612
ffabd393
AS
216132013-08-26 Andreas Schwab <schwab@suse.de>
21614
21615 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21616 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21617
e0a69f5c
SP
216182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21619
21620 * nscd/aicache.c (addhstaiX): Fix indentation.
21621
8c12f01d
MF
216222013-08-25 Mike Frysinger <vapier@gentoo.org>
21623
21624 * configure.ac: Quote $build_pt_chown test.
21625 * configure: Regenerated.
21626
8fe89494
JM
216272013-08-23 Joseph Myers <joseph@codesourcery.com>
21628
21629 [BZ #15532]
21630 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21631 * math/s_cexpf.c (__cexpf): Likewise.
21632 * math/s_cexpl.c (__cexpl): Likewise.
21633 * math/libm-test.inc (cexp_test_data): Correct expected return
21634 value for NaN + i0. Add another test.
21635
75b181d6
DM
216362013-08-22 David S. Miller <davem@davemloft.net>
21637
21638 * po/ca.po: Update Catalan translation from translation project.
936241e4 21639 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21640
acd06bb1
JM
216412013-08-21 Joseph Myers <joseph@codesourcery.com>
21642
21643 [BZ #15797]
21644 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21645 is infinite, not alongside NaN test.
21646 * math/s_fdimf.c (__fdimf): Likewise.
21647 * math/s_fdiml.c (__fdiml): Likewise.
21648 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21649 errno is unchanged.
21650
c0c3f78a
OB
216512013-08-21 Ondřej Bílka <neleai@seznam.cz>
21652
21653 * argp/argp-help.c: Fix typos.
21654 * crypt/speeds.c: Likewise.
21655 * csu/check_fds.c: Likewise.
21656 * elf/dl-load.c: Likewise.
21657 * elf/dl-open.c: Likewise.
21658 * elf/reldep3.c: Likewise.
21659 * elf/reldep.c: Likewise.
21660 * elf/sprof.c: Likewise.
21661 * iconv/iconv_charmap.c: Likewise.
21662 * iconv/skeleton.c: Likewise.
21663 * iconv/strtab.c: Likewise.
21664 * io/lockf64.c: Likewise.
21665 * libio/libioP.h: Likewise.
21666 * resolv/gai_notify.c: Likewise.
21667 * resolv/ns_name.c: Likewise.
21668 * resolv/ns_samedomain.c: Likewise.
21669 * resolv/res_send.c: Likewise.
21670 * stdlib/random.c: Likewise.
21671 * sunrpc/rpc/xdr.h: Likewise.
21672 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21674 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21675 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21677 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21679 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21680 * sysdeps/mach/hurd/check_fds.c: Likewise.
21681 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21682 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21683 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21684 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21685 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21686 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21687 * sysdeps/pthread/aio_notify.c: Likewise.
21688 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21689 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21690 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21692 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21693
46ed1038
LD
216942013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21695
21696 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21697 version if bit_Slow_SSE4_2 is set.
21698 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21699 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21700
d400dcac
AZ
217012013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21702
21703 [BZ #15867]
21704 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21705 trampoline stack frame information.
21706 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21708 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21709 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21710 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21711 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21712 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21713 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21714 sa_flags value.
21715 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21716 interrupting a syscall and set with option SA_SIGINFO.
21717
42c8fdd8
JM
217182013-08-20 Joseph Myers <joseph@codesourcery.com>
21719
c980f2f4
JM
21720 [BZ #15531]
21721 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21722 argument is infinite.
21723 * math/s_cprojf.c (__cprojf): Likewise.
21724 * math/s_cprojl.c (__cprojl): Likewise.
21725 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21726 * math/libm-test.inc (cproj_test_data): Add more tests.
21727
0716c4fc
JM
21728 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21729
42c8fdd8
JM
21730 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21731 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21732 size. Use __ffs to determine corresponding shift.
21733
b31469d0
JM
217342013-08-20 Joseph Myers <joseph@codesourcery.com>
21735 Roland McGrath <roland@hack.frob.com>
21736
21737 * Makefile (INSTALL): Remove trailing blank lines from output of
21738 makeinfo.
21739
4e39af6e
AK
217402013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21741
21742 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21743 Align 32 bit compat elf_greg to 8 bytes.
21744
f315524e
AA
217452013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21746
21747 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21748
1326ba1a
SP
217492013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21750
21751 * string/strcoll_l.c (coll_seq): New structure.
21752 (get_next_seq_cached): New function.
21753 (get_next_seq): New function.
21754 (do_compare): New function.
21755 (STRCOLL): Use GNU style definition. Simplify implementation
21756 by using get_next_seq, get_next_seq_cached and do_compare.
21757
91ce4085
FW
217582013-08-16 Florian Weimer <fweimer@redhat.com>
21759
21760 [BZ #14699]
21761 CVE-2013-4237
21762 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21763 member.
21764 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21765 member.
21766 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21767 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21768 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21769 conditional.
21770 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21771 GETDENTS_64BIT_ALIGNED.
21772 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21773 * manual/filesys.texi (Reading/Closing Directory): Document
21774 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21775 strongly.
21776 * manual/conf.texi (Limits for Files): Add portability note to
21777 NAME_MAX, PATH_MAX.
21778 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21779
ca0a6bc4
AS
217802013-08-13 Andreas Schwab <schwab@suse.de>
21781
21782 [BZ #15749]
21783 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21784 of fabs.
21785 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21786 LDBL_MAX_EXP >= 16384]: Add tests for it.
21787
6c1fd795
DM
217882013-08-12 David S. Miller <davem@davemloft.net>
21789
21790 * version.h (RELEASE): Set to "development".
21791 (VERSION): Set to "2.18.90".
21792 * NEWS: Add 2.19 section.
21793
31ad488d
DM
217942013-08-03 David S. Miller <davem@davemloft.net>
21795
21796 * po/ko.po: Update Korean translation from translation project.
21797
db24e684
DM
217982013-08-01 David S. Miller <davem@davemloft.net>
21799
21800 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21801 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21802 Bilka.
21803
f723285b
DM
218042013-07-30 David S. Miller <davem@davemloft.net>
21805
21806 * po/fr.po: Update French translation from translation project.
21807
3cbc52db
DM
218082013-07-28 David S. Miller <davem@davemloft.net>
21809
30bbc0cc
DM
21810 * po/cs.po: Update Czech translation from translation project.
21811
3cbc52db
DM
21812 * po/sv.po: Update Swedish translation from translation project.
21813
d492e6d0
DM
218142013-07-27 David S. Miller <davem@davemloft.net>
21815
f1a7f492
DM
21816 * po/eo.po: Update Esperanto translation from translation project.
21817
90e62a4a
DM
21818 * po/vi.po: Update Vietnamese translation from translation project.
21819
d492e6d0
DM
21820 * po/de.po: Update German translation from translation project.
21821
d4baa62d
DM
218222013-07-26 David S. Miller <davem@davemloft.net>
21823
641aa7b4
DM
21824 * po/bg.po: Update Bulgarian translation from translation project.
21825
d4baa62d
DM
21826 * po/nl.po: Update Dutch translation from translation project.
21827 * po/pl.po: Update Polish translation from translation project.
21828 * po/ru.po: Update Russian translation from translation project.
21829
61a9dcb9
DM
218302013-07-24 David S. Miller <davem@davemloft.net>
21831
21832 * po/libc.pot: Update.
21833
7b1f8b58
AZ
218342013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21835
21836 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21837 variable page size.
21838 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21839 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21840 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21841
a8fc7a03
AK
218422013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21843
21844 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21845
e4608715
CD
218462013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21847 Andreas Schwab <schwab@suse.de>
21848 Roland McGrath <roland@hack.frob.com>
21849 Joseph Myers <joseph@codesourcery.com>
21850 Carlos O'Donell <carlos@redhat.com>
21851
21852 [BZ #15755]
21853 * config.h.in: Define HAVE_PT_CHOWN.
21854 * config.make.in (build-pt-chown): New variable.
21855 * configure.in (--enable-pt_chown): New configure option.
21856 * configure: Regenerate.
21857 * login/Makefile: Include Makeconfig. Build pt_chown only if
21858 build-pt-chown is enabled.
21859 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21860 pt_chown to fix pty ownership.
21861 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21862 CLOSE_ALL_FDS.
21863 * manual/install.texi (Configuring and compiling): Mention
21864 --enable-pt_chown. Add @findex for grantpt.
21865 * INSTALL: Regenerate.
21866
da2d62df
DM
218672013-07-20 David S. Miller <davem@davemloft.net>
21868
21869 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21870 difference between 32-bit and 64-bit.
21871
d7e06450
CD
218722013-07-15 Carlos O'Donell <carlos@redhat.com>
21873
21874 [BZ #15711]
21875 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21876 Avoid system header dependency with -ffreestanding.
21877 ($(objpfx)bits/syscall%d): Likewise.
21878
f959cfd7
DM
218792013-07-13 David S. Miller <davem@davemloft.net>
21880
21881 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21882 underflows from atanl/atan2l due to bug 15319.
21883 (casinh_test_data): Likewise.
21884
c61f8513
DM
218852013-07-07 David S. Miller <davem@davemloft.net>
21886
21887 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21888
72c90ed0
JA
218892013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21890
21891 * sysdeps/i386/fpu/libm-test-ulps: Update.
21892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21893
52dfbe13
SP
218942013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21895
21896 * configure.in (--enable-lock-elision): Fix message text.
21897 * INSTALL: Regenerate.
21898 * configure: Regenerate.
21899
3f169543
AZ
219002013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21901
21902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21903
521c6785
AJ
219042013-07-03 Andreas Jaeger <aj@suse.de>
21905
21906 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21907 define.
21908 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21909 (ptrace_peeksiginfo_args): Add.
21910 (__ptrace_peeksiginfo_flags): Add.
21911 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21914
d2cc15cb
AM
219152013-07-03 Allan McRae <allan@archlinux.org>
21916
21917 * sysdeps/i386/fpu/libm-test-ulps: Update.
21918
3aaeeca7
DM
219192013-07-02 David S. Miller <davem@davemloft.net>
21920
21921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21922
5314ed1a
MT
219232013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21924
21925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21926
67338156
JM
219272013-07-02 Joseph Myers <joseph@codesourcery.com>
21928
21929 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21931
1717da59
AK
219322013-07-02 Andi Kleen <ak@linux.intel.com>
21933
21934 * config.h.in (ENABLE_LOCK_ELISION): Add.
21935 * configure.in (--enable-lock-elision): Add option.
21936 * manual/install.texi: Document --enable lock elision.
21937 * configure: Regenerate
21938 * INSTALL: Regenerate.
21939
1c81621c
L
219402013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21943 SSE4.2 strcasecmp for libc.a.
21944 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21945
77f01ab5
JM
219462013-07-02 Joseph Myers <joseph@codesourcery.com>
21947
21948 [BZ #13304]
21949 * soft-fp/op-common.h (_FP_FMA): New macro.
21950 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21951 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21952 (_FP_MUL_MEAT_1_imm): ... here.
21953 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21954 (_FP_MUL_MEAT_1_wide): ... here.
21955 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21956 (_FP_MUL_MEAT_1_hard): ... here.
21957 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21958 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21959 (_FP_MUL_MEAT_2_wide): ... here.
21960 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21961 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21962 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21963 (_FP_MUL_MEAT_2_gmp): ... here.
21964 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21965 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21966 (_FP_MUL_MEAT_4_wide): ... here.
21967 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21968 (_FP_MUL_MEAT_4_gmp): ... here.
21969 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21970 (_FP_WFRACBITS_DW_S): Likewise.
21971 (_FP_WFRACXBITS_DW_S): Likewise.
21972 (_FP_HIGHBIT_DW_S): Likewise.
21973 (FP_FMA_S): Likewise.
21974 (_FP_FRAC_HIGH_DW_S): Likewise.
21975 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21976 (_FP_WFRACBITS_DW_D): Likewise.
21977 (_FP_WFRACXBITS_DW_D): Likewise.
21978 (_FP_HIGHBIT_DW_D): Likewise.
21979 (FP_FMA_D): Likewise.
21980 (_FP_FRAC_HIGH_DW_D): Likewise.
21981 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21982 (_FP_WFRACBITS_DW_E): Likewise.
21983 (_FP_WFRACXBITS_DW_E): Likewise.
21984 (_FP_HIGHBIT_DW_E): Likewise.
21985 (FP_FMA_E): Likewise.
21986 (_FP_FRAC_HIGH_DW_E): Likewise.
21987 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21988 (_FP_WFRACBITS_DW_Q): Likewise.
21989 (_FP_WFRACXBITS_DW_Q): Likewise.
21990 (_FP_HIGHBIT_DW_Q): Likewise.
21991 (FP_FMA_Q): Likewise.
21992 (_FP_FRAC_HIGH_DW_Q): Likewise.
21993 * soft-fp/fmasf4.c: New file.
21994 * soft-fp/fmadf4.c: Likewise.
21995 * soft-fp/fmatf4.c: Likewise.
21996
6308fd9a
LD
219972013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21998
21999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22000 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22001 Silvermont.
22002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22003 macro.
22004 (index_Slow_SSE4_2): Likewise.
22005 (index_Prefer_PMINUB_for_stringop): Likewise.
22006 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22007 bit_Slow_SSE4_2 is set.
22008 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22009 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22010
89cd9569
RA
220112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22012
22013 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22014 rtld_global._dl_hwcap2.
22015 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22016 POWER8.
22017 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22018 POWER8 feature descriptions defined in _dl_hwcap2.
22019 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22020 string handling for POWER8 feature bits.
22021 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22022 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22023 _dl_powerpc_cap_flags.
22024 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22025 * sysdeps/powerpc/rtld-global-offsets.sym
22026 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22027 _dl_hwcap2 in the rtld_global_ro structure.
22028
1ae8bfe0
RA
220292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22030
22031 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22032 hardware capabilities in support of AT_HWCAP2.
22033 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22034 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22035 GLRO(dl_hwcap2).
22036 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22037 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22038 explicitly the unknown a_type display mechanism is used.
22039 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22040 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22041 struct member.
22042 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22043 to macro prototype for AT_HWCAP2 support.
22044 * sysdeps/i386/dl-procinfo.h: Likewise.
22045 * sysdeps/s390/dl-procinfo.h: Likewise.
22046 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22047 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22048 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22049 return -1 for unknown a_type display fallback.
22050 * sysdeps/sparc/dl-procinfo.h: Likewise.
22051 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22052 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22053
8fbec010
JM
220542013-06-28 Joseph Myers <joseph@codesourcery.com>
22055
22056 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22057 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22058
0432680e
PY
220592013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22060
22061 [BZ #12492]
22062 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22063 mprotect making __stack_prot writable.
22064
ce61a2ad
NF
220652013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22066 Joseph Myers <joseph@codesourcery.com>
22067
22068 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22069 as being properly aligned.
22070
f91f1c0f
MR
220712013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22072
3d0f5d0c
MR
22073 * dlfcn/modstatic5.c: New file.
22074 * dlfcn/tststatic5.c: New file.
22075 * dlfcn/Makefile (tests): Add tststatic5.
22076 (tests-static): Likewise.
22077 (modules-names): Add modstatic5.
22078 (tststatic5-ENV): New variable.
22079 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22080
f91f1c0f
MR
22081 [BZ #15022]
22082 * elf/dl-support.c (_dl_main_map): New variable.
22083 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22084 (_dl_nns, _dl_load_adds): Set to 1.
22085 (_dl_initial_searchlist): Refer to _dl_main_map.
22086 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22087 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22088 call to _dl_get_origin.
22089 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22090 around call_map.
22091 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22092 * dlfcn/modstatic3.c: New file.
22093 * dlfcn/tststatic3.c: New file.
22094 * dlfcn/tststatic4.c: New file.
22095 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22096 (tests-static): Likewise.
22097 (modules-names): Add modstatic3.
22098 (tststatic3-ENV, tststatic4-ENV): New variables.
22099 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22100 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22101
cbe7d24b
JM
221022013-06-26 Joseph Myers <joseph@codesourcery.com>
22103
22104 * configure.in (CC): Require GCC version 4.4 or later.
22105 * configure: Regenerated.
22106 * manual/install.texi (Tools for Compilation): Update GCC version
22107 requirement.
22108 * INSTALL: Regenerated.
22109
11b8a0e1
LD
221102013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22111
22112 [BZ #15674]
bb5bb87c
L
22113 * string/test-memcmp.c (check2): New.
22114 (main): Call check2.
22115
11b8a0e1
LD
22116 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22117
b0037103
MR
221182013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22119
22120 [BZ #15022]
22121 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22122 over to...
22123 (dl_open_worker) [!SHARED]: ... here.
22124
c18c701d
RA
221252013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22126
22127 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22128
1d17fa5f
RH
221292013-06-25 Richard Henderson <rth@redhat.com>
22130
22131 * locale/programs/locarchive.c: Include <libc-internal.h>
22132
8fcb833a
JM
221332013-06-25 Joseph Myers <joseph@codesourcery.com>
22134
22135 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22136 trailing whitespace removed.
22137
17db6e8d
MF
221382013-06-24 Mike Frysinger <vapier@gentoo.org>
22139
22140 [BZ #10283]
17db6e8d
MF
22141 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22142 * locale/programs/locarchive.c: Include libc-mmap.h.
22143 (prepare_address_space): Take two new outputs (the mmap base and len).
22144 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22145 values.
22146 (create_archive): Declare new mmap base and len values for
22147 prepare_address_space, and store the result in ah.
22148 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22149 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22150 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22151 Declare new mmap base and len values for
22152 prepare_address_space, and store the result in new_ah.
22153 (open_archive): Declare new mmap base and len values for
22154 prepare_address_space, and store the result in ah.
22155 (close_archive): If ah->mmap_base is not NULL, use that and
22156 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22157 * sysdeps/generic/libc-mmap.h: New file.
22158
d605071e
MF
221592013-06-24 Mike Frysinger <vapier@gentoo.org>
22160
22161 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22162 (ALIGN_UP): Likewise.
22163 (PTR_ALIGN_DOWN): Likewise.
22164 (PTR_ALIGN_UP): Likewise.
22165
2f063a6e
RA
221662013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22167
22168 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22169 entry mapped to PPC_PLATFORM_POWER8.
22170 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22171 POWER8.
22172 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22173 (_dl_string_platform): Add case for exporting platform position for
22174 POWER8.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22176 search path to sysdeps/powerpc/powerpc32/power8 directory.
22177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22178 search path to sysdeps/powerpc/powerpc64/power8 directory.
22179 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22180 power7 directories.
22181 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22182 power7 directories.
22183
a31ee4b3
SP
221842013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22185
a74ca98f
SP
22186 * INSTALL: Regenerate.
22187
a31ee4b3
SP
22188 * nscd/connections.c (nscd_init): Fix comment.
22189
695c378f
JM
221902013-06-22 Joseph Myers <joseph@codesourcery.com>
22191
d8412221
JM
22192 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22193
695c378f
JM
22194 [BZ #15667]
22195 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22196 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22197
d1d54715
MR
221982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22199
22200 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22201 DL_DST_REQ_STATIC.
22202 (DL_DST_REQ_STATIC): Remove macro.
22203
8fdda7af
JM
222042013-06-21 Joseph Myers <joseph@codesourcery.com>
22205
22206 [BZ #7006]
22207 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22208 with a shift of 0 bits.
22209
f3bc5e5a
MR
222102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22211
22212 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22213 $(tststatic-ENV).
22214
be09e8c9
KK
222152013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22216
22217 [BZ #15655]
22218 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22219
85c2e611
AZ
222202013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22221
22222 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22223 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22224 accepts -fno-tree-loop-distribute-patterns.
22225 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22226 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22227 recursive call.
22228 * string/memset.c (memset): Likewise.
22229 * string/test-memmove.c (simple_memmove): Disable loop transformation
22230 to library calls.
22231 * string/test-memset.c (simple_memset): Likewise.
22232 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22233 * benchtests/bench-memset.c (simple_memset): Likewise.
22234 * configure: Regenerated.
22235
c91e0825
JM
222362013-06-20 Joseph Myers <joseph@codesourcery.com>
22237
b8c792af
JM
22238 * math/test-misc.c (main): Ignore fesetround failure when failures
22239 of subsequent rounding tests would be ignored.
22240
c91e0825
JM
22241 [BZ #15654]
22242 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22243 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22244 * math/fegetenv.c (__fegetenv): Return 0.
22245 * math/fegetexcept.c (fegetexcept): Return 0.
22246 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22247 FE_TONEAREST.
22248 * math/feholdexcpt.c (feholdexcept): Return 0.
22249 * math/fesetenv.c (__fesetenv): Return 0.
22250 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22251 argument FE_TONEAREST.
22252 * math/feupdateenv.c (__feupdateenv): Return 0.
22253 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22254
bfcacbde
RM
222552013-06-18 Roland McGrath <roland@hack.frob.com>
22256
22257 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22258 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22259 ($(objpfx)rtld-%.os rules): Use them.
22260
e55a9b25
AZ
222612013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22262
22263 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22264 fields.
22265
346d65b3
RM
222662013-06-17 Roland McGrath <roland@hack.frob.com>
22267
12086fb4
RM
22268 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22269 length of target pattern, then descending length of dependency pattern.
22270 * configure.in (AWK): Require gawk 3.1.2 or newer.
22271 * manual/install.texi (Tools for Compilation): Say that we do.
22272 * configure: Regenerated.
22273
346d65b3
RM
22274 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22275 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22276 * scripts/sysd-rules.awk: ... this new script.
22277 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22278 than a glob-style pattern.
22279
1a846317
JM
222802013-06-17 Joseph Myers <joseph@codesourcery.com>
22281
22282 * math/test-misc.c (main): Do not treat incorrectly rounded
22283 conversions as failure unless ROUNDING_TESTS passes.
22284
8fc75e6f
JM
222852013-06-15 Joseph Myers <joseph@codesourcery.com>
22286
3711a167
JM
22287 [BZ #15631]
22288 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22289 restore exception state around main square root computation, then
22290 check for inexactness explicitly.
22291
8fc75e6f
JM
22292 * math/libm-test.inc (fma_test_data): Add another test.
22293
61dd6208
SP
222942013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22295
adf23d2c
SP
22296 * manual/threads.texi (Non-POSIX Extensions): New document
22297 node. Document pthread_getattr_default_np and
22298 pthread_setattr_default_np.
22299
61dd6208
SP
22300 * Versions.def (libpthread): Add GLIBC_2.18.
22301 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22303 Likewise.
22304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22305 Likewise.
22306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22307 Likewise.
22308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22309 Likewise.
22310 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22311 Likewise.
22312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22313 Likewise.
22314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22315 Likewise.
22316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22317 Likewise.
22318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22319 Likewise.
22320
d086fc7b
LD
223212013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22322
22323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22324 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22325
747ef469
SP
223262013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22327 H.J. Lu <hjl.tools@gmail.com>
22328
22329 [BZ #15627]
22330 * sysdeps/x86_64/rtld-memset.c: Remove file.
22331 * sysdeps/x86_64/rtld-memset.S: New file.
22332
1b2feed2
JM
223332013-06-14 Joseph Myers <joseph@codesourcery.com>
22334
22335 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22336 (test_in_one_mode): Take arguments for whether the rounding mode
22337 is supported for each floating-point type.
22338 (do_test): Pass new arguments to test_in_one_mode using
22339 ROUNDING_TESTS.
22340
a58ad3f8
RM
223412013-06-13 Roland McGrath <roland@hack.frob.com>
22342
22343 * posix/tst-waitid.c (do_test): Distinguish different instances of
22344 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22345 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22346 before entering the kernel for waitpid.
22347
c204ab28
SP
223482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22349
22350 * NEWS: Fix note on clock function precision. Text by Roland
22351 McGrath.
22352
f4a29fba
RM
223532013-06-13 Roland McGrath <roland@hack.frob.com>
22354
22355 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22356 it into place only when and if the sanity check passes.
22357
1f24b9ad
JM
223582013-06-13 Joseph Myers <joseph@codesourcery.com>
22359
22360 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22361 output for whether conversion result is exact. Take argument
22362 indicating whether type is IBM long double.
22363 (round_for_all): Change need_exact field to ibm_ld.
22364 * stdlib/tst-strtod-round.c (struct exactness): New type.
22365 (struct test): Change bool ld_ok field to struct exactness exact.
22366 (TEST): Update all definitions for change to field.
22367 (tests): Regenerate array contents.
22368 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22369 field value. Check for IBM long double here.
22370 (do_test): Update calls to test_in_one_mode.
22371
58206c68
SP
223722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22373
22374 [BZ #12515]
22375 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22376 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22377
2d6f4c5b 223782013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22379
22380 [BZ #15605]
22381 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22382 generated by the compiler on loop optimizations.
22383 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22384 general definitions.
22385
94f2c076
JM
223862013-06-12 Joseph Myers <joseph@codesourcery.com>
22387
22388 * math/bug-nextafter.c: Include <math-tests.h>.
22389 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22390 the relevant type.
22391 * math/bug-nexttoward.c: Include <math-tests.h>.
22392 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22393 the relevant type.
22394 * math/test-misc.c: Include <math-tests.h>.
22395 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22396 the relevant type.
22397
e0e50a0a
AJ
223982013-06-12 Andreas Jaeger <aj@suse.de>
22399
22400 * po/ia.po: Update Interlingua translation from translation
22401 project.
22402
25061094
SP
224032013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22404
22405 * include/fenv.h: Include stdbool.h.
22406 (struct rm_ctx): New structure.
22407 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22408 Define macro.
22409 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22410 (SET_RESTORE_ROUNDF): Likewise.
22411 (SET_RESTORE_ROUNDL): Likewise.
22412 (SET_RESTORE_ROUND_NOEX): Likewise.
22413 (SET_RESTORE_ROUND_NOEXF): Likewise.
22414 (SET_RESTORE_ROUND_NOEXL): Likewise.
22415 (SET_RESTORE_ROUND_53BIT): Likewise.
22416 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22417 (libc_feresetround_noexf_ctx): Likewise.
22418 (libc_feresetround_noexl_ctx): Likewise.
22419 (libc_feholdsetround_53bit_ctx): Likewise.
22420 (libc_feresetround_53bit_ctx): Likewise.
22421 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22422 (libc_feholdexcept_setround_sse_ctx): New function.
22423 (libc_fesetenv_sse_ctx): Likewise.
22424 (libc_feupdateenv_sse_ctx): Likewise.
22425 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22426 (libc_feholdexcept_setround_387_ctx): Likewise.
22427 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22428 (libc_feholdsetround_387_prec_ctx): Likewise.
22429 (libc_feholdsetround_387_ctx): Likewise.
22430 (libc_feholdsetround_387_53bit_ctx): Likewise.
22431 (libc_feholdsetround_sse_ctx): Likewise.
22432 (libc_feresetround_sse_ctx): Likewise.
22433 (libc_feresetround_387_ctx): Likewise.
22434 (libc_feupdateenv_387_ctx): Likewise.
22435 (libc_feholdexcept_setroundf_ctx): Define macro.
22436 (libc_fesetenvf_ctx): Likewise.
22437 (libc_feupdateenvf_ctx): Likewise.
22438 (libc_feholdsetroundf_ctx): Likewise.
22439 (libc_feresetroundf_ctx): Likewise.
22440 (libc_feholdexcept_setround_ctx): Likewise.
22441 (libc_fesetenv_ctx): Likewise.
22442 (libc_feupdateenv_ctx): Likewise.
22443 (libc_feholdsetround_ctx): Likewise.
22444 (libc_feresetround_ctx): Likewise.
22445 (libc_feholdexcept_setroundl_ctx): Likewise.
22446 (libc_feupdateenvl_ctx): Likewise.
22447 (libc_feholdsetroundl_ctx): Likewise.
22448 (libc_feresetroundl_ctx): Likewise.
22449 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22450 (libc_feresetround_53bit_ctx): Likewise.
22451
59b30555
SP
224522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22453
22454 * locale/iso-639.def: Convert to UTF-8.
22455
f1d73d30
JM
224562013-06-11 Joseph Myers <joseph@codesourcery.com>
22457
22458 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22459 (EXCEPTION_TESTS_double): Likewise.
22460 (EXCEPTION_TESTS_long_double): Likewise.
22461 (EXCEPTION_TESTS): Likewise.
22462 * math/libm-test.inc (test_exceptions): Only test exceptions if
22463 EXCEPTION_TESTS (FLOAT).
22464
94aca5e7
SP
224652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22466
22467 * benchtests/Makefile (string-bench): Add strcpy_chk and
22468 stpcpy_chk.
22469 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22470 * benchtests/bench-stpcpy_chk.c: New file.
22471 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22472 * benchtests/bench-strcpy_chk.c: New file.
22473 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22474 code.
22475 (do_test): Likewise.
22476
fac0c5f2
RA
224772013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22478
22479 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22480 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22481 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22482 with tabs where appropriate.
22483 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22484 dl-procinfo.h.
22485 [PPC_PLATFORM_PPC440]: Likewise.
22486 [PPC_PLATFORM_PPC464]: Likewise.
22487 [PPC_PLATFORM_PPC476]: Likewise.
22488 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22489 ppc464, and ppc476 platform strings merging from ports/
22490 dl-procinfo.h.
22491
f22bc486
AS
224922013-06-11 Andreas Schwab <schwab@suse.de>
22493
22494 [BZ #14991]
22495 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22496 (from_ucs4_idx): Regenerate.
22497 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22498 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22499 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22500 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22501 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22502 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22503 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22504 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22505 from FROM_LOOP and TO_LOOP specific macros.
22506 (BODY): Handle combining characters.
22507 * iconvdata/BIG5HKSCS.irreversible: Update.
22508 * iconvdata/BIG5HKSCS.precomposed: New file.
22509 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22510 characters.
22511 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22512
c1f75dc3
SP
225132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22514
4eacded2
SP
22515 * include/sys/time.h: Fix indentation and add copyright header.
22516
fec799f8
SP
22517 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22518 (do_test): Likewise.
22519 * string/test-memchr.c (do_one_test): Likewise.
22520 (do_test): Likewise.
22521 * string/test-memcmp.c (do_one_test): Likewise.
22522 (do_test): Likewise.
22523 * string/test-memcpy.c (do_one_test): Likewise.
22524 (do_test): Likewise.
22525 * string/test-memmem.c (do_one_test): Likewise.
22526 (do_test): Likewise.
22527 (do_random_tests): Likewise.
22528 * string/test-memmove.c (do_one_test): Likewise.
22529 (do_test): Likewise.
22530 * string/test-memset.c (do_one_test): Likewise.
22531 (do_test): Likewise.
22532 * string/test-rawmemchr.c (do_one_test): Likewise.
22533 (do_test): Likewise.
22534 * string/test-strcasecmp.c (do_one_test): Likewise.
22535 (do_test): Likewise.
22536 * string/test-strcasestr.c (do_one_test): Likewise.
22537 (do_test): Likewise.
22538 * string/test-strcat.c (do_one_test): Likewise.
22539 (do_test): Likewise.
22540 * string/test-strchr.c (do_one_test): Likewise.
22541 (do_test): Likewise.
22542 * string/test-strcmp.c (do_one_test): Likewise.
22543 (do_test): Likewise.
22544 * string/test-strcpy.c (do_one_test): Likewise.
22545 (do_test): Likewise.
22546 * string/test-string.h: Likewise.
22547 (test_init): Likewise.
22548 * string/test-strlen.c (do_one_test): Likewise.
22549 (do_test): Likewise.
22550 * string/test-strncasecmp.c (do_one_test): Likewise.
22551 (do_test): Likewise.
22552 * string/test-strncat.c (do_one_test): Likewise.
22553 (do_test): Likewise.
22554 * string/test-strncmp.c (do_one_test): Likewise.
22555 (do_test_limit): Likewise.
22556 (do_test): Likewise.
22557 * string/test-strncpy.c (do_one_test): Likewise.
22558 (do_test): Likewise.
22559 * string/test-strnlen.c (do_one_test): Likewise.
22560 (do_test): Likewise.
22561 * string/test-strpbrk.c (do_one_test): Likewise.
22562 (do_test): Likewise.
22563 * string/test-strrchr.c (do_one_test): Likewise.
22564 (do_test): Likewise.
22565 * string/test-strspn.c (do_one_test): Likewise.
22566 (do_test): Likewise.
22567 * string/test-strstr.c (do_one_test): Likewise.
22568 (do_test): Likewise.
22569
97020474
SP
22570 * benchtests/Makefile (string-bench): Add string benchmarks.
22571 * benchtests/bench-bcopy-ifunc.c: New file.
22572 * benchtests/bench-bcopy.c: New file.
22573 * benchtests/bench-bzero-ifunc.c: New file.
22574 * benchtests/bench-bzero.c: New file.
22575 * benchtests/bench-memccpy-ifunc.c: New file.
22576 * benchtests/bench-memccpy.c: New file.
22577 * benchtests/bench-memchr-ifunc.c: New file.
22578 * benchtests/bench-memchr.c: New file.
22579 * benchtests/bench-memcmp-ifunc.c: New file.
22580 * benchtests/bench-memcmp.c: New file.
22581 * benchtests/bench-memmem-ifunc.c: New file.
22582 * benchtests/bench-memmem.c: New file.
22583 * benchtests/bench-memmove-ifunc.c: New file.
22584 * benchtests/bench-memmove.c: New file.
22585 * benchtests/bench-mempcpy-ifunc.c: New file.
22586 * benchtests/bench-mempcpy.c: New file.
22587 * benchtests/bench-memset-ifunc.c: New file.
22588 * benchtests/bench-memset.c: New file.
22589 * benchtests/bench-rawmemchr-ifunc.c: New file.
22590 * benchtests/bench-rawmemchr.c: New file.
22591 * benchtests/bench-stpcpy-ifunc.c: New file.
22592 * benchtests/bench-stpcpy.c: New file.
22593 * benchtests/bench-stpncpy-ifunc.c: New file.
22594 * benchtests/bench-stpncpy.c: New file.
22595 * benchtests/bench-strcasecmp-ifunc.c: New file.
22596 * benchtests/bench-strcasecmp.c: New file.
22597 * benchtests/bench-strcasestr-ifunc.c: New file.
22598 * benchtests/bench-strcasestr.c: New file.
22599 * benchtests/bench-strcat-ifunc.c: New file.
22600 * benchtests/bench-strcat.c: New file.
22601 * benchtests/bench-strchr-ifunc.c: New file.
22602 * benchtests/bench-strchr.c: New file.
22603 * benchtests/bench-strchrnul-ifunc.c: New file.
22604 * benchtests/bench-strchrnul.c: New file.
22605 * benchtests/bench-strcmp-ifunc.c: New file.
22606 * benchtests/bench-strcmp.c: New file.
22607 * benchtests/bench-strcpy-ifunc.c: New file.
22608 * benchtests/bench-strcpy.c: New file.
22609 * benchtests/bench-strcspn-ifunc.c: New file.
22610 * benchtests/bench-strcspn.c: New file.
22611 * benchtests/bench-strlen-ifunc.c: New file.
22612 * benchtests/bench-strlen.c: New file.
22613 * benchtests/bench-strncasecmp-ifunc.c: New file.
22614 * benchtests/bench-strncasecmp.c: New file.
22615 * benchtests/bench-strncat-ifunc.c: New file.
22616 * benchtests/bench-strncat.c: New file.
22617 * benchtests/bench-strncmp-ifunc.c: New file.
22618 * benchtests/bench-strncmp.c: New file.
22619 * benchtests/bench-strncpy-ifunc.c: New file.
22620 * benchtests/bench-strncpy.c: New file.
22621 * benchtests/bench-strnlen-ifunc.c: New file.
22622 * benchtests/bench-strnlen.c: New file.
22623 * benchtests/bench-strpbrk-ifunc.c: New file.
22624 * benchtests/bench-strpbrk.c: New file.
22625 * benchtests/bench-strrchr-ifunc.c: New file.
22626 * benchtests/bench-strrchr.c: New file.
22627 * benchtests/bench-strspn-ifunc.c: New file.
22628 * benchtests/bench-strspn.c: New file.
22629 * benchtests/bench-strstr-ifunc.c: New file.
22630 * benchtests/bench-strstr.c: New file.
22631
c1f75dc3
SP
22632 * benchtests/Makefile: Disable parallel execution of targets.
22633 (string-bench): Add memcpy.
22634 (benchset): New variable to store a list of benchmark sets.
22635 (bench-func): Renamed from bench.
22636 (bench-set): New target.
22637 (bench): Depend on bench-func and bench-set.
22638 * benchtests/README: Add section on benchmark sets.
22639 * benchtests/bench-memcpy-ifunc.c: New file.
22640 * benchtests/bench-memcpy.c: New file.
22641 * benchtests/bench-string.h: New file.
22642
50fd745b
AS
226432013-06-11 Andreas Schwab <schwab@suse.de>
22644
22645 [BZ #15577]
22646 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22647 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22648 values in the triple.
22649 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22650 terminator in the group key.
22651
3ee7e9fe
AJ
226522013-06-11 Andreas Jaeger <aj@suse.de>
22653
22654 * po/zh_TW.po: Update Chinese (traditional) translation from
22655 translation project.
22656
89fb6835
SP
226572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22658
22659 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22660 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22661 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22663 (clock_getcpuclockid): Likewise.
22664 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22665 Add weak_alias and libc_hidden_def.
22666 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22667 * rt/clock_gettime.c (clock_gettime): Rename to
22668 __clock_gettime. Add weak_alias and libc_hidden_def.
22669 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22670 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22671 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22672 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22673 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22674 Likewise.
22675 * rt/clock_settime.c (clock_settime): Rename to
22676 __clock_settime. Add weak_alias and libc_hidden_def.
22677 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22678
0efa6f8b
JM
226792013-06-10 Joseph Myers <joseph@codesourcery.com>
22680
b8c61b4b
JM
22681 * mach/err_boot.sub: Remove trailing whitespace.
22682 * mach/err_ipc.sub: Likewise.
22683 * mach/err_mach.sub: Likewise.
22684
0efa6f8b
JM
22685 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22686 (ROUNDING_TESTS_double): Likewise.
22687 (ROUNDING_TESTS_long_double): Likewise.
22688 (ROUNDING_TESTS): Likewise.
22689 * math/libm-test.inc: Include <math-tests.h>.
22690 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22691 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22692 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22693 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22694
50b818bf
SP
226952013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22696
22697 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22698 of assigning.
22699
60d2f8f3
JM
227002013-06-08 Joseph Myers <joseph@codesourcery.com>
22701
4902d2c3
JM
22702 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22703 otherwise empty TRANS lines.
22704 * sysdeps/gnu/errlist.c: Regenerated.
22705
60d2f8f3
JM
22706 * catgets/gencat.c (error_print): Use (void) in function
22707 definition.
22708 * crypt/crypt_util.c (__init_des): Likewise.
22709 * crypt/speeds.c (Stop): Likewise.
22710 (main): Likewise.
22711 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22712 * inet/ruserpass.c (token): Likewise.
22713 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22714 * intl/localealias.c (extend_alias_table): Likewise.
22715 * intl/plural-exp.c (init_germanic_plural): Likewise.
22716 * libio/fcloseall.c (__fcloseall): Likewise.
22717 * libio/genops.c (_IO_flush_all): Likewise.
22718 (_IO_flush_all_linebuffered): Likewise.
22719 (_IO_cleanup): Likewise.
22720 (_IO_iter_begin): Likewise.
22721 (_IO_iter_end): Likewise.
22722 (_IO_list_lock): Likewise.
22723 (_IO_list_unlock): Likewise.
22724 (_IO_list_resetlock): Likewise.
22725 * libio/getchar.c (getchar): Likewise.
22726 * libio/getchar_u.c (getchar_unlocked): Likewise.
22727 * libio/getwchar.c (getwchar): Likewise.
22728 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22729 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22730 * login/getpt.c (__getpt): Likewise.
22731 * login/tst-utmp.c (main): Likewise.
22732 * malloc/hooks.c (__malloc_check_init): Likewise.
22733 * malloc/malloc.c (__malloc_stats): Likewise.
22734 * malloc/mtrace.c (tr_break): Likewise.
22735 (mtrace): Likewise.
22736 (muntrace): Likewise.
22737 * misc/fstab.c (endfsent): Likewise.
22738 * misc/getclktck.c (__getclktck): Likewise.
22739 * misc/getdtsz.c (__getdtablesize): Likewise.
22740 * misc/gethostid.c (gethostid): Likewise.
22741 * misc/getpagesize.c (__getpagesize): Likewise.
22742 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22743 (__get_nprocs): Likewise.
22744 (__get_phys_pages): Likewise.
22745 (__get_avphys_pages): Likewise.
22746 * misc/getttyent.c (getttyent): Likewise.
22747 (setttyent): Likewise.
22748 (endttyent): Likewise.
22749 * misc/getusershell.c (getusershell): Likewise.
22750 (endusershell): Likewise.
22751 (setusershell): Likewise.
22752 (initshells): Likewise.
22753 * misc/hsearch.c (__hdestroy): Likewise.
22754 * misc/sync.c (sync): Likewise.
22755 * misc/syslog.c (closelog_internal): Likewise.
22756 (closelog): Likewise.
22757 * misc/ttyslot.c (ttyslot): Likewise.
22758 * misc/vhangup.c (vhangup): Likewise.
22759 * posix/fork.c (__fork): Likewise.
22760 * posix/getegid.c (__getegid): Likewise.
22761 * posix/geteuid.c (__geteuid): Likewise.
22762 * posix/getgid.c (__getgid): Likewise.
22763 * posix/getpid.c (__getpid): Likewise.
22764 * posix/getppid.c (__getppid): Likewise.
22765 * posix/getuid.c (__getuid): Likewise.
22766 * posix/pause.c (pause): Likewise.
22767 * posix/setpgrp.c (setpgrp): Likewise.
22768 * posix/setsid.c (__setsid): Likewise.
22769 * posix/test-vfork.c (noop): Likewise.
22770 * resolv/gethnamaddr.c (_endhtent): Likewise.
22771 (_gethtent): Likewise.
22772 (ht_endhostent): Likewise.
22773 (gethostent): Likewise.
22774 (dns_service): Likewise.
22775 * stdlib/drand48.c (drand48): Likewise.
22776 * stdlib/lrand48.c (lrand48): Likewise.
22777 * stdlib/mrand48.c (mrand48): Likewise.
22778 * stdlib/rand.c (rand): Likewise.
22779 * stdlib/random.c (__random): Likewise.
22780 * stdlib/setenv.c (clearenv): Likewise.
22781 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22782 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22783 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22784 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22785 (__get_nprocs): Likewise.
22786 (__get_phys_pages): Likewise.
22787 (__get_avphys_pages): Likewise.
22788 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22789 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22790 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22791 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22792 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22793 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22794 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22795 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22796 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22797 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22798 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22799 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22800 * sysdeps/posix/clock.c (clock): Likewise.
22801 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22802 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22803 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22804 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22805 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22806 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22807 (__get_nprocs_conf): Likewise.
22808 (__get_phys_pages): Likewise.
22809 (__get_avphys_pages): Likewise.
22810 * time/clock.c (clock): Likewise.
22811 * time/tzset.c (__tzname_max): Likewise.
22812
2e09a79a
JM
228132013-06-07 Joseph Myers <joseph@codesourcery.com>
22814
22815 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22816 (__bswap_32): Do not use "register".
22817 * crypt/crypt.c (_ufc_doit_r): Likewise.
22818 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22819 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22820 * gmon/gmon.c (__monstartup): Likewise.
22821 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22822 * hurd/hurdmalloc.c (more_memory): Likewise.
22823 (malloc): Likewise.
22824 (free): Likewise.
22825 (realloc): Likewise.
22826 (malloc_fork_prepare): Likewise.
22827 (malloc_fork_parent): Likewise.
22828 (malloc_fork_child): Likewise.
22829 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22830 (_svcauth_des): Likewise.
22831 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22832 * inet/inet_net.c (inet_network): Likewise.
22833 * inet/inet_netof.c (inet_netof): Likewise.
22834 * inet/rcmd.c (__validuser2_sa): Likewise.
22835 * io/fts.c (fts_open): Likewise.
22836 (fts_load): Likewise.
22837 (fts_close): Likewise.
22838 (fts_read): Likewise.
22839 (fts_children): Likewise.
22840 (fts_build): Likewise.
22841 (fts_stat): Likewise.
22842 (fts_sort): Likewise.
22843 (fts_alloc): Likewise.
22844 (fts_lfree): Likewise.
22845 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22846 (_IO_file_xsgetn): Likewise.
22847 (_IO_file_xsgetn_mmap): Likewise.
22848 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22849 (_IO_cookie_write): Likewise.
22850 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22851 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22852 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22853 * malloc/obstack.c (_obstack_begin): Likewise.
22854 (_obstack_begin_1): Likewise.
22855 (_obstack_newchunk): Likewise.
22856 (_obstack_allocated_p): Likewise.
22857 (obstack_free): Likewise.
22858 (_obstack_memory_used): Likewise.
22859 * misc/getttyent.c (getttynam): Likewise.
22860 (getttyent): Likewise.
22861 (skip): Likewise.
22862 (value): Likewise.
22863 * misc/getusershell.c (initshells): Likewise.
22864 * misc/syslog.c (__vsyslog_chk): Likewise.
22865 * misc/ttyslot.c (ttyslot): Likewise.
22866 * nis/nis_hash.c (__nis_hash): Likewise.
22867 * posix/fnmatch_loop.c (FCT): Likewise.
22868 * posix/getconf.c (print_all): Likewise.
22869 (main): Likewise.
22870 * posix/getopt.c (exchange): Likewise.
22871 * posix/glob.c (globfree): Likewise.
22872 (prefix_array): Likewise.
22873 (__glob_pattern_type): Likewise.
22874 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22875 (NS_GET32): Likewise.
22876 (NS_PUT16): Likewise.
22877 (NS_PUT32): Likewise.
22878 * resolv/gethnamaddr.c (getanswer): Likewise.
22879 (gethostbyname2): Likewise.
22880 (gethostbyaddr): Likewise.
22881 (_gethtent): Likewise.
22882 (_gethtbyname2): Likewise.
22883 (_gethtbyaddr): Likewise.
22884 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22885 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22886 * resolv/res_init.c (__res_vinit): Likewise.
22887 (net_mask): Likewise.
22888 * resolv/res_mkquery.c (outchar): Likewise.
22889 (PRINT): Likewise.
22890 * stdio-common/printf_fp.c (outchar): Likewise.
22891 (PRINT): Likewise.
22892 * stdio-common/printf_fphex.c (outchar): Likewise.
22893 (PRINT): Likewise.
22894 * stdio-common/printf_size.c (outchar): Likewise.
22895 (PRINT): Likewise.
22896 * stdio-common/test_rdwr.c (main): Likewise.
22897 * stdio-common/tfformat.c (matches): Likewise.
22898 * stdio-common/vfprintf.c (outchar): Likewise.
22899 (printf_unknown): Likewise.
22900 (buffered_vfprintf): Likewise.
22901 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22902 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22903 (ReadFile): Likewise.
22904 * stdlib/qsort.c (SWAP): Likewise.
22905 (_quicksort): Likewise.
22906 * stdlib/setenv.c (__add_to_environ): Likewise.
22907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22908 * stdlib/strtol_l.c (__strtol_l): Likewise.
22909 * stdlib/tst-strtod.c (main): Likewise.
22910 * stdlib/tst-strtol.c (main): Likewise.
22911 * stdlib/tst-strtoll.c (main): Likewise.
22912 * string/bits/string2.h (__strcmp_cc): Likewise.
22913 (__strcmp_cg): Likewise.
22914 (__strcspn_c1): Likewise.
22915 (__strcspn_c2): Likewise.
22916 (__strcspn_c3): Likewise.
22917 (__strspn_c1): Likewise.
22918 (__strspn_c2): Likewise.
22919 (__strspn_c3): Likewise.
22920 (__strsep_1c): Likewise.
22921 (__strsep_2c): Likewise.
22922 (__strsep_3c): Likewise.
22923 * string/memccpy.c (__memccpy): Likewise.
22924 * string/stpcpy.c (__stpcpy): Likewise.
22925 * string/strcmp.c (strcmp): Likewise.
22926 * string/strrchr.c (strrchr): Likewise.
22927 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22928 Likewise.
22929 * sysdeps/mach/hurd/getcwd.c
22930 (_hurd_canonicalize_directory_name_internal): Likewise.
22931 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22932 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22933 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22934 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22935 Likewise, in both definitions.
22936 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22937 definitions.
22938 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22939 64] (__bswap_64): Likewise.
22940 * time/test_time.c (main): Likewise.
22941 * time/tzfile.c (__tzfile_read): Likewise.
22942 (__tzfile_compute): Likewise.
22943 * time/tzset.c (__tzset_parse_tz): Likewise.
22944 (tzset_internal): Likewise.
22945 (compute_change): Likewise.
22946 * wcsmbs/wcscat.c (__wcscat): Likewise.
22947 * wcsmbs/wcschr.c (wcschr): Likewise.
22948 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22949 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22950 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22951 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22952 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22953 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22954 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22955 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22956 * wcsmbs/wmemset.c (wmemset): Likewise.
22957
9e54314b
JM
229582013-06-06 Joseph Myers <joseph@codesourcery.com>
22959
22960 * scripts/config.guess: Update to version 2013-05-16.
22961 * scripts/config.sub: Update to version 2013-04-24.
22962 * scripts/install-sh: Update to version 2011-11-20.07.
22963 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22964 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22965
350635a5
OB
229662013-06-06 Ondřej Bílka <neleai@seznam.cz>
22967
22968 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22969 * elf/sln.c: Likewise.
22970 * hurd/hurd/ioctl.h: Likewise.
22971 * hurd/hurdmalloc.c: Likewise.
22972 * hurd/xattr.c: Likewise.
22973 * include/shlib-compat.h: Likewise.
22974 * inet/ruserpass.c: Likewise.
22975 * libio/iofgets_u.c: Likewise.
22976 * libio/iofgetws_u.c: Likewise.
22977 * locale/programs/ld-identification.c: Likewise.
22978 * locale/programs/ld-time.c: Likewise.
22979 * mach/msg-destroy.c: Likewise.
22980 * nss/nss_files/files-netgrp.c: Likewise.
22981 * resolv/res_data.c: Likewise.
22982 * soft-fp/op-1.h: Likewise.
22983 * soft-fp/op-2.h: Likewise.
22984 * soft-fp/op-4.h: Likewise.
22985 * soft-fp/op-common.h: Likewise.
22986 * stdio-common/printf_fphex.c: Likewise.
22987 * stdlib/strtod_l.c: Likewise.
22988 * sunrpc/rpc/clnt.h: Likewise.
22989 * sysdeps/generic/framestate.c: Likewise.
22990 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22991 * sysdeps/i386/bsd-setjmp.S: Likewise.
22992 * sysdeps/i386/__longjmp.S: Likewise.
22993 * sysdeps/i386/setjmp.S: Likewise.
22994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22995 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23007 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23008 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23011 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23012 * sysdeps/ieee754/support.c: Likewise.
23013 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23014 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23015 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23016 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23017 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23018 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23019 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23020 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23021 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23022 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23023 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23024 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23025 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23026 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23027 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23028 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23029 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23031
44a988af
OB
230322013-06-05 Ondřej Bílka <neleai@seznam.cz>
23033
25506f09 23034 * posix/transbug.c: Remove executable mode.
44a988af 23035
9c84384c
JM
230362013-06-05 Joseph Myers <joseph@codesourcery.com>
23037
23038 * crypt/speeds.c: Remove trailing whitespace.
23039 * dlfcn/default.c: Likewise.
23040 * elf/ifuncdep2.c: Likewise.
23041 * elf/ifuncmain1.c: Likewise.
23042 * elf/ifuncmain1vis.c: Likewise.
23043 * elf/testobj.h: Likewise.
23044 * elf/tst-stackguard1.c: Likewise.
23045 * gmon/sys/gmon.h: Likewise.
23046 * hurd/hurdmsg.c: Likewise.
23047 * hurd/new-fd.c: Likewise.
23048 * hurd/ports-get.c: Likewise.
23049 * iconvdata/ibm1008_420.c: Likewise.
23050 * inet/tst-getni1.c: Likewise.
23051 * inet/tst-getni2.c: Likewise.
23052 * libio/ioungetc.c: Likewise.
23053 * libio/wfiledoalloc.c: Likewise.
23054 * manual/libm-err-tab.pl: Likewise.
23055 * math/w_dremf.c: Likewise.
23056 * misc/ftruncate.c: Likewise.
23057 * posix/bug-glob2.c: Likewise.
23058 * posix/tst-pcre.c: Likewise.
23059 * posix/wait4.c: Likewise.
23060 * resolv/README: Likewise.
23061 * resolv/res_debug.h: Likewise.
23062 * resolv/tst-inet_ntop.c: Likewise.
23063 * setjmp/bug269-setjmp.c: Likewise.
23064 * soft-fp/extended.h: Likewise.
23065 * soft-fp/op-1.h: Likewise.
23066 * soft-fp/op-2.h: Likewise.
23067 * soft-fp/op-4.h: Likewise.
23068 * soft-fp/op-8.h: Likewise.
23069 * soft-fp/testit.c: Likewise.
23070 * stdio-common/bug16.c: Likewise.
23071 * stdlib/random.c: Likewise.
23072 * sunrpc/rpcsvc/rquota.x: Likewise.
23073 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23078 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23079 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23080 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23081 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23082 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23083 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23084 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23085 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23086 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23087 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23088 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23089 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23091 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23094 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23096 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23097 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23098 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23099 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23102 * sysdeps/ieee754/s_lib_version.c: Likewise.
23103 * sysdeps/mach/hurd/check_fds.c: Likewise.
23104 * sysdeps/mach/hurd/getsockname.c: Likewise.
23105 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23106 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23107 * sysdeps/powerpc/bits/link.h: Likewise.
23108 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23109 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23110 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23111 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23112 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23113 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23114 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23115 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23116 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23117 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23118 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23119 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23120 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23121 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23122 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23123 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23125 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23126 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23127 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23128 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23129 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23130 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23131 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23132 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23134 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23135 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23136 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23137 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23138 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23139 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23140 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23141 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23142 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23143 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23144 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23145 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23146 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23147 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23148 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23149 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23150 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23151 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23152 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23153 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23154 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23155 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23156 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23157 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23160 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23161 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23162 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23163 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23164 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23165 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23166 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23167 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23168 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23169 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23170 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23171 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23172 * sysdeps/powerpc/sysdep.h: Likewise.
23173 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23174 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23175 * sysdeps/sh/dl-trampoline.S: Likewise.
23176 * sysdeps/sh/memset.S: Likewise.
23177 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23178 * sysdeps/sh/strlen.S: Likewise.
23179 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23180 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23181 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23182 * sysdeps/sparc/sparc32/rem.S: Likewise.
23183 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23184 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23185 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23186 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23187 * sysdeps/sparc/sparc32/urem.S: Likewise.
23188 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23189 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23190 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23191 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23193 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23194 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23195 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23196 * sysdeps/unix/bsd/times.c: Likewise.
23197 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23198 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23202 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23203 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23204 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23205 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23206 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23207 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23208 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23209 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23210 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23211 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23212 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23213 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23214 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23215 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23216 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23217 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23218 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23219 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23220 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23221 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23222 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23223 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23224 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23225 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23226 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23227 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23228 * sysdeps/x86_64/strcspn.S: Likewise.
23229
869378a5
RA
232302013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23231
23232 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23233 generated file. Regenerate properly from gen-translit.pl.
23234 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23235 locale/C-translit.h.
23236
840e2943
AS
232372013-06-05 Andreas Schwab <schwab@suse.de>
23238
23239 [BZ #15100]
23240 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23241 week as 6 instead of -1.
23242 * time/tst-strptime.c (day_tests): Add test case.
23243
4c60cb0c
SP
232442013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23245
23246 * sysdeps/generic/math_private.h
23247 (libc_feholdexcept_setround_53bit): Replace with
23248 libc_feholdsetround_53bit.
23249 (libc_feupdateenv_53bit): Replace with
23250 libc_feresetround_53bit.
23251 (SET_RESTORE_ROUND_53BIT): Adjust.
23252
d180203e
SP
232532013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23254
96df079a
SP
23255 * string/test-strchrnul.c: Add copyright header.
23256
d180203e
SP
23257 * posix/tst-getaddrinfo4.c: Increase test timeout.
23258
8b0ccb2d
CD
232592013-06-03 Carlos O'Donell <carlos@redhat.com>
23260
23261 [BZ #15536]
23262 * math/libm-test.inc (MAX_EXP): Remove
23263 (MIN_EXP): Define.
23264 (ulp): Use MIN_EXP - MANT_DIG.
23265 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23266
3b3c4d40
CD
232672013-05-31 Carlos O'Donell <carlos@redhat.com>
23268
23269 * po/be.po: Revert last change.
23270 * po/zh_CN.po: Likewise.
23271 * po/header.pot: Likewise.
23272
fab7ce3f
JM
232732013-05-31 Joseph Myers <joseph@codesourcery.com>
23274
23275 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23276 link-libc-deps to empty as target-specific variable.
23277 * Makerules (link-libc-args): New variable.
23278 (libc-for-link): Likewise.
23279 (link-libc-deps): Likewise.
23280 (lib%.so): Depend on $(link-libc-deps). Link with
23281 $(link-libc-args).
23282 (build-module): Link with $(link-libc-args).
23283 (build-module-asneeded): Likewise.
23284 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23285 list of objects.
23286 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23287 target-specific variable.
23288 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23289 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23290 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23291 libc.
23292 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23293 libc and ld.so.
23294 ($(objpfx)libpcprofile.so): Likewise.
23295 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23296 libc_nonshared.a.
23297 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23298 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23299 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23300 $(link-libc-deps).
23301 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23302 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23303 * login/Makefile ($(objpfx)libutil.so): Likewise.
23304 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23305 * math/Makefile ($(objpfx)libm.so): Likewise.
23306 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23307 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23308 variable instead of depending directly on libc.
23309 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23310 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23311 $(link-libc-deps).
23312 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23313 libc.
23314 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23315 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23316 ($(objpfx)libanl.so): Likewise.
23317 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23318 ld.so.
23319 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23320 $(link-libc-deps).
23321 * sysdeps/i386/fpu/Makefile: Remove file.
23322 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23323 ($(objpfx)libm.so): Remove dependency on ld.so.
23324
eca5920c
PF
233252013-05-30 Patsy Franklin <pfrankli@redhat.com>
23326
23327 [BZ # 15553]
23328 * nis/yp_xdr.c (XDRMAXNAME): Define.
23329 (XDRMAXRECORD): Define.
23330 (xdr_domainname): Use XDRMAXNAME.
23331 (xdr_mapname): Likewise.
23332 (xdr_peername): Likewise.
23333 (xdr_keydat): Use XDRMAXRECORD.
23334 (xdr_valdat): Likewise.
23335
233362013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23337
23338 [BZ #14256]
23339 * manual/errno.texi (ESTALE): Update to account for more than
23340 just NFS file systems.
23341 * sysdeps/gnu/errlist.c: Regenerated.
23342
b9375348
SP
233432013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23344
23345 [BZ #15465]
23346 * elf/Makefile (tests): Add tst-null-argv.
23347 (modules-names): Add tst-null-argv-lib.
23348 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23349 (tst-null-argv-ENV): Set environment for tst-null-argv.
23350 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23351 (RTLD_PROGNAME): New macro.
23352 * elf/tst-null-argv.c: New test case.
23353 * elf/tst-null-argv-lib.c: Library for test case.
23354 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23355 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23356 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23357 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23358 * elf/dl-init.c (call_init): Likewise.
23359 (_dl_init): Likewise.
23360 * elf/dl-load.c (print_search_path): Likewise.
23361 (_dl_map_object): Likewise.
23362 * elf/dl-lookup.c (do_lookup_x): Likewise.
23363 (add_dependency): Likewise.
23364 (_dl_lookup_symbol_x): Likewise.
23365 (_dl_debug_bindings): Likewise.
23366 * elf/dl-open.c (_dl_show_scope): Likewise.
23367 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23368 * elf/dl-version.c (match_symbol): Likewise.
23369 (_dl_check_map_versions): Likewise.
23370 * elf/rtld.c (dl_main): Likewise.
23371 (print_unresolved): Use RTLD_PROGNAME.
23372 (print_missing_version): Likewise.
23373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23374 (elf_machine_rela): Likewise.
23375 * sysdeps/powerpc/powerpc32/dl-machine.c
23376 (__process_machine_rela): Likewise.
23377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23378 Likewise.
23379 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23380 Likewise.
23381 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23382 Likewise.
23383 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23385 Likewise.
23386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23387 Likewise.
23388 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23389
8a9f20c8
CD
233902013-05-28 Carlos O'Donell <carlos@redhat.com>
23391
23392 * po/be.po: Add descriptive title.
23393 * po/zh_CN.po: Likewise.
23394 * po/header.pot: Likewise.
23395
0e60d68e
MF
233962013-05-28 Mike Frysinger <vapier@gentoo.org>
23397
23398 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23399 error message.
23400 (enlarge_archive): Likewise.
23401
56b672e9
BN
234022013-05-28 Ben North <ben@redfrontdoor.org>
23403
23404 * manual/arith.texi (frexp): It is the magnitude of the return
23405 value which lies in [0.5, 1), not the return value itself.
23406
5e056687
AZ
234072013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23408
23409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23410
2b66ef5d
TS
234112013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23412
528c2405
TS
23413 * stdio-common/bug26.c (main): Correct fscanf template.
23414
07b4c13d
TS
23415 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23416 declare _dl_skip_args.
23417
ec9dd97c
TS
23418 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23419 Don't declare.
23420
2b66ef5d
TS
23421 * manual/platform.texi: Add missing @end deftypefun.
23422
4f8dfe27
JM
234232013-05-24 Joseph Myers <joseph@codesourcery.com>
23424
0323d086
JM
23425 [BZ #15529]
23426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23427 bit of mantissa of 2^16382.
23428 * math/libm-test.inc (hypot_test_data): Add more tests.
23429
dd4259b9
JM
23430 * math/libm-test.inc: Add drem and pow10 to list of tested
23431 functions.
23432 (pow10_test): New function.
23433 (drem_test): Likewise.
23434 (drem_test_tonearest): Likewise.
23435 (drem_test_towardzero): Likewise.
23436 (drem_test_downward): Likewise.
23437 (drem_test_upward): Likewise.
23438 (main): Call the new functions.
23439
4f8dfe27
JM
23440 * math/libm-test.inc (finite_test_data): Remove.
23441 (finite_test): Run tests from isfinite_test_data.
23442 (gamma_test_data): Remove.
23443 (gamma_test): Run tests from lgamma_test_data.
23444 * sysdeps/i386/fpu/libm-test-ulps: Update.
23445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23446
d116b7c4
AZ
234472013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23448
23449 * manual/platform.texi: Add PowerPC PPR function set documentation.
23450 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23451 implementation.
23452
e96e3767
CD
234532013-05-24 Carlos O'Donell <carlos@redhat.com>
23454
23455 * math/libm-test.inc (MAX_EXP): Define.
23456 (ULPDIFF): Define.
23457 (ulp): New function.
23458 (check_float_internal): Use ULPDIFF.
23459 (cpow_test): Disable failing test.
23460 (check_ulp): Test ulp() implemetnation.
23461 (main): Call check_ulp before starting tests.
23462
b679a606
JM
234632013-05-24 Joseph Myers <joseph@codesourcery.com>
23464
e8bdba36
JM
23465 * math/gen-libm-test.pl (generate_testfile): Do not handle
23466 START_DATA and END_DATA.
23467 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23468 END_DATA.
23469 (acos_tonearest_test_data): Likewise.
23470 (acos_towardzero_test_data): Likewise.
23471 (acos_downward_test_data): Likewise.
23472 (acos_upward_test_data): Likewise.
23473 (acosh_test_data): Likewise.
23474 (asin_test_data): Likewise.
23475 (asin_tonearest_test_data): Likewise.
23476 (asin_towardzero_test_data): Likewise.
23477 (asin_downward_test_data): Likewise.
23478 (asin_upward_test_data): Likewise.
23479 (asinh_test_data): Likewise.
23480 (atan_test_data): Likewise.
23481 (atanh_test_data): Likewise.
23482 (atan2_test_data): Likewise.
23483 (cabs_test_data): Likewise.
23484 (cacos_test_data): Likewise.
23485 (cacosh_test_data): Likewise.
23486 (carg_test_data): Likewise.
23487 (casin_test_data): Likewise.
23488 (casinh_test_data): Likewise.
23489 (catan_test_data): Likewise.
23490 (catanh_test_data): Likewise.
23491 (cbrt_test_data): Likewise.
23492 (ccos_test_data): Likewise.
23493 (ccosh_test_data): Likewise.
23494 (ceil_test_data): Likewise.
23495 (cexp_test_data): Likewise.
23496 (cimag_test_data): Likewise.
23497 (clog_test_data): Likewise.
23498 (clog10_test_data): Likewise.
23499 (conj_test_data): Likewise.
23500 (copysign_test_data): Likewise.
23501 (cos_test_data): Likewise.
23502 (cos_tonearest_test_data): Likewise.
23503 (cos_towardzero_test_data): Likewise.
23504 (cos_downward_test_data): Likewise.
23505 (cos_upward_test_data): Likewise.
23506 (cosh_test_data): Likewise.
23507 (cosh_tonearest_test_data): Likewise.
23508 (cosh_towardzero_test_data): Likewise.
23509 (cosh_downward_test_data): Likewise.
23510 (cosh_upward_test_data): Likewise.
23511 (cpow_test_data): Likewise.
23512 (cproj_test_data): Likewise.
23513 (creal_test_data): Likewise.
23514 (csin_test_data): Likewise.
23515 (csinh_test_data): Likewise.
23516 (csqrt_test_data): Likewise.
23517 (ctan_test_data): Likewise.
23518 (ctan_tonearest_test_data): Likewise.
23519 (ctan_towardzero_test_data): Likewise.
23520 (ctan_downward_test_data): Likewise.
23521 (ctan_upward_test_data): Likewise.
23522 (ctanh_test_data): Likewise.
23523 (ctanh_tonearest_test_data): Likewise.
23524 (ctanh_towardzero_test_data): Likewise.
23525 (ctanh_downward_test_data): Likewise.
23526 (ctanh_upward_test_data): Likewise.
23527 (erf_test_data): Likewise.
23528 (erfc_test_data): Likewise.
23529 (exp_test_data): Likewise.
23530 (exp_tonearest_test_data): Likewise.
23531 (exp_towardzero_test_data): Likewise.
23532 (exp_downward_test_data): Likewise.
23533 (exp_upward_test_data): Likewise.
23534 (exp10_test_data): Likewise.
23535 (exp2_test_data): Likewise.
23536 (expm1_test_data): Likewise.
23537 (fabs_test_data): Likewise.
23538 (fdim_test_data): Likewise.
23539 (finite_test_data): Likewise.
23540 (floor_test_data): Likewise.
23541 (fma_test_data): Likewise.
23542 (fma_towardzero_test_data): Likewise.
23543 (fma_downward_test_data): Likewise.
23544 (fma_upward_test_data): Likewise.
23545 (fmax_test_data): Likewise.
23546 (fmin_test_data): Likewise.
23547 (fmod_test_data): Likewise.
23548 (fpclassify_test_data): Likewise.
23549 (frexp_test_data): Likewise.
23550 (gamma_test_data): Likewise.
23551 (hypot_test_data): Likewise.
23552 (ilogb_test_data): Likewise.
23553 (isfinite_test_data): Likewise.
23554 (isgreater_test_data): Likewise.
23555 (isgreaterequal_test_data): Likewise.
23556 (isinf_test_data): Likewise.
23557 (isless_test_data): Likewise.
23558 (islessequal_test_data): Likewise.
23559 (islessgreater_test_data): Likewise.
23560 (isnan_test_data): Likewise.
23561 (isnormal_test_data): Likewise.
23562 (issignaling_test_data): Likewise.
23563 (isunordered_test_data): Likewise.
23564 (j0_test_data): Likewise.
23565 (j1_test_data): Likewise.
23566 (jn_test_data): Likewise.
23567 (ldexp_test_data): Likewise.
23568 (lgamma_test_data): Likewise.
23569 (lrint_test_data): Likewise.
23570 (lrint_tonearest_test_data): Likewise.
23571 (lrint_towardzero_test_data): Likewise.
23572 (lrint_downward_test_data): Likewise.
23573 (lrint_upward_test_data): Likewise.
23574 (llrint_test_data): Likewise.
23575 (llrint_tonearest_test_data): Likewise.
23576 (llrint_towardzero_test_data): Likewise.
23577 (llrint_downward_test_data): Likewise.
23578 (llrint_upward_test_data): Likewise.
23579 (log_test_data): Likewise.
23580 (log10_test_data): Likewise.
23581 (log1p_test_data): Likewise.
23582 (log2_test_data): Likewise.
23583 (logb_test_data): Likewise.
23584 (logb_downward_test_data): Likewise.
23585 (lround_test_data): Likewise.
23586 (llround_test_data): Likewise.
23587 (modf_test_data): Likewise.
23588 (nearbyint_test_data): Likewise.
23589 (nextafter_test_data): Likewise.
23590 (nexttoward_test_data): Likewise.
23591 (pow_test_data): Likewise.
23592 (pow_tonearest_test_data): Likewise.
23593 (pow_towardzero_test_data): Likewise.
23594 (pow_downward_test_data): Likewise.
23595 (pow_upward_test_data): Likewise.
23596 (remainder_test_data): Likewise.
23597 (remainder_tonearest_test_data): Likewise.
23598 (remainder_towardzero_test_data): Likewise.
23599 (remainder_downward_test_data): Likewise.
23600 (remainder_upward_test_data): Likewise.
23601 (remquo_test_data): Likewise.
23602 (rint_test_data): Likewise.
23603 (rint_tonearest_test_data): Likewise.
23604 (rint_towardzero_test_data): Likewise.
23605 (rint_downward_test_data): Likewise.
23606 (rint_upward_test_data): Likewise.
23607 (round_test_data): Likewise.
23608 (scalb_test_data): Likewise.
23609 (scalbn_test_data): Likewise.
23610 (scalbln_test_data): Likewise.
23611 (signbit_test_data): Likewise.
23612 (sin_test_data): Likewise.
23613 (sin_tonearest_test_data): Likewise.
23614 (sin_towardzero_test_data): Likewise.
23615 (sin_downward_test_data): Likewise.
23616 (sin_upward_test_data): Likewise.
23617 (sincos_test_data): Likewise.
23618 (sinh_test_data): Likewise.
23619 (sinh_tonearest_test_data): Likewise.
23620 (sinh_towardzero_test_data): Likewise.
23621 (sinh_downward_test_data): Likewise.
23622 (sinh_upward_test_data): Likewise.
23623 (sqrt_test_data): Likewise.
23624 (tan_test_data): Likewise.
23625 (tan_tonearest_test_data): Likewise.
23626 (tan_towardzero_test_data): Likewise.
23627 (tan_downward_test_data): Likewise.
23628 (tan_upward_test_data): Likewise.
23629 (tanh_test_data): Likewise.
23630 (tgamma_test_data): Likewise.
23631 (trunc_test_data): Likewise.
23632 (y0_test_data): Likewise.
23633 (y1_test_data): Likewise.
23634 (yn_test_data): Likewise.
23635 (significand_test_data): Likewise.
23636
b679a606
JM
23637 * math/gen-libm-test.pl (@functions): Remove variable.
23638 (generate_testfile): Don't handle START and END lines.
23639 * math/libm-test.inc (START): New macro.
23640 (END): Likewise.
23641 (END_COMPLEX): Likewise.
23642 (acos_test): Use END macro without arguments.
23643 (acos_test_tonearest): Likewise.
23644 (acos_test_towardzero): Likewise.
23645 (acos_test_downward): Likewise.
23646 (acos_test_upward): Likewise.
23647 (acosh_test): Likewise.
23648 (asin_test): Likewise.
23649 (asin_test_tonearest): Likewise.
23650 (asin_test_towardzero): Likewise.
23651 (asin_test_downward): Likewise.
23652 (asin_test_upward): Likewise.
23653 (asinh_test): Likewise.
23654 (atan_test): Likewise.
23655 (atanh_test): Likewise.
23656 (atan2_test): Likewise.
23657 (cabs_test): Likewise.
23658 (cacos_test): Use END_COMPLEX macro without arguments.
23659 (cacosh_test): Likewise.
23660 (carg_test): Use END macro without arguments.
23661 (casin_test): Use END_COMPLEX macro without arguments.
23662 (casinh_test): Likewise.
23663 (catan_test): Likewise.
23664 (catanh_test): Likewise.
23665 (cbrt_test): Use END macro without arguments.
23666 (ccos_test): Use END_COMPLEX macro without arguments.
23667 (ccosh_test): Likewise.
23668 (ceil_test): Use END macro without arguments.
23669 (cexp_test): Use END_COMPLEX macro without arguments.
23670 (cimag_test): Use END macro without arguments.
23671 (clog_test): Use END_COMPLEX macro without arguments.
23672 (clog10_test): Likewise.
23673 (conj_test): Likewise.
23674 (copysign_test): Use END macro without arguments.
23675 (cos_test): Likewise.
23676 (cos_test_tonearest): Likewise.
23677 (cos_test_towardzero): Likewise.
23678 (cos_test_downward): Likewise.
23679 (cos_test_upward): Likewise.
23680 (cosh_test): Likewise.
23681 (cosh_test_tonearest): Likewise.
23682 (cosh_test_towardzero): Likewise.
23683 (cosh_test_downward): Likewise.
23684 (cosh_test_upward): Likewise.
23685 (cpow_test): Use END_COMPLEX macro without arguments.
23686 (cproj_test): Likewise.
23687 (creal_test): Use END macro without arguments.
23688 (csin_test): Use END_COMPLEX macro without arguments.
23689 (csinh_test): Likewise.
23690 (csqrt_test): Likewise.
23691 (ctan_test): Likewise.
23692 (ctan_test_tonearest): Likewise.
23693 (ctan_test_towardzero): Likewise.
23694 (ctan_test_downward): Likewise.
23695 (ctan_test_upward): Likewise.
23696 (ctanh_test): Likewise.
23697 (ctanh_test_tonearest): Likewise.
23698 (ctanh_test_towardzero): Likewise.
23699 (ctanh_test_downward): Likewise.
23700 (ctanh_test_upward): Likewise.
23701 (erf_test): Use END macro without arguments.
23702 (erfc_test): Likewise.
23703 (exp_test): Likewise.
23704 (exp_test_tonearest): Likewise.
23705 (exp_test_towardzero): Likewise.
23706 (exp_test_downward): Likewise.
23707 (exp_test_upward): Likewise.
23708 (exp10_test): Likewise.
23709 (exp2_test): Likewise.
23710 (expm1_test): Likewise.
23711 (fabs_test): Likewise.
23712 (fdim_test): Likewise.
23713 (finite_test): Likewise.
23714 (floor_test): Likewise.
23715 (fma_test): Likewise.
23716 (fma_test_towardzero): Likewise.
23717 (fma_test_downward): Likewise.
23718 (fma_test_upward): Likewise.
23719 (fmax_test): Likewise.
23720 (fmin_test): Likewise.
23721 (fmod_test): Likewise.
23722 (fpclassify_test): Likewise.
23723 (frexp_test): Likewise.
23724 (gamma_test): Likewise.
23725 (hypot_test): Likewise.
23726 (ilogb_test): Likewise.
23727 (isfinite_test): Likewise.
23728 (isgreater_test): Likewise.
23729 (isgreaterequal_test): Likewise.
23730 (isinf_test): Likewise.
23731 (isless_test): Likewise.
23732 (islessequal_test): Likewise.
23733 (islessgreater_test): Likewise.
23734 (isnan_test): Likewise.
23735 (isnormal_test): Likewise.
23736 (issignaling_test): Likewise.
23737 (isunordered_test): Likewise.
23738 (j0_test): Likewise.
23739 (j1_test): Likewise.
23740 (jn_test): Likewise.
23741 (ldexp_test): Likewise.
23742 (lgamma_test): Likewise.
23743 (lrint_test): Likewise.
23744 (lrint_test_tonearest): Likewise.
23745 (lrint_test_towardzero): Likewise.
23746 (lrint_test_downward): Likewise.
23747 (lrint_test_upward): Likewise.
23748 (llrint_test): Likewise.
23749 (llrint_test_tonearest): Likewise.
23750 (llrint_test_towardzero): Likewise.
23751 (llrint_test_downward): Likewise.
23752 (llrint_test_upward): Likewise.
23753 (log_test): Likewise.
23754 (log10_test): Likewise.
23755 (log1p_test): Likewise.
23756 (log2_test): Likewise.
23757 (logb_test): Likewise.
23758 (logb_test_downward): Likewise.
23759 (lround_test): Likewise.
23760 (llround_test): Likewise.
23761 (modf_test): Likewise.
23762 (nearbyint_test): Likewise.
23763 (nextafter_test): Likewise.
23764 (nexttoward_test): Likewise.
23765 (pow_test): Likewise.
23766 (pow_test_tonearest): Likewise.
23767 (pow_test_towardzero): Likewise.
23768 (pow_test_downward): Likewise.
23769 (pow_test_upward): Likewise.
23770 (remainder_test): Likewise.
23771 (remainder_test_tonearest): Likewise.
23772 (remainder_test_towardzero): Likewise.
23773 (remainder_test_downward): Likewise.
23774 (remainder_test_upward): Likewise.
23775 (remquo_test): Likewise.
23776 (rint_test): Likewise.
23777 (rint_test_tonearest): Likewise.
23778 (rint_test_towardzero): Likewise.
23779 (rint_test_downward): Likewise.
23780 (rint_test_upward): Likewise.
23781 (round_test): Likewise.
23782 (scalb_test): Likewise.
23783 (scalbn_test): Likewise.
23784 (scalbln_test): Likewise.
23785 (signbit_test): Likewise.
23786 (sin_test): Likewise.
23787 (sin_test_tonearest): Likewise.
23788 (sin_test_towardzero): Likewise.
23789 (sin_test_downward): Likewise.
23790 (sin_test_upward): Likewise.
23791 (sincos_test): Likewise.
23792 (sinh_test): Likewise.
23793 (sinh_test_tonearest): Likewise.
23794 (sinh_test_towardzero): Likewise.
23795 (sinh_test_downward): Likewise.
23796 (sinh_test_upward): Likewise.
23797 (sqrt_test): Likewise.
23798 (tan_test): Likewise.
23799 (tan_test_tonearest): Likewise.
23800 (tan_test_towardzero): Likewise.
23801 (tan_test_downward): Likewise.
23802 (tan_test_upward): Likewise.
23803 (tanh_test): Likewise.
23804 (tgamma_test): Likewise.
23805 (trunc_test): Likewise.
23806 (y0_test): Likewise.
23807 (y1_test): Likewise.
23808 (yn_test): Likewise.
23809 (significand_test): Likewise.
23810
bae143d2
OB
238112013-05-24 Ondřej Bílka <neleai@seznam.cz>
23812
23813 [BZ #15381]
23814 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23815
9323d39b
EM
238162013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23817
d4ea44a0 23818 [BZ #14894]
9323d39b
EM
23819 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23820 __ppc_mdoio and __ppc_mdoom.
23821 * manual/platform.texi: Document new functions __ppc_yield,
23822 __ppc_mdoio and __ppc_mdoom.
23823
13e23af7
CD
238242013-05-22 Carlos O'Donell <carlos@redhat.com>
23825
23826 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23827 (main): Mention "tls" pseudo-hwcap is legacy.
23828 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23829
351fe550
JM
238302013-05-22 Joseph Myers <joseph@codesourcery.com>
23831
23832 * math/gen-libm-test.pl (parse_args): Output only string of
23833 arguments as text for test name, not full call or descriptions of
23834 tests for extra outputs.
23835 (generate_testfile): Do not pass function name to parse_args.
23836 Generate this_func variable from START.
23837 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23838 field to arg_str.
23839 (struct test_ff_f_data): Likewise.
23840 (test_ff_f_data_nexttoward): Likewise.
23841 (struct test_fi_f_data): Likewise.
23842 (struct test_fl_f_data): Likewise.
23843 (struct test_if_f_data): Likewise.
23844 (struct test_fff_f_data): Likewise.
23845 (struct test_c_f_data): Likewise.
23846 (struct test_f_f1_data): Likewise. Remove field extra_name.
23847 (struct test_fF_f1_data): Likewise.
23848 (struct test_ffI_f1_data): Likewise.
23849 (struct test_c_c_data): Rename test_name field to arg_str.
23850 (struct test_cc_c_data): Likewise.
23851 (struct test_f_i_data): Likewise.
23852 (struct test_ff_i_data): Likewise.
23853 (struct test_f_l_data): Likewise.
23854 (struct test_f_L_data): Likewise.
23855 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23856 and extra2_name.
23857 (COMMON_TEST_SETUP): New macro.
23858 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23859 (COMMON_TEST_CLEANUP): Likewise.
23860 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23861 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23862 macros.
23863 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23864 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23865 macros.
23866 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23867 (RUN_TEST_fff_f): Take argument string. Call new setup and
23868 cleanup macros.
23869 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23870 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23871 macros.
23872 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23873 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23874 macros.
23875 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23876 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23877 cleanup macros.
23878 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23879 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23880 cleanup macros.
23881 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23882 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23883 cleanup macros.
23884 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23885 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23886 macros.
23887 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23888 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23889 macros.
23890 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23891 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23892 macros.
23893 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23894 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23895 cleanup macros.
23896 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23897 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23898 cleanup macros.
23899 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23900 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23901 macros.
23902 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23903 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23904 cleanup macros.
23905 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23906 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23907 macros.
23908 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23909 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23910 macros.
23911 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23912 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23913 cleanup macros.
23914 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23915
85118d4d
EBM
239162013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23917
23918 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23919 to _sifields.sigfault.
23920 (si_addr_lsb): Define new macro.
23921 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23922 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23923 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23924
7a44c18f
CD
239252013-05-03 Carlos O'Donell <carlos at redhat.com>
23926
23927 [BZ #15441]
23928 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23929 returns -1.
23930 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23931 null return -1.
23932 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23933 loading the domain.
23934
b50a7181
JM
239352013-05-22 Joseph Myers <joseph@codesourcery.com>
23936
23937 * math/gen-libm-test.pl (parse_args): Do not include expected
23938 result in test name.
23939 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23941 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23943 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23945
051063c8
SP
239462013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23947
3ce9e010
SP
23948 * benchtests/Makefile: Sort function entries.
23949
051063c8
SP
23950 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23951 tanh, asinh, acosh, atanh.
23952 * benchtests/acos-inputs: New file.
23953 * benchtests/acosh-inputs: New file.
23954 * benchtests/asin-inputs: New file.
23955 * benchtests/asinh-inputs: New file.
23956 * benchtests/atanh-inputs: New file.
23957 * benchtests/cosh-inputs: New file.
23958 * benchtests/log-inputs: New file.
23959 * benchtests/sinh-inputs: New file.
23960 * benchtests/tanh-inputs: New file.
23961
47c22455
DL
239622013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23963
23964 [BZ #15339]
23965 * posix/tst-getaddrinfo4.c: New test.
23966 * posix/Makefile (tests): Add it.
23967
3d04f5db
SP
239682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23969
23970 [BZ #15339]
23971 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23972 when no services were used.
23973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23974 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23975
d5dd6189
AS
239762013-05-21 Andreas Schwab <schwab@suse.de>
23977
23978 [BZ #15014]
23979 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23980 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23981 successful.
23982 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23983 redundant variable declarations and reallocation of buffer when
23984 parsing as IPv6 address. Always set NSS status when called from
23985 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23986 buffer too small. Correct computation of needed size.
23987 * nss/Makefile (tests): Add test-digits-dots.
23988 * nss/test-digits-dots.c: New test.
23989
fef94eab
SP
239902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23991
23992 * benchtests/Makefile: Remove instructions for adding
23993 benchmark tests.
23994 * benchtests/README: New file to explain how to execute and
23995 enhance the benchmark tests.
23996
e39adf43
AS
239972013-05-21 Andreas Schwab <schwab@suse.de>
23998
23999 [BZ #15493]
24000 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24001 * setjmp/tst-sigsetjmp.c: New test.
24002
b2b671b6
OB
240032013-05-20 Ondřej Bílka <neleai@seznam.cz>
24004
24005 * sysdeps/x86_64/memset.S (memset): New implementation.
24006 (__bzero): Likewise.
24007 (__memset_tail): New function.
24008
2d48b41c
OB
240092013-05-20 Ondřej Bílka <neleai@seznam.cz>
24010
24011 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24012 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24013 __memcpy_sse2_unaligned ifunc selection.
24014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24015 Add memcpy-sse2-unaligned.S.
24016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24017 Add: __memcpy_sse2_unaligned.
24018
f16cc3eb
JM
240192013-05-19 Joseph Myers <joseph@codesourcery.com>
24020
3e694268
JM
24021 [BZ #15490]
24022 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24023 math_force_eval before restoring floating-point envrionment.
24024 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24026 Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24028 <math_private.h>.
24029 (__nearbyintl): Use math_force_eval before restoring
24030 floating-point environment.
24031 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24032
db62a907
JM
24033 * math/gen-libm-test.pl (special_functions): Remove.
24034 (parse_args): Don't handle TEST_extra. Handle functions with no
24035 return value.
24036 * math/libm-test.inc (struct test_sincos_data): Replace with
24037 struct test_fFF_11_data.
24038 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24039 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24040 (sincos_test_data): Change element type to struct
24041 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24042 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24043 RUN_TEST_LOOP_sincos.
24044 * math/README.libm-test: Don't mention special handling of
24045 individual functions.
24046 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24048 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24049 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24050 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24052
f16cc3eb
JM
24053 * math/gen-libm-test.pl (get_variable): Remove function.
24054 (parse_args): Don't show pointer parameters to call in test
24055 names. Use "extra output N" in test names for extra outputs
24056 rather than naming variables.
24057
3779b5b6
JM
240582013-05-18 Joseph Myers <joseph@codesourcery.com>
24059
2ee094ff
JM
24060 [BZ #15488]
24061 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24062 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24063 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24064 double tests.
24065 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24066 disable.
24067 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24068 check_long_double.
24069
3779b5b6
JM
24070 * math/gen-libm-test.pl (@tests): Remove variable.
24071 ($count): Likewise.
24072 (new_test): Remove function.
24073 (show_exceptions): New function.
24074 (special_functions): Use show_exceptions instead of new_test.
24075 (parse_args): Likewise.
24076 (generate_testfile): Pass only function name in generated call to
24077 print_max_error or print_complex_max_error.
24078 (get_ulps): Do not handle complex tests specially.
24079 (output_test): Rename to ...
24080 (get_all_ulps_for_test): ... this. Return a string rather than
24081 printing to a file. Require ulps to be present.
24082 (output_ulps): Generate arrays rather than #defines.
24083 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24084 (struct ulp_data): New type.
24085 (BUILD_COMPLEX_ULP): Remove macro.
24086 (compare_ulp_data): New function.
24087 (find_ulps): Likewise.
24088 (find_test_ulps): Likewise.
24089 (find_function_ulps): Likewise.
24090 (find_complex_function_ulps): Likewise.
24091 (print_max_error): Determine allowed ulps using
24092 find_function_ulps.
24093 (print_complex_max_error): Determine allowed ulps using
24094 find_complex_function_ulps.
24095 (check_float_internal): Determine max ulps using find_test_ulps.
24096 (check_float): Do not take max_ulp parameter. Update call to
24097 check_float_internal.
24098 (check_complex): Likewise.
24099 (check_int): Do not take max_ulp parameter.
24100 (check_long): Likewise.
24101 (check_bool): Likewise.
24102 (check_longlong): Likewise.
24103 (struct test_f_f_data): Remove max_ulp field.
24104 (struct test_ff_f_data): Likewise.
24105 (struct test_ff_f_data_nexttoward): Likewise.
24106 (struct test_fi_f_data): Likewise.
24107 (struct test_fl_f_data): Likewise.
24108 (struct test_if_f_data): Likewise.
24109 (struct test_fff_f_data): Likewise.
24110 (struct test_c_f_data): Likewise.
24111 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24112 (struct test_fF_f1_data): Likewise.
24113 (struct test_ffI_f1_data): Likewise.
24114 (struct test_c_c_data): Remove max_ulp field.
24115 (struct test_cc_c_data): Likewise.
24116 (struct test_f_i_data): Likewise.
24117 (struct test_ff_i_data): Likewise.
24118 (struct test_f_l_data): Likewise.
24119 (struct test_f_L_data): Likewise.
24120 (struct test_sincos_data): Likewise.
24121 (RUN_TEST_f_f): Do not handle ulps.
24122 (RUN_TEST_LOOP_f_f): Likewise.
24123 (RUN_TEST_2_f): Likewise.
24124 (RUN_TEST_LOOP_2_f): Likewise.
24125 (RUN_TEST_fff_f): Likewise.
24126 (RUN_TEST_LOOP_fff_f): Likewise.
24127 (RUN_TEST_c_f): Likewise.
24128 (RUN_TEST_LOOP_c_f): Likewise.
24129 (RUN_TEST_f_f1): Likewise.
24130 (RUN_TEST_LOOP_f_f1): Likewise.
24131 (RUN_TEST_fF_f1): Likewise.
24132 (RUN_TEST_LOOP_fF_f1): Likewise.
24133 (RUN_TEST_fI_f1): Likewise.
24134 (RUN_TEST_LOOP_fI_f1): Likewise.
24135 (RUN_TEST_ffI_f1): Likewise.
24136 (RUN_TEST_LOOP_ffI_f1): Likewise.
24137 (RUN_TEST_c_c): Likewise.
24138 (RUN_TEST_LOOP_c_c): Likewise.
24139 (RUN_TEST_cc_c): Likewise.
24140 (RUN_TEST_LOOP_cc_c): Likewise.
24141 (RUN_TEST_f_i): Likewise.
24142 (RUN_TEST_LOOP_f_i): Likewise.
24143 (RUN_TEST_f_i_tg): Likewise.
24144 (RUN_TEST_LOOP_f_i_tg): Likewise.
24145 (RUN_TEST_ff_i_tg): Likewise.
24146 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24147 (RUN_TEST_f_b): Likewise.
24148 (RUN_TEST_LOOP_f_b): Likewise.
24149 (RUN_TEST_f_b_tg): Likewise.
24150 (RUN_TEST_LOOP_f_b_tg): Likewise.
24151 (RUN_TEST_f_l): Likewise.
24152 (RUN_TEST_LOOP_f_l): Likewise.
24153 (RUN_TEST_f_L): Likewise.
24154 (RUN_TEST_LOOP_f_L): Likewise.
24155 (RUN_TEST_sincos): Likewise.
24156 (RUN_TEST_LOOP_sincos): Likewise.
24157
8269107f
JM
241582013-05-17 Joseph Myers <joseph@codesourcery.com>
24159
bb38759d
JM
24160 [BZ #15480]
24161 [BZ #15485]
24162 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24163 main case of finite arguments, set rounding mode to FE_TONEAREST
24164 and discard exceptions.
24165 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24166 exceptions.
24167 (remainder_tonearest_test_data): New variable.
24168 (remainder_test_tonearest): New function.
24169 (remainder_towardzero_test_data): New variable.
24170 (remainder_test_towardzero): New function.
24171 (remainder_downward_test_data): New variable.
24172 (remainder_test_downward): New function.
24173 (remainder_upward_test_data): New variable.
24174 (remainder_test_upward): New function.
24175 (main): Call the new test functions.
24176
a00bdcf0
JM
24177 * math/libm-test.inc (struct test_f_f1_data): Remove field
24178 extra_init.
24179 (struct test_fF_f1_data): Likewise.
24180 (struct test_ffI_f1_data): Likewise.
24181 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24182 based on value of EXTRA_EXPECTED.
24183 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24184 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24185 EXTRA_VAR based on value of EXTRA_EXPECTED.
24186 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24187 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24188 EXTRA_VAR based on value of EXTRA_EXPECTED.
24189 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24190 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24191 EXTRA_VAR based on value of EXTRA_EXPECTED.
24192 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24193 * math/gen-libm-test.pl (parse_args): Don't output initializers
24194 for extra output values.
24195
de407f79
JM
24196 * math/libm-test.inc (check_int): Expect result to be exactly
24197 equal to expected value and do not handle ulps.
24198 (check_long): Likewise.
24199 (check_longlong): Likewise.
24200
8269107f
JM
24201 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24202 exceptions.
24203 (cimag_test_data): Likewise.
24204 (conj_test_data): Likewise.
24205 (copysign_test_data): Likewise.
24206 (cproj_test_data): Likewise.
24207 (creal_test_data): Likewise.
24208 (fabs_test_data): Likewise.
24209 (fdim_test_data): Likewise.
24210 (finite_test_data): Likewise.
24211 (floor_test_data): Likewise.
24212 (fmax_test_data): Likewise.
24213 (fmin_test_data): Likewise.
24214 (fmod_test_data): Likewise.
24215 (fpclassify_test_data): Likewise.
24216 (frexp_test_data): Likewise.
24217 (ilogb_test_data): Likewise.
24218 (isfinite_test_data): Likewise.
24219 (isgreater_test_data): Likewise.
24220 (isgreaterequal_test_data): Likewise.
24221 (isinf_test_data): Likewise.
24222 (isless_test_data): Likewise.
24223 (islessequal_test_data): Likewise.
24224 (islessgreater_test_data): Likewise.
24225 (isnan_test_data): Likewise.
24226 (isnormal_test_data): Likewise.
24227 (issignaling_test_data): Likewise.
24228 (isunordered_test_data): Likewise.
24229 (ldexp_test_data): Likewise.
24230 (lrint_test_data): Likewise.
24231 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24232 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24233 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24234 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24235 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24236 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24237 test input.
24238 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24239 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24240 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24241 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24242 that test input.
24243 (lrint_downward_test_data): Test for "inexact" exceptions.
24244 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24245 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24246 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24247 test input.
24248 (lrint_upward_test_data): Test for "inexact" exceptions.
24249 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24250 test input.
24251 (llrint_test_data): Test for "inexact" exceptions.
24252 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24253 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24254 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24255 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24256 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24257 (llrint_downward_test_data): Test for "inexact" exceptions.
24258 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24259 (llrint_upward_test_data): Test for "inexact" exceptions.
24260 (logb_test_data): Likewise.
24261 (logb_downward_test_data): Likewise.
24262 (nextafter_test_data): Likewise.
24263 (nexttoward_test_data): Likewise.
24264 (remainder_test_data): Likewise.
24265 (remquo_test_data): Likewise.
24266 (scalbn_test_data): Likewise.
24267 (scalbln_test_data): Likewise.
24268 (signbit_test_data): Likewise.
24269 (sqrt_test_data): Likewise.
24270 (significand_test_data): Likewise.
24271
48a18de1
SP
242722013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24273
24274 [BZ #15424]
24275 * benchtests/bench-modf.c (struct args): Mark arg0 as
24276 volatile.
24277 * scripts/bench.pl: Mark members of struct args as volatile.
24278
13d3b41a
AZ
242792013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24280
68191c1d 24281 [BZ # 15497]
13d3b41a
AZ
24282 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24283 negative infinity on POWER6 or lower.
24284 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24285
2848b105
MR
242862013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24287
24288 [BZ #15442]
24289 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24290 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24291 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24292 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24293 (_FP_SETQNAN): New macro.
24294 (_FP_SETQNAN_SEMIRAW): Likewise.
24295 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24296 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24297 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24298 (FP_EXTEND): Use _FP_FRAC_SNANP.
24299 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24300 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24301 into account.
24302 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24303 New macro.
24304 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24305 Likewise.
24306
323e5cb7
JM
243072013-05-16 Joseph Myers <joseph@codesourcery.com>
24308
c58b274f
JM
24309 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24310 with DIVIDE_BY_ZERO_EXCEPTION.
24311 (gamma_test_data): Likewise.
24312 (lgamma_test_data): Likewise.
24313 (log_test_data): Likewise.
24314 (log10_test_data): Likewise.
24315 (log2_test_data): Likewise.
24316 (tgamma_test_data): Likewise.
24317
0ab34904
JM
24318 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24319 (acos_test_tonearest): Likewise.
24320 (acos_test_towardzero): Likewise.
24321 (acos_test_downward): Likewise.
24322 (acos_test_upward): Likewise.
24323 (acosh_test): Likewise.
24324 (asin_test): Likewise.
24325 (asin_test_tonearest): Likewise.
24326 (asin_test_towardzero): Likewise.
24327 (asin_test_downward): Likewise.
24328 (asin_test_upward): Likewise.
24329 (asinh_test): Likewise.
24330 (atan_test): Likewise.
24331 (atanh_test): Likewise.
24332 (atan2_test): Likewise.
24333 (cabs_test): Likewise.
24334 (cacos_test): Likewise.
24335 (cacosh_test): Likewise.
24336 (casin_test): Likewise.
24337 (casinh_test): Likewise.
24338 (catan_test): Likewise.
24339 (catanh_test): Likewise.
24340 (cbrt_test): Likewise.
24341 (ccos_test): Likewise.
24342 (ccosh_test): Likewise.
24343 (cexp_test): Likewise.
24344 (clog_test): Likewise.
24345 (clog10_test): Likewise.
24346 (cos_test): Likewise.
24347 (cos_test_tonearest): Likewise.
24348 (cos_test_towardzero): Likewise.
24349 (cos_test_downward): Likewise.
24350 (cos_test_upward): Likewise.
24351 (cosh_test): Likewise.
24352 (cosh_test_tonearest): Likewise.
24353 (cosh_test_towardzero): Likewise.
24354 (cosh_test_downward): Likewise.
24355 (cosh_test_upward): Likewise.
24356 (cpow_test): Likewise.
24357 (csin_test): Likewise.
24358 (csinh_test): Likewise.
24359 (csqrt_test): Likewise.
24360 (ctan_test): Likewise.
24361 (ctan_test_tonearest): Likewise.
24362 (ctan_test_towardzero): Likewise.
24363 (ctan_test_downward): Likewise.
24364 (ctan_test_upward): Likewise.
24365 (ctanh_test): Likewise.
24366 (ctanh_test_tonearest): Likewise.
24367 (ctanh_test_towardzero): Likewise.
24368 (ctanh_test_downward): Likewise.
24369 (ctanh_test_upward): Likewise.
24370 (erf_test): Likewise.
24371 (erfc_test): Likewise.
24372 (exp_test): Likewise.
24373 (exp_test_tonearest): Likewise.
24374 (exp_test_towardzero): Likewise.
24375 (exp_test_downward): Likewise.
24376 (exp_test_upward): Likewise.
24377 (exp10_test): Likewise.
24378 (exp2_test): Likewise.
24379 (expm1_test): Likewise.
24380 (fmod_test): Likewise.
24381 (gamma_test): Likewise.
24382 (hypot_test): Likewise.
24383 (j0_test): Likewise.
24384 (j1_test): Likewise.
24385 (jn_test): Likewise.
24386 (lgamma_test): Likewise.
24387 (log_test): Likewise.
24388 (log10_test): Likewise.
24389 (log1p_test): Likewise.
24390 (log2_test): Likewise.
24391 (logb_test_downward): Likewise.
24392 (pow_test): Likewise.
24393 (pow_test_tonearest): Likewise.
24394 (pow_test_towardzero): Likewise.
24395 (pow_test_downward): Likewise.
24396 (pow_test_upward): Likewise.
24397 (remainder_test): Likewise.
24398 (remquo_test): Likewise.
24399 (sin_test): Likewise.
24400 (sin_test_tonearest): Likewise.
24401 (sin_test_towardzero): Likewise.
24402 (sin_test_downward): Likewise.
24403 (sin_test_upward): Likewise.
24404 (sincos_test): Likewise.
24405 (sinh_test): Likewise.
24406 (sinh_test_tonearest): Likewise.
24407 (sinh_test_towardzero): Likewise.
24408 (sinh_test_downward): Likewise.
24409 (sinh_test_upward): Likewise.
24410 (sqrt_test): Likewise.
24411 (tan_test): Likewise.
24412 (tan_test_tonearest): Likewise.
24413 (tan_test_towardzero): Likewise.
24414 (tan_test_downward): Likewise.
24415 (tan_test_upward): Likewise.
24416 (tanh_test): Likewise.
24417 (tgamma_test): Likewise.
24418 (y0_test): Likewise.
24419 (y1_test): Likewise.
24420 (yn_test): Likewise.
24421
323e5cb7
JM
24422 * math/gen-libm-test.pl (adjust_arg): Remove function.
24423 (special_function): Remove argument $in_func. Only handle
24424 generating output for tables of tests, not inside functions.
24425 (parse_args): Likewise.
24426 (generate_testfile): Remove variable $in_func. Update call to
24427 parse_args.
24428 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24429 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24430 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24431 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24432 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24433 (MAX_VALUE_INIT): Rename macro to max_value.
24434 (MIN_VALUE_INIT): Rename macro to min_value.
24435 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24436 (plus_zero): Remove variable.
24437 (minus_zero): Likewise.
24438 (plus_infty): Likewise.
24439 (minus_infty): Likewise.
24440 (qnan_value): Likewise.
24441 (max_value): Likewise.
24442 (min_value): Likewise.
24443 (min_subnorm_value): Likewise.
24444
e054f494
RA
244452013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24446
24447 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24448 uint64_t or uint32_t usage.
24449 * crypt/sha256-block.c: Likewise.
24450 * crypt/sha256-crypt.c: Likewise.
24451 * crypt/sha256.c: Likewise.
24452 * crypt/sha512-block.c: Likewise.
24453 * crypt/sha512-crypt.c: Likewise.
24454 * crypt/sha512.c: Likewise.
24455 * debug/backtrace-tst.c: Likewise.
24456 * debug/pcprofiledump.c: Likewise.
24457 * elf/cache.c: Likewise.
24458 * elf/dl-cache.c: Likewise.
24459 * elf/dl-misc.c: Likewise.
24460 * elf/dl-profile.c: Likewise.
24461 * elf/dl-support.c: Likewise.
24462 * elf/ldconfig.c: Likewise.
24463 * elf/sprof.c: Likewise.
24464 * iconv/dummy-repertoire.c: Likewise.
24465 * iconv/iconv_charmap.c: Likewise.
24466 * iconv/skeleton.c: Likewise.
24467 * iconvdata/8bit-generic.c: Likewise.
24468 * iconvdata/cp737.h: Likewise.
24469 * iconvdata/cp775.h: Likewise.
24470 * iconvdata/ibm1008.h: Likewise.
24471 * iconvdata/ibm1025.h: Likewise.
24472 * iconvdata/ibm1046.h: Likewise.
24473 * iconvdata/ibm1097.h: Likewise.
24474 * iconvdata/ibm1112.h: Likewise.
24475 * iconvdata/ibm1122.h: Likewise.
24476 * iconvdata/ibm1123.h: Likewise.
24477 * iconvdata/ibm1124.h: Likewise.
24478 * iconvdata/ibm1129.h: Likewise.
24479 * iconvdata/ibm1130.h: Likewise.
24480 * iconvdata/ibm1132.h: Likewise.
24481 * iconvdata/ibm1133.h: Likewise.
24482 * iconvdata/ibm1137.h: Likewise.
24483 * iconvdata/ibm1140.h: Likewise.
24484 * iconvdata/ibm1141.h: Likewise.
24485 * iconvdata/ibm1142.h: Likewise.
24486 * iconvdata/ibm1143.h: Likewise.
24487 * iconvdata/ibm1144.h: Likewise.
24488 * iconvdata/ibm1145.h: Likewise.
24489 * iconvdata/ibm1146.h: Likewise.
24490 * iconvdata/ibm1147.h: Likewise.
24491 * iconvdata/ibm1148.h: Likewise.
24492 * iconvdata/ibm1149.h: Likewise.
24493 * iconvdata/ibm1153.h: Likewise.
24494 * iconvdata/ibm1154.h: Likewise.
24495 * iconvdata/ibm1155.h: Likewise.
24496 * iconvdata/ibm1156.h: Likewise.
24497 * iconvdata/ibm1157.h: Likewise.
24498 * iconvdata/ibm1158.h: Likewise.
24499 * iconvdata/ibm1160.h: Likewise.
24500 * iconvdata/ibm1161.h: Likewise.
24501 * iconvdata/ibm1162.h: Likewise.
24502 * iconvdata/ibm1163.h: Likewise.
24503 * iconvdata/ibm1164.h: Likewise.
24504 * iconvdata/ibm1166.h: Likewise.
24505 * iconvdata/ibm1167.h: Likewise.
24506 * iconvdata/ibm12712.h: Likewise.
24507 * iconvdata/ibm1390.h: Likewise.
24508 * iconvdata/ibm1399.h: Likewise.
24509 * iconvdata/ibm16804.h: Likewise.
24510 * iconvdata/ibm4517.h: Likewise.
24511 * iconvdata/ibm4899.h: Likewise.
24512 * iconvdata/ibm4909.h: Likewise.
24513 * iconvdata/ibm4971.h: Likewise.
24514 * iconvdata/ibm5347.h: Likewise.
24515 * iconvdata/ibm803.h: Likewise.
24516 * iconvdata/ibm856.h: Likewise.
24517 * iconvdata/ibm901.h: Likewise.
24518 * iconvdata/ibm902.h: Likewise.
24519 * iconvdata/ibm9030.h: Likewise.
24520 * iconvdata/ibm9066.h: Likewise.
24521 * iconvdata/ibm921.h: Likewise.
24522 * iconvdata/ibm922.h: Likewise.
24523 * iconvdata/ibm9448.h: Likewise.
24524 * iconvdata/isiri-3342.h: Likewise.
24525 * iconvdata/jis0201.h: Likewise.
24526 * include/link.h: Likewise.
24527 * include/netdb.h: Likewise.
24528 * inet/check_native.c: Likewise.
24529 * inet/check_pf.c: Likewise.
24530 * inet/getipv4sourcefilter.c: Likewise.
24531 * inet/getnameinfo.c: Likewise.
24532 * inet/getsourcefilter.c: Likewise.
24533 * inet/htonl.c: Likewise.
24534 * inet/setipv4sourcefilter.c: Likewise.
24535 * inet/setsourcefilter.c: Likewise.
24536 * inet/test-inet6_opt.c: Likewise.
24537 * inet/tst-network.c: Likewise.
24538 * locale/C-collate.c: Likewise.
24539 * locale/C-ctype.c: Likewise.
24540 * locale/C-time.c: Likewise.
24541 * locale/C-translit.h: Likewise.
24542 * locale/loadarchive.c: Likewise.
24543 * locale/programs/3level.h: Likewise.
24544 * locale/programs/charmap.c: Likewise.
24545 * locale/programs/charmap.h: Likewise.
24546 * locale/programs/ld-address.c: Likewise.
24547 * locale/programs/ld-collate.c: Likewise.
24548 * locale/programs/ld-ctype.c: Likewise.
24549 * locale/programs/ld-identification.c: Likewise.
24550 * locale/programs/ld-measurement.c: Likewise.
24551 * locale/programs/ld-messages.c: Likewise.
24552 * locale/programs/ld-monetary.c: Likewise.
24553 * locale/programs/ld-name.c: Likewise.
24554 * locale/programs/ld-numeric.c: Likewise.
24555 * locale/programs/ld-paper.c: Likewise.
24556 * locale/programs/ld-telephone.c: Likewise.
24557 * locale/programs/ld-time.c: Likewise.
24558 * locale/programs/linereader.c: Likewise.
24559 * locale/programs/locale.c: Likewise.
24560 * locale/programs/locarchive.c: Likewise.
24561 * locale/programs/locfile.h: Likewise.
24562 * locale/programs/repertoire.c: Likewise.
24563 * locale/programs/simple-hash.c: Likewise.
24564 * locale/programs/simple-hash.h: Likewise.
24565 * malloc/memusage.c: Likewise.
24566 * malloc/memusagestat.c: Likewise.
24567 * nis/nis_defaults.c: Likewise.
24568 * nis/nis_hash.c: Likewise.
24569 * nis/nis_print.c: Likewise.
24570 * nis/nis_xdr.c: Likewise.
24571 * nscd/connections.c: Likewise.
24572 * nscd/hstcache.c: Likewise.
24573 * nscd/nscd_gethst_r.c: Likewise.
24574 * nscd/nscd_getserv_r.c: Likewise.
24575 * nscd/nscd_helper.c: Likewise.
24576 * nscd/servicescache.c: Likewise.
24577 * nss/makedb.c: Likewise.
24578 * nss/nss_db/db-XXX.c: Likewise.
24579 * nss/nss_db/db-initgroups.c: Likewise.
24580 * nss/nss_db/db-netgrp.c: Likewise.
24581 * nss/nss_files/files-network.c: Likewise.
24582 * nss/nss_files/files-parse.c: Likewise.
24583 * posix/bug-regex5.c: Likewise.
24584 * posix/fnmatch_loop.c: Likewise.
24585 * posix/regcomp.c: Likewise.
24586 * posix/regexec.c: Likewise.
24587 * posix/tst-rfc3484-2.c: Likewise.
24588 * posix/tst-rfc3484-3.c: Likewise.
24589 * posix/tst-rfc3484.c: Likewise.
24590 * resolv/nss_dns/dns-canon.c: Likewise.
24591 * resolv/nss_dns/dns-network.c: Likewise.
24592 * resolv/res_init.c: Likewise.
24593 * resolv/res_mkquery.c: Likewise.
24594 * resolv/tst-aton.c: Likewise.
24595 * stdlib/cxa_atexit.c: Likewise.
24596 * stdlib/cxa_finalize.c: Likewise.
24597 * stdlib/gen-fpioconst.c: Likewise.
24598 * stdlib/strtol_l.c: Likewise.
24599 * string/tst-endian.c: Likewise.
24600 * sunrpc/auth_des.c: Likewise.
24601 * sunrpc/clnt_udp.c: Likewise.
24602 * sunrpc/rtime.c: Likewise.
24603 * sunrpc/svcauth_des.c: Likewise.
24604 * sunrpc/xdr.c: Likewise.
24605 * sunrpc/xdr_intXX_t.c: Likewise.
24606 * sunrpc/xdr_rec.c: Likewise.
24607 * sysdeps/generic/ldconfig.h: Likewise.
24608 * sysdeps/generic/ldsodefs.h: Likewise.
24609 * sysdeps/generic/memusage.h: Likewise.
24610 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24620 * sysdeps/posix/getaddrinfo.c: Likewise.
24621 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24622 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24623 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24625 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24626 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24627 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24628 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24629 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24630 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24631 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24632 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24633 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24634 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24635 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24636 * sysdeps/x86_64/dl-tls.h: Likewise.
24637 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24638 * time/alt_digit.c: Likewise.
24639 * time/era.c: Likewise.
24640 * wcsmbs/tst-c16c32-1.c: Likewise.
24641
8c75f674
JM
246422013-05-16 Joseph Myers <joseph@codesourcery.com>
24643
24644 * math/libm-test.inc (struct test_sincos_data): New type.
24645 (RUN_TEST_LOOP_sincos): New macro.
24646 (sincos_test_data): New variable.
24647 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24648
e6e49e59
RH
246492013-05-16 Richard Henderson <rth@redhat.com>
24650
24651 * math/atest-exp2.c (LIMB64): New macro.
24652 (CONSTSZ): New macro.
24653 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24654 (hexdig): Move ...
24655 (print_mpn_fp): ... to function scope.
24656 (read_mpn_hex): Remove.
24657 (get_log2): Remove.
24658 (exp2_mpn): Use mp_log2.
24659 (main): Use mp_exp1.
24660
15c7c18d
JM
246612013-05-16 Joseph Myers <joseph@codesourcery.com>
24662
105a07df
JM
24663 * math/libm-test.inc: Remove comment about not testing "inexact"
24664 exceptions.
24665 (INEXACT_EXCEPTION): New macro.
24666 (NO_INEXACT_EXCEPTION): Likewise.
24667 (INVALID_EXCEPTION_OK): Update value.
24668 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24669 (OVERFLOW_EXCEPTION_OK): Likewise.
24670 (UNDERFLOW_EXCEPTION_OK): Likewise.
24671 (IGNORE_ZERO_INF_SIGN): Likewise.
24672 (ERRNO_UNCHANGED): Likewise.
24673 (ERRNO_EDOM): Likewise.
24674 (ERRNO_ERANGE): Likewise.
24675 (test_exceptions): Handle testing "inexact" exceptions.
24676 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24677 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24678 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24679 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24680 INEXACT_EXCEPTION.
24681 (rint_towardzero_test_data): Likewise.
24682 (rint_downward_test_data): Likewise.
24683 (rint_upward_test_data): Likewise.
24684
e9eee333
JM
24685 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24686 with OVERFLOW_EXCEPTION.
24687 (exp10_test_data): Likewise.
24688 (exp2_test_data): Likewise.
24689 (expm1_test_data): Likewise.
24690 (lgamma_test_data): Likewise.
24691 (pow_test_data): Likewise.
24692 (tgamma_test_data): Likewise.
24693 (yn_test_data): Remove duplicate test of overflow.
24694
1c38ff73
JM
24695 * math/libm-test.inc (struct test_cc_c_data): New type.
24696 (RUN_TEST_LOOP_cc_c): New macro.
24697 (cpow_test_data): New variable.
24698 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24699
15c7c18d
JM
24700 * math/libm-test.inc (struct test_f_L_data): New type.
24701 (RUN_TEST_LOOP_f_L): New macro.
24702 (llrint_test_data): New variable.
24703 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24704 (llrint_tonearest_test_data): New variable.
24705 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24706 (llrint_towardzero_test_data): New variable.
24707 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24708 (llrint_downward_test_data): New variable.
24709 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24710 (llrint_upward_test_data): New variable.
24711 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24712 (llround_test_data): New variable.
24713 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24714
f137ff13
PC
247152013-05-13 Peter Collingbourne <pcc@google.com>
24716
24717 * math/atest-exp2.c (get_log2): Remove const attribute.
24718
3608cb24
JM
247192013-05-15 Joseph Myers <joseph@codesourcery.com>
24720
24721 * math/libm-test.inc (struct test_f_l_data): New type.
24722 (RUN_TEST_LOOP_f_l): New macro.
24723 (lrint_test_data): New variable.
24724 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24725 (lrint_tonearest_test_data): New variable.
24726 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24727 (lrint_towardzero_test_data): New variable.
24728 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24729 (lrint_downward_test_data): New variable.
24730 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24731 (lrint_upward_test_data): New variable.
24732 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24733 (lround_test_data): New variable.
24734 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24735
39b1f617
PC
247362013-05-15 Peter Collingbourne <pcc@google.com>
24737
1deff3dc
PC
24738 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24739 (EXTRACT_WORDS64) Use where appropriate.
24740 (INSERT_WORDS64) Likewise.
24741
791f3ba0
PC
24742 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24743 constraints with x constraints.
24744 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24745
39b1f617
PC
24746 * malloc/obstack.c (_obstack_compat): Add initializer.
24747
12fba011
EM
247482013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24749
24750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24751 si_trapno and add si_addr_lsb to _sifields.sigfault.
24752 (si_trapno): Remove macro.
24753 (si_addr_lsb): Define new macro.
24754 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24755
d369f531
JM
247562013-05-15 Joseph Myers <joseph@codesourcery.com>
24757
b861c6c4
JM
24758 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24759 instead of TEST_f_l.
24760 (llrint_test_tonearest): Likewise.
24761 (llrint_test_towardzero): Likewise.
24762 (llrint_test_downward): Likewise.
24763 (llrint_test_upward): Likewise.
24764 (llround_test): Likewise.
24765
7abeee12
JM
24766 * math/libm-test.inc (struct test_f_i_data): Add comment.
24767 (RUN_TEST_LOOP_f_b): New macro.
24768 (RUN_TEST_LOOP_f_b_tg): Likewise.
24769 (finite_test_data): New variable.
24770 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24771 (isfinite_test_data): New variable.
24772 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24773 (isinf_test_data): New variable.
24774 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24775 (isnan_test_data): New variable.
24776 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24777 (isnormal_test_data): New variable.
24778 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24779 (issignaling_test_data): New variable.
24780 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24781 (signbit_test_data): New variable.
24782 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24783
cbe8c4d3
JM
24784 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24785 with INVALID_EXCEPTION.
24786 (acosh_test_data): Likewise.
24787 (asin_test_data): Likewise.
24788 (atanh_test_data): Likewise.
24789 (fmod_test_data): Likewise.
24790 (log_test_data): Likewise.
24791 (log10_test_data): Likewise.
24792 (log2_test_data): Likewise.
24793 (pow_test_data): Likewise.
24794 (sqrt_test_data): Likewise.
24795 (y0_test_data): Likewise.
24796 (y1_test_data): Likewise.
24797 (yn_test_data): Likewise.
24798
5575c0e5
JM
24799 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24800 function contents.
24801
d369f531
JM
24802 * math/libm-test.inc (struct test_ff_i_data): New type.
24803 (RUN_TEST_LOOP_ff_i_tg): New macro.
24804 (isgreater_test_data): New variable.
24805 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24806 (isgreaterequal_test_data): New variable.
24807 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24808 (isless_test_data): New variable.
24809 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24810 (islessequal_test_data): New variable.
24811 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24812 (islessgreater_test_data): New variable.
24813 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24814 (isunordered_test_data): New variable.
24815 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24816
781fd748
DM
248172013-05-14 David S. Miller <davem@davemloft.net>
24818
24819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24820
87aa21df
JM
248212013-05-14 Joseph Myers <joseph@codesourcery.com>
24822
5e908270
JM
24823 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24824
f71172e5
JM
24825 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24826 extra_test to int.
24827 (struct test_f_i_data): Change type of max_ulp to int.
24828
8cfa635a
JM
24829 * math/libm-test.inc (test_ffI_f1_data): New type.
24830 (RUN_TEST_LOOP_ffI_f1): New macro.
24831 (remquo_test_data): New variable.
24832 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24833
2bcb36b2
JM
24834 * setjmp/tst-setjmp-fp.c: New file.
24835 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24836 (link-libm): New variable.
24837 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24838
acbd839a
JM
24839 * math/libm-test.inc (struct test_f_i_data): New type.
24840 (RUN_TEST_LOOP_f_i): New macro.
24841 (RUN_TEST_LOOP_f_i_tg): Likewise.
24842 (fpclassify_test_data): New variable.
24843 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24844 (ilogb_test_data): New variable.
24845 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24846
e414d745
JM
24847 * math/libm-test.inc (scalbln_test): Correct function name in END
24848 call.
24849
d9c2a0fd
JM
24850 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24851 (RUN_TEST_LOOP_fI_f1): New macro.
24852 (frexp_test_data): New variable.
24853 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24854
9dc9095d
JM
24855 * math/libm-test.inc (struct test_fF_f1_data): New type.
24856 (RUN_TEST_LOOP_fF_f1): New macro.
24857 (modf_test_data): New variable.
24858 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24859
87aa21df
JM
24860 * math/libm-test.inc (struct test_f_f1_data): New type.
24861 (RUN_TEST_LOOP_f_f1): New macro.
24862 (gamma_test_data): New variable.
24863 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24864 (lgamma_test_data): New variable.
24865 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24866
141af660
CD
248672013-05-13 Carlos O'Donell <carlos@redhat.com>
24868
24869 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24870 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24871 (main): Comment "tls" pseudo-hwcap.
24872
6d33265c
JM
248732013-05-13 Joseph Myers <joseph@codesourcery.com>
24874
68fc074c
JM
24875 * math/libm-test.inc (struct test_fl_f_data): New type.
24876 (RUN_TEST_LOOP_fl_f): New variable.
24877 (scalbln_test_data): New variable.
24878 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24879
243216e1
JM
24880 * math/libm-test.inc (struct test_fi_f_data): New type.
24881 (RUN_TEST_LOOP_fi_f): New macro.
24882 (ldexp_test_data): New variable.
24883 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24884 (scalbn_test_data): New variable.
24885 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24886
6a1992e2
JM
24887 * math/libm-test.inc (struct test_c_f_data): New type.
24888 (RUN_TEST_LOOP_c_f): New macro.
24889 (cabs_test_data): New variable.
24890 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24891 (carg_test_data): New variable.
24892 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24893 (cimag_test_data): New variable.
24894 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24895 (creal_test_data): New variable.
24896 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24897
0e400df5
JM
24898 * math/libm-test.inc (struct test_if_f_data): New type.
24899 (RUN_TEST_LOOP_if_f): New macro.
24900 (jn_test_data): New variable.
24901 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24902 (yn_test_data): New variable.
24903 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24904
6d33265c
JM
24905 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24906
f98ece5f
AZ
249072013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24908
24909 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24910 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24911
0f7d347b
SP
249122013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24913
43fe811b
SP
24914 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24915 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24916 (bench-deps): Add bench-timing.h.
24917 * benchtests-bench-skeleton.c: Include bench-timing.h.
24918 (main): Use TIMING_* macros instead of clock_gettime.
24919 * benchtests/bench-timing.h: New file.
24920
0f7d347b
SP
24921 [BZ #14582]
24922 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24923 Renamed from _LIB_VERSION.
24924 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24925
601a3a5f
JM
249262013-05-12 Joseph Myers <joseph@codesourcery.com>
24927
4f184d30
JM
24928 * math/libm-test.inc (struct test_fff_f_data): New type.
24929 (RUN_TEST_LOOP_fff_f): New macro.
24930 (fma_test_data): New variable.
24931 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24932 (fma_towardzero_test_data): New variable.
24933 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24934 (fma_downward_test_data): New variable.
24935 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24936 (fma_upward_test_data): New variable.
24937 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24938
08198877
JM
24939 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24940 (struct test_c_c_data): New type.
24941 (RUN_TEST_LOOP_c_c): New macro.
24942 (cacos_test_data): New variable.
24943 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24944 (cacosh_test_data): New variable.
24945 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24946 (casin_test_data): New variable.
24947 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24948 (casinh_test_data): New variable.
24949 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24950 (catan_test_data): New variable.
24951 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24952 (catanh_test_data): New variable.
24953 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24954 (ccos_test_data): New variable.
24955 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24956 (ccosh_test_data): New variable.
24957 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24958 (cexp_test_data): New variable.
24959 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24960 (clog_test_data): New variable.
24961 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24962 (clog10_test_data): New variable.
24963 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24964 (conj_test_data): New variable.
24965 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24966 (cproj_test_data): New variable.
24967 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24968 (csin_test_data): New variable.
24969 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24970 (csinh_test_data): New variable.
24971 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24972 (csqrt_test_data): New variable.
24973 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24974 (ctan_test_data): New variable.
24975 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24976 (ctan_tonearest_test_data): New variable.
24977 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24978 (ctan_towardzero_test_data): New variable.
24979 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24980 (ctan_downward_test_data): New variable.
24981 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24982 (ctan_upward_test_data): New variable.
24983 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24984 (ctanh_test_data): New variable.
24985 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24986 (ctanh_tonearest_test_data): New variable.
24987 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24988 (ctanh_towardzero_test_data): New variable.
24989 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24990 (ctanh_downward_test_data): New variable.
24991 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24992 (ctanh_upward_test_data): New variable.
24993 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24994 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24995 of BUILD_COMPLEX.
24996
601a3a5f
JM
24997 * math/libm-test.inc (struct test_ff_f_data): New type.
24998 (struct test_ff_f_data_nexttoward): Likewise.
24999 (RUN_TEST_LOOP_2_f): New macro.
25000 (RUN_TEST_LOOP_ff_f): Likewise.
25001 (atan2_test_data): New variable.
25002 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25003 (copysign_test_data): New variable.
25004 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25005 (fdim_test_data): New variable.
25006 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25007 (fmax_test_data): New variable.
25008 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25009 (fmin_test_data): New variable.
25010 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25011 (fmod_test_data): New variable.
25012 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25013 (hypot_test_data): New variable.
25014 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25015 (nextafter_test_data): New variable.
25016 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25017 (nexttoward_test_data): New variable.
25018 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25019 (pow_test_data): New variable.
25020 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25021 (pow_tonearest_test_data): New variable.
25022 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25023 (pow_towardzero_test_data): New variable.
25024 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25025 (pow_downward_test_data): New variable.
25026 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25027 (pow_upward_test_data): New variable.
25028 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25029 (remainder_test_data): New variable.
25030 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25031 (scalb_test_data): New variable.
25032 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25033 * sysdeps/i386/fpu/libm-test-ulps: Update.
25034
74c57478
JM
250352013-05-11 Joseph Myers <joseph@codesourcery.com>
25036
8329e4da
JM
25037 * math/libm-test.inc (fma_test): Use max_value instead of local
25038 variable fltmax.
25039 (nextafter_test): Likewise.
25040
74c57478
JM
25041 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25042 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25043 (acos_downward_test_data): New variable.
25044 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25045 (acos_upward_test_data): New variable.
25046 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25047 (acosh_test_data): New variable.
25048 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25049 (asin_test_data): New variable.
25050 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25051 (asin_tonearest_test_data): New variable.
25052 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25053 (asin_towardzero_test_data): New variable.
25054 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25055 (asin_downward_test_data): New variable.
25056 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25057 (asin_upward_test_data): New variable.
25058 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25059 (asinh_test_data): New variable.
25060 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25061 (atan_test_data): New variable.
25062 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25063 (atanh_test_data): New variable.
25064 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25065 (cbrt_test_data): New variable.
25066 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25067 (ceil_test_data): New variable.
25068 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25069 (cos_test_data): New variable.
25070 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25071 (cos_tonearest_test_data): New variable.
25072 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25073 (cos_towardzero_test_data): New variable.
25074 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25075 (cos_downward_test_data): New variable.
25076 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25077 (cos_upward_test_data): New variable.
25078 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25079 (cosh_test_data): New variable.
25080 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25081 (cosh_tonearest_test_data): New variable.
25082 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25083 (cosh_towardzero_test_data): New variable.
25084 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25085 (cosh_downward_test_data): New variable.
25086 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25087 (cosh_upward_test_data): New variable.
25088 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25089 (erf_test_data): New variable.
25090 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25091 (erfc_test_data): New variable.
25092 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25093 (exp_test_data): New variable.
25094 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25095 (exp_tonearest_test_data): New variable.
25096 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25097 (exp_towardzero_test_data): New variable.
25098 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25099 (exp_downward_test_data): New variable.
25100 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25101 (exp_upward_test_data): New variable.
25102 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25103 (exp10_test_data): New variable.
25104 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25105 (exp2_test_data): New variable.
25106 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25107 (expm1_test_data): New variable.
25108 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25109 (fabs_test_data): New variable.
25110 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25111 (floor_test_data): New variable.
25112 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25113 (j0_test_data): New variable.
25114 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25115 (j1_test_data): New variable.
25116 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25117 (log_test_data): New variable.
25118 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25119 (log10_test_data): New variable.
25120 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25121 (log1p_test_data): New variable.
25122 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25123 (log2_test_data): New variable.
25124 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25125 (logb_test_data): New variable.
25126 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25127 (logb_downward_test_data): New variable.
25128 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25129 (nearbyint_test_data): New variable.
25130 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25131 (rint_test_data): New variable.
25132 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25133 (rint_tonearest_test_data): New variable.
25134 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25135 (rint_towardzero_test_data): New variable.
25136 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25137 (rint_downward_test_data): New variable.
25138 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25139 (rint_upward_test_data): New variable.
25140 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25141 (round_test_data): New variable.
25142 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25143 (sin_test_data): New variable.
25144 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25145 (sin_tonearest_test_data): New variable.
25146 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25147 (sin_towardzero_test_data): New variable.
25148 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25149 (sin_downward_test_data): New variable.
25150 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25151 (sin_upward_test_data): New variable.
25152 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25153 (sinh_test_data): New variable.
25154 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25155 (sinh_tonearest_test_data): New variable.
25156 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25157 (sinh_towardzero_test_data): New variable.
25158 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25159 (sinh_downward_test_data): New variable.
25160 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25161 (sinh_upward_test_data): New variable.
25162 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25163 (sqrt_test_data): New variable.
25164 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25165 (tan_test_data): New variable.
25166 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25167 (tan_tonearest_test_data): New variable.
25168 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25169 (tan_towardzero_test_data): New variable.
25170 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25171 (tan_downward_test_data): New variable.
25172 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25173 (tan_upward_test_data): New variable.
25174 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25175 (tanh_test_data): New variable.
25176 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25177 (tgamma_test_data): New variable.
25178 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25179 (trunc_test_data): New variable.
25180 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25181 (y0_test_data): New variable.
25182 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25183 (y1_test_data): New variable.
25184 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25185 (significand_test_data): New variable.
25186 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25187
7187d844
CG
251882013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25189
25190 [BZ #12387]
25191 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25192
f63fae73
PT
251932013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25194
25195 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25196
8a67a4b3
AJ
251972013-05-10 Andreas Jaeger <aj@suse.de>
25198
25199 [BZ #15448]
25200 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25201 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25202
51df539d
JM
252032013-05-10 Joseph Myers <joseph@codesourcery.com>
25204
25205 * math/gen-libm-test.pl (adjust_arg): New function.
25206 (special_functions): Handle generating output in both functions
25207 and arrays.
25208 (parse_args): Likewise.
25209 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25210 $in_func argument to parse_args.
25211 * math/libm-test.inc (struct test_f_f_data): New type.
25212 (IF_ROUND_INIT_): New macro.
25213 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25214 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25215 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25216 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25217 (ROUND_RESTORE_): Likewise.
25218 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25219 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25220 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25221 (ROUND_RESTORE_FE_UPWARD): Likewise.
25222 (RUN_TEST_LOOP_f_f): New macro.
25223 (acos_test_data): New variable.
25224 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25225 (acos_tonearest_test_data): New variable.
25226 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25227
5c637fe5
SP
252282013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25229
25230 * benchtests/bench-skeleton.c (startup): Fix coding style.
25231
ab2b9461
JM
252322013-05-10 Joseph Myers <joseph@codesourcery.com>
25233
25234 [BZ #6809]
25235 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25236 negative infinity argument.
25237 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25238 negative infinity argument.
25239 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25240 negative infinity argument.
25241 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25242 domain errors.
25243
4c0fe6fe
FW
252442013-05-10 Florian Weimer <fweimer@redhat.com>
25245
25246 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25247 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25248 * iconv/iconv_prog.c (main): Likewise.
25249 * locale/programs/charmap-dir.c (charmap_readdir)
25250 (fopen_uncompressed): Likewise.
25251 * locale/programs/locfile.c (siblings_uncached)
25252 (write_locale_data): Use lstat64 instead of lstat.
25253 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25254 stat.
25255
a3375d29
AJ
252562013-05-10 Andreas Jaeger <aj@suse.de>
25257
25258 [BZ #15395]
25259 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25260 localization.
25261 Include <locale.h>.
25262
36129722
CD
252632013-05-09 Carlos O'Donell <carlos@redhat.com>
25264
25265 * elf/dl-close.c (_dl_close_worker): Add comments.
25266
faa7f811
JM
252672013-05-09 Joseph Myers <joseph@codesourcery.com>
25268
ed41ffef
JM
25269 [BZ #15359]
25270 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25271 high part of pi/2.
25272 (__ieee754_rem_pio2l): Update comments.
25273
d0213cd0
JM
25274 [BZ #15429]
25275 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25276 high part of pi/2.
25277 (__ieee754_rem_pio2l): Update comments.
25278
0d3e777a
JM
25279 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25280 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25281
24f56066
JM
25282 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25283 M_PI_4l.
25284
faa7f811
JM
25285 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25286 (M_PI_34_LOG10El): Likewise.
25287 (M_PI2_LOG10El): Likewise.
25288 (M_PI4_LOG10El): Likewise.
25289 (M_PI_LOG10El): Likewise.
25290
e9a5e0fd
AZ
252912013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25292
25293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25294
d8cd06db
JM
252952013-05-08 Joseph Myers <joseph@codesourcery.com>
25296
a0d9f9d7
JM
25297 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25298 (MINUS_ZERO_INIT): Likewise.
25299 (PLUS_INFTY_INIT): Likewise.
25300 (MINUS_INFTY_INIT): Likewise.
25301 (QNAN_VALUE_INIT): Likewise.
25302 (MAX_VALUE_INIT): Likewise.
25303 (MIN_VALUE_INIT): Likewise.
25304 (MIN_SUBNORM_VALUE_INIT): Likewise.
25305 (plus_zero): Initialize with PLUS_ZERO_INIT.
25306 (minus_zero): Initialize with MINUS_ZERO_INIT.
25307 (plus_infty): Initialize with PLUS_INFTY_INIT.
25308 (minus_infty): Initialize with MINUS_INFTY_INIT.
25309 (qnan_value): Initialize with QNAN_VALUE_INIT.
25310 (max_value): Initialize with MAX_VALUE_INIT.
25311 (min_value): Initialize with MIN_VALUE_INIT.
25312 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25313
ae08db3b
JM
25314 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25315 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25316 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25317 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25318
f44bf14a
JM
25319 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25320 (RUN_TEST_2_f): Likewise.
25321 (RUN_TEST_ff_f): Likewise.
25322 (RUN_TEST_fi_f): Likewise.
25323 (RUN_TEST_fl_f): Likewise.
25324 (RUN_TEST_fff_f): Likewise.
25325 (RUN_TEST_c_f): Likewise.
25326 (RUN_TEST_f_f1): Likewise.
25327 (RUN_TEST_fF_f1): Likewise.
25328 (RUN_TEST_fI_f1): Likewise.
25329 (RUN_TEST_ffI_f1): Likewise.
25330 (RUN_TEST_c_c): Likewise.
25331 (RUN_TEST_cc_c): Likewise.
25332 (RUN_TEST_f_i): Likewise.
25333 (RUN_TEST_f_i_tg): Likewise.
25334 (RUN_TEST_ff_i_tg): Likewise.
25335 (RUN_TEST_f_b): Likewise.
25336 (RUN_TEST_f_b_tg): Likewise.
25337 (RUN_TEST_f_l): Likewise.
25338 (RUN_TEST_f_L): Likewise.
25339 (RUN_TEST_sincos): Likewise.
25340 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25341 whether to show exceptions. Do not include ");\n" in return
25342 value.
25343 (special_functions): Output call to RUN_TEST_sincos instead of
25344 check_float calls. Update calls to new_test.
25345 (parse_args): Output call to single RUN_TEST_* macro instead of
25346 check_* calls and other assignments. Update calls to new_test.
25347
d8cd06db
JM
25348 [BZ #2546]
25349 [BZ #2560]
25350 [BZ #5159]
25351 [BZ #15426]
25352 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25353 input to result for tgamma overflow.
25354 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25355 (gamma_coeff): New variable.
25356 (NCOEFF): New macro.
25357 (gamma_positive): New function.
25358 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25359 underflow here. Use gamma_positive instead of exp (lgamma) for
25360 other arguments.
25361 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25362 (gamma_coeff): New variable.
25363 (NCOEFF): New macro.
25364 (gammaf_positive): New function.
25365 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25366 underflow here. Use gamma_positive instead of exp (lgamma) for
25367 other arguments.
25368 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25369 (gamma_coeff): New variable.
25370 (NCOEFF): New macro.
25371 (gammal_positive): New function.
25372 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25373 underflow here. Use gamma_positive instead of exp (lgamma) for
25374 other arguments.
25375 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25376 (gamma_coeff): New variable.
25377 (NCOEFF): New macro.
25378 (gammal_positive): New function.
25379 (__ieee754_gammal_r): Handle positive infinity, overflow and
25380 underflow here. Handle NaN the same as positive infinity. Remove
25381 check x < 0xffffffff for negative integers. Use gamma_positive
25382 instead of exp (lgamma) for other arguments.
25383 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25384 (gamma_coeff): New variable.
25385 (NCOEFF): New macro.
25386 (gammal_positive): New function.
25387 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25388 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25392 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25393 * sysdeps/generic/math_private.h (__gamma_productf): New
25394 prototype.
25395 (__gamma_product): Likewise.
25396 (__gamma_productl): Likewise.
25397 * math/Makefile (libm-calls): Add gamma_product.
25398 * math/libm-test.inc (tgamma_test): Add more tests.
25399 * sysdeps/i386/fpu/libm-test-ulps: Update.
25400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25401
bb7cf681
OB
254022013-05-08 Ondřej Bílka <neleai@seznam.cz>
25403
25404 * benchtests/bench-skeleton.c (main): Preheat CPU.
25405
ba853947
AJ
254062013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25407
25408 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25409
8347c74c
RM
254102013-05-07 Roland McGrath <roland@hack.frob.com>
25411
25412 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25413 and _dl_skip_args_internal.
25414
e8dd4791
CD
254152013-05-07 Carlos O'Donell <carlos@redhat.com>
25416
25417 * manual/message.texi (Message Translation): Talk about users.
25418 Message to key mapping impacts design.
25419
c7405830
RM
254202013-05-06 Roland McGrath <roland@hack.frob.com>
25421
a9173057
RM
25422 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25423
976e2f03
RM
25424 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25425
9723ffc5
RM
25426 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25427 * sysdeps/wordsize-64/glob64.c: ... here.
25428
962e6658
RM
25429 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25430 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25431 New macros.
25432
ee586a6d
RM
25433 * debug/getlogin_r_chk.c: Moved to ...
25434 * login/getlogin_r_chk.c: ... here.
25435 * debug/Makefile (routines): Move getlogin_r_chk to ...
25436 * login/Makefile (routines): ... here.
25437 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25438 * login/Versions (libc: GLIBC_2.4): ... here.
25439
355f9165
RM
25440 * io/poll.c (__poll): Renamed from poll.
25441 Add libc_hidden_def.
25442 (poll): Define as weak alias.
25443
bd9ffde6
RM
25444 * debug/ptsname_r_chk.c: Moved to ...
25445 * login/ptsname_r_chk.c: ... here.
25446 * debug/Makefile (routines): Move ptsname_r_chk to ...
25447 * login/Makefile (routines): ... here.
25448 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25449 * login/Versions (libc: GLIBC_2.4): ... here.
25450
8fb16a04
RM
25451 * posix/getlogin.c: Moved to ...
25452 * login/getlogin.c: ... here.
25453 * posix/getlogin_r.c: Moved to ...
25454 * login/getlogin_r.c: ... here.
25455 * posix/getlogin_r.c: Moved to ...
25456 * login/getlogin_r.c: ... here.
25457 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25458 * login/Makefile (routines): ... here.
25459 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25460 * login/Versions (libc: GLIBC_2.0): ... here.
25461
b99b892f
RM
25462 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25463 (setrlimit): Define as weak alias.
25464
c7405830
RM
25465 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25466 Call __ names for open, ftruncate, and close.
25467 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25468 (truncate): Define as weak alias.
25469
5bf96de5
JM
254702013-05-06 Joseph Myers <joseph@codesourcery.com>
25471
9ea3513c
JM
25472 * math/gen-libm-test.pl (parse_args): Initialize x before each
25473 test of frexp, modf and remquo.
25474
5bf96de5
JM
25475 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25476 test signgam value.
25477
16e616a7
AZ
254782013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25479
25480 [BZ #15418]
25481 [BZ #15419]
25482 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25483 internal tests.
25484 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25485
d5e82754
RM
254862013-05-06 Roland McGrath <roland@hack.frob.com>
25487
25488 * elf/dl-writev.h: New file.
25489 * elf/dl-misc.c: Include it.
25490 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25491 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25492
a7548d41
JM
254932013-05-04 Joseph Myers <joseph@codesourcery.com>
25494
b7dab1e4
JM
25495 * math/libm-test.inc (noXFails): Remove variable.
25496 (noXPasses): Likewise.
25497 (BUILD_COMPLEX_INT): Remove macro.
25498 (print_screen): Remove xfail argument.
25499 (print_screen_max_error): Likewise.
25500 (update_stats): Likewise.
25501 (print_max_error): Likewise. Update calls to other affected
25502 functions.
25503 (print_complex_max_error): Likewise.
25504 (test_single_exception): Update calls to print_screen.
25505 (test_single_errno): Likewise.
25506 (check_float_internal): Remove xfail argument. Update calls to
25507 other affected functions.
25508 (check_float): Likewise.
25509 (check_complex): Likewise.
25510 (check_int): Likewise.
25511 (check_long): Likewise.
25512 (check_bool): Likewise.
25513 (check_longlong): Likewise.
25514 (main): Don't print noXFails and noXPasses.
25515 * math/gen-libm-test.pl (top level): Don't mention expected
25516 failure handling in comment.
25517 (new_test): Don't handle expected failures.
25518 (parse_args): Don't mention expected failure handling in comment.
25519 (generate_testfile): Don't handle expected failures.
25520 (parse_ulps): Likewise.
25521 (print_ulps_file): Likewise.
25522 (get_failure): Remove function.
25523 (output_test): Don't handle expected failures.
25524 * make/README.libm-test: Don't mention expected failure handling.
25525
a7548d41
JM
25526 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25527 (minus_zero): Likewise.
25528 (plus_infty): Likewise.
25529 (minus_infty): Likewise.
25530 (qnan_value): Likewise.
25531 (max_value): Likewise.
25532 (min_value): Likewise.
25533 (min_subnorm_value): Likewise.
25534 (initialize): Do not initialize those variables dynamically.
25535
60bfd54c
RM
255362013-05-03 Roland McGrath <roland@hack.frob.com>
25537
cc0e6ed8
RM
25538 * io/open.c (__open_2): Moved to ...
25539 * io/open_2.c: ... this new file.
25540 * io/open64.c (__open64_2): Moved to ...
25541 * io/open64_2.c: ... this new file.
25542 * io/openat.c (__openat_2): Moved to ...
25543 * io/openat_2.c: ... this new file.
25544 * io/openat64.c (__openat64_2): Moved to ...
25545 * io/openat64_2.c: ... this new file.
25546 * io/Makefile (routines): Add them.
25547 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25548 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25549 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25550 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25551 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25552 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25553 (__openat64): Add hidden_ver.
25554 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25555 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25556
60bfd54c
RM
25557 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25558 Separately conditionalize setting of GLRO(dl_sysinfo) so
25559 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25560 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25561
83e7640f
AZ
255622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25563
25564 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25566 definition.
25567 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25568 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25569 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25570 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25571 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25572
d5dc2af3
JM
255732013-05-03 Joseph Myers <joseph@codesourcery.com>
25574
c31a5b1e
JM
25575 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25576 test signgam value.
25577
d5dc2af3
JM
25578 * math/libm-test.inc (hypot_test): Do not use
25579 IGNORE_ZERO_INF_SIGN.
25580
164fd39d
AJ
255812013-05-03 Andreas Jaeger <aj@suse.de>
25582
25583 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25584 Linux 3.9.
25585 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25586 (PF_MAX): Adjust for VSOCK change.
25587
8237f48c
AZ
255882013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25589
25590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25591
9df02941
CD
255922013-05-02 Carlos O'Donell <carlos@redhat.com>
25593
25594 [BZ #15264]
25595 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25596 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25597 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25598
d422395e
DM
255992013-05-02 David S. Miller <davem@davemloft.net>
25600
25601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25602
a07c5731
OB
256032013-05-01 Ondřej Bílka <neleai@seznam.cz>
25604
25605 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25606
1324e37f
RM
256072013-05-01 Roland McGrath <roland@hack.frob.com>
25608
25609 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25610
0695940b
RS
256112013-05-01 Richard Smith <richard@metafoo.co.uk>
25612
bb5f27ad 25613 [BZ #14952]
0695940b
RS
25614 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25615 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25616 Use __attribute__ ((__gnu_inline__)).
25617 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25618 Don't use __attribute__ ((__gnu_inline__)).
25619
10de07f5
JM
256202013-05-01 Joseph Myers <joseph@codesourcery.com>
25621
25622 [BZ #15423]
25623 * math/s_catan.c (__catan): Handle small real or imaginary part of
25624 input specially to avoid spurious underflow.
25625 * math/s_catanf.c (__catanf): Likewise.
25626 * math/s_catanh.c (__catanh): Likewise.
25627 * math/s_catanhf.c (__catanhf): Likewise.
25628 * math/s_catanhl.c (__catanhl): Likewise.
25629 * math/s_catanl.c (__catanl): Likewise.
25630 * math/libm-test.inc (catan_test): Add more tests.
25631 (catanh_test): Likewise.
25632 * sysdeps/i386/fpu/libm-test-ulps: Update.
25633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25634
cb4d5414
AZ
256352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25636
25637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25638
caf84319
JM
256392013-04-30 Joseph Myers <joseph@codesourcery.com>
25640
25641 [BZ #15416]
25642 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25643 accurately for denominator in atan2.
25644 * math/s_catanf.c (__catanf): Likewise.
25645 * math/s_catanh.c (__catanh): Likewise.
25646 * math/s_catanhf.c (__catanhf): Likewise.
25647 * math/s_catanhl.c (__catanhl): Likewise.
25648 * math/s_catanl.c (__catanl): Likewise.
25649 * math/libm-test.inc (catan_test): Add more tests.
25650 (catanh_test): Likewise.
25651 * sysdeps/i386/fpu/libm-test-ulps: Update.
25652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25653
d569c6ee
SP
256542013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25655
6dbe713d
SP
25656 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25657
f0ee064b
SP
25658 * benchtests/Makefile (bench): Remove slow benchmarks.
25659 * benchtests/atan-inputs: Add slow benchmark inputs.
25660 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25661 (BENCH_FUNC): Accept variant offset.
25662 (VARIANT): Define.
25663 * benchtests/bench-skeleton.c (main): Run benchmark for each
25664 variant.
25665 * benchtests/cos-inputs: Add slow benchmark inputs.
25666 * benchtests/exp-inputs: Likewise.
25667 * benchtests/pow-inputs: Likewise.
25668 * benchtests/sin-inputs: Likewise.
25669 * benchtests/slowatan-inputs: Remove.
25670 * benchtests/slowatan.c: Remove.
25671 * benchtests/slowcos-inputs: Remove.
25672 * benchtests/slowcos.c: Remove.
25673 * benchtests/slowexp-inputs: Remove.
25674 * benchtests/slowexp.c: Remove.
25675 * benchtests/slowpow-inputs: Remove.
25676 * benchtests/slowpow.c: Remove.
25677 * benchtests/slowsin-inputs: Remove.
25678 * benchtests/slowsin.c: Remove.
25679 * benchtests/slowtan-inputs: Remove.
25680 * benchtests/slowtan.c: Remove.
25681 * benchtests/tan-inputs: Add slow benchmark inputs.
25682 * scripts/bench.pl: Parse comments and directives.
25683
d569c6ee
SP
25684 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25685 in CPPFLAGS.
25686 ($(objpfx)bench-%.c): Remove *-ITER.
25687 * benchtests/bench-modf.c: Remove definition of ITER.
25688 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25689 (main): Loop for DURATION seconds instead of fixed number of
25690 iterations.
25691 * scripts/bench.pl: Don't expect iterations in parameters.
25692
a6a242fe
RM
256932013-04-29 Roland McGrath <roland@hack.frob.com>
25694
25695 * io/fchdir.c (__fchdir): Renamed from fchdir.
25696 (fchdir): Define as weak alias.
25697
f2da7793
JM
256982013-04-29 Joseph Myers <joseph@codesourcery.com>
25699
25700 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25701 (ERRNO_EDOM): Likewise.
25702 (ERRNO_ERANGE): Likewise.
25703 (noErrnoTests): New variable.
25704 (init_max_error): Set errno to 0.
25705 (test_single_errno): New function.
25706 (test_errno): Likewise.
25707 (check_float_internal): Call test_errno. Set errno to 0.
25708 (check_complex): Refer to errno tests in comment.
25709 (check_int): Call test_errno. Set errno to 0.
25710 (check_long): Likewise.
25711 (check_bool): Likewise.
25712 (check_longlong): Likewise.
25713 (cos_test): Use ERRNO_* flags for errno tests instead of
25714 check_int.
25715 (expm1_test): Likewise.
25716 (fmod_test): Likewise.
25717 (ilogb_test): Likewise.
25718 (lgamma_test): Likewise.
25719 (pow_test): Likewise.
25720 (remainder_test): Likewise.
25721 (sin_test): Likewise.
25722 (tan_test): Likewise.
25723 (yn_test): Likewise.
25724 (initialize): Set errno to 0.
25725 (main): Print number of errno tests.
25726 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25727
b1a36ceb
AJ
257282013-04-29 Andreas Jaeger <aj@suse.de>
25729
c3ed8088
AJ
25730 [BZ #15084]
25731 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25732 and RES_USEVC.
25733
f1a24198
AJ
25734 [BZ #15085]
25735 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25736 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25737 unimplemented.
25738
9ce3b2cb
AJ
25739 [BZ #15380]
25740 * stdlib/random.c (__initstate): Return NULL if
25741 __initstate fails.
25742
f1a24198 25743 [BZ #15086]
b1a36ceb
AJ
25744 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25745 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25746 RES_SNGLKUPREOP.
25747
7e7b6f36
AZ
257482013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25749
25750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25751
4d14f449
JM
257522013-04-29 Joseph Myers <joseph@codesourcery.com>
25753
25754 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25755 of individual tests.
25756 (casin_test): Likewise.
25757 (casinh_test): Likewise.
25758
5b4217d7
JM
257592013-04-27 Joseph Myers <joseph@codesourcery.com>
25760
25761 [BZ #15409]
25762 * math/s_catan.c (__catan): Handle arguments with large real or
25763 imaginary part separately without squaring.
25764 * math/s_catanf.c (__catanf): Likewise.
25765 * math/s_catanh.c (__catanh): Likewise.
25766 * math/s_catanhf.c (__catanhf): Likewise.
25767 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25768 and redefine.
25769 (__catanhl): Handle arguments with large real or imaginary part
25770 separately without squaring.
25771 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25772 and redefine.
25773 (__catanl): Handle arguments with large real or imaginary part
25774 separately without squaring.
25775 * math/libm-test.inc (catan_test): Add more tests.
25776 (catanh_test): Likewise.
25777 * sysdeps/i386/fpu/libm-test-ulps: Update.
25778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25779
4220c3ef
AJ
257802013-04-27 Andreas Jaeger <aj@suse.de>
25781
25782 [BZ #15007]
25783 * stdlib/stdlib.h: Update guards for qecvt.
25784 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25785 <stdlib.h>.
25786
4721b2d1
AM
257872013-04-27 Allan McRae <allan@archlinux.org>
25788
25789 * sysdeps/i386/fpu/libm-test-ulps: Update.
25790
f0302940
JM
257912013-04-26 Joseph Myers <joseph@codesourcery.com>
25792
9457fd95
JM
25793 [BZ #15406]
25794 * math/s_catan.c: Include <float.h>.
25795 (__catan): Ensure underflow exception occurs for underflowed
25796 result.
25797 * math/s_catanf.c: Include <float.h>.
25798 (__catanf): Ensure underflow exception occurs for underflowed
25799 result.
25800 * math/s_catanh.c: Include <float.h>.
25801 (__catanh): Ensure underflow exception occurs for underflowed
25802 result.
25803 * math/s_catanhf.c: Include <float.h>.
25804 (__catanhf): Ensure underflow exception occurs for underflowed
25805 result.
25806 * math/s_catanhl.c: Include <float.h>.
25807 (__catanhl): Ensure underflow exception occurs for underflowed
25808 result.
25809 * math/s_catanl.c: Include <float.h>.
25810 (__catanl): Ensure underflow exception occurs for underflowed
25811 result.
25812 * math/libm-test.inc (catan_test): Add more tests.
25813 (catanh_test): Likewise.
25814
f0302940
JM
25815 [BZ #15405]
25816 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25817 underflowed result.
25818 * math/s_ccoshf.c (__ccoshf): Likewise.
25819 * math/s_ccoshl.c (__ccoshl): Likewise.
25820 * math/s_csin.c (__csin): Likewise.
25821 * math/s_csinf.c (__csinf): Likewise.
25822 * math/s_csinh.c (__csinh): Likewise.
25823 * math/s_csinhf.c (__csinhf): Likewise.
25824 * math/s_csinhl.c (__csinhl): Likewise.
25825 * math/s_csinl.c (__csinl): Likewise.
25826 * math/libm-test.inc (ccos_test): Add more tests.
25827 (ccosh_test): Likewise.
25828 (csin_test): Likewise.
25829 (csinh_test): Likewise.
25830
aa630f59
AZ
258312013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25832
25833 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25834 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25835 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25836 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25837 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25838 powerpc/power5+/fpu folders.
25839 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25840
25841
1b835983
MT
258422013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25843
25844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25845
73709b26
JM
258462013-04-25 Joseph Myers <joseph@codesourcery.com>
25847
25848 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25849 additions to variable.
25850 [$(config-machine) = x86_64] (modules-names): Likewise.
25851 ($(objpfx)tst-audit3): Remove dependency.
25852 ($(objpfx)tst-audit3.out): Likewise.
25853 ($(objpfx)tst-audit4): Likewise.
25854 ($(objpfx)tst-audit4.out): Likewise.
25855 ($(objpfx)tst-audit5): Likewise.
25856 ($(objpfx)tst-audit5.out): Likewise.
25857 ($(objpfx)tst-audit6): Likewise.
25858 ($(objpfx)tst-audit6.out): Likewise.
25859 ($(objpfx)tst-audit7): Likewise.
25860 ($(objpfx)tst-audit7.out): Likewise.
25861 (tst-audit3-ENV): Remove variable.
25862 (tst-audit4-ENV): Likewise.
25863 (tst-audit5-ENV): Likewise.
25864 (tst-audit6-ENV): Likewise.
25865 (tst-audit7-ENV): Likewise.
25866 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25867 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25868 addition to variable.
25869 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25870 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25871 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25872 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25873 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25874 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25875 tst-audit3, tst-audit4 and tst-audit5.
25876 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25877 tst-audit6 and tst-audit7.
25878 [$(subdir) = elf] (modules-names): Add audit modules for those
25879 tests.
25880 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25881 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25882 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25883 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25884 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25885 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25886 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25887 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25888 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25889 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25890 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25891 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25892 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25893 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25894 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25895 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25896 Likewise.
25897 [$(subdir) = elf && $(config-cflags-avx) = yes]
25898 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25899 [$(subdir) = elf && $(config-cflags-avx) = yes]
25900 (CFLAGS-tst-auditmod4a.c): Likewise.
25901 [$(subdir) = elf && $(config-cflags-avx) = yes]
25902 (CFLAGS-tst-auditmod4b.c): Likewise.
25903 [$(subdir) = elf && $(config-cflags-avx) = yes]
25904 (CFLAGS-tst-auditmod6b.c): Likewise.
25905 [$(subdir) = elf && $(config-cflags-avx) = yes]
25906 (CFLAGS-tst-auditmod6c.c): Likewise.
25907 [$(subdir) = elf && $(config-cflags-avx) = yes]
25908 (CFLAGS-tst-auditmod7b.c): Likewise.
25909 * elf/tst-audit3.c: Move to ...
25910 * sysdeps/x86_64/tst-audit3.c: ... here.
25911 * elf/tst-audit4.c: Move to ...
25912 * sysdeps/x86_64/tst-audit4.c: ... here.
25913 * elf/tst-audit5.c: Move to ...
25914 * sysdeps/x86_64/tst-audit5.c: ... here.
25915 * elf/tst-audit6.c: Move to ...
25916 * sysdeps/x86_64/tst-audit6.c: ... here.
25917 * elf/tst-audit7.c: Move to ...
25918 * sysdeps/x86_64/tst-audit7.c: ... here.
25919 * elf/tst-auditmod3a.c: Move to ...
25920 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25921 * elf/tst-auditmod3b.c: Move to ...
25922 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25923 * elf/tst-auditmod4a.c: Move to ...
25924 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25925 * elf/tst-auditmod4b.c: Move to ...
25926 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25927 * elf/tst-auditmod5a.c: Move to ...
25928 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25929 * elf/tst-auditmod5b.c: Move to ...
25930 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25931 * elf/tst-auditmod6a.c: Move to ...
25932 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25933 * elf/tst-auditmod6b.c: Move to ...
25934 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25935 * elf/tst-auditmod6c.c: Move to ...
25936 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25937 * elf/tst-auditmod7a.c: Move to ...
25938 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25939 * elf/tst-auditmod7b.c: Move to ...
25940 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25941
1ef74943
PP
259422013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25943
25944 [BZ #15366]
25945 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25946 define unconditionally.
25947 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25948 define unconditionally.
25949 (INT8_C, INT16_C, etc.): Likewise.
25950
93fd48c5
MR
259512013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25952
ae9552cf
MR
25953 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25954 __ehdr_start with hidden visibility.
25955
93fd48c5
MR
25956 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25957
418601aa
CD
259582013-04-24 Carlos O'Donell <carlos@redhat.com>
25959
25960 * math/libm-test.inc (cos_test): Use accurate hex constants.
25961 (sincost_test): Likewise.
25962
2f38fbfe
JM
259632013-04-24 Joseph Myers <joseph@codesourcery.com>
25964
5e221800
JM
25965 * math/libm-test.inc (catan_test): Add more tests.
25966 (catanh_test): Likewise.
25967
77f143fd
JM
25968 * math/s_catanf.c (__catanf): Use suffixed floating-point
25969 constants.
25970 * math/s_catanhf.c (__catanhf): Likewise.
25971 * math/s_catanhl.c (__catanhl): Likewise.
25972 * math/s_catanl.c (__catanl): Likewise.
25973
2f38fbfe
JM
25974 [BZ #15394]
25975 * math/s_catan.c (__catan): Calculate imaginary part of result
25976 with log1p not log unless computing log of number close to 0.
25977 * math/s_catanf.c (__catanf): Likewise.
25978 * math/s_catanl.c (__catanl): Likewise.
25979 * math/s_catanh.c (__catanh): Calculate real part of result with
25980 log1p not log unless computing log of number close to 0.
25981 * math/s_catanhf.c (__catanhf): Likewise.
25982 * math/s_catanhl.c (__catanhl): Likewise.
25983 * math/libm-test.inc (catan_test): Add more tests.
25984 (catanh_test): Likewise.
25985 * sysdeps/i386/fpu/libm-test-ulps: Update.
25986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25987
45d69176
SP
259882013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25989
25990 * benchtests/Makefile: Mention files in which fast and slow
25991 paths of math functions are implemented.
25992
87f51853
RM
259932013-04-23 Roland McGrath <roland@hack.frob.com>
25994
25995 * sysdeps/posix/timespec_get.c: New file.
25996
3c026539
AZ
259972013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25998
25999 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26000 POWER.
26001 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26002 for POWER.
26003 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26004 powerpc/power5/fpu folders.
26005 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26006 * benchtests/Makefile: Add modf testcase.
26007 * benchtests/bench-modf.c: New file: Benchmark test for mo
26008
ff491d14
SP
260092013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26010
26011 [BZ #14888]
26012 * time/Makefile (tests): Add tst-strptime-whitespace.
26013 * time/strptime_l.c (get_number): Use ISSPACE.
26014 (__strptime_internal): Likewise.
26015 * time/tst-strptime-whitespace.c: New test case.
26016
7ed3f4e8
AS
260172013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26018
26019 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26020 member.
26021 (_nss_files_init): Set it here.
26022
5c95f7b6
HC
260232013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26024
26025 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26026 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26027 unsigned.
26028
d34c9158
JBG
260292013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26030
26031 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26032
2169712d
SP
260332013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26034
26035 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26036 size just once.
26037
29c5de99
DM
260382013-04-21 David S. Miller <davem@davemloft.net>
26039
26040 * po/ru.po: Update Russion translation from translation project.
26041
ccdad15d
AC
260422013-04-17 Adam Conrad <adconrad@0c3.net>
26043
26044 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26045 and setfsgid.
26046
0f122b8d
CD
260472013-04-17 Carlos O'Donell <carlos@redhat.com>
26048
5c5b07da 26049 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 26050 * configure: Regenerate.
5c5b07da 26051 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
26052 Add example to error message.
26053 * sysdeps/i386/configure: Regenerate.
26054
037714dd
SP
260552013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26056
26057 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26058 slowtan.
26059 * benchtests/cos-inputs: New file.
26060 * benchtests/slowcos-inputs: New file.
26061 * benchtests/slowcos.c: New file.
26062 * benchtests/slowtan-inputs: New file.
26063 * benchtests/slowtan.c: New file.
26064 * benchtests/tan-inputs: New file.
26065
e913141d
RM
260662013-04-16 Roland McGrath <roland@hack.frob.com>
26067
26068 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26069 considered kosher.
26070
a2964074
SP
260712013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26072
4856bcd2
SP
26073 * benchtests/Makefile: Include cppflags-iterator.mk to add
26074 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26075
a2964074
SP
26076 * Makefile.in (bench-clean): New target.
26077 * benchtests/Makefile (bench-clean): Likewise.
26078
9fbf9aca
DH
260792013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26080
26081 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26082
207d1e2a
TS
260832013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26084
26085 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26086
306dfba9
AS
260872013-04-15 Andreas Schwab <schwab@suse.de>
26088
26089 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26091 * nscd/pwdcache.c (cache_addpw): Likewise.
26092 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26093 more than recsize.
26094
206a6699
SP
260952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26096
26097 * benchtests/Makefile (bench): Write all output to
26098 bench-out.tmp together.
26099
0582f6b3
AS
261002013-04-15 Andreas Schwab <schwab@suse.de>
26101
26102 * nscd/nscd.c (main): Don't fork again after closing files.
26103
acb4325f
SP
261042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26105
5cb26d0a
SP
26106 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26107
acb4325f
SP
26108 * benchtests/Rules (bench-deps): Collect dependencies into a
26109 single variable. Add Makefile to dependencies.
26110 ($(objpfx)bench-%.c): Depend on bench-deps.
26111
47792506
RM
261122013-04-12 Roland McGrath <roland@hack.frob.com>
26113 Xavier Roche <roche+kml2@exalead.com>
26114
26115 [BZ #15361]
26116 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26117 just that it's a file descriptor.
26118 * manual/llio.texi (Synchronizing AIO Operations): Update description
26119 for EBADF error from aio_fsync.
26120
8fc1bee5
SP
261212013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26122
26123 * Rules (bench): Move target definition...
26124 * benchtests/Makefile: ... here.
26125
aba5e333
CD
261262013-04-11 Carlos O'Donell <carlos@redhat.com>
26127
26128 * math/libm-test.inc (cos_test): Fix PI/2 test.
26129 (sincos_test): Likewise.
26130 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26131 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26132
273cdee8
AS
261332013-04-11 Andreas Schwab <schwab@suse.de>
26134
6ecec3b6
AS
26135 [BZ #13988]
26136 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26137 accept exponent character only when digits were seen.
26138 * stdio-common/Makefile (tests): Add bug26.
26139 * stdio-common/bug26.c: New file.
26140
273cdee8
AS
26141 [BZ #14293]
26142 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26143 non-freeable.
26144
8da491f5
SP
261452013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26146
01dc6df9
SP
26147 * Makeconfig (rtld-prefix): Define built linker prefix.
26148 * Rules (run-bench): Use it.
26149 * math/Makefile (run-regen-ulps): Likewise.
26150
8da491f5
SP
26151 * Rules (bench): Remove eval.
26152
abe7f530
SP
261532013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26154 Roland McGrath <roland@hack.frob.com>
26155 Ondrej Bilka <neleai@seznam.cz>
26156
26157 [BZ #15346]
26158 * time/getdate.c: Include ctype.h and alloca.h.
26159 (__getdate_r): Trim leading and trailing spaces of input.
26160 * time/tst-getdate.c (tests): Add tests with leading and
26161 trailing spaces.
26162
61c23e62
RM
261632013-04-08 Roland McGrath <roland@hack.frob.com>
26164
26165 [BZ #14280]
26166 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26167 when computing value.
26168
7208a313
CD
261692013-04-06 Carlos O'Donell <carlos@redhat.com>
26170
085b2d41
CD
26171 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26172 Use testrun.sh to run libm tests.
26173
7208a313
CD
26174 [BZ #15309]
26175 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26176
872c0acd
MM
261772013-04-06 Marko Myllynen <myllynen@redhat.com>
26178
26179 [BZ #15264]
26180 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26181
26510bdd
CD
261822013-04-06 Carlos O'Donell <carlos@redhat.com>
26183
26184 * Makefile.in (regen-ulps): New target.
26185 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26186 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26187 [ifneq (no,$(PERL)] (regen-ulps): New target.
26188 [ifeq (no,$(PERL)] (regen-ulps): New target.
26189 * math/libm-test.inc (ulps_file_name): Define.
26190 (output_dir): New variable.
26191 (options): Add "output-dir" option.
26192 (parse_opt): Handle 'o' case.
26193 (main): If output_dir is non-NULL use it as a prefix
26194 otherwise use "".
26195 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26196
a01f19c8
CD
261972013-04-06 Carlos O'Donell <carlos@redhat.com>
26198
26199 [BZ #10060, #10062]
26200 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26201 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26202 fail configure if __sync_val_compare_and_swap is not inlined.
26203 * sysdeps/i386/configure: Regenerate.
26204 * configure.in: Build for i686 when configured for i386.
26205 * configure: Regenerate.
26206 * README: Remove i386 reference.
26207
b7a329a5
CD
262082013-04-06 Carlos O'Donell <carlos@redhat.com>
26209
26210 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26211 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26212
bf0f50df
TS
262132013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26214
ee091edf
TS
26215 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26216 (lmsnanval): New variables.
26217 (F): Add conversion tests.
26218 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26219 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26220
a8b792d6
TS
26221 * stdio-common/tstdiomisc.c (F): Properly collect individual
26222 tests' results.
26223
a1cbf437
TS
26224 [BZ #14686, #15336]
26225 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26226 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26227 Instead, use input NaN values or generate a qNaN by arithmetic
26228 operation. Also fix bugs to comply with the standard.
26229 * math/libm-test.inc (remainder_test): Add more tests.
26230
8b43a0c9
TS
26231 [BZ #15335, #15342]
26232 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26234 input NaN values or generate a qNaN by arithmetic operation.
26235
d91da4ce
TS
26236 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26237 unreachable code.
26238
bf0f50df
TS
26239 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26240 definitions.
26241
05e166c8
JM
262422013-04-03 Joseph Myers <joseph@codesourcery.com>
26243
26244 [BZ #14478]
26245 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26246 underflowed result.
26247 * math/s_cexpf.c (__cexpf): Likewise.
26248 * math/s_cexpl.c (__cexpl): Likewise.
26249 * math/libm-test.inc (cexp_test): Add more tests.
26250
1cef1b19
AS
262512013-04-03 Andreas Schwab <schwab@suse.de>
26252
26253 [BZ #15330]
26254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26255 order arrays from heap if bigger than alloca cutoff.
26256
74d87055
TS
262572013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26258
26259 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26260 (SNAN_TESTS_double): Refer to GCC PR56831.
26261 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26262 GCC PR56828.
26263
d755bba4
SP
262642013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26265
90d5d5bb
SP
26266 * Rules (bench): Move bench.out after the run is complete.
26267
73e0cd5d
SP
26268 * Rules (bench): Echo currently running benchmark.
26269
64aabd4b
SP
26270 * benchtests/Makefile (bench): Add atan and slowatan.
26271 * benchtests/atan-inputs: New file.
26272 * benchtests/slowatan-inputs: New file.
26273 * benchtests/slowatan.c: New file.
26274
c871eccd
SP
26275 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26276 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26277 its value.
26278
d755bba4
SP
26279 [BZ #15305]
26280 * sysdeps/unix/sysv/linux/kernel-features.h
26281 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26282 __ASSUME_XFS_RESTRICTED_CHOWN.
26283 * sysdeps/unix/sysv/linux/pathconf.c
26284 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26285 Save and restore errno.
26286
52ce4860
JM
262872013-04-02 Joseph Myers <joseph@codesourcery.com>
26288
26289 [BZ #15327]
26290 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26291 arguments using __kernel_casinh.
26292 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26293 arguments using __kernel_casinhf.
26294 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26295 arguments using __kernel_casinhl.
26296 * math/libm-test.inc (cacosh_test): Add more tests.
26297 * sysdeps/i386/fpu/libm-test-ulps: Update.
26298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26299
81f311c2
SP
263002013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26301
e7906a47
SP
26302 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26304
92e3664b
SP
26305 * bench/Makefile (bench): Add sin and slowsin.
26306 * benchtests/sin-inputs: New file.
26307 * benchtests/slowsin-inputs: New file.
26308 * benchtests/slowsin.c: New file.
26309
81f311c2
SP
26310 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26311 (bench): Add slowexp and slowpow.
26312 (exp-ITER): Increase iterations.
26313 (pow-ITER): Likewise.
26314 * benchtests/exp-inputs: Change input.
26315 * benchtests/pow-inputs: Likewise.
26316 * benchtests/slowexp-inputs: New file.
26317 * benchtests/slowexp.c: New file.
26318 * benchtests/slowpow-inputs: New file.
26319 * benchtests/slowpow.c: New file.
26320
ab0f1aa9
AZ
263212013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26322
26323 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26324 instructions.
26325 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26326 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26327 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26328 * benchtests/Makefile: Add rint benchtest.
26329 * benchtests/rint-inputs: Input for rint benchtest.
26330
57267616
TS
263312013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26332
26333 * Versions.def (libm): Add GLIBC_2.18.
26334 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26335 hidden libm prototypes.
26336 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26337 * math/Makefile (libm-calls): Add s_issignaling.
26338 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26339 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26340 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26341 declaration.
26342 * math/math.h [__USE_GNU] (issignaling): New macro.
26343 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26344 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26349 * manual/arith.texi (issignaling): New section.
26350 * manual/libm-err-tab.pl (@all_functions): Update comment.
26351 * math/gen-libm-test.pl (parse_args): Apply special handling for
26352 issignaling.
26353 * math/libm-test.inc (print_float, issignaling_test): New
26354 functions.
26355 (check_float_internal): Add issignaling checks.
26356 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26357 default definition.
26358 * sysdeps/powerpc/math-tests.h: New file.
26359 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26360 tests.
26361 * math/test-snan.c (TEST_FUNC): Likewise.
26362
6142896d
DM
263632013-03-30 David S. Miller <davem@davemloft.net>
26364
26365 * po/de.po: Update from translation team.
26366
ccc8cadf
JM
263672013-03-30 Joseph Myers <joseph@codesourcery.com>
26368
26369 [BZ #10357]
26370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26371 imaginary part less than 1.0 and real part less than 0.5
26372 specially.
26373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26375 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26376 (cacos_test): Add more tests.
26377 (casin_test): Likewise.
26378 (casinh_test): Likewise.
26379 * sysdeps/i386/fpu/libm-test-ulps: Update.
26380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26381
0f6a8d4b
SP
263822013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26383
0d1029de
SP
26384 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26385 ONE with its value.
26386
c2d94018
SP
26387 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26388 (__pow_mp): Replace ONE and MONE with their values.
26389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26390 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26391 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26392 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26393 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26394 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26395
27ec37f1
SP
26396 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26397
a64d7e0e
SP
26398 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26399 (__pow_mp): Replace ZERO and MZERO with their values.
26400 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26402 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26404 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26405 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26406 (__sqr): Likewise.
26407
d26dd3eb
SP
26408 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26409
0f6a8d4b
SP
26410 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26411
e57b0c61
RM
264122013-03-28 Roland McGrath <roland@hack.frob.com>
26413
26414 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26415 Declare with __attribute__ ((weak)).
26416 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26417 Call __call_tls_dtors only if it's not NULL.
26418
356b3480
RM
264192013-03-28 Roland McGrath <roland@hack.frob.com>
26420
288f7d79
RM
26421 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26422 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26423 magic __ehdr_start linker symbol if it's defined.
26424 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26425 them up here if it was already done.
26426
dc0a0263
RM
26427 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26428 (_dl_aux_init): Use const in cast when setting it.
26429 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26430 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26431 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26432
3d3436ae
RM
26433 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26434 Declare them here.
26435 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26436 * csu/libc-tls.c: Nor here.
26437 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26438
356b3480
RM
26439 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26440 (__libc_message): Never call vsyslog.
26441
b0f1246a
AM
264422013-03-28 Alan Modra <amodra@gmail.com>
26443
26444 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26445 Define as empty.
26446 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26447 Likewise.
26448
fbbe2b9a
AZ
264492013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26450
26451 [BZ #15214]
26452 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26453 underflow.
26454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26455
1728ab37
SP
264562013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26457
7a86be6e
SP
26458 [BZ #15304]
26459 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26460 Don't add gid passed as argument.
26461
1728ab37
SP
26462 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26463
3a7182a1
JM
264642013-03-27 Joseph Myers <joseph@codesourcery.com>
26465
26466 [BZ #15307]
26467 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26468 imaginary part between 1.0 and 1.5 and real part less than 0.5
26469 specially.
26470 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26471 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26472 * math/libm-test.inc (cacos_test): Add more tests.
26473 (casin_test): Likewise.
26474 (casinh_test): Likewise.
26475 * sysdeps/i386/fpu/libm-test-ulps: Update.
26476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26477
6f2e90e7
SP
264782013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26479
5739f705
SP
26480 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26481 constants.
26482 (norm): Likewise.
26483 (denorm): Likewise.
26484 (__dbl_mp): Likewise.
26485 (add_magnitudes): Likewise.
26486 (sub_magnitudes): Likewise.
26487 (__add): Likewise.
26488 (__sub): Likewise.
26489 (__mul): Likewise.
26490 (__sqr): Likewise.
26491 (__inv): Likewise.
26492 (__dvd): Likewise.
26493
e375e83d
SP
26494 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26495 commented code.
26496 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26497 (__dubcos): Likewise.
26498 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26499 (__ieee754_acos): Likewise.
26500 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26501 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26502 (__exp1): Likewise.
26503 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26505 (log1): Likewise.
26506 (my_log2): Likewise.
26507 (checkint): Likewise.
26508 * sysdeps/ieee754/dbl-64/e_remainder.c
26509 (__ieee754_remainder): Likewise.
26510 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26512 (bsloww): Likewise.
26513 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26514
6f2e90e7
SP
26515 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26516 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26517 MANTISSA_STORE_T to store computations on mantissa. Use
26518 macros for rounding and division.
26519 (denorm): Likewise.
26520 (__dbl_mp): Likewise.
26521 (add_magnitudes): Likewise.
26522 (sub_magnitudes): Likewise.
26523 (__mul): Likewise.
26524 (__sqr): Likewise.
26525 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26526 powers of two in terms of TWOPOW macro.
26527 (mp_no): Make type of mantissa as MANTISSA_T.
26528 [!RADIXI]: Define RADIXI.
26529 [!TWO52]: Define TWO52.
26530 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26531
fce14d4e
AZ
265322013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26533
26534 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26535 llroundl symbol when building for PPC32.
26536
9ad027fb
MW
265372013-03-24 Mark H Weaver <mhw@netris.org>
26538
26539 * manual/arith.texi (Normalization Functions): Fix prototypes for
26540 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26541
e42a38dd
AZ
265422013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26543
26544 [BZ #13889]
26545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26546 high value to check if expl overflow.
26547 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26548 to check for underflow and overflow.
26549 * math/libm-test.inc: Add exp test.
26550
2e0fb521
DL
265512013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26552
26553 [BZ #11120]
26554 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26555 with NOT_IN_libc.
26556
b5784d95
AZ
265572013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26558
26559 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26560 symbol.
26561
5aa4a1a1
TS
265622013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26563
bdef0be7
TS
26564 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26565 wrap blocks consisting of several statements.
26566
5aa4a1a1
TS
26567 * sysdeps/generic/math-tests.h: New file.
26568 * sysdeps/i386/fpu/math-tests.h: Likewise.
26569 * math/test-snan.c: Include it.
26570 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26571
98c48fe5
JM
265722013-03-21 Joseph Myers <joseph@codesourcery.com>
26573
26574 [BZ #15285]
26575 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26576 (__ieee754_j0l): Do not improve calculations using cos of twice
26577 input for inputs above LDBL_MAX / 2.0L.
26578 (__ieee754_y0l): Likewise.
26579 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26580 (__ieee754_j1l): Do not improve calculations using cos of twice
26581 input for inputs above LDBL_MAX / 2.0L.
26582 (__ieee754_y1l): Likewise.
26583 * math/libm-test.inc (j0_test): Add another test.
26584 (j1_test): Likewise.
26585 (y0_test): Likewise.
26586 (y1_test): Likewise.
26587 * sysdeps/i386/fpu/libm-test-ulps: Update.
26588
3775a8bc
SP
265892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26590
26591 * Rules ($(objpfx)bench-%.c): Include code from a C source
26592 file.
26593
0a1b2ae6
JM
265942013-03-21 Joseph Myers <joseph@codesourcery.com>
26595
26596 [BZ #15287]
26597 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26598 imaginary part 1.0 and real part less than 0.5 specially.
26599 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26600 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26601 * math/libm-test.inc (cacos_test): Add more tests.
26602 (casin_test): Likewise.
26603 (casinh_test): Likewise.
26604 * sysdeps/i386/fpu/libm-test-ulps: Update.
26605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26606
b33d4ce4
SP
266072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26608
26609 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26610 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26611
bef0b507
JM
266122013-03-20 Joseph Myers <joseph@codesourcery.com>
26613
26614 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26615 * config.make.in (config-cflags-sse4): Remove variable.
26616 (config-cflags-avx): Likewise.
26617 (config-cflags-sse2avx): Likewise.
26618 (config-cflags-novzeroupper): Likewise.
26619 (config-asflags-i686): Likewise.
26620 (have-mfma4): Likewise.
26621 (have-as-vis3): Likewise.
26622 (MIG): Likewise.
26623 * configure.in (MIG): Do not AC_SUBST.
26624 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26625 (libc_cv_cc_sse4): Do not AC_SUBST.
26626 (libc_cv_cc_avx): Likewise.
26627 (libc_cv_cc_sse2avx): Likewise.
26628 (libc_cv_cc_novzeroupper): Likewise.
26629 (libc_cv_cc_fma4): Likewise.
26630 (libc_cv_as_i686): Likewise.
26631 (libc_cv_sparc_as_vis3): Likewise.
26632 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26633 LIBC_CONFIG_VAR.
26634 (config-asflags-i686): Likewise.
26635 (config-cflags-avx): Likewise.
26636 (config-cflags-sse2avx): Likewise.
26637 (have-mfma4): Likewise.
26638 (config-cflags-novzeroupper): Likewise.
26639 * sysdeps/mach/configure.in (MIG): Likewise.
26640 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26641 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26642 LIBC_CONFIG_VAR.
26643 (config-cflags-avx): Likewise.
26644 (config-cflags-sse2avx): Likewise.
26645 (have-mfma4): Likewise.
26646 (config-cflags-novzeroupper): Likewise.
26647 * configure: Regenerated.
26648 * sysdeps/i386/configure: Likewise.
26649 * sysdeps/mach/configure: Likewise.
26650 * sysdeps/sparc/configure: Likewise.
26651 * sysdeps/x86_64/configure: Likewise.
26652
912cc4b3
RM
266532013-03-20 Roland McGrath <roland@hack.frob.com>
26654
26655 [BZ #14812]
26656 * locale/programs/localedef.c (options): Put N_ translation marker
26657 on argument names, not just descriptions.
26658
04eed2b0
MS
266592013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26660
26661 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26662
a065ceff
OB
266632013-03-20 Ondřej Bílka <neleai@seznam.cz>
26664
9bb2a810 26665 [BZ #14176]
a065ceff
OB
26666 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26667
a600e5ce
RM
266682013-03-19 Roland McGrath <roland@hack.frob.com>
26669
26670 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26671 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26672 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26673 [!BEFORE_ABORT] (before_abort): New function.
26674 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26675 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26676 (writev_for_fatal): New function.
26677 (WRITEV_FOR_FATAL): New macro; call that.
26678 (backtrace_and_maps): New function.
26679 (BEFORE_ABORT): New macro; call that.
26680 (struct str_list): Type removed.
26681 (__libc_message, __libc_fatal): Functions removed.
26682 Include <sysdeps/posix/libc_fatal.c> instead.
26683
6b18bea6
JM
266842013-03-19 Joseph Myers <joseph@codesourcery.com>
26685
26686 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26687 constants.
26688 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26689 double constants.
26690
aaa8cb4b
AS
266912013-03-19 Andreas Schwab <schwab@suse.de>
26692
44673770
AS
26693 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26694 * sysdeps/gnu/configure: Regenerate.
26695
aaa8cb4b
AS
26696 * configure.in: Substitute libc_cv_rtlddir.
26697 * configure: Regenerate.
26698 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26699 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26700 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26701 * elf/Makefile (install-others, CFLAGS-interp.c)
26702 (ldso_install, common-ldd-rewrite): Likewise.
26703 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26704 $(inst_slibdir)/$(rtld-installed-name).
26705 * scripts/rellns-sh: Add -p option.
26706 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26707 for source.
26708
d3cfc668
SP
267092013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26710
26711 * manual/nptl.texi: Renamed to ...
26712 * manual/threads.texi: ... this.
26713 * manual/Makefile (chapters): Update.
26714
0e2b9cdd
RM
267152013-03-18 Roland McGrath <roland@hack.frob.com>
26716
26717 [BZ #14812]
26718 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26719 on argument names, not just descriptions.
0e2b9cdd
RM
26720 * malloc/memusagestat.c (options): Likewise.
26721 * nss/getent.c (options): Likewise.
63270c24
RM
26722
267232013-03-18 Benno Schulenberg <bensberg@justemail.net>
26724
26725 [BZ #14812]
26726 * iconv/iconv_prog.c (options): Put N_ translation marker
26727 on argument names, not just descriptions.
26728 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26729
b2e1393c
OB
267302013-03-18 Ondrej Bilka <neleai@seznam.cz>
26731
26732 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26733 implementation which is faster on all x86_64 architectures.
26734 Tested on AMD, Intel Nehalem, SNB, IVB.
26735 * sysdeps/x86_64/strnlen.S: Likewise.
26736
26737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26738 Remove all multiarch strlen and strnlen versions.
26739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26740 Remove strlen and strnlen related parts.
26741
26742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26743 Inline strlen part.
26744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26745
26746 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26747 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26748 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26749 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26750 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26751 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26752
ec4ff04d
CD
267532013-03-17 Carlos O'Donell <carlos@redhat.com>
26754
26755 * manual/memory.texi (Malloc Tunable Parameters):
26756 Sort parameters alphabetically. Add comments for missing entries.
26757
cd18e90a
DM
267582013-03-17 David S. Miller <davem@davemloft.net>
26759
26760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26761
2a185d32
JM
267622013-03-16 Joseph Myers <joseph@codesourcery.com>
26763
d2f9799e
JM
26764 [BZ #15283]
26765 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26766 for arguments at most half maximum finite value.
26767 * math/libm-test.inc (j0_test): Add more tests.
26768 (j1_test): Likewise.
26769 (y0_test): Likewise.
26770 (y1_test): Likewise.
26771 * sysdeps/i386/fpu/libm-test-ulps: Update.
26772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26773
2a185d32
JM
26774 [BZ #14155]
26775 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26776 1 / x and functions P and Q for arguments above 0x1p256L.
26777 (__ieee754_y0l): Likewise.
26778 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26779 (__ieee754_y1l): Likewise.
26780 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26781 (j1_test): Likewise.
26782 (y0_test): Likewise.
26783 (y1_test): Likewise.
26784
6cbec759
TS
267852013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26786
26787 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26788 variable.
26789
bc16e260
RM
267902013-03-15 Roland McGrath <roland@hack.frob.com>
26791
aefc9b8c
RM
26792 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26793 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26794 zero since it's initialized to EXEC_PAGESIZE.
26795
bc16e260
RM
26796 * sysdeps/unix/sysv/linux/ldsodefs.h
26797 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26798 * sysdeps/generic/ldsodefs.h: ... here.
26799
a57da955
TS
268002013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26801
af00a34d
TS
26802 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26803
495ded2c
TS
26804 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26805 math/test-snan.c.
26806 * math/test-snan.c: Renamed from
26807 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26808 * math/Makefile (tests): Add test-snan.
26809 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26810 test-powerpc-snan.
26811
777b0332
TS
26812 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26813 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26814 functions.
26815 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26816 __builtin_nan family of functions.
26817 * math/libm-test.inc (initialize): Initialize qnan_value with
26818 __builtin_nan family of functions.
26819 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26820 Remove variables.
26821 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26822 Remove functions.
26823 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26824 storage class. Initialize qNaN_var and sNaN_var with
26825 __builtin_nan and __builtin_nans families of functions,
26826 respectively.
26827
64d063b8
TS
26828 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26829 (sqrt_test): Remove duplicate test with qNaN input.
26830 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26831 (round_test, signbit_test, significand_test): Note missing +/-Inf
26832 as well as qNaN tests.
26833
67e971f1
TS
26834 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26835 qNaN_var. Fix a few strings, too.
26836 * math/libm-test.inc (nan_value): Rename to qnan_value.
26837 * math/gen-libm-test.pl (%beautify): Adjust to that.
26838 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26839 * math/test-misc.c (main): Likewise.
26840 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26841 to __qnan_bytes, and __qnan_union, respectively.
26842 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26843 Likewise.
26844 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26845 and lqnanval, respectively.
26846 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26847 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26848 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26849 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26850
64487e12
TS
26851 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26852 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26853 doubles.
26854
e015e27b
TS
26855 * math/test-misc.c (main): Fix copy'n'pastos.
26856 * misc/tst-efgcvt.c (special): Likewise.
26857
a57da955
TS
26858 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26859 Remove declarations.
26860
1e380345
SP
268612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26862
26863 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26864 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26865 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26866 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26867
ef26eece
AZ
268682013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26869
26870 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26871 macro to return vdso values correctly in IFUNC implementations.
26872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26873 Optimization by using IFUNC.
26874
8cfdb7e0
SP
268752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26876 Richard Henderson <rth@redhat.com>
26877 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26878
26879 * Makefile.in (bench): New target.
26880 * NEWS: Mention the benchmark framework.
26881 * Rules (bench): Likewise.
26882 (binaries-bench): Generate binaries for functions to
26883 benchmark.
26884 * benchtests/Makefile: New makefile for benchmark tests.
26885 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26886 programs.
26887 * benchtests/exp-inputs: New input file for EXP function.
26888 * benchtests/pow-inputs: New input file for POW function.
26889 * scripts/bench.pl: New script to generate source files for
26890 benchmark programs.
26891
bcda9880
SP
268922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26893
d22ca8cd
SP
26894 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26896 computations on mantissa. Use macros for rounding and
26897 division.
26898 (denorm): Likewise.
26899 (__dbl_mp): Likewise.
26900 (add_magnitudes): Likewise.
26901 (sub_magnitudes): Likewise.
26902 (__mul): Likewise.
26903 (__sqr): Likewise.
26904 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26905 powers of two in terms of TWOPOW macro.
26906 (mp_no): Make type of mantissa as MANTISSA_T.
26907 [!RADIXI]: Define RADIXI.
26908 [!TWO52]: Define TWO52.
26909 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26910
bcda9880
SP
26911 * manual/nptl.texi (cindex): Modify threads to pthreads.
26912
06d5adfb
JM
269132013-03-15 Joseph Myers <joseph@codesourcery.com>
26914
26915 * sysdeps/x86_64/preconfigure: Regenerated.
26916
41c7328e
JM
269172013-03-14 Joseph Myers <joseph@codesourcery.com>
26918
26919 [BZ #14155]
26920 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26921 0x1p28 and above.
26922 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26923 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26924 0x1p28 and above.
26925 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26926 * math/libm-test.inc (j0_test): Do not allow one spurious
26927 underflow exception.
26928 (y1_test): Likewise.
26929
e25cfa60
SP
269302013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26931
0409959c
SP
26932 * manual/Makefile (chapters): Add nptl.
26933 * manual/debug.texi (Debugging Support): Add link to Threads
26934 chapter.
26935 * manual/nptl.texi: New file.
26936
e25cfa60
SP
26937 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26938
58a1335e
PB
269392013-03-14 Petr Baudis <pasky@ucw.cz>
26940
26941 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26942 for non-NULL pointer before the memory validity test. Pointed
26943 out by Holger Brunck <holger.brunck@keymile.com>.
26944
9dc7c64f
AS
269452013-03-13 Andreas Schwab <schwab@suse.de>
26946
26947 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26948 instead of .os.
26949
54206aa6
JM
269502013-03-13 Joseph Myers <joseph@codesourcery.com>
26951
26952 * timezone/zic.c: Update from tzcode 2013b.
26953
e98cdb38
CD
269542013-03-12 Carlos O'Donell <carlos@redhat.com>
26955
26956 * manual/install.texi (Configuring and compiling):
26957 Mention i686 and i586.
26958 * INSTALL: Regenerate.
26959
9967e003
RM
269602013-03-12 Roland McGrath <roland@hack.frob.com>
26961
26962 * sysdeps/init_array/elf-init.c: New file.
26963 * csu/elf-init.c
26964 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26965 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26966
26967 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26968 __gmon_start__ as global, but as static with a .preinit_array pointer.
26969 * sysdeps/init_array/gmon-start.c: New file. Use that.
26970 * sysdeps/init_array/crti.S: New file, empty except for comments.
26971 * sysdeps/init_array/crtn.S: Likewise.
26972
e6b5a293 269732013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
26974
26975 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26976 definining bcopy.
80f844c9
OB
26977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26978 Remove Prefer_SSE_for_memop.
26979 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26980 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26981 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
26982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26983 memset-x86-64.
80f844c9 26984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 26985 Remove bzero, memset ifunc support.
80f844c9
OB
26986 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26987 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26988 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26990
fb6b0fcb
AS
269912013-03-11 Andreas Schwab <schwab@suse.de>
26992
26993 [BZ #15234]
26994 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26995 by SHLIB_COMPAT.
26996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26997 (GLIBC_2.16): Remove pthread_atfork.
26998
3e6bd4b1
PP
269992013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27000
27001 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27002 (ptestcases.h): Likewise.
27003
222d7f00
RM
270042013-03-08 Roland McGrath <roland@hack.frob.com>
27005
27006 * Makeconfig ($(common-objpfx)config.status): Depend on
27007 sysdeps/*/preconfigure{,.in} too.
27008
1ba4f030
JM
270092013-03-08 Joseph Myers <joseph@codesourcery.com>
27010
a222d91a
JM
27011 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27012 (__free_hook): Use void * instead of __malloc_ptr_t.
27013 (__malloc_hook): Likewise.
27014 (__realloc_hook): Likewise.
27015 (__memalign_hook): Likewise.
27016 (__after_morecore_hook): Likewise.
27017 * malloc/arena.c (save_malloc_hook): Likewise.
27018 (save_free_hook): Likewise.
27019 * malloc/hooks.c (malloc_hook_ini): Likewise.
27020 (realloc_hook_ini): Likewise.
27021 (memalign_hook_ini): Likewise.
27022 * malloc/malloc.c (malloc_hook_ini): Likewise.
27023 (realloc_hook_ini): Likewise.
27024 (memalign_hook_ini): Likewise.
27025 (__free_hook): Likewise.
27026 (__malloc_hook): Likewise.
27027 (__realloc_hook): Likewise.
27028 (__memalign_hook): Likewise.
27029 (__libc_malloc): Likewise.
27030 (__libc_free): Likewise.
27031 (__libc_realloc): Likewise.
27032 (__libc_memalign): Likewise.
27033 (__libc_valloc): Likewise.
27034 (__libc_pvalloc): Likewise.
27035 (__libc_calloc): Likewise.
27036 (__posix_memalign): Likewise.
27037 * malloc/morecore.c (__sbrk): Likewise.
27038 (__default_morecore): Likewise.
27039
5cc45e10
JM
27040 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27041
dd54b864
JM
27042 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27043 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27044 __malloc_ptrdiff_t.
27045
1ba4f030
JM
27046 * malloc/malloc.h (__malloc_size_t): Remove macro.
27047 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27048 __malloc_size_t.
27049 (old_memalign_hook): Likewise.
27050 (old_realloc_hook): Likewise.
27051 (struct hdr): Likewise.
27052 (flood): Likewise.
27053 (mallochook): Likewise.
27054 (memalignhook): Likewise.
27055 (reallochook): Likewise.
27056 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27057 (tr_old_realloc_hook): Likewise.
27058 (tr_old_memalign_hook): Likewise.
27059 (tr_mallochook): Likewise.
27060 (tr_reallochook): Likewise.
27061 (tr_memalignhook): Likewise.
27062
edf66e57
AZ
270632013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27064
27065 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27066 default_ldbl_pack and using as default implementation.
27067 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27068 implementation.
27069 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27070 redundant definition.
27071 (ldbl_insert_mantissa): Likewise.
27072 (ldbl_canonicalize): Likewise.
27073 (ldbl_nearbyint): Likewise.
27074 (ldbl_pack): Rename to ldbl_pack_ppc.
27075 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27076 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27077 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27078
6d9145d8
SP
270792013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27080
27081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27082 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27083 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27084 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27086 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27087 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27088 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27089
4dd4e157
AJ
270902013-03-07 Andreas Jaeger <aj@suse.de>
27091
27092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27093 bits/mman-linux.h.
27094
adbb8027
SP
270952013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27096
ce544b5b
SP
27097 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27098 Include mpa.h and declare __MPEXP.
27099 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27100 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27101 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27102 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27103 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27104 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27105 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27106
4cc149fd
SP
27107 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27108 (__slowpow): Use long double EXPL and LOGL functions to
27109 compute POW.
27110 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27111 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27112 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27113 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27114 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27116
e6ebd4a7
SP
27117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27118 intermediate variable to calculate exponent.
27119 (__sqr): Likewise.
27120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27121 Likewise.
27122 (__sqr): Likewise.
27123
82a9811d
SP
27124 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27125 [!NO__SQR]: Define __sqr.
27126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27127 and NO__SQR. Remove all code except __mul and __sqr. Include
27128 sysdeps/ieee754/dbl-64/mpa.c.
27129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27130
adbb8027
SP
27131 [BZ #12723]
27132 * posix/Makefile (tests): Add tst-pathconf.
27133 * posix/tst-pathconf.c: New test case.
27134 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27135 _PC_PIPE_BUF.
27136 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27137
39120df9
PF
271382013-03-06 Patsy Franklin <pfrankli@redhat.com>
27139
27140 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27141
67525cb8
AJ
271422013-03-06 Andreas Jaeger <aj@suse.de>
27143
664a9ce4
AJ
27144 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27145 definition via __MAP_ANONYMOUS.
27146
8e39047d
AJ
27147 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27148 it's not part of Linux headers.
27149
67525cb8
AJ
27150 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27151 (MAP_HUGE_MASK): Define.
27152
27153 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27154 Define.
27155 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27156 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27157 Define.
27158 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27159 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27160 Define.
27161 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27162 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27163 Define.
27164 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27165
27166 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27167 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27168 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27169 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27170 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27171 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27172
27173 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27174 Handle f2fs.
27175
27176 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27177 Handle f2fs and efivarfs.
27178
27179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27180 f2fs.
27181
27182 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27183 (EFIVARFS_MAGIC): Add.
27184 (F2FS_LINK_MAX): Add.
27185
e1b42695
PP
271862013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27187
27188 * stdio-common/vfprintf.c: Replace __builtin_expect with
27189 __glibc_unlikely.
27190
2d67d91a
JM
271912013-03-06 Joseph Myers <joseph@codesourcery.com>
27192
27193 [BZ #13550]
27194 * sysdeps/generic/bp-sym.h: Remove file.
27195 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27196 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27197 <bp-sym.h> and <bp-asm.h>.
27198 (__longjmp): Don't use BP_SYM.
27199 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27200 and <bp-asm.h>.
27201 (memcpy): Don't use BP_SYM.
27202 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27203 <bp-sym.h> and <bp-asm.h>.
27204 (memcpy): Don't use BP_SYM.
27205 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27206 <bp-asm.h>.
27207 (memcpy): Don't use BP_SYM.
27208 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27209 <bp-asm.h>.
27210 (memset): Don't use BP_SYM.
27211 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27212 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27213 (__bzero): Don't use BP_SYM.
27214 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27215 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27216 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27217 <bp-sym.h> and <bp-asm.h>.
27218 (memcmp): Don't use BP_SYM. Remove comment about bounded
27219 pointers.
27220 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27221 <bp-sym.h> and <bp-asm.h>.
27222 (memcpy): Don't use BP_SYM.
27223 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27224 <bp-sym.h> and <bp-asm.h>.
27225 (memset): Don't use BP_SYM.
27226 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27227 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27228 (__bzero): Don't use BP_SYM.
27229 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27230 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27231 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27232 <bp-sym.h> and <bp-asm.h>.
27233 (strncmp): Don't use BP_SYM. Remove comment about bounded
27234 pointers.
27235 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27236 <bp-sym.h> and <bp-asm.h>.
27237 (memcpy): Don't use BP_SYM.
27238 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27239 <bp-sym.h> and <bp-asm.h>.
27240 (memset): Don't use BP_SYM.
27241 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27242 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27243 (__bzero): Don't use BP_SYM.
27244 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27245 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27246 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27247 <bp-sym.h> and <bp-asm.h>.
27248 (__memchr): Don't use BP_SYM.
27249 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27250 <bp-sym.h> and <bp-asm.h>.
27251 (memcmp): Don't use BP_SYM. Remove comment about bounded
27252 pointers.
27253 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27254 <bp-sym.h> and <bp-asm.h>.
27255 (memcpy): Don't use BP_SYM.
27256 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27257 <bp-sym.h> and <bp-asm.h>.
27258 (__mempcpy): Don't use BP_SYM.
27259 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27260 <bp-sym.h> and <bp-asm.h>.
27261 (__memrchr): Don't use BP_SYM.
27262 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27263 <bp-sym.h> and <bp-asm.h>.
27264 (memset): Don't use BP_SYM.
27265 (__bzero): Likewise.
27266 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27267 <bp-sym.h> and <bp-asm.h>.
27268 (__rawmemchr): Don't use BP_SYM.
27269 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27270 <bp-sym.h> and <bp-asm.h>.
27271 (__STRCMP): Don't use BP_SYM.
27272 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27273 <bp-sym.h> and <bp-asm.h>.
27274 (strchr): Don't use BP_SYM.
27275 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27276 <bp-sym.h> and <bp-asm.h>.
27277 (__strchrnul): Don't use BP_SYM.
27278 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27279 <bp-sym.h> and <bp-asm.h>.
27280 (strlen): Don't use BP_SYM.
27281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27282 <bp-sym.h> and <bp-asm.h>.
27283 (strncmp): Don't use BP_SYM. Remove comment about bounded
27284 pointers.
27285 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27286 <bp-sym.h> and <bp-asm.h>.
27287 (__strnlen): Don't use BP_SYM.
27288 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27289 <bp-sym.h> and <bp-asm.h>.
27290 (__GI__setjmp): Don't use BP_SYM.
27291 (_setjmp): Likewise.
27292 (__sigsetjmp): Likewise.
27293 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27294 (L(start_addresses)): Don't use BP_SYM.
27295 (_start): Likewise.
27296 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27297 <bp-asm.h>.
27298 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27299 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27300 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27301 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27302 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27303 <bp-asm.h>.
27304 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27305 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27306 about bounded pointers.
27307 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27308 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27309 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27310 <bp-asm.h>.
27311 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27312 about bounded pointers. Remove GKM FIXME comments.
27313 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27314 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27315 <bp-asm.h>.
27316 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27317 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27318 Remove GKM FIXME comments.
27319 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27320 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27321 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27322 <bp-asm.h>.
27323 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27324 about bounded pointers. Remove GKM FIXME comment.
27325 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27326 and <bp-asm.h>.
27327 (strncmp): Don't use BP_SYM. Remove comment about bounded
27328 pointers.
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27330 <bp-sym.h> and <bp-asm.h>.
27331 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27333 <bp-sym.h> and <bp-asm.h>.
27334 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27335 comment.
27336
cdcf361f
PP
273372013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27338
27339 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27340 call free(NULL).
27341
3c4a2b15
DM
273422013-03-05 David S. Miller <davem@davemloft.net>
27343
27344 * po/es.po: Update from translation team.
27345
cdcf361f 273462013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27347
27348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27349 <bits/mman-linux.h>.
27350 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27351 is fine.
27352 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27353 <bits/mman-linux.h> to end of file.
27354 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27355 is fine.
27356 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27357 <bits/mman-linux.h> to end of file.
27358 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27359 is fine.
27360 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27361 <bits/mman-linux.h> to end of file.
27362
27363 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27364 (MCL_CURRENT, MCL_FUTURE): Define here.
27365
5f67c04f
AK
273662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27367
8a4473cc 27368 [BZ #15232]
5f67c04f
AK
27369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27370 attribute_hidden.
27371 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27372
c3e94a95
AK
273732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27374
27375 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27376 fourth parameter needed for rt_sigprocmask syscall.
27377 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27378 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27379 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27380 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27381 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27382 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27383
cfb6382a
JM
273842013-03-04 Joseph Myers <joseph@codesourcery.com>
27385
27386 [BZ #13550]
27387 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27388 comment about bounded pointers.
27389 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27390 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27391
539d8e01
AJ
273922013-03-04 Andreas Jaeger <aj@suse.de>
27393
27394 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27395 common definitions.
27396
27397 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27398 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27399 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27400 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27402 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27403
2e167a70 274042013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27405
27406 [BZ #15055]
27407 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27408 __ieee754_sqrl instead of __sqrl.
27409
68508633
JM
274102013-03-01 Joseph Myers <joseph@codesourcery.com>
27411
27412 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27413 * sysdeps/powerpc/fpu_control.h: ... here.
27414 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27415 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27416 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27417 * sysdeps/powerpc/bits/mathinline.h: ... here.
27418
7775448e
RM
274192013-03-01 Roland McGrath <roland@hack.frob.com>
27420
27421 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27422 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27423 to just [NEED_DL_SYSINFO_DSO].
27424 * elf/dl-support.c: Likewise.
27425 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27426 * elf/rtld.c (dl_main): Likewise.
27427 * elf/setup-vdso.h (setup_vdso): Likewise.
27428 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27429 * sysdeps/unix/sysv/linux/dl-sysdep.c
27430 (_dl_discover_osversion): Likewise.
27431
4e9b5995
CD
274322013-03-01 Carlos O'Donell <carlos@redhat.com>
27433
27434 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27435 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27436
e23872c8
SP
274372013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27438
e5c74c63
SP
27439 * NEWS: Mention libm performance improvements and non-x86 PI
27440 futex support.
27441
e23872c8
SP
27442 * csu/libc-start.c (__pthread_initialize_minimal): Change
27443 function arguments.
27444 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27445
b5510883
JM
274462013-02-28 Joseph Myers <joseph@codesourcery.com>
27447
27448 [BZ #13550]
27449 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27450 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27451 <bp-sym.h> and <bp-asm.h>.
27452 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27453 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27454 and <bp-asm.h>.
27455 (memcpy): Don't use BP_SYM.
27456 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27457 <bp-asm.h>.
27458 (__mpn_add_n): Don't use BP_SYM.
27459 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27460 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27461 and <bp-asm.h>.
27462 (__mpn_addmul_1): Don't use BP_SYM.
27463 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27464 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27465 <bp-sym.h>.
27466 (_setjmp): Don't use BP_SYM.
27467 (__novmx_setjmp): Likewise.
27468 (__GI__setjmp): Likewise.
27469 (__vmx_setjmp): Likewise.
27470 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27471 <bp-sym.h>.
27472 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27473 (__bzero): Don't use BP_SYM.
27474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27476 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27477 <bp-sym.h> and <bp-asm.h>.
27478 (memcpy): Don't use BP_SYM.
27479 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27480 <bp-sym.h> and <bp-asm.h>.
27481 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27483 <bp-sym.h> and <bp-asm.h>.
27484 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27485 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27486 <bp-asm.h>.
27487 (__mpn_lshift): Don't use BP_SYM.
27488 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27489 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27490 <bp-asm.h>.
27491 (memset): Don't use BP_SYM.
27492 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27493 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27494 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27495 <bp-asm.h>.
27496 (__mpn_mul_1): Don't use BP_SYM.
27497 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27499 <bp-sym.h> and <bp-asm.h>.
27500 (memcmp): Don't use BP_SYM.
27501 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27502 <bp-sym.h> and <bp-asm.h>.
27503 (memcpy): Don't use BP_SYM.
27504 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27505 <bp-sym.h> and <bp-asm.h>.
27506 (memset): Don't use BP_SYM.
27507 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27508 <bp-sym.h> and <bp-asm.h>.
27509 (strncmp): Don't use BP_SYM.
27510 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27511 <bp-sym.h> and <bp-asm.h>.
27512 (memcpy): Don't use BP_SYM.
27513 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27514 <bp-sym.h> and <bp-asm.h>.
27515 (memset): Don't use BP_SYM.
27516 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27517 <bp-sym.h> and <bp-asm.h>.
27518 (__memchr): Don't use BP_SYM.
27519 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27520 <bp-sym.h> and <bp-asm.h>.
27521 (memcmp): Don't use BP_SYM.
27522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27523 <bp-sym.h> and <bp-asm.h>.
27524 (memcpy): Don't use BP_SYM.
27525 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27526 <bp-sym.h> and <bp-asm.h>.
27527 (__mempcpy): Don't use BP_SYM.
27528 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27529 <bp-sym.h> and <bp-asm.h>.
27530 (__memrchr): Don't use BP_SYM.
27531 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27532 <bp-sym.h> and <bp-asm.h>.
27533 (memset): Don't use BP_SYM.
27534 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27535 <bp-sym.h> and <bp-asm.h>.
27536 (__rawmemchr): Don't use BP_SYM.
27537 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27538 <bp-sym.h> and <bp-asm.h>.
27539 (__STRCMP): Don't use BP_SYM.
27540 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27541 <bp-sym.h> and <bp-asm.h>.
27542 (strchr): Don't use BP_SYM.
27543 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27544 <bp-sym.h> and <bp-asm.h>.
27545 (__strchrnul): Don't use BP_SYM.
27546 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27547 <bp-sym.h> and <bp-asm.h>.
27548 (strlen): Don't use BP_SYM.
27549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27550 <bp-sym.h> and <bp-asm.h>.
27551 (strncmp): Don't use BP_SYM.
27552 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27553 <bp-sym.h> and <bp-asm.h>.
27554 (__strnlen): Don't use BP_SYM.
27555 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27556 <bp-asm.h>.
27557 (__mpn_rshift): Don't use BP_SYM.
27558 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27559 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27560 <bp-sym.h> and <bp-asm.h>.
27561 (__sigsetjmp): Don't use BP_SYM.
27562 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27563 (L(start_addresses)): Don't use BP_SYM.
27564 (_start): Likewise.
27565 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27566 <bp-asm.h>.
27567 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27568 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27569 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27570 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27571 <bp-asm.h>.
27572 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27573 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27574 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27575 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27576 <bp-asm.h>.
27577 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27578 comments.
27579 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27580 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27581 <bp-asm.h>.
27582 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27583 FIXME comments.
27584 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27585 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27586 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27587 <bp-asm.h>.
27588 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27589 comment.
27590 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27591 and <bp-asm.h>.
27592 (strncmp): Don't use BP_SYM,
27593 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27594 <bp-asm.h>.
27595 (__mpn_sub_n): Don't use BP_SYM.
27596 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27597 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27598 and <bp-asm.h>.
27599 (__mpn_submul_1): Don't use BP_SYM.
27600 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27602 <bp-sym.h> and <bp-asm.h>.
27603 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27605 <bp-sym.h> and <bp-asm.h>.
27606 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27607 comment.
27608
8d19fe64
SP
276092013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27610
27611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27612 Use ZK to minimize writes to Z.
27613 (sub_magnitudes): Simplify code a bit.
27614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27615 Use ZK to minimize writes to Z.
27616 (sub_magnitudes): Simplify code a bit.
27617
85bd816a
RM
276182013-02-27 Roland McGrath <roland@hack.frob.com>
27619
27620 * csu/gmon-start.c: Add special exception to license text.
27621
b5977bf2
RH
276222013-02-27 Richard Henderson <rth@redhat.com>
27623
27624 * scripts/config.guess: Update from config.git.
27625 * scripts/config.sub: Likewise.
27626
11d6e2f2
SP
276272013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27628
09c14ed2
SP
27629 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27630
a688864e
SP
27631 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27632
6295157a
SP
27633 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27634
b8de2202
SP
27635 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27636
11d6e2f2
SP
27637 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27638
7e80ddb8
RM
276392013-02-26 Roland McGrath <roland@hack.frob.com>
27640
27641 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27642 [$(build-shared = yes].
7e80ddb8 27643
7da6d9ed
SP
276442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27645
45f05884
SP
27646 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27647 (__mul): Reduce iterations for calculating mantissa.
27648
2236d359
SP
27649 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27650 MPTWO.
27651 (__mpranred): Likewise.
27652
7da6d9ed
SP
27653 [BZ #15160]
27654 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27655 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27656
b7688c42
PE
276572013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27658
27659 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27660 Define __attribute__.
27661
53a5c423
SP
276622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27663
27664 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27665 unused.
27666 * posix/regex_internal.h (__attribute): Remove.
27667 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27668 (re_string_context_at): Likewise.
27669 (bitset_not): Use __attribute__ and mark function as possibly
27670 unused.
27671 (bitset_merge): Likewise.
27672 (bitset_mask): Likewise.
27673 (re_string_char_size_at): Likewise.
27674 (re_string_wchar_at): Likewise.
27675 (re_string_elem_size_at): Likewise.
27676
60f5a8b5
SP
276772013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27678
2a983a2e
SP
27679 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27680 code.
27681 (cc32): Likewise.
27682
e69804d1
SP
27683 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27684 (__acr): Likewise.
27685 (__cpy): Likewise.
27686 (norm): Likewise.
27687 (denorm): Likewise.
27688 (__dbl_mp): Likewise.
27689 (add_magnitudes): Likewise.
27690 (sub_magnitudes): Likewise.
27691 (__mul): Likewise.
27692 (__inv): Likewise.
27693
2f22a1e8
SP
27694 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27695 style.
27696
8930ddc7
SP
27697 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27698 style.
27699
dc60cb11
SP
27700 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27701 code.
27702
60f5a8b5
SP
27703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27704 up changes with default code.
27705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27706 Likewise.
27707
b4d1fd33
AM
277082013-02-24 Allan McRae <allan@archlinux.org>
27709
faf6f8bc
AM
27710 * manual/socket.texi (The Internet Namespace): Order menu items
27711 to match that in the file.
27712
b4d1fd33
AM
27713 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27714 node listing of the info page menu.
27715
2366713d
JM
277162013-02-21 Joseph Myers <joseph@codesourcery.com>
27717
27718 [BZ #13550]
27719 * sysdeps/i386/bp-asm.h: Remove file.
27720 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27721 (PARMS): Do not use macros from bp-asm.h.
27722 (S1): Likewise.
27723 (S2): Likewise.
27724 (SIZE): Likewise.
27725 (__mpn_add_n): Do not use BP_SYM
27726 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27727 "bp-asm.h".
27728 (PARMS): Do not use macros from bp-asm.h.
27729 (S1): Likewise.
27730 (SIZE): Likewise.
27731 (__mpn_addmul_1): Do not use BP_SYM
27732 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27733 "bp-asm.h".
27734 (PARMS): Do not use macros from bp-asm.h.
27735 (SIGMSK): Likewise.
27736 (_setjmp): Likewise. Do not use BP_SYM.
27737 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27738 "bp-asm.h".
27739 (PARMS): Do not use macros from bp-asm.h.
27740 (SIGMSK): Likewise.
27741 (setjmp): Likewise. Do not use BP_SYM.
27742 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27743 "bp-asm.h".
27744 (PARMS): Do not use macros from bp-asm.h.
27745 (__frexp): Do not use BP_SYM.
27746 (frexp): Likewise.
27747 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27748 "bp-asm.h".
27749 (PARMS): Do not use macros from bp-asm.h.
27750 (__frexpf): Do not use BP_SYM.
27751 (frexpf): Likewise.
27752 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27753 "bp-asm.h".
27754 (PARMS): Do not use macros from bp-asm.h.
27755 (__frexpl): Do not use BP_SYM.
27756 (frexpl): Likewise.
27757 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27758 "bp-asm.h".
27759 (PARMS): Do not use macros from bp-asm.h.
27760 (__remquo): Do not use BP_SYM.
27761 (remquo): Likewise.
27762 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27763 "bp-asm.h".
27764 (PARMS): Do not use macros from bp-asm.h.
27765 (__remquof): Do not use BP_SYM.
27766 (remquof): Likewise.
27767 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27768 "bp-asm.h".
27769 (PARMS): Do not use macros from bp-asm.h.
27770 (__remquol): Do not use BP_SYM.
27771 (remquol): Likewise.
27772 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27773 "bp-asm.h".
27774 (PARMS): Do not use macros from bp-asm.h.
27775 (DEST): Likewise.
27776 (SRC): Likewise.
27777 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27778 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27779 "bp-asm.h".
27780 (PARMS): Do not use macros from bp-asm.h.
27781 (strlen): Do not use BP_SYM.
27782 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27783 "bp-asm.h".
27784 (PARMS): Do not use macros from bp-asm.h.
27785 (S1): Likewise.
27786 (S2): Likewise.
27787 (SIZE): Likewise.
27788 (__mpn_add_n): Do not use BP_SYM.
27789 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27790 "bp-asm.h".
27791 (PARMS): Do not use macros from bp-asm.h.
27792 (S1): Likewise.
27793 (SIZE): Likewise.
27794 (__mpn_addmul_1): Do not use BP_SYM.
27795 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27796 weak_alias.
27797 (bzero): Likewise.
27798 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27799 "bp-asm.h".
27800 (PARMS): Do not use macros from bp-asm.h.
27801 (S): Likewise.
27802 (SIZE): Likewise.
27803 (__mpn_lshift): Do not use BP_SYM.
27804 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27805 "bp-asm.h".
27806 (PARMS): Do not use macros from bp-asm.h.
27807 (DEST): Likewise.
27808 (SRC): Likewise.
27809 (LEN): Likewise.
27810 (memcpy): Likewise. Do not use BP_SYM.
27811 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27812 libc_hidden_def and weak_alias.
27813 (mempcpy): Do not use BP_SYM in weak_alias.
27814 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27815 "bp-asm.h".
27816 (PARMS): Do not use macros from bp-asm.h.
27817 (DEST): Likewise.
27818 (LEN): Likewise.
27819 [!BZERO_P] (CHR): Likewise.
27820 (memset): Likewise. Do not use BP_SYM.
27821 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27822 "bp-asm.h".
27823 (PARMS): Do not use macros from bp-asm.h.
27824 (S1): Likewise.
27825 (SIZE): Likewise.
27826 (__mpn_mul_1): Do not use BP_SYM.
27827 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27828 "bp-asm.h".
27829 (PARMS): Do not use macros from bp-asm.h.
27830 (S): Likewise.
27831 (SIZE): Likewise.
27832 (__mpn_rshift): Do not use BP_SYM.
27833 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27834 "bp-asm.h".
27835 (PARMS): Do not use macros from bp-asm.h.
27836 (STR): Likewise.
27837 (CHR): Likewise.
27838 (strchr): Likewise. Do not use BP_SYM.
27839 (index): Do not use BP_SYM in weak_alias.
27840 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27841 "bp-asm.h".
27842 (PARMS): Do not use macros from bp-asm.h.
27843 (DEST): Likewise.
27844 (SRC): Likewise.
27845 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27846 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27847 "bp-asm.h".
27848 (PARMS): Do not use macros from bp-asm.h.
27849 (strlen): Do not use BP_SYM.
27850 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27851 "bp-asm.h".
27852 (PARMS): Do not use macros from bp-asm.h.
27853 (S1): Likewise.
27854 (S2): Likewise.
27855 (SIZE): Likewise.
27856 (__mpn_sub_n): Do not use BP_SYM.
27857 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27858 "bp-asm.h".
27859 (PARMS): Do not use macros from bp-asm.h.
27860 (S1): Likewise.
27861 (SIZE): Likewise.
27862 (__mpn_submul_1): Do not use BP_SYM.
27863 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27864 "bp-asm.h".
27865 (PARMS): Do not use macros from bp-asm.h.
27866 (S1): Likewise.
27867 (S2): Likewise.
27868 (SIZE): Likewise.
27869 (__mpn_add_n): Do not use BP_SYM.
27870 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27871 weak_alias.
27872 (bzero): Likewise.
27873 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27874 "bp-asm.h".
27875 (PARMS): Do not use macros from bp-asm.h.
27876 (BLK2): Likewise.
27877 (LEN): Likewise.
27878 (memcmp): Do not use BP_SYM.
27879 (bcmp): Do not use BP_SYM in weak_alias.
27880 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27881 "bp-asm.h".
27882 (PARMS): Do not use macros from bp-asm.h.
27883 (DEST): Likewise.
27884 (SRC): Likewise.
27885 (LEN): Likewise.
27886 (memcpy): Likewise. Do not use BP_SYM.
27887 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27888 "bp-asm.h".
27889 (PARMS): Do not use macros from bp-asm.h.
27890 (DEST): Likewise.
27891 (SRC): Likewise.
27892 (LEN): Likewise.
27893 (memmove): Likewise. Do not use BP_SYM.
27894 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27895 "bp-asm.h".
27896 (PARMS): Do not use macros from bp-asm.h.
27897 (DEST): Likewise.
27898 (SRC): Likewise.
27899 (LEN): Likewise.
27900 (__mempcpy): Likewise. Do not use BP_SYM.
27901 (mempcpy): Do not use BP_SYM in weak_alias.
27902 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27903 "bp-asm.h".
27904 (PARMS): Do not use macros from bp-asm.h.
27905 (DEST): Likewise.
27906 (LEN): Likewise.
27907 [!BZERO_P] (CHR): Likewise.
27908 (memset): Likewise. Do not use BP_SYM.
27909 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27910 "bp-asm.h".
27911 (PARMS): Do not use macros from bp-asm.h.
27912 (STR2): Likewise.
27913 (strcmp): Do not use BP_SYM.
27914 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27915 "bp-asm.h".
27916 (PARMS): Do not use macros from bp-asm.h.
27917 (STR): Likewise.
27918 (DELIM): Likewise.
27919 [USE_AS_STRTOK_R] (SAVE): Likewise.
27920 (FUNCTION): Likewise. Do not use BP_SYM.
27921 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27922 aliases.
27923 (strtok_r): Likewise.
27924 (__GI___strtok_r): Likewise.
27925 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27926 (PARMS): Do not use macros from bp-asm.h.
27927 (S): Likewise.
27928 (SIZE): Likewise.
27929 (__mpn_lshift): Do not use BP_SYM.
27930 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27931 (PARMS): Do not use macros from bp-asm.h.
27932 (STR): Likewise.
27933 (CHR): Likewise.
27934 (__memchr): Do not use BP_SYM.
27935 (memchr): Do not use BP_SYM in weak_alias.
27936 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27937 (PARMS): Do not use macros from bp-asm.h.
27938 (BLK2): Likewise.
27939 (LEN): Likewise.
27940 (memcmp): Do not use BP_SYM.
27941 (bcmp): Do not use BP_SYM in weak_alias.
27942 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27943 (PARMS): Do not use macros from bp-asm.h.
27944 (S1): Likewise.
27945 (SIZE): Likewise.
27946 (__mpn_mul_1): Do not use BP_SYM.
27947 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27948 "bp-asm.h".
27949 (PARMS): Do not use macros from bp-asm.h.
27950 (STR): Likewise.
27951 (CHR): Likewise.
27952 (__rawmemchr): Do not use BP_SYM.
27953 (rawmemchr): Do not use BP_SYM in weak_alias.
27954 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27955 (PARMS): Do not use macros from bp-asm.h.
27956 (S): Likewise.
27957 (SIZE): Likewise.
27958 (__mpn_rshift): Do not use BP_SYM.
27959 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27960 (PARMS): Do not use macros from bp-asm.h.
27961 (SIGMSK): Likewise.
27962 (__sigsetjmp): Likewise. Do not use BP_SYM.
27963 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27964 (_start): Do not use BP_SYM.
27965 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27966 (PARMS): Do not use macros from bp-asm.h.
27967 (DEST): Likewise.
27968 (SRC): Likewise.
27969 (__stpcpy): Likewise. Do not use BP_SYM.
27970 (stpcpy): Do not use BP_SYM in weak_alias.
27971 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27972 "bp-asm.h".
27973 (PARMS): Do not use macros from bp-asm.h.
27974 (DEST): Likewise.
27975 (SRC): Likewise.
27976 (LEN): Likewise.
27977 (__stpncpy): Likewise. Do not use BP_SYM.
27978 (stpncpy): Do not use BP_SYM in weak_alias.
27979 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27980 (PARMS): Do not use macros from bp-asm.h.
27981 (STR): Likewise.
27982 (CHR): Likewise.
27983 (strchr): Likewise. Do not use BP_SYM.
27984 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27985 "bp-asm.h".
27986 (PARMS): Do not use macros from bp-asm.h.
27987 (STR): Likewise.
27988 (CHR): Likewise.
27989 (__strchrnul): Likewise. Do not use BP_SYM.
27990 (strchrnul): Do not use BP_SYM in weak_alias.
27991 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27992 "bp-asm.h".
27993 (PARMS): Do not use macros from bp-asm.h.
27994 (STOP): Likewise.
27995 (strcspn): Do not use BP_SYM.
27996 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27997 "bp-asm.h".
27998 (PARMS): Do not use macros from bp-asm.h.
27999 (STR): Likewise.
28000 (STOP): Likewise.
28001 (strpbrk): Likewise. Do not use BP_SYM.
28002 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28003 "bp-asm.h".
28004 (PARMS): Do not use macros from bp-asm.h.
28005 (STR): Likewise.
28006 (CHR): Likewise.
28007 (strrchr): Likewise. Do not use BP_SYM.
28008 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28009 (PARMS): Do not use macros from bp-asm.h.
28010 (SKIP): Likewise.
28011 (strspn): Do not use BP_SYM.
28012 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28013 (PARMS): Do not use macros from bp-asm.h.
28014 (STR): Likewise.
28015 (DELIM): Likewise.
28016 (SAVE): Likewise.
28017 (FUNCTION): Likewise. Do not use BP_SYM.
28018 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28019 aliases.
28020 (strtok_r): Likewise.
28021 (__GI___strtok_r): Likewise.
28022 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28023 (PARMS): Do not use macros from bp-asm.h.
28024 (S1): Likewise.
28025 (S2): Likewise.
28026 (SIZE): Likewise.
28027 (__mpn_sub_n): Do not use BP_SYM.
28028 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28029 "bp-asm.h".
28030 (PARMS): Do not use macros from bp-asm.h.
28031 (S1): Likewise.
28032 (SIZE): Likewise.
28033 (__mpn_submul_1): Do not use BP_SYM.
28034 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28035 <bp-sym.h>.
28036 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28037 and <bp-asm.h>.
28038 (PARMS): Do not use macros from bp-asm.h.
28039 (FLAGS): Likewise.
28040 (PTID): Likewise.
28041 (TLS): Likewise.
28042 (CTID): Likewise.
28043 (__clone): Do not use BP_SYM.
28044 (clone): Do not use BP_SYM in weak_alias.
28045 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28046 and <bp-asm.h>.
28047 (PARMS): Do not use macros from bp-asm.h.
28048 (LEN): Likewise.
28049 (__mmap64): Do not use BP_SYM.
28050 (mmap64): Do not use BP_SYM in weak_alias.
28051 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28052 <bp-sym.h> and <bp-asm.h>.
28053 (PARMS): Do not use macros from bp-asm.h.
28054 (__posix_fadvise64_l64): Do not use BP_SYM.
28055 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28056 (PARMS): Do not use macros from bp-asm.h.
28057 (NSOPS): Likewise.
28058 (semtimedop): Do not use BP_SYM.
28059 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28060 and <bp-asm.h>.
28061
582a3cff
AM
280622013-02-21 Allan McRae <allan@archlinux.org>
28063
28064 * manual/message.texi (Charset conversion in gettext):
28065 Move @end statement to beginning of line.
28066
bab8a695
SP
280672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28068
80945231
SP
28069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28070 static.
28071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28072 Likewise.
28073
bab8a695
SP
28074 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28075 (denorm): Likewise.
28076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28078
e21d7aa7
AK
280792013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28080
28081 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28082 tail-call to the resolved function if pltexit isn't needed.
28083
4c7a4263
SP
280842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28085
28086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28087 or Y being zero as being unlikely.
28088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28089 Likewise.
28090
41f49342
CD
280912013-02-20 Carlos O'Donell <carlos@redhat.com>
28092
28093 * manual/nss.texi (System Databases and Name Service Switch):
28094 Remove frobnicate @pxref.
28095
50022a93
TS
280962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28097
28098 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28099 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28100
08cbd996
PM
281012013-02-20 Petr Machata <pmachata@redhat.com>
28102
28103 * elf/elf.h (R_ARM_TARGET1): New macro.
28104 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28105 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28106 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28107 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28108 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28109 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28110 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28111 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28112 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28113 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28114 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28115 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28116 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28117 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28118 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28119 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28120 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28121 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28122 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28123 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28124 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28125 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28126 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28127 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28128 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28129 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28130 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28131 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28132 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28133 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28134 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28135 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28136 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28137 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28138 (R_ARM_THM_GOT_BREL12): Likewise.
28139 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28140 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28141 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28142 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28143 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28144 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28145 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28146 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28147 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28148
c7b275d6
TS
281492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28150
28151 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28152 __attribute_used__ to __attribute__ ((unused)).
28153
20cd7fb3
SP
281542013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28155
28156 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28157 powerpc mpa.c.
28158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28159 comment formatting.
28160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28161
92945b52
JM
281622013-02-19 Joseph Myers <joseph@codesourcery.com>
28163
28164 [BZ #13550]
28165 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28166 Remove macro.
28167 (ENTER): Remove both macro definitions.
28168 (LEAVE): Likewise.
28169 (CHECK_BOUNDS_LOW): Likewise.
28170 (CHECK_BOUNDS_HIGH): Likewise.
28171 (CHECK_BOUNDS_BOTH): Likewise.
28172 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28173 (RETURN_BOUNDED_POINTER): Likewise.
28174 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28175 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28176 (POP_ERRNO_LOCATION_RETURN): Likewise.
28177 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28178 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28179 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28180 macros.
28181 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28182 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28183 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28184 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28185 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28186 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28187 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28188 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28189 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28190 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28191 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28192 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28193 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28194 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28195 removed macros.
28196 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28197 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28198 macros.
28199 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28200 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28201 * sysdeps/i386/i586/memset.S (memset): Likewise.
28202 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28203 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28204 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28205 macros.
28206 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28207 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28208 Change uses of L(2) to L(out).
28209 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28210 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28211 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28212 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28213 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28214 removed macros.
28215 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28216 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28217 macros.
28218 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28219 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28220 (RETURN): Do not use macro LEAVE.
28221 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28222 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28223 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28224 * sysdeps/i386/i686/memset.S (memset): Likewise.
28225 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28226 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28227 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28228 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28229 Likewise.
28230 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28231 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28232 L(1_2) and L(1_3) into L(1).
28233 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28234 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28235 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28236 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28237 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28238 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28239 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28240 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28241 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28242 macros.
28243 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28244 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28245 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28246 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28247 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28248 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28249 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28250 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28251 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28252 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28253 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28254 * sysdeps/i386/strspn.S (strspn): Likewise.
28255 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28256 conditional code.
28257 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28258 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28259 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28260 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28261 L(1_3) into L(1_1).
28262 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28263 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28264 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28265 macros.
28266 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28267
2389741a
JJ
282682013-02-19 Jakub Jelinek <jakub@redhat.com>
28269
28270 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28271 macro.
28272
2016b3cd
SP
282732013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28274
e4f22324
SP
28275 * math/atest-exp.c (exp_mpn): Remove ROUND.
28276 * math/atest-exp2.c (exp_mpn): Likewise.
28277 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28278
2016b3cd
SP
28279 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28280 * stdlib/tst-tls-atexit-lib.c: Likewise.
28281 * stdlib/tst-tls-atexit.c: Likewise.
28282
4be9b544
MF
282832013-02-18 Mike Frysinger <vapier@gentoo.org>
28284
28285 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28286 and __attribute_alloc_size__.
28287
2f62b9ee
MF
282882013-02-18 Mike Frysinger <vapier@gentoo.org>
28289
28290 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28291 __attribute_alloc_size__.
28292 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28293 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28294
6ff444c4
MF
282952013-02-18 Mike Frysinger <vapier@gentoo.org>
28296
28297 * include/programs/xmalloc.h: New file.
28298 * catgets/gencat.c: Include it.
28299 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28300 * elf/pldd.c: Likewise.
28301 * iconv/iconv_charmap.c: Likewise.
28302 * iconv/iconvconfig.c: Likewise.
28303 * iconv/strtab.c: Likewise.
28304 * locale/programs/locale.c: Likewise.
28305 * locale/programs/localedef.h: Likewise.
28306 * locale/programs/simple-hash.c: Likewise.
28307 * nscd/nscd.h: Likewise.
28308 * nss/makedb.c: Likewise.
28309 * sysdeps/generic/ldconfig.h: Likewise.
28310
be179c8a
SP
283112013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28312
ba384f6e
SP
28313 * Versions.def: Add GLIBC_2.18.
28314 * include/link.h (struct link_map): New member l_tls_dtor_count.
28315 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28316 (__call_tls_dtors): Likewise.
28317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28318 __cxa_thread_atexit_impl.
28319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28320 Likewise.
28321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28322 Likewise.
28323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28324 Likewise.
28325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28326 Likewise.
28327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28329 Likewise.
28330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28331 Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28334 Likewise.
28335 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28336 (tests): Add test case tst-tls-atexit.
28337 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28338 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28339 (GLIBC_PRIVATE): Add __call_tls_dtors.
28340 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28341 for libstdc++.
28342 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28343 * stdlib/tst-tls-atexit.c: New test case.
28344 * stdlib/tst-tls-atexit-lib.c: New test case.
28345
ffaa74cf 28346 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28347
be179c8a
SP
28348 * elf/Versions (ld): Add _dl_find_dso_for_object.
28349 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28350 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28351 (dl_open_worker): Use _dl_find_dso_for_object.
28352 * elf/dl-sym.c (do_sym): Likewise.
28353 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28354
f78b5caa
AK
283552013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28356
28357 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28358 Syntactic changes only.
28359 (_dl_runtime_profile): Do a tail-call to the resolved function.
28360
29691210
JM
283612013-02-17 Joseph Myers <joseph@codesourcery.com>
28362
28363 [BZ #13550]
28364 * sysdeps/x86_64/bp-asm.h: Remove file.
28365 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28366 <bp-sym.h> and <bp-asm.h>.
28367 (__clone): Do not use BP_SYM.
28368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28369 <bp-sym.h> and <bp-asm.h>.
28370 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28371 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28372 "bp-asm.h".
28373 (_setjmp): Do not use BP_SYM.
28374 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28375 "bp-asm.h".
28376 (setjmp): Do not use BP_SYM.
28377 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28378 libc_hidden_def.
28379 (mempcpy): Do not use BP_SYM in weak_alias.
28380 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28381 "bp-asm.h".
28382 (strchr): Do not use BP_SYM.
28383 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28384 "bp-asm.h".
28385 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28386 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28387 (_start): Do not use BP_SYM.
28388 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28389 "bp-asm.h".
28390 (strcat): Do not use BP_SYM.
28391 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28392 "bp-asm.h".
28393 (STRCMP): Do not use BP_SYM.
28394 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28395 "bp-asm.h".
28396 (STRCPY): Do not use BP_SYM.
28397 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28398 "bp-asm.h".
28399 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28400 "bp-asm.h".
28401 (FUNCTION): Do not use BP_SYM.
28402 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28403 weak_alias.
28404 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28405
f238fd19
AJ
284062013-02-17 Andreas Jaeger <aj@suse.de>
28407
28408 * time/Versions: Sort entries.
28409 * string/Versions: Likewise.
28410 * resolv/Versions: Likewise.
28411 * posix/Versions: Likewise.
28412 * iconv/Versions: Likewise.
28413 * elf/Versions: Likewise.
28414 * wcsmbs/Versions: Likewise.
28415
bd07f23c 284162013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28417
22af19f9
SP
28418 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28419 loop termination condition.
28420
4709fe76
SP
28421 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28422 variable to calculate EZ.
28423 (__sqr): Likewise.
2d0e0f29
SP
28424
28425 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28426 the lower precision input.
28427
daaa7713
JM
284282013-02-15 Joseph Myers <joseph@codesourcery.com>
28429
28430 [BZ #13550]
28431 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28432 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28433 (run-via-rtld-prefix): Do not handle %-bp tests.
28434 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28435 (all-object-suffixes): Remove .ob.
28436 (bppfx): Remove variable.
28437 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28438 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28439 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28440 [$(build-bounded) = yes] (libtype.ob): Likewise.
28441 * Makerules (elide-routines.ob): Remove variable.
28442 (do-tests-clean): Do not handle *-bp.out.
28443 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28444 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28445 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28446 (tests): Do not include $(tests-bp.out).
28447 (xtests): Do not include $(xtests-bp.out).
28448 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28449 [$(build-bounded) = yes] ($(addprefix
28450 $(objpfx),$(binaries-bounded))): Remove rule.
28451 ($(objpfx)%-bp.out): Remove rule.
28452 * config.make.in (build-bounded): Remove variable.
28453 * crypt/Makefile [$(build-bounded) = yes]
28454 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28455 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28456 append to variable.
28457 [$(build-bounded) = yes] (install-lib): Likewise.
28458 [$(build-bounded) = yes] (generated): Likewise.
28459 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28460 Remove rule.
28461 * intl/Makefile [$(build-bounded) = yes]
28462 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28463 * math/Makefile [$(build-bounded) = yes]
28464 ($(tests:%=$(objpfx)%-bp): Likewise.
28465 * misc/Makefile [$(build-bounded) = yes]
28466 ($(objpfx)tst-tsearch-bp): Likewise.
28467 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28468 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28469 Remove dependency.
28470 * string/Makefile (o-objects.ob): Remove variable.
28471 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28472 (CFLAGS-.ob): Remove variable.
28473 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28474 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28475 both definitions of variable.
28476 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28477 (ASFLAGS-.ob): Remove variable.
28478
e97ed6dd
JM
284792013-02-14 Joseph Myers <joseph@codesourcery.com>
28480
2bdd4ca6
JM
28481 [BZ #13550]
28482 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28483 Remove __BOUNDED_POINTERS__ from condition.
28484 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28485 * string/bits/string2.h [!__NO_STRING_INLINES &&
28486 !__BOUNDED_POINTERS__]: Likewise.
28487 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28488 Likewise.
28489 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28490 Remove conditional code.
28491 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28492 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28493 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28494 condition.
28495
e97ed6dd
JM
28496 [BZ #13550]
28497 * csu/libc-start.c: Do not include <bp-sym.h>.
28498 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28499 * elf/dl-open.c: Do not include <bp-sym.h>.
28500 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28501 * math/fegetenv.c: Do not include <bp-sym.h>.
28502 (fegetenv): Do not use BP_SYM in versioned symbols.
28503 * nptl/sysdeps/pthread/bits/libc-lockP.h
28504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28505 <bp-sym.h>.
28506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28507 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28509 (__pthread_mutex_destroy): Likewise.
28510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28511 (__pthread_mutex_lock): Likewise.
28512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28513 (__pthread_mutex_trylock): Likewise.
28514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28515 (__pthread_mutex_unlock): Likewise.
28516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28517 (__pthread_mutexattr_init): Likewise.
28518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28519 (__pthread_mutexattr_destroy): Likewise.
28520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28521 (__pthread_mutexattr_settype): Likewise.
28522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28523 (__pthread_rwlock_init): Likewise.
28524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28525 (__pthread_rwlock_destroy): Likewise.
28526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28527 (__pthread_rwlock_rdlock): Likewise.
28528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28529 (__pthread_rwlock_tryrdlock): Likewise.
28530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28531 (__pthread_rwlock_wrlock): Likewise.
28532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28533 (__pthread_rwlock_trywrlock): Likewise.
28534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28535 (__pthread_rwlock_unlock): Likewise.
28536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28537 (__pthread_key_create): Likewise.
28538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28539 (__pthread_setspecific): Likewise.
28540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28541 (__pthread_getspecific): Likewise.
28542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28543 Likewise.
28544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28545 (_pthread_cleanup_push_defer): Likewise.
28546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28547 (_pthread_cleanup_pop_restore): Likewise.
28548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28549 (pthread_setcancelstate): Likewise.
28550 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28551 <bp-sym.h>.
28552 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28553 (memchr): Do not use BP_SYM in weak_alias.
28554 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28555 (fegetenv): Do not use BP_SYM in versioned symbols.
28556 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28557 (fesetenv): Do not use BP_SYM in versioned symbols.
28558 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28559 (feupdateenv): Do not use BP_SYM in versioned symbols.
28560 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28561 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28562 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28563 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28564 (open64): Do not use BP_SYM in weak_alias.
28565 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28566 (fegetenv): Do not use BP_SYM in versioned symbols.
28567 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28568 (fesetenv): Do not use BP_SYM in versioned symbols.
28569 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28570 (feupdateenv): Do not use BP_SYM in versioned symbols.
28571 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28572 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28573 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28574 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28575 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28576 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28578 <bp-sym.h>.
28579 (__libc_start_main): Do not use BP_SYM.
28580
d6752ccd
SP
285812013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28582
cb57ce60
SP
28583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28584 redundant return line.
28585 (norm): Likewise.
28586 (denorm): Likewise.
28587 (dbl_mp): Likewise.
28588 (sub_magnitudes): Likewise.
28589 (__add): Likewise.
28590 (__sub): Likewise.
28591 (__mul): Likewise.
28592 (__inv): Likewise.
28593 (__dvd): Likewise.
28594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28595 (norm): Likewise.
28596 (denorm): Likewise.
28597 (dbl_mp): Likewise.
28598 (sub_magnitudes): Likewise.
28599 (__add): Likewise.
28600 (__sub): Likewise.
28601 (__mul): Likewise.
28602 (__inv): Likewise.
28603 (__dvd): Likewise.
28604
f414520d
SP
28605 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28606 instead of __mul.
28607 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28608 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28609 (cc32): Likewise.
28610
d6752ccd
SP
28611 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28612 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28614 of __mul for squares.
28615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28616 function
28617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28618 Likewise.
28619 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28620 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28621
70d9946a
JM
286222013-02-13 Joseph Myers <joseph@codesourcery.com>
28623
28624 [BZ #13550]
28625 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28626 code.
28627 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28628 prototype or function definition. Rename ubp_* variables and
28629 parameters. Remove argv definitions conditional on
28630 [__BOUNDED_POINTERS__].
28631 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28632 * elf/dl-runtime.c (_dl_fixup): Likewise.
28633 * include/set-hooks.h (RUN_HOOK): Likewise.
28634 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28635 definition.
28636 * string/strcpy.c (strcpy): Do not use __unbounded.
28637 * sysdeps/generic/frame.h (struct layout): Likewise.
28638 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28639 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28640 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28641 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28642 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28643 (__backtrace): Likewise.
28644 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28645 use __ptrvalue.
28646 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28647 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28648 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28649 Likewise.
28650 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28651 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28652 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28653 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28654 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28655 Do not use __unbounded.
28656 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28657 Rename __unboundedrlimits parameter to rlimits in prototype.
28658 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28659 Do not use __unbounded.
28660 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28661 not use __ptrvalue.
28662 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28663 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28664 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28665 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28666 __ptrvalue or __unbounded.
28667 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28668 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28669 use __unbounded.
28670 (__new_msgctl): Do not use __ptrvalue.
28671 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28672 __unbounded.
28673 (__libc_msgrcv): Do not use __ptrvalue.
28674 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28675 startup_info): Do not use __unbounded.
28676 (__libc_start_main): Likewise. Rename ubp_* variables and
28677 parameters. Remove argv definitions conditional on
28678 [__BOUNDED_POINTERS__].
28679 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28680 __ptrvalue.
28681 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28682 use __unbounded.
28683 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28684 or __ptrvalue.
28685 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28686 use __unbounded.
28687 (__new_shmctl): Do not use __ptrvalue.
28688 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28689 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28690 Likewise.
28691 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28692 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28693 (__libc_sigaction): Likewise.
28694 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28695 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28696 Likewise.
28697 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28698
cc7834d6
OB
286992013-02-13 Ondřej Bílka <neleai@seznam.cz>
28700
ffb1ec7b 28701 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28702
28703 * string/mempcpy.c: Implement by calling memcpy.
28704
bdf02814
SP
287052013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28706
c2af38aa
SP
28707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28708
4e92d59e
SP
28709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28710 evaluation.
28711
909279a5
SP
28712 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28713 values in the mantissa.
28714
bdf02814
SP
28715 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28716 minimize writes to Z.
28717 (sub_magnitudes): Simplify code a bit.
28718
cd525923
RM
287192013-02-12 Roland McGrath <roland@hack.frob.com>
28720
28721 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28722 from the message. The linker prefixes all warnings with that already.
28723
7e2f0d2d
AS
287242013-02-12 Andreas Schwab <schwab@suse.de>
28725
a445af0b
AS
28726 [BZ #15078]
28727 * posix/regexec.c (extend_buffers): Add parameter min_len.
28728 (check_matching): Pass minimum needed length.
28729 (clean_state_log_if_needed): Likewise.
28730 (get_subexp): Likewise.
28731 * posix/Makefile (tests): Add bug-regex34.
28732 (bug-regex34-ENV): Define.
28733 * posix/bug-regex34.c: New file.
28734
7e2f0d2d
AS
28735 [BZ #11561]
28736 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28737 elements compare against the byte sequence of it, not its name.
28738 * posix/Makefile (tests): Add bug-regex35.
28739 (bug-regex35-ENV): Define.
28740 * posix/bug-regex35.c: New file.
28741
a175b684
TV
287422013-02-11 Tom de Vries <tom@codesourcery.com>
28743
28744 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28745 comment.
28746 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28747 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28748 (CHECK_EOL): Add undef.
28749
310998fe 287502013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28751
28752 * bits/stdlib-bsearch.h: New file.
28753 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28754 * stdlib/stdlib.h: Likewise.
41eda41d 28755
8ded91fb
RM
287562013-02-11 Roland McGrath <roland@hack.frob.com>
28757
28758 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28759 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28760 declaration.
28761 * manual/search.texi (Array Search Function): Add missing const in
28762 lfind prototype.
28763 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28764 declaration to use rlim_t.
28765 (Basic Scheduling Functions): Remove erroneous const from
28766 sched_getparam prototype. Remove erroneous * from
28767 sched_get_priority_max and sched_get_priority_min prototypes.
28768 (Resource Usage): Fix summary @comment on vtimes to refer to
28769 sys/vtimes.h rather than vtimes.h.
28770 Add missing *s in vtimes prototype.
28771 (Limits on Resources): Fix ulimit prototype to return long int.
28772 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28773 prototypes to use long int rather than double.
28774 (BSD Random): Fix initstate and setstate to use char *, not void *.
28775 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28776 prototype to make second argument 'struct aiocb64 *const[]'.
28777 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28778 (Status of AIO Operations): Remove erroneous const in aio_return and
28779 aio_return64 prototypes.
28780 (Synchronizing I/O): Fix sync prototype to return void.
28781 * manual/startup.texi (Suboptions): Remove an erroneous const in
28782 getsubopt prototype.
28783 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28784 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28785 use size_t rather than int.
28786 (Scanning All Users): Likewise for getpwent_r.
28787 (Setting Groups): Add missing const to setgroups prototype.
28788 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28789 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28790 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28791 'const void *' rather than 'const char *'.
28792 (Host Address Functions): Likewise for inet_ntop.
28793 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28794 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28795 ssize_t for return value.
28796 (Sending Data): Likewise for send, sendto, sendmsg.
28797 (Socket Option Functions): Add a missing const in setsockopt prototype.
28798 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28799 use wchar_t for the argument.
28800 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28801 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28802 take no arguments.
28803 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28804 double/float/long double for second argument.
28805 Fix return types of significand, significandf, significandl.
28806 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28807 argument in fchmod prototype.
28808 (File Owner): Use uid_t and gid_t in fchown prototype.
28809 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28810 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28811 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28812 use 'const struct dirent **' as argument types to CMP function pointer
28813 argument.
28814 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28815 (File Times): Fix summary magic @comment for struct utimbuf and utime
28816 to refer to utime.h, not time.h.
28817 * manual/string.texi (Argz Functions): Add missing const in
28818 argz_extract and argz_next prototypes.
28819 (Finding Tokens in a String): Likewise for basename.
28820 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28821 (Copying and Concatenation): Fix typo in wmemmove prototype.
28822 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28823 (Signal Stack): Remove erroneous const in sigstack prototype.
28824 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28825 prototype.
28826 (Simple Calendar Time): Likewise for stime.
28827 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28828 prototype.
28829 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28830 say sys/sysctl.h instead.
28831 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28832 and vsyslog prototypes.
28833
fe77fe6d
TV
288342013-02-11 Tom de Vries <tom@codesourcery.com>
28835
28836 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28837 Remove.
28838
3a09b620
RM
288392013-02-11 Roland McGrath <roland@hack.frob.com>
28840
28841 * misc/sys/mman.h: Fix typo in mremap comment.
28842
550a0b89
RM
288432013-02-08 Roland McGrath <roland@hack.frob.com>
28844
28845 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28846 the '\0' terminator.
28847
a2da1673
JM
288482013-02-08 Joseph Myers <joseph@codesourcery.com>
28849
28850 [BZ #13550]
28851 * debug/segfault.c: Don't include <bp-checks.h>.
28852 * sysdeps/generic/bp-checks.h: Remove file.
28853 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28854 (__GETDENTS): Don't use CHECK_N.
28855 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28856 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28857 (__getgroups): Don't use CHECK_N.
28858 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28859 (setgroups): Don't use CHECK_N.
28860 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28861 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28862 (__libc_msgrcv): Don't use CHECK_N.
28863 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28864 (__libc_msgsnd): Don't use CHECK_N.
28865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28866 <bp-checks.h>.
28867 (__libc_pread): Don't use CHECK_N.
28868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28869 include <bp-checks.h>.
28870 (__libc_pread64): Don't use CHECK_N.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28872 include <bp-checks.h>.
28873 (__libc_pwrite): Don't use CHECK_N.
28874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28875 include <bp-checks.h>.
28876 (__libc_pwrite64): Don't use CHECK_N.
28877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28878 <bp-checks.h>.
28879 (__libc_pread): Don't use CHECK_N.
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28881 include <bp-checks.h>.
28882 (__libc_pread64): Don't use CHECK_N.
28883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28884 include <bp-checks.h>.
28885 (__libc_pwrite): Don't use CHECK_N.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28887 include <bp-checks.h>.
28888 (__libc_pwrite64): Don't use CHECK_N.
28889 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28890 (do_pread): Don't use CHECK_N.
28891 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28892 (do_pread64): Don't use CHECK_N.
28893 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28894 (do_pwrite): Don't use CHECK_N.
28895 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28896 (do_pwrite64): Don't use CHECK_N.
28897 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28898 (__libc_readv): Don't use CHECK_N.
28899 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28900 (semop): Don't use CHECK_N.
28901 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28902 <bp-checks.h>.
28903 (semtimedop): Don't use CHECK_N.
28904 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28905 (__libc_pread): Don't use CHECK_N.
28906 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28907 <bp-checks.h>.
28908 (__libc_pread64): Don't use CHECK_N.
28909 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28910 <bp-checks.h>.
28911 (__libc_pwrite): Don't use CHECK_N.
28912 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28913 <bp-checks.h>.
28914 (__libc_pwrite64): Don't use CHECK_N.
28915 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28916 <bp-checks.h>.
28917 (__libc_msgrcv): Don't use CHECK_N.
28918 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28919 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28920 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28921 (__libc_writev): Don't use CHECK_N.
28922
b84660a8
RM
289232013-02-08 Roland McGrath <roland@hack.frob.com>
28924
7f3e75f8
RM
28925 * string/strcpy.c: Removed unused variable.
28926
b84660a8
RM
28927 * Makeconfig (+sysdep-includes): Define with := rather than =.
28928 Use an existing include/ subdir of each sysdeps dir before it.
28929
471514d3
CD
289302013-02-08 Carlos O'Donell <carlos@redhat.com>
28931
28932 * nscd/connection.c (register_traced_file): Comment function.
28933 [HAVE_INOTIFY] (union __inev): Define.
28934 [HAVE_INOTIFY] (inotify_check_files): New function.
28935 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28936 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28937 clear_db_cache.
28938 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28939
b2d3c3be
CD
289402013-02-08 Carlos O'Donell <carlos@redhat.com>
28941
28942 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28943 loaded if not already and that a failure is permanent.
28944
b39949d2
CD
289452013-02-08 Carlos O'Donell <carlos@redhat.com>
28946
ddacd1db 28947 [BZ #15006]
b39949d2
CD
28948 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28949 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28950
b2c9eff4
JM
289512013-02-08 Joseph Myers <joseph@codesourcery.com>
28952
f3aae3f3
JM
28953 [BZ #13550]
28954 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28955 (CHECK_1_NULL_OK): Likewise.
28956 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28957 (__fxstat): Do not use CHECK_1.
28958 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28959 <bp-checks.h>.
28960 (___fxstat64): Do not use CHECK_1.
28961 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28962 <bp-checks.h>.
28963 (__fxstatat): Do not use CHECK_1.
28964 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28965 <bp-checks.h>.
28966 (__fxstatat64): Do not use CHECK_1.
28967 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28968 <bp-checks.h>.
28969 (__fxstat): Do not use CHECK_1.
28970 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28971 <bp-checks.h>.
28972 (__fxstatat): Do not use CHECK_1.
28973 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28974 <bp-checks.h>.
28975 (__getresgid): Do not use CHECK_1.
28976 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28977 <bp-checks.h>.
28978 (__getresuid): Do not use CHECK_1.
28979 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28980 <bp-checks.h>.
28981 (__lxstat): Do not use CHECK_1.
28982 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28983 <bp-checks.h>.
28984 (__old_msgctl): Do not use CHECK_1.
28985 (__new_msgctl): Likewise.
28986 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28987 <bp-checks.h>.
28988 (__new_setrlimit): Do not use CHECK_1.
28989 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28990 <bp-checks.h>.
28991 (__old_shmctl): Do not use CHECK_1.
28992 (__new_shmctl): Likewise.
28993 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28994 <bp-checks.h>.
28995 (__xstat): Do not use CHECK_1.
28996 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28997 (__lxstat): Do not use CHECK_1.
28998 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28999 <bp-checks.h>.
29000 (___lxstat64): Do not use CHECK_1.
29001 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29002 (__old_msgctl): Do not use CHECK_1.
29003 (__new_msgctl): Likewise.
29004 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29005 <bp-checks.h>.
29006 (__gettimeofday): Do not use CHECK_1.
29007 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29008 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29009 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29010 <bp-checks.h>.
29011 (__gettimeofday): Do not use CHECK_1.
29012 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29013 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29014 (__new_shmctl): Do not use CHECK_1.
29015 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29016 <bp-checks.h>.
29017 (do_sigtimedwait): Do not use CHECK_1.
29018 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29019 <bp-checks.h>.
29020 (do_sigwaitinfo): Do not use CHECK_1.
29021 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29022 <bp-checks.h>.
29023 (msgctl): Do not use CHECK_1.
29024 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29025 <bp-checks.h>.
29026 (shmctl): Do not use CHECK_1.
29027 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29028 (ustat): Do not use CHECK_1.
29029 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29030 <bp-checks.h>.
29031 (__fxstat): Do not use CHECK_1.
29032 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29033 <bp-checks.h>.
29034 (__fxstatat): Do not use CHECK_1.
29035 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29036 <bp-checks.h>.
29037 (__lxstat): Do not use CHECK_1.
29038 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29039 <bp-checks.h>.
29040 (__xstat): Do not use CHECK_1.
29041 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29042 (__xstat): Do not use CHECK_1.
29043 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29044 (___xstat64): Do not use CHECK_1.
29045
b2c9eff4
JM
29046 [BZ #13550]
29047 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29048 definitions.
29049 (CHECK_BOUNDS_HIGH): Likewise.
29050 * string/strcpy.c: Do not include <bp-checks.h>.
29051 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29052
f1d70dad
RM
290532013-02-07 Roland McGrath <roland@hack.frob.com>
29054
29055 * nscd/nscd-client.h (__nscd_drop_map_ref):
29056 Add __attribute__ ((unused)).
29057 * nis/nss-nisplus.h (niserr2nss): Likewise.
29058
29059 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29060 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29061
29062 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29063 Remove inline keyword.
29064 * include/rounding-mode.h (round_away): Likewise.
29065 * libio/wfileops.c (adjust_wide_data): Likewise.
29066 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29067 (__m128i_strloadu_tolower): Likewise.
29068 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29069 (__m128i_strloadu_tolower): Likewise.
29070 * time/mktime.c (ydhms_diff): Likewise.
29071 * locale/elem-hash.h (elem_hash): Likewise.
29072 * locale/setlocale.c (setdata): Likewise.
29073 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29074 (re_string_wchar_at): Likewise.
29075 (bitset_not, bitset_merge, bitset_mask): Likewise.
29076 [!(__GNUC__ > 3)] (inline): Remove macro.
29077 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29078 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29079 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29080 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29081 * string/memcmp.c (memcmp_bytes): Likewise.
29082 * locale/programs/locarchive.c (compute_hashval): Likewise.
29083 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29084 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29085 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29086 * nss/getent.c (print_rpc, print_protocols): Likewise.
29087 (print_passwd, print_group, print_aliases): Likewise.
29088 * nis/nss-nisplus.h (niserr2nss): Likewise.
29089 * nscd/connections.c (restart_p): Likewise.
29090 Change return type to bool.
29091
eab55bfb
RM
290922013-02-05 Roland McGrath <roland@hack.frob.com>
29093
7bd642f5
RM
29094 * Makeconfig (all-Depend-files): Add existing
29095 $(sorted-subdirs:=/Depend) files.
29096 (all-subdirs): Remove nss.
29097 * sysdeps/unix/inet/Subdirs: Add it here instead.
29098 * hesiod/Depend: New file.
29099
573c29b2
RM
29100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29101 instead of calling alloca.
29102
b2e25af0
RM
29103 * io/lseek.c (__lseek): Rename to __libc_lseek.
29104 Define __lseek as an alias.
29105
eab55bfb
RM
29106 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29107
9a0d1941
CD
291082013-02-04 Carlos O'Donell <carlos@redhat.com>
29109
29110 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29111 else clause and remove check for non-standard endianness.
29112
b83bbec4
DM
291132013-02-04 David S. Miller <davem@davemloft.net>
29114
29115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29116
6277fdab
JM
291172013-02-04 Joseph Myers <joseph@codesourcery.com>
29118
29119 [BZ #13550]
29120 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29121 (__ubp_memchr): Remove prototype.
29122 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29123 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29124 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29125 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29126 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29127 Remove alias.
29128 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29129 (__ubp_memchr): Likewise.
29130 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29131 (__ubp_memchr): Likewise.
29132 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29133 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29134 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29135 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29136 CHECK_STRING.
29137 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29138 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29139 (__getcwd): Do not use CHECK_STRING.
29140 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29141 <bp-checks.h>.
29142 (__real_chown): Do not use CHECK_STRING.
29143 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29144 <bp-checks.h>.
29145 (fchownat): Do not use CHECK_STRING.
29146 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29147 CHECK_STRING.
29148 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29149 <bp-checks.h>.
29150 (__lchown): Do not use CHECK_STRING.
29151 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29152 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29153 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29154 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29156 include <bp-checks.h>.
29157 (truncate64): Do not use CHECK_STRING.
29158 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29159 <bp-checks.h>.
29160 (__real_chown): Do not use CHECK_STRING.
29161 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29162 <bp-checks.h>.
29163 (__lchown): Do not use CHECK_STRING.
29164 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29165 <bp-checks.h>.
29166 (__chown): Do not use CHECK_STRING.
29167 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29168 <bp-checks.h>.
29169 (truncate64): Do not use CHECK_STRING.
29170 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29171 Likewise.
29172 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29173 (__xmknod): Do not use CHECK_STRING.
29174 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29175 <bp-checks.h>.
29176 (__xmknodat): Do not use CHECK_STRING.
29177 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29178 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29179
903ae060
AS
291802013-02-04 Andreas Schwab <schwab@suse.de>
29181
29182 [BZ #14142]
29183 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29184 * include/netdb.h: Likewise for h_errno.
29185 * elf/tst-stackguard1.c: Include <tls.h>.
29186
542f9466
JK
291872013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29188
29189 * elf/link.h (struct link_map): Extend the l_addr comment.
29190 * include/link.h (struct link_map): Likewise.
29191
e782a927
JM
291922013-02-01 Joseph Myers <joseph@codesourcery.com>
29193
29194 [BZ #13550]
29195 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29196 (BOUNDED_1): Remove macro.
29197 * debug/backtrace.c: Don't include <bp-checks.h>.
29198 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29199 (__backtrace): Likewise.
29200 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29201 <bp-checks.h>.
29202 (__backtrace): Don't use BOUNDED_1.
29203 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29204 <bp-checks.h>.
29205 (__backtrace): Don't use BOUNDED_1.
29206 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29207 (__backtrace): Don't use BOUNDED_1.
29208 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29209 (shmat): Don't use BOUNDED_N.
29210
8cf28c5e
JM
292112013-01-31 Joseph Myers <joseph@codesourcery.com>
29212
3a7ac8a0
JM
29213 [BZ #13550]
29214 * sysdeps/generic/bp-start.h: Remove file.
29215 * csu/libc-start.c: Don't include <bp-start.h>.
29216 (LIBC_START_MAIN): Set up __environ directly instead of using
29217 INIT_ARGV_and_ENVIRON.
29218 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29219 <bp-start.h>.
29220
f3499f95
JM
29221 [BZ #13550]
29222 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29223 definitions.
29224 (CHECK_FCNTL): Likewise.
29225 (CHECK_N_PAGES): Likewise.
29226
32a45bea
JM
29227 [BZ #13550]
29228 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29229 definitions.
29230 (CHECK_SIGSET_NULL_OK): Likewise.
29231 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29232 <bp-checks.h>.
29233 (sigpending): Don't use CHECK_SIGSET.
29234 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29235 <bp-checks.h>.
29236 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29237 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29238 <bp-checks.h>.
29239 (do_sigsuspend): Don't use CHECK_SIGSET.
29240 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29241 use CHECK_SIGSET.
29242 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29243 (do_sigwait): Don't use CHECK_SIGSET.
29244 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29245 use CHECK_SIGSET.
29246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29247 include <bp-checks.h>.
29248 (sigpending): Don't use CHECK_SIGSET.
29249 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29250 include <bp-checks.h>.
29251 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29252 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29253 <bp-checks.h>.
29254 (sigpending): Don't use CHECK_SIGSET.
29255 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29256 <bp-checks.h>.
29257 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29258
2e8a5c8c
JM
29259 [BZ #13550]
29260 * sysdeps/generic/bp-semctl.h: Remove file.
29261 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29262 <bp-checks.h> and <bp-semctl.h>.
29263 (__old_semctl): Don't use CHECK_SEMCTL.
29264 (__new_semctl): Likewise.
29265 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29266 and <bp-semctl.h>.
29267 (__old_semctl): Don't use CHECK_SEMCTL.
29268 (__new_semctl): Likewise.
29269 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29270 <bp-checks.h> and <bp-semctl.h>.
29271 (__old_semctl): Don't use CHECK_SEMCTL.
29272 (__new_semctl): Likewise.
29273 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29274 <bp-checks.h> and <bp-semctl.h>.
29275 (semctl): Don't use CHECK_SEMCTL.
29276
c2d54929
JM
29277 [BZ #13550]
29278 * Makerules (elide-bp-thunks): Remove variable.
29279 (elide-routines.oS): Don't use $(elide-bp-thunks).
29280 (elide-routines.os): Likewise.
29281 (elide-routines.o): Likewise.
29282 (elide-routines.op): Likewise.
29283 (elide-routines.og): Likewise.
29284 (objects): Don't use $(bp-thunks).
29285 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29286 include.
29287 (common-generated): Do not add s-proto-bp.d.
29288 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29289 (int): Likewise.
29290 (typ): Likewise.
29291 Do not generate makefile rules for bounded-pointer thunks.
29292 * sysdeps/generic/bp-thunks.h: Remove file.
29293 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29294 * sysdeps/unix/s-proto-bp.S: Likewise.
29295
8cf28c5e
JM
29296 [BZ #15062]
29297 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29298 parts of result separately when argument is not close to line from
29299 -i to i and one part of argument is small.
29300 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29301 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29302 * math/libm-test.inc (cacos_test): Add more tests.
29303 (casin_test): Likewise.
29304 (casinh_test): Likewise.
29305 * sysdeps/i386/fpu/libm-test-ulps: Update.
29306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29307
c4e33b8d
DM
293082013-01-31 David S. Miller <davem@davemloft.net>
29309
29310 * po/de.po: Update from translation team.
29311
3b60b421
MK
293122013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29313
29314 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29315
bb931195
TS
293162013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29317
b5a5da23
TS
29318 * configure.in (_AC_PROG_CC_C89): New definition.
29319 * configure: Regenerate.
29320
bb931195
TS
29321 * configure.in (AC_PROG_CPP): New definition.
29322 * configure: Regenerate.
29323
8c53a12c
JM
293242013-01-23 Joseph Myers <joseph@codesourcery.com>
29325
29326 * debug/tst-backtrace.h: New file.
29327 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29328 (ret): Remove variable.
29329 (x): Likewise.
29330 (FAIL): Remove macro.
29331 (NO_INLINE): Likewise.
29332 (fn1): Use match function instead of strstr.
29333 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29334 (ret): Remove variable.
29335 (x): Likewise.
29336 (FAIL): Remove macro.
29337 (NO_INLINE): Likewise.
29338 (fn): Use match function instead of strstr.
29339 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29340 (ret): Remove variable.
29341 (x): Likewise.
29342 (FAIL): Remove macro.
29343 (NO_INLINE): Likewise.
29344 (handle_signal): Use match function instead of strstr.
29345 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29346 (ret): Remove variable.
29347 (x): Likewise.
29348 (FAIL): Remove macro.
29349 (NO_INLINE): Likewise.
29350 (handle_signal): Use match function instead of strstr.
29351
4858fa2a
RM
293522013-01-23 Roland McGrath <roland@hack.frob.com>
29353
29354 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29355
bae8e7f5
DM
293562013-01-23 David S. Miller <davem@davemloft.net>
29357
29358 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29359 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29360 argument of CAS if possible.
29361 * sysdeps/sparc/sparc64/bits/atomic.h
29362 (__arch_compare_and_exchange_val_32_acq): Likewise.
29363 (__arch_compare_and_exchange_val_64_acq): Likewise.
29364
9cbbc4ae
PT
293652013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29366
29367 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29368 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29369 Include <limits.h>.
67b3f58c 29370 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29371
5655a0b5
AC
293722013-01-23 Adam Conrad <adconrad@0c3.net>
29373
29374 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29375 (LDFLAGS-tst-array5): Likewise.
29376
052aff95
JM
293772013-01-23 Joseph Myers <joseph@codesourcery.com>
29378
29379 [BZ #15036]
29380 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29381 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29382 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29383 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29384
7c1e01aa
DM
293852013-01-21 David S. Miller <davem@davemloft.net>
29386
29387 * sysdeps/sparc/backtrace.c: New file.
29388 * sysdeps/sparc/sparc32/backtrace.h: New file.
29389 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29390 * sysdeps/sparc/sparc64/backtrace.h: New file.
29391 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29392 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29393 -funwind-tables.
29394
ab087e0a
AS
293952013-01-21 Andreas Schwab <schwab@suse.de>
29396
29397 [BZ #15020]
29398 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29399 closed its stdout.
29400
ed689c2f
AS
294012013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29402
29403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29404 "mpa2.h".
29405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29406
31d470ac
JM
294072013-01-18 Joseph Myers <joseph@codesourcery.com>
29408 Mark Mitchell <mark@codesourcery.com>
29409 Tom de Vries <tom@codesourcery.com>
29410 Paul Pluzhnikov <ppluzhnikov@google.com>
29411
29412 * debug/tst-backtrace2.c: New file.
29413 * debug/tst-backtrace3.c: Likewise.
29414 * debug/tst-backtrace4.c: Likewise.
29415 * debug/tst-backtrace5.c: Likewise.
29416 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29417 (CFLAGS-tst-backtrace3.c): Likewise.
29418 (CFLAGS-tst-backtrace4.c): Likewise.
29419 (CFLAGS-tst-backtrace5.c): Likewise.
29420 (LDFLAGS-tst-backtrace2): Likewise.
29421 (LDFLAGS-tst-backtrace3): Likewise.
29422 (LDFLAGS-tst-backtrace4): Likewise.
29423 (LDFLAGS-tst-backtrace5): Likewise.
29424 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29425 tst-backtrace4 and tst-backtrace5.
29426
90567f30 294272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29428 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29429
29430 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29431 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29432 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29433 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29435 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29436 "+r" and remove output regs list as redundant. Add explicit inline
29437 asm to specify register of return val to work around compiler codegen
29438 bug. Remove (int) cast on return value. Add return type parameter to
29439 use in macro so that this macro does not truncate return value for
29440 64-bit values.
29441 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29442 pass to INTERNAL_VSYSCALL_NCS.
29443 (INLINE_VSYSCALL): Add 'long int' as return type to
29444 INTERNAL_VSYSCALL_NCS macro invocation.
29445 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29446 INTERNAL_VSYSCALL_NCS macro invocation.
29447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29448
d3b9ea61
SP
294492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29450
0b57daeb
SP
29451 [BZ #14496]
29452 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29453 Fix application of SIMD FP exception mask.
29454
caa99d06
SP
29455 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29456 mp_no from a power of two.
29457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29458 __mpexp_twomm1. Use __pow_mp.
29459
d3b9ea61
SP
29460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29461 multiplication.
29462
1dbaee3c
DM
294632013-01-17 David S. Miller <davem@davemloft.net>
29464
29465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29466
728d7b43
JM
294672013-01-17 Joseph Myers <joseph@codesourcery.com>
29468
29469 [BZ #15023]
29470 * include/complex.h: Condition contents on [!_COMPLEX_H].
29471 (__kernel_casinhf): New prototype.
29472 (__kernel_casinh): Likewise.
29473 (__kernel_casinhl): Likewise.
29474 * math/Makefile (libm_calls): Add k_casinh.
29475 * math/k_casinh.c: New file.
29476 * math/k_casinhf.c: Likewise.
29477 * math/k_casinhl.c: Likewise.
29478 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29479 finite nonzero arguments.
29480 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29481 finite nonzero arguments.
29482 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29483 finite nonzero arguments.
29484 * math/s_casinh.c: Do not include <float.h>.
29485 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29486 * math/s_casinhf.c: Do not include <float.h>.
29487 (__casinhf): Move code for finite nonzero arguments to
29488 k_casinhf.c.
29489 * math/s_casinhl.c: Do not include <float.h>.
29490 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29491 redefine.
29492 (__casinhl): Move code for finite nonzero arguments to
29493 k_casinhl.c.
29494 * math/libm-test.inc (cacos_test): Add more tests.
29495 * sysdeps/i386/fpu/libm-test-ulps: Update.
29496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29497
2a26ef3a
PT
294982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29499
29500 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29501 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29502 [!HAVE_MREMAP]: Remove [defined linux] case.
29503 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29504
a897655d
SP
295052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29506
29507 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29508
881ebe89 295092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29510
29511 * elf/elf.h (R_386_SIZE32): New relocation.
29512 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29513 R_386_SIZE32.
29514 (elf_machine_rela): Likewise.
29515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29516 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29517
59981e9b
JM
295182013-01-17 Joseph Myers <joseph@codesourcery.com>
29519
29520 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29521 (FP_FAST_FMA): Do not define.
29522 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29523 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29524 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29525 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29526 !_SOFT_FLOAT]: Likewise.
29527 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29528 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29529 value.
29530 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29531 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29532 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29533 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29534 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29535 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29536 file.
29537
cfa8054f
AS
295382013-01-16 Andreas Schwab <schwab@suse.de>
29539
29540 [BZ #14327]
29541 * include/stdlib.h (__mktemp): Add declaration.
29542 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29543 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29544
dd930cc5
SP
295452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29546
881ebe89
SP
29547 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29548 definitions.
29549 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29550 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29551 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29552 definitions here.
29553 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29554 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29555 definitions.
29556 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29557 and ONE.
29558 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29559 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29560 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29561 definitions.
29562 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29563 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29564 definitions.
29565 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29566
dd930cc5
SP
29567 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29568
c19a9f89
DM
295692013-01-15 David S. Miller <davem@davemloft.net>
29570
1aa61767
DM
29571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29572 trunc{,f} to libm-sysdep_routes.
29573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29575 file.
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29578 file.
29579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29580 file.
29581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29583 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29584 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29585 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29586 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29587 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29588 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29589
c42d5e98
DM
29590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29591 nearbyint{,f} to libm-sysdep_routes.
29592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29594 New file.
29595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29596 file.
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29598 New file.
29599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29600 file.
29601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29603 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29604 file.
29605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29606 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29607 file.
29608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29609 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29610 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29611
c19a9f89
DM
29612 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29613 libc_feholdexcept and libc_fesetenv.
29614
357679d2
MF
296152013-01-15 Mike Frysinger <vapier@gentoo.org>
29616
29617 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29618
65a82e3d
DM
296192013-01-14 David S. Miller <davem@davemloft.net>
29620
8b954ab9
DM
29621 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29622 (SPARC_ASM_VIS2_IFUNC): Likewise.
29623 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29625 use of 'siam' instruction.
29626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29627 Likewise.
29628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29629 Likewise.
29630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29631 Likewise.
29632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29637 file.
29638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29639 file.
29640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29641 file.
29642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29643 file.
29644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29649 new VIS2 routines.
29650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29653 Likewise.
29654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29659 routines to libm-sysdep_routines.
29660 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29661
65a82e3d
DM
29662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29663 fdim/fdimf to libm-sysdep_routines.
29664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29665 file.
29666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29668 file.
29669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29672 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29673 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29674 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29675 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29676
e34ab705
SP
296772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29678
2a91b573
SP
29679 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29680 to optimize copies.
29681
1066a534
SP
29682 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29685
e34ab705
SP
29686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29687 local variable MPTWO.
29688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29689 Likewise.
29690
aba5e596
MF
296912013-01-13 Mike Frysinger <vapier@gentoo.org>
29692
29693 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29694 GLOB_NOESCAPE.
29695
e557e9e5
MF
296962013-01-13 Mike Frysinger <vapier@gentoo.org>
29697
29698 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29699
0428cec9
MF
297002013-01-13 Mike Frysinger <vapier@gentoo.org>
29701
29702 * manual/pattern.texi (glob_t): Document gl_flags.
29703 (glob64_t): Likewise.
29704
8794a964
DM
297052013-01-11 David S. Miller <davem@davemloft.net>
29706
66438c3f
RM
29707 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29708 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29709 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29710 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29711 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29712 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29713 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29714 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29715 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29716 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29717 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29718 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29719 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29720
4ae4244d
DM
29721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29722 sparc V9 rather than using V8 code.
29723 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29724 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29725
8794a964
DM
29726 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29727 Move to...
29728 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29729 Here.
29730
6270516e
RM
297312013-01-11 Roland McGrath <roland@hack.frob.com>
29732
29733 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29734 not in the main loop.
29735 * configure: Regenerated.
29736
6a57d931
JM
297372013-01-11 Joseph Myers <joseph@codesourcery.com>
29738
29739 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29740 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29741 to just #else.
29742 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29743 [!__GLIBC_HAVE_LONG_LONG] case.
29744 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29745 condition to just #else.
29746 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29747 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29748 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29749 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29750 unconditional.
29751 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29752 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29753 #elif condition to just #else.
29754 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29755 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29756 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29757 #elif condition to just #else.
29758
0e8529e9
SE
297592013-01-11 Steve Ellcey <sellcey@mips.com>
29760
29761 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29762 (EF_MIPS_ARCH_64): Fix value.
29763 (EF_MIPS_ARCH_32R2): New.
29764 (EF_MIPS_ARCH_64R2): New.
29765
740b3dbe
L
297662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 * Makeconfig (+link-pie-before-libc): New.
29769 (+link-pie-after-libc): Likewise.
29770 (+link-pie-tests): Likewise.
29771 (+link-pie): Rewritten.
29772 (link-before-libc): Remove $(config-LDFLAGS).
29773 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29774 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29775 (config-LDFLAGS): Renamed to ...
29776 (rtld-LDFLAGS): This.
29777 (rtld-tests-LDFLAGS): New macro.
29778 (link-libc-rpath-link): Likewise.
29779 (link-libc-tests-rpath-link): Likewise.
29780 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29781 (link-libc): Prepand $(link-libc-rpath-link).
29782 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29783 (test-program-prefix): New macro.
29784 (test-via-rtld-prefix): Likewise.
29785 (test-program-cmd): Likewise.
29786 (host-test-program-cmd): Likewise.
29787 * Makefile ($(common-objpfx)testrun.sh): Replace
29788 $(run-program-prefix) with $(test-program-prefix).
29789 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29790 $(rtld-LDFLAGS).
29791 ($(common-objpfx)shlib.lds): Likewise.
29792 (build-module-helper): Likewise.
29793 ($(common-objpfx)format.lds): Likewise.
29794 * Rules (binaries-pie-tests): New.
29795 (binaries-pie-notests): Likewise.
29796 (binaries-pie): Rewritten.
29797 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29798 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29799 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29800 (make-test-out): Replace $(host-built-program-cmd) with
29801 $(host-test-program-cmd).
29802 * config.make.in (build-hardcoded-path-in-tests): New variable.
29803 * configure.in (--enable-hardcoded-path-in-tests): New configure
29804 option.
29805 (hardcoded_path_in_tests): New AC_SUBST.
29806 * configure: Regenerated.
29807 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29808 $(built-program-cmd) with $(test-program-cmd).
29809 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29810 (test_program_cmd): This.
29811 * elf/Makefile ($(objpfx)order.out): Run test with
29812 $(test-program-prefix).
29813 ($(objpfx)order2.out): Likewise.
29814 ($(objpfx)tst-initorder.out): Likewise.
29815 ($(objpfx)tst-initorder2.out): Likewise.
29816 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29817 $(test-program-cmd).
29818 ($(objpfx)tst-array1-static.out): Likewise.
29819 ($(objpfx)tst-array2.out): Likewise.
29820 ($(objpfx)tst-array3.out): Likewise.
29821 ($(objpfx)tst-array4.out): Likewise.
29822 ($(objpfx)tst-array5.out): Likewise.
29823 ($(objpfx)tst-array5-static.out): Likewise.
29824 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29825 $(test-program-cmd).
29826 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29827 $(run-program-prefix) with $(test-program-prefix).
29828 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29829 (test_program_prefix): This.
29830 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29831 $(run-program-prefix) with $(test-program-prefix).
29832 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29833 (test_program_prefix): This.
29834 * iconvdata/tst-tables.sh: Likewise.
29835 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29836 $(run-program-prefix) with $(test-program-prefix).
29837 ($(objpfx)tst-translit.out): Likewise.
29838 ($(objpfx)tst-gettext2.out): Likewise.
29839 ($(objpfx)tst-gettext4.out): Likewise.
29840 ($(objpfx)tst-gettext6.out): Likewise.
29841 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29842 (test_program_prefix): This.
29843 * intl/tst-gettext2.sh: Likewise.
29844 * intl/tst-gettext4.sh Likewise.
29845 * intl/tst-gettext6.sh: Likewise.
29846 * intl/tst-translit.sh: Likewise.
29847 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29848 with $(test-program-cmd).
29849 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29850 $(run-program-prefix) with $(test-program-prefix).
29851 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29852 (test_program_prefix): This.
29853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29854 $(run-program-prefix) with $(test-program-prefix).
29855 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29856 (test_program_prefix): This.
29857 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29858 * posix/Makefile ($(objpfx)globtest.out): Replace
29859 $(run-via-rtld-prefix) and $(test-wrapper) with
29860 $(test-program-prefix) and $(test-via-rtld-prefix).
29861 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29862 $(test-program-prefix).
29863 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29864 $(host-test-program-cmd).
29865 (tst-spawn-ARGS): Likewise.
29866 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29867 $(test-program-prefix).
29868 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29869 (test_via_rtld_prefix): This.
29870 (test_wrapper): Renamed to ...
29871 (test_program_prefix): This.
29872 (run_program_prefix): Replaced by test_program_prefix.
29873 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29874 (test_program_prefix): This.
29875 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29876 with $(host-test-program-cmd).
29877 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29878 $(run-program-prefix) with $(test-program-prefix).
29879 ($(objpfx)tst-printf.out): Likewise.
29880 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29881 $(test-program-cmd).
29882 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29883 (test_program_prefix): This.
29884 * stdio-common/tst-unbputc.sh: Likewise.
29885 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29886 $(run-program-prefix) with $(test-program-prefix).
29887 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29888 (test_program_prefix): This.
29889 * string/Makefile ($(objpfx)tst-svc.out): Replace
29890 $(built-program-cmd) with $(test-program-cmd).
29891
c6fe55cf
AJ
298922013-01-11 Andreas Jaeger <aj@suse.de>
29893
29894 [BZ #15003]
29895 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29896 value. Sync with Linux 3.7.
29897
9e6919c8
DM
298982013-01-10 David S. Miller <davem@davemloft.net>
29899
29900 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29901 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29902 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29903
1c9f1a02
RM
299042013-01-10 Roland McGrath <roland@hack.frob.com>
29905
29906 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29907 never set.
29908 * configure: Regenerated.
29909
b9de2dde
DM
299102013-01-10 David S. Miller <davem@davemloft.net>
29911
29912 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29913 sparc V9 rather than using V8 code.
29914 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29915 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29916
e7f68ef4
RM
299172013-01-10 Roland McGrath <roland@hack.frob.com>
29918
29919 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29920 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29921 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29922 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29923 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29924 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29925 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29926 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29927 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29928 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29929 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29930 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29931 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29932 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29933 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29934 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29935 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29936 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29937 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29938 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29939 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29940 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29941 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29942 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29943 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29944 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29945 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29946
5a47cc9c
DM
299472013-01-10 David S. Miller <davem@davemloft.net>
29948
29949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29950
4cf8f209
L
299512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29952
29953 * posix/Makefile (tests-static): New variable.
29954 (tests): Add $(tests-static).
29955 (tst-exec-static-ARGS): New variable.
29956 (tst-spawn-static-ARGS): Likewise.
29957 * posix/tst-exec-static.c: New file.
29958 * posix/tst-spawn-static.c: Likewise.
29959 * posix/tst-exec.c: Support run directly.
29960 * posix/tst-spawn.c: Likewise.
29961
fed0faa1
JM
299622013-01-10 Joseph Myers <joseph@codesourcery.com>
29963
828beb13
JM
29964 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29965 long.
29966 * math/bits/mathcalls.h (llrint): Likewise.
29967 (llround): Likewise.
29968 * stdlib/stdlib.h (struct drand48_data): Likewise.
29969 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29970 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29971 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29972 Likewise.
29973 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29974 Likewise.
29975 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29976 (elf_greg_t): Likewise.
29977 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29978 (__jmp_buf): Likewise.
29979 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29980 definitions.
29981 (llrint): Likewise, for all definitions.
29982 (llrintl): Likewise.
29983
fed0faa1
JM
29984 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29985 Remove [__GNUC__] condition.
29986 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29987 condition to just [__USE_ISOC99].
29988 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29989
1a20cb20
L
299902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29991
29992 [BZ #14200]
29993 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29994 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29995 defined.
29996 (_POSIX_V6_ILP32_OFF32): Likewise.
29997 (_XBS5_ILP32_OFF32): Likewise.
29998 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29999 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30000
751b85f7
SP
300012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30002
7490eb81
SP
30003 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30004
751b85f7
SP
30005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30006 doubles __mpexp_twomm1. Adjust usage.
30007 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30008 Remove.
30009
988197f0
AS
300102013-01-10 Andreas Schwab <schwab@suse.de>
30011
30012 [BZ #14964]
30013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30014 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30015
e83d7298
DM
300162013-01-09 David S. Miller <davem@davemloft.net>
30017
034ed64b 30018 [BZ #15003]
57f41c40
AS
30019 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30020 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30021 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30022 (TCP_FASTOPEN): Define.
e83d7298
DM
30023 (tcp_repair_opt): New structure.
30024 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30025 enum values.
57f41c40
AS
30026 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30027 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30028 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
30029 (tcp_cookie_transactions): New structure.
30030
d5e0b9bd
AB
300312013-01-09 Anton Blanchard <anton@samba.org>
30032
30033 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30034 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30035 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30036 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30037
0c07e3ea
JM
300382013-01-09 Joseph Myers <joseph@codesourcery.com>
30039
30040 * include/features.h (__USE_ANSI): Remove.
30041
232f7002
RM
300422013-01-09 Roland McGrath <roland@hack.frob.com>
30043
ad98e30c
RM
30044 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30045
232f7002
RM
30046 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30047
950c99ca
SP
300482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30049
b5792741
SP
30050 * sysdeps/s390/fpu/libm-test-ulps: Update.
30051
47cf2278
SP
30052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30053
950c99ca
SP
30054 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30055 (__acr): Likewise.
30056 (__cpy): Likewise.
30057 (norm): Likewise.
30058 (denorm): Likewise.
30059 (__mp_dbl): Likewise.
30060 (__dbl_mp): Likewise.
30061 (add_magnitudes): Likewise.
30062 (sub_magnitudes): Likewise.
30063 (__add): Likewise.
30064 (__sub): Likewise.
30065 (__mul): Likewise.
30066 (__inv): Likewise.
30067 (__dvd): Likewise.
30068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30069 (__acr): Likewise.
30070 (__cpy): Likewise.
30071 (norm): Likewise.
30072 (denorm): Likewise.
30073 (__mp_dbl): Likewise.
30074 (__dbl_mp): Likewise.
30075 (add_magnitudes): Likewise.
30076 (sub_magnitudes): Likewise.
30077 (__add): Likewise.
30078 (__sub): Likewise.
30079 (__mul): Likewise.
30080 (__inv): Likewise.
30081 (__dvd): Likewise.
30082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30083 (__acr): Likewise.
30084 (__cpy): Likewise.
30085 (norm): Likewise.
30086 (denorm): Likewise.
30087 (__mp_dbl): Likewise.
30088 (__dbl_mp): Likewise.
30089 (add_magnitudes): Likewise.
30090 (sub_magnitudes): Likewise.
30091 (__add): Likewise.
30092 (__sub): Likewise.
30093 (__mul): Likewise.
30094 (__inv): Likewise.
30095 (__dvd): Likewise.
30096
eede9df9
JM
300972013-01-08 Joseph Myers <joseph@codesourcery.com>
30098
30099 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30100 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30101 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30102 2 && __USE_EXTERN_INLINES]: Likewise.
30103
c40ea3d9
AJ
301042013-01-08 Andreas Jaeger <aj@suse.de>
30105
30106 [BZ# 14985]
30107 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30108 Remove.
30109 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30110 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30111
2ccdea26
AB
301122013-01-07 Anton Blanchard <anton@samba.org>
30113
30114 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30115 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30116 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30117 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30118 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30119 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30120 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30121 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30123 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30124 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30125 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30126 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30128 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30129 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30130 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30131 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30132 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30133 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30134 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30135 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30137 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30138 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30139 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30140 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30141 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30143 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30144 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30146 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30147 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30148 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30149 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30150 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30151 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30153 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30154 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30156 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30157
a9708fed
JM
301582013-01-07 Joseph Myers <joseph@codesourcery.com>
30159
375607b9
JM
30160 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30161 (__MALLOC_PMT): Likewise.
30162 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30163 [__GNUC__], only on [_LIBC].
30164 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30165 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30166 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30167 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30168 forward declaration.
30169 (realloc_hook_ini): Likewise.
30170 (memalign_hook_ini): Likewise.
30171 (__libc_memalign): Do not use __MALLOC_PMT in variable
30172 declaration.
30173 (__libc_valloc): Likewise.
30174 (__libc_pvalloc): Likewise.
30175 (__libc_calloc): Likewise.
30176 (__posix_memalign): Likewise.
30177
a9708fed
JM
30178 [BZ #14996]
30179 * math/s_casinh.c: Include <float.h>.
30180 (__casinh): Do not do computation with squaring and square root
30181 for large arguments.
30182 * math/s_casinhf.c: Include <float.h>.
30183 (__casinhf): Do not do computation with squaring and square root
30184 for large arguments.
30185 * math/s_casinhl.c: Include <float.h>.
30186 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30187 (__casinhl): Do not do computation with squaring and square root
30188 for large arguments.
30189 * math/libm-test.inc (casin_test): Add more tests.
30190 (casinh_test): Likewise.
30191 * sysdeps/i386/fpu/libm-test-ulps: Update.
30192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30193
afec409a
L
301942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30195
30196 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30197 (__x86_64_raw_data_cache_size): Likewise.
30198 (__x86_64_data_cache_size_half): Likewise.
30199 (__x86_64_raw_data_cache_size_half): Likewise.
30200 (__x86_64_shared_cache_size): Likewise.
30201 (__x86_64_raw_shared_cache_size): Likewise.
30202 (__x86_64_shared_cache_size_half): Likewise.
30203 (__x86_64_raw_shared_cache_size_half): Likewise.
30204 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30205 to ...
30206 (__x86_data_cache_size): This.
30207 (__x86_64_raw_data_cache_size): Renamed to ...
30208 (__x86_raw_data_cache_size): This.
30209 (__x86_64_data_cache_size_half): Renamed to ...
30210 (__x86_data_cache_size_half): This.
30211 (__x86_64_raw_data_cache_size_half): Renamed to ...
30212 (__x86_raw_data_cache_size_half): This.
30213 (__x86_64_shared_cache_size): Renamed to ...
30214 (__x86_shared_cache_size): This.
30215 (__x86_64_raw_shared_cache_size): Renamed to ...
30216 (__x86_raw_shared_cache_size): This.
30217 (__x86_64_shared_cache_size_half): Renamed to ...
30218 (__x86_shared_cache_size_half): This.
30219 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30220 (__x86_raw_shared_cache_size_half): This.
30221 * sysdeps/x86_64/memcpy.S: Updated.
30222 * sysdeps/x86_64/memset.S: Likewise.
30223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30224 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30225 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30226
0b3986d0
DM
302272013-01-04 David S. Miller <davem@davemloft.net>
30228
30229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30230
e47686e9
AS
302312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30232
d643bac1
AS
30233 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30234 1 to avoid redefinition warning.
30235 (__USE_GNU): Don't define.
30236 (init_signaling_nan): Protoize.
30237
e47686e9
AS
30238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30239
b18decba
SP
302402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30241
fffb407f
SP
30242 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30244 (__cpymn): Likewise.
30245 (norm): Remove commented code.
30246 (denorm): Likewise.
30247 (__mp_dbl): Likewise.
30248 (__inv): Likewise.
30249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30250 (__cpymn): Likewise.
30251 (norm): Remove commented code.
30252 (denorm): Likewise.
30253 (__mp_dbl): Likewise.
30254 (__inv): Likewise.
30255
b18decba
SP
30256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30257 mp_no value for 1.0 and 2.0.
30258 (norm): Use RADIXI instead of radixi.d.
30259 (denorm): Likewise.
30260 (__mul): Use 0.0 instead of zero.d.
30261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30262 mp_no value for 1.0 and 2.0.
30263 (norm): Use RADIXI instead of radixi.d.
30264 (denorm): Likewise.
30265 (__mul): Use 0.0 instead of zero.d.
30266
cdc1c96f
JM
302672013-01-04 Joseph Myers <joseph@codesourcery.com>
30268
30269 [BZ #14994]
30270 * math/s_casinh.c (__casinh): Reduce finite argument to first
30271 quadrant then set signs of results at the end.
30272 * math/s_casinhf.c (__casinhf): Likewise.
30273 * math/s_casinhl.c (__casinhl): Likewise.
30274 * math/libm-test.inc (casin_test): Add more tests.
30275 (casinh_test): Likewise.
30276 * sysdeps/i386/fpu/libm-test-ulps: Update.
30277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30278
302913e1
SP
302792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30280
6420d207
SP
30281 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30282
a9e48ab4
SP
30283 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30284
b7837264
SP
30285 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30286 declarations.
30287 (denorm): Likewise.
30288 (__mp_dbl): Likewise.
30289 (__inv): Likewise.
30290
f8af25d2
SP
30291 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30292 and adjust the header comment.
30293
302913e1
SP
30294 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30295 variable name from declaration.
30296
5d7dd1ca
L
302972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30298
30299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30300 Initialize COMMON_CPUID_INDEX_7 element.
30301 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30302 (CPUID_RTM): Likewise.
30303 (HAS_RTM): Likewise.
30304 (COMMON_CPUID_INDEX_7): New enum.
30305
2f5f40f4
AS
303062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30307
30308 [BZ #14981]
30309 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30310 size is zero, record memory as freed.
30311
4056f4a0
AJ
303122013-01-03 Andreas Jaeger <aj@suse.de>
30313
30314 * po/ia.po: Add new Interlingua translation.
30315
ab15736f 303162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30317
30318 * locale/programs/localedef.c: Fix description of '--posix' flag.
30319
568035b7
JM
303202013-01-02 Joseph Myers <joseph@codesourcery.com>
30321
e6898b8d
JM
30322 * NEWS: Update dates in second copyright notice.
30323 * README: Update copyright dates in example.
30324 * manual/libc.texinfo: Update copyright dates.
30325 * scripts/test-installation.pl: Update copyright date in --version
30326 output.
30327
0e2f9562
JM
30328 * hurd/ctty-input.c: Fix copyright notice formatting.
30329 * hurd/ctty-output.c: Likewise.
30330 * hurd/dtable.c: Likewise.
30331 * hurd/hurd-raise.c: Likewise.
30332 * hurd/hurdprio.c: Likewise.
30333 * hurd/msgportdemux.c: Likewise.
30334 * misc/sys/file.h: Likewise.
30335 * misc/sys/ioctl.h: Likewise.
30336 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30337 * sysdeps/mach/hurd/chdir.c: Likewise.
30338 * sysdeps/mach/hurd/fchdir.c: Likewise.
30339 * sysdeps/mach/hurd/rename.c: Likewise.
30340 * sysdeps/mach/hurd/rmdir.c: Likewise.
30341 * sysdeps/mach/hurd/seekdir.c: Likewise.
30342 * sysdeps/mach/hurd/setsid.c: Likewise.
30343 * sysdeps/posix/wait3.c: Likewise.
30344
568035b7
JM
30345 * All files with FSF copyright notices: Update copyright dates
30346 using scripts/update-copyrights.
30347 * intl/plural.c: Regenerated.
30348 * locale/programs/charmap-kw.h: Likewise.
30349 * locale/programs/locfile-kw.h: Likewise.
30350
da08f647
SP
303512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30352
0f5477af
SP
30353 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30354 four values.
30355
44e0d4c2
SP
30356 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30357 calculation loop and add branch prediction.
30358
4d55b4e5
SP
30359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30360 check access beyond bounds of m1np.
30361
da08f647
SP
30362 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30363 MPTWO.
30364 (__inv): Remove local variable MPTWO to use the global
30365 constant.
30366 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30368 variable MPTWO.
30369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30370 MP3HALFS static const.
30371
8e051029
DM
303722013-01-01 David S. Miller <davem@davemloft.net>
30373
30374 * po/ca.po: Update from translation team.
30375
f4cf5f2d
JM
303762013-01-01 Joseph Myers <joseph@codesourcery.com>
30377
30378 * scripts/update-copyrights: New file.
30379 * Makeconfig: Reformat copyright notice.
30380 * ctype/ctype.h: Likewise.
30381 * debug/swprintf_chk.c: Likewise.
30382 * elf/dl-cache.c: Likewise.
30383 * elf/dl-debug.c: Likewise.
30384 * elf/dl-object.c: Likewise.
30385 * grp/initgroups.c: Likewise.
30386 * hurd/Makefile: Likewise.
30387 * hurd/hurd/signal.h: Likewise.
30388 * hurd/hurdfault.c: Likewise.
30389 * hurd/hurdioctl.c: Likewise.
30390 * hurd/hurdlookup.c: Likewise.
30391 * hurd/intr-msg.c: Likewise.
30392 * iconv/gconv_open.c: Likewise.
30393 * libio/swprintf.c: Likewise.
30394 * locale/lc-ctype.c: Likewise.
30395 * locale/nl_langinfo.c: Likewise.
30396 * mach/Machrules: Likewise.
30397 * mach/Makefile: Likewise.
30398 * malloc/obstack.h: Likewise.
30399 * manual/Makefile: Likewise.
30400 * manual/tsort.awk: Likewise.
30401 * misc/bits/stab.def: Likewise.
30402 * nis/nis_print_group_entry.c: Likewise.
30403 * nis/nis_table.c: Likewise.
30404 * nis/nss_compat/compat-pwd.c: Likewise.
30405 * nis/nss_compat/compat-spwd.c: Likewise.
30406 * po/Makefile: Likewise.
30407 * posix/fnmatch.c: Likewise.
30408 * posix/regex.h: Likewise.
30409 * resolv/Makefile: Likewise.
30410 * resolv/nss_dns/dns-network.c: Likewise.
30411 * resolv/res_hconf.c: Likewise.
30412 * scripts/gen-sorted.awk: Likewise.
30413 * soft-fp/soft-fp.h: Likewise.
30414 * stdio-common/printf.h: Likewise.
30415 * stdlib/monetary.h: Likewise.
30416 * stdlib/random.c: Likewise.
30417 * stdlib/random_r.c: Likewise.
30418 * sysdeps/generic/Makefile: Likewise.
30419 * sysdeps/gnu/Makefile: Likewise.
30420 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30424 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30425 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30430 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30431 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30432 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30433 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30434 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30435 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30436 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30438 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30440 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30441 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30442 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30443 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30444 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30446 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30447 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30448 * sysdeps/mach/hurd/errnos.awk: Likewise.
30449 * sysdeps/mach/hurd/fork.c: Likewise.
30450 * sysdeps/mach/hurd/getcwd.c: Likewise.
30451 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30452 * sysdeps/mach/hurd/mmap.c: Likewise.
30453 * sysdeps/mach/hurd/utimes.c: Likewise.
30454 * sysdeps/mach/hurd/xmknod.c: Likewise.
30455 * sysdeps/posix/profil.c: Likewise.
30456 * sysdeps/posix/readdir_r.c: Likewise.
30457 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30458 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30459 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30460 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30462 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30463 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30464 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30466 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30467 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30468 * sysdeps/pthread/lio_listio.c: Likewise.
30469 * sysdeps/sparc/dl-procinfo.h: Likewise.
30470 * sysdeps/unix/i386/sysdep.S: Likewise.
30471 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30472 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30473 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30474 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30476 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30477 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30478 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30479 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30480 * sysdeps/wordsize-32/divdi3.c: Likewise.
30481 * time/sys/time.h: Likewise.
30482 * wcsmbs/Makefile: Likewise.
30483
0549fbba
DM
304842013-01-01 David S. Miller <davem@davemloft.net>
30485
a141f1a7
DM
30486 * po/fr.po: Update from translation team.
30487
0549fbba
DM
30488 * catgets/gencat.c: Update copyright year.
30489 * csu/version.c: Likewise.
30490 * debug/catchsegv.sh: Likewise.
30491 * debug/pcprofiledump.c: Likewise.
30492 * debug/xtrace.sh: Likewise.
30493 * elf/ldconfig.c: Likewise.
30494 * elf/ldd.bash.in: Likewise.
30495 * elf/pldd.c: Likewise.
30496 * elf/sotruss.ksh: Likewise.
30497 * elf/sprof.c: Likewise.
30498 * iconv/iconv_prog.c: Likewise.
30499 * iconv/iconvconfig.c: Likewise.
30500 * locale/programs/locale.c: Likewise.
30501 * locale/programs/localedef.c: Likewise.
30502 * login/programs/pt_chown.c: Likewise.
30503 * malloc/memusage.sh: Likewise.
30504 * malloc/memusagestat.c: Likewise.
30505 * malloc/mtrace.pl: Likewise.
30506 * nscd/nscd.c: Likewise.
30507 * nss/getent.c: Likewise.
30508 * nss/makedb.c: Likewise.
30509 * posix/getconf.c: Likewise.
30510
18ea052c
SP
305112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30512
30513 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30514 numbers.
30515
9c89fca6
MF
305162012-12-30 Mike Frysinger <vapier@gentoo.org>
30517
30518 * math/bits/mathcalls.h (modf): Use __nonnull.
30519
085ec079
SP
305202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30521
30522 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30523 (split): Use macro CN instead of the bare value.
30524 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30525 could be used.
30526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30527 instead of the bare value.
30528 (power1): Likewise.
30529
6d9f97e1
SP
305302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30531
d63f73be
SP
30532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30533 __ATAN_TWOM.
30534 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30535
6d9f97e1
SP
30536 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30537 their values.
30538 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30539 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30540 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30541 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30542
4c4febf5
AJ
305432012-12-28 Andreas Jaeger <aj@suse.de>
30544
af5843ef
AJ
30545 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30546 values are from Linux 3.7.
30547
4c4febf5
AJ
30548 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30549 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30550
99136f82
SP
305512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30552
2f216c3c 30553 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30554 TRUE case.
30555
99136f82
SP
30556 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30557 (norm): Likewise.
30558 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30559 variables with preprocessor constants.
30560 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30561 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30562 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30563
7fffbdff
BH
305642012-12-27 Bruno Haible <bruno@clisp.org>
30565
30566 [BZ #14317]
30567 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30568 only if needed.
30569
b76eb5f0
SP
305702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30571
31a7fe5c
SP
30572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30573 and use variable directly.
30574 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30575
b76eb5f0
SP
30576 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30577 MPONE.
30578 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30580 variable MPONE.
30581 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30583 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30584 include directive. Remove local variable MPONE.
30585 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30586 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30587 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30588
2c8bfe7d
DM
305892012-12-25 David S. Miller <davem@davemloft.net>
30590
30591 * version.h (RELEASE): Set to "development".
30592 (VERSION): Set to "2.17.90".
30593 * NEWS: Add 2.18 section.
30594
147d03b0
DM
305952012-12-21 David S. Miller <davem@davemloft.net>
30596
30597 * po/hr.po: Update from translation team.
30598
a8ebb2b9
AK
305992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30600
30601 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30602
95b4f1b6
SE
306032012-12-19 Steve Ellcey <sellcey@mips.com>
30604
b2d94007 30605 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30606
cedb2a90
MS
306072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30608
30609 * manual/contrib.texi (Contributors): Spelling correction.
30610
bbf527d6
DM
306112012-12-15 David S. Miller <davem@davemloft.net>
30612
30613 * po/ru.po: Update from translation team.
30614
bc38c906
DM
306152012-12-13 David S. Miller <davem@davemloft.net>
30616
85429b1a
DM
30617 * NEWS: Mention IFUNC testsuite enhancements.
30618
d283e353
DM
30619 * po/pl.po: Update from translation team.
30620 * po/bg.po: Likewise.
30621
bc38c906
DM
30622 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30623 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30624
a181b0d7
DM
306252012-12-11 David S. Miller <davem@davemloft.net>
30626
4641d57e
DM
30627 * po/sv.po: Update from translation team.
30628
f7bc6495
DM
30629 * po/vi.po: Update from translation team.
30630
6fc9048f
DM
30631 * po/cs.po: Update from translation team.
30632
a181b0d7
DM
30633 * po/de.po: Update from translation team.
30634 * po/eo.po: Likewise.
30635 * po/nl.po: Likewise.
30636
f70bfe80
SP
306372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30638
3c8b4190
SP
30639 [BZ #14246]
30640 * manual/argp.texi (Argp Helper Functions): Move node to follow
30641 Argp Parsing State.
30642
f70bfe80
SP
30643 [BZ #14872]
30644 * manual/conf.texi (Limits on File System Capacity): Mention if
30645 terminating null is included in the max size.
30646
188f0adf
AJ
306472012-12-10 Andreas Jaeger <aj@suse.de>
30648
30649 * po/cs.po: Update from translation team.
30650
56e7d3ad
SP
306512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30652
30653 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30654 void pointer and cast to uintptr_t.
30655 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30656 path.
30657 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30658 * sysdeps/s390/s390-64/memset.S: Likewise.
30659
76f2d2ea 306602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30661
30662 [BZ #14833]
30663 * menual/message.texi (Message Translation): Fix typos.
30664 (Helper programs for gettext): Likewise.
30665
67cbf9a2
AS
306662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30667
30668 [BZ #14898]
30669 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30670 Change to -1.
30671
682d0e9a
DM
306722012-12-07 David S. Miller <davem@davemloft.net>
30673
30674 * po/libc.pot: Update.
30675
573cd484
RH
306762012-12-07 Richard Henderson <rth@redhat.com>
30677
7e9da188 30678 [BZ #10114]
573cd484
RH
30679 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30680 normal/normal case to before the switch.
30681 (_FP_DIV): Likewise.
30682
e933a943
MF
306832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30684 Mike Frysinger <vapier@gentoo.org>
30685
30686 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30687 check for __NR_fadvise64_64.
30688
82123268
CM
306892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30690
30691 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30692 0, not just to plain "0" as a statement.
30693 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30694 with cw.
30695
d9814526
JM
306962012-12-06 Joseph Myers <joseph@codesourcery.com>
30697
30698 * NEWS: Use sourceware.org in Bugzilla URL.
30699
7728c574
SP
307002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30701
f16946dd
SP
30702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30703 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30704
5704bbcb
SP
30705 * stdio-common/tst-put-error.c (do_test): Add newline to the
30706 padded test to ensure flush.
30707
17aa0516
JL
307082012-12-05 Jeff Law <law@redhat.com>
30709
30710 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30711
363313b5
JM
307122012-12-05 Joseph Myers <joseph@codesourcery.com>
30713
effbd42a
JM
30714 * README: Don't refer to ports add-on as distributed separately.
30715 Mention AArch64 in list of systems supported in the ports add-on.
30716
87600365
JM
30717 * LICENSES: Add more non-FSF copyright and license notices.
30718
a0d7066a
JM
30719 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30720 ((unused)).
30721
66ca5a5b
JM
30722 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30723
363313b5
JM
30724 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30725 10000 as width of padded output.
30726
b37984ad
JM
307272012-12-04 Joseph Myers <joseph@codesourcery.com>
30728
9003570a
JM
30729 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30730
b37984ad
JM
30731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30732 variable LX with __attribute__ ((unused)).
30733 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30734 Likewise.
30735 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30737 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30738 with __attribute__ ((unused)).
30739
c8df52ec
DM
307402012-12-04 David S. Miller <davem@abraco.davemloft.net>
30741
30742 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30743
b3b099af
JM
307442012-12-04 Joseph Myers <joseph@codesourcery.com>
30745
c33aa6e3
JM
30746 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30747 (CFLAGS-nldbl-acos.c): New variable.
30748 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30749 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30750 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30751 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30752 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30753 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30754 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30755 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30756 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30757 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30758 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30759 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30760 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30761 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30762 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30763 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30764 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30765 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30766 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30767 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30768 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30769 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30770 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30771 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30772 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30773 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30774 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30775 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30776 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30777 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30778 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30779 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30780 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30781 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30782 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30783 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30784 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30785 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30786 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30787 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30788 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30789 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30790 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30791 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30792 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30793 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30794 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30795 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30796 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30797 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30798 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30799 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30800 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30801 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30802 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30803 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30804 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30805 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30806 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30807 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30808 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30809 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30810 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30811 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30812 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30813 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30814 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30815 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30816 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30817 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30818 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30819 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30820 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30821 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30822 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30823 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30824 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30825 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30826 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30827 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30828 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30829 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30830 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30831 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30832 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30833 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30834 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30835 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30836 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30837 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30838 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30839 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30840 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30841 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30842 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30843 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30844 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30845
20f0018d
JM
30846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30847 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30848
b3b099af
JM
30849 [BZ #14914]
30850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30851 whole low double instead of just low 47 bits when splitting values
30852 into two parts.
30853
029264d1
AM
308542012-12-03 Allan McRae <allan@archlinux.org>
30855
30856 * manual/stdio.texi (Predefined Printf Handlers): Remove
30857 @hsep and @vsep usage.
30858
c9d6789e
MF
308592012-12-03 Mike Frysinger <vapier@gentoo.org>
30860
30861 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30862 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30863
4b7634a5
JL
308642012-12-03 Jeff Law <law@redhat.com>
30865
30866 * time/sys/time.h (settimeofday): Do not mark TV argument
30867 as __nonnull.
30868
eb6cbd24
MF
308692012-12-01 Mike Frysinger <vapier@gentoo.org>
30870
30871 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30872 when currently writing and seek to current position when not.
30873 * libio/Makefile (tests): Remove bug-fclose1.
30874 * libio/bug-fclose1.c: Delete.
30875
f638872a
JM
308762012-12-01 Joseph Myers <joseph@codesourcery.com>
30877
30878 * manual/arith.texi (feenableexcept): Fix typo.
30879 (fedisableexcept): Likewise.
30880
48085d14
RM
308812012-11-30 Roland McGrath <roland@hack.frob.com>
30882
30883 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30884 second, differently-typed declaration, rather than a cast.
30885
1a538b9f
SP
308862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30887
30888 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30889 * include/rpc/svc.h: ... here.
30890
d07f2ff1 308912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30892
30893 [BZ #13013]
30894 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30895 depending n and resplen2 to catch cases where answer
30896 equals answerp2.
30897
c93ec1f0
CD
308982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30899
30900 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30901 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30902
37db69de
MF
309032012-11-29 Mike Frysinger <vapier@gentoo.org>
30904
30905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30906
e10c4e4f
RM
309072012-11-29 Roland McGrath <roland@hack.frob.com>
30908
30909 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30910
2af1b328
JL
309112012-11-28 Jeff Law <law@redhat.com>
30912
30913 [BZ #13761]
30914 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30915 dataset_temporary. Track alloca usage into alloca_used.
30916 If dataset is large allocate and release it via malloc/free.
30917
111db5b1
FW
309182012-06-04 Florian Weimer <fweimer@redhat.com>
30919
f06cc227 30920 [BZ #14197]
111db5b1
FW
30921 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30922
dd694abd
DM
309232012-11-28 David S. Miller <davem@davemloft.net>
30924
30925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30926
9984dd01
JM
309272012-11-28 Joseph Myers <joseph@codesourcery.com>
30928
30929 [BZ #14803]
30930 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30931 of pi/2 rounded to nearest to 64 bits.
30932 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30933 nearest to 64 bits.
30934 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30935 bits.
30936
14bc93a9
JL
309372012-11-28 Jeff Law <law@redhat.com>
30938 Martin Osvald <mosvald@redhat.com>
30939
30940 [BZ #14889]
30941 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30942 * sunrpc/svc.c: Include time.h.
30943 (__svc_accept_failed): New function.
30944 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30945 any reason other than EINTR, call __svc_accept_failed.
30946 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30947 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30948
e3c6aa3a
AS
309492012-11-28 Andreas Schwab <schwab@suse.de>
30950
30951 * scripts/abilist.awk: Also handle indirect functions in .opd
30952 section.
30953
1bead169
JM
309542012-11-28 Joseph Myers <joseph@codesourcery.com>
30955
30956 [BZ #13881]
30957 * sysdeps/x86/fpu/powl_helper.c: New file.
30958 * sysdeps/x86/fpu/Makefile: Likewise.
30959 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30960 (p3): New object.
30961 (__ieee754_powl): Use __powl_helper for finite arguments except
30962 integer exponents below 8.
30963 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30964 (p3): New object.
30965 (__ieee754_powl): Use __powl_helper for finite arguments except
30966 integer exponents below 8.
30967 * math/libm-test.inc (pow_test): Add more tests and enable some
30968 previously disabled tests.
30969 * sysdeps/i386/fpu/libm-test-ulps: Update.
30970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30971
0817d63d
SP
309722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30973 Carlos O'Donell <carlos_odonell@mentor.com>
30974
30975 * nss/makedb.c (is_prime): Assert that input is odd and greater
30976 than 4. Note that fact in a comment too.
30977 (next_prime): Add 4 to input.
30978
de2fd463
SP
309792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30980
30981 [BZ #11741]
30982 * libio/Makefile (tests): Add test case tst-fwrite-error.
30983 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30984 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30985 * libio/tst-fwrite-error.c: New test case.
30986
c515fb51
L
309872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30988
30989 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30990 before casting to void *.
30991 * include/libc-internal.h (__pointer_type): New macro.
30992 (__integer_if_pointer_type_sub): Likewise.
30993 (__integer_if_pointer_type): Likewise.
30994 (cast_to_integer): Likewise.
30995 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30996 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30997 before casting to atomic64_t.
30998 (atomic_exchange_acq): Likewise.
30999 (__arch_exchange_and_add_body): Likewise.
31000 (__arch_add_body): Likewise.
31001 (atomic_add_negative): Likewise.
31002 (atomic_add_zero): Likewise.
31003
4cf77aa9
JM
310042012-11-26 Joseph Myers <joseph@codesourcery.com>
31005
31006 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31007 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31008 (add_fdes): Likewise.
31009 (linear_search_fdes): Likewise.
31010 (binary_search_unencoded_fdes): Likewise.
31011
d260b3b4
AS
310122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31013
31014 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31015
67060746
AC
310162012-11-24 Adam Conrad <adconrad@0c3.net>
31017
31018 * configure.in: Autodetect C++ header directories.
31019 * configure: Regenerated.
31020
800938a1
MF
310212012-11-23 Mike Frysinger <vapier@gentoo.org>
31022
31023 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31024
4e6e34e6
AS
310252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31026
31027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31028
7c7feb47
JM
310292012-11-22 Joseph Myers <joseph@codesourcery.com>
31030
7184dcdf
JM
31031 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31032 LDBL_MANT_DIG == 106]: Disable some tests.
31033 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31034 Likewise.
31035 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31036 Likewise.
31037
0a42601f
JM
31038 [BZ #14871]
31039 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31040 input for small inputs. Return +/- pi/2 for large inputs.
31041 * math/libm-test.inc (atan_test): Add more tests.
31042
79c9b9fe
JM
31043 * sysdeps/generic/unwind-dw2-fde-glibc.c
31044 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31045 __attribute__ ((unused)).
31046
c60d3bf2
JM
31047 [BZ #14645]
31048 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31049 x * y if x and y are nonzero and z is zero.
31050
ef1e0867
JM
31051 [BZ #14811]
31052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31053 nonzero exponents with absolute value below 0x1p-117 to +/-
31054 0x1p-117.
31055
1468ded3
JM
31056 [BZ #14869]
31057 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31058 up arguments below 2**-450, not just those below 2**-500.
31059 * math/libm-test.inc (hypot_test): Add another test.
31060
8e27e3cc
JM
31061 [BZ #14868]
31062 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31063 Return a+b for ratio over 2**120, not 2**60.
31064 * math/libm-test.inc (hypot_test): Add another test.
31065
c9c0279b
JM
31066 * math/libm-test.inc (clog_test): Use
31067 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31068 (clog10_test): Likewise.
31069
7c7feb47
JM
31070 [BZ #6778]
31071 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31072
fff1530e
AS
310732012-11-22 Andreas Schwab <schwab@suse.de>
31074
31075 * sysdeps/i386/fpu/libm-test-ulps: Update.
31076
94558d30
PT
310772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31078
31079 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31080 printf output with newline.
31081
7e1be741
L
310822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31083
6bfea974
L
31084 [BZ #14865]
31085 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31086 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31087 -z nodlopen, -z initfirst and -z execstack support.
31088 * configure: Regenerated.
31089
7e1be741
L
31090 * elf/elf.h (DF_1_NODIRECT): New macro.
31091 (DF_1_IGNMULDEF): Likewise.
31092 (DF_1_NOKSYMS): Likewise.
31093 (DF_1_NOHDR): Likewise.
31094 (DF_1_EDITED): Likewise.
31095 (DF_1_NORELOC): Likewise.
31096 (DF_1_SYMINTPOSE): Likewise.
31097 (DF_1_GLOBAUDIT): Likewise.
31098 (DF_1_SINGLETON): Likewise.
31099 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31100 DT_1_SUPPORTED_MASK bits.
31101 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31102
105ce2ce
CD
311032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31104
31105 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31106
123be9de
TS
311072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31108
d072f3f7
TS
31109 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31110 macro.
31111
123be9de
TS
31112 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31113 (sendmmsg): Move declarations...
31114 * socket/sys/socket.h: ... here.
31115 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31116 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31117 include it from...
31118 * socket/recvmmsg.c: ... this new file.
31119 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31120 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31121 definition of __sendmmsg hidden.
31122 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31123 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31124 Move ENOSYS stub into and include it from...
31125 * socket/sendmmsg.c: ... this new file.
31126 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31127 (sysdep_routines): Move recvmmsg and sendmmsg...
31128 * socket/Makefile (routines): ... here.
31129 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31130 (GLIBC_PRIVATE): Add __sendmmsg.
31131 * include/sys/socket.h (__sendmmsg): Add declarations.
31132 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31133 sendmmsg.
31134
cf9a5d18
JM
311352012-11-20 Joseph Myers <joseph@codesourcery.com>
31136
31137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31138 variable I1 with __attribute__ ((unused)).
31139 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31140
ecd4caf9
JM
311412012-11-19 Joseph Myers <joseph@codesourcery.com>
31142
be14d48f
JM
31143 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31144 DUMMY variables with __attribute__ ((unused)).
31145
ecd4caf9
JM
31146 * bits/byteswap.h: Include <bits/types.h>.
31147 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31148
986cab95
PT
311492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31150
31151 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31152 string_t. Do not manually set errno.
31153 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31154 length with __strnlen. Make sure to both set errno and return it on
31155 failure.
31156
6d33cc9d
DM
311572012-11-19 David S. Miller <davem@davemloft.net>
31158
31159 With help from Joseph Myers.
31160 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31161 very large arguments properly.
31162 * math/libm-test.inc (atan_test): New tests.
31163 (atan2_test): New tests.
31164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31166
ee663277
JM
311672012-11-19 Joseph Myers <joseph@codesourcery.com>
31168
877f2d8e
JM
31169 [BZ #14856]
31170 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31171 Define to 3.
31172
116fc08a
JM
31173 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31174 [POSIX] (EADDRNOTAVAIL): Likewise.
31175 [POSIX] (EAFNOSUPPORT): Likewise.
31176 [POSIX] (EALREADY): Likewise.
31177 [POSIX] (ECONNABORTED): Likewise.
31178 [POSIX] (ECONNREFUSED): Likewise.
31179 [POSIX] (ECONNRESET): Likewise.
31180 [POSIX] (EDESTADDRREQ): Likewise.
31181 [POSIX] (EDQUOT): Likewise.
31182 [POSIX] (EHOSTUNREACH): Likewise.
31183 [POSIX] (EIDRM): Likewise.
31184 [POSIX] (EISCONN): Likewise.
31185 [POSIX] (ELOOP): Likewise.
31186 [POSIX] (EMULTIHOP): Likewise.
31187 [POSIX] (ENETDOWN): Likewise.
31188 [POSIX] (ENETUNREACH): Likewise.
31189 [POSIX] (ENOBUFS): Likewise.
31190 [POSIX] (ENODATA): Likewise.
31191 [POSIX] (ENOLINK): Likewise.
31192 [POSIX] (ENOMSG): Likewise.
31193 [POSIX] (ENOPROTOOPT): Likewise.
31194 [POSIX] (ENOSR): Likewise.
31195 [POSIX] (ENOSTR): Likewise.
31196 [POSIX] (ENOTCONN): Likewise.
31197 [POSIX] (ENOTSOCK): Likewise.
31198 [POSIX] (EOPNOTSUPP): Likewise.
31199 [POSIX] (EOVERFLOW): Likewise.
31200 [POSIX] (EPROTO): Likewise.
31201 [POSIX] (EPROTONOSUPPORT): Likewise.
31202 [POSIX] (EPROTOTYPE): Likewise.
31203 [POSIX] (ESTALE): Likewise.
31204 [POSIX] (ETIME): Likewise.
31205 [POSIX] (ETXTBSY): Likewise.
31206 [POSIX] (EWOULDBLOCK): Likewise.
31207 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31208 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31209 [POSIX] (SEEK_CUR): Likewise.
31210 [POSIX] (SEEK_END): Likewise.
31211 [POSIX || UNIX98] (mode_t): Do not require.
31212 [POSIX] (off_t): Likewise.
31213 [POSIX] (pid_t): Likewise.
31214 [POSIX] (sys/stat.h): Do not allow header.
31215 [POSIX] (unistd.h): Likewise.
31216 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31217 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31218 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31219 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31220 require.
31221 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31222 sigevent): Specify elements.
31223 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31224 entry.
31225 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31226 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31227
a483863f
JM
31228 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31229 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31230 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31231 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31232 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31233 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31234 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31235 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31236 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31237 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31238 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31239 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31240 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31241 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31242 Likewise.
31243 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31244 Likewise.
31245 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31246 Likewise.
31247 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31248 Likewise.
31249 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31250 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31251 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31252 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31253 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31254 Specify lower bound on value.
31255 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31256 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31257 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31258 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31259 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31260 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31261 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31262 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31263 value.
31264 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31265 as optional.
31266 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31267 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31268 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31269 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31270 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31271 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31272 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31273 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31274 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31275 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31276 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31277 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31278 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31279 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31280 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31281 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31282 entry.
31283 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31284 optional.
31285 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31286 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31287 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31288 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31289 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31290 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31291 Likewise.
31292 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31293 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31294 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31295 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31296 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31297 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31298 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31299 as optional.
31300 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31301 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31302 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31303 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31304 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31305 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31306 specify as optional.
31307 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31308 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31309 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31310 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31311 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31312 [XPG3] (NL_LANGMAX): Likewise.
31313 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31314 [POSIX || XPG3] (NL_NMAX): Likewise.
31315 [POSIX || XPG3] (NL_SETMAX): Likewise.
31316 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31317 [XPG3] (NZERO): Likewise.
31318 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31319 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31320 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31321 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31322 (REG_ERANGE): Expect.
31323 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31324 optional-constant.
31325 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31326 Use (void) in prototype.
31327 [POSIX] (*_t): Allow.
31328 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31329 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31330 (WRDE_BADVAL): Expect.
31331
5ba924e3
JM
31332 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31333 expect.
31334 [XPG3 || XPG4] (O_RSYNC): Likewise.
31335 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31336 Likewise.
31337 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31338 [XPG3 || XPG4] (sigqueue): Likewise.
31339 [XPG3 || XPG4] (sigtimedwait): Likewise.
31340 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31341 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31342 [XPG3 || XPG4] (vsnprintf): Likewise.
31343 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31344 Likewise.
31345 [XPG3 || XPG4] (blksize_t): Likewise.
31346 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31347 Likewise.
31348 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31349 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31350 [XPG3 || XPG4] (struct itimerspec): Likewise.
31351 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31352 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31353 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31354 [XPG3 || XPG4] (clockid_t): Likewise.
31355 [XPG3 || XPG4] (timer_t): Likewise.
31356 [XPG3 || XPG4] (clock_getres): Likewise.
31357 [XPG3 || XPG4] (clock_gettime): Likewise.
31358 [XPG3 || XPG4] (clock_settime): Likewise.
31359 [XPG3 || XPG4] (nanosleep): Likewise.
31360 [XPG3 || XPG4] (timer_create): Likewise.
31361 [XPG3 || XPG4] (timer_delete): Likewise.
31362 [XPG3 || XPG4] (timer_gettime): Likewise.
31363 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31364 [XPG3 || XPG4] (timer_settime): Likewise.
31365 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31366 [XPG3 || XPG4] (getlogin_r): Likewise.
31367 [XPG3 || XPG4] (pread): Likewise.
31368 [XPG3 || XPG4] (pthread_atfork): Likewise.
31369 [XPG3 || XPG4] (pwrite): Likewise.
31370
ee663277
JM
31371 [BZ #14835]
31372 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31373 <bits/siginfo.h>.
31374
942caa16
PT
313752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31376
e19af380
PT
31377 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31378 finalizing MALLSTREAM.
31379
942caa16
PT
31380 * sysdeps/mach/hurd/syncfs.c: New file.
31381
cfde9b46
SP
313822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31383
31384 [BZ #14719]
31385 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31386 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31387 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31388 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31389 (_nss_dns_gethostbyname4_r): Likewise.
31390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31391 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31392
f6da27e5
PH
313932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31394
31395 [BZ #13763]
31396 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31397
6665d4a2
SM
313982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31399
1f51ee92
SM
31400 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31401 * elf/cache.c (print_entry): Print ",AArch64" for
31402 FLAG_AARCH64_LIB64
31403
6665d4a2
SM
31404 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31405 * elf/cache.c (print_entry): Print ",hard-float" for
31406 FLAG_ARM_LIBHF.
31407
05b227bd
DM
314082012-11-18 David S. Miller <davem@davemloft.net>
31409
31410 With help from Joseph Myers.
31411 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31412 cutoff to 2**-13.
31413 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31414 cutoff to 2**-25.
31415 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31416 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31417 small.
31418 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31419 * math/libm-test.inc (y0_test): New tests.
31420 (y1_test): New tests.
31421 * sysdeps/i386/fpu/libm-test-ulps: Update.
31422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31424
786b0b67
AS
314252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31426
31427 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31428 64-bit targets.
31429 * configure: Regenerated.
31430
8e18b86d
DM
314312012-11-17 David S. Miller <davem@davemloft.net>
31432
31433 [BZ #14811]
31434 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31435 nonzero exponents with absolute value below 0x1p-128 to +/-
31436 0x1p-128.
31437
531f1ae0
JM
314382012-11-17 Joseph Myers <joseph@codesourcery.com>
31439
12df29e2
JM
31440 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31441
150dc1a0
JM
31442 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31443
531f1ae0
JM
31444 * posix/getconf-speclist.c: New file.
31445 * posix/posix-envs.def: Likewise.
31446 * posix/confstr.c (START_ENV_GROUP): New macro.
31447 (END_ENV_GROUP): Likewise.
31448 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31449 (KNOWN_PRESENT_ENV_STRING): Likewise.
31450 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31451 (UNKNOWN_ENVIRONMENT): Likewise.
31452 (confstr): Include posix-envs.def instead of handling
31453 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31454 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31455 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31456 (END_ENV_GROUP): Likewise.
31457 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31458 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31459 (UNKNOWN_ENVIRONMENT): Likewise.
31460 (__sysconf): Include posix-envs.def instead of handling associated
31461 cases directly here.
31462 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31463 preprocessing getconf-speclist.c rather than running getconf or
31464 generating empty file.
31465
a93f9cbc
PT
314662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31467
31468 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31469
d64d9f87
AL
314702012-11-16 Andrej Lajovic <natrij@gmail.com>
31471
31472 [BZ #14672]
31473 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31474
447885eb
DM
314752012-11-16 David S. Miller <davem@davemloft.net>
31476
31477 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31478 smaller than LDBL_EPSILON/2.0L, just return xm1.
31479
bcbf9830
L
314802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31481
31482 * elf/tst-array1.c (init): Set constructor priority to 1000.
31483 (fini): Set destructor priority to 1000.
31484 * elf/tst-array2dep.c: Likewise.
31485
2b766585
SP
314862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31487
31488 [BZ #11741]
31489 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31490 (_IO_new_file_xsputn): Also return EOF if none of the input
31491 data was written when overflow failed.
31492 * libio/iopadn.c (_IO_padn): Likewise.
31493 * libio/iowpadn.c (_IO_wpadn): Likewise.
31494 * stdio-common/tst-put-error.c: Add copyright notice.
31495 (do_test): Add case for printing padded string.
31496 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31497 _IO_padn returned error.
31498 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31499 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31500 return EOF.
31501
b1848fde
SP
315022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31503
31504 * libio/libioP.h: Add comment note that the references to C++
31505 bits are now obsolete.
31506
2fd89785
MS
315072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31508
31509 * math/libm-test.inc (check_complex): Use asprintf.
31510
e3ea5409
JM
315112012-11-14 Joseph Myers <joseph@codesourcery.com>
31512
31513 * debug/pcprofiledump.c (print_version): Update copyright year.
31514 * malloc/memusagestat.c (print_version): Likewise.
31515
2e64d265
L
315162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31517
31518 [BZ #14831]
31519 * elf/Makefile (tests): Add tst-audit8.
31520 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31521 ($(objpfx)tst-audit8.out): New target.
31522 (tst-audit8-ENV): New variable.
31523 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31524 audit if l_reloc_result is NULL.
31525 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31526 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31527 * elf/tst-audit8.c: New file.
31528
c485e4d2
MS
315292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31530
31531 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31532 * misc/Makefile (CFLAGS-select.c): Define.
31533 * posix/Makefile (CFLAGS-pause.c): Define.
31534
3a0d900a
DM
315352012-11-13 David S. Miller <davem@davemloft.net>
31536
31537 * crypt/Makefile: Move test targets after toplevel Rules
31538 inclusion. Grab any necessary sysdep routines when linking.
31539 * crypt/md5.c (md5_process_block): Remove define, we will always
31540 name it __md5_process_block.
31541 (md5_finish_ctx): Update md5_process_block call.
31542 (md5_stream): Likewise.
31543 (md5_process_bytes): Likewise.
31544 (md5_process_block): Rename to __md5_process_block and move to ...
31545 * crypt/md5-block.c: ... here.
31546 * crypt/sha256.c (sha256_process_block): Move to ...
31547 * crypt/sha256-block.c: ... here.
31548 * crypt/sha512.c (sha512_process_block): Move to ...
31549 * crypt/sha512-block.c: ... here.
31550 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31551 path.
31552 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31553 * sysdeps/sparc/sparc64/multiarch/Makefile
31554 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31555 crypt subdir.
31556 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31557 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31558 multiarch changes.
31559 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31560 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31561 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31562 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31563 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31564 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31565 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31566 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31567 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31568 file.
31569 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31570 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31571 file.
31572 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31573
8ca89318
JM
315742012-11-13 Joseph Myers <joseph@codesourcery.com>
31575
e27d476a
JM
31576 * timezone/tzselect.ksh: Update from tzcode git revision
31577 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31578 * timezone/zdump.c: Likewise.
31579 * timezone/zic.c: Likewise.
31580 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31581 in TZVERSION setting, not $(PKGVERSION).
31582 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31583 REPORT_BUGS_TO settings.
31584
8ca89318
JM
31585 [BZ #14838]
31586 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31587 macro.
31588
47594329
MS
315892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31590
31591 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31592 detection to immediately after _FP_ROUND().
31593 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31594 bits are 0.
31595
640ac3f1
DM
315962012-11-11 David S. Miller <davem@davemloft.net>
31597
31598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31599 inttypes.h
31600 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31601 __close rather than their public counterparts.
31602
3d2577bb
JM
316032012-11-10 Joseph Myers <joseph@codesourcery.com>
31604
31605 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31606 file.
31607 [UNIX98] (sem_timedwait): Do not expect.
31608 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31609 [XPG4 || UNIX98] (sockatmark): Do not expect.
31610 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31611 (clock_getcpuclockid): Do not expect.
31612 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31613 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31614 Do not expect.
31615 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31616 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31617 [UNIX98] (vwscanf): Likewise.
31618 [UNIX98] (vswscanf): Likewise.
31619
fb1ae1ee
JM
316202012-11-09 Joseph Myers <joseph@codesourcery.com>
31621
9ec6f8bd
JM
31622 * timezone/version.h: Remove file.
31623 * timezone/README: Do not refer to version.h.
31624 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31625 $(objpfx)version.h.
31626 ($(objpfx)zdump.o): Likewise.
c3f81911 31627 ($(objpfx)version.h): New target.
9ec6f8bd 31628
0aa8f8a1
JM
31629 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31630 2012i.
31631 * timezone/README: Don't mention modification to tzselect.ksh.
31632 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31633 work on unmodified tzselect.ksh. Substitute version numbers in
31634 tzselect.ksh.
31635
4e87147f
JM
31636 * Makefile (format-me): Remove.
31637 (INSTALL): Adjust indentation. Use commands directly instead of
31638 using $(format-me).
31639
8b748aed
JM
31640 * aclocal.m4 (ACX_PKGVERSION): New macro.
31641 (ACX_BUGURL): Likewise.
31642 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31643 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31644 (REPORT_BUGS_TO): Likewise.
31645 * configure: Regenerated.
31646 * config.h.in (PKGVERSION): New macro.
31647 (REPORT_BUGS_TO): Likewise.
31648 * config.make.in (PKGVERSION): New variable.
31649 (PKGVERSION_TEXI): Likewise.
31650 (REPORT_BUGS_TO): Likewise.
31651 (REPORT_BUGS_TEXI): Likewise.
31652 * Makefile (format-me): Use -I$(common-objpfx)manual.
31653 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31654 ($(common-objpfx)manual/%): New target.
31655 (manual/%): Remove target.
31656 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31657 (print_version): Use PKGVERSION.
31658 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31659 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31660 and REPORT_BUGS_TO.
31661 ($(objpfx)xtrace): Likewise.
31662 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31663 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31664 (print_version): Use PKGVERSION.
31665 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31666 (do_version): Use PKGVERSION.
31667 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31668 REPORT_BUGS_TO.
31669 (common-ldd-rewrite): Likewise.
31670 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31671 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31672 (print_version): Use PKGVERSION.
31673 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31674 * elf/pldd.c (argp_program_bug_address): Remove variable.
31675 (more_help): New function.
31676 (argp): Use more_help.
31677 (print_version): Use PKGVERSION.
31678 * elf/sln.c (main): Use PKGVERSION.
31679 (usage): Use REPORT_BUGS_TO.
31680 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31681 (top level): Use PKGVERSION.
31682 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31683 (print_version): Use PKGVERSION.
31684 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31685 (print_version): Use PKGVERSION.
31686 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31687 (print_version): Use PKGVERSION.
31688 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31689 (print_version): Use PKGVERSION.
31690 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31691 (print_version): Use PKGVERSION.
31692 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31693 (print_version): Use PKGVERSION.
31694 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31695 and BUGURL.
31696 ($(objpfx)memusage): Likewise.
31697 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31698 (do_version): Use PKGVERSION.
31699 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31700 (print_version): Use PKGVERSION.
31701 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31702 ($PKGVERSION): New variable.
31703 ($REPORT_BUGS_TO): Likewise.
31704 (usage): Use $REPORT_BUGS_TO.
31705 (top level): Use $PKGVERSION.
31706 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31707 ($(objpfx)pkgvers.texi): New rule.
31708 ($(objpfx)stamp-pkgvers): Likewise.
31709 * manual/install.texi: Include pkgvers.texi.
31710 (--with-pkgversion): Document new configure option.
31711 (--with-bugurl): Likewise.
31712 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31713 than necessarily for this particular distribution. Use
31714 REPORT_BUGS_TO for where to report bugs.
31715 * INSTALL: Regenerated.
31716 * manual/libc.texinfo: Include pkgvers.texi.
31717 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31718 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31719 (print_version): Use PKGVERSION.
31720 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31721 (print_version): Use PKGVERSION.
31722 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31723 (print_version): Use PKGVERSION.
31724 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31725 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31726 macro.
31727 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31728 (print_version): Use PKGVERSION.
31729 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31730 (print_version): Use PKGVERSION.
31731 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31732 and PKGVERSION.
31733
92e4b6a9
JM
31734 * timezone/checktab.awk: Update from tzcode 2012i.
31735 * timezone/ialloc.c: Likewise.
31736 * timezone/private.h: Likewise.
31737 * timezone/scheck.c: Likewise.
31738 * timezone/tzfile.h: Likewise.
31739 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31740 (TZVERSION): Hardcode tzcode version number.
31741 * timezone/zdump.c: Update from tzcode 2012i.
31742 * timezone/zic.c: Likewise.
31743 * timezone/version.h: New file.
31744 * timezone/README: Describe version.h. Update upstream location.
31745
9bde902c
JM
31746 [BZ #14824]
31747 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31748 (mktemp): Enable declaration.
31749 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31750 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31751 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31752 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31753 Likewise.
31754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31755 Likewise.
31756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31757 Likewise.
31758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31759 Likewise.
31760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31761 Likewise.
31762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31763 Likewise.
31764
fb1ae1ee
JM
31765 [BZ #14821]
31766 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31767 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31768 for copies of such integer values.
31769 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31770 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31771
2c1adbcb
AJ
317722012-11-09 Andreas Jaeger <aj@suse.de>
31773
31774 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31775 definitions and declarations that are provided by
31776 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31777
d0f8457e
AK
317782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31779
3a235abb 31780 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31781 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31782 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31783 definition.
31784
57241e26
MS
317852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31786
31787 * elf/elf.h: Update comment before AArch64 relocations.
31788
60e8270d
DM
317892012-11-07 David S. Miller <davem@davemloft.net>
31790
31791 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31792 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31793 (__start_context): Declare.
31794 (__makecontext_ret): Delete.
31795 (__makecontext): Hook up __start_context instead of
31796 __makecontext_ret.
31797 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31798 (sysdep_routines): Add __start_context when in stdlib.
31799
0fbb0fbc
JM
318002012-11-07 Joseph Myers <joseph@codesourcery.com>
31801
31802 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31803 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31804 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31805 hardcoded "nm".
31806 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31807 (READELF): New variable. Use it instead of hardcoded "readelf".
31808
eb48db7e
L
318092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31810
31811 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31812 * sysdeps/x86/Makefile: Here.
31813 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31814 * sysdeps/x86/tst-xmmymm.sh: This.
31815
05bcf62a
JM
318162012-11-07 Joseph Myers <joseph@codesourcery.com>
31817
c4b6cf53
JM
31818 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31819 expectations.
31820 [UNIX98] (pthread_barrier_t): Do not expect.
31821 [UNIX98] (pthread_barrierattr_t): Likewise.
31822 [UNIX98] (pthread_spinlock_t): Likewise.
31823 [UNIX98] (pthread_barrier_destroy): Likewise.
31824 [UNIX98] (pthread_barrier_init): Likewise.
31825 [UNIX98] (pthread_barrier_wait): Likewise.
31826 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31827 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31828 [UNIX98] (pthread_barrierattr_init): Likewise.
31829 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31830 [UNIX98] (pthread_getcpuclockid): Likewise.
31831 [UNIX98] (pthread_mutex_timedlock): Likewise.
31832 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31833 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31834 [UNIX98] (pthread_sigmask): Likewise.
31835 [UNIX98] (pthread_spin_destroy): Likewise.
31836 [UNIX98] (pthread_spin_init): Likewise.
31837 [UNIX98] (pthread_spin_lock): Likewise.
31838 [UNIX98] (pthread_spin_trylock): Likewise.
31839 [UNIX98] (pthread_spin_unlock): Likewise.
31840 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31841 Do not expect.
31842 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31843 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31844 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31845 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31846 [XPG3 || XPG4] (pthread_key_t): Likewise.
31847 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31848 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31849 [XPG3 || XPG4] (pthread_once_t): Likewise.
31850 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31851 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31852 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31853 [XPG3 || XPG4] (pthread_t): Likewise.
31854
cbe6e120
JM
31855 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31856 not expect.
31857 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31858
1b126443
JM
31859 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31860 Change function return type to int.
31861
b961a573
JM
31862 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31863 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31864 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31865 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31866 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31867 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31868 [!POSIX] (posix_madvise): Likewise.
31869 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31870 && !UNIX98].
31871 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31872 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31873 (mode_t): Likewise.
31874 (posix_mem_offset): Likewise.
31875 (posix_typed_mem_get_info): Likewise.
31876 (posix_typed_mem_open): Likewise.
31877
9e188909
JM
31878 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31879 Change condition to [XOPEN2K8].
31880
05bcf62a
JM
31881 * conform/conformtest.pl: Preprocess allow-header data with -x c
31882 instead of from stdin.
31883 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31884 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31885 [C99-based standards] (cerfc): Likewise.
31886 [C99-based standards] (cexp2): Likewise.
31887 [C99-based standards] (cexpm1): Likewise.
31888 [C99-based standards] (clog10): Likewise.
31889 [C99-based standards] (clog1p): Likewise.
31890 [C99-based standards] (clog2): Likewise.
31891 [C99-based standards] (clgamma): Likewise.
31892 [C99-based standards] (ctgamma): Likewise.
31893 [C99-based standards] (cerff): Likewise.
31894 [C99-based standards] (cerfcf): Likewise.
31895 [C99-based standards] (cexp2f): Likewise.
31896 [C99-based standards] (cexpm1f): Likewise.
31897 [C99-based standards] (clog10f): Likewise.
31898 [C99-based standards] (clog1pf): Likewise.
31899 [C99-based standards] (clog2f): Likewise.
31900 [C99-based standards] (clgammaf): Likewise.
31901 [C99-based standards] (ctgammaf): Likewise.
31902 [C99-based standards] (cerfl): Likewise.
31903 [C99-based standards] (cerfcl): Likewise.
31904 [C99-based standards] (cexp2l): Likewise.
31905 [C99-based standards] (cexpm1l): Likewise.
31906 [C99-based standards] (clog10l): Likewise.
31907 [C99-based standards] (clog1pl): Likewise.
31908 [C99-based standards] (clog2l): Likewise.
31909 [C99-based standards] (clgammal): Likewise.
31910 [C99-based standards] (ctgammal): Likewise.
31911 * conform/data/inttypes.h-data [C99-based standards]: Include
31912 stdint.h-data. Remove all expectations for stdint.h contents.
31913 [C99-based standards] (PRI*): Do not allow.
31914 [C99-based standards] (SCN*): Likewise.
31915 [C99-based standards] (*_t): Likewise.
31916 [C99-based-standards] (PRId8): Expect macro.
31917 [C99-based-standards] (PRIi8): Likewise.
31918 [C99-based-standards] (PRIo8): Likewise.
31919 [C99-based-standards] (PRIu8): Likewise.
31920 [C99-based-standards] (PRIx8): Likewise.
31921 [C99-based-standards] (PRIX8): Likewise.
31922 [C99-based-standards] (SCNd8): Likewise.
31923 [C99-based-standards] (SCNi8): Likewise.
31924 [C99-based-standards] (SCNo8): Likewise.
31925 [C99-based-standards] (SCNu8): Likewise.
31926 [C99-based-standards] (SCNx8): Likewise.
31927 [C99-based-standards] (PRIdLEAST8): Likewise.
31928 [C99-based-standards] (PRIiLEAST8): Likewise.
31929 [C99-based-standards] (PRIoLEAST8): Likewise.
31930 [C99-based-standards] (PRIuLEAST8): Likewise.
31931 [C99-based-standards] (PRIxLEAST8): Likewise.
31932 [C99-based-standards] (PRIXLEAST8): Likewise.
31933 [C99-based-standards] (SCNdLEAST8): Likewise.
31934 [C99-based-standards] (SCNiLEAST8): Likewise.
31935 [C99-based-standards] (SCNoLEAST8): Likewise.
31936 [C99-based-standards] (SCNuLEAST8): Likewise.
31937 [C99-based-standards] (SCNxLEAST8): Likewise.
31938 [C99-based-standards] (PRIdFAST8): Likewise.
31939 [C99-based-standards] (PRIiFAST8): Likewise.
31940 [C99-based-standards] (PRIoFAST8): Likewise.
31941 [C99-based-standards] (PRIuFAST8): Likewise.
31942 [C99-based-standards] (PRIxFAST8): Likewise.
31943 [C99-based-standards] (PRIXFAST8): Likewise.
31944 [C99-based-standards] (SCNdFAST8): Likewise.
31945 [C99-based-standards] (SCNiFAST8): Likewise.
31946 [C99-based-standards] (SCNoFAST8): Likewise.
31947 [C99-based-standards] (SCNuFAST8): Likewise.
31948 [C99-based-standards] (SCNxFAST8): Likewise.
31949 [C99-based-standards] (PRId16): Likewise.
31950 [C99-based-standards] (PRIi16): Likewise.
31951 [C99-based-standards] (PRIo16): Likewise.
31952 [C99-based-standards] (PRIu16): Likewise.
31953 [C99-based-standards] (PRIx16): Likewise.
31954 [C99-based-standards] (PRIX16): Likewise.
31955 [C99-based-standards] (SCNd16): Likewise.
31956 [C99-based-standards] (SCNi16): Likewise.
31957 [C99-based-standards] (SCNo16): Likewise.
31958 [C99-based-standards] (SCNu16): Likewise.
31959 [C99-based-standards] (SCNx16): Likewise.
31960 [C99-based-standards] (PRIdLEAST16): Likewise.
31961 [C99-based-standards] (PRIiLEAST16): Likewise.
31962 [C99-based-standards] (PRIoLEAST16): Likewise.
31963 [C99-based-standards] (PRIuLEAST16): Likewise.
31964 [C99-based-standards] (PRIxLEAST16): Likewise.
31965 [C99-based-standards] (PRIXLEAST16): Likewise.
31966 [C99-based-standards] (SCNdLEAST16): Likewise.
31967 [C99-based-standards] (SCNiLEAST16): Likewise.
31968 [C99-based-standards] (SCNoLEAST16): Likewise.
31969 [C99-based-standards] (SCNuLEAST16): Likewise.
31970 [C99-based-standards] (SCNxLEAST16): Likewise.
31971 [C99-based-standards] (PRIdFAST16): Likewise.
31972 [C99-based-standards] (PRIiFAST16): Likewise.
31973 [C99-based-standards] (PRIoFAST16): Likewise.
31974 [C99-based-standards] (PRIuFAST16): Likewise.
31975 [C99-based-standards] (PRIxFAST16): Likewise.
31976 [C99-based-standards] (PRIXFAST16): Likewise.
31977 [C99-based-standards] (SCNdFAST16): Likewise.
31978 [C99-based-standards] (SCNiFAST16): Likewise.
31979 [C99-based-standards] (SCNoFAST16): Likewise.
31980 [C99-based-standards] (SCNuFAST16): Likewise.
31981 [C99-based-standards] (SCNxFAST16): Likewise.
31982 [C99-based-standards] (PRId32): Likewise.
31983 [C99-based-standards] (PRIi32): Likewise.
31984 [C99-based-standards] (PRIo32): Likewise.
31985 [C99-based-standards] (PRIu32): Likewise.
31986 [C99-based-standards] (PRIx32): Likewise.
31987 [C99-based-standards] (PRIX32): Likewise.
31988 [C99-based-standards] (SCNd32): Likewise.
31989 [C99-based-standards] (SCNi32): Likewise.
31990 [C99-based-standards] (SCNo32): Likewise.
31991 [C99-based-standards] (SCNu32): Likewise.
31992 [C99-based-standards] (SCNx32): Likewise.
31993 [C99-based-standards] (PRIdLEAST32): Likewise.
31994 [C99-based-standards] (PRIiLEAST32): Likewise.
31995 [C99-based-standards] (PRIoLEAST32): Likewise.
31996 [C99-based-standards] (PRIuLEAST32): Likewise.
31997 [C99-based-standards] (PRIxLEAST32): Likewise.
31998 [C99-based-standards] (PRIXLEAST32): Likewise.
31999 [C99-based-standards] (SCNdLEAST32): Likewise.
32000 [C99-based-standards] (SCNiLEAST32): Likewise.
32001 [C99-based-standards] (SCNoLEAST32): Likewise.
32002 [C99-based-standards] (SCNuLEAST32): Likewise.
32003 [C99-based-standards] (SCNxLEAST32): Likewise.
32004 [C99-based-standards] (PRIdFAST32): Likewise.
32005 [C99-based-standards] (PRIiFAST32): Likewise.
32006 [C99-based-standards] (PRIoFAST32): Likewise.
32007 [C99-based-standards] (PRIuFAST32): Likewise.
32008 [C99-based-standards] (PRIxFAST32): Likewise.
32009 [C99-based-standards] (PRIXFAST32): Likewise.
32010 [C99-based-standards] (SCNdFAST32): Likewise.
32011 [C99-based-standards] (SCNiFAST32): Likewise.
32012 [C99-based-standards] (SCNoFAST32): Likewise.
32013 [C99-based-standards] (SCNuFAST32): Likewise.
32014 [C99-based-standards] (SCNxFAST32): Likewise.
32015 [C99-based-standards] (PRId64): Likewise.
32016 [C99-based-standards] (PRIi64): Likewise.
32017 [C99-based-standards] (PRIo64): Likewise.
32018 [C99-based-standards] (PRIu64): Likewise.
32019 [C99-based-standards] (PRIx64): Likewise.
32020 [C99-based-standards] (PRIX64): Likewise.
32021 [C99-based-standards] (SCNd64): Likewise.
32022 [C99-based-standards] (SCNi64): Likewise.
32023 [C99-based-standards] (SCNo64): Likewise.
32024 [C99-based-standards] (SCNu64): Likewise.
32025 [C99-based-standards] (SCNx64): Likewise.
32026 [C99-based-standards] (PRIdLEAST64): Likewise.
32027 [C99-based-standards] (PRIiLEAST64): Likewise.
32028 [C99-based-standards] (PRIoLEAST64): Likewise.
32029 [C99-based-standards] (PRIuLEAST64): Likewise.
32030 [C99-based-standards] (PRIxLEAST64): Likewise.
32031 [C99-based-standards] (PRIXLEAST64): Likewise.
32032 [C99-based-standards] (SCNdLEAST64): Likewise.
32033 [C99-based-standards] (SCNiLEAST64): Likewise.
32034 [C99-based-standards] (SCNoLEAST64): Likewise.
32035 [C99-based-standards] (SCNuLEAST64): Likewise.
32036 [C99-based-standards] (SCNxLEAST64): Likewise.
32037 [C99-based-standards] (PRIdFAST64): Likewise.
32038 [C99-based-standards] (PRIiFAST64): Likewise.
32039 [C99-based-standards] (PRIoFAST64): Likewise.
32040 [C99-based-standards] (PRIuFAST64): Likewise.
32041 [C99-based-standards] (PRIxFAST64): Likewise.
32042 [C99-based-standards] (PRIXFAST64): Likewise.
32043 [C99-based-standards] (SCNdFAST64): Likewise.
32044 [C99-based-standards] (SCNiFAST64): Likewise.
32045 [C99-based-standards] (SCNoFAST64): Likewise.
32046 [C99-based-standards] (SCNuFAST64): Likewise.
32047 [C99-based-standards] (SCNxFAST64): Likewise.
32048 [C99-based-standards] (PRIdMAX): Likewise.
32049 [C99-based-standards] (PRIiMAX): Likewise.
32050 [C99-based-standards] (PRIoMAX): Likewise.
32051 [C99-based-standards] (PRIuMAX): Likewise.
32052 [C99-based-standards] (PRIxMAX): Likewise.
32053 [C99-based-standards] (PRIXMAX): Likewise.
32054 [C99-based-standards] (SCNdMAX): Likewise.
32055 [C99-based-standards] (SCNiMAX): Likewise.
32056 [C99-based-standards] (SCNoMAX): Likewise.
32057 [C99-based-standards] (SCNuMAX): Likewise.
32058 [C99-based-standards] (SCNxMAX): Likewise.
32059 [C99-based-standards] (PRIdPTR): Likewise.
32060 [C99-based-standards] (PRIiPTR): Likewise.
32061 [C99-based-standards] (PRIoPTR): Likewise.
32062 [C99-based-standards] (PRIuPTR): Likewise.
32063 [C99-based-standards] (PRIxPTR): Likewise.
32064 [C99-based-standards] (PRIXPTR): Likewise.
32065 [C99-based-standards] (SCNdPTR): Likewise.
32066 [C99-based-standards] (SCNiPTR): Likewise.
32067 [C99-based-standards] (SCNoPTR): Likewise.
32068 [C99-based-standards] (SCNuPTR): Likewise.
32069 [C99-based-standards] (SCNxPTR): Likewise.
32070 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32071 allow.
32072 * conform/data/stdint.h-data: Update comments to clarify
32073 requirements.
32074 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32075 type.
32076 [C99-based standards] (INT8_MAX): Likewise.
32077 [C99-based standards] (INT16_MIN): Likewise.
32078 [C99-based standards] (INT16_MAX): Likewise.
32079 [C99-based standards] (INT32_MIN): Likewise.
32080 [C99-based standards] (INT32_MAX): Likewise.
32081 [C99-based standards] (INT64_MIN): Likewise.
32082 [C99-based standards] (INT64_MAX): Likewise.
32083 [C99-based standards] (UINT8_MAX): Likewise.
32084 [C99-based standards] (UINT16_MAX): Likewise.
32085 [C99-based standards] (UINT32_MAX): Likewise.
32086 [C99-based standards] (UINT64_MAX): Likewise.
32087 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32088 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32089 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32090 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32091 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32092 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32093 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32094 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32095 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32096 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32097 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32098 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32099 [C99-based standards] (INT_FAST8_MIN): Likewise.
32100 [C99-based standards] (INT_FAST8_MAX): Likewise.
32101 [C99-based standards] (INT_FAST16_MIN): Likewise.
32102 [C99-based standards] (INT_FAST16_MAX): Likewise.
32103 [C99-based standards] (INT_FAST32_MIN): Likewise.
32104 [C99-based standards] (INT_FAST32_MAX): Likewise.
32105 [C99-based standards] (INT_FAST64_MIN): Likewise.
32106 [C99-based standards] (INT_FAST64_MAX): Likewise.
32107 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32108 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32109 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32110 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32111 [C99-based standards] (INTPTR_MIN): Likewise.
32112 [C99-based standards] (INTPTR_MAX): Likewise.
32113 [C99-based standards] (UINTPTR_MAX): Likewise.
32114 [C99-based standards] (INTMAX_MIN): Likewise.
32115 [C99-based standards] (INTMAX_MAX): Likewise.
32116 [C99-based standards] (UINTMAX_MAX): Likewise.
32117 [C99-based standards] (PTRDIFF_MIN): Likewise.
32118 [C99-based standards] (PTRDIFF_MAX): Likewise.
32119 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32120 [C99-based standards] (SIZE_MAX): Likewise.
32121 [C99-based standards] (WCHAR_MAX): Likewise.
32122 [C99-based standards] (WINT_MAX): Likewise.
32123 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32124 constraint on value.
32125 [C99-based standards] (WCHAR_MIN): Likewise.
32126 [C99-based standards] (WINT_MIN): Likewise.
32127 [C99-based standards] (*_t): Allow.
32128 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32129 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32130 Include math.h-data and complex.h-data. Remove all expectations
32131 of math.h and complex.h contents.
32132 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32133 at end of line.
32134 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32135 (struct tm): Expect tag.
32136 [C99-based-standards] (wcstof): Expect function.
32137 [C99-based-standards] (wcstold): Likewise.
32138 [C99-based-standards] (wcstoll): Likewise.
32139 [C99-based-standards] (wcstoull): Likewise.
32140 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32141 macro-int-constant. Specify type.
32142 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32143 constraint on value.
32144 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32145 Specify type.
32146 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32147 Specify value.
32148 [ISO C standards]: Do not allow headers.
32149 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32150 wcs[abcdefghijklmnopqrstuvwxyz]*.
32151 [ISO C standards] (*_t): Do not allow.
32152 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32153 Expect function.
32154 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32155 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32156 Specify type.
32157 [ISO C standards]: Do not allow headers.
32158 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32159 is[abcdefghijklmnopqrstuvwxyz]*.
32160 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32161 to[abcdefghijklmnopqrstuvwxyz]*.
32162 [ISO C standards] (*_t): Do not allow.
32163 * conform/data/stdalign.h-data: New file.
32164 * conform/data/stdbool.h-data: Likewise.
32165 * conform/data/stdnoreturn.h-data: Likewise.
32166
7514feb8
RM
321672012-11-07 Roland McGrath <roland@hack.frob.com>
32168
32169 [BZ #14815]
32170 * manual/filesys.texi (Directory Entries): Typo fix.
32171 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32172
19b2ecfc
MS
321732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32174
32175 * elf/elf.h (EM_AARCH64): New macro.
32176 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32177 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32178 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32179 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32180 (R_AARCH64_TLSDESC): Likewise.
32181 (NT_ARM_TLS): Likewise.
32182 (NT_ARM_HW_BREAK): Likewise.
32183 (NT_ARM_HW_WATCH): Likewise.
32184
60e235ee
JM
321852012-11-07 Joseph Myers <joseph@codesourcery.com>
32186
32187 [BZ #14811]
32188 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32189 (__ieee754_powl): Saturate nonzero exponents with absolute value
32190 below 0x1p-79 to +/- 0x1p-79.
32191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32192 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32193 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32194 nonzero exponents with absolute value below 0x1p-32 to +/-
32195 0x1p-32.
32196 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32197 (__ieee754_powl): Saturate nonzero exponents with absolute value
32198 below 0x1p-79 to +/- 0x1p-79.
32199 * math/libm-test.inc (pow_test): Add more tests.
32200
0ab234b7
AK
322012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32202
32203 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32204 _dl_s390_cap_flags with kernel. Increase string length.
32205 (_dl_s390_platforms): Add z196 and zEC12.
32206
45832f74
JM
322072012-11-07 Joseph Myers <joseph@codesourcery.com>
32208
32209 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32210 Change XOPEN21K to XOPEN2K.
32211
19218757
MK
322122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32213
32214 * string/memmove.c: Use memcpy when possible.
32215
c5f45721
AJ
322162012-11-06 Andreas Jaeger <aj@suse.de>
32217
32218 * po/eo.po: Update from translation team.
32219
82477c28
JM
322202012-11-06 Joseph Myers <joseph@codesourcery.com>
32221
32222 [BZ #14793]
32223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32224 exponent and small x and y exponents, scale x or y up. Increase
32225 by 2 the exponent used in scaling up.
32226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32228 * math/libm-test.inc (fma_test): Add more tests.
32229 (fma_test_towardzero): Likewise.
32230 (fma_test_downward): Likewise.
32231 (fma_test_upward): Likewise.
32232
99252c8c
JM
322332012-11-05 Joseph Myers <joseph@codesourcery.com>
32234
acfa885f
JM
32235 [BZ #14805]
32236 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32237 fenv_t *.
32238
99252c8c
JM
32239 [BZ #14801]
32240 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32241 namespace for names of struct fields.
32242 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32243 fenv_t fields.
32244 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32245 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32246
d6d98dea
ST
322472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32248
32249 [BZ #3665]
32250 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32251
e10bb107
TS
322522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32253
32254 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32255 PTR_DEMANGLE.
32256
32257 [BZ #5246]
32258 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32259 PTR_DEMANGLE.
32260
a0c2940d
JM
322612012-11-04 Joseph Myers <joseph@codesourcery.com>
32262
32263 [BZ #14797]
32264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32265 definitely overflow as x * y not x * y + z.
32266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32268 * math/libm-test.inc (fma_test): Add more tests.
32269 (fma_test_towardzero): Likewise.
32270 (fma_test_downward): Likewise.
32271 (fma_test_upward): Likewise.
32272
b830319d
TS
322732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32274
32275 [BZ #157]
32276
32277 * include/stub-tag.h: Remove file.
32278 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32279 '#include' of it.
32280 * manual/maint.texi (Porting): Don't reference it.
32281 * Makerules ($(objpfx)stubs): Likewise.
32282 * dirent/closedir.c: Don't include <stub-tag.h>.
32283 * dirent/dirfd.c: Likewise.
32284 * dirent/fdopendir.c: Likewise.
32285 * dirent/getdents.c: Likewise.
32286 * dirent/getdents64.c: Likewise.
32287 * dirent/opendir.c: Likewise.
32288 * dirent/readdir.c: Likewise.
32289 * dirent/readdir64.c: Likewise.
32290 * dirent/readdir64_r.c: Likewise.
32291 * dirent/readdir_r.c: Likewise.
32292 * dirent/rewinddir.c: Likewise.
32293 * dirent/seekdir.c: Likewise.
32294 * dirent/telldir.c: Likewise.
32295 * gmon/profil.c: Likewise.
32296 * grp/setgroups.c: Likewise.
32297 * inet/if_index.c: Likewise.
32298 * io/access.c: Likewise.
32299 * io/chdir.c: Likewise.
32300 * io/chmod.c: Likewise.
32301 * io/chown.c: Likewise.
32302 * io/close.c: Likewise.
32303 * io/dup.c: Likewise.
32304 * io/dup2.c: Likewise.
32305 * io/dup3.c: Likewise.
32306 * io/euidaccess.c: Likewise.
32307 * io/faccessat.c: Likewise.
32308 * io/fchdir.c: Likewise.
32309 * io/fchmod.c: Likewise.
32310 * io/fchmodat.c: Likewise.
32311 * io/fchown.c: Likewise.
32312 * io/fchownat.c: Likewise.
32313 * io/fcntl.c: Likewise.
32314 * io/flock.c: Likewise.
32315 * io/fstatfs.c: Likewise.
32316 * io/fstatfs64.c: Likewise.
32317 * io/fstatvfs.c: Likewise.
32318 * io/fstatvfs64.c: Likewise.
32319 * io/futimens.c: Likewise.
32320 * io/fxstat.c: Likewise.
32321 * io/fxstat64.c: Likewise.
32322 * io/fxstatat.c: Likewise.
32323 * io/fxstatat64.c: Likewise.
32324 * io/getcwd.c: Likewise.
32325 * io/isatty.c: Likewise.
32326 * io/lchmod.c: Likewise.
32327 * io/lchown.c: Likewise.
32328 * io/link.c: Likewise.
32329 * io/linkat.c: Likewise.
32330 * io/lseek.c: Likewise.
32331 * io/lseek64.c: Likewise.
32332 * io/lxstat64.c: Likewise.
32333 * io/mkdir.c: Likewise.
32334 * io/mkdirat.c: Likewise.
32335 * io/mkfifo.c: Likewise.
32336 * io/mkfifoat.c: Likewise.
32337 * io/open.c: Likewise.
32338 * io/open64.c: Likewise.
32339 * io/openat.c: Likewise.
32340 * io/openat64.c: Likewise.
32341 * io/pipe.c: Likewise.
32342 * io/pipe2.c: Likewise.
32343 * io/poll.c: Likewise.
32344 * io/posix_fadvise.c: Likewise.
32345 * io/posix_fadvise64.c: Likewise.
32346 * io/posix_fallocate.c: Likewise.
32347 * io/posix_fallocate64.c: Likewise.
32348 * io/read.c: Likewise.
32349 * io/readlink.c: Likewise.
32350 * io/readlinkat.c: Likewise.
32351 * io/rmdir.c: Likewise.
32352 * io/sendfile.c: Likewise.
32353 * io/sendfile64.c: Likewise.
32354 * io/statfs.c: Likewise.
32355 * io/statfs64.c: Likewise.
32356 * io/statvfs.c: Likewise.
32357 * io/statvfs64.c: Likewise.
32358 * io/symlink.c: Likewise.
32359 * io/symlinkat.c: Likewise.
32360 * io/ttyname.c: Likewise.
32361 * io/ttyname_r.c: Likewise.
32362 * io/umask.c: Likewise.
32363 * io/unlink.c: Likewise.
32364 * io/unlinkat.c: Likewise.
32365 * io/utime.c: Likewise.
32366 * io/utimensat.c: Likewise.
32367 * io/write.c: Likewise.
32368 * io/xmknod.c: Likewise.
32369 * io/xmknodat.c: Likewise.
32370 * io/xstat.c: Likewise.
32371 * io/xstat64.c: Likewise.
32372 * login/getpt.c: Likewise.
32373 * login/grantpt.c: Likewise.
32374 * login/unlockpt.c: Likewise.
32375 * math/e_acoshl.c: Likewise.
32376 * math/e_acosl.c: Likewise.
32377 * math/e_asinl.c: Likewise.
32378 * math/e_atan2l.c: Likewise.
32379 * math/e_atanhl.c: Likewise.
32380 * math/e_coshl.c: Likewise.
32381 * math/e_expl.c: Likewise.
32382 * math/e_fmodl.c: Likewise.
32383 * math/e_gammal_r.c: Likewise.
32384 * math/e_hypotl.c: Likewise.
32385 * math/e_j0l.c: Likewise.
32386 * math/e_j1l.c: Likewise.
32387 * math/e_jnl.c: Likewise.
32388 * math/e_lgammal_r.c: Likewise.
32389 * math/e_log10l.c: Likewise.
32390 * math/e_log2l.c: Likewise.
32391 * math/e_logl.c: Likewise.
32392 * math/e_powl.c: Likewise.
32393 * math/e_rem_pio2l.c: Likewise.
32394 * math/e_sinhl.c: Likewise.
32395 * math/e_sqrtl.c: Likewise.
32396 * math/fclrexcpt.c: Likewise.
32397 * math/fedisblxcpt.c: Likewise.
32398 * math/feenablxcpt.c: Likewise.
32399 * math/fegetenv.c: Likewise.
32400 * math/fegetexcept.c: Likewise.
32401 * math/fegetround.c: Likewise.
32402 * math/feholdexcpt.c: Likewise.
32403 * math/fesetenv.c: Likewise.
32404 * math/fesetround.c: Likewise.
32405 * math/feupdateenv.c: Likewise.
32406 * math/fgetexcptflg.c: Likewise.
32407 * math/fraiseexcpt.c: Likewise.
32408 * math/fsetexcptflg.c: Likewise.
32409 * math/ftestexcept.c: Likewise.
32410 * math/k_cosl.c: Likewise.
32411 * math/k_rem_pio2l.c: Likewise.
32412 * math/k_sinl.c: Likewise.
32413 * math/k_tanl.c: Likewise.
32414 * math/s_asinhl.c: Likewise.
32415 * math/s_atanl.c: Likewise.
32416 * math/s_cbrtl.c: Likewise.
32417 * math/s_erfl.c: Likewise.
32418 * math/s_expm1l.c: Likewise.
32419 * math/s_log1pl.c: Likewise.
32420 * math/s_tanhl.c: Likewise.
32421 * misc/acct.c: Likewise.
32422 * misc/brk.c: Likewise.
32423 * misc/chflags.c: Likewise.
32424 * misc/chroot.c: Likewise.
32425 * misc/fchflags.c: Likewise.
32426 * misc/fgetxattr.c: Likewise.
32427 * misc/flistxattr.c: Likewise.
32428 * misc/fremovexattr.c: Likewise.
32429 * misc/fsetxattr.c: Likewise.
32430 * misc/fsync.c: Likewise.
32431 * misc/ftruncate.c: Likewise.
32432 * misc/futimes.c: Likewise.
32433 * misc/futimesat.c: Likewise.
32434 * misc/getdomain.c: Likewise.
32435 * misc/getdtsz.c: Likewise.
32436 * misc/gethostid.c: Likewise.
32437 * misc/gethostname.c: Likewise.
32438 * misc/getloadavg.c: Likewise.
32439 * misc/getpagesize.c: Likewise.
32440 * misc/getsysstats.c: Likewise.
32441 * misc/getxattr.c: Likewise.
32442 * misc/gtty.c: Likewise.
32443 * misc/ioctl.c: Likewise.
32444 * misc/lgetxattr.c: Likewise.
32445 * misc/listxattr.c: Likewise.
32446 * misc/llistxattr.c: Likewise.
32447 * misc/lremovexattr.c: Likewise.
32448 * misc/lsetxattr.c: Likewise.
32449 * misc/lutimes.c: Likewise.
32450 * misc/madvise.c: Likewise.
32451 * misc/mincore.c: Likewise.
32452 * misc/mlock.c: Likewise.
32453 * misc/mlockall.c: Likewise.
32454 * misc/mmap.c: Likewise.
32455 * misc/mprotect.c: Likewise.
32456 * misc/msync.c: Likewise.
32457 * misc/munlock.c: Likewise.
32458 * misc/munlockall.c: Likewise.
32459 * misc/munmap.c: Likewise.
32460 * misc/preadv.c: Likewise.
32461 * misc/preadv64.c: Likewise.
32462 * misc/ptrace.c: Likewise.
32463 * misc/pwritev.c: Likewise.
32464 * misc/pwritev64.c: Likewise.
32465 * misc/readv.c: Likewise.
32466 * misc/reboot.c: Likewise.
32467 * misc/remap_file_pages.c: Likewise.
32468 * misc/removexattr.c: Likewise.
32469 * misc/revoke.c: Likewise.
32470 * misc/select.c: Likewise.
32471 * misc/setdomain.c: Likewise.
32472 * misc/setegid.c: Likewise.
32473 * misc/seteuid.c: Likewise.
32474 * misc/sethostid.c: Likewise.
32475 * misc/sethostname.c: Likewise.
32476 * misc/setregid.c: Likewise.
32477 * misc/setreuid.c: Likewise.
32478 * misc/setxattr.c: Likewise.
32479 * misc/sstk.c: Likewise.
32480 * misc/stty.c: Likewise.
32481 * misc/swapoff.c: Likewise.
32482 * misc/swapon.c: Likewise.
32483 * misc/sync.c: Likewise.
32484 * misc/syncfs.c: Likewise.
32485 * misc/syscall.c: Likewise.
32486 * misc/truncate.c: Likewise.
32487 * misc/ualarm.c: Likewise.
32488 * misc/usleep.c: Likewise.
32489 * misc/ustat.c: Likewise.
32490 * misc/utimes.c: Likewise.
32491 * misc/vhangup.c: Likewise.
32492 * misc/writev.c: Likewise.
32493 * posix/_exit.c: Likewise.
32494 * posix/alarm.c: Likewise.
32495 * posix/execve.c: Likewise.
32496 * posix/fexecve.c: Likewise.
32497 * posix/fork.c: Likewise.
32498 * posix/fpathconf.c: Likewise.
32499 * posix/getaddrinfo.c: Likewise.
32500 * posix/getegid.c: Likewise.
32501 * posix/geteuid.c: Likewise.
32502 * posix/getgid.c: Likewise.
32503 * posix/getgroups.c: Likewise.
32504 * posix/getlogin.c: Likewise.
32505 * posix/getlogin_r.c: Likewise.
32506 * posix/getpgid.c: Likewise.
32507 * posix/getpid.c: Likewise.
32508 * posix/getppid.c: Likewise.
32509 * posix/getresgid.c: Likewise.
32510 * posix/getresuid.c: Likewise.
32511 * posix/getsid.c: Likewise.
32512 * posix/getuid.c: Likewise.
32513 * posix/glob64.c: Likewise.
32514 * posix/nanosleep.c: Likewise.
32515 * posix/pathconf.c: Likewise.
32516 * posix/pause.c: Likewise.
32517 * posix/posix_madvise.c: Likewise.
32518 * posix/pread.c: Likewise.
32519 * posix/pread64.c: Likewise.
32520 * posix/pwrite.c: Likewise.
32521 * posix/pwrite64.c: Likewise.
32522 * posix/sched_getaffinity.c: Likewise.
32523 * posix/sched_getp.c: Likewise.
32524 * posix/sched_gets.c: Likewise.
32525 * posix/sched_primax.c: Likewise.
32526 * posix/sched_primin.c: Likewise.
32527 * posix/sched_rr_gi.c: Likewise.
32528 * posix/sched_setaffinity.c: Likewise.
32529 * posix/sched_setp.c: Likewise.
32530 * posix/sched_sets.c: Likewise.
32531 * posix/sched_yield.c: Likewise.
32532 * posix/setgid.c: Likewise.
32533 * posix/setlogin.c: Likewise.
32534 * posix/setpgid.c: Likewise.
32535 * posix/setresgid.c: Likewise.
32536 * posix/setresuid.c: Likewise.
32537 * posix/setsid.c: Likewise.
32538 * posix/setuid.c: Likewise.
32539 * posix/sleep.c: Likewise.
32540 * posix/spawni.c: Likewise.
32541 * posix/sysconf.c: Likewise.
32542 * posix/times.c: Likewise.
32543 * posix/wait.c: Likewise.
32544 * posix/wait3.c: Likewise.
32545 * posix/wait4.c: Likewise.
32546 * posix/waitpid.c: Likewise.
32547 * resolv/gai_sigqueue.c: Likewise.
32548 * resource/getpriority.c: Likewise.
32549 * resource/getrlimit.c: Likewise.
32550 * resource/getrusage.c: Likewise.
32551 * resource/nice.c: Likewise.
32552 * resource/setpriority.c: Likewise.
32553 * resource/setrlimit.c: Likewise.
32554 * resource/ulimit.c: Likewise.
32555 * rt/aio_cancel.c: Likewise.
32556 * rt/aio_fsync.c: Likewise.
32557 * rt/aio_read.c: Likewise.
32558 * rt/aio_sigqueue.c: Likewise.
32559 * rt/aio_suspend.c: Likewise.
32560 * rt/aio_write.c: Likewise.
32561 * rt/clock_getres.c: Likewise.
32562 * rt/clock_gettime.c: Likewise.
32563 * rt/clock_nanosleep.c: Likewise.
32564 * rt/clock_settime.c: Likewise.
32565 * rt/lio_listio.c: Likewise.
32566 * rt/mq_close.c: Likewise.
32567 * rt/mq_getattr.c: Likewise.
32568 * rt/mq_notify.c: Likewise.
32569 * rt/mq_open.c: Likewise.
32570 * rt/mq_receive.c: Likewise.
32571 * rt/mq_send.c: Likewise.
32572 * rt/mq_setattr.c: Likewise.
32573 * rt/mq_timedreceive.c: Likewise.
32574 * rt/mq_timedsend.c: Likewise.
32575 * rt/mq_unlink.c: Likewise.
32576 * rt/shm_open.c: Likewise.
32577 * rt/shm_unlink.c: Likewise.
32578 * rt/timer_create.c: Likewise.
32579 * rt/timer_delete.c: Likewise.
32580 * rt/timer_getoverr.c: Likewise.
32581 * rt/timer_gettime.c: Likewise.
32582 * rt/timer_settime.c: Likewise.
32583 * setjmp/__longjmp.c: Likewise.
32584 * setjmp/setjmp.c: Likewise.
32585 * signal/kill.c: Likewise.
32586 * signal/killpg.c: Likewise.
32587 * signal/raise.c: Likewise.
32588 * signal/sigaction.c: Likewise.
32589 * signal/sigaltstack.c: Likewise.
32590 * signal/sigblock.c: Likewise.
32591 * signal/sigignore.c: Likewise.
32592 * signal/sigintr.c: Likewise.
32593 * signal/signal.c: Likewise.
32594 * signal/sigpause.c: Likewise.
32595 * signal/sigpending.c: Likewise.
32596 * signal/sigqueue.c: Likewise.
32597 * signal/sigreturn.c: Likewise.
32598 * signal/sigset.c: Likewise.
32599 * signal/sigsetmask.c: Likewise.
32600 * signal/sigstack.c: Likewise.
32601 * signal/sigsuspend.c: Likewise.
32602 * signal/sigtimedwait.c: Likewise.
32603 * signal/sigvec.c: Likewise.
32604 * signal/sigwait.c: Likewise.
32605 * signal/sigwaitinfo.c: Likewise.
32606 * signal/sysv_signal.c: Likewise.
32607 * socket/accept.c: Likewise.
32608 * socket/accept4.c: Likewise.
32609 * socket/bind.c: Likewise.
32610 * socket/connect.c: Likewise.
32611 * socket/getpeername.c: Likewise.
32612 * socket/getsockname.c: Likewise.
32613 * socket/getsockopt.c: Likewise.
32614 * socket/isfdtype.c: Likewise.
32615 * socket/listen.c: Likewise.
32616 * socket/recv.c: Likewise.
32617 * socket/recvfrom.c: Likewise.
32618 * socket/recvmsg.c: Likewise.
32619 * socket/send.c: Likewise.
32620 * socket/sendmsg.c: Likewise.
32621 * socket/sendto.c: Likewise.
32622 * socket/setsockopt.c: Likewise.
32623 * socket/shutdown.c: Likewise.
32624 * socket/sockatmark.c: Likewise.
32625 * socket/socket.c: Likewise.
32626 * socket/socketpair.c: Likewise.
32627 * stdio-common/ctermid.c: Likewise.
32628 * stdio-common/cuserid.c: Likewise.
32629 * stdio-common/remove.c: Likewise.
32630 * stdio-common/rename.c: Likewise.
32631 * stdio-common/renameat.c: Likewise.
32632 * stdio-common/tempname.c: Likewise.
32633 * stdlib/getcontext.c: Likewise.
32634 * stdlib/makecontext.c: Likewise.
32635 * stdlib/setcontext.c: Likewise.
32636 * stdlib/swapcontext.c: Likewise.
32637 * stdlib/system.c: Likewise.
32638 * streams/fattach.c: Likewise.
32639 * streams/fdetach.c: Likewise.
32640 * streams/getmsg.c: Likewise.
32641 * streams/getpmsg.c: Likewise.
32642 * streams/putmsg.c: Likewise.
32643 * streams/putpmsg.c: Likewise.
32644 * sysdeps/unix/bsd/getpt.c: Likewise.
32645 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32646 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32647 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32649 Likewise.
32650 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32651 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32652 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32653 * sysvipc/msgctl.c: Likewise.
32654 * sysvipc/msgget.c: Likewise.
32655 * sysvipc/msgrcv.c: Likewise.
32656 * sysvipc/msgsnd.c: Likewise.
32657 * sysvipc/semctl.c: Likewise.
32658 * sysvipc/semget.c: Likewise.
32659 * sysvipc/semop.c: Likewise.
32660 * sysvipc/semtimedop.c: Likewise.
32661 * sysvipc/shmat.c: Likewise.
32662 * sysvipc/shmctl.c: Likewise.
32663 * sysvipc/shmdt.c: Likewise.
32664 * sysvipc/shmget.c: Likewise.
32665 * termios/tcdrain.c: Likewise.
32666 * termios/tcflow.c: Likewise.
32667 * termios/tcflush.c: Likewise.
32668 * termios/tcgetattr.c: Likewise.
32669 * termios/tcgetpgrp.c: Likewise.
32670 * termios/tcsendbrk.c: Likewise.
32671 * termios/tcsetattr.c: Likewise.
32672 * termios/tcsetpgrp.c: Likewise.
32673 * time/adjtime.c: Likewise.
32674 * time/clock.c: Likewise.
32675 * time/getitimer.c: Likewise.
32676 * time/gettimeofday.c: Likewise.
32677 * time/setitimer.c: Likewise.
32678 * time/settimeofday.c: Likewise.
32679 * time/stime.c: Likewise.
32680 * time/time.c: Likewise.
32681
326822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32683
a20492cf
PT
32684 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32685 /usr/old/bin.
32686
72e182e3
PT
32687 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32688 instead of spaces.
32689 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32690
fbeafede
JM
326912012-11-03 Joseph Myers <joseph@codesourcery.com>
32692
5b5b04d6
JM
32693 [BZ #14796]
32694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32695 FE_TONEAREST before applying Dekker multiplication and Knuth
32696 addition. Clear inexact exceptions and check for exact zero
32697 results afterwards.
32698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32701 * math/libm-test.inc (fma_test): Add more tests.
32702 (fma_test_towardzero): Likewise.
32703 (fma_test_downward): Likewise.
32704 (fma_test_upward): Likewise.
32705 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32706 function.
32707 (libc_fesetround): New macro.
32708 (libc_fesetroundf): Likewise.
32709 (libc_fesetroundl): Likewise.
32710 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32711 function.
32712 (libc_fesetround_387): Likewise.
32713 (libc_fesetroundf): New macro.
32714 (libc_fesetround): Likewise.
32715 (libc_fesetroundl): Likewise.
32716 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32717 function.
32718 (libc_fesetroundf): New macro.
32719 (libc_fesetround): Likewise.
32720 (libc_fesetroundl): Likewise.
32721 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32722 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32723 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32724 libm_hidden_ver.
32725 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32726 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32727 libm_hidden_def.
32728 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32729 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32730 libm_hidden_ver.
32731 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32732 libm_hidden_def.
32733
fbeafede
JM
32734 [BZ #3439]
32735 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32736 integer constant usable in #if and use that to give value to enum
32737 constant.
32738 (FE_DIVBYZERO): Likewise.
32739 (FE_UNDERFLOW): Likewise.
32740 (FE_OVERFLOW): Likewise.
32741 (FE_INVALID): Likewise.
32742 (FE_INVALID_SNAN): Likewise.
32743 (FE_INVALID_ISI): Likewise.
32744 (FE_INVALID_IDI): Likewise.
32745 (FE_INVALID_ZDZ): Likewise.
32746 (FE_INVALID_IMZ): Likewise.
32747 (FE_INVALID_COMPARE): Likewise.
32748 (FE_INVALID_SOFTWARE): Likewise.
32749 (FE_INVALID_SQRT): Likewise.
32750 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32751 (FE_TONEAREST): Likewise.
32752 (FE_TOWARDZERO): Likewise.
32753 (FE_UPWARD): Likewise.
32754 (FE_DOWNWARD): Likewise.
32755 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32756 (FE_DIVBYZERO): Likewise.
32757 (FE_OVERFLOW): Likewise.
32758 (FE_UNDERFLOW): Likewise.
32759 (FE_INEXACT): Likewise.
32760 (FE_TONEAREST): Likewise.
32761 (FE_DOWNWARD): Likewise.
32762 (FE_UPWARD): Likewise.
32763 (FE_TOWARDZERO): Likewise.
32764 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32765 (FE_UNDERFLOW): Likewise.
32766 (FE_OVERFLOW): Likewise.
32767 (FE_DIVBYZERO): Likewise.
32768 (FE_INVALID): Likewise.
32769 (FE_TONEAREST): Likewise.
32770 (FE_TOWARDZERO): Likewise.
32771 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32772 (FE_OVERFLOW): Likewise.
32773 (FE_UNDERFLOW): Likewise.
32774 (FE_DIVBYZERO): Likewise.
32775 (FE_INEXACT): Likewise.
32776 (FE_TONEAREST): Likewise.
32777 (FE_TOWARDZERO): Likewise.
32778 (FE_UPWARD): Likewise.
32779 (FE_DOWNWARD): Likewise.
32780 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32781 (FE_DIVBYZERO): Likewise.
32782 (FE_OVERFLOW): Likewise.
32783 (FE_UNDERFLOW): Likewise.
32784 (FE_INEXACT): Likewise.
32785 (FE_TONEAREST): Likewise.
32786 (FE_DOWNWARD): Likewise.
32787 (FE_UPWARD): Likewise.
32788 (FE_TOWARDZERO): Likewise.
32789
105ca950
CM
327902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32791
32792 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32793
a542b389
AS
327942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32795
32796 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32797 commands. Quote $PWD.
32798 (blacklist_exports): Don't use remove_newlines. Replace "declare
32799 -x" by "export".
32800 (remove_newlines): Remove.
32801
f62c8abc
L
328022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32805 * stdlib/stdlib.h (atof): Moved to ...
32806 * include/bits/stdlib-float.h: Here. New file.
32807 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32808 * stdlib/bits/stdlib-float.h: New file.
32809 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32810 -mno-sse -mno-mmx.
32811 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32812 <xmmintrin.h>.
32813
0155d5b2
JM
328142012-11-02 Joseph Myers <joseph@codesourcery.com>
32815
a68d0680
JM
32816 * conform/conformtest.pl (@headers): Add fenv.h.
32817 * conform/data/fenv.h-data: New file.
32818 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32819 include of <math/fenv.h>.
32820
caf7f573
JM
32821 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32822 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32823 && !UNIX98]. Enables tests for XOPEN2K8.
32824 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32825 POSIX2008]: Likewise.
32826
6c073ad6
JM
32827 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32828 (struct rusage): Do not expect type or its members.
32829
0155d5b2
JM
32830 [BZ #3439]
32831 * math/math.h (FP_NAN): Define macro to integer constant usable in
32832 #if and use that to give value to enum constant.
32833 (FP_INFINITE): Likewise.
32834 (FP_ZERO): Likewise.
32835 (FP_SUBNORMAL): Likewise.
32836 (FP_NORMAL): Likewise.
32837
b5dcacb4
AS
328382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32839
32840 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32841 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32842 arguments.
32843
f7934be8
RM
328442012-11-02 Roland McGrath <roland@hack.frob.com>
32845
32846 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32847 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32848 autoconf-time if not.
32849 * configure.in: Remove AC_PREREQ.
32850
d7d08bde
TMQMF
328512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32852
32853 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32854 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32855 of the internal implementation.
32856
dcdae19a
JM
328572012-11-02 Joseph Myers <joseph@codesourcery.com>
32858
32859 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32860 except include of <misc/sys/syslog.h>.
32861
d6cffd3e
AS
328622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32863
32864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32865 function returns with a NULL context exit with zero.
32866
b3563932
TMQMF
328672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32868
32869 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32870
b288a93d
L
328712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32872
32873 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32874 (run_program_cmd): This.
32875 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32876 (tst_langinfo): New variable. Use it.
32877
a2421a68
SAS
328782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32879
32880 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32881 floating point opcodes.
32882
6f796e1b
TS
328832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32884
7402596b
TS
32885 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32886 variable.
32887
d0d4f868
TS
32888 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32889
6f796e1b
TS
32890 * sysdeps/mach/hurd/powerpc: Remove directory.
32891 * sysdeps/mach/powerpc: Likewise.
32892
4da224a2
AS
328932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32894
32895 * scripts/check-local-headers.sh: Ignore c++ headers.
32896
341dd673
TS
328972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32898
32899 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32900 __libc_cleanup_region_start argument.
32901
473611b2
JM
329022012-11-01 Joseph Myers <joseph@codesourcery.com>
32903
32904 [BZ #14784]
32905 [BZ #14785]
32906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32907 x * y using scaling, not as x * y + z.
32908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32910 * math/libm-test.inc (fma_test): Add more tests.
32911 (fma_test_towardzero): Likewise.
32912 (fma_test_downward): Likewise.
32913 (fma_test_upward): Likewise.
32914
4078da3d
TS
329152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32916
32917 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32918
903252aa
JM
329192012-10-31 Joseph Myers <joseph@codesourcery.com>
32920
32921 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32922 New variable.
32923
cbc818d0
TS
329242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32925
32926 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32927
5a03cb1e
AS
329282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32929
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32931 Fix sort order.
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32933 Likewise.
32934
90aff2ff
TMQMF
329352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32936
32937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32938 Fix the order of the list for glibc 2.17.
32939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32940 Likewise.
32941
1818fcb7
AS
329422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32943
32944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32945
ef82f4da
JM
329462012-10-31 Joseph Myers <joseph@codesourcery.com>
32947
16a0e2ec
JM
32948 [BZ #14610]
32949 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32950 for low part of x being zero before using __atanl (y).
32951 * math/libm-test.inc (atan2_test): Add another test.
32952
0eb69512
JM
32953 * manual/install.texi (Configuring and compiling): Document
32954 general use of test-wrapper and test-wrapper-env.
32955 * INSTALL: Regenerated.
32956
ef82f4da
JM
32957 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32958 (__fma): Do not extract and scale down low bits on after-rounding
32959 systems when result rounded to normal precision would have normal
32960 exponent.
32961 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32962 (__fmal): Do not extract and scale down low bits on after-rounding
32963 systems when result rounded to normal precision would have normal
32964 exponent.
32965 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32966 (__fmal): Do not extract and scale down low bits on after-rounding
32967 systems when result rounded to normal precision would have normal
32968 exponent.
32969 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32970 macro.
32971 (fma_test): Add more tests.
32972 (fma_test_towardzero): Likewise.
32973 (fma_test_downward): Likewise.
32974 (fma_test_upward): Likewise.
32975
954ef0d9
L
329762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32977
32978 * sysdeps/i386/tininess.h: Renamed to ...
32979 * sysdeps/x86/tininess.h: This.
32980 * sysdeps/x86_64/tininess.h: Removed.
32981
df61ffb2
JM
329822012-10-30 Joseph Myers <joseph@codesourcery.com>
32983
32984 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32985 input. Use $(build-program-cmd).
32986 ($(objpfx)tst-array1-static.out): Likewise.
32987 ($(objpfx)tst-array2.out): Likewise.
32988 ($(objpfx)tst-array3.out): Likewise.
32989 ($(objpfx)tst-array4.out): Likewise.
32990 ($(objpfx)tst-array5.out): Likewise.
32991 ($(objpfx)tst-array5-static.out): Likewise.
32992
01767843
CM
329932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32994
47cc1490
CM
32995 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32996 if defined.
32997
01767843
CM
32998 * nss/nsswitch.h (nss_interface_function): Provide new
32999 macro for use with NSS functions.
33000 * grp/initgroups.c: Use new macro.
33001 * nss/getXXbyYY.c: Likewise.
33002 * nss/getXXbyYY_r.c: Likewise.
33003 * nss/getXXent.c: Likewise.
33004 * nss/getXXent_r.c: Likewise.
33005 * sysdeps/posix/getaddrinfo.c: Likewise.
33006
8321aa97
AJ
330072012-10-30 Andreas Jaeger <aj@suse.de>
33008
33009 * po/ru.po: Update Russion translation from translation project.
33010
2a27fd6d
JM
330112012-10-30 Joseph Myers <joseph@codesourcery.com>
33012
8627a232
JM
33013 [BZ #14152]
33014 [BZ #14783]
33015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33016 result and shift together with sticky bit instead of replicating
33017 round-to-nearest rounding.
33018 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33020 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33021 missing underflow exceptions.
33022 (fma_test_towardzero): Add more tests.
33023 (fma_test_downward): Likewise.
33024 (fma_test_upward): Likewise.
33025
2a27fd6d
JM
33026 [BZ #14047]
33027 * sysdeps/generic/tininess.h: New file.
33028 * sysdeps/i386/tininess.h: Likewise.
33029 * sysdeps/sh/tininess.h: Likewise.
33030 * sysdeps/x86_64/tininess.h: Likewise.
33031 * stdlib/tst-strtod-underflow.c: Likewise.
33032 * stdlib/tst-tininess.c: Likewise.
33033 * stdlib/strtod_l.c: Include <tininess.h>.
33034 (round_and_return): Do not set errno for exact underflow cases.
33035 Force an underflow exception when setting errno for underflow.
33036 Determine underflow based on rounding to normal precision if
33037 TININESS_AFTER_ROUNDING.
33038 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33039 ERANGE for exact underflow cases.
33040 * stdlib/Makefile (tests): Add tst-tininess and
33041 tst-strtod-underflow.
33042 ($(objpfx)tst-tininess): Use $(link-libm).
33043 ($(objpfx)tst-strtod-underflow): Likewise.
33044
e7170363
AJ
330452012-10-30 Andreas Jaeger <aj@suse.de>
33046
e5088dc6
AJ
33047 [BZ#14767]
33048 * elf/Makefile (tests): Remove conditional for have-initfini-array
33049 since this is now always required and the variable does not exist
33050 anymore.
33051 (tests-static): Likewise.
33052 (modules-names): Likewise.
33053
e7170363 33054 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
33055
33056 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33057 merged with constructor/destructor.
33058 (init_array): Likewise.
33059 * elf/tst-array2dep.c (fini_array): Likewise.
33060 (init_array): Likewise.
33061
60457d8a
MF
330622012-10-29 Mike Frysinger <vapier@gentoo.org>
33063
33064 * manual/message.texi: Delete @cartouche tags.
33065
8bece752
PT
330662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33067
94ce799f
PT
33068 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33069 EOPNOTSUPP.
33070 * sysdeps/mach/hurd/fsync.c: Likewise.
33071
8bece752
PT
33072 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33073 [_POSIX_REALTIME_SIGNALS]: Change condition to
33074 [_POSIX_REALTIME_SIGNALS > 0].
33075
86ebe6b1
AJ
330762012-10-27 Andreas Jaeger <aj@suse.de>
33077
33078 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33079 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33081 [__WORDSIZE != 64]: Likewise.
33082
54399c08
L
330832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33084
33085 * iconvdata/tst-table.sh: Remove ${SHELL}.
33086 * iconvdata/tst-tables.sh: Likewise.
33087
e2211bed
DM
330882012-10-25 David S. Miller <davem@davemloft.net>
33089
33090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33091 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33092 of strtoull.
33093
f303f97c
DM
33094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33095 ifunc-impl-list.c
33096 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33097 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33098 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33099 file.
33100
1e9d84cd
RM
331012012-10-25 Roland McGrath <roland@hack.frob.com>
33102
33103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33104 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33105 __getdirentries.
33106
df381762
JM
331072012-10-25 Joseph Myers <joseph@codesourcery.com>
33108 Jim Blandy <jimb@codesourcery.com>
33109
33110 * scripts/cross-test-ssh.sh: New file.
33111 * manual/install.texi (Configuring and compiling): Document use of
33112 cross-test-ssh.sh.
33113 * INSTALL: Regenerated.
33114
bff64913
PT
331152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33116
33117 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33118 EOPNOTSUPP.
33119
25fe8932
JM
331202012-10-25 Joseph Myers <joseph@codesourcery.com>
33121
33122 * Makeconfig (run-program-prefix): Fix comment.
33123
cc1290d0
JM
331242012-10-24 Joseph Myers <joseph@codesourcery.com>
33125 Jim Blandy <jimb@codesourcery.com>
33126
33127 * Makeconfig (test-wrapper): New variable,
33128 (test-wrapper-env): Likewise.
33129 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33130 (run-built-tests): Define to yes.
33131 (run-program-prefix): Use $(test-wrapper).
33132 (built-program-cmd): Likewise.
33133 * Rules (make-test-out): Use $(test-wrapper-env) and
33134 $(host-built-program-cmd).
33135 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33136 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33137 tst-pathopt.sh.
33138 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33139 $(test-wrapper-env) to tst-rtld-load-self.sh.
33140 ($(objpfx)order2.out): Use $(test-wrapper).
33141 ($(objpfx)tst-initorder.out): Likewise.
33142 ($(objpfx)tst-initorder2.out): Likewise.
33143 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33144 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33145 (test_wrapper_env): New variable. Use it to run ld.so.
33146 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33147 Use it to run ld.so.
33148 (test_wrapper_env): Likewise.
33149 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33150 $(test-wrapper) to run-iconv-test.sh.
33151 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33152 (ICONV): Use $test_wrapper.
33153 * posix/Makefile ($(objpfx)globtest.out): Pass
33154 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33155 globtest.sh, not $(run-program-prefix).
33156 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33157 (test_wrapper): Likewise.
33158 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33159 set together with run_via_rtld_prefix.
33160 (run_program_prefix): Define in terms of test_wrapper and
33161 run_via_rtld_prefix.
33162
6e6249d0
RM
331632012-10-24 Roland McGrath <roland@hack.frob.com>
33164
33165 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33166 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33167 Targets removed.
33168
33169 [BZ #14743]
33170 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33171 Declare __clock_getres, __clock_gettime, __clock_settime,
33172 __clock_nanosleep, and __clock_getcpuclockid.
33173 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33174 Remove librt_hidden_def (clock_gettime).
33175 * sysdeps/unix/clock_gettime.c: Likewise.
33176 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33178 * rt/clock_getres.c: Define __clock_getres as an alias.
33179 * sysdeps/posix/clock_getres.c: Likewise.
33180 * rt/clock_settime.c: Define __clock_settime as an alias.
33181 * sysdeps/unix/clock_settime.c: Likewise.
33182 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33183 * sysdeps/unix/clock_nanosleep.c: Likewise.
33184 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33185 * rt/clock-compat.c: New file.
33186 * rt/Makefile (librt-routines): Add clock-compat and move
33187 $(clock-routines) to ...
33188 (routines): ... here, new variable.
33189 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33190 Don't add get_clockfreq here.
33191 * rt/Versions (libc: GLIBC_2.17): New version set.
33192 Add clock_* symbols here.
33193 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33195 (GLIBC_2.17): Add clock_* symbols.
33196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33200 Likewise.
33201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33202 Likewise.
33203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33207 * NEWS: Mention the move.
33208
33209 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33210 Use __open, __read, __close rather than their public counterparts.
33211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33212 (__get_clockfreq_via_cpuinfo): Likewise.
33213 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33214 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33215
33216 * config.h.in (HAVE_IFUNC): New #undef.
33217 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33218 was successful.
33219 * configure: Regenerated.
33220
0cae3f4b
MF
332212012-10-24 Mike Frysinger <vapier@gentoo.org>
33222
33223 * configure.in: Move READELF check to start of file.
33224 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33225 libc_cv_asm_gnu_indirect_function in the process.
33226 * configure: Regenerated.
33227
8175a253
MF
332282012-10-24 Mike Frysinger <vapier@gentoo.org>
33229
33230 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33231 send the output to /dev/null.
33232 (libc_cv_cc_with_libunwind): Likewise.
33233 (libc_cv_as_noexecstack): Likewise.
33234 * configure: Regenerate.
33235
0708a7d1
JM
332362012-10-24 Joseph Myers <joseph@codesourcery.com>
33237
10b40d85
JM
33238 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33239
0708a7d1
JM
33240 * posix/globtest.sh (TMPDIR): Do not set.
33241 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33242 (testout): Likewise.
33243
9fddec1a
AJ
332442012-10-24 Andreas Jaeger <aj@suse.de>
33245
3a8db22f
AJ
33246 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33247 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33248 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33249 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33250 posix_fadvise64, posix_fallocate64.
33251
9fddec1a
AJ
33252 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33253 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33254 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33255 Likewise.
33256 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33257 Likewise.
33258 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33259
33260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33261 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33262 <bits/fcntl-linux.h>.
33263 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33264
33265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33266 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33267 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33268 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33269 [__WORDSIZE != 64]: Likewise.
33270
ebfd1bbd
JM
332712012-10-23 Joseph Myers <joseph@codesourcery.com>
33272
03ac099f
JM
33273 * Makeconfig (run-built-tests): New variable.
33274 * Rules [$(cross-compiling) = yes]: Change condition to
33275 [$(run-built-tests) = no].
33276 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33277 to [$(run-built-tests) = yes].
33278 * elf/Makefile [$(cross-compiling) = no]: Likewise
33279 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33280 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33281 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33282 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33283 * io/Makefile [$(cross-compiling) = no]: Likewise.
33284 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33285 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33286 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33287 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33288 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33289 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33290 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33291 * string/Makefile [$(cross-compiling) = no]: Likewise.
33292
ebfd1bbd
JM
33293 * posix/Makefile ($(objpfx)globtest.out): Pass
33294 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33295 $(rtld-installed-name).
33296 * posix/globtest.sh (elf_objpfx): Remove variable.
33297 (rtld_installed_name): Likewise.
33298 (library_path): Likewise.
33299 (run_program_prefix): New variable. Use for running globtest
33300 binary.
33301
166bca24
JB
333022012-10-23 Jim Blandy <jimb@codesourcery.com>
33303 Joseph Myers <joseph@codesourcery.com>
33304
33305 * Makeconfig (host-built-program-cmd): New variable.
33306 * elf/Makefile (tst-stackguard1-ARGS): Use
33307 $(host-built-program-cmd).
33308 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33309 (tst-spawn-ARGS): Likewise.
33310 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33311
88866099
JM
333122012-10-23 Joseph Myers <joseph@codesourcery.com>
33313 Jim Blandy <jimb@codesourcery.com>
33314
33315 * Makeconfig (run-via-rtld-prefix): New variable.
33316 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33317 (built-program-cmd): Likewise.
33318
b4b4c296
AJ
333192012-10-22 Andreas Jaeger <aj@suse.de>
33320
33321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33322 __O_RSYNC if it exists, otherwise to O_SYNC.
33323
6fb54a22
JB
333242012-10-22 Jim Blandy <jimb@codesourcery.com>
33325 Joseph Myers <joseph@codesourcery.com>
33326
33327 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33328 /dev/null.
33329 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33330 from /dev/null
33331 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33332 /dev/null.
33333
481b90b9
AJ
333342012-10-22 Andreas Jaeger <aj@suse.de>
33335
2a0e2669
AJ
33336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33337 Define always.
33338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33339
76e38f9a
AJ
33340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33341 bits/fcntl-linux.h.
33342
7cd37b43
AJ
33343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33344 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33345
481b90b9
AJ
33346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33347 to __O_LARGEFILE.
33348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33349 to __O_LARGEFILE.
33350
aba75984
JB
333512012-10-21 Jim Blandy <jimb@codesourcery.com>
33352 Joseph Myers <joseph@codesourcery.com>
33353
33354 * config.make.in (NM): New variable.
33355
88d4247f
AJ
333562012-10-21 Andreas Jaeger <aj@suse.de>
33357
33358 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33359 definitions and declarations that are provided by
33360 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33361
f2eed205
L
333622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33363
33364 [BZ #14683]
33365 * elf/Makefile (tests-static): Add tst-leaks1-static.
33366 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33367 ($(objpfx)tst-leaks1-static): New rule.
33368 ($(objpfx)tst-leaks1-static-mem): Likewise.
33369 (tst-leaks1-static-ENV): New macro.
33370 * elf/dl-open.c (dl_open_worker): Check the main application
33371 only if SHARED is defined.
33372 * elf/tst-leaks1-static.c: New file.
33373
335e6931
AJ
333742012-10-20 Andreas Jaeger <aj@suse.de>
33375
33376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33377 generic values for Linux.
33378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33379 and declarations that are provided by <bits/fcntl-linux.h> and
33380 include <bits/fcntl-linux.h>.
33381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33383
ac5c94d3
RM
333842012-10-20 Roland McGrath <roland@hack.frob.com>
33385
33386 * io/fcntl.h: Move include of <bits/types.h> to the top and
33387 include it unconditionally.
33388
de54b33a
L
333892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33390
228cfb01
L
33391 * wcsmbs/Makefile (tests-ifunc): New variable.
33392 (tests): Add $(tests-ifunc).
33393 * wcsmbs/test-wcschr-ifunc.c: New file.
33394 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33395 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33396 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33397 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33398 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33399
69f07e5f
L
33400 * string/Makefile (tests-ifunc): New variable.
33401 (tests): Add $(tests-ifunc).
33402 * string/test-memccpy.c (TEST_NAME): New macro.
33403 * string/test-memchr.c (TEST_NAME): Likewise.
33404 * string/test-memcmp.c (TEST_NAME): Likewise.
33405 * string/test-memcpy.c (TEST_NAME): Likewise.
33406 * string/test-memmem.c (TEST_NAME): Likewise.
33407 * string/test-memmove.c (TEST_NAME): Likewise.
33408 * string/test-memset.c (TEST_NAME): Likewise.
33409 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33410 * string/test-stpcpy.c (TEST_NAME): Likewise.
33411 * string/test-stpncpy.c (TEST_NAME): Likewise.
33412 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33413 * string/test-strcasestr.c (TEST_NAME): Likewise.
33414 * string/test-strcat.c (TEST_NAME): Likewise.
33415 * string/test-strchr.c (TEST_NAME): Likewise.
33416 * string/test-strcmp.c(TEST_NAME): Likewise.
33417 * string/test-strcpy.c (TEST_NAME): Likewise.
33418 * string/test-strcspn.c (TEST_NAME): Likewise.
33419 * string/test-strlen.c (TEST_NAME): Likewise.
33420 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33421 * string/test-strncmp.c (TEST_NAME): Likewise.
33422 * string/test-strncpy.c (TEST_NAME): Likewise.
33423 * string/test-strnlen.c (TEST_NAME): Likewise.
33424 * string/test-strpbrk.c (TEST_NAME): Likewise.
33425 * string/test-strrchr.c (TEST_NAME): Likewise.
33426 * string/test-strspn.c (TEST_NAME): Likewise.
33427 * string/test-strstr.c (TEST_NAME): Likewise.
33428 * string/test-bcopy-ifunc.c: New file.
33429 * string/test-bzero-ifunc.c: Likewise.
33430 * string/test-memccpy-ifunc.c: Likewise.
33431 * string/test-memchr-ifunc.c: Likewise.
33432 * string/test-memcmp-ifunc.c: Likewise.
33433 * string/test-memcpy-ifunc.c: Likewise.
33434 * string/test-memmem-ifunc.c: Likewise.
33435 * string/test-memmove-ifunc.c: Likewise.
33436 * string/test-mempcpy-ifunc.c: Likewise.
33437 * string/test-memset-ifunc.c: Likewise.
33438 * string/test-rawmemchr-ifunc.c: Likewise.
33439 * string/test-stpcpy-ifunc.c: Likewise.
33440 * string/test-stpncpy-ifunc.c: Likewise.
33441 * string/test-strcasecmp-ifunc.c: Likewise.
33442 * string/test-strcasestr-ifunc.c: Likewise.
33443 * string/test-strcat-ifunc.c: Likewise.
33444 * string/test-strchr-ifunc.c: Likewise.
33445 * string/test-strchrnul-ifunc.c: Likewise.
33446 * string/test-strcmp-ifunc.c: Likewise.
33447 * string/test-strcpy-ifunc.c: Likewise.
33448 * string/test-strcspn-ifunc.c: Likewise.
33449 * string/test-strlen-ifunc.c: Likewise.
33450 * string/test-strncasecmp-ifunc.c: Likewise.
33451 * string/test-strncat-ifunc.c: Likewise.
33452 * string/test-strncmp-ifunc.c: Likewise.
33453 * string/test-strncpy-ifunc.c: Likewise.
33454 * string/test-strnlen-ifunc.c: Likewise.
33455 * string/test-strpbrk-ifunc.c: Likewise.
33456 * string/test-strrchr-ifunc.c: Likewise.
33457 * string/test-strspn-ifunc.c: Likewise.
33458 * string/test-strstr-ifunc.c: Likewise.
33459
de54b33a
L
33460 * debug/Makefile (tests-ifunc): New variable.
33461 (tests): Add $(tests-ifunc).
33462 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33463 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33464 * debug/test-stpcpy_chk-ifunc.c: New file.
33465 * debug/test-strcpy_chk-ifunc.c: Likewise.
33466
88481c16
SP
334672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33468
33469 [BZ #13601]
33470 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33471 header is not read in.
33472
135948bd
JM
334732012-10-19 Joseph Myers <joseph@codesourcery.com>
33474
89f1c388
JM
33475 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33476 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33477 directly. Pass built executable to script as
33478 $(built-program-cmd).
33479 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33480 $testprogram without using LD_LIBRARY_PATH and $ldso.
33481
e40a0d21
JM
33482 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33483 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33484 $(rtld-installed-name).
33485 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33486 (rtld_installed_name): Likewise.
33487 (library_path): Likewise.
33488 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33489 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33490 $(run-program-prefix) to tst-tables.sh.
33491 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33492 it to run tst-table-from and tst-table-to.
33493 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33494 Pass it to tst-table.sh.
33495 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33496 $(run-program-prefix) to tst-gettext.sh.
33497 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33498 tst-translit.sh.
33499 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33500 tst-gettext2.sh.
33501 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33502 to run tst-gettext.
33503 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33504 to run tst-gettext2.
33505 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33506 to run tst-translit.
33507 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33508 $(run-program-prefix) to tst-mtrace.sh.
33509 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33510 to run tst-mtrace.
33511 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33512 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33513 $(rtld-installed-name).
33514 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33515 (rtld_installed_name): Likewise.
33516 (run_program_prefix): New variable. Use it to run wordexp-test.
33517
728e272a
JM
33518 * Makeconfig (ARCH): Remove all definitions.
33519 (machine): Likewise.
33520 [ARCH]: Remove conditional code.
33521 [!objdir]: Give error.
33522 [!objdir] (objpfx): Remove.
33523 [!objdir] (common-objpfx): Likewise.
33524 [!objdir] (common-objdir): Likewise.
33525 * configure.in (config_makefile): Remove. Hardcode Makefile in
33526 AC_CONFIG_FILES call.
33527 * configure: Regenerated.
33528
d528cdcf
JM
33529 [BZ #13888]
33530 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33531 or TMPDIR.
33532 (testout): Likewise.
33533
135948bd
JM
33534 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33535 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33536 $(rtld-installed-name).
33537 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33538 (rtld_installed_name): Likwise.
33539 (runit): Remove function.
33540 (run_getconf): New variable, Use it for running getconf binary.
33541
38c78296
L
335422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33543
33544 [BZ #14716]
33545 * string/test-memmem.c (check_result): New function.
33546 (do_one_test): Use it.
33547 (check1): New function.
33548 (test_main): Use it.
33549
d077f65f
MT
335502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33551
33552 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33553
ced52c71
JM
335542012-10-18 Joseph Myers <joseph@codesourcery.com>
33555
33556 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33557 (_G_LSEEK64): Likewise.
33558 (_G_MMAP64): Likewise.
33559 (_G_FSTAT64): Likewise.
33560 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33561 (_G_LSEEK64): Likewise.
33562 (_G_MMAP64): Likewise.
33563 (_G_FSTAT64): Likewise.
33564 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33565 unconditional. Call __mmap64 directly.
33566 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33567 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33568 __lseek64 directly.
33569 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33570 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33571 __mmap64 directly.
33572 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33573 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33574 __lseek64 directly.
33575 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33576 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33577 __lseek64 directly.
33578 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33579 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33580 __lseek64 directly.
33581 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33582 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33583 __fxstat64 directly.
33584 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33585 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33586 unconditional.
33587 (freopen64) [!_G_OPEN64]: Remove conditional code.
33588 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33589 unconditional.
33590 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33591 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33592 unconditional.
33593 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33594 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33595 unconditional.
33596 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33597 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33598 unconditional.
33599 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33600 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33601 unconditional.
33602 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33603 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33604 unconditional.
33605 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33606 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33607 unconditional.
33608 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33609
b741de23
SP
336102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33611
33612 [BZ #12140]
33613 * manual/memory.texi (Malloc Tunable Parameters): Add note
33614 about free list pointers overwriting some perturb bytes.
33615 Wording suggested by Roland McGrath.
33616
f9b9d9c9
JM
336172012-10-17 Joseph Myers <joseph@codesourcery.com>
33618
33619 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33620 (lgamma_test): Likewise.
33621 (tgamma_test): Likewise.
33622
172a631a
FW
336232012-10-16 Florian Weimer <fweimer@redhat.com>
33624
33625 [BZ #14700]
33626 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33627 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33628
e9f37252
MK
336292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33630
33631 * NEWS: Mention BZ #14716.
33632 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33633 when removing AVAILABLE1_USES_J macro.
33634
d394eb74
L
336352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33636
33637 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33638 (__bswap_64): __uint64_t for unsigned 64-bit int.
33639
ca38dc17
AS
336402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33641
33642 * include/string.h (memmem): Declare libc hidden alias.
33643 * string/memmem.c (memmem): Define libc hidden alias.
33644 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33645 __read, __close instead of open, read, close.
33646
9a387d1f
L
336472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33648
ac49ecaf
L
33649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33650 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33651 global and hidden.
33652 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33653 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33654 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33655 Likewise.
33656 (__rawmemchr_sse2): Likewise.
33657 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33658 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33659 (__strchr_sse2): Likewise.
33660 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33661 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33662 (__strcasecmp_sse2): Likewise.
33663 (__strncasecmp_sse2): Likewise.
33664 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33665 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33666 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33667 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33668 (__strrchr_sse2): Likewise.
33669 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33670 ifunc-impl-list.c.
33671 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33672 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33673 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33674 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33675 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33676 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33677 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33678 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33679 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33680 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33681 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33682 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33683 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33684 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33685 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33686 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33687 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33688 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33689 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33690 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33691 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33692 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33693 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33694 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33695 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33696 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33697 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33698 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33699 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33700 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33701
b090e8ea
L
33702 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33703 global and hidden.
33704 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33705 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33706 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33707 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33708 Likewise.
33709 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33710 Likewise.
33711 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33712 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33713 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33714 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33715 ifunc-impl-list.c.
33716 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33717 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33718 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33719 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33720 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33721 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33722 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33723 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33724 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33725 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33726 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33727 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33728 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33729 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33730 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33731 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33732 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33733 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33734 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33735 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33736 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33737 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33738 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33739 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33740 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33741 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33742 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33743 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33744 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33745 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33746 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33747 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33748 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33749 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33750 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33751 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33752 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33753 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33754 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33755 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33756 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33757
11dd4af6
L
33758 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33759 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33760 * include/ifunc-impl-list.h: New file.
33761 * misc/ifunc-impl-list.c: Likewise.
33762 * misc/Makefile (routines): Add ifunc-impl-list.
33763 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33764 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33765 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33766 TEST_NAME]: New variables.
11dd4af6
L
33767 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33768 are defined.
33769 (test_init): Call __libc_ifunc_impl_list to initialize
33770 func_list if TEST_IFUNC and TEST_NAME are defined.
33771
9a387d1f
L
33772 * string/Makefile (strop-tests): Add bcopy and bzero.
33773 * string/test-bcopy.c: New file.
33774 * string/test-bzero.c: Likewise.
33775 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33776 defined.
33777 * string/test-memset.c: Support bzero test if TEST_BZERO is
33778 defined.
33779 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33780 __libc_memmove.
33781 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33782 __libc_memset.
33783 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33784 of memset.
33785
472371b9
JM
337862012-10-10 Joseph Myers <joseph@codesourcery.com>
33787
1e4a9536
JM
33788 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33789 * configure: Regenerated.
33790
d173d12e
JM
33791 * Makeconfig (+link-static-before-libc): Don't include
33792 $(link-static-libc).
33793
472371b9
JM
33794 * libio/libio.h (_IO_pos_t): Remove.
33795
89a3ad0b
AO
337962012-10-10 Alexandre Oliva <aoliva@redhat.com>
33797
33798 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33799 McGrath.
33800
e7451425
AO
338012012-10-10 Alexandre Oliva <aoliva@redhat.com>
33802
33803 * crypt/crypt-entry.c: Include fips-private.h.
33804 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33805 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33806 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33807 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33808
4ba74a35
AO
338092012-10-10 Alexandre Oliva <aoliva@redhat.com>
33810
33811 * crypt/crypt-private.h: Include stdbool.h.
33812 (_ufc_setup_salt_r): Return bool.
33813 * crypt/crypt-entry.c: Include errno.h.
33814 (__crypt_r): Return NULL with EINVAL for bad salt.
33815 * crypt/crypt_util.c (bad_for_salt): New.
33816 (_ufc_setup_salt_r): Check that salt is long enough and within
33817 the specified alphabet.
33818 * crypt/badsalttest.c: New file.
33819 * crypt/Makefile (tests): Add it.
33820 ($(objpfx)badsalttest): New.
33821
f96f1242
MK
338222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33823
33824 * NEWS: Add entry for BZ #14602.
33825
0e8e0c1c
JM
338262012-10-09 Joseph Myers <joseph@codesourcery.com>
33827
33828 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33829 type-generic.
33830 * math/libm-test.inc: Update comment listing what functions and
33831 macros are tested.
33832 (isgreater_test): New function.
33833 (isgreaterequal_test): Likewise.
33834 (isless_test): Likewise.
33835 (islessequal_test): Likewise.
33836 (islessgreater_test): Likewise.
33837 (isunordered_test): Likewise.
33838 (main): Call the new functions.
33839
273edc5e
RM
338402012-10-09 Roland McGrath <roland@hack.frob.com>
33841
b8493de0
RM
33842 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33843 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33844 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33845 * sysdeps/i386/configure: Regenerated.
33846 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33847 * sysdeps/mach/configure: Regenerated.
33848 * sysdeps/mach/hurd/configure: Regenerated.
33849 * sysdeps/powerpc/configure: Regenerated.
33850 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33851 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33852 * sysdeps/s390/s390-32/configure: Regenerated.
33853 * sysdeps/s390/s390-64/configure: Regenerated.
33854 * sysdeps/sh/configure: Regenerated.
33855 * sysdeps/sparc/configure: Regenerated.
33856 * sysdeps/unix/sysv/linux/configure: Regenerated.
33857 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33858 * sysdeps/x86_64/configure: Regenerated.
33859
273edc5e
RM
33860 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33861 defined. Don't check if MAP is NULL.
33862
c8450f70
JM
338632012-10-09 Joseph Myers <joseph@codesourcery.com>
33864
33865 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33866 (_G_stat64): Likewise.
33867 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33868 (_G_stat64): Likewise.
33869 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33870 instead of struct _G_stat64.
33871 * libio/fileops.c (mmap_remap_check): Likewise.
33872 (decide_maybe_mmap): Likewise.
33873 (_IO_new_file_seekoff): Likewise.
33874 (_IO_file_stat): Likewise.
33875 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33876 _G_off64_t.
33877 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33878 instead of struct _G_stat64.
33879 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33880
57e605ba
MK
338812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33882
33883 [BZ #14602]
33884 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33885 Replace with ...
33886 (CHECK_EOL): New macro.
33887 (two_way_short_needle): Check beginning of haystack for EOL. Use
33888 CHECK_EOL.
33889 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33890 Replace with CHECK_EOL.
33891 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33892 Replace with CHECK_EOL.
33893
ef1bb361
JM
338942012-10-08 Joseph Myers <joseph@codesourcery.com>
33895
33896 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33897 type-generic.
33898 * math/libm-test.inc: Update comment listing what functions and
33899 macros are tested.
33900 (finite_test): New function.
33901 (isinf_test): Likewise.
33902 (isnan_test): Likewise.
33903 (fpclassify_test): Test subnormal input.
33904 (isfinite_test): Likewise.
33905 (isnormal_test): Likewise.
33906 (main): Call the new functions.
33907
55f11534
JN
339082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33909
33910 [BZ #14660]
33911 * Makerules (%.dynsym): Force C locale when running
33912 $(OBJDUMP) --dynamic-syms.
33913
1ab29350
AS
339142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33915
33916 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33917 <stdint.h>.
33918
f1ecb7ef
DM
339192012-10-06 David S. Miller <davem@davemloft.net>
33920
33921 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33922 upper 32-bits of the length value in %o2 since we use branch-on-register
33923 tests which consider the entire 64-bit register.
33924
5d41d91a
L
339252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33926
33927 * string/test-strstr.c (check2): Add a test for page boundary.
33928
3baddb72
DM
339292012-10-05 David S. Miller <davem@davemloft.net>
33930
33931 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33932 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33933 file.
33934 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33935 sysdep_routines.
33936 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33937 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33938 and bzero when HWCAP_SPARC_CRYPTO is present.
33939
9cee5585
L
339402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33941
d7e0dab9
L
33942 [BZ #14602]
33943 * string/test-strstr.c (check2): New function.
33944 (test_main): Call check2.
33945
03759f47
L
33946 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33947 and bug-strchr1.
33948 * string/bug-strcasestr1.c (do_test): Moved to ...
33949 * string/test-strcasestr.c (check1): Here. New function.
33950 (do_one_test): Break out result checking code into ...
33951 (check_result): This. New function.
33952 (do_one_test): Call check_result.
33953 (test_main): Call check1.
33954 * string/bug-strchr1.c (do_test): Moved to ...
33955 * string/test-strchr.c (check1): Here. New function.
33956 (do_one_test): Break out result checking code into ...
33957 (check_result): This. New function.
33958 (do_one_test): Call check_result.
33959 (test_main): Call check1.
33960 * string/bug-strstr1.c (main): Moved to ...
046f153e 33961 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33962 (do_one_test): Break out result checking code into ...
33963 (check_result): This. New function.
33964 (do_one_test): Call check_result.
33965 (test_main): Call check1.
33966 * string/bug-strcasestr1.c: Removed.
33967 * string/bug-strchr1.c: Likewise.
33968 * string/bug-strstr1.c: Likewise.
33969
53cea63e
L
33970 * elf/Makefile (dl-routines): Add hwcaps.
33971 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33972 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33973 (_dl_important_hwcaps): Moved to ...
33974 * elf/dl-hwcaps.c: Here. New file.
33975 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33976
9cee5585 33977 [BZ #14557]
bb859b06
L
33978 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33979 if IS_IN_rtld isn't defined.
33980
9cee5585
L
33981 * elf/dl-support.c (_dl_sysinfo_map): New.
33982 Include "get-dynamic-info.h" and "setup-vdso.h".
33983 (_dl_non_dynamic_init): Call setup_vdso.
33984 * elf/dynamic-link.h: Don't include <assert.h>.
33985 (elf_get_dynamic_info): Moved to ...
33986 * elf/get-dynamic-info.h: Here. New file.
33987 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33988 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33989 * elf/setup-vdso.h: Here. New file.
33990 * elf/rtld.c: Include "setup-vdso.h".
33991 (dl_main): Call setup_vdso.
33992
23c31b76
JM
339932012-10-05 Joseph Myers <joseph@codesourcery.com>
33994
28234b07
JM
33995 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33996 creal in comment listing functions tested. List finite, isinf,
33997 isnan, isless, islessequal, isgreater, isgreaterequal,
33998 islessgreater, isunordered, lgamma_r and pow10 as functions and
33999 macros not tested. Mention which functions not tested are aliases
34000 for other functions. Fix typo. Note that signs of NaNs are not
34001 tested.
34002
23c31b76
JM
34003 * scripts/config.guess: Update from config.git.
34004 * scripts/config.sub: Likewise.
34005
9043e228
RM
340062012-10-04 Roland McGrath <roland@hack.frob.com>
34007
34008 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34009 * misc/madvise.c (madvise): Renamed to __madvise.
34010 Make madvise a weak alias.
34011 * include/sys/mman.h: Declare __madvise.
34012 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34013 * sysdeps/unix/syscalls.list
34014 (madvise): Make __madvise the strong name, and madvise a weak alias.
34015 * sysdeps/unix/sysv/linux/syscalls.list
34016 (madvise, mmap): Remove redundant entries.
34017 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34018 * malloc/malloc.c (mtrim): Likewise.
34019 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34020
f57f8055
RM
340212012-10-03 Roland McGrath <roland@hack.frob.com>
34022
34023 * sysdeps/mach/hurd/dl-cache.c: File removed.
34024 * config.h.in (USE_LDCONFIG): New #undef.
34025 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34026 * configure: Regenerated.
34027 * elf/Makefile (dl-routines): Add dl-cache only under
34028 [$(use-ldconfig) = yes].
34029 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34030 cache on [USE_LDCONFIG].
34031 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34032 [USE_LDCONFIG].
34033 * elf/rtld.c (dl_main): Likewise.
34034
5bb0c10a
PT
340352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34036
34037 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34038 _SC_LEVEL4_CACHE_LINESIZE.
34039
010188c6
RM
340402012-10-03 Roland McGrath <roland@hack.frob.com>
34041
34042 * sysdeps/unix/bsd/confstr.h: File removed.
34043
b6c5ec07
AO
340442012-10-02 Alexandre Oliva <aoliva@redhat.com>
34045
34046 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34047 sys/sdt-config.h.
34048
408223d4
RM
340492012-10-02 Roland McGrath <roland@hack.frob.com>
34050
34051 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34052 Make 'mapoff' field ElfW(Off) rather than off_t.
34053
bb9510dc
DL
340542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34055
fc997c6e
DL
34056 * nscd/Makefile: Remove nscd-cflags and all its users.
34057 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34058 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34059
bb9510dc
DL
34060 [BZ #10631]
34061 * malloc.c (malloc_printerr): Clarify error message.
34062
05699367
L
340632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34064
34065 [BZ #14648]
34066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34067 Set bit_FMA_Usable if FMA is supported.
34068 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34069 macro.
34070 (bit_FMA4_Usable): Updated.
34071 (index_FMA_Usable): New macro.
34072 (CPUID_FMA): Likewise
34073 (HAS_FMA): Defined with bit_FMA_Usable.
34074
51367701
RM
340752012-10-01 Roland McGrath <roland@hack.frob.com>
34076
34077 * bits/types.h (__swblk_t): Type removed.
34078 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34079 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34081 (__SWBLK_T_TYPE): Likewise.
34082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34083 (__SWBLK_T_TYPE): Likewise.
34084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34085 (__SWBLK_T_TYPE): Likewise.
34086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34087 (__SWBLK_T_TYPE): Likewise.
34088
4d57bf63 340892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 34090 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
34091
34092 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34093 (xdr_mapname): Use YPMAXMAP as maxsize.
34094 (xdr_peername): Use YPMAXPEER as maxsize.
34095 (xdr_keydat): Use YPAXRECORD as maxsize.
34096 (xdr_valdat): Use YPMAXRECORD as maxsize.
34097
93c65d43
RM
340982012-10-01 Roland McGrath <roland@hack.frob.com>
34099
497a03d6
RM
34100 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34101
93c65d43
RM
34102 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34103 * csu/init-first.c: ... here.
34104 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34105 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34106 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34107 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34108 * sysdeps/i386/init-first.c: File removed.
34109 * sysdeps/sh/init-first.c: File removed.
34110
bec749fd
JM
341112012-10-01 Joseph Myers <joseph@codesourcery.com>
34112
34113 [BZ #14645]
34114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34115 if x * y might underflow to zero and z is zero.
34116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34118 * math/libm-test.inc (min_subnorm_value): New variable.
34119 (fma_test): Add more tests.
34120 (fma_test_towardzero): Likewise.
34121 (fma_test_downward): Likewise
34122 (fma_test_upward): Likewise.
34123 (initialize): Set min_subnorm_value.
34124
8ec5b013
JM
341252012-09-29 Joseph Myers <joseph@codesourcery.com>
34126
34127 [BZ #14638]
34128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34129 0 + 0.
34130 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34131 mode for addition resulting in exact zero.
34132 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34134 exact 0 + 0.
34135 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34137 * math/libm-test.inc (fma_test): Add more tests.
34138 (fma_test_towardzero): New function.
34139 (fma_test_downward): Likewise.
34140 (fma_test_upward): Likewise.
34141 (main): Call the new functions.
34142
b1fa802e
DM
341432012-09-28 David S. Miller <davem@davemloft.net>
34144
34145 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34146
d3b9fd9e
RM
341472012-09-28 Roland McGrath <roland@hack.frob.com>
34148
ea4d37b3
RM
34149 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34150 instead of SIGALRM.
34151
ac51c949
RM
34152 * sysdeps/gnu/_G_config.h: Moved to ...
34153 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34154 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34155 * sysdeps/generic/_G_config.h: ... here.
34156
28c195f7
RM
34157 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34158
848917f9
RM
34159 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34160
6bacf05b
RM
34161 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34162 Conditionalize target on [libnss_test1.so-version].
34163
91363dbb
RM
34164 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34165
cc87f7d8
RM
34166 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34167 (elfobjdir): Move out of conditionals.
34168
b1c608fe
RM
34169 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34170 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34171 (__nss_lookup_function): Conditionalize label remove_from_tree on
34172 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 34173
1d9a6d96
DM
341742012-09-28 David S. Miller <davem@davemloft.net>
34175
34176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34178 file.
34179 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34180 sysdep_routines.
34181 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34183 when HWCAP_SPARC_CRYPTO is present.
34184
72581615
PT
341852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34186
34187 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34188
715a900c
JL
341892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34190
34191 [BZ #6530]
34192 * stdio-common/vfprintf.c (process_string_arg): Revert
34193 2000-07-22 change.
34194
341952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34196
34197 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34198 for testcase.
34199 * stdio-common/tst-sprintf.c: Include <locale.h>
34200 (main): Test sprintf's handling of incomplete multibyte
34201 characters.
34202
9bac1d86
L
342032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34204
34205 * elf/dl-runtime.c (VERSYMIDX): Removed.
34206 * elf/dl-version.c (VERSYMIDX): Likewise.
34207 * elf/do-rel.h (VERSYMIDX): Likewise.
34208 (VALIDX): Likewise.
34209 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34210 * elf/rtld.c (VALIDX): Likewise.
34211 (ADDRIDX): Likewise.
9bac1d86
L
34212 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34213 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34214 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34215 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34216 (VALIDX): Likewise.
34217 (ADDRIDX): Likewise.
9bac1d86 34218
b31606c0
PT
342192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34220
34221 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34222
11541177
JL
342232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34224
34225 [BZ #11438]
34226 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34227 to global scope.
34228 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34229 addresses are in the same scope as 192.0.2/24.
34230 * posix/gai.conf: Document new scope table defaults.
34231
adb26fae
SP
342322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34233
34234 [BZ #5298]
34235 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34236 for ftell. Compute offsets from write pointers instead.
34237 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34238
4573c6b0
SP
342392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34240
34241 [BZ #14543]
34242 * libio/Makefile (tests): New test case tst-fseek.
34243 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34244 combination works in wide mode.
34245 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34246 state when the external buffer state changes.
34247
aa9bbfe6
DM
342482012-09-27 David S. Miller <davem@davemloft.net>
34249
34250 [BZ #14376]
34251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34252 pass reloc->r_addend in as the 'high' argument to
34253 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34254
784421e7
DM
34255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34256
c39bc8b8
PT
342572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34258
34259 * rt/tst-aio2.c: Include <pthread.h>.
34260 * rt/tst-aio3.c: Likewise.
34261
1ccc2399
SE
342622012-09-27 Steve Ellcey <sellcey@mips.com>
34263
34264 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34265
31ed4153
L
342662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34267
25f5f885
L
34268 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34269 contents on [SHARED].
31ed4153 34270
b7bfe116
MP
342712012-09-26 Marek Polacek <polacek@redhat.com>
34272
34273 [BZ #14530]
34274 [BZ #13741]
34275 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34276 for C++ and GCC <4.3 as well as for non GCC compilers.
34277
43c4edba
MT
342782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34279
34280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34281
6a1bf82f
RM
342822012-09-25 Roland McGrath <roland@hack.frob.com>
34283
34284 * Makefile.in (all, install): Declare with .PHONY.
34285 Reported by Michael Hope <michael.hope@linaro.org>.
34286
8ad11b9a
TMQMF
342872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34288
34289 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34290 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34291 system header.
34292 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34293 Likewise.
34294 (sydep_routines): Add the new and the internal functions.
34295 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34296 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34298 (GLIBC_2.17): Add the new function.
34299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34300 (GLIBC_2.17): Likewise.
34301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34302 (GLIBC_2.17): Likewise.
34303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34304 (GLIBC_2.17): Likewise.
34305 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34306
7e2fca8d
AM
343072012-09-25 Alan Modra <amodra@gmail.com>
34308
34309 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34310 Add release barrier before setting once_control to say
34311 initialisation is done. Add hints on lwarx. Use macro in
34312 place of isync.
34313 (clear_once_control): Add release barrier.
34314
b87c4b24
JM
343152012-09-25 Joseph Myers <joseph@codesourcery.com>
34316
d032e0d2
JM
34317 [BZ #13629]
34318 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34319 specially.
34320 * math/s_clog10.c (__clog10): Likewise.
34321 * math/s_clog10f.c (__clog10f): Likewise.
34322 * math/s_clog10l.c (__clog10l): Likewise.
34323 * math/s_clogf.c (__clogf): Likewise.
34324 * math/s_clogl.c (__clogl): Likewise.
34325 * math/Makefile (libm-calls): Add x2y2m1.
34326 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34327 (__x2y2m1): Likewise.
34328 (__x2y2m1l): Likewise.
34329 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34330 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34331 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34332 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34333 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34334 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34335 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34336 * sysdeps/i386/fpu/libm-test-ulps: Update.
34337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34338
b87c4b24
JM
34339 [BZ #14621]
34340 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34341 int as type of variable DEPTH.
34342 (glob): Use size_t instead of int as type of variables NEWCOUNT
34343 and OLD_PATHC.
34344
6d3bf199
LD
343452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34346
22bf5c17
LD
34347 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34348 Add s_sincosf-sse2.
34349 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34350 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34351 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34352 macros for using routine as __sincosf_ia32.
34353 Use macro for function declaration and weak_alias.
34354 * sysdeps/i386/fpu/libm-test-ulps: Update.
34355
34356 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34358
34359 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34360 subnormal argument.
34361 * math/s_cexpf.c (__cexpf): Likewise.
34362 * math/s_csinf.c (__csinf): Likewise.
34363 * math/s_csinhf.c (__csinhf): Likewise.
34364 * math/s_ctanf.c (__ctanf): Likewise.
34365 * math/s_ctanhf.c (__ctanhf): Likewise.
34366 * math/s_ccosh.c (__ccoshf): Likewise.
34367 * math/s_cexp.c (__cexpl): Likewise.
34368 * math/s_csin.c (__csin): Likewise.
34369 * math/s_csinh.c (__csinh): Likewise.
34370 * math/s_ctan.c (__ctan): Likewise.
34371 * math/s_ctanh.c (ctanh): Likewise.
34372 * math/s_ccoshl.c (__ccoshl): Likewise.
34373 * math/s_cexpl.c (__cexpl): Likewise.
34374 * math/s_csinl.c (__csinl): Likewise.
34375 * math/s_csinhl.c (__csinhl): Likewise.
34376 * math/s_ctanl.c (__ctanl): Likewise.
34377 * math/s_ctanhl.c (__ctanhl): Likewise.
34378
203e5603
JM
343792012-09-25 Joseph Myers <joseph@codesourcery.com>
34380
34381 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34382 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34383 (_IO_off_t): Define to __off_t, not _G_off_t.
34384 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34385 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34386 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34387 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34388 type of __dummy and __dummy2 fields.
34389 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34390 (_G_ssize_t): Likewise.
34391 (_G_off_t): Likewise.
34392 (_G_pid_t): Likewise.
34393 (_G_uid_t): Likewise.
34394 (_G_wchar_t): Likewise.
34395 (_G_wint_t): Likewise.
34396 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34397 (_G_ssize_t): Likewise.
34398 (_G_off_t): Likewise.
34399 (_G_pid_t): Likewise.
34400 (_G_uid_t): Likewise.
34401 (_G_wchar_t): Likewise.
34402 (_G_wint_t): Likewise.
34403 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34404 (_G_ssize_t): Likewise.
34405 (_G_off_t): Likewise.
34406 (_G_pid_t): Likewise.
34407 (_G_uid_t): Likewise.
34408 (_G_wchar_t): Likewise.
34409 (_G_wint_t): Likewise.
34410
9fab36eb
SP
344112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34412
34413 * malloc/arena.c: Include malloc-sysdep.h.
34414 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34415 is sufficient to shrink the heap or an unmap is needed.
34416 * sysdeps/generic/malloc-sysdep.h: New file. Define
34417 new function check_may_shrink_heap.
34418 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34419 new function check_may_shrink_heap.
34420
2b4f00d1
SP
344212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34422
34423 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34424 comments.
34425
9a9028b1
DL
344262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34427
57c69bef
DL
34428 * catgets/test-gencat.sh: Add "set -e".
34429 * elf/tst-pathopt.sh: Likewise.
34430 * grp/tst_fgetgrent.sh: Likewise.
34431 * iconvdata/run-iconv-test.sh: Likewise.
34432 * intl/tst-gettext.sh: Likewise.
34433 * intl/tst-gettext2.sh: Likewise.
34434 * intl/tst-gettext4.sh: Likewise.
34435 * intl/tst-gettext6.sh: Likewise.
34436 * intl/tst-translit.sh: Likewise.
34437 * io/ftwtest-sh: Likewise.
34438 * libio/test-freopen.sh: Likewise.
34439 * malloc/tst-mtrace.sh: Likewise.
34440 * posix/globtest.sh: Likewise.
34441 * posix/tst-getconf.sh: Likewise.
34442 * posix/wordexp-tst.sh: Likewise.
34443 * stdio-common/tst-printf.sh: Likewise.
34444 * stdio-common/tst-unbputc.sh: Likewise.
34445 * stdlib/tst-fmtmsg.sh: Likewise.
34446 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34447 * catgets/Makefile: Do not specify -e option when running
34448 testsuite shell scripts.
34449 * elf/Makefile: Likewise.
34450 * grp/Makefile: Likewise.
34451 * iconvdata/Makefile: Likewise.
34452 * intl/Makefile: Likewise.
34453 * io/Makefile: Likewise.
34454 * libio/Makefile: Likewise.
34455 * malloc/Makefile: Likewise.
34456 * posix/Makefile: Likewise.
34457 * stdio-common/Makefile: Likewise.
34458 * stdlib/Makefile: Likewise.
34459 * sysdeps/x86_64/Makefile: Likewise.
34460
9a9028b1
DL
34461 * io/ftwtest-sh: Add copyright header.
34462 * posix/globtest.sh: Likewise.
34463 * posix/tst-getconf.sh: Likewise.
34464 * posix/wordexp-tst.sh: Likewise.
34465 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34466
ced6f16e
L
344672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34468
94b32c39
L
34469 [BZ #13679]
34470 * Makeconfig (+link): Defined as $(+link-static) if
34471 $(build-shared) isn't yes.
34472 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34473 isn't yes.
34474 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34475
189e935b
L
34476 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34477
ced6f16e
L
34478 [BZ #14562]
34479 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34480 new chunk size with MALLOC_ALIGN_MASK.
34481
a9f8e53a
JM
344822012-09-24 Joseph Myers <joseph@codesourcery.com>
34483
34484 [BZ #5044]
34485 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34486 <rounding-mode.h>.
34487 (__printf_fphex): Determine rounding using get_rounding_mode and
34488 round_away.
34489 * stdio-common/tst-printf-round.c (struct hex_test): New
34490 structure.
34491 (hex_tests): New variable.
34492 (test_hex_in_one_mode): New function.
34493 (do_test): Also run tests for hex float output.
34494
43153109
JM
344952012-09-21 Joseph Myers <joseph@codesourcery.com>
34496
34497 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34498 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34499 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34500 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34501 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34502 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34503 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34504 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34505
8a26625d
JM
345062012-09-20 Joseph Myers <joseph@codesourcery.com>
34507
34508 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34509 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34510 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34511 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34512
f3fd569c
DL
345132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34514
34515 [BZ #14579]
34516 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34517 mode only.
34518 * elf/tst-rtld-load-self.sh: New test.
34519 * elf/Makefile: Run it.
34520
63bbedd4
JM
345212012-09-18 Joseph Myers <joseph@codesourcery.com>
34522
34523 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34524 (tst-writev-ENV): Remove.
34525 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34526
626f8b6a
CM
345272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34528
34529 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34530
b7aaa4d6
JM
345312012-09-17 Joseph Myers <joseph@codesourcery.com>
34532
34533 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34534 unconditional.
34535 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34536 Likewise.
34537 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34538 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34539 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34540 Likewise.
34541
65513990
L
345422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34543
34544 [BZ #14587]
34545 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34546 * config.make.in (have-cpp-asm-debuginfo): Removed.
34547 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34548 * configure: Regenerated.
34549
784761be
JM
345502012-09-14 Joseph Myers <joseph@codesourcery.com>
34551
34552 [BZ #5044]
34553 * stdio-common/printf_fp.c: Include <stdbool.h> and
34554 <rounding-mode.h>.
34555 (___printf_fp): Determine rounding using get_rounding_mode and
34556 round_away.
34557 * stdio-common/tst-printf-round.c: New file.
34558 * stdio-common/Makefile (tests): Add tst-printf-round.
34559 (link-libm): New variable.
34560 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34561
9503345f
L
345622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34563
34564 [BZ #14576]
34565 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34566 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34567 Likewise.
34568 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34569 Likewise.
34570
ad35fc00
JM
345712012-09-13 Joseph Myers <joseph@codesourcery.com>
34572
34573 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34574 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34575 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34576 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34577
6c9b0f68
JM
345782012-09-12 Joseph Myers <joseph@codesourcery.com>
34579
34580 [BZ #14518]
34581 * include/rounding-mode.h: New file.
34582 * sysdeps/generic/get-rounding-mode.h: Likewise.
34583 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34584 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34585 (MAX_VALUE): New macro.
34586 (MIN_VALUE): Likewise.
34587 (overflow_value): New function.
34588 (underflow_value): Likewise.
34589 (round_and_return): Use overflow_value and underflow_value to
34590 determine return values in overflow and underflow cases. Use
34591 round_away to determine rounding depending on rounding mode.
34592 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34593 determine return values in overflow and underflow cases.
34594 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34595 (struct test_results): New structure.
34596 (struct test): Use struct test_results to store expected results
34597 for all rounding modes.
34598 (TEST): Include expected results for all rounding modes.
34599 (test_in_one_mode): New function.
34600 (do_test): Use test_in_one_mode to compute and check results.
34601 Check results for all rounding modes.
34602 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34603 $(link-libm).
34604
19fcedd5
AM
346052012-12-09 Allan McRae <allan@archlinux.org>
34606
1e9d84cd 34607 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34608
8bbfd2f1
JM
346092012-09-11 Joseph Myers <joseph@codesourcery.com>
34610
34611 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34612 (_G_int32_t): Likewise.
34613 (_G_uint16_t): Likewise.
34614 (_G_uint32_t): Likewise.
34615 (_G_HAVE_BOOL): Likewise.
34616 (_G_HAVE_ATEXIT): Likewise.
34617 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34618 (_G_HAVE_IO_FILE_OPEN): Likewise.
34619 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34620 (_G_int32_t): Likewise.
34621 (_G_uint16_t): Likewise.
34622 (_G_uint32_t): Likewise.
34623 (_G_HAVE_BOOL): Likewise.
34624 (_G_HAVE_ATEXIT): Likewise.
34625 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34626 (_G_HAVE_IO_FILE_OPEN): Likewise.
34627 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34628 (_G_int32_t): Likewise.
34629 (_G_uint16_t): Likewise.
34630 (_G_uint32_t): Likewise.
34631 (_G_HAVE_BOOL): Likewise.
34632 (_G_HAVE_ATEXIT): Likewise.
34633 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34634 (_G_HAVE_IO_FILE_OPEN): Likewise.
34635
b1dc5912
L
346362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34637
34638 * csu/libc-tls.c: Update copyright years.
34639
0e886ef9
JM
346402012-09-10 Joseph Myers <joseph@codesourcery.com>
34641
28361c5e
JM
34642 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34643 [!_G_USING_THUNKS]: Remove conditional code.
34644 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34645 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34646
0e886ef9
JM
34647 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34648 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34649 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34650 (_G_VTABLE_LABEL_PREFIX): Likewise.
34651 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34652 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34653 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34654 (_G_VTABLE_LABEL_PREFIX): Likewise.
34655 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34656 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34657 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34658 (_G_VTABLE_LABEL_PREFIX): Likewise.
34659 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34660
bcba7aa2
L
346612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34662
34663 * libio/Makefile: Include ../Makeconfig before tests.
34664 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34665 only if $(build-shared) is yes.
34666
06585ee8
L
34667 * iconv/gconv_db.c: Update copyright years.
34668
80ccd52c
LD
346692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34670
34671 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34672 unwind info if defined PIC. Fix special cases description.
34673 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34674
34675 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34676 DP_HI_MASK entry.
34677 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34678
691bc9c1
L
346792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34680
3d9b46b3
L
34681 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34682
de2139a9
L
34683 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34684 is NULL.
34685
5ca78dd0
L
34686 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34687 (LDLIBS-tst-chk4): This.
34688 (LDFLAGS-tst-chk5): Renamed to ...
34689 (LDLIBS-tst-chk5): This.
34690 (LDFLAGS-tst-chk6): Renamed to ...
34691 (LDLIBS-tst-chk6): This.
34692 (LDFLAGS-tst-lfschk4): Renamed to ...
34693 (LDLIBS-tst-lfschk4): This.
34694 (LDFLAGS-tst-lfschk5): Renamed to ...
34695 (LDLIBS-tst-lfschk5): This.
34696 (LDFLAGS-tst-lfschk6): Renamed to ...
34697 (LDLIBS-tst-lfschk6): This.
34698
691bc9c1
L
34699 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34700 on $(common-objpfx)soversions.mk.
34701
65cafb1c
JM
347022012-09-07 Joseph Myers <joseph@codesourcery.com>
34703
34704 [BZ #10014]
34705 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34706 example host name.
34707
c78ab094
SP
347082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34709
34710 * malloc/arena.c (arena_get_retry): New function that gets
34711 another arena for the caller to try its request on.
34712 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34713 current arena cannot fulfill the request.
34714 (__libc_memalign): Likewise.
34715 (__libc_memalign): Likewise.
34716 (__libc_pvalloc): Likewise.
34717 (__libc_calloc): Likewise.
34718
01f49f59
JT
347192012-09-05 John Tobey <john.tobey@gmail.com>
34720
34721 [BZ #13542]
34722 * manual/arith.texi (Operations on Complex): Fix description
34723 of carg branch cut.
34724
4c23fed5
JM
347252012-09-06 Joseph Myers <joseph@codesourcery.com>
34726
1d3c8572
JM
34727 [BZ #10014]
34728 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34729 host name.
34730
4c23fed5
JM
34731 [BZ #10038]
34732 * manual/memory.texi (Memory): Make order of menu items match
34733 order of sections.
34734
04570aaa
L
347352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34736
34737 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34738 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34739 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34740
b80af2f4
L
347412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34742
34743 * csu/libc-tls.c (static_dtv): Renamed to ...
34744 (_dl_static_dtv): This. Make it global.
34745 (_dl_initial_dtv): Removed.
34746 (__libc_setup_tls): Updated.
34747 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34748 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34749 DL_INITIAL_DTV.
34750
2abe9f15
PM
347512012-09-06 Petr Machata <pmachata@redhat.com>
34752
34753 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34754 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34755 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34756 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34757
0948c3af
L
347582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34759
34760 [BZ #14545]
34761 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34762 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34763 freeing dtv[-1].
34764
a5055ad1
L
347652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34766
34767 [BZ #14544]
34768 * Makeconfig (link-static-before-libc): Replace $(+prector)
34769 with $(+prectorT).
34770 (link-static-after-libc): Replace $(+postctor) with
34771 $(+postctorT).
34772 (link-bounded): Replace $(+prector)/$(+postctor) with
34773 $(+prectorT)/$(+postctorT).
34774 (+prectorT): New macro.
34775 (+postctorT): Likewise.
34776
ed8c2ecd
JM
347772012-09-06 Joseph Myers <joseph@codesourcery.com>
34778
34779 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34780 (round_str): Handle values above the maximum for IBM long double
34781 as inexact.
34782 * stdlib/tst-strtod-round.c (tests): Regenerated.
34783
14c996c8
AK
347842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34785
34786 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34787 assembler flag.
34788 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34789 zarch_nohighgprs around the zarch optimized routines.
34790 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34791 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34792 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34793 for zarch.
34794
430d6ce6
DM
347952012-09-05 David S. Miller <davem@davemloft.net>
34796
34797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34798
57f41c40
AS
34799 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34800 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34801 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34802 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34803 entries.
34804
24d4e01b
AO
348052012-09-05 Alexandre Oliva <aoliva@redhat.com>
34806
34807 * malloc/arena.c: Fold copyright years.
34808 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34809
61d58174
AO
348102012-09-05 Alexandre Oliva <aoliva@redhat.com>
34811
34812 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34813
20196a5e
AO
348142012-09-05 Alexandre Oliva <aoliva@redhat.com>
34815
34816 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34817
5c447383
AO
348182012-09-05 Alexandre Oliva <aoliva@redhat.com>
34819
34820 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34821 change internal state upon failure.
34822
fad64255
AO
348232012-09-05 Alexandre Oliva <aoliva@redhat.com>
34824
34825 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34826 * malloc/memusage.c (mmap): Likewise.
34827 (mmap64, mremap): Likewise. Adjust name in comment.
34828
1ffb8c90
SP
348292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34830
34831 * libio/fileops.c: Fix typos in comments.
34832 * libio/oldfileops.c: Likewise.
34833 * libio/wfileops.c: Likewise.
34834
6ef9cc37
SP
348352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34836
34837 [BZ #1349]
34838 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34839 (tst-malloc-usable-ENV): Set environment for test case.
34840 * malloc/hooks.c (malloc_check_get_size): New function to get
34841 requested size.
34842 * malloc/malloc.c (musable): Use malloc_check_get_size.
34843 * malloc/tst-malloc-usable.c: New test case.
34844
4d038ae3
AS
348452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34846
34847 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34848
c4e85184
AM
348492012-09-05 Allan McRae <allan@archlinux.org>
34850
b9dafc56 34851 [BZ #13966]
c4e85184
AM
34852 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34853 determine header location.
34854 * configure: Regenerated.
34855
e1343020
AS
348562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34857
34858 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34859 float format.
34860 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34861 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34862 format.
e1343020
AS
34863 (test): Regenerate.
34864
0a9f1987
DM
348652012-09-04 David S. Miller <davem@davemloft.net>
34866
34867 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34868 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34870
29237804
FW
348712012-09-04 Florian Weimer <fweimer@redhat.com>
34872
34873 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34874 failures.
34875
edb3cb88
FW
34876 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34877
60160d83
JM
348782012-09-04 Joseph Myers <joseph@codesourcery.com>
34879
34880 [BZ #9914]
34881 * libio/iogetdelim.c: Include <limits.h>.
34882 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34883 + len + 1 would overflow.
34884
bcd6c8dc
AJ
348852012-09-03 Andreas Jaeger <aj@suse.de>
34886
34887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34888 * sysdeps/i386/fpu/libm-test-ulps: Update.
34889
4ffffbd2
LD
348902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34891
34892 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34893 Add s_sinf-sse2, s_conf-sse2.
34894
34895 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34896 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34897 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34898 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34899
34900 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34901 for using routine as __sinf_ia32.
34902 Use macro for function declaration and weak_alias.
34903 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34904 for using routine as __cosf_ia32.
34905 Use macro for function declaration and weak_alias.
34906
34907 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34908 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34909
34910 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34911 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34913
34914 * math/libm-test.inc (cos_test): Add more test cases.
34915 (sin_test): Likewise.
34916 (sincos_test): Likewise.
34917
511fa286
AK
349182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34919
34920 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34921 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34922 hidden.
34923 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34924
5f30cfec
L
349252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34926
34927 [BZ #14538]
34928 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34929 first element of the GOT.
34930 (elf_machine_load_address): Return the difference between
34931 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34932
0786794f
AM
349332012-09-01 Allan McRae <allan@archlinux.org>
34934
5f30cfec
L
34935 [BZ #13412]
34936 * configure.in (AWK): Require gawk version 3.0 or later.
34937 * configure: Regenerated.
0786794f 34938
26889eac
JM
349392012-09-01 Joseph Myers <joseph@codesourcery.com>
34940
34941 * sysdeps/unix/sysv/linux/kernel-features.h
34942 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34943 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34944 [__NR_clock_getres]: Make code unconditional.
34945 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34946 (clock_getcpuclockid): Remove code left unreachable by removal of
34947 conditionals.
34948 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34949 code unconditional.
34950 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34951 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34952 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34953 Make code unconditional.
34954 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34955 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34956 * sysdeps/unix/sysv/linux/clock_settime.c
34957 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34958 conditional code.
34959 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34960 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34961
d22e28b0
L
349622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34963
34964 [BZ #14476]
34965 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34966 scripts/test-installation.pl.
34967
34968 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34969 and $ld_so_version if it is set.
34970
050af9c4
SP
349712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34972
34973 [BZ #14516]
34974 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34975 failure if reading from procfs failed.
34976 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34977
ad845c0b
JM
349782012-08-27 Joseph Myers <joseph@codesourcery.com>
34979
34980 * sysdeps/unix/sysv/linux/kernel-features.h
34981 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34982 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34983 Remove conditional code.
34984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34985 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34986 Remove conditional code.
34987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34988 * sysdeps/unix/sysv/linux/i386/fxstat.c
34989 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34991 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34992 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34994 * sysdeps/unix/sysv/linux/i386/lxstat.c
34995 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34996 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34997 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34998 Remove conditional code.
34999 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35000 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35001 Remove conditional code.
35002 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35003 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35004 <kernel-features.h>.
35005 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35006 Remove.
35007 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35008 Remove conditional code.
35009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35010 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35011 Remove conditional.
35012
5dbf56af
MF
350132012-08-27 Mike Frysinger <vapier@gentoo.org>
35014
35015 [BZ #5400]
35016 * NEWS: Add fixed bug number.
35017
d6e70f43
JM
350182012-08-27 Joseph Myers <joseph@codesourcery.com>
35019
7efb4737
JM
35020 [BZ #14519]
35021 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35022 underflowing exponent in case of negative sign.
35023 * stdlib/tst-strtod-round-data: Add more tests.
35024 * stdlib/tst-strtod-round.c (tests): Regenerated.
35025
af92131a
JM
35026 [BZ #3479]
35027 * stdlib/strtod_l.c (NDIG): Remove.
35028 (HEXNDIG): Likewise.
35029 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35030 smallest representable value.
35031 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35032 lie within an exact representation of 1/2 ulp of the result.
35033 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35034 unconditionally.
35035 (TENS_P9_IDX): Define unconditionally.
35036 (TENS_P9_SIZE): Likewise.
35037 (TENS_P10_IDX): Likewise.
35038 (TENS_P10_SIZE): Likewise.
35039 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35040 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35041 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35042 entries for 10^2^13 and 10^2^14.
35043 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35044 (TENS_P13_IDX): Define.
35045 (TENS_P13_SIZE): Likewise.
35046 (TENS_P14_IDX): Likewise.
35047 (TENS_P14_SIZE): Likewise.
35048 (_fpioconst_pow10): Change array size to
35049 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35050 unconditional.
35051 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35052 1024]: Add entries for 10^2^13 and 10^2^14.
35053 [LAST_POW10 > _LAST_POW10]: Remove #error.
35054 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35055 (_fpioconst_pow10): Change array size to
35056 FPIOCONST_POW10_ARRAY_SIZE.
35057 * stdlib/gen-fpioconst.c: New file.
35058 * stdlib/gen-tst-strtod-round.c: Likewise.
35059 * stdlib/tst-strtod-round-data: Likewise.
35060 * stdlib/tst-strtod-round.c: Likewise.
35061 * stdlib/Makefile (tests): Add tst-strtod-round.
35062
d6e70f43
JM
35063 [BZ #14459]
35064 * stdlib/strtod_l.c: Include <stdint.h>.
35065 (NDEBUG): Do not define.
35066 (round_and_return): Change EXPONENT parameter to type intmax_t.
35067 Rearrange calculations to avoid internal overflow possibilities.
35068 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35069 Rearrange calculations to avoid internal overflow possibilities.
35070 Assert that number fits inside MPNSIZE limbs.
35071 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35072 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35073 calculations and add assertions to avoid internal overflow
35074 possibilities. Add casts to avoid signed/unsigned operations.
35075 * stdlib/tst-strtod-overflow.c: New file.
35076 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35077
1f529f7d
MP
350782012-08-25 Marek Polacek <polacek@redhat.com>
35079
35080 * time/time.h: Fix some typos in comments.
35081
59a629f1
RM
350822012-08-23 Roland McGrath <roland@hack.frob.com>
35083
35084 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35085 * posix/tst-rfc3484-2.c: Likewise.
35086 * posix/tst-rfc3484-3.c: Likewise.
35087
d3bafbc9
SM
350882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35089
35090 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35091 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35092
4efcc022
JM
350932012-08-23 Joseph Myers <joseph@codesourcery.com>
35094
35095 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35096 #include of fxstatat64.c.
35097
3cc3ef96
RM
350982012-08-22 Roland McGrath <roland@hack.frob.com>
35099
f04e2132
RM
35100 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35101 * shadow/getspent_r.c: Likewise.
35102 * shadow/getspnam.c: Likewise.
35103 * shadow/getspnam_r.c: Likewise.
35104 * gshadow/getsgent.c: Likewise.
35105 * gshadow/getsgent_r.c: Likewise.
35106 * gshadow/getsgnam.c: Likewise.
35107 * gshadow/getsgnam_r.c: Likewise.
35108 * inet/getnetbyad.c: Likewise.
35109 * inet/getnetbyad_r.c: Likewise.
35110 * inet/getnetbynm.c: Likewise.
35111 * inet/getnetbynm_r.c: Likewise.
35112 * inet/getnetent.c: Likewise.
35113 * inet/getnetent_r.c: Likewise.
35114 * inet/getproto.c: Likewise.
35115 * inet/getproto_r.c: Likewise.
35116 * inet/getprtent.c: Likewise.
35117 * inet/getprtent_r.c: Likewise.
35118 * inet/getprtname.c: Likewise.
35119 * inet/getprtname_r.c: Likewise.
35120 * inet/getrpcbyname.c: Likewise.
35121 * inet/getrpcbyname_r.c: Likewise.
35122 * inet/getrpcbynumber.c: Likewise.
35123 * inet/getrpcbynumber_r.c: Likewise.
35124 * inet/getrpcent.c: Likewise.
35125 * inet/getrpcent_r.c: Likewise.
35126 * inet/getaliasent.c: Likewise.
35127 * inet/getaliasent_r.c: Likewise.
35128 * inet/getaliasname.c: Likewise.
35129 * inet/getaliasname_r.c: Likewise.
35130 * nscd/getgrgid_r.c: Likewise.
35131 * nscd/getgrnam_r.c: Likewise.
35132 * nscd/gethstbyad_r.c: Likewise.
35133 * nscd/gethstbynm3_r.c: Likewise.
35134 * nscd/getpwnam_r.c: Likewise.
35135 * nscd/getpwuid_r.c: Likewise.
35136 * nscd/getsrvbynm_r.c: Likewise.
35137 * nscd/getsrvbypt_r.c: Likewise.
35138 * nscd/gai.c: Likewise.
35139
c53d909c
RM
35140 * configure.in (build_nscd): New substituted variable, set
35141 by --disable-build-nscd and defaults to $use_nscd.
35142 * configure: Regenerated.
35143 * config.make.in (build-nscd): New substituted variable.
35144 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35145 Change conditional to require [$(build-nscd) = yes] as well.
35146 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35147
3cc3ef96
RM
35148 [BZ# 13696]
35149 * configure.in (use_nscd): New substituted variable, set by
35150 --disable-nscd. If enabled, define USE_NSCD.
35151 * configure: Regenerated.
35152 * config.h.in: Add USE_NSCD.
35153 * config.make.in (use-nscd): New substituted variable.
35154 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35155 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35156 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35157 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35158 (CFLAGS-getgrnam_r.c): Likewise.
35159 (CFLAGS-initgroups.c): Likewise.
35160 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35161 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35162 Variables removed.
35163 * inet/getnetgrent_r.c
35164 (nscd_setnetgrent): New function, broken out of ...
35165 (setnetgrent): ... here. Call it.
35166 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35167 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35168 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35169 * nscd/Makefile (routines, aux): Move definitions after include of
35170 Makeconfig. Conditionalize on [$(use-nscd) != no].
35171 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35172 Conditionalize on [USE_NSCD].
35173 (is_nscd, nscd_init_cb): Likewise.
35174 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35175 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35176 * nss/nss_db/db-init.c: Likewise.
35177 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35178 [USE_NSCD].
35179 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35180 (make_request): Use it.
35181 (cache_valid_p): New function.
35182 (__check_pf): Use it.
35183 * NEWS: Add item for --disable-nscd.
35184
07e51550
DL
351852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35186
35187 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35188 to support sed >= 4.2.1-20-ga9bf076.
35189 * configure: Regenerated.
35190
35a5b08b
RM
351912012-08-22 Roland McGrath <roland@hack.frob.com>
35192
35193 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35194 Conditionalize whole body on [IREL].
35195
8479f23a
JL
351962012-08-22 Jeff Law <law@redhat.com>
35197
35198 [BZ #14505]
35199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35200 if the family is PF_UNSPEC.
35201
48da0b21
MF
352022012-08-22 Mike Frysinger <vapier@gentoo.org>
35203
35204 * Makerules (lib-version): Rename from V.
35205 (install-lib-nosubdir): Change V to lib-version.
35206
15d0da8c
WS
352072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35208
35209 [BZ #14252]
35210 * powerpc32/power6/wcschr.c: New file.
35211 * powerpc32/power6/wcscpy.c: New file.
35212 * powerpc32/power6/wcsrchr.c: New file.
35213 * powerpc64/power6/wcschr.c: New file.
35214 * powerpc64/power6/wcscpy.c: New file.
35215 * powerpc64/power6/wcsrchr.c: New file.
35216
bcca0895
MK
352172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35218
35219 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35220 (two_way_short_needle): Use it.
5a4aaa33
RM
35221 * string/strstr.c (AVAILABLE1_USES_J): Define.
35222 * string/strcasestr.c: Likewise.
99677e57
MK
35223
35224 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35225 array references.
35226 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35227
400726de
MK
35228 [BZ #11607]
35229 * NEWS: Add an entry.
35230 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35231 define their defaults.
35232 (two_way_short_needle): Detect end-of-string on-the-fly.
35233 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35234 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35235 * string/bug-strcasestr1.c: New test.
35236 * string/Makefile: Run it.
35237
20a71f2c
MK
352382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35239
35240 [BZ #11607]
35241 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35242 the first character.
35243
21ad0558
RM
352442012-08-21 Roland McGrath <roland@hack.frob.com>
35245
35246 * csu/elf-init.c (__libc_csu_irel): Function removed.
35247 * csu/libc-start.c (apply_irel): New function.
35248 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35249
0e1d9911
JM
352502012-08-21 Joseph Myers <joseph@codesourcery.com>
35251
35252 * sysdeps/unix/sysv/linux/kernel-features.h
35253 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35254 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35255 <kernel-features.h>.
35256 [__NR_fadvise64_64]: Make code unconditional.
35257 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35258 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35259 !__NR_fadvise64_64)]: Likewise.
35260 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35261 !__NR_fadvise64_64))]: Likewise.
35262 [__NR_fadvise64]: Make code unconditional.
35263 [!__NR_fadvise64]: Remove conditional code.
35264 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35265 <kernel-features.h>.
35266 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35267 unconditional.
35268 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35269 conditional code.
35270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35271 not include <kernel-features.h>.
35272 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35273 unconditional.
35274 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35275 conditional code.
35276 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35277 include <kernel-features.h>.
35278 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35279 unconditional.
35280 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35281 conditional code.
35282
14a50c9d
WS
352832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35284
35285 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35286 slight instruction rearrangements per scrollpipe analysis.
35287 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35288
c0f4faf0
RM
352892012-08-20 Roland McGrath <roland@hack.frob.com>
35290
696da859
RM
35291 * manual/syslog.texi (syslog; vsyslog, closelog):
35292 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35293 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35294
c0f4faf0
RM
35295 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35296 DSOCAPS to match condition on defining it.
35297
348363b2
JM
352982012-08-20 Joseph Myers <joseph@codesourcery.com>
35299
a35cbf28
JM
35300 * sysdeps/unix/sysv/linux/kernel-features.h
35301 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35303 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35304 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35306 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35307 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35309 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35310 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35311
445f7ecd
JM
35312 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35313 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35314
348363b2
JM
35315 * sysdeps/unix/sysv/linux/kernel-features.h
35316 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35317 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35318 unconditional.
35319 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35320 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35321 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35322 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35323 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35324 Make code unconditional.
35325 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35326 (__mmap64) [!__NR_mmap2]: Likewise.
35327 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35328 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35329 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35330 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35331 [__NR_mmap2]: Make code unconditional.
35332 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35333 (__mmap64) [!__NR_mmap2]: Likewise.
35334
bc5bc0e5
AK
353352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35336
35337 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35338
88d506de
AJ
353392012-08-18 Andreas Jaeger <aj@suse.de>
35340
35341 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35342
493387d2
MF
353432012-08-18 Mike Frysinger <vapier@gentoo.org>
35344
35345 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35346 * include/unistd.h (__have_sock_cloexec): Likewise.
35347 (__have_pipe2): Likewise.
35348 (__have_dup3): Likewise.
35349
a277af22
MF
353502012-08-18 Mike Frysinger <vapier@gentoo.org>
35351
35352 [BZ #9685]
35353 * include/unistd.h (__have_pipe2): Change define into an extern int.
35354 (__have_dup3): Likewise.
35355 * socket/have_sock_cloexec.c: Include fcntl.h.
35356 (__have_pipe2): New variable.
35357 (__have_dup3): Likewise.
35358
fdab8fd3
MF
353592012-08-17 Mike Frysinger <vapier@gentoo.org>
35360
35361 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35362
31035e80
MP
353632012-08-17 Marek Polacek <polacek@redhat.com>
35364
35365 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35366 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35367
3bd9e993
RM
353682012-08-17 Roland McGrath <roland@hack.frob.com>
35369
c91c505f
RM
35370 * configure.in: Add AC_SUBST for sysheaders.
35371 * configure: Regenerated.
35372 * config.make.in (sysheaders): New substituted variable.
35373
7c6f9d53
RM
35374 * sysdeps/unix/mkfifo.c: Moved ...
35375 * sysdeps/posix/mkfifo.c: ... here.
35376 * sysdeps/unix/mkfifoat.c: Moved ...
35377 * sysdeps/posix/mkfifoat.c: ... here.
35378
35379 * sysdeps/unix/utime.c: Moved ...
35380 * sysdeps/posix/utime.c: ... here.
35381
35382 * sysdeps/unix/time.c: Moved ...
35383 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35384 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35385 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35386
35387 * sysdeps/unix/nice.c: Moved ...
35388 * sysdeps/posix/nice.c: ... here.
35389
35390 * sysdeps/unix/alarm.c: Moved ...
35391 * sysdeps/posix/alarm.c: ... here.
35392
3bd9e993
RM
35393 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35394
d1f09384
JL
353952012-08-17 Jeff Law <law@redhat.com>
35396
35397 * intl/Makefile (codeset_mo): New variable.
35398 ($(codeset_mo)): New target.
35399 (tst-codeset.out): Depend on that. Remove explicit rule.
35400 (tst-gettext3.out, tst-gettext5.out): Likewise.
35401 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35402 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35403 * intl/tst-codeset.sh: Remove.
35404 * intl/tst-gettext3.sh: Likewise.
35405 * intl/tst-gettext5.sh: Likewise.
35406
2ae1ae5c
RM
354072012-08-17 Roland McGrath <roland@hack.frob.com>
35408
c31fdb83
RM
35409 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35410 * sysdeps/unix/syscalls.list: ... here.
35411
a0844057
RM
35412 * sysdeps/posix/getaddrinfo.c
35413 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35414 (gaiconf_init, gaiconf_reload): Use them.
35415 [!_STATBUF_ST_NSEC]
35416 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35417 Define using time_t rather than struct timespec.
35418
750c1f2a
RM
35419 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35420 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35421 Macros removed.
35422 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35423 [!NO_THREADS].
35424 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35425 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35426 Likewise.
35427
2ae1ae5c
RM
35428 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35429 __libc_cleanup_push argument.
35430
e66a42f5
RM
35431 * bits/param.h: New file.
35432 * misc/sys/param.h: New file.
35433 * include/sys/param.h: New file.
35434 * misc/Makefile (headers): Add bits/param.h.
35435 * sysdeps/generic/sys/param.h: File removed.
35436 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35437 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35438 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35439 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35440
b7c08a66
RM
35441 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35442 last change.
35443
b2e1c562
RM
35444 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35445 [_IO_MTSAFE_IO].
35446 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35447 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35448 New macros.
35449
c75ccd4c
RM
35450 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35451 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35452 rather than -D_IO_MTSAFE_IO conditionally.
35453 * stdio-common/Makefile (CPPFLAGS): Likewise.
35454 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35455 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35456 Use $(libio-mtsafe).
35457 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35458 of -D_IO_MTSAFE_IO.
35459 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35460 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35461 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35462 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35463 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35464 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35465 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35466 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35467 (CFLAGS-fread_u_chk.c): Likewise.
35468 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35469 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35470 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35471 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35472 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35473 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35474 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35475 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35476 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35477
35478 * libio/Makefile: Test [$(libc-reentrant) = yes]
35479 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35480
35481 * Makeconfig
35482 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35483 * sysdeps/pthread/configure: File removed.
35484 * sysdeps/pthread/Makeconfig: New file.
35485 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35486 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35487
d9195db8
GB
354882012-08-16 Gary Benson <gbenson@redhat.com>
35489
35490 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35491 unmapping the first object in a namespace.
35492
86466cd9
RM
354932012-08-16 Roland McGrath <roland@hack.frob.com>
35494
35495 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35496 (__internal_setnetgrent): ... this. Add internal_function to
35497 definition. Add libc_hidden_def.
35498 (setnetgrent): Update caller.
35499 (internal_endnetgrent): Renamed to ...
35500 (__internal_endnetgrent): ... this. Add internal_function to
35501 definition. Add libc_hidden_def.
35502 (endnetgrent): Update caller.
35503 (internal_getnetgrent_r): Renamed to ...
35504 (__internal_getnetgrent_r): ... this. Add internal_function to
35505 definition. Add libc_hidden_def.
35506 (__getnetgrent_r): Update caller.
35507 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35508
c3c8283c
JM
355092012-08-16 Joseph Myers <joseph@codesourcery.com>
35510
35511 * stdlib/longlong.h: Update from GCC.
35512
db1ee0a8
RM
355132012-08-16 Roland McGrath <roland@hack.frob.com>
35514
35515 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35516 on _QL, which is set by umul_ppmm but never used.
35517 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35518 variables, which are set by GMP macros but never used.
35519 * stdio-common/_itowa.c (_itowa): Likewise.
35520 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35521 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35522
30f69637
CD
355232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35524
35525 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35526 struct La_sh_regs is not constant.
35527 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35528 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35529 and struct La_sparc64_regs are not constant.
35530
93a78ac4
JM
355312012-08-16 Joseph Myers <joseph@codesourcery.com>
35532
35533 * sysdeps/unix/sysv/linux/kernel-features.h
35534 (__ASSUME_POSIX_TIMERS): Remove.
35535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35537 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35538 Make code unconditional.
35539 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35540 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35541 Make code unconditional.
35542 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35543 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35544 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35545 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35546 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35547 Make code unconditional.
35548 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35549 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35550 (__libc_missing_posix_timers): Remove.
35551
dd924cd7
RM
355522012-08-15 Roland McGrath <roland@hack.frob.com>
35553
4b4f2771
RM
35554 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35555 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35556
601c888b
RM
35557 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35558
176790a7
RM
35559 * elf/dl-sym.c: Include <stdlib.h>.
35560
329bc018
RM
35561 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35562 constants, which avoids warnings in 32-bit builds.
35563
e04e272d
RM
35564 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35565 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35566
952bf94a
RM
35567 * misc/lseek.c: File moved to ...
35568 * io/lseek.c: ... here.
35569
7c99b50a
RM
35570 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35571
dd924cd7
RM
35572 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35573 shifting LEN more than 31 bits at once.
35574
b3f479a8
LD
355752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35576
35577 [BZ #14195]
8c4ae0d4
RM
35578 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35579 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35580 * string/test-strncasecmp.c (check1): Renamed to...
35581 (bz12205): ...this.
35582 (bz14195): Add new testcase for two empty input strings and N > 0.
35583 (test_main): Call new testcase, adapt for renamed function.
35584
9c55864e
AJ
355852012-08-15 Andreas Jaeger <aj@suse.de>
35586
35587 [BZ #14090]
35588 * crypt/md5test2.c: New test, based on test supplied by Serge
35589 Belyshev <belyshev@depni.sinp.msu.ru>.
35590 * crypt/Makefile (xtests): Add md5test-giant..
35591 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35592
02dcb6c5
PE
355932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35594
35595 [BZ #14090]
35596 * crypt/md5.c (md5_process_block): Don't assume the buffer
35597 length is less than 2**32.
35598 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35599 length is less than 2**64.
35600
a3f95dcc
RM
356012012-08-15 Roland McGrath <roland@hack.frob.com>
35602
be75d758
RM
35603 * string/str-two-way.h: Include <sys/param.h>.
35604 (MAX): Macro removed.
35605
7312ca90
RM
35606 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35607 Move #define and #undef of memmove to just before and after
35608 including <string.h>.
35609
9a0a5486
RM
35610 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35611 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35612 and after including <string.h>. Move declarations of
35613 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35614 to before #include "string/memmove.c".
35615
67cc348d
RM
35616 * include/dirent.h: Declare __getdirentries.
35617
a3f95dcc
RM
35618 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35619 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35620
ca98e171
MF
356212012-08-14 Mike Frysinger <vapier@gentoo.org>
35622
35623 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35624 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35625 * sysdeps/i386/configure: Regenerated.
35626 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35627 STABS_CURRENT_FILE, and STABS_FUN.
35628 (END): Remove call to STABS_FUN_END.
35629 (STABS_CURRENT_FILE1): Delete.
35630 (STABS_CURRENT_FILE): Likewise.
35631 (STABS_FUN): Likewise.
35632 (STABS_FUN_END): Likewise.
35633 (STABS_FUN2): Likewise.
35634 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35635 * sysdeps/x86_64/configure: Regenerated.
35636
5908bf46
RM
356372012-08-14 Roland McGrath <roland@hack.frob.com>
35638
35639 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35640 * elf/dl-lookup.c: Likewise.
5908bf46 35641
f2c05b9e
JM
356422012-08-14 Joseph Myers <joseph@codesourcery.com>
35643
35644 * sysdeps/unix/sysv/linux/kernel-features.h
35645 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35646 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35647 unconditionally.
35648 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35649 unconditionally.
35650 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35651 condition on __ASSUME_CLONE_THREAD_FLAGS.
35652
e11f5155
AJ
356532012-08-14 Andreas Jaeger <aj@suse.de>
35654
35655 * sysdeps/i386/fpu/libm-test-ulps: Update.
35656
51a9ba86
MK
356572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35658
2fdd4f78
AJ
35659 * include/atomic.h (atomic_exchange_and_add): Split into ...
35660 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35661 New atomic macros.
51a9ba86 35662
ba6cba9e
MT
356632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35664
35665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35666
42443a47
JL
356672012-08-13 Jeff Law <law@redhat.com>
35668
35669 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35670 null byte in the output string.
35671
121dce05
JM
356722012-08-10 Joseph Myers <joseph@codesourcery.com>
35673
35674 * sysdeps/unix/sysv/linux/kernel-features.h
35675 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35676 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35677 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35678 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35679 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35680 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35681 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35682
bf51f568
JL
356832012-08-09 Jeff Law <law@redhat.com>
35684
35685 [BZ #13939]
35686 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35687 When avoid_arena is set, don't retry in the that arena. Pick the
35688 next one, whatever it might be.
35689 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35690 (arena_lock): Pass in new parameter to arena_get2.
35691 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35692 arena_get2.
35693 (__libc_malloc): Unify retrying after main arena failure with
35694 __libc_memalign version.
35695 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35696
f85fa270
L
356972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35698
35699 [BZ #14166]
35700 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35701 to __redirect_strstr.
35702 (__strstr_sse42): Use typeof __redirect_strstr.
35703 (__strstr_ia32): Likewise.
35704 (__libc_strstr): New prototype.
35705 (strstr): Renamed to ...
35706 (__libc_strstr): This.
35707 (strstr): New strong alias of __libc_strstr.
35708 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35709 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35710 __redirect_time.
35711 Include <time.h>.
35712 (__libc_time): New prototype.
35713 (time_ifunc): Replace time with __libc_time.
35714 (time): New strong alias and hidden definition of __libc_time.
35715 (__GI_time): Remove strong alias.
35716 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35717 Include <stddef.h>.
35718 (memmove): Redefined to __redirect_memmove.
35719 (__memmove_sse2): Use typeof __redirect_memmove.
35720 (__memmove_ssse3): Likewise.
35721 (__memmove_ssse3_back): Likewise.
35722 (__libc_memmove): New prototype.
35723 (memmove): Renamed to ...
35724 (__libc_memmove): This.
35725 (memmove): New strong alias of __libc_memmove.
35726
33b4a91e
MS
357272012-08-08 Mark Salter <msalter@redhat.com>
35728
35729 * elf/elf.h
35730 (R_MN10300_TLS_GD): Define.
35731 (R_MN10300_TLS_LD): Likewise.
35732 (R_MN10300_TLS_LDO): Likewise.
35733 (R_MN10300_TLS_GOTIE): Likewise.
35734 (R_MN10300_TLS_IE): Likewise.
35735 (R_MN10300_TLS_LE): Likewise.
35736 (R_MN10300_TLS_DTPMOD): Likewise.
35737 (R_MN10300_TLS_DTPOFF): Likewise.
35738 (R_MN10300_TLS_TPOFF): Likewise.
35739 (R_MN10300_SYM_DIFF): Likewise.
35740 (R_MN10300_ALIGN): Likewise.
35741 (R_MN10300_NUM): Update.
35742
b36137f1
JM
357432012-08-08 Joseph Myers <joseph@codesourcery.com>
35744
35745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35746 Remove.
35747
cdd915fd
RM
357482012-08-08 Roland McGrath <roland@hack.frob.com>
35749
a2433aac
RM
35750 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35751
cdd915fd
RM
35752 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35753 sysdeps/unix -> sysdeps/posix move.
35754 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35755
bf9b740a
AM
357562012-08-07 Allan McRae <allan@archlinux.org>
35757
35758 [BZ #14303]
35759 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35760 (SUNOS_CPP): Likewise.
35761 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35762 not found.
35763 (open_input): Call CPP using execvp.
35764
93df14ee
JM
357652012-08-07 Joseph Myers <joseph@codesourcery.com>
35766
35767 * sysdeps/unix/sysv/linux/kernel-features.h
35768 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35769 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35770 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35771 (__ASSUME_WAITID_SYSCALL): Likewise.
35772 * sysdeps/unix/sysv/linux/dl-execstack.c
35773 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35774 code unconditional.
35775 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35776 conditional code.
35777 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35778 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35779 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35780 code.
35781 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35782 unconditional.
35783 [__ASSUME_WAITID_SYSCALL]: Likewise.
35784 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35785
d34689de
RM
357862012-08-07 Roland McGrath <roland@hack.frob.com>
35787
a281decc
RM
35788 * sysdeps/unix/closedir.c: Renamed to ...
35789 * sysdeps/posix/closedir.c: ... here.
35790 * sysdeps/unix/dirfd.c: Renamed to ...
35791 * sysdeps/posix/dirfd.c: ... here.
35792 * sysdeps/unix/dirstream.h: Renamed to ...
35793 * sysdeps/posix/dirstream.h: ... here.
35794 * sysdeps/unix/fdopendir.c: Renamed to ...
35795 * sysdeps/posix/fdopendir.c: ... here.
35796 * sysdeps/unix/opendir.c: Renamed to ...
35797 * sysdeps/posix/opendir.c: ... here.
35798 * sysdeps/unix/readdir.c: Renamed to ...
35799 * sysdeps/posix/readdir.c: ... here.
35800 * sysdeps/unix/readdir_r.c: Renamed to ...
35801 * sysdeps/posix/readdir_r.c: ... here.
35802 * sysdeps/unix/rewinddir.c: Renamed to ...
35803 * sysdeps/posix/rewinddir.c: ... here.
35804 * sysdeps/unix/seekdir.c: Renamed to ...
35805 * sysdeps/posix/seekdir.c: ... here.
35806 * sysdeps/unix/telldir.c: Renamed to ...
35807 * sysdeps/posix/telldir.c: ... here.
35808 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35809 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35810 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35811 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35812
22895b47
RM
35813 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35814 * bits/fcntl.h: ... here.
35815
707a53b6
RM
35816 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35817 not 0.
35818 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35819 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35820 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35821 (struct flock): Move l_start, l_len to the beginning.
35822 Use __pid_t for l_pid.
35823 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35824 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35825 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35826 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35827 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35828 [__USE_LARGEFILE64] (struct flock64): New type.
35829 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35830
f0bd3e25
RM
35831 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35832 * bits/dirent.h: ... here.
35833
d34689de
RM
35834 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35835 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35836
6dad2c06
JM
358372012-08-07 Joseph Myers <joseph@codesourcery.com>
35838
35839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35840 Change from 2.6.0 to 2.6.16.
35841 * sysdeps/unix/sysv/linux/configure: Regenerated.
35842 * sysdeps/unix/sysv/linux/kernel-features.h
35843 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35844 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35845 version.
35846 (__ASSUME_UTIMES): Likewise.
35847 (__ASSUME_CLONE_STOPPED): Remove.
35848 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35849 architectures, not kernel version.
35850 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35851 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35852 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35853 (__ASSUME_WAITID_SYSCALL): Likewise.
35854 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35855 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35856 * README: State 2.6.16 as minimum Linux kernel version. Do not
35857 refer to older versions.
35858
03af9520
RM
358592012-08-06 Roland McGrath <roland@hack.frob.com>
35860
8e49df1d
RM
35861 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35862 Define alphasort64 as an alias.
35863 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35864 Define versionsort64 as an alias.
35865 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35866 Define scandir64 as an alias.
35867 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35868 Define scandirat64 as an alias.
35869 * dirent/alphasort64.c (alphasort64):
35870 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35871 * dirent/versionsort64.c: Likewise.
35872 * dirent/scandir64.c: Likewise.
35873 * dirent/scandirat64.c: Likewise.
35874 * sysdeps/wordsize-64/alphasort.c: File removed.
35875 * sysdeps/wordsize-64/alphasort64.c: File removed.
35876 * sysdeps/wordsize-64/scandir.c: File removed.
35877 * sysdeps/wordsize-64/scandir64.c: File removed.
35878 * sysdeps/wordsize-64/scandirat.c: File removed.
35879 * sysdeps/wordsize-64/scandirat64.c: File removed.
35880 * sysdeps/wordsize-64/versionsort.c: File removed.
35881 * sysdeps/wordsize-64/versionsort64.c: File removed.
35882 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35883 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35884 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35885 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35886 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35887 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35890
35891 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35893 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35895 [defined __arch64__ || defined __sparcv9]
35896 (__INO_T_MATCHES_INO64_T): New macro.
35897 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35898 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35899 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35900 * sysdeps/unix/sysv/linux/bits/dirent.h
35901 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35902 (_DIRENT_MATCHES_DIRENT64): New macro.
35903
03af9520
RM
35904 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35905 Define lockf64 as an alias.
35906 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35907 Define fseeko64 as an alias.
35908 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35909 Define ftello64 as an alias.
35910 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35911 Define _IO_fgetpos64 and fgetpos64 as aliases.
35912 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35913 Define _IO_fsetpos64 and fsetpos64 as aliases.
35914 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35915 Conditionalize body on this.
35916 * libio/fseeko64.c: Likewise.
35917 * libio/ftello64.c: Likewise.
35918 * libio/iofgetpos64.c: Likewise.
35919 * libio/iofsetpos64.c: Likewise.
35920 * sysdeps/wordsize-64/lockf.c: File removed.
35921 * sysdeps/wordsize-64/lockf64.c: File removed.
35922 * sysdeps/wordsize-64/fseeko.c: File removed.
35923 * sysdeps/wordsize-64/fseeko64.c: File removed.
35924 * sysdeps/wordsize-64/ftello.c: File removed.
35925 * sysdeps/wordsize-64/ftello64.c: File removed.
35926 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35927 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35928 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35929 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35930 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35931 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35932 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35933 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35934 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35935 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35936 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35937 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35938 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35940
35941 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35943 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35945 [defined __arch64__ || defined __sparcv9]
35946 (__OFF_T_MATCHES_OFF64_T): New macro.
35947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35948 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35950 (__OFF_T_MATCHES_OFF64_T): New macro.
35951
c5757acd
L
359522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35953
35954 * stdlib/secure-getenv.c (__secure_getenv): Replace
35955 GLIBC_2_16 with GLIBC_2_17.
35956
3a31811e
L
359572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35958
35959 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35960 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35961
faa2bccb
DM
359622012-08-03 David S. Miller <davem@davemloft.net>
35963
35964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35965
85fe1997
JM
359662012-08-03 Joseph Myers <joseph@codesourcery.com>
35967
35968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35969 Remove.
35970 (__ASSUME_CORRECT_SI_PID): Likewise.
35971 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35972 (__ASSUME_TMPFS_NAME): Likewise.
35973 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35974 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35975 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35976 (HAVE_AUX_SECURE): Make definition unconditional.
35977 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35978 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35979
4f75b7a0
RM
359802012-08-03 Roland McGrath <roland@hack.frob.com>
35981
35982 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35983 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35984 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35985 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35986 __eloop_threshold instead of SYMLOOP_MAX.
35987
35988 * sysdeps/generic/eloop-threshold.h: New file.
35989 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35990 of MAXSYMLINKS.
35991 * elf/chroot_canon.c (chroot_canon): Likewise.
35992
7aab07e4
JM
359932012-08-03 Joseph Myers <joseph@codesourcery.com>
35994
35995 [BZ #13717]
35996 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35997 Change to 2.6.0 everywhere.
35998 * sysdeps/unix/sysv/linux/configure: Regenerated.
35999 * sysdeps/unix/sysv/linux/kernel-features.h
36000 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36001 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36002 kernel versions.
36003 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36004 (__ASSUME_FUTEX_REQUEUE): Remove.
36005 (__ASSUME_STATFS64): Define unconditionally.
36006 (__ASSUME_AT_SECURE): Likewise.
36007 (__ASSUME_CORRECT_SI_PID): Likewise.
36008 (__ASSUME_TGKILL): Define without depending on kernel version for
36009 i386.
36010 (__ASSUME_UTIMES): Likewise.
36011 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36012 kernel version.
36013 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36014 (__ASSUME_TMPFS_NAME): Likewise.
36015 * README: Update reference to Linux kernel versions.
36016
b67e9372
MP
360172012-08-02 Marek Polacek <polacek@redhat.com>
36018
1f529f7d 36019 [BZ# 14150]
b67e9372
MP
36020 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36021 libc_cv_asm_type_prefix with %.
36022 * configure: Regenerated.
d2441631
RM
36023 * include/libc-symbols.h: Remove comment about
36024 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
36025 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36026 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36027 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36028 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36029 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36030 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36031 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36032 * elf/tst-unique2mod1.c: Likewise.
36033 * elf/tst-unique1mod2.c: Likewise.
36034 * elf/tst-unique1mod1.c: Likewise.
36035 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36036 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36037 Replace ASM_TYPE_DIRECTIVE with .type.
36038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36039 * sysdeps/i386/sysdep.h: Likewise.
36040 * sysdeps/x86_64/sysdep.h: Likewise.
36041 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
36042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36043 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 36044 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
36045 * sysdeps/powerpc/powerpc32/sysdep.h:
36046 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
36047 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36048 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36049 * sysdeps/i386/fpu/e_powf.S: Likewise.
36050 * sysdeps/i386/fpu/e_expl.S: Likewise.
36051 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36052 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36053 * sysdeps/i386/fpu/e_pow.S: Likewise.
36054 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36055 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36056 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36057 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36058 * sysdeps/i386/fpu/e_log2.S: Likewise.
36059 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36060 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36061 * sysdeps/i386/fpu/e_powl.S: Likewise.
36062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36063 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36064 * sysdeps/i386/fpu/e_logl.S: Likewise.
36065 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36066 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36067 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36068 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36069 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36070 * sysdeps/i386/fpu/e_log.S: Likewise.
36071 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36072 * sysdeps/i386/fpu/e_logf.S: Likewise.
36073 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36074 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36075 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36076 * sysdeps/i386/fpu/e_log10.S: Likewise.
36077 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36078 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36079 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36080 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36081 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36082 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36083 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36084 * sysdeps/i386/i686/strtok.S: Likewise.
36085 * sysdeps/i386/i386-mcount.S: Likewise.
36086 * sysdeps/i386/strtok.S: Likewise.
36087 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36088 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36089 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36090 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36091 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36092 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36093 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36094 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36096 * sysdeps/x86_64/_mcount.S: Likewise.
36097 * sysdeps/x86_64/strtok.S: Likewise.
36098 * sysdeps/sh/_mcount.S: Likewise.
36099
2747bf9a
RM
361002012-08-01 Roland McGrath <roland@hack.frob.com>
36101
36102 * libio/iofopen.c: Include <fcntl.h>.
36103 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36104 (_IO_fopen64, fopen64): Define as aliases.
36105 * libio/iofopen64.c: Include <fcntl.h>.
36106 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36107 Conditionalize body on this.
36108 * sysdeps/wordsize-64/iofopen.c: File removed.
36109 * sysdeps/wordsize-64/iofopen64.c: File removed.
36110
3fb791b8
MP
361112012-08-01 Marek Polacek <polacek@redhat.com>
36112
36113 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36114 Use dlfcn directly instead of a variable.
36115 (binfmt-subdir): Do not define.
36116 (dlfcn): Likewise.
36117
a9f1039f
JM
361182012-08-01 Joseph Myers <joseph@codesourcery.com>
36119
23bddc06
JM
36120 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36121 Remove all definitions.
36122 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36123 <kernel-features.h>.
36124 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36125 (miss_F_GETOWN_EX): Remove all definitions.
36126 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36127 macro definition.
36128 [!__ASSUME_FCNTL64]: Remove conditional code.
36129 [__ASSUME_FCNTL64]: Make code unconditional.
36130 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36131 <kernel-features.h>.
36132 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36133 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36134 (lockf64) [__NR_fcntl64]: Make code unconditional.
36135 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36136
a9f1039f
JM
36137 * sysdeps/unix/sysv/linux/kernel-features.h
36138 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36139 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36140 Make code unconditional.
36141 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36142 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36144 [__NR_vfork]: Make code unconditional.
36145 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36146 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36148 [__NR_vfork]: Make code unconditional.
36149 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36150 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36151
09c0ee5f
RM
361522012-08-01 Roland McGrath <roland@hack.frob.com>
36153
48aec5b9
RM
36154 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36155 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36156
cd97c966
RM
36157 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36158 Define mkstemp64 as an alias.
3f55550c
RM
36159 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36160 Define mkstemps64 as an alias.
cd97c966
RM
36161 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36162 Define mkostemp64 as an alias.
b8625cfc
RM
36163 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36164 Define mkostemps64 as an alias.
cd97c966
RM
36165 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36166 Conditionalize body on this.
36167 * misc/mkostemp64.c: Likewise.
b8625cfc 36168 * misc/mkostemps64.c: Likewise.
3f55550c 36169 * misc/mkstemps64.c: Likewise.
cd97c966
RM
36170 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36171 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36172 * sysdeps/wordsize-64/mkostemp.c: File removed.
36173 * sysdeps/wordsize-64/mkstemp.c: File removed.
36174 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36175 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36176 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36177 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36178
09c0ee5f
RM
36179 [BZ #14138]
36180 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36181 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36182 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36183 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36184
36185 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36186 compat_symbol macros from <shlib-compat.h> rather than the underlying
36187 default_symbol_version and symbol_version macros, so that DEFAULT
36188 lines in shlib-versions are respected.
36189 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36190
7e66ee51
FW
361912012-08-01 Florian Weimer <fweimer@redhat.com>
36192
36193 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36194 Declare with warn_unused_result.
36195 (setgid, setregid, setegid, setresgid): Likewise.
36196 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36197 Likewise.
36198 * WUR-REPORT: Remove set*id functions.
36199
d2a54255
PT
362002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36201
36202 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36203
7ecdb005
RM
362042012-07-31 Roland McGrath <roland@hack.frob.com>
36205
b4180a5e 36206 [BZ #10191]
789bd351
RM
36207 * include/sys/socket.h (__libc_accept, __libc_accept4):
36208 Add attribute_hidden.
36209 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36210
40ce302d
RM
36211 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36212 use of PTR_MANGLE.
36213 * inet/getnetgrent_r.c (setup): Likewise.
36214
7ecdb005
RM
36215 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36216
e2eabb2c
DM
362172012-07-31 David S. Miller <davem@davemloft.net>
36218
36219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36220
d0419dbf
JM
362212012-07-31 Joseph Myers <joseph@codesourcery.com>
36222
36223 [BZ #13629]
36224 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36225 value between 1.0 and 2.0 and smaller part has absolute value less
36226 than 1.0.
36227 * math/s_clog10.c (__clog10): Likewise.
36228 * math/s_clog10f.c (__clog10f): Likewise.
36229 * math/s_clog10l.c (__clog10l): Likewise.
36230 * math/s_clogf.c (__clogf): Likewise.
36231 * math/s_clogl.c (__clogl): Likewise.
36232 * math/libm-test.inc (clog_test): Add more tests.
36233 (clog10_test): Likewise.
36234 * sysdeps/i386/fpu/libm-test-ulps: Update.
36235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36236
2bc13872
FW
362372012-07-31 Florian Weimer <fweimer@redhat.com>
36238
36239 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36240 Exit with zero in case no suitable GID is found, and write a
36241 message to standard error.
36242
bea9b193
RM
362432012-07-30 Roland McGrath <roland@hack.frob.com>
36244
36245 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36246 rather than to 1.
36247 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36248 (MAXPATHLEN): Removed.
36249 (NOGROUP, NODEV): New macros.
36250 (setbit, clrbit, isset, isclr): New macros.
36251 (howmany, roundup, powerof2): New macros.
36252 (DEV_BSIZE): New macro.
36253
36254 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36255 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36256
36257 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36258 definition on [!__NO_LONG_DOUBLE_MATH].
36259
36260 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36261 PTR_MANGLE and PTR_DEMANGLE.
36262
36263 * socket/accept4.c (accept4): Rename to __libc_accept4.
36264 Define accept4 as a weak alias.
36265
36266 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36267 on [_DIRENT_HAVE_D_TYPE].
36268 * io/ftw.c (ftw_dir): Likewise.
36269
36270 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36271
36272 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36273
36274 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36275 Use the BSD numbers rather than the arbitrary ones we had.
36276 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36277 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36278 (SIGXCPU, SIGXFSZ): New macros.
36279 (_NSIG): Now 32.
36280
36281 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36282 initializer on [_LIBC_REENTRANT].
36283
36284 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36285 definitions inside [_POSIX_MAPPED_FILES].
36286
36287 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36288
36289 * dirent/opendir.c: Include <fcntl.h>.
36290
36291 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36292 (__libc_getspecific): Likewise.
36293 (__libc_key_create): Likewise.
36294
36295 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36296 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36297 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36298 (tmpfile64): Define as alias.
36299 * sysdeps/wordsize-64/tmpfile.c: File removed.
36300 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36301 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36302 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36303
36304 * stdio-common/vfscanf.c: Include <stdbool.h>.
36305 * nss/makedb.c: Likewise.
36306 * stdio-common/_i18n_number.h: Likewise.
36307 * argp/argp-help.c: Likewise.
36308 * posix/wordexp.c: Likewise.
36309 * sysdeps/posix/spawni.c: Likewise.
36310 * nss/nss_files/files-initgroups.c: Likewise.
36311 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36312 * nss/nss_files/files-initgroups.c: Likewise.
36313 * nss/nss_db/db-netgrp.c: Likewise.
36314 * nss/nss_db/db-initgroups.c: Likewise.
36315 * io/fchmodat.c: Include <sys/stat.h>.
36316
36317 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36318 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36319
36320 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36321 [HAVE_MMAP].
36322
36323 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36324 Add multiple inclusion protection.
36325
e5abc686
DM
363262012-07-27 David S. Miller <davem@davemloft.net>
36327
36328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36329
815e6fa3
GB
363302012-07-27 Gary Benson <gbenson@redhat.com>
36331
36332 [BZ #14298]
36333 * elf/rtld.c: Include <stap-probe.h>.
36334 (dl_main): Added static probes "init_start" and "init_complete".
36335 * elf/dl-load.c: Include <stap-probe.h>.
36336 (lose): Take new parameter "nsid".
36337 Added static probe "map_failed".
36338 (_dl_map_object_from_fd): Pass namespace id to lose.
36339 Added static probe "map_start".
36340 (open_verify): Pass namespace id to lose.
36341 * elf/dl-open.c: Include <stap-probe.h>.
36342 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36343 and "reloc_complete".
36344 * elf/dl-close.c: Include <stap-probe.h>.
36345 (_dl_close_worker): Added static probes "unmap_start" and
36346 "unmap_complete".
36347 * elf/rtld-debugger-interface.txt: New file documenting the above.
36348
9f98c16c
RM
363492012-07-26 Roland McGrath <roland@hack.frob.com>
36350
36351 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36352 rather than a string variable.
36353 * sunrpc/rpc_main.c (h_output): Likewise.
36354 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36355
f3c22df3
PT
363562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36357
36358 * inet/check_native.c: New file.
36359
3129cfc6
JM
363602012-07-26 Joseph Myers <joseph@codesourcery.com>
36361
da865e95
JM
36362 [BZ #13629]
36363 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36364 if larger part has absolute value 1.0.
36365 * math/s_clog10.c (__clog10): Likewise.
36366 * math/s_clog10f.c (__clog10f): Likewise.
36367 * math/s_clog10l.c (__clog10l): Likewise.
36368 * math/s_clogf.c (__clogf): Likewise.
36369 * math/s_clogl.c (__clogl): Likewise.
36370 * math/libm-test.inc (clog_test): Add more tests.
36371 (clog10_test): Likewise.
36372 * sysdeps/i386/fpu/libm-test-ulps: Update.
36373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36374
3129cfc6
JM
36375 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36376 (pltexit): Likewise.
36377 (La_regs): Likewise.
36378 (La_retval): Likewise.
36379 (int_retval): Likewise.
36380 Update #error for removed macros to refer only to definitions in
36381 tst-audit.h.
36382 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36383 macro.
36384 (pltexit): Likewise.
36385 (La_regs): Likewise.
36386 (La_retval): Likewise.
36387 (int_retval): Likewise.
36388 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36389 macro.
36390 (pltexit): Likewise.
36391 (La_regs): Likewise.
36392 (La_retval): Likewise.
36393 (int_retval): Likewise.
36394 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36395 macro.
36396 (pltexit): Likewise.
36397 (La_regs): Likewise.
36398 (La_retval): Likewise.
36399 (int_retval): Likewise.
36400 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36401 macro.
36402 (pltexit): Likewise.
36403 (La_regs): Likewise.
36404 (La_retval): Likewise.
36405 (int_retval): Likewise.
36406 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36407 macro.
36408 (pltexit): Likewise.
36409 (La_regs): Likewise.
36410 (La_retval): Likewise.
36411 (int_retval): Likewise.
36412 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36413 macro.
36414 (pltexit): Likewise.
36415 (La_regs): Likewise.
36416 (La_retval): Likewise.
36417 (int_retval): Likewise.
36418 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36419 macro definitions in tst-audit.h.
36420 * sysdeps/i386/tst-audit.h: New file.
36421 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36422 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36423 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36424 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36425 * sysdeps/sh/tst-audit.h: Likewise.
36426 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36427 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36428 * sysdeps/x86_64/tst-audit.h: Likewise.
36429
bfc07087
AJ
364302012-07-26 Andreas Jaeger <aj@suse.de>
36431
b1b2aaf8
AJ
36432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36433 ptrace.
36434
36435 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36436 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36437 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36438 PTRACE_O_MASK.
36439 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36440 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36441 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36442
bfc07087
AJ
36443 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36444 value.
36445
36446 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36447 _sigsys.
36448 (si_call_addr, si_syscall, si_arch): Define new macro.
36449 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36450 _sigsys.
36451 (si_call_addr, si_syscall, si_arch): Define new marcro.
36452 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36453 _sigsys.
36454 (si_call_addr, si_syscall, si_arch): Define new macro.
36455 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36456 _sigsys.
36457 (si_call_addr, si_syscall, si_arch): Define new macro.
36458
89b4b02f
JM
364592012-07-25 Joseph Myers <joseph@codesourcery.com>
36460
36461 [BZ #13717]
36462 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36463 Change to 2.4.21 where previously 2.4.1.
36464 * sysdeps/unix/sysv/linux/configure: Regenerated.
36465 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36466 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36467 Linux kernel version.
36468 (__ASSUME_STD_AUXV): Remove.
36469 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36470 kernel version.
36471 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36472 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36473 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36474 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36475 (__ASSUME_NETLINK_SUPPORT): Likewise.
36476 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36477 (__no_netlink_support): Remove conditional definition.
36478 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36479 Remove.
36480 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36481 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36482 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36483 (if_nameindex_ioctl): Remove.
36484 (if_nameindex_netlink): Do not handle __no_netlink_support.
36485 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36486 code.
36487 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36488 Remove conditional code.
36489 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36490 code.
36491 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36492 unconditional.
36493 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36494 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36495 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36496 Remove.
36497 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36498 [!__ASSUME_STD_AUXV]: Remove conditional code.
36499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36500 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36501 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36503 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36504 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36505 code.
36506 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36508 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36509 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36510 conditional code.
36511 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36513 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36514 code.
36515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36516 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36517 conditional code.
36518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36519 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36520 code unconditional.
36521 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36522 conditional code.
36523 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36524 unconditional.
36525 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36526 conditional code.
36527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36528 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36529 unconditional.
36530 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36531 conditional code.
36532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36533 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36534 code unconditional.
36535 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36536 conditional code.
36537 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36538 unconditional.
36539 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36540 conditional code.
36541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36542 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36543 code unconditional.
36544 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36545 conditional code.
36546 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36547 unconditional.
36548 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36549 conditional code.
36550
842a39cd
AS
365512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36552
36553 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36554 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36555 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36556 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36557 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36558 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36559 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36560 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36561 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36562 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36563 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36564 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36565 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36566 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36567 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36568 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36569 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36570 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36571 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36573 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36574 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36575 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36576
84b3fd84
FW
365772012-07-25 Florian Weimer <fweimer@redhat.com>
36578
36579 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36580 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36581 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36582 Introduce __libc_secure_getenv.
0c7936d5
FW
36583 * stdlib/Versions (2.17): Add secure_getenv
36584 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36585 * stdlib/secure-getenv.c: Rename __secure_getenv to
36586 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36587 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36588 * stdlib/tst-secure-getenv.c: New.
36589 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36590 * manual/startup.texi (Environment Access): Document
36591 secure_getenv.
84b3fd84
FW
36592 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36593 __libc_secure_getenv.
36594 * inet/ruserpass.c (ruserpass): Likewise.
36595 * malloc/mtrace.c (mtrace): Likewise.
36596 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36597 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36598 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36599 * sysdeps/posix/tempname.c: Likewise. Evaluate
36600 HAVE_SECURE_GETENV.
36601 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36602 __secure_getenv to __libc_secure_getenv.
84b3fd84 36603 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36605 Likewise.
36606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36607 Likewise.
36608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36610 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36615
56e49b71
JM
366162012-07-25 Joseph Myers <joseph@codesourcery.com>
36617
36618 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36619 (struct La_i86_retval): Likewise.
36620 (struct La_x86_64_regs): Likewise.
36621 (struct La_x86_64_retval): Likewise.
36622 (struct La_x32_regs): Likewise.
36623 (struct La_x32_retval): Likewise.
36624 (struct La_ppc32_regs): Likewise.
36625 (struct La_ppc32_retval): Likewise.
36626 (struct La_ppc64_regs): Likewise.
36627 (struct La_ppc64_retval): Likewise.
36628 (struct La_sh_regs): Likewise.
36629 (struct La_sh_retval): Likewise.
36630 (struct La_s390_32_regs): Likewise.
36631 (struct La_s390_32_retval): Likewise.
36632 (struct La_s390_64_regs): Likewise.
36633 (struct La_s390_64_retval): Likewise.
36634 (struct La_sparc32_regs): Likewise.
36635 (struct La_sparc32_retval): Likewise.
36636 (struct La_sparc64_regs): Likewise.
36637 (struct La_sparc64_retval): Likewise.
36638 (struct audit_ifaces): Remove architecture-specific pltenter and
36639 pltexit members.
36640 * sysdeps/i386/ldsodefs.h: New file.
36641 * sysdeps/powerpc/ldsodefs.h: Likewise.
36642 * sysdeps/s390/ldsodefs.h: Likewise.
36643 * sysdeps/sh/ldsodefs.h: Likewise.
36644 * sysdeps/sparc/ldsodefs.h: Likewise.
36645 * sysdeps/x86_64/ldsodefs.h: Likewise.
36646
354691b7
MP
366472012-07-25 Marek Polacek <polacek@redhat.com>
36648
36649 [BZ #6808]
36650 * math/libm-test.inc (yn_test): Add another test.
36651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36652 to ERANGE when the result is +-Inf.
36653 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36654 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36655 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36657
bf9e2071
JM
366582012-07-24 Joseph Myers <joseph@codesourcery.com>
36659
36660 * conform/data/time.h-data (NULL): Use macro-constant. Require
36661 equal to 0.
36662 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36663 clock_t.
36664 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36665
57633811
TS
366662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36667
36668 * configure.in <sysdeps resolving>: Correct printing
36669 Implies_before.
36670 * configure: Regenerate.
36671
c23c33b0
TS
366722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36673
36674 * math/w_ilogb.c: Include <limits.h>.
36675 * math/w_ilogbl.c: Likewise.
36676
b5982523
JM
366772012-07-20 Joseph Myers <joseph@codesourcery.com>
36678
36679 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36680 va_copy. Document allowing for unavailable va_copy only as
36681 pre-C99 compatibility.
36682 * manual/string.texi (Copying and Concatenation): Use va_copy
36683 instead of __va_copy in concat example.
36684
ac4ea442
PT
366852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36686
36687 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36688 (__sendto): Use create_address_port. Initialize APORT and deallocate
36689 it if not null.
36690
f98eafbd
PT
36691 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36692 with O_NOLINK passed to __file_name_lookup.
36693
898c7aab
PT
36694 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36695 with O_NOLINK passed to __file_name_lookup.
36696
0ced335a
PT
36697 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36698 negative N or less than NGIDS.
36699
b3404dbd
PT
36700 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36701 type to string_t. Set ERANGE as errno and return it if NAME is not big
36702 enough. Use memcpy instead of strncpy.
36703
0f48659e
JM
367042012-07-20 Joseph Myers <joseph@codesourcery.com>
36705
36706 * elf/Makefile (check-data): Remove.
36707 (localplt.data): New vpath directive.
36708 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36709 instead of $(check-data).
36710 * scripts/data/localplt-generic.data: Move to ...
36711 * sysdeps/generic/localplt.data: ... here.
36712 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36713 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36714 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36716 ... here.
36717 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36719 ... here.
36720 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36722 ... here.
36723 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36725 ... here.
36726 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36728 ... here.
36729 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36731 ... here.
36732
d37cbdaa
AZ
367332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36734
36735 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36736 PPC32 and PPC64 files.
36737 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36738 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36739
46f85fc2
AK
367402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36741
36742 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36743 __makecontext_ret to ...
36744 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36745 ... here and call exit if uc_link is NULL. New file.
36746 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36747 __makecontext_ret.S.
36748 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36749 __makecontext_ret to ...
36750 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36751 ... here and call exit if uc_link is NULL. New file.
36752 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36753 __makecontext_ret.S.
36754
08f43f9b
AK
367552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36756
36757 * elf/elf.h (R_390_IRELATIVE): New definition.
36758 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36759 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36760 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36761 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36762 (elf_machine_lazy_rel): Likewise.
36763 * sysdeps/s390/dl-irel.h: New file.
36764 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36765 * sysdeps/s390/s390-64/memset.S: New asm code.
36766 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36767 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36769 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36770 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36771 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36773 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36774 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36775 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36776 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36777 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36778 * sysdeps/s390/s390-32/memset.S: New asm code.
36779 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36780
3b05db33
MP
367812012-07-17 Marek Polacek <polacek@redhat.com>
36782
36783 [BZ #14349]
36784 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36785 * sysdeps/s390/s390-64/configure.in: Likewise.
36786 * sysdeps/sparc/configure.in: Likewise.
36787 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36788 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36789 * sysdeps/i386/configure.in: Likewise.
36790 * sysdeps/x86_64/configure.in: Likewise.
36791 * sysdeps/sh/configure.in: Likewise.
36792 * sysdeps/s390/s390-32/configure: Regenerated.
36793 * sysdeps/s390/s390-64/configure: Likewise.
36794 * sysdeps/x86_64/configure: Likewise.
36795 * sysdeps/sh/configure: Likewise.
36796 * sysdeps/powerpc/powerpc64/configure: Likewise.
36797 * sysdeps/powerpc/powerpc32/configure: Likewise.
36798 * sysdeps/sparc/configure: Likwise.
36799 * sysdeps/i386/configure: Likewise.
36800
a66877c6
MP
36801 * elf/dl-open.c: Comment fixes.
36802
cfc82fd8
JM
368032012-07-17 Joseph Myers <joseph@codesourcery.com>
36804
bd29910a
JM
36805 * Makefile [CXX] (check-data): Remove.
36806 [CXX] (c++-types.data): New vpath directive.
36807 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36808 vpath. Do not allow for C++ type data being missing.
36809 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36810 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36811 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36812 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36813 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36814 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36815 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36817 ... here.
36818 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36820 ... here.
36821 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36823 ... here.
36824 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36826 ... here.
36827 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36829 ... here.
36830 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36832 ... here.
36833 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36835 ... here.
36836 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36838
cfc82fd8
JM
36839 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36840 definitions to architecture-specific files.
36841 (TLS_IE): Likewise.
36842 (TLS_LD): Likewise.
36843 (TLS_GD): Likewise.
36844 * sysdeps/i386/tls-macros.h: New file.
36845 * sysdeps/powerpc/tls-macros.h: Likewise.
36846 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36847 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36848 * sysdeps/sh/tls-macros.h: Likewise.
36849 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36850 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36851 * sysdeps/x86_64/tls-macros.h: Likewise.
36852
f7db3170
TS
368532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36854
07cbfc23
TS
36855 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36856 zero value for regular exit case.
36857
f7db3170
TS
36858 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36859 (__start_context): Preserve zero value for regular exit case.
36860
dc97c227
TS
368612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36862 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36863
36864 * manual/setjmp.texi (setcontext): Clarify normal process
36865 termination when uc_link is the null pointer.
36866 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36867 exit call.
36868
d0cd7d02
AS
368692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36870
36871 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36872 preprocessor. Test for each exception mask separately.
36873
dd318934
AJ
368742012-07-16 Andreas Jaeger <aj@suse.de>
36875
36876 * po/ru.po: Update from translation team.
36877
8048311a
JM
368782012-07-15 Joseph Myers <joseph@codesourcery.com>
36879
36880 * conform/data/string.h-data (NULL): Use macro-constant. Require
36881 equal to 0.
36882 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36883 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36884 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36885 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36887
b637d46e
AJ
368882012-07-13 Andreas Jaeger <aj@suse.de>
36889
36890 * po/fr.po: Update from translation team.
36891
541428fe
MP
368922012-07-12 Marek Polacek <polacek@redhat.com>
36893
36894 [BZ #14173]
36895 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36896 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36897 loop condition.
36898
ec332e94
JM
368992012-07-12 Joseph Myers <joseph@codesourcery.com>
36900
36901 [BZ #13717]
36902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36903 Change to 2.4.1 where previously 2.4.0.
36904 * sysdeps/unix/sysv/linux/configure: Regenerated.
36905 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36906 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36907 version.
36908 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36909 (__ASSUME_AT_CLKTCK): Remove.
36910 (__ASSUME_AT_PAGESIZE): Likewise.
36911 (__ASSUME_AT_XID): Likewise.
36912 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36913 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36914 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36915 unconditionally.
36916 (HAVE_AUX_PAGESIZE): Likewise.
36917 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36918 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36919 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36920
7b6e99be
JB
369212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36922
36923 [BZ #14307]
36924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36925 the temporary buffer used to invoke __gethostbyname2_r,
36926 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36927 host_data / struct gaih_addrtuple.
36928 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36929 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36930 header file nss/nsswitch.h.
36931 * nss/nsswitch.h (global scope): Add definition of implementation
36932 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36933 resolv/nss_dns/dns-host.c).
36934
608404eb
AJ
369352012-07-11 Andreas Jaeger <aj@suse.de>
36936
36937 * po/fr.po: Update from translation team.
36938
71220aca
AJ
36939 * po/sv.po: Update from translation team
36940 * po/fr.po: Another update from translation team.
36941
28cfe843
AZ
369422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36943
36944 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36945 for subnormals or multiply small sinh result by itself.
36946 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36948
6b90f981
DM
369492012-07-11 David S. Miller <davem@davemloft.net>
36950
36951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36952
c6825772
AS
369532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36954
36955 [BZ #14347]
36956 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36957 (INTERNAL_MARK): Shift it here.
36958
7b8e0d49
MP
369592012-07-10 Marek Polacek <polacek@redhat.com>
36960
36961 [BZ #14151]
36962 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36963 libc_cv_asm_global_directive with .globl.
36964 * configure: Regenerated.
36965 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36966 with .globl.
36967 * sysdeps/i386/configure: Regenerated.
36968 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36969 with .globl.
36970 * sysdeps/x86_64/configure: Regenerated.
36971 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36972 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36973 * elf/tst-unique2mod2.c: Likewise.
36974 * elf/tst-unique2mod1.c: Likewise.
36975 * elf/tst-unique1mod2.c: Likewise.
36976 * elf/tst-unique1mod1.c: Likewise.
36977 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36978 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36979 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36981 * sysdeps/mach/sysdep.h: Likewise.
36982 * sysdeps/i386/sysdep.h: Likewise.
36983 * sysdeps/i386/i386-mcount.S: Likewise.
36984 * sysdeps/x86_64/_mcount.S: Likewise.
36985 * sysdeps/x86_64/sysdep.h: Likewise.
36986 * sysdeps/sh/_mcount.S: Likewise.
36987 * sysdeps/sh/sysdep.h: Likewise.
36988 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36989 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36990 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36991 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36992 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36993 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36994 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36995 * locale/localeinfo.h: Likewise.
36996 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36997 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36998
6c55cda3
RM
369992012-07-09 Roland McGrath <roland@hack.frob.com>
37000
37001 [BZ #14336]
37002 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37003 system".
37004 * manual/message.texi (The Uniforum approach): Likewise.
37005 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37006 (glibc iconv Implementation): Likewise.
37007
638a572e
JM
370082012-07-09 Joseph Myers <joseph@codesourcery.com>
37009
37010 [BZ #14337]
37011 * math/s_clog.c (__clog): Avoid scaling a value down where that
37012 could result in underflow.
37013 * math/s_clog10.c (__clog10): Likewise.
37014 * math/s_clog10f.c (__clog10f): Likewise.
37015 * math/s_clog10l.c (__clog10l): Likewise.
37016 * math/s_clogf.c (__clogf): Likewise.
37017 * math/s_clogl.c (__clogl): Likewise.
37018 * math/libm-test.inc (clog_test): Add more tests.
37019 (clog10_test): Likewise.
37020 * sysdeps/i386/fpu/libm-test-ulps: Update.
37021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37022
261f4859
AS
370232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37024
0abaf3e4
AS
37025 [BZ #14283]
37026 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37027 by 7 not 8 to examine high bit of fractional part.
37028
261f4859
AS
37029 [BZ #14042]
37030 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37031 for call to __mcount_internal.
37032 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37033 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37034 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37035
f17ac40d
JM
370362012-07-06 Joseph Myers <joseph@codesourcery.com>
37037
9ad63c23
JM
37038 [BZ #14154]
37039 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37040 approximation for values within 0x1p-13f of an odd multiple of
37041 pi/4.
37042 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37043 exception. Add more tests.
37044 * sysdeps/i386/fpu/libm-test-ulps: Update.
37045
f17ac40d
JM
37046 [BZ #6778]
37047 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37048 inputs and return -1 for them. Do not check for +Inf in case not
37049 reachable for +Inf.
37050 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37051 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37052 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37053 and return -1 for them. Do not check for +Inf in case not
37054 reachable for +Inf.
37055 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37056 define.
37057 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37058 and return -1 for them. Do not check for +Inf in case not
37059 reachable for +Inf.
37060 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37061 spurious underflow.
37062 * sysdeps/i386/fpu/libm-test-ulps: Update.
37063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37064
fb21f89b
MF
370652012-07-06 Mike Frysinger <vapier@gentoo.org>
37066
37067 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37068
cdfe2c5e
JM
370692012-07-05 Joseph Myers <joseph@codesourcery.com>
37070
37071 [BZ #14157]
37072 [BZ #14331]
37073 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37074 could result in spurious underflow. Scale down values above
37075 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37076 * math/s_csqrtf.c (__csqrtf): Likewise.
37077 * math/s_csqrtl.c (__csqrtl): Likewise.
37078 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37079 spurious underflow.
37080 * sysdeps/i386/fpu/libm-test-ulps: Update.
37081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37082
70d35b67
AS
370832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37084
704bc459
AS
37085 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37086 xopen-msg.sed.
37087 * catgets/xopen-msg.awk: New file.
37088 * catgets/xopen-msg.sed: Removed.
37089
70d35b67
AS
37090 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37091 po2text.sed.
37092 * intl/po2test.awk: New file.
37093 * intl/po2test.sed: Removed.
37094
ca61cf32
JM
370952012-07-04 Joseph Myers <joseph@codesourcery.com>
37096
37097 [BZ #14328]
37098 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37099 or multiply small sinh result by itself.
37100 * math/s_ctanf.c (__ctanf): Likewise.
37101 * math/s_ctanh.c (__ctanh): Likewise.
37102 * math/s_ctanhf.c (__ctanhf): Likewise.
37103 * math/s_ctanhl.c (__ctanhl): Likewise.
37104 * math/s_ctanl.c (__ctanl): Likewise.
37105 * math/libm-test.inc (ctan_test_tonearest): New function.
37106 (ctan_test_towardzero): Likewise.
37107 (ctan_test_downward): Likewise.
37108 (ctan_test_upward): Likewise.
37109 (ctanh_test_tonearest): Likewise.
37110 (ctanh_test_towardzero): Likewise.
37111 (ctanh_test_downward): Likewise.
37112 (ctanh_test_upward): Likewise.
37113 (main): Call these new functions.
37114 * sysdeps/i386/fpu/libm-test-ulps: Update.
37115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37116
ca48a46a
MF
371172012-07-03 Mike Frysinger <vapier@gentoo.org>
37118
37119 * .gitignore: Delete /ports entry.
37120
9d63d37d
AJ
371212012-07-03 Andreas Jaeger <aj@suse.de>
37122
37123 * po/bg.po: Update from translation team.
37124 * po/cs.po: Likewise.
37125 * po/de.po: Likewise.
37126 * po/hr.po: Likewise.
37127 * po/nl.pl: Likewise.
37128 * po/pl.po: Likewise.
37129 * po/vi.po: Likewise.
37130
370ca3d2
JM
371312012-07-03 Joseph Myers <joseph@codesourcery.com>
37132
95f5a9a8
JM
37133 * Makeconfig [!+link] (+link-before-libc): New variable.
37134 [!+link] (+link-after-libc): Likewise.
37135 [!+link] (+link-tests): Likewise.
37136 [!+link] (+link): Define in terms of $(+link-before-libc) and
37137 $(+link-after-libc).
37138 [!+link-static] (+link-static-before-libc): New variable.
37139 [!+link-static] (+link-static-after-libc): Likewise.
37140 [!+link-static] (+link-static-tests): Likewise.
37141 [!+link-static] (+link-static): Define in terms of
37142 $(+link-static-before-libc) and $(+link-static-after-libc).
37143 [build-shared] (link-libc-before-gnulib): New variable.
37144 [build-shared] (link-libc-tests): Likewise.
37145 [build-shared] (link-libc): Define in terms of
37146 $(link-libc-before-gnulib).
37147 [!build-shared] (link-libc-tests): New variable.
37148 (link-libc-static-tests): New variable.
37149 [!gnulib] (gnulib-arch): New variable.
37150 [!gnulib] (gnulib-tests): Likewise.
37151 [!gnulib] (static-gnulib-arch): Likewise.
37152 [!gnulib] (static-gnulib-tests): Likewise.
37153 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37154 Define with "=" instead of ":=".
37155 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37156 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37157 * Rules (binaries-all-notests): New variable.
37158 (binaries-all-tests): Likewise.
37159 (binaries-static-notests): Likewise.
37160 (binaries-static-tests): Likewise.
37161 (binaries-all): Define using $(binaries-all-notests) and
37162 $(binaries-all-tests).
37163 (binaries-static): Define using $(binaries-static-notests) and
37164 $(binaries-static-tests).
37165 (binaries-shared-tests): New variable.
37166 (binaries-shared-notests): Likewise.
37167 (binaries-shared): Remove variable.
37168 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37169 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37170 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37171 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37172 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37173 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37174 * elf/Makefile (sln-modules): New variable.
37175 (extra-objs): Add $(sln-modules:=.o).
37176 (ldconfig-modules): Add static-stubs.
37177 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37178 * elf/static-stubs.c: New file.
37179
7a845b2c
JM
37180 [BZ #14283]
37181 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37182 by 7 not 8 to examine high bit of fractional part. Use volatile
37183 variables when splitting into final array of floats if
37184 __FLT_EVAL_METHOD__ != 0.
37185 * math/libm-test.inc (cos_test): Add another test.
37186 (sin_test): Likewise.
37187 * sysdeps/i386/fpu/libm-test-ulps: Update.
37188
e2283f38
JM
37189 [BZ #14273]
37190 * math/libm-test.inc (cosh_test): Add more tests.
37191
370ca3d2
JM
37192 * version.h (RELEASE): Set to "development".
37193 (VERSION): Set to "2.16.90".
37194
ee9247c3
CD
371952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37196
37197 * NEWS: Update copyright. Remove last-updated date.
37198 Mention math library bug fixes and timezone data changes.
37199 * README: Mention GNU/Hurd, x32, and HPPA support status.
37200
4648c381
TS
372012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37202
37203 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37204
aac78a43
AJ
372052012-06-27 Andreas Jaeger <aj@suse.de>
37206
37207 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37208
ed3dbfad
AJ
372092012-06-25 Andreas Jaeger <aj@suse.de>
37210
37211 * sysdeps/s390/fpu/libm-test-ulps: Update.
37212
4d0ee855
AS
372132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37214 Thomas Schwinge <thomas@codesourcery.com>
37215
37216 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37217 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37219 fanotify_mark.
37220
af1bce34
TS
372212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37222
a9fa33ba
TS
37223 * sysdeps/mach/start.c: Remove file.
37224 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37225 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37226 * sysdeps/sh/init-first.c: Likewise.
37227
58f902b8
TS
37228 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37229 registers for frame unwinding purposes, add CFI directives.
37230 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37231 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37232 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37233 Likewise.
37234
1518f58b
TS
37235 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37236 __fortify_fail returning.
37237 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37238
db9b5059
TS
37239 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37240 sysdeps/sh/____longjmp_chk.S.
37241 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37242 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37243 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37244 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37245
967705fe
TS
37246 * sysdeps/sh/abort-instr.h: New file.
37247 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37248 process in case exit returns.
37249
a9def8c4
TS
37250 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37251 initialize the GOT register before use.
37252
2a649725
TS
37253 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37254 calculation of ARGC > 4.
37255
af1bce34
TS
37256 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37257 meaningful names to some local labels.
37258
d230f50a
KK
372592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37260 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37261
37262 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37263 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37264 (__arch_compare_and_exchange_val_16_acq): Likewise.
37265 (__arch_compare_and_exchange_val_32_acq): Likewise.
37266 (atomic_exchange_and_add): Fix gUSA sequence.
37267 (atomic_add): Likewise.
37268 (atomic_add_negative): Likewise.
37269 (atomic_add_zero): Likewise.
37270 (atomic_bit_test_set): Likewise.
37271
0479b305
AS
372722012-06-22 Andreas Schwab <schwab@redhat.com>
37273
37274 [BZ #13579]
37275 * include/link.h (struct link_map): Add l_free_initfini.
37276 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37277 l_initfini.
37278 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37279 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37280 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37281 set.
37282
0e3933b9
CD
372832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37284
37285 * configure.in: Use AC_LANG_SOURCE.
37286 * configure: Regenerate.
37287
4248b1b1
RM
372882012-06-22 Roland McGrath <roland@hack.frob.com>
37289
37290 * configure.in (libc_cv_localstatedir): New substituted variable.
37291 * configure: Regenerated.
37292 * config.make.in (localstatedir): New variable, substituted from
37293 libc_cv_localstatedir.
37294 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37295 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37296 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37297 * sysdeps/gnu/configure: Regenerated.
37298
006dd861
JL
372992012-06-21 Jeff Law <law@redhat.com>
37300
37301 [BZ #14277]
37302 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37303 free. Simplify list management for _LIBC case.
37304
79662d42
JM
373052012-06-21 Joseph Myers <joseph@codesourcery.com>
37306
b7abb4bf
JM
37307 [BZ #14273]
37308 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37309 Clear sign bit of 64-bit integer value before comparing against
37310 overflow value.
37311
79662d42
JM
37312 * sysdeps/mach/configure: Regenerated.
37313
1f150908
L
373142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37315
37316 [BZ #14278]
37317 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37318
28363bbf
JL
373192012-06-21 Jeff Law <law@redhat.com>
37320
37321 [BZ #13882]
37322 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37323 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37324 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37325 * elf/dl-open.c (dl_open_worker): Likewise.
37326
09615db4
CD
373272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37328
37329 * scripts/list-sources.sh: Scan PORTS for translations.
37330 * po/libc.pot: Regenerated.
37331
2174c6dd
AJ
373322012-06-21 Andreas Jaeger <aj@suse.de>
37333
37334 [BZ #12194]
37335 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37336 warning.
37337 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37338 * bits/byteswap-16.h (__bswap_16): Likewise.
37339 * bits/byteswap.h (__bswap_constant_16): Likewise.
37340
3ee947b1
L
373412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37342
37343 [BZ #14117]
a2f34833
L
37344 * sysdeps/i386/fpu_control.h: Removed.
37345 * sysdeps/x86_64/fpu_control.h: Moved to ...
37346 * sysdeps/x86/fpu_control.h: Here.
37347
3ee947b1
L
37348 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37349 (_FPU_SETCW): Likewise.
37350
ed1825f8
L
373512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37352
25f1282a
L
37353 [BZ #14117]
37354 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37355 * sysdeps/x86/fpu/bits/mathinline.h: This.
37356 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37357
ed1825f8
L
37358 [BZ #14050]
37359 [BZ #14117]
37360 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37361 functions if __x86_64__ is defined.
37362
36d54b74
CLT
373632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37364
37365 * string/endian.h: Add !__ASSEMBLER__ condition for including
37366 conversion interfaces.
37367
10285c21
JM
373682012-06-15 Joseph Myers <joseph@codesourcery.com>
37369
37370 [BZ #14241]
37371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37372 of ABS(x) in calculating zero to negative powers other than odd
37373 integers.
37374 * math/libm-test.inc (pow_test): Add more tests.
37375
06c5abbd
AJ
373762012-06-15 Andreas Jaeger <aj@suse.de>
37377
37378 * manual/contrib.texi (Contributors): Update entry of Liubov
37379 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37380 Machado Filho.
37381
a3aeac40
CH
373822012-06-15 Cyril Hrubis <metan@ucw.cz>
37383
37384 * string/string.h: Add __wur to GNU version of strerror_r.
37385
49bdf4c1
L
373862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37387
37388 [BZ #14229]
37389 * string/Makefile (tests): Add tst-strtok_r.
37390 * string/tst-strtok_r.c: New file.
37391 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37392 RAX_LP/RDX_LP on SAVE_PTR.
37393
834f9b8d
RM
373942012-06-14 Roland McGrath <roland@hack.frob.com>
37395
37396 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37397
75fa1921
JM
373982012-06-14 Joseph Myers <joseph@codesourcery.com>
37399
37400 * libm_test.inc (csqrt_test): Allow more spurious underflow
37401 exceptions.
37402 (j0_test): Likewise.
37403 (j1_test): Likewise.
37404 (y0_test): Likewise.
37405 (y1_test): Likewise.
37406
771766df
CD
374072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37408
37409 * po/Makefile (libc.pot): Use UTF-8 charset.
37410
ceb9e56b
PP
374112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37412
37413 [BZ #14210]
37414 Suppress sign-conversion warning from FD_SET.
37415 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37416 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37417 not unsigned long int.
37418 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37419
ddb28975
L
374202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37421
37422 [BZ #14050]
37423 [BZ #14117]
37424 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37425 __extern_always_inline instead of __extern_inline.
37426 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37427 (__signbit): Likewise.
37428 (__signbitl): Support C++ namespace.
37429 (lrintf): New inline function.
37430 (lrint): Likewise.
37431 (llrintf): Likewise.
37432 (llrint): Likewise.
37433 (fmaxf): Likewise.
37434 (fmax): Likewise.
37435 (fminf): Likewise.
37436 (fmin): Likewise.
37437 (rint): Likewise.
37438 (rintf): Likewise.
37439 (ceil): Likewise.
37440 (ceilf): Likewise.
37441 (floor): Likewise.
37442 (floorf): Likewise.
37443 (nearbyint): Likewise.
37444 (nearbyintf): Likewise.
37445
d7b4fb26
TS
374462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37447
37448 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37449 non-default versions.
37450
eb55f5c2
RM
374512012-06-11 Roland McGrath <roland@hack.frob.com>
37452
37453 [BZ #14218]
37454 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37455
366af02c
TS
374562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37457
99ff6e5c
TS
37458 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37459 (FE_UPWARD, FE_DOWNWARD): Don't define.
37460 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37461 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37462
366af02c
TS
37463 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37464 reading it.
37465 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37466 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37467
793ea851
KK
374682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37469
37470 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37471 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37472 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37473 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37474
a728a38f
L
374752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37476
37477 [BZ #14117]
c08010c7
L
37478 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37479 * sysdeps/i386/fpu/Implies: New file.
37480 * sysdeps/x86_64/fpu/Implies: Likewise.
37481 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37482 * sysdeps/x86/fpu/bits/fenv.h: This.
37483
a728a38f
L
37484 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37485 __SSE_MATH__.
37486
6e230d11
SP
374872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37488
37489 [BZ #14134]
37490 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37491 character 0xffff that matches the last element of the
37492 conversion table.
37493
1b671feb
AZ
374942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37495
37496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37497 fmodl commit.
37498
6043738b
AZ
374992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37500
37501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37502 values higher than 25.6283.
37503
34ae0b32
AZ
375042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37505
37506 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37507 subnormal exponent extraction and add some __builtin_expect.
37508 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37509 Fix for subnormal mantissa calculation.
37510
1214ec8f
MF
375112012-06-04 Mike Frysinger <vapier@gentoo.org>
37512
37513 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37514 cpu2 is -1 and errno is not ENOSYS.
37515
f3d1f93c
L
375162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37517
37518 [BZ #14117]
0e4a3cd7
L
37519 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37520 * sysdeps/x86/bits/string.h: This.
37521 * sysdeps/x86_64/bits/string.h: Removed.
37522
6704c645
L
37523 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37524 if not compiling for x86-64, but compiling for >= i486.
37525
48495318
L
37526 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37527 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37528
14adcbfc
L
37529 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37530 New macro from Linux kernel 3.4.0.
37531 (FP_XSTATE_MAGIC2): Likewise.
37532 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37533 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37534 (struct _fpx_sw_bytes): New struct.
37535 (struct _xsave_hdr): Likewise.
37536 (struct _ymmh_state): Likewise.
37537 (struct _xstate): Likewise.
37538
68e408ab
L
37539 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37540 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37542 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37543 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37544 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37545
f3d1f93c
L
37546 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37547 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37548 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37549 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37550 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37551 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37552
d9dc34cd
TMQMF
375532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37554
37555 [BZ #13743]
37556 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37557 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37558 (sysdep_headers): Include sys/platform/ppc.h.
37559 * sysdeps/powerpc/test-gettimebase.c: Test for
37560 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37561 * manual/Makefile (appendices): Include platform.texi.
37562 * manual/contrib.texi (Contributors): Update @node pointers.
37563 * manual/maint.texi (Maintenance): Likewise.
37564 (Platform): New node.
37565 * manual/platform.texi: New file. Document the new features.
37566
4af3879c
SP
375672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37568 Jakub Jelinek <jakub@redhat.com>
37569
37570 [BZ #14188]
37571 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37572 where __builtin_expect is unavailable.
37573
2fd6ff13
DM
375742012-06-03 David S. Miller <davem@davemloft.net>
37575
37576 * stdlib/longlong.h: Updated from GCC.
37577
173f7220
AS
375782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37579
37580 [BZ #14042]
37581 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37582 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37583 __mcount_internal.
37584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37585 (GLIBC_2.16): Likewise.
37586
f34a1c6f
L
375872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37588
37589 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37590
88a4576f
JM
375912012-06-01 Joseph Myers <joseph@codesourcery.com>
37592
ea32bcdd
JM
37593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37594 (default-abi): New variable.
37595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37596 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37597 variable.
37598 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37599 Likewise.
37600 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37601 Likewise.
37602 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37603 Likewise.
37604
88a4576f
JM
37605 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37606 definition. Document in comment.
37607
402fe938
DM
376082012-06-01 David S. Miller <davem@davemloft.net>
37609
37610 * stdlib/longlong.h: Updated from GCC.
37611
3553723f
L
376122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37613
37614 [BZ #14117]
3bd872c4
L
37615 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37616 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37617 sys/debugreg.h sys/io.h here.
37618 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37619 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37620 sys/io.h.
37621 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37622 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37623 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37624 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37625 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37626 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37627
3553723f
L
37628 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37629 Define only if __x86_64__ is defined.
37630
4842e4fe
JM
376312012-06-01 Joseph Myers <joseph@codesourcery.com>
37632
c5bfe3d5
JM
37633 [BZ #14048]
37634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37635 Use int64_t for variable i.
37636 * math/libm-test.inc (fmod_test): Add more tests.
37637
4842e4fe
JM
37638 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37639 z computation is not scheduled after fetestexcept.
37640 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37641 Use math_force_eval instead of asm to ensure calculation scheduled
37642 before exception test.
37643 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37644 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37645
efb73488
AJ
376462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37647
37648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37649 computation is not scheduled after fetestexcept.
37650
29bcce7c
L
376512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37652
37653 [BZ #14117]
37654 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37655 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37656
73a68f94
AZ
376572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37658
37659 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37660 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37661
67b6df78
L
376622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37663
edf2933a 37664 [BZ #14117]
ebc64a18
L
37665 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37666 <bits/wordsize.h>.
37667 (__WCHAR_MIN): Support __WORDSIZE == 64.
37668 (__WCHAR_MAX): Likewise.
37669
edf2933a
L
37670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37671 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37672
57c6cf40
L
37673 [BZ #14183]
37674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37675 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37676
67b6df78 37677 [BZ #14117]
8eb6281e
L
37678 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37679 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37680
aac639f4
L
37681 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37682 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37683
67b6df78
L
37684 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37685 Defined to 1 if __x86_64__ isn't defined.
37686 (_STAT_VER_LINUX_OLD): New.
37687 (st_atime): Remove duplicate.
37688 (st_mtime): Likewise.
37689 (st_ctime): Likewise.
37690
1c2cfe81
DM
376912012-05-31 David S. Miller <davem@davemloft.net>
37692
37693 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37694 entries.
37695
5be8418c
AS
376962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37697
e7725326
AS
37698 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37699 gen-libm-test.pl.
37700
5be8418c
AS
37701 [BZ #14132]
37702 * elf/dl-reloc.c: Include <_itoa.h>.
37703 (_dl_reloc_bad_type): Remove use of INTUSE.
37704 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37705 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37706 * stdio-common/psiginfo.c (psiginfo): Likewise.
37707 * stdio-common/psignal.c (psignal): Likewise.
37708 * string/strsignal.c (strsignal): Likewise.
37709 * include/signal.h (_sys_siglist): Declare hidden proto.
37710 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37711 INTVARDEF with libc_hidden_data_def.
37712 * stdio-common/itoa-udigits.c: Likewise.
37713 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37714 (_itoa_lower_digits_internal): Remove declaration.
37715 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37716 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37717 (_sys_sigabbrev_internal): Remove aliases.
37718 (_sys_siglist): Define hidden alias.
37719
507352f1
MT
377202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37721
37722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37723 bits/sysctl.h.
37724
42bbb1c3
L
377252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37726
37727 [BZ #14117]
6bd784b6
L
37728 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37729 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37730
8bca20f0
L
37731 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37732 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37733 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37734 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37735 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37736 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37737
f9e890a9
L
37738 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37740 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37741
471101a1
L
37742 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37743 with __addr.
37744 (insw): Likewise.
37745 (insl): Likewise.
37746 (outsb): Likewise.
37747 (outsw): Likewise.
37748 (outsl): Likewise.
37749
6451c862
L
37750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37752 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37753
a254b8c9
L
37754 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37755 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37756 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37757 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37758 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37759 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37760
b8dfdd92
L
37761 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37762 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37763
578cd270
L
37764 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37765 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37766
de662f5f
L
37767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37768 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37770
25653439
L
37771 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37772 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37773 to ...
37774 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37775
6bad24a0
L
37776 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37777 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37778 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37779
42bbb1c3
L
37780 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37781 for x86-64.
37782 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37783
2d10d547
JM
377842012-05-31 Joseph Myers <joseph@codesourcery.com>
37785
37786 * math/math.h (M_El): Use two more decimal places.
37787 (M_LOG2El): Likewise.
37788 (M_LOG10El): Likewise.
37789 (M_LN2l): Likewise.
37790 (M_LN10l): Likewise.
37791 (M_PIl): Likewise.
37792 (M_PI_2l): Likewise.
37793 (M_PI_4l): Likewise.
37794 (M_1_PIl): Likewise.
37795 (M_2_PIl): Likewise.
37796 (M_2_SQRTPIl): Likewise.
37797 (M_SQRT2l): Likewise.
37798 (M_SQRT1_2l): Likewise.
37799
f230c29b
DM
378002012-05-31 David S. Miller <davem@davemloft.net>
37801
37802 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37803 values between float registers.
37804 * sysdeps/sparc/sparc64/memset.S: Likewise.
37805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37806
fed806c3
MF
378072012-05-31 Mike Frysinger <vapier@gentoo.org>
37808
37809 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37810 -D_FORTIFY_SOURCE=1.
37811 (CPPFLAGS-tst-longjmp_chk.c): Define.
37812 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37813 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37814 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37815 CFLAGS-tst-wchar-h.c.
37816
30917259
MP
378172012-05-31 Marek Polacek <polacek@redhat.com>
37818
37819 [BZ #14132]
37820 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37821 __endmntent_internal): Remove declaration.
37822 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37823 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37824 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37825
1c58d5dc
DM
378262012-05-30 David S. Miller <davem@davemloft.net>
37827
37828 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37829 (___Q_simulate_exceptions): Use real FP ops rather than writing
37830 into the %fsr.
37831 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37832 Likewise.
37833
7dc00e0d
L
378342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37835
37836 [BZ #14117]
0bd53985
L
37837 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37838 * sysdeps/x86/bits/xtitypes.h: This.
37839
3a257e66
L
37840 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37841 * sysdeps/x86/bits/wordsize.h: This.
37842
62f62904
L
37843 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37844 * sysdeps/x86/bits/huge_vall.h: This.
37845
404fe9d9
L
37846 * sysdeps/i386/bits/select.h: Removed.
37847 * sysdeps/x86_64/bits/select.h: Renamed to ...
37848 * sysdeps/x86/bits/select.h: This.
37849
d48d0446
L
37850 * sysdeps/i386/bits/setjmp.h: Removed.
37851 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37852 * sysdeps/x86/bits/setjmp.h: This.
37853
7dc00e0d
L
37854 * sysdeps/i386/bits/mathdef.h: Removed.
37855 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37856 * sysdeps/x86/bits/mathdef.h: This.
37857
03277f8f
AS
378582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37859
37860 [BZ #14132]
37861 * include/sys/socket.h (__connect_internal)
37862 (__libc_sa_len_internal): Remove declaration.
37863 (__connect, __libc_sa_len): Declare hidden_proto.
37864 (SA_LEN): Remove use of INTUSE.
37865 * socket/connect.c: Add libc_hidden_def.
37866 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37867 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37868 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37869 alias.
37870 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37871 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37872 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37873 of adding _internal alias.
37874
13764867
L
378752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37876
37877 [BZ #14117]
6bd97696
L
37878 * sysdeps/i386/bits/link.h: Removed.
37879 * sysdeps/i386/bits/linkmap.h: Likewise.
37880 * sysdeps/x86_64/bits/link.h: Renamed to ...
37881 * sysdeps/x86/bits/link.h: This.
37882 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37883 * sysdeps/x86/bits/linkmap.h: This.
37884
f726f0bb
L
37885 * sysdeps/i386/bits/endian.h: Removed.
37886 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37887 * sysdeps/x86/bits/endian.h: This.
37888
13764867
L
37889 * sysdeps/i386/bits/byteswap.h: Removed.
37890 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37891 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37892 * sysdeps/x86/bits/byteswap.h: This.
37893 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37894 * sysdeps/x86/bits/byteswap-16.h: This.
37895 * sysdeps/i386/Implies: Add x86.
37896 * sysdeps/x86_64/Implies: Likewise.
37897
ae251b0b
DM
378982012-05-30 David S. Miller <davem@davemloft.net>
37899
37900 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37901 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37902 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37903 (FP_TRAPPING_EXCEPTIONS): Define.
37904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37905 (FP_TRAPPING_EXCEPTIONS): Define.
37906 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37907 subnormals only when inexact has been signalled or underflow
37908 exceptions are enabled.
37909 (_FP_PACK_CANONICAL): Likewise.
37910
d5c90867
L
379112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37912
37913 [BZ #14183]
37914 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37915 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37916
63f1549e
RH
379172012-05-30 Richard Henderson <rth@twiddle.net>
37918
8d8f2279
RH
37919 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37920 with #ifndef NOT_IN_libc.
37921
63f1549e
RH
37922 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37923 marked to avoid plt entry.
37924
0ab0291b
L
379252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37926
37927 [BZ #14112]
37928 * Makeconfig (default-abi): New macro.
37929 (abi-includes): Likewise.
37930 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37931 $(abi-$(default-abi)-lib-soname) for soname if defined.
37932 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37933 abi-variants.
37934 * Makefile (installed-stubs): Likewise.
37935 * include/stubs-biarch.h: Removed.
37936 * scripts/lib-names.awk: Only handle one library at a time.
37937 * scripts/soversions.awk: Remove WORDSIZE support.
37938 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37939 entries.
37940 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37941 Removed.
37942 (syscall-list-default-condition): Likewise.
37943 (syscall-list-default-condition): Likewise.
37944 (syscall-list-includes): Likewise.
37945 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37946 syscall-list-* with abi-*. Handle undefined abi-variants.
37947 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37948 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37949 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37950 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37951 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37952 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37953 Removed.
37954 (syscall-list-32-options): Likewise.
37955 (syscall-list-32-condition): Likewise.
37956 (syscall-list-64-options): Likewise.
37957 (syscall-list-64-condition): Likewise.
37958 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37959 macro.
37960 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37961 Renamed to ...
37962 (abi-*): This.
37963 (abi-64-ld-soname): New macro.
37964 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37965 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37966 Renamed to ...
37967 (abi-*): This.
37968 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37969 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37970
4da0431d
JM
379712012-05-30 Joseph Myers <joseph@codesourcery.com>
37972
3a85279c
JM
37973 * sysdeps/unix/sysv/linux/kernel-features.h
37974 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37975 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37976 include <kernel-features.h>.
37977 [!__NR_ftruncate64]: Remove conditional code.
37978 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37979 [__NR_ftruncate64]: Make code unconditional.
37980 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37981 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37982 include <kernel-features.h>.
37983 [!__NR_ftruncate64]: Remove conditional code.
37984 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37985 [__NR_ftruncate64]: Make code unconditional.
37986 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37988 include <kernel-features.h>.
37989 [!__NR_ftruncate64]: Remove conditional code.
37990 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37991 [__NR_ftruncate64]: Make code unconditional.
37992 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37994 include <kernel-features.h>.
37995 [!__NR_ftruncate64]: Remove conditional code.
37996 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37997 [__NR_ftruncate64]: Make code unconditional.
37998 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37999
4da0431d
JM
38000 * configure.in (libc_cv_fpie): Weaken to a compile test using
38001 LIBC_TRY_CC_OPTION.
38002 * configure: Regenerated.
38003
11ef492c
AK
380042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38005
38006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38010 Refreshed.
38011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38017 Refreshed.
38018
d66ef399
DM
380192012-05-27 David S. Miller <davem@davemloft.net>
38020
38021 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38022 (___Q_zero): New.
38023 (__Q_simulate_exceptions): Return void. Change to simulate
38024 exceptions by writing into the %fsr.
38025 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38026 (__Qp_handle_exceptions): Likewise.
38027 (numbers): Delete.
38028 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38029 __Qp_handle_exceptions.
38030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38031 __Qp_handle_exceptions.
38032 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38033 as unused and give dummy FP_RND_NEAREST initializer.
38034 (FP_INHIBIT_RESULTS): Define.
38035 (___Q_simulate_exceptions): Update declaration.
38036 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38037 formatting.
38038 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38039 as unused and give dummy FP_RND_NEAREST initializer.
38040 (__Qp_handle_exceptions): Update declaration.
38041 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38042 formatting.
38043
04fb54b5
TS
380442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38045
38046 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38047 the temporary FPU control word.
38048 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38049 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38050 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38051 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38052 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38053 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38054 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38056 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38057 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38058 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38059
3f99608f
KK
380602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38061
38062 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38063 fields.
38064
65a4de4e
CLT
380652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38066
38067 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38068 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38069 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38070 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38071 Likewise.
38072 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38073 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38074 Likewise.
38075
15749d40
UD
380762012-05-27 Ulrich Drepper <drepper@gmail.com>
38077
38078 * po/h.po: Update from translation team.
38079
25dbcb27
AS
380802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38081
3d3f8e55
AS
38082 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38083
25dbcb27
AS
38084 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38085 handling of denormals.
38086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38087 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38088 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38089 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38091 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38093 Likewise.
38094
7ad47a80 380952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
38096
38097 [BZ #14152]
38098 * math/libm-test.inc (fma_test): Don't always expect underflow
38099 exception.
38100
9c6ea9fa
SP
381012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38102
38103 [BZ #12416]
38104 * elf/tst-execstack.c: Include stackinfo.h.
38105 (do_test): Adjust test case to ensure that pthread_getattr_np
38106 behaviour remains the same after marking stack executable.
38107
a8239222
JM
381082012-05-25 Joseph Myers <joseph@codesourcery.com>
38109
38110 * sysdeps/unix/sysv/linux/kernel-features.h
38111 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38112 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38113 kernel-features.h.
38114 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38115 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38116 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38117 kernel-features.h.
38118 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38119 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38120
918b5606
L
381212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38122
38123 * configure.in: Define the default includes to being none.
38124 * configure: Regenerated.
38125
3a097cc7
RM
381262012-05-25 Roland McGrath <roland@hack.frob.com>
38127
8422c9a5
RM
38128 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38129 * sysdeps/x86_64/setjmp.S: Likewise.
38130 * sysdeps/i386/bsd-setjmp.S: Likewise.
38131 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38132 * sysdeps/i386/setjmp.S: Likewise.
38133 * sysdeps/i386/__longjmp.S: Likewise.
38134 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38135 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38136
3a097cc7
RM
38137 * include/stap-probe.h: New file.
38138 * configure.in: Handle --enable-systemtap.
38139 * configure: Regenerated.
38140 * config.h.in (USE_STAP_PROBE): New #undef.
38141 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38142 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38143 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38144
21708942
JM
381452012-05-25 Joseph Myers <joseph@codesourcery.com>
38146
38147 [BZ #13717]
38148 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38149 to 2.4.0 where earlier.
38150 * sysdeps/unix/sysv/linux/configure: Regenerated.
38151 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38152 <kernel-features.h>.
38153 [__ASSUME_32BITUIDS]: Make code unconditional.
38154 [!__ASSUME_32BITUIDS]: Remove conditional code.
38155 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38156 <kernel-features.h>.
38157 [__ASSUME_32BITUIDS]: Make code unconditional.
38158 [!__ASSUME_32BITUIDS]: Remove conditional code.
38159 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38160 [__ASSUME_32BITUIDS]: Make code unconditional.
38161 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38162 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38163 <kernel-features.h>.
38164 [__ASSUME_32BITUIDS]: Make code unconditional.
38165 [!__ASSUME_32BITUIDS]: Remove conditional code.
38166 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38167 <kernel-features.h>.
38168 [__ASSUME_32BITUIDS]: Make code unconditional.
38169 [!__ASSUME_32BITUIDS]: Remove conditional code.
38170 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38171 <kernel-features.h>.
38172 [__ASSUME_32BITUIDS]: Make code unconditional.
38173 [!__ASSUME_32BITUIDS]: Remove conditional code.
38174 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38175 <kernel-features.h>.
38176 [__ASSUME_32BITUIDS]: Make code unconditional.
38177 [!__ASSUME_32BITUIDS]: Remove conditional code.
38178 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38179 <kernel-features.h>.
38180 [__ASSUME_32BITUIDS]: Make code unconditional.
38181 [!__ASSUME_32BITUIDS]: Remove conditional code.
38182 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38183 <kernel-features.h>.
38184 [__ASSUME_32BITUIDS]: Make code unconditional.
38185 [!__ASSUME_32BITUIDS]: Remove conditional code.
38186 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38187 <kernel-features.h>.
38188 [__ASSUME_32BITUIDS]: Make code unconditional.
38189 [!__ASSUME_32BITUIDS]: Remove conditional code.
38190 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38191 <kernel-features.h>.
38192 [__ASSUME_32BITUIDS]: Make code unconditional.
38193 [!__ASSUME_32BITUIDS]: Remove conditional code.
38194 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38195 <kernel-features.h>.
38196 [__ASSUME_32BITUIDS]: Make code unconditional.
38197 [!__ASSUME_32BITUIDS]: Remove conditional code.
38198 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38199 <kernel-features.h>.
38200 [__ASSUME_32BITUIDS]: Make code unconditional.
38201 [!__ASSUME_32BITUIDS]: Remove conditional code.
38202 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38203 <kernel-features.h>.
38204 [__NR_setresgid] (__setresgid): Do not declare.
38205 [__ASSUME_32BITUIDS]: Make code unconditional.
38206 [!__ASSUME_32BITUIDS]: Remove conditional code.
38207 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38208 <kernel-features.h>.
38209 [__NR_setresuid] (__setresuid): Do not declare.
38210 [__ASSUME_32BITUIDS]: Make code unconditional.
38211 [!__ASSUME_32BITUIDS]: Remove conditional code.
38212 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38213 <kernel-features.h>.
38214 [__ASSUME_32BITUIDS]: Make code unconditional.
38215 [!__ASSUME_32BITUIDS]: Remove conditional code.
38216 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38217 <kernel-features.h>.
38218 [__ASSUME_32BITUIDS]: Make code unconditional.
38219 [!__ASSUME_32BITUIDS]: Remove conditional code.
38220 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38221 <kernel-features.h>.
38222 [__ASSUME_32BITUIDS]: Make code unconditional.
38223 [!__ASSUME_32BITUIDS]: Remove conditional code.
38224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38225 <kernel-features.h>.
38226 [__ASSUME_32BITUIDS]: Make code unconditional.
38227 [!__ASSUME_32BITUIDS]: Remove conditional code.
38228 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38229 <kernel-features.h>.
38230 [__ASSUME_32BITUIDS]: Make code unconditional.
38231 [!__ASSUME_32BITUIDS]: Remove conditional code.
38232 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38233 <kernel-features.h>.
38234 [__ASSUME_32BITUIDS]: Make code unconditional.
38235 [!__ASSUME_32BITUIDS]: Remove conditional code.
38236 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38237 <kernel-features.h>.
38238 [__ASSUME_32BITUIDS]: Make code unconditional.
38239 [!__ASSUME_32BITUIDS]: Remove conditional code.
38240 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38241 <kernel-features.h>.
38242 [__ASSUME_32BITUIDS]: Make code unconditional.
38243 [!__ASSUME_32BITUIDS]: Remove conditional code.
38244 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38245 <kernel-features.h>.
38246 [__ASSUME_32BITUIDS]: Make code unconditional.
38247 [!__ASSUME_32BITUIDS]: Remove conditional code.
38248 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38249 <kernel-features.h>.
38250 [__ASSUME_32BITUIDS]: Make code unconditional.
38251 [!__ASSUME_32BITUIDS]: Remove conditional code.
38252 * sysdeps/unix/sysv/linux/kernel-features.h
38253 (__ASSUME_SETRESUID_SYSCALL): Remove.
38254 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38255 (__ASSUME_32BITUIDS): Likewise.
38256 (__ASSUME_LDT_WORKS): Likewise.
38257 (__ASSUME_O_DIRECTORY): Likewise.
38258 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38259 architecture but not kernel version.
38260 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38261 (__ASSUME_MMAP2_SYSCALL): Likewise.
38262 (__ASSUME_STAT64_SYSCALL): Likewise.
38263 (__ASSUME_IPC64): Likewise.
38264 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38265 <kernel-features.h>.
38266 [__ASSUME_32BITUIDS]: Make code unconditional.
38267 [!__ASSUME_32BITUIDS]: Remove conditional code.
38268 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38269 <kernel-features.h>.
38270 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38271 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38272 132096]: Remove conditional code.
38273 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38274 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38275 <kernel-features.h>.
38276 [__ASSUME_32BITUIDS]: Make code unconditional.
38277 [!__ASSUME_32BITUIDS]: Remove conditional code.
38278 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38279 <kernel-features.h>.
38280 [__ASSUME_32BITUIDS]: Make code unconditional.
38281 [!__ASSUME_32BITUIDS]: Remove conditional code.
38282 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38283 <kernel-features.h>.
38284 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38285 unconditional.
38286 (__setresgid): Do not declare.
38287 [__ASSUME_32BITUIDS]: Make code unconditional.
38288 [!__ASSUME_32BITUIDS]: Remove conditional code.
38289 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38290 <kernel-features.h>.
38291 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38292 unconditional.
38293 (__setresuid): Do not declare.
38294 [__ASSUME_32BITUIDS]: Make code unconditional.
38295 [!__ASSUME_32BITUIDS]: Remove conditional code.
38296 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38297 <kernel-features.h>.
38298 [__ASSUME_32BITUIDS]: Make code unconditional.
38299 [!__ASSUME_32BITUIDS]: Remove conditional code.
38300 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38301 <kernel-features.h>.
38302 [__ASSUME_32BITUIDS]: Make code unconditional.
38303 [!__ASSUME_32BITUIDS]: Remove conditional code.
38304
a386f1cc
RH
383052012-05-25 Richard Henderson <rth@twiddle.net>
38306
38307 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38308 dl_hwcap to ifunc resolver.
38309 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38310 elf_ifunc_invoke.
38311 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38312 dl_hwcap to ifunc resolver.
38313 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38314
b6550497
JM
383152012-05-24 Joseph Myers <joseph@codesourcery.com>
38316
38317 [BZ #14153]
38318 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38319 for |x| <= 2**-26, not 2**-57.
38320 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38321 exception.
38322
b0bc23a1
JL
383232012-05-24 Jeff Law <law@redhat.com>
38324
38325 * stdio-common/Makefile (tests): Add bug25.
38326 * stdio-common/bug25.c: New test.
38327
347c92e9
L
383282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38329
38330 [BZ #13576]
38331 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38332 multiple of MALLOC_ALIGNMENT in size.
38333 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38334
6bcc8b3f
JM
383352012-05-24 Joseph Myers <joseph@codesourcery.com>
38336
38337 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38338 Require >= 256.
38339 (FILENAME_MAX): Use macro-int-constant.
38340 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38341 (_IOFBF): Use macro-int-constant.
38342 (_IOLBF): Likewise.
38343 (_IONBF): Likewise.
38344 (SEEK_CUR): Likewise.
38345 (SEEK_END): Likewise.
38346 (SEEK_SET): Likewise.
38347 (TMP_MAX): Likewise.
38348 (EOF): Use macro-int-constant. Require < 0.
38349 (NULL): Use macro-constant. Require == 0.
38350 (stdin): Require type to be FILE *.
38351 (stdout): Likewise.
38352 (stderr): Likewise.
38353 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38354 macro-int-constant.
38355 (EXIT_SUCCESS): Likewise.
38356 (NULL): Use macro-constant. Require == 0.
38357 (RAND_MAX): Use macro-int-constant.
38358 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38359 [C99-based standards] (strtof): Require function.
38360 [C99-based standards] (strtold): Likewise.
38361 [C99-based standards] (strtoll): Likewise.
38362 [C99-based standards] (strtoull): Likewise.
38363 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38364 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38365 [ISO || ISO99 || ISO11] (math.h): Likewise.
38366 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38367 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38369
d18ea0c5
AS
383702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38371
38372 [BZ #14132]
56d25bb8
AS
38373 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38374 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38375 * intl/dgettext.c (DCGETTEXT): Likewise.
38376 * intl/gettext.c (DCGETTEXT): Likewise.
38377 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38378 * posix/regex_internal.h (gettext): Likewise.
38379 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38380 Remove declaration.
38381 * include/argz.h (__argz_count_internal)
38382 (__argz_stringify_internal): Remove declaration.
38383 (__argz_count, __argz_stringify): Declare hidden proto.
38384 * intl/dcgettext.c: Remove use of INTDEF.
38385 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38386 * string/argz-stringify.c: Likewise.
38387 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38388 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38389 Declare hidden proto.
d18ea0c5
AS
38390 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38391 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38392 Declare hidden proto.
38393 * include/stdio.h (__asprintf_internal): Don't declare.
38394 (__asprintf): Don't define as macro. Declare hidden proto.
38395 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38396 (__fsetlocking): Declare hidden proto.
38397 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38398 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38399 hidden proto.
38400 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38401 (_IO_setlinebuf): Remove use of INTUSE.
38402 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38403 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38404 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38405 Remove declaration.
38406 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38407 (_IO_do_flush): Remove use of INTUSE.
38408 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38409 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38410 (_IO_adjust_column, _IO_least_wmarker)
38411 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38412 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38413 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38414 (_IO_default_doallocate, _IO_wdefault_doallocate)
38415 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38416 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38417 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38418 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38419 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38420 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38421 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38422 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38423 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38424 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38425 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38426 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38427 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38428 proto.
38429 (_IO_flush_all_internal, _IO_adjust_column_internal)
38430 (_IO_default_uflow_internal, _IO_default_finish_internal)
38431 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38432 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38433 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38434 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38435 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38436 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38437 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38438 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38439 (_IO_file_close_internal, _IO_file_close_it_internal)
38440 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38441 (_IO_file_init_internal, _IO_file_attach_internal)
38442 (_IO_file_fopen_internal, _IO_file_read_internal)
38443 (_IO_file_sync_internal, _IO_file_seek_internal)
38444 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38445 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38446 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38447 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38448 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38449 (_IO_list_all_internal, _IO_link_in_internal)
38450 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38451 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38452 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38453 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38454 (_IO_do_write_internal, _IO_padn_internal)
38455 (_IO_getline_info_internal, _IO_getline_internal)
38456 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38457 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38458 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38459 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38460 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38461 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38462 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38463 with libc_hidden_ver, remove use of INTUSE.
38464 * libio/genops.c: Likewise.
38465 * libio/freopen.c: Likewise.
38466 * libio/freopen64.c: Likewise.
38467 * libio/iofclose.c: Likewise.
38468 * libio/iofdopen.c: Likewise.
38469 * libio/iofflush.c: Likewise.
38470 * libio/iofflush_u.c: Likewise.
38471 * libio/iofgets.c: Likewise.
38472 * libio/iofgets_u.c: Likewise.
38473 * libio/iofopen.c: Likewise.
38474 * libio/iofopncook.c: Likewise.
38475 * libio/iofread.c: Likewise.
38476 * libio/iofread_u.c: Likewise.
38477 * libio/ioftell.c: Likewise.
38478 * libio/iofwrite.c: Likewise.
38479 * libio/iogetline.c: Likewise.
38480 * libio/iogets.c: Likewise.
38481 * libio/iogetwline.c: Likewise.
38482 * libio/iopadn.c: Likewise.
38483 * libio/iopopen.c: Likewise.
38484 * libio/ioseekoff.c: Likewise.
38485 * libio/ioseekpos.c: Likewise.
38486 * libio/iosetbuffer.c: Likewise.
38487 * libio/iosetvbuf.c: Likewise.
38488 * libio/ioungetc.c: Likewise.
38489 * libio/ioungetwc.c: Likewise.
38490 * libio/iovdprintf.c: Likewise.
38491 * libio/iovsprintf.c: Likewise.
38492 * libio/iovsscanf.c: Likewise.
38493 * libio/memstream.c: Likewise.
38494 * libio/obprintf.c: Likewise.
38495 * libio/oldfileops.c: Likewise.
38496 * libio/oldiofclose.c: Likewise.
38497 * libio/oldiofdopen.c: Likewise.
38498 * libio/oldiofopen.c: Likewise.
38499 * libio/oldiopopen.c: Likewise.
38500 * libio/oldstdfiles.c: Likewise.
38501 * libio/putc.c: Likewise.
38502 * libio/setbuf.c: Likewise.
38503 * libio/setlinebuf.c: Likewise.
38504 * libio/stdfiles.c: Likewise.
38505 * libio/strops.c: Likewise.
38506 * libio/vasprintf.c: Likewise.
38507 * libio/vscanf.c: Likewise.
38508 * libio/vsnprintf.c: Likewise.
38509 * libio/vswprintf.c: Likewise.
38510 * libio/wfiledoalloc.c: Likewise.
38511 * libio/wfileops.c: Likewise.
38512 * libio/wgenops.c: Likewise.
38513 * libio/wmemstream.c: Likewise.
38514 * libio/wstrops.c: Likewise.
38515 * libio/__fpurge.c: Likewise.
38516 * libio/__fsetlocking.c: Likewise.
38517 * assert/assert.c: Likewise.
38518 * debug/fgets_chk.c: Likewise.
38519 * debug/fgets_u_chk.c: Likewise.
38520 * debug/fread_chk.c: Likewise.
38521 * debug/fread_u_chk.c: Likewise.
38522 * debug/gets_chk.c: Likewise.
38523 * debug/obprintf_chk.c: Likewise.
38524 * debug/vasprintf_chk.c: Likewise.
38525 * debug/vdprintf_chk.c: Likewise.
38526 * debug/vsnprintf_chk.c: Likewise.
38527 * debug/vsprintf_chk.c: Likewise.
38528 * malloc/mtrace.c: Likewise.
38529 * misc/error.c: Likewise.
38530 * misc/syslog.c: Likewise.
38531 * stdio-common/asprintf.c: Likewise.
38532 * stdio-common/fxprintf.c: Likewise.
38533 * stdio-common/getw.c: Likewise.
38534 * stdio-common/isoc99_fscanf.c: Likewise.
38535 * stdio-common/isoc99_scanf.c: Likewise.
38536 * stdio-common/isoc99_vfscanf.c: Likewise.
38537 * stdio-common/isoc99_vscanf.c: Likewise.
38538 * stdio-common/isoc99_vsscanf.c: Likewise.
38539 * stdio-common/printf-prs.c: Likewise.
38540 * stdio-common/printf_fp.c: Likewise.
38541 * stdio-common/printf_fphex.c: Likewise.
38542 * stdio-common/printf_size.c: Likewise.
38543 * stdio-common/putw.c: Likewise.
38544 * stdio-common/scanf.c: Likewise.
38545 * stdio-common/sprintf.c: Likewise.
38546 * stdio-common/tmpfile.c: Likewise.
38547 * stdio-common/vfprintf.c: Likewise.
38548 * stdio-common/vfscanf.c: Likewise.
38549 * stdlib/strfmon_l.c: Likewise.
38550 * sunrpc/openchild.c: Likewise.
38551 * sunrpc/xdr_stdio.c: Likewise.
38552 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38553 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38554
d6c33fda
RM
385552012-05-24 Roland McGrath <roland@hack.frob.com>
38556
c1487492
RM
38557 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38558
38559 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38560 in the third column, to generate for the shared library an IFUNC
38561 that uses _dl_vdso_vsym.
38562 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38563 * Makeconfig (object-suffixes-noshared): New variable.
38564
38565 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38566 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38567 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38568 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38569
d6c33fda
RM
38570 [BZ #14132]
38571 * include/sys/time.h (__gettimeofday): Remove macro.
38572 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38573 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38574 Remove INTDEF.
38575 (__gettimeofday): Add libc_hidden_def.
38576 (gettimeofday): Add libc_hidden_weak.
38577 * sysdeps/mach/gettimeofday.c: Likewise.
38578 * sysdeps/posix/gettimeofday.c: Likewise.
38579 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38580 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38582 (__gettimeofday_internal): Remove strong_alias.
38583 (__gettimeofday): Add libc_hidden_def.
38584 (gettimeofday): Add libc_hidden_weak.
38585 * sysdeps/unix/syscalls.list (gettimeofday):
38586 Remove __gettimeofday_internal alias.
38587
b5a2bbe6
L
385882012-05-24 Daniel Jacobowitz <drow@false.org>
38589 H.J. Lu <hongjiu.lu@intel.com>
38590
38591 [BZ #12495]
38592 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38593 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38594 (largebin_index_32_big): New.
38595 (largebin_index): Use it for 16-byte alignment.
38596 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38597 correction with front_misalign.
38598
cfba4fda
L
385992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38600
7f907421
L
38601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38603 Likewise.
38604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38605 Likewise.
38606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38607 Likewise.
38608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38609 Likewise.
38610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38611 Likewise.
38612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38613 Likewise.
38614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38615 Likewise.
38616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38617 Likewise.
38618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38619 Likewise.
38620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38621 Likewise.
38622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38623 Likewise.
38624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38625 Likewise.
38626
cfba4fda
L
38627 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38628 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38629
80bad0cc
JM
386302012-05-24 Joseph Myers <joseph@codesourcery.com>
38631
7a25eb06
JM
38632 [BZ #10846]
38633 [BZ #14036]
38634 * math/libm-test.inc (exp_test): Add test from bug 14036.
38635 (pow_test): Add test from bug 10846.
38636
795405f9
JM
38637 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38638 and other flags.
38639 (special_function): Do not include flags in test name.
38640 (parse_args): Likewise.
38641 * sysdeps/i386/fpu/libm-test-ulps: Update.
38642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38643 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38644 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38646
80bad0cc
JM
38647 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38648 exceptions.
38649 * math/libm-test.inc ("Philosophy"): Update comment about
38650 exception testing.
38651 (UNDERFLOW_EXCEPTION): New macro.
38652 (UNDERFLOW_EXCEPTION_OK): Likewise.
38653 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38654 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38655 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38656 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38657 (INVALID_EXCEPTION_OK): Update value.
38658 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38659 (OVERFLOW_EXCEPTION_OK): Likewise.
38660 (IGNORE_ZERO_INF_SIGN): Likewise.
38661 (test_exceptions): Handle underflow exceptions.
38662 (acos_test): Update for underflow exception expectations.
38663 (cexp_test): Likewise.
38664 (clog_test): Likewise.
38665 (clog10_test): Likewise.
38666 (csqrt_test): Likewise.
38667 (ctan_test): Likewise.
38668 (ctanh_test): Likewise.
38669 (exp_test): Likewise.
38670 (exp10_test): Likewise.
38671 (exp2_test): Likewise.
38672 (expm1_test): Likewise.
38673 (fma_test): Likewise.
38674 (j0_test): Likewise.
38675 (jn_test): Likewise.
38676 (nexttoward_test): Likewise.
38677 (pow_test): Likewise.
38678 (scalbn_test): Likewise.
38679 (scalbln_test): Likewise.
38680 (tan_test): Likewise.
38681 (y1_test): Likewise.
38682 * sysdeps/i386/fpu/libm-test-ulps: Update.
38683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38684
9e0e3d0b
DM
386852012-05-23 David S. Miller <davem@davemloft.net>
38686
38687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38688 (__libc_sigaction): Remove unused local variables.
38689
ccd0a08f
L
386902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38691
38692 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38693
62bdf9a6
PE
386942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38695
f8591f80
PE
38696 mktime: avoid signed integer overflow
38697 * time/mktime.c (__mktime_internal): Do not mishandle the case
38698 where diff == INT_MIN.
38699
94c7d826
PE
38700 mktime: simplify computation of average
38701 * time/mktime.c (ranged_convert): Use new time_t_avg function
38702 instead of rolling our own (probably-slower) code.
38703
ce73d683
PE
38704 mktime: do not assume signed right shift propagates sign bit
38705 * time/mktime.c (isdst_differ): New static function.
38706 (__mktime_internal): No need to normalize tm_isdst now.
38707 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38708 tm_isdst values.
38709
72a22e59
PE
38710 mktime: merge another wrapv change from gnulib
38711 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38712 from some compilers.
38713
68605433
PE
38714 mktime: remove incorrect attempt at unusual arithmetics
38715 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38716 The code didn't really work on such machines anyway.
38717 (TYPE_MINIMUM): Assume two's complement.
38718 (twos_complement_arithmetic): Verify that long_int and time_t
38719 are two's complement (or unsigned, in the latter case).
38720
03cf7fe3
PE
38721 mktime: check signed shifts on long_int and time_t, too
38722 * time/mktime.c (SHR): Check that shifts work as desired
38723 on the types long_int and time_t too, as SHR is used on
38724 such types.
38725
f04dfbc2
PE
38726 mktime: do not assume 'long' is wide enough
38727 * time/mktime.c (verify): Move decl up.
38728 (long_int): New type.
38729 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38730 to remove assumption in the code that 'long' is wide enough to
38731 store year values. This assumption is not true on x32 and on
38732 some non-glibc platforms.
38733
62bdf9a6
PE
38734 mktime: merge wrapv change from gnulib
38735 * time/mktime.c (WRAPV): New macro.
38736 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38737 (guess_time_tm, __mktime_internal): Do not assume that signed
38738 integer overflow wraps around; modern compilers generate code
38739 where this assumption is no longer valid.
38740
5e292e4f
L
387412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38742
38743 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38744 Replace "jmp L(pseudo_end)" with "ret".
38745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38746 Likewise.
38747
8caf8c87
AJ
387482012-05-23 Andreas Jaeger <aj@suse.de>
38749
38750 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38751 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38752
1a09dc56
AJ
387532012-05-23 Andreas Jaeger <aj@suse.de>
38754 Maximilian Attems <max@stro.at>
38755
38756 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38757 New macros.
38758
1c87aba0
L
387592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38760
38761 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38762 code so that pseudo_end is just ret and the stack pointer is
38763 correct also for static library in error case.
38764
40e45bd5
JM
387652012-05-23 Joseph Myers <joseph@codesourcery.com>
38766
c2670533
JM
38767 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38768 move to syscalls.list.
38769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38773
40e45bd5
JM
38774 * manual/install.texi (Running make install): Do not mention Linux
38775 kernel version for which pt_chown is not needed.
38776 (Linux): Do not mention problems with nscd with 2.0 kernels.
38777 * INSTALL: Regenerated.
38778
be08eda5
AJ
387792012-05-23 Andreas Jaeger <aj@suse.de>
38780
38781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38782 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38783 macro.
38784 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38785 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38786 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38787 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38788 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38789 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38790 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38791 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38792 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38794 * sysdeps/unix/sysv/linux/bits/in.h
38795 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38796
a6a056bb
RM
387972012-05-22 Roland McGrath <roland@hack.frob.com>
38798
38799 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38800 (PREPARE_VERSION): Just use assert instead, it will be elided
38801 under [NDEBUG] anyway.
38802
c9009328
L
388032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38804
38805 * sysdeps/unix/sysv/linux/Makefile: Include
38806 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38807 (sysdep_routines): Remove sysctl.
c9009328
L
38808 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38809 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38810 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38811 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38812 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38813
73338355
AJ
388142012-05-22 Andreas Jaeger <aj@suse.de>
38815
38816 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38817 that pseudo_end is just ret and the stack pointer is correct also
38818 for static library in error case.
38819
d44638b0
PP
388202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38821
38822 [BZ #14122]
38823 * nss/nsswitch.c (defconfig_entries): New variable.
38824 (__nss_database_lookup): Don't leak defconfig entries.
38825 (nss_parse_service_list): Don't leak on error paths.
38826 (free_database_entries): New function.
38827 (free_defconfig): New function.
38828 (free_mem): Move common code to free_database_entries.
38829
31a39bd8
L
388302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38831
da0331a8
L
38832 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38833 Add arch_prctl.
38834 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38835
31a39bd8
L
38836 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38837 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38839 New macro.
38840 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38841 (INTERNAL_SYSCALL_TYPES): Likewise.
38842 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38843 (LOAD_REGS_TYPES_[1-6]): Likewise.
38844 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38845 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38846
45470df3
AZ
388472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38848
38849 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38850 copysignl for GLIBC_2_0.
38851 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38852 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38854 logbl for GLIBC_2_0.
38855 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38856 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38857
98a61bcb
L
388582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38859
a4f6e481
L
38860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38861 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38862
f63d5db6
L
38863 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38864 Use "neg %eax".
38865
98a61bcb
L
38866 * time/mktime.c: Update copyright years.
38867
95770f14
PE
388682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38869
6226efbd
PE
38870 mktime: merge comment-quoting-style change from gnulib
38871 * time/mktime.c: Quote 'like this' in comments.
38872 The GNU coding standards suggest that we no longer quote `like this',
38873 as "`" and "'" are typically rendered asymmetrically nowadays.
38874 The typical gnulib style is to quote 'like this' when quoting
38875 code, and "like this" when quoting English.
38876
b99e4f78
PE
38877 * time/mktime.c (compile-command): Add "-I.".
38878
643e01e6
PE
38879 mktime: merge mktime-internal.h change from gnulib
38880 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38881
2554247d
PE
38882 mktime: merge time_r change from gnulib
38883 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38884
826dd0ab
PE
38885 mktime: merge DEBUG change from gnulib
38886 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38887 case system <time.h> has a #define.
38888
bd83aabe
PE
38889 mktime: merge <sys/types.h> change from gnulib
38890 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38891 since <time.t> is now guaranteed to define time_t.
38892
95770f14
PE
38893 mktime: merge HAVE_CONFIG_H change from gnulib
38894 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38895
5e1a27a9
L
388962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38897
0e44a77e
L
38898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38899 Use "neg %eax".
38900
5e1a27a9
L
38901 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38902 __rlim_t cast.
38903 (struct rusage): Use anonymous union to pad each field to
38904 __syscall_slong_t.
38905
46259bec
DM
389062012-05-21 David S. Miller <davem@davemloft.net>
38907
38908 * Makefules (o-iterator): Remove .s cases.
38909 (compile-command.s): Delete.
38910 (COMPILE.s): Delete.
38911 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38912
59f0c22e
JM
389132012-05-21 Joseph Myers <joseph@codesourcery.com>
38914
38915 * configure.in (libc_cv_predef_stack_protector): Only consider
38916 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38917 * configure: Regenerated.
38918
20c07380
L
389192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38920
bbb3154b
L
38921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38922 New macro. Use R*LP on int and pointer.
38923 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38924 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38925 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38926 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38927
20c07380
L
38928 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38929 [__WORDSIZE_TIME64_COMPAT32] instead of
38930 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38931 (struct utmp): Likewise.
38932 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38933 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38934 Renamed to ...
38935 (__WORDSIZE_TIME64_COMPAT32): This.
38936 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38937 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38938 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38939 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38940 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38941 (__WORDSIZE_TIME64_COMPAT32): New macro.
38942
d8d1017e
AJ
389432012-05-21 Andreas Jaeger <aj@suse.de>
38944
38945 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38946 only if [SHARED]. Add prototype for __wcschr_ia32.
38947
6c7fb145
RM
389482012-05-21 Roland McGrath <roland@hack.frob.com>
38949
38950 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38951 of %rbp unmolested in the jmp_buf while mangling the low bits.
38952 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38953 unmolested high bits of %rbp while demangling the low bits.
38954 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38955
66274218
AJ
389562012-05-21 Andreas Jaeger <aj@suse.de>
38957
07c58f8f
AJ
38958 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38959 * sunrpc/svc_simple.c: Use it for registerrpc.
38960 * sunrpc/xcrypt.c: Use it for passwd2des.
38961
66274218
AJ
38962 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38963
61f65140
L
389642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38965
38966 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38967 Don't define if [__SYSCALL_WORDSIZE != 32].
38968 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38969 New macro.
38970
5fefb436
AJ
389712012-05-21 Bruno Haible <bruno@clisp.org>
38972 Andreas Jaeger <aj@suse.de>
38973
38974 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38975 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38976 inptr and inend for must_buffer_ch.
38977 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38978 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38979 * stdio-common/Makefile (tests): Remove bug15.
38980 (bug15-ENV): Remove macro.
38981 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38982 anymore.
38983
d8e272ab
AJ
389842012-05-19 Andreas Jaeger <aj@suse.de>
38985 Roland McGrath <roland@hack.frob.com>
38986
38987 * manual/contrib.texi: Completely rewritten. It contains now an
38988 alphabetical list of contributors and their contributions.
38989
4a56a162
RH
389902012-05-21 Richard Henderson <rth@twiddle.net>
38991
38992 * misc/getauxval.c (__getauxval): Use unsigned long int.
38993 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38994 (getauxval): Use unsigned long int.
38995
d024d23c
L
389962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38997
38998 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38999
cbc00a03
RM
390002012-05-21 Roland McGrath <roland@hack.frob.com>
39001
39002 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39003 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39004 __alignof__ (long double).
39005
478143fa
AZ
390062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39007
39008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39009
c7683a6d
RH
390102012-05-20 Richard Henderson <rth@twiddle.net>
39011
39012 * misc/getauxval.c: New file.
39013 * misc/sys/auxv.h: New file.
39014 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39015 (routines): Add getauxval.
39016 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39017 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39018 * elf/dl-sysdep.c (_dl_auxv): Remove.
39019 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39020 * elf/dl-support.c (_dl_auxv): New variable.
39021 (_dl_aux_init): Initialize it.
39022 * manual/startup.texi (Auxiliary Vector): New node.
39023 * sysdeps/generic/bits/hwcap.h: New file.
39024 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39025 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39026 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39027 * sysdeps/sparc/sysdep.h: ... here. Include it.
39028 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39029 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
39030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39031 Update.
c7683a6d
RH
39032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39040
a6f1845d
AZ
390412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39042
39043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39044
cbcbe830
DM
390452012-05-19 David S. Miller <davem@davemloft.net>
39046
39047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39048
e0b16cc2
JM
390492012-05-19 Joseph Myers <joseph@codesourcery.com>
39050
39051 [BZ #14123]
39052 * math/s_ccosh.c: Include <float.h>
39053 (__ccosh): Avoid internal overflow calculating sinh and cosh
39054 values before multiplying by sin and cos values.
39055 * math/s_ccoshf.c: Likewise.
39056 * math/s_ccoshl.c: Likewise.
39057 * math/s_csin.c: Likewise.
39058 * math/s_csinf.c: Likewise.
39059 * math/s_csinl.c: Likewise.
39060 * math/s_csinh.c: Likewise.
39061 * math/s_csinhf.c: Likewise.
39062 * math/s_csinhl.c: Likewise.
39063 * math/libm-test.inc (ccos_test): Add more tests.
39064 (ccosh_test): Likewise.
39065 (csin_test): Likewise.
39066 (csinh_test): Likewise.
39067 * sysdeps/i386/fpu/libm-test-ulps: Update.
39068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39069
6ad13e08
L
390702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39071
f66f0ce8
L
39072 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39073 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39074
6ad13e08
L
39075 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39076
b1d072a7
JM
390772012-05-19 Joseph Myers <joseph@codesourcery.com>
39078
39079 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39080 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39081 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39082 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39083 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39084 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39085 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39086 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39087 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39088 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39089 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39090 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39091 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39092 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39093 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39094 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39095 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39096 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39097 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39098 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39099 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39100 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39101 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39102 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39103 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39104 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39105 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39106 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39107 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39108 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39109 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39110
9eae47cb
AJ
391112012-05-18 Andreas Jaeger <aj@suse.de>
39112
39113 * csu/.gitignore: Delete.
39114
bb07f69f
L
391152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39116
39117 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39118 (timex): Use __syscall_slong_t.
39119
e6bdb741
AJ
391202012-05-18 Andreas Jaeger <aj@suse.de>
39121 Carlos O'Donell <carlos_odonell@mentor.com>
39122
39123 * manual/install.texi (Configuring and compiling): Update
39124 description about files modified in the source directory.
d6c33fda 39125 * INSTALL: Regenerated.
e6bdb741 39126
1b74487e
L
391272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39128
39129 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39130 value. Use "or" to set return value to -1.
39131 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39132 negate return value.
39133
a88b64b9
TMQMF
391342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39135
57f41c40
AS
39136 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39137 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
39138 failure if the compiler has Graphite support disabled.
39139 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39140 Likewise.
57f41c40
AS
39141 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39142 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
39143 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39144 Likewise.
39145
3707636e
L
391462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39147
610b8622
L
39148 * sysdeps/x86_64/x32/_itoa.h: New file.
39149
7cd195df
L
39150 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39151 getdents system call only if kernel and user dirents have the
39152 same d_ino and d_off.
39153
94b07d20
L
39154 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39155 LLONG_MAX != LONG_MAX.
39156 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39157 (_fitoa_word): Likewise.
39158
18298070
L
39159 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39160 years.
39161 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39162 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39163 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39164
553c7ea4
L
39165 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39166 include <bits/wordsize.h>. Check __x86_64__ instead of
39167 __WORDSIZE.
39168 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39169 if __x86_64__ is defined. Use anonymous union on fpstate.
39170
3707636e
L
39171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39172 anonymous union.
39173
b53ef01a
AS
391742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39175
37fb1dc0
AS
39176 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39177 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39178 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39179 Refer to _rtld_local_ro instead of _rtld_global_ro.
39180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39181 Likewise.
39182 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39183 Likewise.
39184 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39185 Likewise.
39186 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39187 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39188 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39189
b53ef01a
AS
39190 * sysdeps/powerpc/powerpc32/dl-machine.c
39191 (__elf_machine_runtime_setup) [PROF]: Don't reference
39192 _dl_prof_resolve.
39193
7a185db2
AJ
391942012-05-18 Andreas Jaeger <aj@suse.de>
39195
39196 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39197 function only available for GCCs before 3.4 since GCC 3.4
39198 introduced a builtin.
39199 (lrint): Likewise.
39200 (llrintf): Likewise.
39201 (llrint): Likewise.
39202 (fmaxf): Likewise.
39203 (fmax): Likewise.
39204 (fminf): Likewise.
39205 (fmin): Likewise.
39206 (rint): Likewise.
39207 (rintf): Likewise.
39208 (nearbyint): Likewise.
39209 (nearbyintf): Likewise.
39210 (ceil): Likewise.
39211 (ceilf): Likewise.
39212 (floor): Likewise.
39213 (floorf): Likewise.
39214
3e5aef87
L
392152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39216
428bd707
L
39217 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39218 on both fields and cast pointer to __syscall_ulong_t.
39219
3e5aef87
L
39220 * bits/types.h (__fsword_t): New type.
39221 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39222 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39224 (__FSWORD_T_TYPE): Likewise.
39225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39226 (__FSWORD_T_TYPE): Likewise.
39227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39228 (__FSWORD_T_TYPE): Likewise.
39229 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39230 (__FSWORD_T_TYPE): Likewise.
39231 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39232 __SWORD_TYPE with __fsword_t.
39233 (statfs64): Likewise.
39234
1ba7c3dc
DM
392352012-05-17 David S. Miller <davem@davemloft.net>
39236
39237 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39238
59910343
AJ
392392012-05-17 Andreas Jaeger <aj@suse.de>
39240
39241 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39242 warning.
39243
2e4c1e9e
L
392442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39245
39246 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39247
de7f5ce7
AJ
392482012-05-17 Andreas Jaeger <aj@suse.de>
39249
39250 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39251 when it is used.
39252
286abc3d
CM
392532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39254
39255 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39256
477cc68e
L
392572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39258
39259 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39260 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39261
1a0994f5
CD
392622012-05-17 Andreas Jaeger <aj@suse.de>
39263 Carlos O'Donell <carlos_odonell@mentor.com>
39264
39265 [BZ #14059]
39266 * sysdeps/x86_64/multiarch/init-arch.h
39267 (bit_YMM_Usable): Rename to...
39268 (bit_AVX_Usable): ... this.
39269 (bit_FMA4_Usable): New macro.
39270 (bit_XMM_state): New macro.
39271 (bit_YMM_state): New macro.
39272 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39273 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39274 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39275 (CPUID_OSXSAVE): New macro.
39276 (CPUID_AVX): New macro.
39277 (CPUID_FMA4): New macro.
39278 (index_YMM_Usable): Rename to...
39279 (index_AVX_Usable): ... this.
39280 (HAS_AVX): Use HAS_ARCH_FEATURE.
39281 (HAS_FMA4): Likewise.
39282 (HAS_YMM_USABLE): Remove.
39283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39284 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39285 are present.
39286 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39287 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39288 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39289 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39290 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39291
0af797de
CM
392922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39293
39294 * math/libm-test.c: Support platforms without multiple rounding modes.
39295 * math/bug-nextafter.c: Support platforms without FP exceptions.
39296 * math/bug-nexttoward.c: Likewise.
39297 * math/test-fenv.c: Likewise.
39298 * math/test-misc.c: Likewise.
39299 * stdlib/bug-getcontext.c: Likewise.
39300
e39745ff
AJ
393012012-05-17 Andreas Jaeger <aj@suse.de>
39302
39303 * manual/examples/search.c (critter_cmp): Change signature to
39304 avoid warnings.
39305 * manual/string.texi (Collation Functions): Likewise.
39306
48970aba
L
393072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39308
39309 * bits/types.h: Fold copyright years.
39310 * bits/typesizes.h: Likewise.
39311 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39315 * time/time.h: Likewise.
39316
bedee953
PP
393172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39318
39319 [BZ #208]
39320 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39321 in instead of returning them. Return void.
39322 (__libc_mallinfo): Accumulate over all arenas.
39323 (__malloc_stats): Adjust for change in int_mallinfo interface.
39324
61653dfb
RM
393252012-05-16 Roland McGrath <roland@hack.frob.com>
39326
30b99d79
RM
39327 [BZ #10375]
39328 * configure.in (NM): Add AC_CHECK_TOOL for it.
39329 (libc_extra_cflags): New substituted variable.
39330 Check for -fstack-protector being used implicitly.
39331 * configure: Regenerated.
39332 * config.make.in (config-extra-cflags): New variable,
39333 gets @libc_extra_cflags@.
39334 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39335
61653dfb
RM
39336 [BZ #10375]
39337 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39338 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39339 * configure: Regenerated.
39340 * config.make.in (CPPUNDEFS): New substituted variable.
39341 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39342 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39343 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39344
661768bb
L
393452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39346
39347 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39348 (mq_attr): Use __syscall_slong_t.
39349
d4261567
L
393502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39351
39352 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39353 Check __x86_64__ instead of __WORDSIZE.
39354 (_STAT_VER_LINUX): Likewise.
39355 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39356 __syscall_ulong_t and __syscall_slong_t.
39357 (stat64): Likewise.
39358
cf3ff365
L
393592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39360
39361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39362
76cf3e4d
L
393632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39364
39365 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39366
a637753a
L
393672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39368
39369 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39370 __syscall_ulong_t.
39371
d5e05119
L
39372 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39373 include <bits/wordsize.h>. Check __x86_64__ instead of
39374 __WORDSIZE.
39375 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39376 defined.
39377 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39378
f62ee380
L
39379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39380 include <bits/wordsize.h>. Check __x86_64__ instead of
39381 __WORDSIZE.
39382 (user_regs_struct): Use "__extension__ unsigned long long"
39383 instead of "unsigned long" if __x86_64__ is defined.
39384 (user): Likewise. Pad after pointer field if __ILP32__ is
39385 defined.
39386
4e124ced
JM
393872012-05-16 Joseph Myers <joseph@codesourcery.com>
39388
6a3951a0
JM
39389 * configure.in (makeinfo): Require version 4.5 or later. Allow
39390 versions 5 to 9.
39391 * configure: Regenerated.
39392 * manual/install.texi (texinfo): Increase version requirement to
39393 4.5 or later.
39394 * INSTALL: Regenerated.
39395
4e124ced
JM
39396 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39397
953ca31a
L
393982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39399
39400 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39401
617aca05
L
39402 * sysdeps/x86_64/x32/ffs.c: New file.
39403
5762f7ae
L
39404 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39405 __syscall_ulong_t.
39406 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39407 defined. Use __syscall_ulong_t.
39408 (shminfo): Use __syscall_ulong_t.
39409 (shm_info): Likewise.
39410
a26b6856
L
39411 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39412 __syscall_ulong_t.
39413
cb2b9ef7
L
39414 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39415 <bits/wordsize.h>.
39416 (msgqnum_t): Use __syscall_ulong_t.
39417 (msglen_t): Likewise.
39418 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39419 __syscall_ulong_t.
39420
34683bb0
L
39421 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39422 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39423
84a68786
L
39424 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39425
48baa5f1
L
39426 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39427 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39428
180be88b
L
39429 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39430 __syscall_slong_t.
39431
5e90c8ad
L
39432 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39433 include <bits/wordsize.h>. Check __x86_64__ instead of
39434 __WORDSIZE.
39435
23dfb58b
L
39436 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39437 "unsigned long long int" if __x86_64__ is defined.
39438 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39439
ce5d54b0
L
39440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39441 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39442 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39443
13dc9eac
L
39444 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39445 <stdint.h>.
39446 (GET_PC): Cast to uintptr_t first.
39447 (GET_FRAME): Likewise.
39448 (GET_STACK): Likewise.
39449
a7895d15
L
39450 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39451 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39452 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39453 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39454 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39455 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39456 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39457 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39458 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39459 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39460 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39461 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39462 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39463 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39464 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39465 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39466 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39467 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39468 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39469 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39471 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39473 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39475 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39477 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39478 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39479
656416c9
AS
394802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39481
5bd66283
AS
39482 * Makerules (+depfiles): Also collect depfiles from .oS in
39483 $(extra-objs).
39484 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39485 .oS, $(libnldbl-routines)).
39486
656416c9
AS
39487 * Makerules (native-compile-mkdep-flags): Define.
39488 * sunrpc/Makefile (extra-objs): Add $(addprefix
39489 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39490 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39491 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39492 calling $(make-target-directory).
39493
a46f2169
L
394942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39495
39496 * bits/types.h (__snseconds_t): Removed.
39497 * time/time.h (struct timespec): Replace __snseconds_t with
39498 __syscall_slong_t.
39499 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39500 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39501 Likewise.
39502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39503 (__SNSECONDS_T_TYPE): Likewise.
39504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39505 (__SNSECONDS_T_TYPE): Likewise.
39506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39507 (__SNSECONDS_T_TYPE): Likewise.
39508
6af6528b
L
395092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39510
39511 * sysdeps/mach/hurd/bits/typesizes.h
39512 (__SYSCALL_SLONG_TYPE): New macro.
39513 (__SYSCALL_ULONG_TYPE): Likewise.
39514
de986b56
L
395152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39516
39517 * bits/types.h (__syscall_slong_t): New type.
39518 (__syscall_ulong_t): Likewise.
39519
39520 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39521 (__SYSCALL_ULONG_TYPE): Likewise.
39522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39523 (__SYSCALL_SLONG_TYPE): Likewise.
39524 (__SYSCALL_ULONG_TYPE): Likewise.
39525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39526 (__SYSCALL_SLONG_TYPE): Likewise.
39527 (__SYSCALL_ULONG_TYPE): Likewise.
39528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39529 (__SYSCALL_SLONG_TYPE): Likewise.
39530 (__SYSCALL_ULONG_TYPE): Likewise.
39531
85736dc7
L
395322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39533
39534 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39535 Add sigaltstack-offsets.sym.
39536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39537 <sigaltstack-offsets.h>.
39538 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39539 longjmp_msg pointer.
39540 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39541 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39542 signal stack.
39543 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39544
cc03b296
JM
395452012-05-15 Joseph Myers <joseph@codesourcery.com>
39546
a9538892
JM
39547 * elf/stackguard-macros.h: Remove file.
39548 * sysdeps/generic/stackguard-macros.h: New file.
39549 * sysdeps/i386/stackguard-macros.h: Likewise.
39550 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39551 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39552 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39553 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39554 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39555 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39556 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39557 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39558 <elf/stackguard-macros.h>.
39559
cc03b296
JM
39560 [BZ #14109]
39561 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39562 __aligned__ in attribute.
39563 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39564 (gregset_t): Likewise.
39565
93171016
L
395662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39567
39568 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39569 * sysdeps/x86_64/64/Implies-after: Here. New file.
39570 * sysdeps/x86_64/x32/Implies-after: New file.
39571
d86813a0
L
395722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39573
39574 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39575 and access return value for _dl_profile_fixup. Use R10_LP to
39576 load frame size.
39577
2953ec75
L
395782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39579
39580 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39581
3b550e9e
L
395822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39583
39584 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39585 * sysdeps/x86_64/x32/sysdep.h: New file.
39586
eda41706
L
395872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39588
39589 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39590 * sysdeps/x86_64/setjmp.S: Likewise.
39591
9ea01d93
AZ
395922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39593
39594 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39595 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39596 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39597 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39598 remove unused global constant.
39599
02a91938
CM
396002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39601
39602 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39603 include of <not-cancel.h>.
39604
6540185f
RM
396052012-05-15 Roland McGrath <roland@hack.frob.com>
39606
39607 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39608
509072a0
AJ
396092012-05-15 Jeff Law <law@redhat.com>
39610 Andreas Jaeger <aj@suse.de>
39611
39612 [BZ #13594]
39613 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39614 out from...
39615 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39616 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39617 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39618 code changing __hst_map_handle.map.
39619
ba75122d
RM
396202012-05-15 Roland McGrath <roland@hack.frob.com>
39621
39622 * configure.in (sysnames): Look for Implies-before and Implies-after
39623 files.
39624 * configure: Regenerated.
39625
890d8bd8
L
396262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39627
39628 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39629 8-byte data alignment with LP_SIZE alignment.
39630
f6ee6623
L
396312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39632
39633 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39634 into R10_LP.
39635
ea2626f6
L
396362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39637
39638 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39639
085f715e
L
396402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39641
39642 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39643 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39644 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39645 Likewise.
39646 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39647
be8498fc
L
396482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39649
39650 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39651 (stackinfo_sub_sp): Likewise.
39652
70bc83b9
L
396532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39654
39655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39656 RAX_LP.
39657
9bc0b730
L
396582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39659
39660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39661 into R*_LP.
39662
6d2850e7
L
396632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39664
39665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39666 sizes into R*_LP.
39667
3cb84561
L
396682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39669
39670 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39671
54e2ed81
L
396722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39673
39674 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39675 into R11_LP and load __x86_64_shared_cache_size_half into
39676 R8_LP.
39677
8a17f349
L
396782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39679
39680 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39681 R8_LP.
39682
777b1eea
AZ
396832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39684
39685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39686 logb for POWER7.
39687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39688 logbf for POWER7.
39689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39690 logbl for POWER7.
39691 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39692 powerpc32/power7/fpu/s_logb.c via #include.
39693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39694 powerpc32/power7/fpu/s_logbf.c via #include.
39695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39696 powerpc32/power7/fpu/s_logbl.c via #include.
39697
d20d4ac2
JM
396982012-05-15 Joseph Myers <joseph@codesourcery.com>
39699
39700 * README.libm: Remove file.
39701
6cdef1ab
L
397022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39703
39704 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39705 count for x32. Use R*_LP and omit operand-size suffix.
39706
0b254d8f
L
397072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39708
39709 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39710 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39711 * sysdeps/x86_64/x32/shlib-versions: New file.
39712
ceb809dc
RM
397132012-05-14 Roland McGrath <roland@hack.frob.com>
39714
39715 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39716 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39717 Use _dl_fatal_printf instead.
39718
37f1abd4
JM
397192012-05-14 Joseph Myers <joseph@codesourcery.com>
39720
39721 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39722 set if not set by the user. Do not allow for being unset.
39723 * sysdeps/unix/sysv/linux/configure: Regenerated.
39724
11de3a33
L
397252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39726
39727 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39728 the `q' suffix from lea and replace .quad with ASM_ADDR.
39729
e02f153a
L
397302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39731
39732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39733 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39734 instead of $17.
39735 (PTR_DEMANGLE): Likewise.
39736
520ae0fd
L
397372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39738
39739 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39740 (LP_OP): Likewise.
39741 (ASM_ADDR): Likewise.
39742 (RAX_LP): Likewise.
39743 (RBP_LP): Likewise.
39744 (RBX_LP): Likewise.
39745 (RCX_LP): Likewise.
39746 (RDI_LP): Likewise.
39747 (RSI_LP): Likewise.
39748 (RSP_LP): Likewise.
39749 (R8_LP): Likewise.
39750 (R9_LP): Likewise.
39751 (R10_LP): Likewise.
39752 (R10_LP): Likewise.
39753 (R11_LP): Likewise.
39754 (R12_LP): Likewise.
39755 (R13_LP): Likewise.
39756 (R14_LP): Likewise.
39757 (R15_LP): Likewise.
39758
b985be81
L
397592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39760
39761 * sysdeps/x86_64/x32/dl-machine.h: New file.
39762
6a4888ff
AJ
397632012-05-14 Andreas Jaeger <aj@suse.de>
39764
39765 * manual/Makefile (subdir): Remove export of subdir.
39766 (all): Remove target.
39767 (.PHONY): Remove all from list.
39768 (mkinstalldirs): Remove.
39769 (.PHONY): Remove installdirs from list.
39770 ($(inst_infodir)/libc.info): Use make-target-directory.
39771 (installdirs): Remove.
39772 (subdir_%): Remove.
39773 (glibc-targets): Remove.
39774 (lib): Remove.
39775 (stubs): Remove.
39776 ($(objpfx)stubs ../po/manual.pot): Remove.
39777 ($(objpfx)stamp%): Remove.
39778 (make-target-directory): Remove.
39779 (subdir_install): Remove.
39780 (routines): Remove.
39781 (aux): Remove.
39782 (sources): Remove.
39783 (objects): Remove.
39784 (headers): Remove.
39785
39786 [BZ #13750]
39787 * manual/.gitignore: Remove, it's not needed anymore.
39788 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39789 all files in it.
39790 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39791 directory.
39792 (texis): Renamed to $(objpfx)texis.
39793 (texis-path): New, contains path to generated files.
39794 (chapters.%): Use texis-path for complete path, add extra argument
39795 libc-texinfo.sh.
39796 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39797 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39798 (summary,texi, stamp-summary): Use complete path of
39799 files. Generate files in build dir.
39800 (dir-add.texi): Build in build dir.
39801 (libm-err.texi,stamp-libm-err): Likewise.
39802 (version.texi, stamp-version): Likewise.
39803 (.%c.texi): Likewise.
39804 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39805 (mostlyclean): Remove target.
39806 (realclean): Remove target.
39807 (generated): Add new variable with contents from mostlyclean and
39808 realclean, remove entries duplicated in common-mostlyclean, add
39809 stamp-libm-err and stamp-version.
39810 (generated-dirs): Add libc directory.
39811 ($(inst_infodir)/libc.info): Install files from build dir.
39812
39813 * manual/install.texi (Configuring and compiling): Adjust since
39814 the info files are not part of the tar ball anymore.
39815
7ac77294
AJ
398162012-05-14 Andreas Jaeger <aj@suse.de>
39817
39818 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39819 variable.
39820
ffb7875d
JM
398212012-05-14 Joseph Myers <joseph@codesourcery.com>
39822
39823 [BZ #13717]
39824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39825 to 2.2.0 where earlier.
39826 * sysdeps/unix/sysv/linux/configure: Regenerated.
39827 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39828 Remove conditional code.
39829 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39830 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39831 Remove conditional code.
39832 [!__NR_lchown]: Likewise.
39833 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39834 [__NR_lchown]: Likewise.
39835 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39836 comment referencing __ASSUME_LCHOWN_SYSCALL.
39837 * sysdeps/unix/sysv/linux/i386/sigaction.c
39838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39840 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39841 Remove conditional code.
39842 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39843 (__protocol_available): Remove #if 0 code.
39844 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39845 conditional code.
39846 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39847 * sysdeps/unix/sysv/linux/kernel-features.h
39848 (__ASSUME_GETCWD_SYSCALL): Don't define.
39849 (__ASSUME_REALTIME_SIGNALS): Likewise.
39850 (__ASSUME_PREAD_SYSCALL): Likewise.
39851 (__ASSUME_PWRITE_SYSCALL): Likewise.
39852 (__ASSUME_POLL_SYSCALL): Likewise.
39853 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39854 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39855 non-SPARC.
39856 (__ASSUME_SIOCGIFNAME): Don't define.
39857 (__ASSUME_MSG_NOSIGNAL): Likewise.
39858 (__ASSUME_SENDFILE): Define unconditionally.
39859 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39860 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39861 conditional code.
39862 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39863 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39864 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39865 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39866 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39867 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39868 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39870 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39873 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39876 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39882 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39885 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39888 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39891 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39892 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39893 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39894 Remove conditional code.
39895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39896 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39897 Remove conditional code.
39898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39899 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39900 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39901 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39902 Remove conditional code.
39903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39904 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39905 Remove conditional code.
39906 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39907 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39908 Remove conditional code.
39909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39910 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39911 Remove conditional code.
39912 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39913 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39914 Remove conditional code.
39915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39916 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39917 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39918 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39919 * sysdeps/unix/sysv/linux/sigaction.c
39920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39922 * sysdeps/unix/sysv/linux/sigpending.c
39923 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39924 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39925 * sysdeps/unix/sysv/linux/sigprocmask.c
39926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39928 * sysdeps/unix/sysv/linux/sigsuspend.c
39929 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39930 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39931 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39932 (__libc_missing_rt_sigs): Remove.
39933 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39934 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39935 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39936 Remove conditional code.
39937 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39938 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39939 return 1.
39940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39941 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39942 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39943 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39944
1bfb7291
AJ
399452012-05-14 Andreas Jaeger <aj@suse.de>
39946
caae5a81
AJ
39947 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39948 it's not used in glibc.
39949 (__coshm1): Likewise.
39950 (__acosh1p): Likewise.
39951 (__sgn): Likewise.
39952
1bfb7291
AJ
39953 * manual/string.texi (Copying and Concatenation): Add missing
39954 variable in concat example.
39955 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39956
c044d724
L
399572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39958
144c5467 39959 [BZ #14103]
c044d724
L
39960 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39961 __builtin_clzl with __builtin_clzll.
39962
2523c62b
L
399632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39964
39965 [BZ #14104]
39966 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39967 libc_freeres_ptr.
39968
d7bb4c42
LD
399692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39970
39971 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39972 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39973 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39974 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39975
9dc4e1fb
MF
399762012-05-14 Mike Frysinger <vapier@gentoo.org>
39977
39978 * NEWS: Update ia64 info.
39979
c7df0112
AS
399802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39981
39982 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39983 used as bcopy.
39984
dc70356c
TS
399852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39986
39987 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39988 * sysdeps/unix/syscalls.list (dup3): Likewise.
39989 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39990 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39991
9fb1a21f
L
399922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39993
39994 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39995 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39996
4822a2a5
L
399972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39998
39999 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40000 thread pointer.
40001 (TLS_IE): Use mov/add instead of movq/addq to load thread
40002 pointer.
40003 (TLS_GD_PREFIX): New.
40004 (TLS_GD): Use it.
40005
842b81d6
DM
400062012-05-11 David S. Miller <davem@davemloft.net>
40007
40008 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40009 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40010 (_FPU_SETCW): Likewise.
40011
1cf463cd
L
400122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40013
40014 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40015 is 32-byte aligned.
40016
60cc4a18
AS
400172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40018
40019 [BZ #11837]
40020 * iconvdata/gb18030.c: Update tables.
40021 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40022 characters specially.
40023 (BODY for TO_LOOP): Add encoding of missing ranges.
40024
febb44a4
TS
400252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40026
40027 [BZ #13673]
40028 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40029 * sysdeps/mach/hurd/dup3.c: Likewise.
40030 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40031 * sysdeps/powerpc/memmove.c:: Likewise.
40032
0a10fb9e
L
400332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40034
40035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40036 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40037
df8a552f
L
400382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40039
40040 * elf/elf.h (R_X86_64_RELATIVE64): New.
40041 (R_X86_64_NUM): Updated.
40042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40043 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40044 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40045 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40046 tst-quad1pie tst-quad2pie
40047 (modules-names): Add tst-quadmod1 tst-quadmod2.
40048 ($(objpfx)tst-quad1): New dependency.
40049 ($(objpfx)tst-quad2): Likewise.
40050 ($(objpfx)tst-quad1pie): Likewise.
40051 ($(objpfx)tst-quad2pie): Likewise.
40052 * sysdeps/x86_64/tst-quad1.c: New file.
40053 * sysdeps/x86_64/tst-quad1pie.c: New file.
40054 * sysdeps/x86_64/tst-quad2.c: Likewise.
40055 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40056 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40057 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40058 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40059 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40060
f34d6f84
ST
400612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40062
f42d41d1
ST
40063 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40064 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40065 * streams/stropts.h (t_scalar_t): Define type.
40066
3c3571fc
ST
40067 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40068 (_PATH_PRESERVE): Set to "/var/lib".
40069 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40070
61f06bd3
ST
40071 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40072 instead of int.
40073
918d4d71
ST
40074 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40075 if __dir_mkfile succeeded.
40076
f34d6f84
ST
40077 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40078 checking for _hurd_dtablesize. Unlock it right after having
40079 finished _hurd_dtable allocation.
40080
10589b4a
TS
400812012-05-10 Thomas Schwinge <thomas@schwinge.name>
40082
674cdbc7
TS
40083 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40084 * sysdeps/mach/hurd/configure: Regenerated.
40085 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40086 special-casing to...
40087 * sysdeps/gnu/configure.in: ... this new file.
40088 * sysdeps/unix/sysv/linux/configure: Regenerated.
40089 * sysdeps/gnu/configure: New generated file.
40090
8e41b99f
TS
40091 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40092 for Linux: use nsec instead of usec, as well as:
40093 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40094 members of type struct timespec.
40095 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40096 New macros.
40097 (struct stat64): Likewise.
40098 (_STATBUF_ST_NSEC): New macro.
40099 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40100
10589b4a
TS
40101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40102 __strtoul_internal rather than strtoul.
40103
63643c85
PT
401042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40105
40106 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40107 and reject them.
40108
3faebe6a
ST
401092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40110
40111 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40112 which preserves existing values.
40113 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40114
c6474b07
PT
401152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40116
40117 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40118 TIMEOUT values. Return EINVAL for NFDS values either negative or
40119 greater than FD_SETSIZE.
40120
1043890b
ST
401212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40122
40123 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40124 allocated, call __vm_protect to finish enabling the existing space, and
40125 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40126 allocate the remainder.
40127
37ed8b9b
PT
401282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40129
40130 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40131 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40132
db653660
ST
401332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40134
37ed8b9b
PT
40135 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40136 sysdeps/mach/hurd/readlink.c.
b29d4053 40137
db653660
ST
40138 * posix/tst-sysconf.c (posix_options): Only use
40139 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40140 _POSIX_SYNCHRONIZED_IO when they are defined
40141 * sysdeps/mach/hurd/bits/posix_opt.h:
40142 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40143 (_XOPEN_REALTIME): Undefine macro.
40144 (_XOPEN_REALTIME_THREADS): Undefine macro.
40145 (_XOPEN_SHM): Undefine macro.
40146 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40147 macro to -1.
40148 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40149 macro to -1.
40150 (_POSIX_ASYNC_IO): Undefine macro.
40151 (_POSIX_PRIORITIZED_IO): Undefine macro.
40152 (_POSIX_SPIN_LOCKS): Define macro to -1.
40153
ee16e894
ST
40154 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40155 SA_NODEFER, SA_RESETHAND.
40156 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40157 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40158 F_DUPFD_CLOEXEC.
40159
6103ae3b
TS
401602012-05-10 Thomas Schwinge <thomas@schwinge.name>
40161
40162 * elf/Makefile (pldd-modules): Define unconditionally.
40163
80b4e5f3
TS
401642012-05-10 Thomas Schwinge <thomas@schwinge.name>
40165
40166 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40167
edadcbd6
ST
401682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40169
40170 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40171 Return ENOENT when name is empty.
40172 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40173
80694780
TS
401742012-05-10 Thomas Schwinge <thomas@schwinge.name>
40175
1792c087
TS
40176 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40177
80694780
TS
40178 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40179
6b645f0d
ST
401802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40181
80694780
TS
40182 Fix mlock in all cases except non-readable pages.
40183 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40184 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 40185
6b645f0d
ST
40186 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40187 (__mkdir): When path is `/', just fail with EEXIST.
40188 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40189
e468f8a3
TS
401902012-05-10 Thomas Schwinge <thomas@schwinge.name>
40191
40192 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40193 <sys/uio.h> (for writev).
40194 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40195 and <sys/param.h> (for MIN).
40196
a4186cff
PT
401972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40198
40199 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40200 REQUESTED_TIME. Properly set the remaining time and return EINTR
40201 if interrupted.
40202
510bbf14
TS
402032012-05-10 Thomas Schwinge <thomas@schwinge.name>
40204
40205 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40206 Depend on against $(link-rpcuserlibs).
40207
5d5722e8
ST
402082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40209
a4186cff
PT
40210 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40211 (__libc_stack_end): Do not use attribute_relro.
40212 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40213 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40214 to libthread-provided value.
a4186cff
PT
40215 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40216 attribute_relro.
5d5722e8 40217
37233df9
TS
402182012-05-10 Thomas Schwinge <thomas@schwinge.name>
40219
be971a2b
TS
40220 [BZ #3748]
40221 * bits/libc-lock.h (__libc_once_get): New macro.
40222 * sysdeps/mach/bits/libc-lock.h: Likewise.
40223 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40225 instead of using implementation details.
40226
37233df9
TS
40227 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40228 * libio/freopen.c: Likewise.
40229 * libio/freopen64.c: Likewise.
40230 * misc/syslog.c: Likewise.
40231 * nscd/connections.c: Likewise.
40232 * nscd/netgroupcache.c: Likewise.
40233 * sysdeps/posix/getcwd.c: Likewise.
40234
38de94a5
RM
402352012-05-10 Roland McGrath <roland@hack.frob.com>
40236
40237 * math/w_ilogbf.c: Add #include <limits.h>.
40238
67530489
ST
402392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40240
a4186cff 40241 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40242 path instead of returning without unlocking.
40243
67530489
ST
40244 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40245 immediate-write ioctls.
40246 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40247
5aa3a74a
TS
402482012-05-10 Thomas Schwinge <thomas@schwinge.name>
40249
18bad2ae
TS
40250 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40251 __builtin_frame_address instead of making assumptions about the
40252 location of the return address relative to DATA. Force early load of
40253 the return address.
40254 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40255 __builtin_frame_address.
40256
5aa3a74a
TS
40257 dup3 for GNU Hurd.
40258 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40259 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40260 implement dup3 and do some further code clean-ups.
40261 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40262 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40263
ecd0de9a
ST
402642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40265
cd9fa985
ST
40266 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40267
a4186cff
PT
40268 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40269 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40270 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40271 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40272 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40273 d->port.lock.
802ca5a5 40274
a4186cff
PT
40275 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40276 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40277 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40278
bcf55240
TS
402792012-05-10 Thomas Schwinge <thomas@schwinge.name>
40280
6960eb42
TS
40281 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40282 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40283 definitions.
40284
eb43375f
TS
40285 accept4 for GNU Hurd.
40286 * include/sys/socket.h (__libc_accept4): New prototype.
40287 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40288 to implement __libc_accept4.
40289 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40290 __libc_accept4.
40291 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40292
bcf55240
TS
40293 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40294 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40295 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40296 signal-defines.sym.
40297
6178c55b
ST
402982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40299
a4186cff 40300 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40301
6f080c2f
TS
403022012-05-10 Thomas Schwinge <thomas@schwinge.name>
40303
40304 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40305 assertion on O_CLOEXEC flag.
40306 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40307 * hurd/intern-fd.c: Likewise.
40308 * hurd/port2fd.c: Likewise.
40309
bcfe3a54
ST
403102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40311
40312 [BZ #3906]
40313 * bits/in.h (IPV6_PKTINFO): Define new macro.
40314 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40315
89c9aa49
AZ
403162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40317
40318 [BZ #13954]
40319 [BZ #13955]
40320 [BZ #13956]
40321 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40322 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40323 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40324 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40326 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40327 * math/libm-test.inc (logb_test) : Additional logb tests.
40328
021db4be
AJ
403292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40330 Andreas Jaeger <aj@suse.de>
40331
40332 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40333 * configure: Regenerated.
40334 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40335 * config.make.in (link-obsolete-rpc): New substituted variable.
40336 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40337 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40338 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40339 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40340 so that libc.a contains the symbols.
40341 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40342 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40343 * sunrpc/auth_none.c: Likewise.
40344 * sunrpc/auth_unix.c: Likewise.
40345 * sunrpc/authdes_prot.c: Likewise.
40346 * sunrpc/authuxprot.c: Likewise.
40347 * sunrpc/clnt_gen.c: Likewise.
40348 * sunrpc/clnt_perr.c: Likewise.
40349 * sunrpc/clnt_raw.c: Likewise.
40350 * sunrpc/clnt_simp.c: Likewise.
40351 * sunrpc/clnt_tcp.c: Likewise.
40352 * sunrpc/clnt_udp.c: Likewise.
40353 * sunrpc/clnt_unix.c: Likewise.
40354 * sunrpc/des_crypt.c: Likewise.
40355 * sunrpc/des_soft.c: Likewise.
40356 * sunrpc/get_myaddr.c: Likewise.
40357 * sunrpc/key_call.c: Likewise.
40358 * sunrpc/key_prot.c: Likewise.
40359 * sunrpc/netname.c: Likewise.
40360 * sunrpc/pm_getmaps.c: Likewise.
40361 * sunrpc/pm_getport.c: Likewise.
40362 * sunrpc/pmap_clnt.c: Likewise.
40363 * sunrpc/pmap_prot.c: Likewise.
40364 * sunrpc/pmap_prot2.c: Likewise.
40365 * sunrpc/pmap_rmt.c: Likewise.
40366 * sunrpc/publickey.c: Likewise.
40367 * sunrpc/rpc_cmsg.c: Likewise.
40368 * sunrpc/rpc_common.c: Likewise.
40369 * sunrpc/rpc_dtable.c: Likewise.
40370 * sunrpc/rpc_prot.c: Likewise.
40371 * sunrpc/rpc_thread.c: Likewise.
40372 * sunrpc/rtime.c: Likewise.
40373 * sunrpc/svc.c: Likewise.
40374 * sunrpc/svc_auth.c: Likewise.
40375 * sunrpc/svc_raw.c: Likewise.
40376 * sunrpc/svc_run.c: Likewise.
40377 * sunrpc/svc_tcp.c: Likewise.
40378 * sunrpc/svc_udp.c: Likewise.
40379 * sunrpc/svc_unix.c: Likewise.
40380 * sunrpc/svcauth_des.c: Likewise.
40381 * sunrpc/xcrypt.c: Likewise.
40382 * sunrpc/xdr.c: Likewise.
40383 * sunrpc/xdr_array.c: Likewise.
40384 * sunrpc/xdr_float.c: Likewise.
40385 * sunrpc/xdr_intXX_t.c: Likewise.
40386 * sunrpc/xdr_mem.c: Likewise.
40387 * sunrpc/xdr_rec.c: Likewise.
40388 * sunrpc/xdr_ref.c: Likewise.
40389 * sunrpc/xdr_sizeof.c: Likewise.
40390 * sunrpc/xdr_stdio.c: Likewise.
40391
b5c086a2
RM
403922012-05-10 Roland McGrath <roland@hack.frob.com>
40393
40394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40395 change. Update copyright years.
40396
6d74dd09
JM
403972012-05-10 Joseph Myers <joseph@codesourcery.com>
40398
40399 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40400
28e72501
MK
404012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40402 Joseph Myers <joseph@codesourcery.com>
40403 Paul Pluzhnikov <ppluzhnikov@google.com>
40404
40405 [BZ #14012]
40406 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40407 requiring rpcgen.
40408 [cross-compiling] (extra-libs): Likewise.
40409 [cross-compiling] (extra-libs-others): Likewise.
40410 [cross-compiling] (librpcsvc-routines): Likewise.
40411 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40412 [cross-compiling] (omit-deps): Likewise.
40413 (sunrpc-CPPFLAGS): New variable.
40414 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40415 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40416 (cross-rpcgen-objs): New variable.
40417 (extra-objs): Append $(cross-rpcgen-objs).
40418 ($(cross-rpcgen-objs)): New rule.
40419 ($(objpfx)cross-rpcgen): Likewise.
40420 (rpcgen-cmd): Define to use $(built-program-file). Expand
40421 comment.
40422 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40423 ($(objpfx)x%.stmp): Likewise.
40424 * sunrpc/proto.h [IS_IN_build] (_): Define.
40425 [IS_IN_build] (_libc_intl_domainname): Likewise.
40426
c8c59454
L
404272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40428
40429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40430 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40431 and R_X86_64_TPOFF64.
40432
6f27cd16
JM
404332012-05-10 Joseph Myers <joseph@codesourcery.com>
40434
40435 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40436 sysdeps/unix/sysv/syscalls.list.
40437 (stime): Likewise.
40438 (utime): Likewise.
40439 * sysdeps/unix/sysv/syscalls.list: Remove file.
40440
02467e1c
PE
404412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40442
40443 [BZ #3440]
40444 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40445 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40446 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40447 (__LC_IDENTIFICATION): Make these macros useful in #if
40448 expressions, as required by C99.
40449
da392631
AS
404502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40451
40452 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40453 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40454 after this.
40455
8115f29b
L
404562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40457
40458 * stdlib/longlong.h: Updated from GCC.
40459
bdd74070
AJ
404602012-05-09 Andreas Jaeger <aj@suse.de>
40461
edfe0dbe
AJ
40462 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40463 default is first entry.
40464 (run_mode): Set type.
40465 (main): Remove informal message about syslog.
40466 (options): Fix typo.
40467
bcfe3a54
ST
40468 [BZ #14053]
40469 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40470 to asm.
bcfe3a54
ST
40471 (lrint): Likewise.
40472 (llrintf): Likewise.
40473 (llrint): Likewise.
40474 (rint): Likewise.
40475 (rintf): Likewise.
40476 (nearbyint): Likewise.
40477 (nearbyintf): Likewise.
bdd74070 40478
91d8d69e
AJ
404792012-05-09 Andreas Jaeger <aj@suse.de>
40480 Pedro Alves <palves@redhat.com>
40481
40482 * nscd/nscd.c (run_mode): Use enum.
40483 (main): Cleanup coding style issue.
40484
bb90b80b
AJ
404852012-05-09 Alexandre Oliva <aoliva@redhat.com>
40486 Andreas Jaeger <aj@suse.de>
40487
bcfe3a54
ST
40488 * nscd/nscd.c (go_background): Replaced with...
40489 (run_mode): ... this.
bb90b80b 40490 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40491 (options): Add -F --foreground.
40492 (main): Implement it.
40493 (parse_opt): Parse it.
bb90b80b 40494
1a4b75a1
AJ
404952012-05-09 Andreas Jaeger <aj@suse.de>
40496
40497 [BZ #14083]
40498 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40499 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40500 -Wconversion warning.
40501 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40502 Likewise.
40503
b1cc2472
JM
405042012-05-09 Joseph Myers <joseph@codesourcery.com>
40505
40506 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40507 == 0.
40508 (LC_ALL): Use macro-int-constant.
40509 (LC_COLLATE): Likewise.
40510 (LC_CTYPE): Likewise.
40511 (LC_MESSAGES): Likewise.
40512 (LC_MONETARY): Likewise.
40513 (LC_NUMERIC): Likewise.
40514 (LC_TIME): Likewise.
40515 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40516 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40518 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40519 Specify type.
40520 [C99-based standards] (float_t): Expect type.
40521 [C99-based standards] (double_t): Expect type.
40522 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40523 type.
40524 [C99-based standards] (HUGE_VALL): Likewise.
40525 [C99-based standards] (INFINITY): Likewise.
40526 [C99-based standards] (NAN): Likewise.
40527 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40528 [C99-based standards] (FP_NAN): Likewise.
40529 [C99-based standards] (FP_NORMAL): Likewise.
40530 [C99-based standards] (FP_SUBNORMAL): Likewise.
40531 [C99-based standards] (FP_ZERO): Likewise.
40532 [C99-based standards] (FP_FAST_FMA): Use
40533 optional-macro-int-constant. Specify type. Require == 1.
40534 [C99-based standards] (FP_FAST_FMAF): Likewise.
40535 [C99-based standards] (FP_FAST_FMAL): Likewise.
40536 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40537 [C99-based standards] (FP_ILOGBNAN): Likewise.
40538 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40539 Specify type.
40540 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40541 [C99-based standards] (math_errhandling): Specify type.
40542 [ISO99 || ISO11] (signgam): Do not allow.
40543 [non-C99-based standards] (copysignf): Do not allow.
40544 [non-C99-based standards] (exp2f): Likewise.
40545 [non-C99-based standards] (log2f): Likewise.
40546 [non-C99-based standards] (modff): Allow.
40547 [non-C99-based standards] (erff): Do not allow.
40548 [non-C99-based standards] (erfcf): Likewise.
40549 [non-C99-based standards] (gammaf): Likewise.
40550 [non-C99-based standards] (hypotf): Likewise.
40551 [non-C99-based standards] (j0f): Likewise.
40552 [non-C99-based standards] (j1f): Likewise.
40553 [non-C99-based standards] (jnf): Likewise.
40554 [non-C99-based standards] (lgammaf): Likewise.
40555 [non-C99-based standards] (tgammaf): Likewise.
40556 [non-C99-based standards] (y0f): Likewise.
40557 [non-C99-based standards] (y1f): Likewise.
40558 [non-C99-based standards] (ynf): Likewise.
40559 [non-C99-based standards] (isnanf): Likewise.
40560 [non-C99-based standards] (acoshf): Likewise.
40561 [non-C99-based standards] (asinhf): Likewise.
40562 [non-C99-based standards] (atanhf): Likewise.
40563 [non-C99-based standards] (cbrtf): Likewise.
40564 [non-C99-based standards] (expm1f): Likewise.
40565 [non-C99-based standards] (ilogbf): Likewise.
40566 [non-C99-based standards] (log1pf): Likewise.
40567 [non-C99-based standards] (logbf): Likewise.
40568 [non-C99-based standards] (nextafterf): Likewise.
40569 [non-C99-based standards] (remainderf): Likewise.
40570 [non-C99-based standards] (rintf): Likewise.
40571 [non-C99-based standards] (scalbf): Likewise.
40572 [non-C99-based standards] (copysignl): Likewise.
40573 [non-C99-based standards] (exp2l): Likewise.
40574 [non-C99-based standards] (log2l): Likewise.
40575 [non-C99-based standards] (modfl): Allow.
40576 [non-C99-based standards] (erfl): Do not allow.
40577 [non-C99-based standards] (erfcl): Likewise.
40578 [non-C99-based standards] (gammal): Likewise.
40579 [non-C99-based standards] (hypotl): Likewise.
40580 [non-C99-based standards] (j0l): Likewise.
40581 [non-C99-based standards] (j1l): Likewise.
40582 [non-C99-based standards] (jnl): Likewise.
40583 [non-C99-based standards] (lgammal): Likewise.
40584 [non-C99-based standards] (tgammal): Likewise.
40585 [non-C99-based standards] (y0l): Likewise.
40586 [non-C99-based standards] (y1l): Likewise.
40587 [non-C99-based standards] (ynl): Likewise.
40588 [non-C99-based standards] (isnanl): Likewise.
40589 [non-C99-based standards] (acoshl): Likewise.
40590 [non-C99-based standards] (asinhl): Likewise.
40591 [non-C99-based standards] (atanhl): Likewise.
40592 [non-C99-based standards] (cbrtl): Likewise.
40593 [non-C99-based standards] (expm1l): Likewise.
40594 [non-C99-based standards] (ilogbl): Likewise.
40595 [non-C99-based standards] (log1pl): Likewise.
40596 [non-C99-based standards] (logbl): Likewise.
40597 [non-C99-based standards] (nextafterl): Likewise.
40598 [non-C99-based standards] (remainderl): Likewise.
40599 [non-C99-based standards] (rintl): Likewise.
40600 [non-C99-based standards] (scalbl): Likewise.
40601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40602 [non-C99-based standards] (FP_*): Do not allow.
40603 [C99-based standards] (FP_*): Change to
40604 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40605 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40606 allow.
40607 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40608 (SIG_ERR): Likewise.
40609 [X/Open-based standards] (SIG_HOLD): Likewise.
40610 (SIG_IGN): Likewise.
40611 (SIGABRT): Use macro-int-constant. Specify type. Require
40612 positive value.
40613 (SIGFPE): Likewise.
40614 (SIGILL): Likewise.
40615 (SIGINT): Likewise.
40616 (SIGSEGV): Likewise.
40617 (SIGTER): Likewise.
40618 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40619 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40620 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40621 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40622 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40623 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40624 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40625 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40626 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40627 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40628 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40629 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40630 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40631 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40632 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40633 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40634 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40635 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40636 [X/Open-based standards] (SIGTRAP): Likewise.
40637 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40638 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40639 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40640 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40641 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40642 allow.
40643
b9f1922d
IW
406442012-05-08 Ian Wienand <ianw@vmware.com>
40645
40646 [BZ #14080]
40647 * time/tzset.c (__tzset_parse_tz): Update default rules for
40648 daylight time changes in the Energy Policy Act of 2005.
40649
1db86e88
AJ
406502012-05-09 Andreas Jaeger <aj@suse.de>
40651
40652 [BZ #13983]
40653 * elf/ldconfig.c (parse_conf): Change string to make clear that
40654 ldconfig only issued a warning if ld.so.conf does not exist.
40655
dee4a4e3
DM
406562012-05-08 David S. Miller <davem@davemloft.net>
40657
ee0db190
DM
40658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40659 movxtod instead of popping the value on the stack.
40660
dee4a4e3
DM
40661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40662
6a43ec98
CD
406632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40664
40665 * config.h.in: Add HAVE_ARM_PCS_VFP.
40666
05c2c961
RMG
406672012-05-08 Roland Mc Grath <roland@hack.frob.com>
40668
bcfe3a54
ST
40669 [BZ #13979]
40670 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40671 checking but the checks are disabled for any reason.
05c2c961 40672
4b30f61a
L
406732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40674
40675 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40676 and ELF64_R_TYPE with ELFW(R_TYPE).
40677
eee2bc67
JM
406782012-05-08 Joseph Myers <joseph@codesourcery.com>
40679
7ea5391a
JM
40680 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40681 (ulimit): Likewise.
40682
eee2bc67
JM
40683 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40684 (settimeofday): Likewise.
40685
abb66a67
MF
406862012-05-08 Mike Frysinger <vapier@gentoo.org>
40687
40688 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40689 a struct th_u2 inside the union, and move tu_block/tu_code into
40690 a new th_u3 union of tu_block/tu_code inside of that. Move
40691 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40692 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40693 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40694 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40695 (th_stuff): Change to th_u1.tu_stuff.
40696 (th_data): Define.
40697 (th_msg): Change to th_u1.th_u2.tu_data.
40698
7f18b530
DM
406992012-05-07 David S. Miller <davem@davemloft.net>
40700
05760585
DM
40701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40702
7f18b530
DM
40703 [BZ #14074]
40704 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40705 (SETUP_PIC_REG): Use it.
40706 (SETUP_PIC_REG_LEAF): Use it.
40707
495fd99f
JM
407082012-05-07 Joseph Myers <joseph@codesourcery.com>
40709
40710 [BZ #13885]
40711 [BZ #13923]
40712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40713 USE_AS_EXPM1L.
40714 (EXPL_FINITE): Likewise.
40715 (FLDLOG): Likewise.
40716 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40717 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40718 e_expl.S.
40719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40720 USE_AS_EXPM1L.
40721 (EXPL_FINITE): Likewise.
40722 (FLDLOG): Likewise.
40723 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40724 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40725 e_expl.S.
40726 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40727 test of -max_value argument for long double.
40728 * sysdeps/i386/fpu/libm-test-ulps: Update.
40729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40730
6693d694
DM
407312012-05-06 David S. Miller <davem@davemloft.net>
40732
40733 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40734 quad soft-float symbols whose references which are compiler
40735 generated.
40736 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40737
6c23e11c
JM
407382012-05-06 Joseph Myers <joseph@codesourcery.com>
40739
d8b82cad
JM
40740 [BZ #13884]
40741 [BZ #13914]
40742 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40743 USE_AS_EXP10L.
40744 (EXPL_FINITE): Likewise.
40745 (FLDLOG): Likewise.
40746 (c0): Likewise.
40747 (c1): Likewise.
40748 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40749 Adjust comments for base varying.
40750 (__expl_finite): Change alias to EXPL_FINITE.
40751 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40752 e_expl.S.
40753 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40754 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40755 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40756 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40757 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40758 USE_AS_EXP10L.
40759 (EXPL_FINITE): Likewise.
40760 (FLDLOG): Likewise.
40761 (c0): Likewise.
40762 (c1): Likewise.
40763 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40764 Adjust comments for base varying.
40765 (__expl_finite): Change alias to EXPL_FINITE.
40766 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40767 tests for bugs.
40768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40769
6c23e11c
JM
40770 [BZ #14064]
40771 * math/libm-test.inc (check_float_internal): Correct ulp
40772 calculation for subnormal expected results.
40773
29ba805c
AJ
407742012-05-06 Andreas Jaeger <aj@suse.de>
40775
40776 * Makeconfig (+math-flags): New, set to -frounding-math.
40777 (+cflags): Add +math-flags so that all of glibc gets compiled with
40778 it.
40779
40780 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40781
7b17aeda
JM
407822012-05-05 Joseph Myers <joseph@codesourcery.com>
40783
5779f134
JM
40784 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40785 Disable one test.
40786
41498f4d
JM
40787 [BZ #13787]
40788 [BZ #13922]
40789 [BZ #14036]
40790 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40791 (__ieee754_expl): Allow for and saturate large arguments.
40792 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40793 (u_threshold): Likewise.
40794 (__exp): Call __ieee754_exp before checking for overflow and
40795 underflow.
40796 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40797 (u_threshold): Likewise.
40798 (__expf): Call __ieee754_expf before checking for overflow and
40799 underflow.
40800 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40801 (u_threshold): Likewise.
40802 (__expl): Call __ieee754_expl before checking for overflow and
40803 underflow.
40804 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40805 (__ieee754_expl): Allow for and saturate large arguments.
40806 * math/libm-test.inc (exp_test): Add another test. Do not allow
40807 missing overflow exception on overflow.
40808 (expm1_test): Do not allow missing overflow exception on overflow.
40809
6698b8bf
JM
40810 * sysdeps/i386/fpu/e_expl.c: Move to ...
40811 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40812 rather than using inline asm.
40813 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40814 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40815 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40816
7b17aeda
JM
40817 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40818 (nice): Likewise.
40819 (poll): Likewise.
40820 (signal): Likewise.
40821 (time): Likewise.
40822 (times): Likewise.
40823
f7c85819
JM
408242012-05-04 Joseph Myers <joseph@codesourcery.com>
40825
40826 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40827 sysdeps/unix/common/syscalls.list.
40828 (fchmod): Likewise.
40829 (fchown): Likewise.
40830 (ftruncate): Likewise.
40831 (getrusage): Likewise.
40832 (gettimeofday): Likewise.
40833 (setpgid): Likewise.
40834 (setregid): Likewise.
40835 (setreuid): Likewise.
40836 (sigaction): Likewise.
40837 (truncate): Likewise.
40838 (vhangup): Likewise.
40839 * sysdeps/unix/common/syscalls.list: Remove file.
40840 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40841 * sysdeps/unix/sysv/linux/Implies: Likewise.
40842
336270d0
L
408432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40844
40845 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40847 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40848 Moved to ...
40849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40850 Here.
40851 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40852 to ...
40853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40854 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40855 to ...
40856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40857 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40858 to ...
40859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40860 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40861 to ...
40862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40863 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40864 to ...
40865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40866 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40867 to ...
40868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40869 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40870 to ...
40871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40872 Here.
40873 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40874 to ...
40875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40876 Here.
40877 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40878 to ...
40879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40880 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40881 Moved to ...
40882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40883 Here.
40884 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40885 to ...
40886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40887
d128e450
JM
408882012-05-04 Joseph Myers <joseph@codesourcery.com>
40889
fa8ee516
JM
40890 * sysdeps/unix/common/bits/dirent.h: Remove file.
40891 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40892
d128e450
JM
40893 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40894 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40895 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40896 * sysdeps/unix/bsd/isatty.c: Likewise.
40897 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40898 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40899 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40900
ff8faaf0 409012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40902
62881be4 40903 [BZ #13563]
31dc8730
AZ
40904 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40905 long double comparison inaccuracies.
40906 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40908
6fef930c
AS
409092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40910
40911 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40913
8f203e6c
JM
409142012-05-04 Joseph Myers <joseph@codesourcery.com>
40915
40916 [BZ #14049]
40917 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40918 nonzero digits before rounding a hex value.
40919 * stdlib/tst-strtod.c (tests): Add another test.
40920
5197d9c2
AK
409212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40922
40923 * sysdeps/s390/fpu/libm-test-ulps: Update.
40924
f0c1dedf
AJ
409252012-05-03 Andreas Jaeger <aj@suse.de>
40926
40927 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40928 does not get optimized out.
40929 (malloc_opt_barrier): New.
40930
a65ef2ae 409312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40932 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40933
2b942cb7 40934 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40935 intermediate file deletion.
2b942cb7 40936 (generated): Add .symlist files.
a65ef2ae 40937
54b71e02
JM
409382012-05-03 Joseph Myers <joseph@codesourcery.com>
40939
40940 [BZ #13775]
40941 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40942 Redirect under this condition.
40943 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40944 [__USE_GNU] (__dprintf_chk): Not under this condition.
40945 [__USE_GNU] (__vdprintf_chk): Likewise.
40946 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40947 under this condition.
40948 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40949 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40950 [__USE_XOPEN2K8] (vdprintf): Likewise.
40951 [__USE_GNU] (__dprintf_chk): Not under this condition.
40952 [__USE_GNU] (__vdprintf_chk): Likewise.
40953 [__USE_GNU] (dprintf): Likewise.
40954 [__USE_GNU] (vdprintf): Likewise.
40955
d3dfcc41
RM
409562012-05-03 Roland McGrath <roland@hack.frob.com>
40957
40958 * elf/Makefile (common-generated): Set this instead of generated for
40959 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40960 $(all-built-dso)-derived lists.
40961
7ac30cc5
AJ
409622012-05-03 Andreas Jaeger <aj@suse.de>
40963
0c51e550
AJ
40964 * sysdeps/i386/fpu/libm-test-ulps: Update.
40965
7ac30cc5
AJ
40966 * FAQ: Removed.
40967 * FAQ.in: Likewise.
40968 * scripts/gen-FAQ.pl: Likewise.
40969 * manual/install.texi (Installation): Point to online location of
40970 FAQ.
40971 * Makefile (files-for-dist): Remove FAQ.
40972 (FAQ): Remove.
40973
d4c2917f
AM
409742012-05-02 Allan McRae <allan@archlinux.org>
40975
40976 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40977 (LDFLAGS-reldepmod5.so): Likewise.
40978 (LDFLAGS-reldep6mod1.so): Likewise.
40979 (LDFLAGS-reldep6mod4.so): Likewise.
40980 (LDFLAGS-reldep8mod3.so): Likewise.
40981 (LDFLAGS-unload4mod1.so): Likewise.
40982 (LDFLAGS-unload4mod2.so): Likewise.
40983 (LDFLAGS-tst-initorder): Likewise.
40984 (LDFLAGS-tst-initordera2.so): Likewise.
40985 (LDFLAGS-tst-initordera3.so): Likewise.
40986 (LDFLAGS-tst-initordera4.so): Likewise.
40987 (LDFLAGS-tst-initorderb2.so): Likewise.
40988 (LDFLAGS-noload): Likewise.
40989 (LDFLAGS-next): Likewise.
40990 (LDFLAGS-order2mod1.so): Likewise.
40991 (LDFLAGS-order2mod2.so): Likewise.
40992 (LDFLAGS-tst-initorder2): Likewise.
40993 (LDFLAGS-tst-initorder2a.so): Likewise.
40994 (LDFLAGS-tst-initorder2b.so): Likewise.
40995 (LDFLAGS-tst-initorder2c.so): Likewise.
40996 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40997
d77f993f
DM
409982012-05-02 David S. Miller <davem@davemloft.net>
40999
41000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41001
171a70b4
PP
410022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41003
41004 [BZ #14055]
41005 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41006
0be196ad
AJ
410072012-05-02 Andreas Jaeger <aj@suse.de>
41008
41009 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41010 since we manipulate rounding mode.
41011 (CPPFLAGS-test-idouble.c): Likewise.
41012 (CPPFLAGS-test-ifloat.c): Likewise.
41013 (CFLAGS-test-ldouble.c): Likewise.
41014 (CFLAGS-test-double.c): Likewise.
41015 (CFLAGS-test-float.c): Likewise.
41016 (CFLAGS-test-misc.c): Likewise.
41017 (CFLAGS-test-test-fenv.c): Likewise.
41018
4f9d04aa
AZ
410192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41020
2b942cb7
RM
41021 [BZ #2550]
41022 [BZ #2570]
41023 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41024 comparisons to determine direction to adjust input.
4f9d04aa 41025
82a79e7d
RM
410262012-05-01 Roland McGrath <roland@hack.frob.com>
41027
f5a01ca9
RM
41028 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41029 output to the target.
41030
90fe4186
RM
41031 * scripts/localplt.awk: New file.
41032 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41033 (check-localplt-CFLAGS): Variable removed.
41034 ($(all-built-dso:=.jmprel)): New static pattern rule.
41035 (generated): Add those targets.
41036 (localplt-built-dso): New variable.
41037 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41038
41039 * elf/check-localplt.c: File removed.
41040
82397ed6
RM
41041 * scripts/check-execstack.awk: New file.
41042 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41043 (check-execstack-CFLAGS): Variable removed.
41044 ($(objpfx)check-execstack.h): Target removed.
41045 ($(objpfx)execstack-default): New target.
41046 (generated): Add that instead of check-execstack.h.
41047 ($(all-built-dso:=.phdr)): New static pattern rule.
41048 (generated): Add those targets.
41049 * elf/check-execstack.c: File removed.
41050
82a79e7d
RM
41051 * scripts/check-textrel.awk: New file.
41052 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41053 (check-textrel-CFLAGS): Variable removed.
41054 (all-built-dso): Use := to define.o
41055 ($(all-built-dso:=.dyn)): New static pattern rule.
41056 (generated): Add those targets.
41057 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41058 * config.make.in (READELF): New substituted variable.
41059 * elf/check-textrel.c: File removed.
41060
62fde54f 410612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 41062
615605c9
JM
41063 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41064 allow.
41065 * conform/data/ctype.h-data [C99-based standards] (isblank):
41066 Expect function.
41067 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41068 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41069 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41070 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41071 Specify type. Require positive value.
41072 (EILSEQ): Likewise.
41073 (ERANGE): Likewise.
41074 [ISO || POSIX] (EILSEQ): Do not expect.
41075 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41076 Specify type. Require positive value.
41077 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41078 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41079 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41080 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41081 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41082 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41083 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41084 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41085 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41086 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41087 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41088 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41089 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41090 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41091 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41092 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41093 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41094 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41095 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41096 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41097 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41098 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41099 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41100 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41101 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41102 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41103 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41104 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41105 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41106 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41107 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41108 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41109 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41110 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41111 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41112 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41113 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41114 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41115 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41116 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41117 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41118 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41119 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41120 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41121 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41122 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41123 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41124 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41125 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41126 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41127 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41128 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41129 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41130 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41131 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41132 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41133 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41134 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41135 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41136 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41137 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41138 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41139 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41140 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41141 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41142 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41143 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41144 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41145 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41146 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41147 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41148 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41149 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41150 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41151 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41152 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41153 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41154 Require >= 2.
41155 (FLT_ROUNDS): Expect as macro, not constant.
41156 (FLT_MANT_DIG): Use macro-int-constant.
41157 (DBL_MANT_DIG): Likewise.
41158 (LDBL_MANT_DIG): Likewise.
41159 (FLT_DIG): Likewise.
41160 (DBL_DIG): Likewise.
41161 (LDBL_DIG): Likewise.
41162 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41163 (DBL_MIN_EXP): Likewise.
41164 (LDBL_MIN_EXP): Likewise.
41165 (FLT_MAX_EXP): Use macro-int-constant.
41166 (DBL_MAX_EXP): Likewise.
41167 (LDBL_MAX_EXP): Likewise.
41168 (FLT_MAX_10_EXP): Likewise.
41169 (DBL_MAX_10_EXP): Likewise.
41170 (LDBL_MAX_10_EXP): Likewise.
41171 (FLT_MAX): Use macro-constant.
41172 (DBL_MAX): Likewise.
41173 (LDBL_MAX): Likewise.
41174 (FLT_EPSILON): Use macro-constant. Give upper bound.
41175 (DBL_EPSILON): Likewise.
41176 (LDBL_EPSILON): Likewise.
41177 (FLT_MIN): Likewise.
41178 (DBL_MIN): Likewise.
41179 (LDBL_MIN): Likewise.
41180 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41181 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41182 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41183 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41184 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41185 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41186 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41187 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41188 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41189 [ISO11] (FLT_TRUE_MIN): Likewise.
41190 [ISO11] (LDBL_TRUE_MIN): Likewise.
41191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41192 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41193 (SCHAR_MIN): Use macro-int-constant. Specify type.
41194 (SCHAR_MAX): Likewise.
41195 (UCHAR_MAX): Likewise.
41196 (CHAR_MIN): Likewise.
41197 (CHAR_MAX): Likewise.
41198 (MB_LEN_MAX): Use macro-int-constant.
41199 (SHRT_MIN): Use macro-int-constant. Specify type.
41200 (SHRT_MAX): Likewise.
41201 (USHRT_MAX): Likewise.
41202 (INT_MAX): Likewise.
41203 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41204 bound negative.
41205 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41206 bound with "U".
41207 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41208 bound with "L".
41209 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41210 bound negative. Suffix upper bound with "L".
41211 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41212 bound with "UL".
41213 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41214 Specify type.
41215 [C99-based standards] (LLONG_MAX): Likewise.
41216 [C99-based standards] (ULLONG_MAX): Likewise.
41217 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41218 == 0.
41219 [ISO11] (max_align_t): Require type.
41220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41221
c9140a62
JM
41222 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41223 from $CFLAGS, without defining away __attribute__ calls.
41224 (checknamespace): Use $CFLAGS_namespace.
41225
9af0bf29
JM
41226 * conform/conformtest.pl (@keywords): Only include C99 keywords
41227 for standards based on C99 or C11.
41228
343222a2
JM
41229 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41230 Disable tests.
41231 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41232 UNIX98]: Likewise.
41233
661f8cf0
JM
41234 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41235 usability of symbols in #if.
41236
ee74b9cb
JM
41237 * conform/conformtest.pl: If macro or constant types start
41238 "promoted:", expect the symbol to be of the following type
41239 promoted by the integer promotions.
62fde54f 41240
aafc49b3
JM
41241 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41242 in one place. Also handle "macro-constant".
41243
fefdf574
JM
41244 * conform/conformtest.pl: Only accept expected macro values with
41245 "==". Parse all "macro" lines in one place.
41246 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41247
f2d922fe
JM
41248 * conform/conformtest.pl: Handle braced types on "constant" lines
41249 instead of handling "typed-constant".
41250 * conform/data/signal.h-data: Use "constant" instead of
41251 "typed-constant".
41252
d22956c9
JM
41253 * conform/conformtest.pl: Handle "optional-" at start of lines in
41254 one place rather than duplicating several cases. Handle each
41255 format of "macro" line with initial "optional-".
41256
028e2e38
JM
41257 * conform/conformtest.pl: Only accept expected constant or
41258 optional-constant values with "==". Parse all "constant" lines in
41259 one place. Parse all "optional-constant" lines in one place.
41260 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41261 * conform/data/fmtmsg.h-data: Likewise.
41262 * conform/data/netinet/in.h-data: Likewise.
41263 * conform/data/tar.h-data: Likewise.
41264 * conform/data/limits.h-data: Use "==" form on "constant" and
41265 "optional-constant" lines.
41266
1b8f2850
JM
41267 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41268 Use -std=c99 for XOPEN2K.
41269 (@knownproblems): Remove.
41270 (newtoken): Don't check %isknown.
41271
a05a144b
JM
41272 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41273 Do not expect macro.
41274 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41275 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41276 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41277 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41278 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41279 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41280 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41281 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41282 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41283 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41284 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41285 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41286 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41287 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41288 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41289 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41290 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41291 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41292 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41293 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41294 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41295 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41296 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41297 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41298 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41299 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41300 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41301 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41302 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41303 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41304 [XPG3] (acosh): Likewise.
41305 [XPG3] (asinh): Likewise.
41306 [XPG3] (atanh): Likewise.
41307 [XPG3] (cbrt): Likewise.
41308 [XPG3] (expm1): Likewise.
41309 [XPG3] (ilogb): Likewise.
41310 [XPG3] (log1p): Likewise.
41311 [XPG3] (logb): Likewise.
41312 [XPG3] (nextafter): Likewise.
41313 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41314 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41315 [XPG3] (remainder): Likewise.
41316 [XPG3] (rint): Likewise.
41317 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41318 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41319 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41320 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41321 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41322 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41323 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41324 [UNIX98 || XOPEN2K] (scalb): Expect.
41325 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41326 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41327 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41328 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41329 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41330 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41331 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41332 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41333 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41334 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41335 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41336 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41337 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41338 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41339 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41340 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41341 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41342 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41343 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41344 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41345 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41346 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41347 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41348 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41349 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41350 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41351 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41352 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41353 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41354 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41355 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41356 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41357 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41358 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41359 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41360 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41361 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41362 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41363 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41364 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41365 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41366 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41367 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41368 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41369 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41370 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41371 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41372 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41373 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41374 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41375 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41376 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41377 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41378 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41379 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41380 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41381 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41382 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41383 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41384 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41385 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41386 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41387 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41388 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41389 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41390 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41391 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41392 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41393 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41394 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41395 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41396 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41397 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41398 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41399 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41400 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41401 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41402 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41403 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41404 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41405 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41406 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41407 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41408 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41409 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41410 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41411 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41412 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41413 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41414 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41415 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41416 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41417 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41418 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41419 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41420 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41421 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41422 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41423 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41424 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41425 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41426 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41427 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41428 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41429 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41430 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41431 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41432 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41433 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41434 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41435 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41436 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41437 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41438 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41439 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41440 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41441 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41442 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41443 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41444 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41445 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41446 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41447 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41448 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41449 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41450 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41451 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41452 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41453 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41454 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41455 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41456 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41457 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41458 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41459 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41460 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41461 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41462
73c5ebe3
JM
41463 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41464 _XOPEN_SOURCE_EXTENDED for XPG4.
41465
39c33b6c
JM
41466 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41467
62fde54f
JM
41468 * Makeconfig (localtime): Remove variable.
41469 (inst_localtime-file): Likewise.
41470
0741d64c
AS
414712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41472
41473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41474 Update.
41475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41476 Update.
41477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41478 Update.
41479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41480 Update.
41481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41482 Update.
41483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41484 Update.
41485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41486 Update.
41487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41488 Update.
41489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41490 Update.
41491
7cb029ee
JM
414922012-05-01 Joseph Myers <joseph@codesourcery.com>
41493
41494 [BZ #2550]
41495 [BZ #2570]
41496 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41497 comparisons to determine direction to adjust input.
41498 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41499 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41500 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41501 Likewise.
41502 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41503 Likewise.
41504 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41505 Likewise.
41506 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41507 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41508 Likewise.
41509 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41510 Likewise.
41511 * math/libm-test.inc (nexttoward_test): Add more tests.
41512
412bd966
AS
415132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41514
41515 [BZ #14040]
41516 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41517 in version GLIBC_2.1, not GLIBC_2.0.
41518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41519 Likewise.
41520
9568c0c2
JM
415212012-04-30 Joseph Myers <joseph@codesourcery.com>
41522
adfbc8ac
JM
41523 [BZ #13942]
41524 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41525 (1 - x) * (1 + x).
41526 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41527 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41528 * math/libm-test.inc (acos_test): Add more tests.
41529 (asin_test): Likewise.
41530 * sysdeps/i386/fpu/libm-test-ulps: Update.
41531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41532
5ba3cc69
JM
41533 [BZ #14034]
41534 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41535 of square root.
41536 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41537 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41538 * math/libm-test.inc (acos_test_tonearest): New function.
41539 (acos_test_towardzero): Likewise.
41540 (acos_test_downward): Likewise.
41541 (acos_test_upward): Likewise.
41542 (asin_test_tonearest): Likewise.
41543 (asin_test_towardzero): Likewise.
41544 (asin_test_downward): Likewise.
41545 (asin_test_upward): Likewise.
41546 (main): Call the new functions.
41547 * sysdeps/i386/fpu/libm-test-ulps: Update.
41548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41549
9568c0c2
JM
41550 [BZ #13884]
41551 [BZ #13924]
41552 * math/e_exp10.c: Include <float.h>.
41553 (__ieee754_exp10): Handle underflow here rather than multiplying
41554 large negative argument by M_LN10.
41555 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41556 of __ieee754_expf.
41557 * math/e_exp10l.c: Include <float.h>.
41558 (__ieee754_exp10l): Handle underflow here rather than multiplying
41559 large negative argument by M_LN10l.
41560 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41561 spurious overflow exception on underflow.
41562
5ac3ea17
MP
415632012-04-29 Marek Polacek <polacek@redhat.com>
41564
41565 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41566 (__fortify_function): New macro.
41567 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41568 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41569 __extern_always_inline.
41570 * libio/bits/stdio2.h: Likewise.
41571 * libio/bits/stdio.h: Likewise.
41572 * string/string.h: Likewise.
41573 * string/bits/string3.h: Likewise.
41574 * include/stdio.h: Likewise.
41575 * stdlib/bits/stdlib.h: Likewise.
41576 * stdlib/stdlib.h: Likewise.
41577 * rt/bits/mqueue2.h: Likewise.
41578 * rt/mqueue.h: Likewise.
41579 * posix/bits/unistd.h: Likewise.
41580 * posix/unistd.h: Likewise.
41581 * io/bits/poll2.h: Likewise.
41582 * io/bits/fcntl2.h: Likewise.
41583 * io/fcntl.h: Likewise.
41584 * io/sys/poll.h: Likewise.
41585 * misc/bits/syslog.h: Likewise.
41586 * misc/bits/syslog-ldbl.h: Likewise.
41587 * misc/sys/syslog.h: Likewise.
41588 * socket/bits/socket2.h: Likewise.
41589 * socket/sys/socket.h: Likewise.
41590 * debug/tst-chk1.c: Likewise.
41591 * wcsmbs/bits/wchar2.h: Likewise.
41592 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41593 * wcsmbs/wchar.h: Likewise.
41594
ecf0ebfb
AJ
415952012-04-29 Andreas Jaeger <aj@suse.de>
41596
41597 * Makerules (tests): Remove enable-check-abi protection.
41598 (check-abi-warn): Remove.
41599 (check-abi-%): Remove check-abi-warn usage.
41600
41601 * configure.in: Remove check-abi configure option.
41602 * configure: Regenerated.
41603 * config.make.in (enable-check-abi): Remove.
41604
6d5c57fa
AS
416052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41606
24c5d07e 41607 [BZ #14033]
ded5180a
AS
41608 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41609 double functions to double *_finite functions.
41610
7e0d315d
AS
41611 [BZ #13941]
41612 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41613 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41614 LDBL_MIN_EXP.
41615 * stdio-common/Makefile (tests): Add tst-sprintf3.
41616 * stdio-common/tst-sprintf3.c: New file.
41617
6d5c57fa
AS
41618 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41619 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41620
0749ff8b
JM
416212012-04-28 Joseph Myers <joseph@codesourcery.com>
41622
41623 * conform/conformtest.pl: Remove duplicate typed-constant
41624 handling.
41625
8dbd5d7b
DM
416262012-04-28 David S. Miller <davem@davemloft.net>
41627
41628 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41629 (check-abi-%): Remove AWK script prerequisite and explicit
41630 abilist directory.
41631 (check-abi): Rewrite to just diff the symlist with the abilist.
41632 (config-tls, config-abi-config): Delete, no longer used.
41633 (update-abi-%): Remove AWK script and explicit abilist directory.
41634 (update-abi): Rewrite to simply compare and conditionally copy the
41635 symlist and the sysdep abilist file. Remove update-abi-config
41636 checks.
41637 * abilist/ld.abilist: Remove.
41638 * abilist/libBrokenLocale.abilist: Remove.
41639 * abilist/libanl.abilist: Remove.
41640 * abilist/libcrypt.abilist: Remove.
41641 * abilist/libdl.abilist: Remove.
41642 * abilist/librt.abilist: Remove.
41643 * abilist/libthread_db.abilist: Remove.
41644 * abilist/libutil.abilist: Remove.
41645 * scripts/extract-abilist.awk: Remove.
41646 * scripts/merge-abilist.awk: Remove.
41647 * sysdeps/generic/libcidn.abilist: New file.
41648 * sysdeps/generic/libnss_compat.abilist: New file.
41649 * sysdeps/generic/libnss_db.abilist: New file.
41650 * sysdeps/generic/libnss_dns.abilist: New file.
41651 * sysdeps/generic/libnss_files.abilist: New file.
41652 * sysdeps/generic/libnss_hesiod.abilist: New file.
41653 * sysdeps/generic/libnss_nis.abilist: New file.
41654 * sysdeps/generic/libnss_nisplus.abilist: New file.
41655 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41656 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41657 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41658 file.
41659 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41660 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41661 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41662 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41663 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41664 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41665 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41666 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41667 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41668 file.
41669 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41670 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41671 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41672 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41673 file.
41674 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41675 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41676 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41677 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41678 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41679 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41680 file.
41681 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41682 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41684 file.
41685 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41687 New file.
41688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41689 New file.
41690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41691 New file.
41692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41693 New file.
41694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41695 New file.
41696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41697 New file.
41698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41699 New file.
41700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41701 New file.
41702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41703 New file.
41704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41705 New file.
41706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41707 New file.
41708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41709 New file.
41710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41711 New file.
41712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41713 file.
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41715 New file.
41716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41717 New file.
41718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41719 file.
41720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41721 New file.
41722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41723 New file.
41724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41725 file.
41726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41727 New file.
41728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41729 New file.
41730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41731 New file.
41732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41733 New file.
41734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41735 New file.
41736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41737 New file.
41738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41740 file.
41741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41742 New file.
41743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41744 file.
41745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41746 file.
41747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41748 file.
41749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41750 file.
41751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41752 file.
41753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41754 New file.
41755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41756 file.
41757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41758 file.
41759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41760 New file.
41761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41762 file.
41763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41765 file.
41766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41767 New file.
41768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41769 file.
41770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41771 file.
41772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41773 file.
41774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41775 file.
41776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41777 file.
41778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41779 New file.
41780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41781 file.
41782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41783 file.
41784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41785 New file.
41786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41787 file.
41788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41789 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41790 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41791 file.
41792 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41793 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41794 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41795 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41796 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41797 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41798 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41799 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41800 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41801 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41804 file.
41805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41806 New file.
41807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41808 file.
41809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41810 file.
41811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41812 file.
41813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41814 file.
41815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41816 file.
41817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41818 New file.
41819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41820 New file.
41821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41822 file.
41823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41824 New file.
41825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41826 file.
41827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41829 file.
41830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41831 New file.
41832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41833 file.
41834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41835 file.
41836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41837 file.
41838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41839 file.
41840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41841 file.
41842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41843 New file.
41844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41845 New file.
41846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41847 file.
41848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41849 New file.
41850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41851 file.
41852
41d73a1b
JM
418532012-04-28 Joseph Myers <joseph@codesourcery.com>
41854
41855 * conform/conformtest.pl: Fix typo in handling typed-constant from
41856 allow-header.
41857
28aeeda4
JM
418582012-04-27 Joseph Myers <joseph@codesourcery.com>
41859
adae8f5e
JM
41860 * README: Cut down references to pre-2.6 Linux kernels and
41861 Linuxthreads. Update lists of configurations in libc and ports
41862 and sort alphabetically. Say "or newer" with Linux kernel version
41863 requirements.
41864
28aeeda4
JM
41865 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41866
a462cb63
RA
418672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41868
41869 [BZ #887]
41870 * math/libm-test.inc (logb_test_downward): New test to expose
41871 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41872 rounding mode.
41873
6ad3493e
JM
418742012-04-27 Joseph Myers <joseph@codesourcery.com>
41875
41876 [BZ #14027]
41877 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41878 to be done.
41879 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41880 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41881
2ce4f015
JM
418822012-04-26 Joseph Myers <joseph@codesourcery.com>
41883
5aeb141a
JM
41884 * sysdeps/unix/i386/brk.S: Remove file.
41885 * sysdeps/unix/i386/dl-brk.S: Likewise.
41886 * sysdeps/unix/i386/pipe.S: Likewise.
41887 * sysdeps/unix/i386/sigreturn.S: Likewise.
41888 * sysdeps/unix/i386/syscall.S: Likewise.
41889 * sysdeps/unix/i386/vfork.S: Likewise.
41890 * sysdeps/unix/i386/wait.S: Likewise.
41891
7143acae
JM
41892 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41893 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41894
2ce4f015
JM
41895 * configure.in (arm*-none*): Do not allow without
41896 --enable-hacker-mode.
41897 (netbsd*): Remove case setting base_os.
41898 (386bsd*): Likewise.
41899 (freebsd*): Likewise.
41900 (bsdi*): Likewise.
41901 (osf*): Likewise.
41902 (sunos*): Likewise.
41903 (ultrix*): Likewise.
41904 (newsos*): Likewise.
41905 (dynix*): Likewise.
41906 (*bsd*): Likewise.
41907 (sysv*): Likewise.
41908 (isc*): Likewise.
41909 (esix*): Likewise.
41910 (sco*): Likewise.
41911 (minix*): Likewise.
41912 (irix4*): Likewise.
41913 (irix6*): Likewise.
41914 (solaris[2-9]*): Likewise.
41915 (none): Likewise.
41916 * configure: Regenerated.
41917
0ac229c8
AZ
419182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41919
41920 [BZ #11521]
41921 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41922 overflow or cancellation in calculating denominator.
41923 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41924 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41925 down expression to avoid unexpected rounding in newer GCCs.
41926 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41927
33f244f4
DM
419282012-04-26 David S. Miller <davem@davemloft.net>
41929
41930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41931 long-double compat symbols.
41932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41945
cfa1f3e8
DM
419462012-04-25 David S. Miller <davem@davemloft.net>
41947
41948 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41949 HWCAP_* values only after the memory barriers have been defined.
41950 (atomic_full_barrier): Define.
41951 (atomic_read_barrier): Define.
41952 (atomic_write_barrier): Define.
41953
6e236b92
SP
419542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41955
41956 * shlib-versions: Add libgcc_s version information.
41957 * sysdeps/generic/libgcc_s.h: Remove.
41958 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41959 libgcc_s.h.
41960 * sysdeps/gnu/unwind-resume.c: Likewise.
41961 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41962
aab39a09
DM
419632012-04-25 David S. Miller <davem@davemloft.net>
41964
41965 * sysdeps/unix/sparc/brk.S: Delete.
41966 * sysdeps/unix/sparc/dl-brk.S: Delete.
41967 * sysdeps/unix/sparc/pipe.S: Delete.
41968 * sysdeps/unix/sparc/sysdep.S: Delete.
41969 * sysdeps/unix/sparc/sysdep.h: Delete.
41970 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
41971 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41972 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41974 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
41975 (JUMPTARGET): Remove.
41976 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41977 sysdeps/unix/sparc/sysdep.h
41978 (ENTRY, END): Remove.
41979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41980
a3cc4f48
JM
419812012-04-25 Joseph Myers <joseph@codesourcery.com>
41982
2ed8cda2
JM
41983 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41984 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41985 -DIS_IN_build.
41986
35d76d59
JM
41987 * timezone/README: Update upstream location and email address for
41988 tzcode and tzdata.
41989 * timezone/zdump.c: Update from tzcode 2012b.
41990 * timezone/zic.c: Likewise.
41991
a3cc4f48
JM
41992 * configure.in (libc_cv_as_needed): Remove test.
41993 * configure: Regenerated.
41994 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41995 conditional definition.
41996 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41997 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41998 * config.make.in (have-as-needed): Remove variable.
41999
ceab42c3
SP
420002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42001 Paul Pluzhnikov <ppluzhnikov@google.com>
42002
42003 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42004 strings correctly.
42005
3ce2865f
CLT
420062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42007
42008 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42009 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42010 * sysdeps/sh/strlen.S: Likewise.
42011
f37e0d68
JM
420122012-04-24 Joseph Myers <joseph@codesourcery.com>
42013
ae186e9a
JM
42014 * sysdeps/unix/fork.S: Remove file.
42015 * sysdeps/unix/i386/fork.S: Likewise.
42016 * sysdeps/unix/sparc/fork.S: Likewise.
42017
b96914af
JM
42018 * sysdeps/unix/system.c: Remove file.
42019 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42020
f37e0d68
JM
42021 * sysdeps/unix/getegid.S: Remove file.
42022 * sysdeps/unix/geteuid.S: Likewise.
42023
87ef29ca
RM
420242012-04-24 Roland McGrath <roland@hack.frob.com>
42025
83bcd236
RM
42026 * scripts/check-localplt.awk: New file.
42027 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42028 of diff.
42029 * scripts/data/localplt-generic.data: Add a comment.
42030
87ef29ca
RM
42031 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42032 NODE when __dir_mkfile failed.
42033 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42034 Reported by Ludovic Courtès <ludo@gnu.org>.
42035
e5a6e567
AJ
420362012-04-24 Andreas Jaeger <aj@suse.de>
42037
42038 * Makerules (common-clean): Also remove gen-as-const-headers
42039 files.
42040
c1820385
JM
420412012-04-24 Joseph Myers <joseph@codesourcery.com>
42042
42043 * Makerules (native-compile): Do not change working directory for
42044 build. Use $(OUTPUT_OPTION) in command.
42045 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42046
94e02fc4
AZ
420472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42048
42049 [BZ #13886]
42050 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42051 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42052 * math/libm-test.inc (floor_test): Add more tests.
42053 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42054
3a533ca3
JM
420552012-04-24 Joseph Myers <joseph@codesourcery.com>
42056
940ab4b3
JM
42057 * sysdeps/unix/getdents.c: Remove file.
42058 * sysdeps/unix/sysv/getdents.c: Likewise.
42059 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42060
90e037bd
JM
42061 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42062 sysdeps/unix/mman/syscalls.list.
42063 (mmap): Likewise.
42064 (mprotect): Likewise.
42065 (msync): Likewise.
42066 (munmap): Likewise.
42067 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42068 * sysdeps/unix/mman/syscalls.list: Remove.
42069 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42070
3a533ca3
JM
42071 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42072 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42073 * configure: Regenerated.
42074 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42075 $(libgcc_s_suffix).
42076 * config.make.in (libgcc_s_suffix): Remove variable.
42077
1ad743de
JM
420782012-04-23 Joseph Myers <joseph@codesourcery.com>
42079
4ad451e2
JM
42080 * sysdeps/unix/sysv/gethostname.c: Move to ...
42081 * sysdeps/posix/gethostname.c: ... here.
42082
5e37ce39
JM
42083 * sysdeps/unix/execve.S: Remove file.
42084
1ad743de
JM
42085 * sysdeps/unix/_exit.S: Remove file.
42086
4e681b5b
AJ
420872012-04-23 Andreas Jaeger <aj@suse.de>
42088
42089 [BZ #13739]
42090 * manual/Makefile: Remove make dist support, there's no
42091 need for a stand-alone documentation tar ball.
42092 (TEXI2DVI): Define always, it's not in Makeconfig.
42093 (dist): Removed.
42094 (tar-it): Removed.
42095 (edition): Removed.
42096 (glibc-doc-$(edition).tar): Removed
42097 (%.Z): Removed.
42098 (%.gz): Removed.
42099 (%.uu): Removed.
42100 (ETAGS): Remove, it's in Makeconfig.
42101 (move-if-change): Remove, it's in Makeconfig.
42102
38686a03 421032012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
42104
42105 [BZ #13970]
42106 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42107 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42108 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42109 (strtod_l, strtof_l, strtold_l): Remove __wur.
42110 It is not necessarily an error to ignore strtol's return value.
42111 One can reliably look at the stored endptr to decide whether
42112 the number had valid syntax.
42113
7c0616fa
AJ
421142012-04-21 Andreas Jaeger <aj@suse.de>
42115
803cb6b7 42116 [BZ #13739]
7c0616fa
AJ
42117 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42118
b0fe253f
JM
421192012-04-21 Joseph Myers <joseph@codesourcery.com>
42120
42121 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42122 * sysdeps/unix/sysv/Versions: Remove file.
42123
8280f22d
MT
421242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42125
42126 [BZ #13927]
42127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42128
75ce411f 421292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
42130
42131 [BZ #7064]
42132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42133 version from __vm86.
42134
097d59fa
JM
421352012-04-20 Joseph Myers <joseph@codesourcery.com>
42136
a90f3bcb
JM
42137 * sysdeps/unix/common/lxstat.c: Remove file.
42138 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42139
edc7ea78
JM
42140 * sysdeps/unix/sysv/Makefile: Remove file.
42141
cb78c221
JM
42142 * sysdeps/unix/sysv/direct.h: Remove file.
42143
efa6a45f
JM
42144 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42145 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42146 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42147 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42148 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42149 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42150 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42151
9c9f2d0c
JM
42152 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42153
4541c83b
JM
42154 * sysdeps/unix/xmknod.c: Remove file.
42155 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42156
f5d153a0
JM
42157 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42158
aa746595
JM
42159 * sysdeps/unix/sysv/i386/time.S: Remove file.
42160
cce5905e
JM
42161 * sysdeps/unix/fxstat.c: Remove file.
42162 * sysdeps/unix/xstat.c: Likewise.
42163 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42164
37fa3841
JM
42165 * sysdeps/unix/sysv/sigaction.c: Remove file.
42166
ff1962a3
JM
42167 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42168 (sysdep_headers): Remove variable.
42169 [termio.h not in sysdep_headers] (generated): Likewise.
42170 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42171 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42172 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42173 * sysdeps/unix/sysv/tcflow.c: Likewise.
42174 * sysdeps/unix/sysv/tcflush.c: Likewise.
42175 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42176 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42177 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42178 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42179 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42180
e7740d31
JM
42181 * sysdeps/unix/siglist.c: Remove file.
42182
ee06f18b
JM
42183 * sysdeps/unix/getppid.S: Remove file.
42184
097d59fa
JM
42185 * sysdeps/unix/mkdir.c: Remove file.
42186 * sysdeps/unix/rmdir.c: Likewise.
42187
ff3d51ec
AS
421882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42189
42190 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42191 ERR_MAX value.
42192 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42193 errlist-compat value.
42194
50f81fd7
DM
421952012-04-18 David S. Miller <davem@davemloft.net>
42196
42197 * sysdeps/generic/memcopy.h (reg_char): Delete.
42198 * debug/strcat_chk.c: Use char, not reg_char.
42199 * debug/strcpy_chk.c: Likewise.
42200 * debug/strncat_chk.c: Likewise.
42201 * debug/strncpy_chk.c: Likewise.
42202 * string/memchr.c: Likewise.
42203 * string/memrchr.c: Likewise.
42204 * string/rawmemchr.c: Likewise.
42205 * string/strcat.c: Likewise.
42206 * string/strchr.c: Likewise.
42207 * string/strchrnul.c: Likewise.
42208 * string/strcmp.c: Likewise.
42209 * string/strcpy.c: Likewise.
42210 * string/strncat.c: Likewise.
42211 * string/strncmp.c: Likewise.
42212 * string/strncpy.c: Likewise.
42213
8ff41c46
WS
422142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42215
42216 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42217 __builtin_memcopy is called when src and dest ranges are known to not
42218 overlap.
42219
6b652f46
WS
422202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42221
42222 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42223 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42224 fwd_align_merge macro call.
42225 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42226 bwd_align_merge macro call.
42227 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42228
b282631e
WS
422292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42230
42231 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42232 bwd_align_merge macros.
42233 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42234 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42235 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42236
95aa737c
DM
422372012-04-18 David S. Miller <davem@davemloft.net>
42238
42239 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42240
7a99a614
AJ
422412012-04-18 Andreas Jaeger <aj@suse.de>
42242
42243 [BZ# 6794]
42244 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42245 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42246 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42247
42248 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42249 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42250 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42251
42252 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42253 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42254 Adjust for changed ldbl-128 files.
42255
42256 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42257 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42258 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42259
e5270c23
DM
422602012-04-17 David S. Miller <davem@davemloft.net>
42261
42262 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42263
fb5e92c9
AS
422642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42265
42266 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42267 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42268 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42269 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42270 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42271 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42272
76da7265
AZ
422732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42274
42275 [BZ #6794]
42276 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42277 * math/libm-test.inc: Add ilogb errno and exception tests.
42278 * math/w_ilogb.c: New file: ilogb wrapper.
42279 * math/w_ilogbf.c: New file: ilogbf wrapper.
42280 * math/w_ilogbl.c: New file: ilogbl wrapper.
42281 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42282 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42283 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42284 exception being thrown with 0.0 as argument.
42285 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42286 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42287 exception being thrown with 0.0 as argument.
42288 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42289 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42290 exception being thrown with 0.0 as argument.
42291 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42292 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42293 exception being thrown with 0.0 as argument.
42294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42295 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42296 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42297 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42298 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42299 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42300 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42301 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42302 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42303
0396e69d
PB
423042012-04-17 Petr Baudis <pasky@ucw.cz>
42305
42306 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42307 with altivec.
42308
750b5926
MP
423092012-04-16 Marek Polacek <polacek@redhat.com>
42310
42311 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42312
751728a1
MP
423132012-04-16 Marek Polacek <polacek@redhat.com>
42314
42315 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42316 operands of fdivp instruction.
42317
34a27407
L
423182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42319
42320 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42321 * elf/tst-auditmod3b.c: Likewise.
42322 * elf/tst-auditmod4b.c: Likewise.
42323 * elf/tst-auditmod5b.c: Likewise.
42324 * elf/tst-auditmod6b.c: Likewise.
42325 * elf/tst-auditmod6c.c: Likewise.
42326 * elf/tst-auditmod7b.c: Likewise.
42327 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42328 * sysdeps/x86_64/preconfigure.in: Likewise.
42329 * sysdeps/x86_64/preconfigure: Regenerated.
42330
7e73e17d
L
423312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42332
42333 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42334 __ILP32__.
42335
c7a6ab72
AB
423362012-04-13 Antoine Balestrat <merkil33@gmail.com>
42337
42338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42339 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42340
a9e8e0e0
CL
423412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42342
42343 [BZ #13973]
42344 * locale/iso-639.def: Fix gl language name. Spotted by
42345 Yaron Shahrabani.
42346
ec98af7d
RM
423472012-04-12 Roland McGrath <roland@hack.frob.com>
42348
42349 [BZ #2074]
42350 * libio/libio.h (__io_write_fn): Update comment.
42351
247c3ede
PB
423522012-04-12 Petr Baudis <pasky@ucw.cz>
42353
42354 [BZ #2074]
42355 * stdio.texi (Hook Functions): The user provided writer function
42356 is not allowed to return -1.
42357
55939d6d
DM
423582012-04-11 David S. Miller <davem@davemloft.net>
42359
42360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42361
90020f5a
MF
423622012-04-11 Mike Frysinger <vapier@gentoo.org>
42363
42364 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42365 Add a leading slash to rtkaio.
42366
288f9098
JM
423672012-04-11 Jim Meyering <meyering@redhat.com>
42368
90020f5a
MF
42369 [BZ #11959]
42370 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42371 It is not necessarily an error to ignore fwrite's return
42372 value. One can reliably use ferror to test for errors after
42373 the fact.
288f9098 42374
4be2b570
L
423752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42376
42377 * bits/types.h (__snseconds_t): New type.
42378 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42379
42380 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42382 (__SNSECONDS_T_TYPE): Likewise.
42383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42384 (__SNSECONDS_T_TYPE): Likewise.
42385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42386 (__SNSECONDS_T_TYPE): Likewise.
42387
288f9098 423882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42389
42390 [BZ #2636]
42391 * manual/time.texi (Processor Time): Return type of times is
42392 elapsed real time since an arbitrary point in the past.
42393 (CPU Time): Move CLK_TCK from here...
42394 (Processor Time): ...to here. Correct description.
42395 * manual/conf.texi (Constants for Sysconf): Correct description of
42396 _SC_CLK_TCK.
42397
d7dd4413
DM
423982012-04-10 David S. Miller <davem@davemloft.net>
42399
42400 [BZ #13967]
42401 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42402 where the is a gap between DT_REL(A) and DT_JMPREL.
42403
b46068fc
L
424042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42405
42406 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42407 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42408 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42409
73d65cc3
SP
424102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42411
42412 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42413 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42414 (dl_main): Handle --inhibit-cache.
42415 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42416 _dl_inhibit_cache.
42417 * elf/dl-load.c (_dl_map_object): Use it.
42418 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42419
bcc8d661
JM
424202012-04-09 Joseph Myers <joseph@codesourcery.com>
42421
8f9a2fae
JM
42422 [BZ #13872]
42423 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42424 (__ieee754_powl): Saturate large exponents rather than testing for
42425 overflow of y*log2(x).
42426 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42427 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42428 exceptions.
42429
bcc8d661
JM
42430 [BZ #11521]
42431 * math/s_ctan.c: Include <float.h>.
42432 (__ctan): Avoid internal overflow or cancellation in calculating
42433 denominator.
42434 * math/s_ctanf.c: Likewise.
42435 * math/s_ctanl.c: Likewise.
42436 * math/s_ctanh.c: Likewise.
42437 * math/s_ctanhf.c: Likewise.
42438 * math/s_ctanhl.c: Likewise.
42439 * math/libm-test.inc (ctan_test): Add more tests.
42440 (ctanh_test): Likewise.
42441 * sysdeps/i386/fpu/libm-test-ulps: Update.
42442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42443
823fbbb4
AJ
424442012-04-09 Andreas Jaeger <aj@suse.de>
42445
03879793
AJ
42446 [BZ #6894]
42447 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42448 is an optional BSD extension.
42449
823fbbb4
AJ
42450 [BZ #10254]
42451 * manual/stdio.texi (Opening Streams): Document additional fopen
42452 parameters.
42453
8de131cb
RM
424542012-04-09 Roland McGrath <roland@hack.frob.com>
42455
42456 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42457 %eax without telling the compiler.
42458
c0ed9d7d
CD
424592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42460
42461 [BZ # 13963]
42462 * manual/install.texi: Use sourceware.org.
42463
c483f6b4
JM
424642012-04-09 Joseph Myers <joseph@codesourcery.com>
42465
d7dd9453
JM
42466 [BZ #13873]
42467 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42468 (__ieee754_pow): Generate overflow and underflow using huge*huge
42469 and tiny*tiny rather than just returning constant infinity or zero
42470 for large exponents.
42471 * math/libm-test.inc (pow_test): Require overflow exceptions for
42472 applicable cases of large exponents.
42473
c483f6b4
JM
42474 [BZ #706]
42475 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42476 (__ieee754_pow): Use iterative multiplication algorithm only for
42477 integer exponents with absolute value below 1024. Check for odd
42478 integer exponents when using algorithm for real exponents.
42479 * math/libm-test.inc (pow_test): Add more tests.
42480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42481
d2de7579
JM
424822012-04-08 Joseph Myers <joseph@codesourcery.com>
42483
42484 [BZ #13705]
42485 * math/libm-test.inc (exp_test): Do not allow overflow exception
42486 on underflow test.
42487
f77f1232
AJ
424882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42489
42490 [BZ #13705]
42491 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42492 instead of __kernel_standard_f.
42493
3884932b
MF
424942012-04-08 Mike Frysinger <vapier@gentoo.org>
42495
42496 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42497 * sysdeps/x86_64/memset_chk.S: Likewise.
42498
54472e9c
AJ
424992012-04-08 Andreas Jaeger <aj@suse.de>
42500
6ab0fbfc
AJ
42501 [BZ #10153]
42502 * manual/startup.texi (Environment Access): Describe return value
42503 for putenv and setenv.
42504
61efba8c
AJ
42505 [BZ #6895]
42506 * manual/filesys.texi (Directory Entries): Add description for
42507 DT_LNK.
42508
95c3f29a
AJ
42509 [BZ #6890]
42510 * manual/filesys.texi (Directory Entries): Clarify that it's file
42511 system not operating system in the description of DT_UNKNOWN.
42512
54472e9c
AJ
42513 [BZ #6578]
42514 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42515
624254b1
SC
425162012-04-08 Stephen Compall <s11@member.fsf.org>
42517
42518 [BZ #6649]
42519 * manual/llio.texi (Opening and Closing Files): Add cross
42520 reference to explain mode argument.
42521
1e4920e0
MF
425222012-04-07 Mike Frysinger <vapier@gentoo.org>
42523
42524 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42525 * sysdeps/x86_64/memset_chk.S: Likewise.
42526
5ed848f3
DM
425272012-04-07 David S. Miller <davem@davemloft.net>
42528
42529 * elf/elf.h (R_SPARC_WDISP10): Define.
42530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42531 R_SPARC_SIZE32.
42532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42533 R_SPARC_SIZE64 and R_SPARC_H34.
42534
96154cd8
CD
425352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42536
42537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42538 conditions and remove no longer applicable assertion.
42539
9904dc47
L
425402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42541
42542 * bits/byteswap.h: Include <features.h>.
42543 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42544 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42545
f8887d0a
L
425462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42547
42548 * bits/byteswap.h (__bswap_16): Removed.
42549 Include <bits/byteswap-16.h> to get __bswap_16.
42550 * sysdeps/i386/bits/byteswap.h: Likewise.
42551 * sysdeps/s390/bits/byteswap.h: Likewise.
42552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42553 * bits/byteswap-16.h: New file.
42554 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42555 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42556 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42557 * string/Makefile (headers): Add bits/byteswap-16.h.
42558
62470f60
PP
425592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42560
42561 [BZ #13895]
42562 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42563 extra indirection.
42564 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42565 * nss/tst-nss-static.c: New.
42566
4dad7bab
RM
425672012-04-06 Robert Millan <rmh@gnu.org>
42568
42569 [BZ #6486]
42570 * manual/llio.texi (File Position Primitive): lseek
42571 refers to WHENCE when it really means OFFSET.
42572
e9142a17
AJ
425732012-04-06 Andreas Jaeger <aj@suse.de>
42574
2c040eff
AJ
42575 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42576 strncmp declarations.
42577
e9142a17
AJ
42578 * abilist/libc.abilist: Add __poll and __ppoll.
42579
ff9f1c5f
DM
425802012-04-05 David S. Miller <davem@davemloft.net>
42581
dcd2ae90
DM
42582 * scripts/check-local-headers.sh: Accept a host triplet in the
42583 path matched by the exclude regexp.
42584
993eb054
DM
42585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42586 definition.
42587 * sysdeps/powerpc/powerpc32/dl-machine.h
42588 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42589 * sysdeps/s390/s390-32/dl-machine.h
42590 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42591 * sysdeps/sparc/sparc32/dl-machine.h
42592 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42593 * sysdeps/sparc/sparc64/dl-machine.h
42594 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42595
ff9f1c5f
DM
42596 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42597 lazy binding.
48e2e132 42598 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42599 undefined symbol errors.
42600
48e2e132 42601 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42602 DT_NEEDED entries.
42603
e80d6f94
MM
426042012-04-05 Michael Matz <matz@suse.de>
42605
42606 [BZ #13592]
42607 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42608
349fa79f
AJ
426092012-04-05 Andreas Jaeger <aj@suse.de>
42610
42611 [BZ #13908]
42612 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42613 comment.
42614
f402708f
KK
426152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42616
42617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42618 which ROUND is no valid rounding mode.
42619
2ecccfc9
KK
426202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42621
42622 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42623 read again.
42624 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42625
8a53f50f
KK
426262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42627
42628 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42629 an exception using FPU order intentionally.
42630
426312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42632
42633 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42634 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42635 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42636 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42637
d653abb7
SJ
426382012-04-05 Simon Josefsson <simon@josefsson.org>
42639
42640 [BZ #12340]
42641 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42642 EINVAL when BUFLEN is too smal.
42643
c3b1bf7d
TS
426442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42645
42646 [BZ #13553]
42647 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42648 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42649
b1aa60f3
AJ
426502012-04-03 Andreas Jaeger <aj@suse.de>
42651
c3b1bf7d 42652 [BZ #13938]
67f60a26
AJ
42653 * manual/setjmp.texi (System V contexts): Fix sentence.
42654
b1aa60f3
AJ
42655 [BZ #13926]
42656 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42657 New macro for this case.
42658 [!__GNUC__] (__bswap_64): New inline function for this case.
42659 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42660 * bits/byteswap.h: Likewise.
42661 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42662 ull, guard with __GLIBC_HAVE_LONG_LONG.
42663
42664 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42665 __GLIBC_HAVE_LONG_LONG.
42666
42667 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42668 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42669
39c59c35
TMQMF
426702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42671
42672 [BZ #13691]
42673 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42674 inptr and inend, rather than using last_ch.
42675
135ffda8
DM
426762012-04-02 David S. Miller <davem@davemloft.net>
42677
42678 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42679 * stdio-common/printf-parse.h (read_int): Change return type to
42680 'int', return -1 on INT_MAX overflow.
42681 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42682 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42683 overflows INT_MAX. Check for overflow of in-format-string precision
42684 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42685 SIZE_MAX not INT_MAX for integer overflow test.
42686 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42687 skip the construct in the format string but do not record anything.
42688 * stdio-common/bug22.c: Adjust to test both width/prevision
42689 INT_MAX overflow as well as total length INT_MAX overflow. Check
42690 explicitly for proper errno values.
42691
228c019e
TS
426922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42693
302cadd3
TS
42694 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42695 CHAR_MAX.
42696 * string/test-strcmp.c [! WIDE]: Likewise.
42697 * time/tst-mktime2.c: Likewise for INT_MAX.
42698 * string/test-string.h: #include <sys/param.h> for MIN.
42699
228c019e
TS
42700 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42701 * sysdeps/i386/init-first.c (init): Likewise.
42702 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42703 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42704 * sysdeps/sh/init-first.c (init): Likewise.
42705
cfa633f5
UD
427062012-04-01 Ulrich Drepper <drepper@gmail.com>
42707
42708 * po/ru.po: Update from translation team.
d1635ef8 42709 * po/vi.po: Likewise.
cfa633f5 42710
6cd0a5ea
SP
427112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42712
42713 * resolv/nss_dns/dns-host.c: Merge copyright years.
42714
4b43400f
LD
427152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42716
42717 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42718 Optimize memcpy with prefetch if
42719 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42720 src, dst pointers have unequal 16 byte alignments.
42721
48c41d04
SP
427222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42723
42724 [BZ #13928]
42725 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42726 from a CNAME entry and return the minimum ttl for the query.
42727 (gaih_getanswer_slice): Likewise.
42728
b8dc394d
JL
427292012-03-30 Jeff Law <law@redhat.com>
42730
42731 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42732 due to long keys.
42733 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42734 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42735
2f5a5ed0
JL
42736 * resolv/nss_dns/dns-host.c: Update copyright year.
42737
1d39e359
UD
427382012-03-30 Ulrich Drepper <drepper@gmail.com>
42739
c030f70c 42740 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42741 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42742
1d39e359
UD
42743 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42744 comments for sendmmsg.
42745
427462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42747
42748 [BZ #13691]
42749 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42750 with only 1 character between 0x0041 and 0x01b0.
42751 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42752 * wcsmbs/tst-mbsnrtowcs.c: New file.
42753
20fde227
DM
427542012-03-29 David S. Miller <davem@davemloft.net>
42755
42756 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42757 small copies by hand.
42758
984a4237
JL
427592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42760
42761 [BZ #13761]
57f41c40
AS
42762 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42763 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42764 group memberships.
984a4237 42765
18c9d62b
DM
427662012-03-28 David S. Miller <davem@davemloft.net>
42767
88d85d4f
DM
42768 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42769 that branches into memcpy.
42770 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42773 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42775 bits.
42776 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42777 implementation too.
42778 * sysdeps/sparc/mempcpy.S: New file.
42779
e5aa83e1
DM
42780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42781 the IFUNC routine in the libc case.
42782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42783
88570753
DM
42784 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42785 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42786 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42787 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42788 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42789 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42790 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42791 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42792
249d7567
DM
42793 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42794 loop to 256 bytes instead of 64 bytes and fix test signedness.
42795
18c9d62b
DM
42796 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42797 * sysdeps/sparc/sparc32/Makefile: rather than here...
42798 * sysdeps/sparc/sparc64/Makefile: and here.
42799
05f3d1f6
UD
428002012-03-28 Ulrich Drepper <drepper@gmail.com>
42801
42802 * malloc/mallocbug.c: Avoid warnings about unused variables.
42803
86ae07a8
JL
428042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42805
42806 [BZ #13760]
42807 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42808 in the right place. Discard and retry query if response is
42809 larger than input buffer size.
42810
41bf21a1
JM
428112012-03-28 Joseph Myers <joseph@codesourcery.com>
42812
d6270972
JM
42813 [BZ #369]
42814 [BZ #2678]
42815 [BZ #3866]
42816 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42817 x for large integer exponent.
42818 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42819 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42820 sign of result as needed afterwards.
42821 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42822 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42823 result for underflowing pow the same as for overflow.
42824 (__kernel_standard_l): Handle powl overflow and underflow here
42825 rather than calling __kernel_standard.
42826 * math/libm-test.inc (pow_test): Add more tests.
42827
414fca03 42828 [BZ #3868]
41bf21a1
JM
42829 [BZ #13879]
42830 [BZ #13910]
42831 [BZ #13911]
42832 [BZ #13912]
42833 [BZ #13913]
42834 [BZ #13915]
42835 [BZ #13916]
42836 [BZ #13917]
42837 [BZ #13918]
42838 [BZ #13919]
42839 [BZ #13920]
42840 [BZ #13921]
42841 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42842 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42843 (__kernel_standard_l): New function.
42844 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42845 __kernel_standard.
42846 * math/w_acosl.c (__acosl): Likewise.
42847 * math/w_asinl.c (__asinl): Likewise.
42848 * math/w_atan2l.c (__atan2l): Likewise.
42849 * math/w_atanhl.c (__atanhl): Likewise.
42850 * math/w_coshl.c (__coshl): Likewise.
42851 * math/w_exp10l.c (__exp10l): Likewise.
42852 * math/w_exp2l.c (__exp2l): Likewise.
42853 * math/w_fmodl.c (__fmodl): Likewise.
42854 * math/w_hypotl.c (__hypotl): Likewise.
42855 * math/w_j0l.c (__j0l, __y0l): Likewise.
42856 * math/w_j1l.c (__j1l, __y1l): Likewise.
42857 * math/w_jnl.c (__jnl, __ynl): Likewise.
42858 * math/w_lgammal.c (__lgammal): Likewise.
42859 * math/w_log10l.c (__log10l): Likewise.
42860 * math/w_log2l.c (__log2l): Likewise.
42861 * math/w_logl.c (__logl): Likewise.
42862 * math/w_powl.c (__powl): Likewise.
42863 * math/w_remainderl.c (__remainderl): Likewise.
42864 * math/w_scalbl.c (sysv_scalbl): Likewise.
42865 * math/w_sinhl.c (__sinhl): Likewise.
42866 * math/w_sqrtl.c (__sqrtl): Likewise.
42867 * math/w_tgammal.c (__tgammal): Likewise.
42868 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42869 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42870 * math/libm-test.inc (acos_test): Add more tests.
42871 (acosh_test): Likewise.
42872 (asin_test): Likewise.
42873 (atanh_test): Likewise.
42874 (exp_test): Likewise.
42875 (exp10_test): Likewise.
42876 (exp2_test): Likewise.
42877 (expm1_test): Likewise.
42878 (lgamma_test): Likewise.
42879 (log_test): Likewise.
42880 (log10_test): Likewise.
42881 (log1p_test): Likewise.
42882 (log2_test): Likewise.
42883 (pow_test): Do not allow some spurious overflow exceptions.
42884 (sqrt_test): Add more tests.
42885 (tgamma_test): Likewise.
42886 (y0_test): Likewise.
42887 (y1_test): Likewise.
42888 (yn_test): Likewise.
42889
dd62fda6
AB
428902012-03-27 Anton Blanchard <anton@samba.org>
42891
42892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42893 MAP_HUGETLB.
42894 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42895 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42896 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42897
1e3cdfda
AJ
428982012-03-27 David S. Miller <davem@davemloft.net>
42899
b855ab85
DM
42900 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42901
1e3cdfda
AJ
42902 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42903 have-as-vis3 check.
42904
429052012-03-27 Andreas Jaeger <aj@suse.de>
42906
42907 * sysdeps/x86_64/elf/configure.in: Moved to ...
42908 * sysdeps/x86_64/configure.in: ... here.
42909 * sysdeps/x86_64/elf/start.S: Moved to ...
42910 * sysdeps/x86_64/start.S: ... here.
42911 * sysdeps/x86_64/elf/configure: Delete.
42912
42913 * sysdeps/x86_64/configure.in: Merge contents from
42914 sysdeps/i386/configure.in (without i686 check).
42915
42916 * sysdeps/i386/elf/Versions: Merge into ...
42917 * sysdeps/i386/Versions: ... this.
42918 * sysdeps/i386/elf/Versions: Delete file.
42919 * sysdeps/i386/elf/start.S: Moved to ...
42920 * sysdeps/i386/start.S: ...here.
42921 * sysdeps/i386/elf/configure.in: Merge into...
42922 * sysdeps/i386/configure.in: ...here.
42923 * sysdeps/i386/elf/configure.in: Delete file.
42924 * sysdeps/i386/elf/configure: Delete file.
42925
42926 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42927 * debug/backtracesyms.c: ... here.
42928 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42929 * debug/backtracesymsfd.c: ... here.
42930 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42931 * sysdeps/generic/ifunc-sel.h: ... here.
42932
42933 * sysdeps/unix/i386/start.c: Delete file.
42934 * sysdeps/unix/sparc/start.c: Delete file.
42935 * sysdeps/unix/start.c: Delete file.
42936
42937 * sysdeps/sh/elf/configure.in: Moved to ...
42938 * sysdeps/sh/configure.in: ... here.
42939 * sysdeps/sh/elf/start.S: Moved to ...
42940 * sysdeps/sh/start.S: ... here.
42941 * sysdeps/sh/elf/configure: Delete file.
42942
42943 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42944 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42945 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42946 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42947 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42948 * sysdeps/powerpc/powerpc64/start.S: here.
42949 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42950 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42951 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42952 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42953 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42954
42955 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42956 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42957 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42958 * sysdeps/powerpc/powerpc32/start.S: ... here.
42959 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42960 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42961 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42962
42963 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42964 * sysdeps/powerpc/ifunc-sel.h: ... here.
42965 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42966 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42967
42968 * sysdeps/sparc/elf/configure.in: Moved to ...
42969 * sysdeps/sparc/configure.in: ... here.
42970 * sysdeps/sparc/elf/configure: Delete file.
42971 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42972 * sysdeps/sparc/sparc32/start.S: ... here.
42973 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42974 * sysdeps/sparc/sparc64/start.S: ... here.
42975 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42976 * sysdeps/sparc/sparc32/Makefile: ... this.
42977 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42978 * sysdeps/sparc/sparc64/Makefile: ... this.
42979
42980 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42981 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42982 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42983 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42984 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42985 * sysdeps/s390/s390-32/setjmp.S: ... here.
42986 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42987 * sysdeps/s390/s390-32/configure.in: ... here.
42988 * sysdeps/s390/s390-32/elf/configure: Delete file.
42989 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42990 * sysdeps/s390/s390-32/start.S: ... here.
42991
42992 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42993 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42994 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42995 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42996 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42997 * sysdeps/s390/s390-64/setjmp.S: ... here.
42998 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42999 * sysdeps/s390/s390-64/configure.in: ... here
43000 * sysdeps/s390/s390-64/elf/configure: Delete file.
43001 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43002 * sysdeps/s390/s390-64/start.S: ... here.
43003 * sysdeps/s390/s390-64/elf/configure: Delete.
43004
43005 * configure.in: Remove support for elf directories in sysdeps.
43006
43007 * configure: Regenerated.
43008 * sysdeps/i386/configure: Regenerated.
43009 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43010 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43011 * sysdeps/s390/s390-32/configure: Regenerated.
43012 * sysdeps/s390/s390-64/configure: Regenerated.
43013 * sysdeps/sh/configure: Regenerated.
43014 * sysdeps/sparc/configure: Regenerated.
43015 * sysdeps/x86_64/configure: Regenerated.
43016
a3f61311
AS
430172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43018
c876e002
AS
43019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43020
a3f61311
AS
43021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43022 denormal result into account.
43023
ac4c54f0
RM
430242012-03-25 Roland McGrath <roland@hack.frob.com>
43025
43026 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43027 Reported by Allan McRae <allan@archlinux.org>.
43028
6a9b9c02
JL
430292012-03-23 Jeff Law <law@redhat.com>
43030
43031 * nss/getnssent.c (__nss_getent): Fix typo.
43032
4c42a0c1
DM
430332012-03-23 David S. Miller <davem@davemloft.net>
43034
43035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43036
1532c7ac
L
430372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43038
43039 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43040 to pad to uint64_t for each field.
43041 (dl_tls_index): Replace unsigned long with uint64_t.
43042
3ff42526
PP
430432012-03-23 Daniel Jacobowitz <dmj@google.com>
43044 Paul Pluzhnikov <ppluzhnikov@google.com>
43045
43046 [BZ #6528]
43047 * grp/Makefile (otherlibs): Don't set it.
43048 * inet/Makefile (otherlibs): Likewise.
43049 * login/Makefile (otherlibs): Likewise.
43050 * nscd/Makefile (otherlibs): Likewise.
43051 * posix/Makefile (otherlibs): Likewise.
43052 * pwd/Makefile (otherlibs): Likewise.
43053 * rt/Makefile (otherlibs): Likewise.
43054 * sunrpc/Makefile (otherlibs): Likewise.
43055 * nss/Makefile (otherlibs): Likewise.
43056 Add libnss_files to routines and static-only-routines.
43057 ($(objpfx)getent): Remove rule.
43058 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43059 static-only-routines.
43060
7c69cd14
JM
430612012-03-22 Joseph Myers <joseph@codesourcery.com>
43062
43063 [BZ #13892]
43064 * math/s_cexp.c: Include <float.h>.
43065 (__cexp): Handle exp result overflowing not necessarily
43066 overflowing both real and imaginary parts of result.
43067 * math/s_cexpf.c: Likewise.
43068 * math/s_cexpl.c: Likewise.
43069 * math/libm-test.inc (cexp_test): Add more tests.
43070 * sysdeps/i386/fpu/libm-test-ulps: Update.
43071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43072
81b035fe
L
430732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43074
43075 * include/link.h (ELFW): New macro.
43076 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43077 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43078
1da7940c
L
430792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43080
43081 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43082 with uint64_t.
43083
b749dbb9
L
430842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43085
43086 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43087 declaration.
43088 (struct La_x32_retval): Likewise.
43089
2ff87f3f
L
430902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43091
43092 * sysdeps/x86_64/preconfigure.in: New file.
43093 * sysdeps/x86_64/preconfigure: New generated file.
43094
c0df8e69
JM
430952012-03-22 Joseph Myers <joseph@codesourcery.com>
43096
48e44791
JM
43097 [BZ #13824]
43098 * math/e_exp2l.c: Include <float.h>.
43099 (__ieee754_exp2l): Handle overflow and underflow cases
43100 separately. Only pass fractional part of argument to
43101 __ieee754_expl.
43102 * math/libm-test.inc (exp2_test): Add more tests.
43103
c0df8e69
JM
43104 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43105 negating x to take absolute value.
43106 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43107 Likewise.
43108 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43109 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43110 Likewise.
43111 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43112 computing low part if x was negated.
43113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43114
c8e43ba7
L
431152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43116
43117 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43118 la_x32_gnu_pltexit.
43119 (pltexit): Cast int_retval to ptrdiff_t.
43120 * elf/tst-auditmod3b.c: Likewise.
43121 * elf/tst-auditmod4b.c: Likewise.
43122 * elf/tst-auditmod5b.c: Likewise.
43123 * elf/tst-auditmod6b.c: Likewise.
43124 * elf/tst-auditmod6c.c: Likewise.
43125 * elf/tst-auditmod7b.c: Likewise.
43126
43127 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43128 and x32_gnu_pltexit.
43129
43130 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43131 __ELF_NATIVE_CLASS.
43132 (La_x32_regs): New macro.
43133 (La_x32_retval): Likewise.
43134 (la_x32_gnu_pltenter): New function prototype.
43135 (la_x32_gnu_pltexit): Likewise.
43136
7998fa78
AS
431372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43138
dcb33988
AS
43139 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43140 exponent.
43141
233fc563
AS
43142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43143
7998fa78
AS
43144 * configure.in (libc_cv_cc_nofma): Check for option to disable
43145 generation of FMA instructions.
43146 * configure: Regenerate.
43147 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43148 * sysdeps/ieee754/dbl-64/Makefile: New file.
43149 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43150 Remove brandred-fma4.
43151 (CFLAGS-brandred-fma4.c): Remove.
43152 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43153 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43154 define.
43155 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43156 define.
43157
8e95c99a
L
431582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43159
43160 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43161 LLONG_MAX != LONG_MAX.
43162 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43163 (_fitoa_word): Likewise.
43164 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43165 LLONG_MAX != LONG_MAX.
43166 * stdio-common/_itowa.h: Include <_itoa.h>.
43167 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43168 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43169 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43170 only if not defined.
43171 (_ITOA_WORD_TYPE): Likewise.
43172 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43173 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43174
6f4db457
DM
431752012-03-21 David S. Miller <davem@davemloft.net>
43176
43177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43178
7785fe5a
L
431792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43180
43181 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43182 of x86_64 when setting libc_cv_slibdir, libdir and
43183 libc_cv_localedir.
43184 * sysdeps/unix/sysv/linux/configure: Regenerated.
43185
4535cd55
JM
431862012-03-21 Joseph Myers <joseph@codesourcery.com>
43187
43188 * manual/lang.texi (Old Varargs): Remove section.
43189 (How Variadic): Update menu.
43190 (va_start): Do not mention varargs.h.
43191
17228132
TS
431922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43193 Joseph Myers <joseph@codesourcery.com>
43194
43195 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43196 link test.
43197 * configure: Regenerated.
43198
8149f976
TS
431992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43200
05f3d1f6
UD
43201 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43202 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43203 conformtest.pl
8149f976 43204
1a4ac776
JM
432052012-03-21 Joseph Myers <joseph@codesourcery.com>
43206
be22ce65
JM
43207 * NOTES: Remove.
43208 * Makefile (files-for-dist): Remove NOTES.
43209 (NOTES): Remove rule.
43210 * README: Don't refer to NOTES.
43211 * manual/creature.texi: Don't include macros.texi.
43212 * manual/intro.texi (creature.texi): Remove comment referring to
43213 NOTES.
43214
40b601fb
JM
43215 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43216 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43217 * configure: Regenerated.
43218 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43219 LIBC_TRY_CC_OPTION.
43220 (libc_cv_as_i686): Likewise.
43221 (libc_cv_cc_avx): Likewise.
43222 (libc_cv_cc_sse2avx): Likewise.
43223 (libc_cv_cc_fma4): Likewise.
43224 (libc_cv_cc_novzeroupper): Likewise.
43225 * sysdeps/i386/configure: Regenerated.
43226
1a4ac776
JM
43227 [BZ #13883]
43228 * sysdeps/i386/fpu/s_cexp.S: Remove.
43229 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43230 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43231 * math/libm-test.inc (cexp_test): Add more tests.
43232 * sysdeps/i386/fpu/libm-test-ulps: Update.
43233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43234
a458e7fe
AM
432352012-03-21 Allan McRae <allan@archlinux.org>
43236
43237 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43238
0cb7efc5
JM
432392012-03-21 Joseph Myers <joseph@codesourcery.com>
43240
43241 [BZ #13871]
43242 * math/w_exp2.c: Do not include <float.h>.
43243 (o_threshold, u_threshold): Remove.
43244 (__exp2): Calculate result before checking finiteness and calling
43245 __kernel_standard.
43246 * math/w_exp2f.c: Likewise.
43247 * math/w_exp2l.c: Likewise.
43248 * math/libm-test.inc (exp2_test): Require overflow exception for
43249 1e6 input.
2460d3aa
JM
43250
43251 [BZ #3866]
43252 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43253 range of signed 64-bit integers before using fistpll. Remove
43254 checks for whether integers fit in mantissa bits.
43255 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43256 the range of signed 32-bit integers before using fistpl. Remove
43257 checks for whether integers fit in mantissa bits.
43258 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43259 (__ieee754_powl): Test for y outside the range of signed 64-bit
43260 integers before using fistpll. Reduce 64-bit values to 63-bit
43261 ones as needed.
43262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43263 divide-by-zero is raised for zero to large negative powers.
43264 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43265 (__ieee754_powl): Test for y outside the range of signed 64-bit
43266 integers before using fistpll. Reduce 64-bit values to 63-bit
43267 ones as needed.
43268 * math/libm-test.inc (pow_test): Add more tests.
43269
eb96ffb0
L
432702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43271
43272 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43273 <stdio-common/_itoa.h>.
43274 * debug/segfault.c: Likewise.
43275 * elf/dl-cache.c: Likewise.
43276 * elf/dl-minimal.c: Likewise.
43277 * elf/dl-misc.c: Likewise.
43278 * elf/dl-sysdep.c: Likewise.
43279 * elf/dl-version.c: Likewise.
43280 * elf/rtld.c: Likewise.
43281 * hurd/hurdsock.c: Likewise.
43282 * hurd/lookup-retry.c: Likewise.
43283 * malloc/malloc.c: Likewise.
43284 * malloc/mtrace.c: Likewise.
43285 * nscd/nscd_getgr_r.c: Likewise.
43286 * nscd/nscd_getpw_r.c: Likewise.
43287 * nscd/nscd_getserv_r.c: Likewise.
43288 * posix/getopt_init.c: Likewise.
43289 * posix/wordexp.c: Likewise.
43290 * stdio-common/_itoa.c: Likewise.
43291 * stdio-common/printf_fphex.c: Likewise.
43292 * stdio-common/vfprintf.c: Likewise.
43293 * string/_strerror.c: Likewise.
43294 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43295 * sysdeps/i386/i686/hp-timing.h: Likewise.
43296 * sysdeps/mach/_strerror.c: Likewise.
43297 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43298 * sysdeps/mach/hurd/sethostid.c: Likewise.
43299 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43300 * sysdeps/mach/xpg-strerror.c: Likewise.
43301 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43303 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43304 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43305 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43306 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43307 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43308 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43309 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43310 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43311 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43312 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43313 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43314 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43315 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43316 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43317 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43318 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43319 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43320 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43321 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43322
43323 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43324
43325 * stdio-common/_itoa.h: Moved to ...
43326 * sysdeps/generic/_itoa.h: Here.
43327
43328 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43329
43330 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43331 instead of "_itoa.h" and "_itowa.h".
43332 * stdio-common/vfprintf.: Likewise.
43333
d1af992d
L
433342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43335
43336 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43337 <bits/wordsize.h>.
43338 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43339 (__signbit): Likwise.
43340 (llrintf): Likwise.
43341 (llrint): Likwise.
43342
114883e0
L
433432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43344
43345 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43346 __WORDSIZE != 64.
43347
c135cc1b
JM
433482012-03-20 Joseph Myers <joseph@codesourcery.com>
43349
43350 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43351 OVERFLOW_EXCEPTION_OK.
43352 * math/libm-test.inc ("Philosophy"): Update comment about
43353 exception testing.
43354 (OVERFLOW_EXCEPTION): Define.
43355 (OVERFLOW_EXCEPTION_OK): Likewise.
43356 (INVALID_EXCEPTION_OK): Renumber.
43357 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43358 (IGNORE_ZERO_INF_SIGN): Likewise.
43359 (test_exceptions): Handle FE_OVERFLOW.
43360 (exp10_test): Expect overflow exceptions.
43361 (exp2_test): Likewise.
43362 (expm1_test): Likewise.
43363 (nextafter_test): Likewise.
43364 (pow_test): Likewise.
43365 (scalbn_test): Likewise.
43366 (scalbln_test): Likewise.
43367
95443d88
L
433682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43369
43370 * sysdeps/x86_64/bits/atomic.h
43371 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43372 64bit integer.
43373 (atomic_exchange_acq): Likewise.
43374 (__arch_exchange_and_add_body): Likewise.
43375 (__arch_add_body): Likewise.
43376 (atomic_add_negative): Likewise.
43377 (atomic_add_zero): Likewise.
43378
490df6c4
L
433792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43380
c2722551 43381 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43382 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43383
5e52b189
L
433842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43385
43386 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43387 Check __x86_64__ instead of __WORDSIZE.
43388
a9879d4c
L
433892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43390
43391 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43392
5df98260
DM
433932012-03-19 David S. Miller <davem@davemloft.net>
43394
e1497744
DM
43395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43396
5df98260
DM
43397 * sysdeps/sparc/fpu/fenv_private.h: New file.
43398 * sysdeps/sparc/fpu/math_private.h: Use it.
43399 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43400 Remove.
57f41c40 43401 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43402 (libc_feholdexcept_setroundl): Remove.
43403 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43404 Remove.
43405 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43406 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43407
b4c35121
L
434082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43409
43410 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43411 int64_t instead of long int.
43412 (INSERT_WORDS64): Likwise.
43413
56965fd7
L
434142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43415
43416 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43417 _Unwind_GetCFA return to _Unwind_Ptr first.
43418
83d1aec8
JM
434192012-03-19 Joseph Myers <joseph@codesourcery.com>
43420
1897ad44
JM
43421 [BZ #13629]
43422 * math/s_clog.c: Include <float.h>.
43423 (__clog): Scale large or subnormal inputs.
43424 * math/s_clogf.c: Likewise.
43425 * math/s_clogl.c: Likewise.
43426 * math/s_clog10.c: Include <float.h>.
43427 (M_LOG10_2): Define.
43428 (__clog10): Scale large or subnormal inputs.
43429 * math/s_clog10f.c: Likewise.
43430 * math/s_clog10l.c: Likewise.
43431 * math/libm-test.inc (clog_test): Add more tests.
43432 (clog10_test): Likewise.
43433 * sysdeps/i386/fpu/libm-test-ulps: Update.
43434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43435
7726d6a9
JM
43436 [BZ #11451]
43437 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43438 x and y.
43439 * math/libm-test.inc (atan2_test): Add another test.
43440
83d1aec8
JM
43441 * Makerules (common-objdir-compile): Remove.
43442 * sysdeps/unix/Makefile (config-generated): Do not add
43443 $(unix-generated) to variable.
43444 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43445 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43446 Remove rule.
43447 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43448 Likewise.
43449 [generic bits/local_lim.h] (before-compile): Do not append to
43450 variable.
43451 [generic bits/local_lim.h] (common-generated): Likewise.
43452 [generic sys/param.h] (before-compile): Do not append to variable.
43453 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43454 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43455 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43456 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43457 include.
43458 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43459 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43460 [generic sys/param.h] ($(addprefix
43461 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43462 [generic sys/param.h] (common-generated): Do not append to
43463 variable.
43464 [generic sys/param.h] (sysdep_headers): Likewise.
43465 [generic bits/errno.h] (before-compile): Do not append to
43466 variable.
43467 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43468 rule.
43469 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43470 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43471 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43472 [generic bits/errno.h] (common-generated): Do not append to
43473 variable.
43474 [generic bits/ioctls.h] (before-compile): Do not append to
43475 variable.
43476 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43477 rule.
43478 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43479 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43480 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43481 rule.
43482 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43483 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43484 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43485 [generic bits/ioctls.h] (common-generated): Do not append to
43486 variable.
43487 [generic sys/syscall.h] (syscall.h): Remove variable.
43488 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43489 rule.
43490 [generic sys/syscall.h] (before-compile): Do not append to
43491 variable.
43492 [generic sys/syscall.h] (common-generated): Likewise.
43493 * sysdeps/unix/errnos-tmpl.c: Remove file.
43494 * sysdeps/unix/errnos.awk: Likewise.
43495 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43496 * sysdeps/unix/ioctls.awk: Likewise.
43497 * sysdeps/unix/mk-local_lim.c: Likewise.
43498 * sysdeps/unix/snarf-ioctls: Likewise.
43499
4851a949
RH
435002012-03-19 Richard Henderson <rth@twiddle.net>
43501
bd37f2ee
RH
43502 * sysdeps/i386/fpu/fenv_private.h: New file.
43503 * sysdeps/i386/fpu/math_private.h: Use it.
43504 (math_opt_barrier, math_force_eval): Remove.
43505 (libc_feholdexcept_setround_53bit): Remove.
43506 (libc_feupdateenv_53bit): Remove.
43507 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43508 (math_opt_barrier, math_force_eval): Remove.
43509 (libc_feholdexcept): Remove.
43510 (libc_feholdexcept_setround): Remove.
43511 (libc_fetestexcept, libc_fesetenv): Remove.
43512 (libc_feupdateenv_test): Remove.
43513 (libc_feupdateenv, libc_feholdsetround): Remove.
43514 (libc_feresetround): Remove.
43515
d0adc922
RH
43516 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43517 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43518
0fe0f1f8
RH
43519 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43520 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43521 (libc_feupdateenv_testl): New.
43522 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43523 (libc_feupdateenv_testf): New.
43524 (libc_feupdateenv): Use libc_feupdateenv_test.
43525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43527
eb92c487
RH
43528 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43529 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43530 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43531 (libc_feresetround_noex): New.
43532 (libc_feresetround_noexf): New.
43533 (libc_feresetround_noexl): New.
43534 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43535 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43536 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43537 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43538 SET_RESTORE_ROUND.
43539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43540 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43541 (__cos): Likewise.
43542 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43543 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43544 SET_RESTORE_ROUND_NOEX.
43545 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43546 SET_RESTORE_ROUND_NOEXF.
43547 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43548 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43549 (libc_feholdsetroundf): New.
43550 (libc_feresetround, libc_feresetroundf): New.
43551
7d2e8012
RH
43552 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43553 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43554 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43555
b4dabbb4
RH
43556 * sysdeps/generic/math_private.h: Include <fenv.h>.
43557 (default_libc_feholdexcept): New.
43558 (default_libc_feholdexcept_setround): New.
43559 (default_libc_fesetenv, default_libc_feupdateenv): New.
43560 (libc_feholdexcept): Only define if undefined.
43561 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43562 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43563 (libc_feholdexcept_setroundl): Likewise.
43564 (libc_feholdexcept_setround_53bit): Likewise.
43565 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43566 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43567 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43568 (libc_feupdateenv_53bit): Likewise.
43569 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43570 (libc_feholdexcept): Convert from macro to inline function.
43571 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43572 (libc_fesetenv, libc_feupdateenv): Likewise.
43573
4851a949
RH
43574 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43575 not previously defined.
43576 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43577 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43578 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43579 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43580 * sysdeps/ieee754/flt-32/math_private.h: New file.
43581 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43582 math_private.h below SET_FLOAT_WORD.
43583 (__isnan, __isinf_ns, __finite): Remove.
43584 (__isnanf, __isinf_nsf, __finitef): Remove.
43585
e79d442e
AS
435862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43587
43588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43589
90b80344
DM
435902012-03-17 David S. Miller <davem@davemloft.net>
43591
43592 [BZ #6471]
43593 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43594 for 2.16.
43595
edc21804
DM
435962012-03-16 David S. Miller <davem@davemloft.net>
43597
77e927af
DM
43598 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43599 warnings.
43600
374976dd
DM
43601 [BZ #6471]
43602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43603 properly.
43604 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43605 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43606 sysdep_routines when subdir is sysvipc.
43607 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43608 __getshmlba helper.
43609
edc21804
DM
43610 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43611
473c3ef3
L
436122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43613
43614 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43615 [__LP64__].
43616
eb0f39b6
L
436172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43618
43619 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43620 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43621 (__lround): Renamed to ...
43622 (__llround): This. Replace long int with long long int.
43623 Define lround functions as aliases of llround functions.
43624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43625
6b6cd74b
L
436262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43627
43628 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43629 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43630 adresses to uintptr_t. Replace "long int" and "unsigned long
43631 int" with "greg_t" on va_arg.
43632
f1a77b01
L
436332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43634
43635 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43636 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43637
43638 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43639 Move e_machine check before EI_CLASS check. Handle x32
43640 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43641 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43642 SKIP_EM_IA_64 and include
43643 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43644
43645 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43646 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43647 (add_system_dir): New macro.
43648
43649 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43650 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43651
11b90b9f
JM
436522012-03-16 Joseph Myers <joseph@codesourcery.com>
43653
c36e1d23
JM
43654 [BZ #2551]
43655 [BZ #2552]
43656 [BZ #2553]
43657 [BZ #2554]
43658 [BZ #2562]
43659 [BZ #2563]
43660 [BZ #2565]
43661 [BZ #2566]
43662 [BZ #2576]
43663 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43664 (y0): Likewise.
43665 * math/w_j0f.c (j0f): Likewise.
43666 (y0f): Likewise.
43667 * math/w_j0l.c (__j0l): Likewise.
43668 (__y0l): Likewise.
43669 * math/w_j1.c (j1): Likewise.
43670 (y1): Likewise.
43671 * math/w_j1f.c (j1f): Likewise.
43672 (y1f): Likewise.
43673 * math/w_j1l.c (__j1l): Likewise.
43674 (__y1l): Likewise.
43675 * math/w_jn.c (jn): Likewise.
43676 (yn): Likewise.
43677 * math/w_jnf.c (jnf): Likewise.
43678 (ynf): Likewise.
43679 * math/w_jnl.c (__jnl): Likewise.
43680 (__ynl): Likewise.
43681 * math/libm-test.inc (j0_test): Add more tests.
43682 (j1_test): Likewise.
43683 (jn_test): Likewise. Add trailing semicolon to existing test.
43684 (y0_test): Likewise.
43685 (y1_test): Likewise.
43686 * sysdeps/i386/fpu/libm-test-ulps: Update.
43687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43688
11b90b9f
JM
43689 [BZ #13851]
43690 [BZ #13854]
43691 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43692 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43693 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43694 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43695 (__tanl): Set errno for infinite argument.
43696 * sysdeps/i386/fpu/mptan.c: Remove.
43697 * sysdeps/i386/fpu/s_tan.S: Likewise.
43698 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43699 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43700 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43701 * math/libm-test.inc (tan_test): Add more tests and enable more
43702 tests for double and long double.
43703 * sysdeps/i386/fpu/libm-test-ulps: Update.
43704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43705
6a1bd2a1
JK
437062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43707
43708 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43709 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43710
10a803e0
RM
437112012-03-16 Roland McGrath <roland@hack.frob.com>
43712
43713 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43714 * configure.in: Use it for both main tree and add-ons.
43715 * configure: Regenerated.
43716
f196c7f7
L
437172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43718
43719 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43720
8848d99d
JM
437212012-03-16 Joseph Myers <joseph@codesourcery.com>
43722
96cbe7f4
JM
43723 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43724 in comment.
43725
8848d99d
JM
43726 [BZ #13851]
43727 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43728 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43729 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43730 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43731 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43732 infinite argument.
43733 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43735 != 0 for prec == 2.
43736 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43737 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43738 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43739 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43740 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43741 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43742 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43743 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43744 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43745 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43746 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43747 * math/libm-test.inc (cos_test): Add more tests and enable more
43748 tests for long double.
43749 (sin_test): Likewise.
43750 (sincos_test): Likewise.
43751 * sysdeps/i386/fpu/libm-test-ulps: Update.
43752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43753
dd7f4703
DM
437542012-03-16 David S. Miller <davem@davemloft.net>
43755
43756 * sysdeps/sparc/fpu/math_private.h: New file.
43757
006f1daa
DM
437582012-03-15 David S. Miller <davem@davemloft.net>
43759
c0c83bc8
DM
43760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43761 file.
e6a62e18 43762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43764 file.
e6a62e18
DM
43765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43771 sysdep routines.
43772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43773
88cb87d9
DM
43774 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43775 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43776
006f1daa 43777 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43779 sparc-ifunc.h
006f1daa 43780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43782 Likewise.
43783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43784 Likewise.
006f1daa
DM
43785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43789 Likewise.
006f1daa
DM
43790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43795 Likewise.
43796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43797 Likewise.
006f1daa
DM
43798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43822
11e0098e
AS
438232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43824
43825 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43826 scaling.
43827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43828
e85b09d0
AJ
438292012-03-15 Andreas Jaeger <aj@suse.de>
43830
43831 [BZ #13852]
43832 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43833 ieee754/flt-32 implementation for sin, cos and sincos.
43834 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43835 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43836 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43837 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43838 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43839 ieee754/flt-32 implementation for tan.
43840
43841 * math/libm-test.inc (cos_test): Enable some large input tests for
43842 float as well
43843 (sin_test): Likewise.
43844 (sincos_test): Likewise.
43845 (tan_test): Add tests for large input.
43846
43847 * sysdeps/i386/fpu/libm-test-ulps: Update.
43848
81c64153
AJ
438492012-03-15 Andreas Jaeger <aj@suse.de>
43850
43851 [BZ #13658]
43852 * math/libm-test.inc (cos_test): Add more test cases.
43853 (sin_test): Likewise.
43854 (sincos_test): Likewise.
43855
7bbfa5c6
AJ
438562012-03-15 Andreas Jaeger <aj@suse.de>
43857
43858 [BZ #13837]
43859 * math/libm-test.inc (cos_test): Add a test case for large input
43860 value.
43861 (sin_test): Likewise.
43862 (sincos_test): Likewise.
43863
57f41c40
AS
438642012-03-15 Andreas Jaeger <aj@suse.de>
43865 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43866
43867 [BZ #13658]
0671f479 43868 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43869 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43870 * sysdeps/i386/fpu/branred.c: Likewise.
43871 * sysdeps/i386/fpu/dosincos.c: Likewise.
43872 * sysdeps/i386/fpu/mpa.c: Likewise.
43873 * sysdeps/i386/fpu/s_cos.S: Likewise.
43874 * sysdeps/i386/fpu/s_sin.S: Likewise.
43875 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43876 * sysdeps/i386/fpu/sincos32.c: Likewise.
43877
43878 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43879 Define.
43880 (libc_feupdateenv_53bit): Define.
43881 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43882 Define.
43883 (libc_feupdateenv_53bit): Define.
43884
43885 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43886 53 bit (without extend i386 double precision).
43887
43888 * math/libm-test.inc (sincos_test): Add tests for large input.
43889 (sin): Likewise.
43890 (cos): Likewise.
43891
43892 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43893
9cad04ea
AS
438942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43895
43896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43897
f7062b9a
DM
438982012-03-15 David S. Miller <davem@davemloft.net>
43899
43900 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43901 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43902 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43903 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43916 file.
f7062b9a 43917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43919 file.
f7062b9a 43920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43922 file.
f7062b9a 43923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43925 file.
f7062b9a
DM
43926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43928 fmin/fmax sysdep routines.
43929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43930
7bd951ff
DM
439312012-03-14 David S. Miller <davem@davemloft.net>
43932
559398ab
DM
43933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43962 routines.
43963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43964 file.
559398ab 43965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43967 file.
559398ab 43968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
43969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43970 file.
559398ab 43971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
43972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43973 file.
559398ab 43974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
43975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43976 file.
559398ab 43977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
43978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43979 file.
43980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43981 file.
43982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43983 file.
43984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43985 file.
43986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43987 New file.
43988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43989 file.
43990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43991 file.
559398ab 43992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
43993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43994 file.
559398ab 43995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43997 file.
559398ab 43998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
43999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44000 file.
559398ab 44001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
44002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44003 VIS3 routines.
559398ab
DM
44004
44005 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44006 New file.
44007
5a1c1e32
DM
44008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44009
eae47a36
DM
44010 * sysdeps/sparc/configure.in: New file.
44011 * sysdeps/sparc/configure: Generate.
44012 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44013 * configure: Regenerate.
44014 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44015 * config.make.in (have-as-vis3): New.
44016 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44017 available use -Av9d instead of -Av9a.
44018 * sysdeps/sparc/sparc64/Makefile: Likewise.
44019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
44020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44021 New file.
44022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44023 file.
44024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44025 New file.
44026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44027 file.
eae47a36
DM
44028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44033
c0c83bc8
DM
44034 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44035 fzeros/fnegs to load 0x80000000 into a float register instead of
44036 using the stack.
7bd951ff
DM
44037 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44038
bd951ccb
JM
440392012-03-14 Joseph Myers <joseph@codesourcery.com>
44040
44041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44042 bits/syscall.h.
44043 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44044 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44045 ($(inst_includedir)/bits/syscall.h): Remove rule.
44046 ($(objpfx)bits/syscall.d): Include instead of
44047 $(objpfx)syscall-list.d.
44048 (generated): Change syscall-list.h and syscall-list.d to
44049 bits/syscall.h and bits/syscall.d.
44050
bb4e6db2
RM
440512012-03-14 Roland McGrath <roland@hack.frob.com>
44052
44053 [BZ #13846]
44054 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44055
aa4a2ae1
JM
440562012-03-14 Joseph Myers <joseph@codesourcery.com>
44057
e456826d
JM
44058 [BZ #13841]
44059 * math/s_csqrt.c: Include <float.h>.
44060 (__csqrt): Scale large or subnormal inputs.
44061 * math/s_csqrtf.c: Likewise.
44062 * math/s_csqrtl.c: Likewise.
44063 * math/libm-test.inc (csqrt_test): Add more tests.
44064 * sysdeps/i386/fpu/libm-test-ulps: Update.
44065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44066
aa4a2ae1
JM
44067 [BZ #13840]
44068 * math/libm-test.inc (hypot_test): Add more tests.
44069
7c10fd35
DM
440702012-03-13 David S. Miller <davem@davemloft.net>
44071
44072 [BZ #13840]
44073 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44074 double-precision for the calculation instead of scaling.
44075
f453b98b
JM
440762012-03-13 Joseph Myers <joseph@codesourcery.com>
44077
44078 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44079 manipulate bits before adding and subtracting TWO52[sx].
44080 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44082 Likewise.
44083 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44084
09a3453f
DM
440852012-03-13 David S. Miller <davem@davemloft.net>
44086
8e59da90
DM
44087 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44088 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44090 rtld-global-offsets.h
44091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44092
2a8ab7f2
DM
44093 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44094 large parameters.
44095
10f62770
DM
44096 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44097
5f0bdb18
DM
44098 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44099 'err' in the ifdef scope in which it is actually used.
44100
09a3453f
DM
44101 * nss/nss_db/db-init.c: Include string.h
44102
b4b2eb5e
DM
441032012-03-12 David S. Miller <davem@davemloft.net>
44104
98bb2f1c
DM
44105 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44106 masking out of the most significant byte of random value used.
44107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44108 Fix coding style in previous change.
44109
b4b2eb5e
DM
44110 * sysdeps/unix/sysv/linux/kernel-features.h
44111 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44112 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44113 expression.
44114 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44115 later.
44116
6e226b09
DM
441172012-03-11 David S. Miller <davem@davemloft.net>
44118
a1bcbd40
DM
44119 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44120 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44122 for 'resultvar' otherwise things get truncated on 64-bit.
44123
cb9d6174
DM
44124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44125 Fix masking out of the most significant byte of random value used.
44126
6e226b09
DM
44127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44128
058c132d
AS
441292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44130
44131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44132
2d2cd515
DM
441332012-03-09 David S. Miller <davem@davemloft.net>
44134
44135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44136 variables with appropriate CPP guards.
57f41c40
AS
44137 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44138 from the frame pointer, not the stack pointer. Correct layout
44139 comments. Fix test on resulting framesize and the management of
44140 the outregs buffer for pltexit. Preserve floating point return
44141 values across _dl_call_pltexit call.
2d2cd515
DM
44142 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44143 framesize and the management of the outregs buffer for pltexit.
44144 Preserve floating point return values across _dl_call_pltexit
44145 call.
57f41c40
AS
44146 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44147 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44148 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
44149 (print_exit): Fix format string for return register value.
44150
9a07f9d0
JM
441512012-03-10 Joseph Myers <joseph@codesourcery.com>
44152
44153 * sunrpc/Makefile (others): Add rpcgen.
44154 ($(objpfx)rpcgen): Remove special build rule and dependency on
44155 libc.
44156 * sunrpc/rpcgen.c: New file.
44157
547b5e30
PE
441582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44159
c524201a
PE
44160 [BZ #13673]
44161 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44162 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44163 * sysdeps/i386/crti.S: Likewise.
44164 * sysdeps/i386/crtn.S: Likewise.
44165 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44166 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44167 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44168 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44169 * sysdeps/sh/crti.S: Likewise.
44170 * sysdeps/sh/crtn.S: Likewise.
44171 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44172
7b6235f2
PE
44173 [BZ #13673]
44174 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44175 with URL.
44176 * locale/programs/locfile-kw.gperf: Likewise.
44177 * locale/programs/charmap-kw.h: Regenerated.
44178 * locale/programs/locfile-kw.h: Likewise.
44179
547b5e30
PE
44180 [BZ #13673]
44181 * intl/plural.y: Replace FSF snail mail address with URL.
44182 * intl/plural.c: Regenerated.
44183
5f0a5dae
RH
441842012-03-09 Richard Henderson <rth@twiddle.net>
44185
44186 * include/math_private.h: Remove file.
44187 * math/math_private.h: Move file ...
44188 * sysdeps/generic/math_private.h: ... here.
44189
b8c03620
RH
44190 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44191 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44192 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44193
4e234f5d 44194 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
44195 and <math_private.h>.
44196 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44197 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44198 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44199 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44200 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44201 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44204 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44205 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44207 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44208 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44210 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44211 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44212 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44213 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44214 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44215 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44217 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44218 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44220 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44221 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44222 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44226 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44228 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44229 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44231 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44233 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44234 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44235 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44236 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44237 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44238 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44239 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44241 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44242 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44243 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44244 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44245 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44246 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44247 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44248 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44249 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44250 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44251 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44252 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44253 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44254 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44255 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44257 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44260 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44261 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44262 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44264 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44265 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44266 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44267 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44270 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44276 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44277 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44278 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44283 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44284 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44285 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44286 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44287 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44288 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44289 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44290 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44291 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44292 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44293 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44294 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44295 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44296 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44297 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44298 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44299 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44300 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44301 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44302 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44303 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44308 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44309 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44310 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44311 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44312 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44313 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44314 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44315 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44316 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44317 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44319 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44320 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44321 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44322 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44323 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44324 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44325 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44326 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44327 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44328 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44329 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44330 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44331 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44332 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44333 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44334 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44335 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44336 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44337 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44338 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44339 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44340 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44341 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44342 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44343 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44344 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44345 * sysdeps/ieee754/k_standard.c: Likewise.
44346 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44354 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44355 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44357 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44358 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44359 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44360 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44361 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44362 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44363 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44364 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44365 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44366 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44367 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44368 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44369 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44370 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44371 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44372 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44373 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44374 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44375 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44376 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44377 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44378 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44379 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44380 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44381 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44382 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44383 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44384 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44385 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44386 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44387 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44389 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44390 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44391 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44394 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44395 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44396 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44397 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44398 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44399 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44402 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44403 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44404 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44405 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44406 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44407 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44408 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44412 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44413 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44414 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44418 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44419 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44422 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44423 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44424 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44425 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44426 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44427 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44428 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44429 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44430 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44431 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44432 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44433 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44434 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44435 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44436 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44437 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44438 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44439 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44440 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44441 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44442 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44443 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44444 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44445 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44447 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44448 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44449 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44450 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44453 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44454 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44455 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44456 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44457 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44458 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44459 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44460 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44461 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44462 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44465 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44468 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44469 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44471 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44472 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44473 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44474 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44476 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44477 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44478 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44479 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44480 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44481 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44493 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44494 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44495 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44496 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44503 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44506 * sysdeps/ieee754/s_lib_version.c: Likewise.
44507 * sysdeps/ieee754/s_matherr.c: Likewise.
44508 * sysdeps/ieee754/s_signgam.c: Likewise.
44509 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44510 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44512 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44513 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44514 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44515 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44516 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44517 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44518 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44519 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44520 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44521 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44522 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44523 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44524 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44525 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44526 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44527 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44530
1991fa03
JM
445312012-03-09 Joseph Myers <joseph@codesourcery.com>
44532
44533 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44534 * sunrpc/rpc_main.c: Likewise.
44535 * sunrpc/rpc_svcout.c: Likewise.
44536
60d6f5a6
DM
445372012-03-09 David S. Miller <davem@davemloft.net>
44538
44539 * include/math_private.h: New file.
44540
4962050e
JM
445412012-03-09 Joseph Myers <joseph@codesourcery.com>
44542
02a6f887
JM
44543 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44544 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44545 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44546 from <bits/socket_type.h>.
44547 (enum __socket_type): Don't define here.
44548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44550 bits/socket_type.h.
44551
c6e013c1
JM
44552 [BZ #13566]
44553 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44554 checking __USE_GNU.
44555
4962050e
JM
44556 * Makerules ($(inst_includedir)/%.h): New rule.
44557 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44558 (install-others): Remove variable setting.
44559 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44560
38842f45
RH
445612012-03-08 Richard Henderson <rth@twiddle.net>
44562
67bb6da6
RH
44563 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44564 from macro to inline function; merge with the
44565 !__LIBC_INTERNAL_MATH_INLINES version.
44566 (__ieee754_sqrtf): Likewise.
44567
15194b4b
RH
44568 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44569 to inline function.
44570 (__rintf, __floor, __floorf): Likewise.
44571
64e21ede
RH
44572 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44573 macro to inline function.
44574 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44575
38842f45
RH
44576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44577 not <math/math_private.h>.
44578
c64bf5fe
DM
445792012-03-08 David S. Miller <davem@davemloft.net>
44580
44581 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44582 copyright year.
44583 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44584
82d86f28
TS
445852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44586
44587 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44588 normalization.
44589 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44590 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44591
aea5d727
UD
445922012-03-08 Ulrich Drepper <drepper@gmail.com>
44593
44594 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44595 be defined individually, they must be defined as a block. Define
44596 S for printing a string instead of hidint the different by using a
44597 macro for adding the 'l'.
44598 * stdio-common/tst-fphex-wide.c: Adjust.
44599
70bca0a3
MP
446002012-03-07 Marek Polacek <polacek@redhat.com>
44601
44602 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44603
65b81130
MP
446042012-03-08 Marek Polacek <polacek@redhat.com>
44605
44606 [BZ #13806]
44607 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44608 * stdio-common/tst-fphex.c: Define a few macros to make the
44609 test reusable. Use them.
44610 * stdio-common/tst-fphex-wide.c: New file.
44611
07037eeb
JM
446122012-03-08 Joseph Myers <joseph@codesourcery.com>
44613
a7a93d50
JM
44614 [BZ #6911]
44615 * manual/macros.texi (gnusystems): New macro.
44616 (nongnusystems): Likewise.
44617 (gnulinuxhurdsystems): Likewise.
44618 (gnuhurdsystems): Likewise..
44619 (gnulinuxsystems): Likewise.
44620 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44621 variants of the GNU system, not "GNU system".
44622 * manual/conf.texi: Likewise.
44623 * manual/errno.texi: Likewise. Update example of errno macro
44624 expansion.
44625 * manual/filesys.texi: Likewise.
44626 (getumask): Document as specific to GNU/Hurd.
44627 * manual/install.texi: Likewise. Reword some references to
44628 GNU/Linux.
44629 * manual/intro.texi: Likewise.
44630 * manual/io.texi: Likewise.
44631 (File Name Portability): Detail which constraints are inapplicable
44632 to all GNU systems and which are only inapplicable to GNU/Hurd.
44633 * manual/job.texi: Likewise.
44634 * manual/llio.texi: Likewise.
44635 (O_NOCTTY): Document as present on GNU/Linux.
44636 * manual/maint.texi: Likewise.
44637 * manual/memory.texi: Likewise.
44638 * manual/pattern.texi: Likewise.
44639 * manual/pipe.texi: Likewise.
44640 * manual/process.texi: Likewise.
44641 * manual/resource.texi: Likewise.
44642 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44643 child on GNU/Hurd.
44644 * manual/setjmp.texi: Likewise.
44645 * manual/signal.texi: Likewise.
44646 * manual/startup.texi: Likewise.
44647 * manual/stdio.texi: Likewise.
44648 * manual/terminal.texi: Likewise.
44649 (ONLCR): Document as POSIX.
44650 (OXTABS): Document availability on GNU/Linux as XTABS.
44651 (ONOEOT): Document availability separately from other bits.
44652 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44653 * manual/time.texi: Likewise.
44654 * manual/users.texi: Likewise.
44655 * INSTALL: Regenerated.
44656 * sysdeps/gnu/errlist.c: Regenerated.
44657
07037eeb
JM
44658 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44659 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44660 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44661 puts.
44662 * configure: Regenerated.
44663
d1d3431a
JM
446642012-03-07 Joseph Myers <joseph@codesourcery.com>
44665
af6a1e37
JM
44666 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44667 default includes instead of AC_HEADER_CHECK.
44668 * sysdeps/i386/configure: Regenerated.
44669
d1d3431a
JM
44670 [BZ #10716]
44671 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44672 * math/s_cacoshf.c (__cacoshf): Likewise.
44673 * math/s_cacoshl.c (__cacoshl): Likewise.
44674 * math/s_casinh.c (__casinh): Set signs of result from argument.
44675 * math/s_casinhf.c (__casinhf): Likewise.
44676 * math/s_casinhl.c (__casinhl): Likewise.
44677 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44678 (casinh_test): Add more tests.
44679 * sysdeps/i386/fpu/libm-test-ulps: Update.
44680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44681
482ff4da
UD
446822012-03-07 Ulrich Drepper <drepper@gmail.com>
44683
872fda05
UD
44684 * po/zh_TW.po: Update from translation team.
44685
a4300c7a
UD
44686 * login/Makefile (distribute): Remove variable.
44687 * catgets/Makefile: Likewise.
44688 * mach/Makefile: Likewise.
44689 * malloc/Makefile: Likewise.
44690 * misc/Makefile: Likewise.
44691 * iconv/Makefile: Likewise.
44692 * nscd/Makefile: Likewise.
44693 * hurd/Makefile: Likewise.
44694 * manual/Makefile: Likewise.
44695 * locale/Makefile: Likewise.
44696 * intl/Makefile: Likewise.
44697 * conform/Makefile: Likewise.
44698 * nss/Makefile: Likewise.
44699 * time/Makefile: Likewise.
44700 * soft-fp/Makefile: Likewise.
44701 * dirent/Makefile: Likewise.
44702 * gmon/Makefile: Likewise.
44703 * po/Makefile: Likewise.
44704 * rt/Makefile: Likewise.
44705 * socket/Makefile: Likewise.
44706 * math/Makefile: Likewise.
44707 * signal/Makefile: Likewise.
44708 * debug/Makefile: Likewise.
44709 * elf/Makefile: Likewise.
44710 * timezone/Makefile: Likewise.
44711 * stdlib/Makefile: Likewise.
44712 * iconvdata/Makefile: Likewise.
44713 * sunrpc/Makefile: Likewise.
44714 * io/Makefile: Likewise.
44715 * argp/Makefile: Likewise.
44716 * inet/Makefile: Likewise.
44717 * hesiod/Makefile: Likewise.
44718 * grp/Makefile: Likewise.
44719 * csu/Makefile: Likewise.
44720 * wctype/Makefile: Likewise.
44721 * crypt/Makefile: Likewise.
44722 * libio/Makefile: Likewise.
44723 * string/Makefile: Likewise.
44724 * nis/Makefile: Likewise.
44725 * resolv/Makefile: Likewise.
44726 * stdio-common/Makefile: Likewise.
44727 * wcsmbs/Makefile: Likewise.
44728 * dlfcn/Makefile: Likewise.
44729 * posix/Makefile: Likewise.
44730
3b7c4e74 44731 [BZ #6959]
482ff4da
UD
44732 * timezone/Makefile: Don't install timezone files, just the programs
44733 and scripts.
44734
f72ed77d
UD
447352012-03-06 Ulrich Drepper <drepper@gmail.com>
44736
a000466f
UD
44737 * nss/databases.def: Add missing gshadow entry.
44738
f72ed77d
UD
44739 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44740
a53b7a4e
MP
447412012-03-06 Marek Polacek <polacek@redhat.com>
44742
44743 [BZ #13726]
44744 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44745 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44746 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44747 * stdio-common/tst-long-dbl-fphex.c: New file.
44748
e9258400
DM
447492012-03-06 David S. Miller <davem@davemloft.net>
44750
44751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44752 (set_obp_int): New function.
44753 (get_obp_int): New function.
44754 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44756 Avoid unused variable warnings on 'val' and use builtin_expect.
44757 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44758 __builtin_expect.
e9258400
DM
44759 (INLINE_CLONE_SYSCALL): Likewise.
44760
3bd2c723
DM
447612012-03-05 David S. Miller <davem@davemloft.net>
44762
44763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44764
bbb78d03
AS
447652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44766
884c5db4
AS
44767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44768
bbb78d03
AS
44769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44770 only for |x| >= 40.
44771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44772
1c9f702a 447732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44774
44775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44776 Replace gettimeofday with __vdso_gettimeofday.
44777
7be16f82
RM
44778 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44779 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44780 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44781
44782 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44783 time with __vdso_time.
44784
ed58a00f
JM
447852012-03-05 Joseph Myers <joseph@codesourcery.com>
44786
44787 * manual/lang.texi (size_t): Note types to which size_t may be
44788 equivalent with the GNU C Library, but do not describe when
44789 differences between them are significant.
44790
30ee4ced
AJ
447912012-03-05 Andreas Jaeger <aj@suse.de>
44792
44793 * sysdeps/i386/fpu/libm-test-ulps: Update.
44794
b7cd39e8
JM
447952012-03-05 Joseph Myers <joseph@codesourcery.com>
44796
44797 [BZ #3976]
44798 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44799 (__ieee754_pow): Save and restore rounding mode and use
44800 round-to-nearest for main computations.
44801 * math/libm-test.inc (pow_test_tonearest): New function.
44802 (pow_test_towardzero): Likewise.
44803 (pow_test_downward): Likewise.
44804 (pow_test_upward): Likewise.
44805 (main): Call the new functions.
44806 * sysdeps/i386/fpu/libm-test-ulps: Update.
44807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44808
44809 [BZ #3976]
44810 * math/libm-test.inc (cosh_test_tonearest): New function.
44811 (cosh_test_towardzero): Likewise.
44812 (cosh_test_downward): Likewise.
44813 (cosh_test_upward): Likewise.
44814 (sinh_test_tonearest): Likewise.
44815 (sinh_test_towardzero): Likewise.
44816 (sinh_test_downward): Likewise.
44817 (sinh_test_upward): Likewise.
44818 (main): Call the new functions.
44819 * sysdeps/i386/fpu/libm-test-ulps: Update.
44820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44821
6c6a98c9
TV
448222012-03-05 Tom de Vries <tom@codesourcery.com>
44823
44824 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44825 default stack guard is set in last bytes.
44826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44827
21bb2d2e 448282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44829
21bb2d2e 44830 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44831
21bb2d2e
AJ
44832 [BZ #13656]
44833 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44834 possibly allocate from heap instead of stack.
44835 * stdio-common/bug-vfprintf-nargs.c: New file.
44836 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44837
c6922934
AS
448382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44839
44840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44841
bc957d53
MP
448422012-03-03 Marek Polacek <polacek@redhat.com>
44843
44844 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44845 * math/math_private.h: Likewise.
44846 * stdlib/tst-strtod.c: Likewise.
44847 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44848 * sysdeps/x86_64/bits/atomic.h: Likewise.
44849
6358490d
DM
448502012-03-02 David S. Miller <davem@davemloft.net>
44851
44852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44856 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44857 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44858 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44859 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44860
01ae168d
RM
448612012-03-02 Roland McGrath <roland@hack.frob.com>
44862
d9a17c07
RM
44863 [BZ #13792]
44864 * manual/examples/README: New file, says the example source files
44865 can be used under GPL>=2.
44866 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44867 line containing just "*/".
44868 * manual/examples/add.c: Add copyright header (GPL>=2).
44869 * manual/examples/argp-ex1.c: Likewise.
44870 * manual/examples/argp-ex2.c: Likewise.
44871 * manual/examples/argp-ex3.c: Likewise.
44872 * manual/examples/argp-ex4.c: Likewise.
44873 * manual/examples/atexit.c: Likewise.
44874 * manual/examples/db.c: Likewise.
44875 * manual/examples/dir.c: Likewise.
44876 * manual/examples/dir2.c: Likewise.
44877 * manual/examples/execinfo.c: Likewise.
44878 * manual/examples/filecli.c: Likewise.
44879 * manual/examples/filesrv.c: Likewise.
44880 * manual/examples/fmtmsgexpl.c: Likewise.
44881 * manual/examples/genpass.c: Likewise.
44882 * manual/examples/inetcli.c: Likewise.
44883 * manual/examples/inetsrv.c: Likewise.
44884 * manual/examples/isockad.c: Likewise.
44885 * manual/examples/longopt.c: Likewise.
44886 * manual/examples/memopen.c: Likewise.
44887 * manual/examples/memstrm.c: Likewise.
44888 * manual/examples/mkfsock.c: Likewise.
44889 * manual/examples/mkisock.c: Likewise.
44890 * manual/examples/mygetpass.c: Likewise.
44891 * manual/examples/pipe.c: Likewise.
44892 * manual/examples/popen.c: Likewise.
44893 * manual/examples/rprintf.c: Likewise.
44894 * manual/examples/search.c: Likewise.
44895 * manual/examples/select.c: Likewise.
44896 * manual/examples/setjmp.c: Likewise.
44897 * manual/examples/sigh1.c: Likewise.
44898 * manual/examples/sigusr.c: Likewise.
44899 * manual/examples/stpcpy.c: Likewise.
44900 * manual/examples/strdupa.c: Likewise.
44901 * manual/examples/strftim.c: Likewise.
44902 * manual/examples/strncat.c: Likewise.
44903 * manual/examples/subopt.c: Likewise.
44904 * manual/examples/swapcontext.c: Likewise.
44905 * manual/examples/termios.c: Likewise.
44906 * manual/examples/testopt.c: Likewise.
44907 * manual/examples/testpass.c: Likewise.
44908 * manual/examples/timeval_subtract.c: Likewise.
44909
01ae168d
RM
44910 [BZ #13792]
44911 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44912 function to ...
44913 * manual/timeval_subtract.c.texi: ... here, new file.
44914
49efa33d
DM
449152012-03-02 David S. Miller <davem@davemloft.net>
44916
44917 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44918
28afd92d
JM
449192012-03-02 Joseph Myers <joseph@codesourcery.com>
44920
804360ed
JM
44921 [BZ #3976]
44922 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44923 (__sin): Save and restore rounding mode and use round-to-nearest
44924 for all computations.
44925 (__cos): Save and restore rounding mode and use round-to-nearest
44926 for all computations.
44927 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44928 <fenv.h>.
44929 (tan): Save and restore rounding mode and use round-to-nearest for
44930 all computations.
44931 * math/libm-test.inc (cos_test_tonearest): New function.
44932 (cos_test_towardzero): Likewise.
44933 (cos_test_downward): Likewise.
44934 (cos_test_upward): Likewise.
44935 (sin_test_tonearest): Likewise.
44936 (sin_test_towardzero): Likewise.
44937 (sin_test_downward): Likewise.
44938 (sin_test_upward): Likewise.
44939 (tan_test_tonearest): Likewise.
44940 (tan_test_towardzero): Likewise.
44941 (tan_test_downward): Likewise.
44942 (tan_test_upward): Likewise.
44943 (main): Call the new functions.
44944 * sysdeps/i386/fpu/libm-test-ulps: Update.
44945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44946
a6d06d7b
JM
44947 [BZ #10135]
44948 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44949 small n, then large n, before computing and testing k+n.
44950 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44952 Likewise.
44953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44954 Likewise.
44955 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44956 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44957 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44958 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44959 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44960 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44961 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44963 * math/libm-test.inc (scalbn_test): Add more tests.
44964 (scalbln_test): Likewise.
44965
07e12bb3
JM
44966 * manual/filesys.texi (mode_t): Describe constraints on size and
44967 signedness, not exact equivalence to a particular type.
44968 (ino_t): Likewise.
44969 (ino64_t): Likewise.
44970 (dev_t): Likewise.
44971 (nlink_t): Likewise.
44972 (blkcnt_t): Likewise.
44973 (blkcnt64_t): Likewise.
44974 * manual/llio.texi (off_t): Likewise.
44975
28afd92d
JM
44976 [BZ #3976]
44977 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44978 (__ieee754_exp): Save and restore rounding mode and use
44979 round-to-nearest for all computations.
44980 * math/libm-test.inc (exp_test_tonearest): New function.
44981 (exp_test_towardzero): Likewise.
44982 (exp_test_downward): Likewise.
44983 (exp_test_upward): Likewise.
44984 (main): Call the new functions.
44985 * sysdeps/i386/fpu/libm-test-ulps: Update.
44986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44987
b1eeb65d
CD
449882012-03-01 Chris Demetriou <cgd@google.com>
44989
44990 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44991 have predictable order.
44992
53362a4b
DM
449932012-03-01 David S. Miller <davem@davemloft.net>
44994
3c969083
DM
44995 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44996
759707de
DM
44997 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44998 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44999 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45000 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45001
dfdb8ff2
DM
45002 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45003 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45004 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45006 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45007 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45008 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45009 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45010 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45011
ead89f96
DM
45012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45013
7f66bd07
DM
45014 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45015 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45016 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45017
53362a4b
DM
45018 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45019 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45020 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45021 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45022 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45023 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45024 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45025 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45026 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45027 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45028 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45029 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45031 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45032 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45034 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45035 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45036 * sysdeps/sparc/elf/configure: Regenerated.
45037
7b1902cb
JM
450382012-03-01 Joseph Myers <joseph@codesourcery.com>
45039
bec039bc
JM
45040 * configure.in (AS, LD): Require binutils 2.20 or later.
45041 * configure: Regenerated.
45042 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45043 as required minimum version.
45044 * INSTALL: Regenerated.
45045
7b1902cb
JM
45046 [BZ #2541]
45047 [BZ #4108]
45048 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45049 before squaring exponent.
45050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45051 bottom long double and 27 bits of top long double before squaring
45052 exponent.
45053 * math/libm-test.inc (erfc_test): Add more tests.
45054 * sysdeps/i386/fpu/libm-test-ulps: Update.
45055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45057
f775c276
KT
450582012-03-01 Kai Tietz <ktietz@redhat.com>
45059
45060 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45061 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45062 containing bit-fields.
45063 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45064 * soft-fp/single.h (_FP_UNION_S): Likewise.
45065 * soft-fp/double.h (_FP_UNION_D): Likewise.
45066
5b8a4d4a
JM
450672012-02-29 Joseph Myers <joseph@codesourcery.com>
45068
0bab47b6
JM
45069 [BZ #13786]
45070 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45071 not include ../strcmp.S.
45072 [USE_AS_STRNCASECMP_L]: Likewise.
45073 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45074 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45075 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45076 (__strncasecmp_l_ia32): Define as alias to
45077 __strncasecmp_l_nonascii.
45078
0fcad3e2
JM
45079 [BZ #5794]
45080 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45081 * sysdeps/i386/fpu/libm-test-ulps: Update.
45082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45083
5b8a4d4a
JM
45084 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45086
8fdceb2e
JL
450872012-02-29 Jeff Law <law@redhat.com>
45088
45089 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45090 out of bounds read.
45091
1f393a11
MP
450922012-02-29 Marek Polacek <polacek@redhat.com>
45093
45094 [BZ #13706]
45095 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45096 * elf/Makefile: Add rules to run tst-unused-dep.out.
45097
8847f037
DM
450982012-02-28 David S. Miller <davem@davemloft.net>
45099
45100 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45101 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45104 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45105 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45106
169d7f11
JM
451072012-02-29 Joseph Myers <joseph@codesourcery.com>
45108
45109 * math/libm-test.inc (llround_test): Move one test from
45110 lround_test. Use TEST_f_L in moved test.
45111 (lround_test): Move misplaced test to llround_test. Add testcase
45112 from bug 2561.
45113
39adf059
UD
451142012-02-28 Ulrich Drepper <drepper@gmail.com>
45115
45116 * sysdeps/x86_64/fpu/e_expf.S: New file.
45117 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45118
71b5d1c5
SB
451192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45120
45121 [BZ #13637]
45122 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45123 of remain_len that may cause incomplete multi-byte character and
45124 false match.
45125 * posix/bug-regex33.c: New file.
45126 * posix/Makefile (tests): Add bug-regex33.
45127
1f77f049
JM
451282012-02-28 Joseph Myers <joseph@codesourcery.com>
45129
45130 * manual/macros.texi: New file.
45131 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45132 * manual/libc.texinfo: Include macros.texi.
45133 * manual/creatute.texi: Likewise.
45134 * manual/install.texi: Likewise.
45135 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45136 @glibcadj{} in references to the GNU C Library.
45137 * manual/charset.texi: Likewise.
45138 * manual/conf.texi: Likewise.
45139 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45140 when not using those macros.
45141 * manual/creature.texi: Likewise.
45142 * manual/crypt.texi: Likewise.
45143 * manual/errno.texi: Likewise.
45144 * manual/filesys.texi: Likewise.
45145 * manual/header.texi: Likewise.
45146 * manual/install.texi: Likewise.
45147 * manual/intro.texi: Likewise.
45148 * manual/io.texi: Likewise.
45149 * manual/job.texi: Likewise.
45150 * manual/lang.texi: Likewise.
45151 * manual/libc.texiinfo: Likewise.
45152 * manual/llio.texi: Likewise.
45153 * manual/locale.texi: Likewise.
45154 * manual/maint.texi: Likewise.
45155 * manual/math.texi: Likewise.
45156 * manual/memory.texi: Likewise.
45157 * manual/message.texi: Likewise.
45158 * manual/nss.texi: Likewise.
45159 * manual/pattern.texi: Likewise.
45160 * manual/process.texi: Likewise.
45161 * manual/resource.texi: Likewise.
45162 * manual/search.texi: Likewise.
45163 * manual/setjmp.texi: Likewise.
45164 * manual/signal.texi: Likewise.
45165 * manual/socket.texi: Likewise.
45166 * manual/startup.texi: Likewise.
45167 * manual/stdio.texi: Likewise.
45168 * manual/string.texi: Likewise.
45169 * manual/sysinfo.texi: Likewise.
45170 * manual/syslog.texi: Likewise.
45171 * manual/terminal.texi: Likewise.
45172 * manual/time.texi: Likewise.
45173 * manual/users.texi: Likewise.
45174 * INSTALL: Regenerated.
45175 * NOTES: Regenerated.
d40c5d54 45176 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 45177
450bf206
AS
451782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45179
45180 * include/dirent.h: Include <dirstream.h> before
45181 <dirent/dirent.h>.
45182
741a235b
DM
451832012-02-28 David S. Miller <davem@davemloft.net>
45184
45185 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45186 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45187 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45188 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45189
d6b5aa58
DM
451902012-02-27 David S. Miller <davem@davemloft.net>
45191
1aff59a3
DM
45192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45194 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45195 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45196
d6b5aa58
DM
45197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45198 frame pointer instead of stack pointer relative arg slot.
45199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45200 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45201 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45202
433f48bf
CD
452032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45204
45205 [BZ #3992]
45206 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45207
d674b76d
DM
452082012-02-27 David S. Miller <davem@davemloft.net>
45209
45210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45214 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45215 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45216 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45217 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45218
0e7727f7
JM
452192012-02-27 Joseph Myers <joseph@codesourcery.com>
45220
45221 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45222 later. Allow versions 5-9.
43be4ca2 45223 * configure: Regenerated.
0e7727f7
JM
45224 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45225 required minimum version and 4.6 as recommended version. Do not
45226 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45227 * INSTALL: Regenerated.
0e7727f7 45228
a78bc654
DM
452292012-02-27 David S. Miller <davem@davemloft.net>
45230
428d5830
DM
45231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45235 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45236 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45237 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45238 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45239
a78bc654
DM
45240 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45241 manipulate bits before adding and subtracting TWO112[sx].
45242 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45243
4579f81c
RM
452442012-02-27 Roland McGrath <roland@hack.frob.com>
45245
36c8acb4
RM
45246 [BZ #13775]
45247 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45248 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45249 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45250 being in POSIX, because they are in 1003.1-2008.
45251
84ad622b
RM
45252 * rt/tst-aio.c: Include <fcntl.h>.
45253 * rt/tst-aio7.c: Likewise.
45254 * rt/tst-aio64.c: Likewise.
45255
4579f81c
RM
45256 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45257
abd923db
JM
452582012-02-27 Joseph Myers <joseph@codesourcery.com>
45259
45260 * manual/install.texi (--with-headers): Describe headers as
45261 interface headers, not private headers.
45262 (Specific advice for GNU/Linux systems): Describe use of headers
45263 from "make headers_install", not private headers from older
45264 kernels.
43be4ca2 45265 * INSTALL: Regenerated.
abd923db
JM
45266 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45267 Change to 2.6.19.
45268 * sysdeps/unix/sysv/linux/configure: Regenerated.
45269
6664049b
JM
45270 * manual/llio.texi (fclean): Remove documentation.
45271
bb8b6697
JM
45272 * manual/Makefile (libc-texi-generated): New variable. Include
45273 version.texi.
45274 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45275 $(libc-texi-generated), not duplicated list of files.
45276 (version.texi, stamp-version): New rules.
45277 (realclean): Remove $(libc-texi-generated), not individual files
45278 from that list. Do not remove dir-add.texinfo.
45279 * manual/libc.texinfo: Comment out uses of edition numbers and
45280 references to printed manual. Remove last-updated dates.
45281 (EDITION): Comment out.
45282 (ISBN): Likewise.
45283 (VERSION, UPDATED): Remove.
45284 (version.texi): Include.
45285
12e5c3b9
AS
452862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45287
45288 * sysdeps/posix/spawni.c: Include <signal.h>.
45289 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45290 * sysdeps/pthread/aio_fsync.c: Likewise.
45291
4efeffc1 452922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45293
ba63ba08
UD
45294 * conform/Makefile (tests): Run only when not cross-compiling and
45295 when fast-check is not defined.
45296
d94a4670
UD
45297 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45298 * conform/data/limits.h-data: Fixes for POSIX2008.
45299 * conform/run-conformtest.sh: Run all tests.
45300 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45301 headers.
45302 * include/bits/dlfcn.h: Likewise.
45303 * include/langinfo.h: Likewise.
45304 * include/monetary.h: Likewise.
45305 * include/sys/poll.h: Likewise.
45306
45307 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45308 for __USE_GNU.
45309 * posix/spawn.h: Define __need_sigset_t.
45310 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45311 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45312 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45313 to get sigevent_t only.
45314 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45315 only for __USE_GNU.
45316 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45317 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45318 process_vm_writev only for __USE_GNU.
45319 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45320
45321 * conform/Makefile: For now ignore errors from run-conformtest.
45322 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45323 POSIX to avoid namespace pollution. Don't prepend headers.
45324 * conform/data/aio.h-data: Fixes for POSIX testing.
45325 * conform/data/fcntl.h-data: Likewise.
45326 * conform/data/glob.h-data: Likewise.
45327 * conform/data/grp.h-data: Likewise.
45328 * conform/data/pthread.h-data: Likewise.
45329 * conform/data/pwd.h-data: Likewise.
45330 * conform/data/signal.h-data: Likewise.
45331 * conform/data/spawn.h-data: Likewise.
45332 * conform/data/stdio.h-data: Likewise.
45333 * conform/data/stdlib.h-data: Likewise.
45334 * conform/data/stropts.h-data: Likewise.
45335 * conform/data/sys/mman.h-data: Likewise.
45336 * conform/data/sys/stat.h-data: Likewise.
45337 * conform/data/sys/types.h-data: Likewise.
45338 * conform/data/sys/wait.h-data: Likewise.
45339 * conform/data/time.h-data: Likewise.
45340 * conform/data/unistd.h-data: Likewise.
45341 * conform/data/utime.h-data: Likewise.
45342
45343 * io/sys/stat.h: fchmod was always in POSIX.
45344 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45345 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45346 * rt/aio.h: Define __need_timespec before including <time.h>.
45347 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45348 struct. Add forward declaration of pthread_attr_t and use it in
45349 sigevent.
45350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45352 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45353 always remove CLK_TCK definition.
45354
c20105c3
AS
453552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45356
45357 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45358
7a270350
UD
453592012-02-25 Ulrich Drepper <drepper@gmail.com>
45360
31341567
UD
45361 * conform/run-conformtest.sh: New file.
45362 * conform/Makefile: Run run-conformtest for tests.
45363 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45364 support.
45365
45366 * conform/data/uchar.h-data: New file.
45367 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45368 * conform/data/arpa/inet.h-data: Likewise.
45369 * conform/data/assert.h-data: Likewise.
45370 * conform/data/complex.h-data: Likewise.
45371 * conform/data/cpio.h-data: Likewise.
45372 * conform/data/ctype.h-data: Likewise.
45373 * conform/data/dirent.h-data: Likewise.
45374 * conform/data/dlfcn.h-data: Likewise.
45375 * conform/data/errno.h-data: Likewise.
45376 * conform/data/fcntl.h-data: Likewise.
45377 * conform/data/float.h-data: Likewise.
45378 * conform/data/fmtmsg.h-data: Likewise.
45379 * conform/data/fnmatch.h-data: Likewise.
45380 * conform/data/ftw.h-data: Likewise.
45381 * conform/data/glob.h-data: Likewise.
45382 * conform/data/grp.h-data: Likewise.
45383 * conform/data/iconv.h-data: Likewise.
45384 * conform/data/inttypes.h-data: Likewise.
45385 * conform/data/langinfo.h-data: Likewise.
45386 * conform/data/libgen.h-data: Likewise.
45387 * conform/data/limits.h-data: Likewise.
45388 * conform/data/locale.h-data: Likewise.
45389 * conform/data/math.h-data: Likewise.
45390 * conform/data/monetary.h-data: Likewise.
45391 * conform/data/mqueue.h-data: Likewise.
45392 * conform/data/ndbm.h-data: Likewise.
45393 * conform/data/net/if.h-data: Likewise.
45394 * conform/data/netdb.h-data: Likewise.
45395 * conform/data/netinet/in.h-data: Likewise.
45396 * conform/data/nl_types.h-data: Likewise.
45397 * conform/data/poll.h-data: Likewise.
45398 * conform/data/pthread.h-data: Likewise.
45399 * conform/data/pwd.h-data: Likewise.
45400 * conform/data/regex.h-data: Likewise.
45401 * conform/data/sched.h-data: Likewise.
45402 * conform/data/search.h-data: Likewise.
45403 * conform/data/semaphore.h-data: Likewise.
45404 * conform/data/setjmp.h-data: Likewise.
45405 * conform/data/signal.h-data: Likewise.
45406 * conform/data/spawn.h-data: Likewise.
45407 * conform/data/stdarg.h-data: Likewise.
45408 * conform/data/stdio.h-data: Likewise.
45409 * conform/data/stdlib.h-data: Likewise.
45410 * conform/data/string.h-data: Likewise.
45411 * conform/data/strings.h-data: Likewise.
45412 * conform/data/stropts.h-data: Likewise.
45413 * conform/data/sys/ipc.h-data: Likewise.
45414 * conform/data/sys/mman.h-data: Likewise.
45415 * conform/data/sys/msg.h-data: Likewise.
45416 * conform/data/sys/resource.h-data: Likewise.
45417 * conform/data/sys/select.h-data: Likewise.
45418 * conform/data/sys/sem.h-data: Likewise.
45419 * conform/data/sys/shm.h-data: Likewise.
45420 * conform/data/sys/socket.h-data: Likewise.
45421 * conform/data/sys/stat.h-data: Likewise.
45422 * conform/data/sys/statvfs.h-data: Likewise.
45423 * conform/data/sys/time.h-data: Likewise.
45424 * conform/data/sys/timeb.h-data: Likewise.
45425 * conform/data/sys/times.h-data: Likewise.
45426 * conform/data/sys/types.h-data: Likewise.
45427 * conform/data/sys/uio.h-data: Likewise.
45428 * conform/data/sys/un.h-data: Likewise.
45429 * conform/data/sys/utsname.h-data: Likewise.
45430 * conform/data/sys/wait.h-data: Likewise.
45431 * conform/data/syslog.h-data: Likewise.
45432 * conform/data/tar.h-data: Likewise.
45433 * conform/data/termios.h-data: Likewise.
45434 * conform/data/utime.h-data: Likewise.
45435 * conform/data/utmpx.h-data: Likewise.
45436 * conform/data/varargs.h-data: Likewise.
45437 * conform/data/wchar.h-data: Likewise.
45438 * conform/data/wctype.h-data: Likewise.
45439 * conform/data/wordexp.h-data: Likewise.
45440
45441 * include/stropts.h: New file.
45442 * include/uchar.h: New file.
45443 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45444 * include/assert.h: Likewise.
45445 * include/ctype.h: Likewise.
45446 * include/dirent.h: Likewise.
45447 * include/dlfcn.h: Likewise.
45448 * include/fcntl.h: Likewise.
45449 * include/fnmatch.h: Likewise.
45450 * include/glob.h: Likewise.
45451 * include/grp.h: Likewise.
45452 * include/libio.h: Likewise.
45453 * include/locale.h: Likewise.
45454 * include/math.h: Likewise.
45455 * include/net/if.h: Likewise.
45456 * include/netdb.h: Likewise.
45457 * include/netinet/in.h: Likewise.
45458 * include/pthread.h: Likewise.
45459 * include/pwd.h: Likewise.
45460 * include/regex.h: Likewise.
45461 * include/sched.h: Likewise.
45462 * include/search.h: Likewise.
45463 * include/setjmp.h: Likewise.
45464 * include/signal.h: Likewise.
45465 * include/stdio.h: Likewise.
45466 * include/stdlib.h: Likewise.
45467 * include/string.h: Likewise.
45468 * include/sys/cdefs.h: Likewise.
45469 * include/sys/mman.h: Likewise.
45470 * include/sys/msg.h: Likewise.
45471 * include/sys/resource.h: Likewise.
45472 * include/sys/select.h: Likewise.
45473 * include/sys/socket.h: Likewise.
45474 * include/sys/stat.h: Likewise.
45475 * include/sys/statvfs.h: Likewise.
45476 * include/sys/time.h: Likewise.
45477 * include/sys/times.h: Likewise.
45478 * include/sys/uio.h: Likewise.
45479 * include/sys/utsname.h: Likewise.
45480 * include/sys/wait.h: Likewise.
45481 * include/termios.h: Likewise.
45482 * include/time.h: Likewise.
45483 * include/ulimit.h: Likewise.
45484 * include/unistd.h: Likewise.
45485 * include/utime.h: Likewise.
45486 * include/wchar.h: Likewise.
45487 * include/wctype.h: Likewise.
45488 * include/wordexp.h: Likewise.
45489
45490 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45491
7a270350
UD
45492 * time/time.h: TIME_UTC must be a macro.
45493 Make timespec_get available for ISO C11 only as well.
45494
7724defc
UD
454952012-02-24 Ulrich Drepper <drepper@gmail.com>
45496
45497 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45498 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45499
6b1d1d46
JM
455002012-02-24 Joseph Myers <joseph@codesourcery.com>
45501
45502 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45503
0f8bbd69
JM
455042012-02-24 Joseph Myers <joseph@codesourcery.com>
45505
45506 * manual/texinfo.tex: Update to version 2012-01-19.16.
45507
66ab80bc
JM
455082012-02-24 Joseph Myers <joseph@codesourcery.com>
45509
45510 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45511
74981cc5
RM
455122012-02-24 Roland McGrath <roland@hack.frob.com>
45513
ee968201
RM
45514 [BZ #13738]
45515 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45516 * manual/fdl-1.3.texi: New file.
45517 * manual/fdl-1.1.texi: File removed.
45518
74981cc5
RM
45519 [BZ #13738]
45520 * manual/libc.texinfo (FDL_VERSION): New @set.
45521 Use it for mention of FDL in cover text.
45522 (Documentation License): Use it in @include file name.
45523
7bb764bc
JM
455242012-02-22 Joseph Myers <joseph@codesourcery.com>
45525 Roland McGrath <roland@hack.frob.com>
45526
45527 [BZ #5461]
57f41c40
AS
45528 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45529 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45530 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45531 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45532 name.
45533 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45534
6cbeae47
JM
455352012-02-22 Joseph Myers <joseph@codesourcery.com>
45536
45537 [BZ #2547]
45538 [BZ #11365]
45539 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45540 manipulate bits before adding and subtracting TWO23[sx].
45541 * math/libm-test.inc (nearbyint_test): Add more tests.
45542
fe45ce09
JM
455432012-02-22 Joseph Myers <joseph@codesourcery.com>
45544
45545 [BZ #2548]
45546 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45547 bits before adding and subtracting TWO23[sx].
45548 * math/libm-test.inc (rint_test): Add more tests.
45549 (rint_test_tonearest): Likewise.
45550 (rint_test_towardzero): Likewise.
45551 (rint_test_downward): Likewise.
45552 (rint_test_upward: Likewise.
45553
ff3b3d82
JM
455542012-02-22 Joseph Myers <joseph@codesourcery.com>
45555
45556 [BZ #10110]
45557 * include/stdc-predef.h: New file. Extracted from features.h.
45558 * include/features.h: Include stdc-predef.h.
45559 * Makefile (headers): Add stdc-predef.h.
45560 * CONFORMANCE (Compiler limitations): Update.
45561
ef0aab35
JM
455622012-02-22 Joseph Myers <joseph@codesourcery.com>
45563
45564 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45565
58639409
DM
455662012-02-21 David S. Miller <davem@davemloft.net>
45567
45568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45569 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45570
c0e70b25
DM
455712012-02-20 David S. Miller <davem@davemloft.net>
45572
45573 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45574 using a normal save/restore sequence, rather than allocating a
45575 dummy stack frame just to store a frame pointer and restore.
45576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45577
fb06851d
JM
455782012-02-21 Joseph Myers <joseph@codesourcery.com>
45579
45580 * manual/install.texi: Fix stray word in line-wrapped comment.
45581
7a8b71c3
DM
455822012-02-20 David S. Miller <davem@davemloft.net>
45583
d510c123
DM
45584 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45585 both binutils and gcc support GOTDATA.
45586
0722d7c2
DM
45587 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45588 "rd %pc" in the PIC register setup sequences.
45589
3d2b3019
DM
45590 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45591 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45592 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45593 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45594 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45597 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45599 (SYSCALL_ERROR_HANDLER): Likewise.
45600 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45601 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45603 (SYSCALL_ERROR_HANDLER): Likewise.
45604
c80098a9
DM
45605 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45606 (HAVE_GCC_GOTDATA): New.
45607 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45608 relocation support in both binutils and gcc.
45609 * sysdeps/sparc/elf/configure: Regenerate.
45610
3a2545a0
DM
45611 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45612 * sysdeps/sparc/sparc32/elf/configure: Delete.
45613 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45614 * sysdeps/sparc/sparc64/elf/configure: Delete.
45615 * sysdeps/sparc/elf/configure.in: New file.
45616 * sysdeps/sparc/elf/configure: Generate.
45617
7a8b71c3
DM
45618 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45619 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45620 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45621 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45622 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45623
f1e86fca
JM
456242012-02-21 Joseph Myers <joseph@codesourcery.com>
45625
45626 * manual/install.texi: Do not mention specific glibc version
45627 numbers.
45628 * manual/libc.texinfo (VERSION, UPDATED): Update.
45629 (@copying): Use @copyright{} and range of years.
45630
0e7dfaef
JM
456312012-02-21 Joseph Myers <joseph@codesourcery.com>
45632
45633 [BZ #13695]
45634 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45635 [crti.S not in sysdirs] (generated): Do not append.
45636 [crti.S not in sysdirs] (omit-deps): Likewise.
45637 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45638 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45639 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45640 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45641 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45642 Likewise.
45643 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45644 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45645 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45646 * csu/defs.awk: Remove file.
45647 * sysdeps/generic/initfini.c: Likewise.
45648 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45649 variable.
45650 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45651 Likewise.
45652
599af3ca
JM
456532012-02-20 Joseph Myers <joseph@codesourcery.com>
45654
45655 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45656 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45657 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45659 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45660 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45661 <bits/epoll.h>.
45662 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45663 (__EPOLL_PACKED): Define to empty if not defined by
45664 <bits/epoll.h>.
45665 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45667 bits/epoll.h.
45668
0e499750
JM
456692012-02-20 Joseph Myers <joseph@codesourcery.com>
45670
45671 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45672 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45673 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45674 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45675 <bits/timerfd.h>.
45676 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45678 bits/timerfd.h.
45679
5ad91f6e
JM
456802012-02-20 Joseph Myers <joseph@codesourcery.com>
45681
45682 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45683 in C locale.
45684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45685 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45686 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45688
06b99b02
AJ
456892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45690
45691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45693
7638c0fd
AS
456942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45695
45696 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45697 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45698 defined.
45699 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45700 Likewise.
45701 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45702 entry for 2.16.
45703
92221550
AJ
457042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45705
45706 * math/w_acos.c: Use non-signaling floating-point comparisons.
45707 * math/w_acosf.c: Likewise.
45708 * math/w_acosh.c: Likewise.
45709 * math/w_acoshf.c: Likewise.
45710 * math/w_acoshl.c: Likewise.
45711 * math/w_acosl.c: Likewise.
45712 * math/w_asin.c: Likewise.
45713 * math/w_asinf.c: Likewise.
45714 * math/w_asinl.c: Likewise.
45715 * math/w_atanh.c: Likewise.
45716 * math/w_atanhf.c: Likewise.
45717 * math/w_atanhl.c: Likewise.
45718 * math/w_exp2.c: Likewise.
45719 * math/w_exp2f.c: Likewise.
45720 * math/w_exp2l.c: Likewise.
45721 * math/w_j0.c: Likewise.
45722 * math/w_j0f.c: Likewise.
45723 * math/w_j0l.c: Likewise.
45724 * math/w_j1.c: Likewise.
45725 * math/w_j1f.c: Likewise.
45726 * math/w_j1l.c: Likewise.
45727 * math/w_jn.c: Likewise.
45728 * math/w_jnf.c: Likewise.
45729 * math/w_log.c: Likewise.
45730 * math/w_log10.c: Likewise.
45731 * math/w_log10f.c: Likewise.
45732 * math/w_log10l.c: Likewise.
45733 * math/w_log2.c: Likewise.
45734 * math/w_log2f.c: Likewise.
45735 * math/w_log2l.c: Likewise.
45736 * math/w_logf.c: Likewise.
45737 * math/w_logl.c: Likewise.
45738 * math/w_sqrt.c: Likewise.
45739 * math/w_sqrtf.c: Likewise.
45740 * math/w_sqrtl.c: Likewise.
45741 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45742 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45744 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45745 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45746
ebaf36eb
JM
457472012-02-19 Joseph Myers <joseph@codesourcery.com>
45748
45749 [BZ #9739]
45750 * manual/string.texi (strnlen): Use correct parameter name in
45751 equivalent expression.
45752
71c254a6
JM
457532012-02-19 Joseph Myers <joseph@codesourcery.com>
45754
45755 [BZ #11174]
45756 * manual/users.texi (seteuid): Consistently use neweuid for
45757 argument name.
45758
16d2c631
JM
457592012-02-19 Joseph Myers <joseph@codesourcery.com>
45760
45761 [BZ #13704]
45762 * manual/nss.texi (Services in the NSS configuration): Correct
45763 list of services in example configuration file.
45764
cd837b09
NB
457652012-02-19 Nick Bowler <nbowler@draconx.ca>
45766
45767 [BZ #11322]
45768 * manual/arith.texi: Remove statements about negative zero
45769 behaving identically to zero.
45770
02c4bbad
JM
457712012-02-18 Joseph Myers <joseph@codesourcery.com>
45772
45773 [BZ #5993]
45774 * manual/install.texi: Do not document upgrading from libc5.
45775
366842e7
JM
457762012-02-18 Joseph Myers <joseph@codesourcery.com>
45777
45778 [BZ #4596]
45779 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45780
dd54084d
DM
457812012-02-18 David S. Miller <davem@davemloft.net>
45782
45783 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45784 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45785 %o7 across the call.
45786 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45787 instead.
45788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45789 SETUP_PIC_REG_LEAF.
45790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45791 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45792 * sysdeps/sparc/crtn.S: Likewise.
45793
2bcc53a3
UD
457942012-02-17 Ulrich Drepper <drepper@gmail.com>
45795
45796 * aout/Makefile: Remove.
45797
09c093b5
RK
457982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45799
45800 [BZ #13058]
45801 * manual/examples/argp-ex1.c (main): Format definition in GNU
45802 style.
45803 * manual/examples/argp-ex2.c (main): Likewise.
45804 * manual/examples/argp-ex3.c (main): Likewise.
45805 * manual/examples/argp-ex4.c (main): Likewise.
45806 * manual/examples/longopt.c (main): Use new-style prototype
45807 definition.
45808 * manual/examples/strncat.c (main): Specify return type and use
45809 (void) for arguments.
45810 * manual/examples/subopt.c (main): Use char **argv argument.
45811
2ee633a2
JM
458122012-02-17 Joseph Myers <joseph@codesourcery.com>
45813
45814 [BZ #5077]
45815 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45816 rounding modes.
45817
0520adde
FB
458182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45819
45820 [BZ #6907]
45821 * manual/string.texi (strchr): Change when strchrnul is
45822 recommended.
45823
3f4081cd
DGM
458242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45825
45826 [BZ #174]
45827 * manual/locale.texi (setlocale): Document LOCPATH.
45828
d1b10e78
JM
458292012-02-17 Joseph Myers <joseph@codesourcery.com>
45830
45831 [BZ #10210]
45832 * manual/process.texi (execle): Move @dots{} before last argument.
45833
79c6869c
PB
458342012-02-17 Paul Bolle <pebolle@tiscali.nl>
45835
45836 [BZ #12047]
45837 * manual/charset.texi (Generic Charset Conversion): Fix typo
45838 (LC_TYPE -> LC_CTYPE).
45839
cc6e48bc
NB
458402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45841
45842 [BZ #5805]
45843 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45844 (scalbnf): Likewise.
45845 (scalbnl): Likewise.
45846 (scalbln): Likewise.
45847 (scalblnf): Likewise.
45848 (scalblnl): Likewise.
45849 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45850 (vwarnx): Likewise.
45851 (verr): Likewise.
45852 (verrx): Likewise.
45853 * manual/filesys.texi (telldir): Use braces around return type.
45854 * manual/llio.texi (mmap): Add space after comma.
45855 (mmap64): Likewise.
45856 * manual/math.texi (jn): Use @var{} on parameter names.
45857 (jnf): Likewise.
45858 (jnl): Likewise.
45859 (yn): Likewise.
45860 (ynf): Likewise.
45861 (ynl): Likewise.
45862 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45863 line.
45864 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45865 "...".
45866 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45867 (sched_get_priority_max): Likewise.
45868 * manual/signal.texi (sigvec): Add space after comma.
45869 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45870 names.
45871 (if_indextoname): Likewise.
45872 (if_freenameindex): Likewise.
45873 (sendto): Use ',' instead of '.' in prototype.
45874 * manual/startup.texi (syscall): Use @dots{} instead of literal
45875 "...".
45876 * manual/stdio.texi (__fpending): Separate initial words of
45877 paragraph from @deftypefun line.
45878 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45879 "...".
45880 (vsyslog): Use @var{} on parameter names.
45881 * manual/terminal.texi (stty): Use @var{} on parameter names.
45882 * manual/users.texi (getutmp): Use @var{} on parameter names.
45883 (getutmpx): Likewise.
45884
5b23062f
JM
458852012-02-17 Joseph Myers <joseph@codesourcery.com>
45886
45887 [BZ #6884]
45888 * manual/stdio.texi (fopen): Fix typos in description of
45889 ",ccs=STRING".
45890
8dee4833
AJ
458912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45892
45893 [BZ #4026]
45894 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45895 get clock_id definition.
45896
9078ce93
TS
458972012-02-17 Thomas Schwinge <thomas@schwinge.name>
45898
45899 [BZ #4822]
45900 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45901 (madvise): Cast every argument to void on its own.
45902
3835c55f
JM
459032012-02-17 Joseph Myers <joseph@codesourcery.com>
45904
45905 [BZ #9902]
45906 * manual/startup.texi (Exit Status): Fix typo.
45907
35c47e37
JM
459082012-02-17 Joseph Myers <joseph@codesourcery.com>
45909
45910 [BZ #10140]
45911 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45912 * manual/examples/argp-ex2.c: Likewise.
45913 * manual/examples/argp-ex3.c: Likewise.
45914
e3b69ca7
RH
459152012-02-16 Richard Henderson <rth@redhat.com>
45916
45917 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45918 * sysdeps/s390/s390-32/initfini.c: Remove.
45919 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45920 * sysdeps/s390/s390-64/initfini.c: Remove.
45921
df83af67
KK
459222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45923
45924 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45925 compiler output for sysdeps/generic/initfini.c.
45926 * sysdeps/sh/elf/initfini.c: Remove file.
45927
f63f3380
DM
459282012-02-16 David S. Miller <davem@davemloft.net>
45929
fb59b3a4
DM
45930 [BZ #11494]
45931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45932
f63f3380
DM
45933 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45934 * sysdeps/sparc/crti.S: New file.
45935 * sysdeps/sparc/crtn.S: New file.
45936 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45937 * sysdeps/sparc/sparc64/Makefile: Likewise.
45938
df6a4a4a
MF
459392012-02-15 Mike Frysinger <vapier@gentoo.org>
45940
6dd8f3dc 45941 [BZ #3335]
df6a4a4a
MF
45942 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45943
1cac7236
RM
459442012-02-15 Roland McGrath <roland@hack.frob.com>
45945
d2c736f8
RM
45946 [BZ #4822]
45947 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45948
1cac7236
RM
45949 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45950 (write, read, close): Likewise.
45951 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45952
8e475601
JM
459532012-02-15 Joseph Myers <joseph@codesourcery.com>
45954
45955 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45956 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45957 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45958 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45959 <bits/signalfd.h>.
45960 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45962 bits/signalfd.h.
45963
ed656b40
MP
459642012-02-14 Marek Polacek <polacek@redhat.com>
45965
45966 * sysdeps/x86_64/crti.S: New file.
45967 * sysdeps/x86_64/crtn.S: New file.
45968 * sysdeps/x86_64/elf/initfini.c: Remove file.
45969
2a979d3a
JM
459702012-02-13 Joseph Myers <joseph@codesourcery.com>
45971
45972 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45973 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45974 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45975 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45976 <bits/inotify.h>.
45977 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45979 bits/inotify.h.
45980
2a418ac3
JM
459812012-02-13 Joseph Myers <joseph@codesourcery.com>
45982
45983 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45984 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45985 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45986 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45987 <bits/eventfd.h>.
45988 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45990 bits/eventfd.h.
45991
fb779be7
TS
459922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45993
e19e83c5
RM
45994 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45995 __feraiseexcept instead of feraiseexcept.
7c35ffed 45996
fb779be7
TS
45997 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45998 nanosleep invocations.
45999 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46000 strings, and add error checking for a nanosleep invocations.
46001
59ba27a6
PE
460022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46003
46004 Replace FSF snail mail address with URLs, as per GNU coding standards.
46005 Most of the snail mail addresses were wrong anyway, and omitting
46006 them makes the source code easier to maintain. Almost all of the
46007 changes are to license notices and to locale LC_IDENTIFICATION
46008 addresses, except for this one:
46009 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46010 not its snail mail address.
46011
57b957eb
RH
460122012-02-09 Richard Henderson <rth@twiddle.net>
46013
af850b1c
RH
46014 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46015 of kernel-features.h.
46016
57b957eb
RH
46017 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46018
6b73181a
MP
460192012-02-08 Marek Polacek <polacek@redhat.com>
46020
46021 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46022 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46023 * sysdeps/gnu/_G_config.h: Likewise.
46024 * sysdeps/generic/_G_config.h: Likewise.
46025
26ecc33a
AS
460262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46027
6c6dbc63
AS
46028 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46029 tests.
46030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46031
e216c012
AS
46032 * sysdeps/powerpc/powerpc32/crti.S: New file.
46033 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46034 * sysdeps/powerpc/powerpc64/crti.S: New file.
46035 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46036
26ecc33a
AS
46037 * Makeconfig (have-initfini): Don't set.
46038 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46039 * configure.in (nopic_initfini): Don't substitute.
46040 * config.h.in (HAVE_INITFINI): Don't #undef.
46041 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46042 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46043
3add8e13
JM
460442012-02-08 Joseph Myers <joseph@codesourcery.com>
46045
46046 Support crti.S and crtn.S provided directly by architectures.
46047 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46048 [crti.S in sysdirs] (omit-deps): Likewise.
46049 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46050 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46051 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46052 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46053 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46054 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46055 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46056 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46057 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46058 compiler output for sysdeps/generic/initfini.c.
46059 * sysdeps/i386/elf/Makefile: Remove file.
46060 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46061
a22f12b4
MP
460622012-02-07 Marek Polacek <polacek@redhat.com>
46063
46064 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46065 * sysdeps/gnu/_G_config.h: Likewise.
46066 * sysdeps/mach/hurd/_G_config.h: Likewise.
46067
148cf100
MP
460682012-02-07 Marek Polacek <polacek@redhat.com>
46069
46070 * math/Makefile (tests): Add tst-CMPLX2.
46071 * math/tst-CMPLX2.c: New file.
46072
cfdc0dd7
AS
460732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46074
84ba42c4
AS
46075 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46076
cfdc0dd7
AS
46077 * math/libm-test.inc (jn_test): Add missing L suffix.
46078
622c86f4
MP
460792012-02-06 Marek Polacek <polacek@redhat.com>
46080
46081 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46082 * sysdeps/i386/fpu/e_powf.S: Likewise.
46083 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46084 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46086 * sysdeps/i386/fpu/e_pow.S: Likewise.
46087 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46088 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46089 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46090 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46091 * sysdeps/i386/fpu/e_log2.S: Likewise.
46092 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46093 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46094 * sysdeps/i386/fpu/e_powl.S: Likewise.
46095 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46096 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46097 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46098 * sysdeps/i386/fpu/e_logl.S: Likewise.
46099 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46100 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46101 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46102 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46103 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46104 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46105 * sysdeps/i386/fpu/e_log.S: Likewise.
46106 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46107 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46108 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46109 * sysdeps/i386/fpu/e_logf.S: Likewise.
46110 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46111 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46112 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46113 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46114 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46115 * sysdeps/i386/fpu/e_log10.S: Likewise.
46116 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46117 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46118 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46119 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46120 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46121 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46122 * sysdeps/i386/asm-syntax.h: Likewise.
46123 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46126 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46127 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46128 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46129 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46130 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46131 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46132 * sysdeps/powerpc/sysdep.h: Likewise.
46133 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46134 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46135
d4a54ac6
JM
461362012-02-06 Joseph Myers <joseph@codesourcery.com>
46137
46138 [BZ #411]
46139 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46140
314054ea
JM
461412012-02-06 Joseph Myers <joseph@codesourcery.com>
46142
46143 * sysdeps/i386/sysdep.h: Include <features.h>.
46144 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46145 version.
46146
d8e0ca50
JM
461472012-02-05 Joseph Myers <joseph@codesourcery.com>
46148
46149 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46150 Define.
46151 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46152 LOAD_PIC_REG_STR.
46153
b1da7dd9
JM
461542012-02-03 Joseph Myers <joseph@codesourcery.com>
46155
46156 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46157 (SETUP_PIC_REG): Use GET_PC_THUNK.
46158 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46159 macro.
46160
9a1d9254
JM
461612012-02-03 Joseph Myers <joseph@codesourcery.com>
46162
46163 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46164 for non-PIC compilation.
46165 (SETUP_PIC_REG): Add .p2align directive.
46166 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46167 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46168 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46169 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46170 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46171 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46172 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46173 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46174 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46175 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46176 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46177 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46178 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46179 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46180 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46181 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46182 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46183 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46184 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46185 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46188 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46189 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46190 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46192 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46194 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46195 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46196 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46197 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46198 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46199 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46200 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46201 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46202 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46203 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46204 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46205 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46206 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46207
65dc3b75
JM
462082012-02-03 Joseph Myers <joseph@codesourcery.com>
46209
46210 * math/tst-CMPLX.c: Include <stdio.h>.
46211
d55bf177
JM
462122012-01-31 Joseph Myers <joseph@codesourcery.com>
46213
46214 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46215 float.
46216 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46217 * sysdeps/sparc/bits/mathdef.h: Likewise.
46218
69db4f8f
MP
462192012-01-31 Marek Polacek <polacek@redhat.com>
46220
46221 * libio/libio.h: Don't define _PARAMS.
46222 * locale/programs/config.h: Don't define PARAMS.
46223 * stdlib/strtol_l.c: Likewise.
46224 (__strtol_l): Remove PARAMS from the prototype.
46225
41b81892
UD
462262012-01-31 Ulrich Drepper <drepper@gmail.com>
46227
3b49edc0
UD
46228 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46229 names. Just use the correct names. Remove unnecessary wrapper
46230 functions.
46231 * malloc/arena.c: Likewise.
46232 * malloc/hooks.c: Likewise.
46233
41b81892
UD
46234 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46235 ARENA_TEST says not to. Simplify test for creation of a new arena.
46236 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46237
27a25b6e
UD
462382012-01-30 Ulrich Drepper <drepper@gmail.com>
46239
46240 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46241 into tail calls.
46242 (update_get_addr): New function.
46243 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46244 GET_ADDR_MODULE parameter.
46245
c8a89e7d
JM
462462012-01-30 Joseph Myers <joseph@codesourcery.com>
46247
46248 * crypt/cert.c: Remove __STDC__ conditionals.
46249 * crypt/crypt-entry.c: Likewise.
46250 * crypt/crypt_util.c: Likewise.
46251 * libio/filedoalloc.c: Likewise.
46252 * libio/fileops.c: Likewise.
46253 * libio/genops.c: Likewise.
46254 * libio/iofclose.c: Likewise.
46255 * libio/iofdopen.c: Likewise.
46256 * libio/iofopen.c: Likewise.
46257 * libio/iofopen64.c: Likewise.
46258 * libio/iogetdelim.c: Likewise.
46259 * libio/iopopen.c: Likewise.
46260 * libio/obprintf.c: Likewise.
46261 * libio/oldfileops.c: Likewise.
46262 * libio/oldiofclose.c: Likewise.
46263 * libio/oldiofdopen.c: Likewise.
46264 * libio/oldiofopen.c: Likewise.
46265 * libio/oldiopopen.c: Likewise.
46266 * libio/wfiledoalloc.c: Likewise.
46267 * libio/wgenops.c: Likewise.
46268 * locale/programs/xmalloc.c: Likewise.
46269 * misc/syslog.c: Likewise.
46270 * stdio-common/xbug.c: Likewise.
46271 * string/memchr.c: Likewise.
46272 * string/memcmp.c: Likewise.
46273 * string/memrchr.c: Likewise.
46274 * string/rawmemchr.c: Likewise.
46275 * sysdeps/posix/getcwd.c: Likewise.
46276 * time/strftime_l.c: Likewise.
46277
3b100462
JM
462782012-01-30 Joseph Myers <joseph@codesourcery.com>
46279
46280 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46281 * config.make.in (config-cflags-sse2avx): Define.
46282 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46283 Fix typo.
46284
607998af
CM
462852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46286
46287 * scripts/config.guess: Update from upstream config git repository.
46288 * scripts/config.sub: Likewise.
46289
3601428f
CM
462902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46291
3ac8b282
CM
46292 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46293 (EM_NUM): Update.
46294 (R_TILEPRO_*, R_TILEGX_*): New macros.
46295
e034841e
CM
46296 * scripts/firstversions.awk: Fix bug in version range handling.
46297
540d7568
CM
46298 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46299
3601428f
CM
46300 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46301
463de862
CM
46302 * include/sys/epoll.h: New file.
46303 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46304 libc_hidden_def.
46305
73139a76
UD
463062012-01-28 Ulrich Drepper <drepper@gmail.com>
46307
96bc5b45
UD
46308 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46309 Avoid unnecessary __WORDSIZE == 64 test.
46310 (fmaxf): Use VEX format if possible.
46311 (fmax): Likewise.
46312 (fminf): Likewise.
46313 (fmin): Likewise.
46314
56f6f6a2
UD
46315 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46316 * math/math_private.h: Remove libc_fegetround* and
46317 libc_fesetround*.
46318 * sysdeps/i386/configure.in: Check for -msse2avx.
46319 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46320 also if SSE2AVX is defined.
46321 Remove libc_fegetround* and libc_fesetround*.
46322 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46323 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46325 of HAS_YMM_USABLE.
46326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46331
73139a76
UD
46332 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46333
d73f93a4
AZ
463342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46335
46336 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46337 size is not set.
46338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46339
6ee65ed6
UD
463402012-01-27 Ulrich Drepper <drepper@gmail.com>
46341
46342 [BZ #13618]
46343 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46344 relocation.
46345 * Makeconfig (libm): Define.
46346 * elf/Makefile: Add rules to build and run tst-relsort1.
46347 * elf/tst-relsort1.c: New file.
46348 * elf/tst-relsort1mod1.c: New file.
46349 * elf/tst-relsort1mod2.c: New file.
46350
8db21882
JM
463512012-01-27 Joseph Myers <joseph@codesourcery.com>
46352
46353 * math/s_ldexp.c: Remove __STDC__ conditionals.
46354 * math/s_ldexpf.c: Likewise.
46355 * math/s_ldexpl.c: Likewise.
46356 * math/s_nextafter.c: Likewise.
46357 * math/s_nexttowardf.c: Likewise.
46358 * math/s_significand.c: Likewise.
46359 * math/s_significandf.c: Likewise.
46360 * math/s_significandl.c: Likewise.
46361 * math/w_jnl.c: Likewise.
46362 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46363 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46364 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46365 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46366 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46368 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46369 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46370 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46371 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46372 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46373 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46374 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46375 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46377 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46378 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46379 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46381 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46382 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46383 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46384 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46386 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46387 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46389 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46390 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46391 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46392 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46393 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46394 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46395 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46396 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46397 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46398 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46399 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46400 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46401 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46402 * sysdeps/ieee754/k_standard.c: Likewise.
46403 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46404 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46405 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46406 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46407 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46408 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46409 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46410 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46411 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46412 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46413 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46414 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46415 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46416 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46417 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46418 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46419 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46421 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46422 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46423 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46424 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46425 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46426 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46427 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46432 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46433 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46434 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46435 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46436 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46437 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46438 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46439 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46440 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46441 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46442 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46443 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46445 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46446 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46447 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46448 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46452 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46453 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46456 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46457 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46458 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46459 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46460 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46461 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46462 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46463 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46464 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46465 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46466 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46467 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46468 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46469 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46470 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46471 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46472 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46473 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46474 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46475 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46476 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46477 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46478 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46479 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46480 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46482 * sysdeps/ieee754/s_matherr.c: Likewise.
46483 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46484 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46487
965a54a4
JM
464882012-01-26 Joseph Myers <joseph@codesourcery.com>
46489
46490 * crypt/md5.h: Remove __STDC__ conditionals.
46491 * libio/libioP.h: Likewise.
46492 * locale/programs/config.h: Likewise.
46493 * sysdeps/generic/sysdep.h: Likewise.
46494 * sysdeps/i386/asm-syntax.h: Likewise.
46495 * sysdeps/s390/asm-syntax.h: Likewise.
46496 * sysdeps/unix/sysdep.h: Likewise.
46497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46499
7071ad79
JM
465002012-01-26 Joseph Myers <joseph@codesourcery.com>
46501
46502 * libio/libio.h: Remove __STDC__ conditionals.
46503 * malloc/obstack.h: Likewise.
46504 * math/complex.h: Likewise.
46505 * math/math.h: Likewise.
46506 * sysdeps/generic/_G_config.h: Likewise.
46507 * sysdeps/gnu/_G_config.h: Likewise.
46508 * sysdeps/mach/hurd/_G_config.h: Likewise.
46509 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46510 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46511 * sysdeps/sparc/bits/mathdef.h: Likewise.
46512
afc5ed09
UD
465132012-01-26 Ulrich Drepper <drepper@gmail.com>
46514
46515 [BZ #13583]
46516 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46517 Clean up HAS_* macros.
afc5ed09 46518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46519 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46520 possible.
46521 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46522 HAS_AVX.
46523 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46524 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46525 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46526 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46527 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46528
bdb6de1d
JM
465292012-01-25 Joseph Myers <joseph@codesourcery.com>
46530
46531 * elf/tst-unique3.cc (gets): Remove declaration.
46532 * elf/tst-unique3lib.cc (gets): Likewise.
46533 * elf/tst-unique3lib2.cc (gets): Likewise.
46534 * elf/tst-unique4.cc (gets): Likewise.
46535
b15549e6
UD
465362012-01-24 Ulrich Drepper <drepper@gmail.com>
46537
46538 * include/stdio.h: Add C++ protection. Add gets declarations and
46539 definitions.
46540 * debug/tst-chk1.c: Don't declare gets here.
46541 * stdio-common/tst-gets.c: Likewise.
46542
a037381f
JM
465432012-01-24 Joseph Myers <joseph@codesourcery.com>
46544
46545 * posix/glob: Remove directory.
46546
f1d4aa75
JM
465472012-01-24 Joseph Myers <joseph@codesourcery.com>
46548
46549 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46550
81c0c964
PT
465512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46552
46553 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46554 of the non-standard EPFNOSUPPORT.
46555
0ea698ae
ST
465562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46557
46558 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46559 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46560 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46561
d220b117
UD
465622012-01-21 Ulrich Drepper <drepper@gmail.com>
46563
46564 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46565
3e1aa84e
UD
465662012-01-20 Ulrich Drepper <drepper@gmail.com>
46567
46568 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46569 transient errors.
46570 * nscd/grpcache.c (cache_addgr): Likewise.
46571 * nscd/hstcache.c (cache_addhst): Likewise.
46572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46573 * nscd/pwdcache.c (cache_addpw): Likewise.
46574 * nscd/servicescache.c (cache_addserv): Likewise.
46575
400aa020
UD
465762012-01-16 Ulrich Drepper <drepper@gmail.com>
46577
d77e7869
UD
46578 * malloc/malloc.c: Various cleanups.
46579 * malloc/hooks.c: Likewise.
46580
400aa020
UD
46581 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46582 * stdlib/bug-fmtmsg1.c: New file.
46583
46584 * stdlib/fmtmsg.c (init): Add missing unlock.
46585 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46586
e0a309cf
MP
465872012-01-12 Marek Polacek <polacek@redhat.com>
46588
46589 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46590 and _GNU_SOURCE.
46591
929d11c7
WS
465922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46593
46594 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46595 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46596 macro to ensure uniqueness of label name.
46597 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46598 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46599
41d0e869
UD
466002012-01-11 Ulrich Drepper <drepper@gmail.com>
46601
0cc5ed3b
UD
46602 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46603
41d0e869
UD
46604 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46605 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46606 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46608
a47a831a
UD
466092012-01-10 Ulrich Drepper <drepper@gmail.com>
46610
daa891c0
UD
46611 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46612
46613 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46614 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46615 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46616
e58ef0f2
UD
46617 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46618
a47a831a 46619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46620 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46621 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46623
46624 * math/bits/math-finite.h: Add ldexp support.
46625
a0bfc9c7
MP
466262012-01-10 Marek Polacek <polacek@redhat.com>
46627
46628 * locale/programs/localedef.h (show_archive_content): Add noreturn
46629 attribute.
46630
d6e97a1d
UD
466312012-01-09 Ulrich Drepper <drepper@gmail.com>
46632
46633 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46634
d5835c26
UD
466352012-01-08 Ulrich Drepper <drepper@gmail.com>
46636
e5f484c6
UD
46637 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46638
d5835c26
UD
46639 * io/Makefile (headers): Add bits/poll2.h.
46640
d1f741e9
WS
466412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46642
46643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46644 typo #include statement.
46645
ec09c1c4
UD
466462012-01-08 Ulrich Drepper <drepper@gmail.com>
46647
46648 * include/sys/cdefs.h: Define __attribute_alloc_size.
46649 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46650 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46651 * elf/pldd.c: Likewise.
46652 * iconv/iconv_charmap.c: Likewise.
46653 * iconv/iconvconfig.c: Likewise.
46654 * iconv/strtab.c: Likewise.
46655 * locale/programs/locale.c: Likewise.
46656 * locale/programs/localedef.h: Likewise.
46657 * locale/programs/simple-hash.c: Likewise.
46658 * nscd/nscd.h: Likewise.
46659 * nss/makedb.c: Likewise.
46660 * sysdeps/generic/ldconfig.h: Likewise.
46661 * locale/programs/localedef.c: Remove xmalloc prototype.
46662 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46663
20b38e03
PP
466642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46665
46666 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46667 appropriate.
46668
a0da5fe1
UD
466692012-01-08 Ulrich Drepper <drepper@gmail.com>
46670
1d5a644a 46671 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46672 * math/tst-CMPLX.c: New file.
1d5a644a 46673
8784a6db
UD
46674 * math/complex.h (CMPLXL): Fix typo.
46675
d9a216c0
UD
46676 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46677 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46678 GLIBC_2.16.
46679 * debug/tst-chk1.c: Add poll and ppoll tests.
46680 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46681 * include/sys/poll.h: Add hidden proto for ppoll.
46682 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46683 * sysdeps/mach/hurd/ppoll.c: Likewise.
46684 * io/ppoll.c: Likewise.
46685 * debug/poll_chk.c: New file.
46686 * debug/ppoll_chk.c: New file.
46687 * include/bits/poll2.h: New file.
46688 * io/bits/poll2.h: New file.
46689
ac097f5c
UD
46690 [BZ #1350]
46691 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46692
2119dcfa
UD
46693 * configure.in: static is always set to yes. Remove.
46694 * config.make.in: Don't set build-static.
46695 * Makeconfig: Remove use of build-static.
46696 * dlfcn/Makefile: Likewise.
46697 * elf/Makefile: Likewise.
46698 * math/Makefile: Likewise.
46699 * misc/Makefile: Likewise.
46700 * nptl/Makefile: Likewise.
46701 * sysdeps/mach/hurd/Makefile: Likewise.
46702
121766a9
UD
46703 * configure.in: PWD_P is not used anymore.
46704 * config.make.in: Remove PWD_P entry.
46705
51a1d39c 46706 * configure.in: Remove last remnants of RANLIB.
8720d066 46707 No need to check for signed size_t anymore.
215f4bdc
UD
46708 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46709 and IA-64.
3857022a 46710 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46711 * aclocal.m4: Likewise.
46712
d3ed7225
UD
46713 * wcsmbs/mbrtoc16.c: Implement using towc function.
46714 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46715 * wcsmbs/wcsmbsload.c: Likewise.
46716 * iconv/gconv_simple.c: Likewise.
46717 * iconv/gconv_int.h: Likewise.
46718 * iconv/gconv_builtin.h: Likewise.
46719 * iconv/iconv_prog.c: Remove CHAR16 handling.
46720
46721 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46722
46723 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46724
a0da5fe1
UD
46725 * configure.in: Remove --with-elf and --enable-bounded options.
46726 Dont set base_machine for ia64. More non-ELF conditions removed.
46727 Remove testing and setting of leading underscore information.
46728 * config.make.in (build-bounded): Set to no.
46729 * config.h.in: Remove NO_UNDERSCORES entry.
46730 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46731 them.
46732 * csu/start.c: Remove !NO_UNDERSCORE code.
46733 * locale/localeinfo.h: Likewise.
46734 * sysdeps/generic/machine-gmon.h: Likewise.
46735 * sysdeps/generic/sysdep.h: Likewise.
46736 * sysdeps/i386/sysdep.h: Likewise.
46737 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46738 * sysdeps/mach/sysdep.h: Likewise.
46739 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46740 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46741 * sysdeps/sh/sysdep.h: Likewise.
46742 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46743 * sysdeps/unix/i386/sysdep.S: Likewise.
46744 * sysdeps/unix/sparc/start.c: Likewise.
46745 * sysdeps/unix/sparc/sysdep.S: Likewise.
46746 * sysdeps/unix/sparc/sysdep.h: Likewise.
46747 * sysdeps/unix/start.c: Likewise.
46748 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46749 * sysdeps/x86_64/sysdep.h: Likewise.
46750
df78418a
UD
467512012-01-07 Ulrich Drepper <drepper@gmail.com>
46752
a784e502
UD
46753 [BZ #13553]
46754 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46755 for non-gcc.
46756 * argp/argp-fmtstream.h: Use const instead __const.
46757 * argp/argp.h: Likewise.
46758 * assert/assert.h: Likewise.
46759 * bits/fenv.h: Likewise.
46760 * bits/sched.h: Likewise.
46761 * bits/sigset.h: Likewise.
46762 * bits/sigthread.h: Likewise.
46763 * catgets/nl_types.h: Likewise.
46764 * conform/data/pthread.h-data: Likewise.
46765 * crypt/crypt-private.h: Likewise.
46766 * crypt/crypt.h: Likewise.
46767 * crypt/crypt_util.c: Likewise.
46768 * ctype/ctype.h: Likewise.
46769 * debug/execinfo.h: Likewise.
46770 * debug/mbsnrtowcs_chk.c: Likewise.
46771 * debug/mbsrtowcs_chk.c: Likewise.
46772 * debug/wcsnrtombs_chk.c: Likewise.
46773 * debug/wcsrtombs_chk.c: Likewise.
46774 * debug/wcstombs_chk.c: Likewise.
46775 * dirent/dirent.h: Likewise.
46776 * dlfcn/dlfcn.h: Likewise.
46777 * elf/neededtest4.c: Likewise.
46778 * grp/grp.h: Likewise.
46779 * gshadow/gshadow.h: Likewise.
46780 * iconv/gconv.h: Likewise.
46781 * iconv/gconv_int.h: Likewise.
46782 * iconv/gconv_simple.c: Likewise.
46783 * iconv/iconv.h: Likewise.
46784 * iconv/loop.c: Likewise.
46785 * iconv/skeleton.c: Likewise.
46786 * include/aio.h: Likewise.
46787 * include/aliases.h: Likewise.
46788 * include/argz.h: Likewise.
46789 * include/arpa/inet.h: Likewise.
46790 * include/assert.h: Likewise.
46791 * include/dirent.h: Likewise.
46792 * include/dlfcn.h: Likewise.
46793 * include/execinfo.h: Likewise.
46794 * include/fcntl.h: Likewise.
46795 * include/fenv.h: Likewise.
46796 * include/glob.h: Likewise.
46797 * include/grp.h: Likewise.
46798 * include/libintl.h: Likewise.
46799 * include/mntent.h: Likewise.
46800 * include/netdb.h: Likewise.
46801 * include/pwd.h: Likewise.
46802 * include/rpc/netdb.h: Likewise.
46803 * include/sched.h: Likewise.
46804 * include/search.h: Likewise.
46805 * include/shadow.h: Likewise.
46806 * include/signal.h: Likewise.
46807 * include/stdio.h: Likewise.
46808 * include/stdlib.h: Likewise.
46809 * include/string.h: Likewise.
46810 * include/sys/socket.h: Likewise.
46811 * include/sys/stat.h: Likewise.
46812 * include/sys/statfs.h: Likewise.
46813 * include/sys/statvfs.h: Likewise.
46814 * include/sys/syslog.h: Likewise.
46815 * include/sys/time.h: Likewise.
46816 * include/sys/uio.h: Likewise.
46817 * include/time.h: Likewise.
46818 * include/unistd.h: Likewise.
46819 * include/utmp.h: Likewise.
46820 * include/wchar.h: Likewise.
46821 * include/wctype.h: Likewise.
46822 * inet/aliases.h: Likewise.
46823 * inet/arpa/inet.h: Likewise.
46824 * inet/netinet/ether.h: Likewise.
46825 * inet/netinet/in.h: Likewise.
46826 * intl/libintl.h: Likewise.
46827 * io/bits/fcntl2.h: Likewise.
46828 * io/fcntl.h: Likewise.
46829 * io/ftw.h: Likewise.
46830 * io/sys/poll.h: Likewise.
46831 * io/sys/stat.h: Likewise.
46832 * io/sys/statfs.h: Likewise.
46833 * io/sys/statvfs.h: Likewise.
46834 * io/utime.h: Likewise.
46835 * libio/bits/stdio.h: Likewise.
46836 * libio/bits/stdio2.h: Likewise.
46837 * libio/libio.h: Likewise.
46838 * libio/libioP.h: Likewise.
46839 * libio/stdio.h: Likewise.
46840 * locale/lc-ctype.c: Likewise.
46841 * locale/locale.h: Likewise.
46842 * login/utmp.h: Likewise.
46843 * malloc/arena.c: Likewise.
46844 * malloc/malloc.c: Likewise.
46845 * malloc/malloc.h: Likewise.
46846 * malloc/mcheck.c: Likewise.
46847 * malloc/mtrace.c: Likewise.
46848 * math/bits/mathcalls.h: Likewise.
46849 * math/fenv.h: Likewise.
46850 * math/math_private.h: Likewise.
46851 * misc/bits/error.h: Likewise.
46852 * misc/bits/syslog.h: Likewise.
46853 * misc/err.h: Likewise.
46854 * misc/error.h: Likewise.
46855 * misc/fstab.h: Likewise.
46856 * misc/mntent.h: Likewise.
46857 * misc/regexp.h: Likewise.
46858 * misc/search.h: Likewise.
46859 * misc/sgtty.h: Likewise.
46860 * misc/sys/mman.h: Likewise.
46861 * misc/sys/syslog.h: Likewise.
46862 * misc/sys/uio.h: Likewise.
46863 * misc/sys/xattr.h: Likewise.
46864 * misc/ttyent.h: Likewise.
46865 * nis/rpcsvc/ypclnt.h: Likewise.
46866 * nss/nss.h: Likewise.
46867 * posix/bits/unistd.h: Likewise.
46868 * posix/fnmatch.h: Likewise.
46869 * posix/glob.h: Likewise.
46870 * posix/sched.h: Likewise.
46871 * posix/spawn.h: Likewise.
46872 * posix/sys/wait.h: Likewise.
46873 * posix/unistd.h: Likewise.
46874 * posix/wordexp.h: Likewise.
46875 * pwd/pwd.h: Likewise.
46876 * resolv/netdb.h: Likewise.
46877 * resource/sys/resource.h: Likewise.
46878 * rt/aio.h: Likewise.
46879 * rt/bits/mqueue2.h: Likewise.
46880 * rt/mqueue.h: Likewise.
46881 * shadow/shadow.h: Likewise.
46882 * signal/signal.h: Likewise.
46883 * socket/send.c: Likewise.
46884 * socket/sendto.c: Likewise.
46885 * socket/sys/socket.h: Likewise.
46886 * stdio-common/printf.h: Likewise.
46887 * stdlib/bits/stdlib.h: Likewise.
46888 * stdlib/fmtmsg.h: Likewise.
46889 * stdlib/monetary.h: Likewise.
46890 * stdlib/stdlib.h: Likewise.
46891 * stdlib/ucontext.h: Likewise.
46892 * streams/stropts.h: Likewise.
46893 * string/argz.h: Likewise.
46894 * string/bits/string2.h: Likewise.
46895 * string/string.h: Likewise.
46896 * string/strings.h: Likewise.
46897 * sunrpc/rpc/auth.h: Likewise.
46898 * sunrpc/rpc/auth_des.h: Likewise.
46899 * sunrpc/rpc/clnt.h: Likewise.
46900 * sunrpc/rpc/netdb.h: Likewise.
46901 * sunrpc/rpc/pmap_clnt.h: Likewise.
46902 * sunrpc/rpc/xdr.h: Likewise.
46903 * sysdeps/generic/inttypes.h: Likewise.
46904 * sysdeps/generic/net/if.h: Likewise.
46905 * sysdeps/generic/sys/swap.h: Likewise.
46906 * sysdeps/gnu/net/if.h: Likewise.
46907 * sysdeps/gnu/utmpx.h: Likewise.
46908 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46909 * sysdeps/i386/i486/bits/string.h: Likewise.
46910 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46911 * sysdeps/s390/bits/string.h: Likewise.
46912 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46913 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46914 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46915 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46916 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46917 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46918 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46919 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46920 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46921 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46922 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46923 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46924 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46925 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46926 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46927 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46928 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46930 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46931 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46933 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46934 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46935 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46936 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46937 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46938 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46940 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46941 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46942 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46943 * sysvipc/sys/ipc.h: Likewise.
46944 * sysvipc/sys/msg.h: Likewise.
46945 * sysvipc/sys/sem.h: Likewise.
46946 * sysvipc/sys/shm.h: Likewise.
46947 * termios/termios.h: Likewise.
46948 * time/sys/time.h: Likewise.
46949 * time/time.h: Likewise.
46950 * wcsmbs/bits/wchar2.h: Likewise.
46951 * wcsmbs/uchar.h: Likewise.
46952 * wcsmbs/wchar.h: Likewise.
46953 * wctype/wctype.h: Likewise.
46954
0269750c
UD
46955 [BZ #13551]
46956 * Makeconfig: Remove all but ELF support including AIX support.
46957 * Makerules: Likewise.
46958 * config.h.in: Likewise.
46959 * config.make.in: Likewise.
46960 * configure: Likewise.
46961 * configure.in: Likewise.
46962 * csu/Makefile: Likewise.
46963 * csu/version.c: Likewise.
46964 * debug/Makefile: Likewise.
46965 * dlfcn/Makefile: Likewise.
46966 * elf/Makefile: Likewise.
46967 * extra-lib.mk: Likewise.
46968 * iconv/Makefile: Likewise.
46969 * include/libc-symbols.h: Likewise.
46970 * include/shlib-compat.h: Likewise.
46971 * resolv/Makefile: Likewise.
46972 * resolv/res_libc.c: Likewise.
46973 * rt/Makefile: Likewise.
46974 * sysdeps/i386/asm-syntax.h: Likewise.
46975 * sysdeps/i386/sysdep.h: Likewise.
46976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46977 * sysdeps/mach/sysdep.h: Likewise.
46978 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46979 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46980 * sysdeps/s390/asm-syntax.h: Likewise.
46981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46982 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46983 * sysdeps/sh/sysdep.h: Likewise.
46984 * sysdeps/unix/sparc/sysdep.h: Likewise.
46985 * sysdeps/wordsize-32/divdi3.c: Likewise.
46986 * sysdeps/x86_64/sysdep.h: Likewise.
46987
00bbd29b
UD
46988 * argp/Versions: Remove _argp_unlock_xxx.
46989
46990 [BZ #13559]
46991 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46992 * abilist/libBrokenLocale.abilist: Likewise.
46993 * abilist/libanl.abilist: Likewise.
46994 * abilist/libc.abilist: Likewise.
46995 * abilist/libcrypt.abilist: Likewise.
46996 * abilist/libdl.abilist: Likewise.
46997 * abilist/libm.abilist: Likewise.
46998 * abilist/libnsl.abilist: Likewise.
46999 * abilist/libpthread.abilist: Likewise.
47000 * abilist/libresolv.abilist: Likewise.
47001 * abilist/librt.abilist: Likewise.
47002 * abilist/libthread_db.abilist: Likewise.
47003 * abilist/libutil.abilist: Likewise.
47004 * abilist/libnss_db.abilist: New file.
47005
47006 * scripts/abilist.awk: Add support for indirect functions.
47007
a2693a0e
UD
47008 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47009
3f05895f
UD
47010 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47011
ecb6fb48
UD
47012 * shlib-versions: Remove entries for ports architectures.
47013
664f8cb9
UD
47014 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47015 files in ports.
47016 * elf/stackguard-macros.h: Remove support for IA-64.
47017 * elf/tst-auditmod1.c: Likewise.
47018 * sysdeps/generic/ldsodefs.h: Likewise.
47019
7ae81d88
UD
47020 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47021 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47022 configure files.
47023
bdeba135
UD
47024 [BZ #13552]
47025 * configure.in: Remove --enable-omitfp support.
47026 * FAQ.in: Adjust.
47027 * config.make.in: Likewise.
47028 * Makeconfig: Likewise.
47029 * manual/install.texi: Likewise.
47030
d75a0a62
UD
47031 In case anyone cares, the IA-64 architecture could move to ports.
47032 * sysdeps/ia64/*: Removed.
47033 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 47034 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 47035
dcc9756b
UD
47036 [BZ #13555]
47037 * configure.in: Remove entries for unsupported architectures.
47038
d3761ebc 47039 [BZ #13533]
9954432e
UD
47040 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47041 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47042 routines.
47043 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47044 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47045 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47046 fall back to using wcrtomb.
47047 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47048 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47049 renaming.
47050 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47051 * wcsmbs/tst-c16c32-1.c: New file.
47052
47053 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47054 local variable.
47055
c3a87236
UD
47056 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47057
28926a1b
UD
47058 * elf/tst-unique3.cc: Add explicit declaration of gets.
47059 * elf/tst-unique3lib.cc: Likewise.
47060 * elf/tst-unique3lib2.cc: Likewise.
47061 * elf/tst-unique4.cc: Likewise.
47062
df78418a
UD
47063 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47064
8ecd6b2a
JM
470652012-01-06 Joseph Myers <joseph@codesourcery.com>
47066
47067 [BZ #13566]
47068 * assert/assert.h (static_assert): Don't define for C++.
47069 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47070 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47071
9f115170
UD
470722012-01-03 Ulrich Drepper <drepper@gmail.com>
47073
5e0d0300
UD
47074 * iconv/loop.c (single loop): Fix assertion in storing of
47075 remaining bytes.
47076
9f115170
UD
47077 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47078
81fb02b0
UD
470792012-01-01 Ulrich Drepper <drepper@gmail.com>
47080
47081 * posix/getconf.c: Update copyright year.
47082 * nss/getent.c: Likewise.
a316c1f6 47083 * nss/makedb.c: Likewise.
81fb02b0
UD
47084 * iconv/iconvconfig.c: Likewise.
47085 * iconv/iconv_prog.c: Likewise.
47086 * elf/ldconfig.c: Likewise.
a316c1f6
UD
47087 * elf/pldd.c: Likewise.
47088 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
47089 * catgets/gencat.c: Likewise.
47090 * csu/version.c: Likewise.
47091 * elf/ldd.bash.in: Likewise.
47092 * elf/sprof.c (print_version): Likewise.
47093 * locale/programs/locale.c: Likewise.
47094 * locale/programs/localedef.c: Likewise.
a316c1f6 47095 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
47096 * nscd/nscd.c (print_version): Likewise.
47097 * debug/xtrace.sh: Likewise.
47098 * malloc/memusage.sh: Likewise.
47099 * malloc/mtrace.pl: Likewise.
47100 * debug/catchsegv.sh: Likewise.
47101
2ba92745
JJ
471022011-12-30 Jakub Jelinek <jakub@redhat.com>
47103
47104 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47105 pure attribute.
47106
dadebdae
UD
471072011-12-24 Ulrich Drepper <drepper@gmail.com>
47108
d3761ebc 47109 [BZ #13533]
db6af3eb
UD
47110 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47111 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47112 transformations.
47113 * iconv/gconv_int.h: Likewise.
47114 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47115 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47116 from libc for GLIBC_2.16.
47117 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47118 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47119 * wcsmbs/uchar.h: Really define mbstate_t.
47120 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47121 * wcsmbs/c16rtomb.c: New file.
47122 * wcsmbs/mbrtoc16.c: New file.
47123 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47124 for C/POSIX locale.
47125 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47126 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47127
dadebdae
UD
47128 * wcsmbs/wchar.h: Add missing __restrict.
47129
67371b56
UD
471302011-12-23 Ulrich Drepper <drepper@gmail.com>
47131
74033a25
UD
47132 [BZ #13532]
47133 * time/Makefile (routines): Add timespec_get.
47134 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47135 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47136 timespec for ISO C11.
47137 * time/timespec_get.c: New file.
47138 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47139 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47140
380d7e87
UD
47141 [BZ #13531]
47142 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47143 * stdlib/stdlib.h: Declare aligned_alloc.
47144 * Versions.def: Add GLIBC_2.16 for libc.
47145 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47146
4e9e7a35
UD
47147 [BZ 13527]
47148 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47149 ISO C11.
47150
380d7e87 47151 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
47152 code.
47153
03a71829
UD
47154 [BZ #13528]
47155 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47156
839e283e
UD
47157 [BZ #13529]
47158 * assert/assert.h (static_assert): Define.
47159
ce5294e2 47160 * version.h: Update for 2.16 development version.
90fa7312 47161
8d44e150 47162 [BZ #13526]
d7809905
UD
47163 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47164 _ISOC11_SOURCE.
47165
c0da14cd
UD
47166 * version.h (RELEASE): Bump for 2.15 release.
47167 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47168
530a3249
MP
47169 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47170 Patch by Marek Polacek <mpolacek@redhat.com>.
47171
67371b56
UD
47172 * bits/byteswap.h: Protect long long constants with __extension__.
47173 * sysdeps/i386/bits/byteswap.h: Likewise.
47174 * sysdeps/ia64/bits/byteswap.h: Likewise.
47175 * sysdeps/s390/bits/byteswap.h: Likewise.
47176 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47177
15db4de1
LD
471782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47179
47180 [BZ #13540]
bbe315ea
LD
47181 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47182 destination buffer.
15db4de1
LD
47183 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47184
2b2596b1
MP
471852011-12-23 Marek Polacek <polacek@redhat.com>
47186
47187 * elf/dl-addr.c (determine_info): Add inline keyword.
47188 * elf/tst-auditmod4b.c (check_avx): Likewise.
47189 * elf/tst-auditmod6b.c (check_avx): Likewise.
47190 * elf/tst-auditmod6c.c (check_avx): Likewise.
47191 * elf/tst-auditmod7b.c (check_avx): Likewise.
47192
70c6c246
UD
471932011-12-23 Ulrich Drepper <drepper@gmail.com>
47194
47195 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47196 !__SSE_MATH__.
47197
c044cf14
LD
471982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47199
15db4de1 47200 [BZ #13540]
c044cf14
LD
47201 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47202 processing for last bytes.
47203
6b13d9d9
BH
472042011-08-06 Bruno Haible <bruno@clisp.org>
47205
d455f537
BH
47206 [BZ #13061]
47207 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47208 U+0385, not to U+1FEE.
47209
6b13d9d9
BH
47210 [BZ #13062]
47211 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47212 entry for U+00A5 U+0301.
47213
db910efd
UD
472142011-12-22 Ulrich Drepper <drepper@gmail.com>
47215
27deeafc
UD
47216 [BZ #13166]
47217 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47218 buffer for the output is too small.
47219
aed9d171
UD
47220 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47221 optimization.
47222
db910efd
UD
47223 [BZ #13185]
47224 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47225 SSE flags if possible.
47226
2bd779ae
LD
472272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47228
e7f9dac3 47229 [BZ #13540]
2bd779ae
LD
47230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47231 processing for last bytes.
47232
154bfc16
JM
472332011-12-22 Joseph Myers <joseph@codesourcery.com>
47234
47235 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47236 (syscall-list-default-options, syscall-list-default-condition)
47237 (syscall-list-includes): Define.
47238 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47239 list of ABIs and options and #if conditions for each ABI. Do not
47240 handle common syscalls between ABIs specially.
47241 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47242 Remove.
47243 (syscall-list-variants, syscall-list-32bit-options)
47244 (syscall-list-32bit-condition, syscall-list-64bit-options)
47245 (syscall-list-64bit-condition): Define.
47246 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47247 (syscall-list-variants, syscall-list-32bit-options)
47248 (syscall-list-32bit-condition, syscall-list-64bit-options)
47249 (syscall-list-64bit-condition): Define.
47250 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47251 Remove.
47252 (syscall-list-variants, syscall-list-32bit-options)
47253 (syscall-list-32bit-condition, syscall-list-64bit-options)
47254 (syscall-list-64bit-condition): Define.
47255 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47256 Remove.
47257 (syscall-list-variants, syscall-list-32bit-options)
47258 (syscall-list-32bit-condition, syscall-list-64bit-options)
47259 (syscall-list-64bit-condition): Define.
47260
21eaf3a5
UD
472612011-12-22 Ulrich Drepper <drepper@gmail.com>
47262
16c6f992
UD
47263 * locale/iso-639.def: Add brx entry.
47264
41043168
UD
47265 [BZ #13328]
47266 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47267 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47268
21eaf3a5
UD
47269 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47270 __feraiseexcept_renamed.
47271
e3a851a2
UD
472722011-12-21 Ulrich Drepper <drepper@gmail.com>
47273
4920765e
UD
47274 [BZ #13538]
47275 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47276 EPOLLET with unsigned values.
47277 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47278 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47279
e3a851a2
UD
47280 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47281 to large cancellation.
47282 * math/s_cacoshf.c: Likewise.
47283 * math/s_cacoshl.c: Likewise.
47284
b27e24b8
RK
472852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47286
47287 [BZ #13305]
aebefeee 47288 [BZ #12786]
b27e24b8
RK
47289 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47290 * math/s_cacoshf.c: Likewise.
47291 * math/s_cacoshl.c: Likewise.
47292
ee190f67
UD
472932011-12-21 Ulrich Drepper <drepper@gmail.com>
47294
47295 [BZ #13439]
47296 * iconv/gconv.h: Define __GCONV_SWAP.
47297 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47298 * iconvdata/utf-16.c: Likewise.
47299 * iconvdata/utf-32.c: Likewise.
47300
707f25df
AS
473012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47302
47303 [BZ #13524]
47304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47305 numerator after shifting it by one limb.
47306
d2daaa1e
RÁE
473072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47308
47309 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47310 under [__USE_EXTERN_INLINES].
47311
a4647e72
UD
473122011-12-17 Ulrich Drepper <drepper@gmail.com>
47313
47314 [BZ #13446]
47315 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47316
f0b264f1
AZ
473172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47318
47319 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47320 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47321 optimized code.
47322 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47323 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47324 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47325 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47326 for strncasecmp/strncasecmp_l compilation.
47327 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47328 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47329
8ef4f244
MP
473302011-12-08 Marek Polacek <mpolacek@redhat.com>
47331
47332 [BZ #13484]
47333 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47334 of __asm__.
47335
97ac2654
UD
473362011-12-17 Ulrich Drepper <drepper@gmail.com>
47337
47338 [BZ #13506]
47339 * time/tzfile.c (__tzfile_read): Check values from file header.
47340
91d2a845
WS
473412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47342
47343 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47344 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47345 * powerpc/powerpc32/dl-start.S: Likewise.
47346 * powerpc/powerpc32/elf/start.S: Likewise.
47347 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47348 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47349 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47350 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47351 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47352 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47353 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47354 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47355 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47356 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47357 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47358 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47359 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47360 * powerpc/powerpc32/memset.S: Likewise.
47361 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47362 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47363 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47364 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47365 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47366 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47367 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47368 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47369 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47370 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47371 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47372 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47373 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47374
a1267ba1
AZ
473752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47376
47377 * math/libm-test.inc: Added more nearbyint tests.
47378 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47382
ad8ac1bd
RL
473832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47384
47385 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47386 FD_CLOEXEC.
47387
1d3e4b61
UD
473882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47389
47390 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47391 Add wcscpy-ssse3 wcscpy-c.
47392 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47393 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47394 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47395 * sysdeps/x86_64/wcschr.S: New file.
47396 * sysdeps/x86_64/wcsrchr.S: New file.
47397 * string/test-strcmp.c: Remove checking of wcscmp function for
47398 wrong alignments.
47399 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47400 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47401 wcsrchr-sse2 wcsrchr-c.
47402 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47403 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47404 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47405 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47406 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47407 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47408 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47409 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47410 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47411 * wcsmbc/wcschr.c (WCSCHR): New macro.
47412
5b330a2d
UD
474132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47414
47415 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47416 * wcsmbs/test-wcsrchr.c: New file.
47417 * string/test-strrchr.c: Add wcsrchr support.
47418 (WIDE): New macro.
47419 * wcsmbs/test-wcscpy.c: New file.
47420 * string/test-strcpy.c: Add wcscpy support.
47421 (WIDE): New macro.
26428b7c 47422
f039c043
UD
474232011-12-10 Ulrich Drepper <drepper@gmail.com>
47424
47425 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47426 the inner loop.
47427
850fb039
AS
474282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47429
47430 [BZ #13472]
47431 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47432
4efbd5cb
UD
474332011-12-04 Ulrich Drepper <drepper@gmail.com>
47434
52ff5dd0 47435 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47436 Minor optimizations.
52ff5dd0 47437
4efbd5cb
UD
47438 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47439 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47440 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47441
8a426e12
UD
474422011-12-03 Ulrich Drepper <drepper@gmail.com>
47443
aff2453d
UD
47444 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47445 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47446 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47447 for gcc to avoid warnings.
47448 * inet/Makefile (tests): Add tst-checks.
47449 * inet/tst-checks.c: New file.
47450
47451 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47452 warning.
47453
47454 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47455 __wmemcmp_sse2.
47456
47457 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47458 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47459
8a426e12
UD
47460 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47461
9bea3473
UD
474622011-12-02 Ulrich Drepper <drepper@gmail.com>
47463
3a965496
UD
47464 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47465 problem.
47466
9bea3473
UD
47467 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47468
f101631b
UD
474692011-11-29 Joseph Myers <joseph@codesourcery.com>
47470
47471 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47472 conditional on GCC version.
47473 (__arch_compare_and_exchange_val_8_acq)
47474 (__arch_compare_and_exchange_val_16_acq)
47475 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47476 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47477 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47478
a98275aa
UD
474792011-12-02 Joseph Myers <joseph@codesourcery.com>
47480
47481 * sysdeps/sh/backtrace.c: New file.
47482
d4cc29a2
AS
474832011-12-02 Andreas Schwab <schwab@redhat.com>
47484
47485 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47486 parenthesis.
47487
6257af2d
AS
474882011-12-01 Andreas Schwab <schwab@redhat.com>
47489
47490 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47491 falling back to utime.
47492
b5f44c1a
AS
474932011-11-30 Andreas Schwab <schwab@redhat.com>
47494
47495 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47496 expectations for float.
47497
f3a6cc0a
AS
474982011-11-29 Andreas Schwab <schwab@redhat.com>
47499
47500 * locale/weight.h (findidx): Add parameter len.
47501 * locale/weightwc.h (findidx): Likewise.
47502 * posix/fnmatch_loop.c (FCT): Adjust caller.
47503 * posix/regcomp.c (build_equiv_class): Likewise.
47504 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47505 * posix/regexec.c (check_node_accept_bytes): Likewise.
47506 * string/strcoll_l.c (STRCOLL): Likewise.
47507 * string/strxfrm_l.c (STRXFRM): Likewise.
47508
9d65ea3a
UD
475092011-11-17 Ulrich Drepper <drepper@gmail.com>
47510
47511 * Makefile.in: Remove CVSOPT handling.
47512 * configure.in: Remove use of AC_REVISION.
47513 * iconvdata/Makefile (distribute): No need to filter out CVS.
47514 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47515 handling.
47516
5583a086
AS
475172011-11-16 Andreas Schwab <schwab@redhat.com>
47518
47519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47520 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47521 [USE_AS_STRNCASECMP_L]: Likewise.
47522 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47523 NO_TLS_DIRECT_SEG_REFS.
47524 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47525 Fix argument offsets for non-PIC.
47526 [USE_AS_STRNCASECMP_L]: Likewise.
47527 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47528 NO_TLS_DIRECT_SEG_REFS.
47529
d62a8200
UD
475302011-11-15 Ulrich Drepper <drepper@gmail.com>
47531
9d65ea3a 47532 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47533 O_CLOEXEC.
47534 * locale/loadlocale.c (_nl_load_locale): Likewise.
47535
09f93bd3
AS
475362011-11-15 Andreas Schwab <schwab@redhat.com>
47537
446514f9
AS
47538 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47539 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47540 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47541 (SYSCALL_GETTIME): Set errno on error.
47542
09f93bd3
AS
47543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47544 count references to noai6ai_cached.
47545
312be3f9
UD
475462011-11-15 Ulrich Drepper <drepper@gmail.com>
47547
47548 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47549
47550 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47551 FD_CLOEXEC for /proc/self/maps.
47552
47553 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47554 FD_CLOEXEC for /proc/meminfo.
47555
47556 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47557 gai.conf.
47558
47559 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47560 FD_CLOEXEC for given file.
47561
47562 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47563
47564 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47565 FD_CLOEXEC for /etc/hosts.
47566 (_gethtent): Likewise.
47567
47568 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47569
47570 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47571 cancellation and set FD_CLOEXEC for /etc/netgroup.
47572
47573 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47574 reading /etc/publickey.
47575
47576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47577 allow cancellation when reading /etc/group.
47578
47579 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47580 cancellation.
47581 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47582
47583 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47584 when using data file.
47585
47586 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47587
47588 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47589 (write_nis_obj): Use "c" and "e" in fopen.
47590
47591 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47592
47593 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47594
47595 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47596
47597 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47598
47599 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47600 locale.alias.
47601
47602 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47603
47604 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47605
47606 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47607
47608 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47609 file parsing and set FD_CLOEXEC.
47610
82af0fa8
UD
476112011-11-14 Ulrich Drepper <drepper@gmail.com>
47612
47613 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47614
a5fb313c
AS
476152011-11-14 Andreas Schwab <schwab@redhat.com>
47616
47617 * malloc/arena.c (arena_get2): Don't call reused_arena when
47618 _int_new_arena failed.
47619
6abf3465
UD
476202011-11-14 Ulrich Drepper <drepper@gmail.com>
47621
47622 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47623 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47624 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47626 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47627 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47628 to compile strcasecmp and strncasecmp.
47629 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47630 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47631
47632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47633
76e3966e
UD
476342011-11-13 Ulrich Drepper <drepper@gmail.com>
47635
47636 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47637 locale-defines.sym to gen-as-const-headers.
47638 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47639 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47641 to compile strcasecmp and strncasecmp.
47642 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47643 strcasecmp_l and strncasecmp_l.
47644 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47645 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47646 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47647 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47648 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47649 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47650 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47651 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47652 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47653 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47654 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47655
ab26144e
UD
476562011-11-12 Ulrich Drepper <drepper@gmail.com>
47657
7edb22ef
UD
47658 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47659 result of SYSDEP_GETTIME_CPU to retval.
47660 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47661 parameter list to macro. Remove trailing semicolon. Adjust users.
47662
9694fc44
UD
47663 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47664 variable.
47665
8ad89ef8
UD
47666 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47667 mantissa words.
47668 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47669
0c822ef9
UD
47670 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47671 from unused variable.
47672
874e0564
UD
47673 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47674 DWARF definitions.
47675 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47676 for assembling.
47677
3a2edc79
UD
47678 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47679 over namespaces.
47680
f3c2577f
UD
47681 * sunrpc/rpc_prot.c (rejected): Fix case value.
47682
294ce126
UD
47683 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47684 unsigned long long int to avoid warnings in shift.
47685
5e2b63c6
UD
47686 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47687 of use of trans.
47688 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47689 variable tmp.
47690
e7f4b08e
UD
47691 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47692 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47694
ab26144e
UD
47695 * nis/nis_table.c (nis_list): Use variable of correct type for
47696 result of __follow_path call.
47697
8a6d5255
AZ
476982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47699
47700 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47701 of math functions ceil, trunc, floor, round, and sqrt, when
47702 avaliable on the platform.
47703 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47704 name clash.
47705 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47706 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47707 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47708
aaddc98c
MP
477092011-10-30 Marek Polacek <mpolacek@redhat.com>
47710
47711 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47712 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47713
95b7042b
RM
477142011-11-11 Roland McGrath <roland@hack.frob.com>
47715
47716 * include/unistd.h: Fix __readlink return type.
47717 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47718
57769839
UD
477192011-11-11 Ulrich Drepper <drepper@gmail.com>
47720
47721 * stdlib/ucontext.h: Undo last change for makecontext.
47722
edc5984d
AS
477232011-11-11 Andreas Schwab <schwab@redhat.com>
47724
98591e58
AS
47725 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47726
edc5984d
AS
47727 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47728 * setjmp/setjmp.h: Mark functions as non-leaf.
47729 * setjmp/bits/setjmp2.h: Likewise.
47730 * stdlib/ucontext.h: Likewise.
47731
77cdc054
AS
477322011-11-10 Andreas Schwab <schwab@redhat.com>
47733
47734 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47735 (reused_arena): Don't check arena limit.
47736 (arena_get2): Atomically check arena limit.
47737
fe72eebd
UD
477382011-11-08 Ulrich Drepper <drepper@gmail.com>
47739
5f078c32
UD
47740 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47741 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47742
fe72eebd
UD
47743 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47744 instructions.
47745
ae1bc2fa
AS
477462011-11-07 Andreas Schwab <schwab@redhat.com>
47747
7583a88d
AS
47748 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47749 handler when locking.
47750
ae1bc2fa
AS
47751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47752 Fix size of allocated buffer.
47753
10fb0bfa
AS
477542011-11-04 Andreas Schwab <schwab@redhat.com>
47755
998832a4
AS
47756 [BZ #10103]
47757 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47758 declarations for long double functions.
47759 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47760
10fb0bfa
AS
47761 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47762
3d7ba52b
AS
477632011-11-03 Andreas Schwab <schwab@redhat.com>
47764
a9ae54a1
AS
47765 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47766 installed.
47767
3d7ba52b
AS
47768 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47769 is disabled.
47770
bc8db248
ST
477712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47772
47773 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47774
45b96dd6
AS
477752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47776
647776f6
AS
47777 * include/alloca.h (stackinfo_alloca_round): Define.
47778 (extend_alloca): Use it.
47779 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47780 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47781 here.
47782
d91a8b93
AS
47783 * scripts/check-local-headers.sh: Ignore libaudit.h.
47784
45b96dd6
AS
47785 * nscd/Makefile (extra-objs): Make recursively expanded.
47786
432d41ce
UD
477872011-11-01 Ulrich Drepper <drepper@gmail.com>
47788
34372fc6
UD
47789 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47791
fadb59f8
UD
47792 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47793 * posix/tst-rfc3484-2.c: Likewise.
47794 * posix/tst-rfc3484-3.c: Likewise.
47795
78239589
UD
47796 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47797 process_vm_writev.
47798 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47799 process_vm_writev.
47800 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47801 process_vm_writev from libc using GLIBC_2.15 version.
47802
432d41ce
UD
47803 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47804
02f9c6cf
PP
478052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47806
47807 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47808 stack usage.
47809
3a2c0242
UD
478102011-10-31 Ulrich Drepper <drepper@gmail.com>
47811
f4ec4833
UD
47812 [BZ #13367]
47813 * nss/getent.c (initgroups_keys): Show error message in case no group
47814 names are given.
47815
3a2c0242
UD
47816 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47817 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47818 __bump_nl_timestamp.
47819 * nscd/connections (nscd_init): When host database is served open
47820 netlink socket and request notification about configuration changes.
47821 (main_loop_poll): Track netlink file descriptor and bump timestamp
47822 in case data becomes available.
47823 (main_loop_epoll): Likewise.
47824 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47825 (database_pers_head): Add extra_data fileds.
47826 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47827 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47828 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47829 Adjust caller.
47830 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47831 in6ai data, call __free_in6ai.
47832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47833 Add -DHAVE_NETLINK.
47834 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47835 interface information. Reuse previous data if netlink timestamp
47836 is not changed.
47837 (__bump_nl_timestamp): New function.
47838 (__free_in6ai): New function.
47839
636064eb
UD
478402011-10-30 Ulrich Drepper <drepper@gmail.com>
47841
47842 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47843 close_not_cancel_no_status here.
47844 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47845
9beb2334
UD
478462011-10-29 Ulrich Drepper <drepper@gmail.com>
47847
6ef76f3b
UD
47848 [BZ #13276]
47849 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47850 return value.
47851
0ffc4f3e 47852 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47853 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47854 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47855
cb95113e
UD
478562011-07-03 Andreas Jaeger <aj@suse.de>
47857
47858 [BZ #10709]
47859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47860 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47861 * math/libm-test.inc (sin_test): Add test case.
47862
a1b560ff
UD
478632011-10-29 Ulrich Drepper <drepper@gmail.com>
47864
c9aaface
UD
47865 [BZ #13337]
47866 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47867 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47868
d272e7f1
UD
47869 * elf/chroot_canon.c (chroot_canon): Cleanups.
47870
1bc33071
UD
47871 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47872
1760874d
TJ
47873 [BZ #13335]
47874 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47875 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47876
51d91b18
UD
47877 * string/test-strchr.c: Make usable for strchrnul testing.
47878 * string/test-strchrnul.c: New file.
47879 * string/Makefile (strop-tests): Add strchrnul.
47880
a1b560ff 47881 * po/it.po: Update from translation team.
b611fb81 47882 * po/es.po: Likewise.
a1b560ff 47883
a5b81e1f
UD
478842011-10-28 Ulrich Drepper <drepper@gmail.com>
47885
fd52bc6d
UD
47886 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47887 the three constants needed as parameters. Drop the others.
47888 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47889 __m128i_strloadu_tolower.
52e4b9eb
UD
47890 Create and initialize variable zero and use it in all the places
47891 where _mm_setzero_si128 was used.
fd52bc6d 47892
a5b81e1f
UD
47893 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47894 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47895 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47896 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47897 anymore.
47898 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47899 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47900 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47901 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47902 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47903 __mpranred, __mptan.
47904 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47905 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47906 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47907 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47908 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47909 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47910 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47911 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47912 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47913
b4343346
AS
479142011-10-28 Andreas Schwab <schwab@redhat.com>
47915
0c92d8a8
AS
47916 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47917 redefine if SHARED.
47918 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47919
b4343346
AS
47920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47921 wide char related routines to wcsmbs subdir.
47922
3871f58f
AS
479232011-10-27 Andreas Schwab <schwab@redhat.com>
47924
47925 [BZ #13344]
47926 * misc/sys/cdefs.h (__THROWNL): Define.
47927 * posix/unistd.h: Use __THREADNL instead of __THREAD
47928 for memory synchronization functions.
47929
94d44d9f
RM
479302011-10-26 Roland McGrath <roland@hack.frob.com>
47931
21b64b15 47932 [BZ #13349]
94d44d9f
RM
47933 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47934 doesn't exist.
47935 * manual/stdio.texi (Obstack Streams): Node removed.
47936
f6ce9294
AS
479372011-10-26 Andreas Schwab <schwab@redhat.com>
47938
80479147
AS
47939 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47940 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47941 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47942
f6ce9294
AS
47943 * math/math_private.h (math_force_eval): Allow non-addressable
47944 arguments.
47945 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47946
618280a1
UD
479472011-10-25 Ulrich Drepper <drepper@gmail.com>
47948
e0016b11
UD
47949 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47950 file is not needed.
47951
47952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47954 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47955 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47957 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47959 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47960 Add AVX variants.
47961 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47962 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47963 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47964 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47965 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47966 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47967 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47968 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47969 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47970 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47971 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47972 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47973 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47974 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47975 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47976 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47977 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47978 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47979 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47980
47981 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47982 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47983
618280a1
UD
47984 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47985 place. Use VEX encoding when compiling for AVX.
47986
37822576
AS
479872011-10-25 Andreas Schwab <schwab@redhat.com>
47988
1f1e1947
AS
47989 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47990 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47991
37822576
AS
47992 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47993
31ea014d
UD
479942011-10-25 Ulrich Drepper <drepper@gmail.com>
47995
d7826aa1 47996 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 47997 useless if() expression.
d7826aa1
UD
47998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48000 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48001 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48002 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48004 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48005 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48007 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48008 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48009 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48010 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48011 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48012 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48013 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48014 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48016 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48017
31ea014d
UD
48018 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48019
16437fec
AS
480202011-10-25 Andreas Schwab <schwab@redhat.com>
48021
48022 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48023 condition.
48024 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48025
31d3cc00
UD
480262011-10-25 Ulrich Drepper <drepper@gmail.com>
48027
48028 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48029 .text section. Avoid duplicate constants.
48030 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48038 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48039 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48040 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48042 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48046 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48047 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48050 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48051 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48053 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48054 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48055 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48056 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48057 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48058 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48059 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48060 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48061 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48062 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48063 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48064 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48065 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48066 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48067 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48068 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48069 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48070 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48071 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48072 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48073 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48074 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48075
58985aa9
UD
480762011-10-24 Ulrich Drepper <drepper@gmail.com>
48077
202c9deb
UD
48078 * sysdeps/x86_64/dla.h: Move to ...
48079 * sysdeps/x86_64/fpu/dla.h: ...here.
48080 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48081 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 48082
af968f62
UD
48083 * config.make.in: Add have-mfma4 entry.
48084 * configure.in: Substitute libc_cv_cc_fma4.
48085 * math/Makefile (dbl-only-routines): Add sincostab.
48086 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48087 Use __sincostab not sincos.
48088 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48089 name is a macro.
48090 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48094 using __copysign.
48095 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48096 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48097 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48098 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48099 and __inv.
48100 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48101 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48102 __copysign.
48103 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48104 define aliases when function name is a macro.
48105 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48106 sysdeps/ieee754/dbl-64/sincos.tbl.
48107 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48108 fma4-enabled routines.
48109 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48110 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48111 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48112 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48113 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48114 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48115 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48116 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48117 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48118 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48119 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48120 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48121 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48122 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48123 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48124 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48125 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48126 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48127 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48129 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48130 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48132 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48134 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48135 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48136 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48137 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48138 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48139
58985aa9
UD
48140 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48141 rename.
48142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48150
a201fbcf
AS
481512011-10-24 Andreas Schwab <schwab@redhat.com>
48152
48153 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48154
fc2ee42a
LD
481552011-10-23 Ulrich Drepper <drepper@gmail.com>
48156
bb3129bd
UD
48157 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48158
0275fff8
UD
48159 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48160 prediction.
48161 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48162
2fa2ae85
UD
48163 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48164 Remove unused variable magic_bits.
48165 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48166
fc2ee42a
LD
48167 * string/strnlen.c: Define and use STRNLEN macro.
48168 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48169 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48171 * wcsmbs/wcslen.c: Define and use WCSLEN.
48172 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48173 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48174 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48175 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48176 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48177 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48178 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48179
ce7dd29f
LD
481802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48181
48182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48183 strnlen-sse2-no-bsf.
48184 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48186 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48187 Add strnlen support.
48188 (USE_AS_STRNLEN): New macro.
48189 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48190 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48191 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48192 * sysdeps/x86_64/wcslen.S: New file.
48193
979c70a3
MZ
481942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48195
48196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48197 XMM-moves are used for copying on small sizes.
48198
2d09f82f
LD
481992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48200
48201 * wcsmbs/Makefile (strop-tests): Add wcschr.
48202 * wcsmbs/test-wcschr.c: New file.
48203 * string/test-strchr.c: Update.
48204 Add wcschr support.
48205 (WIDE): New macro.
48206
619fccca
LD
482072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48208
2d09f82f 48209 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48210 * wcsmbs/test-wcslen.c: New file.
48211 * string/test-strlen.c: Update.
48212 Add wcslen support.
48213 (WIDE): New macro.
48214
09f699ea
UD
482152011-10-23 Ulrich Drepper <drepper@gmail.com>
48216
48217 * po/it.po: Update from translation team.
48218
95584d3b
LD
482192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48220
48221 * sysdeps/x86_64/wcscmp.S: Update.
48222 Fix wrong comparison semantics.
48223 wcscmp shall use signed comparison not unsigned.
48224 Don't use substraction to avoid overflow bug.
48225 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48226 * wcsmbc/wcscmp.c: Likewise.
48227 * string/test-strcmp.c: Likewise.
48228 Add new tests to check cases with negative values.
48229
c8b3296b
UD
482302011-10-23 Ulrich Drepper <drepper@gmail.com>
48231
48232 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48233 * sysdeps/x86_64/dla.h: ...here. New file.
48234 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48243
246ad57a
AS
482442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48245
48246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48247 __ynl_finite aliases.
48248
a1a87169
UD
482492011-10-22 Ulrich Drepper <drepper@gmail.com>
48250
0d355eb7
UD
48251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48252
a1a87169
UD
48253 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48254 define DLA_FMA.
48255 [DLA_FMA] (EMULV): Use DLA_FMA.
48256 [DLA_FMA] (MUL12): Use EMULV.
48257 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48258 that are not needed.
48259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48266
ee2aafe0
AS
482672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48268
48269 * math/s_nan.c: Undef __nan.
48270 * math/s_nanf.c: Undef __nanf.
48271 * math/s_nanl.c: Undef __nanl.
48272 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48273 "math_private.h".
48274
bc62c2fb
UD
482752011-10-22 Ulrich Drepper <drepper@gmail.com>
48276
77425c63
UD
48277 * math/s_catan.c: Add branch predictions.
48278 * math/s_catanf.c: Likewise.
48279 * math/s_catanh.c: Likewise.
48280 * math/s_catanhf.c: Likewise.
48281 * math/s_catanhl.c: Likewise.
48282 * math/s_catanl.c: Likewise.
48283 * math/s_cexp.c: Likewise.
48284 * math/s_cexpf.c: Likewise.
48285 * math/s_cexpl.c: Likewise.
48286 * math/s_clog.c: Likewise.
48287 * math/s_clog10.c: Likewise.
48288 * math/s_clog10f.c: Likewise.
48289 * math/s_clog10l.c: Likewise.
48290 * math/s_clogf.c: Likewise.
48291 * math/s_clogl.c: Likewise.
48292 * math/s_csqrt.c: Likewise.
48293 * math/s_csqrtf.c: Likewise.
48294 * math/s_csqrtl.c: Likewise.
48295 * math/s_ctanf.c: Likewise.
48296 * math/s_ctanh.c: Likewise.
48297 * math/s_ctanhf.c: Likewise.
48298 * math/s_ctanhl.c: Likewise.
48299 * math/s_ctanl.c: Likewise.
48300
bc62c2fb
UD
48301 * math/math_private.h: Define __nan, __nanf, __nanl.
48302 * math/s_cacosh.c: Include <math_private.h>.
48303 * math/s_cacoshl.c: Likewise.
48304 * math/s_casinh.c: Likewise.
48305 * math/s_casinhf.c: Likewise.
48306 * math/s_casinhl.c: Likewise.
48307 * math/s_ccos.c: Rely entire on ccosh.
48308 * math/s_ccosf.c: Rely entire on ccoshf.
48309 * math/s_ccosl.c: Rely entirely on ccoshl.
48310 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48311 Remove tests for FE_INVALID.
48312 * math/s_ccoshf.c: Likewise.
48313 * math/s_ccoshl.c: Likewise.
48314 * math/s_csin.c: Likewise.
48315 * math/s_csinf.c: Likewise.
48316 * math/s_csinh.c Likewise.
48317 * math/s_csinhf.c: Likewise.
48318 * math/s_csinhl.c: Likewise.
48319 * math/s_csinl.c: Likewise.
48320 * math/s_ctan.c: Likewise.
48321 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48322 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48323 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48324
8ec250a4
UD
483252011-10-21 Ulrich Drepper <drepper@gmail.com>
48326
c196fed8
UD
48327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48328 compilation problems.
48329
8ec250a4
UD
48330 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48331 __builtin_expect.
48332
8d4f46c6
UD
483332011-10-20 Ulrich Drepper <drepper@gmail.com>
48334
ed72b654
UD
48335 * sysdeps/i386/configure.in: Test for -mfma4 option.
48336 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48337 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48338 COMMON_CPUID_INDEX_80000001.
48339 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48340 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48341 use it if FMA3 is not supported.
48342 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48343
8d4f46c6
UD
48344 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48345 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48346
d45c60c2
AS
483472011-10-20 Andreas Schwab <schwab@redhat.com>
48348
48349 [BZ #12892]
48350 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48351 it would create a cycle with a link time dependency.
48352
d9a4d2ab
UD
483532011-10-19 Ulrich Drepper <drepper@gmail.com>
48354
855d1560
UD
48355 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48356 instruction.
48357 * string/Makefile (strop-tests): Add rawmemchr.
48358 * string/test-rawmemchr.c: New file.
48359
d9a4d2ab
UD
48360 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48361 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48362 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48363 when compiling str{,n}casecmp and when AVX is available. Hook up
48364 new optimized code in initializers.
48365
8f3b1ffe
AS
483662011-10-19 Andreas Schwab <schwab@redhat.com>
48367
48368 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48369 __feraiseexcept instead of feraiseexcept.
48370
d38f1dba
UD
483712011-10-18 Ulrich Drepper <drepper@gmail.com>
48372
d9a8d0ab
UD
48373 * math/math_private.h: Define defaults for libc_fetestexcept and
48374 libc_feupdateenv.
48375 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48376 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48377 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48378 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48380 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48381 libc_fetestexcept and libc_feupdateenv.
48382
4855e3dd
UD
48383 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48384 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48385 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48386 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48387 libc_feholdexcept_setround.
48388
581d30e3
UD
48389 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48390 Add s_nearbyint-c and s_nearbyintf-c.
48391 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48392 nearbyintf inlines.
48393 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48394 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48395 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48396 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48397
d38f1dba
UD
48398 * math/math_private.h: Define defaults for libc_fegetround,
48399 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48400 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48401 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48402 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48403 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48404 standard functions.
48405 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48406 Remove comments and hacks for old compiler versions.
48407 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48408 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48409 libc_feholdexceptl.
48410
caa6c9d8
AS
484112011-10-18 Andreas Schwab <schwab@redhat.com>
48412
48413 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48414 (__feraiseexcept_renamed): Add __NTH.
48415 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48416 namespace violations.
48417
97c066e6
UD
484182011-10-17 Ulrich Drepper <drepper@gmail.com>
48419
99ce7b04
UD
48420 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48421
1004d182
UD
48422 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48423
228a984d
UD
48424 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48425 recently added interfaces.
48426 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48427
c8553a6a
UD
48428 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48429 about macro parameter expansion.
48430
ed22dcf6
UD
48431 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48432 __NO_MATH_INLINES is defined. Cleanups.
48433
48434 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48435 and __floorf is target has SSE4.1.
48436 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48437 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48438 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48439 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48440
b171c137
UD
48441 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48442 name.
48443 (floorf): Likewise.
48444
97c066e6
UD
48445 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48446
629f62ef
AS
484472011-10-17 Andreas Schwab <schwab@redhat.com>
48448
49a43d80
AS
48449 * misc/sys/cdefs.h: Fix last change.
48450
629f62ef
AS
48451 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48452 database lookup.
48453
e453f6cd
UD
484542011-10-16 Ulrich Drepper <drepper@gmail.com>
48455
aa78043a
UD
48456 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48457
ad0f5cad
UD
48458 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48459 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48462 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48463 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48465 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48466 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48467 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48468 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48469 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48470 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48471 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48472 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48473 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48474 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48475 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48476 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48477 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48478 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48479 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48480
48481 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48482 ceil, ceilf, floor, floorf.
48483
48484 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48485 Perform IRELATIVE relocations last.
48486
e453f6cd
UD
48487 * elf/do-rel.h: Add another parameter nrelative, replacing the
48488 local variable with the same name. Change name of the function
48489 to end in Rel or Rela (uppercase).
48490 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48491 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48492 elf_dynamic_do_##reloc function.
48493
fd5bdc09
UD
484942011-10-15 Ulrich Drepper <drepper@gmail.com>
48495
79b195b5
UD
48496 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48497 is sufficient, at least on modern CPUs.
48498
d4a28569
UD
48499 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48500
b61099b5
UD
48501 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48502 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48503
bcf01e6d
UD
48504 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48505 __expl_finite.
48506 * math/bits/math-finite.h: Add entries for exp.
48507 * math/e_expl.c: Add __*_finite alias.
48508 * sysdeps/i386/fpu/e_exp.S: Likewise.
48509 * sysdeps/i386/fpu/e_expf.S: Likewise.
48510 * sysdeps/i386/fpu/e_expl.c: Likewise.
48511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48512 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48515 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48516 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48517 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48518
ba1a0d59
UD
48519 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48520 is sufficient, at least on modern CPUs.
48521
fd5bdc09
UD
48522 * ctype/ctype-info.c (__ctype_init): Define.
48523 * include/ctype.h (__ctype_init): Declare.
48524 (__ctype_b_loc): The variable is always initialized.
48525 (__ctype_toupper_loc): Likewise.
48526 (__ctype_tolower_loc): Likewise.
48527 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48528 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48529
7872cfb0
AS
485302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48531
b468825a
AS
48532 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48533
7872cfb0
AS
48534 * configure.in: Also look in $cxxmachine/include for C++ system
48535 headers.
48536
be13f7bf
LD
485372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48538
48539 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48540 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48541 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48542 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48543 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48544 (USE_AS_WMEMCMP): New macro.
48545 Fixing indents.
48546 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48547 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48548 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48549 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48551 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48552 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48553 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48554 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48555 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48557 (USE_AS_WMEMCMP): New macro.
48558 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48559 * sysdeps/string/test-memcmp.c: Update.
48560 Fix simple_wmemcmp.
48561 Add new tests.
48562 * wcsmbs/wmemcmp.c: Update.
48563 (WMEMCMP): New macro.
48564 Fix overflow bug.
48565
556a2007
AJ
485662011-10-12 Andreas Jaeger <aj@suse.de>
48567
48568 [BZ #13268]
48569 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48570
538faaa7
UD
485712011-10-15 Ulrich Drepper <drepper@gmail.com>
48572
ab6737ff
UD
48573 * libio/iofwide.c (do_length): Avoid warning.
48574
538faaa7
UD
48575 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48576
396a21b1
UD
485772011-10-14 Ulrich Drepper <drepper@gmail.com>
48578
cdf2901f
UD
48579 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48580
38ad40ce
UD
48581 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48582 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48583 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48584 * sysdeps/i386/i686/fpu/e_log.S: New file.
48585 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48586 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48587
396a21b1
UD
48588 * ctype/ctype.h: Add support for inlined isXXX functions when
48589 compiling C++ code.
48590
6b1f68c9
AS
485912011-10-14 Andreas Schwab <schwab@redhat.com>
48592
349290c0
AS
48593 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48594
6b1f68c9
AS
48595 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48596
f2282d42
RM
485972011-10-13 Roland McGrath <roland@hack.frob.com>
48598
48599 [BZ #13291]
48600 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48601
5298ffa8
AS
486022011-10-13 Andreas Schwab <schwab@redhat.com>
48603
714fad23
AS
48604 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48605 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48606 feraiseexcept.
48607
81dcc7fb
AS
48608 * sysdeps/x86_64/memrchr.S: Check for zero size.
48609
5298ffa8
AS
48610 * string/stratcliff.c: Add memrchr tests.
48611
951fbcec
LD
486122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48613
48614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48615 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48616 rawmemchr-sse2 rawmemchr-sse2-bsf.
48617 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48618 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48619 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48620 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48621 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48622 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48623 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48624 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48625 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48626 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48627 * string/memrchr.c (MEMRCHR): New macro.
48628
0ac5ae23
UD
486292011-10-12 Ulrich Drepper <drepper@gmail.com>
48630
48631 Add integration with gcc's -ffinite-math-only and optimize wrapper
48632 functions in libm.
48633 * Versions.def: Define GLIBC_2.15 version for libm.
48634 * math/Makefile (headers): Add bits/math-finite.h.
48635 * math/bits/math-finite.h: New file.
48636 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48637 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48638 * math/e_acoshl.c: Add __*_finite alias.
48639 * math/e_acosl.c: Likewise.
48640 * math/e_asinl.c: Likewise.
48641 * math/e_atan2l.c: Likewise.
48642 * math/e_atanhl.c: Likewise.
48643 * math/e_coshl.c: Likewise.
48644 * math/e_exp10.c: Likewise.
48645 * math/e_exp10f.c: Likewise.
48646 * math/e_exp10l.c: Likewise.
48647 * math/e_exp2l.c: Likewise.
48648 * math/e_fmodl.c: Likewise.
48649 * math/e_gammal_r.c: Likewise.
48650 * math/e_hypotl.c: Likewise.
48651 * math/e_j0l.c: Likewise.
48652 * math/e_j1l.c: Likewise.
48653 * math/e_jnl.c: Likewise.
48654 * math/e_lgammal_r.c: Likewise.
48655 * math/e_log10l.c: Likewise.
48656 * math/e_log2l.c: Likewise.
48657 * math/e_logl.c: Likewise.
48658 * math/e_powl.c: Likewise.
48659 * math/e_sinhl.c: Likewise.
48660 * math/e_sqrtl.c: Likewise.
48661 * math/e_scalb.c: Completely rewritten and optimized.
48662 * math/e_scalbf.c: Likewise.
48663 * math/e_scalbl.c: Likewise.
48664 * math/w_acos.c: Likewise.
48665 * math/w_acosf.c: Likewise.
48666 * math/w_acosl.c: Likewise.
48667 * math/w_acosh.c: Likewise.
48668 * math/w_acoshf.c: Likewise.
48669 * math/w_acoshl.c: Likewise.
48670 * math/w_asin.c: Likewise.
48671 * math/w_asinf.c: Likewise.
48672 * math/w_asinl.c: Likewise.
48673 * math/w_atan2.c: Likewise.
48674 * math/w_atan2f.c: Likewise.
48675 * math/w_atan2l.c: Likewise.
48676 * math/w_atanh.c: Likewise.
48677 * math/w_atanhf.c: Likewise.
48678 * math/w_atanhl.c: Likewise.
48679 * math/w_exp10.c: Likewise.
48680 * math/w_exp10f.c: Likewise.
48681 * math/w_exp10l.c: Likewise.
48682 * math/w_fmod.c: Likewise.
48683 * math/w_fmodf.c: Likewise.
48684 * math/w_fmodl.c: Likewise.
48685 * math/w_j0.c: Likewise.
48686 * math/w_j0f.c: Likewise.
48687 * math/w_j0l.c: Likewise.
48688 * math/w_j1.c: Likewise.
48689 * math/w_j1f.c: Likewise.
48690 * math/w_j1l.c: Likewise.
48691 * math/w_jn.c: Likewise.
48692 * math/w_jnf.c: Likewise.
48693 * math/w_log.c: Likewise.
48694 * math/w_logf.c: Likewise.
48695 * math/w_logl.c: Likewise.
48696 * math/w_log10.c: Likewise.
48697 * math/w_log10f.c: Likewise.
48698 * math/w_log10l.c: Likewise.
48699 * math/w_log2.c: Likewise.
48700 * math/w_log2f.c: Likewise.
48701 * math/w_log2l.c: Likewise.
48702 * math/w_pow.c: Likewise.
48703 * math/w_powf.c: Likewise.
48704 * math/w_powl.c: Likewise.
48705 * math/w_remainder.c: Likewise.
48706 * math/w_remainderf.c: Likewise.
48707 * math/w_remainderl.c: Likewise.
48708 * math/w_scalb.c: Likewise.
48709 * math/w_scalbf.c: Likewise.
48710 * math/w_scalbl.c: Likewise.
48711 * math/w_sqrt.c: Likewise.
48712 * math/w_sqrtf.c: Likewise.
48713 * math/w_sqrtl.c: Likewise.
48714 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48715 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48716 used.
48717 * math/math_private.h: Declare __kernel_standard_f.
48718 * math/w_cosh.c: Remove cruft and optimize a bit.
48719 * math/w_coshf.c: Likewise.
48720 * math/w_coshl.c: Likewise.
48721 * math/w_exp2.c: Likewise.
48722 * math/w_exp2f.c: Likewise.
48723 * math/w_exp2l.c: Likewise.
48724 * math/w_hypot.c: Likewise.
48725 * math/w_hypotf.c: Likewise.
48726 * math/w_hypotl.c: Likewise.
48727 * math/w_lgamma.c: Likewise.
48728 * math/w_lgamma_r.c: Likewise.
48729 * math/w_lgammaf.c: Likewise.
48730 * math/w_lgammaf_r.c: Likewise.
48731 * math/w_lgammal.c: Likewise.
48732 * math/w_lgammal_r.c: Likewise.
48733 * math/w_sinh.c: Likewise.
48734 * math/w_sinhf.c: Likewise.
48735 * math/w_sinhl.c: Likewise.
48736 * math/w_tgamma.c: Likewise.
48737 * math/w_tgammaf.c: Likewise.
48738 * math/w_tgammal.c: Likewise.
48739 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48741 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48742 Minor optimizations. Pretty printing. Remove cruft.
48743 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48744 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48745 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48746 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48747 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48748 * sysdeps/i386/fpu/e_asin.S: Likewise.
48749 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48750 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48751 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48752 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48753 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48754 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48755 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48756 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48757 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48758 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48759 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48760 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48761 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48762 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48763 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48764 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48765 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48766 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48767 * sysdeps/i386/fpu/e_log.S: Likewise.
48768 * sysdeps/i386/fpu/e_log10.S: Likewise.
48769 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48770 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48771 * sysdeps/i386/fpu/e_log2.S: Likewise.
48772 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48773 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48774 * sysdeps/i386/fpu/e_logf.S: Likewise.
48775 * sysdeps/i386/fpu/e_logl.S: Likewise.
48776 * sysdeps/i386/fpu/e_pow.S: Likewise.
48777 * sysdeps/i386/fpu/e_powf.S: Likewise.
48778 * sysdeps/i386/fpu/e_powl.S: Likewise.
48779 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48780 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48781 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48782 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48783 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48784 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48785 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48786 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48787 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48788 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48789 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48791 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48792 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48793 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48794 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48795 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48796 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48797 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48798 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48799 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48801 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48802 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48804 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48805 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48806 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48808 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48809 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48810 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48812 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48813 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48814 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48815 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48816 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48817 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48818 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48819 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48821 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48822 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48823 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48824 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48825 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48826 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48827 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48828 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48829 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48830 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48831 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48833 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48834 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48835 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48836 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48838 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48839 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48843 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48844 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48845 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48846 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48847 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48848 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48854 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48856 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48857 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48858 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48859 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48860 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48862 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48863 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48864 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48865 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48866 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48867 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48868 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48869 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48870 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48871 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48872 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48873 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48874 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48875 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48876 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48877 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48878 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48879 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48880 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48881 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48882 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48883 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48884 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48885 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48886 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48887 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48888 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48889 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48890 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48891 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48892 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48896 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48897 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48898 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48899 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48900 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48901 (__isnanf): Likewise.
48902 (__isinf_ns): Likewise.
48903 (__isinf_nsf): Likewise.
48904 (__finite): Likewise.
48905 (__finitef): Likewise.
48906 (__ieee754_sqrt): Define as macro.
48907 (__ieee754_sqrtf): Define as macro.
48908 (__ieee754_sqrtl): Define as macro.
48909 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48910 inlined copy.
48911 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48912 __FINITE_MATH_ONLY__ consistent.
48913 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48914
12cc2fcd
AS
489152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48916
a843a204
AS
48917 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48918 of rawmemchr.
48919
12cc2fcd
AS
48920 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48921
c853acd5
UD
489222011-10-09 Ulrich Drepper <drepper@gmail.com>
48923
48924 * po/ja.po: Update from translation team.
48925
c658d255
RM
489262011-10-08 Roland McGrath <roland@hack.frob.com>
48927
110946e4
RM
48928 * locale/programs/locarchive.c (prepare_address_space): New function.
48929 (create_archive, enlarge_archive, open_archive): Use it.
48930
50604220
RM
48931 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48932 inside [SHARED], where it is used.
48933
c658d255
RM
48934 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48935
48936 * nss/getent.c (netgroup_keys): Remove unused variable.
48937 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48938
6a621eb7
UD
489392011-10-08 Ulrich Drepper <drepper@gmail.com>
48940
7edb55ce
UD
48941 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48942 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48944 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48945 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48946 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48947 * math/Makefile (libm-calls): Add s_isinf_ns.
48948 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48949 * math/multc3.c: Likewise.
48950 * math/s_casin.c: Likewise.
48951 * math/s_casinf.c: Likewise.
48952 * math/s_casinl.c: Likewise.
48953 * math/s_ccos.c: Likewise.
48954 * math/s_ccosf.c: Likewise.
48955 * math/s_ccosl.c: Likewise.
48956 * math/s_ctan.c: Likewise.
48957 * math/s_ctanf.c: Likewise.
48958 * math/s_ctanh.c: Likewise.
48959 * math/s_ctanhf.c: Likewise.
48960 * math/s_ctanhl.c: Likewise.
48961 * math/s_ctanl.c: Likewise.
48962 * math/w_fmod.c: Likewise.
48963 * math/w_fmodf.c: Likewise.
48964 * math/w_fmodl.c: Likewise.
48965 * math/w_remainder.c: Likewise.
48966 * math/w_remainderf.c: Likewise.
48967 * math/w_remainderl.c: Likewise.
48968 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48969 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48970 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48972 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48973 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48974 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48975 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48976
187da0ae
UD
48977 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48978 of the number.
48979 * stdio-common/printf_fphex.c: Likewise.
48980 * stdio-common/printf_size.c: Likewise.
48981
9277c064
UD
48982 * math/e_exp10.c: Include math_private.h using <...> not "...".
48983 * math/e_exp10f.c: Likewise.
48984 * math/e_exp10l.c: Likewise.
48985 * math/e_exp2l.c: Likewise.
48986 * math/e_j0l.c: Likewise.
48987 * math/e_j1l.c: Likewise.
48988 * math/e_jnl.c: Likewise.
48989 * math/e_lgammal_r.c: Likewise.
48990 * math/e_rem_pio2l.c: Likewise.
48991 * math/e_scalb.c: Likewise.
48992 * math/e_scalbf.c: Likewise.
48993 * math/e_scalbl.c: Likewise.
48994 * math/k_cosl.c: Likewise.
48995 * math/k_sinl.c: Likewise.
48996 * math/k_tanl.c: Likewise.
48997 * math/s_cacoshf.c: Likewise.
48998 * math/s_catan.c: Likewise.
48999 * math/s_catanf.c: Likewise.
49000 * math/s_catanh.c: Likewise.
49001 * math/s_catanhf.c: Likewise.
49002 * math/s_catanhl.c: Likewise.
49003 * math/s_catanl.c: Likewise.
49004 * math/s_ccosh.c: Likewise.
49005 * math/s_ccoshf.c: Likewise.
49006 * math/s_ccoshl.c: Likewise.
49007 * math/s_cexp.c: Likewise.
49008 * math/s_cexpf.c: Likewise.
49009 * math/s_cexpl.c: Likewise.
49010 * math/s_clog.c: Likewise.
49011 * math/s_clog10.c: Likewise.
49012 * math/s_clog10f.c: Likewise.
49013 * math/s_clog10l.c: Likewise.
49014 * math/s_clogf.c: Likewise.
49015 * math/s_clogl.c: Likewise.
49016 * math/s_csin.c: Likewise.
49017 * math/s_csinf.c: Likewise.
49018 * math/s_csinh.c: Likewise.
49019 * math/s_csinhf.c: Likewise.
49020 * math/s_csinhl.c: Likewise.
49021 * math/s_csinl.c: Likewise.
49022 * math/s_csqrt.c: Likewise.
49023 * math/s_csqrtf.c: Likewise.
49024 * math/s_csqrtl.c: Likewise.
49025 * math/s_ctan.c: Likewise.
49026 * math/s_ctanf.c: Likewise.
49027 * math/s_ctanh.c: Likewise.
49028 * math/s_ctanhf.c: Likewise.
49029 * math/s_ctanhl.c: Likewise.
49030 * math/s_ctanl.c: Likewise.
49031 * math/s_ldexp.c: Likewise.
49032 * math/s_ldexpf.c: Likewise.
49033 * math/s_ldexpl.c: Likewise.
49034 * math/s_significand.c: Likewise.
49035 * math/s_significandf.c: Likewise.
49036 * math/s_significandl.c: Likewise.
49037 * math/w_acos.c: Likewise.
49038 * math/w_acosf.c: Likewise.
49039 * math/w_acosh.c: Likewise.
49040 * math/w_acoshf.c: Likewise.
49041 * math/w_acoshl.c: Likewise.
49042 * math/w_acosl.c: Likewise.
49043 * math/w_asin.c: Likewise.
49044 * math/w_asinf.c: Likewise.
49045 * math/w_asinl.c: Likewise.
49046 * math/w_atan2.c: Likewise.
49047 * math/w_atan2f.c: Likewise.
49048 * math/w_atan2l.c: Likewise.
49049 * math/w_atanh.c: Likewise.
49050 * math/w_atanhf.c: Likewise.
49051 * math/w_atanhl.c: Likewise.
49052 * math/w_cosh.c: Likewise.
49053 * math/w_coshf.c: Likewise.
49054 * math/w_coshl.c: Likewise.
49055 * math/w_dremf.c: Likewise.
49056 * math/w_exp10.c: Likewise.
49057 * math/w_exp10f.c: Likewise.
49058 * math/w_exp10l.c: Likewise.
49059 * math/w_exp2.c: Likewise.
49060 * math/w_exp2f.c: Likewise.
49061 * math/w_fmod.c: Likewise.
49062 * math/w_fmodf.c: Likewise.
49063 * math/w_fmodl.c: Likewise.
49064 * math/w_hypot.c: Likewise.
49065 * math/w_hypotf.c: Likewise.
49066 * math/w_hypotl.c: Likewise.
49067 * math/w_j0.c: Likewise.
49068 * math/w_j0f.c: Likewise.
49069 * math/w_j0l.c: Likewise.
49070 * math/w_j1.c: Likewise.
49071 * math/w_j1f.c: Likewise.
49072 * math/w_j1l.c: Likewise.
49073 * math/w_jn.c: Likewise.
49074 * math/w_jnf.c: Likewise.
49075 * math/w_jnl.c: Likewise.
49076 * math/w_lgamma.c: Likewise.
49077 * math/w_lgamma_r.c: Likewise.
49078 * math/w_lgammaf.c: Likewise.
49079 * math/w_lgammaf_r.c: Likewise.
49080 * math/w_lgammal.c: Likewise.
49081 * math/w_lgammal_r.c: Likewise.
49082 * math/w_log.c: Likewise.
49083 * math/w_log10.c: Likewise.
49084 * math/w_log10f.c: Likewise.
49085 * math/w_log10l.c: Likewise.
49086 * math/w_log2.c: Likewise.
49087 * math/w_log2f.c: Likewise.
49088 * math/w_log2l.c: Likewise.
49089 * math/w_logf.c: Likewise.
49090 * math/w_logl.c: Likewise.
49091 * math/w_pow.c: Likewise.
49092 * math/w_powf.c: Likewise.
49093 * math/w_powl.c: Likewise.
49094 * math/w_remainder.c: Likewise.
49095 * math/w_remainderf.c: Likewise.
49096 * math/w_remainderl.c: Likewise.
49097 * math/w_scalb.c: Likewise.
49098 * math/w_scalbf.c: Likewise.
49099 * math/w_scalbl.c: Likewise.
49100 * math/w_sinh.c: Likewise.
49101 * math/w_sinhf.c: Likewise.
49102 * math/w_sinhl.c: Likewise.
49103 * math/w_sqrt.c: Likewise.
49104 * math/w_sqrtf.c: Likewise.
49105 * math/w_sqrtl.c: Likewise.
49106 * math/w_tgamma.c: Likewise.
49107 * math/w_tgammaf.c: Likewise.
49108 * math/w_tgammal.c: Likewise.
49109
6a621eb7
UD
49110 * po/ja.po: Update from translation team.
49111
bf582445
AJ
491122011-09-29 Andreas Jaeger <aj@suse.de>
49113
f9efbf3a
AJ
49114 [BZ #13179]
49115 * sunrpc/netname.c (netname2host): Fix logic.
49116
bf582445
AJ
49117 [BZ #6779]
49118 [BZ #6783]
49119 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49120 correctly.
49121 * math/w_remainder.c (__remainder): Likewise.
49122 * math/w_remainderf.c (__remainderf): Likewise.
49123 * math/libm-test.inc (remainder_test): Add test cases.
49124
48693bea
AK
491252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49126
49127 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49128 sdiv_qrnnd.
49129
42622229
LD
491302011-10-07 Ulrich Drepper <drepper@gmail.com>
49131
49132 * string/test-memcmp.c: Avoid unncessary #defines.
49133 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49134
093ecf92
LD
491352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49136
49137 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49138 Use new sse2 version for core i3 - i7 as it's faster
49139 than sse42 version.
49140 (bit_Prefer_PMINUB_for_stringop): New.
49141 * sysdeps/x86_64/rawmemchr.S: Update.
49142 Replace with faster SSE2 version.
49143 * sysdeps/x86_64/memrchr.S: New file.
49144 * sysdeps/x86_64/memchr.S: Update.
49145 Replace with faster SSE2 version.
49146
fde56e5c
MP
491472011-09-12 Marek Polacek <mpolacek@redhat.com>
49148
49149 * elf/dl-load.c (lose): Add cast to avoid warning.
49150
21fd49a9
UD
491512011-10-07 Ulrich Drepper <drepper@gmail.com>
49152
5a06e643
UD
49153 * po/ca.po: Update from translation team.
49154
684ae515
UD
49155 * inet/getnetgrent_r.c: Hook up nscd.
49156 * nscd/Makefile (routines): Add nscd_netgroup.
49157 (nscd-modules): Add netgroupcache.
49158 (CFLAGS-netgroupcache.c): Define.
49159 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49160 (cache_search): Add const to second parameter.
49161 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49162 INNETGR.
49163 (dbs): Add netgrdb entry.
49164 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49165 (verify_persistent_db): Handle netgrdb.
49166 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49167 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49168 GETFDNETGR.
49169 (netgroup_response_header): Define.
49170 (innetgroup_response_header): Define.
49171 (datahead): Add netgroup_response_header and innetgroup_response_header
49172 elements.
49173 * nscd/nscd.conf: Add entries for netgroup cache.
49174 * nscd/nscd.h (dbtype): Add netgrdb.
49175 (_PATH_NSCD_NETGROUP_DB): Define.
49176 (netgroup_iov_disabled): Declare.
49177 (xmalloc, xcalloc, xrealloc): Move declarations here.
49178 (cache_search): Adjust prototype.
49179 Add netgroup-related prototypes.
49180 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49181 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49182 (__nscd_innetgr): Declare.
49183 * nscd/selinux.c (perms): Use access_vector_t as element type and
49184 add netgroup-related initializers.
49185 * nscd/netgroupcache.c: New file.
49186 * nscd/nscd_netgroup.c: New file.
49187 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49188 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49189 For four parameters use innetgr.
49190 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49191 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49192 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49193 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49194
21fd49a9
UD
49195 * nscd/connections.c (register_traced_file): Don't register file
49196 for disabled databases.
49197
054c0457
UD
491982011-10-06 Ulrich Drepper <drepper@gmail.com>
49199
32b63198
UD
49200 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49201
054c0457
UD
49202 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49203 from tree and freeing node.
49204
64031225
JO
492052011-09-25 Jiri Olsa <jolsa@redhat.com>
49206
49207 * nss/nsswitch.c (__nss_database_lookup): Handle
49208 nss_parse_service_list out of memory case.
49209
0490345c
JO
492102011-09-15 Jiri Olsa <jolsa@redhat.com>
49211
49212 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49213 out of memory case.
49214
3a62d00d
AS
492152011-10-04 Andreas Schwab <schwab@redhat.com>
49216
49217 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49218 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49219 pass it down.
49220 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49221 elf_machine_rela, elf_machine_lazy_rel.
49222 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49223 (ELF_DYNAMIC_DO_REL): Likewise.
49224 (ELF_DYNAMIC_DO_RELA): Likewise.
49225 (ELF_DYNAMIC_RELOCATE): Likewise.
49226 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49227 to ELF_DYNAMIC_DO_REL.
49228 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49229 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49230 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49231 elf_machine_rela.
49232 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49233 skip_ifunc, don't call ifunc function if non-zero.
49234 (elf_machine_rela): Likewise.
49235 (elf_machine_lazy_rel): Likewise.
49236 (elf_machine_lazy_rela): Likewise.
49237 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49238 (elf_machine_lazy_rel): Likewise.
49239 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49240 Likewise.
49241 (elf_machine_lazy_rel): Likewise.
49242 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49243 Likewise.
49244 (elf_machine_lazy_rel): Likewise.
49245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49246 (elf_machine_lazy_rel): Likewise.
49247 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49248 (elf_machine_lazy_rel): Likewise.
49249 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49250 (elf_machine_lazy_rel): Likewise.
49251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49252 (elf_machine_lazy_rel): Likewise.
49253 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49254 (elf_machine_lazy_rel): Likewise.
49255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49256 (elf_machine_lazy_rel): Likewise.
49257
68577918
UD
492582011-09-28 Ulrich Drepper <drepper@gmail.com>
49259
49260 * nss/nss_files/files-init.c (_nss_files_init): Use static
49261 initialization for all the *_traced_file variables.
49262
68822d74
AS
492632011-09-28 Andreas Schwab <schwab@redhat.com>
49264
49265 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49266
2056100b
RM
492672011-09-27 Roland McGrath <roland@hack.frob.com>
49268
49269 [BZ #13226]
49270 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49271
32c76b63
AS
492722011-09-27 Andreas Schwab <schwab@redhat.com>
49273
49274 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49275 Reread the line before reparsing it.
49276
bf972c9d
AS
492772011-09-26 Andreas Schwab <schwab@redhat.com>
49278
49279 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49280
e057a1b5
JM
492812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49282 Maxim Kuvyrkov <maxim@codesourcery.com>
49283 Joseph Myers <joseph@codesourcery.com>
49284
49285 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49286 if needed for __stack_chk_guard.
49287
bc7e1c36
RM
492882011-09-19 Roland McGrath <roland@hack.frob.com>
49289
ecb1482f
RM
49290 * sysdeps/posix/spawni.c (script_execute): Always define it.
49291 It will be optimized away if unused.
49292 (maybe_script_execute): New function.
49293 (__spawni): Call it.
49294
bc7e1c36
RM
49295 * Makerules: Don't include tls.make.
49296 (config-tls): Always set to thread.
49297 * tls.make.c: File removed.
49298
1c3b002b
MF
492992011-09-19 Mike Frysinger <vapier@gentoo.org>
49300
49301 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49302 * config.make.in (CPPFLAGS-config): New substituted variable.
49303
2840865d
UD
493042011-09-15 Ulrich Drepper <drepper@gmail.com>
49305
88738eb6
UD
49306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49307
cbf645a6 49308 [BZ #13192]
2840865d
UD
49309 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49310 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49311
b402e91a
RM
493122011-09-15 Roland McGrath <roland@hack.frob.com>
49313
49314 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49315 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49317 (CALL_FAIL): Likewise.
49318 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49319 (CALL_FAIL): Macro removed.
49320 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49321
4c1a1f71
UD
493222011-09-15 Ulrich Drepper <drepper@gmail.com>
49323
49324 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49325 for __FINITE_MATH_ONLY__ == 1.
49326
edc121be
AS
493272011-09-15 Andreas Schwab <schwab@redhat.com>
49328
49329 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49330 __ieee754_sqrt instead of sqrt.
49331 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49332 __ieee754_sqrtf instead of sqrtf.
49333 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49334 __floorf instead of floorf.
49335 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49336 __floorf, __truncf instead of floorf, truncf.
49337
cd205654
UD
493382011-09-14 Ulrich Drepper <drepper@gmail.com>
49339
ee4d0315
UD
49340 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49341
cd205654
UD
49342 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49343 __extern_always_inline.
49344 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49345 32-bit.
49346
48b67d71
AS
493472011-09-14 Andreas Schwab <schwab@redhat.com>
49348
49349 * elf/rtld.c (dl_main): Also relocate in dependency order when
49350 doing symbol dependency testing.
49351
1ae12c75
AS
493522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49353
49354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49355 Always define `refsym'.
49356
995a80df
AS
493572011-09-13 Andreas Schwab <schwab@redhat.com>
49358
e529793b
AS
49359 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49360 (__FD_ELT): Renamed from __FDELT.
49361 * misc/bits/select2.h (__FD_ELT): Likewise.
49362 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49363 __FD_MASK instead of __FDELT, __FDMASK.
49364 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49365 Likewise.
49366 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49367 Likewise.
49368
52d4fef8
AS
49369 * elf/Makefile (gen-ldd): Fix pattern.
49370
995a80df
AS
49371 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49372 (init_tls): Likewise.
49373
8682f8b0
UD
493742011-09-12 Ulrich Drepper <drepper@gmail.com>
49375
49376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49377
de82006d
AS
493782011-09-12 Andreas Schwab <schwab@redhat.com>
49379
a7c8e6a1
AS
49380 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49381 `struct cmsghdr *' instead of `void *'.
49382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49383 Likewise.
49384
0f31fe77
AS
493852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49386
49387 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49388 if non-absolute.
49389 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49390 ldd_rewrite_script.
0f31fe77 49391
32b4c839
UD
493922011-09-11 Ulrich Drepper <drepper@gmail.com>
49393
83cd1420
UD
49394 * configure.in: Remove --with-tls option.
49395 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49396 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49397 out in case it is missing.
49398 * sysdeps/ia64/elf/configure.in: Likewise.
49399 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49400 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49401 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49402 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49403 * sysdeps/sh/elf/configure.in: Likewise.
49404 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49405 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49406 * sysdeps/x86_64/elf/configure.in: Likewise.
49407 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49408 * sysdeps/mach/hurd/tls.h: Likewise.
49409
633f745d
UD
49410 [BZ #13067]
49411 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49412
f318beb8
UD
49413 [BZ #13090]
49414 * configure.in: Fix use of AC_INIT.
49415
32b4c839
UD
49416 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49417
3ce1f295
UD
494182011-09-10 Ulrich Drepper <drepper@gmail.com>
49419
bb016596
UD
49420 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49421 __set_errno.
8e58439c
UD
49422 * malloc/hooks.c: Likewise.
49423
aebae053 49424 [BZ #11929]
02d46fc4
UD
49425 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49426 variables statically.
49427 (narenas): Initialize.
49428 (list_lock): Initialize.
bb016596
UD
49429 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49430 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49431 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49432 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49433 Add initializers to main_arena and mp_.
49434 (malloc_state): Remove pagesize member. Change all users to use
49435 GLRO(dl_pagesize).
49436
49437 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49438 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49439 is always initialized.
49440
22a89187
UD
49441 * malloc/malloc.c: Removed unused configurations and dead code.
49442 * malloc/arena.c: Likewise.
49443 * malloc/hooks.c: Likewise.
02d46fc4 49444 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49445
d063d164
UD
49446 * include/tls.h: Removed. USE___THREAD must always be defined.
49447 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49448 * elf/dl-libc.c: Likewise.
49449 * elf/dl-tsd.c: Likewise.
49450 * include/errno.h: Likewise.
49451 * include/netdb.h: Likewise.
49452 * include/resolv.h: Likewise.
49453 * inet/herrno-loc.c: Likewise.
49454 * inet/herrno.c: Likewise.
49455 * malloc/arena.c: Likewise.
49456 * malloc/hooks.c: Likewise.
49457 * malloc/malloc.c: Likewise.
49458 * resolv/res-state.c: Likewise.
49459 * resolv/res_libc.c: Likewise.
49460 * sysdeps/i386/dl-machine.h: Likewise.
49461 * sysdeps/ia64/dl-machine.h: Likewise.
49462 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49463 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49464 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49465 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49466 * sysdeps/sh/dl-machine.h: Likewise.
49467 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49468 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49469 * sysdeps/unix/i386/sysdep.S: Likewise.
49470 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49471 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49475 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49476 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49478 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49480 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49481 * sysdeps/x86_64/dl-machine.h: Likewise.
49482 * tls.make.c: Likewise.
49483
3ce1f295
UD
49484 * configure.in: Remove --with-__thread option. Make tests for
49485 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49486 tls_model attribute fail if no support is available. Remove
49487 USE_IN_LIBIO.
49488 * Makeconfig: Adjust for dropped configure option. All features are
49489 now mandatory.
49490 * Makerules: Likewise.
49491 * Versions.def: Likewise.
49492 * argp/argp-fmtstream.c: Likewise.
49493 * argp/argp-fmtstream.h: Likewise.
49494 * argp/argp-help.c: Likewise.
49495 * assert/assert.c: Likewise.
49496 * config.h.in: Likewise.
49497 * config.make.in: Likewise.
49498 * configure: Likewise.
49499 * configure.in: Likewise.
49500 * csu/Versions: Likewise.
49501 * csu/init.c: Likewise.
49502 * elf/tst-audit2.c: Likewise.
49503 * elf/tst-tls10.c: Likewise.
49504 * elf/tst-tls10.h: Likewise.
49505 * elf/tst-tls11.c: Likewise.
49506 * elf/tst-tls12.c: Likewise.
49507 * elf/tst-tls14.c: Likewise.
49508 * elf/tst-tlsmod11.c: Likewise.
49509 * elf/tst-tlsmod12.c: Likewise.
49510 * elf/tst-tlsmod13.c: Likewise.
49511 * elf/tst-tlsmod13a.c: Likewise.
49512 * elf/tst-tlsmod14a.c: Likewise.
49513 * elf/tst-tlsmod15b.c: Likewise.
49514 * elf/tst-tlsmod16a.c: Likewise.
49515 * elf/tst-tlsmod16b.c: Likewise.
49516 * elf/tst-tlsmod7.c: Likewise.
49517 * elf/tst-tlsmod8.c: Likewise.
49518 * elf/tst-tlsmod9.c: Likewise.
49519 * gmon/gmon.c: Likewise.
49520 * grp/fgetgrent_r.c: Likewise.
49521 * grp/putgrent.c: Likewise.
49522 * hurd/fopenport.c: Likewise.
49523 * include/libc-symbols.h: Likewise.
49524 * include/tls.h: Likewise.
49525 * intl/gettextP.h: Likewise.
49526 * intl/loadinfo.h: Likewise.
49527 * locale/global-locale.c: Likewise.
49528 * locale/localeinfo.h: Likewise.
49529 * mach/devstream.c: Likewise.
49530 * malloc/arena.c: Likewise.
49531 * malloc/set-freeres.c: Likewise.
49532 * misc/err.c: Likewise.
49533 * misc/getttyent.c: Likewise.
49534 * misc/mntent_r.c: Likewise.
49535 * posix/getopt.c: Likewise.
49536 * posix/wordexp.c: Likewise.
49537 * pwd/fgetpwent_r.c: Likewise.
49538 * resolv/Versions: Likewise.
49539 * resolv/res_hconf.c: Likewise.
49540 * shadow/fgetspent_r.c: Likewise.
49541 * shadow/putspent.c: Likewise.
49542 * stdio-common/printf_fphex.c: Likewise.
49543 * stdio-common/tmpfile.c: Likewise.
49544 * stdlib/abort.c: Likewise.
49545 * stdlib/fmtmsg.c: Likewise.
49546 * sunrpc/auth_unix.c: Likewise.
49547 * sunrpc/clnt_perr.c: Likewise.
49548 * sunrpc/clnt_tcp.c: Likewise.
49549 * sunrpc/clnt_udp.c: Likewise.
49550 * sunrpc/clnt_unix.c: Likewise.
49551 * sunrpc/openchild.c: Likewise.
49552 * sunrpc/svc_simple.c: Likewise.
49553 * sunrpc/svc_tcp.c: Likewise.
49554 * sunrpc/svc_udp.c: Likewise.
49555 * sunrpc/svc_unix.c: Likewise.
49556 * sunrpc/xdr.c: Likewise.
49557 * sunrpc/xdr_array.c: Likewise.
49558 * sunrpc/xdr_rec.c: Likewise.
49559 * sunrpc/xdr_ref.c: Likewise.
49560 * sunrpc/xdr_stdio.c: Likewise.
49561
1248c1c4
PB
495622011-09-09 Ulrich Drepper <drepper@gmail.com>
49563
49564 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49565
495662011-07-03 Andreas Jaeger <aj@suse.de>
49567
49568 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49569 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49570 regenerate with gen-libm-tests.pl.
49571
495722010-05-12 Petr Baudis <pasky@suse.cz>
49573
49574 [BZ #11589]
49575 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49576 around j0() zero points by switching to j1().
49577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49578 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49579 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49580 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49581
f22e1074
UD
495822011-09-09 Ulrich Drepper <drepper@gmail.com>
49583
f19009c1
UD
49584 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49585 instead of 0.
49586 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49587 instead of 0.
f19009c1
UD
49588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49589 Patch in part by Pavel Roskin <proski@gnu.org>.
49590
3f8cc204
UD
49591 [BZ #13138]
49592 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49593 realloc.
49594 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49595 Free memory block if necessary.
49596
f22e1074
UD
49597 [BZ #12847]
49598 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49599 be NULL. Don't lock in this case.
49600
0a2349f9
RM
496012011-09-09 Roland McGrath <roland@hack.frob.com>
49602
49603 * elf/elf.h (ELFOSABI_GNU): New macro.
49604 (ELFOSABI_LINUX): Define to that.
49605
f3cdd467
DZ
496062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49607
49608 * string/strncat.c (strncat): Undef the symbol in case it has been
49609 defined in bits/string.h.
49610
74718d13
UD
496112011-09-09 Ulrich Drepper <drepper@gmail.com>
49612
633e9e0f
UD
49613 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49614
0a2349f9 49615 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49616 link map.
49617
f9924780
AJ
496182011-08-17 Andreas Jaeger <aj@suse.de>
49619
49620 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49621
7f5517aa
PP
496222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49623 Ian Lance Taylor <iant@google.com>
49624
49625 * math/libm-test.inc (lround_test): New testcase.
49626 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49627
762011fe
UD
496282011-09-08 Ulrich Drepper <drepper@gmail.com>
49629
92963737
UD
49630 * Makefile: Remove support for automatic cvs check-ins.
49631 * Makerules: Likewise.
49632 * config.make.in: Likewise.
49633 * configure.in: Likewise.
49634 * intl/Makefile: Likewise.
49635 * locale/Makefile: Likewise.
49636 * po/Makefile: Likewise.
49637 * posix/Makefile: Likewise.
49638 * sysdeps/gnu/Makefile: Likewise.
49639 * sysdeps/mach/hurd/Makefile: Likewise.
49640 * sysdeps/sparc/sparc32/Makefile: Likewise.
49641
b0727fd8
JS
49642 [BZ #13118]
49643 * posix/Makefile (bug-regex32-ENV): Define.
49644 Patch by John Stanley <jpsinthemix@verizon.net>.
49645
a0f33f99
UD
49646 * misc/Makefile (headers): Add bits/select2.h.
49647 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49648 * misc/bits/select2.h: New file.
49649 * include/bits/select2.h: New file.
49650 * debug/Makefile (routines): Add fdelt_chk.
49651 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49652 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49653 FD_ISSET.
49654 * debug/fdelt_chk.c: New file.
49655
762011fe
UD
49656 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49657 * wcsmbs/test-wmemcmp.c: Likewise.
49658 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49659 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49660
496612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49662
49663 * string/Makefile (strop-tests): Add memcmp.
49664 * string/test-wmemcmp.c: New file.
49665 * string/test-memcmp.c: Add wmemcmp support.
49666
7f513ec8
RM
496672011-09-08 Roland McGrath <roland@hack.frob.com>
49668
0442afb4
RM
49669 [BZ #13153]
49670 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49671 2011-07-19 change.
49672
7f513ec8
RM
49673 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49674 garbage value in a __mach_port_mod_refs call in the cases of the
49675 task-self and thread-self ports.
49676
a12b2239
ST
496772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49678
49679 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49680
610f9ab4
AS
496812011-09-08 Andreas Schwab <schwab@redhat.com>
49682
7f513ec8 49683 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49684
48882a1a
LD
496852011-09-07 Ulrich Drepper <drepper@gmail.com>
49686
b49865be
UD
49687 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49688
fdc86bc9
UD
49689 * elf/dl-libc.c (dlerror_run): Pass back error code from
49690 dl_catch_error.
49691
c966526a
UD
49692 [BZ #13123]
49693 * elf/dl-load.c (lose): Free l_origin if it is valid.
49694
48882a1a
LD
49695 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49696 names.
49697 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49698 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49700 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49701 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49702 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49703
77a2a8b4
AZ
497042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49705
49706 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49707 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49708 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49709 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49710 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49711 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49712 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49713 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49714 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49715 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49716
24f579d8
AM
497172011-08-15 Alan Modra <amodra@gmail.com>
49718
49719 [BZ #13092]
49720 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49721 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49722 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49723 ppc_mcount to static-only-routines.
49724 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49725 __mcount_internal.
49726 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49727 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49728
3d4837df
UD
497292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49730
49731 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49732 for finite and infinity parameters.
49733
22700377
WS
497342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49735
49736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49737 and add nop instructions for throughput optimization.
49738 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49739
5025581e
WS
497402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49741
49742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49743 aligned copy for power7 with vector-scalar instructions.
49744 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49745
08a300c9
L
497462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49747
49748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49749 AVX check.
49750
59178ef9
AS
497512011-09-07 Andreas Schwab <schwab@redhat.com>
49752
49753 [BZ #13144]
49754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49755 last change.
49756
e38ba7ab
UD
497572011-09-07 Ulrich Drepper <drepper@gmail.com>
49758
49759 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49760 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49761 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49762 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49763 clock_gettime.
49764
d53a73ac
UD
497652011-09-06 Ulrich Drepper <drepper@gmail.com>
49766
fc8bffcc
UD
49767 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49768 Forgot to demangle the pointer.
49769
ceaa0c5d
UD
49770 * sysdeps/i386/sysdep.h: Define atom_text_section.
49771 * sysdeps/x86_64/sysdep.h: Likewise.
49772 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49773 section with atom_text_section.
49774 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49775 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49776 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49778 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49779
a77d3c17
UD
49780 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49782 already be defined. Change to take two parameters and don't assign
49783 result to variable. Adjust all users.
49784 Define INTERNAL_GETTIME if not already defined.
49785 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49786 call.
49787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49788 HAVE_CLOCK_GETTIME_VSYSCALL.
49789 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49790
d53a73ac
UD
49791 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49792 gettimeofday vsyscall, just use time.
49793
a8f84144
AS
497942011-09-06 Andreas Schwab <schwab@redhat.com>
49795
49796 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49797 <errno.h>.
49798
ef606249
UD
497992011-09-06 Ulrich Drepper <drepper@gmail.com>
49800
49801 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49802 syscall on x86-64.
49803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49804 syscall.
49805 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49806 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49807 syscall if possible.
49808
6585cb60
UD
498092011-09-05 Ulrich Drepper <drepper@gmail.com>
49810
49811 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49812 e_ident. Don't pass to find_mapsXX.
49813 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49814
a5f524e4
LD
498152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49816
49817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49818 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49819 * sysdeps/x86_64/multiarch/strchr.S: Update.
49820 Check bit_slow_BSF bit.
49821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49822 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49823 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49824
554881ef
UD
498252011-09-05 Ulrich Drepper <drepper@gmail.com>
49826
d96de963
UD
49827 [BZ #13134]
49828 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49829 before glibc 2.15.
49830 (tryshell): Define.
49831 (__spawni): Change last parameter to be flag. Test
49832 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49833 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49834 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49835 * posix/spawni.c: Likewise.
49836 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49837 * posix/spawnp.c: Likewise. Change normal version to use
49838 SPAWN_XFLAGS_USE_PATH.
49839 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49840 SPAWN_XFLAGS_TRY_SHELL.
49841
d48e5868
UD
49842 [BZ #13150]
49843 * posix/glob.h: Remove gcc 1.x support.
49844
554881ef
UD
49845 [BZ #13068]
49846 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49847
693fb948
LD
498482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49849
49850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49851 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49852 strrchr-sse2-bsf
49853 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49854 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49855 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49856 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49857 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49858 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49859
1b48c537
UD
498602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49861
49d42c37
UD
49862 * sysdeps/x86_64/wcscmp.S: New file.
49863
1b48c537
UD
49864 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49865 wcscmp-c wcscmp-sse2
49866 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49867 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49868 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49869 * wcsmbs/wcscmp.c: Allow renaming.
49870
15c95c5d
DM
498712011-09-05 David S. Miller <davem@davemloft.net>
49872
49873 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49874 stack slot, rather than the struct return pointer slot.
49875 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49876 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49878 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49879
2f0ad8f3
UD
498802011-09-05 Ulrich Drepper <drepper@gmail.com>
49881
d88ae418
UD
49882 * po/ja.po: Update from translation team.
49883
2f0ad8f3
UD
49884 [BZ #13144]
49885 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49886 kernel in 64-bit binaries.
49887
5f4318d1
DM
498882011-09-01 David S. Miller <davem@davemloft.net>
49889
49890 * elf/elf.h (HWCAP_SPARC_*): Move to..
49891 * sysdeps/sparc/sysdep.h: this new file and add new values.
49892 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49893 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49894 _DL_HWCAP_COUNT to 24.
49895 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49896 entries.
49897 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49898 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49899 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49901 instead of magic constants.
49902 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49903
3ba57516
DM
499042011-08-31 David S. Miller <davem@davemloft.net>
49905
49906 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49908 Reimplement to do errno handling inline.
49909 (SYSCALL_ERROR_HANDLER): New macro.
49910 (__SYSCALL_STRING): Do not do errno handling in asm.
49911 (__CLONE_SYSCALL_STRING): Delete.
49912 (__INTERNAL_SYSCALL_STRING): Delete.
49913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49914 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49915 (PSEUDO): Reimplement to do errno handling inline.
49916 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49917 (SYSCALL_ERROR_HANDLER): New macro.
49918 (__SYSCALL_STRING): Do not do errno handling in asm.
49919 (__CLONE_SYSCALL_STRING): Delete.
49920 (__INTERNAL_SYSCALL_STRING): Delete.
49921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49922 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49923 i386.
49924 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49925 (inline_syscall*): Add 'err' argument.
49926 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49927 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49928 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49929 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49930
49931 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49932 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49933
2bc17433
AS
499342011-08-30 Andreas Schwab <schwab@redhat.com>
49935
49936 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49937
fbeb5f4d
JO
499382011-08-29 Jiri Olsa <jolsa@redhat.com>
49939
49940 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49941 directive.
49942
ad69cc26
DM
499432011-08-24 David S. Miller <davem@davemloft.net>
49944
49945 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49946
39dd69df
AS
499472011-08-24 Andreas Schwab <schwab@redhat.com>
49948
49949 * elf/Makefile: Add rules to build and run unload8 test.
49950 * elf/unload8.c: New file.
49951 * elf/unload8mod1.c: New file.
49952 * elf/unload8mod1x.c: New file.
49953 * elf/unload8mod2.c: New file.
49954 * elf/unload8mod3.c: New file.
49955
49956 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49957 it wasn't used.
49958
2c0b250a
DM
499592011-08-23 David S. Miller <davem@davemloft.net>
49960
49961 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49962 subtract stack bias.
49963 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49964 %sp not %fp in calculations.
49965 (_JMPBUF_UNWINDS_ADJ): Likewise.
49966
22044b48
DM
49967 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49968 (aio_suspend): Call it to force an exception region around the
49969 AIO_MISC_WAIT() invocation.
49970
2cae4995
AS
499712011-08-23 Andreas Schwab <schwab@redhat.com>
49972
49973 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49974 backslash.
49975
873a772e
AJ
499762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49977
49978 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49979 protection macro.
49980 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49981 and <dl-machine.h>.
49982 (Elf64_FuncDesc): Remove.
49983
25ad0df1
DM
499842011-08-22 David S. Miller <davem@davemloft.net>
49985
49986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49987 sigaltstack check, add missing cfi directives.
49988 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49989 missing cfi directives, and sigaltstack handling.
49990
e888bcbe
AS
499912011-08-16 Andreas Schwab <schwab@redhat.com>
49992
49993 [BZ #11724]
49994 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49995 object is seen twice.
49996 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49997
49998 * elf/Makefile (distribute): Add tst-initorder2.c.
49999 (tests): Add tst-initorder2.
50000 (modules-names): Add tst-initorder2a tst-initorder2b
50001 tst-initorder2c tst-initorder2d. Add rules to build them.
50002 ($(objpfx)tst-initorder2.out): New rule.
50003 * elf/tst-initorder2.c: New file.
50004 * elf/tst-initorder2.exp: New file.
50005
87162f46
AS
500062011-08-22 Andreas Schwab <schwab@redhat.com>
50007
70538b7f
AS
50008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50009
f55ffe58
AS
50010 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50011 dependencies back to end of function.
50012
87162f46
AS
50013 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50014 $(elfobjdir)/ld.so.
50015
91b392a4
UD
500162011-08-21 Ulrich Drepper <drepper@gmail.com>
50017
50018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50019 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50021 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50022 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50023 of __vdso_gettimeofday.
50024 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50025 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50026 attribute_hidden.
50027 (_libc_vdso_platform_setup): Remove initialization of
50028 __vdso_gettimeofday and __vdso_time.
50029
5c43483f
UD
500302011-08-20 Ulrich Drepper <drepper@gmail.com>
50031
775a77e7
UD
50032 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50033 and fgetc_unlocked.
50034 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50035 getc_unlocked.
89f447ed 50036
49c74ba9
UD
50037 * elf/dl-open.c (add_to_global): Report additions to the global scope
50038 for LD_DEBUG=scopes.
50039 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 50040 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 50041
5c43483f
UD
50042 [BZ #13114]
50043 * stdio-common/Makefile (tests): Add bug24.
50044 * stdio-common/bug24.c: New file.
50045
a101b025
AJ
500462011-08-19 Andreas Jaeger <aj@suse.de>
50047
50048 [BZ #13114]
50049 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50050 non-existant file when using close-on-exec mode.
50051
c88f1766
UD
500522011-08-20 Ulrich Drepper <drepper@gmail.com>
50053
0276a718
UD
50054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50055 the very first instruction.
50056
c88f1766
UD
50057 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50058 the CFI state in the end.
50059 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50060 inclusion of dl-trampoline.h.
50061 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50062
51ccffa0
AS
500632011-08-19 Andreas Schwab <schwab@redhat.com>
50064
94d7165f
AS
50065 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50066 expectations for long double.
50067
51ccffa0
AS
50068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50069 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50070
fd708658 500712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
50072
50073 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50074 artificual limit depends upon the system page size.
50075
44f0a71e
UD
500762011-08-17 Ulrich Drepper <drepper@gmail.com>
50077
50078 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50079 * resolv/Makefile: Define CFLAGS-libresolv.
50080
8de79a24
AS
500812011-08-17 Andreas Schwab <schwab@redhat.com>
50082
50083 * nss/makedb.c (compute_tables): Make variables used in nested
50084 function static.
50085
27724598
UD
500862011-08-17 Ulrich Drepper <drepper@gmail.com>
50087
c5305d88
UD
50088 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50089 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50090 if buffer was too small.
50091
27724598
UD
50092 * elf/pldd.c (main): Attach to all threads in the process.
50093 Rewrite /proc handling to use *at functions.
50094
076fe015
UD
500952011-08-16 Ulrich Drepper <drepper@gmail.com>
50096
174baab3
UD
50097 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50098 specifies first scope to show.
50099 (dl_open_worker): Update callers. Move printing scope of new
50100 object to before the relocation.
44f0a71e 50101 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
50102 * sysdeps/generic/ldsodefs.h: Update declaration.
50103
076fe015
UD
50104 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50105 string for the scope number.
50106
a60df2c3
UD
501072011-08-14 Ulrich Drepper <drepper@gmail.com>
50108
50109 * nscd/servicescache.c (cache_addserv): Make sure written is always
50110 initialized.
50111
5e4287d1
RM
501122011-08-14 Roland McGrath <roland@hack.frob.com>
50113
85ae0589
RM
50114 * sysdeps/i386/i486/bits/atomic.h
50115 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50116 statement expression, so as to suppress "set but not used" warning.
50117 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50118
69f63097
RM
50119 * string/strncat.c (STRNCAT): Use prototype definition.
50120
675456ef
RM
50121 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50122 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50123 -Iprograms here.
50124 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50125 (localedef-modules): Add localedef.
50126 (locale-modules): Add locale.
50127
5e4287d1
RM
50128 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50129 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50130 to avoid a warning.
50131
9c96ff23
DM
501322011-08-14 David S. Miller <davem@davemloft.net>
50133
50134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50135 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50136
f9ddf089
UD
501372011-08-13 Ulrich Drepper <drepper@gmail.com>
50138
44f0a71e 50139 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
50140 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50141 * elf/rtld.c (dl_main): Set l_name of vDSO.
50142 Call _dl_show_scope when DL_DEBUG_SCOPES.
50143 (process_dl_debug): Recognize scopes flag and also set it for all.
50144 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50145 Declare _dl_show_scope.
50146
1dc27704
UD
50147 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50148 (do_dlopen): Pass caller_dlopen to dl_open.
50149 (__libc_dlopen_mode): Initialize caller_dlopen.
50150
f9ddf089
UD
50151 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50152 of libc. Make tolower call locale-independent. Optimize a bit by
50153 using isdigit instead of isalnum.
50154 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50155
9ac533d3
UD
501562011-08-12 Ulrich Drepper <drepper@gmail.com>
50157
50158 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50159 was a dependency or dynamically loaded.
50160
89edf2e9
UD
501612011-08-11 Ulrich Drepper <drepper@gmail.com>
50162
8e999d29
UD
50163 * intl/l10nflist.c: Allow architecture-specific pop function.
50164 * sysdeps/x86_64/l10nflist.c: New file.
50165
89edf2e9
UD
50166 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50167 classification.
50168
14d96785
AS
501692011-08-10 Andreas Schwab <schwab@redhat.com>
50170
50171 * include/dirent.h: Add libc_hidden_proto for scandirat and
50172 scandirat64. Don't declare __scandirat64.
50173 * dirent/scandirat.c: Add libc_hidden_def.
50174 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50175 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50176
6761ac04
DM
501772011-08-10 David S. Miller <davem@davemloft.net>
50178
50179 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50180 enum.
50181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50183 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50184
c55fbd1e
UD
501852011-08-09 Ulrich Drepper <drepper@gmail.com>
50186
50187 * Versions.def [libc]: Add GLIBC_2.15.
50188 * dirent/Makefile (routines): Add scandirat and scandirat64.
50189 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50190 GLIBC_2.15.
50191 * dirent/dirent.h: Declare scandirat and scandirat64.
50192 * dirent/scandirat.c: New file.
50193 * dirent/scandirat64.c: New file.
50194 * sysdeps/wordsize-64/scandirat.c: New file.
50195 * sysdeps/wordsize-64/scandirat64.c: New file.
50196 * dirent/opendir.c: Define opendirat.
50197 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50198 using scandirat.
50199 * dirent/scandir64.c: Adjust for scandir.c change.
50200 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50201 __scandirat64, and __scandir_cancel_handler.
50202 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50203 additional parameter and use openat instead of open (outside of ld.so).
50204 Add new __opendir as wrapper around __opendirat.
50205 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50206 here without requiring old scandirat implementation.
50207
879165f2
UD
502082011-08-08 Ulrich Drepper <drepper@gmail.com>
50209
50210 * dirent/scandir.c (cancel_handler): Renamed to
50211 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50212 defined. Adjust users.
50213 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50214 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50215
cb7e923b
UD
502162011-08-04 Ulrich Drepper <drepper@gmail.com>
50217
16292edd
UD
50218 * string/test-string.h (IMPL): Use __STRING to expand name and then
50219 stringify it.
50220
cb7e923b
UD
50221 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50222 of cleanups.
50223
cff82933
LD
502242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50225
50226 * string/Makefile: Update.
50227 (strop-tests): Append strncat.
50228 * string/test-wcscmp.c: New file.
50229 New comprehensive test for wcscmp.
50230 * string/test-strcmp.c: Update.
50231 (WIDE): New define.
50232
9be9bfcc
AS
502332011-07-22 Andreas Schwab <schwab@redhat.com>
50234
50235 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50236 line.
50237
2e96f1c7
AS
502382011-07-26 Andreas Schwab <schwab@redhat.com>
50239
50240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50241 encoding to ACE if AI_IDN.
50242
85188888
JJ
502432011-08-01 Jakub Jelinek <jakub@redhat.com>
50244
50245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50246 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50247
5fa16e9b
LD
502482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50249
50250 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50251 Fix overflow bug in strncat.
50252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50253
50254 * string/test-strncat.c: Update.
50255 Add new tests for checking overflow bugs.
50256
502572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50258
50259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50260 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50261 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50262 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50263 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50264 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50265 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50266 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50267 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50268
50269 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50270 (USE_AS_STRCAT): Define.
50271 Add strcat and strncat support.
50272 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50273
8c1a459f
AS
502742011-07-25 Andreas Schwab <schwab@redhat.com>
50275
50276 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50277 __n bigger than INT_MAX+1.
50278 (__strncmp_g): Likewise.
50279
bba33c28
UD
502802011-07-23 Ulrich Drepper <drepper@gmail.com>
50281
798be72d
UD
50282 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50283 * libio/stido.h: Likewise.
50284
8accd4dc
UD
50285 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50286 (AF_NFC): Define.
50287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50288 (AF_NFC): Define.
50289
cbff0d96
UD
50290 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50291 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50293 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50295
9191c04a
UD
50296 [BZ #13021]
50297 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50298 installed.
50299
bba33c28
UD
50300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50301 typo.
50302 (_dl_x86_64_save_sse): Likewise.
50303
90f139dd
UD
503042011-07-22 Ulrich Drepper <drepper@gmail.com>
50305
1aae088a
UD
50306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50307 OSXSAVE.
50308 (_dl_x86_64_save_sse): Likewise.
50309
8e2045f5
UD
50310 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50311
90f139dd
UD
50312 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50313
1d002f25
AS
503142011-07-21 Andreas Schwab <schwab@redhat.com>
50315
50316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50317 change.
50318 (_dl_x86_64_save_sse): Use correct AVX check.
50319
21137f89
UD
503202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50321
50322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50323 bug in strncpy/strncat.
50324 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50325
a65c0b7a
UD
503262011-07-21 Ulrich Drepper <drepper@gmail.com>
50327
50328 * string/tester.c (test_strcat): Add tests for different alignments
50329 of source and destination.
50330 (test_strncat): Likewise.
50331
6986b98a
UD
503322011-07-20 Ulrich Drepper <drepper@gmail.com>
50333
90bb2039
UD
50334 [BZ #12852]
50335 * posix/glob.c (glob): Check passed in values before using them in
50336 expressions to avoid some overflows.
50337 (glob_in_dir): Likewise.
50338
5644ef54
UD
50339 [BZ #13007]
50340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50341 check for AVX enablement so that we don't crash with old kernels and
50342 new hardware.
50343 * elf/tst-audit4.c: Add same checks here.
50344 * elf/tst-audit6.c: Likewise.
50345
50346 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50347
bfc9dc9b
AS
503482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50349
50350 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50351
702e64bb
UD
503522011-07-20 Ulrich Drepper <drepper@gmail.com>
50353
50354 * po/cs.po: Update from translation team.
50355 * po/bg.po: Likewise.
50356
295e904f
MP
503572011-07-12 Marek Polacek <mpolacek@redhat.com>
50358
50359 * misc/sys/cdefs.h: Add support for const attribute.
50360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50361 to gnu_dev_{major,minor,makedev} functions.
50362
3ff94596
MP
503632011-07-20 Marek Polacek <mpolacek@redhat.com>
50364
50365 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50366
28b59fca
AS
503672011-07-20 Andreas Schwab <schwab@redhat.com>
50368
50369 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50370 strlen results.
50371
19df733e
AK
503722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50373
50374 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50375 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50376 register in order to avoid conflicts with the soft frame pointer
50377 being held in r11 when necessary.
50378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50379 (INTERNAL_VSYSCALL_NCS): Likewise.
50380
c8835729
MP
503812011-07-14 Marek Polacek <mpolacek@redhat.com>
50382
50383 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50384 * elf/dl-fini.c (_dl_fini): Adjust caller.
50385 * elf/dl-close.c (_dl_close_worker): Likewise.
50386 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50387
b902330c
MP
503882011-07-15 Marek Polacek <mpolacek@redhat.com>
50389
8991e135
MP
50390 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50391 "aux_cache->nlibs < 0".
50392
b902330c
MP
50393 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50394 in the reload-count case.
50395
99710781
LD
503962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50397
50398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50399 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50400 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50401 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50402 * sysdeps/x86_64/multiarch/strcat.S: New file.
50403 * sysdeps/x86_64/multiarch/strncat.S: New file.
50404 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50405 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50406 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50407 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50408 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50409 (USE_AS_STRCAT): Define.
50410 Add strcat and strncat support.
50411 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50412 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50413 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50414 * string/strncat.c: Update.
50415 (USE_AS_STRNCAT): Define.
50416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50417 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50418 and i7.
50419 * sysdeps/x86_64/multiarch/init-arch.h
50420 (bit_Prefer_PMINUB_for_stringop): New.
50421 (index_Prefer_PMINUB_for_stringop): Likewise.
50422 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50423 bit_Prefer_PMINUB_for_stringop.
50424
7dc6bd90
UD
504252011-07-19 Ulrich Drepper <drepper@gmail.com>
50426
50427 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50428 buffer64.
50429 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50430 of casting of buffer.
50431 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50432 buffer32 and buffer64.
50433 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50434 writes instead of casting of buffer.
50435 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50436 buffer32.
50437 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50438 casting of buffer.
50439
e0e72284
AS
504402011-07-19 Andreas Schwab <schwab@redhat.com>
50441
50442 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50443
feb1eb0b
UD
504442011-07-19 Ulrich Drepper <drepper@gmail.com>
50445
50446 * nscd/nscd.c (termination_handler): Don't do anything for a database
50447 if it has not yet been initialized.
50448
298711ff
UD
504492011-07-18 Ulrich Drepper <drepper@gmail.com>
50450
50451 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50452
504532011-07-15 Marek Polacek <mpolacek@redhat.com>
50454
50455 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50456
f9d68389
UD
504572011-07-18 Ulrich Drepper <drepper@gmail.com>
50458
50459 * po/nl.po: Update from translation team.
50460 * po/sv.po: Likewise.
50461
db290cf5
RM
504622011-07-16 Roland McGrath <roland@hack.frob.com>
50463
50464 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50465 now disallowed by GCC.
5c550700 50466
fd5e21c7
RM
50467 * configure.in (use-default-link): Default to yes if a test -shared
50468 link meets our qualifications.
50469 * configure: Regenerated.
50470
5c550700
RM
50471 * config.make.in (output-format): New variable.
50472 * configure.in: Check for ld --print-output-format support.
50473 * configure: Regenerated.
50474 * Makerules ($(common-objpfx)format.lds)
50475 [$(output-format) != unknown]: Just use $(output-format),
50476 instead of the linker-script munging.
50477
9fa2c032
RM
504782011-07-14 Roland McGrath <roland@hack.frob.com>
50479
a6928d51
RM
50480 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50481 of $(common-objpfx)shlib.lds.
50482 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50483
661607b3
RM
50484 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50485 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50486
9fa2c032
RM
50487 * configure.in (-z relro check): Adjust test code to add a large
50488 writable data section after it.
50489 * configure: Regenerated.
50490
defe9061
RM
504912011-07-11 Roland McGrath <roland@hack.frob.com>
50492
50493 * configure.in (-z relro check): Fix test code to make the variable
50494 truly const.
50495 * configure: Regenerated.
50496
319b9ad4
UD
504972011-07-11 Ulrich Drepper <drepper@gmail.com>
50498
50499 * nscd/nscd.h (struct traced_file): Define.
50500 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50501 elements. Add traced_files.
50502 (inotify_fd): Declare.
50503 (register_traced_file): Declare.
50504 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50505 (inotify_fd): Export.
50506 (resolv_conf_descr): Remove.
50507 (nscd_init): Move inotify descriptor creation to main.
50508 Don't register files for notification here.
50509 (register_traced_file): New function.
50510 (invalidate_cache): Don't use reset_res to determine whether to call
50511 res_init, go through the list of registered files.
50512 (main_loop_poll): The inotify descriptors are now stored in the
50513 structures for the traced files.
50514 (main_loop_epoll): Likewise
50515 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50516 to __nss_disable_nscd.
50517 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50518 for a database anymore. Check the records for all the registered
50519 files instead.
50520 * nss/Makefile (libnss_files-routines): Add files-init.
50521 (libnss_db-routines): Add db-init.
50522 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50523 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50524 * nss/nss_db/db-init.c: New file.
50525 * nss/nss_files/files-init.c: New file.
50526 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50527 __nss_lookup_function.
50528 (__nss_lookup_function): Call nss_load_library.
50529 (nss_load_all_libraries): New function.
50530 (__nss_disable_nscd): Take parameter with callback function for files
50531 to register. Set is_nscd. Load all the DSOs for the NSS modules
50532 used for the cached services.
50533 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50534 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50535 options for features to all the files in nscd.
50536
50537 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50538
23bee3e8
RM
505392011-07-10 Roland McGrath <roland@hack.frob.com>
50540
50541 * csu/elf-init.c (__libc_csu_init): Comment typo.
50542
46a5b7f0
UD
505432011-07-09 Ulrich Drepper <drepper@gmail.com>
50544
50545 * po/pl.po: Update from translation team.
50546 * po/ja.po: Likewise.
50547 * po/ru.po: Likewise.
50548 * po/ko.po: Likewise.
50549 * po/fr.po: Likewise.
50550
d30cf5bb
RM
505512011-07-09 Roland McGrath <roland@hack.frob.com>
50552
113ddea4
RM
50553 * configure.in (.ctors/.dtors header and trailer check):
50554 Use an empirical test on a built program.
50555 * configure: Regenerated.
50556
574920b4
RM
50557 * configure.in (-z relro check): Use an empirical test on a built DSO.
50558 Detect, but do not require, on ia64.
50559 * configure: Regenerated.
50560
d30cf5bb
RM
50561 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50562 Update tests that use readelf to use $READELF instead.
50563 * configure: Regenerated.
50564
8538fdb3
UD
505652011-07-08 Ulrich Drepper <drepper@gmail.com>
50566
50567 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50568 if the result is not used.
50569
04d08991
AJ
505702011-07-05 Andreas Jaeger <aj@suse.de>
50571
50572 [BZ#9696]
50573 * stdlib/tst-strtod.c: Add testcase.
50574
de283087
AD
505752011-07-07 Ulrich Drepper <drepper@gmail.com>
50576
4e5f31c8 50577 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50578 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50579 The latter has a higher limit. Take additional parameter to pass to
50580 the new function.
50581 (__pathconf): Pass file to __statfs_link_max.
50582 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50583 __statfs_link_max.
50584 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50585 __statfs_link_max.
50586
de283087
AD
50587 [BZ #12868]
50588 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50590 Handle Lustre.
50591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50592 (__statfs_filesize_max): Likewise.
50593 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50594
c75fa153
AJ
505952011-07-05 Andreas Jaeger <aj@suse.de>
50596
50597 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50598
1a544854
UD
505992011-07-06 Marek Polacek <mpolacek@redhat.com>
50600
50601 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50602 `status' variable.
50603 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50604 Likewise.
50605
6f0eec67
UD
506062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50607
50608 * Makefile (strop-tests): Add strncat.
50609 * string/test-strncat.c: New file.
50610
aae30307
UD
506112011-06-30 Marek Polacek <mpolacek@redhat.com>
50612
50613 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50614
c0cfb5eb
UD
506152011-06-21 Andreas Jaeger <aj@suse.de>
50616
50617 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50618 Copy rule from iconvdata/Makefile.
50619
01636b21
UD
506202011-07-06 Ulrich Drepper <drepper@gmail.com>
50621
50622 [BZ #12922]
50623 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50624 but no long options are defined, just return 'W'.
50625
9895c8bc
UD
506262011-06-22 Marek Polacek <mpolacek@redhat.com>
50627
50628 [BZ #9696]
50629 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50630
5d4cf042
UD
506312011-07-06 Ulrich Drepper <drepper@gmail.com>
50632
50633 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50634 netgroups to read.
960e5535 50635 (innetgr): Likewise.
5d4cf042 50636
751eb97e
RM
506372011-07-05 Roland McGrath <roland@hack.frob.com>
50638
50639 * config.make.in (install_root): Default to $(DESTDIR).
50640
f15f1e45
UD
506412011-07-05 Ulrich Drepper <drepper@gmail.com>
50642
50643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50644
4e34ac6a
RM
506452011-07-02 Roland McGrath <roland@hack.frob.com>
50646
5e9b6af4
RM
50647 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50648
84f9ea0f
RM
50649 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50650 containing directory rather than embedding absolute directory names.
50651
ea5ee9f7
RM
50652 * scripts/check-local-headers.sh: Rewritten using awk.
50653 Match by word, not by line. Print error messages for matches.
50654 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50655
1b74661a
RM
50656 * Makerules [shlib-lds-flags empty]:
50657 ($(common-objpfx)libc_pic.opts): New target.
50658 ($(common-objpfx)libc_pic.os.clean): New target.
50659 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50660
50661 * config.make.in (OBJCOPY): New variable.
50662 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50663 * configure: Regenerated.
50664
f781ef40
RM
50665 * config.make.in (use-default-link): New variable.
50666 * configure.in (use_default_link): Grok --with-default-link to set it.
50667 * configure: Regenerated.
50668 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50669 (shlib-lds, shlib-lds-flags): Define to empty.
50670
2d4fa81e
RM
50671 * Makerules (shlib-lds): New variable.
50672 (shlib-lds-flags): New variable.
50673 (build-shlib, build-moduile, build-module-asneeded): Use it.
50674 ($(common-objpfx)libc.so): Use $(shlib-lds).
50675 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50676 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50677
31fffa6b
RM
50678 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50679 DT_FLAGS/DT_FLAGS_1 with zero flags.
50680
4e34ac6a
RM
50681 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50682 linker script munging.
50683
fcfc776b
UD
506842011-07-02 Ulrich Drepper <drepper@gmail.com>
50685
50686 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50687 as 128-bit value.
50688 * crypt/sha512.c (sha512_process_block): Perform total addition using
50689 128-bit if possible.
50690 (__sha512_finish_ctx): Likewise.
50691 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50692 as 64-bit value.
50693 * crypt/sha256.c (SWAP64): Define.
50694 (sha256_process_block): Perform total addition using 64-bit if
50695 possible.
50696 (__sha256_finish_ctx): Likewise.
50697
99231d9a
UD
506982011-07-01 Ulrich Drepper <drepper@gmail.com>
50699
50700 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50702 * nscd/hstcache.c (cache_addhst): Likewise.
50703 * nscd/grpcache.c (cache_addgr): Likewise.
50704 * nscd/aicache.c (addhstaiX): Likewise
50705 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50706
445b4a53
TK
507072011-07-01 Thorsten Kukuk <kukuk@suse.de>
50708
50709 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50711 * nscd/hstcache.c (cache_addhst): Likewise.
50712 * nscd/grpcache.c (cache_addgr): Likewise.
50713 * nscd/aicache.c (addhstaiX): Likewise
50714
6d4d8e8e
AS
507152011-07-01 Andreas Schwab <schwab@redhat.com>
50716
50717 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50718 domain only when needed.
50719
89f654c5
AS
507202011-06-30 Andreas Schwab <schwab@redhat.com>
50721
50722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50723 is always restored.
50724
cf3b23ff
UD
507252011-06-29 Ulrich Drepper <drepper@gmail.com>
50726
50727 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50728 are re-adding the entry.
50729 * nscd/servicescache.c (cache_addserv): Likewise.
50730
751626f9
AJ
507312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50732
50733 * sysdeps/generic/dl-irel.h: fix protection against multiple
50734 inclusions.
50735 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50736
9113ea1f
UD
507372011-06-28 Ulrich Drepper <drepper@gmail.com>
50738
5c0b8d90
UD
50739 [BZ #12935]
50740 * malloc/memusage.sh: Fix quoting in message.
50741 * debug/xtrace.sh: Likewise.
50742
9113ea1f
UD
50743 * configure.in: Remove support for --experimental-malloc option, make
50744 it the default.
50745 * config.make.in: Likewise.
50746 * malloc/Makefile: Likewise.
50747
a4172181
AS
507482011-06-27 Andreas Schwab <schwab@redhat.com>
50749
50750 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50751 two-byte characters.
50752
78a7eee7
RM
507532011-06-27 Roland McGrath <roland@hack.frob.com>
50754
62bede13
RM
50755 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50756 AC_CACHE_CHECK invocation.
50757 * configure: Regenerated.
50758
78a7eee7
RM
50759 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50760
5ce33a62
UD
507612011-06-27 Ulrich Drepper <drepper@gmail.com>
50762
034807a9
UD
50763 [BZ #12350]
50764 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50765 bit from old_res_options.
50766
4902da17
UD
50767 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50768
5ce33a62
UD
50769 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50770 value type for setfct.
50771
c2344f56
L
507722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50773
50774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50775 __gettimeofday instead of gettimeofday.
50776
68468076
UD
507772011-06-26 Ulrich Drepper <drepper@gmail.com>
50778
50779 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50780
acb0d739
L
507812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50782
50783 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50784
50785 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50786 info.
50787
8912479f
L
507882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50789
50790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50791 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50792 strcpy-sse2-unaligned strncpy-sse2-unaligned
50793 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50794 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50795 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50796 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50797 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50799 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50800 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50801 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50802 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50803 (STRCPY): Support SSE2 and SSSE3 versions.
50804
d5495a11
UD
508052011-06-24 Ulrich Drepper <drepper@gmail.com>
50806
50807 [BZ #12874]
50808 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50809 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50810 kernels which artificially limit size of requests.
50811
0b1cbaae
L
508122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50813
50814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50815 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50816 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50817 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50818 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50819 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50820 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50821 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50822 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50823 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50824 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50825 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50826 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50827 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50828 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50830 Enable unaligned load optimization for Intel Core i3, i5 and i7
50831 processors.
50832 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50833 Define.
50834 (index_Fast_Unaligned_Load): Define.
50835 (HAS_FAST_UNALIGNED_LOAD): Define.
50836
07f494a0
MP
508372011-06-23 Marek Polacek <mpolacek@redhat.com>
50838
50839 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50840
fa3fc0fe
UD
508412011-06-22 Ulrich Drepper <drepper@gmail.com>
50842
50843 [BZ #12907]
50844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50845 until it is clear that the information is realy needed.
50846 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50847
e12df166
AS
508482011-06-22 Andreas Schwab <schwab@redhat.com>
50849
50850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50851
852eb34d
UD
508522011-06-22 Ulrich Drepper <drepper@gmail.com>
50853
84e2a551
UD
50854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50855 /sys/devices/system/cpu/online if it is usable.
50856
852eb34d
UD
50857 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50858 reading the information from the /proc filesystem to once a second.
50859
6e502e19
UD
508602011-06-21 Andreas Jaeger <aj@suse.de>
50861
50862 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50863 NULL after inclusion of kernel headers.
50864
75d39ff2
UD
508652011-06-21 Ulrich Drepper <drepper@gmail.com>
50866
51f9aa6a
UD
50867 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50868 calls to internal_setent.
50869
c0244a9d
UD
50870 [BZ #12885]
50871 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50872 addresses using gethostbyname4_r ignore IPv4 addresses.
50873
c5e3c2ae
UD
50874 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50875 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50876
75d39ff2
UD
50877 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50878
42675c6f
DM
508792011-06-20 David S. Miller <davem@davemloft.net>
50880
50881 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50882 inclusions.
50883 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50884
50885 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50886 (elf_irel): Use it.
50887 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50888 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50889 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50890 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50891 * sysdeps/x86_64/dl-irel.h: Likewise.
50892
50893 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50894 * elf/dl-sym.c: Likewise.
50895
57912a71
UD
508962011-06-15 Ulrich Drepper <drepper@gmail.com>
50897
50898 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50899 need to dereference resplen2.
50900
ee22793d
AS
509012011-06-14 Andreas Schwab <schwab@redhat.com>
50902
50903 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50904
a9e836b0
UD
509052011-06-15 Ulrich Drepper <drepper@gmail.com>
50906
77fb9117
UD
50907 * Makeconfig: Define vardbdir and inst_vardbdir.
50908 * nss/Makefile: Add rules to install db-Makefile.
50909
40c1b22c
UD
50910 * nss/nss_db/db-XXX.c: Cleanup.
50911
9f2da732
UD
50912 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50913 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50914 GLIBC_PRIVATE.
50915 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50916 * nss/makedb.c: Implement -g option to specify that value strings
50917 are generated and should not be added to table iterated over for
50918 get*ent calls.
50919 * nss/nss_db/db-initgroups.c: New file.
50920
82e9a1f7
UD
50921 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50922 interface.
50923
c41af17e
UD
50924 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50925 (internal_getgrouplist): Adjust to name change.
50926 Update use_initgroups_entry if this is not the first call.
50927 * nss/databases.def: Add initgroups entry.
50928
a9e836b0
UD
50929 * nss/makedb.c (compute_tables): Check result of multiple hash table
50930 sizes to minimize maximum chain length.
50931
2666d441
UD
509322011-06-14 Ulrich Drepper <drepper@gmail.com>
50933
50934 * Versions.def: Add entry for libnss_db.
50935 * shlib-versions: Likewise.
50936 * nss/Makefile: Add rules to build libnss_db.
50937 * nss/Versions: Add libnss_db information. Organize libnss_files
50938 entries better.
50939 * nss/db-Makefile: Add gshadow support. Change rules for the new
50940 makedb progra. Some minor improvements to generate smaller files.
50941 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50942 here from...
50943 * nss/makedb.c: ...here.
50944 Improve database format to be smaller and require less memory at
50945 runtime.
50946 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50947 db anymore.
50948 * nss/nss_db/db-netgrp.c: Likewise.
50949 * nss/nss_db/db-open.c: Likewise.
50950 * nss/nss_files/flies-XXX.x: Adjust comments.
50951 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50952 * nss/nss_files/files-grp.c: Likewise.
50953 * nss/nss_files/files-hosts.c: Likewise.
50954 * nss/nss_files/files-network.c: Likewise.
50955 * nss/nss_files/files-proto.c: Likewise.
50956 * nss/nss_files/files-pwd.c: Likewise.
50957 * nss/nss_files/files-rpc.c: Likewise.
50958 * nss/nss_files/files-service.c: Likewise.
50959 * nss/nss_files/files-sgrp.c: Likewise.
50960 * nss/nss_files/files-spwd.c: Likewise.
50961 * nss/nss_db/db-alias.c: Removed.
50962 * nss/nss_db/dummy-db.h: Removed.
50963
9ee76b5a
UD
509642011-06-02 Ulrich Drepper <drepper@gmail.com>
50965
50966 * nss/makedb.c: Rewritten to not use database library.
50967 * nss/Makefile: Update to build new makedb program.
50968
c71ca1f8
AJ
509692011-06-14 Andreas Jaeger <aj@suse.de>
50970
50971 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50972 memset declaration.
50973
3154bfb8
UD
509742011-06-10 Andreas Schwab <schwab@redhat.com>
50975
50976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50977 tmpbuf.
50978
b350afab
RM
509792011-06-10 Roland McGrath <roland@hack.frob.com>
50980
decd4e50
RM
50981 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50982 * elf/Makefile ($(objpfx)ld.so): Likewise.
50983
5615eaf2
RM
50984 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50985 Don't list ld.so twice in dependencies.
50986
50987 * posix/bug-regex31.c: Include <stdlib.h>.
50988
50989 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50990
50991 * nis/nss_compat/compat-spwd.c
50992 (getspent_next_nss_netgr): Remove unused variable.
50993 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50994
50995 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50996 nonmembers" output to use the right array.
50997
50998 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50999
51000 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51001
51002 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51003 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51004 * catgets/gencat.c (read_input_file): Likewise.
51005 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51006
51007 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51008 variable definition inside #if's controlling its use.
51009
51010 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51011
51012 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51013
51014 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51015
51016 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51017 unreachable code.
51018
51019 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51020
b68e08db
RM
51021 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51022 * configure: Regenerated.
51023
b350afab
RM
51024 * Makerules: Revert last change.
51025 * elf/Makefile: Likewise.
51026
28368601
RM
510272011-06-09 Roland McGrath <roland@hack.frob.com>
51028
51029 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51030 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51031 (reloc-link): Likewise.
51032
11988f8f
UD
510332011-06-09 Ulrich Drepper <drepper@gmail.com>
51034
51035 * elf/Makefile: Add rules to build pldd.
51036 * elf/pldd.c: New file.
51037 * elf/pldd-xx.c: New file.
51038
e80fab37
UD
510392011-06-07 Ulrich Drepper <drepper@gmail.com>
51040
51041 * version.h: Update for 2.15 development version.
51042
9b849836
DM
510432011-06-07 David S. Miller <davem@davemloft.net>
51044
51045 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51046 ifuncs.
51047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51048 elf_machine_lazy_rel): Likewise.
51049 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51051 elf_machine_lazy_rel): Likewise.
51052 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51053 dl_hwcap via passed in argument.
51054 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51055 Likewise.
51056
5a31b283
AK
510572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51058
51059 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51060
069e52f8
RM
510612011-06-06 Roland McGrath <roland@hack.frob.com>
51062
51063 [BZ #12849]
51064 * manual/fdl-1.1.texi: New file, verbatim from:
51065 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51066 * manual/lgpl-2.1.texi: New file, verbatim from:
51067 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51068 * manual/Makefile (licenses): New variable, list those new file names.
51069 (texis): Use it.
51070 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51071
51072 * manual/fdl.texi: File removed.
51073 * manual/lesser.texi: File removed.
51074 * manual/libc.texinfo (Copying, Documentation License):
51075 Use new @include file names, put @appendix directive before @include.
51076
f16846a5
JJ
510772011-06-04 Jakub Jelinek <jakub@redhat.com>
51078
51079 [BZ #12841]
51080 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51081 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51082 (mq_open): Add __NTH.
51083
3d29045b
L
510842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51085
51086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51087 Assume Intel Core i3/i5/i7 processor if AVX is available.
51088
8c297311
UD
510892011-05-31 Ulrich Drepper <drepper@gmail.com>
51090
51091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51092 typo.
51093
c8fc0c91
UD
510942011-05-31 Andreas Schwab <schwab@redhat.com>
51095
51096 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51097 memory. Use alloca_account. Fix memory leak when retrying.
51098
5b27a807
UD
510992011-05-31 Ulrich Drepper <drepper@gmail.com>
51100
356f8bc6
UD
51101 * version.h (RELEASE): Bump for 2.14 release.
51102 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51103
5b27a807
UD
51104 * config.make.in (RANLIB): Remove entry.
51105
01f16ab0
UD
511062011-05-30 Ulrich Drepper <drepper@gmail.com>
51107
41fce8bd
UD
51108 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51109 (libc.pot): Work around missing support for .ksh extension in xgettext.
51110
4769ae77
UD
51111 [BZ #12684]
51112 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51113 if both request failed.
51114 (send_dg): In case of server errors clear resplen or *resplen2.
51115
6b1e7d19
UD
51116 [BZ #12454]
51117 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51118 when there are multiple maps.
51119 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51120 (_dl_fini): Remove test here.
51121
01f16ab0
UD
51122 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51123
b1ebd700
UD
511242011-05-29 Ulrich Drepper <drepper@gmail.com>
51125
7ae22829
UD
51126 [BZ #12350]
51127 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51128 bit from old_res_options.
51129 (gaih_inet): Likewise.
51130
553149f6 51131 [BZ #11099]
18a84741 51132 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
51133 as signed.
51134
652ffab1
UD
51135 * resolv/res_init.c (res_setoptions): Make the code more compact.
51136
16985fd0
UD
51137 [BZ #11558]
51138 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51139 set RES_USEVC.
51140
0464f746
UD
51141 [BZ #11634]
51142 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51143
7d17596c
UD
51144 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51145
cf6bbbd7
UD
51146 [BZ #11781]
51147 * malloc/malloc.h: Declare malloc hook variables as volatile.
51148
13f1ab36
UD
51149 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51150 in last patch.
51151
b1ebd700
UD
51152 [BZ #11799]
51153 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 51154 raise in the comment.
80e2212d
UD
51155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51157 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 51158
ce67228d
UD
511592011-05-28 Ulrich Drepper <drepper@gmail.com>
51160
8887a920
UD
51161 [BZ #12811]
51162 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51163 grow the buffers more if it already has to be sufficient.
51164 (build_wcs_upper_buffer): Likewise.
51165 * posix/regexec.c (check_matching): Likewise.
51166 (clean_state_log_if_needed): Likewise.
51167 (extend_buffers): Don't enlarge buffers beyond size of the input
51168 buffer.
51169 Patches mostly by Emil Wojak <emil@wojak.eu>.
51170 * posix/bug-regex32.c: New file.
51171 * posix/Makefile (tests): Add bug-regex32.
51172
4f031072
UD
51173 * locale/findlocale.c (_nl_find_locale): Return right away if
51174 _nl_explode_name failed.
51175 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51176
d0478f0c
UD
51177 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51178
de81b246
UD
51179 * debug/xtrace.sh: Unify messages.
51180 * malloc/memusage.sh: Likewise.
51181
c738465a
UD
51182 [BZ #12813]
51183 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51184 time symbol from vDSO. Substitute with vsyscall if not available.
51185 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51186 __vdso_time.
51187
f1f929d7
UD
51188 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51189 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51190 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51191 Add sendmmsg and internal_sendmmsg.
51192 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51193 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51195
ce67228d
UD
51196 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51197 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51198 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51199
e57420c6
UD
512002011-05-27 Ulrich Drepper <drepper@gmail.com>
51201
a8509ca5
UD
51202 [BZ #12813]
51203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51204 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51205 available.
51206 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51207 __vdso_getcpu.
51208
e57420c6
UD
51209 [BZ #12814]
51210 * iconvdata/Makefile (tests): Add bug-iconv9.
51211 * iconvdata/bug-iconv9.c: New file.
51212
4d07db15
AS
512132011-05-27 Andreas Schwab <schwab@redhat.com>
51214
51215 [BZ #12814]
51216 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51217
ea486f69
JJ
512182011-05-25 Jakub Jelinek <jakub@redhat.com>
51219
51220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51221 (struct user_regs_struct): Change intcs field back to cs.
51222
6f038433
UD
512232011-05-25 Ulrich Drepper <drepper@gmail.com>
51224
51225 * po/ja.po: Update from translation team.
51226
67f86a25
UD
512272011-05-23 Ulrich Drepper <drepper@gmail.com>
51228
51229 [BZ #12795]
51230 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51231 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51232
def7fbd6
AS
512332011-05-20 Andreas Schwab <schwab@redhat.com>
51234
51235 * stdlib/longlong.h: Update from GCC.
51236
f50ef8f1
AS
512372011-05-23 Andreas Schwab <schwab@redhat.com>
51238
51239 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51240 parameter name.
51241 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51242 Add parameter name.
51243 (__sysconf): Pass it down.
51244
de7ce8f1
UD
512452011-05-22 Ulrich Drepper <drepper@gmail.com>
51246
f2962a71
UD
51247 [BZ #12671]
51248 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51249 some situations.
51250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51251 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51252 add in in __libc_use_alloca calls. Adjust callers.
51253 (glob): Use malloc in some situations.
51254
de7ce8f1
UD
51255 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51256 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51257 pltexit.
51258
aec84f53
UD
512592011-05-21 Ulrich Drepper <drepper@gmail.com>
51260
05bb4a68
UD
51261 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51262 and CLOCK_BOOTTIME_ALARM.
51263
7ea72f99
UD
51264 [BZ #12782]
51265 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51266 is returned.
51267
7e4afad5
UD
51268 * string/_strerror.c (__strerror_r): Print negative errors as signed
51269 numbers.
51270
8e211fec
UD
51271 [BZ #12777]
51272 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51273 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51274 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51275
f7d82dc9
UD
51276 * configure.in: Fix typo in redirection and correct removal of test
51277 files in two cases.
51278
cc9e536d
UD
51279 [BZ #12788]
51280 * locale/setlocale.c (new_composite_name): Fix test to check for
51281 identical name of all categories.
51282
aec84f53
UD
51283 [BZ #12792]
51284 * libio/filedoalloc.c (local_isatty): New function.
51285 (_IO_file_doallocate): Use local_isatty.
51286 * stdio-common/perror.c (perror): In case a new stream is used
51287 forward the stream error.
51288 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51289 error flag.
51290
78e64fdc
RT
512912011-05-20 Ulrich Drepper <drepper@gmail.com>
51292
34a9094f
UD
51293 [BZ #11869]
51294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51295 alloca.
51296 * include/alloca.h (extend_alloca_account): Define.
51297
78e64fdc
RT
51298 [BZ #11857]
51299 * posix/regex.h: Fix comments with documentation of user-accessible
51300 fields after compilation and describe correct free'ing of pattern
51301 after re_compile_pattern.
51302 Patch by Reuben Thomas <rrt@sc3d.org>.
51303
457bddfc
RA
513042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51305
51306 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51307 and -mno-altivec to prevent the compiler from using Altivec and/or
51308 VSX instructions when the corresponding registers are not available.
51309
a4527b51
AS
513102011-05-19 Andreas Schwab <schwab@redhat.com>
51311
51312 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51313
ed690b2f
UD
513142011-05-19 Ulrich Drepper <drepper@gmail.com>
51315
51316 * libio/freopen.c (freopen): Use __dup2, not dup2.
51317 * libio/freopen64.c (freopen64): Likewise.
51318
8db73634
L
513192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51320
51321 [BZ #12775]
51322 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51323 * math/Makefile (tests): Add test-powl.
51324 (CFLAGS-test-powl.c): Define.
51325 * math/test-powl.c: New file.
51326
0a197a9d
L
513272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51328
51329 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51330
ee30c380
UD
513312011-05-17 Ulrich Drepper <drepper@gmail.com>
51332
51333 [BZ #11837]
51334 * iconvdata/gb18030.c: Update to GB18020-2005.
51335
6ce75379
UD
513362011-05-16 Ulrich Drepper <drepper@gmail.com>
51337
a4b89fd8
AR
51338 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51339 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51340 Patch by Aharon Robbins <arnold@skeeve.com>.
51341
ea389b12
UD
51342 [BZ #11892]
51343 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51344 on the stack.
51345
68a3f91f
UD
51346 [BZ #11895]
51347 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51348 through underflows.
51349
15cc7dd1
UD
51350 [BZ #12766]
51351 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51352 point to strings before performing equality test for error_one_per_line
51353 mode.
51354
f3799213
UD
51355 [BZ #11697]
51356 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51357
d79a9c94
UD
51358 [BZ #11820]
51359 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51360 (struct user_fpregs_struct): Avoid __uint*_t types.
51361
56e5eb46
UD
51362 [BZ #6420]
51363 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51364 symbol info. Use it instead of calling _dl_addr locally.
51365 (lock_and_info): New function.
51366 (tr_freehook): Call lock_and_info and pass symbol info as additional
51367 parameter to tr_where.
51368 (tr_mallochook): Likewise.
51369 (tr_reallochook): Likewise.
51370 (tr_memalignhook): Likewise.
51371
6ce75379
UD
51372 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51373 used and couldn't be at all thread-safe.
51374
f8a3b5bf
UD
513752011-05-15 Ulrich Drepper <drepper@gmail.com>
51376
94b7cc37
UD
51377 * libio/freopen.c (freopen): Don't close old file descriptor
51378 before the new one is opened. Instead dup the new file descriptor
51379 to the old one after the new stream is created.
51380 * libio/freopen64.c (freopen64): Likewise.
51381 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51382 * libio/fileops.c (_IO_new_file_close_it): Handle new
51383 _IO_FLAGS2_NOCLOSE flag.
51384 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51385 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51386 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51387 _IO_FLAGS2_NOCLOSE flag.
51388 * include/unistd.h: Add hidden_proto for dup3.
51389 Define __have_dup3.
51390 * io/dup3.c: Define hidden symbol.
51391 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51392
bd25564e
UD
51393 [BZ #7101]
51394 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51395 when an incomplete long option is used.
51396 * posix/tst-getopt_long1.c: New file.
51397 * posix/Makefile (tests): Add tst-getopt_long1.
51398
c84cfef4
UD
51399 [BZ #10138]
51400 * scripts/config.guess: Update from autoconf-2.68.
51401 * scripts/config.sub: Likewise.
51402
3b85df27
UD
51403 [BZ #10157]
51404 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51405 tests into ...
51406 (has_cpuclock): ...this. New function.
51407 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51408 macro here based on has_cpuclock code.
51409
15a856b1
UD
51410 [BZ #10149]
51411 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51412 First byte (not low byte) is now always NUL.
51413 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51414
05f399e6
UD
51415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51416 Use non-cancelable interfaces.
51417
10a52685 51418 [BZ #9809]
94ecc67d
UD
51419 * locale/iso-639.def: Add entry for Sorani.
51420
f8a3b5bf
UD
51421 [BZ #11901]
51422 * include/stdlib.h: Move include protection to the right place.
51423 Define abort_msg_s. Declare __abort_msg with it.
51424 * stdlib/abort.c (__abort_msg): Adjust type.
51425 * assert/assert.c (__assert_fail_base): New function. Majority
51426 of code from __assert_fail. Allocate memory for __abort_msg with
51427 mmap.
51428 (__assert_fail): Now call __assert_fail_base.
51429 * assert/assert-perr.c: Remove bulk of implementation. Use
51430 __assert_fail_base.
51431 * include/assert.hL Declare __assert_fail_base.
51432 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51433 mmap.
51434 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51435
1af4e298
UD
514362011-05-14 Ulrich Drepper <drepper@gmail.com>
51437
f8a3b5bf 51438 [BZ #11952]
d26dfc60
MG
51439 [BZ #12453]
51440 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51441 until all modules are registered in the DTV.
51442 * elf/Makefile: Add rules to build and run tst-tls19.
51443 * elf/tst-tls19.c: New file.
51444 * elf/tst-tls19mod1.c: New file.
51445 * elf/tst-tls19mod2.c: New file.
51446 * elf/tst-tls19mod3.c: New file.
51447 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51448
2fc54d6f
UD
51449 [BZ #12083]
51450 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51451 correctly.
51452
98d76b46
UD
51453 [BZ #12601]
51454 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51455 two-byte sequence errors.
51456 * iconvdata/Makefile (tests): Add bug-iconv8.
51457 * iconvdata/bug-iconv8.c: New file.
51458
da3c19ef
UD
51459 [BZ #12626]
51460 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51461 buf2 definition.
51462
ca408c15
UD
51463 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51464
d6f67f7d
UD
51465 [BZ #12432]
51466 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51467 (dummy_getcfa): New function.
51468 (init): Get _Unwind_GetCFA address, use dummy if not found.
51469 (backtrace_helper): In recursion check, also check whether CFA changes.
51470 (__backtrace): Completely initialize arg.
51471
1af4e298 51472 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51473 storing incomplete byte sequence in state object. Avoid testing for
51474 guaranteed too small input if we know there is enough data available.
1af4e298 51475
da62f81b
AS
514762011-05-11 Andreas Schwab <schwab@redhat.com>
51477
51478 * Makeconfig (+link-pie): Indent.
51479 * Rules (binaries-pie): Define if $(have-fpie) and
51480 $(build-shared).
51481 (binaries-shared): Also filter out $(binaries-pie).
51482 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51483 * nscd/Makefile (others-pie): Add nscd.
51484 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51485 ($(objpfx)nscd): Remove command override.
51486 * login/Makefile (others-pie): Add pt_chown.
51487 ($(objpfx)pt_chown): Remove command override.
51488 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51489 remove command overrides.
51490
fcabc0f8
UD
514912011-05-13 Ulrich Drepper <drepper@gmail.com>
51492
20030ae6
UD
51493 * libio/tst_putwc.c: Fix error messages.
51494
fcabc0f8
UD
51495 [BZ #12724]
51496 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51497 currently writing and seek to current position when not.
51498 * libio/Makefile (tests): Add bug-fclose1.
51499 * libio/bug-fclose1.c: New file.
51500
320a5dc0
PB
515012011-05-12 Ulrich Drepper <drepper@gmail.com>
51502
51503 [BZ #12511]
51504 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51505 don't set DF_1_NODELETE here.
51506 (do_lookup_x): When entering new entry test for copy relocation
51507 and if necessary set DF_1_NODELETE flag.
51508 * elf/tst-unique4.cc: New file.
51509 * elf/tst-unique4.h: New file.
51510 * elf/tst-unique4lib.cc: New file.
51511 * elf/Makefile: Add rules to build and run tst-unique4.
51512 Patch by Piotr Bury <pbury@goahead.com>.
51513
22836f52
UD
515142011-05-11 Ulrich Drepper <drepper@gmail.com>
51515
f574184a
UD
51516 [BZ #12052]
51517 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51518
e1fb097f
UD
51519 [BZ #12625]
51520 * misc/mntent_r.c (addmntent): Flush the stream after the output
51521
22836f52
UD
51522 [BZ #12393]
51523 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51524 (is_trusted_path_normalize): Skip initial colon. Append slash
51525 to empty buffer. Duplicate is_trusted_path code but allow
51526 constructed patch to be prefix.
51527 (is_dst): Allow $ORIGIN followed by /.
51528 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51529 Correct testing of result of is_trusted_path_normalize
51530 (decompose_rpath): Fix warning.
51531
7b3b0b2a
UD
515322011-05-10 Ulrich Drepper <drepper@gmail.com>
51533
51534 [BZ #11257]
51535 * grp/initgroups.c (internal_getgrouplist): When we found the service
51536 list through the initgroups entry in nsswitch.conf do not always
51537 continue on a successful lookup. Don't always use the
eac80ce2 51538 __nss_group_database value if it is set.
7b3b0b2a
UD
51539 * nss/nsswitch.conf (initgroups): Change action for successful db
51540 lookup to continue for compatibility.
51541
2a81eaa5
UD
515422011-05-09 Ulrich Drepper <drepper@gmail.com>
51543
be97a69e
UD
51544 [BZ #11532]
51545 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51546 and CP774 modules.
51547 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51548 and CP774 modules.
51549 * iconvdata/tst-tables.sh: Likewise.
51550 * iconvdata/cp770.c: New file.
51551 * iconvdata/cp771.c: New file.
51552 * iconvdata/cp772.c: New file.
51553 * iconvdata/cp773.c: New file.
51554 * iconvdata/cp774.c: New file.
51555 * iconvdata/testdata/CP770: New file.
51556 * iconvdata/testdata/CP770..UTF8: New file.
51557 * iconvdata/testdata/CP771: New file.
51558 * iconvdata/testdata/CP771..UTF8: New file.
51559 * iconvdata/testdata/CP772: New file.
51560 * iconvdata/testdata/CP772..UTF8: New file.
51561 * iconvdata/testdata/CP773: New file.
51562 * iconvdata/testdata/CP773..UTF8: New file.
51563 * iconvdata/testdata/CP774: New file.
51564 * iconvdata/testdata/CP774..UTF8: New file.
51565
51566 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51567 END CHARMAP line.
51568 * iconvdata/gen-8bit-gap.sh: Likewise.
51569 * iconvdata/gen-8bit.sh: Likewise.
51570
c1e9e399
UD
51571 * locale/iso-639.def: Add ary entry.
51572
24c55fb3 51573 [BZ #11258]
96b4b1b0
UD
51574 * locale/C-translit.h.in: Add U20A1 transliteration.
51575
bdc2f971
KB
51576 [BZ #12178]
51577 * locale/iso-639.def: Add wae entry.
51578 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51579
2952b117
UD
51580 [BZ #12545]
51581 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51582 for n.
51583
2a81eaa5
UD
51584 [BZ #12711]
51585 * locale/C-translit.h.in: Add entry for U20B9.
51586 Patch by pravin.d.s@gmail.com.
51587
28377d1b
UD
515882011-05-08 Ulrich Drepper <drepper@gmail.com>
51589
7fb90fb8
UD
51590 [BZ #12713]
51591 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51592 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51593 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51594 in rtld. Use *stat64.
7fb90fb8 51595 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51596 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51597 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51598 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51599 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51600 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51601 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51602 __fstatat64 macros.
7fb90fb8
UD
51603 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51604 * dirent/rewinddir.c: Add libc_hidden_def.
51605 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51606 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51607
28377d1b
UD
51608 * include/dirent.h (__alloc_dir): Add flags parameter.
51609 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51610 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51611 __alloc_dir.
51612 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51613 from fdopendir if O_CLOEXEC is already set.
51614
66bdbaa4
AM
516152011-03-15 Alan Modra <amodra@gmail.com>
51616
51617 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51618 l_tls_firstbyte_offset non-zero. Save padding offset in
51619 l_tls_firstbyte_offset for later use.
51620 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51621 freeing static tls block.
51622
95721191
JN
516232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51624
51625 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51626 where #ifdef was intended. The intent is to prevent ARG_MAX from
51627 being defined by the kernel headers.
51628
f87dfb1f
UD
516292011-05-07 Ulrich Drepper <drepper@gmail.com>
51630
51631 [BZ #12734]
51632 * resolv/resolv.h: Define RES_NOTLDQUERY.
51633 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51634 no-tld-query and set RES_NOTLDQUERY.
51635 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51636 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51637 modern BIND to search name as TLD unless forbidden.
51638
47c3cd7a
UD
516392011-05-07 Petr Baudis <pasky@suse.cz>
51640 Ulrich Drepper <drepper@gmail.com>
51641
51642 [BZ #12393]
51643 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51644 (is_trusted_path): ...to here.
c1e9ea35 51645 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51646 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51647 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51648
8a35c912
PP
516492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51650
51651 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51652 __BEGIN/__END_DECLS.
51653
acd41f47
UD
516542011-05-06 Ulrich Drepper <drepper@gmail.com>
51655
51656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51657 NSS_STATUS_NOTFOUND if no record was found.
51658
597df647
AS
516592011-05-05 Andreas Schwab <schwab@redhat.com>
51660
51661 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51662 (headers-not-in-tirpc): Remove rpc/netdb.h
51663 * resolv/netdb.h: Revert last change.
51664
b9af1301
PP
516652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51666
51667 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51668 circular dependency between libgcc.a and libc.a.
51669
4e34d5f5
AS
516702011-05-05 Andreas Schwab <schwab@redhat.com>
51671
51672 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51673 * nis/Makefile: Don't install rpcsvc/*.
51674 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51675 instead of <rpc/types.h>.
51676 (MAXHOSTNAMELEN): Define.
51677
00ee369c
AS
516782011-05-03 Andreas Schwab <schwab@redhat.com>
51679
51680 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51681
0b592a30
MB
516822011-04-28 Maciej Babinski <mbabinski@google.com>
51683
51684 [BZ #12714]
51685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51686 gethostbyname4_r when IPv6 results are possible.
51687
6e04cbbe
UD
516882011-05-02 Ulrich Drepper <drepper@gmail.com>
51689
51690 [BZ #12723]
51691 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51692 _PC_PIPE_BUF handling.
51693
e4ecafe0
BH
516942011-04-30 Bruno Haible <bruno@clisp.org>
51695
51696 [BZ #12717]
51697 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51698 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51699 to 'int'.
51700 * inet/getnameinfo.c (getnameinfo): Likewise.
51701
125ee683
UD
517022011-04-29 Ulrich Drepper <drepper@gmail.com>
51703
51704 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51705 to groups setting in database lookup.
51706 * nss/nsswitch.conf: Add initgroups entry.
51707
b722481a
EB
517082011-04-22 Ulrich Drepper <drepper@gmail.com>
51709
51710 [BZ #12685]
51711 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51712 mode string.
51713 Patch by Eric Blake <eblake@redhat.com>.
51714
4df46dbd
L
517152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51716
51717 * sunrpc/Makefile (need-export-routines): Add svc_run.
51718 (routines): Remove svc_run.
51719 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51720 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51721 * sunrpc/svc_run.c (svc_run): Likewise.
51722 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51723
e84142d2
UD
517242011-04-21 Ulrich Drepper <drepper@gmail.com>
51725
51726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51727 problem in reallocation in last patch.
51728
877175d8
UD
517292011-04-20 Ulrich Drepper <drepper@gmail.com>
51730
51731 * sunrpc/Makefile: Move inclusion of Rules.
51732
ab8eed78
UD
517332011-04-19 Ulrich Drepper <drepper@gmail.com>
51734
51735 * nss/nss_files/files-initgroups.c: New file.
51736 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51737 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51738 _nss_files_initgroups_dyn.
51739
e3d8f584
RS
517402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51741
51742 * elf/elf.h (R_ARM_IRELATIVE): Define.
51743
af190f45
UD
517442011-04-19 Ulrich Drepper <drepper@gmail.com>
51745
51746 * po/ru.po: Update from translation team.
51747
53cf59ef
UD
517482011-04-17 Ulrich Drepper <drepper@gmail.com>
51749
51750 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51751 dependencies.
51752
4c559bcd
MF
517532011-02-06 Mike Frysinger <vapier@gentoo.org>
51754
51755 [BZ #12653]
51756 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51757 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51758 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51759 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51761
4420675c
AS
517622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51763
51764 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51765 differing bytes.
51766 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51769
75ea32ab
UD
517702011-04-17 Ulrich Drepper <drepper@gmail.com>
51771
51772 [BZ #12420]
51773 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51774 storing it.
51775 * stdlib/bug-getcontext.c: New file.
51776 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51777
27390476
AK
517782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51779
51780 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51781 instructions into .machine "z9-109".
51782 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51783 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51784
10442705
AK
517852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51786
51787 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51788 between environment variables and auxiliary vector.
51789
7b57bfe5
UD
517902011-04-16 Ulrich Drepper <drepper@gmail.com>
51791
51792 * Makefile: Add rules to build linkobj/libc.so.
51793 * include/libc-symbols.h: Define libc_hidden_nolink.
51794 * include/rpc/auth.h: Mark functions which are to be hidden.
51795 * include/rpc/auth_des.h: Likewise.
51796 * include/rpc/auth_unix.h: Likewise.
51797 * include/rpc/clnt.h: Likewise.
51798 * include/rpc/des_crypt.h: Likewise.
51799 * include/rpc/key_prot.h: Likewise.
51800 * include/rpc/pmap_clnt.h: Likewise.
51801 * include/rpc/pmap_prot.h: Likewise.
51802 * include/rpc/pmap_rmt.h: Likewise.
51803 * include/rpc/rpc_msg.h: Likewise.
51804 * include/rpc/svc.h: Likewise.
51805 * include/rpc/svc_auth.h: Likewise.
51806 * include/rpc/xdr.h: Likewise.
51807 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51808 * nss/Makefile: Likewise.
51809 * sunrpc/Makefile: Don't install headers. Build library with normal
51810 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51811 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51812 for the compat linking library. Remove use of INTDEF/INTUSE.
51813 * sunrpc/auth_none.c: Likewise.
51814 * sunrpc/auth_unix.c: Likewise.
51815 * sunrpc/authdes_prot.c: Likewise.
51816 * sunrpc/authuxprot.c: Likewise.
51817 * sunrpc/clnt_gen.c: Likewise.
51818 * sunrpc/clnt_perr.c: Likewise.
51819 * sunrpc/clnt_raw.c: Likewise.
51820 * sunrpc/clnt_simp.c: Likewise.
51821 * sunrpc/clnt_tcp.c: Likewise.
51822 * sunrpc/clnt_udp.c: Likewise.
51823 * sunrpc/clnt_unix.c: Likewise.
51824 * sunrpc/des_crypt.c: Likewise.
51825 * sunrpc/des_soft.c: Likewise.
51826 * sunrpc/get_myaddr.c: Likewise.
51827 * sunrpc/key_call.c: Likewise.
51828 * sunrpc/key_prot.c: Likewise.
51829 * sunrpc/netname.c: Likewise.
51830 * sunrpc/pm_getmaps.c: Likewise.
51831 * sunrpc/pm_getport.c: Likewise.
51832 * sunrpc/pmap_clnt.c: Likewise.
51833 * sunrpc/pmap_prot.c: Likewise.
51834 * sunrpc/pmap_prot2.c: Likewise.
51835 * sunrpc/pmap_rmt.c: Likewise.
51836 * sunrpc/publickey.c: Likewise.
51837 * sunrpc/rpc_cmsg.c: Likewise.
51838 * sunrpc/rpc_common.c: Likewise.
51839 * sunrpc/rpc_dtable.c: Likewise.
51840 * sunrpc/rpc_prot.c: Likewise.
51841 * sunrpc/rpc_thread.c: Likewise.
51842 * sunrpc/rtime.c: Likewise.
51843 * sunrpc/svc.c: Likewise.
51844 * sunrpc/svc_auth.c: Likewise.
51845 * sunrpc/svc_authux.c: Likewise.
51846 * sunrpc/svc_raw.c: Likewise.
51847 * sunrpc/svc_run.c: Likewise.
51848 * sunrpc/svc_simple.c: Likewise.
51849 * sunrpc/svc_tcp.c: Likewise.
51850 * sunrpc/svc_udp.c: Likewise.
51851 * sunrpc/svc_unix.c: Likewise.
51852 * sunrpc/svcauth_des.c: Likewise.
51853 * sunrpc/xcrypt.c: Likewise.
51854 * sunrpc/xdr.c: Likewise.
51855 * sunrpc/xdr_array.c: Likewise.
51856 * sunrpc/xdr_float.c: Likewise.
51857 * sunrpc/xdr_intXX_t.c: Likewise.
51858 * sunrpc/xdr_mem.c: Likewise.
51859 * sunrpc/xdr_rec.c: Likewise.
51860 * sunrpc/xdr_ref.c: Likewise.
51861 * sunrpc/xdr_sizeof.c: Likewise.
51862 * sunrpc/xdr_stdio.c: Likewise.
51863
e6c61494
UD
518642011-04-10 Ulrich Drepper <drepper@gmail.com>
51865
51866 [BZ #12650]
51867 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51868 * sysdeps/ia64/dl-tls.h: Likewise.
51869 * sysdeps/powerpc/dl-tls.h: Likewise.
51870 * sysdeps/s390/dl-tls.h: Likewise.
51871 * sysdeps/sh/dl-tls.h: Likewise.
51872 * sysdeps/sparc/dl-tls.h: Likewise.
51873 * sysdeps/x86_64/dl-tls.h: Likewise.
51874 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51875
34fe483e
AS
518762011-03-14 Andreas Schwab <schwab@redhat.com>
51877
51878 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51879 rpath element also skip the following colon.
51880 (expand_dynamic_string_token): Add is_path parameter and pass
51881 down to DL_DST_REQUIRED and _dl_dst_substitute.
51882 (decompose_rpath): Call expand_dynamic_string_token with
51883 non-zero is_path. Ignore empty rpaths.
51884 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51885 with zero is_path.
51886
f12a32e6
AS
518872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51888
51889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51890 Make cancelable.
51891
38a7d692
UD
518922011-04-09 Ulrich Drepper <drepper@gmail.com>
51893
51894 [BZ #12655]
51895 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51896 Patch by Filipe David Manana <fdmanana@apache.org>.
51897
e451d22b
AS
518982011-04-07 Andreas Schwab <schwab@redhat.com>
51899
51900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51901 Maintain aligned stack.
51902 (CHECK_RSP): Remove unused macro.
51903
dedc7c7b
UD
519042011-04-03 Ulrich Drepper <drepper@gmail.com>
51905
51906 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51907 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51908
94521213
UD
519092011-04-02 Ulrich Drepper <drepper@gmail.com>
51910
51911 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51912
8cb700c0 51913 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51914
0354e355
L
519152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51916
51917 [BZ #12518]
51918 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51919 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51920 * sysdeps/x86_64/memmove.c: New file.
51921 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51922 (memcpy): Renamed to ...
51923 (__new_memcpy): This.
51924 (memcpy): Provide GLIBC_2_14 memcpy.
51925 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51926 (memcpy): Provide GLIBC_2_2_5 memcpy.
51927
8593482f
UD
519282011-04-01 Ulrich Drepper <drepper@gmail.com>
51929
51930 [BZ #12631]
51931 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51932
81a5726b
AS
519332011-03-30 Andreas Schwab <schwab@redhat.com>
51934
51935 * misc/syncfs.c: New file.
51936 * misc/Makefile (routines): Add syncfs.
51937 * posix/unistd.h: Declare syncfs.
51938 * sysdeps/unix/syscalls.list: Add syncfs.
51939
00e5419f
AS
519402011-04-01 Andreas Schwab <schwab@redhat.com>
51941
51942 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51943 open_by_handle_at.
51944 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51945 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51947 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51949 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51951
748876bf
UD
519522011-04-01 Ulrich Drepper <drepper@gmail.com>
51953
658e451d
UD
51954 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51955 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51956 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51961
748876bf
UD
51962 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51963 sync_file_range.c with -fexceptions.
51964 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51965 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51966 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51967 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51968 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51969 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
51971 sync_file_range as cancellation point
51972 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51973 now a wrapper around __call_sync_file_range with cancellation handling.
51974 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51975 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51976 function name to __call_sync_file_range.
51977 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51978 Add call_sync_file_range.
748876bf 51979
6e63d5e1
AS
519802011-04-01 Andreas Schwab <schwab@redhat.com>
51981
51982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 51983 bits/timex.h.
6e63d5e1 51984
46998f74
UD
519852011-04-01 Ulrich Drepper <drepper@gmail.com>
51986
4c1423ed
UD
51987 * iconv/iconv.h: Fix typo in comment.
51988 * io/fcntl.h: Likewise.
51989 * libio/stdio.h: Likewise.
51990 * posix/spawn.h: Likewise.
51991 * posix/unistd.h: Likewise.
51992 * stdlib/stdlib.h: Likewise.
51993 * time/time.h: Likewise.
51994 * wcsmbs/wchar.h: Likewise.
51995
158648c0
UD
51996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51997 open_by_handle): Add.
51998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51999 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52000 Augment a few comments.
52001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52005 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52006 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52007 open_by_handle.
52008
46998f74
UD
52009 * io/fcntl.h (AT_EMPTY_PATH): Define.
52010
83fe108b
UD
520112011-03-30 Ulrich Drepper <drepper@gmail.com>
52012
52013 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52014 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52015 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52016 to...
52017 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
52018 * Versions.def: Add GLIBC_2.14.
52019 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52020 Export.
83fe108b 52021
bb242059
UD
520222011-03-22 Ulrich Drepper <drepper@gmail.com>
52023
52024 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52025 round counter.
52026 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52027
c97a1282
L
520282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52029
52030 [BZ #12597]
52031 * string/test-strncmp.c (do_page_test): New function.
52032 (check2): Likewise.
52033 (test_main): Call check2.
52034 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52035
2a115601
UD
520362011-03-20 Ulrich Drepper <drepper@gmail.com>
52037
52038 [BZ #12587]
52039 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52040 Handle cache information in CPU leaf 4.
52041 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52042
8126d904
UD
520432011-03-18 Ulrich Drepper <drepper@gmail.com>
52044
042c49c6 52045 [BZ #12583]
8126d904
UD
52046 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52047 character representation.
52048 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52049
ccfe366e
RA
520502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52051
52052 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52053 END(__isnan) to END(__isnanf) to match function entry point/label
52054 EALIGN(__isnanf,...).
52055
c6e13027
JJ
520562011-03-10 Jakub Jelinek <jakub@redhat.com>
52057
52058 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52059
33f85a3f
UD
520602011-03-10 Ulrich Drepper <drepper@gmail.com>
52061
028478fa
UD
52062 [BZ #12510]
52063 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52064 copy from the symbol referenced in the relocation to initialize the
52065 used variable.
52066 Patch by Piotr Bury <pbury@goahead.com>.
52067 * elf/Makefile: Add rules to build and tst-unique3.
52068 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52069 * elf/tst-unique3.cc: New file.
52070 * elf/tst-unique3.h: New file.
52071 * elf/tst-unique3lib.cc: New file.
52072 * elf/tst-unique3lib2.cc: New file.
52073
33f85a3f
UD
52074 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52075
03592fc7
MF
520762011-03-10 Mike Frysinger <vapier@gentoo.org>
52077
52078 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52079 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52080 to _start.
03592fc7 52081
6a5ee102
UD
520822011-03-06 Ulrich Drepper <drepper@gmail.com>
52083
52084 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52085 to-be-loaded object along a path to loader is ld.so.
52086
7e4ba49c
HJ
520872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52088 Ulrich Drepper <drepper@gmail.com>
52089
52090 * sysdeps/x86_64/memset.S: After aligning destination, code
52091 branches to different locations depending on the value of
52092 misalignment, when multiarch is enabled. Fix this.
52093
520942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52095
52096 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52097 Set _x86_64_preferred_memory_instruction for AMD processsors.
52098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52099 Set bit_Prefer_SSE_for_memop for AMD processors.
52100
13a804de
UD
521012011-03-04 Ulrich Drepper <drepper@gmail.com>
52102
52103 * libio/fmemopen.c (fmemopen): Optimize a bit.
52104
9d25c392
AS
521052011-03-03 Andreas Schwab <schwab@redhat.com>
52106
52107 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52108
a5543c6a
RM
521092011-03-03 Roland McGrath <roland@redhat.com>
52110
52111 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52112
012d35f7
DM
521132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52114
7e4ba49c 52115 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
52116 __bzero_ultra1 instead of __memset_ultra1.
52117
4bff6e01
AS
521182011-02-23 Andreas Schwab <schwab@redhat.com>
52119 Ulrich Drepper <drepper@gmail.com>
52120
52121 [BZ #12509]
52122 * include/link.h (struct link_map): Add l_orig_initfini.
52123 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52124 returning unsuccessfully.
52125 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52126 close of a file loaded at startup, restore the original l_initfini
52127 list.
52128 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52129 list, store the pointer.
52130 * elf/Makefile ($(objpfx)noload-mem): New rule.
52131 (noload-ENV): Define.
52132 (tests): Add $(objpfx)noload-mem.
52133 * elf/noload.c: Include <memcheck.h>.
52134 (main): Call mtrace. Close all opened handles.
52135
f2092faf
AS
521362011-02-17 Andreas Schwab <schwab@redhat.com>
52137
52138 [BZ #12454]
52139 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52140 dependencies are missing.
52141
6c8a2e88
ST
521422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52143
f2092faf 52144 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
52145 Hurd needs munmap.
52146 * sysdeps/mach/hurd/ifreq.h: New file.
52147
84a42118
PB
521482011-01-27 Petr Baudis <pasky@suse.cz>
52149 Ulrich Drepper <drepper@gmail.com>
52150
071f805e 52151 [BZ 12445]#
84a42118
PB
52152 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52153 to extend_alloca().
52154 * stdio-common/bug23.c: New file.
52155 * stdio-common/Makefile (tests): Add bug23.
52156
e23fe25b
AS
521572010-09-28 Andreas Schwab <schwab@redhat.com>
52158 Ulrich Drepper <drepper@gmail.com>
52159
52160 [BZ #12489]
52161 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52162 before performing relro protection. At old place add assertion
52163 to make sure nothing changed.
52164
d3f02e10
NS
521652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52166 Glauber de Oliveira Costa <glommer@gmail.com>
52167
52168 * elf/elf.h: Add new ARM TLS relocs.
52169
d55fd7a5
RA
521702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52171
52172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52173 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52174 cast from r3.
52175 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52176 'tests' variable.
52177 * sysdeps/wordsize-64/tst-writev.c: New file.
52178
2206397e
RA
521792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52180
52181 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52182 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52183 insns in _dl_start to prevent a TOC reference before relocs are
52184 resolved.
52185
e9433893
UD
521862011-02-15 Ulrich Drepper <drepper@gmail.com>
52187
52188 [BZ #12469]
52189 * Makeconfig: Remove RANLIB definition.
52190 * Makerules: Don't use RANLIB.
52191 * aclocal.m4: Remove ranlib test.
52192 * configure.in: No need to check for ranlib.
52193 * elf/rtld-Rules: Don't use RANLIB.
52194
f75286c6
ST
521952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52196
8e31c82d
ST
52197 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52198 protection macro.
52199 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52200 inclusion protection macro.
52201
f75286c6
ST
52202 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52203 SIGRTMIN and SIGRTMAX and print information in that case only when
52204 SIGRTMIN is defined.
52205
c1d0e639
JJ
522062011-02-11 Jakub Jelinek <jakub@redhat.com>
52207
52208 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52209 arginfo fn returning -1.
52210
52211 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52212 and thousands string is zero terminated.
52213
edf9294e
AS
522142011-02-03 Andreas Schwab <schwab@redhat.com>
52215
52216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52217 sysdeps/unix/sysv/linux/bits/socket.h.
52218
2b7e92df
ST
522192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52220
edf9294e
AS
52221 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52222 (__CPU_COUNT): Remove old macros.
52223 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52224 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52225 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52226 (__sched_cpualloc, __sched_cpufree): Add declarations.
52227
a4c7ea7b
UD
522282011-02-05 Ulrich Drepper <drepper@gmail.com>
52229
52230 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52231 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52232 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52233 (readdhstai): Return value of addhstaiX call.
52234 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52235 (addgrbyX): Return value returned by cache_addgr.
52236 (readdgrbyname): Return value returned by addgrbyX.
52237 (readdgrbygid): Likewise.
52238 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52239 (addpwbyX): Return value returned by cache_addpw.
52240 (readdpwbyname): Return value returned by addhstbyX.
52241 (readdpwbyuid): Likewise.
52242 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52243 (addservbyX): Return value returned by cache_addserv.
52244 (readdservbyname): Return value returned by addservbyX:
52245 (readdservbyport): Likewise.
52246 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52247 (addhstbyX): Return value returned by cache_addhst.
52248 (readdhstbyname): Return value returned by addhstbyX.
52249 (readdhstbyaddr): Likewise.
52250 (readdhstbynamev6): Likewise.
52251 (readdhstbyaddrv6): Likewise.
52252 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52253 (readdinitgroups): Return value returned by addinitgroupsX.
52254 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52255 (prune_cache): Keep track of timeout value of re-added entries.
52256 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52257 * nscd/nscd.h: Adjust prototypes of readd* functions.
52258
a0bf67cc
RM
522592011-02-04 Roland McGrath <roland@redhat.com>
52260
52261 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52262 (nis_stats): Likewise.
52263 * nis/nis_modify.c (nis_modify): Likewise.
52264 * nis/nis_remove.c (nis_remove): Likewise.
52265 * nis/nis_add.c (nis_add): Likewise.
52266
52267 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52268
52269 * posix/fnmatch_loop.c: Add some consts.
52270
52271 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52272
435b95eb
L
522732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52274
52275 [BZ #12460]
52276 * config.make.in (config-cflags-novzeroupper): Define.
52277 * configure.in: Substitute libc_cv_cc_novzeroupper.
52278 * elf/Makefile (AVX-CFLAGS): Define.
52279 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52280 (CFLAGS-tst-auditmod4a.c): Likewise.
52281 (CFLAGS-tst-auditmod4b.c): Likewise.
52282 (CFLAGS-tst-auditmod6b.c): Likewise.
52283 (CFLAGS-tst-auditmod6c.c): Likewise.
52284 (CFLAGS-tst-auditmod7b.c): Likewise.
52285 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52286
8517b15e
UD
522872011-02-02 Ulrich Drepper <drepper@gmail.com>
52288
52289 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52290 function to the callback.
52291 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52292
10a656fe
AS
522932011-02-02 Andreas Schwab <schwab@redhat.com>
52294
52295 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52296 of errno.
52297
968dad0a
UD
522982011-01-19 Ulrich Drepper <drepper@gmail.com>
52299
9f94d2ea 52300 [BZ #11724]
968dad0a
UD
52301 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52302 of constructors.
52303 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52304 of destructors.
52305 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52306
52307 [BZ #11724]
52308 * elf/Makefile: Add rules to build and run new test.
52309 * elf/tst-initorder.c: New file.
52310 * elf/tst-initorder.exp: New file.
52311 * elf/tst-initordera1.c: New file.
52312 * elf/tst-initordera2.c: New file.
52313 * elf/tst-initordera3.c: New file.
52314 * elf/tst-initordera4.c: New file.
52315 * elf/tst-initorderb1.c: New file.
52316 * elf/tst-initorderb2.c: New file.
52317 * elf/tst-order-a1.c: New file.
52318 * elf/tst-order-a2.c: New file.
52319 * elf/tst-order-a3.c: New file.
52320 * elf/tst-order-a4.c: New file.
52321 * elf/tst-order-b1.c: New file.
52322 * elf/tst-order-b2.c: New file.
52323 * elf/tst-order-main.c: New file.
52324 New test case by George Gensure <werkt0@gmail.com>.
52325
86e92359
UD
523262010-10-01 Andreas Schwab <schwab@redhat.com>
52327
52328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52329 decoding ACE if AI_CANONIDN.
52330
5d5732b0
UD
523312011-01-18 Ulrich Drepper <drepper@gmail.com>
52332
52333 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52334
a77e8cbc
UD
523352011-01-17 Ulrich Drepper <drepper@gmail.com>
52336
6392473f
UD
52337 * version.h (RELEASE): Bump for 2.13 release.
52338 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52339
620a0529
UD
52340 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52341
18ba70a5
UD
52342 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52343 MADV_NOHUGEPAGE.
32465c3e
UD
52344 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52345 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52346 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52347 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52348 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52349 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52350
c0dafcf1
UD
52351 * posix/getconf.c: Update copyright year.
52352 * catgets/gencat.c: Likewise.
52353 * csu/version.c: Likewise.
52354 * debug/catchsegv.sh: Likewise.
52355 * debug/xtrace.sh: Likewise.
52356 * elf/ldconfig.c: Likewise.
52357 * elf/ldd.bash.in: Likewise.
52358 * elf/sprof.c (print_version): Likewise.
52359 * iconv/iconv_prog.c: Likewise.
52360 * iconv/iconvconfig.c: Likewise.
52361 * locale/programs/locale.c: Likewise.
52362 * locale/programs/localedef.c: Likewise.
52363 * malloc/memusage.sh: Likewise.
52364 * malloc/mtrace.pl: Likewise.
52365 * nscd/nscd.c (print_version): Likewise.
52366 * nss/getent.c: Likewise.
52367
a77e8cbc
UD
52368 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52369 PF_CAIF, and PF_ALG.
52370 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52371
77e8bddf
AS
523722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52373
1f20b93a
AS
52374 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52375 (modules-names): Use them.
52376 (ifunc-test-modules, ifunc-pie-tests): Define.
52377 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52378 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52379 (test-extras): Likewise.
52380 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52381 $(compile-command.c).
52382 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52383 (all-built-dso): Define.
52384 (check-textrel.out, check-execstack.out): Depend on it.
52385
77e8bddf
AS
52386 * configure.in: Don't override --enable-multi-arch.
52387
bc425b33
UD
523882011-01-15 Ulrich Drepper <drepper@gmail.com>
52389
52390 [BZ #6812]
52391 * nscd/hstcache.c (tryagain): Define.
52392 (cache_addhst): Return tryagain not notfound for temporary errors.
52393 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52394 failed.
52395
794c3ad3
UD
523962011-01-14 Ulrich Drepper <drepper@gmail.com>
52397
70181fdd
UD
52398 [BZ #10563]
52399 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52400 to make the syscall.
52401 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52402
794c3ad3
UD
52403 [BZ #12378]
52404 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52405 and fall back to matching as normal character if the string ends before
52406 the matching ']' is found. This is what POSIX requires.
52407 * posix/testfnm.c: Adjust test result.
52408 * posix/globtest.sh: Adjust test result. Add new test.
52409 * posix/tst-fnmatch.input: Likewise.
52410 * posix/tst-fnmatch2.c: Add new test.
52411
68dc9497
AS
524122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52413
52414 * elf/Makefile (check-execstack): Revert last change. Depend on
52415 check-execstack.h.
52416 (check-execstack.h): New target.
52417 (generated): Add check-execstack.h.
52418 * elf/check-execstack.c: Include "check-execstack.h".
52419 (main): Revert last change.
52420 (handle_file): Return zero if GNU_STACK is absent and
52421 DEFAULT_STACK_PERMS doesn't include PF_X.
52422
451f001b
UD
524232011-01-13 Ulrich Drepper <drepper@gmail.com>
52424
cfa28e56
UD
52425 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52426 in child fails because the descriptor is already closed.
8cf8ce17
UD
52427 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52428 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52429 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52430
1086d70d
UD
52431 [BZ #12397]
52432 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52433 syscall.
52434
451f001b
UD
52435 [BZ #10484]
52436 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52437 temporary buffer used to handle multi lookups locally.
a85b5cb4 52438 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52439
08769175
UD
524402011-01-12 Ulrich Drepper <drepper@gmail.com>
52441
52442 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52443 loader is ld.so.
52444
5e49c52e
UD
524452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52446
52447 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52448 alignment for SSE2.
52449
60522a5f
UD
524502011-01-12 Ulrich Drepper <drepper@gmail.com>
52451
52452 [BZ #12394]
52453 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52454 characters. When rounding increased number of integer digits recompute
52455 number of groups.
52456 * stdio-common/tst-grouping.c: New file.
52457 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52458
f257bbd7
UD
524592011-01-09 Ulrich Drepper <drepper@gmail.com>
52460
52461 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52462 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52463
52464 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52465 void.
52466 * bits/select.h: Likewise.
52467
fa9c15cb
UD
524682011-01-08 Ulrich Drepper <drepper@gmail.com>
52469
52470 * po/ja.po: Update from translation team.
52471
16c2895f
DM
524722011-01-04 David S. Miller <davem@sunset.davemloft.net>
52473
52474 [BZ #11155]
52475 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52476 implementation just like for lxstat, fxstatat, et al.
52477
2543fef2
JM
524782010-12-27 Jim Meyering <meyering@redhat.com>
52479
52480 [BZ #12348]
52481 * posix/regexec.c (build_trtable): Return failure indication upon
52482 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52483
98727dbe
UD
524842010-12-25 Ulrich Drepper <drepper@gmail.com>
52485
5bd6dc5c
UD
52486 [BZ #12201]
52487 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52488 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52489 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52490 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52491
97983464
UD
52492 [BZ #12207]
52493 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52494
98727dbe
UD
52495 [BZ #12204]
52496 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52497 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52498
4a531bb0
L
524992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52500
52501 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52502 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52503 script has SORT_BY_INIT_PRIORITY.
52504 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52505 NO_CTORS_DTORS_SECTIONS is defined.
52506 * elf/soinit.c: Likewise.
52507 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52508 NO_CTORS_DTORS_SECTIONS is defined.
52509 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52510 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52511 * sysdeps/sh/init-first.c: Likewise.
52512 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52513
07eb4b71
UD
525142010-12-24 Ulrich Drepper <drepper@gmail.com>
52515
52516 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52517 always use the slow path.
52518
30950a5f
RA
525192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52520
52521 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52522 similar rule which adds the sysdep directories to the header search in
52523 order to pick up the correct platform stackinfo.h.
52524 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52525 perform test if it is, otherwise return successfully without testing.
52526 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52527 DEFAULT_STACK_PERMS define in stackinfo.h.
52528 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52529 defined in stackinfo.h.
52530 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52531 DEFAULT_STACK_PERMS defined in stackinfo.h.
52532 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52533 * sysdeps/ia64/stackinfo.h: Likewise.
52534 * sysdeps/s390/stackinfo.h: Likewise.
52535 * sysdeps/sh/stackinfo.h: Likewise.
52536 * sysdeps/sparc/stackinfo.h: Likewise.
52537 * sysdeps/x86_64/stackinfo.h: Likewise.
52538 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52539 PF_X for powerpc64. Retain PF_X for powerpc32.
52540
db753e2c
UD
525412010-12-19 Ulrich Drepper <drepper@gmail.com>
52542
14b697f7
UD
52543 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52544 accurately.
db753e2c
UD
52545 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52546 GETDENTS_64BIT_ALIGNED.
52547
28300719
UD
525482010-12-14 Ulrich Drepper <dreper@gmail.com>
52549
14b697f7 52550 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52551
4f197237
AS
525522010-12-10 Andreas Schwab <schwab@redhat.com>
52553
dbb0472f
AS
52554 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52555 _GNU_SOURCE.
52556
4f197237
AS
52557 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52558 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52559 Remove __restrict.
52560 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52561 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52562
fb88ac72
UD
525632010-12-09 Ulrich Drepper <drepper@gmail.com>
52564
52565 [BZ #11655]
52566 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52567 are initialized.
52568
42acbb92
JJ
525692010-12-09 Jakub Jelinek <jakub@redhat.com>
52570
52571 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52572
c038d98d
UD
525732010-12-03 Ulrich Drepper <drepper@gmail.com>
52574
52575 * po/it.po: Update from translation team.
52576
3a4a2499
L
525772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52578
52579 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52580 unused codes.
52581
1e24cf6e
UD
525822010-11-30 Ulrich Drepper <drepper@gmail.com>
52583
52584 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52585
a7690819
AS
525862010-11-24 Andreas Schwab <schwab@redhat.com>
52587
52588 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52589 specially.
52590 (gaih_getanswer_slice): Likewise.
52591
3bf8d1b1
JJ
525922010-10-20 Jakub Jelinek <jakub@redhat.com>
52593
52594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52595
6db52fbb
PB
525962010-05-31 Petr Baudis <pasky@suse.cz>
52597
52598 [BZ #11149]
52599 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52600 silently even in the chroot mode.
52601
eaca7569
UD
526022010-11-22 Ulrich Drepper <drepper@gmail.com>
52603
52604 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52605 last patch a bit. Pretty printing
52606
3056dcdb
UD
526072010-05-31 Petr Baudis <pasky@suse.cz>
52608
52609 [BZ #10085]
52610 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52611 initialization of skip_initgroups_dyn.
52612
cf7c9078
UD
526132010-11-19 Ulrich Drepper <drepper@gmail.com>
52614
52615 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52616 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52617
a1fb5e3e
UD
526182010-11-16 Ulrich Drepper <drepper@gmail.com>
52619
52620 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52621
3540d66b
AS
526222010-11-11 Andreas Schwab <schwab@redhat.com>
52623
52624 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52625 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52626 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52627 ($(objpfx)tst-fnmatch-mem): New rule.
52628 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52629 * posix/tst-fnmatch.c (main): Call mtrace.
52630
13b69574
L
526312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52632
52633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52634 Support Intel processor model 6 and model 0x2c.
52635
da93d214
LM
526362010-11-10 Luis Machado <luisgpm@br.ibm.com>
52637
52638 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52639 signed comparison.
52640
8ca52c6e
L
526412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52642
52643 [BZ #12205]
52644 * string/test-strncasecmp.c (check_result): New function.
52645 (do_one_test): Use it.
52646 (check1): New function.
52647 (test_main): Use it.
52648 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52649 Support strcasecmp and strncasecmp.
52650
69da074d
UD
526512010-11-08 Ulrich Drepper <drepper@gmail.com>
52652
52653 [BZ #12194]
52654 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52655 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52656
ff02d528
L
526572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52658
52659 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52660 IFUNC support.
52661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52662 memset-x86-64.
52663 * sysdeps/x86_64/multiarch/bzero.S: New file.
52664 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52665 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52666 * sysdeps/x86_64/multiarch/memset.S: New file.
52667 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52669 Set bit_Prefer_SSE_for_memop for Intel processors.
52670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52671 Define.
52672 (index_Prefer_SSE_for_memop): Define.
52673 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52674
344d0b54
LM
526752010-11-04 Luis Machado <luisgpm@br.ibm.com>
52676
52677 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52678 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52679
c0dde15b
UD
526802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52681
52682 [BZ #12191]
52683 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52684 (__x86_64_raw_data_cache_size_half): Likewise.
52685 (__x86_64_raw_shared_cache_size): Likewise.
52686 (__x86_64_raw_shared_cache_size_half): Likewise.
52687
52688 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52689 (__x86_64_raw_data_cache_size_half): Likewise.
52690 (__x86_64_raw_shared_cache_size): Likewise.
52691 (__x86_64_raw_shared_cache_size_half): Likewise.
52692 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52693 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52694 and __x86_64_raw_shared_cache_size_half. Round
52695 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52696 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52697 to multiple of 256 bytes.
52698
0e516e0e
MS
526992010-11-03 Ulrich Drepper <drepper@gmail.com>
52700
52701 [BZ #12167]
52702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52703 of inacessible symlinks. Verify result of symlink before returning it.
52704 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52705 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52706
0e012e87
ER
527072010-10-28 Erich Ritz <erichritz@gmail.com>
52708
52709 * math/math.h (isinf): Fix typo in comment.
52710
de0ff7bc
UD
527112010-11-01 Ulrich Drepper <drepper@gmail.com>
52712
52713 * po/da.po: Update from translation team.
52714
fa41c84d
UD
527152010-10-26 Ulrich Drepper <drepper@gmail.com>
52716
52717 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52718 is added to the list.
52719
f0967738
AK
527202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52721 Ulrich Drepper <drepper@gmail.com>
52722
52723 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52724 the global list here. Move code to...
52725 (_dl_add_to_namespace_list): ...here. New function.
52726 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52727 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52728 * elf/dl-load.c (lose): Don't remove the element from the list.
52729 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52730 (_dl_map_object): Likewise.
52731
527322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52733
52734 [BZ #12159]
52735 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52736 into all bytes of SSE register.
52737 Patch by Richard Li <richardpku@gmail.com>.
52738
f0967738 527392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52740
52741 [BZ #12140]
52742 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52743 perturbing.
52744
d0b9e94f
MB
527452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52746
52747 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52748 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52749 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52750 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52752 submachine.
52753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52754
8e9f92e9
AS
527552010-10-22 Andreas Schwab <schwab@redhat.com>
52756
52757 * include/dlfcn.h (__RTLD_SECURE): Define.
52758 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52759 mode & __RTLD_SECURE instead.
52760 (open_path): Rename preloaded parameter to secure.
52761 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52762 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52763 * elf/dl-deps.c (openaux): Likewise.
52764 * elf/rtld.c (struct map_args): Remove is_preloaded.
52765 (map_doit): Don't use it.
52766 (dl_main): Likewise.
52767 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52768 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52769
bc96fbda
AS
527702010-09-09 Andreas Schwab <schwab@redhat.com>
52771
52772 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52773 (sysd-rules-targets): Remove duplicates.
52774 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52775 rtld-%.$o dependency.
52776
22cd1c9b
AS
527772010-10-18 Andreas Schwab <schwab@redhat.com>
52778
52779 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52780 _dl_map_object do it.
52781
18edac48
UD
527822010-10-19 Ulrich Drepper <drepper@gmail.com>
52783
52784 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52785 fast fma builtins, define the macros in the C99 standard.
52786 (FP_FAST_FMAF): Likewise.
52787 (FP_FAST_FMAL): Likewise.
52788 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52789
52790 * bits/mathdef.h: Update copyright year.
52791 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52792
d2050124
MM
527932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52794
52795 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52796 builtins, define the macros in the C99 standard.
52797 (FP_FAST_FMAF): Likewise.
52798 (FP_FAST_FMAL): Likewise.
52799 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52800 multiply/add.
52801 (FP_FAST_FMAF): Likewise.
52802
475facd1
JJ
528032010-10-15 Jakub Jelinek <jakub@redhat.com>
52804
52805 [BZ #3268]
52806 * math/libm-test.inc (fma_test): Some new testcases.
52807 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52808 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52809 y and infinite z. Do multiplication by C already in long double.
52810 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52812 y and infinite z. Do bitwise or of inexact bit into u.d.
52813 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52814 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52815 * sysdeps/i386/fpu/s_fma.S: Removed.
52816 * sysdeps/i386/fpu/s_fmal.S: Removed.
52817
7c08a05c
JJ
528182010-10-16 Jakub Jelinek <jakub@redhat.com>
52819
52820 [BZ #3268]
52821 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52823 computation is not scheduled after fetestexcept. Fix value
52824 of minimum denormal long double.
52825
f3f7372d
JJ
528262010-10-14 Jakub Jelinek <jakub@redhat.com>
52827
52828 [BZ #3268]
52829 * math/libm-test.inc (fma_test): Add some more tests.
52830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52831 correctly.
52832
14d43591
AS
528332010-10-15 Andreas Schwab <schwab@redhat.com>
52834
52835 * scripts/data/localplt-s390-linux-gnu.data: New file.
52836 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52837
5e908464
JJ
528382010-10-13 Jakub Jelinek <jakub@redhat.com>
52839
52840 [BZ #3268]
52841 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52842 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52843 instead of dbl-64.
52844 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52845 inlines.
52846 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52848 if one of x and y is very large and the other is subnormal.
52849 * sysdeps/s390/fpu/s_fmaf.c: New file.
52850 * sysdeps/s390/fpu/s_fma.c: New file.
52851 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52852 * sysdeps/powerpc/fpu/s_fma.S: New file.
52853 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52854 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52855 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52856
528572010-10-12 Jakub Jelinek <jakub@redhat.com>
52858
52859 [BZ #3268]
52860 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52861 fma tests.
52862 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52863 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52864 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52865 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52866 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52867 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52868 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52869
b833d51f
UD
528702010-10-12 Ulrich Drepper <drepper@redhat.com>
52871
52872 [BZ #12078]
52873 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52874 * posix/bug-regex31.input: Add test case.
52875
1751705d
UD
528762010-10-11 Ulrich Drepper <drepper@gmail.com>
52877
e9b9cbf5
UD
52878 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52879 * posix/bug-regex31.input: New file.
52880
52881 [BZ #12078]
52882 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52883 (parse_sub_exp): Fix last change, use postorder.
52884
ef06edbe
UD
52885 * posix/bug-regex31.c: New file.
52886 * posix/Makefile: Add rules to build and run bug-regex31.
52887
a129c80d
UD
52888 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52889
52890 [BZ #12078]
52891 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52892
b76b818e
UD
52893 [BZ #12108]
52894 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52895 to have entries in sys_siglist.
52896
1751705d
UD
52897 [BZ #12093]
52898 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52899 be NULL.
52900
9ff8d36f
JJ
529012010-10-07 Jakub Jelinek <jakub@redhat.com>
52902
52903 [BZ #3268]
52904 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52905 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52906 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52907 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52908 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52909 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52910 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52911 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52912 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52913 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52914 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52915 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52916 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52917 * math/ftestexcept.c (fetestexcept): Likewise.
52918 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52919 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52920 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52921 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52922 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52923 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52924 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52925
af325969
UD
529262010-10-11 Ulrich Drepper <drepper@gmail.com>
52927
c579b202 52928 [BZ #12107]
af325969
UD
52929 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52930 newline.
52931
67a67b95
UD
529322010-10-06 Ulrich Drepper <drepper@gmail.com>
52933
52934 * string/bug-strstr1.c: New file.
52935 * string/Makefile: Add rules to build and run bug-strstr1.
52936
5fb308bc
EB
529372010-10-05 Eric Blake <eblake@redhat.com>
52938
52939 [BZ #12092]
52940 * string/str-two-way.h (two_way_long_needle): Always clear memory
52941 when skipping input due to the shift table.
52942
45db99c7
UD
529432010-10-03 Ulrich Drepper <drepper@gmail.com>
52944
3b111893
UD
52945 [BZ #12005]
52946 * malloc/mcheck.c: Handle large requests.
52947
45db99c7
UD
52948 [BZ #12077]
52949 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52950 for strncmp and strncasecmp.
52951 * string/stratcliff.c: Add tests for strcmp and strncmp.
52952 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52953
cf7a1eb8
NI
529542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52955
52956 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52957 __set_fpscr.
52958
6484ba5e
AJ
529592010-09-30 Andreas Jaeger <aj@suse.de>
52960
52961 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52962 (CGROUP_SUPER_MAGIC): Define.
52963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52964 Handle btrfs and cgroup file systems.
52965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52966 Likewise.
52967
91c42559
LM
529682010-09-27 Luis Machado <luisgpm@br.ibm.com>
52969
52970 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52971 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52972
87a97932
AK
529732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52974
52975 [BZ #12067]
52976 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52977 trying to locate the ELF header.
52978
c21cc9bc
AS
529792010-09-27 Andreas Schwab <schwab@redhat.com>
52980
52981 [BZ #11611]
52982 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52983 Mask out sign-bit copies when constructing f_fsid.
52984
315970f6
PB
529852010-09-24 Petr Baudis <pasky@suse.cz>
52986
52987 * debug/stack_chk_fail_local.c: Add missing licence exception.
52988 * debug/warning-nop.c: Likewise.
52989
1ac7a2c7
JM
529902010-09-15 Joseph Myers <joseph@codesourcery.com>
52991
52992 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52993 implementing getdents64 using getdents syscall, set d_type if
52994 __ASSUME_GETDENTS32_D_TYPE.
52995
56801c50
AS
529962010-09-16 Andreas Schwab <schwab@redhat.com>
52997
52998 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52999 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53000
dda51327
UD
530012010-09-21 Ulrich Drepper <drepper@redhat.com>
53002
53003 [BZ #12037]
53004 * posix/unistd.h: Undo change of feature selection for ftruncate from
53005 2010-01-11.
53006
8ffcee4a
UD
530072010-09-20 Ulrich Drepper <drepper@redhat.com>
53008
a545ecd9 53009 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
53010 detection.
53011
e24f0a8b
AS
530122010-09-20 Andreas Schwab <schwab@redhat.com>
53013
53014 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53015 fanotify_mark.
53016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53017
7291c56f
AS
530182010-09-14 Andreas Schwab <schwab@redhat.com>
53019
53020 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53021 variables after CHECK_SP call.
53022 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53023
bc5fb037
AS
530242010-09-13 Andreas Schwab <schwab@redhat.com>
53025 Ulrich Drepper <drepper@redhat.com>
53026
53027 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53028 re-relocationg ld.so.
53029 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53030 _dl_init_paths call.
53031 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53032 here anymore.
53033
e66e7419
UD
530342010-09-14 Ulrich Drepper <drepper@redhat.com>
53035
53036 * resolv/res_init.c (__res_vinit): Count the default server we added.
53037
c044aa75
CLT
530382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53039 Ulrich Drepper <drepper@redhat.com>
53040
53041 [BZ #11968]
53042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53043 (____longjmp_chk): Use %ebx for saving value across system call.
53044 Add unwind info.
53045
32cf4069
AS
530462010-09-06 Andreas Schwab <schwab@redhat.com>
53047
53048 * manual/Makefile: Don't mix pattern rules with normal rules.
53049
817328ee
AS
530502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53051
53052 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53053 operation.
53054 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53055 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53056 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53057 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53059 Likewise.
53060
29fddf61
UD
530612010-09-04 Ulrich Drepper <drepper@redhat.com>
53062
53063 [BZ #11979]
53064 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53065 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53066
0959ffc9
UD
530672010-09-02 Ulrich Drepper <drepper@redhat.com>
53068
53069 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53070 * sysdeps/x86_64/addmul_1.S: Likewise.
53071 * sysdeps/x86_64/lshift.S: Likewise.
53072 * sysdeps/x86_64/mul_1.S: Likewise.
53073 * sysdeps/x86_64/rshift.S: Likewise.
53074 * sysdeps/x86_64/sub_n.S: Likewise.
53075 * sysdeps/x86_64/submul_1.S: Likewise.
53076
ece29840
ST
530772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53078
0959ffc9
UD
53079 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53080 Define __sched_param instead of SCHED_* and sched_param when
ece29840 53081 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 53082 * bits/sched.h [__need_schedparam]
ece29840 53083 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
53084 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53085 (__defined_schedparam): Define to 1.
ece29840
ST
53086 (__sched_param): New structure, identical to sched_param.
53087 (__need_schedparam): Undefine.
53088
e53a31fe
MF
530892010-08-31 Mike Frysinger <vapier@gentoo.org>
53090
fdc0c10d
MF
53091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53092 (epoll_create1): Declare.
53093
e53a31fe
MF
53094 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53095
a726d796
AS
530962010-08-31 Andreas Schwab <schwab@redhat.com>
53097
53098 [BZ #7066]
53099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53100 shifting retval into place.
53101
2f3e3dc7
UD
531022010-09-01 Ulrich Drepper <drepper@redhat.com>
53103
f2933da9
UD
53104 * nis/rpcsvc/nis.h: Update copyright notice.
53105 * nis/rpcsvc/nis.x: Likewise.
53106 * nis/rpcsvc/nis_callback.h: Likewise.
53107 * nis/rpcsvc/nis_callback.x: Likewise.
53108 * nis/rpcsvc/nis_object.x: Likewise.
53109 * nis/rpcsvc/nis_tags.h: Likewise.
53110 * nis/rpcsvc/yp.h: Likewise.
53111 * nis/rpcsvc/yp.x: Likewise.
53112 * nis/rpcsvc/ypupd.h: Likewise.
53113 * nis/yp_xdr.c: Likewise.
53114 * nis/ypupdate_xdr.c: Likewise.
53115
2f3e3dc7
UD
53116 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53117 mainly the body of pmap_getport. Add parameters to specify timeouts.
53118 (pmap_getport): Use __libc_rpc_getport.
53119 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53120 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53121 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53122
f3dcc2f9
AS
531232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53124
53125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53126 fanotify_mark.
53127
6d34eb5b
RM
531282010-08-27 Roland McGrath <roland@redhat.com>
53129
53130 * sysdeps/i386/i686/multiarch/Makefile
53131 (CFLAGS-varshift.c): New variable.
53132
9ea3de11
UD
531332010-08-27 Ulrich Drepper <drepper@redhat.com>
53134
c96d23fc
UD
53135 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53136 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53137
9ea3de11
UD
53138 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53139
53140 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53141
623aac7f
L
531422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53143
53144 * sysdeps/x86_64/strlen.S: Unroll the loop.
53145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53146 strlen-sse2 strlen-sse2-bsf.
53147 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53148 __strlen_no_bsf if bit_Slow_BSF is set.
53149 (__strlen_sse42): Removed.
53150 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53151 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53152
8b2b7715
RM
531532010-08-25 Roland McGrath <roland@redhat.com>
53154
53155 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53156 * sysdeps/x86_64/multiarch/varshift.c: New file.
53157 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53158 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53159 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53160 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53161
e73015f2
L
531622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53163
53164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53165 strlen-sse2 strlen-sse2-bsf.
53166 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53167 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53168 (__strlen_sse2): Removed.
53169 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53172 bit_Slow_BSF for Atom.
53173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53174 (index_Slow_BSF): Define.
53175 (HAS_SLOW_BSF): Define.
53176
df24a73e
UD
531772010-08-25 Ulrich Drepper <drepper@redhat.com>
53178
53179 [BZ #10851]
53180 * resolv/res_init.c (__res_vinit): When no server address at all
53181 is given default to loopback.
53182
f2ac4868
RM
531832010-08-24 Roland McGrath <roland@redhat.com>
53184
09055553
RM
53185 * configure.in: Remove config-name.h generation.
53186 * configure: Regenerated.
53187 * config-name.in: File removed.
53188 * scripts/config-uname.sh: New file.
53189 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53190 ($(objdir)config-name.h): New target.
53191
f2ac4868
RM
53192 * sunrpc/rpc_parse.h: Avoid nested comment.
53193
73f27d5e
RH
531942010-08-24 Richard Henderson <rth@redhat.com>
53195 Ulrich Drepper <drepper@redhat.com>
53196 H.J. Lu <hongjiu.lu@intel.com>
53197
53198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53200 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53201 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53202 _mm_alignr_epi8 with _mm_loadu_si128.
53203 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53204 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53205 (__m128i_shift_right): Removed.
53206 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53207 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53208 * sysdeps/x86_64/multiarch/varshift.h: New file.
53209 * sysdeps/x86_64/multiarch/varshift.S: New file.
53210
84b9230c
MF
532112010-08-21 Mike Frysinger <vapier@gentoo.org>
53212
53213 * configure.in: Move assembler checks to before sysdep dir checking.
53214
9bbd0ddc
PB
532152010-08-20 Petr Baudis <pasky@suse.cz>
53216
53217 * LICENSES: Sync the sunrpc license.
53218
9da4bb31
UD
532192010-08-19 Ulrich Drepper <drepper@redhat.com>
53220
a7ab6ec8
UD
53221 * sunrpc/auth_des.c: Update copyright notice once again.
53222 * sunrpc/auth_none.c: Likewise.
53223 * sunrpc/auth_unix.c: Likewise.
53224 * sunrpc/authdes_prot.c: Likewise.
53225 * sunrpc/authuxprot.c: Likewise.
53226 * sunrpc/bindrsvprt.c: Likewise.
53227 * sunrpc/clnt_gen.c: Likewise.
53228 * sunrpc/clnt_perr.c: Likewise.
53229 * sunrpc/clnt_raw.c: Likewise.
53230 * sunrpc/clnt_simp.c: Likewise.
53231 * sunrpc/clnt_tcp.c: Likewise.
53232 * sunrpc/clnt_udp.c: Likewise.
53233 * sunrpc/clnt_unix.c: Likewise.
53234 * sunrpc/des_crypt.c: Likewise.
53235 * sunrpc/des_soft.c: Likewise.
53236 * sunrpc/get_myaddr.c: Likewise.
53237 * sunrpc/getrpcport.c: Likewise.
53238 * sunrpc/key_call.c: Likewise.
53239 * sunrpc/key_prot.c: Likewise.
53240 * sunrpc/openchild.c: Likewise.
53241 * sunrpc/pm_getmaps.c: Likewise.
53242 * sunrpc/pm_getport.c: Likewise.
53243 * sunrpc/pmap_clnt.c: Likewise.
53244 * sunrpc/pmap_prot.c: Likewise.
53245 * sunrpc/pmap_prot2.c: Likewise.
53246 * sunrpc/pmap_rmt.c: Likewise.
53247 * sunrpc/rpc/auth.h: Likewise.
53248 * sunrpc/rpc/auth_unix.h: Likewise.
53249 * sunrpc/rpc/clnt.h: Likewise.
53250 * sunrpc/rpc/des_crypt.h: Likewise.
53251 * sunrpc/rpc/key_prot.h: Likewise.
53252 * sunrpc/rpc/netdb.h: Likewise.
53253 * sunrpc/rpc/pmap_clnt.h: Likewise.
53254 * sunrpc/rpc/pmap_prot.h: Likewise.
53255 * sunrpc/rpc/pmap_rmt.h: Likewise.
53256 * sunrpc/rpc/rpc.h: Likewise.
53257 * sunrpc/rpc/rpc_des.h: Likewise.
53258 * sunrpc/rpc/rpc_msg.h: Likewise.
53259 * sunrpc/rpc/svc.h: Likewise.
53260 * sunrpc/rpc/svc_auth.h: Likewise.
53261 * sunrpc/rpc/types.h: Likewise.
53262 * sunrpc/rpc/xdr.h: Likewise.
53263 * sunrpc/rpc_clntout.c: Likewise.
53264 * sunrpc/rpc_cmsg.c: Likewise.
53265 * sunrpc/rpc_common.c: Likewise.
53266 * sunrpc/rpc_cout.c: Likewise.
53267 * sunrpc/rpc_dtable.c: Likewise.
53268 * sunrpc/rpc_hout.c: Likewise.
53269 * sunrpc/rpc_main.c: Likewise.
53270 * sunrpc/rpc_parse.c: Likewise.
53271 * sunrpc/rpc_parse.h: Likewise.
53272 * sunrpc/rpc_prot.c: Likewise.
53273 * sunrpc/rpc_sample.c: Likewise.
53274 * sunrpc/rpc_scan.c: Likewise.
53275 * sunrpc/rpc_scan.h: Likewise.
53276 * sunrpc/rpc_svcout.c: Likewise.
53277 * sunrpc/rpc_tblout.c: Likewise.
53278 * sunrpc/rpc_util.c: Likewise.
53279 * sunrpc/rpc_util.h: Likewise.
53280 * sunrpc/rpcinfo.c: Likewise.
53281 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53282 * sunrpc/rpcsvc/key_prot.x: Likewise.
53283 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53284 * sunrpc/rpcsvc/mount.x: Likewise.
53285 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53286 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53287 * sunrpc/rpcsvc/rex.x: Likewise.
53288 * sunrpc/rpcsvc/rstat.x: Likewise.
53289 * sunrpc/rpcsvc/rusers.x: Likewise.
53290 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53291 * sunrpc/rpcsvc/spray.x: Likewise.
53292 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53293 * sunrpc/rtime.c: Likewise.
53294 * sunrpc/svc.c: Likewise.
53295 * sunrpc/svc_auth.c: Likewise.
53296 * sunrpc/svc_authux.c: Likewise.
53297 * sunrpc/svc_raw.c: Likewise.
53298 * sunrpc/svc_run.c: Likewise.
53299 * sunrpc/svc_simple.c: Likewise.
53300 * sunrpc/svc_tcp.c: Likewise.
53301 * sunrpc/svc_udp.c: Likewise.
53302 * sunrpc/svc_unix.c: Likewise.
53303 * sunrpc/svcauth_des.c: Likewise.
53304 * sunrpc/xcrypt.c: Likewise.
53305 * sunrpc/xdr.c: Likewise.
53306 * sunrpc/xdr_array.c: Likewise.
53307 * sunrpc/xdr_float.c: Likewise.
53308 * sunrpc/xdr_mem.c: Likewise.
53309 * sunrpc/xdr_rec.c: Likewise.
53310 * sunrpc/xdr_ref.c: Likewise.
53311 * sunrpc/xdr_sizeof.c: Likewise.
53312 * sunrpc/xdr_stdio.c: Likewise.
53313
9da4bb31
UD
53314 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53315 handling.
53316
bdaa77bc
AS
533172010-08-19 Andreas Schwab <schwab@redhat.com>
53318
53319 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53320
fe2f79db
LM
533212010-08-19 Luis Machado <luisgpm@br.ibm.com>
53322
53323 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53324 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53325 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53326 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53327 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53328 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53329 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53330 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53331 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53332 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53333 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53334 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53335 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53336 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53337
b9b42ee0
AB
533382010-07-26 Anton Blanchard <anton@samba.org>
53339
53340 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53341 * malloc/arena.c (heap_trim): Likewise.
53342
1c06ba31
UD
533432010-08-16 Ulrich Drepper <drepper@redhat.com>
53344
53345 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53346 here. Not...
53347 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53348 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53349
f8392f40
L
533502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53351
53352 * sysdeps/i386/elf/Makefile: New file.
53353
3162f12e
AS
533542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53355
53356 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53357 from fanotify_init.
53358 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53360
28c90b2c
UD
533612010-08-15 Ulrich Drepper <drepper@redhat.com>
53362
53363 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53364 of strncasecmp_l.
1feccb6c 53365 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53366
ca6bb004
UD
533672010-08-14 Ulrich Drepper <drepper@redhat.com>
53368
e9f82e0d
UD
53369 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53370 strncase_l-nonascii.
53371 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53372 Add strncase_l-ssse3.
53373 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53374 * sysdeps/x86_64/strcmp.S: Likewise.
53375 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53376 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53377 * sysdeps/x86_64/strncase.S: New file.
53378 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53379 * sysdeps/x86_64/strncase_l.S: New file.
53380 * string/Makefile (strop-tests): Add strncasecmp.
53381 * string/test-strncasecmp.c: New file.
53382
53383 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53384 warning.
53385
ca6bb004
UD
53386 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53387 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53388
052fa7b3
AS
533892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53390
53391 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53392
962dba78
UD
533932010-08-12 Ulrich Drepper <drepper@redhat.com>
53394
53395 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53396 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53397 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53398
bebff237
AM
533992010-05-01 Alan Modra <amodra@gmail.com>
53400
53401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53402 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53403 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53404 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53405 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53406 tidying. Don't tail-call __sigjmp_save for static lib.
53407 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53408 save location.
53409 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53410 (CALL_MCOUNT): Add eh info, and nop after bl.
53411 (TAIL_CALL_SYSCALL_ERROR): New macro.
53412 (PSEUDO_RET): Use it.
53413 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53414 Correct save location of integer regs and cr.
53415 (_dl_profile_resolve): Correct cr save location. Delete nops
53416 after bl when SHARED. Reduce cfi size a little by better
53417 placement of cfi directives.
53418 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53419 make a stack frame. Instead use parm save area as a temp.
53420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53421 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53423 Don't make a stack frame for parent, use parm save area.
53424 Increase child stack frame to 112 bytes. Don't save unused reg,
53425 and adjust reg usage. Set up cfi on error recovery and
53426 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53428 (__makecontext): Add dummy nop after jump to exit.
53429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53430 Use correct parm save area and cr save, reduce stack frame.
53431 Correct cfi for possible PSEUDO_RET frame setup.
53432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53433 Branch to local label emitted by PSEUDO_RET rather than
53434 __syscall_error.
53435
02637374
AS
534362010-08-12 Andreas Schwab <schwab@redhat.com>
53437
53438 [BZ #11904]
53439 * locale/programs/locale.c (print_assignment): New function.
53440 (show_locale_vars): Use it.
53441
c3e2f19b
UD
534422010-08-11 Ulrich Drepper <drepper@redhat.com>
53443
3cdaa6ad
UD
53444 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53445 field.
53446 (struct statfs64): Likewise.
53447 (_STATFS_F_FLAGS): Define.
53448 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53449 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53450 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53451 (ST_VALID): Define locally.
53452 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53453 __statvfs_getflags, use the provided value.
53454 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53455 __ASSUME_STATFS_F_FLAGS.
53456
754f7da3
UD
53457 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53458
10b3bedc
UD
53459 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53460 Add sys/fanotify.h.
53461 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53462 fanotify_mask for GLIBC_2.13.
53463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53464 fanotify_init and fanotify_mark.
53465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53466 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53467
c08fb0d7
UD
53468 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53469 Add prlimit.
53470 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53471 prlimit64 for GLIBC_2.13.
53472 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53473 prlimit64.
53474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53475 syscall.
53476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53477 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53478 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53479 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53481 add prlimit alias.
53482 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53483
15bac72b
UD
53484 [BZ #11903]
53485 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53486 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53487
c3e2f19b
UD
53488 * nss/Makefile: Add rules to build and run tst-nss-test1.
53489 * shlib-versions: Add entry for libnss_test1.
53490 * nss/nss_test1.c: New file.
53491 * nss/tst-nss-test1.c: New file.
53492
53493 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53494 (__nss_configure_lookup): Set appropriate entry in
53495 __nss_configure_lookup to true.
53496 * nss/nsswitch.h: Define enum with indeces of databases in
53497 databases and __nss_database_custom arrays. Declare
53498 __nss_database_custom.
53499 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53500 to avoid using nscd when custom rules are installed.
53501 * nss/getXXbyYY_r.c: Likewise.
53502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53503
53504 * nss/nss_files/files-parse.c: Whitespace fixes.
53505
f15ce4d8
UD
535062010-08-09 Ulrich Drepper <drepper@redhat.com>
53507
53508 [BZ #11883]
53509 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53510 * posix/fnmatch_loop.c: Likewise.
53511
d22e4cc9
AK
535122010-07-17 Andi Kleen <ak@linux.intel.com>
53513
53514 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53515 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53516 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53517 * Versions.def [GLIBC_2.13]: Add.
53518
805bc17d
UD
535192010-08-06 Ulrich Drepper <drepper@redhat.com>
53520
53521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53522 Also fail if tpwd after pwuid call is NULL.
53523
5a42321d
ST
535242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53525
53526 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53527 when converting to ms.
53528
fd3ebeda
ST
535292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53530
53531 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53532 EOPNOTSUPP errors with ENOTTY.
53533 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53534 EOPNOTSUPP errors with ENOTTY.
53535
73507d3a
UD
535362010-07-31 Ulrich Drepper <drepper@redhat.com>
53537
53538 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53539 Add strcasecmp_l-ssse3.
53540 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53541 strcasecmp.
53542 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53543 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53544 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53545
fe36dd02
UD
535462010-07-30 Ulrich Drepper <drepper@redhat.com>
53547
66f6765a
UD
53548 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53549
42e08a54
UD
53550 * string/Makefile (strop-tests): Add strcasecmp.
53551 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53552 strcasecmp_l-nonascii.
53553 (gen-as-const-headers): Add locale-defines.sym.
53554 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53555 * sysdeps/x86_64/strcasecmp.S: New file.
53556 * sysdeps/x86_64/strcasecmp_l.S: New file.
53557 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53558 * sysdeps/x86_64/locale-defines.sym: New file.
53559 * string/test-strcasecmp.c: New file.
53560
fe36dd02
UD
53561 * string/test-strcasestr.c: Test both ends of the range of characters.
53562 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53563
48cbc0d6
RM
535642010-07-29 Roland McGrath <roland@redhat.com>
53565
76e6d6bc 53566 [BZ #11856]
48cbc0d6
RM
53567 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53568
880113d9
UD
535692010-07-27 Ulrich Drepper <drepper@redhat.com>
53570
53571 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53572 for ld.so.
53573
deb9cabb
AS
535742010-07-27 Andreas Schwab <schwab@redhat.com>
53575
53576 * manual/memory.texi (Malloc Tunable Parameters): Document
53577 M_PERTURB.
53578
1c7570ff
RM
535792010-07-26 Roland McGrath <roland@redhat.com>
53580
53581 [BZ #11840]
53582 * configure.in (-fgnu89-inline check): Set and substitute
53583 gnu89_inline, not libc_cv_gnu89_inline.
53584 * configure: Regenerated.
53585 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53586
24fb0f88
UD
535872010-07-26 Ulrich Drepper <drepper@redhat.com>
53588
53589 * string/test-strnlen.c: New file.
53590 * string/Makefile (strop-tests): Add strnlen.
53591 * string/tester.c (test_strnlen): Add a few more test cases.
53592 * string/tst-strlen.c: Better error reporting.
53593
53594 * sysdeps/x86_64/strnlen.S: New file.
53595
8e96b93a
UD
535962010-07-24 Ulrich Drepper <drepper@redhat.com>
53597
53598 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53599 lower-latency instructions.
53600
dbc676d4
UD
536012010-07-23 Ulrich Drepper <drepper@redhat.com>
53602
53603 * string/test-strcasestr.c: New file.
53604 * string/test-strstr.c: New file.
53605 * string/Makefile (strop-tests): Add strstr and strcasestr.
53606 * string/str-two-way.h: Don't undefine MAX.
53607 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53608
f6a31e0e
AS
536092010-07-21 Andreas Schwab <schwab@redhat.com>
53610
53611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53612 strcasestr-nonascii.
53613 (CFLAGS-strcasestr-nonascii.c): Define.
53614 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53616 Remove unused attribute.
53617
5dbc3b6c
RM
536182010-07-20 Roland McGrath <roland@redhat.com>
53619
53620 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53621 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53622 ld.so.cache was broken. With it, there is no way to disable dsocaps
53623 like LD_HWCAP_MASK can disable hwcaps.
53624
23d101d8
EPM
536252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53626
53627 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53628
cc9f2e47
UD
536292010-07-16 Ulrich Drepper <drepper@redhat.com>
53630
53631 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53632 call in strcasestr.
53633 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53634 __strcasestr_sse42_nonascii.
53635 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53636 strcasestr-nonascii.c.
53637 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53638
77c1b069
LM
536392010-06-15 Luis Machado <luisgpm@br.ibm.com>
53640
53641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53642 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53644 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53645
440566c3
UD
536462010-07-09 Ulrich Drepper <drepper@redhat.com>
53647
53648 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53649 fcntl.
53650
5be9d05d
AS
536512010-07-06 Andreas Schwab <schwab@redhat.com>
53652
c30b7ee2 53653 [BZ #11577]
5be9d05d
AS
53654 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53655 dl_signal_cerror.
53656
8a492a67
UD
536572010-07-06 Ulrich Drepper <drepper@redhat.com>
53658
53659 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53660 _PC_PIPE_BUF using F_GETPIPE_SZ.
53661
713df3d5
RM
536622010-07-05 Roland McGrath <roland@redhat.com>
53663
53664 * manual/arith.texi (Rounding Functions): Fix rint description
53665 implicit in round description.
53666
702e8f14
UD
536672010-07-02 Ulrich Drepper <drepper@redhat.com>
53668
53669 * elf/Makefile: Fix linking for a few tests to make recent linker
53670 happy.
53671
52ed8be9
AS
536722010-06-30 Andreas Schwab <schwab@redhat.com>
53673
53674 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53675 $(common-objpfx)libc_nonshared.a.
53676
f47c9a11
LM
536772010-06-21 Luis Machado <luisgpm@br.ibm.com>
53678
53679 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53680 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53681 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53682 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53683 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53684 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53685 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53686 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53701 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53702 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53703 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53704 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53705 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53706 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53707 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53708 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53709 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53710 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53711 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53712 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53727
6fb8cbcb
L
537282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53729
53730 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53731 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53732 * string/memmove.c (memmove): Renamed to ...
53733 (MEMMOVE): ...this. Default to memmove.
53734 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53735 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53736 (END_CHK): Define.
53737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53738 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53739 mempcpy-ssse3-back memmove-ssse3-back.
53740 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53742 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53743 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53744 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53745 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53746 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53747 * sysdeps/x86_64/multiarch/memmove.c: New file.
53748 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53749 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53750 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53751 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53752 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53753 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53754 Define.
53755 (index_Fast_Copy_Backward): Define.
53756 (HAS_ARCH_FEATURE): Define.
53757 (HAS_FAST_REP_STRING): Define.
53758 (HAS_FAST_COPY_BACKWARD): Define.
53759
4e733bac 537602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53761
53762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53763 Restore proper fallback handling.
53764
63c4ed22
UD
537652010-06-19 Ulrich Drepper <drepper@redhat.com>
53766
ac2b484c
UD
53767 [BZ #11701]
53768 * posix/group_member.c (__group_member): Correct checking loop.
53769
63c4ed22
UD
53770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53771 OOM in getpwuid_r correctly. Return error number when the caller
53772 should return, otherwise -1.
53773 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53774 call returning > 0 value.
53775 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53776
765ade4b
AS
537772010-06-07 Andreas Schwab <schwab@redhat.com>
53778
53779 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53780 libc_nonshared.a from targets in modules-names.
53781
80da2e09
KS
537822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53783
53784 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53785 requires it.
53786
158db122
LM
537872010-06-10 Luis Machado <luisgpm@br.ibm.com>
53788
53789 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53790 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53793
caa78cf8
AS
537942010-06-02 Andreas Schwab <schwab@redhat.com>
53795
53796 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53797
b2ef2c01
UD
537982010-06-14 Ulrich Drepper <drepper@redhat.com>
53799
53800 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53801 and F_GETPIPE_SZ.
53802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53807 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53808
fbd643b6
RM
538092010-06-14 Roland McGrath <roland@redhat.com>
53810
53811 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53812
f32f2869
JJ
538132010-06-07 Jakub Jelinek <jakub@redhat.com>
53814
53815 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53816 __REDIRECT followed by __THROW.
53817 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53818 * posix/getopt.h (getopt): Likewise.
53819
2a50c078
EPM
538202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53821
53822 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53823 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53824 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53825 in AT_FLAGS.
53826 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53827 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53828
eb5ad2eb
LM
538292010-05-28 Luis Machado <luisgpm@br.ibm.com>
53830
53831 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53832
3c88fe1e
L
538332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53834
53835 [BZ #11640]
53836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53837 Properly check family and model.
53838
d2f73151
TY
538392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53840
53841 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53842
ebd2e13d
LM
538432010-05-24 Luis Machado <luisgpm@br.ibm.com>
53844
53845 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53846
b32b8b45
UD
538472010-05-21 Ulrich Drepper <drepper@redhat.com>
53848
53849 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53850 symbol reference.
53851
9acbe24d
AS
538522010-05-19 Andreas Schwab <schwab@redhat.com>
53853
53854 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53855 symbol reference.
53856
f0ccf6ea
AS
538572010-05-21 Andreas Schwab <schwab@redhat.com>
53858
3d04ff3a
AS
53859 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53860 and internal_recvmmsg.
53861 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53862 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53863 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53864 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53865
f0ccf6ea
AS
53866 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53867 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53868 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53869
5b08ac57
AS
538702010-05-20 Andreas Schwab <schwab@redhat.com>
53871
53872 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53873
4828935d
LM
538742010-05-17 Luis Machado <luisgpm@br.ibm.com>
53875
53876 POWER7 optimizations.
53877 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53878 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53879
373d545e
UD
538802010-05-19 Ulrich Drepper <drepper@redhat.com>
53881
53882 * version.h: Update for 2.13 development version.
53883
21a2b1ae
AS
538842010-05-12 Andrew Stubbs <ams@codesourcery.com>
53885
53886 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53887 exceptions. Return 0.
53888
3f7dcb2b
RM
538892010-05-07 Roland McGrath <roland@redhat.com>
53890
53891 * elf/ldconfig.c (main): Add a const.
53892
5f24d53a 538932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53894
a160f8d8
UD
53895 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53896 (args_options): Add no-idn option.
53897 (ahosts_keys_int): Add idn_flags to ai_flags.
53898 (parse_option): Handle 'i' option to clear idn_flags.
53899
5f24d53a
UD
53900 * malloc/malloc.c (_int_free): Possible race in the most recently
53901 added check. Only act on the data if no current modification
53902 happened.
265bb1ce
UD
53903
53904See ChangeLog.17 for earlier changes.